@charset "UTF-8";
@tailwind base;
@tailwind components;
@tailwind utilities;
/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/* line 3, app/assets/stylesheets/_colors.scss */
.ponavas-pink-gradient {
  background: linear-gradient(to right top, #bf0000, #bf0000, #bf0000, #bf0000, #bf0000) !important;
  background-image: linear-gradient(to right top, #bf0000, #bf0000, #bf0000, #bf0000, #bf0000) !important;
}

/* line 1, app/assets/stylesheets/_header.scss */
.nav-container {
  min-height: 80px;
}

/* line 6, app/assets/stylesheets/_header.scss */
.logo-link img {
  color: #bf0000;
}

/* line 11, app/assets/stylesheets/_header.scss */
.invalid-inset-input-text-field {
  border-color: #f43f5e !important;
}

/* line 14, app/assets/stylesheets/_header.scss */
.invalid-inset-input-text-field label {
  color: #f43f5e !important;
}

/* line 18, app/assets/stylesheets/_header.scss */
.invalid-inset-input-text-field input[type="email"], .invalid-inset-input-text-field input[type="text"] {
  color: #f43f5e !important;
}

/* line 19, app/assets/stylesheets/_header.scss */
.invalid-inset-input-text-field input[type="email"]:focus, .invalid-inset-input-text-field input[type="text"]:focus {
  border-color: #f43f5e !important;
}

/* line 2, app/assets/stylesheets/profiles.scss */
.profiles-sidebar a.active {
  background-color: var(--perk-field) !important;
  color: var(--perk-ink) !important;
}

/* line 5, app/assets/stylesheets/profiles.scss */
.profiles-sidebar a.active:hover {
  background-color: var(--perk-surface) !important;
}

/* line 8, app/assets/stylesheets/profiles.scss */
.profiles-sidebar a.active svg {
  color: var(--perk-ink) !important;
}

/* line 10, app/assets/stylesheets/profiles.scss */
.profiles-sidebar a.active svg:hover {
  color: var(--perk-ink) !important;
}

/* line 2, app/assets/stylesheets/delivery.scss */
.delivery-button a.active {
  border-color: transparent !important;
  --tw-ring-color: rgb(0, 122, 255) !important;
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
}

/* line 6, app/assets/stylesheets/delivery.scss */
.delivery-button a.active:hover {
  background-color: #f2f2f2 !important;
}

/* line 10, app/assets/stylesheets/delivery.scss */
.delivery-button a.inactive {
  border-color: #d1d5db;
}

/* line 12, app/assets/stylesheets/delivery.scss */
.delivery-button a.inactive:hover {
  background-color: #f2f2f2 !important;
}

/* ===== Perk design system — shared with login / auth ===== */
/* line 8, app/assets/stylesheets/application.scss */
:root {
  --perk-ink: #17191d;
  --perk-ink-soft: #30343a;
  --perk-ink-deep: #111111;
  --perk-muted: #666e79;
  --perk-muted-soft: #8a9099;
  --perk-line: #e5e7eb;
  --perk-line-soft: #eef0f3;
  --perk-field: #f4f5f7;
  --perk-surface: #ffffff;
  --perk-canvas: #f2f3f5;
  --perk-success: #22c55e;
  --perk-danger: #ff3b30;
  --perk-link: #2563eb;
  --perk-shadow-sm: 0 8px 20px rgba(23, 25, 29, 0.06);
  --perk-shadow-md: 0 14px 34px rgba(23, 25, 29, 0.08);
  --perk-shadow-lg: 0 24px 60px rgba(23, 25, 29, 0.14);
  --perk-radius-sm: 12px;
  --perk-radius-md: 14px;
  --perk-radius-lg: 18px;
  --perk-radius-xl: 22px;
  --perk-radius-pill: 999px;
  --perk-space-1: 4px;
  --perk-space-2: 8px;
  --perk-space-3: 12px;
  --perk-space-4: 16px;
  --perk-space-5: 20px;
  --perk-space-6: 24px;
  --perk-bar-h: 64px;
  --hub-ai-chat-col: 860px;
  --hub-ai-chat-gutter: 16px;
  --hub-ai-curtain: #0a0a0a;
  --perk-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --perk-canvas-wash: radial-gradient(1100px 480px at 12% 8%, rgba(23, 25, 29, 0.04), transparent 58%), radial-gradient(900px 420px at 88% 0%, rgba(23, 25, 29, 0.03), transparent 55%), var(--perk-canvas);
  /* Apple HIG Dynamic Type (default / Large) */
  --text-caption-2: 11px;
  --text-caption-1: 12px;
  --text-footnote: 13px;
  --text-subhead: 15px;
  --text-callout: 16px;
  --text-body: 17px;
  --text-headline: 17px;
  --text-title-3: 20px;
  --text-title-2: 22px;
  --text-title-1: 28px;
  --text-large-title: 34px;
  --text-body-leading: 1.47059;
  --text-headline-leading: 1.29412;
  --text-title-leading: 1.2;
  --text-body-tracking: -0.022em;
  --text-title-tracking: -0.03em;
}

/* line 62, app/assets/stylesheets/application.scss */
html {
  font-size: var(--text-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* line 68, app/assets/stylesheets/application.scss */
body {
  color: var(--perk-ink);
  font-family: var(--perk-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--text-body-leading);
  letter-spacing: var(--text-body-tracking);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* line 79, app/assets/stylesheets/application.scss */
button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

/* line 88, app/assets/stylesheets/application.scss */
p,
li,
label,
td,
th,
dd,
dt {
  font-size: 1rem;
  line-height: var(--text-body-leading);
  letter-spacing: var(--text-body-tracking);
}

/* line 100, app/assets/stylesheets/application.scss */
h1 {
  font-size: var(--text-title-1);
  line-height: var(--text-title-leading);
  letter-spacing: var(--text-title-tracking);
  font-weight: 700;
}

/* line 107, app/assets/stylesheets/application.scss */
h2 {
  font-size: var(--text-title-2);
  line-height: var(--text-title-leading);
  letter-spacing: var(--text-title-tracking);
  font-weight: 700;
}

/* line 114, app/assets/stylesheets/application.scss */
h3 {
  font-size: var(--text-title-3);
  line-height: var(--text-title-leading);
  letter-spacing: var(--text-title-tracking);
  font-weight: 650;
}

/* line 121, app/assets/stylesheets/application.scss */
h4,
h5,
h6 {
  font-size: var(--text-headline);
  line-height: var(--text-headline-leading);
  letter-spacing: var(--text-body-tracking);
  font-weight: 650;
}

/* line 130, app/assets/stylesheets/application.scss */
.home-bg {
  background-color: #f3f2f7;
}

/* line 134, app/assets/stylesheets/application.scss */
.carousel-cell {
  width: 100%;
  /* full width */
  height: 250px;
  margin-right: 10px;
  border-radius: 6% 6% 0 0;
  counter-increment: carousel-cell;
  object-fit: cover;
}

/* line 143, app/assets/stylesheets/application.scss */
.carousel.is-fullscreen .carousel-cell {
  height: 250px;
}

/* line 147, app/assets/stylesheets/application.scss */
.carousel {
  height: 250px;
}

/* line 151, app/assets/stylesheets/application.scss */
.carousel-cell img {
  display: block;
  max-height: 250px;
}

/* position outside */
/* line 158, app/assets/stylesheets/application.scss */
.flickity-prev-next-button.previous {
  visibility: hidden;
}

/* line 161, app/assets/stylesheets/application.scss */
.flickity-prev-next-button.next {
  visibility: hidden;
}

/* position dots in carousel */
/* line 166, app/assets/stylesheets/application.scss */
.flickity-page-dots {
  visibility: hidden;
  bottom: 0px;
}

/* white circles */
/* line 171, app/assets/stylesheets/application.scss */
.flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  opacity: 1;
  border: 2px solid white;
}

/* fill-in selected dot */
/* line 178, app/assets/stylesheets/application.scss */
.flickity-page-dots .dot.is-selected {
  background: grey;
}

/* line 182, app/assets/stylesheets/application.scss */
.info-box {
  background-color: white;
  border-radius: 18px 18px 18px 18px;
  color: white;
  max-height: calc(100vh - 2rem);
  /* Adjust this value as needed */
  overflow-y: auto;
}

/* line 190, app/assets/stylesheets/application.scss */
.sticky {
  position: -webkit-sticky;
  position: sticky;
}

/* line 195, app/assets/stylesheets/application.scss */
.nav-bar-active {
  background-color: #d1e7ff;
  border-radius: 0 0 7px 7px;
  font-weight: bold;
  color: #4b91e8;
}

/* line 201, app/assets/stylesheets/application.scss */
.bg-light-blue {
  background-color: #d1e7ff;
  color: #4b91e8;
}

/* line 206, app/assets/stylesheets/application.scss */
.bg-blue {
  background-color: #007aff;
  color: white;
}

/* line 211, app/assets/stylesheets/application.scss */
.nav-bar-inactive {
  background-color: white;
  color: black;
}

/* line 216, app/assets/stylesheets/application.scss */
.nav-bar-up-active {
  background-color: #f3f2f7;
  border-radius: 7px 7px 0 0;
}

/* line 222, app/assets/stylesheets/application.scss */
.mt-1-dot-5 {
  margin-top: 5px;
}

/* line 226, app/assets/stylesheets/application.scss */
.border-r {
  border-right: 0.7px solid #c9c9c9;
}

/* line 230, app/assets/stylesheets/application.scss */
.border-b {
  border-bottom: 0.7px solid #c9c9c9;
}

/* line 235, app/assets/stylesheets/application.scss */
.rounded-box {
  background-color: white;
  border-radius: 18px 18px 18px 18px;
}

/* line 240, app/assets/stylesheets/application.scss */
.nav-bar-active {
  background-color: #d1e7ff;
  border-radius: 0 0 7px 7px;
  font-weight: bold;
  color: #4b91e8;
}

/* line 247, app/assets/stylesheets/application.scss */
.button {
  background-color: #007aff;
  border-radius: 18px 18px 18px 18px;
  font-weight: bold;
  color: white;
}

/* line 254, app/assets/stylesheets/application.scss */
.button-orange {
  background-color: #ff5000;
  border-radius: 18px 18px 18px 18px;
  font-weight: bold;
}

/* line 260, app/assets/stylesheets/application.scss */
.button-hover {
  background-color: #008fff;
  border-radius: 18px 18px 18px 18px;
  font-weight: bold;
  color: white;
}

/* line 269, app/assets/stylesheets/application.scss */
.button-light-blue {
  border-radius: 18px 18px 18px 18px;
  background-color: #d1e7ff;
  color: #4b91e8;
}

/* line 275, app/assets/stylesheets/application.scss */
.text-blue {
  color: #007aff;
}

/* line 281, app/assets/stylesheets/application.scss */
.focus:focus-within {
  border: 2px solid #007aff;
}

/* line 285, app/assets/stylesheets/application.scss */
.flash-notice {
  background-color: #f0f9ff;
  /* Light blue background */
  color: #ff7b00;
  /* Blue text */
  padding: 6px 12px;
  border-radius: 4px;
}

/* line 292, app/assets/stylesheets/application.scss */
.flash-alert {
  background-color: #f0f9ff;
  /* Light blue background */
  color: #ff2d1a;
  /* Blue text */
  padding: 6px 12px;
  border-radius: 4px;
}

/* line 299, app/assets/stylesheets/application.scss */
#welcome-modal-wrapper {
  z-index: 1000;
  /* Adjusted to a much higher value */
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* line 307, app/assets/stylesheets/application.scss */
.relative-container {
  position: relative;
  /* Ensure the dimensions cover the whole image area */
}

/* line 312, app/assets/stylesheets/application.scss */
.button-container {
  position: absolute;
  bottom: 0;
  /* Align to the bottom of the container */
  right: 0;
  /* Align to the right of the container */
}

/* line 318, app/assets/stylesheets/application.scss */
#flash-container {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* line 333, app/assets/stylesheets/application.scss */
#contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  justify-content: center;
  align-items: center;
}

/* line 346, app/assets/stylesheets/application.scss */
#contact-modal .modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
}

/* line 355, app/assets/stylesheets/application.scss */
.homepage-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

/* line 368, app/assets/stylesheets/application.scss */
.homepage-hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* line 375, app/assets/stylesheets/application.scss */
.start-button {
  font-size: 1.5rem;
  padding: 15px 30px;
  background-color: #ffffffcc;
  color: #000;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

/* line 387, app/assets/stylesheets/application.scss */
.start-button:hover {
  background-color: #fff;
}

/* line 392, app/assets/stylesheets/application.scss */
.fixed-bg {
  background-image: url(https://perkapp.io/assets/gb-2043956cec8e3306e1b2ba9a75e2033ebed751210712bc2e490d13d2ee9c63b3.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* line 405, app/assets/stylesheets/application.scss */
.fixed-bg.bg-vi {
  background-image: url(https://perkapp.io/assets/gb_vi-e0d673577b7692584f1dc0aaaa47a99297a0fad1f86de0cab9a072ec28a81f98.jpg);
}

/* Feature-rich AI hero animation */
/* line 410, app/assets/stylesheets/application.scss */
.ai-hero-fx {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* line 418, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
  animation: ai-float 12s ease-in-out infinite;
}

/* line 426, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-orb-1 {
  width: 240px;
  height: 240px;
  top: 12%;
  left: 4%;
  background: radial-gradient(circle, rgba(120, 180, 255, 0.55) 0%, rgba(120, 180, 255, 0) 70%);
  animation-duration: 14s;
}

/* line 435, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-orb-2 {
  width: 200px;
  height: 200px;
  top: 48%;
  right: 4%;
  background: radial-gradient(circle, rgba(160, 140, 255, 0.5) 0%, rgba(160, 140, 255, 0) 70%);
  animation-duration: 11s;
  animation-delay: -3s;
}

/* line 445, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-orb-3 {
  width: 160px;
  height: 160px;
  bottom: 16%;
  left: 28%;
  background: radial-gradient(circle, rgba(100, 210, 255, 0.45) 0%, rgba(100, 210, 255, 0) 70%);
  animation-duration: 16s;
  animation-delay: -6s;
}

/* line 455, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-orb-4 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 28%;
  background: radial-gradient(circle, rgba(255, 190, 120, 0.35) 0%, rgba(255, 190, 120, 0) 70%);
  animation-duration: 13s;
  animation-delay: -2s;
}

/* line 465, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

/* line 473, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-link {
  stroke: rgba(180, 210, 255, 0.55);
  stroke-width: 0.18;
  stroke-dasharray: 4 3;
  animation: ai-dash 4s linear infinite;
}

/* line 480, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-link-2 {
  animation-delay: -1s;
}

/* line 481, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-link-3 {
  animation-delay: -2s;
}

/* line 482, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-link-4 {
  animation-delay: -3s;
}

/* line 484, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 14px rgba(140, 190, 255, 0.95), 0 0 30px rgba(120, 170, 255, 0.5);
  animation: ai-pulse 3.2s ease-in-out infinite;
}

/* line 494, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-node-1 {
  top: 22%;
  left: 12%;
}

/* line 495, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-node-2 {
  top: 22%;
  right: 12%;
  animation-delay: 0.6s;
}

/* line 496, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-node-3 {
  top: 78%;
  left: 18%;
  animation-delay: 1.2s;
}

/* line 497, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-node-4 {
  top: 78%;
  right: 18%;
  animation-delay: 1.8s;
}

/* line 498, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-node-5 {
  top: 12%;
  left: 48%;
  animation-delay: 2.4s;
}

/* line 500, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-ring {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: ai-ring 5.5s ease-out infinite;
}

/* line 507, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-ring-1 {
  width: 78px;
  height: 78px;
  top: calc(22% - 34px);
  left: calc(12% - 34px);
}

/* line 514, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-ring-2 {
  width: 78px;
  height: 78px;
  top: calc(22% - 34px);
  right: calc(12% - 34px);
  animation-delay: 1.8s;
}

/* line 522, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-ring-3 {
  width: 78px;
  height: 78px;
  top: calc(78% - 34px);
  left: calc(18% - 34px);
  animation-delay: 3.4s;
}

/* line 530, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card {
  position: absolute;
  border-radius: 18px;
  background: rgba(18, 24, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  color: #fff;
  animation: ai-card-float 9s ease-in-out infinite;
}

/* line 542, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 10px;
}

/* line 551, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, #7dd3fc, #a78bfa);
  color: #0f172a;
}

/* line 564, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-live {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: ai-pulse 1.6s ease-in-out infinite;
}

/* line 574, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-chat {
  width: 220px;
  padding: 14px;
  top: 10%;
  left: 2%;
}

/* line 581, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-bubble {
  font-size: 11px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 12px;
  margin-top: 8px;
  max-width: 100%;
}

/* line 590, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-bubble-user {
  background: rgba(255, 255, 255, 0.16);
  margin-left: 18px;
}

/* line 595, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-bubble-ai {
  background: rgba(125, 211, 252, 0.22);
  margin-right: 18px;
  min-height: 34px;
  position: relative;
}

/* line 602, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 14px;
}

/* line 609, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.75;
  animation: ai-dot 1.1s ease-in-out infinite;
}

/* line 618, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

/* line 619, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

/* line 621, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-reply {
  display: inline;
}

/* line 625, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-bubble-ai .ai-typing {
  animation: ai-fade-typing 5s ease-in-out infinite;
}

/* line 629, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-bubble-ai .ai-reply {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  animation: ai-fade-reply 5s ease-in-out infinite;
}

/* line 637, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-feed {
  width: 160px;
  padding: 14px;
  top: 10%;
  right: 2%;
  animation-delay: -2.5s;
}

/* line 645, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-dot-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 10px #a78bfa;
}

/* line 653, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-feed-rows {
  display: grid;
  gap: 8px;
}

/* line 658, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-feed-row {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.35));
  background-size: 200% 100%;
  animation: ai-shimmer 2.4s linear infinite;
}

/* line 666, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-feed-row.short {
  width: 62%;
}

/* line 667, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-feed-row:nth-child(2) {
  animation-delay: 0.3s;
}

/* line 668, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-feed-row:nth-child(3) {
  animation-delay: 0.6s;
}

/* line 670, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-reels {
  width: 104px;
  padding: 10px;
  bottom: 12%;
  right: 2%;
  animation-delay: -4.5s;
}

/* line 678, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-reels-screen {
  height: 132px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.45), rgba(56, 189, 248, 0.25)), repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(255, 255, 255, 0.05) 18px, rgba(255, 255, 255, 0.05) 19px);
  position: relative;
  overflow: hidden;
}

/* line 688, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-reels-screen::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  animation: ai-sweep 3.8s ease-in-out infinite;
}

/* line 696, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 14px solid rgba(255, 255, 255, 0.9);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  transform: translate(-40%, -50%);
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* line 710, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

/* line 717, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  animation: ai-chip-float 7.5s ease-in-out infinite;
}

/* line 735, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-badge-gift {
  bottom: 12%;
  left: 2%;
}

/* line 740, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-badge-news {
  top: auto;
  bottom: 28%;
  left: 2%;
  animation-delay: -2s;
}

/* line 747, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-badge-call {
  top: auto;
  bottom: 28%;
  right: 2%;
  animation-delay: -3.5s;
}

/* line 754, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-gift-box {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  position: relative;
}

/* line 763, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-gift-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 2px;
  height: 18px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
}

/* line 774, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-news-bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}

/* line 781, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-news-bars i {
  width: 3px;
  border-radius: 2px;
  background: #7dd3fc;
  animation: ai-bars 1.2s ease-in-out infinite;
}

/* line 788, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-news-bars i:nth-child(1) {
  height: 5px;
}

/* line 789, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-news-bars i:nth-child(2) {
  height: 10px;
  animation-delay: 0.15s;
}

/* line 790, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-news-bars i:nth-child(3) {
  height: 7px;
  animation-delay: 0.3s;
}

/* line 792, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-call-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: ai-call 1.8s ease-out infinite;
}

@keyframes ai-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, -12px, 0) scale(1.05);
  }
}

@keyframes ai-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes ai-ring {
  0% {
    transform: scale(0.55);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@keyframes ai-chip-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ai-card-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes ai-dash {
  to {
    stroke-dashoffset: -14;
  }
}

@keyframes ai-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes ai-sweep {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(40%);
  }
}

@keyframes ai-dot {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes ai-fade-typing {
  0%, 42% {
    opacity: 1;
  }
  48%, 100% {
    opacity: 0;
  }
}

@keyframes ai-fade-reply {
  0%, 42% {
    opacity: 0;
  }
  48%, 100% {
    opacity: 1;
  }
}

@keyframes ai-bars {
  0%, 100% {
    transform: scaleY(0.7);
  }
  50% {
    transform: scaleY(1.25);
  }
}

@keyframes ai-call {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

@media (max-width: 1100px) {
  /* line 868, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-badge-news,
.ai-hero-fx .ai-badge-call,
.ai-hero-fx .ai-network,
.ai-hero-fx .ai-node,
.ai-hero-fx .ai-ring {
    display: none;
  }
  /* line 876, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-chat {
    width: 180px;
    top: 8%;
    left: 1.5%;
  }
  /* line 877, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-feed {
    width: 130px;
    top: 8%;
    right: 1.5%;
  }
  /* line 878, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-reels {
    width: 90px;
    bottom: 10%;
    right: 1.5%;
  }
  /* line 879, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-reels .ai-reels-screen {
    height: 110px;
  }
  /* line 880, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-badge-gift {
    bottom: 10%;
    left: 1.5%;
  }
}

@media (max-width: 640px) {
  /* line 884, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-feed,
.ai-hero-fx .ai-card-reels {
    display: none;
  }
  /* line 889, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-chat {
    width: 150px;
    top: 8%;
    left: 2%;
  }
  /* line 895, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-badge-gift {
    bottom: 10%;
    left: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 902, app/assets/stylesheets/application.scss */
  .ai-hero-fx * {
    animation: none !important;
  }
}

/* line 907, app/assets/stylesheets/application.scss */
.fixed-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(20, 24, 32, 0.45) 0%, rgba(20, 24, 32, 0.28) 45%, rgba(20, 24, 32, 0.18) 100%);
}

/* line 925, app/assets/stylesheets/application.scss */
#hero-content {
  z-index: 10;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* line 930, app/assets/stylesheets/application.scss */
#main-header {
  transition: none !important;
}

/* line 934, app/assets/stylesheets/application.scss */
#sticky-legal-footer a {
  margin-right: 1rem;
}

/* ===== Browser AI Hub (home) ===== */
/* line 940, app/assets/stylesheets/application.scss */
.hub-home #main-header {
  color: #111;
}

/* line 944, app/assets/stylesheets/application.scss */
.hub-home #main-header a,
.hub-home #main-header button {
  color: inherit;
}

/* line 949, app/assets/stylesheets/application.scss */
.hub-home #main-header a:hover,
.hub-home #main-header button:hover {
  color: #2563eb;
}

/* line 954, app/assets/stylesheets/application.scss */
.hub-home #mobile-menu-toggle svg {
  stroke: #111;
}

/* line 958, app/assets/stylesheets/application.scss */
.browser-hub {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  padding: 0 var(--perk-space-4) 48px;
  color: var(--perk-ink);
}

/* line 969, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn {
  position: absolute;
  top: 64px;
  left: 16px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 18, 22, 0.12);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* line 989, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 18, 22, 0.16);
}

/* line 995, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn:active {
  transform: translateY(0);
}

/* line 999, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn.hidden,
.hub-chat-menu-btn[hidden],
body.hub-ask-chat-open .hub-chat-menu-btn,
.browser-hub.is-shopping .hub-chat-menu-btn {
  display: none !important;
}

/* line 1006, app/assets/stylesheets/application.scss */
.hub-peek-label-btn {
  position: absolute;
  top: 64px;
  right: 16px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  padding: 5px 10px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  box-shadow: 0 4px 14px rgba(15, 18, 22, 0.12);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* line 1024, app/assets/stylesheets/application.scss */
.hub-peek-label-btn strong {
  font-size: 13px;
  font-weight: 700;
}

/* line 1030, app/assets/stylesheets/application.scss */
.hub-peek-label-btn:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 18, 22, 0.16);
}

/* line 1036, app/assets/stylesheets/application.scss */
.hub-peek-label-btn:active {
  transform: translateY(0);
}

/* line 1040, app/assets/stylesheets/application.scss */
.hub-peek-label-btn.hidden,
.hub-peek-label-btn[hidden],
body.hub-ask-chat-open .hub-peek-label-btn,
.browser-hub.is-shopping .hub-peek-label-btn,
.browser-hub.is-browsing .hub-peek-label-btn {
  display: none !important;
}

/* line 1048, app/assets/stylesheets/application.scss */
.hub-chat-history {
  position: absolute;
  top: var(--hub-tabbar-h, 42px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-start;
  padding: 12px;
  box-sizing: border-box;
  pointer-events: none;
}

/* line 1062, app/assets/stylesheets/application.scss */
.hub-chat-history.hidden,
.hub-chat-history[hidden] {
  display: none !important;
}

/* line 1067, app/assets/stylesheets/application.scss */
.hub-chat-history-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 18, 22, 0.28);
  cursor: pointer;
  pointer-events: auto;
}

/* line 1076, app/assets/stylesheets/application.scss */
.hub-chat-history-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100% - 8px));
  height: 100%;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 18, 22, 0.18);
  color: var(--perk-ink);
  overflow: hidden;
  pointer-events: auto;
}

/* line 1091, app/assets/stylesheets/application.scss */
.hub-chat-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

/* line 1101, app/assets/stylesheets/application.scss */
.hub-chat-history-head strong {
  font-size: 15px;
  font-weight: 700;
}

/* line 1106, app/assets/stylesheets/application.scss */
.hub-chat-history-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--perk-field);
  color: var(--perk-ink);
  cursor: pointer;
}

/* line 1119, app/assets/stylesheets/application.scss */
.hub-chat-new-chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 14px 16px 10px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

/* line 1137, app/assets/stylesheets/application.scss */
.hub-chat-new-chat-btn:hover {
  background: #30343a;
}

/* line 1141, app/assets/stylesheets/application.scss */
.hub-chat-new-chat-btn i {
  width: 16px;
  text-align: center;
}

/* line 1146, app/assets/stylesheets/application.scss */
.hub-chat-history-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 12px 20px;
}

/* line 1153, app/assets/stylesheets/application.scss */
.hub-chat-history-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin: 0 0 4px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 1169, app/assets/stylesheets/application.scss */
.hub-chat-history-item:hover,
.hub-chat-history-item.is-active {
  background: #f3f4f6;
}

/* line 1174, app/assets/stylesheets/application.scss */
.hub-chat-history-item strong {
  font-size: 14px;
  font-weight: 650;
  color: #111;
}

/* line 1180, app/assets/stylesheets/application.scss */
.hub-chat-history-item span {
  font-size: 12px;
  color: #8a9099;
}

/* line 1185, app/assets/stylesheets/application.scss */
.hub-chat-history-muted {
  margin: 20px 8px;
  color: #8a9099;
  font-size: 13px;
  text-align: center;
}

/* line 1192, app/assets/stylesheets/application.scss */
.perk-browser-chrome {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: end;
  gap: var(--perk-space-2);
  height: 42px;
  margin: 0 -16px;
  padding: 2px var(--perk-space-2) 0;
  border-bottom: 1px solid #dadce0;
  background: #fff;
  backdrop-filter: none;
  overflow: visible;
}

/* line 1208, app/assets/stylesheets/application.scss */
.hub-view-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  background: #fff;
}

/* line 1221, app/assets/stylesheets/application.scss */
.hub-view-tabs::-webkit-scrollbar {
  display: none;
}

/* line 1225, app/assets/stylesheets/application.scss */
.hub-view-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--perk-space-2);
  flex: 0 1 220px;
  max-width: 220px;
  min-width: 120px;
  height: 34px;
  margin: 0 0 4px;
  padding: 0 var(--perk-space-2) 0 14px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
  color: #5f6368;
  font-size: var(--text-subhead);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  overflow: visible;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, height 0.15s ease, margin 0.15s ease;
}

/* line 1252, app/assets/stylesheets/application.scss */
.hub-view-tab i {
  font-size: var(--text-footnote);
  opacity: 0.8;
  flex: 0 0 auto;
  line-height: 1;
}

/* line 1259, app/assets/stylesheets/application.scss */
.hub-view-tab-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  padding-bottom: 1px;
}

/* line 1267, app/assets/stylesheets/application.scss */
.hub-view-tab-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 50%;
  color: #5f6368;
  font-size: 16px;
  line-height: 1;
  opacity: 0.72;
}

/* line 1282, app/assets/stylesheets/application.scss */
.hub-view-tab-close:hover {
  background: rgba(60, 64, 67, 0.12);
  opacity: 1;
}

/* line 1287, app/assets/stylesheets/application.scss */
.hub-view-tab:hover {
  background: #fff;
  color: #202124;
  text-decoration: none;
}

/* line 1293, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active {
  z-index: 1;
  height: 38px;
  margin: 0 0 -1px;
  background: #fff;
  color: #202124;
  border: 1px solid #e8eaed;
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 #fff;
  text-decoration: none;
}

/* line 1305, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active i {
  opacity: 1;
  color: inherit;
}

/* line 1310, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active .hub-view-tab-close {
  opacity: 0.9;
  color: inherit;
}

/* line 1315, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active::before,
.hub-view-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 10px;
  pointer-events: none;
}

/* line 1325, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active::before {
  left: -10px;
  background: radial-gradient(circle at 0 0, transparent 10px, #fff 10.5px);
}

/* line 1330, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active::after {
  right: -10px;
  background: radial-gradient(circle at 100% 0, transparent 10px, #fff 10.5px);
}

/* line 1335, app/assets/stylesheets/application.scss */
.hub-view-tab-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0 4px 4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
}

/* line 1350, app/assets/stylesheets/application.scss */
.hub-view-tab-add:hover {
  background: rgba(60, 64, 67, 0.1);
  color: #202124;
}

/* line 1355, app/assets/stylesheets/application.scss */
.hub-view-panel-close {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 4px 6px auto;
  height: 28px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: #3c4043;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* line 1370, app/assets/stylesheets/application.scss */
.hub-view-panel-close:hover {
  background: rgba(60, 64, 67, 0.1);
  color: #202124;
}

/* line 1375, app/assets/stylesheets/application.scss */
.perk-browser-toolbar {
  display: none !important;
}

/* line 1379, app/assets/stylesheets/application.scss */
.perk-browser-toolbar.is-hidden {
  display: none;
}

/* line 1383, app/assets/stylesheets/application.scss */
.perk-browser-nav-btns {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

/* line 1390, app/assets/stylesheets/application.scss */
.perk-browser-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3c4043;
  cursor: pointer;
}

/* line 1403, app/assets/stylesheets/application.scss */
.perk-browser-nav-btn:hover:not(:disabled) {
  background: rgba(60, 64, 67, 0.1);
}

/* line 1407, app/assets/stylesheets/application.scss */
.perk-browser-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 1412, app/assets/stylesheets/application.scss */
.perk-browser-url-form {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

/* line 1420, app/assets/stylesheets/application.scss */
.perk-browser-url {
  width: 100%;
  height: 34px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  padding: 0 40px 0 14px;
  background: #fff;
  color: #202124;
  font-size: 13px;
  outline: none;
}

/* line 1432, app/assets/stylesheets/application.scss */
.perk-browser-url:focus {
  border-color: #8ab4f8;
  box-shadow: 0 0 0 1px #8ab4f8;
}

/* line 1437, app/assets/stylesheets/application.scss */
.perk-browser-star {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
}

/* line 1454, app/assets/stylesheets/application.scss */
.perk-browser-star:hover {
  background: rgba(60, 64, 67, 0.08);
}

/* line 1458, app/assets/stylesheets/application.scss */
.perk-browser-star:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 1463, app/assets/stylesheets/application.scss */
.perk-browser-star.is-active {
  color: #f4b400;
}

/* line 1467, app/assets/stylesheets/application.scss */
.hub-browser-frame {
  position: relative;
  width: 100%;
  max-width: none !important;
  align-items: stretch !important;
  padding-top: 0 !important;
  flex: 1 1 auto;
  min-height: calc(100vh - 170px);
}

/* line 1477, app/assets/stylesheets/application.scss */
.hub-browser-iframe {
  width: 100%;
  height: calc(100vh - 170px);
  border: 0;
  background: #fff;
  border-radius: 0;
}

/* line 1485, app/assets/stylesheets/application.scss */
.hub-browser-open-external {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

/* line 1504, app/assets/stylesheets/application.scss */
.hub-browser-open-external:hover {
  background: #111827;
  color: #fff;
}

/* line 1509, app/assets/stylesheets/application.scss */
.hub-browser-open-external[hidden] {
  display: none !important;
}

/* line 1513, app/assets/stylesheets/application.scss */
.browser-hub-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* line 1522, app/assets/stylesheets/application.scss */
.browser-hub-inner.hidden,
.browser-hub-inner[hidden] {
  display: none !important;
}

/* line 1527, app/assets/stylesheets/application.scss */
.hub-shopping {
  width: 100%;
  align-items: stretch;
  gap: 18px;
  padding-top: 36px;
}

/* line 1534, app/assets/stylesheets/application.scss */
.browser-hub.is-shopping {
  padding-top: 0;
}

/* line 1538, app/assets/stylesheets/application.scss */
.browser-hub > .browser-hub-inner,
.browser-hub > .hub-shopping {
  padding-top: clamp(28px, 5vh, 56px);
}

/* line 1543, app/assets/stylesheets/application.scss */
.browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  flex: 1 1 auto;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 24px;
  background: #fff;
  width: 100%;
  min-height: 0;
}

/* line 1553, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] .hub-locket-wrap,
.browser-hub-inner[data-hub-panel="apps"] .hub-peek-row-wrap,
.browser-hub-inner[data-hub-panel="apps"] .hub-peek-row {
  background: #fff;
}

/* line 1559, app/assets/stylesheets/application.scss */
.hub-shopping-head {
  text-align: left;
}

/* line 1563, app/assets/stylesheets/application.scss */
.hub-shopping-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #17191d;
  letter-spacing: -0.02em;
}

/* line 1571, app/assets/stylesheets/application.scss */
.hub-shopping-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}

/* line 1578, app/assets/stylesheets/application.scss */
.hub-shopping-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* line 1585, app/assets/stylesheets/application.scss */
.hub-shopping-select-wrap {
  flex: 1 1 220px;
  min-width: 0;
}

/* line 1590, app/assets/stylesheets/application.scss */
.hub-shopping-select {
  width: 100%;
  appearance: none;
  border: 1px solid #e4e7eb;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 14px;
  padding: 11px 34px 11px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #17191d;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
}

/* line 1603, app/assets/stylesheets/application.scss */
.hub-gender-pills {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 1609, app/assets/stylesheets/application.scss */
.hub-gender-pill {
  border: 1px solid #e4e7eb;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

/* line 1620, app/assets/stylesheets/application.scss */
.hub-gender-pill.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 1626, app/assets/stylesheets/application.scss */
.hub-shopping-status {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  padding: 28px 8px;
}

/* line 1633, app/assets/stylesheets/application.scss */
.hub-styles-empty {
  break-inside: avoid;
  column-span: all;
  padding: 12px 8px 8px;
}

/* line 1639, app/assets/stylesheets/application.scss */
.hub-styles-grid {
  width: 100%;
  column-count: 2;
  column-gap: 10px;
}

/* App panel expanded (newsfeed closed): room for a third style column. */
/* line 1646, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .hub-styles-grid {
  column-count: 3;
}

/* line 1650, app/assets/stylesheets/application.scss */
.hub-style-card {
  break-inside: avoid;
  width: 100%;
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

/* line 1660, app/assets/stylesheets/application.scss */
.hub-style-card-media-wrap {
  position: relative;
}

/* line 1664, app/assets/stylesheets/application.scss */
.hub-style-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--hub-style-aspect, 0.78);
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e8eaed;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  cursor: pointer;
}

/* line 1678, app/assets/stylesheets/application.scss */
.hub-style-card-media.is-camera {
  aspect-ratio: var(--hub-style-aspect, 1.56);
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  border: 1.5px dashed rgba(0, 0, 0, 0.18);
}

/* line 1685, app/assets/stylesheets/application.scss */
.hub-style-camera-card:has(img) .hub-style-card-media.is-camera {
  border-style: solid;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

/* line 1691, app/assets/stylesheets/application.scss */
.hub-style-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

/* line 1701, app/assets/stylesheets/application.scss */
.hub-style-camera-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.72);
  font-size: 28px;
}

/* line 1711, app/assets/stylesheets/application.scss */
.hub-style-ai-fit {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

/* line 1730, app/assets/stylesheets/application.scss */
.hub-style-card-media-wrap:has(img)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
  pointer-events: none;
  z-index: 1;
}

/* line 1741, app/assets/stylesheets/application.scss */
.hub-style-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 0 2px;
  min-width: 0;
}

/* line 1750, app/assets/stylesheets/application.scss */
.hub-style-card-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 1762, app/assets/stylesheets/application.scss */
.hub-style-more {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 0;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 1777, app/assets/stylesheets/application.scss */
.hub-style-more:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111;
}

/* line 1782, app/assets/stylesheets/application.scss */
.hub-style-link-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1px 0;
}

/* line 1794, app/assets/stylesheets/application.scss */
.hub-style-link-list::-webkit-scrollbar {
  display: none;
}

/* line 1798, app/assets/stylesheets/application.scss */
.hub-style-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 0;
  border-radius: 980px;
  background: #f2f2f7;
  color: #1c1c1e;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

/* line 1820, app/assets/stylesheets/application.scss */
.hub-style-link:hover {
  background: #e5e5ea;
  color: #1c1c1e;
}

/* line 1825, app/assets/stylesheets/application.scss */
.hub-style-link:active {
  transform: scale(0.97);
}

/* line 1829, app/assets/stylesheets/application.scss */
.hub-style-link.is-active {
  background: #1c1c1e;
  color: #fff;
}

/* line 1834, app/assets/stylesheets/application.scss */
.hub-style-shop-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

/* line 1840, app/assets/stylesheets/application.scss */
.hub-style-shop-result {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: #f2f2f7;
  color: #1c1c1e;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, transform 0.1s ease;
}

/* line 1857, app/assets/stylesheets/application.scss */
.hub-style-shop-result:hover {
  background: #e5e5ea;
}

/* line 1861, app/assets/stylesheets/application.scss */
.hub-style-shop-result:active {
  transform: scale(0.99);
}

/* line 1865, app/assets/stylesheets/application.scss */
.hub-style-shop-result.is-featured {
  background: #111827;
  color: #fff;
}

/* line 1870, app/assets/stylesheets/application.scss */
.hub-style-shop-result.is-featured:hover {
  background: #000;
}

/* line 1874, app/assets/stylesheets/application.scss */
.hub-style-shop-result img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.7);
}

/* line 1882, app/assets/stylesheets/application.scss */
.hub-style-shop-result-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 1888, app/assets/stylesheets/application.scss */
.hub-style-shop-result-copy strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 1897, app/assets/stylesheets/application.scss */
.hub-style-shop-result-copy span {
  font-size: 12px;
  color: rgba(28, 28, 30, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 1905, app/assets/stylesheets/application.scss */
.hub-style-shop-result.is-featured .hub-style-shop-result-copy span {
  color: rgba(255, 255, 255, 0.65);
}

/* line 1909, app/assets/stylesheets/application.scss */
.hub-style-shop-result > i {
  font-size: 12px;
  opacity: 0.45;
}

/* line 1914, app/assets/stylesheets/application.scss */
.hub-style-options-modal {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* line 1921, app/assets/stylesheets/application.scss */
.hub-style-options-modal.flex {
  display: flex;
  align-items: flex-end;
}

/* line 1926, app/assets/stylesheets/application.scss */
.hub-style-options-sheet {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto;
}

/* line 1932, app/assets/stylesheets/application.scss */
.hub-style-options-thumb {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  width: 78px;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 14px;
  transform: translate(-50%, -36%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  background: #eee;
}

/* line 1946, app/assets/stylesheets/application.scss */
.hub-style-options-panel {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 14px 0 28px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.16);
}

/* line 1953, app/assets/stylesheets/application.scss */
.hub-style-options-head {
  display: flex;
  justify-content: flex-start;
  padding: 0 14px;
}

/* line 1959, app/assets/stylesheets/application.scss */
.hub-style-options-panel h3 {
  margin: 28px 48px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

/* line 1968, app/assets/stylesheets/application.scss */
.hub-style-options-hint {
  margin: 6px 36px 18px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

/* line 1976, app/assets/stylesheets/application.scss */
.hub-style-options-list {
  display: flex;
  flex-direction: column;
}

/* line 1981, app/assets/stylesheets/application.scss */
.hub-style-options-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}

/* line 1996, app/assets/stylesheets/application.scss */
.hub-style-options-row:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 2000, app/assets/stylesheets/application.scss */
.hub-style-options-row i {
  width: 22px;
  text-align: center;
  color: #111;
}

/* line 2006, app/assets/stylesheets/application.scss */
.hub-style-circle-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 2020, app/assets/stylesheets/application.scss */
.hub-style-pin-detail {
  position: absolute;
  top: var(--hub-tabbar-h, 42px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  background: #fff;
}

/* line 2030, app/assets/stylesheets/application.scss */
.hub-style-pin-detail.hidden,
.hub-style-pin-detail[hidden] {
  display: none !important;
}

/* line 2035, app/assets/stylesheets/application.scss */
.hub-style-pin-shell {
  position: relative;
  height: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
}

/* line 2043, app/assets/stylesheets/application.scss */
.hub-style-pin-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  pointer-events: none;
}

/* line 2056, app/assets/stylesheets/application.scss */
.hub-style-pin-chrome > * {
  pointer-events: auto;
}

/* line 2060, app/assets/stylesheets/application.scss */
.hub-style-pin-scroll {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 36px;
}

/* line 2067, app/assets/stylesheets/application.scss */
.hub-style-pin-hero {
  width: 100%;
  background: #f3f4f6;
}

/* line 2072, app/assets/stylesheets/application.scss */
.hub-style-pin-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: #f3f4f6;
}

/* line 2081, app/assets/stylesheets/application.scss */
.hub-style-pin-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 10px;
}

/* line 2088, app/assets/stylesheets/application.scss */
.hub-style-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 2102, app/assets/stylesheets/application.scss */
.hub-style-icon-btn.is-saved,
.hub-style-icon-btn.is-saved i {
  color: #e61f2e;
}

/* line 2107, app/assets/stylesheets/application.scss */
.hub-style-save-cta {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: #e61f2e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 11px 22px;
  cursor: pointer;
}

/* line 2119, app/assets/stylesheets/application.scss */
.hub-style-save-cta.is-saved {
  background: #111;
}

/* line 2123, app/assets/stylesheets/application.scss */
.hub-style-pin-title-block {
  padding: 0 16px 16px;
}

/* line 2127, app/assets/stylesheets/application.scss */
.hub-style-pin-title-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

/* line 2139, app/assets/stylesheets/application.scss */
.hub-style-pin-title-btn span {
  flex: 1 1 auto;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  line-height: 1.25;
}

/* line 2147, app/assets/stylesheets/application.scss */
.hub-style-pin-title-btn i {
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}

/* line 2153, app/assets/stylesheets/application.scss */
.hub-style-pin-title-btn i.is-open {
  transform: rotate(180deg);
}

/* line 2157, app/assets/stylesheets/application.scss */
.hub-style-pin-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
}

/* line 2164, app/assets/stylesheets/application.scss */
.hub-style-pin-shop {
  padding: 0 0 22px;
}

/* line 2168, app/assets/stylesheets/application.scss */
.hub-style-pin-shop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 12px;
}

/* line 2175, app/assets/stylesheets/application.scss */
.hub-style-pin-shop-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

/* line 2182, app/assets/stylesheets/application.scss */
.hub-style-pin-links {
  padding: 0 16px;
}

/* line 2186, app/assets/stylesheets/application.scss */
.hub-style-pin-empty {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

/* line 2192, app/assets/stylesheets/application.scss */
.hub-style-pin-related {
  padding: 0 0 18px;
}

/* line 2196, app/assets/stylesheets/application.scss */
.hub-style-pin-related h4 {
  margin: 0 0 12px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

/* line 2204, app/assets/stylesheets/application.scss */
.hub-style-pin-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 12px;
}

/* line 2211, app/assets/stylesheets/application.scss */
.hub-style-pin-related-item {
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eceff2;
  cursor: pointer;
}

/* line 2220, app/assets/stylesheets/application.scss */
.hub-style-pin-related-item img {
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}

/* line 2227, app/assets/stylesheets/application.scss */
.hub-style-pin-note {
  margin: 0 16px 8px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}

/* line 2234, app/assets/stylesheets/application.scss */
.hub-style-pin-download {
  width: calc(100% - 32px);
  margin: 0 16px 8px;
}

/* line 2239, app/assets/stylesheets/application.scss */
.hub-style-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, -20px);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* line 2257, app/assets/stylesheets/application.scss */
.hub-style-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* line 2262, app/assets/stylesheets/application.scss */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== AI Fit (See Yourself) ===== */
/* line 2275, app/assets/stylesheets/application.scss */
.hub-ai-fit {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #f5f7f9;
}

/* line 2282, app/assets/stylesheets/application.scss */
.hub-ai-fit.hidden {
  display: none !important;
}

/* line 2286, app/assets/stylesheets/application.scss */
.hub-ai-fit-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
}

/* line 2296, app/assets/stylesheets/application.scss */
.hub-ai-fit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f3;
  flex: 0 0 auto;
}

/* line 2305, app/assets/stylesheets/application.scss */
.hub-ai-fit-header h2 {
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

/* line 2314, app/assets/stylesheets/application.scss */
.hub-ai-fit-header-spacer {
  width: 36px;
}

/* line 2318, app/assets/stylesheets/application.scss */
.hub-ai-fit-scroll {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 40px;
}

/* line 2325, app/assets/stylesheets/application.scss */
.hub-ai-fit-status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4f4;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

/* line 2336, app/assets/stylesheets/application.scss */
.hub-ai-fit-uploads {
  display: flex;
  flex-direction: column;
}

/* line 2341, app/assets/stylesheets/application.scss */
.hub-ai-fit-section {
  margin-bottom: 26px;
}

/* line 2345, app/assets/stylesheets/application.scss */
.hub-ai-fit-section h3,
.hub-ai-fit-section-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

/* line 2353, app/assets/stylesheets/application.scss */
.hub-ai-fit-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* line 2360, app/assets/stylesheets/application.scss */
.hub-ai-fit-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}

/* line 2367, app/assets/stylesheets/application.scss */
.hub-ai-fit-empty {
  margin: 0;
  flex: 1 1 100%;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

/* line 2378, app/assets/stylesheets/application.scss */
.hub-ai-fit-add {
  width: 34px;
  height: 34px;
  border: 1.5px solid #111;
  border-radius: 10px;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 2391, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo-row,
.hub-ai-fit-styles {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

/* line 2400, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo {
  position: relative;
  flex: 0 0 auto;
  width: 92px;
  height: 120px;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #eceff2;
  cursor: pointer;
}

/* line 2413, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo.is-selected {
  border-color: #111;
}

/* line 2417, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 2424, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

/* line 2440, app/assets/stylesheets/application.scss */
.hub-ai-fit-style {
  flex: 0 0 auto;
  width: 140px;
  height: 186px;
  border: 3px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #eceff2;
  cursor: pointer;
}

/* line 2452, app/assets/stylesheets/application.scss */
.hub-ai-fit-style.is-selected {
  border-color: #111;
}

/* line 2456, app/assets/stylesheets/application.scss */
.hub-ai-fit-style img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 2463, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f6f7f9;
}

/* line 2470, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  text-align: left;
}

/* line 2485, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-toggle span {
  flex: 1 1 auto;
}

/* line 2489, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-chevron {
  color: #6b7280;
  transition: transform 0.18s ease;
}

/* line 2494, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-toggle.is-open .hub-ai-fit-metrics-chevron {
  transform: rotate(90deg);
}

/* line 2498, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-fields {
  margin-top: 12px;
}

/* line 2502, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* line 2508, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

/* line 2517, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-grid input {
  border: 0;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  font-size: 14px;
  color: #111;
}

/* line 2526, app/assets/stylesheets/application.scss */
.hub-ai-fit-cta {
  display: flex;
  flex-direction: column;
}

/* line 2531, app/assets/stylesheets/application.scss */
.hub-ai-fit-generate {
  order: 1;
  width: 100%;
  min-height: 55px;
  border: 0;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* line 2544, app/assets/stylesheets/application.scss */
.hub-ai-fit-generate:disabled {
  background: rgba(0, 0, 0, 0.35);
  cursor: not-allowed;
}

/* line 2549, app/assets/stylesheets/application.scss */
.hub-ai-fit-wait {
  order: 2;
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

/* line 2557, app/assets/stylesheets/application.scss */
.hub-ai-fit-history-btn {
  order: 3;
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border: 2px solid #111;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* line 2571, app/assets/stylesheets/application.scss */
.hub-ai-fit-history {
  margin-top: 14px;
}

/* line 2575, app/assets/stylesheets/application.scss */
.hub-ai-fit-history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 2581, app/assets/stylesheets/application.scss */
.hub-ai-fit-history-item {
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eceff2;
  cursor: pointer;
  aspect-ratio: 0.72;
}

/* line 2591, app/assets/stylesheets/application.scss */
.hub-ai-fit-history-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 2598, app/assets/stylesheets/application.scss */
.hub-ai-fit-result {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

/* line 2609, app/assets/stylesheets/application.scss */
.hub-ai-fit-result.hidden {
  display: none !important;
}

/* line 2613, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-card {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* line 2621, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* line 2628, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

/* line 2634, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-image {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f4f6;
}

/* line 2643, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

/* line 2650, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-actions .hub-download-btn {
  min-width: 0;
  width: 100%;
  text-decoration: none;
}

/* line 2656, app/assets/stylesheets/application.scss */
.hub-ai-fit-secondary-btn {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 900px) {
  /* line 2669, app/assets/stylesheets/application.scss */
  .hub-ai-fit-shell {
    max-width: 1080px;
    border-left: 1px solid #e8ebef;
    border-right: 1px solid #e8ebef;
  }
  /* line 2675, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header {
    padding: 14px 28px;
  }
  /* line 2679, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header h2 {
    font-size: 18px;
    text-align: left;
  }
  /* line 2684, app/assets/stylesheets/application.scss */
  .hub-ai-fit-scroll {
    padding: 28px 32px 56px;
  }
  /* line 2688, app/assets/stylesheets/application.scss */
  .hub-ai-fit-uploads {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 8px;
    align-items: start;
  }
  /* line 2696, app/assets/stylesheets/application.scss */
  .hub-ai-fit-uploads .hub-ai-fit-section {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    background: #fafbfc;
  }
  /* line 2704, app/assets/stylesheets/application.scss */
  .hub-ai-fit-styles-section {
    margin-bottom: 28px;
    padding: 18px 18px 20px;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    background: #fff;
  }
  /* line 2712, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo-row,
.hub-ai-fit-styles {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
  /* line 2719, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo {
    width: 112px;
    height: 146px;
  }
  /* line 2724, app/assets/stylesheets/application.scss */
  .hub-ai-fit-style {
    width: 156px;
    height: 208px;
  }
  /* line 2729, app/assets/stylesheets/application.scss */
  .hub-ai-fit-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 2733, app/assets/stylesheets/application.scss */
  .hub-ai-fit-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas: "generate history" "wait wait";
    gap: 12px 14px;
    align-items: start;
    max-width: 720px;
  }
  /* line 2744, app/assets/stylesheets/application.scss */
  .hub-ai-fit-generate {
    grid-area: generate;
    order: initial;
  }
  /* line 2749, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-btn {
    grid-area: history;
    order: initial;
    margin-top: 0;
  }
  /* line 2755, app/assets/stylesheets/application.scss */
  .hub-ai-fit-wait {
    grid-area: wait;
    order: initial;
    margin: 0;
    text-align: left;
  }
  /* line 2762, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  /* line 2767, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result {
    padding: 32px;
  }
  /* line 2771, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-card {
    width: min(100%, 560px);
    padding: 22px;
  }
  /* line 2776, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-image {
    max-height: 68vh;
  }
  /* line 2780, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-actions {
    flex-direction: row;
  }
  /* line 2784, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-actions .hub-download-btn,
.hub-ai-fit-secondary-btn {
    flex: 1 1 0;
    width: auto;
  }
}

/* line 2791, app/assets/stylesheets/application.scss */
.hub-locket-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #fff;
}

/* line 2800, app/assets/stylesheets/application.scss */
.hub-peek-row-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

/* line 2808, app/assets/stylesheets/application.scss */
.hub-peek-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 4px 8px 8px;
  scrollbar-width: none;
  background: #fff;
}

/* line 2825, app/assets/stylesheets/application.scss */
.hub-peek-row::-webkit-scrollbar {
  display: none;
}

/* line 2829, app/assets/stylesheets/application.scss */
.hub-peek-tile {
  flex: 0 0 auto;
  width: 188px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  scroll-snap-align: start;
}

/* line 2841, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 188px;
  border-radius: 52px;
  background: #f1f3f4;
  color: rgba(0, 0, 0, 0.45);
  font-size: 48px;
  overflow: hidden;
  border: 1.5px solid #dadce0;
  box-shadow: none;
}

/* line 2855, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 2863, app/assets/stylesheets/application.scss */
.hub-locket-friends {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: #fff;
  color: rgba(0, 0, 0, 0.55);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
}

/* line 2877, app/assets/stylesheets/application.scss */
.hub-locket-friends:hover {
  color: rgba(0, 0, 0, 0.8);
}

/* line 2881, app/assets/stylesheets/application.scss */
.hub-peek-gallery {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

/* line 2892, app/assets/stylesheets/application.scss */
.hub-peek-gallery.hidden,
.hub-peek-gallery[hidden] {
  display: none !important;
}

/* line 2897, app/assets/stylesheets/application.scss */
.hub-peek-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 12, 0.78);
  backdrop-filter: blur(10px);
}

/* line 2904, app/assets/stylesheets/application.scss */
.hub-peek-gallery-card {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  max-height: min(88vh, 820px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 18px;
  border-radius: 22px;
  background: rgba(20, 22, 26, 0.92);
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* line 2920, app/assets/stylesheets/application.scss */
.hub-peek-gallery-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
}

/* line 2927, app/assets/stylesheets/application.scss */
.hub-peek-gallery-close,
.hub-peek-gallery-nav,
.hub-peek-gallery-delete {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

/* line 2937, app/assets/stylesheets/application.scss */
.hub-peek-gallery-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

/* line 2943, app/assets/stylesheets/application.scss */
.hub-peek-gallery-meta {
  min-width: 0;
}

/* line 2947, app/assets/stylesheets/application.scss */
.hub-peek-gallery-sender {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 2963, app/assets/stylesheets/application.scss */
.hub-peek-gallery-sender:disabled {
  cursor: default;
}

/* line 2967, app/assets/stylesheets/application.scss */
.hub-peek-gallery-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* line 2982, app/assets/stylesheets/application.scss */
.hub-peek-gallery-avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

/* line 2992, app/assets/stylesheets/application.scss */
.hub-peek-gallery-avatar img[hidden] {
  display: none !important;
}

/* line 2997, app/assets/stylesheets/application.scss */
.hub-peek-gallery-avatar.has-photo #hub-peek-gallery-avatar-fallback {
  visibility: hidden;
}

/* line 3001, app/assets/stylesheets/application.scss */
.hub-peek-gallery-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 3007, app/assets/stylesheets/application.scss */
.hub-peek-gallery-meta-text strong {
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 3015, app/assets/stylesheets/application.scss */
.hub-peek-gallery-meta-text span {
  font-size: 12px;
  opacity: 0.72;
}

/* line 3021, app/assets/stylesheets/application.scss */
.hub-peek-gallery-delete {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 80, 80, 0.2);
  color: #ffb4b4;
}

/* line 3030, app/assets/stylesheets/application.scss */
.hub-peek-gallery-delete.hidden,
.hub-peek-gallery-delete[hidden] {
  display: none !important;
}

/* line 3035, app/assets/stylesheets/application.scss */
.hub-peek-gallery-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(62vh, 560px);
}

/* line 3043, app/assets/stylesheets/application.scss */
.hub-peek-gallery-image {
  max-width: min(78vw, 640px);
  max-height: min(62vh, 560px);
  width: auto;
  height: auto;
  border-radius: 28px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

/* line 3053, app/assets/stylesheets/application.scss */
.hub-peek-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  z-index: 2;
}

/* line 3063, app/assets/stylesheets/application.scss */
#hub-peek-gallery-prev {
  left: 8px;
}

/* line 3064, app/assets/stylesheets/application.scss */
#hub-peek-gallery-next {
  right: 8px;
}

/* line 3066, app/assets/stylesheets/application.scss */
.hub-peek-modal {
  position: fixed;
  inset: 0;
  z-index: 1230;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: rgba(15, 18, 22, 0.4);
  backdrop-filter: blur(8px);
}

/* line 3079, app/assets/stylesheets/application.scss */
.hub-peek-editor {
  position: fixed;
  inset: 0;
  z-index: 1220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(10px);
}

/* line 3092, app/assets/stylesheets/application.scss */
.hub-peek-modal.hidden,
.hub-peek-modal[hidden],
.hub-peek-editor.hidden,
.hub-peek-editor[hidden] {
  display: none;
}

/* line 3099, app/assets/stylesheets/application.scss */
.hub-peek-editor-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 22px;
  background: #111;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding-bottom: 18px;
}

/* line 3113, app/assets/stylesheets/application.scss */
.hub-peek-editor-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 10px;
}

/* line 3121, app/assets/stylesheets/application.scss */
.hub-peek-editor-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

/* line 3129, app/assets/stylesheets/application.scss */
.hub-peek-crop {
  position: relative;
  width: min(86vw, 360px);
  height: min(86vw, 360px);
  margin: 8px auto 10px;
  border-radius: 42px;
  overflow: hidden;
  background: #000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  touch-action: none;
  cursor: grab;
  user-select: none;
}

/* line 3143, app/assets/stylesheets/application.scss */
.hub-peek-crop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

/* line 3154, app/assets/stylesheets/application.scss */
.hub-peek-crop img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* line 3166, app/assets/stylesheets/application.scss */
.hub-peek-crop-caption {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 22px;
  z-index: 2;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px dashed #fff;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  outline: none;
  pointer-events: auto;
}

/* line 3186, app/assets/stylesheets/application.scss */
.hub-peek-duration {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 12px;
}

/* line 3193, app/assets/stylesheets/application.scss */
.hub-peek-duration-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

/* line 3199, app/assets/stylesheets/application.scss */
.hub-peek-duration-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* line 3205, app/assets/stylesheets/application.scss */
.hub-peek-duration-pill {
  border: 0;
  border-radius: 999px;
  padding: 10px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

/* line 3217, app/assets/stylesheets/application.scss */
.hub-peek-duration-pill.is-active {
  color: #111;
  background: #ffc729;
}

/* line 3222, app/assets/stylesheets/application.scss */
.hub-peek-viewers-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

/* line 3239, app/assets/stylesheets/application.scss */
.hub-peek-viewers-btn span {
  flex: 1;
}

/* line 3243, app/assets/stylesheets/application.scss */
.hub-peek-viewers-btn strong {
  color: #ffc729;
  font-weight: 700;
}

/* line 3248, app/assets/stylesheets/application.scss */
.hub-peek-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  max-height: min(88vh, 780px);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.22);
}

/* line 3260, app/assets/stylesheets/application.scss */
.hub-peek-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 10px;
}

/* line 3268, app/assets/stylesheets/application.scss */
.hub-peek-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 3276, app/assets/stylesheets/application.scss */
.hub-peek-cancel,
.hub-peek-send {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}

/* line 3287, app/assets/stylesheets/application.scss */
.hub-peek-editor .hub-peek-cancel,
.hub-peek-editor .hub-peek-send {
  color: rgba(255, 255, 255, 0.85);
}

/* line 3292, app/assets/stylesheets/application.scss */
.hub-peek-editor .hub-peek-send {
  color: #ffc729;
}

/* line 3296, app/assets/stylesheets/application.scss */
.hub-peek-editor .hub-peek-hint {
  color: rgba(255, 255, 255, 0.55);
}

/* line 3300, app/assets/stylesheets/application.scss */
.hub-peek-cancel {
  justify-self: start;
  color: #8e8e93;
  font-weight: 500;
}

/* line 3306, app/assets/stylesheets/application.scss */
.hub-peek-send {
  justify-self: end;
  color: #0084ff;
}

/* line 3311, app/assets/stylesheets/application.scss */
.hub-peek-send:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 3316, app/assets/stylesheets/application.scss */
.hub-peek-photo {
  height: 140px;
  margin: 0 16px 10px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: #f2f2f7;
}

/* line 3325, app/assets/stylesheets/application.scss */
.hub-peek-hint {
  margin: 0;
  padding: 0 16px 10px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.35;
}

/* line 3333, app/assets/stylesheets/application.scss */
.hub-peek-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f2f2f7;
  color: #8e8e93;
}

/* line 3344, app/assets/stylesheets/application.scss */
.hub-peek-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: #111;
  outline: none;
}

/* line 3354, app/assets/stylesheets/application.scss */
.hub-peek-people {
  flex: 1;
  overflow: auto;
  padding: 0 8px 16px;
}

/* line 3360, app/assets/stylesheets/application.scss */
.hub-peek-person {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #111;
}

/* line 3376, app/assets/stylesheets/application.scss */
.hub-peek-person:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 3380, app/assets/stylesheets/application.scss */
.hub-peek-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #c7c7cc;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

/* line 3395, app/assets/stylesheets/application.scss */
.hub-peek-person.is-selected .hub-peek-check {
  background: #7c3aed;
  border-color: #7c3aed;
}

/* line 3400, app/assets/stylesheets/application.scss */
.hub-peek-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5ea;
  color: #8e8e93;
}

/* line 3412, app/assets/stylesheets/application.scss */
.hub-peek-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 3418, app/assets/stylesheets/application.scss */
.hub-peek-empty {
  margin: 24px 12px;
  text-align: center;
  color: #8e8e93;
}

/* line 3424, app/assets/stylesheets/application.scss */
.hub-peek-status {
  margin: 0;
  padding: 8px 16px 16px;
  font-size: 13px;
  color: #8e8e93;
}

/* line 3431, app/assets/stylesheets/application.scss */
.hub-peek-status.is-ok {
  color: #1a7f37;
}

/* line 3435, app/assets/stylesheets/application.scss */
.hub-peek-status.is-error {
  color: #c62828;
}

/* line 3439, app/assets/stylesheets/application.scss */
.perk-upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.34);
  pointer-events: all;
}

/* line 3450, app/assets/stylesheets/application.scss */
.perk-upload-overlay[hidden] {
  display: none !important;
}

/* line 3454, app/assets/stylesheets/application.scss */
.perk-upload-overlay-card {
  min-width: 200px;
  max-width: min(320px, calc(100vw - 40px));
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
}

/* line 3464, app/assets/stylesheets/application.scss */
.perk-upload-overlay-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* line 3471, app/assets/stylesheets/application.scss */
.perk-upload-overlay-track {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

/* line 3478, app/assets/stylesheets/application.scss */
.perk-upload-overlay-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #111;
  transition: width 0.12s linear;
}

/* line 3486, app/assets/stylesheets/application.scss */
.hub-ask {
  width: 100%;
  max-width: 640px;
}

/* line 3491, app/assets/stylesheets/application.scss */
.hub-ask-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

/* line 3498, app/assets/stylesheets/application.scss */
.hub-ask-attachments.hidden {
  display: none !important;
}

/* line 3502, app/assets/stylesheets/application.scss */
.hub-ask-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  padding: 6px 8px 6px 6px;
  border: 1px solid var(--perk-line);
  border-radius: 14px;
  background: var(--perk-surface);
  box-shadow: var(--perk-shadow-sm);
}

/* line 3514, app/assets/stylesheets/application.scss */
.hub-ask-chip img,
.hub-ask-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--perk-field);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--perk-muted);
  font-size: 12px;
}

/* line 3529, app/assets/stylesheets/application.scss */
.hub-ask-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--perk-ink);
}

/* line 3539, app/assets/stylesheets/application.scss */
.hub-ask-chip button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--perk-muted);
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 3550, app/assets/stylesheets/application.scss */
.hub-ask-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  border-radius: 28px;
  padding: 8px 8px 8px 10px;
  box-shadow: var(--perk-shadow-md);
}

/* line 3561, app/assets/stylesheets/application.scss */
.hub-ask.is-recording .hub-ask-bar {
  display: none;
}

/* line 3565, app/assets/stylesheets/application.scss */
.hub-ask-tools {
  position: relative;
  flex: 0 0 auto;
}

/* line 3570, app/assets/stylesheets/application.scss */
.hub-ask-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--perk-field);
  color: var(--perk-ink);
  cursor: pointer;
}

/* line 3583, app/assets/stylesheets/application.scss */
.hub-ask-icon-btn:hover {
  background: #e8eaed;
}

/* line 3587, app/assets/stylesheets/application.scss */
.hub-ask-icon-btn.is-recording {
  color: #dc2626;
  background: #fee2e2;
}

/* line 3592, app/assets/stylesheets/application.scss */
.hub-ask-attach-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--perk-line);
  border-radius: 14px;
  box-shadow: var(--perk-shadow-md);
  overflow: hidden;
  z-index: 8;
}

/* line 3605, app/assets/stylesheets/application.scss */
.hub-ask-attach-menu.hidden {
  display: none !important;
}

/* line 3609, app/assets/stylesheets/application.scss */
.hub-ask-attach-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 3624, app/assets/stylesheets/application.scss */
.hub-ask-attach-menu button:hover {
  background: var(--perk-field);
}

/* line 3628, app/assets/stylesheets/application.scss */
.hub-ask-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #111;
  min-width: 0;
  height: 36px;
}

/* line 3639, app/assets/stylesheets/application.scss */
.hub-ask-trailing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

/* line 3646, app/assets/stylesheets/application.scss */
.hub-ask-mic-btn {
  background: transparent;
  color: var(--perk-muted);
}

/* line 3651, app/assets/stylesheets/application.scss */
.hub-ask-mic-btn:hover {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 3656, app/assets/stylesheets/application.scss */
.hub-ask-voice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--perk-ink);
  color: #fff;
  cursor: pointer;
}

/* line 3669, app/assets/stylesheets/application.scss */
.hub-ask-voice-btn:hover {
  background: var(--perk-ink-soft);
}

/* line 3673, app/assets/stylesheets/application.scss */
.hub-ask-voice-icon {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 14px;
}

/* line 3681, app/assets/stylesheets/application.scss */
.hub-ask-voice-icon i {
  display: block;
  width: 2.5px;
  border-radius: 99px;
  background: currentColor;
}

/* line 3688, app/assets/stylesheets/application.scss */
.hub-ask-voice-icon i:nth-child(1) {
  height: 7px;
}

/* line 3689, app/assets/stylesheets/application.scss */
.hub-ask-voice-icon i:nth-child(2) {
  height: 12px;
}

/* line 3690, app/assets/stylesheets/application.scss */
.hub-ask-voice-icon i:nth-child(3) {
  height: 9px;
}

/* line 3691, app/assets/stylesheets/application.scss */
.hub-ask-voice-icon i:nth-child(4) {
  height: 14px;
}

/* line 3693, app/assets/stylesheets/application.scss */
.hub-ask-send {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--perk-ink);
  color: #fff;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

/* line 3707, app/assets/stylesheets/application.scss */
.hub-ask-send.is-visible,
.hub-ask.has-text .hub-ask-send,
.hub-ask.has-attachments .hub-ask-send {
  display: inline-flex;
}

/* line 3713, app/assets/stylesheets/application.scss */
.hub-ask.has-text .hub-ask-voice-btn,
.hub-ask.has-attachments .hub-ask-voice-btn,
.hub-ask.has-text .hub-ask-mic-btn,
.hub-ask.has-attachments .hub-ask-mic-btn {
  display: none;
}

/* line 3720, app/assets/stylesheets/application.scss */
.hub-ask-send:hover {
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 3725, app/assets/stylesheets/application.scss */
.hub-ask-recording {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 8px 8px 10px;
  border: 1px solid #fecaca;
  border-radius: 28px;
  background: #fff5f5;
  box-shadow: var(--perk-shadow-md);
}

/* line 3737, app/assets/stylesheets/application.scss */
.hub-ask-recording .hub-ask-send,
.hub-ask-recording .hub-ask-send.is-visible {
  background: #f87171;
  box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.45);
  animation: floating-ai-send-pulse 1.4s ease-out infinite;
}

/* line 3744, app/assets/stylesheets/application.scss */
.hub-ask-recording .hub-ask-send:hover {
  background: #ef4444;
}

/* line 3748, app/assets/stylesheets/application.scss */
.hub-ask.is-recording .hub-ask-recording {
  display: flex;
}

/* line 3752, app/assets/stylesheets/application.scss */
.hub-ask-recording.hidden {
  display: none !important;
}

/* line 3756, app/assets/stylesheets/application.scss */
.hub-ask-record-cancel {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 3767, app/assets/stylesheets/application.scss */
.hub-ask-recording-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

/* line 3778, app/assets/stylesheets/application.scss */
.hub-ask-recording-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f87171;
  animation: floating-ai-record-blink 1s ease-in-out infinite;
  flex: 0 0 auto;
}

/* line 3787, app/assets/stylesheets/application.scss */
.hub-ask-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 48px;
  max-width: 120px;
  height: 18px;
}

/* line 3797, app/assets/stylesheets/application.scss */
.hub-ask-waveform span {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 999px;
  background: #111;
  animation: floating-ai-wave 1s ease-in-out infinite;
}

/* line 3806, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(1) {
  animation-delay: 0s;
}

/* line 3807, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(2) {
  animation-delay: 0.08s;
}

/* line 3808, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(3) {
  animation-delay: 0.16s;
}

/* line 3809, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(4) {
  animation-delay: 0.24s;
}

/* line 3810, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(5) {
  animation-delay: 0.12s;
}

/* line 3811, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(6) {
  animation-delay: 0.2s;
}

/* line 3812, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(7) {
  animation-delay: 0.04s;
}

/* line 3813, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(8) {
  animation-delay: 0.28s;
}

/* line 3814, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(9) {
  animation-delay: 0.1s;
}

/* line 3815, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(10) {
  animation-delay: 0.18s;
}

/* line 3817, app/assets/stylesheets/application.scss */
.hub-ask-transcribing {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #fecaca;
  border-radius: 28px;
  background: #fff5f5;
  box-shadow: var(--perk-shadow-md);
}

/* line 3829, app/assets/stylesheets/application.scss */
.hub-ask.is-transcribing .hub-ask-bar,
.hub-ask.is-transcribing .hub-ask-recording {
  display: none !important;
}

/* line 3834, app/assets/stylesheets/application.scss */
.hub-ask.is-transcribing .hub-ask-transcribing {
  display: flex;
}

/* line 3838, app/assets/stylesheets/application.scss */
.hub-ask-transcribing.hidden {
  display: none !important;
}

/* line 3842, app/assets/stylesheets/application.scss */
.hub-ask-transcribing-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fecaca;
  border-top-color: #f87171;
  flex: 0 0 auto;
  animation: floating-ai-spin 0.8s linear infinite;
}

/* line 3852, app/assets/stylesheets/application.scss */
.hub-ask-transcribing-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 3860, app/assets/stylesheets/application.scss */
.hub-ask-transcribing-copy strong {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

/* line 3866, app/assets/stylesheets/application.scss */
.hub-ask-transcribing-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #fecaca;
  overflow: hidden;
}

/* line 3874, app/assets/stylesheets/application.scss */
.hub-ask-transcribing-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: #f87171;
  animation: floating-ai-transcribe-progress 1.2s ease-in-out infinite;
}

/* line 3883, app/assets/stylesheets/application.scss */
.floating-ai-live-provisional {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-style: italic;
  line-height: 1.3;
}

/* In-tab Ask AI conversation (fills apps center like Drive/Tutor). */
/* line 3891, app/assets/stylesheets/application.scss */
.hub-ask-chat {
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  background: #fff;
  color: var(--perk-ink);
  height: 100%;
  min-height: calc(100vh - 80px);
}

/* line 3902, app/assets/stylesheets/application.scss */
.hub-ask-chat.hidden,
.hub-ask-chat[hidden] {
  display: none !important;
}

/* line 3907, app/assets/stylesheets/application.scss */
.hub-ask-chat-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 3916, app/assets/stylesheets/application.scss */
.hub-ask-chat-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
}

/* line 3931, app/assets/stylesheets/application.scss */
.hub-ask-chat-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
  pointer-events: auto;
}

/* line 3940, app/assets/stylesheets/application.scss */
.hub-ask-chat-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--perk-field);
  color: var(--perk-ink);
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 3954, app/assets/stylesheets/application.scss */
.hub-ask-chat-icon-btn:hover {
  background: #e8eaed;
}

/* line 3958, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-history-open .hub-ask-chat-topbar .hub-ask-chat-top-actions [data-hub-ask-chat-target="historyBtn"] {
  background: rgba(232, 234, 237, 0.96);
}

/* line 3962, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: calc(100% - 96px);
  flex: 0 1 auto;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 12px rgba(15, 18, 22, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

/* line 3978, app/assets/stylesheets/application.scss */
.hub-ask-chat-topbar .hub-ask-chat-icon-btn {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 12px rgba(15, 18, 22, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* line 3985, app/assets/stylesheets/application.scss */
.hub-ask-chat-topbar .hub-ask-chat-icon-btn:hover {
  background: rgba(255, 255, 255, 0.98);
}

/* line 3989, app/assets/stylesheets/application.scss */
.hub-ask-chat-history {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 8px 0 28px rgba(15, 18, 22, 0.18);
  overflow: hidden;
}

/* line 4000, app/assets/stylesheets/application.scss */
.hub-ask-chat-history.hidden,
.hub-ask-chat-history[hidden] {
  display: none !important;
}

/* line 4005, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
}

/* line 4015, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-head strong {
  font-size: 14px;
  font-weight: 700;
}

/* line 4020, app/assets/stylesheets/application.scss */
.hub-ask-chat-new-chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 12px 14px 8px;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

/* line 4038, app/assets/stylesheets/application.scss */
.hub-ask-chat-new-chat-btn:hover {
  background: #30343a;
}

/* line 4042, app/assets/stylesheets/application.scss */
.hub-ask-chat-new-chat-btn i {
  width: 16px;
  text-align: center;
}

/* line 4047, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 10px 16px;
}

/* line 4054, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin: 0 0 4px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 4070, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-item:hover,
.hub-ask-chat-history-item.is-active {
  background: #f3f4f6;
}

/* line 4075, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-item strong {
  font-size: 13px;
  font-weight: 650;
  color: #111;
}

/* line 4081, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-item span {
  font-size: 11px;
  color: #8a9099;
}

/* line 4086, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-muted {
  margin: 16px 8px;
  color: #8a9099;
  font-size: 13px;
  text-align: center;
}

/* line 4093, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

/* line 4101, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

/* line 4111, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer span {
  display: none;
}

/* line 4115, app/assets/stylesheets/application.scss */
.hub-ask-chat-messages-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 4123, app/assets/stylesheets/application.scss */
.hub-ask-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 72px var(--hub-ai-chat-gutter) calc(88px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fff;
}

/* line 4135, app/assets/stylesheets/application.scss */
.hub-ask-chat-jump-latest,
.floating-ai-jump-latest,
.ai-chat-jump-latest {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* line 4157, app/assets/stylesheets/application.scss */
.hub-ask-chat-jump-latest {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  right: max(12px, calc(50% - (var(--hub-ai-chat-col) / 2) + 8px));
  z-index: 7;
}

/* line 4163, app/assets/stylesheets/application.scss */
.hub-ask-chat-jump-latest[hidden],
.floating-ai-jump-latest[hidden],
.ai-chat-jump-latest[hidden] {
  display: none !important;
}

/* line 4169, app/assets/stylesheets/application.scss */
.hub-ask-chat-jump-latest:hover,
.floating-ai-jump-latest:hover,
.ai-chat-jump-latest:hover {
  background: #fff;
}

/* line 4175, app/assets/stylesheets/application.scss */
.hub-ask-chat-jump-latest i,
.floating-ai-jump-latest i,
.ai-chat-jump-latest i {
  font-size: 13px;
}

/* line 4181, app/assets/stylesheets/application.scss */
.floating-ai-jump-latest.has-unseen::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2563eb;
}

/* line 4192, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: var(--hub-ai-chat-col);
}

/* line 4200, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-row.is-user {
  justify-content: flex-end;
}

/* line 4204, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-row.is-bot {
  justify-content: flex-start;
}

/* line 4208, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

/* line 4215, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-avatar img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
}

/* line 4224, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

/* line 4233, app/assets/stylesheets/application.scss */
.hub-ask-confirm {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f3f4f6;
}

/* line 4240, app/assets/stylesheets/application.scss */
.hub-ask-confirm-prompt {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--perk-ink, #111);
}

/* line 4247, app/assets/stylesheets/application.scss */
.hub-ask-confirm-actions {
  display: flex;
  gap: 8px;
}

/* line 4252, app/assets/stylesheets/application.scss */
.hub-ask-confirm-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #e5e7eb;
  color: #111;
  cursor: pointer;
}

/* line 4263, app/assets/stylesheets/application.scss */
.hub-ask-confirm-btn.is-primary {
  background: #111;
  color: #fff;
}

/* line 4268, app/assets/stylesheets/application.scss */
.hub-ask-confirm.is-resolved {
  opacity: 0.78;
}

/* line 4272, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 22px;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 4282, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-row.is-bot .hub-ask-chat-msg {
  max-width: 100%;
}

/* line 4286, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-bot {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: var(--perk-ink);
  padding: 2px 0 4px 2px;
  border-radius: 0;
}

/* line 4295, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: var(--perk-ink);
}

/* line 4301, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-pending {
  opacity: 0.7;
}

/* line 4305, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media {
  padding: 6px;
  background: transparent;
}

/* line 4310, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media img {
  display: block;
  max-width: 280px;
  max-height: 280px;
  border-radius: 16px;
  object-fit: cover;
}

/* line 4318, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4f4f4;
  color: var(--perk-ink);
  text-decoration: none;
  font-weight: 600;
}

/* line 4330, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding-top: 2px;
  color: #6b7280;
}

/* line 4339, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-action {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}

/* line 4355, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-action:hover,
.hub-ask-chat-msg-ai-action.is-active {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}

/* line 4361, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-wrap {
  position: relative;
}

/* line 4365, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  min-width: 132px;
  padding: 6px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

/* line 4378, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 4382, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
}

/* line 4394, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

/* line 4398, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu button.is-danger {
  color: #b91c1c;
}

/* line 4402, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-actions-trailing {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  color: #9ca3af;
  white-space: nowrap;
  padding-right: 2px;
}

/* line 4414, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-status:empty {
  display: none;
}

/* line 4418, app/assets/stylesheets/application.scss */
.hub-ai-composer-curtain {
  width: 100%;
  max-width: var(--hub-ai-chat-col);
  min-height: calc(14px + env(safe-area-inset-bottom, 0px));
  margin-top: 8px;
  background: var(--hub-ai-curtain);
  pointer-events: none;
  flex: 0 0 auto;
}

/* line 4428, app/assets/stylesheets/application.scss */
.hub-ask-chat-composer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px var(--hub-ai-chat-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-top: 0;
  pointer-events: none;
}

/* line 4443, app/assets/stylesheets/application.scss */
.hub-ask-chat-composer > * {
  pointer-events: auto;
  width: 100%;
  max-width: var(--hub-ai-chat-col);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* line 4453, app/assets/stylesheets/application.scss */
.hub-ask-chat-composer .hub-ask-bar {
  max-width: var(--hub-ai-chat-col);
  margin: 0 auto;
}

/* line 4458, app/assets/stylesheets/application.scss */
.hub-ask-chat-composer .hub-ask-attachments {
  max-width: var(--hub-ai-chat-col);
  margin: 0 auto 10px;
}

/* line 4463, app/assets/stylesheets/application.scss */
.hub-ask-chat-composer .hub-ask-recording {
  max-width: var(--hub-ai-chat-col);
  margin: 0 auto;
}

/* line 4468, app/assets/stylesheets/application.scss */
.hub-ask-chat.has-text .hub-ask-voice-btn,
.hub-ask-chat.has-attachments .hub-ask-voice-btn {
  display: none;
}

/* line 4473, app/assets/stylesheets/application.scss */
.hub-ask-chat .hub-ask-mic-btn {
  order: 1;
}

/* line 4477, app/assets/stylesheets/application.scss */
.hub-ask-chat .hub-ask-voice-btn {
  order: 2;
}

/* line 4481, app/assets/stylesheets/application.scss */
.hub-ask-chat .hub-ask-send {
  order: 3;
}

/* Keep dictate mic visible while typing so users can append by voice. */
/* line 4486, app/assets/stylesheets/application.scss */
.hub-ask-chat.has-text .hub-ask-mic-btn,
.hub-ask-chat.has-attachments .hub-ask-mic-btn {
  display: inline-flex;
  order: 4;
}

/* line 4492, app/assets/stylesheets/application.scss */
.hub-ask-chat.has-text .hub-ask-send,
.hub-ask-chat.has-attachments .hub-ask-send {
  display: inline-flex;
}

/* line 4497, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-recording .hub-ask-bar {
  display: none;
}

/* line 4501, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-recording .hub-ask-recording {
  display: flex;
}

/* line 4505, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-transcribing {
  pointer-events: none;
}

/* line 4509, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-transcribing .hub-ask-bar,
.hub-ask-chat.is-transcribing .hub-ask-recording {
  display: none !important;
}

/* line 4514, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-transcribing .hub-ask-transcribing {
  display: flex;
}

/* line 4518, app/assets/stylesheets/application.scss */
.hub-ask-chat-composer .hub-ask-transcribing {
  max-width: var(--hub-ai-chat-col);
  margin: 0 auto;
}

/* line 4523, app/assets/stylesheets/application.scss */
.hub-apps {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
}

/* line 4530, app/assets/stylesheets/application.scss */
.hub-app {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--perk-space-2);
  cursor: pointer;
  padding: 6px 3px;
  border-radius: var(--perk-radius-md);
  transition: background 150ms ease, transform 150ms ease;
}

/* line 4543, app/assets/stylesheets/application.scss */
.hub-app:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

/* line 4548, app/assets/stylesheets/application.scss */
.hub-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  color: var(--hub-app-color, var(--perk-ink));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--perk-shadow-sm);
}

/* line 4562, app/assets/stylesheets/application.scss */
.hub-app-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--perk-ink);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* line 4571, app/assets/stylesheets/application.scss */
.hub-shortcuts {
  width: 100%;
}

/* line 4575, app/assets/stylesheets/application.scss */
.hub-shortcuts-head h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--perk-muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 4584, app/assets/stylesheets/application.scss */
.hub-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 10px;
}

/* line 4590, app/assets/stylesheets/application.scss */
.hub-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--perk-space-2);
  text-decoration: none;
  color: var(--perk-ink);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 3px;
  border-radius: var(--perk-radius-md);
  transition: background 150ms ease, transform 150ms ease;
}

/* line 4604, app/assets/stylesheets/application.scss */
.hub-shortcut:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--perk-ink);
  transform: translateY(-1px);
}

/* line 4610, app/assets/stylesheets/application.scss */
.hub-shortcut-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  object-fit: contain;
  padding: 8px;
  box-shadow: var(--perk-shadow-sm);
}

/* line 4621, app/assets/stylesheets/application.scss */
.hub-download {
  margin-top: 8px;
}

/* line 4625, app/assets/stylesheets/application.scss */
.hub-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 12px 24px;
  border-radius: var(--perk-radius-pill);
  background: var(--perk-ink);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: var(--perk-shadow-sm);
  transition: background 150ms ease, transform 150ms ease;
}

/* line 4641, app/assets/stylesheets/application.scss */
.hub-download-btn:hover {
  background: var(--perk-ink-soft);
  color: #fff;
  transform: translateY(-1px);
}

/* line 4647, app/assets/stylesheets/application.scss */
.hub-download-btn-block {
  width: 100%;
  margin-top: 12px;
}

/* line 4652, app/assets/stylesheets/application.scss */
.hub-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
}

/* line 4660, app/assets/stylesheets/application.scss */
.hub-modal.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 4666, app/assets/stylesheets/application.scss */
.hub-modal.hub-style-options-modal.flex {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

/* line 4672, app/assets/stylesheets/application.scss */
.hub-modal-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* line 4681, app/assets/stylesheets/application.scss */
.hub-modal-card-sm {
  max-width: 360px;
}

/* line 4685, app/assets/stylesheets/application.scss */
.hub-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* line 4692, app/assets/stylesheets/application.scss */
.hub-modal-head h3 {
  font-size: 18px;
  font-weight: 800;
}

/* line 4697, app/assets/stylesheets/application.scss */
.hub-modal-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

/* line 4706, app/assets/stylesheets/application.scss */
.hub-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 10px;
  margin-bottom: 16px;
}

/* line 4713, app/assets/stylesheets/application.scss */
.hub-modal-note {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* Floating AI */
/* line 4720, app/assets/stylesheets/application.scss */
.floating-ai {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
}

/* line 4727, app/assets/stylesheets/application.scss */
.floating-ai.is-unpinning .floating-ai-bubble {
  animation: floating-ai-unpin 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

/* line 4731, app/assets/stylesheets/application.scss */
.floating-ai.is-patrolling .floating-ai-bubble:not(.is-pinned) {
  animation: floating-ai-bob 5.5s ease-in-out infinite, floating-ai-wiggle 1.2s ease-in-out;
}

/* line 4735, app/assets/stylesheets/application.scss */
.floating-ai-bubble {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: grab;
  position: relative;
  overflow: visible;
  animation: floating-ai-bob 5.5s ease-in-out infinite;
}

/* line 4748, app/assets/stylesheets/application.scss */
.floating-ai-bubble.is-pinned {
  animation: none;
}

/* line 4752, app/assets/stylesheets/application.scss */
.floating-ai.is-roaming .floating-ai-bubble:not(.is-pinned) {
  animation: floating-ai-bob 5.5s ease-in-out infinite;
}

/* line 4756, app/assets/stylesheets/application.scss */
.floating-ai-pin-menu {
  position: absolute;
  z-index: 5;
  min-width: 170px;
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-sm);
  box-shadow: var(--perk-shadow-md);
  overflow: hidden;
}

/* line 4767, app/assets/stylesheets/application.scss */
.floating-ai-pin-menu button {
  width: 100%;
  border: 0;
  background: var(--perk-surface);
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--perk-ink);
  cursor: pointer;
}

/* line 4779, app/assets/stylesheets/application.scss */
.floating-ai-pin-menu button + button {
  border-top: 1px solid var(--perk-line);
}

/* line 4783, app/assets/stylesheets/application.scss */
.floating-ai-pin-menu button.is-danger {
  color: #b42318;
}

/* line 4787, app/assets/stylesheets/application.scss */
.floating-ai-pin-menu button:hover {
  background: var(--perk-field);
}

/* line 4791, app/assets/stylesheets/application.scss */
.floating-ai.is-user-hidden {
  display: none !important;
}

/* line 4795, app/assets/stylesheets/application.scss */
.floating-ai-hide-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  padding: 12px 14px 12px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

/* line 4813, app/assets/stylesheets/application.scss */
.floating-ai-hide-toast button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #141416;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
}

/* line 4824, app/assets/stylesheets/application.scss */
.floating-ai-panel-title {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}

/* line 4833, app/assets/stylesheets/application.scss */
.floating-ai-peer-chevron {
  margin-left: 6px;
  color: #9ca3af;
  font-size: 11px;
}

/* line 4839, app/assets/stylesheets/application.scss */
.floating-ai-peer-menu {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 62px;
  z-index: 4;
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  padding: 6px;
}

/* line 4854, app/assets/stylesheets/application.scss */
.floating-ai-peer-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
}

/* line 4867, app/assets/stylesheets/application.scss */
.floating-ai-peer-option:hover,
.floating-ai-peer-option.is-active {
  background: #f3f4f6;
}

/* line 4872, app/assets/stylesheets/application.scss */
.floating-ai-peer-option img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
}

/* line 4880, app/assets/stylesheets/application.scss */
.floating-ai-peer-option strong {
  display: block;
  font-size: 13px;
}

/* line 4885, app/assets/stylesheets/application.scss */
.floating-ai-peer-option small {
  color: #6b7280;
  font-size: 11px;
}

/* line 4890, app/assets/stylesheets/application.scss */
.floating-ai-peer-action {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}

/* line 4906, app/assets/stylesheets/application.scss */
.floating-ai-peer-action i {
  width: 18px;
  text-align: center;
  color: #6b7280;
}

/* line 4912, app/assets/stylesheets/application.scss */
.floating-ai-peer-action:hover {
  background: #f3f4f6;
}

/* line 4916, app/assets/stylesheets/application.scss */
.floating-ai-peer-action.is-danger,
.floating-ai-peer-action.is-danger i {
  color: #dc2626;
}

/* line 4921, app/assets/stylesheets/application.scss */
.floating-ai-peer-empty {
  padding: 12px;
  font-size: 13px;
  color: #6b7280;
}

/* line 4927, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-pending {
  opacity: 0.65;
  font-style: italic;
}

/* line 4932, app/assets/stylesheets/application.scss */
.floating-ai-bubble:active {
  cursor: grabbing;
}

/* line 4936, app/assets/stylesheets/application.scss */
.floating-ai-avatar-shell {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  background: #fff;
  box-sizing: border-box;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* line 4949, app/assets/stylesheets/application.scss */
.floating-ai-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 0;
  background: #fff;
}

/* line 4958, app/assets/stylesheets/application.scss */
.ai-avatar-category-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 15%;
  min-height: 8px;
  max-height: 14px;
  padding: 0 2px;
  background: #405159;
  color: #fff;
  font-size: clamp(5.5px, 10.5%, 9px);
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

/* line 4984, app/assets/stylesheets/application.scss */
.ai-avatar-category-tag-icon {
  font-size: 0.85em;
  line-height: 1;
}

/* line 4989, app/assets/stylesheets/application.scss */
.ai-avatar-category-tag-label {
  line-height: 1;
}

/* line 4993, app/assets/stylesheets/application.scss */
.ai-avatar-category-tag[hidden] {
  display: none;
}

/* line 4997, app/assets/stylesheets/application.scss */
.floating-ai-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-sizing: border-box;
  pointer-events: none;
}

/* line 5011, app/assets/stylesheets/application.scss */
.floating-ai-dot.is-offline,
.floating-ai-dot[hidden] {
  display: none;
}

/* line 5016, app/assets/stylesheets/application.scss */
.floating-ai-panel {
  --panel-width: 360px;
  --panel-height: auto;
  --chat-keyboard-inset: 0px;
  position: absolute;
  right: 0;
  bottom: calc(72px + var(--chat-keyboard-inset, 0px));
  display: flex;
  flex-direction: column;
  width: var(--panel-width);
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  overflow: hidden;
  box-shadow: var(--perk-shadow-lg);
  transition: width 0.22s ease, height 0.22s ease, max-height 0.22s ease, box-shadow 0.22s ease;
  /* Keep drag handles at touch-action: none; allow nested lists/pickers to pan. */
  touch-action: manipulation;
}

/* line 5038, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-custom-size {
  width: var(--panel-width);
  height: var(--panel-height);
  max-height: calc(100vh - 16px);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

/* line 5045, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-resizing {
  transition: none;
  user-select: none;
}

/* line 5050, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle {
  position: absolute;
  z-index: 6;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

/* line 5062, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2.5px solid rgba(120, 128, 140, 0.55);
  border-radius: 2px;
  background: transparent;
}

/* line 5072, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle.is-ne {
  top: 0;
  right: 0;
  cursor: nesw-resize;
  touch-action: none;
}

/* line 5079, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle.is-ne::before {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 18px;
}

/* line 5087, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle.is-sw {
  left: 0;
  bottom: 0;
  cursor: nesw-resize;
  touch-action: none;
}

/* line 5094, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle.is-sw::before {
  left: 0;
  bottom: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 18px;
}

/* line 5102, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle:hover::before,
.floating-ai-panel.is-resizing .floating-ai-resize-handle::before {
  border-color: rgba(55, 65, 81, 0.85);
}

/* display:flex above beats Tailwind .hidden — keep these explicit */
/* line 5108, app/assets/stylesheets/application.scss */
.floating-ai-panel.hidden,
.floating-ai-human-tools.hidden,
.floating-ai-history-btn.hidden,
.floating-ai-history.hidden,
.floating-ai-attach-menu.hidden,
.floating-ai-peer-menu.hidden,
.floating-ai-pin-menu.hidden,
.floating-ai-call.hidden,
.floating-ai-pending.hidden {
  display: none !important;
}

/* line 5120, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-expanded:not(.is-custom-size) {
  width: min(480px, calc(100vw - 28px));
  height: min(720px, calc(100vh - 96px));
  max-height: calc(100vh - 96px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

/* line 5127, app/assets/stylesheets/application.scss */
.floating-ai.is-dragging .floating-ai-panel,
.floating-ai.is-dragging .floating-ai-bubble {
  transition: none;
}

/* line 5132, app/assets/stylesheets/application.scss */
.floating-ai.is-panel-open .floating-ai-bubble {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

/* line 5139, app/assets/stylesheets/application.scss */
.floating-ai-drag-edge {
  position: absolute;
  z-index: 40;
  background: transparent;
  touch-action: none;
  cursor: grab;
}

/* line 5147, app/assets/stylesheets/application.scss */
.floating-ai-drag-edge.is-top {
  top: 0;
  left: 18px;
  right: 18px;
  height: 12px;
}

/* line 5154, app/assets/stylesheets/application.scss */
.floating-ai-drag-edge.is-bottom {
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 12px;
}

/* line 5161, app/assets/stylesheets/application.scss */
.floating-ai-drag-edge.is-left {
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 12px;
}

/* line 5168, app/assets/stylesheets/application.scss */
.floating-ai-drag-edge.is-right {
  right: 0;
  top: 18px;
  bottom: 18px;
  width: 12px;
}

/* line 5175, app/assets/stylesheets/application.scss */
.floating-ai.is-dragging .floating-ai-drag-edge,
.floating-ai.is-dragging .floating-ai-panel-head,
.floating-ai.is-dragging .floating-ai-panel-foot,
.floating-ai.is-dragging .floating-ai-panel-drag-strip {
  cursor: grabbing;
}

/* line 5182, app/assets/stylesheets/application.scss */
.floating-ai-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

/* line 5196, app/assets/stylesheets/application.scss */
.floating-ai-panel-drag-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  z-index: 3;
  cursor: grab;
  touch-action: none;
}

/* line 5207, app/assets/stylesheets/application.scss */
.floating-ai-panel-drag-strip.is-foot {
  top: 0;
  bottom: auto;
  height: 16px;
  z-index: 4;
}

/* line 5214, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-peer .floating-ai-history-btn {
  display: none !important;
}

/* line 5218, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-history-open .floating-ai-history-btn {
  background: #e8eaed;
  color: #111;
}

/* line 5223, app/assets/stylesheets/application.scss */
.floating-ai-history {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 8px 0 28px rgba(15, 18, 22, 0.18);
}

/* line 5233, app/assets/stylesheets/application.scss */
.floating-ai-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
}

/* line 5243, app/assets/stylesheets/application.scss */
.floating-ai-history-head strong {
  font-size: 14px;
  font-weight: 700;
}

/* line 5248, app/assets/stylesheets/application.scss */
.floating-ai-new-chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 12px 14px 8px;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

/* line 5266, app/assets/stylesheets/application.scss */
.floating-ai-new-chat-btn:hover {
  background: #30343a;
}

/* line 5270, app/assets/stylesheets/application.scss */
.floating-ai-new-chat-btn i {
  width: 16px;
  text-align: center;
}

/* line 5275, app/assets/stylesheets/application.scss */
.floating-ai-history-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 10px 16px;
}

/* line 5282, app/assets/stylesheets/application.scss */
.floating-ai-history-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin: 0 0 4px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 5298, app/assets/stylesheets/application.scss */
.floating-ai-history-item:hover,
.floating-ai-history-item.is-active {
  background: #f3f4f6;
}

/* line 5303, app/assets/stylesheets/application.scss */
.floating-ai-history-item strong {
  font-size: 13px;
  font-weight: 650;
  color: #111;
}

/* line 5309, app/assets/stylesheets/application.scss */
.floating-ai-history-item span {
  font-size: 11px;
  color: #8a9099;
}

/* line 5314, app/assets/stylesheets/application.scss */
.floating-ai-history-muted {
  margin: 16px 8px;
  color: #8a9099;
  font-size: 13px;
  text-align: center;
}

/* line 5321, app/assets/stylesheets/application.scss */
.floating-ai-panel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 4px;
  flex: 0 0 auto;
  position: relative;
  z-index: 8;
}

/* line 5332, app/assets/stylesheets/application.scss */
.floating-ai-header-btn {
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.06);
  color: #6b7280;
  font-size: 11px;
}

/* line 5340, app/assets/stylesheets/application.scss */
.floating-ai-header-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #111;
}

/* Thicker corner-arrow icon (iOS arrow.up.left.and.arrow.down.right). */
/* line 5346, app/assets/stylesheets/application.scss */
.floating-ai-expand-btn .floating-ai-expand-icon {
  display: block;
  flex: 0 0 auto;
}

/* line 5351, app/assets/stylesheets/application.scss */
.floating-ai-close-btn {
  margin-left: 10px;
}

/* line 5355, app/assets/stylesheets/application.scss */
.floating-ai-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* line 5371, app/assets/stylesheets/application.scss */
.floating-ai-panel-title img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 5378, app/assets/stylesheets/application.scss */
.floating-ai-panel-title strong {
  display: block;
  font-size: 14px;
}

/* line 5383, app/assets/stylesheets/application.scss */
.floating-ai-panel-title span {
  font-size: 12px;
  color: #22c55e;
}

/* line 5388, app/assets/stylesheets/application.scss */
.floating-ai-messages-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 180px;
  max-height: 310px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 5398, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-custom-size .floating-ai-messages-wrap,
.floating-ai-panel.is-expanded .floating-ai-messages-wrap {
  min-height: 0;
  max-height: none;
  height: 100%;
}

/* line 5405, app/assets/stylesheets/application.scss */
.floating-ai-chat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* line 5416, app/assets/stylesheets/application.scss */
.floating-ai-panel-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding: 14px;
  min-height: 0;
  max-height: none;
  height: 100%;
  overflow-y: auto;
  background: transparent;
}

/* Custom-size / expand: let the message list fill space above the composer
   (popup new-message layout uses is-custom-size at ~520px; without this,
   max-height: 310px leaves a dead gap below the input). */
/* line 5431, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-custom-size .floating-ai-panel-body,
.floating-ai-panel.is-expanded .floating-ai-panel-body {
  min-height: 0;
  max-height: none;
  height: 100%;
}

/* line 5438, app/assets/stylesheets/application.scss */
.floating-ai-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  position: relative;
}

/* line 5446, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-outgoing {
  justify-content: flex-end;
}

/* line 5450, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-incoming {
  justify-content: flex-start;
}

/* line 5454, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-grouped {
  margin-top: -4px;
}

/* line 5458, app/assets/stylesheets/application.scss */
.floating-ai-msg-cluster {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  position: relative;
  min-width: 0;
  max-width: min(90%, calc(100% - 38px));
}

/* line 5467, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-outgoing .floating-ai-msg-cluster {
  max-width: 90%;
}

/* line 5471, app/assets/stylesheets/application.scss */
.floating-ai-msg-cluster .floating-ai-msg,
.floating-ai-msg-row.is-outgoing .floating-ai-msg-cluster .floating-ai-msg {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

/* line 5478, app/assets/stylesheets/application.scss */
.floating-ai-msg-cluster.is-heart-panel-open {
  padding-top: 40px;
}

/* line 5482, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #7a7a7a;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  z-index: 2;
}

/* line 5502, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart[hidden] {
  display: none !important;
}

/* line 5506, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-glyph {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid #e5e5ea;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* line 5519, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-glyph i {
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
}

/* line 5525, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-panel {
  position: absolute;
  top: 0;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 5534, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-panel-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

/* line 5544, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-incoming .floating-ai-msg-heart-panel {
  left: 0;
}

/* line 5548, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-outgoing .floating-ai-msg-heart-panel {
  left: 0;
  right: auto;
}

/* line 5553, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-panel-bar button {
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

/* line 5564, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  align-self: center;
  margin: 0 2px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

/* line 5577, app/assets/stylesheets/application.scss */
.floating-ai-msg-row:hover .floating-ai-msg-hover-actions,
.floating-ai-msg-row.is-actions-open .floating-ai-msg-hover-actions {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* line 5584, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #e4e6eb;
  color: #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* line 5601, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn:hover,
.floating-ai-msg-hover-btn.is-active {
  background: #d8dadf;
}

/* line 5606, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn i {
  font-size: 13px;
  line-height: 1;
}

/* line 5611, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-pop {
  position: absolute;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* line 5623, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-pop-bar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* line 5634, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-pop.hidden {
  display: none !important;
}

/* line 5638, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-pop .floating-ai-msg-react-btn {
  width: 32px;
  height: 32px;
  font-size: 18px;
}

/* line 5644, app/assets/stylesheets/application.scss */
.floating-ai-msg-more {
  position: absolute;
  z-index: 31;
  min-width: 148px;
  padding: 6px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

/* line 5655, app/assets/stylesheets/application.scss */
.floating-ai-msg-more.hidden {
  display: none !important;
}

/* line 5659, app/assets/stylesheets/application.scss */
.floating-ai-msg-more::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transform: translateX(-50%) rotate(45deg);
}

/* line 5672, app/assets/stylesheets/application.scss */
.floating-ai-msg-more button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  color: #050505;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

/* line 5685, app/assets/stylesheets/application.scss */
.floating-ai-msg-more button:hover {
  background: #f0f2f5;
}

/* line 5689, app/assets/stylesheets/application.scss */
.floating-ai-msg-more button.hidden {
  display: none !important;
}

/* line 5693, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 14px;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  color: #111;
  flex: 0 0 auto;
  cursor: pointer;
}

/* line 5706, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner.hidden {
  display: none !important;
}

/* line 5710, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner > i {
  color: #6b7280;
  font-size: 12px;
}

/* line 5715, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner-copy {
  min-width: 0;
  flex: 1 1 auto;
}

/* line 5720, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner-copy strong,
.floating-ai-pin-banner-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 5728, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner-copy strong {
  font-size: 11px;
  font-weight: 700;
}

/* line 5733, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner-copy span {
  font-size: 12px;
  color: #6b7280;
}

/* line 5738, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner-clear {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}

/* line 5748, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot.is-pin-flash,
.floating-ai-msg-user.is-pin-flash {
  animation: floating-ai-pin-flash 1.1s ease;
}

@keyframes floating-ai-pin-flash {
  0%,
100% {
    box-shadow: none;
  }
  30%,
70% {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
  }
}

/* line 5764, app/assets/stylesheets/application.scss */
.floating-ai-toast {
  position: absolute;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 40;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
}

/* line 5780, app/assets/stylesheets/application.scss */
.floating-ai-toast.hidden {
  display: none !important;
}

/* line 5784, app/assets/stylesheets/application.scss */
.perk-activity-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 240;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 18, 22, 0.18);
  color: #111;
  text-align: left;
  cursor: pointer;
}

/* line 5803, app/assets/stylesheets/application.scss */
.perk-activity-toast.hidden {
  display: none !important;
}

/* line 5807, app/assets/stylesheets/application.scss */
.perk-activity-toast-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e5ea;
}

/* line 5816, app/assets/stylesheets/application.scss */
.perk-activity-toast-avatar img,
.perk-activity-toast-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

/* line 5829, app/assets/stylesheets/application.scss */
.perk-activity-toast-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 5836, app/assets/stylesheets/application.scss */
.perk-activity-toast-copy strong {
  font-size: 13px;
  font-weight: 700;
}

/* line 5841, app/assets/stylesheets/application.scss */
.perk-activity-toast-copy span {
  font-size: 13px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 5849, app/assets/stylesheets/application.scss */
.floating-ai-msg-avatar-slot {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

/* line 5856, app/assets/stylesheets/application.scss */
.floating-ai-msg-avatar {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
}

/* line 5865, app/assets/stylesheets/application.scss */
.floating-ai-msg-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

/* line 5878, app/assets/stylesheets/application.scss */
.floating-ai-msg {
  position: relative;
  max-width: min(90%, calc(100% - 38px));
  padding: 8px 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  -webkit-touch-callout: none;
}

/* line 5890, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-outgoing .floating-ai-msg {
  max-width: 90%;
}

/* line 5894, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot {
  background: #fff;
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* line 5900, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-bot {
  background: #e4e6eb;
  color: #050505;
  box-shadow: none;
}

/* Match iOS outgoing bubbles (systemGray5) — avoids a black frame around media. */
/* line 5907, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user {
  background: #e5e5ea;
  color: #050505;
}

/* line 5912, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user .floating-ai-msg-meta {
  color: rgba(0, 0, 0, 0.45);
}

/* line 5916, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user .floating-ai-msg-status {
  color: rgba(0, 0, 0, 0.45);
}

/* line 5920, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user .floating-ai-msg-status.is-seen {
  color: #2ecc71;
}

/* Human chat on desktop: allow mouse text selection/copy (actions stay in hover chrome). */
@media (hover: hover) and (pointer: fine) {
  /* line 5926, app/assets/stylesheets/application.scss */
  .floating-ai-panel.is-human-chat .floating-ai-msg {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
  }
  /* line 5932, app/assets/stylesheets/application.scss */
  .floating-ai-panel.is-human-chat .floating-ai-msg.is-sticker,
.floating-ai-panel.is-human-chat .floating-ai-msg.is-media,
.floating-ai-panel.is-human-chat .floating-ai-msg.is-voice {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
  }
}

/* AI chats mirror iOS: no assistant bubble, avatar + action row under replies. */
/* line 5942, app/assets/stylesheets/application.scss */
.floating-ai-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: min(92%, calc(100% - 38px));
  flex: 1 1 auto;
}

/* line 5951, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-bot {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 2px 0 4px 2px;
  max-width: 100%;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
}

/* line 5962, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-user {
  background: #f4f4f4;
  color: #111;
  border-radius: 22px;
  border-bottom-right-radius: 22px;
  padding: 10px 14px 18px;
}

/* line 5970, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-user .floating-ai-msg-meta {
  color: #6b7280;
}

/* line 5974, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-row.is-outgoing {
  padding-left: 48px;
}

/* line 5978, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding-top: 2px;
  color: #6b7280;
}

/* line 5987, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-action {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}

/* line 6003, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-action:hover,
.floating-ai-msg-ai-action.is-active {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}

/* line 6009, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-wrap {
  position: relative;
}

/* line 6013, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  min-width: 132px;
  padding: 6px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  z-index: 20;
}

/* line 6026, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 6030, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
}

/* line 6042, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

/* line 6046, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu button.is-danger {
  color: #b91c1c;
}

/* line 6050, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-actions-trailing {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  color: #9ca3af;
  white-space: nowrap;
  padding-right: 2px;
}

/* line 6062, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-status:empty {
  display: none;
}

/* line 6066, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote {
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
  max-width: 100%;
}

/* line 6076, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-quote {
  background: rgba(255, 255, 255, 0.14);
}

/* line 6080, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote::before {
  content: "";
  width: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
  flex: 0 0 auto;
}

/* line 6089, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy {
  min-width: 0;
}

/* line 6093, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy strong,
.floating-ai-msg-quote-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 6101, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy strong {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
}

/* line 6107, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy span {
  font-size: 11px;
  opacity: 0.75;
}

/* line 6112, app/assets/stylesheets/application.scss */
.floating-ai-msg-meta {
  position: absolute;
  right: 9px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  line-height: 1;
  opacity: 0.72;
  pointer-events: none;
}

/* line 6125, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-meta {
  color: rgba(255, 255, 255, 0.78);
}

/* line 6129, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot .floating-ai-msg-meta {
  color: #6b7280;
}

/* line 6133, app/assets/stylesheets/application.scss */
.floating-ai-msg-status {
  display: inline-flex;
  align-items: center;
  margin-left: 1px;
  font-size: 9px;
}

/* line 6140, app/assets/stylesheets/application.scss */
.floating-ai-msg-status.is-seen {
  color: #34d399;
  opacity: 1;
}

/* line 6145, app/assets/stylesheets/application.scss */
.floating-ai-msg-status .fa-check-double {
  letter-spacing: -2px;
}

/* line 6149, app/assets/stylesheets/application.scss */
.floating-ai-msg-reactions {
  position: absolute;
  left: 8px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-size: 11px;
  line-height: 1;
  z-index: 1;
}

/* line 6167, app/assets/stylesheets/application.scss */
.floating-ai-msg-reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* line 6173, app/assets/stylesheets/application.scss */
.floating-ai-msg-reaction-count {
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
}

/* line 6179, app/assets/stylesheets/application.scss */
.floating-ai-msg-reactions.hidden {
  display: none;
}

/* line 6183, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-reactions {
  left: auto;
  right: 8px;
}

/* line 6188, app/assets/stylesheets/application.scss */
.floating-ai-msg.has-reactions {
  margin-bottom: 18px;
}

/* line 6192, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-sticker,
.floating-ai-panel.is-human-chat .floating-ai-msg-bot.is-sticker,
.floating-ai-panel.is-human-chat .floating-ai-msg-user.is-sticker,
.floating-ai-panel.is-ai-peer .floating-ai-msg-user.is-sticker,
.floating-ai-panel.is-ai-peer .floating-ai-msg-bot.is-sticker {
  background: transparent;
  box-shadow: none;
  padding: 2px 4px 18px;
}

/* line 6202, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-media,
.floating-ai-panel.is-human-chat .floating-ai-msg-bot.is-media,
.floating-ai-panel.is-human-chat .floating-ai-msg-user.is-media,
.floating-ai-panel.is-ai-peer .floating-ai-msg-user.is-media {
  background: transparent;
  box-shadow: none;
  padding: 2px 0 18px;
}

/* line 6211, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-media .floating-ai-msg-media,
.floating-ai-msg.is-media .floating-ai-msg-video,
.floating-ai-msg.is-media .floating-ai-msg-peek {
  margin-bottom: 0;
}

/* line 6217, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-media .floating-ai-msg-meta,
.floating-ai-msg.is-media .floating-ai-msg-status {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* line 6223, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-media .floating-ai-msg-status.is-seen {
  color: #2ecc71;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* line 6228, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-sticker .floating-ai-msg-meta,
.floating-ai-msg-user.is-sticker .floating-ai-msg-meta {
  color: #6b7280;
  opacity: 0.85;
}

/* line 6234, app/assets/stylesheets/application.scss */
.floating-ai-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px 4px;
  background: transparent;
  flex: 0 0 auto;
  pointer-events: none;
}

/* line 6244, app/assets/stylesheets/application.scss */
.floating-ai-typing.hidden {
  display: none !important;
}

/* line 6248, app/assets/stylesheets/application.scss */
.floating-ai-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* line 6254, app/assets/stylesheets/application.scss */
.floating-ai-typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #8e8e93;
  opacity: 0.35;
  animation: floating-ai-typing-dot 0.55s ease-in-out infinite alternate;
}

/* line 6263, app/assets/stylesheets/application.scss */
.floating-ai-typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

/* line 6267, app/assets/stylesheets/application.scss */
.floating-ai-typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes floating-ai-typing-dot {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

/* line 6276, app/assets/stylesheets/application.scss */
.floating-ai-typing-text {
  min-width: 0;
  font-size: 11px;
  font-weight: 500;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 6286, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #eee;
  align-items: stretch;
  background: #fff;
  border-radius: 0 0 18px 18px;
  flex: 0 0 auto;
  position: relative;
  z-index: 8;
}

/* line 6300, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot .floating-ai-composer,
.floating-ai-panel-foot .floating-ai-reply-preview,
.floating-ai-panel-foot .floating-ai-mentions,
.floating-ai-panel-foot .floating-ai-recording-bar {
  position: relative;
  z-index: 5;
}

/* line 6308, app/assets/stylesheets/application.scss */
.floating-ai-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

/* line 6315, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f3f4f6;
}

/* line 6326, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview.hidden {
  display: none !important;
}

/* line 6330, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy {
  min-width: 0;
  flex: 1 1 auto;
  border-left: 3px solid #111;
  padding-left: 8px;
}

/* line 6337, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy strong,
.floating-ai-reply-preview-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 6345, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy strong {
  font-size: 11px;
  font-weight: 700;
  color: #111;
}

/* line 6351, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy span {
  margin-top: 1px;
  font-size: 12px;
  color: #6b7280;
}

/* line 6357, app/assets/stylesheets/application.scss */
.floating-ai-reply-clear {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}

/* line 6367, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* line 6377, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu.hidden {
  display: none !important;
}

/* line 6381, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.38);
  cursor: pointer;
}

/* line 6389, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-card {
  position: relative;
  z-index: 1;
  width: min(280px, 100%);
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* line 6399, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

/* line 6409, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-react-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

/* line 6417, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-time {
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* line 6425, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-reactions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* line 6436, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #374151;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

/* line 6451, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react svg {
  width: 18px;
  height: 18px;
}

/* line 6456, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react:hover {
  background: #f8fafc;
}

/* line 6460, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-btn {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

/* line 6471, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-btn:hover {
  background: #eef2ff;
}

/* line 6475, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 6481, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 10px 12px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 6497, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-actions button:hover {
  background: #f3f4f6;
}

/* line 6501, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-actions i {
  width: 16px;
  color: #6b7280;
}

/* line 6506, app/assets/stylesheets/application.scss */
.floating-ai-composer-tools {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-bottom: 2px;
}

/* line 6515, app/assets/stylesheets/application.scss */
.floating-ai-attach-trigger,
.floating-ai-sticker-trigger {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111;
}

/* line 6524, app/assets/stylesheets/application.scss */
.floating-ai-attach-trigger:hover,
.floating-ai-sticker-trigger:hover {
  background: #e5e7eb;
}

/* line 6529, app/assets/stylesheets/application.scss */
.floating-ai-sticker-trigger img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* line 6536, app/assets/stylesheets/application.scss */
.floating-ai-sticker-trigger.is-open {
  background: #e5e7eb;
}

/* line 6540, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 64px;
  padding: 4px 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

/* line 6553, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestions::-webkit-scrollbar {
  display: none;
}

/* line 6557, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestions.hidden {
  display: none !important;
}

/* line 6561, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestion {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

/* line 6572, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestion:hover {
  background: #f3f4f6;
}

/* line 6576, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestion img,
.floating-ai-sticker-suggestion span {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* line 6584, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestion span {
  font-size: 32px;
  line-height: 52px;
  text-align: center;
}

/* line 6590, app/assets/stylesheets/application.scss */
.floating-ai-input-shell {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 4px 6px 4px 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #f7f8fa;
  gap: 4px;
}

/* line 6604, app/assets/stylesheets/application.scss */
.floating-ai-input-shell:focus-within {
  border-color: #cfd4dc;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.04);
}

/* line 6610, app/assets/stylesheets/application.scss */
.floating-ai-composer-trailing {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

/* line 6617, app/assets/stylesheets/application.scss */
.floating-ai-input-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #69707a;
  cursor: pointer;
}

/* line 6631, app/assets/stylesheets/application.scss */
.floating-ai-input-action:hover {
  color: #111;
  background: rgba(17, 17, 17, 0.05);
}

/* line 6636, app/assets/stylesheets/application.scss */
.floating-ai-input-action.is-recording {
  color: #dc2626;
  animation: floating-ai-pulse 1.2s ease-in-out infinite;
}

/* line 6641, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 6655, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-btn:hover {
  background: #2a2a2a;
}

/* line 6659, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-icon {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 14px;
}

/* line 6667, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-icon i {
  display: block;
  width: 2.5px;
  border-radius: 99px;
  background: currentColor;
}

/* line 6674, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-icon i:nth-child(1) {
  height: 7px;
}

/* line 6675, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-icon i:nth-child(2) {
  height: 12px;
}

/* line 6676, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-icon i:nth-child(3) {
  height: 9px;
}

/* line 6677, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-icon i:nth-child(4) {
  height: 14px;
}

/* line 6679, app/assets/stylesheets/application.scss */
.floating-ai-send-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 6693, app/assets/stylesheets/application.scss */
.floating-ai-send-btn:hover {
  background: #2a2a2a;
}

/* Empty: mic + voice mode. Typing: send only. */
/* line 6698, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.has-text .floating-ai-mic-btn,
.floating-ai-panel-foot.has-text .floating-ai-voice-mode-btn {
  display: none;
}

/* line 6703, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.has-text .floating-ai-send-btn {
  display: inline-flex;
}

/* Human small chat: classic send button instead of voice live mode. */
/* line 6708, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer .floating-ai-voice-mode-btn {
  display: none !important;
}

/* line 6712, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer .floating-ai-send-btn {
  display: inline-flex;
}

/* line 6716, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer:not(.has-text) .floating-ai-send-btn.is-disabled,
.floating-ai-send-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* line 6723, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer.has-text .floating-ai-mic-btn {
  display: none;
}

/* line 6727, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-recording .floating-ai-input-shell,
.floating-ai-panel-foot.is-recording .floating-ai-composer-tools {
  display: none;
}

/* line 6732, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-recording .floating-ai-recording-bar {
  display: flex;
}

/* line 6736, app/assets/stylesheets/application.scss */
.floating-ai-recording-bar {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
}

/* line 6745, app/assets/stylesheets/application.scss */
.floating-ai-recording-bar.hidden {
  display: none !important;
}

/* line 6749, app/assets/stylesheets/application.scss */
.floating-ai-record-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 6763, app/assets/stylesheets/application.scss */
.floating-ai-record-cancel:hover {
  background: #fecaca;
}

/* line 6767, app/assets/stylesheets/application.scss */
.floating-ai-recording-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  background: #fff5f5;
  border: 1px solid #fecaca;
}

/* line 6780, app/assets/stylesheets/application.scss */
.floating-ai-recording-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f87171;
  flex: 0 0 auto;
  animation: floating-ai-record-blink 1s ease-in-out infinite;
}

/* line 6789, app/assets/stylesheets/application.scss */
.floating-ai-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
  height: 22px;
}

/* line 6798, app/assets/stylesheets/application.scss */
.floating-ai-waveform span {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: #111;
  transform-origin: center;
  animation: floating-ai-wave 1s ease-in-out infinite;
}

/* line 6808, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(1) {
  animation-delay: 0s;
}

/* line 6809, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(2) {
  animation-delay: 0.08s;
}

/* line 6810, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(3) {
  animation-delay: 0.16s;
}

/* line 6811, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(4) {
  animation-delay: 0.24s;
}

/* line 6812, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(5) {
  animation-delay: 0.12s;
}

/* line 6813, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(6) {
  animation-delay: 0.2s;
}

/* line 6814, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(7) {
  animation-delay: 0.04s;
}

/* line 6815, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(8) {
  animation-delay: 0.28s;
}

/* line 6816, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(9) {
  animation-delay: 0.1s;
}

/* line 6817, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(10) {
  animation-delay: 0.18s;
}

/* line 6819, app/assets/stylesheets/application.scss */
.floating-ai-record-timer {
  flex: 0 0 auto;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}

/* line 6829, app/assets/stylesheets/application.scss */
.floating-ai-send-btn.is-record-send {
  display: inline-flex;
  background: #f87171;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.45);
  animation: floating-ai-send-pulse 1.4s ease-out infinite;
}

/* line 6837, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-ai-dictation .floating-ai-send-btn.is-record-send {
  background: #f87171;
}

/* line 6841, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-transcribing .floating-ai-input-shell,
.floating-ai-panel-foot.is-transcribing .floating-ai-composer-tools,
.floating-ai-panel-foot.is-transcribing .floating-ai-recording-bar {
  display: none !important;
}

/* line 6847, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-transcribing .floating-ai-transcribing-bar {
  display: flex;
}

/* line 6851, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-transcribing {
  pointer-events: none;
}

/* line 6855, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-bar {
  display: none;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  background: #fff5f5;
  border: 1px solid #fecaca;
}

/* line 6868, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-bar.hidden {
  display: none !important;
}

/* line 6872, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fecaca;
  border-top-color: #f87171;
  flex: 0 0 auto;
  animation: floating-ai-spin 0.8s linear infinite;
}

/* line 6882, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 6890, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-copy strong {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

/* line 6896, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #fecaca;
  overflow: hidden;
}

/* line 6904, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: #f87171;
  animation: floating-ai-transcribe-progress 1.2s ease-in-out infinite;
}

@keyframes floating-ai-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floating-ai-transcribe-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes floating-ai-record-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes floating-ai-wave {
  0%, 100% {
    height: 5px;
    opacity: 0.55;
  }
  50% {
    height: 18px;
    opacity: 1;
  }
}

@keyframes floating-ai-send-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(248, 113, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
  }
}

/* line 6938, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 6952, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-recording {
  background: #fee2e2;
  color: #dc2626;
  animation: floating-ai-pulse 1.2s ease-in-out infinite;
}

/* line 6958, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

/* line 6963, app/assets/stylesheets/application.scss */
.floating-ai-attach-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 170px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  z-index: 6;
}

/* line 6976, app/assets/stylesheets/application.scss */
.floating-ai-attach-menu button {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 6990, app/assets/stylesheets/application.scss */
.floating-ai-attach-menu button:hover {
  background: #f3f4f6;
}

/* line 6994, app/assets/stylesheets/application.scss */
.floating-ai-human-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* line 7001, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-human-tools {
  display: none !important;
}

/* line 7005, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel {
  --picker-height: 360px;
  display: flex;
  flex-direction: column;
  height: var(--picker-height);
  max-height: min(72vh, 560px);
  padding: 0 10px 10px;
  border-top: 1px solid #eee;
  background: #fff;
  overflow: hidden;
  flex: 0 0 auto;
  /* Allow pan inside scroll regions; resize handle keeps touch-action: none. */
  touch-action: manipulation;
  transition: height 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* line 7021, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-resizing,
.floating-ai-emoji-panel.is-dismissing {
  transition: none;
}

/* line 7026, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-expanded .floating-ai-emoji-panel {
  max-height: min(78vh, 640px);
}

/* line 7030, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.hidden,
.floating-ai-picker-grid.hidden,
.floating-ai-sticker-pane.hidden {
  display: none;
}

/* line 7036, app/assets/stylesheets/application.scss */
.floating-ai-picker-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 36px;
  margin: 0 -10px 4px;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
}

/* line 7048, app/assets/stylesheets/application.scss */
.floating-ai-picker-handle::before {
  content: "";
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: #d1d5db;
}

/* line 7056, app/assets/stylesheets/application.scss */
.floating-ai-picker-handle:hover::before,
.floating-ai-emoji-panel.is-resizing .floating-ai-picker-handle::before {
  background: #9ca3af;
}

/* line 7061, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-resizing {
  user-select: none;
}

/* line 7065, app/assets/stylesheets/application.scss */
.floating-ai-picker-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 7px;
  padding: 2px;
  border-radius: 10px;
  background: #f1f2f4;
  flex: 0 0 auto;
}

/* line 7075, app/assets/stylesheets/application.scss */
.floating-ai-picker-tabs button {
  flex: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 6px 8px;
  color: #727883;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* line 7087, app/assets/stylesheets/application.scss */
.floating-ai-picker-tabs button.is-active {
  background: #fff;
  color: #17191d;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.1);
}

/* line 7093, app/assets/stylesheets/application.scss */
.floating-ai-picker-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* line 7105, app/assets/stylesheets/application.scss */
.floating-ai-emoji-item {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1.4;
  cursor: pointer;
  border-radius: 8px;
}

/* line 7114, app/assets/stylesheets/application.scss */
.floating-ai-emoji-item:hover {
  background: #f3f4f6;
}

/* line 7118, app/assets/stylesheets/application.scss */
.floating-ai-sticker-pane {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  flex: 1 1 auto;
  height: 100%;
  overflow: hidden;
}

/* line 7128, app/assets/stylesheets/application.scss */
.floating-ai-sticker-packs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  flex: 0 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}

/* line 7142, app/assets/stylesheets/application.scss */
.floating-ai-sticker-packs::-webkit-scrollbar {
  display: none;
}

/* line 7146, app/assets/stylesheets/application.scss */
.floating-ai-sticker-pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  scroll-snap-align: center;
}

/* line 7161, app/assets/stylesheets/application.scss */
.floating-ai-sticker-pack.is-active {
  background: #e8eefc;
  box-shadow: none;
  color: #17191d;
}

/* line 7167, app/assets/stylesheets/application.scss */
.floating-ai-sticker-pack-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* line 7173, app/assets/stylesheets/application.scss */
.floating-ai-sticker-scroll {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  touch-action: pan-y;
}

/* line 7185, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section {
  margin-bottom: 16px;
}

/* line 7189, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section:last-child {
  margin-bottom: 4px;
}

/* line 7193, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  padding: 0 2px 8px;
}

/* line 7200, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

/* line 7206, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 6px;
  border: 0;
  border-radius: 14px;
  background: #f6f7f9;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 120ms ease;
}

/* line 7221, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item img {
  width: 100%;
  max-width: 64px;
  height: 64px;
  object-fit: contain;
}

/* line 7228, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item:hover {
  background: #eceef2;
}

/* line 7232, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item:hover img,
.floating-ai-sticker-item:hover > span {
  transform: scale(1.04);
}

/* line 7237, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item:hover img.floating-ai-sticker-anim,
.floating-ai-sticker-item:hover > span.floating-ai-sticker-anim {
  /* Keep live motion; hover scale would fight the animation transform. */
  transform: none;
}

/* line 7243, app/assets/stylesheets/application.scss */
.floating-ai-sticker-empty {
  grid-column: 1 / -1;
  padding: 18px 8px;
  text-align: center;
  color: #8a919c;
  font-size: 12px;
}

/* line 7251, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-sticker .floating-ai-msg-text {
  font-size: 46px;
  line-height: 1.1;
}

/* line 7256, app/assets/stylesheets/application.scss */
.floating-ai-msg-sticker {
  display: block;
  width: 140px;
  max-width: 48vw;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
}

/* line 7265, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim {
  transform-origin: center center;
  will-change: transform, opacity;
}

/* Match iOS LiveEmojiStickerView: easeInOut + repeatForever(autoreverses). */
/* line 7271, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--laugh {
  animation: floating-ai-sticker-laugh 0.28s ease-in-out infinite alternate;
}

/* line 7275, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--bounce {
  animation: floating-ai-sticker-bounce 0.45s ease-in-out infinite alternate;
}

/* line 7279, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--shake {
  animation: floating-ai-sticker-shake 0.12s ease-in-out infinite alternate;
}

/* line 7283, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--pulse {
  animation: floating-ai-sticker-pulse 0.7s ease-in-out infinite alternate;
}

/* line 7287, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--spin {
  animation: floating-ai-sticker-spin 2.2s linear infinite;
}

@keyframes floating-ai-sticker-laugh {
  from {
    transform: rotate(-8deg) scale(0.96);
  }
  to {
    transform: rotate(8deg) scale(1.06);
  }
}

@keyframes floating-ai-sticker-bounce {
  from {
    transform: translateY(4px) scale(0.98);
  }
  to {
    transform: translateY(-6px) scale(1.05);
  }
}

@keyframes floating-ai-sticker-shake {
  from {
    transform: rotate(-10deg);
  }
  to {
    transform: rotate(10deg);
  }
}

@keyframes floating-ai-sticker-pulse {
  from {
    transform: scale(0.92);
    opacity: 0.88;
  }
  to {
    transform: scale(1.1);
    opacity: 1;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  /* line 7317, app/assets/stylesheets/application.scss */
  .floating-ai-sticker-anim--laugh,
.floating-ai-sticker-anim--bounce,
.floating-ai-sticker-anim--shake,
.floating-ai-sticker-anim--pulse,
.floating-ai-sticker-anim--spin {
    animation: none !important;
  }
}

/* line 7326, app/assets/stylesheets/application.scss */
.floating-ai-msg-media {
  display: block;
  max-width: 220px;
  max-height: 180px;
  border-radius: 10px;
  margin-bottom: 6px;
}

/* line 7334, app/assets/stylesheets/application.scss */
.floating-ai-msg-video {
  position: relative;
  display: inline-block;
  max-width: 220px;
  margin-bottom: 6px;
  line-height: 0;
}

/* line 7342, app/assets/stylesheets/application.scss */
.floating-ai-msg-video .floating-ai-msg-media {
  margin-bottom: 0;
  background: transparent;
  object-fit: cover;
}

/* line 7348, app/assets/stylesheets/application.scss */
.floating-ai-msg-video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #fff;
  font-size: 22px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* line 7360, app/assets/stylesheets/application.scss */
.floating-ai-msg-video-badge i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
}

/* line 7370, app/assets/stylesheets/application.scss */
.floating-ai-msg-peek {
  position: relative;
  display: inline-block;
  max-width: 220px;
  margin-bottom: 6px;
}

/* line 7377, app/assets/stylesheets/application.scss */
.floating-ai-msg-peek .floating-ai-msg-media {
  margin-bottom: 0;
  width: 220px;
  height: 220px;
  max-width: 220px;
  max-height: 220px;
  object-fit: cover;
}

/* line 7386, app/assets/stylesheets/application.scss */
.floating-ai-msg-peek-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: none;
}

/* line 7402, app/assets/stylesheets/application.scss */
.floating-ai-msg-peek-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 10px 8px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

/* line 7417, app/assets/stylesheets/application.scss */
.floating-ai-msg-audio {
  display: block;
  width: min(220px, 100%);
  margin-bottom: 4px;
}

/* line 7423, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-voice {
  min-width: 148px;
  padding-top: 10px;
  padding-bottom: 22px;
}

/* line 7429, app/assets/stylesheets/application.scss */
.floating-ai-voice {
  --voice-progress: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 168px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  text-align: left;
}

/* line 7447, app/assets/stylesheets/application.scss */
.floating-ai-voice:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* line 7453, app/assets/stylesheets/application.scss */
.floating-ai-voice > i {
  width: 16px;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  flex: 0 0 auto;
}

/* line 7461, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 72px;
  height: 22px;
  overflow: hidden;
}

/* line 7472, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% * var(--voice-progress, 0));
  background: currentColor;
  opacity: 0.18;
  border-radius: 999px;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* line 7484, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
  transform-origin: center;
}

/* line 7494, app/assets/stylesheets/application.scss */
.floating-ai-voice.is-playing .floating-ai-voice-wave i {
  opacity: 0.9;
  animation: floating-ai-voice-wave 0.9s ease-in-out infinite;
}

/* line 7499, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

/* line 7500, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(2) {
  height: 14px;
  animation-delay: 0.06s;
}

/* line 7501, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(3) {
  height: 10px;
  animation-delay: 0.12s;
}

/* line 7502, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(4) {
  height: 18px;
  animation-delay: 0.18s;
}

/* line 7503, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(5) {
  height: 12px;
  animation-delay: 0.08s;
}

/* line 7504, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(6) {
  height: 16px;
  animation-delay: 0.2s;
}

/* line 7505, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(7) {
  height: 9px;
  animation-delay: 0.04s;
}

/* line 7506, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(8) {
  height: 15px;
  animation-delay: 0.16s;
}

/* line 7507, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(9) {
  height: 11px;
  animation-delay: 0.1s;
}

/* line 7508, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(10) {
  height: 17px;
  animation-delay: 0.22s;
}

/* line 7509, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(11) {
  height: 8px;
  animation-delay: 0.14s;
}

/* line 7510, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(12) {
  height: 13px;
  animation-delay: 0.26s;
}

@keyframes floating-ai-voice-wave {
  0%,
100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1);
  }
}

/* line 7522, app/assets/stylesheets/application.scss */
.floating-ai-voice-duration {
  flex: 0 0 auto;
  min-width: 34px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: right;
}

/* line 7531, app/assets/stylesheets/application.scss */
.floating-ai-voice.is-playing .floating-ai-voice-duration {
  animation: floating-ai-voice-duration-pulse 1.2s ease-in-out infinite;
}

@keyframes floating-ai-voice-duration-pulse {
  0%,
100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

/* line 7545, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot .floating-ai-voice {
  color: #111;
}

/* line 7549, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-voice {
  color: #fff;
}

/* line 7553, app/assets/stylesheets/application.scss */
.floating-ai-msg-file {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

/* line 7559, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached {
  position: fixed;
  z-index: 91;
  display: flex;
  right: auto;
  bottom: auto;
  margin: 0;
}

/* line 7568, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-focused,
.floating-ai-call.is-focused {
  z-index: 10110;
}

/* line 7573, app/assets/stylesheets/application.scss */
.floating-ai-call {
  position: fixed;
  z-index: 10100;
  right: 18px;
  bottom: 22px;
  left: auto;
  top: auto;
  width: min(380px, calc(100vw - 16px));
  height: min(520px, calc(100vh - 24px));
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--perk-radius-lg);
  box-shadow: var(--perk-shadow-lg);
  background: radial-gradient(120% 80% at 50% 0%, rgba(56, 78, 120, 0.38) 0%, transparent 55%), linear-gradient(160deg, #0f1422 0%, #1a2033 48%, #121826 100%);
}

/* line 7594, app/assets/stylesheets/application.scss */
.floating-ai-call.hidden {
  display: none !important;
}

/* line 7598, app/assets/stylesheets/application.scss */
.floating-ai-call-drag {
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 36px;
  z-index: 4;
  cursor: grab;
  touch-action: none;
}

/* line 7609, app/assets/stylesheets/application.scss */
.floating-ai.is-dragging .floating-ai-call-drag,
.floating-ai-call.is-dragging .floating-ai-call-drag {
  cursor: grabbing;
}

/* line 7614, app/assets/stylesheets/application.scss */
.floating-ai-call-remote,
.floating-ai-call-local {
  display: none;
  background: #0a0d14;
}

/* Keep remote audio in the layout — `display:none` on the video element muted voice calls. */
/* line 7621, app/assets/stylesheets/application.scss */
.floating-ai-call-remote-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* line 7629, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video {
  width: min(720px, calc(100vw - 16px));
  height: min(405px, calc(100vh - 24px));
}

/* line 7634, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-remote {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

/* line 7645, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-local {
  display: block;
  position: absolute;
  right: 14px;
  top: 14px;
  left: auto;
  z-index: 5;
  width: 168px;
  height: 94px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  background: #111;
  cursor: grab;
  touch-action: none;
  user-select: none;
  /* Self-view only — outbound video stays unmirrored. */
  transform: scaleX(-1);
}

/* line 7667, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-local.is-dragging-pip {
  cursor: grabbing;
  right: auto;
}

/* line 7672, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 28%), linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 34%);
}

/* line 7683, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-stage {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* line 7689, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-person,
.floating-ai-call.is-video .floating-ai-call-actions,
.floating-ai-call.is-video .floating-ai-call-drag {
  pointer-events: auto;
}

/* line 7695, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-person {
  flex: 0 0 auto;
  justify-content: flex-start;
  margin-top: 8px;
  padding-bottom: 0;
}

/* line 7702, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-avatar-wrap {
  display: none;
}

/* line 7706, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-person strong {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* line 7710, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-type,
.floating-ai-call.is-video .floating-ai-call-status,
.floating-ai-call.is-video .floating-ai-call-timer {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* line 7716, app/assets/stylesheets/application.scss */
.floating-ai-call-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 28px 20px 28px;
}

/* line 7727, app/assets/stylesheets/application.scss */
.floating-ai-call-person {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 8px 12px 20px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

/* line 7741, app/assets/stylesheets/application.scss */
.floating-ai-call-avatar-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  margin-bottom: 14px;
}

/* line 7748, app/assets/stylesheets/application.scss */
.floating-ai-call-avatar,
.floating-ai-call-avatar-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* line 7758, app/assets/stylesheets/application.scss */
.floating-ai-call-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* line 7768, app/assets/stylesheets/application.scss */
.floating-ai-call-avatar.hidden,
.floating-ai-call-avatar-fallback.hidden {
  display: none !important;
}

/* line 7773, app/assets/stylesheets/application.scss */
.floating-ai-call-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  opacity: 0;
  pointer-events: none;
}

/* line 7782, app/assets/stylesheets/application.scss */
.floating-ai-call[data-mode="incoming"] .floating-ai-call-pulse,
.floating-ai-call[data-mode="outgoing"] .floating-ai-call-pulse {
  animation: floating-ai-call-pulse 2.2s ease-out infinite;
}

/* line 7787, app/assets/stylesheets/application.scss */
.floating-ai-call[data-mode="incoming"] .floating-ai-call-pulse.is-delay,
.floating-ai-call[data-mode="outgoing"] .floating-ai-call-pulse.is-delay {
  animation-delay: 1.1s;
}

@keyframes floating-ai-call-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.28);
    opacity: 0;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

/* line 7807, app/assets/stylesheets/application.scss */
.floating-ai-call-person strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 7818, app/assets/stylesheets/application.scss */
.floating-ai-call-type {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* line 7823, app/assets/stylesheets/application.scss */
.floating-ai-call-status {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* line 7829, app/assets/stylesheets/application.scss */
.floating-ai-call-status.hidden {
  display: none !important;
}

/* line 7833, app/assets/stylesheets/application.scss */
.floating-ai-call-timer {
  margin-top: 4px;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

/* line 7841, app/assets/stylesheets/application.scss */
.floating-ai-call-timer.hidden {
  display: none !important;
}

/* line 7845, app/assets/stylesheets/application.scss */
.floating-ai-call-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}

/* line 7854, app/assets/stylesheets/application.scss */
.floating-ai-call-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* line 7869, app/assets/stylesheets/application.scss */
.floating-ai-call-btn.hidden {
  display: none !important;
}

/* line 7873, app/assets/stylesheets/application.scss */
.floating-ai-call-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: background 0.18s ease, transform 0.15s ease, color 0.18s ease, box-shadow 0.18s ease;
}

/* line 7886, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}

/* line 7893, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph.is-phone {
  width: 26px;
  height: 26px;
  transform: rotate(0deg);
}

/* line 7899, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph.is-phone-down {
  width: 26px;
  height: 26px;
  transform: rotate(135deg);
}

/* line 7905, app/assets/stylesheets/application.scss */
.floating-ai-call-btn:hover .floating-ai-call-btn-icon {
  transform: scale(1.05);
}

/* line 7909, app/assets/stylesheets/application.scss */
.floating-ai-call-btn:active .floating-ai-call-btn-icon {
  transform: scale(0.96);
}

/* line 7913, app/assets/stylesheets/application.scss */
.floating-ai-call-btn-label {
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
}

/* line 7919, app/assets/stylesheets/application.scss */
.floating-ai-call-btn.is-soft .floating-ai-call-btn-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

/* line 7925, app/assets/stylesheets/application.scss */
.floating-ai-call-btn.is-soft.is-active .floating-ai-call-btn-icon {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2430;
}

/* line 7930, app/assets/stylesheets/application.scss */
.floating-ai-call-btn.is-soft.is-danger .floating-ai-call-btn-icon {
  background: rgba(255, 255, 255, 0.95);
  color: #dc2626;
}

/* line 7935, app/assets/stylesheets/application.scss */
.floating-ai-call-btn.is-accept .floating-ai-call-btn-icon {
  width: 68px;
  height: 68px;
  background: #30d158;
  color: #fff;
}

/* line 7942, app/assets/stylesheets/application.scss */
.floating-ai-call-btn.is-decline .floating-ai-call-btn-icon,
.floating-ai-call-btn.is-hangup .floating-ai-call-btn-icon {
  width: 68px;
  height: 68px;
  background: #ff3b30;
  color: #fff;
}

/* line 7950, app/assets/stylesheets/application.scss */
.floating-ai-call[data-mode="incoming"] .floating-ai-call-btn.is-accept .floating-ai-call-btn-icon {
  animation: floating-ai-call-accept-glow 1.6s ease-in-out infinite;
}

@keyframes floating-ai-call-accept-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(48, 209, 88, 0);
  }
}

/* line 7963, app/assets/stylesheets/application.scss */
.floating-ai-call-history {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  max-width: 88%;
  padding: 9px 12px;
  border: 1px solid #e4e7eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #333840;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}

/* line 7978, app/assets/stylesheets/application.scss */
.floating-ai-call-history-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef6ff;
  color: #1677ff;
}

/* line 7990, app/assets/stylesheets/application.scss */
.floating-ai-call-history.is-missed .floating-ai-call-history-icon,
.floating-ai-call-history.is-cancelled .floating-ai-call-history-icon,
.floating-ai-call-history.is-declined .floating-ai-call-history-icon {
  background: #fff0f0;
  color: #df3f3f;
}

/* line 7997, app/assets/stylesheets/application.scss */
.floating-ai-call-history strong,
.floating-ai-call-history small {
  display: block;
}

/* line 8002, app/assets/stylesheets/application.scss */
.floating-ai-call-history strong {
  font-size: 12px;
  line-height: 1.3;
}

/* line 8007, app/assets/stylesheets/application.scss */
.floating-ai-call-history small {
  margin-top: 2px;
  color: #8a9099;
  font-size: 10px;
}

/* line 8013, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-active {
  background: #fee2e2;
  color: #dc2626;
}

/* line 8018, app/assets/stylesheets/application.scss */
.floating-ai-pending {
  padding: 0 12px 8px;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

/* line 8024, app/assets/stylesheets/application.scss */
.floating-ai-pending-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px;
  border-radius: 12px;
  background: #f3f4f6;
}

/* line 8035, app/assets/stylesheets/application.scss */
.floating-ai-pending-chip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

/* line 8042, app/assets/stylesheets/application.scss */
.floating-ai-pending-file {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
}

/* line 8048, app/assets/stylesheets/application.scss */
.floating-ai-pending-clear {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

/* line 8063, app/assets/stylesheets/application.scss */
.floating-ai-msg-image {
  display: block;
  max-width: 100%;
  max-height: 160px;
  border-radius: 10px;
  margin-bottom: 6px;
  object-fit: cover;
}

/* line 8072, app/assets/stylesheets/application.scss */
.floating-ai-msg-file {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  opacity: 0.9;
}

/* line 8082, app/assets/stylesheets/application.scss */
.floating-ai-msg-text {
  white-space: normal;
}

/* line 8086, app/assets/stylesheets/application.scss */
.floating-ai-msg-text a {
  color: #0a84ff;
  text-decoration: underline;
  word-break: break-word;
}

/* line 8092, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 220px;
  max-width: 320px;
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

/* line 8109, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-thumb,
.floating-ai-msg-post-share-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex: 0 0 56px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.06);
}

/* line 8119, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a84ff;
  font-size: 18px;
}

/* line 8127, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 8134, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.62;
}

/* line 8141, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 8151, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-cta {
  font-size: 12px;
  font-weight: 600;
  color: #0a84ff;
}

/* line 8157, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-post-share-cta {
  color: #0a84ff;
}

/* line 8161, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 220px;
  max-width: 320px;
  padding: 6px 0 2px;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

/* line 8178, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-thumb,
.floating-ai-msg-link-preview-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex: 0 0 56px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.06);
}

/* line 8188, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a84ff;
  font-size: 18px;
}

/* line 8196, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 8203, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.62;
}

/* line 8210, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 8220, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-cta {
  font-size: 12px;
  font-weight: 600;
  color: #0a84ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 8230, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-loading .is-skeleton {
  display: block;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
  min-height: 10px;
}

/* line 8237, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-loading .floating-ai-msg-link-preview-thumb.is-skeleton {
  min-height: 56px;
  border-radius: 10px;
}

/* line 8242, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-loading .floating-ai-msg-link-preview-source.is-skeleton {
  width: 72px;
  height: 10px;
}

/* line 8247, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-loading .floating-ai-msg-link-preview-title.is-skeleton {
  width: 100%;
  height: 12px;
}

/* line 8252, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-loading .floating-ai-msg-link-preview-cta.is-skeleton {
  width: 96px;
  height: 10px;
}

/* line 8257, app/assets/stylesheets/application.scss */
.atlas-msg-p,
.atlas-msg-header,
.atlas-msg-numbered,
.atlas-msg-bullet {
  margin: 0 0 10px;
}

/* line 8264, app/assets/stylesheets/application.scss */
.atlas-msg-p:last-child,
.atlas-msg-header:last-child,
.atlas-msg-numbered:last-child,
.atlas-msg-bullet:last-child {
  margin-bottom: 0;
}

/* line 8271, app/assets/stylesheets/application.scss */
.atlas-msg-header {
  font-weight: 600;
  margin-top: 6px;
}

/* line 8276, app/assets/stylesheets/application.scss */
.atlas-msg-divider {
  height: 8px;
  margin: 2px 0;
}

/* line 8281, app/assets/stylesheets/application.scss */
.atlas-msg-numbered {
  padding: 2px 0;
}

/* line 8285, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-title {
  font-weight: 600;
}

/* line 8289, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-body {
  margin-top: 6px;
  opacity: 0.92;
}

/* line 8294, app/assets/stylesheets/application.scss */
.atlas-msg-bullet {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* line 8300, app/assets/stylesheets/application.scss */
.atlas-msg-bullet-mark {
  opacity: 0.55;
  line-height: 1.45;
  flex: 0 0 auto;
  padding-top: 1px;
}

/* line 8307, app/assets/stylesheets/application.scss */
.atlas-msg-followups {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

/* line 8315, app/assets/stylesheets/application.scss */
.atlas-msg-followup {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 8330, app/assets/stylesheets/application.scss */
.atlas-msg-followup:hover .atlas-msg-followup-label,
.atlas-msg-followup:focus-visible .atlas-msg-followup-label {
  opacity: 0.78;
}

/* line 8335, app/assets/stylesheets/application.scss */
.atlas-msg-followup-mark {
  opacity: 0.55;
  flex: 0 0 auto;
}

/* line 8340, app/assets/stylesheets/application.scss */
.atlas-msg-followup-label {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
  text-underline-offset: 3px;
  line-height: 1.45;
}

/* line 8348, app/assets/stylesheets/application.scss */
.atlas-msg-math {
  font-style: italic;
  white-space: nowrap;
}

/* line 8353, app/assets/stylesheets/application.scss */
.atlas-msg-math-block {
  display: block;
  text-align: center;
  font-style: italic;
  padding: 6px 4px;
  margin: 2px 0 6px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* line 8363, app/assets/stylesheets/application.scss */
.atlas-msg-table-wrap {
  overflow-x: auto;
  margin: 4px 0 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

/* line 8370, app/assets/stylesheets/application.scss */
.atlas-msg-table {
  border-collapse: collapse;
  width: 100%;
  font-size: inherit;
}

/* line 8376, app/assets/stylesheets/application.scss */
.atlas-msg-table th,
.atlas-msg-table td {
  text-align: left;
  padding: 8px 10px;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}

/* line 8385, app/assets/stylesheets/application.scss */
.atlas-msg-table th {
  font-weight: 600;
  background: rgba(15, 23, 42, 0.04);
}

/* line 8390, app/assets/stylesheets/application.scss */
.atlas-msg-table tr:last-child td {
  border-bottom: 0;
}

/* line 8394, app/assets/stylesheets/application.scss */
.atlas-msg-table-caption {
  font-size: 0.92em;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* line 8400, app/assets/stylesheets/application.scss */
.atlas-msg-code {
  margin: 4px 0 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
}

/* line 8407, app/assets/stylesheets/application.scss */
.atlas-msg-code-head {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 8px;
}

/* line 8414, app/assets/stylesheets/application.scss */
.atlas-msg-code pre {
  margin: 0;
  overflow-x: auto;
}

/* line 8419, app/assets/stylesheets/application.scss */
.atlas-msg-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  white-space: pre;
}

/* line 8425, app/assets/stylesheets/application.scss */
.atlas-msg-callout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 10px;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  border-left: 3px solid rgba(15, 23, 42, 0.25);
  background: rgba(15, 23, 42, 0.04);
}

/* line 8436, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

/* line 8441, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-tip {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

/* line 8446, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-takeaway {
  border-left-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

/* line 8451, app/assets/stylesheets/application.scss */
.atlas-msg-callout-title {
  font-weight: 600;
}

/* line 8455, app/assets/stylesheets/application.scss */
.floating-ai-msg-text strong,
.hub-ask-chat-msg strong,
.ai-tutor-msg-text strong,
.ai-drive-chat-msg strong {
  font-weight: 600;
}

/* line 8462, app/assets/stylesheets/application.scss */
.floating-ai-bubble.is-capturing {
  opacity: 0;
  pointer-events: none;
}

@keyframes floating-ai-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* line 8472, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot input {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 8px 4px;
  outline: none;
  min-width: 0;
  font-size: 15px;
  color: #111;
}

@keyframes floating-ai-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes floating-ai-unpin {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.12) translateY(-6px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes floating-ai-wiggle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(-4deg);
  }
  75% {
    transform: translateY(-4px) rotate(4deg);
  }
}

@media (max-width: 640px) {
  /* line 8503, app/assets/stylesheets/application.scss */
  .browser-hub {
    padding-top: 72px;
  }
  /* line 8507, app/assets/stylesheets/application.scss */
  .perk-workspace-center .browser-hub {
    padding-top: 0;
  }
  /* line 8511, app/assets/stylesheets/application.scss */
  .perk-browser-chrome {
    top: 72px;
    height: 44px;
    margin: 0 -16px;
  }
  /* line 8517, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-chrome {
    top: 0;
  }
  /* line 8521, app/assets/stylesheets/application.scss */
  .perk-browser-toolbar {
    top: 116px;
  }
  /* line 8525, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-toolbar {
    top: 44px;
  }
  /* line 8529, app/assets/stylesheets/application.scss */
  .perk-workspace-center {
    --hub-tabbar-h: 44px;
  }
  /* line 8533, app/assets/stylesheets/application.scss */
  .hub-view-tab {
    flex: 1 1 0;
    max-width: none;
    min-width: 96px;
    height: 36px;
    padding: 0 6px 2px 10px;
    font-size: var(--text-footnote);
    line-height: 1.2;
  }
  /* line 8543, app/assets/stylesheets/application.scss */
  .hub-view-tab.is-active {
    height: 40px;
  }
  /* line 8547, app/assets/stylesheets/application.scss */
  .hub-peek-tile {
    width: 156px;
  }
  /* line 8551, app/assets/stylesheets/application.scss */
  .hub-peek-tile-frame {
    width: 156px;
    height: 156px;
    border-radius: 44px;
    font-size: 40px;
  }
  /* line 8558, app/assets/stylesheets/application.scss */
  .hub-apps,
.hub-shortcuts-grid,
.hub-more-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 8564, app/assets/stylesheets/application.scss */
  .hub-shopping-head h2 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 8570, app/assets/stylesheets/application.scss */
  .floating-ai-bubble {
    animation: none;
  }
}

/* ===== Perk desktop workspace ===== */
/* line 8576, app/assets/stylesheets/application.scss */
.hub-home {
  min-height: 100vh;
  background: #eef0f3;
  color: #17191d;
}

/* line 8582, app/assets/stylesheets/application.scss */
.hub-home #main-header {
  height: var(--perk-bar-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(18px);
}

/* line 8590, app/assets/stylesheets/application.scss */
.perk-workspace {
  --feed-content-width: 560px;
  --feed-column-gap: 20px;
  --feed-dual-width: min(1140px, calc(100% - 48px));
  display: grid;
  /* Exclusive modes: main pane (feed OR apps) + chats. No side-by-side. */
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  height: 100vh;
  padding-top: var(--perk-bar-h);
  overflow: hidden;
  background: var(--perk-canvas-wash);
  color: var(--perk-ink);
}

/* Feed mode: apps pane hidden; posts use the full main column. */
/* line 8605, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-workspace-center {
  display: none;
}

/* line 8609, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed {
  background: #fff;
}

/* line 8613, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-sidebar-heading,
.perk-workspace.is-center-closed .perk-feed-filters {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
}

/* line 8619, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, var(--feed-dual-width));
  max-width: var(--feed-dual-width);
  margin: 0 auto;
  padding: 20px 24px 88px;
  box-sizing: border-box;
}

/* Two posts per row; friend/trending bands stay full-width siblings above/below. */
/* line 8631, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px var(--feed-column-gap);
  align-items: stretch;
  width: 100%;
}

/* line 8639, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-trending,
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-suggestions,
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-load-more,
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-post-empty,
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-post,
.perk-workspace.is-center-closed .perk-feed-pair > .perk-feed-post {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  background: var(--perk-surface);
  box-shadow: var(--perk-shadow-sm);
  overflow: hidden;
}

/* line 8655, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-post,
.perk-workspace.is-center-closed .perk-feed-pair > .perk-feed-post {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  height: 100%;
  min-height: min-content;
  border-bottom: 1px solid var(--perk-line);
}

/* line 8665, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-pair > .perk-feed-post .perk-feed-post-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  grid-column: 2;
  align-self: stretch;
}

/* line 8673, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-pair > .perk-feed-post .perk-feed-actions {
  margin-top: auto;
}

/* line 8677, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-trending,
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-suggestions {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--perk-line);
}

/* line 8683, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-load-more {
  margin: 0;
}

/* Friend suggestions stay in one horizontal row, capped to the two-column width. */
/* line 8688, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-suggestions-head {
  width: 100%;
  box-sizing: border-box;
}

/* line 8693, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-fab {
  right: 16px;
}

/* Apps mode: feed hidden; apps fill the main column; chat stays. */
/* line 8698, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed {
  display: none;
}

/* Person profile is rendered inside the feed sidebar. Keep that overlay
   visible while Peek gallery (apps mode) has the feed itself hidden. */
/* line 8704, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed:has(.perk-user-detail-overlay:not(.hidden)) {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 1450;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  pointer-events: none;
  background: transparent !important;
  border: 0;
  overflow: visible;
}

/* line 8719, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed:has(.perk-user-detail-overlay:not(.hidden)) > *:not(.perk-user-detail-overlay) {
  display: none !important;
}

/* line 8723, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-user-detail-overlay:not(.hidden) {
  pointer-events: auto;
}

/* line 8727, app/assets/stylesheets/application.scss */
.perk-feed-heading-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* line 8733, app/assets/stylesheets/application.scss */
.perk-open-apps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  border: 1px solid var(--perk-ink);
  border-radius: var(--perk-radius-pill);
  padding: 0 14px;
  background: var(--perk-ink);
  color: #fff;
  font-size: var(--text-footnote);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease, transform 150ms ease;
}

/* line 8751, app/assets/stylesheets/application.scss */
.perk-open-apps-btn:hover {
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 8756, app/assets/stylesheets/application.scss */
.perk-open-apps-btn[hidden],
.perk-open-feed-btn[hidden] {
  display: none !important;
}

/* line 8761, app/assets/stylesheets/application.scss */
.perk-open-feed-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  align-self: center;
  height: 34px;
  margin: 0 8px 4px 2px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--perk-radius-pill);
  background: var(--perk-ink);
  color: #fff;
  font-size: var(--text-footnote);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease, transform 150ms ease;
}

/* line 8782, app/assets/stylesheets/application.scss */
.perk-open-feed-btn:hover {
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* Show reopen control as soon as the early-paint class is applied. */
/* line 8788, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-open-feed-btn[hidden] {
  display: inline-flex !important;
}

/* line 8792, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-open-apps-btn[hidden] {
  display: inline-flex !important;
}

/* line 8796, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar {
  min-width: 0;
  background: var(--perk-surface);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8dce2 transparent;
}

/* line 8804, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-feed {
  overflow: hidden;
}

/* line 8808, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-chats {
  overflow: hidden;
}

/* line 8812, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-chats.is-settings-open {
  overflow: visible;
  z-index: 6;
}

/* line 8817, app/assets/stylesheets/application.scss */
.perk-feed {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-right: 0;
  background: var(--perk-surface);
}

/* line 8827, app/assets/stylesheets/application.scss */
.perk-feed-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

/* line 8832, app/assets/stylesheets/application.scss */
.perk-feed-load-more {
  padding: 22px 18px 28px;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* line 8840, app/assets/stylesheets/application.scss */
.perk-feed-load-more[hidden] {
  display: none !important;
}

/* line 8844, app/assets/stylesheets/application.scss */
.perk-feed-fab {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border: 1px solid var(--perk-line);
  border-radius: 50%;
  background: var(--perk-ink);
  color: #fff;
  font-size: 22px;
  box-shadow: var(--perk-shadow-md);
  cursor: pointer;
  z-index: 45;
  transition: background 150ms ease, transform 150ms ease;
}

/* line 8861, app/assets/stylesheets/application.scss */
.perk-feed-fab:hover {
  transform: translateY(-1px);
  background: var(--perk-ink-soft);
  color: #fff;
}

/* line 8867, app/assets/stylesheets/application.scss */
.perk-create-post-modal,
.perk-feed-settings-overlay,
.perk-feed-comments-overlay,
.perk-feed-keyword-overlay,
.perk-user-detail-overlay,
.perk-feed-privacy-overlay,
.perk-feed-share-overlay,
.perk-feed-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 18, 22, 0.45);
}

/* line 8885, app/assets/stylesheets/application.scss */
.perk-user-detail-overlay {
  z-index: 1500;
}

/* line 8889, app/assets/stylesheets/application.scss */
.perk-create-post-modal.flex,
.perk-feed-settings-overlay:not(.hidden),
.perk-feed-comments-overlay:not(.hidden),
.perk-feed-keyword-overlay:not(.hidden),
.perk-user-detail-overlay:not(.hidden),
.perk-feed-privacy-overlay:not(.hidden),
.perk-feed-share-overlay:not(.hidden),
.perk-feed-menu-overlay:not(.hidden) {
  display: flex;
}

/* line 8900, app/assets/stylesheets/application.scss */
.perk-create-post-sheet,
.perk-feed-settings-sheet,
.perk-feed-comments-sheet,
.perk-feed-keyword-sheet,
.perk-user-detail-sheet,
.perk-feed-privacy-sheet,
.perk-feed-share-sheet {
  width: 100%;
  max-width: 460px;
  max-height: min(88vh, 760px);
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  box-shadow: var(--perk-shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* line 8919, app/assets/stylesheets/application.scss */
.perk-create-post-head,
.perk-feed-settings-head,
.perk-feed-comments-head,
.perk-feed-keyword-head,
.perk-user-detail-head,
.perk-feed-privacy-head,
.perk-feed-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--perk-line);
  flex: 0 0 auto;
}

/* line 8935, app/assets/stylesheets/application.scss */
.perk-create-post-head h3,
.perk-feed-settings-head h2,
.perk-feed-comments-head h3,
.perk-feed-keyword-head h3,
.perk-user-detail-head h3,
.perk-feed-privacy-head h3,
.perk-feed-share-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

/* line 8947, app/assets/stylesheets/application.scss */
.perk-create-post-cancel-link,
.perk-create-post-submit {
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

/* line 8956, app/assets/stylesheets/application.scss */
.perk-create-post-cancel-link {
  color: #555;
}

/* line 8960, app/assets/stylesheets/application.scss */
.perk-create-post-submit {
  color: #111;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f2f7;
}

/* line 8967, app/assets/stylesheets/application.scss */
.perk-create-post-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 8972, app/assets/stylesheets/application.scss */
.perk-create-post-form,
.perk-feed-settings-body {
  padding: 16px;
  overflow-y: auto;
}

/* line 8978, app/assets/stylesheets/application.scss */
.perk-create-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* line 8985, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 8992, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta strong {
  font-size: 14px;
  font-weight: 600;
}

/* line 8997, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #8e8e93;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  max-width: 100%;
}

/* line 9012, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn i {
  font-size: 10px;
}

/* line 9016, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 9022, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn.is-selected {
  color: #111;
  font-weight: 600;
}

/* line 9027, app/assets/stylesheets/application.scss */
.perk-create-post-avatar,
.perk-create-post-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 9035, app/assets/stylesheets/application.scss */
.perk-create-post-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 9041, app/assets/stylesheets/application.scss */
.perk-create-post-form textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
  min-height: 120px;
  font: inherit;
  outline: none;
  background: #f2f2f7;
}

/* line 9053, app/assets/stylesheets/application.scss */
.perk-create-post-previews {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
}

/* line 9061, app/assets/stylesheets/application.scss */
.perk-create-post-preview {
  position: relative;
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
}

/* line 9068, app/assets/stylesheets/application.scss */
.perk-create-post-previews img,
.perk-create-post-previews video {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #111;
}

/* line 9078, app/assets/stylesheets/application.scss */
.perk-create-post-preview-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* line 9090, app/assets/stylesheets/application.scss */
.perk-create-post-preview-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* line 9109, app/assets/stylesheets/application.scss */
.perk-create-post-media-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* line 9125, app/assets/stylesheets/application.scss */
.perk-create-post-privacy {
  margin-top: 16px;
}

/* line 9129, app/assets/stylesheets/application.scss */
.perk-create-post-privacy > label {
  display: block;
  margin-bottom: 8px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 9136, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: #f2f2f7;
}

/* line 9145, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 8px;
  padding: 8px 6px;
  background: transparent;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* line 9160, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-options button i {
  font-size: 11px;
}

/* line 9164, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-options button.active {
  background: #fff;
  color: #111;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* line 9170, app/assets/stylesheets/application.scss */
.perk-create-post-status {
  margin: 10px 0 0;
  color: #b91c1c;
  font-size: 13px;
}

/* line 9176, app/assets/stylesheets/application.scss */
.perk-create-post-target-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 12px;
}

/* line 9187, app/assets/stylesheets/application.scss */
.perk-create-post-target-overlay.hidden {
  display: none;
}

/* line 9191, app/assets/stylesheets/application.scss */
.perk-create-post-target-sheet {
  width: min(480px, 100%);
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 14px 14px;
  background: #fff;
  overflow: hidden;
}

/* line 9201, app/assets/stylesheets/application.scss */
.perk-create-post-target-handle {
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.28);
  margin: 10px auto 12px;
}

/* line 9209, app/assets/stylesheets/application.scss */
.perk-create-post-target-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f2f2f7;
}

/* line 9219, app/assets/stylesheets/application.scss */
.perk-create-post-target-search i:first-child {
  color: #8e8e93;
}

/* line 9223, app/assets/stylesheets/application.scss */
.perk-create-post-target-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 15px;
  min-width: 0;
}

/* line 9233, app/assets/stylesheets/application.scss */
.perk-create-post-target-clear {
  border: 0;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* line 9242, app/assets/stylesheets/application.scss */
.perk-create-post-target-results {
  flex: 1;
  overflow-y: auto;
  min-height: 180px;
}

/* line 9248, app/assets/stylesheets/application.scss */
.perk-create-post-target-empty {
  margin: 40px 16px;
  text-align: center;
  color: #8e8e93;
  font-size: 13px;
}

/* line 9255, app/assets/stylesheets/application.scss */
.perk-create-post-target-section {
  padding: 16px 16px 6px;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
}

/* line 9262, app/assets/stylesheets/application.scss */
.perk-create-post-target-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #f2f2f7;
  padding: 12px 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 9276, app/assets/stylesheets/application.scss */
.perk-create-post-target-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f2f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  flex: 0 0 auto;
}

/* line 9288, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

/* line 9296, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy strong {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 9304, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy small {
  color: #8e8e93;
  font-size: 12px;
}

/* line 9309, app/assets/stylesheets/application.scss */
.perk-create-post-target-chevron {
  color: #c7c7cc;
  font-size: 11px;
}

/* line 9314, app/assets/stylesheets/application.scss */
.perk-create-post-target-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid #f2f2f7;
}

/* line 9319, app/assets/stylesheets/application.scss */
.perk-create-post-target-clear-selection {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: #f2f2f7;
  color: #111;
  font-weight: 600;
  cursor: pointer;
}

/* line 9330, app/assets/stylesheets/application.scss */
.perk-feed-settings-body section {
  margin-bottom: 22px;
}

/* line 9334, app/assets/stylesheets/application.scss */
.perk-feed-settings-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

/* line 9340, app/assets/stylesheets/application.scss */
.perk-feed-settings-body p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 12px;
  line-height: 1.45;
}

/* line 9347, app/assets/stylesheets/application.scss */
.perk-feed-pref-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 9353, app/assets/stylesheets/application.scss */
.perk-feed-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: #f8f8fa;
  color: #111;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

/* line 9369, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected {
  background: #ececf1;
}

/* line 9373, app/assets/stylesheets/application.scss */
.perk-feed-pref-row i:last-child {
  color: #8e8e93;
}

/* line 9377, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected i:last-child {
  color: #111;
}

/* line 9381, app/assets/stylesheets/application.scss */
.perk-feed-settings-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 16px 16px;
  border-top: 1px solid #eee;
}

/* line 9390, app/assets/stylesheets/application.scss */
.perk-feed-settings-toast {
  margin: 0;
  color: #34c759;
  font-size: 13px;
  font-weight: 700;
}

/* line 9397, app/assets/stylesheets/application.scss */
.perk-feed-settings-save {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* line 9407, app/assets/stylesheets/application.scss */
.perk-feed-settings-head button,
.perk-feed-comments-head button,
.perk-feed-keyword-head button,
.perk-user-detail-head button {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #111;
  cursor: pointer;
}

/* line 9419, app/assets/stylesheets/application.scss */
.perk-user-detail-sheet {
  max-width: 520px;
  position: relative;
}

/* line 9424, app/assets/stylesheets/application.scss */
.perk-user-detail-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

/* line 9433, app/assets/stylesheets/application.scss */
.perk-user-detail-loading {
  padding: 14px 18px 0;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
}

/* line 9440, app/assets/stylesheets/application.scss */
.perk-user-detail-error {
  margin: 14px 18px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1f0;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.4;
}

/* line 9450, app/assets/stylesheets/application.scss */
.perk-user-detail-content {
  display: flex;
  flex-direction: column;
}

/* line 9455, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-wrap {
  flex: 0 0 auto;
  background: #f2f2f7;
}

/* line 9460, app/assets/stylesheets/application.scss */
.perk-user-detail-hero {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 420px;
  object-fit: cover;
  background: #f2f2f7;
}

/* line 9469, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

/* line 9476, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty .perk-avatar-fallback {
  width: 88px;
  height: 88px;
  font-size: 32px;
}

/* line 9482, app/assets/stylesheets/application.scss */
.perk-user-detail-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 18px 8px;
}

/* line 9489, app/assets/stylesheets/application.scss */
.perk-user-detail-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
  line-height: 1.2;
}

/* line 9498, app/assets/stylesheets/application.scss */
.perk-user-detail-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 9504, app/assets/stylesheets/application.scss */
.perk-user-detail-section h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

/* line 9511, app/assets/stylesheets/application.scss */
.perk-user-detail-about {
  border-radius: 14px;
  background: #f2f2f7;
  overflow: hidden;
}

/* line 9517, app/assets/stylesheets/application.scss */
.perk-user-detail-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* line 9526, app/assets/stylesheets/application.scss */
.perk-user-detail-row:last-child {
  border-bottom: 0;
}

/* line 9530, app/assets/stylesheets/application.scss */
.perk-user-detail-row > span {
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* line 9537, app/assets/stylesheets/application.scss */
.perk-user-detail-row > strong {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

/* line 9545, app/assets/stylesheets/application.scss */
.perk-user-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 9551, app/assets/stylesheets/application.scss */
.perk-user-detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f2f2f7;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* line 9563, app/assets/stylesheets/application.scss */
.perk-user-detail-prompts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 9569, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt {
  border-radius: 14px;
  background: #f2f2f7;
  padding: 14px;
}

/* line 9575, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt > span {
  display: block;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* line 9584, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt > p {
  margin: 8px 0 0;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

/* line 9593, app/assets/stylesheets/application.scss */
.perk-user-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* line 9599, app/assets/stylesheets/application.scss */
.perk-user-detail-photo,
.perk-user-detail-more-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: #f2f2f7;
}

/* line 9609, app/assets/stylesheets/application.scss */
.perk-user-detail-empty {
  margin: 0;
  color: #8e8e93;
  font-size: 14px;
  line-height: 1.45;
}

/* line 9616, app/assets/stylesheets/application.scss */
.perk-user-detail-foot {
  flex: 0 0 auto;
  padding: 12px 16px 16px;
  border-top: 1px solid #eee;
  background: #fff;
}

/* line 9623, app/assets/stylesheets/application.scss */
.perk-user-detail-invite {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* line 9637, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:hover:not(:disabled) {
  opacity: 0.92;
}

/* line 9641, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* line 9646, app/assets/stylesheets/application.scss */
.perk-user-detail-toast {
  position: absolute;
  left: 50%;
  bottom: 78px;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* line 9666, app/assets/stylesheets/application.scss */
.perk-user-detail-toast[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  /* line 9671, app/assets/stylesheets/application.scss */
  .perk-user-detail-overlay {
    align-items: flex-end;
    padding: 0;
  }
  /* line 9676, app/assets/stylesheets/application.scss */
  .perk-user-detail-sheet {
    max-width: none;
    max-height: min(92vh, 860px);
    border-radius: 18px 18px 0 0;
  }
  /* line 9682, app/assets/stylesheets/application.scss */
  .perk-user-detail-hero {
    max-height: 360px;
  }
  /* line 9686, app/assets/stylesheets/application.scss */
  .perk-user-detail-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }
  /* line 9691, app/assets/stylesheets/application.scss */
  .perk-user-detail-name {
    font-size: 20px;
  }
}

/* line 9696, app/assets/stylesheets/application.scss */
.perk-feed-comments-overlay {
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 18, 22, 0.45);
}

/* line 9703, app/assets/stylesheets/application.scss */
.perk-feed-comments-sheet {
  width: 100%;
  max-width: 560px;
  max-height: min(92vh, 900px);
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  box-shadow: var(--perk-shadow-lg);
  background: var(--perk-surface);
}

/* line 9713, app/assets/stylesheets/application.scss */
.perk-feed-comments-head {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--perk-line);
}

/* line 9722, app/assets/stylesheets/application.scss */
.perk-feed-comments-handle {
  display: none;
}

/* line 9726, app/assets/stylesheets/application.scss */
.perk-feed-comments-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--perk-ink);
}

/* line 9732, app/assets/stylesheets/application.scss */
.perk-feed-comments-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* line 9740, app/assets/stylesheets/application.scss */
.perk-feed-comments-post {
  border-bottom: 1px solid var(--perk-line-soft);
}

/* line 9744, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post {
  border-bottom: 0;
  background: transparent;
}

/* line 9749, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post.is-detail {
  padding-bottom: 12px;
}

/* line 9753, app/assets/stylesheets/application.scss */
.perk-feed-comments-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 4px;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* line 9765, app/assets/stylesheets/application.scss */
.perk-feed-comments-list,
.perk-feed-keyword-list {
  flex: 1 1 auto;
  min-height: 180px;
  overflow-y: visible;
  padding: 12px 16px;
}

/* line 9773, app/assets/stylesheets/application.scss */
.perk-feed-comments-list {
  min-height: 160px;
  padding: 8px 16px 16px;
}

/* line 9778, app/assets/stylesheets/application.scss */
.perk-feed-comments-empty {
  margin: 24px 0;
  color: #8e8e93;
  text-align: center;
  font-size: 15px;
}

/* line 9785, app/assets/stylesheets/application.scss */
.perk-feed-comment-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

/* line 9792, app/assets/stylesheets/application.scss */
.perk-feed-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* line 9798, app/assets/stylesheets/application.scss */
.perk-feed-comment.is-reply {
  padding-left: 24px;
}

/* line 9802, app/assets/stylesheets/application.scss */
.perk-feed-comment-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e5ea;
  cursor: pointer;
}

/* line 9814, app/assets/stylesheets/application.scss */
.perk-feed-comment-avatar:disabled {
  cursor: default;
}

/* line 9818, app/assets/stylesheets/application.scss */
.perk-feed-comment-avatar img,
.perk-feed-comment-avatar .perk-avatar-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 9826, app/assets/stylesheets/application.scss */
.perk-feed-comment-avatar .perk-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #e5e5ea;
}

/* line 9836, app/assets/stylesheets/application.scss */
.perk-feed-comment-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 9841, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 9848, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* line 9854, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta span {
  font-size: 12px;
  color: #8e8e93;
}

/* line 9859, app/assets/stylesheets/application.scss */
.perk-feed-comment-text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #111;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 9868, app/assets/stylesheets/application.scss */
.perk-feed-comment-reply {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

/* line 9879, app/assets/stylesheets/application.scss */
.perk-feed-comment-like {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
}

/* line 9893, app/assets/stylesheets/application.scss */
.perk-feed-comment-like i {
  font-size: 16px;
  line-height: 1;
}

/* line 9898, app/assets/stylesheets/application.scss */
.perk-feed-comment-like span {
  font-size: 12px;
  line-height: 1;
}

/* line 9903, app/assets/stylesheets/application.scss */
.perk-feed-comment-like.is-liked,
.perk-feed-comment-like.is-liked i {
  color: #ff3b30;
}

/* line 9908, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies {
  display: flex;
  justify-content: center;
}

/* line 9913, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies button {
  border: 0;
  background: transparent;
  color: #8e8e93;
  font-size: 13px;
  cursor: pointer;
}

/* line 9921, app/assets/stylesheets/application.scss */
.perk-feed-comments-composer {
  flex: 0 0 auto;
  border-top: 1px solid #ebebf0;
  background: #fff;
  position: relative;
}

/* line 9928, app/assets/stylesheets/application.scss */
.perk-mention-suggestions {
  display: flex;
  flex-direction: column;
  max-height: 220px;
  overflow: auto;
  margin: 0 12px;
  border: 1px solid #ebebf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 18, 22, 0.08);
}

/* line 9940, app/assets/stylesheets/application.scss */
.perk-mention-suggestions.hidden,
.perk-mention-suggestions[hidden] {
  display: none !important;
}

/* line 9945, app/assets/stylesheets/application.scss */
.floating-ai-mentions {
  margin: 0;
}

/* line 9949, app/assets/stylesheets/application.scss */
.perk-mention-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #f2f2f7;
  background: transparent;
  color: #111;
  text-align: left;
  cursor: pointer;
}

/* line 9963, app/assets/stylesheets/application.scss */
.perk-mention-option:last-child {
  border-bottom: 0;
}

/* line 9967, app/assets/stylesheets/application.scss */
.perk-mention-option:hover,
.perk-mention-option.is-active {
  background: #f2f2f7;
}

/* line 9972, app/assets/stylesheets/application.scss */
.perk-mention-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e5ea;
}

/* line 9981, app/assets/stylesheets/application.scss */
.perk-mention-avatar img,
.perk-mention-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 13px;
  font-weight: 600;
  color: #8e8e93;
}

/* line 9994, app/assets/stylesheets/application.scss */
.perk-mention-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 10001, app/assets/stylesheets/application.scss */
.perk-mention-copy strong,
.perk-mention-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 10008, app/assets/stylesheets/application.scss */
.perk-mention-copy strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 10013, app/assets/stylesheets/application.scss */
.perk-mention-copy span {
  font-size: 13px;
  color: #8e8e93;
}

/* line 10018, app/assets/stylesheets/application.scss */
.perk-mention-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0a66c2;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* line 10029, app/assets/stylesheets/application.scss */
.perk-feed-comment-text .perk-mention-link,
.floating-ai-msg-text .perk-mention-link {
  color: #0a66c2;
}

/* line 10034, app/assets/stylesheets/application.scss */
.perk-feed-comments-reply-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px 0;
  color: #8e8e93;
  font-size: 13px;
}

/* line 10044, app/assets/stylesheets/application.scss */
.perk-feed-comments-reply-preview[hidden] {
  display: none !important;
}

/* line 10048, app/assets/stylesheets/application.scss */
.perk-feed-comments-reply-preview button {
  border: 0;
  background: transparent;
  color: #8e8e93;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* line 10057, app/assets/stylesheets/application.scss */
.perk-feed-comments-emojis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px 6px;
  overflow-x: auto;
}

/* line 10066, app/assets/stylesheets/application.scss */
.perk-feed-comments-emoji {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* line 10076, app/assets/stylesheets/application.scss */
.perk-feed-comments-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 12px 12px;
}

/* line 10083, app/assets/stylesheets/application.scss */
.perk-feed-comments-form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 22px;
  padding: 10px 14px;
  background: #f2f2f7;
  color: #111;
  font: inherit;
  font-size: 15px;
  outline: none;
}

/* line 10096, app/assets/stylesheets/application.scss */
.perk-feed-comments-form input::placeholder {
  color: #8e8e93;
}

/* line 10100, app/assets/stylesheets/application.scss */
.perk-feed-comments-send {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #d1d1d6;
  color: #fff;
  cursor: pointer;
}

/* line 10114, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:not(:disabled) {
  background: #111;
}

/* line 10118, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:disabled {
  cursor: default;
}

/* line 10122, app/assets/stylesheets/application.scss */
.perk-feed-comments-send i {
  font-size: 14px;
  line-height: 1;
}

/* line 10127, app/assets/stylesheets/application.scss */
.perk-create-post-quote {
  margin: 0 0 12px;
}

/* line 10131, app/assets/stylesheets/application.scss */
.perk-create-post-quote .perk-feed-quoted {
  margin: 0;
  pointer-events: none;
}

/* line 10136, app/assets/stylesheets/application.scss */
.perk-feed-post-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* line 10143, app/assets/stylesheets/application.scss */
.perk-feed-post-top .perk-feed-post-headline {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 10148, app/assets/stylesheets/application.scss */
.perk-feed-post-menu-btn,
.perk-feed-privacy-dot.is-editable {
  border: 0;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

/* line 10158, app/assets/stylesheets/application.scss */
.perk-feed-post-menu-btn {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 10168, app/assets/stylesheets/application.scss */
.perk-feed-post-menu-btn:hover,
.perk-feed-privacy-dot.is-editable:hover {
  color: #111;
  background: #f2f2f7;
}

/* line 10174, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable {
  cursor: pointer;
}

/* line 10178, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable:hover .perk-feed-post-text {
  color: #222;
}

/* line 10182, app/assets/stylesheets/application.scss */
.perk-feed-privacy-sheet {
  max-width: 360px;
}

/* line 10186, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

/* line 10193, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

/* line 10209, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options button.active,
.perk-feed-privacy-options button:hover {
  border-color: #111;
  background: #f7f7f8;
}

/* line 10215, app/assets/stylesheets/application.scss */
.perk-feed-privacy-status {
  margin: 0 16px 16px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 10221, app/assets/stylesheets/application.scss */
.perk-feed-share-overlay {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 18, 22, 0.4);
}

/* line 10228, app/assets/stylesheets/application.scss */
.perk-feed-share-sheet {
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 820px);
  margin: 0;
  border-radius: 18px 18px 0 0;
  border: 0;
  background: #fff;
}

/* line 10238, app/assets/stylesheets/application.scss */
.perk-feed-share-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 10px;
  border-bottom: 0;
}

/* line 10247, app/assets/stylesheets/application.scss */
.perk-feed-share-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 10255, app/assets/stylesheets/application.scss */
.perk-feed-share-done,
.perk-feed-share-create-group {
  border: 0;
  background: transparent;
  color: #0084ff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
}

/* line 10267, app/assets/stylesheets/application.scss */
.perk-feed-share-done {
  justify-self: start;
}

/* line 10271, app/assets/stylesheets/application.scss */
.perk-feed-share-create-group {
  justify-self: end;
  white-space: nowrap;
}

/* line 10276, app/assets/stylesheets/application.scss */
.perk-feed-share-done:hover,
.perk-feed-share-create-group:hover {
  opacity: 0.75;
}

/* line 10281, app/assets/stylesheets/application.scss */
.perk-feed-share-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 16px 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #f0f0f0;
}

/* line 10292, app/assets/stylesheets/application.scss */
.perk-feed-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 10297, app/assets/stylesheets/application.scss */
.perk-feed-share-search input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 15px;
  color: #111;
}

/* line 10307, app/assets/stylesheets/application.scss */
.perk-feed-share-search input::placeholder {
  color: #8e8e93;
}

/* line 10311, app/assets/stylesheets/application.scss */
.perk-feed-share-people {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 220px;
  max-height: none;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

/* line 10322, app/assets/stylesheets/application.scss */
.perk-feed-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  text-align: center;
  font-size: 14px;
}

/* line 10329, app/assets/stylesheets/application.scss */
.perk-feed-share-person {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  padding: 12px 16px;
  background: #fff;
  text-align: left;
}

/* line 10342, app/assets/stylesheets/application.scss */
.perk-feed-share-person:last-child {
  border-bottom: 0;
}

/* line 10346, app/assets/stylesheets/application.scss */
.perk-feed-share-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: visible;
  background: #e5e5ea;
  color: #9a9aa0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}

/* line 10361, app/assets/stylesheets/application.scss */
.perk-feed-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 10368, app/assets/stylesheets/application.scss */
.perk-feed-share-online {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #31a24c;
  border: 2px solid #fff;
}

/* line 10379, app/assets/stylesheets/application.scss */
.perk-feed-share-person-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 10387, app/assets/stylesheets/application.scss */
.perk-feed-share-person-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 650;
  color: #111;
}

/* line 10396, app/assets/stylesheets/application.scss */
.perk-feed-share-person-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: #8e8e93;
}

/* line 10405, app/assets/stylesheets/application.scss */
.perk-feed-share-send {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: #0084ff;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* line 10418, app/assets/stylesheets/application.scss */
.perk-feed-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 10422, app/assets/stylesheets/application.scss */
.perk-feed-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 10427, app/assets/stylesheets/application.scss */
.perk-feed-share-external {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 16px 16px;
  border-top: 1px solid #eee;
  flex: 0 0 auto;
}

/* line 10436, app/assets/stylesheets/application.scss */
.perk-feed-share-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 12px 8px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* line 10452, app/assets/stylesheets/application.scss */
.perk-feed-share-channel:hover {
  background: #f7f7f8;
}

/* line 10456, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #555;
}

/* line 10467, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-whatsapp {
  background: #25d366;
}

/* line 10471, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 10475, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-copy {
  background: #111;
}

/* line 10479, app/assets/stylesheets/application.scss */
.perk-feed-share-status {
  margin: 0 16px 16px;
  color: #8e8e93;
  font-size: 13px;
  text-align: center;
}

@media (min-width: 720px) {
  /* line 10487, app/assets/stylesheets/application.scss */
  .perk-feed-share-overlay {
    align-items: center;
    padding: 20px;
  }
  /* line 10492, app/assets/stylesheets/application.scss */
  .perk-feed-share-sheet {
    border-radius: 18px;
    max-height: min(88vh, 760px);
  }
}

/* line 10498, app/assets/stylesheets/application.scss */
.perk-feed-menu-overlay {
  align-items: flex-end;
}

/* line 10502, app/assets/stylesheets/application.scss */
.perk-feed-menu-sheet {
  width: 100%;
  max-width: 420px;
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  box-shadow: var(--perk-shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

/* line 10515, app/assets/stylesheets/application.scss */
.perk-feed-menu-item,
.perk-feed-menu-cancel {
  border: 0;
  background: transparent;
  padding: 14px 16px;
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
}

/* line 10527, app/assets/stylesheets/application.scss */
.perk-feed-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

/* line 10534, app/assets/stylesheets/application.scss */
.perk-feed-menu-item.is-danger {
  color: #c62828;
}

/* line 10538, app/assets/stylesheets/application.scss */
.perk-feed-menu-item:hover,
.perk-feed-menu-cancel:hover {
  background: #f2f2f7;
}

/* line 10543, app/assets/stylesheets/application.scss */
.perk-feed-menu-cancel {
  margin-top: 4px;
  text-align: center;
  color: #555;
  border-top: 1px solid #eee;
  border-radius: 0 0 12px 12px;
}

/* line 10551, app/assets/stylesheets/application.scss */
.perk-feed-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 140;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

/* line 10567, app/assets/stylesheets/application.scss */
.perk-feed-toast[hidden] {
  display: none !important;
}

/* line 10571, app/assets/stylesheets/application.scss */
.perk-feed-comments-head button,
.perk-feed-privacy-head button {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #555;
}

/* line 10581, app/assets/stylesheets/application.scss */
.perk-chats {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--perk-line);
  overflow: hidden;
  background: var(--perk-surface);
}

/* line 10589, app/assets/stylesheets/application.scss */
.perk-chats-main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* line 10598, app/assets/stylesheets/application.scss */
.perk-chats.is-settings-open .perk-chats-main {
  overflow: visible;
}

/* line 10602, app/assets/stylesheets/application.scss */
.perk-chats.is-settings-open .perk-sidebar-heading {
  z-index: 12;
}

/* line 10606, app/assets/stylesheets/application.scss */
.perk-chats .perk-chat-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  /* Room for create FAB + docked last-chat avatar above it. */
  padding-bottom: 148px;
  scrollbar-width: thin;
  scrollbar-color: #d8dce2 transparent;
}

/* line 10616, app/assets/stylesheets/application.scss */
.perk-chats.is-contacts-hidden .perk-chat-list {
  display: none;
}

/* line 10620, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* line 10626, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #6b7280;
  font-size: 12px;
}

/* line 10636, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button:hover,
.perk-chats-heading-actions .perk-icon-button.is-active {
  background: rgba(0, 0, 0, 0.1);
  border-color: transparent;
  color: #111;
}

/* line 10643, app/assets/stylesheets/application.scss */
.perk-chat-settings-anchor {
  position: relative;
}

/* line 10647, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -4px;
  z-index: 20;
  width: min(320px, calc(100vw - 24px));
  max-height: min(70vh, 520px);
  overflow: auto;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-md);
  background: var(--perk-surface);
  box-shadow: var(--perk-shadow-lg);
}

/* line 10661, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu.hidden {
  display: none;
}

/* line 10665, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 16px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(17, 24, 39, 0.08);
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  transform: rotate(45deg);
}

/* line 10678, app/assets/stylesheets/application.scss */
.perk-chat-settings-header {
  padding: 16px 16px 12px;
}

/* line 10682, app/assets/stylesheets/application.scss */
.perk-chat-settings-header strong {
  display: block;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

/* line 10690, app/assets/stylesheets/application.scss */
.perk-chat-settings-header p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

/* line 10697, app/assets/stylesheets/application.scss */
.perk-chat-settings-section {
  padding: 4px 0;
  border-top: 1px solid #eef0f3;
}

/* line 10702, app/assets/stylesheets/application.scss */
.perk-chat-settings-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

/* line 10720, app/assets/stylesheets/application.scss */
.perk-chat-settings-item:hover {
  background: #f5f6f8;
  color: inherit;
}

/* line 10725, app/assets/stylesheets/application.scss */
.perk-chat-settings-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f2f5;
  color: #111827;
  font-size: 14px;
}

/* line 10737, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 10744, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy strong {
  color: #111827;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

/* line 10751, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

/* line 10757, app/assets/stylesheets/application.scss */
.perk-chat-settings-chevron {
  color: #9ca3af;
  font-size: 12px;
}

/* line 10762, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

/* line 10770, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 10779, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #ced2d8;
  transition: background 150ms ease;
}

/* line 10789, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 150ms ease;
}

/* line 10802, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span {
  background: var(--perk-ink);
}

/* line 10806, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span::after {
  transform: translateX(20px);
}

/* line 10810, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 10816, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane.hidden {
  display: none;
}

/* line 10820, app/assets/stylesheets/application.scss */
.perk-chat-settings-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--perk-ink);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 4px 2px 8px;
  cursor: pointer;
  text-align: left;
}

/* line 10835, app/assets/stylesheets/application.scss */
.perk-chat-settings-back:hover {
  color: var(--perk-ink-soft);
}

/* line 10839, app/assets/stylesheets/application.scss */
.perk-chat-settings-hint {
  margin: 0;
  padding: 0 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

/* line 10847, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #6b7280;
}

/* line 10858, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-search input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 13px;
  color: #111827;
}

/* line 10868, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 4px;
}

/* line 10877, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 10px;
}

/* line 10885, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row:hover {
  background: #f8f9fb;
}

/* line 10889, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
}

/* line 10904, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 10910, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 10918, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-copy strong {
  font-size: 13px;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 10926, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-copy small {
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 10934, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-btn,
.perk-chat-settings-unblock {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* line 10946, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-btn {
  background: #fee2e2;
  color: #b91c1c;
}

/* line 10951, app/assets/stylesheets/application.scss */
.perk-chat-settings-unblock {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 10956, app/assets/stylesheets/application.scss */
.floating-ai-panel.hide-read-receipts .floating-ai-msg-status {
  display: none;
}

/* line 10960, app/assets/stylesheets/application.scss */
.perk-chat-fab-stack {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

/* line 10972, app/assets/stylesheets/application.scss */
.perk-create-chat-fab {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

/* line 10993, app/assets/stylesheets/application.scss */
.perk-create-chat-fab:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* line 10999, app/assets/stylesheets/application.scss */
.floating-ai.is-docked-above-create .floating-ai-bubble:not(.is-pinned) {
  animation: none;
}

/* line 11003, app/assets/stylesheets/application.scss */
.perk-chat-footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid #e8eaed;
  background: #fff;
}

/* line 11014, app/assets/stylesheets/application.scss */
.perk-chat-footer-brand {
  color: #9aa0a9;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

/* line 11021, app/assets/stylesheets/application.scss */
.perk-chat-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

/* line 11027, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a {
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

/* line 11035, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a:hover {
  color: var(--perk-ink);
}

/* line 11039, app/assets/stylesheets/application.scss */
.perk-sidebar-heading {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  height: 52px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--perk-line-soft);
  backdrop-filter: blur(14px);
  box-sizing: border-box;
}

/* line 11056, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading,
.perk-chats .perk-sidebar-heading {
  border-bottom: 0;
}

/* line 11061, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading {
  min-height: 46px;
  height: 46px;
}

/* line 11066, app/assets/stylesheets/application.scss */
.perk-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--perk-muted-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* line 11076, app/assets/stylesheets/application.scss */
.perk-sidebar-heading h2 {
  margin: 0;
  color: var(--perk-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* line 11085, app/assets/stylesheets/application.scss */
.perk-create-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.34);
  backdrop-filter: blur(7px);
}

/* line 11097, app/assets/stylesheets/application.scss */
.perk-create-chat-modal.hidden {
  display: none;
}

/* line 11101, app/assets/stylesheets/application.scss */
.perk-create-chat-card {
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-xl);
  background: var(--perk-surface);
  box-shadow: var(--perk-shadow-lg);
}

/* line 11112, app/assets/stylesheets/application.scss */
.perk-create-chat-card > header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid #eceef1;
}

/* line 11121, app/assets/stylesheets/application.scss */
.perk-create-chat-card > header strong {
  color: #16191e;
  font-size: 15px;
}

/* line 11126, app/assets/stylesheets/application.scss */
.perk-create-chat-card > header button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--perk-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* line 11136, app/assets/stylesheets/application.scss */
.perk-create-chat-cancel {
  justify-self: start;
}

/* line 11140, app/assets/stylesheets/application.scss */
.perk-create-chat-next {
  justify-self: end;
}

/* line 11144, app/assets/stylesheets/application.scss */
.perk-create-chat-next:disabled {
  color: #b7bbc2;
  cursor: default;
}

/* line 11149, app/assets/stylesheets/application.scss */
.perk-create-chat-next.is-loading {
  opacity: 0.6;
  cursor: wait;
}

/* line 11154, app/assets/stylesheets/application.scss */
.perk-create-chat-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 130px);
}

/* line 11160, app/assets/stylesheets/application.scss */
.perk-create-chat-name {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 18px 8px;
  color: #666d77;
  font-size: 12px;
  font-weight: 700;
}

/* line 11171, app/assets/stylesheets/application.scss */
.perk-create-chat-name input,
.perk-create-chat-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17191d;
  font: inherit;
}

/* line 11181, app/assets/stylesheets/application.scss */
.perk-create-chat-name input {
  border-bottom: 1px solid #e7e9ed;
  padding: 9px 2px;
  font-size: 13px;
  font-weight: 500;
}

/* line 11188, app/assets/stylesheets/application.scss */
.perk-create-chat-search {
  position: relative;
  margin: 10px 16px;
}

/* line 11193, app/assets/stylesheets/application.scss */
.perk-create-chat-search i {
  position: absolute;
  top: 50%;
  left: 13px;
  color: #9399a2;
  font-size: 12px;
  transform: translateY(-50%);
}

/* line 11202, app/assets/stylesheets/application.scss */
.perk-create-chat-search input {
  height: 40px;
  border-radius: var(--perk-radius-sm);
  background: var(--perk-field);
  padding: 0 12px 0 36px;
  font-size: 13px;
}

/* line 11210, app/assets/stylesheets/application.scss */
.perk-create-chat-people {
  min-height: 180px;
  overflow-y: auto;
  padding: 0 10px 14px;
}

/* line 11216, app/assets/stylesheets/application.scss */
.perk-create-chat-loading,
.perk-create-chat-error {
  margin: 0;
  padding: 24px 12px;
  color: #747b85;
  font-size: 13px;
  text-align: center;
}

/* line 11225, app/assets/stylesheets/application.scss */
.perk-create-chat-error {
  padding: 8px 18px;
  color: #c62828;
  text-align: left;
}

/* line 11231, app/assets/stylesheets/application.scss */
.perk-create-chat-person {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 11px;
  align-items: center;
  min-height: 62px;
  padding: 7px 9px;
  border-radius: 13px;
  cursor: pointer;
}

/* line 11242, app/assets/stylesheets/application.scss */
.perk-create-chat-person:hover {
  background: #f6f7f8;
}

/* line 11246, app/assets/stylesheets/application.scss */
.perk-create-chat-person > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* line 11253, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #30343a, #17191d);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--perk-line);
}

/* line 11268, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 11274, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy {
  min-width: 0;
}

/* line 11278, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy strong,
.perk-create-chat-person-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 11286, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy strong {
  color: #25282d;
  font-size: 13px;
}

/* line 11291, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy small {
  margin-top: 3px;
  color: #8b919a;
  font-size: 11px;
}

/* line 11297, app/assets/stylesheets/application.scss */
.perk-create-chat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #cfd3d9;
  border-radius: 50%;
  color: transparent;
  font-size: 10px;
}

/* line 11309, app/assets/stylesheets/application.scss */
.perk-create-chat-person input:checked ~ .perk-create-chat-check {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

/* line 11315, app/assets/stylesheets/application.scss */
body.perk-modal-open {
  overflow: hidden;
}

/* line 11319, app/assets/stylesheets/application.scss */
.perk-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: var(--perk-radius-sm);
  background: var(--perk-field);
  color: var(--perk-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

/* line 11334, app/assets/stylesheets/application.scss */
.perk-icon-button:hover {
  background: var(--perk-surface);
  border-color: var(--perk-line);
  color: var(--perk-ink);
}

/* line 11340, app/assets/stylesheets/application.scss */
.perk-feed-filters {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 8px;
  min-height: 40px;
  margin-top: -4px;
  padding: 0 14px 6px;
  overflow-x: auto;
  scrollbar-width: none;
  box-sizing: border-box;
  border-bottom: 0;
}

/* line 11354, app/assets/stylesheets/application.scss */
.perk-feed-filters::-webkit-scrollbar {
  display: none;
}

/* line 11358, app/assets/stylesheets/application.scss */
.perk-feed-filters button {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  padding: 8px 12px 12px;
  background: transparent;
  color: var(--perk-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease;
}

/* line 11374, app/assets/stylesheets/application.scss */
.perk-feed-filters button::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background 150ms ease;
}

/* line 11386, app/assets/stylesheets/application.scss */
.perk-feed-filters button:hover {
  background: transparent;
  color: var(--perk-ink);
}

/* line 11391, app/assets/stylesheets/application.scss */
.perk-feed-filters button.active {
  background: transparent;
  border-color: transparent;
  color: var(--perk-ink);
  font-weight: 700;
}

/* line 11398, app/assets/stylesheets/application.scss */
.perk-feed-filters button.active::after {
  background: var(--perk-ink);
}

/* line 11402, app/assets/stylesheets/application.scss */
.perk-feed-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8dce2 transparent;
  padding: 10px 0 88px;
}

/* line 11411, app/assets/stylesheets/application.scss */
.perk-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--perk-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* line 11425, app/assets/stylesheets/application.scss */
.perk-feed-trending,
.perk-feed-suggestions {
  position: relative;
  overflow: hidden;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--perk-line-soft);
  background: var(--perk-surface);
}

/* line 11434, app/assets/stylesheets/application.scss */
.perk-feed-section-head {
  padding: 0 18px 10px;
}

/* line 11438, app/assets/stylesheets/application.scss */
.perk-feed-section-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--perk-ink);
}

/* line 11446, app/assets/stylesheets/application.scss */
.perk-feed-section-head p {
  margin: 3px 0 0;
  color: var(--perk-muted-soft);
  font-size: 13px;
}

/* line 11452, app/assets/stylesheets/application.scss */
.perk-feed-section-head-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 11458, app/assets/stylesheets/application.scss */
.perk-feed-section-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--perk-field);
  border: 1px solid var(--perk-line);
}

/* line 11468, app/assets/stylesheets/application.scss */
.perk-feed-trend-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* line 11477, app/assets/stylesheets/application.scss */
.perk-feed-trend-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--perk-line);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--perk-surface);
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

/* line 11492, app/assets/stylesheets/application.scss */
.perk-feed-trend-card {
  flex: 0 0 auto;
  width: 168px;
  max-width: 168px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  white-space: normal;
}

/* line 11503, app/assets/stylesheets/application.scss */
.perk-feed-trend-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  min-width: 0;
  width: 100%;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}

/* line 11515, app/assets/stylesheets/application.scss */
.perk-feed-trend-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
}

/* line 11524, app/assets/stylesheets/application.scss */
.perk-feed-trend-meta small {
  color: var(--perk-muted-soft);
  font-size: 12px;
  font-weight: 500;
}

/* line 11530, app/assets/stylesheets/application.scss */
.perk-feed-trend-rising {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c2410c;
  background: rgba(234, 88, 12, 0.12);
  border-radius: 999px;
  padding: 2px 6px;
}

/* line 11541, app/assets/stylesheets/application.scss */
.perk-feed-trend-chip:hover {
  background: var(--perk-field);
  border-color: #d5d9e0;
  transform: translateY(-1px);
}

/* iOS-style: avatar + title on top; friend cards scroll full-bleed below. */
/* line 11548, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 10px;
}

/* line 11555, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* line 11561, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-feed-post-avatar {
  flex: 0 0 40px;
}

/* line 11565, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-avatar-fallback {
  width: 40px;
  height: 40px;
}

/* line 11570, app/assets/stylesheets/application.scss */
.perk-feed-suggest-scroller {
  /* Match post media column: 18px pad + 40px avatar + 12px gap. */
  --feed-suggest-inset: 70px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  /* Padding (not a ::before flex spacer) so scroll-snap can't pull the first card flush-left. */
  scroll-padding-left: var(--feed-suggest-inset);
  padding: 0 18px 0 var(--feed-suggest-inset);
}

/* line 11584, app/assets/stylesheets/application.scss */
.perk-feed-suggest-scroller::-webkit-scrollbar {
  display: none;
}

/* line 11588, app/assets/stylesheets/application.scss */
.perk-feed-suggest-card {
  flex: 0 0 150px;
  width: 150px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  overflow: hidden;
}

/* line 11602, app/assets/stylesheets/application.scss */
.perk-feed-suggest-card:hover .perk-feed-suggest-photo {
  opacity: 0.92;
}

/* line 11606, app/assets/stylesheets/application.scss */
img.perk-feed-suggest-photo,
.perk-feed-suggest-photo {
  display: block;
  width: 150px;
  height: 190px;
  max-width: 150px;
  max-height: 190px;
  object-fit: cover;
  border-radius: 18px;
  background: #f2f2f7;
}

/* line 11618, app/assets/stylesheets/application.scss */
.perk-feed-suggest-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
  font-size: 28px;
  font-weight: 700;
}

/* line 11627, app/assets/stylesheets/application.scss */
.perk-feed-suggest-card strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 11637, app/assets/stylesheets/application.scss */
.perk-feed-suggest-mutual {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 450;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 11648, app/assets/stylesheets/application.scss */
.perk-feed-post {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  padding: 14px 18px 16px;
  border-bottom: 1px solid var(--perk-line-soft);
  background: var(--perk-surface);
  overflow: hidden;
}

/* line 11661, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--perk-muted-soft);
  font-size: 13px;
  font-weight: 650;
}

/* line 11672, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i {
  font-size: 12px;
  color: #c13584;
}

/* line 11677, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i.fa-comment {
  color: #8e8e93;
}

/* line 11681, app/assets/stylesheets/application.scss */
.perk-feed-post.has-friend-activity {
  padding-top: 12px;
}

/* line 11685, app/assets/stylesheets/application.scss */
.perk-feed-post-avatar {
  grid-column: 1;
  width: 40px;
}

/* line 11690, app/assets/stylesheets/application.scss */
.perk-feed-post-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--perk-line);
}

/* line 11698, app/assets/stylesheets/application.scss */
.perk-feed-post-main {
  grid-column: 2;
  min-width: 0;
}

/* line 11703, app/assets/stylesheets/application.scss */
.perk-feed-post-body {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* line 11709, app/assets/stylesheets/application.scss */
.perk-feed-post-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin-bottom: 4px;
  color: var(--perk-muted-soft);
  font-size: 13px;
}

/* line 11719, app/assets/stylesheets/application.scss */
.perk-feed-post-headline strong {
  color: var(--perk-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 11726, app/assets/stylesheets/application.scss */
.perk-feed-post-text {
  margin: 0 0 8px;
  color: var(--perk-ink);
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 11735, app/assets/stylesheets/application.scss */
.perk-feed-post-text.muted {
  color: #8e8e93;
}

/* line 11739, app/assets/stylesheets/application.scss */
.perk-feed-quoted {
  display: block;
  margin: 8px 0 10px;
  padding: 12px;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-md);
  background: var(--perk-field);
  color: inherit;
  text-decoration: none;
}

/* line 11750, app/assets/stylesheets/application.scss */
a.perk-feed-quoted:hover {
  border-color: #d5d9e0;
  background: #eef0f3;
}

/* line 11755, app/assets/stylesheets/application.scss */
.perk-feed-quoted-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 11762, app/assets/stylesheets/application.scss */
.perk-feed-quoted-avatar,
.perk-feed-quoted-avatar-fallback {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 11771, app/assets/stylesheets/application.scss */
.perk-feed-quoted-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #17191d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* line 11781, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 11788, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta strong {
  color: #111;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

/* line 11795, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta span {
  color: #8e8e93;
  font-size: 12px;
}

/* line 11800, app/assets/stylesheets/application.scss */
.perk-feed-quoted-text {
  margin: 0 0 8px;
  color: #111;
  font-size: 12px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 11809, app/assets/stylesheets/application.scss */
.perk-feed-quoted-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* line 11820, app/assets/stylesheets/application.scss */
a.perk-feed-quoted-read:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 11825, app/assets/stylesheets/application.scss */
.perk-feed-quoted .perk-feed-post-media {
  margin: 0;
}

/* line 11829, app/assets/stylesheets/application.scss */
.perk-feed-post-media {
  display: grid;
  gap: 8px;
  margin: 6px 0 8px;
}

/* line 11835, app/assets/stylesheets/application.scss */
.perk-feed-post-media.is-carousel {
  display: flex;
  overflow-x: auto;
  margin-left: -66px;
  padding-left: 66px;
  scrollbar-width: thin;
}

/* line 11843, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--perk-radius-md);
  background: var(--perk-field);
  border: 1px solid var(--perk-line-soft);
}

/* line 11851, app/assets/stylesheets/application.scss */
.perk-feed-post-media.is-carousel .perk-feed-post-media-item {
  flex: 0 0 72%;
  max-width: 260px;
}

/* line 11856, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item img,
.perk-feed-post-media-item video.perk-feed-video {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  background: #000;
}

/* line 11865, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-video {
  cursor: pointer;
  background: #111;
}

/* line 11870, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-video video.perk-feed-video {
  object-fit: contain;
  max-height: 420px;
  min-height: 180px;
}

/* line 11876, app/assets/stylesheets/application.scss */
.perk-feed-video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 2;
}

/* line 11891, app/assets/stylesheets/application.scss */
.perk-feed-video-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
}

/* Keep overlay out of the way once native controls are active. */
/* line 11902, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-playing .perk-feed-video-badge {
  display: none;
}

/* line 11906, app/assets/stylesheets/application.scss */
.perk-feed-read-more {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 11916, app/assets/stylesheets/application.scss */
.perk-feed-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

/* line 11923, app/assets/stylesheets/application.scss */
.perk-feed-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #262626;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, transform 160ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease;
}

/* line 11940, app/assets/stylesheets/application.scss */
.perk-feed-actions button i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
  flex: 0 0 16px;
  text-align: center;
  display: inline-block;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms ease;
}

/* line 11951, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fas {
  font-weight: 900;
}

/* line 11955, app/assets/stylesheets/application.scss */
.perk-feed-actions button .far {
  font-weight: 400;
}

/* Paper plane — same size as peers, slight Instagram-style lift. */
/* line 11960, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px);
}

/* line 11964, app/assets/stylesheets/application.scss */
.perk-feed-actions button span {
  color: #737373;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: color 160ms ease;
}

/* line 11972, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover {
  color: #737373;
}

/* line 11976, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover span {
  color: #8e8e8e;
}

/* line 11980, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover i {
  transform: scale(1.08);
}

/* line 11984, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px) scale(1.08);
}

/* line 11988, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active {
  opacity: 0.72;
}

/* line 11992, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active i {
  transform: scale(0.92);
}

/* line 11996, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px) scale(0.92);
}

/* line 12000, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked {
  color: #ed4956;
}

/* line 12004, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked i {
  color: #ed4956;
  animation: perk-feed-like-pop 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* line 12009, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked span {
  color: #ed4956;
}

/* line 12013, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-saved,
.perk-feed-actions button.is-saved i {
  color: #262626;
}

/* line 12018, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-saved i {
  animation: perk-feed-save-pop 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes perk-feed-like-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.28);
  }
  65% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes perk-feed-save-pop {
  0% {
    transform: scale(1) translateY(0);
  }
  40% {
    transform: scale(1.16) translateY(-1px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 12036, app/assets/stylesheets/application.scss */
  .perk-feed-actions button.is-liked i,
.perk-feed-actions button.is-saved i {
    animation: none;
  }
}

/* line 12042, app/assets/stylesheets/application.scss */
.perk-feed-actions-spacer {
  flex: 1 1 auto;
}

/* line 12046, app/assets/stylesheets/application.scss */
.perk-feed-post-empty {
  border-bottom: 0;
}

/* line 12050, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  --hub-tabbar-h: 42px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

/* line 12058, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--perk-bar-h));
  min-height: 0;
  overflow-y: auto;
  padding: 0 28px 36px;
  background: #fff;
}

/* line 12068, app/assets/stylesheets/application.scss */
.perk-workspace-center .perk-browser-chrome {
  top: 0;
  z-index: 60;
  margin: 0 -28px;
  padding-left: 10px;
  padding-right: 10px;
  background: #fff;
}

/* Keep hub tabs visible/clickable while an overlay app is open. */
/* line 12078, app/assets/stylesheets/application.scss */
.perk-workspace-center > .hub-ask-chat,
.perk-workspace-center > .hub-ai-fit,
.perk-workspace-center > .hub-style-pin-detail,
.perk-workspace-center > .ai-drive,
.perk-workspace-center > .ai-tutor,
.perk-workspace-center > .job-seeking,
.perk-workspace-center > .create-ppt,
.perk-workspace-center > .create-doc,
.perk-workspace-center > .pdf-tools {
  position: absolute;
  top: var(--hub-tabbar-h);
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(100% - var(--hub-tabbar-h));
  min-height: 0;
}

/* line 12096, app/assets/stylesheets/application.scss */
.perk-workspace-center .perk-browser-toolbar {
  top: 42px;
  margin: 0 -28px;
  padding-left: 14px;
  padding-right: 14px;
}

/* line 12103, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-browsing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}

/* line 12110, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-browsing > .browser-hub-inner[data-hub-panel="browser"] {
  flex: 1 1 auto;
  min-height: 0;
  max-width: none;
  margin: 0 -28px;
  width: calc(100% + 56px);
  padding-top: 0;
}

/* line 12119, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-browser-frame,
.perk-workspace-center .hub-browser-iframe {
  height: 100%;
  min-height: 0;
}

/* line 12125, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub-inner {
  max-width: 630px;
  gap: 22px;
}

/* line 12130, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shopping {
  max-width: 630px;
  margin: 0 auto;
}

/* line 12135, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
  max-width: 960px;
}

/* line 12139, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-shopping {
  padding-top: 0;
}

/* line 12143, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub > .browser-hub-inner,
.perk-workspace-center .browser-hub > .hub-shopping {
  padding-top: clamp(28px, 5vh, 56px);
}

/* line 12148, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  flex: 1 1 auto;
  justify-content: center;
  padding-top: 0;
  background: #fff;
}

/* line 12155, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-locket-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #fff;
}

/* line 12164, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-label-btn strong {
  font-size: 13px;
  font-weight: 800;
  color: #25282d;
}

/* line 12170, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-tile {
  width: clamp(156px, 16vw, 200px);
}

/* line 12174, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-tile-frame {
  width: clamp(156px, 16vw, 200px);
  height: clamp(156px, 16vw, 200px);
  border-radius: 52px;
}

/* line 12180, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app,
.perk-workspace-center .hub-shortcut {
  border-radius: 14px;
  padding: 7px 3px;
}

/* line 12186, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app:hover,
.perk-workspace-center .hub-shortcut:hover {
  background: rgba(255, 255, 255, 0.72);
}

/* line 12191, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 17px;
}

/* line 12197, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shortcuts {
  padding-top: 8px;
  border-top: 1px solid var(--perk-line);
}

/* line 12202, app/assets/stylesheets/application.scss */
.perk-chat-search {
  position: relative;
  margin: 0 16px 14px;
}

/* line 12207, app/assets/stylesheets/application.scss */
.perk-chat-search.hidden {
  display: none;
}

/* line 12211, app/assets/stylesheets/application.scss */
.perk-chat-search i {
  position: absolute;
  top: 50%;
  left: 13px;
  color: var(--perk-muted-soft);
  font-size: 12px;
  transform: translateY(-50%);
}

/* line 12220, app/assets/stylesheets/application.scss */
.perk-chat-search input {
  width: 100%;
  height: 40px;
  border: 1px solid transparent;
  border-radius: var(--perk-radius-sm);
  outline: 0;
  background: var(--perk-field);
  padding: 0 12px 0 36px;
  color: var(--perk-ink);
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

/* line 12233, app/assets/stylesheets/application.scss */
.perk-chat-search input:focus {
  border-color: var(--perk-ink);
  background: var(--perk-surface);
  box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.08);
}

/* line 12239, app/assets/stylesheets/application.scss */
.perk-chat-list {
  padding: 0 8px;
}

/* line 12243, app/assets/stylesheets/application.scss */
.perk-chat-section-label,
.perk-create-chat-section-label {
  padding: 12px 12px 6px;
  color: #8b919a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 12253, app/assets/stylesheets/application.scss */
.perk-chat-ai-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: var(--perk-radius-pill);
  background: var(--perk-field);
  border: 1px solid var(--perk-line);
  color: var(--perk-ink);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* line 12269, app/assets/stylesheets/application.scss */
.perk-chat-avatar-ai {
  overflow: visible;
  background: linear-gradient(145deg, #17191d, #4b5563);
}

/* line 12274, app/assets/stylesheets/application.scss */
.perk-chat-avatar-clip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  overflow: hidden;
}

/* line 12284, app/assets/stylesheets/application.scss */
.perk-chat-avatar-ai .ai-avatar-category-tag {
  height: 16%;
  min-height: 7px;
  max-height: 12px;
  font-size: clamp(5px, 11%, 8px);
}

/* line 12291, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar.is-ai {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #17191d, #4b5563);
}

/* line 12297, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar.is-ai .ai-avatar-category-tag {
  height: 16%;
  min-height: 7px;
  max-height: 12px;
  font-size: clamp(5px, 11%, 8px);
}

/* line 12304, app/assets/stylesheets/application.scss */
.perk-chat-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--perk-radius-md);
  background: transparent;
  color: var(--perk-ink);
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: background 150ms ease;
}

/* display:grid above beats Tailwind .hidden */
/* line 12324, app/assets/stylesheets/application.scss */
.perk-chat-row.hidden,
.perk-chat-section-label.hidden {
  display: none;
}

/* line 12329, app/assets/stylesheets/application.scss */
.perk-chat-row:hover {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 12334, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread {
  background: #f1f3f4;
  color: #111;
}

/* line 12339, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-copy strong {
  color: #111;
}

/* line 12343, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread:hover {
  background: #e8eaed;
  color: #111;
}

/* line 12348, app/assets/stylesheets/application.scss */
.perk-chat-empty {
  padding: 18px 14px;
  color: var(--perk-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* line 12355, app/assets/stylesheets/application.scss */
.perk-chat-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: visible;
  background: linear-gradient(145deg, #30343a, #17191d);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--perk-line);
}

/* line 12371, app/assets/stylesheets/application.scss */
.perk-chat-avatar-p {
  background: linear-gradient(145deg, #111, #4f5968);
}

/* line 12372, app/assets/stylesheets/application.scss */
.perk-chat-avatar-m {
  background: linear-gradient(145deg, #4b5563, #17191d);
}

/* line 12374, app/assets/stylesheets/application.scss */
.perk-chat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* line 12381, app/assets/stylesheets/application.scss */
.perk-chat-avatar .perk-chat-online-dot,
.perk-chat-avatar.is-online > i.perk-chat-online-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #29bd68;
  display: block;
  font-size: 0;
  box-sizing: border-box;
  pointer-events: none;
}

/* line 12398, app/assets/stylesheets/application.scss */
.perk-chat-copy {
  min-width: 0;
}

/* line 12402, app/assets/stylesheets/application.scss */
.perk-chat-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--perk-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 12413, app/assets/stylesheets/application.scss */
.perk-chat-signin {
  margin: 18px 16px;
  padding: 16px;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  background: var(--perk-field);
  box-shadow: var(--perk-shadow-sm);
  text-align: center;
}

/* line 12423, app/assets/stylesheets/application.scss */
.perk-chat-signin p {
  margin: 0 0 11px;
  color: var(--perk-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* line 12430, app/assets/stylesheets/application.scss */
.perk-chat-signin-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  border-radius: var(--perk-radius-pill);
  background: var(--perk-ink);
  padding: 10px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

/* line 12444, app/assets/stylesheets/application.scss */
.perk-chat-signin-button:hover {
  color: #fff;
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 12450, app/assets/stylesheets/application.scss */
.floating-ai-panel-head {
  cursor: grab;
  user-select: none;
}

/* line 12455, app/assets/stylesheets/application.scss */
.floating-ai-panel-head:active,
.floating-ai.is-dragging .floating-ai-panel-head {
  cursor: grabbing;
}

/* line 12460, app/assets/stylesheets/application.scss */
.floating-ai-panel-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 12466, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker {
  position: absolute;
  inset: 0;
  z-index: 14;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 -8px 28px rgba(15, 18, 22, 0.14);
}

/* line 12476, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker.hidden {
  display: none !important;
}

/* line 12480, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker-head {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #eceff3;
  flex: 0 0 auto;
}

/* line 12490, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  color: #111;
}

/* line 12497, app/assets/stylesheets/application.scss */
.floating-ai-theme-text-btn {
  border: 0;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 14px;
  padding: 6px 0;
  cursor: pointer;
  text-align: left;
}

/* line 12508, app/assets/stylesheets/application.scss */
.floating-ai-theme-text-btn.is-strong {
  color: #111;
  font-weight: 650;
  text-align: right;
}

/* line 12514, app/assets/stylesheets/application.scss */
.floating-ai-theme-pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 12524, app/assets/stylesheets/application.scss */
.floating-ai-theme-pane.hidden {
  display: none !important;
}

/* line 12528, app/assets/stylesheets/application.scss */
.floating-ai-theme-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 12534, app/assets/stylesheets/application.scss */
.floating-ai-theme-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 88px;
  padding: 12px;
  border: 0;
  border-radius: 16px;
  background: #f3f4f6;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-align: center;
}

/* line 12553, app/assets/stylesheets/application.scss */
.floating-ai-theme-action i {
  font-size: 20px;
}

/* line 12557, app/assets/stylesheets/application.scss */
.floating-ai-theme-action:hover {
  background: #e8eaed;
}

/* line 12561, app/assets/stylesheets/application.scss */
.floating-ai-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
}

/* line 12567, app/assets/stylesheets/application.scss */
.floating-ai-theme-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: #111;
}

/* line 12580, app/assets/stylesheets/application.scss */
.floating-ai-theme-card-preview {
  position: relative;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* line 12591, app/assets/stylesheets/application.scss */
.floating-ai-theme-card.is-selected .floating-ai-theme-card-preview {
  box-shadow: inset 0 0 0 3px #2563eb;
}

/* line 12595, app/assets/stylesheets/application.scss */
.floating-ai-theme-card-emoji {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-size: 34px;
  line-height: 1;
  pointer-events: none;
}

/* line 12605, app/assets/stylesheets/application.scss */
.floating-ai-theme-card-label {
  font-size: 12px;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 12614, app/assets/stylesheets/application.scss */
.floating-ai-theme-hint {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* line 12622, app/assets/stylesheets/application.scss */
.floating-ai-theme-moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 12628, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #111;
  text-align: center;
}

/* line 12641, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood-preview {
  height: 90px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* line 12649, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood.is-selected .floating-ai-theme-mood-preview {
  box-shadow: inset 0 0 0 3px #2563eb;
}

/* line 12653, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood-label {
  font-size: 13px;
  font-weight: 650;
}

/* line 12658, app/assets/stylesheets/application.scss */
.floating-ai-theme-apply {
  margin-top: auto;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}

/* line 12672, app/assets/stylesheets/application.scss */
.floating-ai-theme-apply:hover {
  background: #000;
}

/* line 12676, app/assets/stylesheets/application.scss */
.floating-ai-msg-user {
  background: #17191d;
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* line 12682, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot {
  border-bottom-left-radius: 4px;
}

/* Bare greeting bubble (no row wrapper) still aligns left. */
/* line 12687, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-bot {
  align-self: flex-start;
}

/* line 12691, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-user {
  align-self: flex-end;
}

@media (max-width: 1180px) {
  /* line 12696, app/assets/stylesheets/application.scss */
  .perk-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }
  /* line 12700, app/assets/stylesheets/application.scss */
  .hub-home #main-header nav {
    display: none;
  }
}

@media (max-width: 1020px) {
  /* line 12706, app/assets/stylesheets/application.scss */
  .perk-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 12710, app/assets/stylesheets/application.scss */
  .perk-chats {
    display: none;
  }
}

@media (max-width: 900px) {
  /* line 12716, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed-list {
    max-width: var(--feed-content-width);
  }
  /* line 12720, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  /* line 12726, app/assets/stylesheets/application.scss */
  .perk-workspace {
    display: block;
    overflow: auto;
  }
  /* line 12731, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed {
    display: block;
  }
  /* line 12735, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-feed {
    display: none;
  }
  /* line 12739, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-feed:has(.perk-user-detail-overlay:not(.hidden)) {
    display: flex;
  }
  /* line 12743, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-workspace-center {
    display: none;
  }
  /* line 12747, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center {
    display: block;
    min-height: calc(100vh - var(--perk-bar-h));
  }
  /* line 12752, app/assets/stylesheets/application.scss */
  .perk-workspace-center > .hub-ask-chat,
.perk-workspace-center > .hub-ai-fit,
.perk-workspace-center > .hub-style-pin-detail,
.perk-workspace-center > .ai-drive,
.perk-workspace-center > .ai-tutor,
.perk-workspace-center > .job-seeking,
.perk-workspace-center > .create-ppt,
.perk-workspace-center > .create-doc,
.perk-workspace-center > .pdf-tools {
    min-height: 0;
  }
  /* line 12764, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .hub-styles-grid {
    column-count: 2;
  }
  /* line 12768, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
    max-width: 630px;
  }
}

/* ===== Management bar and authentication ===== */
/* line 12774, app/assets/stylesheets/application.scss */
.perk-site-footer {
  background: var(--perk-surface);
  color: var(--perk-muted);
  font-size: 13px;
}

/* line 12780, app/assets/stylesheets/application.scss */
.perk-site-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--perk-space-6);
  border-top: 1px solid var(--perk-line);
}

/* line 12787, app/assets/stylesheets/application.scss */
.perk-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 18px 0;
}

/* line 12795, app/assets/stylesheets/application.scss */
.perk-site-footer a {
  color: var(--perk-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

/* line 12801, app/assets/stylesheets/application.scss */
.perk-site-footer a:hover {
  color: var(--perk-ink);
}

/* line 12805, app/assets/stylesheets/application.scss */
.perk-page-content {
  min-height: 100vh;
  padding-top: var(--perk-bar-h);
  background: var(--perk-canvas-wash);
}

/* line 12811, app/assets/stylesheets/application.scss */
.perk-page-content > .hub-home {
  margin-top: calc(var(--perk-bar-h) * -1);
}

/* line 12815, app/assets/stylesheets/application.scss */
.perk-management-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--perk-bar-h);
  border-bottom: 1px solid var(--perk-line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--perk-ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(23, 25, 29, 0.02);
}

/* line 12827, app/assets/stylesheets/application.scss */
.perk-management-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 var(--perk-space-6);
}

/* line 12836, app/assets/stylesheets/application.scss */
.perk-management-left,
.perk-management-right {
  display: flex;
  align-items: center;
  gap: var(--perk-space-4);
}

/* line 12843, app/assets/stylesheets/application.scss */
.perk-management-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: var(--perk-space-3);
  color: var(--perk-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

/* line 12856, app/assets/stylesheets/application.scss */
.perk-management-brand-mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  line-height: 0;
}

/* line 12867, app/assets/stylesheets/application.scss */
.perk-ios-count-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1.5px solid #fff;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  box-sizing: border-box;
  pointer-events: none;
}

/* line 12890, app/assets/stylesheets/application.scss */
.perk-ios-count-badge[hidden],
.perk-ios-count-badge.is-empty {
  display: none !important;
}

/* line 12895, app/assets/stylesheets/application.scss */
.perk-ios-count-badge-inline {
  position: static;
  top: auto;
  right: auto;
  margin-left: 6px;
  vertical-align: middle;
  border-width: 0;
  transform: translateY(-1px);
}

/* line 12905, app/assets/stylesheets/application.scss */
.perk-activity-host {
  display: inline-flex;
  align-items: center;
}

/* line 12910, app/assets/stylesheets/application.scss */
button.perk-management-brand,
button.perk-management-brand-mark-btn,
button.perk-management-brand-name {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  line-height: 1;
}

/* line 12923, app/assets/stylesheets/application.scss */
button.perk-management-brand-mark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* line 12930, app/assets/stylesheets/application.scss */
button.perk-management-brand-name {
  display: inline-flex;
  align-items: center;
  height: 30px;
}

/* line 12936, app/assets/stylesheets/application.scss */
.perk-activity-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  background: rgba(15, 18, 22, 0.42);
}

/* line 12947, app/assets/stylesheets/application.scss */
.perk-activity-overlay.hidden {
  display: none !important;
}

/* line 12951, app/assets/stylesheets/application.scss */
.perk-activity-overlay:not(.hidden) {
  display: flex;
}

/* line 12955, app/assets/stylesheets/application.scss */
.perk-activity-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  box-shadow: 8px 0 32px rgba(15, 18, 22, 0.18);
  overflow: hidden;
}

/* line 12966, app/assets/stylesheets/application.scss */
.perk-activity-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid #ececef;
  background: #fff;
}

/* line 12977, app/assets/stylesheets/application.scss */
.perk-activity-head h2 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}

/* line 12986, app/assets/stylesheets/application.scss */
.perk-activity-back,
.perk-activity-head-spacer {
  width: 44px;
  height: 44px;
}

/* line 12992, app/assets/stylesheets/application.scss */
.perk-activity-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111;
  font-size: 16px;
  cursor: pointer;
}

/* line 13004, app/assets/stylesheets/application.scss */
.perk-activity-back:hover {
  background: #f3f3f5;
}

/* line 13008, app/assets/stylesheets/application.scss */
.perk-activity-loading,
.perk-activity-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 32px 28px;
  text-align: center;
  color: #6b6b73;
}

/* line 13022, app/assets/stylesheets/application.scss */
.perk-activity-loading[hidden],
.perk-activity-empty[hidden],
.perk-activity-scroll[hidden] {
  display: none !important;
}

/* line 13028, app/assets/stylesheets/application.scss */
.perk-activity-loading i,
.perk-activity-empty i {
  font-size: 34px;
  color: #b0b0b8;
}

/* line 13034, app/assets/stylesheets/application.scss */
.perk-activity-empty strong {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 13040, app/assets/stylesheets/application.scss */
.perk-activity-empty p {
  margin: 0;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.4;
  color: #6b6b73;
}

/* line 13048, app/assets/stylesheets/application.scss */
.perk-activity-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* line 13056, app/assets/stylesheets/application.scss */
.perk-activity-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 13068, app/assets/stylesheets/application.scss */
.perk-activity-row.is-unviewed {
  background: #f5f7fb;
}

/* line 13072, app/assets/stylesheets/application.scss */
.perk-activity-row:hover {
  background: #f3f3f5;
}

/* line 13076, app/assets/stylesheets/application.scss */
.perk-activity-avatar {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: visible;
  background: #e8e8ed;
}

/* line 13086, app/assets/stylesheets/application.scss */
.perk-activity-avatar img,
.perk-activity-avatar > span:not(.perk-activity-type-badge) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  font-size: 15px;
  font-weight: 700;
  color: #555;
  background: #e8e8ed;
  overflow: hidden;
}

/* line 13102, app/assets/stylesheets/application.scss */
.perk-activity-type-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--perk-activity-badge, #2e8cfa);
  color: #fff;
  font-size: 9px;
}

/* line 13118, app/assets/stylesheets/application.scss */
.perk-activity-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

/* line 13126, app/assets/stylesheets/application.scss */
.perk-activity-text {
  font-size: 15px;
  line-height: 1.35;
  color: #111;
}

/* line 13132, app/assets/stylesheets/application.scss */
.perk-activity-text strong {
  font-weight: 700;
}

/* line 13136, app/assets/stylesheets/application.scss */
.perk-activity-time {
  font-size: 13px;
  color: #8e8e93;
}

@media (max-width: 720px) {
  /* line 13142, app/assets/stylesheets/application.scss */
  .perk-activity-sheet {
    max-width: none;
  }
}

/* line 13147, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

/* line 13154, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title h2 {
  display: inline-flex;
  align-items: center;
}

/* line 13159, app/assets/stylesheets/application.scss */
.perk-feed-title-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--perk-ink);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

/* line 13176, app/assets/stylesheets/application.scss */
.perk-feed-title-menu:hover,
.perk-feed-title-menu:focus {
  background: transparent;
  border: 0;
  color: #111;
  outline: none;
}

/* line 13184, app/assets/stylesheets/application.scss */
.perk-management-brand strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* line 13191, app/assets/stylesheets/application.scss */
.perk-management-brand:hover {
  color: var(--perk-ink);
}

/* line 13195, app/assets/stylesheets/application.scss */
.perk-management-brand img,
.perk-management-brand .perk-shape-logo {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
}

/* line 13206, app/assets/stylesheets/application.scss */
.perk-ai-hub-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  border: 1px solid #111;
  border-radius: 12px;
  padding: 0 14px 0 12px;
  background: #fff;
  color: #111;
  font-size: var(--text-footnote);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
}

/* line 13223, app/assets/stylesheets/application.scss */
.perk-ai-hub-button .perk-ai-hub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #111;
  line-height: 0;
}

/* line 13235, app/assets/stylesheets/application.scss */
.perk-ai-hub-button .perk-ai-hub-icon svg {
  display: block;
}

/* line 13239, app/assets/stylesheets/application.scss */
.perk-ai-hub-button:hover {
  background: #f4f5f7;
  border-color: #111;
  color: #111;
  transform: translateY(-1px);
}

/* line 13246, app/assets/stylesheets/application.scss */
.perk-safety-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  border: 1px solid #111;
  border-radius: 12px;
  padding: 0 14px 0 12px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
}

/* line 13262, app/assets/stylesheets/application.scss */
.perk-safety-button .perk-safety-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-size: 13px;
  line-height: 1;
}

/* line 13275, app/assets/stylesheets/application.scss */
.perk-safety-button:hover {
  background: #f4f5f7;
  border-color: #111;
  color: #111;
  transform: translateY(-1px);
}

/* line 13282, app/assets/stylesheets/application.scss */
.ai-characters-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* line 13292, app/assets/stylesheets/application.scss */
.ai-characters-overlay.hidden {
  display: none !important;
}

/* line 13296, app/assets/stylesheets/application.scss */
.ai-characters-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(10px);
}

/* line 13303, app/assets/stylesheets/application.scss */
.ai-characters-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  height: min(720px, calc(100vh - 48px));
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* line 13317, app/assets/stylesheets/application.scss */
.ai-characters-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #000;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 350ms ease, opacity 350ms ease;
  pointer-events: none;
}

/* line 13329, app/assets/stylesheets/application.scss */
.ai-characters-scene-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42) 78%), linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.48) 100%);
}

/* line 13339, app/assets/stylesheets/application.scss */
.ai-characters-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* line 13355, app/assets/stylesheets/application.scss */
.ai-characters-loading,
.ai-characters-empty {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 600;
}

/* line 13370, app/assets/stylesheets/application.scss */
.ai-characters-empty.hidden,
.ai-characters-loading.hidden {
  display: none;
}

/* line 13375, app/assets/stylesheets/application.scss */
.ai-characters-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 8px;
  padding: 56px 20px 120px;
  min-height: 0;
}

/* line 13387, app/assets/stylesheets/application.scss */
.ai-characters-stage.hidden {
  display: none;
}

/* line 13391, app/assets/stylesheets/application.scss */
.ai-characters-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

/* line 13399, app/assets/stylesheets/application.scss */
.ai-characters-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, background 150ms ease;
}

/* line 13413, app/assets/stylesheets/application.scss */
.ai-characters-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

/* line 13418, app/assets/stylesheets/application.scss */
.ai-characters-nav.hidden {
  visibility: hidden;
  pointer-events: none;
}

/* line 13423, app/assets/stylesheets/application.scss */
.ai-characters-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px;
  width: min(280px, 42vw);
  height: min(280px, 42vw);
}

/* line 13433, app/assets/stylesheets/application.scss */
.ai-characters-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* line 13439, app/assets/stylesheets/application.scss */
.ai-characters-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  animation: ai-characters-pulse 1.8s ease-in-out infinite;
}

/* line 13449, app/assets/stylesheets/application.scss */
.ai-characters-orbit span:nth-child(1) {
  width: calc(100% + 22px);
  height: calc(100% + 22px);
}

/* line 13454, app/assets/stylesheets/application.scss */
.ai-characters-orbit span:nth-child(2) {
  width: calc(100% + 44px);
  height: calc(100% + 44px);
  animation-delay: 0.35s;
}

/* line 13460, app/assets/stylesheets/application.scss */
.ai-characters-orbit span:nth-child(3) {
  width: calc(100% + 66px);
  height: calc(100% + 66px);
  animation-delay: 0.7s;
}

@keyframes ai-characters-pulse {
  0%, 100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

/* line 13471, app/assets/stylesheets/application.scss */
.ai-characters-avatar-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 160ms ease;
}

/* line 13486, app/assets/stylesheets/application.scss */
.ai-characters-avatar-wrap:hover {
  transform: scale(1.02);
}

/* line 13490, app/assets/stylesheets/application.scss */
.ai-characters-avatar-wrap:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

/* line 13495, app/assets/stylesheets/application.scss */
.ai-characters-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  background: #1a1d24;
  display: block;
}

/* line 13508, app/assets/stylesheets/application.scss */
.ai-characters-live-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
  background: transparent;
  pointer-events: none;
}

/* line 13522, app/assets/stylesheets/application.scss */
.ai-characters-live-video.is-empty {
  opacity: 0;
  visibility: hidden;
}

/* line 13527, app/assets/stylesheets/application.scss */
.ai-characters-meta {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

/* line 13533, app/assets/stylesheets/application.scss */
.ai-characters-identity {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* line 13542, app/assets/stylesheets/application.scss */
.ai-characters-identity strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* line 13549, app/assets/stylesheets/application.scss */
.ai-characters-identity span {
  font-size: 14px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.72);
}

/* line 13555, app/assets/stylesheets/application.scss */
.ai-characters-tagline {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

/* line 13563, app/assets/stylesheets/application.scss */
.ai-characters-description {
  margin: 0 auto 18px;
  max-width: 460px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 13575, app/assets/stylesheets/application.scss */
.ai-characters-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* line 13582, app/assets/stylesheets/application.scss */
.ai-characters-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 150ms ease;
}

/* line 13599, app/assets/stylesheets/application.scss */
.ai-characters-chat:hover {
  transform: translateY(-1px);
}

/* line 13603, app/assets/stylesheets/application.scss */
.ai-characters-talk {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 150ms ease, background 150ms ease;
  flex: 0 0 auto;
}

/* line 13619, app/assets/stylesheets/application.scss */
.ai-characters-talk svg {
  fill: currentColor;
  display: block;
}

/* line 13624, app/assets/stylesheets/application.scss */
.ai-characters-talk:hover {
  transform: translateY(-1px);
}

/* line 13628, app/assets/stylesheets/application.scss */
.ai-characters-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 400ms ease, transform 400ms ease;
  z-index: 2;
}

/* line 13643, app/assets/stylesheets/application.scss */
.ai-characters-strip.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* line 13649, app/assets/stylesheets/application.scss */
.ai-characters-strip.hidden {
  display: none;
}

/* line 13653, app/assets/stylesheets/application.scss */
.ai-characters-strip-inner {
  display: flex;
  gap: 12px;
  max-width: 100%;
  overflow-x: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  scrollbar-width: none;
}

/* line 13665, app/assets/stylesheets/application.scss */
.ai-characters-strip-inner::-webkit-scrollbar {
  display: none;
}

/* line 13669, app/assets/stylesheets/application.scss */
.ai-characters-strip-item {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 150ms ease, transform 150ms ease, border-color 150ms ease;
}

/* line 13682, app/assets/stylesheets/application.scss */
.ai-characters-strip-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* line 13690, app/assets/stylesheets/application.scss */
.ai-characters-strip-item.is-active {
  opacity: 1;
  border-color: #fff;
  transform: scale(1.08);
}

/* line 13696, app/assets/stylesheets/application.scss */
.ai-characters-strip-item:hover {
  opacity: 1;
}

@media (max-width: 720px) {
  /* line 13701, app/assets/stylesheets/application.scss */
  .ai-characters-overlay {
    padding: 12px;
  }
  /* line 13705, app/assets/stylesheets/application.scss */
  .ai-characters-panel {
    height: min(640px, calc(100vh - 24px));
    border-radius: 22px;
  }
  /* line 13710, app/assets/stylesheets/application.scss */
  .ai-characters-stage {
    grid-template-columns: 40px 1fr 40px;
    padding: 52px 8px 110px;
  }
  /* line 13715, app/assets/stylesheets/application.scss */
  .ai-characters-identity strong {
    font-size: 22px;
  }
  /* line 13719, app/assets/stylesheets/application.scss */
  .ai-characters-hero {
    width: min(210px, 52vw);
    height: min(210px, 52vw);
  }
  /* line 13724, app/assets/stylesheets/application.scss */
  .perk-safety-button {
    padding: 0 12px 0 6px;
  }
}

/* line 13729, app/assets/stylesheets/application.scss */
.ai-voice-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  color: #fff;
  overflow: hidden;
}

/* line 13742, app/assets/stylesheets/application.scss */
.ai-voice-overlay.hidden {
  display: none !important;
}

/* line 13746, app/assets/stylesheets/application.scss */
.ai-voice-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(56, 189, 248, 0.28), transparent 45%), radial-gradient(ellipse at 75% 70%, rgba(99, 102, 241, 0.28), transparent 50%), linear-gradient(160deg, #08101f 0%, #120a1c 45%, #06141a 100%);
  pointer-events: none;
}

/* line 13756, app/assets/stylesheets/application.scss */
.ai-voice-bg.has-scene {
  background-color: #000;
}

/* line 13760, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="listening"] .ai-voice-bg:not(.has-scene) {
  background: radial-gradient(ellipse at 40% 30%, rgba(34, 211, 238, 0.38), transparent 50%), linear-gradient(160deg, #06131c 0%, #0a1220 55%, #051018 100%);
}

/* line 13766, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="speaking"] .ai-voice-bg:not(.has-scene) {
  background: radial-gradient(ellipse at 50% 35%, rgba(52, 211, 153, 0.34), transparent 50%), linear-gradient(160deg, #071612 0%, #0c1520 55%, #06141a 100%);
}

/* line 13772, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="thinking"] .ai-voice-bg:not(.has-scene) {
  background: radial-gradient(ellipse at 55% 30%, rgba(167, 139, 250, 0.34), transparent 50%), linear-gradient(160deg, #120a1c 0%, #0c1022 55%, #0a0e18 100%);
}

/* line 13778, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="error"] .ai-voice-bg:not(.has-scene) {
  background: radial-gradient(ellipse at 50% 30%, rgba(248, 113, 113, 0.28), transparent 50%), linear-gradient(160deg, #1a0a0e 0%, #120a14 55%, #0a0e18 100%);
}

/* line 13784, app/assets/stylesheets/application.scss */
.ai-voice-top,
.ai-voice-stage,
.ai-voice-status-block,
.ai-voice-controls {
  position: relative;
  z-index: 1;
}

/* line 13792, app/assets/stylesheets/application.scss */
.ai-voice-top {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 13801, app/assets/stylesheets/application.scss */
.ai-voice-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 13808, app/assets/stylesheets/application.scss */
.ai-voice-identity strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

/* line 13814, app/assets/stylesheets/application.scss */
.ai-voice-identity span {
  font-size: 12px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.55);
}

/* line 13820, app/assets/stylesheets/application.scss */
.ai-voice-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 13833, app/assets/stylesheets/application.scss */
.ai-voice-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(220px, 52vw);
  height: min(220px, 52vw);
  margin: 24px auto 0;
}

/* line 13843, app/assets/stylesheets/application.scss */
.ai-voice-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: scale(var(--ai-voice-level, 1));
  transform-origin: center;
  transition: transform 0.12s ease-out;
}

/* line 13852, app/assets/stylesheets/application.scss */
.ai-voice-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.4px solid rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
  animation: ai-characters-pulse 1.8s ease-in-out infinite;
}

/* line 13862, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(1) {
  width: calc(100% + 28px);
  height: calc(100% + 28px);
}

/* line 13867, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(2) {
  width: calc(100% + 56px);
  height: calc(100% + 56px);
  animation-delay: 0.35s;
}

/* line 13873, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(3) {
  width: calc(100% + 84px);
  height: calc(100% + 84px);
  animation-delay: 0.7s;
}

/* line 13879, app/assets/stylesheets/application.scss */
.ai-voice-avatar-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 1;
}

/* line 13887, app/assets/stylesheets/application.scss */
.ai-voice-avatar,
.ai-voice-live-video {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: block;
  background: #1a1d24;
}

/* line 13899, app/assets/stylesheets/application.scss */
.ai-voice-live-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

/* line 13907, app/assets/stylesheets/application.scss */
.ai-voice-live-video.is-empty {
  opacity: 0;
  visibility: hidden;
}

/* line 13912, app/assets/stylesheets/application.scss */
.ai-voice-status-block {
  width: 100%;
  max-width: 520px;
  text-align: center;
  min-height: 96px;
  margin-top: 28px;
}

/* line 13920, app/assets/stylesheets/application.scss */
.ai-voice-status {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* line 13927, app/assets/stylesheets/application.scss */
.ai-voice-transcript {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

/* line 13935, app/assets/stylesheets/application.scss */
.ai-voice-tool {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.6);
}

/* line 13942, app/assets/stylesheets/application.scss */
.ai-voice-retry {
  margin: 14px auto 0;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* line 13954, app/assets/stylesheets/application.scss */
.ai-voice-retry:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* line 13958, app/assets/stylesheets/application.scss */
.ai-voice-privacy {
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.38);
}

/* line 13966, app/assets/stylesheets/application.scss */
.ai-voice-remote-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* line 13974, app/assets/stylesheets/application.scss */
.ai-voice-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: auto;
  padding-top: 24px;
}

/* line 13983, app/assets/stylesheets/application.scss */
.ai-voice-control {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 13997, app/assets/stylesheets/application.scss */
.ai-voice-control.is-muted {
  background: rgba(248, 113, 113, 0.28);
}

/* line 14001, app/assets/stylesheets/application.scss */
.ai-voice-hangup {
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(239, 68, 68, 0.35);
}

@media (max-width: 720px) {
  /* line 14017, app/assets/stylesheets/application.scss */
  .ai-voice-controls {
    gap: 28px;
  }
  /* line 14021, app/assets/stylesheets/application.scss */
  .ai-voice-hangup {
    width: 68px;
    height: 68px;
  }
}

/* line 14027, app/assets/stylesheets/application.scss */
.perk-language-menu,
.perk-account-menu {
  position: relative;
}

/* line 14032, app/assets/stylesheets/application.scss */
.perk-language-menu summary,
.perk-account-menu {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
}

/* line 14041, app/assets/stylesheets/application.scss */
.perk-language-menu summary::-webkit-details-marker {
  display: none;
}

/* line 14045, app/assets/stylesheets/application.scss */
.perk-language-menu summary {
  gap: 8px;
  height: 38px;
  border-radius: 12px;
  padding: 0 12px;
  color: #111;
  font-size: var(--text-footnote);
  font-weight: 800;
}

/* line 14055, app/assets/stylesheets/application.scss */
.perk-language-menu summary i,
.perk-language-menu summary span {
  color: #111;
}

/* line 14060, app/assets/stylesheets/application.scss */
.perk-language-menu summary:hover {
  background: #f3f4f6;
  color: #111;
}

/* line 14065, app/assets/stylesheets/application.scss */
.perk-account-menu {
  gap: 10px;
  min-width: 190px;
  border-radius: 15px;
  padding: 6px 9px;
}

/* line 14072, app/assets/stylesheets/application.scss */
.perk-account-menu:hover {
  background: var(--perk-field);
}

/* line 14076, app/assets/stylesheets/application.scss */
.perk-management-avatar {
  display: inline-flex;
  flex: 0 0 39px;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #17191d, #4b5563);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--perk-line);
}

/* line 14092, app/assets/stylesheets/application.scss */
.perk-management-avatar-sm {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 12px;
}

/* line 14099, app/assets/stylesheets/application.scss */
.perk-management-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 14105, app/assets/stylesheets/application.scss */
.perk-account-summary {
  min-width: 0;
}

/* line 14109, app/assets/stylesheets/application.scss */
.perk-account-summary strong,
.perk-account-summary small {
  display: block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 14118, app/assets/stylesheets/application.scss */
.perk-account-summary strong {
  color: var(--perk-ink);
  font-size: 15px;
}

/* line 14123, app/assets/stylesheets/application.scss */
.perk-account-summary small {
  margin-top: 2px;
  color: var(--perk-muted-soft);
  font-size: 12px;
}

/* line 14129, app/assets/stylesheets/application.scss */
.perk-management-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  overflow: hidden;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  background: var(--perk-surface);
  padding: 7px;
  box-shadow: var(--perk-shadow-lg);
}

/* line 14142, app/assets/stylesheets/application.scss */
.perk-management-menu a,
.perk-management-menu .button_to button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 10px 11px;
  color: var(--perk-ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

/* line 14159, app/assets/stylesheets/application.scss */
.perk-management-menu a:hover,
.perk-management-menu .button_to button:hover {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 14165, app/assets/stylesheets/application.scss */
.perk-management-menu a.active {
  background: var(--perk-ink);
  color: #fff;
}

/* line 14170, app/assets/stylesheets/application.scss */
.perk-account-options {
  min-width: 245px;
}

/* line 14174, app/assets/stylesheets/application.scss */
.perk-account-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1px 4px 6px;
  border-bottom: 1px solid var(--perk-line);
  padding: 8px 7px 12px;
}

/* line 14183, app/assets/stylesheets/application.scss */
.perk-account-menu-head > div {
  min-width: 0;
}

/* line 14187, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong,
.perk-account-menu-head span {
  display: block;
}

/* line 14192, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong {
  font-size: 13px;
}

/* line 14196, app/assets/stylesheets/application.scss */
.perk-account-menu-head span {
  margin-top: 2px;
  color: #858c96;
  font-size: 10px;
}

/* line 14202, app/assets/stylesheets/application.scss */
.perk-account-options .button_to {
  margin: 0;
  border-top: 1px solid #eceef1;
  padding-top: 6px;
}

/* line 14208, app/assets/stylesheets/application.scss */
.perk-account-options .perk-menu-logout {
  color: #d14343;
}

/* line 14212, app/assets/stylesheets/application.scss */
.perk-login-link,
.perk-signup-button,
.perk-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: var(--perk-radius-pill);
  padding: 0 17px;
  font-size: var(--text-footnote);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

/* line 14228, app/assets/stylesheets/application.scss */
.perk-login-link {
  color: var(--perk-ink-soft);
}

/* line 14232, app/assets/stylesheets/application.scss */
.perk-login-link:hover {
  color: var(--perk-ink);
  background: var(--perk-field);
}

/* line 14237, app/assets/stylesheets/application.scss */
.perk-signup-button,
.perk-login-button {
  border: 0;
  background: var(--perk-ink);
  color: #fff;
}

/* line 14244, app/assets/stylesheets/application.scss */
.perk-signup-button:hover {
  background: var(--perk-ink-soft);
  color: #fff;
  transform: translateY(-1px);
}

/* Split-screen auth — Facebook-style login / register layout */
/* line 14251, app/assets/stylesheets/application.scss */
.perk-auth-page {
  --perk-auth-ink: var(--perk-ink);
  --perk-auth-muted: var(--perk-muted);
  --perk-auth-line: var(--perk-line);
  --perk-auth-field: var(--perk-field);
  background: var(--perk-surface);
  color: var(--perk-auth-ink);
}

/* line 14260, app/assets/stylesheets/application.scss */
.perk-auth-page-content {
  min-height: 100vh;
}

/* line 14264, app/assets/stylesheets/application.scss */
.perk-auth-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(1100px 480px at 12% 8%, rgba(23, 25, 29, 0.04), transparent 58%), radial-gradient(900px 420px at 88% 0%, rgba(23, 25, 29, 0.03), transparent 55%), #fff;
  color: var(--perk-auth-ink);
}

/* line 14275, app/assets/stylesheets/application.scss */
.perk-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  flex: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 56px);
}

/* line 14284, app/assets/stylesheets/application.scss */
.perk-auth-brand-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 48px 48px;
  border-right: 1px solid var(--perk-auth-line);
  overflow: hidden;
}

/* line 14294, app/assets/stylesheets/application.scss */
.perk-auth-home {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* line 14307, app/assets/stylesheets/application.scss */
.perk-auth-logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
}

/* line 14315, app/assets/stylesheets/application.scss */
.perk-auth-scene {
  position: relative;
  flex: 1;
  width: min(100%, 440px);
  margin: 20px auto;
  min-height: 360px;
}

/* line 14323, app/assets/stylesheets/application.scss */
.perk-auth-scene-card {
  position: absolute;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--perk-auth-line);
  box-shadow: 0 14px 34px rgba(23, 25, 29, 0.08);
  color: var(--perk-auth-ink);
  animation: perk-auth-float 7s ease-in-out infinite;
}

/* line 14333, app/assets/stylesheets/application.scss */
.perk-auth-scene-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
}

/* line 14342, app/assets/stylesheets/application.scss */
.perk-auth-scene-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #17191d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

/* line 14355, app/assets/stylesheets/application.scss */
.perk-auth-scene-live {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  animation: perk-auth-pulse 1.8s ease-in-out infinite;
}

/* line 14365, app/assets/stylesheets/application.scss */
.perk-auth-scene-ai {
  top: 6%;
  left: 0;
  width: 230px;
  padding: 14px;
  z-index: 4;
}

/* line 14373, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.4;
}

/* line 14381, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-user {
  margin-left: 18px;
  background: var(--perk-auth-field);
}

/* line 14386, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-ai {
  margin-right: 12px;
  background: #eef1f4;
}

/* line 14391, app/assets/stylesheets/application.scss */
.perk-auth-scene-feed {
  top: 4%;
  right: 0;
  width: 168px;
  padding: 14px;
  z-index: 3;
  animation-delay: -1.8s;
}

/* line 14400, app/assets/stylesheets/application.scss */
.perk-auth-scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #17191d;
}

/* line 14407, app/assets/stylesheets/application.scss */
.perk-auth-scene-people {
  display: flex;
  margin: 2px 0 10px;
}

/* line 14412, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span {
  width: 22px;
  height: 22px;
  margin-right: -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7dbe2, #9aa3af);
}

/* line 14421, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(2) {
  background: linear-gradient(145deg, #c7d2fe, #94a3b8);
}

/* line 14425, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(3) {
  background: linear-gradient(145deg, #cbd5e1, #64748b);
}

/* line 14429, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows {
  display: grid;
  gap: 8px;
}

/* line 14434, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div {
  height: 9px;
  border-radius: 999px;
  background: #e8eaee;
}

/* line 14440, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div.is-short {
  width: 62%;
}

/* line 14444, app/assets/stylesheets/application.scss */
.perk-auth-scene-apps {
  bottom: 18%;
  left: 18%;
  width: 176px;
  padding: 14px;
  z-index: 5;
  animation-delay: -3.4s;
}

/* line 14453, app/assets/stylesheets/application.scss */
.perk-auth-scene-grid-icon {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #17191d;
  box-shadow: 6px 0 0 #9aa3af, 0 6px 0 #9aa3af, 6px 6px 0 #cbd5e1;
}

/* line 14461, app/assets/stylesheets/application.scss */
.perk-auth-scene-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* line 14467, app/assets/stylesheets/application.scss */
.perk-auth-scene-app-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--perk-auth-field);
  color: #30353c;
  font-size: 13px;
}

/* line 14478, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--perk-auth-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 25, 29, 0.08);
  color: #30353c;
  font-size: 11px;
  font-weight: 800;
  animation: perk-auth-pulse 3.8s ease-in-out infinite;
}

/* line 14495, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge i {
  font-size: 11px;
}

/* line 14499, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-social {
  right: 8%;
  bottom: 28%;
}

/* line 14504, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-companion {
  left: 4%;
  bottom: 8%;
  animation-delay: -1.5s;
}

/* line 14510, app/assets/stylesheets/application.scss */
.perk-auth-slogan {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 11ch;
  font-family: inherit;
  font-size: clamp(42px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--perk-auth-ink);
  animation: perk-auth-rise 700ms ease-out both;
}

/* line 14524, app/assets/stylesheets/application.scss */
.perk-auth-slogan span {
  color: #30353c;
}

/* line 14528, app/assets/stylesheets/application.scss */
.perk-auth-form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 48px;
  position: relative;
}

/* line 14536, app/assets/stylesheets/application.scss */
.perk-auth-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 396px;
  min-height: 520px;
}

/* line 14545, app/assets/stylesheets/application.scss */
.perk-auth-alert,
.perk-auth-errors {
  display: none;
}

/* line 14550, app/assets/stylesheets/application.scss */
.perk-auth-status {
  position: relative;
  z-index: 5;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--perk-auth-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

/* line 14565, app/assets/stylesheets/application.scss */
.perk-auth-status.is-error {
  background: transparent;
  color: var(--perk-auth-muted);
}

/* line 14570, app/assets/stylesheets/application.scss */
.perk-auth-methods {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

/* line 14579, app/assets/stylesheets/application.scss */
.perk-auth-methods-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  width: 100%;
}

/* line 14587, app/assets/stylesheets/application.scss */
.perk-auth-heading {
  margin: 0 0 4px;
  color: var(--perk-auth-ink);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}

/* line 14597, app/assets/stylesheets/application.scss */
.perk-auth-download-copy {
  margin: 0 0 8px;
  color: var(--perk-auth-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* line 14604, app/assets/stylesheets/application.scss */
.perk-auth-download-gate {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

/* line 14614, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-download-gate,
.perk-auth-methods:not(.perk-auth-methods-desktop) .perk-auth-download-gate {
  display: flex;
}

/* line 14619, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-login-gate {
  display: none !important;
}

@media (max-width: 640px) {
  /* line 14624, app/assets/stylesheets/application.scss */
  .perk-auth-methods-desktop .perk-auth-download-gate {
    display: flex;
  }
  /* line 14628, app/assets/stylesheets/application.scss */
  .perk-auth-methods-desktop .perk-auth-login-gate {
    display: none !important;
  }
}

/* line 14633, app/assets/stylesheets/application.scss */
.perk-auth-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

/* line 14641, app/assets/stylesheets/application.scss */
.perk-auth-social,
.perk-auth-alt,
.perk-auth-secondary,
.perk-auth-switch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

/* line 14659, app/assets/stylesheets/application.scss */
.perk-auth-social {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

/* line 14665, app/assets/stylesheets/application.scss */
.perk-auth-social-solid {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 14671, app/assets/stylesheets/application.scss */
.perk-auth-social:hover,
.perk-auth-secondary:hover,
.perk-auth-switch-cta:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: #111;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* line 14680, app/assets/stylesheets/application.scss */
.perk-auth-social-solid:hover {
  background: #30343a;
  border-color: #30343a;
  color: #fff;
}

/* line 14686, app/assets/stylesheets/application.scss */
.perk-auth-actions .perk-auth-social:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* line 14693, app/assets/stylesheets/application.scss */
.perk-auth-social svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* line 14699, app/assets/stylesheets/application.scss */
.perk-auth-social-apple svg {
  color: #111;
}

/* line 14703, app/assets/stylesheets/application.scss */
.perk-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 2px 0;
  color: var(--perk-auth-muted);
  font-size: 13px;
}

/* line 14713, app/assets/stylesheets/application.scss */
.perk-auth-divider::before,
.perk-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--perk-auth-line);
}

/* line 14721, app/assets/stylesheets/application.scss */
.perk-auth-secondary,
.perk-auth-switch-cta {
  border: 1px solid #dfe2e6;
  background: #fff;
  color: #30353c;
}

/* line 14728, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta {
  margin-top: 8px;
}

/* line 14732, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta:hover {
  background: #f4f5f7;
  color: #111;
}

/* line 14737, app/assets/stylesheets/application.scss */
.perk-auth-legal {
  margin: 0 auto;
  max-width: 340px;
  color: var(--perk-auth-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

/* line 14746, app/assets/stylesheets/application.scss */
.perk-auth-legal a {
  color: var(--perk-auth-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 14753, app/assets/stylesheets/application.scss */
.perk-auth-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px auto 0;
  color: var(--perk-auth-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 14765, app/assets/stylesheets/application.scss */
.perk-auth-meta-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: transparent;
}

/* line 14772, app/assets/stylesheets/application.scss */
.perk-auth-panel-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: var(--perk-auth-ink);
  background: transparent;
  padding: 0;
}

/* line 14781, app/assets/stylesheets/application.scss */
.perk-auth-panel-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 24px;
  text-align: left;
}

/* line 14790, app/assets/stylesheets/application.scss */
.perk-auth-panel-view h2 {
  margin: 0;
  color: var(--perk-auth-ink);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* line 14799, app/assets/stylesheets/application.scss */
.perk-auth-panel-copy {
  margin: 0;
  max-width: 360px;
  color: var(--perk-auth-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 14807, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero {
  align-items: center;
  text-align: center;
  width: 100%;
}

/* line 14813, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero .perk-auth-panel-copy {
  max-width: 320px;
  text-align: center;
}

/* line 14818, app/assets/stylesheets/application.scss */
.perk-auth-otp-form {
  flex: 1;
}

/* line 14822, app/assets/stylesheets/application.scss */
.perk-auth-otp-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* line 14829, app/assets/stylesheets/application.scss */
.perk-auth-panel-view .perk-auth-otp-digit,
.perk-auth-otp-digit {
  width: 44px;
  min-width: 44px;
  height: 56px;
  padding: 0 !important;
  border: 0;
  border-radius: 12px;
  background: #f2f2f7;
  color: var(--perk-auth-ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  outline: 0;
  caret-color: var(--perk-auth-ink);
}

/* line 14847, app/assets/stylesheets/application.scss */
.perk-auth-otp-digit:focus {
  background: #e8e8ed;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.18);
}

/* line 14852, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer {
  margin: 12px 0 0;
  color: #8a8a8e;
  font-size: 13px;
  text-align: center;
}

/* line 14859, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer.is-expired {
  color: #dc2626;
}

/* line 14863, app/assets/stylesheets/application.scss */
.perk-auth-otp-resend {
  display: block;
  margin: 10px auto 0;
  border: 0;
  background: transparent;
  color: var(--perk-auth-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* line 14875, app/assets/stylesheets/application.scss */
.perk-auth-otp-resend.is-hidden {
  display: none !important;
}

/* line 14879, app/assets/stylesheets/application.scss */
.perk-auth-otp-form .perk-auth-submit:disabled {
  background: #9ca3af;
  cursor: default;
  opacity: 1;
}

/* line 14885, app/assets/stylesheets/application.scss */
.perk-auth-form .perk-auth-submit {
  margin-top: 4px;
}

/* line 14889, app/assets/stylesheets/application.scss */
.perk-auth-field {
  position: relative;
}

/* line 14893, app/assets/stylesheets/application.scss */
.perk-auth-panel-view .perk-auth-field input[type="email"],
.perk-auth-panel-view .perk-auth-field input[type="password"],
.perk-auth-panel-view .perk-auth-field input[type="text"]:not(.perk-auth-otp-digit),
.perk-auth-panel-view .perk-auth-field input[type="tel"],
.perk-auth-panel-view .perk-auth-field input[type="date"] {
  width: 100%;
  height: 52px;
  border: 1px solid var(--perk-auth-line);
  border-radius: 14px;
  outline: 0;
  background: #fff;
  padding: 0 48px 0 16px;
  color: var(--perk-auth-ink);
  font-size: 16px;
  font-weight: 500;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}

/* line 14911, app/assets/stylesheets/application.scss */
.perk-auth-panel-view .perk-auth-field input:focus {
  border-color: #17191d;
  box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.08);
}

/* line 14916, app/assets/stylesheets/application.scss */
.perk-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #8c929b;
  transform: translateY(-50%);
  cursor: pointer;
}

/* line 14933, app/assets/stylesheets/application.scss */
.perk-password-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* line 14937, app/assets/stylesheets/application.scss */
.perk-auth-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #17191d;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 150ms ease, opacity 150ms ease;
}

/* line 14950, app/assets/stylesheets/application.scss */
.perk-auth-submit:hover {
  background: #30343a;
}

/* line 14954, app/assets/stylesheets/application.scss */
.perk-auth-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* line 14959, app/assets/stylesheets/application.scss */
.perk-auth-back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
  color: var(--perk-auth-ink);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

/* line 14974, app/assets/stylesheets/application.scss */
.perk-auth-switch-link,
.perk-auth-forgot {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--perk-auth-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

/* line 14988, app/assets/stylesheets/application.scss */
.perk-auth-forgot {
  margin-top: 4px;
  text-decoration: none;
}

/* line 14993, app/assets/stylesheets/application.scss */
.perk-auth-forgot:hover,
.perk-auth-switch-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 14999, app/assets/stylesheets/application.scss */
.perk-auth-phone-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  align-items: stretch;
  padding: 6px;
  border: 1px solid var(--perk-auth-line);
  border-radius: 14px;
  background: #fff;
}

/* line 15010, app/assets/stylesheets/application.scss */
.perk-auth-phone-row select {
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 0 10px;
  color: var(--perk-auth-ink);
  font-size: 15px;
  font-weight: 500;
}

/* line 15021, app/assets/stylesheets/application.scss */
.perk-auth-phone-field {
  margin: 0;
}

/* line 15025, app/assets/stylesheets/application.scss */
.perk-auth-phone-field input {
  padding-right: 18px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* line 15032, app/assets/stylesheets/application.scss */
.perk-auth-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* line 15044, app/assets/stylesheets/application.scss */
.perk-auth-stage.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

/* line 15049, app/assets/stylesheets/application.scss */
.perk-auth-stage .is-hidden {
  display: none !important;
}

/* line 15053, app/assets/stylesheets/application.scss */
#perk-firebase-recaptcha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* line 15062, app/assets/stylesheets/application.scss */
.perk-auth-footer {
  border-top: 1px solid var(--perk-auth-line);
  padding: 14px 24px 18px;
  background: #fff;
}

/* line 15068, app/assets/stylesheets/application.scss */
.perk-auth-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

/* line 15078, app/assets/stylesheets/application.scss */
.perk-auth-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-start;
  margin: 0;
}

/* line 15086, app/assets/stylesheets/application.scss */
.perk-auth-langs a {
  color: var(--perk-auth-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

/* line 15093, app/assets/stylesheets/application.scss */
.perk-auth-langs a.is-active,
.perk-auth-langs a:hover {
  color: var(--perk-auth-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 15100, app/assets/stylesheets/application.scss */
.perk-auth-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  margin-left: auto;
  margin-right: 8px;
  color: var(--perk-auth-muted);
  font-size: 12px;
  font-weight: 500;
}

/* line 15113, app/assets/stylesheets/application.scss */
.perk-auth-legal-links a {
  color: var(--perk-auth-muted);
  text-decoration: none;
}

/* line 15118, app/assets/stylesheets/application.scss */
.perk-auth-legal-links a:hover {
  color: var(--perk-auth-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes perk-auth-float {
  0%,
100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes perk-auth-pulse {
  0%,
100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes perk-auth-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  /* line 15156, app/assets/stylesheets/application.scss */
  .perk-auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* line 15161, app/assets/stylesheets/application.scss */
  .perk-auth-brand-pane {
    min-height: 280px;
    padding: 24px 24px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--perk-auth-line);
  }
  /* line 15168, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 72px;
    height: 72px;
  }
  /* line 15174, app/assets/stylesheets/application.scss */
  .perk-auth-scene {
    min-height: 280px;
    margin: 12px auto 8px;
  }
  /* line 15179, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 200px;
  }
  /* line 15183, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 148px;
  }
  /* line 15187, app/assets/stylesheets/application.scss */
  .perk-auth-slogan {
    font-size: clamp(34px, 8vw, 48px);
  }
  /* line 15191, app/assets/stylesheets/application.scss */
  .perk-auth-form-pane {
    padding: 28px 20px 36px;
  }
}

@media (max-width: 640px) {
  /* line 15197, app/assets/stylesheets/application.scss */
  .perk-management-inner {
    padding: 0 16px;
  }
  /* line 15201, app/assets/stylesheets/application.scss */
  .perk-management-left,
.perk-management-right {
    gap: var(--perk-space-3);
  }
  /* line 15206, app/assets/stylesheets/application.scss */
  .perk-management-brand strong,
.perk-management-brand-name,
.perk-account-summary {
    display: none;
  }
  /* line 15212, app/assets/stylesheets/application.scss */
  .perk-language-menu summary span {
    display: none;
  }
  /* line 15216, app/assets/stylesheets/application.scss */
  .perk-account-menu {
    min-width: 0;
    padding: 4px;
  }
  /* line 15221, app/assets/stylesheets/application.scss */
  .perk-ai-hub-button {
    margin-left: -6px;
  }
  /* line 15225, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    margin-right: 0;
  }
  /* line 15229, app/assets/stylesheets/application.scss */
  .perk-safety-button {
    font-size: 0;
    padding: 0 8px 0 6px;
    gap: 0;
  }
  /* line 15235, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    font-size: 11px;
  }
  /* line 15239, app/assets/stylesheets/application.scss */
  .perk-auth-brand-pane {
    min-height: 0;
    padding: 16px 16px 6px;
  }
  /* line 15244, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 56px;
    height: 56px;
  }
  /* line 15250, app/assets/stylesheets/application.scss */
  .perk-auth-scene {
    width: min(100%, 300px);
    min-height: 200px;
    margin: 4px auto 0;
  }
  /* line 15256, app/assets/stylesheets/application.scss */
  .perk-auth-scene-card {
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(23, 25, 29, 0.07);
    animation-duration: 6.5s;
  }
  /* line 15262, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 148px;
    padding: 10px;
  }
  /* line 15267, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 112px;
    padding: 10px;
  }
  /* line 15272, app/assets/stylesheets/application.scss */
  .perk-auth-scene-apps {
    width: 120px;
    padding: 10px;
    bottom: 14%;
    left: 12%;
  }
  /* line 15279, app/assets/stylesheets/application.scss */
  .perk-auth-scene-head {
    gap: 6px;
    margin-bottom: 6px;
    font-size: 10px;
  }
  /* line 15285, app/assets/stylesheets/application.scss */
  .perk-auth-scene-avatar {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }
  /* line 15291, app/assets/stylesheets/application.scss */
  .perk-auth-scene-live {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
  }
  /* line 15297, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 9px;
  }
  /* line 15304, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-user {
    margin-left: 10px;
  }
  /* line 15308, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-ai {
    margin-right: 6px;
  }
  /* line 15312, app/assets/stylesheets/application.scss */
  .perk-auth-scene-dot {
    width: 8px;
    height: 8px;
  }
  /* line 15317, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people {
    margin: 0 0 8px;
  }
  /* line 15321, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people span {
    width: 16px;
    height: 16px;
    margin-right: -5px;
  }
  /* line 15327, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows {
    gap: 6px;
  }
  /* line 15331, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows > div {
    height: 7px;
  }
  /* line 15335, app/assets/stylesheets/application.scss */
  .perk-auth-scene-grid-icon {
    width: 8px;
    height: 8px;
    box-shadow: 5px 0 0 #9aa3af, 0 5px 0 #9aa3af, 5px 5px 0 #cbd5e1;
  }
  /* line 15341, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid {
    gap: 5px;
  }
  /* line 15345, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid span {
    border-radius: 8px;
    font-size: 10px;
  }
  /* line 15350, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge {
    padding: 6px 9px;
    gap: 5px;
    font-size: 9px;
    box-shadow: 0 8px 18px rgba(23, 25, 29, 0.07);
  }
  /* line 15357, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge i {
    font-size: 9px;
  }
  /* line 15361, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-social {
    right: 4%;
    bottom: 26%;
  }
  /* line 15366, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-companion {
    left: 2%;
    bottom: 6%;
  }
  /* line 15371, app/assets/stylesheets/application.scss */
  .perk-auth-slogan {
    margin-top: 8px;
    max-width: none;
    font-size: clamp(28px, 9vw, 40px);
  }
  @keyframes perk-auth-float {
    0%,
100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }
  /* line 15387, app/assets/stylesheets/application.scss */
  .perk-auth-stage {
    min-height: 0;
  }
  /* line 15391, app/assets/stylesheets/application.scss */
  .perk-auth-heading,
.perk-auth-panel-view h2 {
    font-size: 24px;
  }
  /* line 15396, app/assets/stylesheets/application.scss */
  .perk-auth-footer {
    padding: 12px 18px 20px;
  }
  /* line 15400, app/assets/stylesheets/application.scss */
  .perk-auth-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  /* line 15405, app/assets/stylesheets/application.scss */
  .perk-auth-legal-links {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}

/* line 15412, app/assets/stylesheets/application.scss */
.perk-feed-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 15419, app/assets/stylesheets/application.scss */
.perk-inline-action {
  display: inline-flex;
  margin-top: 3px;
  border-radius: 999px;
  background: #17191d;
  padding: 8px 14px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

/* line 15431, app/assets/stylesheets/application.scss */
.perk-inline-action:hover {
  color: #fff;
}

/* line 15435, app/assets/stylesheets/application.scss */
.perk-api-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eef8f2;
  color: #22a45d;
}

/* line 15446, app/assets/stylesheets/application.scss */
.perk-setup-shell {
  min-height: calc(100vh - 56px);
  display: flex;
  justify-content: center;
  padding: 28px 16px 64px;
  background: radial-gradient(900px 420px at 12% 0%, rgba(23, 25, 29, 0.05), transparent 55%), radial-gradient(700px 360px at 90% 10%, rgba(23, 25, 29, 0.03), transparent 50%), #f4f5f7;
  color: #17191d;
}

/* line 15458, app/assets/stylesheets/application.scss */
.perk-setup-card {
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 22px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.08);
  box-shadow: 0 18px 40px rgba(23, 25, 29, 0.08);
}

/* line 15470, app/assets/stylesheets/application.scss */
.perk-setup-back,
.perk-setup-back-form {
  align-self: flex-start;
}

/* line 15475, app/assets/stylesheets/application.scss */
.perk-setup-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #17191d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 0;
  cursor: pointer;
}

/* line 15489, app/assets/stylesheets/application.scss */
.perk-setup-progress {
  display: flex;
  gap: 6px;
}

/* line 15494, app/assets/stylesheets/application.scss */
.perk-setup-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e7e8eb;
}

/* line 15501, app/assets/stylesheets/application.scss */
.perk-setup-progress span.is-active,
.perk-setup-progress span.is-done {
  background: #17191d;
}

/* line 15506, app/assets/stylesheets/application.scss */
.perk-setup-header h1,
.perk-setup-header-center h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* line 15515, app/assets/stylesheets/application.scss */
.perk-setup-header p,
.perk-setup-header-center p {
  margin: 0;
  color: #667085;
  font-size: 0.98rem;
  line-height: 1.45;
}

/* line 15523, app/assets/stylesheets/application.scss */
.perk-setup-header-center {
  text-align: center;
}

/* line 15527, app/assets/stylesheets/application.scss */
.perk-setup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 15533, app/assets/stylesheets/application.scss */
.perk-setup-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.08);
  box-shadow: 0 8px 18px rgba(23, 25, 29, 0.04);
}

/* line 15544, app/assets/stylesheets/application.scss */
.perk-setup-field > label,
.perk-setup-birthday-row label > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #344054;
}

/* line 15551, app/assets/stylesheets/application.scss */
.perk-setup-field input,
.perk-setup-birthday-row select {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f2f4f7;
  padding: 0 12px;
  color: #17191d;
  font-size: 1rem;
}

/* line 15563, app/assets/stylesheets/application.scss */
.perk-setup-field small,
.perk-setup-form > small {
  color: #667085;
  font-size: 0.82rem;
}

/* line 15569, app/assets/stylesheets/application.scss */
.perk-setup-handle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  background: #f2f4f7;
}

/* line 15579, app/assets/stylesheets/application.scss */
.perk-setup-handle span {
  color: #667085;
  font-weight: 700;
}

/* line 15584, app/assets/stylesheets/application.scss */
.perk-setup-handle input {
  height: 100%;
  padding: 0;
  background: transparent;
}

/* line 15590, app/assets/stylesheets/application.scss */
.perk-setup-status {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.82rem;
}

/* line 15596, app/assets/stylesheets/application.scss */
.perk-setup-status.is-hidden {
  display: none;
}

/* line 15600, app/assets/stylesheets/application.scss */
.perk-setup-status.is-ok {
  color: #12b76a;
}

/* line 15604, app/assets/stylesheets/application.scss */
.perk-setup-status.is-error {
  color: #d92d20;
}

/* line 15608, app/assets/stylesheets/application.scss */
.perk-setup-status.is-checking {
  color: #667085;
}

/* line 15612, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 10px;
}

/* line 15618, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 15624, app/assets/stylesheets/application.scss */
.perk-setup-confirm {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(23, 25, 29, 0.08);
}

/* line 15631, app/assets/stylesheets/application.scss */
.perk-setup-confirm strong {
  display: block;
  margin-bottom: 4px;
}

/* line 15636, app/assets/stylesheets/application.scss */
.perk-setup-confirm p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
}

/* line 15642, app/assets/stylesheets/application.scss */
.perk-setup-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: #17191d;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

/* line 15654, app/assets/stylesheets/application.scss */
.perk-setup-submit:disabled {
  background: #98a2b3;
  cursor: not-allowed;
}

/* line 15659, app/assets/stylesheets/application.scss */
.perk-setup-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 15665, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell,
.perk-setup-photo-add {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}

/* line 15673, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 15679, app/assets/stylesheets/application.scss */
.perk-setup-photo-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 15695, app/assets/stylesheets/application.scss */
.perk-setup-photo-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 2px dashed #98a2b3;
  background: #fff;
  color: #98a2b3;
  font-size: 1.6rem;
  cursor: pointer;
}

/* line 15707, app/assets/stylesheets/application.scss */
.perk-setup-photo-add-form {
  margin: 0;
}

/* line 15711, app/assets/stylesheets/application.scss */
.perk-setup-photo-count {
  margin: 0;
  text-align: center;
  font-weight: 700;
}

/* line 15717, app/assets/stylesheets/application.scss */
.perk-setup-companion-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 25, 29, 0.08);
}

/* line 15728, app/assets/stylesheets/application.scss */
.perk-setup-companion-preview,
.perk-setup-companion-preview img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 15736, app/assets/stylesheets/application.scss */
.perk-setup-companion-camera {
  position: absolute;
  top: 108px;
  right: calc(50% - 70px);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #17191d;
  color: #fff;
  cursor: pointer;
}

/* line 15749, app/assets/stylesheets/application.scss */
.perk-setup-text-btn {
  border: 0;
  background: transparent;
  color: #17191d;
  font-weight: 700;
  cursor: pointer;
}

/* line 15757, app/assets/stylesheets/application.scss */
.perk-setup-creating {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 25, 29, 0.45);
  backdrop-filter: blur(4px);
}

/* line 15769, app/assets/stylesheets/application.scss */
.perk-setup-creating.hidden {
  display: none;
}

/* line 15773, app/assets/stylesheets/application.scss */
.perk-setup-creating-card {
  width: min(100%, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 25, 29, 0.18);
  text-align: center;
}

/* line 15786, app/assets/stylesheets/application.scss */
.perk-setup-creating-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* line 15791, app/assets/stylesheets/application.scss */
.perk-setup-creating-card p {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* line 15798, app/assets/stylesheets/application.scss */
.perk-setup-creating-spinner {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: 3px solid #e7e8eb;
  border-top-color: #17191d;
  animation: perk-setup-spin 0.8s linear infinite;
}

@keyframes perk-setup-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 15812, app/assets/stylesheets/application.scss */
.perk-setup-shell.is-creating-companion {
  pointer-events: none;
}

/* line 15816, app/assets/stylesheets/application.scss */
.perk-setup-accept-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 28px;
  background: linear-gradient(160deg, #fff 0%, #f2f4f7 100%);
  border: 1px solid rgba(23, 25, 29, 0.08);
  color: #17191d;
  font-size: 2rem;
}

/* line 15830, app/assets/stylesheets/application.scss */
.perk-setup-legal {
  margin: 0;
  text-align: center;
  color: #667085;
  font-size: 0.86rem;
}

/* line 15837, app/assets/stylesheets/application.scss */
.perk-setup-legal a {
  color: #17191d;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 640px) {
  /* line 15844, app/assets/stylesheets/application.scss */
  .perk-setup-shell {
    padding: 12px 10px 40px;
    background: #fff;
  }
  /* line 15849, app/assets/stylesheets/application.scss */
  .perk-setup-card {
    width: 100%;
    padding: 8px 4px 20px;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  /* line 15857, app/assets/stylesheets/application.scss */
  .perk-setup-birthday-row {
    grid-template-columns: 1fr;
  }
}

/* line 15862, app/assets/stylesheets/application.scss */
.perk-ios-profile {
  min-height: calc(100vh - 56px);
  background: #fff;
  color: #111;
  padding: 18px 0 80px;
}

/* line 15869, app/assets/stylesheets/application.scss */
.perk-ios-profile-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* line 15876, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 18px;
}

/* line 15883, app/assets/stylesheets/application.scss */
.perk-ios-profile-back,
.perk-ios-qr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #111;
  text-decoration: none;
}

/* line 15894, app/assets/stylesheets/application.scss */
.perk-ios-profile-back {
  width: 28px;
  height: 28px;
}

/* line 15899, app/assets/stylesheets/application.scss */
.perk-ios-qr-btn {
  justify-self: end;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}

/* line 15908, app/assets/stylesheets/application.scss */
.perk-ios-qr-btn:hover {
  background: #f2f2f7;
}

/* line 15912, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 650;
}

/* line 15919, app/assets/stylesheets/application.scss */
.perk-profile-notice {
  margin-bottom: 14px;
  border: 1px solid #bfe7cf;
  border-radius: 14px;
  background: #effaf3;
  padding: 12px 15px;
  color: #227a46;
  font-size: 12px;
}

/* line 15929, app/assets/stylesheets/application.scss */
.perk-ios-profile .perk-auth-alert {
  margin-bottom: 14px;
  border: 1px solid #f2cccc;
  border-radius: 14px;
  background: #fff2f2;
  padding: 12px 15px;
  color: #a43131;
  backdrop-filter: none;
}

/* line 15939, app/assets/stylesheets/application.scss */
.perk-ios-profile-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* line 15945, app/assets/stylesheets/application.scss */
.perk-ios-profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 15951, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar {
  position: relative;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  overflow: visible;
  color: #8e8e93;
}

/* line 15960, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f2f7;
  color: inherit;
}

/* line 15972, app/assets/stylesheets/application.scss */
button.perk-ios-profile-avatar-image {
  cursor: pointer;
}

/* line 15976, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar-image img,
.perk-ios-profile-avatar-image i {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 15984, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar-image i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
}

/* line 15991, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera {
  position: absolute;
  right: -2px;
  bottom: -2px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* line 16010, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera i {
  font-size: 10px;
  line-height: 1;
}

/* line 16015, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera:hover {
  background: #30343a;
}

/* line 16019, app/assets/stylesheets/application.scss */
.perk-ios-profile-identity {
  min-width: 0;
  flex: 1;
}

/* line 16024, app/assets/stylesheets/application.scss */
.perk-ios-profile-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 16030, app/assets/stylesheets/application.scss */
.perk-ios-profile-name-row strong {
  overflow: hidden;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16039, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e8e93;
}

/* line 16047, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot.is-active {
  background: #34c759;
}

/* line 16051, app/assets/stylesheets/application.scss */
.perk-ios-friends-pill {
  display: inline-flex;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 4px 10px;
  color: #111;
  font-size: 12px;
  font-weight: 500;
}

/* line 16062, app/assets/stylesheets/application.scss */
.perk-ios-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

/* line 16070, app/assets/stylesheets/application.scss */
.perk-ios-qr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* line 16084, app/assets/stylesheets/application.scss */
.perk-ios-qr-chip i {
  font-size: 11px;
}

/* line 16088, app/assets/stylesheets/application.scss */
.perk-ios-profile-actions {
  display: flex;
  flex: 0 0 96px;
  flex-direction: column;
  gap: 6px;
  width: 96px;
}

/* line 16096, app/assets/stylesheets/application.scss */
.perk-ios-credit-btn,
.perk-ios-upgrade-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* line 16110, app/assets/stylesheets/application.scss */
.perk-ios-credit-btn {
  background: #faf5e6;
  color: #111;
}

/* line 16115, app/assets/stylesheets/application.scss */
.perk-ios-credit-btn i {
  color: #d4a017;
  font-size: 11px;
}

/* line 16120, app/assets/stylesheets/application.scss */
.perk-ios-upgrade-btn {
  background: #111;
  color: #fff;
}

/* line 16125, app/assets/stylesheets/application.scss */
.perk-ios-tier-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  font-size: 9px;
}

/* line 16140, app/assets/stylesheets/application.scss */
.perk-ios-settings-btn {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 36px;
  height: 36px;
  margin-left: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
}

/* line 16156, app/assets/stylesheets/application.scss */
.perk-ios-settings-label {
  display: none;
}

/* line 16160, app/assets/stylesheets/application.scss */
.perk-ios-profile-main {
  min-width: 0;
}

/* line 16164, app/assets/stylesheets/application.scss */
.perk-ios-profile-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 360px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0;
  overflow: hidden;
}

/* line 16177, app/assets/stylesheets/application.scss */
.perk-ios-profile-tab {
  z-index: 1;
  height: 34px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 14px;
  cursor: pointer;
}

/* line 16187, app/assets/stylesheets/application.scss */
.perk-ios-profile-tab.is-active {
  color: #fff;
  font-weight: 650;
}

/* line 16192, app/assets/stylesheets/application.scss */
.perk-ios-profile-tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 50%;
  height: 100%;
  border-radius: 999px;
  background: #111;
  transition: transform 200ms ease;
}

/* line 16204, app/assets/stylesheets/application.scss */
.perk-ios-profile[data-active-tab="posts"] .perk-ios-profile-tab-indicator {
  transform: translateX(100%);
}

/* line 16208, app/assets/stylesheets/application.scss */
.perk-ios-section {
  margin-bottom: 22px;
}

/* line 16212, app/assets/stylesheets/application.scss */
.perk-ios-section h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

/* line 16218, app/assets/stylesheets/application.scss */
.perk-ios-section > p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 16224, app/assets/stylesheets/application.scss */
.perk-ios-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 16230, app/assets/stylesheets/application.scss */
.perk-ios-photo-cell,
.perk-ios-photo-add {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f2f7;
}

/* line 16239, app/assets/stylesheets/application.scss */
.perk-ios-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 16245, app/assets/stylesheets/application.scss */
.perk-ios-photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 16255, app/assets/stylesheets/application.scss */
.perk-ios-photo-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

/* line 16272, app/assets/stylesheets/application.scss */
.perk-ios-photo-add {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #c7c7cc;
  background: transparent;
  color: #8e8e93;
  font-size: 22px;
  cursor: pointer;
}

/* line 16283, app/assets/stylesheets/application.scss */
.perk-ios-card,
.perk-ios-inline-form textarea,
.perk-ios-about-list {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* line 16291, app/assets/stylesheets/application.scss */
.perk-ios-card {
  padding: 14px;
}

/* line 16295, app/assets/stylesheets/application.scss */
.perk-ios-placeholder {
  color: #8e8e93;
  font-size: 14px;
}

/* line 16300, app/assets/stylesheets/application.scss */
.perk-ios-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 16306, app/assets/stylesheets/application.scss */
.perk-ios-interest-tags span {
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
  font-size: 13px;
}

/* line 16314, app/assets/stylesheets/application.scss */
.perk-ios-inline-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: 0;
  padding: 14px;
  color: #111;
  font-size: 14px;
  background: #fff;
}

/* line 16325, app/assets/stylesheets/application.scss */
.perk-ios-inline-form textarea:focus {
  border-color: rgba(0, 0, 0, 0.28);
}

/* line 16329, app/assets/stylesheets/application.scss */
.perk-ios-save-link {
  display: inline-flex;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #007aff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
}

/* line 16341, app/assets/stylesheets/application.scss */
.perk-ios-about-list {
  overflow: hidden;
}

/* line 16345, app/assets/stylesheets/application.scss */
.perk-ios-about-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  padding: 12px 16px;
}

/* line 16354, app/assets/stylesheets/application.scss */
.perk-ios-about-row:last-child {
  border-bottom: 0;
}

/* line 16358, app/assets/stylesheets/application.scss */
.perk-ios-about-row > span {
  flex: 0 0 130px;
  color: #111;
  font-size: 14px;
}

/* line 16364, app/assets/stylesheets/application.scss */
.perk-ios-about-row input,
.perk-ios-about-row em {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-style: normal;
  text-align: right;
}

/* line 16376, app/assets/stylesheets/application.scss */
.perk-ios-about-row input::placeholder,
.perk-ios-about-static em {
  color: #8e8e93;
}

/* line 16381, app/assets/stylesheets/application.scss */
.perk-ios-about-row > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

/* line 16388, app/assets/stylesheets/application.scss */
.perk-ios-empty-posts {
  margin: 40px 0 0;
  color: #8e8e93;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

/* line 16396, app/assets/stylesheets/application.scss */
.perk-ios-posts .perk-feed-post {
  padding-left: 0;
  padding-right: 0;
}

/* line 16401, app/assets/stylesheets/application.scss */
.perk-ios-qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 24px;
}

/* line 16412, app/assets/stylesheets/application.scss */
.perk-ios-qr-overlay.hidden {
  display: none;
}

/* line 16416, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(8, 10, 12, 0.82);
  box-sizing: border-box;
}

/* line 16428, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery.hidden {
  display: none;
}

/* line 16432, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-card {
  position: relative;
  width: min(920px, 94vw);
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 16441, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

/* line 16448, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-close,
.perk-ios-photo-gallery-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

/* line 16456, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

/* line 16462, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-count {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* line 16469, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(62vh, 560px);
}

/* line 16477, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-image {
  max-width: min(78vw, 640px);
  max-height: min(62vh, 560px);
  width: auto;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  background: #111;
}

/* line 16487, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  z-index: 2;
}

/* line 16497, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-prev {
  left: 8px;
}

/* line 16498, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-next {
  right: 8px;
}

/* line 16499, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav[hidden] {
  display: none;
}

/* line 16501, app/assets/stylesheets/application.scss */
.perk-ios-qr-sheet {
  width: 100%;
  max-width: 420px;
  max-height: 86vh;
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  padding: 18px 18px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* line 16513, app/assets/stylesheets/application.scss */
.perk-ios-qr-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  text-align: left;
}

/* line 16522, app/assets/stylesheets/application.scss */
.perk-ios-qr-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 16528, app/assets/stylesheets/application.scss */
.perk-ios-qr-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(142, 142, 147, 0.16);
  color: #111;
  cursor: pointer;
}

/* line 16541, app/assets/stylesheets/application.scss */
.perk-ios-qr-hint {
  margin: 0 0 18px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.45;
}

/* line 16548, app/assets/stylesheets/application.scss */
.perk-ios-qr-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 252px;
  min-height: 252px;
  margin: 0 auto 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.08);
}

/* line 16562, app/assets/stylesheets/application.scss */
.perk-ios-qr-canvas {
  display: block;
  width: 220px;
  height: 220px;
  image-rendering: pixelated;
}

/* line 16569, app/assets/stylesheets/application.scss */
.perk-ios-qr-fallback {
  width: 220px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.4;
}

/* line 16576, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

/* line 16583, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity strong {
  font-size: 18px;
  font-weight: 700;
}

/* line 16588, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity span {
  color: #8e8e93;
  font-size: 14px;
}

/* line 16593, app/assets/stylesheets/application.scss */
.perk-ios-qr-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

/* line 16609, app/assets/stylesheets/application.scss */
.perk-ios-qr-copy.is-copied {
  background: rgba(52, 199, 89, 0.12);
  color: #1f9d4b;
}

/* line 16614, app/assets/stylesheets/application.scss */
.perk-ios-settings-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 24px;
}

/* line 16625, app/assets/stylesheets/application.scss */
.perk-ios-settings-overlay.hidden {
  display: none;
}

/* line 16629, app/assets/stylesheets/application.scss */
.perk-ios-settings-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 86vh;
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  padding: 18px 18px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

/* line 16640, app/assets/stylesheets/application.scss */
.perk-ios-settings-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
}

/* line 16647, app/assets/stylesheets/application.scss */
.perk-ios-settings-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

/* line 16654, app/assets/stylesheets/application.scss */
.perk-ios-settings-cancel,
.perk-ios-settings-done,
.perk-ios-settings-back {
  border: 0;
  background: transparent;
  color: #007aff;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}

/* line 16665, app/assets/stylesheets/application.scss */
.perk-ios-settings-cancel {
  justify-self: start;
}

/* line 16669, app/assets/stylesheets/application.scss */
.perk-ios-settings-done {
  justify-self: end;
  font-weight: 650;
}

/* line 16674, app/assets/stylesheets/application.scss */
.perk-ios-settings-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

/* line 16681, app/assets/stylesheets/application.scss */
.perk-ios-settings-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 16687, app/assets/stylesheets/application.scss */
.perk-ios-settings-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 16693, app/assets/stylesheets/application.scss */
.perk-ios-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: rgba(142, 142, 147, 0.12);
  color: #111;
  padding: 14px 16px;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

/* line 16710, app/assets/stylesheets/application.scss */
.perk-ios-settings-row:hover {
  background: rgba(142, 142, 147, 0.18);
  color: #111;
  text-decoration: none;
}

/* line 16716, app/assets/stylesheets/application.scss */
.perk-ios-settings-row i {
  color: #c7c7cc;
  font-size: 12px;
}

/* line 16721, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 16727, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions form {
  margin: 0;
}

/* line 16731, app/assets/stylesheets/application.scss */
.perk-ios-settings-action {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: rgba(142, 142, 147, 0.12);
  color: #111;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* line 16744, app/assets/stylesheets/application.scss */
.perk-ios-settings-action.is-danger {
  color: #ff3b30;
}

/* line 16748, app/assets/stylesheets/application.scss */
.perk-ios-settings-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 16754, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field > label {
  display: block;
  margin-bottom: 7px;
  color: #454b53;
  font-size: 11px;
  font-weight: 800;
}

/* line 16762, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field > div {
  position: relative;
}

/* line 16766, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field > div > i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #a0a6ae;
  font-size: 12px;
  transform: translateY(-50%);
}

/* line 16775, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field input {
  width: 100%;
  height: 50px;
  border: 1px solid #dfe2e6;
  border-radius: 15px;
  outline: 0;
  background: #fff;
  padding: 0 16px 0 42px;
  color: #23272d;
  font-size: 13px;
}

/* line 16787, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-submit {
  margin-top: 4px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 800;
}

/* line 16794, app/assets/stylesheets/application.scss */
.perk-auth-field textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #dfe2e6;
  border-radius: 15px;
  outline: 0;
  background: #fff;
  padding: 13px 15px;
  color: #23272d;
  font-size: 13px;
}

@media (max-width: 899px) {
  /* line 16807, app/assets/stylesheets/application.scss */
  .perk-ios-profile-header {
    flex-wrap: wrap;
  }
  /* line 16811, app/assets/stylesheets/application.scss */
  .perk-ios-qr-chip {
    display: none;
  }
  /* line 16815, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    order: 4;
    flex-basis: 100%;
    flex-direction: row;
    width: auto;
  }
  /* line 16822, app/assets/stylesheets/application.scss */
  .perk-ios-credit-btn,
.perk-ios-upgrade-btn {
    flex: 1;
  }
  /* line 16827, app/assets/stylesheets/application.scss */
  .perk-ios-profile-tabs {
    max-width: none;
  }
  /* line 16831, app/assets/stylesheets/application.scss */
  .perk-ios-section-photos {
    order: 1;
  }
  /* line 16832, app/assets/stylesheets/application.scss */
  .perk-ios-section-interests {
    order: 2;
  }
  /* line 16833, app/assets/stylesheets/application.scss */
  .perk-ios-section-bio {
    order: 3;
  }
  /* line 16834, app/assets/stylesheets/application.scss */
  .perk-ios-section-about {
    order: 4;
  }
  /* line 16836, app/assets/stylesheets/application.scss */
  .perk-ios-profile-panel[data-panel="profile"]:not(.hidden) {
    display: flex;
    flex-direction: column;
  }
  /* line 16841, app/assets/stylesheets/application.scss */
  .perk-ios-about-row {
    flex-direction: column;
    gap: 6px;
  }
  /* line 16846, app/assets/stylesheets/application.scss */
  .perk-ios-about-row > span {
    flex-basis: auto;
  }
  /* line 16850, app/assets/stylesheets/application.scss */
  .perk-ios-about-row input,
.perk-ios-about-row em {
    text-align: left;
  }
}

@media (min-width: 900px) {
  /* line 16857, app/assets/stylesheets/application.scss */
  .perk-ios-profile {
    background: radial-gradient(900px 420px at 12% 0%, rgba(23, 25, 29, 0.05), transparent 55%), radial-gradient(700px 360px at 90% 10%, rgba(23, 25, 29, 0.03), transparent 50%), #f4f5f7;
    padding: 28px 0 64px;
  }
  /* line 16865, app/assets/stylesheets/application.scss */
  .perk-ios-profile-shell {
    max-width: 1080px;
    padding: 0 28px;
  }
  /* line 16870, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav {
    grid-template-columns: 40px 1fr 40px;
    margin-bottom: 22px;
  }
  /* line 16875, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav h1 {
    text-align: left;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.02em;
  }
  /* line 16882, app/assets/stylesheets/application.scss */
  .perk-ios-qr-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  /* line 16888, app/assets/stylesheets/application.scss */
  .perk-ios-profile-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  /* line 16895, app/assets/stylesheets/application.scss */
  .perk-ios-profile-header {
    position: sticky;
    top: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(23, 25, 29, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23, 25, 29, 0.06);
  }
  /* line 16908, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    margin: 0 auto;
  }
  /* line 16915, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar-image i {
    font-size: 112px;
  }
  /* line 16919, app/assets/stylesheets/application.scss */
  .perk-ios-avatar-camera {
    width: 32px;
    height: 32px;
    right: 2px;
    bottom: 2px;
  }
  /* line 16926, app/assets/stylesheets/application.scss */
  .perk-ios-avatar-camera i {
    font-size: 13px;
  }
  /* line 16930, app/assets/stylesheets/application.scss */
  .perk-ios-profile-identity {
    flex: 0 0 auto;
    text-align: center;
  }
  /* line 16935, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row {
    justify-content: center;
  }
  /* line 16939, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row strong {
    font-size: 20px;
  }
  /* line 16943, app/assets/stylesheets/application.scss */
  .perk-ios-profile-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  /* line 16949, app/assets/stylesheets/application.scss */
  .perk-ios-qr-chip {
    width: 100%;
    justify-content: center;
    min-height: 36px;
    border-radius: 12px;
    font-size: 13px;
  }
  /* line 16957, app/assets/stylesheets/application.scss */
  .perk-ios-friends-pill {
    margin-top: 0;
  }
  /* line 16961, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  /* line 16968, app/assets/stylesheets/application.scss */
  .perk-ios-credit-btn,
.perk-ios-upgrade-btn {
    height: 40px;
    font-size: 13px;
  }
  /* line 16974, app/assets/stylesheets/application.scss */
  .perk-ios-settings-btn {
    flex: 0 0 auto;
    width: 100%;
    height: 40px;
    margin-left: 0;
    border-radius: 12px;
  }
  /* line 16982, app/assets/stylesheets/application.scss */
  .perk-ios-settings-label {
    display: inline;
    font-size: 13px;
    font-weight: 650;
  }
  /* line 16988, app/assets/stylesheets/application.scss */
  .perk-ios-profile-main {
    padding: 22px 24px 28px;
    border: 1px solid rgba(23, 25, 29, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23, 25, 29, 0.06);
  }
  /* line 16996, app/assets/stylesheets/application.scss */
  .perk-ios-profile-tabs {
    margin-bottom: 26px;
  }
  /* line 17000, app/assets/stylesheets/application.scss */
  .perk-ios-profile-panel[data-panel="profile"]:not(.hidden) {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 8px 28px;
    align-items: start;
  }
  /* line 17007, app/assets/stylesheets/application.scss */
  .perk-ios-section {
    margin-bottom: 18px;
  }
  /* line 17011, app/assets/stylesheets/application.scss */
  .perk-ios-section-photos,
.perk-ios-section-bio {
    grid-column: 1;
  }
  /* line 17016, app/assets/stylesheets/application.scss */
  .perk-ios-section-about,
.perk-ios-section-interests {
    grid-column: 2;
  }
  /* line 17021, app/assets/stylesheets/application.scss */
  .perk-ios-photo-grid {
    gap: 12px;
  }
  /* line 17025, app/assets/stylesheets/application.scss */
  .perk-ios-inline-form textarea {
    min-height: 120px;
  }
  /* line 17029, app/assets/stylesheets/application.scss */
  .perk-ios-settings-overlay,
.perk-ios-qr-overlay {
    align-items: center;
    padding: 40px;
  }
  /* line 17035, app/assets/stylesheets/application.scss */
  .perk-ios-settings-sheet,
.perk-ios-qr-sheet {
    max-height: min(80vh, 720px);
  }
}

/* —— AI Drive (web) —— */
/* line 17042, app/assets/stylesheets/application.scss */
.ai-drive {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  background: #fff;
  color: #202124;
  height: 100%;
  min-height: calc(100vh - 80px);
}

/* line 17053, app/assets/stylesheets/application.scss */
.ai-drive.hidden,
.ai-drive[hidden] {
  display: none !important;
}

/* line 17058, app/assets/stylesheets/application.scss */
.ai-drive-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 17067, app/assets/stylesheets/application.scss */
.ai-drive-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
  flex: 0 0 auto;
}

/* line 17077, app/assets/stylesheets/application.scss */
.ai-drive-title-wrap {
  min-width: 0;
  flex: 0 1 auto;
}

/* line 17082, app/assets/stylesheets/application.scss */
.ai-drive-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #202124;
}

/* line 17090, app/assets/stylesheets/application.scss */
.ai-drive-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #80868b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 17099, app/assets/stylesheets/application.scss */
.ai-drive-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  max-width: 360px;
  flex: 1 1 280px;
  padding: 0 14px;
  height: 40px;
  border-radius: 22px;
  background: #f1f3f4;
  color: #5f6368;
}

/* line 17114, app/assets/stylesheets/application.scss */
.ai-drive-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: #202124;
}

/* line 17124, app/assets/stylesheets/application.scss */
.ai-drive-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3c4043;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 17138, app/assets/stylesheets/application.scss */
.ai-drive-icon-btn:hover {
  background: #f1f3f4;
}

/* line 17142, app/assets/stylesheets/application.scss */
.ai-drive-tabs {
  display: flex;
  gap: 4px;
  padding: 0 18px;
  border-bottom: 1px solid #e8eaed;
  flex: 0 0 auto;
}

/* line 17150, app/assets/stylesheets/application.scss */
.ai-drive-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 12px 14px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #5f6368;
  cursor: pointer;
}

/* line 17161, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active {
  color: #1a73e8;
}

/* line 17165, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #1a73e8;
}

/* line 17176, app/assets/stylesheets/application.scss */
.ai-drive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  flex: 0 0 auto;
}

/* line 17185, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-left,
.ai-drive-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 17193, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-right {
  flex: 1 1 auto;
  justify-content: flex-end;
}

/* line 17198, app/assets/stylesheets/application.scss */
.ai-drive-new-wrap {
  position: relative;
}

/* line 17202, app/assets/stylesheets/application.scss */
.ai-drive-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 18px;
  background: #1a73e8;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(26, 115, 232, 0.25);
}

/* line 17218, app/assets/stylesheets/application.scss */
.ai-drive-new-btn:hover {
  background: #1765cc;
}

/* line 17222, app/assets/stylesheets/application.scss */
.ai-drive-new-btn.is-danger,
#ai-drive-dialog-confirm.is-danger {
  background: #d93025;
}

/* line 17227, app/assets/stylesheets/application.scss */
.ai-drive-new-chevron {
  font-size: 10px;
  opacity: 0.85;
}

/* line 17232, app/assets/stylesheets/application.scss */
.ai-drive-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  min-width: 220px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8eaed;
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.14);
}

/* line 17245, app/assets/stylesheets/application.scss */
.ai-drive-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 13px;
  color: #202124;
  cursor: pointer;
}

/* line 17260, app/assets/stylesheets/application.scss */
.ai-drive-menu button:hover {
  background: #f1f3f4;
}

/* line 17264, app/assets/stylesheets/application.scss */
.ai-drive-menu i {
  width: 18px;
  color: #5f6368;
}

/* line 17269, app/assets/stylesheets/application.scss */
.ai-drive-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #202124;
  cursor: pointer;
}

/* line 17283, app/assets/stylesheets/application.scss */
.ai-drive-text-btn:hover {
  background: #f1f3f4;
}

/* line 17287, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 12px;
}

/* line 17297, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb::-webkit-scrollbar {
  display: none;
}

/* line 17301, app/assets/stylesheets/application.scss */
.ai-drive-crumb {
  border: 0;
  background: transparent;
  color: #1a73e8;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  padding: 0;
}

/* line 17312, app/assets/stylesheets/application.scss */
.ai-drive-crumb.is-current {
  color: #202124;
  cursor: default;
}

/* line 17317, app/assets/stylesheets/application.scss */
.ai-drive-crumb-sep {
  color: #dadce0;
  font-size: 9px;
}

/* line 17322, app/assets/stylesheets/application.scss */
.ai-drive-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* line 17330, app/assets/stylesheets/application.scss */
.ai-drive-browse {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  padding: 0 10px 24px;
}

/* line 17338, app/assets/stylesheets/application.scss */
.ai-drive-browse.is-dragging {
  background: #f8fbff;
}

/* line 17342, app/assets/stylesheets/application.scss */
.ai-drive-drop-hint {
  position: absolute;
  inset: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed #1a73e8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a73e8;
  font-weight: 600;
  pointer-events: none;
}

/* line 17359, app/assets/stylesheets/application.scss */
.ai-drive-list {
  display: flex;
  flex-direction: column;
}

/* line 17364, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 8px 8px 0;
}

/* line 17371, app/assets/stylesheets/application.scss */
.ai-drive-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 10px;
}

/* line 17379, app/assets/stylesheets/application.scss */
.ai-drive-item:hover {
  background: #f8f9fa;
}

/* line 17383, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid .ai-drive-item {
  flex-direction: column;
  align-items: stretch;
  padding: 10px;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  background: #fff;
}

/* line 17392, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid .ai-drive-item:hover {
  background: #fff;
  border-color: #dadce0;
}

/* line 17397, app/assets/stylesheets/application.scss */
.ai-drive-item-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 4px;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

/* line 17411, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid .ai-drive-item-main {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

/* line 17417, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid .ai-drive-item .ai-drive-icon-btn {
  position: absolute;
  align-self: flex-end;
  margin-top: 4px;
  margin-right: 4px;
}

/* line 17424, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid .ai-drive-item {
  position: relative;
}

/* line 17428, app/assets/stylesheets/application.scss */
.ai-drive-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f3f4;
  overflow: hidden;
  flex: 0 0 auto;
  font-size: 18px;
}

/* line 17441, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid .ai-drive-thumb {
  width: 100%;
  height: 110px;
  border-radius: 10px;
  font-size: 28px;
}

/* line 17448, app/assets/stylesheets/application.scss */
.ai-drive-thumb.has-image img,
.ai-drive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 17455, app/assets/stylesheets/application.scss */
.ai-drive-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 17462, app/assets/stylesheets/application.scss */
.ai-drive-item-text strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 17470, app/assets/stylesheets/application.scss */
.ai-drive-list.is-grid .ai-drive-item-text strong {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* line 17477, app/assets/stylesheets/application.scss */
.ai-drive-item-text span {
  font-size: 12px;
  color: #80868b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 17485, app/assets/stylesheets/application.scss */
.ai-drive-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 280px;
  padding: 40px 24px;
  text-align: center;
  color: #80868b;
}

/* line 17497, app/assets/stylesheets/application.scss */
.ai-drive-empty i {
  font-size: 42px;
  margin-bottom: 8px;
  color: #dadce0;
}

/* line 17503, app/assets/stylesheets/application.scss */
.ai-drive-empty strong {
  color: #202124;
  font-size: 16px;
}

/* line 17508, app/assets/stylesheets/application.scss */
.ai-drive-empty p {
  margin: 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.45;
}

/* line 17515, app/assets/stylesheets/application.scss */
.ai-drive-chat {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}

/* line 17523, app/assets/stylesheets/application.scss */
.ai-drive-chat-messages {
  flex: 1 1 auto;
  overflow: auto;
  padding: 18px var(--hub-ai-chat-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fff;
}

/* line 17534, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 4px 2px 8px;
  width: 100%;
  max-width: var(--hub-ai-chat-col);
}

/* line 17543, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* line 17552, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

/* line 17558, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.4;
}

/* line 17565, app/assets/stylesheets/application.scss */
.ai-drive-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: var(--hub-ai-chat-col);
}

/* line 17573, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-user {
  justify-content: flex-end;
}

/* line 17577, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-bot {
  justify-content: flex-start;
}

/* line 17581, app/assets/stylesheets/application.scss */
.ai-drive-msg-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

/* line 17588, app/assets/stylesheets/application.scss */
.ai-drive-msg-avatar img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
}

/* line 17597, app/assets/stylesheets/application.scss */
.ai-drive-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

/* line 17606, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 22px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 17616, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-bot .ai-drive-chat-msg {
  max-width: 100%;
}

/* line 17620, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: #202124;
}

/* line 17626, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-bot {
  align-self: flex-start;
  background: transparent;
  color: #202124;
  padding: 2px 0 4px 2px;
  border-radius: 0;
}

/* line 17634, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 17639, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding-top: 2px;
  color: #6b7280;
}

/* line 17648, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-action {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}

/* line 17664, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-action:hover,
.ai-drive-msg-ai-action.is-active {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}

/* line 17670, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-wrap {
  position: relative;
}

/* line 17674, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  min-width: 132px;
  padding: 6px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

/* line 17687, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 17691, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
}

/* line 17703, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

/* line 17707, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu button.is-danger {
  color: #b91c1c;
}

/* line 17711, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-actions-trailing {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  color: #9ca3af;
  white-space: nowrap;
  padding-right: 2px;
}

/* line 17723, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-status:empty {
  display: none;
}

/* line 17727, app/assets/stylesheets/application.scss */
.ai-drive-chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 0;
  background: transparent;
  width: 100%;
}

/* line 17736, app/assets/stylesheets/application.scss */
.ai-drive-chat-form-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #e8eaed;
}

/* line 17745, app/assets/stylesheets/application.scss */
.ai-drive-chat-form input {
  flex: 1;
  height: 44px;
  border: 1px solid #dadce0;
  border-radius: 22px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: #f8f9fa;
}

/* line 17756, app/assets/stylesheets/application.scss */
.ai-drive-chat-form input:focus {
  border-color: #1a73e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* line 17762, app/assets/stylesheets/application.scss */
.ai-drive-chat-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 17773, app/assets/stylesheets/application.scss */
.ai-drive-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 10px;
  scrollbar-width: none;
}

/* line 17781, app/assets/stylesheets/application.scss */
.ai-drive-suggestions::-webkit-scrollbar {
  display: none;
}

/* line 17785, app/assets/stylesheets/application.scss */
.ai-drive-suggestions-footer {
  padding: 10px 0 0;
  background: transparent;
  width: 100%;
}

/* line 17791, app/assets/stylesheets/application.scss */
.ai-drive-footer {
  flex: 0 0 auto;
  border-top: 1px solid #e8eaed;
  background: #fff;
  box-shadow: 0 -6px 18px rgba(32, 33, 36, 0.04);
  padding: 0 16px 14px;
}

/* line 17799, app/assets/stylesheets/application.scss */
.ai-drive-footer .hub-ai-composer-curtain {
  display: none;
}

/* line 17803, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px var(--hub-ai-chat-gutter) 0;
  background: transparent;
  border-top: 0;
  box-shadow: none;
  pointer-events: none;
}

/* line 17819, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-footer > * {
  pointer-events: auto;
  width: 100%;
  max-width: var(--hub-ai-chat-col);
}

/* line 17825, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-footer .hub-ai-composer-curtain {
  display: block;
  pointer-events: none;
}

/* line 17830, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-chat-messages {
  padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

/* line 17834, app/assets/stylesheets/application.scss */
.ai-drive-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 17px;
  background: #fff;
  color: #202124;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* line 17851, app/assets/stylesheets/application.scss */
.ai-drive-chip:hover {
  background: #f8f9fa;
  border-color: #1a73e8;
  color: #1a73e8;
}

/* line 17857, app/assets/stylesheets/application.scss */
.ai-drive-preview {
  width: min(360px, 42%);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e8eaed;
  background: #fafafa;
  min-height: 0;
}

/* line 17867, app/assets/stylesheets/application.scss */
.ai-drive-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 8px;
  border-bottom: 1px solid #e8eaed;
}

/* line 17876, app/assets/stylesheets/application.scss */
.ai-drive-preview-head strong {
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 17884, app/assets/stylesheets/application.scss */
.ai-drive-preview-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 17894, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-rich {
  align-items: stretch;
  justify-content: flex-start;
  background: #e8eaed;
  padding: 10px;
}

/* line 17901, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-media {
  background: #fafafa;
}

/* line 17905, app/assets/stylesheets/application.scss */
.ai-drive-preview-body img,
.ai-drive-preview-body iframe,
.ai-drive-preview-body video {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

/* line 17917, app/assets/stylesheets/application.scss */
.ai-drive-preview-body audio {
  width: 100%;
}

/* line 17921, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx {
  width: 100%;
  min-height: 100%;
}

/* line 17926, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx .docx-wrapper {
  background: transparent !important;
  padding: 0 !important;
}

/* line 17931, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx .docx-wrapper > section.docx {
  width: 100% !important;
  min-height: auto !important;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.2);
  margin-bottom: 10px !important;
  border-radius: 2px;
}

/* line 17939, app/assets/stylesheets/application.scss */
.ai-drive-preview-text {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
}

/* line 17954, app/assets/stylesheets/application.scss */
.ai-drive-preview-loading {
  color: #5f6368;
  font-size: 20px;
}

/* line 17959, app/assets/stylesheets/application.scss */
.ai-drive-preview-file {
  text-align: center;
  color: #5f6368;
}

/* line 17964, app/assets/stylesheets/application.scss */
.ai-drive-preview-file i {
  font-size: 48px;
  margin-bottom: 12px;
}

/* line 17969, app/assets/stylesheets/application.scss */
.ai-drive-preview-actions {
  display: flex;
  gap: 4px;
  padding: 8px 10px 12px;
  border-top: 1px solid #e8eaed;
}

/* line 17976, app/assets/stylesheets/application.scss */
.ai-drive-muted {
  color: #80868b;
  font-size: 12px;
}

/* line 17981, app/assets/stylesheets/application.scss */
.ai-drive-actions-overlay,
.ai-drive-dialog-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 33, 36, 0.35);
  padding: 20px;
}

/* line 17993, app/assets/stylesheets/application.scss */
.ai-drive-actions-card,
.ai-drive-dialog {
  width: min(360px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(32, 33, 36, 0.2);
  overflow: hidden;
}

/* line 18002, app/assets/stylesheets/application.scss */
.ai-drive-actions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e8eaed;
}

/* line 18010, app/assets/stylesheets/application.scss */
.ai-drive-actions-head strong {
  display: block;
  font-size: 14px;
}

/* line 18015, app/assets/stylesheets/application.scss */
.ai-drive-actions-head span {
  font-size: 12px;
  color: #80868b;
}

/* line 18020, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  color: #202124;
  cursor: pointer;
}

/* line 18034, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button:hover {
  background: #f8f9fa;
}

/* line 18038, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger {
  color: #d93025;
}

/* line 18042, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button i {
  width: 18px;
  color: #5f6368;
}

/* line 18047, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger i {
  color: #d93025;
}

/* line 18051, app/assets/stylesheets/application.scss */
.ai-drive-dialog {
  padding: 18px;
}

/* line 18055, app/assets/stylesheets/application.scss */
.ai-drive-dialog h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* line 18060, app/assets/stylesheets/application.scss */
.ai-drive-dialog p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5f6368;
  white-space: pre-wrap;
  line-height: 1.45;
}

/* line 18068, app/assets/stylesheets/application.scss */
.ai-drive-dialog-input {
  width: 100%;
  height: 40px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 0 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

/* line 18078, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality {
  margin-bottom: 14px;
}

/* line 18082, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 18090, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality .ai-drive-dialog-input {
  margin-bottom: 0;
}

/* line 18094, app/assets/stylesheets/application.scss */
.ai-drive-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* line 18100, app/assets/stylesheets/application.scss */
.ai-drive-toast {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 30;
  padding: 10px 16px;
  border-radius: 8px;
  background: #202124;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* line 18115, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 18120, app/assets/stylesheets/application.scss */
  .ai-drive-subtitle {
    display: none;
  }
  /* line 18124, app/assets/stylesheets/application.scss */
  .ai-drive-preview {
    position: absolute;
    inset: 0;
    width: auto;
    z-index: 6;
    border-left: 0;
    background: #fff;
  }
}

@media (max-width: 640px) {
  /* line 18135, app/assets/stylesheets/application.scss */
  .ai-drive-topbar {
    flex-wrap: wrap;
  }
  /* line 18139, app/assets/stylesheets/application.scss */
  .ai-drive-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }
  /* line 18146, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar {
    flex-wrap: wrap;
  }
  /* line 18150, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* —— Create PowerPoint (web) —— */
/* line 18157, app/assets/stylesheets/application.scss */
.create-ppt {
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  background: #fff;
  color: #202124;
  height: 100%;
  min-height: calc(100vh - 80px);
}

/* line 18168, app/assets/stylesheets/application.scss */
.create-ppt.hidden,
.create-ppt[hidden] {
  display: none !important;
}

/* line 18173, app/assets/stylesheets/application.scss */
.create-ppt-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 18181, app/assets/stylesheets/application.scss */
.create-ppt-progress-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
  flex: 0 0 auto;
}

/* line 18191, app/assets/stylesheets/application.scss */
.create-ppt-shell:has(.create-ppt-result:not([hidden])) .create-ppt-progress-bar {
  display: none;
}

/* line 18195, app/assets/stylesheets/application.scss */
.create-ppt-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 18203, app/assets/stylesheets/application.scss */
.create-ppt-progress-fill {
  height: 100%;
  width: 12.5%;
  background: #c43e1c;
  border-radius: inherit;
  transition: width 0.25s ease;
}

/* line 18211, app/assets/stylesheets/application.scss */
.create-ppt-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
  white-space: nowrap;
}

/* line 18218, app/assets/stylesheets/application.scss */
.create-ppt-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #3c4043;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 18232, app/assets/stylesheets/application.scss */
.create-ppt-icon-btn:hover {
  background: #f1f3f4;
}

/* line 18236, app/assets/stylesheets/application.scss */
.create-ppt-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 18242, app/assets/stylesheets/application.scss */
.create-ppt-rail {
  width: 220px;
  flex: 0 0 220px;
  padding: 16px 12px;
  border-right: 1px solid #e8eaed;
  background: #fff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 18254, app/assets/stylesheets/application.scss */
.create-ppt-rail-step {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  color: #5f6368;
}

/* line 18268, app/assets/stylesheets/application.scss */
.create-ppt-rail-step:hover {
  background: #f1f3f4;
}

/* line 18272, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current {
  background: #fce8e6;
  color: #202124;
}

/* line 18277, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done {
  color: #202124;
}

/* line 18281, app/assets/stylesheets/application.scss */
.create-ppt-rail-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e8eaed;
  color: #5f6368;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 18295, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current .create-ppt-rail-num {
  background: #c43e1c;
  color: #fff;
}

/* line 18300, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done .create-ppt-rail-num {
  background: #202124;
  color: #fff;
}

/* line 18305, app/assets/stylesheets/application.scss */
.create-ppt-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 18310, app/assets/stylesheets/application.scss */
.create-ppt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 18318, app/assets/stylesheets/application.scss */
.create-ppt-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 16px;
}

/* line 18324, app/assets/stylesheets/application.scss */
.create-ppt-panel {
  max-width: 860px;
}

/* line 18328, app/assets/stylesheets/application.scss */
.create-ppt-heading {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 18335, app/assets/stylesheets/application.scss */
.create-ppt-lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #5f6368;
  max-width: 52ch;
}

/* line 18342, app/assets/stylesheets/application.scss */
.create-ppt-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

/* line 18350, app/assets/stylesheets/application.scss */
.create-ppt-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5f6368;
  margin-bottom: 10px;
}

/* line 18360, app/assets/stylesheets/application.scss */
.create-ppt-input {
  width: 100%;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  background: #fff;
  color: #202124;
}

/* line 18372, app/assets/stylesheets/application.scss */
.create-ppt-input:focus {
  outline: none;
  border-color: #c43e1c;
  box-shadow: 0 0 0 3px rgba(196, 62, 28, 0.15);
}

/* line 18378, app/assets/stylesheets/application.scss */
.create-ppt-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5f6368;
}

/* line 18384, app/assets/stylesheets/application.scss */
.create-ppt-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

/* line 18390, app/assets/stylesheets/application.scss */
.create-ppt-chips-compact {
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}

/* line 18394, app/assets/stylesheets/application.scss */
.create-ppt-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  background: #f8f9fb;
  color: #202124;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 18410, app/assets/stylesheets/application.scss */
.create-ppt-chip i {
  color: #5f6368;
}

/* line 18414, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 18420, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected i {
  color: #fff;
}

/* line 18424, app/assets/stylesheets/application.scss */
.create-ppt-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 18430, app/assets/stylesheets/application.scss */
.create-ppt-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  background: #f8f9fb;
  text-align: left;
  cursor: pointer;
}

/* line 18443, app/assets/stylesheets/application.scss */
.create-ppt-row i {
  margin-top: 2px;
  color: #5f6368;
}

/* line 18448, app/assets/stylesheets/application.scss */
.create-ppt-row strong {
  display: block;
  font-size: 14px;
}

/* line 18453, app/assets/stylesheets/application.scss */
.create-ppt-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 18460, app/assets/stylesheets/application.scss */
.create-ppt-row.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 18466, app/assets/stylesheets/application.scss */
.create-ppt-row.is-selected i,
.create-ppt-row.is-selected small {
  color: rgba(255, 255, 255, 0.75);
}

/* line 18471, app/assets/stylesheets/application.scss */
.create-ppt-custom-slides {
  margin-top: 12px;
  max-width: 200px;
}

/* line 18476, app/assets/stylesheets/application.scss */
.create-ppt-attach-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

/* line 18483, app/assets/stylesheets/application.scss */
.create-ppt-secondary-btn,
.create-ppt-ghost-btn,
.create-ppt-primary-btn,
.create-ppt-text-btn {
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

/* line 18492, app/assets/stylesheets/application.scss */
.create-ppt-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f1f3f4;
  color: #202124;
  font-size: 13px;
}

/* line 18505, app/assets/stylesheets/application.scss */
.create-ppt-secondary-btn:hover {
  background: #e8eaed;
}

/* line 18509, app/assets/stylesheets/application.scss */
.create-ppt-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: transparent;
  color: #5f6368;
  font-size: 14px;
}

/* line 18521, app/assets/stylesheets/application.scss */
.create-ppt-ghost-btn:hover {
  background: #f1f3f4;
  color: #202124;
}

/* line 18526, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  background: #202124;
  color: #fff;
  font-size: 15px;
}

/* line 18539, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:hover {
  background: #000;
}

/* line 18543, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* line 18548, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn-block {
  width: 100%;
}

/* line 18552, app/assets/stylesheets/application.scss */
.create-ppt-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #c43e1c;
  font-size: 13px;
  padding: 4px 0;
}

/* line 18562, app/assets/stylesheets/application.scss */
.create-ppt-attachments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 18568, app/assets/stylesheets/application.scss */
.create-ppt-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f1f3f4;
}

/* line 18577, app/assets/stylesheets/application.scss */
.create-ppt-attachment-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c43e1c;
  flex: 0 0 auto;
}

/* line 18590, app/assets/stylesheets/application.scss */
.create-ppt-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 18596, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text {
  min-width: 0;
  flex: 1;
}

/* line 18601, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 18609, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text span {
  font-size: 11px;
  color: #5f6368;
}

/* line 18614, app/assets/stylesheets/application.scss */
.create-ppt-toggle-card {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* line 18619, app/assets/stylesheets/application.scss */
.create-ppt-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

/* line 18626, app/assets/stylesheets/application.scss */
.create-ppt-toggle input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #202124;
}

/* line 18633, app/assets/stylesheets/application.scss */
.create-ppt-toggle strong {
  display: block;
  font-size: 14px;
}

/* line 18638, app/assets/stylesheets/application.scss */
.create-ppt-toggle small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 18645, app/assets/stylesheets/application.scss */
.create-ppt-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* line 18651, app/assets/stylesheets/application.scss */
.create-ppt-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  text-align: left;
  cursor: pointer;
}

/* line 18664, app/assets/stylesheets/application.scss */
.create-ppt-layout.is-selected {
  border-color: #202124;
}

/* line 18668, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview {
  height: 96px;
  border-radius: 12px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

/* line 18676, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview::before,
.create-ppt-layout-preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

/* line 18684, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-auto {
  background: #17191f;
}

/* line 18688, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-auto::before {
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 32%;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.4);
}

/* line 18697, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-auto::after {
  left: 42%;
  top: 22px;
  width: 40%;
  height: 8px;
  box-shadow: 0 14px 0 rgba(255, 255, 255, 0.35), 0 28px 0 rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.55);
}

/* line 18706, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-title-focus::before {
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 0;
  background: #111;
}

/* line 18715, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-title-focus::after {
  left: 18px;
  top: 22px;
  width: 55%;
  height: 10px;
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.14), 0 30px 0 rgba(0, 0, 0, 0.12);
}

/* line 18723, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-split-media {
  background: #f7f9ff;
}

/* line 18727, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-split-media::before {
  left: 10px;
  top: 18px;
  width: 34%;
  height: 8px;
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.12), 0 28px 0 rgba(0, 0, 0, 0.1);
}

/* line 18735, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-split-media::after {
  right: 10px;
  top: 10px;
  bottom: 10px;
  width: 38%;
  border-radius: 8px;
  background: #e4ebf8;
}

/* line 18744, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-card-grid::before {
  left: 12px;
  top: 14px;
  width: 40%;
  height: 7px;
}

/* line 18751, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-card-grid::after {
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff 0 30%, transparent 30% 35%, #fff 35% 65%, transparent 65% 70%, #fff 70% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* line 18761, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-timeline::before {
  left: 16px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: #f97316;
  box-shadow: 0 22px 0 #f97316, 0 44px 0 #f97316;
}

/* line 18770, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-timeline::after {
  left: 34px;
  top: 18px;
  width: 50%;
  height: 6px;
  box-shadow: 0 22px 0 rgba(0, 0, 0, 0.14), 0 44px 0 rgba(0, 0, 0, 0.12);
}

/* line 18778, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::before,
.create-ppt-layout-preview.is-comparison::after {
  top: 12px;
  bottom: 12px;
  width: calc(50% - 14px);
  border-radius: 8px;
  background: #f0f7f5;
}

/* line 18787, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::before {
  left: 10px;
}

/* line 18791, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::after {
  right: 10px;
}

/* line 18795, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-magazine::before {
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  border-radius: 0;
  background: #bf2e47;
}

/* line 18804, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-magazine::after {
  left: 12px;
  top: 20px;
  width: 50%;
  height: 8px;
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.14), 0 30px 0 rgba(0, 0, 0, 0.12), 0 44px 0 rgba(0, 0, 0, 0.1);
}

/* line 18812, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-bold-cover {
  background: #17191f;
}

/* line 18816, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-bold-cover::before {
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 0;
  background: #f97316;
}

/* line 18825, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-bold-cover::after {
  left: 20px;
  top: 36px;
  width: 58%;
  height: 12px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 0 rgba(255, 255, 255, 0.35);
}

/* line 18834, app/assets/stylesheets/application.scss */
.create-ppt-layout-meta strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* line 18841, app/assets/stylesheets/application.scss */
.create-ppt-layout-meta small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 18849, app/assets/stylesheets/application.scss */
.create-ppt-ai-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: #202124;
  color: #fff;
}

/* line 18858, app/assets/stylesheets/application.scss */
.create-ppt-review {
  margin: 0;
}

/* line 18862, app/assets/stylesheets/application.scss */
.create-ppt-review-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f4;
}

/* line 18870, app/assets/stylesheets/application.scss */
.create-ppt-review-row:last-child {
  border-bottom: 0;
}

/* line 18874, app/assets/stylesheets/application.scss */
.create-ppt-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #5f6368;
}

/* line 18880, app/assets/stylesheets/application.scss */
.create-ppt-review-row dd {
  margin: 0;
  font-size: 14px;
  color: #202124;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 18888, app/assets/stylesheets/application.scss */
.create-ppt-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px 18px;
  border-top: 1px solid #e8eaed;
  background: #fff;
  flex: 0 0 auto;
}

/* line 18898, app/assets/stylesheets/application.scss */
.create-ppt-footer-spacer {
  flex: 1;
}

/* line 18902, app/assets/stylesheets/application.scss */
.create-ppt-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 18910, app/assets/stylesheets/application.scss */
.create-ppt-result.hidden,
.create-ppt-result[hidden] {
  display: none !important;
}

/* line 18915, app/assets/stylesheets/application.scss */
.create-ppt-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e8eaed;
}

/* line 18920, app/assets/stylesheets/application.scss */
.create-ppt-name-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f1f3f4;
  margin-bottom: 10px;
}

/* line 18930, app/assets/stylesheets/application.scss */
.create-ppt-name-field i {
  color: #c43e1c;
}

/* line 18934, app/assets/stylesheets/application.scss */
.create-ppt-name-field .create-ppt-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 18941, app/assets/stylesheets/application.scss */
.create-ppt-ext {
  color: #5f6368;
  font-size: 13px;
}

/* line 18946, app/assets/stylesheets/application.scss */
.create-ppt-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #5f6368;
}

/* line 18955, app/assets/stylesheets/application.scss */
.create-ppt-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 18962, app/assets/stylesheets/application.scss */
.create-ppt-slides {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f1f3f4;
}

/* line 18971, app/assets/stylesheets/application.scss */
.create-ppt-slides.is-office-preview {
  padding: 0;
}

/* line 18975, app/assets/stylesheets/application.scss */
.create-ppt-office-frame {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #fff;
}

/* line 18983, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback {
  flex: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  text-align: center;
  color: #5f6368;
}

/* line 18996, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback i {
  font-size: 40px;
  color: #c43e1c;
}

/* line 19001, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback p {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
}

/* line 19008, app/assets/stylesheets/application.scss */
.create-ppt-result-actions {
  border-left: 1px solid #e8eaed;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafafa;
}

/* line 19017, app/assets/stylesheets/application.scss */
.create-ppt-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

/* line 19028, app/assets/stylesheets/application.scss */
.create-ppt-overlay.hidden,
.create-ppt-overlay[hidden] {
  display: none !important;
}

/* line 19033, app/assets/stylesheets/application.scss */
.create-ppt-generating-card {
  width: min(360px, calc(100% - 40px));
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* line 19042, app/assets/stylesheets/application.scss */
.create-ppt-generating-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 19052, app/assets/stylesheets/application.scss */
.create-ppt-generating-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* line 19063, app/assets/stylesheets/application.scss */
.create-ppt-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(196, 62, 28, 0.45);
  animation: create-ppt-pulse 1.6s ease-in-out infinite;
}

/* line 19071, app/assets/stylesheets/application.scss */
.create-ppt-pulse-2 {
  inset: -12px;
  animation-delay: 0.25s;
  border-color: rgba(196, 62, 28, 0.25);
}

@keyframes create-ppt-pulse {
  0%,
100% {
    transform: scale(0.94);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

/* line 19089, app/assets/stylesheets/application.scss */
.create-ppt-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 19095, app/assets/stylesheets/application.scss */
.create-ppt-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 19101, app/assets/stylesheets/application.scss */
.create-ppt-generating-note {
  margin-top: 4px !important;
}

/* line 19105, app/assets/stylesheets/application.scss */
.create-ppt-spinner {
  width: 22px;
  height: 22px;
  margin: 14px auto 0;
  border-radius: 999px;
  border: 2px solid #e8eaed;
  border-top-color: #c43e1c;
  animation: create-ppt-spin 0.8s linear infinite;
}

@keyframes create-ppt-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 19121, app/assets/stylesheets/application.scss */
.create-ppt-drive-picker {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 33, 36, 0.4);
  padding: 20px;
}

/* line 19132, app/assets/stylesheets/application.scss */
.create-ppt-drive-picker.hidden,
.create-ppt-drive-picker[hidden] {
  display: none !important;
}

/* line 19137, app/assets/stylesheets/application.scss */
.create-ppt-drive-picker-card {
  width: min(480px, 100%);
  max-height: min(560px, 90vh);
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 19147, app/assets/stylesheets/application.scss */
.create-ppt-drive-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e8eaed;
}

/* line 19155, app/assets/stylesheets/application.scss */
.create-ppt-drive-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 19160, app/assets/stylesheets/application.scss */
.create-ppt-drive-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

/* line 19174, app/assets/stylesheets/application.scss */
.create-ppt-drive-item:hover {
  background: #f1f3f4;
}

/* line 19178, app/assets/stylesheets/application.scss */
.create-ppt-drive-item i {
  color: #c43e1c;
}

@media (max-width: 900px) {
  /* line 19183, app/assets/stylesheets/application.scss */
  .create-ppt-rail {
    display: none;
  }
  /* line 19187, app/assets/stylesheets/application.scss */
  .create-ppt-scroll {
    padding: 18px 16px 12px;
  }
  /* line 19191, app/assets/stylesheets/application.scss */
  .create-ppt-footer {
    padding: 12px 16px 16px;
  }
  /* line 19195, app/assets/stylesheets/application.scss */
  .create-ppt-heading {
    font-size: 22px;
  }
  /* line 19199, app/assets/stylesheets/application.scss */
  .create-ppt-result-body {
    grid-template-columns: 1fr;
  }
  /* line 19203, app/assets/stylesheets/application.scss */
  .create-ppt-office-frame {
    min-height: 360px;
  }
  /* line 19207, app/assets/stylesheets/application.scss */
  .create-ppt-result-actions {
    border-left: 0;
    border-top: 1px solid #e8eaed;
  }
  /* line 19212, app/assets/stylesheets/application.scss */
  .create-ppt-attach-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* line 19218, app/assets/stylesheets/application.scss */
  .create-ppt-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 19223, app/assets/stylesheets/application.scss */
  .create-ppt-chips {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Create Word document (web) —— */
/* line 19229, app/assets/stylesheets/application.scss */
.create-doc {
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  background: #fff;
  color: #1b1f24;
  height: 100%;
  min-height: calc(100vh - 80px);
}

/* line 19240, app/assets/stylesheets/application.scss */
.create-doc.hidden,
.create-doc[hidden] {
  display: none !important;
}

/* line 19245, app/assets/stylesheets/application.scss */
.create-doc-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 19253, app/assets/stylesheets/application.scss */
.create-doc-progress-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-bottom: 1px solid #e4e7ec;
  background: #fff;
  flex: 0 0 auto;
}

/* line 19263, app/assets/stylesheets/application.scss */
.create-doc-shell:has(.create-doc-result:not([hidden])) .create-doc-progress-bar {
  display: none;
}

/* line 19267, app/assets/stylesheets/application.scss */
.create-doc-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 19275, app/assets/stylesheets/application.scss */
.create-doc-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: #2b579a;
  transition: width 0.25s ease;
}

/* line 19283, app/assets/stylesheets/application.scss */
.create-doc-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: #667085;
  white-space: nowrap;
}

/* line 19290, app/assets/stylesheets/application.scss */
.create-doc-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f3f4;
  color: #3c4043;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 19303, app/assets/stylesheets/application.scss */
.create-doc-icon-btn:hover {
  background: #e8eaed;
}

/* line 19307, app/assets/stylesheets/application.scss */
.create-doc-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 19313, app/assets/stylesheets/application.scss */
.create-doc-rail {
  width: 200px;
  flex: 0 0 auto;
  padding: 20px 14px;
  border-right: 1px solid #e4e7ec;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

/* line 19325, app/assets/stylesheets/application.scss */
.create-doc-rail-step {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #667085;
}

/* line 19339, app/assets/stylesheets/application.scss */
.create-doc-rail-step:hover {
  background: #f5f7fa;
}

/* line 19343, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current {
  background: rgba(43, 87, 154, 0.08);
  color: #1e3f73;
}

/* line 19348, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-done {
  color: #2b579a;
}

/* line 19352, app/assets/stylesheets/application.scss */
.create-doc-rail-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #eef1f6;
  color: inherit;
  flex: 0 0 auto;
}

/* line 19366, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current .create-doc-rail-num {
  background: #2b579a;
  color: #fff;
}

/* line 19371, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-done .create-doc-rail-num {
  background: rgba(43, 87, 154, 0.15);
  color: #2b579a;
}

/* line 19376, app/assets/stylesheets/application.scss */
.create-doc-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 19381, app/assets/stylesheets/application.scss */
.create-doc-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* line 19390, app/assets/stylesheets/application.scss */
.create-doc-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 32px 16px;
}

/* line 19397, app/assets/stylesheets/application.scss */
.create-doc-panel {
  max-width: 760px;
}

/* line 19401, app/assets/stylesheets/application.scss */
.create-doc-heading {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 19409, app/assets/stylesheets/application.scss */
.create-doc-lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #667085;
  line-height: 1.45;
  max-width: 54ch;
}

/* line 19417, app/assets/stylesheets/application.scss */
.create-doc-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

/* line 19425, app/assets/stylesheets/application.scss */
.create-doc-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 19431, app/assets/stylesheets/application.scss */
.create-doc-required {
  color: #c0392b;
  font-weight: 600;
}

/* line 19436, app/assets/stylesheets/application.scss */
.create-doc-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475467;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* line 19446, app/assets/stylesheets/application.scss */
.create-doc-input {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: #1b1f24;
  background: #fff;
  resize: vertical;
}

/* line 19458, app/assets/stylesheets/application.scss */
.create-doc-input:focus {
  outline: none;
  border-color: #2b579a;
  box-shadow: 0 0 0 3px rgba(43, 87, 154, 0.15);
}

/* line 19464, app/assets/stylesheets/application.scss */
.create-doc-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #667085;
}

/* line 19470, app/assets/stylesheets/application.scss */
.create-doc-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* line 19476, app/assets/stylesheets/application.scss */
.create-doc-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

/* line 19490, app/assets/stylesheets/application.scss */
.create-doc-category:hover {
  border-color: #b8c7df;
  transform: translateY(-1px);
}

/* line 19495, app/assets/stylesheets/application.scss */
.create-doc-category.is-selected {
  border-color: #2b579a;
  box-shadow: 0 0 0 3px rgba(43, 87, 154, 0.12);
  background: linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
}

/* line 19501, app/assets/stylesheets/application.scss */
.create-doc-category i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 87, 154, 0.1);
  color: #2b579a;
  margin-bottom: 4px;
}

/* line 19513, app/assets/stylesheets/application.scss */
.create-doc-category strong {
  font-size: 14px;
  color: #1b1f24;
}

/* line 19518, app/assets/stylesheets/application.scss */
.create-doc-category small {
  font-size: 12px;
  color: #667085;
  line-height: 1.4;
}

/* line 19524, app/assets/stylesheets/application.scss */
.create-doc-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 19530, app/assets/stylesheets/application.scss */
.create-doc-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 19543, app/assets/stylesheets/application.scss */
.create-doc-row i {
  margin-top: 2px;
  color: #2b579a;
  width: 18px;
  text-align: center;
}

/* line 19550, app/assets/stylesheets/application.scss */
.create-doc-row strong {
  display: block;
  font-size: 14px;
  color: #1b1f24;
}

/* line 19556, app/assets/stylesheets/application.scss */
.create-doc-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #667085;
  line-height: 1.35;
}

/* line 19564, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected {
  border-color: #2b579a;
  background: rgba(43, 87, 154, 0.06);
}

/* line 19569, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected i,
.create-doc-row.is-selected small {
  color: #1e3f73;
}

/* line 19574, app/assets/stylesheets/application.scss */
.create-doc-tones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 19580, app/assets/stylesheets/application.scss */
.create-doc-tone {
  padding: 12px 10px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
  cursor: pointer;
}

/* line 19592, app/assets/stylesheets/application.scss */
.create-doc-tone.is-selected {
  border-color: #2b579a;
  background: #2b579a;
  color: #fff;
}

/* line 19598, app/assets/stylesheets/application.scss */
.create-doc-review {
  margin: 0;
}

/* line 19602, app/assets/stylesheets/application.scss */
.create-doc-review-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f4;
}

/* line 19610, app/assets/stylesheets/application.scss */
.create-doc-review-row:last-child {
  border-bottom: 0;
}

/* line 19614, app/assets/stylesheets/application.scss */
.create-doc-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
}

/* line 19620, app/assets/stylesheets/application.scss */
.create-doc-review-row dd {
  margin: 0;
  font-size: 14px;
  color: #1b1f24;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 19628, app/assets/stylesheets/application.scss */
.create-doc-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px 18px;
  border-top: 1px solid #e4e7ec;
  background: #fff;
  flex: 0 0 auto;
}

/* line 19638, app/assets/stylesheets/application.scss */
.create-doc-footer-spacer {
  flex: 1;
}

/* line 19642, app/assets/stylesheets/application.scss */
.create-doc-secondary-btn,
.create-doc-ghost-btn,
.create-doc-primary-btn,
.create-doc-text-btn {
  font: inherit;
  cursor: pointer;
}

/* line 19650, app/assets/stylesheets/application.scss */
.create-doc-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

/* line 19664, app/assets/stylesheets/application.scss */
.create-doc-secondary-btn:hover {
  background: #f8fafc;
}

/* line 19668, app/assets/stylesheets/application.scss */
.create-doc-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
}

/* line 19682, app/assets/stylesheets/application.scss */
.create-doc-ghost-btn:hover {
  background: #f1f3f4;
}

/* line 19686, app/assets/stylesheets/application.scss */
.create-doc-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  background: #2b579a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* line 19700, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:hover {
  background: #234a84;
}

/* line 19704, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 19709, app/assets/stylesheets/application.scss */
.create-doc-primary-btn-block {
  width: 100%;
}

/* line 19713, app/assets/stylesheets/application.scss */
.create-doc-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #2b579a;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

/* line 19725, app/assets/stylesheets/application.scss */
.create-doc-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 19733, app/assets/stylesheets/application.scss */
.create-doc-result.hidden,
.create-doc-result[hidden] {
  display: none !important;
}

/* line 19738, app/assets/stylesheets/application.scss */
.create-doc-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e4e7ec;
}

/* line 19743, app/assets/stylesheets/application.scss */
.create-doc-name-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f1f3f4;
  margin-bottom: 10px;
}

/* line 19753, app/assets/stylesheets/application.scss */
.create-doc-name-field i {
  color: #2b579a;
}

/* line 19757, app/assets/stylesheets/application.scss */
.create-doc-name-field .create-doc-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 19764, app/assets/stylesheets/application.scss */
.create-doc-ext {
  color: #667085;
  font-size: 13px;
}

/* line 19769, app/assets/stylesheets/application.scss */
.create-doc-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #667085;
}

/* line 19778, app/assets/stylesheets/application.scss */
.create-doc-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 19785, app/assets/stylesheets/application.scss */
.create-doc-preview-wrap {
  overflow-y: auto;
  padding: 20px;
  background: radial-gradient(circle at top left, rgba(43, 87, 154, 0.06), transparent 40%), #eef1f6;
}

/* line 19793, app/assets/stylesheets/application.scss */
.create-doc-paper {
  max-width: 720px;
  margin: 0 auto;
  min-height: 520px;
  padding: 40px 44px;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
  font-family: "Times New Roman", "Georgia", serif;
  color: #1b1f24;
}

/* line 19805, app/assets/stylesheets/application.scss */
.create-doc-paper.is-docx-file {
  max-width: none;
  min-height: 100%;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  font-family: inherit;
}

/* line 19815, app/assets/stylesheets/application.scss */
.create-doc-docx-mount {
  min-height: 520px;
}

/* line 19819, app/assets/stylesheets/application.scss */
.create-doc-docx-mount .docx-wrapper {
  background: transparent;
  padding: 0;
}

/* line 19824, app/assets/stylesheets/application.scss */
.create-doc-docx-mount .docx {
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
  margin: 0 auto 16px;
}

/* line 19829, app/assets/stylesheets/application.scss */
.create-doc-block {
  margin: 0 0 12px;
  line-height: 1.55;
  font-size: 15px;
}

/* line 19835, app/assets/stylesheets/application.scss */
.create-doc-block-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* line 19842, app/assets/stylesheets/application.scss */
.create-doc-block-paragraph {
  text-indent: 1.5em;
}

/* line 19846, app/assets/stylesheets/application.scss */
.create-doc-block-bullet {
  padding-left: 0.5em;
  text-indent: 0;
}

/* line 19851, app/assets/stylesheets/application.scss */
.create-doc-block-signature {
  margin-top: 28px;
  white-space: pre-wrap;
  min-height: 96px;
}

/* line 19857, app/assets/stylesheets/application.scss */
.create-doc-signature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 28px;
}

/* line 19864, app/assets/stylesheets/application.scss */
.create-doc-block-signature-party {
  margin-top: 0;
  min-height: 120px;
}

@media (max-width: 640px) {
  /* line 19870, app/assets/stylesheets/application.scss */
  .create-doc-signature-row {
    grid-template-columns: 1fr;
  }
}

/* line 19875, app/assets/stylesheets/application.scss */
.create-doc-block-spacer {
  height: 18px;
}

/* line 19879, app/assets/stylesheets/application.scss */
.create-doc-result-actions {
  border-left: 1px solid #e4e7ec;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafafa;
}

/* line 19888, app/assets/stylesheets/application.scss */
.create-doc-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

/* line 19899, app/assets/stylesheets/application.scss */
.create-doc-overlay.hidden,
.create-doc-overlay[hidden] {
  display: none !important;
}

/* line 19904, app/assets/stylesheets/application.scss */
.create-doc-generating-card {
  width: min(360px, calc(100% - 40px));
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* line 19913, app/assets/stylesheets/application.scss */
.create-doc-generating-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 19923, app/assets/stylesheets/application.scss */
.create-doc-generating-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* line 19934, app/assets/stylesheets/application.scss */
.create-doc-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(43, 87, 154, 0.45);
  animation: create-doc-pulse 1.6s ease-in-out infinite;
}

/* line 19942, app/assets/stylesheets/application.scss */
.create-doc-pulse-2 {
  inset: -12px;
  animation-delay: 0.25s;
  border-color: rgba(43, 87, 154, 0.25);
}

@keyframes create-doc-pulse {
  0%,
100% {
    transform: scale(0.94);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

/* line 19960, app/assets/stylesheets/application.scss */
.create-doc-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 19966, app/assets/stylesheets/application.scss */
.create-doc-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #667085;
}

/* line 19972, app/assets/stylesheets/application.scss */
.create-doc-generating-note {
  margin-top: 4px !important;
}

/* line 19976, app/assets/stylesheets/application.scss */
.create-doc-spinner {
  width: 22px;
  height: 22px;
  margin: 14px auto 0;
  border-radius: 999px;
  border: 2px solid #e8eaed;
  border-top-color: #2b579a;
  animation: create-doc-spin 0.8s linear infinite;
}

@keyframes create-doc-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  /* line 19993, app/assets/stylesheets/application.scss */
  .create-doc-rail {
    display: none;
  }
  /* line 19997, app/assets/stylesheets/application.scss */
  .create-doc-scroll {
    padding: 18px 16px 12px;
  }
  /* line 20001, app/assets/stylesheets/application.scss */
  .create-doc-footer {
    padding: 12px 16px 16px;
  }
  /* line 20005, app/assets/stylesheets/application.scss */
  .create-doc-heading {
    font-size: 22px;
  }
  /* line 20009, app/assets/stylesheets/application.scss */
  .create-doc-category-grid {
    grid-template-columns: 1fr;
  }
  /* line 20013, app/assets/stylesheets/application.scss */
  .create-doc-result-body {
    grid-template-columns: 1fr;
  }
  /* line 20017, app/assets/stylesheets/application.scss */
  .create-doc-result-actions {
    border-left: 0;
    border-top: 1px solid #e4e7ec;
  }
  /* line 20022, app/assets/stylesheets/application.scss */
  .create-doc-paper {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  /* line 20028, app/assets/stylesheets/application.scss */
  .create-doc-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 20033, app/assets/stylesheets/application.scss */
  .create-doc-tones {
    grid-template-columns: 1fr;
  }
}

/* —— PDF tools (web) —— */
/* line 20039, app/assets/stylesheets/application.scss */
.pdf-tools {
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  background: #fff;
  color: #202124;
  height: 100%;
  min-height: calc(100vh - 80px);
}

@media (max-width: 900px) {
  /* line 20051, app/assets/stylesheets/application.scss */
  .pdf-tools {
    position: fixed;
    z-index: 80;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* line 20059, app/assets/stylesheets/application.scss */
.pdf-tools.hidden,
.pdf-tools[hidden] {
  display: none !important;
}

/* line 20064, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy {
  cursor: progress;
}

/* line 20068, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy .pdf-tools-btn.is-primary {
  opacity: 0.7;
  pointer-events: none;
}

/* line 20073, app/assets/stylesheets/application.scss */
.pdf-tools-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 20081, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* line 20088, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav .pdf-tools-segment {
  flex: 1;
  min-width: 0;
}

/* line 20093, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3c4043;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 20107, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:hover:not(:disabled) {
  background: #f1f3f4;
}

/* line 20111, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 20116, app/assets/stylesheets/application.scss */
.pdf-tools-panel {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 20122, app/assets/stylesheets/application.scss */
.pdf-tools-panel.hidden,
.pdf-tools-panel[hidden] {
  display: none !important;
}

/* line 20127, app/assets/stylesheets/application.scss */
.pdf-tools-home {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 20136, app/assets/stylesheets/application.scss */
.pdf-tools-hero {
  margin-bottom: 8px;
}

/* line 20140, app/assets/stylesheets/application.scss */
.pdf-tools-badge,
.pdf-tools-badge-mini,
.pdf-tools-output-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e53935;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 10px;
}

/* line 20153, app/assets/stylesheets/application.scss */
.pdf-tools-badge {
  width: 52px;
  height: 52px;
  font-size: 15px;
  margin-bottom: 14px;
}

/* line 20160, app/assets/stylesheets/application.scss */
.pdf-tools-badge-mini {
  width: 28px;
  height: 28px;
  font-size: 9px;
  border-radius: 6px;
  flex: 0 0 auto;
}

/* line 20168, app/assets/stylesheets/application.scss */
.pdf-tools-hero h3 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* line 20175, app/assets/stylesheets/application.scss */
.pdf-tools-hero p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.45;
  max-width: 42ch;
}

/* line 20183, app/assets/stylesheets/application.scss */
.pdf-tools-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* line 20198, app/assets/stylesheets/application.scss */
.pdf-tools-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 64, 67, 0.12);
}

/* line 20203, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  flex: 0 0 auto;
}

/* line 20215, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-create {
  background: linear-gradient(145deg, #4285f4, #1a73e8);
}

/* line 20219, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-edit {
  background: linear-gradient(145deg, #fb8c00, #ef6c00);
}

/* line 20223, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-organize {
  background: linear-gradient(145deg, #8e24aa, #6a1b9a);
}

/* line 20227, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

/* line 20235, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 20240, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy span {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 20246, app/assets/stylesheets/application.scss */
.pdf-tools-card-chevron {
  color: #b0b3b8;
  font-size: 12px;
}

/* line 20251, app/assets/stylesheets/application.scss */
.pdf-tools-workflow {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 18px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

/* line 20261, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 20269, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 20275, app/assets/stylesheets/application.scss */
.pdf-tools-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #e8f0fe;
  color: #1967d2;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 20291, app/assets/stylesheets/application.scss */
.pdf-tools-btn:hover:not(:disabled) {
  background: #d2e3fc;
}

/* line 20295, app/assets/stylesheets/application.scss */
.pdf-tools-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 20300, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary {
  background: #1a73e8;
  color: #fff;
}

/* line 20305, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary:hover:not(:disabled) {
  background: #1765cc;
}

/* line 20309, app/assets/stylesheets/application.scss */
.pdf-tools-btn-block {
  width: 100%;
}

/* line 20313, app/assets/stylesheets/application.scss */
.pdf-tools-name-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 20319, app/assets/stylesheets/application.scss */
.pdf-tools-name-row label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 20325, app/assets/stylesheets/application.scss */
.pdf-tools-name-row input,
.pdf-tools-name-row select,
.pdf-tools-dialog-input {
  height: 42px;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

/* line 20337, app/assets/stylesheets/application.scss */
.pdf-tools-name-row input:focus,
.pdf-tools-name-row select:focus,
.pdf-tools-dialog-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* line 20344, app/assets/stylesheets/application.scss */
.pdf-tools-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 48px 20px;
  color: #5f6368;
}

/* line 20356, app/assets/stylesheets/application.scss */
.pdf-tools-empty i {
  font-size: 42px;
  color: #b0b3b8;
  margin-bottom: 4px;
}

/* line 20362, app/assets/stylesheets/application.scss */
.pdf-tools-empty strong {
  font-size: 20px;
  color: #202124;
}

/* line 20367, app/assets/stylesheets/application.scss */
.pdf-tools-empty p {
  margin: 0 0 8px;
  max-width: 36ch;
  line-height: 1.45;
  font-size: 14px;
}

/* line 20374, app/assets/stylesheets/application.scss */
.pdf-tools-page-grid,
.pdf-tools-edit-workspace,
.pdf-tools-file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 20382, app/assets/stylesheets/application.scss */
.pdf-tools-page-grid.hidden,
.pdf-tools-edit-workspace.hidden,
.pdf-tools-file-list.hidden,
.pdf-tools-empty.hidden {
  display: none !important;
}

/* line 20389, app/assets/stylesheets/application.scss */
.pdf-tools-grid-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #80868b;
  font-weight: 600;
}

/* line 20398, app/assets/stylesheets/application.scss */
.pdf-tools-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

/* line 20404, app/assets/stylesheets/application.scss */
.pdf-tools-page-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  text-align: center;
  color: inherit;
}

/* line 20417, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-dragging {
  opacity: 0.45;
}

/* line 20421, app/assets/stylesheets/application.scss */
.pdf-tools-page-card img,
.pdf-tools-page-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.12);
}

/* line 20431, app/assets/stylesheets/application.scss */
.pdf-tools-page-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  color: inherit;
}

/* line 20442, app/assets/stylesheets/application.scss */
.pdf-tools-page-num {
  font-size: 28px;
  font-weight: 750;
  color: #202124;
}

/* line 20448, app/assets/stylesheets/application.scss */
.pdf-tools-page-card > span {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 20454, app/assets/stylesheets/application.scss */
.pdf-tools-page-remove,
.pdf-tools-check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 20472, app/assets/stylesheets/application.scss */
.pdf-tools-check {
  background: #fff;
  color: #80868b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

/* line 20479, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-selected .pdf-tools-check {
  color: #1a73e8;
}

/* line 20483, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-add {
  cursor: pointer;
}

/* line 20487, app/assets/stylesheets/application.scss */
.pdf-tools-add-inner {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  border: 1.5px dashed rgba(26, 115, 232, 0.4);
  background: rgba(26, 115, 232, 0.06);
  color: #1a73e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}

/* line 20502, app/assets/stylesheets/application.scss */
.pdf-tools-add-inner i {
  font-size: 28px;
}

/* line 20506, app/assets/stylesheets/application.scss */
.pdf-tools-edit-reading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 420px;
}

/* line 20513, app/assets/stylesheets/application.scss */
.pdf-tools-preview-frame {
  width: 100%;
  min-height: 520px;
  height: min(62vh, 720px);
  border: 1px solid #e8eaed;
  border-radius: 14px;
  background: #fff;
}

/* line 20522, app/assets/stylesheets/application.scss */
.pdf-tools-page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #5f6368;
}

/* line 20532, app/assets/stylesheets/application.scss */
.pdf-tools-segment {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px;
  border-radius: 12px;
  background: #e8eaed;
  gap: 4px;
}

/* line 20541, app/assets/stylesheets/application.scss */
.pdf-tools-segment-btn {
  border: 0;
  background: transparent;
  color: #3c4043;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 20553, app/assets/stylesheets/application.scss */
.pdf-tools-segment-btn.is-active {
  background: #fff;
  color: #202124;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.18);
}

/* line 20559, app/assets/stylesheets/application.scss */
.pdf-tools-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

/* line 20569, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 20577, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 20584, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta span {
  font-size: 12px;
  color: #80868b;
}

/* line 20589, app/assets/stylesheets/application.scss */
.pdf-tools-file-actions {
  display: flex;
  gap: 2px;
}

/* line 20594, app/assets/stylesheets/application.scss */
.pdf-tools-modal {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(32, 33, 36, 0.45);
  padding: 16px;
}

/* line 20605, app/assets/stylesheets/application.scss */
.pdf-tools-modal.hidden,
.pdf-tools-modal[hidden] {
  display: none !important;
}

/* line 20610, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* line 20621, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-sm {
  width: min(380px, 100%);
}

/* line 20625, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-output {
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
}

/* line 20630, app/assets/stylesheets/application.scss */
.pdf-tools-output-preview {
  flex: 1;
  min-height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f3f4;
  border: 1px solid #e8eaed;
}

/* line 20639, app/assets/stylesheets/application.scss */
.pdf-tools-output-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  background: #fff;
}

/* line 20648, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 20655, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

/* line 20661, app/assets/stylesheets/application.scss */
.pdf-tools-output-icon {
  width: 58px;
  height: 58px;
  font-size: 16px;
  margin: 8px auto 0;
}

/* line 20668, app/assets/stylesheets/application.scss */
.pdf-tools-output-name {
  text-align: center;
  font-weight: 650;
  margin: 0 0 6px;
  word-break: break-word;
}

/* line 20675, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-message {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 20681, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* line 20688, app/assets/stylesheets/application.scss */
.pdf-tools-toast {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;
  background: #202124;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

/* line 20704, app/assets/stylesheets/application.scss */
.pdf-tools-toast.hidden,
.pdf-tools-toast[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  /* line 20710, app/assets/stylesheets/application.scss */
  .pdf-tools-modal {
    align-items: center;
  }
}

@media (max-width: 640px) {
  /* line 20716, app/assets/stylesheets/application.scss */
  .pdf-tools-home {
    padding: 18px 14px 28px;
  }
  /* line 20720, app/assets/stylesheets/application.scss */
  .pdf-tools-hero h3 {
    font-size: 24px;
  }
  /* line 20724, app/assets/stylesheets/application.scss */
  .pdf-tools-workflow {
    padding: 12px 12px 28px;
  }
  /* line 20728, app/assets/stylesheets/application.scss */
  .pdf-tools-preview-frame {
    min-height: 360px;
    height: 48vh;
  }
  /* line 20733, app/assets/stylesheets/application.scss */
  .pdf-tools-toolbar-left {
    width: 100%;
  }
  /* line 20737, app/assets/stylesheets/application.scss */
  .pdf-tools-btn {
    flex: 1 1 auto;
  }
}

/* line 20742, app/assets/stylesheets/application.scss */
.pdf-tools-scanner {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  background: #0f1115;
  color: #fff;
}

/* line 20751, app/assets/stylesheets/application.scss */
.pdf-tools-scanner.hidden,
.pdf-tools-scanner[hidden] {
  display: none !important;
}

/* line 20756, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* line 20764, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.45);
  flex: 0 0 auto;
}

/* line 20773, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 20781, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap strong {
  font-size: 15px;
  font-weight: 700;
}

/* line 20786, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* line 20791, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn.is-light,
.pdf-tools-btn.is-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* line 20797, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn.is-light:hover:not(:disabled),
.pdf-tools-btn.is-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

/* line 20802, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

/* line 20813, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* line 20820, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-frame {
  position: absolute;
  inset: 8% 10%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

/* line 20829, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-frame::before,
.pdf-tools-scanner-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 3px solid #8ab4f8;
}

/* line 20838, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-frame::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 12px;
}

/* line 20846, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-frame::after {
  right: -2px;
  bottom: -2px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 12px;
}

/* line 20854, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

/* line 20862, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-flash.is-on {
  animation: pdf-tools-flash 0.2s ease-out;
}

@keyframes pdf-tools-flash {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
  }
}

/* line 20871, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* line 20885, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumbs {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.55);
  flex: 0 0 auto;
}

/* line 20894, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumbs[hidden] {
  display: none !important;
}

/* line 20898, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
}

/* line 20904, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumb img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: block;
}

/* line 20913, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumb span {
  position: absolute;
  left: 4px;
  bottom: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 20930, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 18px;
  background: rgba(0, 0, 0, 0.55);
  flex: 0 0 auto;
}

/* line 20940, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-footer .pdf-tools-btn {
  justify-self: start;
}

/* line 20944, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-count {
  justify-self: end;
  min-width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* line 20957, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: transparent;
  padding: 5px;
  cursor: pointer;
  justify-self: center;
}

/* line 20968, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

/* line 20976, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter:active span {
  transform: scale(0.92);
  background: #e8f0fe;
}

@media (max-width: 900px) {
  /* line 20982, app/assets/stylesheets/application.scss */
  .pdf-tools-scanner {
    position: fixed;
    z-index: 90;
  }
}

/* line 20988, app/assets/stylesheets/application.scss */
body.pdf-tools-open .perk-workspace-center {
  position: relative;
}

/* —— AI Tutor (web) —— */
/* line 20993, app/assets/stylesheets/application.scss */
.ai-tutor {
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  background: #fff;
  color: #202124;
  height: 100%;
  min-height: calc(100vh - 80px);
}

/* line 21004, app/assets/stylesheets/application.scss */
.ai-tutor.hidden,
.ai-tutor[hidden] {
  display: none !important;
}

/* line 21009, app/assets/stylesheets/application.scss */
.ai-tutor-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 21017, app/assets/stylesheets/application.scss */
.ai-tutor-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  flex: 0 0 auto;
}

/* line 21027, app/assets/stylesheets/application.scss */
.ai-tutor-title-wrap {
  flex: 1;
  min-width: 0;
}

/* line 21032, app/assets/stylesheets/application.scss */
.ai-tutor-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

/* line 21040, app/assets/stylesheets/application.scss */
.ai-tutor-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 21046, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f4;
  color: #3c4043;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 21060, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn:hover {
  background: #e8eaed;
}

/* line 21064, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* line 21079, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn:hover {
  background: #f8f9fa;
}

/* line 21083, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn.is-danger {
  color: #c5221f;
  border-color: #f6aea9;
}

/* line 21088, app/assets/stylesheets/application.scss */
.ai-tutor-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #1a73e8;
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* line 21102, app/assets/stylesheets/application.scss */
.ai-tutor-primary-btn:hover {
  background: #1765cc;
}

/* line 21106, app/assets/stylesheets/application.scss */
.ai-tutor-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 0;
  flex: 1;
}

/* line 21113, app/assets/stylesheets/application.scss */
.ai-tutor-sidebar {
  background: #fff;
  border-right: 1px solid #e8eaed;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* line 21122, app/assets/stylesheets/application.scss */
.ai-tutor-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px;
}

/* line 21129, app/assets/stylesheets/application.scss */
.ai-tutor-sidebar-head strong {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5f6368;
}

/* line 21136, app/assets/stylesheets/application.scss */
.ai-tutor-subject-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 10px 16px;
  overflow-y: auto;
  min-height: 0;
}

/* line 21145, app/assets/stylesheets/application.scss */
.ai-tutor-subject,
.ai-tutor-subject-add {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  color: #202124;
  font-size: 14px;
}

/* line 21161, app/assets/stylesheets/application.scss */
.ai-tutor-subject:hover,
.ai-tutor-subject-add:hover {
  background: #f1f3f4;
}

/* line 21166, app/assets/stylesheets/application.scss */
.ai-tutor-subject.is-active {
  background: #e8f0fe;
  color: #174ea6;
}

/* line 21171, app/assets/stylesheets/application.scss */
.ai-tutor-subject-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eef2ff;
  color: #3b5bdb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 21183, app/assets/stylesheets/application.scss */
.ai-tutor-subject.is-active .ai-tutor-subject-icon {
  background: #d2e3fc;
  color: #174ea6;
}

/* line 21188, app/assets/stylesheets/application.scss */
.ai-tutor-subject-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

/* line 21195, app/assets/stylesheets/application.scss */
.ai-tutor-subject-add {
  color: #5f6368;
}

/* line 21199, app/assets/stylesheets/application.scss */
.ai-tutor-quick-add {
  padding: 8px 14px 18px;
  border-top: 1px solid #f1f3f4;
}

/* line 21204, app/assets/stylesheets/application.scss */
.ai-tutor-quick-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #80868b;
  margin-bottom: 8px;
}

/* line 21212, app/assets/stylesheets/application.scss */
.ai-tutor-quick-chips,
.ai-tutor-chip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 21219, app/assets/stylesheets/application.scss */
.ai-tutor-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dadce0;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
}

/* line 21233, app/assets/stylesheets/application.scss */
.ai-tutor-chip:hover {
  background: #f8f9fa;
  border-color: #1a73e8;
  color: #174ea6;
}

/* line 21239, app/assets/stylesheets/application.scss */
.ai-tutor-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fff;
}

/* line 21248, app/assets/stylesheets/application.scss */
.ai-tutor-empty {
  margin: auto;
  max-width: 420px;
  text-align: center;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* line 21259, app/assets/stylesheets/application.scss */
.ai-tutor-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(145deg, #e8f0fe, #f3e8ff);
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 8px;
}

/* line 21272, app/assets/stylesheets/application.scss */
.ai-tutor-empty strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* line 21277, app/assets/stylesheets/application.scss */
.ai-tutor-empty p {
  margin: 0 0 12px;
  color: #5f6368;
  line-height: 1.5;
  font-size: 14px;
}

/* line 21284, app/assets/stylesheets/application.scss */
.ai-tutor-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 21291, app/assets/stylesheets/application.scss */
.ai-tutor-thread {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 21300, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid #e8eaed;
}

/* line 21311, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 21317, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text strong {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 21324, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text span {
  font-size: 12px;
  color: #80868b;
}

/* line 21329, app/assets/stylesheets/application.scss */
.ai-tutor-chat-actions {
  display: flex;
  gap: 6px;
}

/* line 21334, app/assets/stylesheets/application.scss */
.ai-tutor-modes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}

/* line 21341, app/assets/stylesheets/application.scss */
.ai-tutor-mode {
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* line 21352, app/assets/stylesheets/application.scss */
.ai-tutor-mode.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 21358, app/assets/stylesheets/application.scss */
.ai-tutor-workspace {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(200px, 240px);
}

/* line 21366, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane,
.ai-tutor-mastery-pane {
  min-height: 0;
  overflow: auto;
  background: #fafbfc;
  padding: 14px 14px 18px;
}

/* line 21374, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane {
  border-right: 1px solid #e8eaed;
}

/* line 21378, app/assets/stylesheets/application.scss */
.ai-tutor-mastery-pane {
  border-left: 1px solid #e8eaed;
}

/* line 21382, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 21390, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head strong {
  font-size: 13px;
}

/* line 21394, app/assets/stylesheets/application.scss */
.ai-tutor-pane-hint,
.ai-tutor-pane-empty,
.ai-tutor-notes-label {
  font-size: 12px;
  color: #5f6368;
  margin: 0 0 10px;
  line-height: 1.4;
}

/* line 21403, app/assets/stylesheets/application.scss */
.ai-tutor-notes-label {
  display: block;
  font-weight: 650;
  margin: 12px 0 6px;
}

/* line 21409, app/assets/stylesheets/application.scss */
.ai-tutor-notes {
  width: 100%;
  border: 1px solid #dadce0;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  resize: vertical;
  min-height: 84px;
}

/* line 21419, app/assets/stylesheets/application.scss */
.ai-tutor-notes-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* line 21425, app/assets/stylesheets/application.scss */
.ai-tutor-material-list,
.ai-tutor-concept-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 21432, app/assets/stylesheets/application.scss */
.ai-tutor-material,
.ai-tutor-concept-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef0f3;
  font-size: 13px;
}

/* line 21444, app/assets/stylesheets/application.scss */
.ai-tutor-material span,
.ai-tutor-concept-row strong {
  display: block;
}

/* line 21449, app/assets/stylesheets/application.scss */
.ai-tutor-material em {
  margin-left: auto;
  font-style: normal;
  color: #80868b;
  font-size: 11px;
}

/* line 21456, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row.is-current {
  border-color: #1a73e8;
  background: #e8f0fe;
}

/* line 21461, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row span {
  color: #5f6368;
  font-size: 11px;
}

/* line 21466, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex: 0 0 auto;
  background: #dadce0;
}

/* line 21475, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-introduced {
  background: #fbbc04;
}

/* line 21476, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-developing {
  background: #1a73e8;
}

/* line 21477, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-proficient {
  background: #34a853;
}

/* line 21478, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-mastered {
  background: #0b8043;
}

/* line 21480, app/assets/stylesheets/application.scss */
.ai-tutor-mastery-total {
  font-size: 12px;
  font-weight: 700;
  color: #174ea6;
}

/* line 21486, app/assets/stylesheets/application.scss */
.ai-tutor-pane-toggle {
  display: none;
}

/* line 21490, app/assets/stylesheets/application.scss */
.ai-tutor-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px var(--hub-ai-chat-gutter) calc(132px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fff;
}

/* line 21501, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: var(--hub-ai-chat-col);
}

/* line 21509, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-user {
  justify-content: flex-end;
}

/* line 21513, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot {
  justify-content: flex-start;
}

/* line 21517, app/assets/stylesheets/application.scss */
.ai-tutor-msg-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

/* line 21524, app/assets/stylesheets/application.scss */
.ai-tutor-msg-avatar img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8eaed;
}

/* line 21533, app/assets/stylesheets/application.scss */
.ai-tutor-msg-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8eaed;
  color: #5f6368;
  font-size: 12px;
}

/* line 21545, app/assets/stylesheets/application.scss */
.ai-tutor-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

/* line 21554, app/assets/stylesheets/application.scss */
.ai-tutor-msg {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 22px;
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
}

/* line 21563, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot .ai-tutor-msg {
  max-width: 100%;
}

/* line 21567, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: #202124;
}

/* line 21573, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-bot {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #202124;
  padding: 2px 0 4px 2px;
  border-radius: 0;
  box-shadow: none;
}

/* line 21583, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 21588, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding-top: 2px;
  color: #6b7280;
}

/* line 21597, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-action {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}

/* line 21613, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-action:hover,
.ai-tutor-msg-ai-action.is-active {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}

/* line 21619, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-wrap {
  position: relative;
}

/* line 21623, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  min-width: 132px;
  padding: 6px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

/* line 21636, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 21640, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
}

/* line 21652, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

/* line 21656, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu button.is-danger {
  color: #b91c1c;
}

/* line 21660, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-actions-trailing {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  color: #9ca3af;
  white-space: nowrap;
  padding-right: 2px;
}

/* line 21672, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-status:empty {
  display: none;
}

/* line 21676, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:first-child {
  margin-top: 0;
}

/* line 21680, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:last-child {
  margin-bottom: 0;
}

/* line 21684, app/assets/stylesheets/application.scss */
.ai-tutor-msg-image {
  display: block;
  max-width: 240px;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* line 21691, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  margin-bottom: 6px;
}

/* line 21699, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-bar {
  position: relative;
  padding: 0 0 8px;
  display: flex;
  gap: 8px;
}

/* line 21706, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-menu {
  position: absolute;
  left: 0;
  bottom: 44px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(60, 64, 67, 0.16);
  padding: 6px;
  z-index: 5;
  min-width: 180px;
}

/* line 21719, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #202124;
}

/* line 21732, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-menu button:hover {
  background: #f1f3f4;
}

/* line 21736, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-custom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 6px 4px;
  border-top: 1px solid #e8eaed;
  margin-top: 4px;
}

/* line 21745, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-custom-label {
  font-size: 11px;
  font-weight: 650;
  color: #5f6b7a;
  margin: 4px 6px 0;
}

/* line 21752, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-input {
  margin: 0 6px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: #202124;
  background: #fff;
}

/* line 21762, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-confirm {
  margin: 4px 6px 2px !important;
  width: calc(100% - 12px) !important;
  text-align: center !important;
  background: #1a73e8 !important;
  color: #fff !important;
  font-weight: 650;
}

/* line 21771, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-confirm:hover {
  background: #1765cc !important;
}

/* line 21775, app/assets/stylesheets/application.scss */
.ai-tutor-attach-preview {
  margin: 0 0 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 21787, app/assets/stylesheets/application.scss */
.ai-tutor-attach-preview img {
  height: 56px;
  width: auto;
  border-radius: 8px;
}

/* line 21793, app/assets/stylesheets/application.scss */
.ai-tutor-composer-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  padding: 12px var(--hub-ai-chat-gutter) 0;
  background: transparent;
  pointer-events: none;
}

/* line 21806, app/assets/stylesheets/application.scss */
.ai-tutor-composer-col {
  width: 100%;
  max-width: var(--hub-ai-chat-col);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

/* line 21814, app/assets/stylesheets/application.scss */
.ai-tutor-form {
  padding: 0;
  background: transparent;
}

/* line 21819, app/assets/stylesheets/application.scss */
.ai-tutor-composer {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 24px;
  padding: 6px 6px 6px 8px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

/* line 21830, app/assets/stylesheets/application.scss */
.ai-tutor-composer input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 14px;
  padding: 8px 6px;
  background: transparent;
  min-width: 0;
}

/* line 21840, app/assets/stylesheets/application.scss */
.ai-tutor-trailing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

/* line 21847, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn {
  background: transparent;
  color: #5f6368;
}

/* line 21852, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn:hover {
  background: #f1f3f4;
  color: #3c4043;
}

/* line 21857, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn.is-recording {
  background: #fee2e2;
  color: #dc2626;
}

/* line 21862, app/assets/stylesheets/application.scss */
.ai-tutor-send-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 21875, app/assets/stylesheets/application.scss */
.ai-tutor-send-btn:hover {
  background: #1765cc;
}

/* line 21879, app/assets/stylesheets/application.scss */
.ai-tutor-recording {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 8px;
  padding: 8px 8px 8px 10px;
  border: 1px solid #fecaca;
  border-radius: 28px;
  background: #fff5f5;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

/* line 21892, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-composer {
  display: none;
}

/* line 21896, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-recording {
  display: flex;
}

/* line 21900, app/assets/stylesheets/application.scss */
.ai-tutor-recording.hidden {
  display: none !important;
}

/* line 21904, app/assets/stylesheets/application.scss */
.ai-tutor-record-cancel {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  cursor: pointer;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 21918, app/assets/stylesheets/application.scss */
.ai-tutor-recording-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

/* line 21929, app/assets/stylesheets/application.scss */
.ai-tutor-recording-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  animation: floating-ai-record-blink 1s ease-in-out infinite;
  flex: 0 0 auto;
}

/* line 21938, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-transcribing {
  opacity: 0.85;
  pointer-events: none;
}

/* line 21943, app/assets/stylesheets/application.scss */
.ai-tutor-disclaimer {
  margin: 0;
  padding: 2px 8px 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

/* line 21951, app/assets/stylesheets/application.scss */
.ai-tutor-composer-col .hub-ai-composer-curtain {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(28px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* line 21959, app/assets/stylesheets/application.scss */
.ai-tutor-loading {
  position: absolute;
  inset: 0;
  background: rgba(247, 248, 250, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 4;
  color: #5f6368;
  font-size: 14px;
}

/* line 21973, app/assets/stylesheets/application.scss */
.ai-tutor-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #dadce0;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: ai-tutor-spin 0.8s linear infinite;
}

@keyframes ai-tutor-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 21986, app/assets/stylesheets/application.scss */
.ai-tutor-history {
  position: absolute;
  top: 57px;
  right: 18px;
  width: min(320px, calc(100% - 36px));
  max-height: min(420px, 60%);
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(60, 64, 67, 0.18);
  z-index: 8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 22002, app/assets/stylesheets/application.scss */
.ai-tutor-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f3f4;
}

/* line 22010, app/assets/stylesheets/application.scss */
.ai-tutor-history-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 22015, app/assets/stylesheets/application.scss */
.ai-tutor-history-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* line 22028, app/assets/stylesheets/application.scss */
.ai-tutor-history-item:hover,
.ai-tutor-history-item.is-active {
  background: #e8f0fe;
}

/* line 22033, app/assets/stylesheets/application.scss */
.ai-tutor-history-item strong {
  font-size: 13px;
}

/* line 22037, app/assets/stylesheets/application.scss */
.ai-tutor-history-item span {
  font-size: 11px;
  color: #80868b;
}

/* line 22042, app/assets/stylesheets/application.scss */
.ai-tutor-muted {
  color: #80868b;
  font-size: 13px;
  padding: 12px;
  margin: 0;
}

/* line 22049, app/assets/stylesheets/application.scss */
.ai-tutor-editor-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 33, 36, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
}

/* line 22060, app/assets/stylesheets/application.scss */
.ai-tutor-editor {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(60, 64, 67, 0.22);
  padding: 18px;
}

/* line 22068, app/assets/stylesheets/application.scss */
.ai-tutor-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* line 22075, app/assets/stylesheets/application.scss */
.ai-tutor-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #5f6368;
}

/* line 22085, app/assets/stylesheets/application.scss */
.ai-tutor-field input {
  border: 1px solid #dadce0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #202124;
}

/* line 22094, app/assets/stylesheets/application.scss */
.ai-tutor-field input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* line 22100, app/assets/stylesheets/application.scss */
.ai-tutor-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

/* line 22106, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option {
  aspect-ratio: 1;
  border: 1px solid #dadce0;
  border-radius: 12px;
  background: #fff;
  color: #3c4043;
  cursor: pointer;
}

/* line 22115, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option:hover,
.ai-tutor-icon-option.is-selected {
  border-color: #1a73e8;
  background: #e8f0fe;
  color: #174ea6;
}

/* line 22122, app/assets/stylesheets/application.scss */
.ai-tutor-editor-error {
  color: #c5221f;
  font-size: 13px;
  margin: 0 0 10px;
}

/* line 22128, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

/* line 22136, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions-right {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* line 22142, app/assets/stylesheets/application.scss */
body.ai-tutor-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 22147, app/assets/stylesheets/application.scss */
  .ai-tutor-layout {
    grid-template-columns: 1fr;
  }
  /* line 22151, app/assets/stylesheets/application.scss */
  .ai-tutor-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e8eaed;
    max-height: 180px;
  }
  /* line 22157, app/assets/stylesheets/application.scss */
  .ai-tutor-subject-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
  }
  /* line 22164, app/assets/stylesheets/application.scss */
  .ai-tutor-subject,
.ai-tutor-subject-add {
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
  }
  /* line 22171, app/assets/stylesheets/application.scss */
  .ai-tutor-subtitle,
.ai-tutor-topbar .ai-tutor-text-btn span {
    display: none;
  }
  /* line 22176, app/assets/stylesheets/application.scss */
  .ai-tutor-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 22180, app/assets/stylesheets/application.scss */
  .ai-tutor-lecture-pane,
.ai-tutor-mastery-pane {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(320px, 88%);
    z-index: 7;
    box-shadow: 0 12px 32px rgba(60, 64, 67, 0.18);
  }
  /* line 22191, app/assets/stylesheets/application.scss */
  .ai-tutor-lecture-pane {
    left: 0;
  }
  /* line 22195, app/assets/stylesheets/application.scss */
  .ai-tutor-mastery-pane {
    right: 0;
  }
  /* line 22199, app/assets/stylesheets/application.scss */
  .ai-tutor.is-lecture-open .ai-tutor-lecture-pane,
.ai-tutor.is-mastery-open .ai-tutor-mastery-pane {
    display: block;
  }
  /* line 22204, app/assets/stylesheets/application.scss */
  .ai-tutor-pane-toggle {
    display: inline-flex;
  }
  /* line 22208, app/assets/stylesheets/application.scss */
  .ai-tutor-modes {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  /* line 22216, app/assets/stylesheets/application.scss */
  .ai-tutor-topbar {
    padding: 12px;
  }
  /* line 22220, app/assets/stylesheets/application.scss */
  .ai-tutor-messages {
    padding: 14px var(--hub-ai-chat-gutter) calc(132px + env(safe-area-inset-bottom, 0px));
  }
  /* line 22224, app/assets/stylesheets/application.scss */
  .ai-tutor-composer-dock {
    padding: 12px var(--hub-ai-chat-gutter) 0;
  }
  /* line 22228, app/assets/stylesheets/application.scss */
  .ai-tutor-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— File share modal (iOS Send-to look) —— */
/* line 22234, app/assets/stylesheets/application.scss */
.file-share-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 18, 22, 0.4);
  backdrop-filter: blur(8px);
}

/* line 22246, app/assets/stylesheets/application.scss */
.file-share-modal.hidden,
.file-share-modal[hidden] {
  display: none;
}

/* line 22251, app/assets/stylesheets/application.scss */
.file-share-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 820px);
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -8px 40px rgba(17, 24, 39, 0.18);
}

/* line 22263, app/assets/stylesheets/application.scss */
.file-share-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 14px 16px 10px;
}

/* line 22272, app/assets/stylesheets/application.scss */
.file-share-head h3 {
  margin: 0;
  text-align: center;
  color: #111;
  font-size: 17px;
  font-weight: 700;
}

/* line 22280, app/assets/stylesheets/application.scss */
.file-share-done {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #0084ff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
}

/* line 22292, app/assets/stylesheets/application.scss */
.file-share-done:hover {
  opacity: 0.75;
}

/* line 22296, app/assets/stylesheets/application.scss */
.file-share-head-spacer {
  justify-self: end;
  width: 1px;
  height: 1px;
}

/* line 22302, app/assets/stylesheets/application.scss */
.file-share-file-name {
  margin: 0;
  padding: 0 16px 8px;
  color: #8e8e93;
  font-size: 13px;
  word-break: break-word;
}

/* line 22310, app/assets/stylesheets/application.scss */
.file-share-file-name:not([hidden]) {
  display: block;
}

/* line 22314, app/assets/stylesheets/application.scss */
.file-share-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 4px 16px 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #f0f0f0;
}

/* line 22326, app/assets/stylesheets/application.scss */
.file-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 22331, app/assets/stylesheets/application.scss */
.file-share-search input {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 15px;
}

/* line 22342, app/assets/stylesheets/application.scss */
.file-share-search input::placeholder {
  color: #8e8e93;
}

/* line 22346, app/assets/stylesheets/application.scss */
.file-share-people {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 180px;
  max-height: none;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

/* line 22357, app/assets/stylesheets/application.scss */
.file-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  font-size: 14px;
  text-align: center;
}

/* line 22364, app/assets/stylesheets/application.scss */
.file-share-person {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  background: #fff;
  padding: 12px 16px;
  text-align: left;
}

/* line 22377, app/assets/stylesheets/application.scss */
.file-share-person:last-child {
  border-bottom: 0;
}

/* line 22381, app/assets/stylesheets/application.scss */
.file-share-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e5ea;
  color: #9a9aa0;
  font-size: 18px;
}

/* line 22395, app/assets/stylesheets/application.scss */
.file-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 22402, app/assets/stylesheets/application.scss */
.file-share-person-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 22410, app/assets/stylesheets/application.scss */
.file-share-person-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111;
  font-size: 16px;
  font-weight: 650;
}

/* line 22419, app/assets/stylesheets/application.scss */
.file-share-send {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: #0084ff;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* line 22432, app/assets/stylesheets/application.scss */
.file-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 22436, app/assets/stylesheets/application.scss */
.file-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 22441, app/assets/stylesheets/application.scss */
.file-share-external {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  padding: 6px 10px 16px;
  border-top: 1px solid #eee;
}

/* line 22450, app/assets/stylesheets/application.scss */
.file-share-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 8px 10px;
  color: #17191d;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

/* line 22467, app/assets/stylesheets/application.scss */
.file-share-channel:hover {
  background: #f6f7f8;
}

/* line 22471, app/assets/stylesheets/application.scss */
.file-share-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
}

/* line 22482, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 22486, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-whatsapp {
  background: #25d366;
  border-radius: 50%;
}

/* line 22491, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-x {
  background: #111;
}

/* line 22495, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-email {
  background: #6b7280;
}

/* line 22499, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-copy {
  background: #111;
}

/* line 22503, app/assets/stylesheets/application.scss */
.file-share-status {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 13px;
  color: #4b5563;
}

/* line 22510, app/assets/stylesheets/application.scss */
.file-share-status.is-ok {
  color: #0f766e;
}

/* line 22514, app/assets/stylesheets/application.scss */
.file-share-status.is-error {
  color: #c62828;
}

@media (min-width: 641px) {
  /* line 22519, app/assets/stylesheets/application.scss */
  .file-share-modal {
    align-items: center;
    padding: 24px;
  }
  /* line 22524, app/assets/stylesheets/application.scss */
  .file-share-card {
    border-radius: 18px;
    max-height: min(86vh, 720px);
  }
}

/* —— Find a job / Kiếm việc —— */
/* line 22531, app/assets/stylesheets/application.scss */
.job-seeking {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 22541, app/assets/stylesheets/application.scss */
.job-seeking.hidden,
.job-seeking[hidden] {
  display: none !important;
}

/* line 22546, app/assets/stylesheets/application.scss */
.job-seeking-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* line 22553, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef2f6;
  color: #243447;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 22566, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn:hover {
  background: #e2e8f0;
}

/* line 22570, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn.is-danger {
  color: #c62828;
}

/* line 22574, app/assets/stylesheets/application.scss */
.job-seeking-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #eef2f6;
  color: #1f6b8c;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 22588, app/assets/stylesheets/application.scss */
.job-seeking-text-btn:hover {
  background: #e2e8f0;
}

/* line 22592, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  background: #1f6b8c;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

/* line 22607, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:hover {
  background: #185a75;
}

/* line 22611, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 22616, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn-block {
  width: 100%;
}

/* line 22620, app/assets/stylesheets/application.scss */
.job-seeking-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  background: rgba(31, 107, 140, 0.12);
  color: #1f6b8c;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

/* line 22635, app/assets/stylesheets/application.scss */
.job-seeking-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  background: #eef2f6;
  color: #243447;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* line 22650, app/assets/stylesheets/application.scss */
.job-seeking-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* line 22657, app/assets/stylesheets/application.scss */
.job-seeking-sidebar {
  border-right: 1px solid #e3e8ee;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 22665, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 8px;
}

/* line 22673, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-head strong {
  font-size: 13px;
  color: #5f6b7a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 22680, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* line 22687, app/assets/stylesheets/application.scss */
.job-seeking-list {
  flex: 1;
  overflow: auto;
  padding: 4px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 22696, app/assets/stylesheets/application.scss */
.job-seeking-app {
  display: grid;
  grid-template-columns: 44px 1fr 12px;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 14px;
  padding: 10px;
  background: transparent;
  cursor: pointer;
  color: #243447;
}

/* line 22711, app/assets/stylesheets/application.scss */
.job-seeking-app:hover {
  background: #f3f6f9;
}

/* line 22715, app/assets/stylesheets/application.scss */
.job-seeking-app.is-active {
  background: rgba(31, 107, 140, 0.1);
}

/* line 22719, app/assets/stylesheets/application.scss */
.job-seeking-score-badge {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(31, 107, 140, 0.12);
  color: #1f6b8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 15px;
}

/* line 22732, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.is-empty {
  font-size: 16px;
}

/* line 22736, app/assets/stylesheets/application.scss */
.job-seeking-app-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 22743, app/assets/stylesheets/application.scss */
.job-seeking-app-text strong {
  font-size: 14px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 22751, app/assets/stylesheets/application.scss */
.job-seeking-app-text span {
  font-size: 12px;
  color: #5f6b7a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 22759, app/assets/stylesheets/application.scss */
.job-seeking-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 22766, app/assets/stylesheets/application.scss */
.job-seeking-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
}

/* line 22777, app/assets/stylesheets/application.scss */
.job-seeking-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(31, 107, 140, 0.12);
  color: #1f6b8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* line 22789, app/assets/stylesheets/application.scss */
.job-seeking-empty strong {
  font-size: 18px;
  color: #12263a;
}

/* line 22794, app/assets/stylesheets/application.scss */
.job-seeking-empty p {
  margin: 0;
  max-width: 420px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.45;
}

/* line 22802, app/assets/stylesheets/application.scss */
.job-seeking-bottom-bar {
  flex-shrink: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(10px);
}

/* line 22810, app/assets/stylesheets/application.scss */
.job-seeking-bottom-bar.hidden,
.job-seeking-bottom-bar[hidden] {
  display: none !important;
}

/* line 22815, app/assets/stylesheets/application.scss */
.job-seeking-detail {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 22822, app/assets/stylesheets/application.scss */
.job-seeking-detail.hidden,
.job-seeking-detail[hidden] {
  display: none !important;
}

/* line 22827, app/assets/stylesheets/application.scss */
.job-seeking-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 8px;
}

/* line 22835, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 22842, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text strong {
  font-size: 22px;
  color: #12263a;
}

/* line 22847, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text span {
  font-size: 13px;
  color: #5f6b7a;
}

/* line 22852, app/assets/stylesheets/application.scss */
.job-seeking-detail-actions {
  display: flex;
  gap: 6px;
}

/* line 22857, app/assets/stylesheets/application.scss */
.job-seeking-detail-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 22867, app/assets/stylesheets/application.scss */
.job-seeking-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* line 22873, app/assets/stylesheets/application.scss */
.job-seeking-card {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 22883, app/assets/stylesheets/application.scss */
.job-seeking-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f6b8c;
  font-size: 14px;
}

/* line 22891, app/assets/stylesheets/application.scss */
.job-seeking-muted {
  margin: 0;
  font-size: 13px;
  color: #5f6b7a;
}

/* line 22897, app/assets/stylesheets/application.scss */
.job-seeking-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 22903, app/assets/stylesheets/application.scss */
.job-seeking-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #eef2f6;
  color: #243447;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* line 22917, app/assets/stylesheets/application.scss */
.job-seeking-chip:hover {
  background: #e2e8f0;
}

/* line 22921, app/assets/stylesheets/application.scss */
.job-seeking-field-label {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
}

/* line 22927, app/assets/stylesheets/application.scss */
.job-seeking-input,
.job-seeking-textarea {
  width: 100%;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  background: #f8fafc;
  color: #12263a;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 12px;
  resize: vertical;
}

/* line 22941, app/assets/stylesheets/application.scss */
.job-seeking-input:focus,
.job-seeking-textarea:focus {
  outline: 2px solid rgba(31, 107, 140, 0.28);
  border-color: #1f6b8c;
  background: #fff;
}

/* line 22948, app/assets/stylesheets/application.scss */
.job-seeking-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

/* line 22955, app/assets/stylesheets/application.scss */
.job-seeking-error {
  margin: 0;
  color: #c62828;
  font-size: 13px;
}

/* line 22961, app/assets/stylesheets/application.scss */
.job-seeking-disclaimer {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 22967, app/assets/stylesheets/application.scss */
.job-seeking-score-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

/* line 22974, app/assets/stylesheets/application.scss */
.job-seeking-score-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* line 22980, app/assets/stylesheets/application.scss */
.job-seeking-score-big span {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

/* line 22986, app/assets/stylesheets/application.scss */
.job-seeking-score-big small {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
}

/* line 22992, app/assets/stylesheets/application.scss */
.job-seeking-source-pill {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
  background: #eef2f6;
  border-radius: 999px;
  padding: 4px 10px;
}

/* line 23001, app/assets/stylesheets/application.scss */
.job-seeking-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #243447;
}

/* line 23008, app/assets/stylesheets/application.scss */
.job-seeking-dims {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 23014, app/assets/stylesheets/application.scss */
.job-seeking-radar-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

/* line 23020, app/assets/stylesheets/application.scss */
.job-seeking-radar {
  width: min(100%, 300px);
  height: auto;
  display: block;
}

/* line 23026, app/assets/stylesheets/application.scss */
.job-seeking-radar-label {
  font-size: 10px;
  font-weight: 650;
  fill: #5f6b7a;
}

/* line 23032, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart {
  margin: 8px 0 4px;
}

/* line 23036, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-title {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
  margin-bottom: 8px;
}

/* line 23043, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 140px;
}

/* line 23050, app/assets/stylesheets/application.scss */
.job-seeking-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

/* line 23060, app/assets/stylesheets/application.scss */
.job-seeking-bar-score {
  font-size: 11px;
  font-weight: 700;
  color: #1f6b8c;
  font-variant-numeric: tabular-nums;
}

/* line 23067, app/assets/stylesheets/application.scss */
.job-seeking-bar-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 4px 4px;
  display: block;
}

/* line 23074, app/assets/stylesheets/application.scss */
.job-seeking-bar-label {
  font-size: 10px;
  font-weight: 650;
  color: #5f6b7a;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

/* line 23083, app/assets/stylesheets/application.scss */
.job-seeking-tutor-cta {
  margin-top: 4px;
}

/* line 23087, app/assets/stylesheets/application.scss */
.job-seeking-dim-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}

/* line 23095, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar {
  height: 6px;
  border-radius: 999px;
  background: #e8eef3;
  overflow: hidden;
}

/* line 23102, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar span {
  display: block;
  height: 100%;
  background: #1f6b8c;
}

/* line 23108, app/assets/stylesheets/application.scss */
.job-seeking-dim p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 23114, app/assets/stylesheets/application.scss */
.job-seeking-bullets {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #243447;
}

/* line 23124, app/assets/stylesheets/application.scss */
.job-seeking-bullets li {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: normal;
}

/* line 23130, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green {
  list-style: disc;
}

/* line 23131, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange {
  list-style: disc;
}

/* line 23132, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent {
  list-style: disc;
}

/* line 23133, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple {
  list-style: disc;
}

/* line 23135, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green li::marker {
  color: #0f9d58;
}

/* line 23136, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange li::marker {
  color: #f4a261;
}

/* line 23137, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent li::marker {
  color: #1f6b8c;
}

/* line 23138, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple li::marker {
  color: #7b61ff;
}

/* line 23140, app/assets/stylesheets/application.scss */
.job-seeking-modal {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* line 23151, app/assets/stylesheets/application.scss */
.job-seeking-modal.hidden,
.job-seeking-modal[hidden] {
  display: none !important;
}

/* line 23156, app/assets/stylesheets/application.scss */
.job-seeking-modal-card {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

/* line 23167, app/assets/stylesheets/application.scss */
.job-seeking-drive-card {
  width: min(100%, 520px);
  max-height: min(80vh, 640px);
}

/* line 23172, app/assets/stylesheets/application.scss */
.job-seeking-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 23179, app/assets/stylesheets/application.scss */
.job-seeking-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

/* line 23186, app/assets/stylesheets/application.scss */
.job-seeking-drive-list {
  overflow: auto;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 23194, app/assets/stylesheets/application.scss */
.job-seeking-drive-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f5f7f9;
  cursor: pointer;
  color: #243447;
}

/* line 23208, app/assets/stylesheets/application.scss */
.job-seeking-drive-item:hover {
  background: #eef2f6;
}

/* line 23212, app/assets/stylesheets/application.scss */
.job-seeking-busy {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 23222, app/assets/stylesheets/application.scss */
.job-seeking-busy.hidden,
.job-seeking-busy[hidden] {
  display: none !important;
}

/* line 23227, app/assets/stylesheets/application.scss */
.job-seeking-busy-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* line 23238, app/assets/stylesheets/application.scss */
.job-seeking-spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid #d7dee7;
  border-top-color: #1f6b8c;
  animation: job-seeking-spin 0.8s linear infinite;
}

@keyframes job-seeking-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 23251, app/assets/stylesheets/application.scss */
body.job-seeking-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 23256, app/assets/stylesheets/application.scss */
  .job-seeking-layout {
    grid-template-columns: 1fr;
  }
  /* line 23260, app/assets/stylesheets/application.scss */
  .job-seeking-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
    max-height: 220px;
  }
  /* line 23266, app/assets/stylesheets/application.scss */
  .job-seeking-panels {
    grid-template-columns: 1fr;
  }
  /* line 23270, app/assets/stylesheets/application.scss */
  .job-seeking-text-btn span {
    display: none;
  }
}

/* —— Chat media lightbox —— */
/* line 23276, app/assets/stylesheets/application.scss */
html.chat-media-viewer-open,
html.chat-media-viewer-open body {
  overflow: hidden;
}

/* line 23281, app/assets/stylesheets/application.scss */
.chat-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: #fff;
  background: rgba(8, 10, 14, 0.72);
}

/* line 23292, app/assets/stylesheets/application.scss */
.chat-media-viewer.hidden {
  display: none !important;
}

/* line 23296, app/assets/stylesheets/application.scss */
.chat-media-viewer-backdrop {
  position: absolute;
  inset: -40px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(36px) saturate(1.1) brightness(0.45);
  transform: scale(1.08);
  pointer-events: none;
}

/* line 23307, app/assets/stylesheets/application.scss */
.chat-media-viewer-chrome {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  height: 100%;
  padding: 18px 20px 16px;
  box-sizing: border-box;
}

/* line 23318, app/assets/stylesheets/application.scss */
.chat-media-viewer-top-actions {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 23328, app/assets/stylesheets/application.scss */
.chat-media-viewer-icon-btn,
.chat-media-viewer-frame-btn,
.chat-media-viewer-nav,
.chat-media-viewer-video-btn,
.chat-media-viewer-toolbar button,
.chat-media-viewer-thumb {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

/* line 23342, app/assets/stylesheets/application.scss */
.chat-media-viewer-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 15px;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* line 23357, app/assets/stylesheets/application.scss */
.chat-media-viewer-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* line 23362, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 120, 128, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 22px;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* line 23381, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav:hover {
  background: rgba(150, 150, 158, 0.55);
}

/* line 23385, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav.is-prev {
  left: 18px;
}

/* line 23386, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav.is-next {
  right: 18px;
}

/* line 23387, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav[hidden] {
  display: none !important;
}

/* line 23389, app/assets/stylesheets/application.scss */
.chat-media-viewer-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 8px 78px 12px;
}

/* line 23397, app/assets/stylesheets/application.scss */
.chat-media-viewer-frame {
  position: relative;
  width: min(420px, calc(100vw - 160px));
  height: min(760px, calc(100vh - 140px));
  max-height: calc(100vh - 140px);
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

/* line 23410, app/assets/stylesheets/application.scss */
.chat-media-viewer-frame-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 0;
  pointer-events: none;
}

/* line 23424, app/assets/stylesheets/application.scss */
.chat-media-viewer-frame-top > * {
  pointer-events: auto;
}

/* line 23428, app/assets/stylesheets/application.scss */
.chat-media-viewer-frame-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
}

/* line 23442, app/assets/stylesheets/application.scss */
.chat-media-viewer-meta {
  justify-self: center;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 23460, app/assets/stylesheets/application.scss */
.chat-media-viewer-meta[hidden] {
  visibility: hidden;
}

/* line 23464, app/assets/stylesheets/application.scss */
.chat-media-viewer-media {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0d;
}

/* line 23473, app/assets/stylesheets/application.scss */
.chat-media-viewer-asset {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* line 23482, app/assets/stylesheets/application.scss */
.chat-media-viewer-video-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 118px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* line 23498, app/assets/stylesheets/application.scss */
.chat-media-viewer-video-bar.hidden,
.chat-media-viewer-video-bar[hidden] {
  display: none !important;
}

/* line 23503, app/assets/stylesheets/application.scss */
.chat-media-viewer-video-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  flex: 0 0 auto;
}

/* line 23514, app/assets/stylesheets/application.scss */
.chat-media-viewer-seek {
  flex: 1;
  min-width: 0;
  accent-color: #fff;
  height: 4px;
}

/* line 23521, app/assets/stylesheets/application.scss */
.chat-media-viewer-mini-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

/* line 23534, app/assets/stylesheets/application.scss */
.chat-media-viewer-mini-strip::-webkit-scrollbar {
  display: none;
}

/* line 23538, app/assets/stylesheets/application.scss */
.chat-media-viewer-mini-strip[hidden],
.chat-media-viewer-mini-strip:empty {
  display: none !important;
}

/* line 23543, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 56px;
  background: rgba(255, 255, 255, 0.96);
  color: #1c1c1e;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* line 23558, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button {
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1c1c1e;
}

/* line 23567, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.04);
}

/* line 23571, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button.is-active {
  color: #e11d48;
}

/* line 23575, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 23580, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 4px 78px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

/* line 23591, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip::-webkit-scrollbar {
  display: none;
}

/* line 23595, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip[hidden],
.chat-media-viewer-filmstrip:empty {
  display: none !important;
}

/* line 23600, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.08);
}

/* line 23611, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb.is-mini {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

/* line 23617, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb.is-active {
  border-color: #2f6bff;
}

/* line 23621, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 23628, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 11px;
}

/* line 23639, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media img,
.floating-ai-msg-media {
  cursor: zoom-in;
}

@media (max-width: 720px) {
  /* line 23645, app/assets/stylesheets/application.scss */
  .chat-media-viewer-chrome {
    padding: 10px 10px 12px;
  }
  /* line 23649, app/assets/stylesheets/application.scss */
  .chat-media-viewer-stage {
    padding: 4px 8px 8px;
  }
  /* line 23653, app/assets/stylesheets/application.scss */
  .chat-media-viewer-frame {
    width: min(100%, calc(100vw - 16px));
    height: min(720px, calc(100vh - 120px));
    border-radius: 14px;
  }
  /* line 23659, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  /* line 23665, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav.is-prev {
    left: 8px;
  }
  /* line 23666, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav.is-next {
    right: 8px;
  }
  /* line 23668, app/assets/stylesheets/application.scss */
  .chat-media-viewer-top-actions {
    top: 10px;
    right: 10px;
  }
  /* line 23673, app/assets/stylesheets/application.scss */
  .chat-media-viewer-filmstrip {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* line 23679, app/assets/stylesheets/application.scss */
.perk-auth-restore {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: var(--perk-auth-field, #fff);
  color: var(--perk-auth-ink, #111);
}

/* line 23692, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-restore {
  display: flex;
}

/* line 23696, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-stage {
  visibility: hidden;
}

/* line 23700, app/assets/stylesheets/application.scss */
.perk-auth-restore-mark {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--perk-auth-ink, #111);
  border-radius: 50%;
  animation: perk-auth-spin 0.8s linear infinite;
}

/* line 23709, app/assets/stylesheets/application.scss */
.perk-auth-restore p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* line 23715, app/assets/stylesheets/application.scss */
.perk-auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--perk-auth-muted, #555);
  cursor: pointer;
}

/* line 23725, app/assets/stylesheets/application.scss */
.perk-auth-remember input {
  width: 16px;
  height: 16px;
}

@keyframes perk-auth-spin {
  to {
    transform: rotate(360deg);
  }
}
