@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;
}

/* Kill browser dark-blue selection / focus chrome on fields */
/* line 89, app/assets/stylesheets/application.scss */
::selection,
input::selection,
textarea::selection,
[contenteditable="true"]::selection {
  background: rgba(23, 25, 29, 0.14);
  color: inherit;
}

/* line 97, app/assets/stylesheets/application.scss */
::-moz-selection,
input::-moz-selection,
textarea::-moz-selection,
[contenteditable="true"]::-moz-selection {
  background: rgba(23, 25, 29, 0.14);
  color: inherit;
}

/* line 105, app/assets/stylesheets/application.scss */
input,
textarea,
select,
[contenteditable="true"] {
  -webkit-tap-highlight-color: transparent;
  caret-color: var(--perk-ink, #17191d);
}

/* line 113, app/assets/stylesheets/application.scss */
input:focus,
textarea:focus,
select:focus,
[contenteditable="true"]:focus {
  outline: none;
}

/* line 120, app/assets/stylesheets/application.scss */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-text-fill-color: var(--perk-ink, #17191d);
  caret-color: var(--perk-ink, #17191d);
  transition: background-color 99999s ease-out;
  box-shadow: 0 0 0 1000px #fff inset;
}

/* Replace Tailwind blue/indigo focus rings on form controls */
/* line 139, app/assets/stylesheets/application.scss */
input[class*="ring-blue"]:focus,
textarea[class*="ring-blue"]:focus,
select[class*="ring-blue"]:focus,
input[class*="ring-indigo"]:focus,
textarea[class*="ring-indigo"]:focus,
select[class*="ring-indigo"]:focus {
  --tw-ring-color: rgba(23, 25, 29, 0.16);
  --tw-ring-opacity: 1;
}

/* line 149, app/assets/stylesheets/application.scss */
input[class*="border-blue"]:focus,
textarea[class*="border-blue"]:focus,
select[class*="border-blue"]:focus,
input[class*="border-indigo"]:focus,
textarea[class*="border-indigo"]:focus,
select[class*="border-indigo"]:focus {
  border-color: #17191d;
}

/* line 158, 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 170, 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 177, 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 184, 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 191, 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 200, app/assets/stylesheets/application.scss */
.home-bg {
  background-color: #f3f2f7;
}

/* line 204, 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 213, app/assets/stylesheets/application.scss */
.carousel.is-fullscreen .carousel-cell {
  height: 250px;
}

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

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

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

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

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

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

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

/* line 252, 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 260, app/assets/stylesheets/application.scss */
.sticky {
  position: -webkit-sticky;
  position: sticky;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 351, app/assets/stylesheets/application.scss */
.focus:focus-within {
  border: 2px solid #17191d;
}

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

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

/* line 369, 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 377, app/assets/stylesheets/application.scss */
.relative-container {
  position: relative;
  /* Ensure the dimensions cover the whole image area */
}

/* line 382, 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 388, 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 403, 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 416, app/assets/stylesheets/application.scss */
#contact-modal .modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
}

/* line 425, 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 438, app/assets/stylesheets/application.scss */
.homepage-hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* line 445, 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 457, app/assets/stylesheets/application.scss */
.start-button:hover {
  background-color: #fff;
}

/* line 462, 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 475, 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 480, app/assets/stylesheets/application.scss */
.ai-hero-fx {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* line 488, 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 496, 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 505, 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 515, 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 525, 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 535, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

/* line 543, 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 550, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-link-2 {
  animation-delay: -1s;
}

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

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

/* line 554, 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 564, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-node-1 {
  top: 22%;
  left: 12%;
}

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

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

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

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

/* line 570, 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 577, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-ring-1 {
  width: 78px;
  height: 78px;
  top: calc(22% - 34px);
  left: calc(12% - 34px);
}

/* line 584, 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 592, 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 600, 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 612, 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 621, 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 634, 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 644, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-chat {
  width: 220px;
  padding: 14px;
  top: 10%;
  left: 2%;
}

/* line 651, 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 660, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-bubble-user {
  background: rgba(255, 255, 255, 0.16);
  margin-left: 18px;
}

/* line 665, 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 672, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 14px;
}

/* line 679, 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 688, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

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

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

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

/* line 699, 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 707, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-feed {
  width: 160px;
  padding: 14px;
  top: 10%;
  right: 2%;
  animation-delay: -2.5s;
}

/* line 715, 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 723, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-feed-rows {
  display: grid;
  gap: 8px;
}

/* line 728, 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 736, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-feed-row.short {
  width: 62%;
}

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

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

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

/* line 748, 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 758, 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 766, 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 780, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-card-label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

/* line 787, 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 805, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-badge-gift {
  bottom: 12%;
  left: 2%;
}

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

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

/* line 824, 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 833, 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 844, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-news-bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}

/* line 851, 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 858, app/assets/stylesheets/application.scss */
.ai-hero-fx .ai-news-bars i:nth-child(1) {
  height: 5px;
}

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

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

/* line 862, 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 938, 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 946, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-chat {
    width: 180px;
    top: 8%;
    left: 1.5%;
  }
  /* line 947, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-feed {
    width: 130px;
    top: 8%;
    right: 1.5%;
  }
  /* line 948, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-reels {
    width: 90px;
    bottom: 10%;
    right: 1.5%;
  }
  /* line 949, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-card-reels .ai-reels-screen {
    height: 110px;
  }
  /* line 950, app/assets/stylesheets/application.scss */
  .ai-hero-fx .ai-badge-gift {
    bottom: 10%;
    left: 1.5%;
  }
}

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

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

/* line 977, 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 995, app/assets/stylesheets/application.scss */
#hero-content {
  z-index: 10;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

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

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

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

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

/* line 1028, app/assets/stylesheets/application.scss */
.browser-hub {
  --hub-apps-canvas: #ffffff;
  --hub-apps-panel: #ffffff;
  --hub-apps-ink: #17191d;
  --hub-apps-muted: #6b7280;
  --hub-apps-line: rgba(23, 25, 29, 0.08);
  --hub-apps-lift: 0 10px 28px rgba(23, 25, 29, 0.08);
  --hub-apps-lift-sm: 0 4px 14px rgba(23, 25, 29, 0.06);
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(920px 420px at 50% -8%, rgba(255, 255, 255, 0.98), transparent 58%), radial-gradient(720px 360px at 88% 12%, rgba(23, 25, 29, 0.02), transparent 62%), var(--hub-apps-canvas);
  padding: 0 var(--perk-space-4) 48px;
  color: var(--hub-apps-ink);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-padding-top: 48px;
}

/* line 1053, 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: 1px solid var(--hub-apps-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hub-apps-ink);
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--hub-apps-lift-sm);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* line 1074, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn:hover {
  background: #fff;
  border-color: rgba(23, 25, 29, 0.12);
  transform: translateY(-1px);
  box-shadow: var(--hub-apps-lift);
}

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

/* line 1085, 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,
.browser-hub.is-characters .hub-chat-menu-btn {
  display: none !important;
}

/* line 1093, app/assets/stylesheets/application.scss */
.hub-peek-label-btn {
  position: absolute;
  left: calc(4px + var(--hub-peek-tile-size, 176px) - 8px - 18px);
  bottom: calc(14px + 8px - 18px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  border: 1px solid #000;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  padding: 0;
  cursor: pointer;
  color: var(--hub-apps-ink, #17191d);
  font-size: 15px;
  line-height: 1;
  box-shadow: var(--hub-apps-lift-sm);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* line 1120, app/assets/stylesheets/application.scss */
.hub-peek-label-btn:hover {
  background: #fff;
  transform: translateY(-1px) scale(1.04);
  box-shadow: var(--hub-apps-lift);
}

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

/* line 1130, app/assets/stylesheets/application.scss */
.hub-credit-btn {
  position: absolute;
  top: 64px;
  right: 16px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf0 0%, #f7efd8 100%);
  color: #17191d;
  padding: 6px 11px 6px 13px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--hub-apps-lift-sm);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

/* line 1153, app/assets/stylesheets/application.scss */
.credit-coin-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background: url(https://perkapp.io/assets/creditCoin-6e159cb4c9c52a91c828b3a0b138c43aeefb4a7f40f22dcee256d5ea296ecdd1.png) center/contain no-repeat;
  vertical-align: -0.12em;
}

/* line 1162, app/assets/stylesheets/application.scss */
.hub-credit-btn .credit-coin-icon {
  width: 18px;
  height: 18px;
}

/* line 1167, app/assets/stylesheets/application.scss */
.hub-credit-btn:hover {
  background: linear-gradient(180deg, #fff8e8 0%, #f1e6c8 100%);
  transform: translateY(-1px);
  box-shadow: var(--hub-apps-lift);
}

/* line 1173, app/assets/stylesheets/application.scss */
.hub-credit-btn.hidden,
.hub-credit-btn[hidden],
body.hub-ask-chat-open .hub-credit-btn,
body.credit-hub-open .hub-credit-btn,
body.market-hub-open .hub-credit-btn,
body.nutrition-hub-open .hub-credit-btn,
body.pin-hub-open .hub-credit-btn,
.browser-hub.is-shopping .hub-credit-btn,
.browser-hub.is-characters .hub-credit-btn,
.browser-hub.is-browsing .hub-credit-btn {
  display: none !important;
}

/* line 1186, 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-characters .hub-peek-label-btn,
.browser-hub.is-browsing .hub-peek-label-btn {
  display: none !important;
}

/* line 1195, app/assets/stylesheets/application.scss */
.hub-chat-history {
  position: absolute;
  top: var(--hub-tabbar-h, 48px);
  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 1209, app/assets/stylesheets/application.scss */
.hub-chat-history.hidden,
.hub-chat-history[hidden] {
  display: none !important;
}

/* line 1214, 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 1223, 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 1238, 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 1248, app/assets/stylesheets/application.scss */
.hub-chat-history-head strong {
  font-size: 15px;
  font-weight: 700;
}

/* line 1253, 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 1266, 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 1284, app/assets/stylesheets/application.scss */
.hub-chat-new-chat-btn:hover {
  background: #30343a;
}

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

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

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

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

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

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

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

/* line 1339, app/assets/stylesheets/application.scss */
.perk-history-open {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 1355, app/assets/stylesheets/application.scss */
.perk-history-open strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 1361, app/assets/stylesheets/application.scss */
.perk-history-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

/* line 1371, app/assets/stylesheets/application.scss */
.hub-chat-history-item:hover .perk-history-actions,
.hub-chat-history-item:focus-within .perk-history-actions,
.hub-ask-chat-history-item:hover .perk-history-actions,
.hub-ask-chat-history-item:focus-within .perk-history-actions,
.floating-ai-history-item:hover .perk-history-actions,
.floating-ai-history-item:focus-within .perk-history-actions,
.ai-drive-history-item:hover .perk-history-actions,
.ai-drive-history-item:focus-within .perk-history-actions,
.ai-tutor-history-item:hover .perk-history-actions,
.ai-tutor-history-item:focus-within .perk-history-actions {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: none) {
  /* line 1386, app/assets/stylesheets/application.scss */
  .perk-history-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

/* line 1392, app/assets/stylesheets/application.scss */
.perk-history-action {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  font-size: 13px;
}

/* line 1406, app/assets/stylesheets/application.scss */
.perk-history-action:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #111;
}

/* line 1411, app/assets/stylesheets/application.scss */
.perk-history-action.is-danger:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* line 1416, app/assets/stylesheets/application.scss */
.hub-chat-history-item.is-busy,
.hub-ask-chat-history-item.is-busy,
.floating-ai-history-item.is-busy,
.ai-drive-history-item.is-busy,
.ai-tutor-history-item.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

/* line 1425, app/assets/stylesheets/application.scss */
.perk-browser-chrome {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--perk-space-2);
  height: 48px;
  margin: 0 -16px;
  padding: 0 var(--perk-space-2);
  border-bottom: 1px solid rgba(23, 25, 29, 0.06);
  background: linear-gradient(180deg, #eceef1 0%, #e6e8ec 100%);
  backdrop-filter: none;
  overflow: visible;
}

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

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

/* line 1459, 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: 36px;
  margin: 0;
  padding: 0 var(--perk-space-2) 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8b919a;
  font-size: var(--text-footnote);
  font-weight: 600;
  line-height: 1.35;
  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;
}

/* line 1486, app/assets/stylesheets/application.scss */
.hub-view-tab i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 13px;
  opacity: 0.8;
  flex: 0 0 auto;
  line-height: 1;
}

/* line 1498, app/assets/stylesheets/application.scss */
.hub-view-tab .credit-coin-icon {
  width: 14px;
  height: 14px;
  opacity: 0.95;
}

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

/* line 1512, 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: inherit;
  font-size: 16px;
  line-height: 1;
  opacity: 0.72;
}

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

/* line 1532, app/assets/stylesheets/application.scss */
.hub-view-tab:hover {
  background: rgba(255, 255, 255, 0.45);
  color: #5f6670;
  text-decoration: none;
}

/* line 1538, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active {
  z-index: 1;
  height: 36px;
  margin: 0;
  padding: 0 var(--perk-space-2) 0 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hub-apps-ink, #17191d);
  border: 0;
  border-bottom: 0;
  box-shadow: none;
  text-decoration: none;
}

/* line 1551, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active:hover {
  color: #000;
}

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

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

/* line 1565, 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;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

/* line 1581, app/assets/stylesheets/application.scss */
.hub-view-tab-add:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #202124;
  transform: scale(1.04);
}

/* line 1587, 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 1602, app/assets/stylesheets/application.scss */
.hub-view-panel-close:hover {
  background: rgba(60, 64, 67, 0.1);
  color: #202124;
}

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

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

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

/* line 1622, 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 1635, app/assets/stylesheets/application.scss */
.perk-browser-nav-btn:hover:not(:disabled) {
  background: rgba(60, 64, 67, 0.1);
}

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

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

/* line 1652, 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 1664, app/assets/stylesheets/application.scss */
.perk-browser-url:focus {
  border-color: #8ab4f8;
  box-shadow: 0 0 0 1px #8ab4f8;
}

/* line 1669, 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 1686, app/assets/stylesheets/application.scss */
.perk-browser-star:hover {
  background: rgba(60, 64, 67, 0.08);
}

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

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

/* line 1699, 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 1709, app/assets/stylesheets/application.scss */
.hub-browser-iframe {
  width: 100%;
  height: calc(100vh - 170px);
  border: 0;
  background: #fff;
  border-radius: 0;
}

/* line 1717, 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 1736, app/assets/stylesheets/application.scss */
.hub-browser-open-external:hover {
  background: #111827;
  color: #fff;
}

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

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

/* line 1754, app/assets/stylesheets/application.scss */
.browser-hub-inner.ai-characters-panel,
.ai-characters-panel.browser-hub-inner {
  max-width: none;
  margin: 0;
  width: 100%;
  align-items: stretch;
  gap: 0;
}

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

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

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

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

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

/* line 1795, 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: transparent;
}

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

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

/* line 1813, 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 1826, app/assets/stylesheets/application.scss */
.hub-gender-pills {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 1832, 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 1843, app/assets/stylesheets/application.scss */
.hub-gender-pill.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

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

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

/* line 1862, 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 1869, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .hub-styles-grid {
  column-count: 3;
}

/* line 1873, 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 1883, app/assets/stylesheets/application.scss */
.hub-style-card-media-wrap {
  position: relative;
}

/* line 1887, 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 1901, 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 1908, 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 1914, app/assets/stylesheets/application.scss */
.hub-style-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
}

/* line 1924, 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 1934, 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 1953, 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 1964, 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 1973, 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 1985, 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 2000, app/assets/stylesheets/application.scss */
.hub-style-more:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111;
}

/* line 2005, 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 2017, app/assets/stylesheets/application.scss */
.hub-style-link-list::-webkit-scrollbar {
  display: none;
}

/* line 2021, 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 2043, app/assets/stylesheets/application.scss */
.hub-style-link:hover {
  background: #e5e5ea;
  color: #1c1c1e;
}

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

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

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

/* line 2063, 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 2080, app/assets/stylesheets/application.scss */
.hub-style-shop-result:hover {
  background: #e5e5ea;
}

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

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

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

/* line 2097, 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 2105, app/assets/stylesheets/application.scss */
.hub-style-shop-result-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 2111, 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 2120, 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 2128, 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 2132, app/assets/stylesheets/application.scss */
.hub-style-shop-result > i {
  font-size: 12px;
  opacity: 0.45;
}

/* line 2137, 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 2144, app/assets/stylesheets/application.scss */
.hub-style-options-modal.flex {
  display: flex;
  align-items: flex-end;
}

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

/* line 2155, 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 2169, 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 2176, app/assets/stylesheets/application.scss */
.hub-style-options-head {
  display: flex;
  justify-content: flex-start;
  padding: 0 14px;
}

/* line 2182, 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 2191, 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 2199, app/assets/stylesheets/application.scss */
.hub-style-options-list {
  display: flex;
  flex-direction: column;
}

/* line 2204, 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 2219, app/assets/stylesheets/application.scss */
.hub-style-options-row:hover {
  background: rgba(0, 0, 0, 0.04);
}

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

/* line 2229, 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 2243, app/assets/stylesheets/application.scss */
.hub-style-pin-detail {
  position: absolute;
  top: var(--hub-tabbar-h, 48px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  background: #fff;
}

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

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

/* line 2266, 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 2279, app/assets/stylesheets/application.scss */
.hub-style-pin-chrome > * {
  pointer-events: auto;
}

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

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

/* line 2295, 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 2304, app/assets/stylesheets/application.scss */
.hub-style-pin-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 10px;
}

/* line 2311, 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 2325, app/assets/stylesheets/application.scss */
.hub-style-icon-btn.is-saved,
.hub-style-icon-btn.is-saved i {
  color: #e61f2e;
}

/* line 2330, 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 2342, app/assets/stylesheets/application.scss */
.hub-style-save-cta.is-saved {
  background: #111;
}

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

/* line 2350, 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 2362, 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 2370, 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 2376, app/assets/stylesheets/application.scss */
.hub-style-pin-title-btn i.is-open {
  transform: rotate(180deg);
}

/* line 2380, 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 2387, app/assets/stylesheets/application.scss */
.hub-style-pin-shop {
  padding: 0 0 22px;
}

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

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

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

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

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

/* line 2419, 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 2427, 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 2434, app/assets/stylesheets/application.scss */
.hub-style-pin-related-item {
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eceff2;
  cursor: pointer;
}

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

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

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

/* line 2462, 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 2480, app/assets/stylesheets/application.scss */
.hub-style-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* line 2485, 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 2498, app/assets/stylesheets/application.scss */
.hub-ai-fit {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #f5f7f9;
}

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

/* line 2509, 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 2519, 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 2528, 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 2537, app/assets/stylesheets/application.scss */
.hub-ai-fit-header-spacer {
  width: 36px;
}

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

/* line 2548, 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 2559, app/assets/stylesheets/application.scss */
.hub-ai-fit-uploads {
  display: flex;
  flex-direction: column;
}

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

/* line 2568, 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 2576, app/assets/stylesheets/application.scss */
.hub-ai-fit-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

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

/* line 2590, 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 2601, 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 2614, 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 2623, 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 2636, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo.is-selected {
  border-color: #111;
}

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

/* line 2647, 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 2663, 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 2675, app/assets/stylesheets/application.scss */
.hub-ai-fit-style.is-selected {
  border-color: #111;
}

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

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

/* line 2693, 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 2708, app/assets/stylesheets/application.scss */
.hub-ai-fit-metrics-toggle span {
  flex: 1 1 auto;
}

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

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

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

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

/* line 2731, 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 2740, 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 2749, app/assets/stylesheets/application.scss */
.hub-ai-fit-cta {
  display: flex;
  flex-direction: column;
}

/* line 2754, 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 2767, app/assets/stylesheets/application.scss */
.hub-ai-fit-generate:disabled {
  background: rgba(0, 0, 0, 0.35);
  cursor: not-allowed;
}

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

/* line 2780, 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 2794, app/assets/stylesheets/application.scss */
.hub-ai-fit-history {
  margin-top: 14px;
}

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

/* line 2804, 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 2814, app/assets/stylesheets/application.scss */
.hub-ai-fit-history-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 2821, 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 2832, app/assets/stylesheets/application.scss */
.hub-ai-fit-result.hidden {
  display: none !important;
}

/* line 2836, 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 2844, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

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

/* line 2857, 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 2866, app/assets/stylesheets/application.scss */
.hub-ai-fit-result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

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

/* line 2879, 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 2892, app/assets/stylesheets/application.scss */
  .hub-ai-fit-shell {
    max-width: 1080px;
    border-left: 1px solid #e8ebef;
    border-right: 1px solid #e8ebef;
  }
  /* line 2898, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header {
    padding: 14px 28px;
  }
  /* line 2902, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header h2 {
    font-size: 18px;
    text-align: left;
  }
  /* line 2907, app/assets/stylesheets/application.scss */
  .hub-ai-fit-scroll {
    padding: 28px 32px 56px;
  }
  /* line 2911, 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 2919, 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 2927, 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 2935, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo-row,
.hub-ai-fit-styles {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
  /* line 2942, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo {
    width: 112px;
    height: 146px;
  }
  /* line 2947, app/assets/stylesheets/application.scss */
  .hub-ai-fit-style {
    width: 156px;
    height: 208px;
  }
  /* line 2952, app/assets/stylesheets/application.scss */
  .hub-ai-fit-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 2956, 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 2967, app/assets/stylesheets/application.scss */
  .hub-ai-fit-generate {
    grid-area: generate;
    order: initial;
  }
  /* line 2972, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-btn {
    grid-area: history;
    order: initial;
    margin-top: 0;
  }
  /* line 2978, app/assets/stylesheets/application.scss */
  .hub-ai-fit-wait {
    grid-area: wait;
    order: initial;
    margin: 0;
    text-align: left;
  }
  /* line 2985, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  /* line 2990, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result {
    padding: 32px;
  }
  /* line 2994, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-card {
    width: min(100%, 560px);
    padding: 22px;
  }
  /* line 2999, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-image {
    max-height: 68vh;
  }
  /* line 3003, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-actions {
    flex-direction: row;
  }
  /* line 3007, 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 3014, app/assets/stylesheets/application.scss */
.hub-locket-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
}

/* line 3023, app/assets/stylesheets/application.scss */
.hub-peek-row-wrap {
  --hub-peek-tile-size: 176px;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
  background: transparent;
  padding-top: 8px;
}

/* line 3033, app/assets/stylesheets/application.scss */
.hub-peek-stage {
  position: relative;
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  overflow: visible;
}

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

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

/* line 3063, app/assets/stylesheets/application.scss */
.hub-peek-tile {
  flex: 0 0 auto;
  width: 176px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  scroll-snap-align: start;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

/* line 3077, app/assets/stylesheets/application.scss */
.hub-peek-tile.is-left {
  transform: rotate(-1.6deg);
}

/* line 3081, app/assets/stylesheets/application.scss */
.hub-peek-tile.is-right {
  transform: rotate(1.8deg);
}

/* line 3085, app/assets/stylesheets/application.scss */
.hub-peek-tile:hover {
  transform: translateY(-2px);
}

/* line 3089, app/assets/stylesheets/application.scss */
.hub-peek-tile.is-left:hover {
  transform: translateY(-2px) rotate(-1.6deg);
}

/* line 3093, app/assets/stylesheets/application.scss */
.hub-peek-tile.is-right:hover {
  transform: translateY(-2px) rotate(1.8deg);
}

/* line 3097, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  border-radius: 28px;
  background: transparent;
  color: rgba(23, 25, 29, 0.38);
  font-size: 40px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

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

/* line 3121, app/assets/stylesheets/application.scss */
.hub-peek-tile:hover .hub-peek-tile-frame {
  border-color: transparent;
  box-shadow: none;
  color: rgba(23, 25, 29, 0.55);
}

/* line 3127, app/assets/stylesheets/application.scss */
.hub-peek-tile--empty .hub-peek-tile-frame {
  background: transparent;
  border: 1px solid rgba(23, 25, 29, 0.12);
  box-shadow: none;
}

/* line 3133, app/assets/stylesheets/application.scss */
.hub-peek-tile--empty:hover .hub-peek-tile-frame {
  border-color: rgba(23, 25, 29, 0.2);
  color: rgba(23, 25, 29, 0.55);
}

/* line 3138, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: 22px 20px 18px;
  background: var(--peek-note-fill, #ffe88c);
  border: 0;
  box-shadow: none;
  color: #1f1f1f;
  text-align: left;
  font-size: inherit;
}

/* line 3151, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* line 3162, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.72);
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 3176, 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 3190, app/assets/stylesheets/application.scss */
.hub-locket-friends:hover {
  color: rgba(0, 0, 0, 0.8);
}

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

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

/* line 3210, 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 3217, app/assets/stylesheets/application.scss */
.hub-peek-gallery-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  height: calc(100vh - 48px);
  max-height: 780px;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 18px;
  border-radius: 28px;
  background: rgba(20, 22, 26, 0.92);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

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

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

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

/* line 3265, 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 3281, app/assets/stylesheets/application.scss */
.hub-peek-gallery-sender:disabled {
  cursor: default;
}

/* line 3285, 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 3300, 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 3310, app/assets/stylesheets/application.scss */
.hub-peek-gallery-avatar img[hidden] {
  display: none !important;
}

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

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

/* line 3325, 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 3333, app/assets/stylesheets/application.scss */
.hub-peek-gallery-meta-text span {
  font-size: 12px;
  opacity: 0.72;
}

/* line 3339, app/assets/stylesheets/application.scss */
.hub-peek-gallery-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

/* line 3346, app/assets/stylesheets/application.scss */
.hub-peek-gallery-archive {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

/* line 3360, 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 3369, app/assets/stylesheets/application.scss */
.hub-peek-gallery-delete.hidden,
.hub-peek-gallery-delete[hidden] {
  display: none !important;
}

/* line 3374, app/assets/stylesheets/application.scss */
.hub-peek-gallery-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  flex: 1 1 auto;
}

/* line 3383, app/assets/stylesheets/application.scss */
.hub-peek-gallery-details {
  width: calc(100vw - 48px);
  max-width: 560px;
  margin: 14px auto 0;
  flex: 0 0 auto;
}

/* line 3390, app/assets/stylesheets/application.scss */
.hub-peek-gallery-caption {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

/* line 3397, app/assets/stylesheets/application.scss */
.hub-peek-reply {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 5px 6px 5px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

/* line 3409, app/assets/stylesheets/application.scss */
.hub-peek-reply input {
  flex: 1;
  min-width: 80px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

/* line 3419, app/assets/stylesheets/application.scss */
.hub-peek-reply input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

/* line 3420, app/assets/stylesheets/application.scss */
.hub-peek-reactions {
  display: flex;
  gap: 2px;
}

/* line 3421, app/assets/stylesheets/application.scss */
.hub-peek-reactions button,
.hub-peek-reply-send {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* line 3433, app/assets/stylesheets/application.scss */
.hub-peek-reactions button {
  font-size: 21px;
}

/* line 3434, app/assets/stylesheets/application.scss */
.hub-peek-reactions button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* line 3435, app/assets/stylesheets/application.scss */
.hub-peek-reply-send {
  background: rgba(255, 255, 255, 0.2);
}

/* line 3436, app/assets/stylesheets/application.scss */
.hub-peek-reply-status {
  min-height: 18px;
  margin: 6px 16px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

/* line 3438, app/assets/stylesheets/application.scss */
.hub-peek-compose,
.hub-peek-archive {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
}

/* line 3448, app/assets/stylesheets/application.scss */
.hub-peek-compose.hidden,
.hub-peek-compose[hidden],
.hub-peek-archive.hidden,
.hub-peek-archive[hidden] {
  display: none;
}

/* line 3452, app/assets/stylesheets/application.scss */
.hub-peek-compose-backdrop,
.hub-peek-archive-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(12px);
}

/* line 3454, app/assets/stylesheets/application.scss */
.hub-peek-compose-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: #111318;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

/* line 3467, app/assets/stylesheets/application.scss */
.hub-peek-compose-card header,
.hub-peek-archive-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* line 3469, app/assets/stylesheets/application.scss */
.hub-peek-compose-card header h3 {
  margin: 0;
  font-size: 19px;
}

/* line 3470, app/assets/stylesheets/application.scss */
.hub-peek-compose-card header button,
.hub-peek-archive-panel > header button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

/* line 3474, app/assets/stylesheets/application.scss */
.hub-peek-compose-avatar {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

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

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

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

/* line 3496, app/assets/stylesheets/application.scss */
.hub-peek-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 300px;
  margin-top: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 213, 79, 0.15), rgba(255, 255, 255, 0.04));
  color: #fff;
  cursor: pointer;
}

/* line 3501, app/assets/stylesheets/application.scss */
.hub-peek-upload:hover {
  border-color: #ffd34f;
  background-color: rgba(255, 211, 79, 0.06);
}

/* line 3502, app/assets/stylesheets/application.scss */
.hub-peek-upload span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffd34f;
  color: #151515;
  font-size: 25px;
}

/* line 3503, app/assets/stylesheets/application.scss */
.hub-peek-upload strong {
  font-size: 18px;
}

/* line 3504, app/assets/stylesheets/application.scss */
.hub-peek-upload small {
  color: rgba(255, 255, 255, 0.55);
}

/* line 3505, app/assets/stylesheets/application.scss */
.hub-peek-compose-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

/* line 3506, app/assets/stylesheets/application.scss */
.hub-peek-compose-actions button {
  height: 46px;
  border: 0;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

/* line 3507, app/assets/stylesheets/application.scss */
.hub-peek-compose-actions button:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* line 3509, app/assets/stylesheets/application.scss */
.hub-peek-archive-panel {
  position: relative;
  width: calc(100vw - 48px);
  max-width: 1040px;
  height: calc(100vh - 48px);
  max-height: 780px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #111318;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

/* line 3522, app/assets/stylesheets/application.scss */
.hub-peek-archive-panel > header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* line 3523, app/assets/stylesheets/application.scss */
.hub-peek-archive-panel h3, .hub-peek-archive-panel p {
  margin: 0;
}

/* line 3524, app/assets/stylesheets/application.scss */
.hub-peek-archive-panel header p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* line 3525, app/assets/stylesheets/application.scss */
.hub-peek-archive-tabs {
  display: flex;
  padding: 3px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

/* line 3526, app/assets/stylesheets/application.scss */
.hub-peek-archive-tabs button {
  background: transparent !important;
}

/* line 3527, app/assets/stylesheets/application.scss */
.hub-peek-archive-tabs button.is-active {
  background: rgba(255, 255, 255, 0.16) !important;
}

/* line 3528, app/assets/stylesheets/application.scss */
.hub-peek-archive-content {
  height: calc(100% - 81px);
  overflow: auto;
  padding: 24px;
}

/* line 3529, app/assets/stylesheets/application.scss */
.hub-peek-archive-loading, .hub-peek-archive-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.58);
}

/* line 3530, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

/* line 3531, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid button {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 3532, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* line 3533, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 13px 13px;
}

/* line 3534, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid small {
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}

/* line 3535, app/assets/stylesheets/application.scss */
.hub-peek-calendar-month + .hub-peek-calendar-month {
  margin-top: 28px;
}

/* line 3536, app/assets/stylesheets/application.scss */
.hub-peek-calendar-month h4 {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 12px;
  padding: 4px 0 10px;
  background: #111318;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 3547, app/assets/stylesheets/application.scss */
.hub-peek-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* line 3556, app/assets/stylesheets/application.scss */
.hub-peek-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* line 3557, app/assets/stylesheets/application.scss */
.hub-peek-calendar-grid button,
.hub-peek-calendar-blank,
.hub-peek-calendar-pad {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
}

/* line 3568, app/assets/stylesheets/application.scss */
.hub-peek-calendar-pad {
  background: transparent;
}

/* line 3569, app/assets/stylesheets/application.scss */
.hub-peek-calendar-blank {
  display: grid;
  place-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 600;
}

/* line 3577, app/assets/stylesheets/application.scss */
.hub-peek-calendar-grid button {
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

/* line 3581, app/assets/stylesheets/application.scss */
.hub-peek-calendar-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 3582, app/assets/stylesheets/application.scss */
.hub-peek-calendar-date {
  position: absolute;
  top: 5px;
  left: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* line 3591, app/assets/stylesheets/application.scss */
.hub-peek-calendar-count {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

/* line 3606, app/assets/stylesheets/application.scss */
.hub-peek-calendar-day.is-today,
.hub-peek-calendar-blank.is-today {
  box-shadow: inset 0 0 0 2px #ffd34f;
}

/* line 3610, app/assets/stylesheets/application.scss */
.hub-peek-calendar-blank.is-today {
  color: #ffd34f;
}

@media (max-width: 700px) {
  /* line 3613, app/assets/stylesheets/application.scss */
  .hub-peek-reactions {
    display: none;
  }
  /* line 3614, app/assets/stylesheets/application.scss */
  .hub-peek-gallery,
.hub-peek-compose,
.hub-peek-archive,
.hub-peek-editor,
.hub-peek-modal {
    padding: 12px;
  }
  /* line 3619, app/assets/stylesheets/application.scss */
  .hub-peek-gallery-card,
.hub-peek-compose-card,
.hub-peek-archive-panel {
    width: 100%;
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }
  /* line 3627, app/assets/stylesheets/application.scss */
  .hub-peek-calendar-month h4 {
    font-size: 24px;
  }
}

/* line 3630, app/assets/stylesheets/application.scss */
.hub-peek-gallery-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 28px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

/* line 3640, 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 3650, app/assets/stylesheets/application.scss */
#hub-peek-gallery-prev {
  left: 8px;
}

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

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

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

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

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

/* line 3700, 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 3708, app/assets/stylesheets/application.scss */
.hub-peek-editor-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

/* line 3716, 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 3730, 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 3741, 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 3753, app/assets/stylesheets/application.scss */
.hub-peek-zoom {
  width: min(76vw, 320px);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* line 3763, app/assets/stylesheets/application.scss */
.hub-peek-zoom input {
  flex: 1;
  min-width: 0;
  accent-color: #fff;
  cursor: pointer;
}

/* line 3770, 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 3790, app/assets/stylesheets/application.scss */
.hub-peek-duration {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 12px;
}

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

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

/* line 3809, 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 3821, app/assets/stylesheets/application.scss */
.hub-peek-duration-pill.is-active {
  color: #111;
  background: #ffc729;
}

/* line 3826, 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 3843, app/assets/stylesheets/application.scss */
.hub-peek-viewers-btn span {
  flex: 1;
}

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

/* line 3852, 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 3864, 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 3872, app/assets/stylesheets/application.scss */
.hub-peek-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 3880, 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 3891, 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 3896, app/assets/stylesheets/application.scss */
.hub-peek-editor .hub-peek-send {
  color: #ffc729;
}

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

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

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

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

/* line 3920, 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 3929, app/assets/stylesheets/application.scss */
.hub-peek-hint {
  margin: 0;
  padding: 0 16px 10px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.35;
}

/* line 3937, 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 3948, 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 3958, app/assets/stylesheets/application.scss */
.hub-peek-people {
  flex: 1;
  overflow: auto;
  padding: 0 8px 16px;
}

/* line 3964, 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 3980, app/assets/stylesheets/application.scss */
.hub-peek-person:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 3984, 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 3999, app/assets/stylesheets/application.scss */
.hub-peek-person.is-selected .hub-peek-check {
  background: #7c3aed;
  border-color: #7c3aed;
}

/* line 4004, 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 4016, app/assets/stylesheets/application.scss */
.hub-peek-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

/* line 4043, 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 4054, app/assets/stylesheets/application.scss */
.perk-upload-overlay[hidden] {
  display: none !important;
}

/* line 4058, 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 4068, app/assets/stylesheets/application.scss */
.perk-upload-overlay-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

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

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

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

/* line 4096, app/assets/stylesheets/application.scss */
.hub-ask::before {
  content: "";
  position: absolute;
  inset: -18px -12px auto;
  height: 72px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.75), transparent 72%);
  z-index: 0;
}

/* line 4106, app/assets/stylesheets/application.scss */
.hub-ask > * {
  position: relative;
  z-index: 1;
}

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

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

/* line 4122, 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 4134, 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 4149, 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 4159, 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 4170, app/assets/stylesheets/application.scss */
.hub-ask-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 25, 29, 0.08);
  border-radius: 26px;
  padding: 8px 8px 8px 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 34px rgba(23, 25, 29, 0.1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* line 4184, app/assets/stylesheets/application.scss */
.hub-ask-bar:focus-within {
  border-color: rgba(23, 25, 29, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px rgba(23, 25, 29, 0.12);
}

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

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

/* line 4200, 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 4213, app/assets/stylesheets/application.scss */
.hub-ask-icon-btn:hover {
  background: #e8eaed;
}

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

/* line 4222, 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 4235, app/assets/stylesheets/application.scss */
.hub-ask-attach-menu.hidden {
  display: none !important;
}

/* line 4239, 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 4254, app/assets/stylesheets/application.scss */
.hub-ask-attach-menu button:hover {
  background: var(--perk-field);
}

/* line 4258, app/assets/stylesheets/application.scss */
.hub-ask-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: var(--text-subhead);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #111;
  min-width: 0;
  height: 36px;
}

/* line 4271, app/assets/stylesheets/application.scss */
.hub-ask-input::placeholder {
  font-size: var(--text-subhead);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--perk-muted-soft);
}

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

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

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

/* line 4295, 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: #3b82f5;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

/* line 4309, app/assets/stylesheets/application.scss */
.hub-ask-voice-btn:hover {
  background: #2f74e8;
}

/* line 4313, app/assets/stylesheets/application.scss */
.hub-ask-voice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 16px;
  color: #fff;
}

/* line 4322, 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 4336, 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 4342, 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 4349, app/assets/stylesheets/application.scss */
.hub-ask-send:hover {
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 4354, 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 4366, 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 4373, app/assets/stylesheets/application.scss */
.hub-ask-recording .hub-ask-send:hover {
  background: #ef4444;
}

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

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

/* line 4385, 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 4396, 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 4407, 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 4416, 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 4426, 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 4435, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(1) {
  animation-delay: 0s;
}

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

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

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

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

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

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

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

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

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

/* line 4446, 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 4458, app/assets/stylesheets/application.scss */
.hub-ask.is-transcribing .hub-ask-bar,
.hub-ask.is-transcribing .hub-ask-recording {
  display: none !important;
}

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

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

/* line 4471, 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 4481, app/assets/stylesheets/application.scss */
.hub-ask-transcribing-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

/* line 4503, 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 4512, 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 4520, 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 4531, app/assets/stylesheets/application.scss */
.hub-ask-chat.hidden,
.hub-ask-chat[hidden] {
  display: none !important;
}

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

/* line 4545, 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 4560, 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 4569, 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 4583, app/assets/stylesheets/application.scss */
.hub-ask-chat-icon-btn:hover {
  background: #e8eaed;
}

/* line 4587, 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 4591, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-wrap {
  position: relative;
  min-width: 0;
  max-width: calc(100% - 96px);
  flex: 0 1 auto;
  pointer-events: auto;
}

/* line 4599, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  width: auto;
  padding: 4px 10px 4px 4px;
  border: 0;
  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);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

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

/* line 4623, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-copy {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

/* line 4629, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-chevron {
  flex: 0 0 auto;
  margin-left: 2px;
  color: #9ca3af;
  font-size: 11px;
}

/* line 4636, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: min(280px, calc(100vw - 32px));
  max-width: 320px;
  max-height: 280px;
  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 4652, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-menu.hidden,
.hub-ask-chat-peer-menu[hidden] {
  display: none !important;
}

/* line 4657, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

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

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

/* line 4685, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-option span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

/* line 4692, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-option strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

/* line 4700, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-option small {
  color: #8e8e93;
  font-size: 11px;
}

/* line 4705, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-empty {
  padding: 14px 12px;
  color: #8a9099;
  font-size: 13px;
  text-align: center;
}

/* line 4712, 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 4719, app/assets/stylesheets/application.scss */
.hub-ask-chat-topbar .hub-ask-chat-icon-btn:hover {
  background: rgba(255, 255, 255, 0.98);
}

/* line 4723, 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 4734, app/assets/stylesheets/application.scss */
.hub-ask-chat-history.hidden,
.hub-ask-chat-history[hidden] {
  display: none !important;
}

/* line 4739, 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 4749, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-head strong {
  font-size: 14px;
  font-weight: 700;
}

/* line 4754, 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 4772, app/assets/stylesheets/application.scss */
.hub-ask-chat-new-chat-btn:hover {
  background: #30343a;
}

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

/* line 4781, 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 4788, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0 0 4px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

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

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

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

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

/* line 4827, 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 4835, 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 4845, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer span {
  display: none;
}

/* line 4849, 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 4857, 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: 16px;
  background: #fff;
}

/* line 4869, 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 4891, 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 4897, 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 4903, app/assets/stylesheets/application.scss */
.hub-ask-chat-jump-latest:hover,
.floating-ai-jump-latest:hover,
.ai-chat-jump-latest:hover {
  background: #fff;
}

/* line 4909, 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 4915, 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 4926, 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 4934, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-row.is-user {
  justify-content: flex-end;
}

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

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

/* line 4949, 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 4958, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

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

/* line 4974, 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 4981, app/assets/stylesheets/application.scss */
.hub-ask-confirm-actions {
  display: flex;
  gap: 8px;
}

/* line 4986, 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 4997, app/assets/stylesheets/application.scss */
.hub-ask-confirm-btn.is-primary {
  background: #111;
  color: #fff;
}

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

/* line 5006, 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 5016, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-row.is-bot .hub-ask-chat-msg {
  max-width: 100%;
}

/* line 5020, 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 5029, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: var(--perk-ink);
}

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

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

/* line 5044, 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 5052, 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 5064, 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 5073, 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 5089, 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 5095, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-wrap {
  position: relative;
}

/* line 5099, 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 5112, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 5116, 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 5128, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

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

/* line 5136, 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 5148, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-status:empty {
  display: none;
}

/* line 5152, 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 5162, 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 5177, 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 5187, app/assets/stylesheets/application.scss */
.hub-ask-chat-composer .hub-ask-bar {
  max-width: var(--hub-ai-chat-col);
  margin: 0 auto;
}

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

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

/* line 5202, 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 5207, app/assets/stylesheets/application.scss */
.hub-ask-chat .hub-ask-mic-btn {
  order: 1;
}

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

/* line 5215, 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 5220, 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 5226, 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 5231, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-recording .hub-ask-bar {
  display: none;
}

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

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

/* line 5243, 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 5248, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-transcribing .hub-ask-transcribing {
  display: flex;
}

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

/* line 5257, app/assets/stylesheets/application.scss */
.hub-apps {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 8px 4px 4px;
  margin-top: 4px;
}

/* line 5266, app/assets/stylesheets/application.scss */
.hub-app {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 6px 8px;
  border-radius: 18px;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

/* line 5279, app/assets/stylesheets/application.scss */
.hub-app:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 25, 29, 0.06);
}

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

/* line 5289, app/assets/stylesheets/application.scss */
.hub-app-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 28%;
  background: #fff;
  border: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 12px rgba(23, 25, 29, 0.12));
  transition: transform 180ms ease, filter 180ms ease;
}

/* line 5304, app/assets/stylesheets/application.scss */
.hub-app-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56%;
  height: 56%;
  transform: translate(-50%, -50%);
  border-radius: 18%;
  background: var(--hub-app-color, #6b7280);
  color: #fff;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

/* line 5324, app/assets/stylesheets/application.scss */
.hub-app-glyph::before {
  display: block;
  width: auto;
  margin: 0;
  line-height: 1;
}

/* line 5331, app/assets/stylesheets/application.scss */
.hub-app-glyph.fas {
  font-weight: 900;
}

/* line 5335, app/assets/stylesheets/application.scss */
.hub-app-glyph.fas::before {
  position: relative;
  top: 6px;
}

/* line 5340, app/assets/stylesheets/application.scss */
.hub-app:hover .hub-app-icon {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 14px 16px rgba(23, 25, 29, 0.16));
}

/* line 5345, app/assets/stylesheets/application.scss */
.hub-app-icon.is-coin .hub-app-glyph {
  background: #fff8e8;
}

/* line 5349, app/assets/stylesheets/application.scss */
.hub-app-icon .credit-coin-icon {
  width: 72%;
  height: 72%;
}

/* line 5354, app/assets/stylesheets/application.scss */
.hub-app-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--perk-ink-soft);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 100%;
}

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

/* line 5368, 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 5377, app/assets/stylesheets/application.scss */
.hub-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 10px;
}

/* line 5383, 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 5397, app/assets/stylesheets/application.scss */
.hub-shortcut:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--perk-ink);
  transform: translateY(-1px);
}

/* line 5403, 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 5414, app/assets/stylesheets/application.scss */
.hub-download {
  margin-top: 8px;
}

/* line 5418, 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 5434, app/assets/stylesheets/application.scss */
.hub-download-btn:hover {
  background: var(--perk-ink-soft);
  color: #fff;
  transform: translateY(-1px);
}

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

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

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

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

/* line 5465, 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 5474, app/assets/stylesheets/application.scss */
.hub-modal-card-sm {
  max-width: 360px;
}

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

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

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

/* line 5499, 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 5506, app/assets/stylesheets/application.scss */
.hub-modal-note {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

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

/* line 5520, 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 5524, 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 5528, 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;
  z-index: 2;
  overflow: visible;
  animation: floating-ai-bob 5.5s ease-in-out infinite;
}

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

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

/* line 5551, 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 5562, 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 5574, app/assets/stylesheets/application.scss */
.floating-ai-pin-menu button + button {
  border-top: 1px solid var(--perk-line);
}

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

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

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

/* line 5590, 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 5608, 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 5619, 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;
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

/* line 5635, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* line 5649, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn.is-group-collage {
  width: 38px;
  height: 38px;
  border-radius: 0;
  overflow: visible;
}

/* line 5656, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn > .perk-group-avatar-grid {
  width: 100%;
  height: 100%;
}

/* line 5661, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn .perk-group-avatar-cell {
  font-size: 8px;
}

/* line 5665, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn .perk-group-avatar-cell.is-count {
  font-size: 9px;
}

/* line 5669, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn img,
.floating-ai-panel-title img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* line 5678, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn .perk-group-avatar-cell img {
  width: 100%;
  height: 100%;
}

/* line 5683, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn img[hidden] {
  display: none;
}

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

/* line 5700, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-fallback[hidden] {
  display: none;
}

/* line 5704, app/assets/stylesheets/application.scss */
.floating-ai-peer-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
  padding: 2px 6px 2px 2px;
  margin-left: -2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 5722, app/assets/stylesheets/application.scss */
.floating-ai-peer-switch:hover {
  background: rgba(23, 25, 29, 0.045);
}

/* line 5726, app/assets/stylesheets/application.scss */
.floating-ai-peer-copy {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
}

/* line 5732, app/assets/stylesheets/application.scss */
.floating-ai-peer-copy strong,
.floating-ai-panel-title strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: #17191d;
}

/* line 5745, app/assets/stylesheets/application.scss */
.floating-ai-peer-copy span,
.floating-ai-panel-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #8a9099;
}

/* line 5758, app/assets/stylesheets/application.scss */
.floating-ai-peer-chevron {
  margin-left: 0;
  color: #c0c4ca;
  font-size: 9px;
  flex: 0 0 auto;
}

/* line 5765, 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 5780, app/assets/stylesheets/application.scss */
.floating-ai-peer-menu.is-picker {
  max-height: min(360px, 55vh);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

/* line 5788, app/assets/stylesheets/application.scss */
.floating-ai-picker-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 4px 4px;
}

/* line 5795, app/assets/stylesheets/application.scss */
.floating-ai-picker-head strong {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

/* line 5801, app/assets/stylesheets/application.scss */
.floating-ai-picker-head span {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}

/* line 5807, app/assets/stylesheets/application.scss */
.floating-ai-picker-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
}

/* line 5816, app/assets/stylesheets/application.scss */
.floating-ai-peer-option.is-check {
  cursor: pointer;
}

/* line 5820, app/assets/stylesheets/application.scss */
.floating-ai-peer-option.is-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #111827;
}

/* line 5828, app/assets/stylesheets/application.scss */
.floating-ai-picker-confirm {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  background: #17191d;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

/* line 5841, app/assets/stylesheets/application.scss */
.floating-ai-picker-confirm:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 5846, 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 5859, app/assets/stylesheets/application.scss */
.floating-ai-peer-option:hover,
.floating-ai-peer-option.is-active {
  background: #f3f4f6;
}

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

/* line 5873, app/assets/stylesheets/application.scss */
.floating-ai-peer-option .floating-ai-peer-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  flex: 0 0 auto;
}

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

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

/* line 5893, 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 5909, app/assets/stylesheets/application.scss */
.floating-ai-peer-action i {
  width: 18px;
  text-align: center;
  color: #6b7280;
}

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

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

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

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

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

/* line 5939, 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 5952, app/assets/stylesheets/application.scss */
.floating-ai-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 0;
  background: #fff;
}

/* line 5961, 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 5987, app/assets/stylesheets/application.scss */
.ai-avatar-category-tag-icon {
  font-size: 0.85em;
  line-height: 1;
}

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

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

/* line 6000, app/assets/stylesheets/application.scss */
.floating-ai-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-sizing: border-box;
  pointer-events: none;
  /* 58px avatar, 2px ring → midline radius 28px at 45° (bottom-right). */
  transform: translate(-50%, -50%) translate(19.8px, 19.8px);
}

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

/* line 6021, app/assets/stylesheets/application.scss */
.floating-ai-panel {
  --panel-width: 360px;
  --panel-height: auto;
  --chat-keyboard-inset: 0px;
  --chat-canvas: #eceef1;
  --chat-incoming: #ffffff;
  --chat-outgoing: #17191d;
  --chat-bubble-r: 18px;
  --chat-bubble-tail: 18px;
  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(--chat-canvas);
  border: 1px solid rgba(23, 25, 29, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(23, 25, 29, 0.16), 0 2px 8px rgba(23, 25, 29, 0.06);
  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;
}

/* Chat window is viewport-fixed so the avatar can keep floating independently under it. */
/* line 6049, app/assets/stylesheets/application.scss */
.floating-ai.is-panel-open .floating-ai-panel:not(.is-detached) {
  position: fixed;
  z-index: 90;
}

/* line 6054, 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 56px rgba(23, 25, 29, 0.18), 0 2px 8px rgba(23, 25, 29, 0.06);
}

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

/* line 6066, 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 6078, 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 6088, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle.is-ne {
  top: 0;
  right: 0;
  cursor: nesw-resize;
  touch-action: none;
}

/* line 6095, 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 6103, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle.is-sw {
  left: 0;
  bottom: 0;
  cursor: nesw-resize;
  touch-action: none;
}

/* line 6110, 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 6118, 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 6124, app/assets/stylesheets/application.scss */
.floating-ai-panel.hidden,
.floating-ai-human-tools.hidden,
.floating-ai-history-btn.hidden,
.floating-ai-add-people-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 6137, 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 60px rgba(23, 25, 29, 0.2), 0 2px 8px rgba(23, 25, 29, 0.06);
}

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

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

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

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

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

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

/* line 6185, 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 6192, 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;
  box-sizing: border-box;
  height: 52px;
  min-height: 52px;
  padding: 0 8px 0 12px;
  border-bottom: 1px solid rgba(23, 25, 29, 0.06);
  cursor: grab;
  touch-action: none;
  user-select: none;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* line 6212, 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 6223, app/assets/stylesheets/application.scss */
.floating-ai-panel-drag-strip.is-foot {
  top: 0;
  bottom: auto;
  height: 16px;
  z-index: 4;
}

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

/* line 6234, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-history-open .floating-ai-history-btn {
  background: rgba(23, 25, 29, 0.08);
  color: #17191d;
}

/* line 6239, 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 6249, 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 6259, app/assets/stylesheets/application.scss */
.floating-ai-history-head strong {
  font-size: 14px;
  font-weight: 700;
}

/* line 6264, 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 6282, app/assets/stylesheets/application.scss */
.floating-ai-new-chat-btn:hover {
  background: #30343a;
}

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

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

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

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

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

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

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

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

/* line 6348, app/assets/stylesheets/application.scss */
.floating-ai-header-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  color: #3d4248;
  font-size: 13px;
  border-radius: 50%;
}

/* line 6357, app/assets/stylesheets/application.scss */
.floating-ai-header-btn:hover {
  background: rgba(23, 25, 29, 0.06);
  color: #17191d;
}

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

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

/* line 6372, 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 6382, app/assets/stylesheets/application.scss */
.floating-ai-messages-wrap.is-loading-older::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border: 2px solid rgba(15, 23, 42, 0.16);
  border-top-color: rgba(15, 23, 42, 0.65);
  border-radius: 50%;
  animation: floating-ai-spin 0.7s linear infinite;
  pointer-events: none;
}

/* line 6398, 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 6405, app/assets/stylesheets/application.scss */
.floating-ai-chat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--chat-canvas, #eceef1);
  background-image: radial-gradient(900px 380px at 50% -8%, rgba(255, 255, 255, 0.72), transparent 62%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* line 6417, app/assets/stylesheets/application.scss */
.floating-ai-panel-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding: 14px 14px 16px;
  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 6432, 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 6439, app/assets/stylesheets/application.scss */
.floating-ai-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  position: relative;
}

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

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

/* line 6455, app/assets/stylesheets/application.scss */
.floating-ai-theme-notice {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 6px 16px;
  font-size: 13px;
  line-height: 1.35;
  color: #6b7280;
  text-align: center;
}

/* Same-sender clusters stay slightly tighter, but never collapse. */
/* line 6467, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-grouped {
  margin-top: -4px;
}

/* line 6471, 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 6480, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-outgoing .floating-ai-msg-cluster {
  max-width: 90%;
}

/* line 6484, 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 6491, app/assets/stylesheets/application.scss */
.floating-ai-msg-cluster.is-heart-panel-open {
  padding-top: 40px;
}

/* line 6495, 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 6515, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart[hidden] {
  display: none !important;
}

/* line 6519, 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 6532, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-glyph i {
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
}

/* line 6538, 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 6547, 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 6557, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-incoming .floating-ai-msg-heart-panel {
  left: 0;
}

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

/* line 6566, 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 6577, 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 6590, 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 6597, 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 6614, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn:hover,
.floating-ai-msg-hover-btn.is-active {
  background: #d8dadf;
}

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

/* line 6624, 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 6636, 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 6647, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-pop.hidden {
  display: none !important;
}

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

/* line 6657, 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 6668, app/assets/stylesheets/application.scss */
.floating-ai-msg-more.hidden {
  display: none !important;
}

/* line 6672, 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 6685, 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 6698, app/assets/stylesheets/application.scss */
.floating-ai-msg-more button:hover {
  background: #f0f2f5;
}

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

/* line 6706, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(23, 25, 29, 0.06);
  background: rgba(255, 255, 255, 0.78);
  color: #17191d;
  flex: 0 0 auto;
  cursor: pointer;
}

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

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

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

/* line 6733, 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 6741, app/assets/stylesheets/application.scss */
.floating-ai-pin-banner-copy strong {
  font-size: 11px;
  font-weight: 700;
}

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

/* line 6751, 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 6761, 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 6777, 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 6793, app/assets/stylesheets/application.scss */
.floating-ai-toast.hidden {
  display: none !important;
}

/* line 6797, 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 6816, app/assets/stylesheets/application.scss */
.perk-activity-toast.hidden {
  display: none !important;
}

/* line 6820, 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 6829, 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 6842, app/assets/stylesheets/application.scss */
.perk-activity-toast-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

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

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

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

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

/* line 6878, 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 6891, app/assets/stylesheets/application.scss */
.floating-ai-msg {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  max-width: min(86%, calc(100% - 38px));
  padding: 8px 13px 8px;
  border-radius: var(--chat-bubble-r, 18px);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.016em;
  overflow-wrap: anywhere;
  word-break: break-word;
  cursor: pointer;
  user-select: none;
  -webkit-touch-callout: none;
}

/* line 6908, app/assets/stylesheets/application.scss */
.floating-ai-msg::after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 0;
}

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

/* line 6920, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot {
  background: var(--chat-incoming, #fff);
  color: #17191d;
  border: 0;
  border-radius: var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-tail, 5px);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.05);
}

/* line 6928, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-bot {
  background: var(--chat-incoming, #fff);
  color: #17191d;
  border: 0;
  border-radius: var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-tail, 5px);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.05);
}

/* Match iOS outgoing bubbles (ChatSurfaceChrome.field). */
/* line 6937, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user {
  background: var(--chat-outgoing, #17191d);
  color: #fff;
  border: 0;
  border-radius: var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-tail, 5px) var(--chat-bubble-r, 18px);
  box-shadow: none;
}

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

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

/* line 6953, 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 6959, app/assets/stylesheets/application.scss */
  .floating-ai-panel.is-human-chat .floating-ai-msg {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
  }
  /* line 6965, 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 6975, 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 6984, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-panel-body {
  gap: 12px;
  padding: 16px 16px 14px;
}

/* line 6989, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-stack {
  gap: 6px;
}

/* line 6993, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-bot {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 1px 2px 2px;
  max-width: 100%;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.016em;
  color: #1c1e22;
}

/* line 7009, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-bot::after {
  content: none;
}

/* line 7013, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-user {
  background: var(--chat-outgoing, #17191d);
  color: #fff;
  border-radius: var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-tail, 5px) var(--chat-bubble-r, 18px);
  padding: 8px 13px 8px;
}

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

/* line 7024, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-ai-actions {
  padding-top: 0;
  min-height: 28px;
}

/* line 7029, 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 7038, 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 7054, 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 7060, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-wrap {
  position: relative;
}

/* line 7064, 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 7077, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 7081, 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 7093, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

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

/* line 7101, 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 7113, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-status:empty {
  display: none;
}

/* line 7117, 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 7127, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-quote {
  background: rgba(255, 255, 255, 0.14);
}

/* line 7131, 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 7140, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy {
  min-width: 0;
}

/* line 7144, 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 7152, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy strong {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
}

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

/* line 7163, 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 7176, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-meta {
  color: rgba(255, 255, 255, 0.78);
}

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

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

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

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

/* line 7200, 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 7218, app/assets/stylesheets/application.scss */
.floating-ai-msg-reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* line 7224, app/assets/stylesheets/application.scss */
.floating-ai-msg-reaction-count {
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
}

/* line 7230, app/assets/stylesheets/application.scss */
.floating-ai-msg-reactions.hidden {
  display: none;
}

/* line 7234, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-reactions {
  left: auto;
  right: 8px;
}

/* line 7239, app/assets/stylesheets/application.scss */
.floating-ai-msg.has-reactions {
  margin-bottom: 18px;
}

/* line 7243, 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;
  border: 0;
  box-shadow: none;
  padding: 2px 4px 18px;
}

/* line 7254, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-sticker::after,
.floating-ai-msg.is-media::after {
  content: none;
}

/* line 7259, 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;
  border-radius: 20px;
}

/* line 7269, 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 7275, 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 7281, 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 7286, 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 7292, app/assets/stylesheets/application.scss */
.floating-ai-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 8px;
  background: transparent;
  flex: 0 0 auto;
  pointer-events: none;
}

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

/* line 7306, app/assets/stylesheets/application.scss */
.floating-ai-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* line 7312, 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 7321, app/assets/stylesheets/application.scss */
.floating-ai-typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

/* line 7325, 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 7334, app/assets/stylesheets/application.scss */
.floating-ai-typing-text {
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #8a9099;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 7345, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(23, 25, 29, 0.05);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 0 0 20px 20px;
  flex: 0 0 auto;
  position: relative;
  z-index: 8;
}

/* line 7361, 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 7369, app/assets/stylesheets/application.scss */
.floating-ai-composer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
}

/* line 7376, 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: 14px;
  background: #f4f5f7;
}

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

/* line 7391, 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 7398, 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 7406, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy strong {
  font-size: 11px;
  font-weight: 700;
  color: #111;
}

/* line 7412, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy span {
  margin-top: 1px;
  font-size: 12px;
  color: #6b7280;
}

/* line 7418, 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 7428, 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 7438, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu.hidden {
  display: none !important;
}

/* line 7442, 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 7450, 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 7460, 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 7470, 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 7478, 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 7486, 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 7497, 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 7512, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react svg {
  width: 18px;
  height: 18px;
}

/* line 7517, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react:hover {
  background: #f8fafc;
}

/* line 7521, 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 7532, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-btn:hover {
  background: #eef2ff;
}

/* line 7536, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 7542, 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 7558, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-actions button:hover {
  background: #f3f4f6;
}

/* line 7562, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-actions i {
  width: 16px;
  color: #6b7280;
}

/* line 7567, app/assets/stylesheets/application.scss */
.floating-ai-composer-tools {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  margin-bottom: 4px;
}

/* line 7576, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-trigger,
.floating-ai-sticker-trigger {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: #5c636c;
}

/* line 7585, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-trigger:hover,
.floating-ai-sticker-trigger:hover {
  background: rgba(23, 25, 29, 0.06);
  color: #17191d;
}

/* line 7591, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-peer .floating-ai-screenshot-trigger,
.floating-ai-panel-foot.is-human-composer .floating-ai-screenshot-trigger {
  display: none !important;
}

/* line 7596, app/assets/stylesheets/application.scss */
.floating-ai-sticker-trigger img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* line 7603, app/assets/stylesheets/application.scss */
.floating-ai-sticker-trigger.is-open {
  background: rgba(23, 25, 29, 0.08);
  color: #17191d;
}

/* line 7608, 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 7621, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestions::-webkit-scrollbar {
  display: none;
}

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

/* line 7629, 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 7640, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestion:hover {
  background: #f3f4f6;
}

/* line 7644, 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 7652, app/assets/stylesheets/application.scss */
.floating-ai-sticker-suggestion span {
  font-size: 32px;
  line-height: 52px;
  text-align: center;
}

/* line 7658, app/assets/stylesheets/application.scss */
.floating-ai-input-shell {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 3px 4px 3px 4px;
  overflow: visible;
  border: 1px solid rgba(23, 25, 29, 0.08);
  border-radius: 22px;
  background: #fff;
  gap: 0;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
}

/* line 7673, app/assets/stylesheets/application.scss */
.floating-ai-input-leading {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  z-index: 2;
}

/* line 7681, app/assets/stylesheets/application.scss */
.floating-ai-input-shell .floating-ai-attach-trigger {
  width: 32px;
  height: 32px;
  background: transparent;
  color: #6a717a;
}

/* line 7688, app/assets/stylesheets/application.scss */
.floating-ai-input-shell .floating-ai-attach-trigger:hover {
  color: #17191d;
  background: rgba(23, 25, 29, 0.05);
}

/* line 7693, app/assets/stylesheets/application.scss */
.floating-ai-input-shell:focus-within {
  border-color: rgba(23, 25, 29, 0.16);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.05);
}

/* line 7699, app/assets/stylesheets/application.scss */
.floating-ai-composer-trailing {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

/* line 7706, app/assets/stylesheets/application.scss */
.floating-ai-input-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6a717a;
  cursor: pointer;
}

/* line 7720, app/assets/stylesheets/application.scss */
.floating-ai-input-action:hover {
  color: #17191d;
  background: rgba(23, 25, 29, 0.05);
}

/* line 7725, app/assets/stylesheets/application.scss */
.floating-ai-input-action.is-recording {
  color: #dc2626;
  animation: floating-ai-pulse 1.2s ease-in-out infinite;
}

/* line 7730, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #17191d;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: none;
}

/* line 7745, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-btn:hover {
  background: #30343a;
}

/* line 7749, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 16px;
  color: #fff;
}

/* line 7758, app/assets/stylesheets/application.scss */
.ai-ios-voice-bars {
  width: 18px;
  height: 16px;
  display: block;
}

/* line 7764, app/assets/stylesheets/application.scss */
.ai-ios-waveform {
  width: 16px;
  height: 16px;
  display: block;
}

/* line 7770, app/assets/stylesheets/application.scss */
.ai-hub-play .ai-ios-waveform,
.ai-hub-card-talk .ai-ios-waveform {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

/* line 7777, app/assets/stylesheets/application.scss */
.floating-ai-send-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #17191d;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

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

/* Empty: mic + voice mode. Typing: send only. */
/* line 7796, 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 7801, 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 7806, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer .floating-ai-voice-mode-btn {
  display: none !important;
}

/* line 7810, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer .floating-ai-send-btn {
  display: inline-flex;
}

/* line 7814, 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 {
  background: #d9dce1;
  color: #fff;
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

/* line 7823, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer.has-text .floating-ai-mic-btn {
  display: none;
}

/* line 7827, 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 7832, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-recording .floating-ai-recording-bar {
  display: flex;
}

/* line 7836, 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 7845, app/assets/stylesheets/application.scss */
.floating-ai-recording-bar.hidden {
  display: none !important;
}

/* line 7849, 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 7863, app/assets/stylesheets/application.scss */
.floating-ai-record-cancel:hover {
  background: #fecaca;
}

/* line 7867, 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 7880, 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 7889, 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 7898, 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 7908, app/assets/stylesheets/application.scss */
.floating-ai-waveform span:nth-child(1) {
  animation-delay: 0s;
}

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

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

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

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

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

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

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

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

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

/* line 7919, 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 7929, 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 7937, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-ai-dictation .floating-ai-send-btn.is-record-send {
  background: #f87171;
}

/* line 7941, 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 7947, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-transcribing .floating-ai-transcribing-bar {
  display: flex;
}

/* line 7951, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-transcribing {
  pointer-events: none;
}

/* line 7955, 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 7968, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-bar.hidden {
  display: none !important;
}

/* line 7972, 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 7982, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

/* line 8004, 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 8038, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3d4248;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 8052, 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 8058, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

/* line 8063, 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 8076, 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 8090, app/assets/stylesheets/application.scss */
.floating-ai-attach-menu button:hover {
  background: #f3f4f6;
}

/* line 8094, app/assets/stylesheets/application.scss */
.floating-ai-human-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

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

/* line 8105, 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 8121, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-resizing,
.floating-ai-emoji-panel.is-dismissing {
  transition: none;
}

/* line 8126, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-expanded .floating-ai-emoji-panel {
  max-height: min(78vh, 640px);
}

/* line 8130, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.hidden,
.floating-ai-picker-grid.hidden,
.floating-ai-sticker-pane.hidden {
  display: none;
}

/* line 8136, app/assets/stylesheets/application.scss */
.floating-ai-picker-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 22px;
  margin: 0 -10px 2px;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
}

/* line 8148, app/assets/stylesheets/application.scss */
.floating-ai-picker-handle::before {
  content: "";
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: #d1d5db;
}

/* line 8156, 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 8161, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-resizing {
  user-select: none;
}

/* line 8165, 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 8175, 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 8187, 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 8193, 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 8205, 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 8214, app/assets/stylesheets/application.scss */
.floating-ai-emoji-item:hover {
  background: #f3f4f6;
}

/* line 8218, 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 8228, 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 8242, app/assets/stylesheets/application.scss */
.floating-ai-sticker-packs::-webkit-scrollbar {
  display: none;
}

/* line 8246, 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 8261, app/assets/stylesheets/application.scss */
.floating-ai-sticker-pack.is-active {
  background: #e8eefc;
  box-shadow: none;
  color: #17191d;
}

/* line 8267, app/assets/stylesheets/application.scss */
.floating-ai-sticker-pack-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* line 8273, 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 8285, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section {
  margin-bottom: 16px;
}

/* line 8289, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section:last-child {
  margin-bottom: 4px;
}

/* line 8293, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  padding: 0 2px 8px;
}

/* line 8300, app/assets/stylesheets/application.scss */
.floating-ai-sticker-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

/* line 8306, 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 8321, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item img {
  width: 100%;
  max-width: 64px;
  height: 64px;
  object-fit: contain;
}

/* line 8328, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item:hover {
  background: #eceef2;
}

/* line 8332, app/assets/stylesheets/application.scss */
.floating-ai-sticker-item:hover img,
.floating-ai-sticker-item:hover > span {
  transform: scale(1.04);
}

/* line 8337, 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 8343, 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 8351, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-sticker .floating-ai-msg-text {
  font-size: 36px;
  line-height: 1.1;
}

/* line 8356, app/assets/stylesheets/application.scss */
.floating-ai-msg-sticker {
  display: block;
  width: 96px;
  max-width: 36vw;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
}

/* line 8365, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim {
  transform-origin: center center;
  will-change: transform, opacity;
}

/* Match iOS LiveEmojiStickerView: easeInOut + repeatForever(autoreverses). */
/* line 8371, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--laugh {
  animation: floating-ai-sticker-laugh 0.28s ease-in-out infinite alternate;
}

/* line 8375, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--bounce {
  animation: floating-ai-sticker-bounce 0.45s ease-in-out infinite alternate;
}

/* line 8379, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--shake {
  animation: floating-ai-sticker-shake 0.12s ease-in-out infinite alternate;
}

/* line 8383, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim--pulse {
  animation: floating-ai-sticker-pulse 0.7s ease-in-out infinite alternate;
}

/* line 8387, 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 8417, 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 8426, app/assets/stylesheets/application.scss */
.floating-ai-msg-media {
  display: block;
  max-width: 220px;
  max-height: 180px;
  border-radius: 18px;
  margin-bottom: 6px;
}

/* line 8434, app/assets/stylesheets/application.scss */
.floating-ai-msg-video {
  position: relative;
  display: inline-block;
  max-width: 220px;
  margin-bottom: 6px;
  line-height: 0;
}

/* line 8442, app/assets/stylesheets/application.scss */
.floating-ai-msg-video .floating-ai-msg-media {
  margin-bottom: 0;
  background: transparent;
  object-fit: cover;
}

/* line 8448, 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 8460, 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 8470, app/assets/stylesheets/application.scss */
.floating-ai-msg-peek {
  position: relative;
  display: inline-block;
  max-width: 220px;
  margin-bottom: 6px;
}

/* line 8477, 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 8486, 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 8502, 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 18px 18px;
  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 8517, app/assets/stylesheets/application.scss */
.floating-ai-msg-audio {
  display: block;
  width: min(220px, 100%);
  margin-bottom: 4px;
}

/* line 8523, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-voice {
  min-width: 148px;
  padding-top: 10px;
  padding-bottom: 22px;
}

/* line 8529, 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 8547, 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 8553, 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 8561, 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 8572, 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 8584, 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 8594, 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 8599, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

/* line 8600, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(2) {
  height: 14px;
  animation-delay: 0.06s;
}

/* line 8601, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(3) {
  height: 10px;
  animation-delay: 0.12s;
}

/* line 8602, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(4) {
  height: 18px;
  animation-delay: 0.18s;
}

/* line 8603, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(5) {
  height: 12px;
  animation-delay: 0.08s;
}

/* line 8604, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(6) {
  height: 16px;
  animation-delay: 0.2s;
}

/* line 8605, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(7) {
  height: 9px;
  animation-delay: 0.04s;
}

/* line 8606, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(8) {
  height: 15px;
  animation-delay: 0.16s;
}

/* line 8607, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(9) {
  height: 11px;
  animation-delay: 0.1s;
}

/* line 8608, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(10) {
  height: 17px;
  animation-delay: 0.22s;
}

/* line 8609, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(11) {
  height: 8px;
  animation-delay: 0.14s;
}

/* line 8610, 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 8622, 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 8631, 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 8645, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot .floating-ai-voice {
  color: #111;
}

/* line 8649, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-voice {
  color: #fff;
}

/* line 8653, app/assets/stylesheets/application.scss */
.floating-ai-msg-file {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

/* line 8659, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached {
  position: fixed;
  z-index: 91;
  display: flex;
  right: auto;
  bottom: auto;
  margin: 0;
}

/* line 8668, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-focused,
.floating-ai-call.is-focused {
  z-index: 10110;
}

/* line 8673, 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 8694, app/assets/stylesheets/application.scss */
.floating-ai-call.hidden {
  display: none !important;
}

/* line 8698, 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 8709, 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 8714, 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 8721, app/assets/stylesheets/application.scss */
.floating-ai-call-remote-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* line 8729, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video {
  width: min(720px, calc(100vw - 16px));
  height: min(405px, calc(100vh - 24px));
}

/* line 8734, 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 8745, 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 8767, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-local.is-dragging-pip {
  cursor: grabbing;
  right: auto;
}

/* line 8772, 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 8783, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-stage {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* line 8789, 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 8795, 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 8802, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-avatar-wrap {
  display: none;
}

/* line 8806, 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 8810, 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 8816, 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 8827, 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 8841, app/assets/stylesheets/application.scss */
.floating-ai-call-avatar-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  margin-bottom: 14px;
}

/* line 8848, 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 8858, 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 8868, app/assets/stylesheets/application.scss */
.floating-ai-call-avatar.hidden,
.floating-ai-call-avatar-fallback.hidden {
  display: none !important;
}

/* line 8873, 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 8882, 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 8887, 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 8907, 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 8918, app/assets/stylesheets/application.scss */
.floating-ai-call-type {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* line 8923, app/assets/stylesheets/application.scss */
.floating-ai-call-status {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

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

/* line 8933, 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 8941, app/assets/stylesheets/application.scss */
.floating-ai-call-timer.hidden {
  display: none !important;
}

/* line 8945, 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 8954, 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 8969, app/assets/stylesheets/application.scss */
.floating-ai-call-btn.hidden {
  display: none !important;
}

/* line 8973, 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 8986, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}

/* line 8993, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph.is-phone {
  width: 26px;
  height: 26px;
  transform: rotate(0deg);
}

/* line 8999, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph.is-phone-down {
  width: 26px;
  height: 26px;
  transform: rotate(135deg);
}

/* line 9005, app/assets/stylesheets/application.scss */
.floating-ai-call-btn:hover .floating-ai-call-btn-icon {
  transform: scale(1.05);
}

/* line 9009, app/assets/stylesheets/application.scss */
.floating-ai-call-btn:active .floating-ai-call-btn-icon {
  transform: scale(0.96);
}

/* line 9013, 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 9019, 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 9025, 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 9030, 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 9035, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  background: rgba(6, 8, 14, 0.72);
  text-align: center;
  color: #fff;
}

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

/* line 9054, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade strong {
  font-size: 16px;
  font-weight: 650;
}

/* line 9059, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade p {
  margin: 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

/* line 9067, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* line 9073, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade-btn {
  min-width: 96px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 9085, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade-btn.is-accept {
  background: #16a34a;
}

/* line 9089, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 16px 16px;
  border-radius: 22px 22px 0 0;
  background: rgba(12, 14, 20, 0.94);
  color: #fff;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

/* line 9105, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-sheet.hidden {
  display: none !important;
}

/* line 9109, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-handle {
  width: 40px;
  height: 5px;
  margin: 4px auto 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

/* line 9117, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 9124, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-head strong {
  font-size: 16px;
}

/* line 9128, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-textbtn,
.floating-ai-call-filter-close,
.floating-ai-call-filter-compare {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

/* line 9139, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-presets {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
}

/* line 9147, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-preset {
  flex: 0 0 auto;
  width: 72px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* line 9161, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* line 9169, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-preset.is-selected .floating-ai-call-filter-swatch {
  border-color: #fff;
}

/* line 9173, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch.is-off {
  background: #6b7280;
}

/* line 9174, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch.is-natural {
  background: #edcbbd;
}

/* line 9175, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch.is-smooth {
  background: #f5dbd1;
}

/* line 9176, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch.is-bright {
  background: #ffeebc;
}

/* line 9177, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch.is-warm {
  background: #f9c793;
}

/* line 9178, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch.is-cool {
  background: #b7d6f5;
}

/* line 9179, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-swatch.is-soft {
  background: #edccd8;
}

/* line 9181, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-intensity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

/* line 9188, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-intensity span {
  display: flex;
  justify-content: space-between;
}

/* line 9193, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-intensity input {
  width: 100%;
}

/* line 9197, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-compare,
.floating-ai-call-filter-close {
  width: 100%;
}

/* line 9202, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-filter-sheet {
  z-index: 8;
}

/* line 9206, 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 9213, 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 9221, 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 9234, 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 9249, 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 9261, 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 9268, app/assets/stylesheets/application.scss */
.floating-ai-call-history strong,
.floating-ai-call-history small {
  display: block;
}

/* line 9273, app/assets/stylesheets/application.scss */
.floating-ai-call-history strong {
  font-size: 12px;
  line-height: 1.3;
}

/* line 9278, app/assets/stylesheets/application.scss */
.floating-ai-call-history small {
  margin-top: 2px;
  color: #8a9099;
  font-size: 10px;
}

/* line 9284, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-active {
  background: #fee2e2;
  color: #dc2626;
}

/* line 9289, app/assets/stylesheets/application.scss */
.floating-ai-pending {
  padding: 0 12px 8px;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

/* line 9295, 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 9306, app/assets/stylesheets/application.scss */
.floating-ai-pending-chip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

/* line 9313, app/assets/stylesheets/application.scss */
.floating-ai-pending-file {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
}

/* line 9319, 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 9334, app/assets/stylesheets/application.scss */
.floating-ai-msg-image {
  display: block;
  max-width: 100%;
  max-height: 160px;
  border-radius: 18px;
  margin-bottom: 6px;
  object-fit: cover;
}

/* line 9343, 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 9353, app/assets/stylesheets/application.scss */
.floating-ai-msg-text {
  white-space: normal;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* line 9360, app/assets/stylesheets/application.scss */
.floating-ai-msg-text a {
  color: #0a84ff;
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* line 9367, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

/* line 9386, 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 9396, 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 9404, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 9411, 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 9418, 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 9428, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-cta {
  font-size: 12px;
  font-weight: 600;
  color: #0a84ff;
}

/* line 9434, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-post-share-cta {
  color: #0a84ff;
}

/* line 9438, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-share {
  display: block;
  width: 236px;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 9452, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-map {
  position: relative;
  width: 100%;
  height: 176px;
  overflow: hidden;
  border-radius: 18px;
  background: #d9e6f2;
}

/* line 9461, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-map.is-fallback {
  background: linear-gradient(160deg, rgba(15, 118, 210, 0.18), transparent 55%), repeating-linear-gradient(-18deg, #d5e4f1 0 10px, #c9dced 10px 20px);
}

/* line 9471, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 9478, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-pin {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  background: #0a84ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  overflow: visible;
  z-index: 2;
}

/* line 9499, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* line 9506, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-live-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff2d55;
  border: 2px solid #fff;
}

/* line 9517, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding: 12px;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.62));
  color: #fff;
  z-index: 1;
}

/* line 9530, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-overlay strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 9539, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-overlay > span:not(.floating-ai-msg-location-live) {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 9548, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-live {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* line 9560, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-location-share {
  background: transparent !important;
  padding: 0;
  box-shadow: none;
}

/* line 9566, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 280px;
  padding: 12px;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(244, 245, 247, 0.92);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 9584, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-app-share {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}

/* line 9589, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 9596, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* line 9606, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}

/* line 9614, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* line 9621, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  font-size: 18px;
}

/* line 9632, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 9639, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 9645, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body span {
  font-size: 12px;
  opacity: 0.72;
  line-height: 1.35;
}

/* line 9651, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-cta {
  font-size: 12px;
  font-weight: 650;
}

/* line 9656, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-focus {
  --app-accent: #2672eb;
}

/* line 9660, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-sleep {
  --app-accent: #7b5cff;
}

/* line 9664, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-water {
  --app-accent: #1f8ecd;
}

/* line 9668, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-focus .floating-ai-msg-app-share-eyebrow,
.floating-ai-msg-app-share.is-focus .floating-ai-msg-app-share-cta,
.floating-ai-msg-app-share.is-sleep .floating-ai-msg-app-share-eyebrow,
.floating-ai-msg-app-share.is-sleep .floating-ai-msg-app-share-cta,
.floating-ai-msg-app-share.is-water .floating-ai-msg-app-share-eyebrow,
.floating-ai-msg-app-share.is-water .floating-ai-msg-app-share-cta {
  color: var(--app-accent);
}

/* line 9677, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-focus .floating-ai-msg-app-share-icon,
.floating-ai-msg-app-share.is-sleep .floating-ai-msg-app-share-icon,
.floating-ai-msg-app-share.is-water .floating-ai-msg-app-share-icon {
  color: var(--app-accent);
  background: color-mix(in srgb, var(--app-accent) 14%, transparent);
}

/* line 9684, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-focus .floating-ai-msg-app-share-chip,
.floating-ai-msg-app-share.is-sleep .floating-ai-msg-app-share-chip,
.floating-ai-msg-app-share.is-water .floating-ai-msg-app-share-chip {
  color: var(--app-accent);
  background: color-mix(in srgb, var(--app-accent) 12%, transparent);
}

/* line 9691, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 280px;
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 9708, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 9715, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 14px;
  font-weight: 650;
}

/* line 9730, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 9736, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 9743, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-meta strong {
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 9751, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-meta span {
  font-size: 12px;
  opacity: 0.7;
}

/* line 9756, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-preview {
  position: relative;
  height: 92px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(160deg, rgba(250, 249, 245, 0.95), rgba(245, 232, 199, 0.95));
  color: #17191d;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  overflow: hidden;
}

/* line 9772, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-pins {
  position: absolute;
  inset: 14px 0 auto 16px;
  width: 140px;
  height: 40px;
  pointer-events: none;
  background: radial-gradient(circle at 18px 18px, #edb829 0 4.5px, transparent 5px), radial-gradient(circle at 54px 28px, rgba(23, 25, 29, 0.55) 0 4px, transparent 4.5px), radial-gradient(circle at 92px 12px, #2e6bb8 0 4px, transparent 4.5px);
}

/* line 9784, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-emoji {
  font-size: 16px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* line 9791, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-preview strong {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 9803, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-cta {
  font-size: 12px;
  font-weight: 650;
  opacity: 0.72;
}

/* line 9809, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 300px;
}

/* line 9818, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 12px;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(244, 245, 247, 0.92);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 9834, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-invite-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}

/* line 9839, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2e8cfa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* line 9849, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 9856, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: 0 0 52px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 140, 250, 0.12);
  color: #2e8cfa;
  font-size: 18px;
}

/* line 9870, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 9876, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* line 9883, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-body strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 9889, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  opacity: 0.72;
  min-width: 0;
}

/* line 9898, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-meta i {
  width: 12px;
  text-align: center;
  opacity: 0.9;
}

/* line 9904, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(244, 245, 247, 0.85);
  font-size: 12px;
  font-weight: 650;
  opacity: 0.9;
}

/* line 9916, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-invite-status {
  background: rgba(255, 255, 255, 0.85);
}

/* line 9920, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(23, 25, 29, 0.28);
  flex: 0 0 7px;
}

/* line 9928, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-accepted .floating-ai-msg-calendar-invite-dot {
  background: #2e9e6b;
}

/* line 9932, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-declined .floating-ai-msg-calendar-invite-dot {
  background: #db4747;
}

/* line 9936, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-tentative .floating-ai-msg-calendar-invite-dot {
  background: #d98c1f;
}

/* line 9940, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-proposed .floating-ai-msg-calendar-invite-dot {
  background: #2e8cfa;
}

/* line 9944, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 280px;
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 9961, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 9968, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 14px;
  font-weight: 650;
}

/* line 9983, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 9989, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 9996, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-meta strong {
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 10004, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-meta span {
  font-size: 12px;
  opacity: 0.7;
}

/* line 10009, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.06);
}

/* line 10020, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-share-preview {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
}

/* line 10025, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

/* line 10031, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-days span {
  font-size: 9px;
  font-weight: 650;
  text-align: center;
  opacity: 0.7;
}

/* line 10038, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  align-items: start;
}

/* line 10045, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 10051, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-slot {
  display: block;
  height: 10px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
}

/* line 10058, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-share-slot {
  background: rgba(255, 255, 255, 0.22);
}

/* line 10062, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-slot.is-busy {
  background: color-mix(in srgb, #ec4899 90%, transparent);
}

/* line 10066, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

/* line 10082, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-badge i {
  font-size: 15px;
}

/* line 10086, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 650;
  opacity: 0.72;
}

/* line 10095, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-cta i {
  font-size: 9px;
}

/* line 10099, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 2px 0 4px;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
}

/* line 10119, app/assets/stylesheets/application.scss */
.floating-ai-msg:has(.floating-ai-msg-link-preview),
.floating-ai-panel.is-human-chat .floating-ai-msg:has(.floating-ai-msg-link-preview),
.floating-ai-panel.is-ai-peer .floating-ai-msg-user:has(.floating-ai-msg-link-preview) {
  padding-bottom: 22px;
}

/* line 10125, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-rich {
  flex-direction: column;
  gap: 8px;
}

/* line 10130, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-hero,
.floating-ai-msg-link-preview-thumb,
.floating-ai-msg-link-preview-icon {
  background: rgba(0, 0, 0, 0.06);
}

/* line 10136, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}

/* line 10147, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 10154, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* line 10163, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-play i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 2px;
}

/* line 10176, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-thumb,
.floating-ai-msg-link-preview-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: 0 0 44px;
  object-fit: cover;
}

/* line 10185, 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 10193, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 10201, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-source {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.55;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 10211, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 10221, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-desc {
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 10231, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-cta {
  font-size: 12px;
  font-weight: 500;
  color: #0a84ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 10241, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-chevron {
  flex: 0 0 auto;
  color: inherit;
  opacity: 0.45;
  font-size: 11px;
  padding-top: 4px;
}

/* line 10249, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-compact .floating-ai-msg-link-preview-chevron {
  display: none;
}

/* line 10253, 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 10260, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-loading .floating-ai-msg-link-preview-hero.is-skeleton {
  min-height: 0;
  border-radius: 12px;
}

/* line 10265, 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 10270, 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 10275, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-loading .floating-ai-msg-link-preview-cta.is-skeleton {
  width: 120px;
  height: 10px;
}

/* line 10280, app/assets/stylesheets/application.scss */
.atlas-msg-p,
.atlas-msg-header,
.atlas-msg-numbered,
.atlas-msg-bullet {
  margin: 0 0 10px;
}

/* line 10287, 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 10294, app/assets/stylesheets/application.scss */
.atlas-msg-header {
  font-weight: 600;
  margin-top: 6px;
}

/* line 10299, app/assets/stylesheets/application.scss */
.atlas-msg-divider {
  height: 8px;
  margin: 2px 0;
}

/* line 10304, app/assets/stylesheets/application.scss */
.atlas-msg-numbered {
  padding: 2px 0;
}

/* line 10308, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-title {
  font-weight: 600;
}

/* line 10312, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-body {
  margin-top: 6px;
  opacity: 0.92;
}

/* line 10317, app/assets/stylesheets/application.scss */
.atlas-msg-bullet {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* line 10323, app/assets/stylesheets/application.scss */
.atlas-msg-bullet-mark {
  opacity: 0.55;
  line-height: 1.45;
  flex: 0 0 auto;
  padding-top: 1px;
}

/* line 10330, app/assets/stylesheets/application.scss */
.atlas-msg-followups {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

/* line 10338, 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 10353, 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 10358, app/assets/stylesheets/application.scss */
.atlas-msg-followup-mark {
  opacity: 0.55;
  flex: 0 0 auto;
}

/* line 10363, 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;
}

/* ChatGPT-style weather widget (mirrors iOS JarvisWeatherCardView) */
/* line 10372, app/assets/stylesheets/application.scss */
.jarvis-weather-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  max-width: 100%;
}

/* line 10382, app/assets/stylesheets/application.scss */
.jarvis-weather-location {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/* line 10388, app/assets/stylesheets/application.scss */
.jarvis-weather-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
}

/* line 10397, app/assets/stylesheets/application.scss */
.jarvis-weather-date {
  font-size: 15px;
  opacity: 0.62;
}

/* line 10402, app/assets/stylesheets/application.scss */
.jarvis-weather-unit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

/* line 10416, app/assets/stylesheets/application.scss */
.jarvis-weather-unit span {
  opacity: 0.45;
  font-weight: 400;
}

/* line 10421, app/assets/stylesheets/application.scss */
.jarvis-weather-unit span.is-active {
  opacity: 1;
  font-weight: 600;
}

/* line 10426, app/assets/stylesheets/application.scss */
.jarvis-weather-unit-sep {
  opacity: 0.3 !important;
  font-weight: 500 !important;
  padding: 0 2px;
}

/* line 10432, app/assets/stylesheets/application.scss */
.jarvis-weather-hourly {
  margin-top: 4px;
}

/* line 10436, app/assets/stylesheets/application.scss */
.jarvis-weather-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 64px;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

/* line 10445, app/assets/stylesheets/application.scss */
.jarvis-weather-row--head {
  padding: 8px 0;
  border-top: 0;
  font-size: 13px;
  opacity: 0.62;
}

/* line 10452, app/assets/stylesheets/application.scss */
.jarvis-weather-time {
  font-size: 15px;
}

/* line 10456, app/assets/stylesheets/application.scss */
.jarvis-weather-cond {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
}

/* line 10464, app/assets/stylesheets/application.scss */
.jarvis-weather-cond > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 10470, app/assets/stylesheets/application.scss */
.jarvis-weather-glyph {
  flex: 0 0 auto;
  width: 22px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
}

/* line 10478, app/assets/stylesheets/application.scss */
.jarvis-weather-temp {
  font-size: 15px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* line 10484, app/assets/stylesheets/application.scss */
.jarvis-weather-days {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

/* line 10490, app/assets/stylesheets/application.scss */
.jarvis-weather-day {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  border-radius: 14px;
}

/* line 10500, app/assets/stylesheets/application.scss */
.jarvis-weather-day.is-selected {
  background: color-mix(in srgb, #eadfcb 92%, transparent);
}

@media (prefers-color-scheme: dark) {
  /* line 10505, app/assets/stylesheets/application.scss */
  .jarvis-weather-day.is-selected {
    background: color-mix(in srgb, #fff 10%, transparent);
  }
}

/* line 10510, app/assets/stylesheets/application.scss */
.jarvis-weather-day-name {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.62;
}

/* line 10516, app/assets/stylesheets/application.scss */
.jarvis-weather-day-temp {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* line 10522, app/assets/stylesheets/application.scss */
.jarvis-weather-data {
  display: none;
}

/* line 10526, app/assets/stylesheets/application.scss */
.atlas-msg-math {
  font-style: italic;
  white-space: nowrap;
}

/* line 10531, 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 10541, 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 10548, app/assets/stylesheets/application.scss */
.atlas-msg-table {
  border-collapse: collapse;
  width: 100%;
  font-size: inherit;
}

/* line 10554, 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 10563, app/assets/stylesheets/application.scss */
.atlas-msg-table th {
  font-weight: 600;
  background: rgba(15, 23, 42, 0.04);
}

/* line 10568, app/assets/stylesheets/application.scss */
.atlas-msg-table tr:last-child td {
  border-bottom: 0;
}

/* line 10572, app/assets/stylesheets/application.scss */
.atlas-msg-table-caption {
  font-size: 0.92em;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* line 10578, 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 10585, app/assets/stylesheets/application.scss */
.atlas-msg-code-head {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 8px;
}

/* line 10592, app/assets/stylesheets/application.scss */
.atlas-msg-code pre {
  margin: 0;
  overflow-x: auto;
}

/* line 10597, 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 10603, 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 10614, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

/* line 10619, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-tip {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

/* line 10624, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-takeaway {
  border-left-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

/* line 10629, app/assets/stylesheets/application.scss */
.atlas-msg-callout-title {
  font-weight: 600;
}

/* line 10633, 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 10640, 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 10650, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot input {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 6px 6px;
  outline: none;
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.016em;
  color: #17191d;
}

/* line 10665, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot input::placeholder {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: #9aa0a8;
}

@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 10690, app/assets/stylesheets/application.scss */
  .browser-hub {
    padding-top: 72px;
  }
  /* line 10694, app/assets/stylesheets/application.scss */
  .perk-workspace-center .browser-hub {
    padding-top: 0;
  }
  /* line 10698, app/assets/stylesheets/application.scss */
  .perk-browser-chrome {
    top: 72px;
    height: 40px;
    margin: 0 -16px;
  }
  /* line 10704, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-chrome {
    top: 0;
  }
  /* line 10708, app/assets/stylesheets/application.scss */
  .perk-browser-toolbar {
    top: 112px;
  }
  /* line 10712, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-toolbar {
    top: 48px;
  }
  /* line 10716, app/assets/stylesheets/application.scss */
  .perk-workspace-center {
    --hub-tabbar-h: 48px;
  }
  /* line 10720, app/assets/stylesheets/application.scss */
  .hub-view-tab {
    flex: 1 1 0;
    max-width: none;
    min-width: 96px;
    height: 36px;
    padding: 0 6px 0 10px;
    font-size: var(--text-footnote);
    line-height: 1.35;
  }
  /* line 10730, app/assets/stylesheets/application.scss */
  .hub-view-tab.is-active {
    height: 36px;
    padding: 0 6px 0 10px;
  }
  /* line 10735, app/assets/stylesheets/application.scss */
  .perk-open-feed-btn {
    height: 30px;
    align-self: center;
    margin: 0 8px 0 2px;
  }
  /* line 10741, app/assets/stylesheets/application.scss */
  .hub-view-tab-add {
    width: 28px;
    height: 28px;
  }
  /* line 10746, app/assets/stylesheets/application.scss */
  .hub-peek-row-wrap {
    --hub-peek-tile-size: 148px;
  }
  /* line 10750, app/assets/stylesheets/application.scss */
  .hub-peek-tile {
    width: 148px;
  }
  /* line 10754, app/assets/stylesheets/application.scss */
  .hub-peek-tile-frame {
    width: 148px;
    height: 148px;
    border-radius: 24px;
    font-size: 36px;
  }
  /* line 10761, app/assets/stylesheets/application.scss */
  .hub-apps,
.hub-shortcuts-grid,
.hub-more-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 10769, app/assets/stylesheets/application.scss */
  .floating-ai-bubble,
.floating-ai.is-panel-open .floating-ai-bubble,
.floating-ai.is-roaming .floating-ai-bubble:not(.is-pinned) {
    animation: none;
  }
  /* line 10775, app/assets/stylesheets/application.scss */
  .hub-chat-menu-btn,
.hub-peek-label-btn,
.hub-credit-btn,
.hub-peek-tile,
.hub-peek-tile-frame,
.hub-app,
.hub-app-icon,
.hub-view-tab-add,
.hub-ask-bar {
    transition: none !important;
  }
  /* line 10787, app/assets/stylesheets/application.scss */
  .hub-chat-menu-btn:hover,
.hub-peek-label-btn:hover,
.hub-credit-btn:hover,
.hub-peek-tile:hover,
.hub-app:hover,
.hub-app:hover .hub-app-icon,
.hub-view-tab-add:hover {
    transform: none !important;
  }
}

/* ===== Perk desktop workspace ===== */
/* line 10799, app/assets/stylesheets/application.scss */
.hub-home {
  min-height: 100vh;
  background: #eef0f3;
  color: #17191d;
}

/* Chrome tab restore: nudge compositor layers (backdrop-filter / sticky chrome)
   so the workspace doesn't stay fractured until a hard reload. */
/* line 10807, app/assets/stylesheets/application.scss */
html.perk-tab-restore .perk-workspace,
html.perk-tab-restore .hub-home,
html.perk-tab-restore .perk-management-bar,
html.perk-tab-restore .hub-styles-grid,
html.perk-tab-restore .floating-ai-panel,
html.perk-tab-restore .perk-auth-shell {
  transform: translateZ(0);
}

/* line 10816, 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);
}

/* Home: no management bar above chats; controls live in the Chats heading. */
/* line 10825, app/assets/stylesheets/application.scss */
body.perk-home {
  --perk-bar-h: 0px;
  --perk-chat-col-min: 280px;
  --perk-chat-col-max: 340px;
}

/* line 10831, app/assets/stylesheets/application.scss */
body.perk-home .perk-management-bar.is-home {
  display: none;
}

/* line 10835, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace {
  padding-top: 0;
}

/* line 10839, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .browser-hub {
  height: 100vh;
}

/* line 10843, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .perk-browser-chrome {
  z-index: 72;
}

/* line 10847, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .perk-browser-toolbar {
  top: var(--hub-tabbar-h);
}

/* line 10851, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace.is-center-closed .perk-feed > .perk-sidebar-heading {
  z-index: 72;
}

/* line 10855, app/assets/stylesheets/application.scss */
.hub-tab-brand {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
  width: 32px;
  height: 32px;
  margin: 0 6px 0 4px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  line-height: 0;
  box-sizing: border-box;
}

/* line 10876, app/assets/stylesheets/application.scss */
.hub-tab-brand:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 10880, app/assets/stylesheets/application.scss */
.hub-tab-brand .perk-management-brand-mark,
.hub-tab-brand .perk-shape-logo {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
}

/* Intrinsic fallback so a 500×500 mark cannot blow up the layout if CSSOM is stale. */
/* line 10889, app/assets/stylesheets/application.scss */
img.perk-shape-logo {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

/* line 10897, app/assets/stylesheets/application.scss */
.hub-feed-brand {
  align-self: center;
  margin: 0 4px 0 0;
}

/* line 10902, app/assets/stylesheets/application.scss */
.perk-workspace {
  --feed-content-width: 560px;
  --feed-column-gap: 20px;
  --feed-dual-width: min(1140px, calc(100% - 48px));
  --hub-tabbar-h: 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);
}

/* line 10917, app/assets/stylesheets/application.scss */
.perk-workspace.is-chats-closed {
  grid-template-columns: minmax(0, 1fr);
}

/* line 10921, app/assets/stylesheets/application.scss */
.perk-workspace.is-chats-closed .perk-workspace-sidebar.perk-chats {
  display: none;
}

/* line 10925, app/assets/stylesheets/application.scss */
.perk-chats-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* line 10934, app/assets/stylesheets/application.scss */
.perk-chats.is-settings-open .perk-chats-panel,
.perk-chats:has(.perk-chats-account-menu[open]) .perk-chats-panel {
  overflow: visible;
}

/* Feed mode: apps pane hidden; posts use the full main column. */
/* line 10940, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-workspace-center {
  display: none;
}

/* line 10944, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed {
  background: #fff;
}

/* line 10948, 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 10954, 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 10966, 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 10974, 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 10990, 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 11000, 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 11008, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-pair > .perk-feed-post .perk-feed-actions {
  margin-top: auto;
}

/* line 11012, 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 11018, 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 11023, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-suggestions-head {
  width: 100%;
  box-sizing: border-box;
}

/* line 11028, 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 11033, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed {
  display: none;
}

/* Person profile / comments are rendered inside the feed sidebar. Keep those
   overlays visible while Peek gallery (apps mode) has the feed itself hidden. */
/* line 11039, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed:has(.perk-user-detail-overlay:not(.hidden)),
.perk-workspace.is-feed-closed .perk-feed:has(.perk-feed-comments-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 11055, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed:has(.perk-user-detail-overlay:not(.hidden)) > *:not(.perk-user-detail-overlay),
.perk-workspace.is-feed-closed .perk-feed:has(.perk-feed-comments-overlay:not(.hidden)) > *:not(.perk-feed-comments-overlay) {
  display: none !important;
}

/* line 11060, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-user-detail-overlay:not(.hidden),
.perk-workspace.is-feed-closed .perk-feed-comments-overlay:not(.hidden) {
  pointer-events: auto;
}

/* line 11065, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed-comments-overlay:not(.hidden) {
  top: calc(var(--perk-bar-h) + var(--hub-tabbar-h));
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

/* line 11072, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-feed-comments-sheet {
  max-width: none;
  max-height: none;
  height: 100%;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

/* line 11082, app/assets/stylesheets/application.scss */
.perk-feed-heading-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* line 11088, app/assets/stylesheets/application.scss */
.perk-open-apps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  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;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 150ms ease, transform 150ms ease;
}

/* line 11108, app/assets/stylesheets/application.scss */
.perk-open-apps-btn:hover {
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 11113, app/assets/stylesheets/application.scss */
.perk-open-apps-btn[hidden],
.perk-open-feed-btn[hidden] {
  display: none !important;
}

/* line 11118, 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: 30px;
  margin: 0 8px 0 2px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--perk-radius-pill);
  background: var(--perk-ink);
  color: #fff;
  font-size: var(--text-footnote);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 150ms ease;
}

/* line 11141, app/assets/stylesheets/application.scss */
.perk-open-apps-btn i,
.perk-open-feed-btn i,
.hub-view-tab-add i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  font-size: 13px;
  line-height: 1;
}

/* line 11154, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: flex-end;
  width: 34px;
  height: 34px;
  margin: 0 8px 4px 2px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--perk-ink);
  cursor: pointer;
  box-sizing: border-box;
  transition: background 150ms ease, color 150ms ease;
}

/* line 11174, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 11178, app/assets/stylesheets/application.scss */
.perk-toggle-chats-icon {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 160ms ease;
}

/* line 11185, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn.is-chats-closed .perk-toggle-chats-icon {
  transform: scaleX(-1);
}

/* line 11189, app/assets/stylesheets/application.scss */
.perk-open-apps-btn span,
.perk-open-feed-btn span {
  line-height: 1;
  padding-bottom: 0;
}

/* line 11195, app/assets/stylesheets/application.scss */
.perk-open-feed-btn:hover {
  background: var(--perk-ink-soft);
}

/* Show reopen control as soon as the early-paint class is applied. */
/* line 11200, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-open-feed-btn[hidden] {
  display: inline-flex !important;
}

/* line 11204, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-open-apps-btn[hidden] {
  display: inline-flex !important;
}

/* line 11208, 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 11216, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-feed {
  overflow: hidden;
}

/* line 11220, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-chats {
  overflow: hidden;
}

/* line 11224, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-chats.is-settings-open,
.perk-workspace-sidebar.perk-chats:has(.perk-chats-account-menu[open]) {
  overflow: visible;
  z-index: 80;
}

/* line 11230, 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 11240, app/assets/stylesheets/application.scss */
.perk-feed-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

/* line 11245, 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 11253, app/assets/stylesheets/application.scss */
.perk-feed-load-more[hidden] {
  display: none !important;
}

/* line 11257, 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 11274, app/assets/stylesheets/application.scss */
.perk-feed-fab:hover {
  transform: translateY(-1px);
  background: var(--perk-ink-soft);
  color: #fff;
}

/* line 11280, 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 11298, app/assets/stylesheets/application.scss */
.perk-user-detail-overlay {
  z-index: 1500;
}

/* line 11302, 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 11313, 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 11332, 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 11348, 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 11360, 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 11369, app/assets/stylesheets/application.scss */
.perk-create-post-cancel-link {
  color: #555;
}

/* line 11373, app/assets/stylesheets/application.scss */
.perk-create-post-submit {
  color: #111;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f2f7;
}

/* line 11380, app/assets/stylesheets/application.scss */
.perk-create-post-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 11385, app/assets/stylesheets/application.scss */
.perk-create-post-form,
.perk-feed-settings-body {
  padding: 16px;
  overflow-y: auto;
}

/* line 11391, app/assets/stylesheets/application.scss */
.perk-create-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* line 11398, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 11405, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta strong {
  font-size: 14px;
  font-weight: 600;
}

/* line 11410, 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 11425, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn i {
  font-size: 10px;
}

/* line 11429, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 11435, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn.is-selected {
  color: #111;
  font-weight: 600;
}

/* line 11440, 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 11448, app/assets/stylesheets/application.scss */
.perk-create-post-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 11454, 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 11466, app/assets/stylesheets/application.scss */
.perk-create-post-previews {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
}

/* line 11474, app/assets/stylesheets/application.scss */
.perk-create-post-preview {
  position: relative;
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
}

/* line 11481, 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 11491, 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 11503, 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 11522, 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 11538, app/assets/stylesheets/application.scss */
.perk-create-post-privacy {
  margin-top: 16px;
}

/* line 11542, app/assets/stylesheets/application.scss */
.perk-create-post-privacy > label {
  display: block;
  margin-bottom: 8px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 11549, 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 11558, 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 11573, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-options button i {
  font-size: 11px;
}

/* line 11577, 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 11583, app/assets/stylesheets/application.scss */
.perk-create-post-status {
  margin: 10px 0 0;
  color: #b91c1c;
  font-size: 13px;
}

/* line 11589, 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 11600, app/assets/stylesheets/application.scss */
.perk-create-post-target-overlay.hidden {
  display: none;
}

/* line 11604, 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 11614, 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 11622, 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 11632, app/assets/stylesheets/application.scss */
.perk-create-post-target-search i:first-child {
  color: #8e8e93;
}

/* line 11636, 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 11646, app/assets/stylesheets/application.scss */
.perk-create-post-target-clear {
  border: 0;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* line 11655, app/assets/stylesheets/application.scss */
.perk-create-post-target-results {
  flex: 1;
  overflow-y: auto;
  min-height: 180px;
}

/* line 11661, app/assets/stylesheets/application.scss */
.perk-create-post-target-empty {
  margin: 40px 16px;
  text-align: center;
  color: #8e8e93;
  font-size: 13px;
}

/* line 11668, app/assets/stylesheets/application.scss */
.perk-create-post-target-section {
  padding: 16px 16px 6px;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
}

/* line 11675, 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 11689, 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 11701, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

/* line 11709, 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 11717, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy small {
  color: #8e8e93;
  font-size: 12px;
}

/* line 11722, app/assets/stylesheets/application.scss */
.perk-create-post-target-chevron {
  color: #c7c7cc;
  font-size: 11px;
}

/* line 11727, app/assets/stylesheets/application.scss */
.perk-create-post-target-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid #f2f2f7;
}

/* line 11732, 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 11743, app/assets/stylesheets/application.scss */
.perk-feed-settings-body section {
  margin-bottom: 22px;
}

/* line 11747, app/assets/stylesheets/application.scss */
.perk-feed-settings-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

/* line 11753, app/assets/stylesheets/application.scss */
.perk-feed-settings-body p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 12px;
  line-height: 1.45;
}

/* line 11760, app/assets/stylesheets/application.scss */
.perk-feed-pref-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 11766, 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 11782, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected {
  background: #ececf1;
}

/* line 11786, app/assets/stylesheets/application.scss */
.perk-feed-pref-row i:last-child {
  color: #8e8e93;
}

/* line 11790, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected i:last-child {
  color: #111;
}

/* line 11794, 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 11803, app/assets/stylesheets/application.scss */
.perk-feed-settings-toast {
  margin: 0;
  color: #34c759;
  font-size: 13px;
  font-weight: 700;
}

/* line 11810, 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 11820, 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 11832, app/assets/stylesheets/application.scss */
.perk-user-detail-sheet {
  max-width: 520px;
  position: relative;
}

/* line 11837, 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 11846, app/assets/stylesheets/application.scss */
.perk-user-detail-loading {
  padding: 14px 18px 0;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
}

/* line 11853, 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 11863, app/assets/stylesheets/application.scss */
.perk-user-detail-content {
  display: flex;
  flex-direction: column;
}

/* line 11868, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-wrap {
  flex: 0 0 auto;
  margin: 18px 18px 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f2f7;
}

/* line 11876, 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 11885, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

/* line 11892, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty .perk-avatar-fallback {
  width: 88px;
  height: 88px;
  font-size: 32px;
}

/* line 11898, app/assets/stylesheets/application.scss */
.perk-user-detail-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 18px 8px;
}

/* line 11905, 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 11914, app/assets/stylesheets/application.scss */
.perk-user-detail-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 11920, app/assets/stylesheets/application.scss */
.perk-user-detail-section h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

/* line 11927, app/assets/stylesheets/application.scss */
.perk-user-detail-about {
  border-radius: 14px;
  background: #f2f2f7;
  overflow: hidden;
}

/* line 11933, 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 11942, app/assets/stylesheets/application.scss */
.perk-user-detail-row:last-child {
  border-bottom: 0;
}

/* line 11946, app/assets/stylesheets/application.scss */
.perk-user-detail-row > span {
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* line 11953, 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 11961, app/assets/stylesheets/application.scss */
.perk-user-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 11967, 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 11979, app/assets/stylesheets/application.scss */
.perk-user-detail-prompts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 11985, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt {
  border-radius: 14px;
  background: #f2f2f7;
  padding: 14px;
}

/* line 11991, 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 12000, 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 12009, app/assets/stylesheets/application.scss */
.perk-user-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* line 12015, 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 12025, app/assets/stylesheets/application.scss */
.perk-user-detail-empty {
  margin: 0;
  color: #8e8e93;
  font-size: 14px;
  line-height: 1.45;
}

/* line 12032, 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 12039, 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 12053, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:hover:not(:disabled) {
  opacity: 0.92;
}

/* line 12057, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* line 12062, 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 12082, app/assets/stylesheets/application.scss */
.perk-user-detail-toast[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  /* line 12087, app/assets/stylesheets/application.scss */
  .perk-user-detail-overlay {
    align-items: flex-end;
    padding: 0;
  }
  /* line 12092, app/assets/stylesheets/application.scss */
  .perk-user-detail-sheet {
    max-width: none;
    max-height: min(92vh, 860px);
    border-radius: 18px 18px 0 0;
  }
  /* line 12098, app/assets/stylesheets/application.scss */
  .perk-user-detail-hero {
    max-height: 360px;
  }
  /* line 12102, app/assets/stylesheets/application.scss */
  .perk-user-detail-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }
  /* line 12107, app/assets/stylesheets/application.scss */
  .perk-user-detail-name {
    font-size: 20px;
  }
}

/* line 12112, 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 12119, 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 12129, 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 12138, app/assets/stylesheets/application.scss */
.perk-feed-comments-handle {
  display: none;
}

/* line 12142, app/assets/stylesheets/application.scss */
.perk-feed-comments-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--perk-ink);
}

/* line 12148, 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 12156, app/assets/stylesheets/application.scss */
.perk-feed-comments-post {
  border-bottom: 1px solid var(--perk-line-soft);
}

/* line 12160, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post {
  border-bottom: 0;
  background: transparent;
}

/* line 12165, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post.is-detail {
  padding-bottom: 12px;
}

/* line 12169, 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 12181, 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 12189, app/assets/stylesheets/application.scss */
.perk-feed-comments-list {
  min-height: 160px;
  padding: 8px 16px 16px;
}

/* line 12194, app/assets/stylesheets/application.scss */
.perk-feed-comments-empty {
  margin: 24px 0;
  color: #8e8e93;
  text-align: center;
  font-size: 15px;
}

/* line 12201, app/assets/stylesheets/application.scss */
.perk-feed-comment-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

/* line 12208, app/assets/stylesheets/application.scss */
.perk-feed-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* line 12214, app/assets/stylesheets/application.scss */
.perk-feed-comment.is-reply {
  padding-left: 24px;
}

/* line 12218, 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 12230, app/assets/stylesheets/application.scss */
.perk-feed-comment-avatar:disabled {
  cursor: default;
}

/* line 12234, 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 12242, 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 12252, app/assets/stylesheets/application.scss */
.perk-feed-comment-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 12257, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 12264, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* line 12270, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta span {
  font-size: 12px;
  color: #8e8e93;
}

/* line 12275, 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 12284, 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 12295, 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 12309, app/assets/stylesheets/application.scss */
.perk-feed-comment-like i {
  font-size: 16px;
  line-height: 1;
}

/* line 12314, app/assets/stylesheets/application.scss */
.perk-feed-comment-like span {
  font-size: 12px;
  line-height: 1;
}

/* line 12319, app/assets/stylesheets/application.scss */
.perk-feed-comment-like.is-liked,
.perk-feed-comment-like.is-liked i {
  color: #ff3b30;
}

/* line 12324, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies {
  display: flex;
  justify-content: center;
}

/* line 12329, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies button {
  border: 0;
  background: transparent;
  color: #8e8e93;
  font-size: 13px;
  cursor: pointer;
}

/* line 12337, app/assets/stylesheets/application.scss */
.perk-feed-comments-composer {
  flex: 0 0 auto;
  border-top: 1px solid #ebebf0;
  background: #fff;
  position: relative;
}

/* line 12344, 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 12356, app/assets/stylesheets/application.scss */
.perk-mention-suggestions.hidden,
.perk-mention-suggestions[hidden] {
  display: none !important;
}

/* line 12361, app/assets/stylesheets/application.scss */
.floating-ai-mentions {
  margin: 0;
}

/* line 12365, 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 12379, app/assets/stylesheets/application.scss */
.perk-mention-option:last-child {
  border-bottom: 0;
}

/* line 12383, app/assets/stylesheets/application.scss */
.perk-mention-option:hover,
.perk-mention-option.is-active {
  background: #f2f2f7;
}

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

/* line 12397, 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 12410, app/assets/stylesheets/application.scss */
.perk-mention-avatar.is-all {
  color: #636366;
}

/* line 12414, app/assets/stylesheets/application.scss */
.perk-mention-avatar.is-all svg {
  display: block;
}

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

/* line 12425, app/assets/stylesheets/application.scss */
.perk-mention-copy strong,
.perk-mention-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 12432, app/assets/stylesheets/application.scss */
.perk-mention-copy strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 12437, app/assets/stylesheets/application.scss */
.perk-mention-copy span {
  font-size: 13px;
  color: #8e8e93;
}

/* line 12442, 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 12453, app/assets/stylesheets/application.scss */
.perk-feed-comment-text .perk-mention-link,
.floating-ai-msg-text .perk-mention-link {
  color: #0a66c2;
}

/* line 12458, 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 12468, app/assets/stylesheets/application.scss */
.perk-feed-comments-reply-preview[hidden] {
  display: none !important;
}

/* line 12472, 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 12481, 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 12490, 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 12500, app/assets/stylesheets/application.scss */
.perk-feed-comments-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 12px 12px;
}

/* line 12507, 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 12520, app/assets/stylesheets/application.scss */
.perk-feed-comments-form input::placeholder {
  color: #8e8e93;
}

/* line 12524, 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 12538, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:not(:disabled) {
  background: #111;
}

/* line 12542, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:disabled {
  cursor: default;
}

/* line 12546, app/assets/stylesheets/application.scss */
.perk-feed-comments-send i {
  font-size: 14px;
  line-height: 1;
}

/* line 12551, app/assets/stylesheets/application.scss */
.perk-create-post-quote {
  margin: 0 0 12px;
}

/* line 12555, app/assets/stylesheets/application.scss */
.perk-create-post-quote .perk-feed-quoted {
  margin: 0;
  pointer-events: none;
}

/* line 12560, app/assets/stylesheets/application.scss */
.perk-feed-post-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* line 12567, app/assets/stylesheets/application.scss */
.perk-feed-post-top .perk-feed-post-headline {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 12572, 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 12582, 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 12592, app/assets/stylesheets/application.scss */
.perk-feed-post-menu-btn:hover,
.perk-feed-privacy-dot.is-editable:hover {
  color: #111;
  background: #f2f2f7;
}

/* line 12598, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable {
  cursor: pointer;
}

/* line 12602, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable:hover .perk-feed-post-text {
  color: #222;
}

/* line 12606, app/assets/stylesheets/application.scss */
.perk-feed-privacy-sheet {
  max-width: 360px;
}

/* line 12610, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

/* line 12617, 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 12633, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options button.active,
.perk-feed-privacy-options button:hover {
  border-color: #111;
  background: #f7f7f8;
}

/* line 12639, app/assets/stylesheets/application.scss */
.perk-feed-privacy-status {
  margin: 0 16px 16px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 12645, 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 12652, 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 12662, 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 12671, app/assets/stylesheets/application.scss */
.perk-feed-share-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 12679, 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 12691, app/assets/stylesheets/application.scss */
.perk-feed-share-done {
  justify-self: start;
}

/* line 12695, app/assets/stylesheets/application.scss */
.perk-feed-share-create-group {
  justify-self: end;
  white-space: nowrap;
}

/* line 12700, app/assets/stylesheets/application.scss */
.perk-feed-share-done:hover,
.perk-feed-share-create-group:hover {
  opacity: 0.75;
}

/* line 12705, 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 12716, app/assets/stylesheets/application.scss */
.perk-feed-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 12721, 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 12731, app/assets/stylesheets/application.scss */
.perk-feed-share-search input::placeholder {
  color: #8e8e93;
}

/* line 12735, 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 12746, app/assets/stylesheets/application.scss */
.perk-feed-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  text-align: center;
  font-size: 14px;
}

/* line 12753, 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 12766, app/assets/stylesheets/application.scss */
.perk-feed-share-person:last-child {
  border-bottom: 0;
}

/* line 12770, 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 12785, app/assets/stylesheets/application.scss */
.perk-feed-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 12792, 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 12803, 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 12811, 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 12820, 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 12829, 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 12842, app/assets/stylesheets/application.scss */
.perk-feed-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 12846, app/assets/stylesheets/application.scss */
.perk-feed-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 12851, app/assets/stylesheets/application.scss */
.perk-feed-share-external {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 16px 16px;
  border-top: 1px solid #eee;
  flex: 0 0 auto;
}

/* line 12860, 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 12876, app/assets/stylesheets/application.scss */
.perk-feed-share-channel:hover {
  background: #f7f7f8;
}

/* line 12880, 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 12891, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-whatsapp {
  background: #25d366;
}

/* line 12895, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 12899, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-zalo {
  background: #0068ff;
  font-size: 17px;
  font-weight: 800;
}

/* line 12905, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-copy {
  background: #111;
}

/* line 12909, 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 12917, app/assets/stylesheets/application.scss */
  .perk-feed-share-overlay {
    align-items: center;
    padding: 20px;
  }
  /* line 12922, app/assets/stylesheets/application.scss */
  .perk-feed-share-sheet {
    border-radius: 18px;
    max-height: min(88vh, 760px);
  }
}

/* line 12928, app/assets/stylesheets/application.scss */
.perk-feed-menu-overlay {
  align-items: flex-end;
}

/* line 12932, 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 12945, 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 12957, app/assets/stylesheets/application.scss */
.perk-feed-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

/* line 12964, app/assets/stylesheets/application.scss */
.perk-feed-menu-item.is-danger {
  color: #c62828;
}

/* line 12968, app/assets/stylesheets/application.scss */
.perk-feed-menu-item:hover,
.perk-feed-menu-cancel:hover {
  background: #f2f2f7;
}

/* line 12973, 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 12981, 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 12997, app/assets/stylesheets/application.scss */
.perk-feed-toast[hidden] {
  display: none !important;
}

/* line 13001, 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 13011, app/assets/stylesheets/application.scss */
.perk-chats {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 0;
  overflow: hidden;
  background: var(--perk-surface);
}

/* line 13020, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 8;
  margin: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--perk-ink);
}

/* line 13034, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 13038, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn:focus-visible {
  outline: 2px solid rgba(23, 25, 29, 0.28);
  outline-offset: 1px;
}

/* line 13043, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn .perk-toggle-chats-icon {
  width: 18px;
  height: 18px;
}

/* line 13048, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn.is-reopen {
  display: none;
}

/* line 13052, app/assets/stylesheets/application.scss */
.perk-workspace.is-chats-closed .perk-toggle-chats-btn.is-reopen {
  display: inline-flex;
}

/* line 13056, app/assets/stylesheets/application.scss */
.perk-feed-heading-actions .perk-toggle-chats-btn.is-reopen,
.hub-view-tabs .perk-toggle-chats-btn.is-reopen {
  align-self: center;
  margin: 0 0 0 auto;
}

/* line 13062, app/assets/stylesheets/application.scss */
.hub-view-tabs .perk-toggle-chats-btn.is-reopen {
  align-self: center;
  margin: 0 8px 0 auto;
}

/* line 13067, 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 13076, app/assets/stylesheets/application.scss */
.perk-chats.is-settings-open .perk-chats-main {
  overflow: visible;
}

/* line 13080, app/assets/stylesheets/application.scss */
.perk-chats.is-settings-open .perk-sidebar-heading,
.perk-chats:has(.perk-chats-account-menu[open]) .perk-sidebar-heading {
  z-index: 80;
}

/* line 13085, app/assets/stylesheets/application.scss */
.perk-chats:has(.perk-chats-account-menu[open]) .perk-chats-main {
  overflow: visible;
}

/* line 13089, 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 13099, app/assets/stylesheets/application.scss */
.perk-chats.is-contacts-hidden .perk-chat-list {
  display: none;
}

/* line 13103, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading {
  align-items: center;
  gap: 10px;
  min-height: var(--hub-tabbar-h, 48px);
  height: var(--hub-tabbar-h, 48px);
  overflow: visible;
  padding: 0 10px 0 44px;
}

/* line 13112, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading-title {
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

/* line 13119, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading-title h2 {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* line 13131, app/assets/stylesheets/application.scss */
.perk-chats .perk-ios-count-badge-inline {
  margin-left: 0;
  transform: none;
}

/* line 13136, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

/* line 13145, app/assets/stylesheets/application.scss */
.perk-chats-action-cluster {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 12px;
  background: rgba(23, 25, 29, 0.045);
}

/* line 13154, app/assets/stylesheets/application.scss */
.perk-chats-account-menu {
  flex: 0 0 auto;
  position: relative;
}

/* line 13159, app/assets/stylesheets/application.scss */
.perk-chats-account-menu .perk-account-card {
  z-index: 91;
}

/* line 13163, app/assets/stylesheets/application.scss */
.perk-chats-account-menu.perk-account-menu summary,
.perk-chats-account-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
}

/* line 13176, app/assets/stylesheets/application.scss */
.perk-chats-account-menu summary:hover {
  background: transparent;
}

/* line 13180, app/assets/stylesheets/application.scss */
.perk-chats-account-menu summary:focus-visible {
  outline: 2px solid rgba(23, 25, 29, 0.28);
  outline-offset: 2px;
}

/* line 13185, app/assets/stylesheets/application.scss */
.perk-chats-account-menu[open] summary .perk-management-avatar,
.perk-chats-account-menu summary:hover .perk-management-avatar {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(23, 25, 29, 0.16);
}

/* line 13190, app/assets/stylesheets/application.scss */
.perk-chats-account-menu .perk-management-avatar-sm {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  font-size: 12px;
  border: 0;
}

/* line 13198, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--perk-ink-soft);
  font-size: 14px;
}

/* line 13208, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button:hover,
.perk-chats-heading-actions .perk-icon-button.is-active {
  background: #fff;
  border-color: transparent;
  color: #111;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 13216, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button:focus-visible {
  outline: 2px solid rgba(23, 25, 29, 0.28);
  outline-offset: 1px;
}

/* line 13221, app/assets/stylesheets/application.scss */
.perk-chat-settings-anchor {
  position: relative;
}

/* line 13225, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -4px;
  z-index: 90;
  width: min(320px, calc(100vw - 24px));
  max-height: min(70vh, 520px);
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: var(--perk-surface);
  box-shadow: 0 18px 48px rgba(23, 25, 29, 0.18);
}

/* line 13239, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu.hidden {
  display: none;
}

/* line 13243, 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 13256, app/assets/stylesheets/application.scss */
.perk-chat-settings-header {
  padding: 16px 16px 12px;
}

/* line 13260, app/assets/stylesheets/application.scss */
.perk-chat-settings-header strong {
  display: block;
  color: #111827;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 13269, app/assets/stylesheets/application.scss */
.perk-chat-settings-header p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

/* line 13276, app/assets/stylesheets/application.scss */
.perk-chat-settings-section {
  padding: 4px 0;
  border-top: 1px solid #eef0f3;
}

/* line 13281, 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 13299, app/assets/stylesheets/application.scss */
.perk-chat-settings-item:hover {
  background: #f5f6f8;
  color: inherit;
}

/* line 13304, 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 13316, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 13323, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy strong {
  color: #111827;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

/* line 13330, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

/* line 13336, app/assets/stylesheets/application.scss */
.perk-chat-settings-chevron {
  color: #9ca3af;
  font-size: 12px;
}

/* line 13341, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

/* line 13349, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 13358, 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 13368, 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 13381, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span {
  background: #34c759;
}

/* line 13385, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span::after {
  transform: translateX(20px);
}

/* line 13389, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 13395, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane.hidden {
  display: none;
}

/* line 13399, 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: 15px;
  padding: 4px 2px 8px;
  cursor: pointer;
  text-align: left;
}

/* line 13414, app/assets/stylesheets/application.scss */
.perk-chat-settings-back i {
  font-size: 18px;
  line-height: 1;
}

/* line 13419, app/assets/stylesheets/application.scss */
.perk-chat-settings-back:hover {
  color: var(--perk-ink-soft);
}

/* line 13423, app/assets/stylesheets/application.scss */
.perk-chat-settings-hint {
  margin: 0;
  padding: 0 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

/* line 13431, 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 13442, 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 13452, 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 13461, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 10px;
}

/* line 13469, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row:hover {
  background: #f8f9fb;
}

/* line 13473, 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 13488, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 13494, 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 13502, 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 13510, 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 13518, 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 13530, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-btn {
  background: #fee2e2;
  color: #b91c1c;
}

/* line 13535, app/assets/stylesheets/application.scss */
.perk-chat-settings-unblock {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 13540, app/assets/stylesheets/application.scss */
.floating-ai-panel.hide-read-receipts .floating-ai-msg-status {
  display: none;
}

/* line 13544, 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 13556, 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: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111;
  font-size: 24px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

/* line 13577, app/assets/stylesheets/application.scss */
.perk-create-chat-fab:hover {
  transform: translateY(-1px);
  background: rgba(23, 25, 29, 0.06);
  box-shadow: none;
}

/* line 13583, app/assets/stylesheets/application.scss */
.floating-ai.is-docked-above-create .floating-ai-bubble:not(.is-pinned) {
  animation: none;
}

/* line 13587, app/assets/stylesheets/application.scss */
.perk-chat-footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 14px 16px 16px;
  border-top: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

/* line 13598, app/assets/stylesheets/application.scss */
.perk-chat-footer-brand {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}

/* line 13606, app/assets/stylesheets/application.scss */
.perk-chat-footer-brand strong,
.perk-chat-footer-brand span {
  color: var(--perk-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

/* line 13616, app/assets/stylesheets/application.scss */
.perk-chat-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

/* line 13623, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a {
  position: relative;
  color: #5b6570;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0 8px;
}

/* line 13634, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a:first-child {
  padding-left: 0;
}

/* line 13638, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 10px;
  transform: translateY(-50%);
  background: #d5d8de;
}

/* line 13649, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a:hover {
  color: var(--perk-ink);
}

/* line 13653, 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 13670, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading,
.perk-chats .perk-sidebar-heading {
  border-bottom: 0;
}

/* line 13675, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading {
  min-height: 52px;
  height: 52px;
}

/* line 13680, 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 13690, 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 13699, 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 13711, app/assets/stylesheets/application.scss */
.perk-create-chat-modal.hidden {
  display: none;
}

/* line 13715, 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 13726, 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 13735, app/assets/stylesheets/application.scss */
.perk-create-chat-card > header strong {
  color: #16191e;
  font-size: 15px;
}

/* line 13740, 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 13750, app/assets/stylesheets/application.scss */
.perk-create-chat-cancel {
  justify-self: start;
}

/* line 13754, app/assets/stylesheets/application.scss */
.perk-create-chat-next {
  justify-self: end;
}

/* line 13758, app/assets/stylesheets/application.scss */
.perk-create-chat-next:disabled {
  color: #b7bbc2;
  cursor: default;
}

/* line 13763, app/assets/stylesheets/application.scss */
.perk-create-chat-next.is-loading {
  opacity: 0.6;
  cursor: wait;
}

/* line 13768, app/assets/stylesheets/application.scss */
.perk-create-chat-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 130px);
}

/* line 13774, 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 13785, 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 13795, 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 13802, app/assets/stylesheets/application.scss */
.perk-create-chat-search {
  position: relative;
  margin: 10px 16px;
}

/* line 13807, 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 13816, 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 13824, app/assets/stylesheets/application.scss */
.perk-create-chat-people {
  min-height: 180px;
  overflow-y: auto;
  padding: 0 10px 14px;
}

/* line 13830, 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 13839, app/assets/stylesheets/application.scss */
.perk-create-chat-error {
  padding: 8px 18px;
  color: #c62828;
  text-align: left;
}

/* line 13845, 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 13856, app/assets/stylesheets/application.scss */
.perk-create-chat-person:hover {
  background: #f6f7f8;
}

/* line 13860, app/assets/stylesheets/application.scss */
.perk-create-chat-person > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* line 13867, 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 13882, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 13888, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy {
  min-width: 0;
}

/* line 13892, 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 13900, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy strong {
  color: #25282d;
  font-size: 13px;
}

/* line 13905, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy small {
  margin-top: 3px;
  color: #8b919a;
  font-size: 11px;
}

/* line 13911, 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 13923, app/assets/stylesheets/application.scss */
.perk-create-chat-person input:checked ~ .perk-create-chat-check {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

/* line 13929, app/assets/stylesheets/application.scss */
body.perk-modal-open {
  overflow: hidden;
}

/* line 13933, 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 13948, app/assets/stylesheets/application.scss */
.perk-icon-button:hover {
  background: var(--perk-surface);
  border-color: var(--perk-line);
  color: var(--perk-ink);
}

/* line 13954, 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 13968, app/assets/stylesheets/application.scss */
.perk-feed-filters::-webkit-scrollbar {
  display: none;
}

/* line 13972, 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 13988, 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 14000, app/assets/stylesheets/application.scss */
.perk-feed-filters button:hover {
  background: transparent;
  color: var(--perk-ink);
}

/* line 14005, app/assets/stylesheets/application.scss */
.perk-feed-filters button.active {
  background: transparent;
  border-color: transparent;
  color: var(--perk-ink);
  font-weight: 700;
}

/* line 14012, app/assets/stylesheets/application.scss */
.perk-feed-filters button.active::after {
  background: var(--perk-ink);
}

/* line 14016, 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 14025, 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 14039, 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 14048, app/assets/stylesheets/application.scss */
.perk-feed-trending {
  margin: 8px 14px 12px;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-lg);
  box-shadow: var(--perk-shadow-sm);
}

/* line 14055, app/assets/stylesheets/application.scss */
.perk-feed-section-head {
  padding: 0 18px 10px;
}

/* line 14059, 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 14067, app/assets/stylesheets/application.scss */
.perk-feed-section-head p {
  margin: 3px 0 0;
  color: var(--perk-muted-soft);
  font-size: 13px;
}

/* line 14073, app/assets/stylesheets/application.scss */
.perk-feed-section-head-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 14079, app/assets/stylesheets/application.scss */
.perk-feed-section-logo {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--perk-field);
  border: 1px solid var(--perk-line);
}

/* line 14091, app/assets/stylesheets/application.scss */
.perk-feed-trend-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0 18px;
}

/* line 14098, app/assets/stylesheets/application.scss */
.perk-feed-trend-chip {
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--perk-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
  text-align: left;
}

/* line 14114, app/assets/stylesheets/application.scss */
.perk-feed-trend-chip:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* iOS-style: avatar + title on top; friend cards scroll full-bleed below. */
/* line 14120, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 10px;
}

/* line 14127, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* line 14133, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-feed-post-avatar {
  flex: 0 0 40px;
}

/* line 14137, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-avatar-fallback {
  width: 40px;
  height: 40px;
}

/* line 14142, 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 14156, app/assets/stylesheets/application.scss */
.perk-feed-suggest-scroller::-webkit-scrollbar {
  display: none;
}

/* line 14160, 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 14174, app/assets/stylesheets/application.scss */
.perk-feed-suggest-card:hover .perk-feed-suggest-photo {
  opacity: 0.92;
}

/* line 14178, 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 14190, 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 14199, 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 14209, 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 14220, 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 14233, 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 14244, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i {
  font-size: 12px;
  color: #c13584;
}

/* line 14249, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i.fa-comment {
  color: #8e8e93;
}

/* line 14253, app/assets/stylesheets/application.scss */
.perk-feed-post.has-friend-activity {
  padding-top: 12px;
}

/* line 14257, app/assets/stylesheets/application.scss */
.perk-feed-post-avatar {
  grid-column: 1;
  width: 40px;
}

/* line 14262, 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 14270, app/assets/stylesheets/application.scss */
.perk-feed-post-main {
  grid-column: 2;
  min-width: 0;
}

/* line 14275, app/assets/stylesheets/application.scss */
.perk-feed-post-body {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* line 14281, 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 14291, 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 14298, 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 14307, app/assets/stylesheets/application.scss */
.perk-feed-post-text.muted {
  color: #8e8e93;
}

/* line 14311, 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 14322, app/assets/stylesheets/application.scss */
a.perk-feed-quoted:hover {
  border-color: #d5d9e0;
  background: #eef0f3;
}

/* line 14327, app/assets/stylesheets/application.scss */
.perk-feed-quoted-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 14334, 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 14343, 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 14353, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 14360, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta strong {
  color: #111;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

/* line 14367, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta span {
  color: #8e8e93;
  font-size: 12px;
}

/* line 14372, 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 14381, 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 14392, app/assets/stylesheets/application.scss */
a.perk-feed-quoted-read:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 14397, app/assets/stylesheets/application.scss */
.perk-feed-quoted .perk-feed-post-media {
  margin: 0;
}

/* line 14401, app/assets/stylesheets/application.scss */
.perk-feed-post-media {
  display: grid;
  gap: 8px;
  margin: 6px 0 8px;
}

/* line 14407, 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 14415, 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 14423, app/assets/stylesheets/application.scss */
.perk-feed-post-media.is-carousel .perk-feed-post-media-item {
  flex: 0 0 72%;
  max-width: 260px;
}

/* line 14428, 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 14437, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-video {
  cursor: pointer;
  background: #111;
}

/* line 14442, 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 14448, 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 14463, 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 14474, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-playing .perk-feed-video-badge {
  display: none;
}

/* line 14478, 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 14488, app/assets/stylesheets/application.scss */
.perk-feed-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

/* line 14495, 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 14512, 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 14523, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fas {
  font-weight: 900;
}

/* line 14527, app/assets/stylesheets/application.scss */
.perk-feed-actions button .far {
  font-weight: 400;
}

/* Paper plane — same size as peers, slight Instagram-style lift. */
/* line 14532, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px);
}

/* line 14536, 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 14544, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover {
  color: #737373;
}

/* line 14548, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover span {
  color: #8e8e8e;
}

/* line 14552, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover i {
  transform: scale(1.08);
}

/* line 14556, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px) scale(1.08);
}

/* line 14560, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active {
  opacity: 0.72;
}

/* line 14564, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active i {
  transform: scale(0.92);
}

/* line 14568, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px) scale(0.92);
}

/* line 14572, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked {
  color: #ed4956;
}

/* line 14576, 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 14581, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked span {
  color: #ed4956;
}

/* line 14585, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-saved,
.perk-feed-actions button.is-saved i {
  color: #262626;
}

/* line 14590, 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 14608, app/assets/stylesheets/application.scss */
  .perk-feed-actions button.is-liked i,
.perk-feed-actions button.is-saved i {
    animation: none;
  }
}

/* line 14614, app/assets/stylesheets/application.scss */
.perk-feed-actions-spacer {
  flex: 1 1 auto;
}

/* line 14618, app/assets/stylesheets/application.scss */
.perk-feed-post-empty {
  border-bottom: 0;
}

/* line 14622, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  --hub-tabbar-h: 48px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

/* line 14630, 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;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-padding-top: var(--hub-tabbar-h);
  padding: 0 28px 36px;
  background: radial-gradient(920px 420px at 50% -8%, rgba(255, 255, 255, 0.98), transparent 58%), radial-gradient(720px 360px at 88% 12%, rgba(23, 25, 29, 0.02), transparent 62%), #fff;
}

/* line 14646, app/assets/stylesheets/application.scss */
.perk-workspace-center .perk-browser-chrome {
  top: 0;
  z-index: 60;
  flex-shrink: 0;
  margin: 0 -28px;
  padding-left: 10px;
  padding-right: 10px;
  background: linear-gradient(180deg, #eceef1 0%, #e6e8ec 100%);
  border-bottom: 1px solid rgba(23, 25, 29, 0.06);
}

/* Keep hub tabs visible/clickable while an overlay app is open. */
/* line 14658, 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 > .calendar-hub,
.perk-workspace-center > .map-hub,
.perk-workspace-center > .credit-hub,
.perk-workspace-center > .focus-hub,
.perk-workspace-center > .sticky-hub,
.perk-workspace-center > .market-hub,
.perk-workspace-center > .quiz-hub,
.perk-workspace-center > .nutrition-hub,
.perk-workspace-center > .occasion-hub,
.perk-workspace-center > .pin-hub,
.perk-workspace-center > .companion-hub,
.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 14687, app/assets/stylesheets/application.scss */
.perk-workspace-center .perk-browser-toolbar {
  top: var(--hub-tabbar-h);
  margin: 0 -28px;
  padding-left: 14px;
  padding-right: 14px;
}

/* line 14694, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-browsing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}

/* line 14701, 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 14710, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-browser-frame,
.perk-workspace-center .hub-browser-iframe {
  height: 100%;
  min-height: 0;
}

/* line 14716, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub-inner {
  max-width: 630px;
  gap: 22px;
}

/* line 14721, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shopping {
  max-width: 630px;
  margin: 0 auto;
}

/* line 14726, app/assets/stylesheets/application.scss */
.perk-workspace-center .ai-characters-panel,
.perk-workspace-center .browser-hub-inner.ai-characters-panel {
  max-width: none;
  margin: 0;
  width: 100%;
  gap: 0;
}

/* line 14734, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
  max-width: 1080px;
}

/* line 14738, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-workspace-center .ai-characters-panel {
  max-width: none;
}

/* line 14742, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-shopping,
.perk-workspace-center .browser-hub.is-characters {
  padding-top: 0;
}

/* line 14747, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub > .browser-hub-inner,
.perk-workspace-center .browser-hub > .hub-shopping {
  padding-top: clamp(20px, 3vh, 40px);
}

/* line 14752, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub .ai-characters-panel {
  padding-top: 0;
}

/* line 14756, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  flex: 1 1 auto;
  justify-content: center;
  justify-content: safe center;
  padding-top: 64px;
  background: transparent;
}

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

/* line 14773, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-row-wrap {
  --hub-peek-tile-size: clamp(148px, 15vw, 184px);
}

/* line 14777, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-tile {
  width: clamp(148px, 15vw, 184px);
}

/* line 14781, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-tile-frame {
  width: clamp(148px, 15vw, 184px);
  height: clamp(148px, 15vw, 184px);
  border-radius: 28px;
}

/* line 14787, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app,
.perk-workspace-center .hub-shortcut {
  border-radius: 18px;
  padding: 10px 6px 8px;
}

/* line 14793, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app:hover,
.perk-workspace-center .hub-shortcut:hover {
  background: rgba(255, 255, 255, 0.78);
}

/* line 14798, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 28%;
}

/* line 14804, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shortcuts {
  padding-top: 8px;
  border-top: 1px solid var(--perk-line);
}

/* line 14809, app/assets/stylesheets/application.scss */
.perk-chat-search {
  position: relative;
  margin: 4px 12px 10px;
}

/* line 14814, app/assets/stylesheets/application.scss */
.perk-chat-search.hidden {
  display: none;
}

/* line 14818, app/assets/stylesheets/application.scss */
.perk-chat-search i {
  position: absolute;
  top: 50%;
  left: 12px;
  color: #8e8e93;
  font-size: 14px;
  transform: translateY(-50%);
}

/* line 14827, app/assets/stylesheets/application.scss */
.perk-chat-search input {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 10px;
  outline: 0;
  background: var(--perk-field);
  padding: 0 12px 0 36px;
  color: var(--perk-ink);
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* line 14840, app/assets/stylesheets/application.scss */
.perk-chat-search input:focus {
  border-color: transparent;
  background: var(--perk-field);
  box-shadow: none;
}

/* line 14846, app/assets/stylesheets/application.scss */
.perk-chat-list {
  padding: 0;
}

/* line 14850, app/assets/stylesheets/application.scss */
.perk-chat-section-label,
.perk-create-chat-section-label {
  padding: 10px 14px 4px;
  color: #8e8e93;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* line 14860, 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 14876, app/assets/stylesheets/application.scss */
.perk-chat-avatar-ai {
  overflow: visible;
  background: linear-gradient(145deg, #17191d, #4b5563);
}

/* line 14881, 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 14891, 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 14898, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar.is-ai {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #17191d, #4b5563);
}

/* line 14904, 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 14911, app/assets/stylesheets/application.scss */
.perk-chat-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 8px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--perk-ink);
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: background 120ms ease;
}

/* display:grid above beats Tailwind .hidden */
/* line 14931, app/assets/stylesheets/application.scss */
.perk-chat-row.hidden,
.perk-chat-section-label.hidden {
  display: none;
}

/* line 14936, app/assets/stylesheets/application.scss */
.perk-chat-row:hover {
  background: rgba(23, 25, 29, 0.04);
  color: var(--perk-ink);
}

/* line 14941, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread {
  background: transparent;
  color: var(--perk-ink);
}

/* line 14946, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-copy strong {
  font-weight: 700;
  color: #17191d;
}

/* line 14951, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread:hover {
  background: rgba(23, 25, 29, 0.04);
  color: var(--perk-ink);
}

/* line 14956, app/assets/stylesheets/application.scss */
.perk-chat-empty {
  padding: 18px 14px;
  color: var(--perk-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* line 14963, app/assets/stylesheets/application.scss */
.perk-chat-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: visible;
  background: #e5e5ea;
  color: #8e8e93;
  font-size: 14px;
  font-weight: 600;
  border: 0;
}

/* line 14979, app/assets/stylesheets/application.scss */
.perk-chat-avatar.is-group-collage {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* line 14987, app/assets/stylesheets/application.scss */
.perk-chat-avatar-p {
  background: linear-gradient(145deg, #111, #4f5968);
}

/* line 14988, app/assets/stylesheets/application.scss */
.perk-chat-avatar-m {
  background: linear-gradient(145deg, #4b5563, #17191d);
}

/* line 14990, app/assets/stylesheets/application.scss */
.perk-chat-avatar:not(.is-group-collage) > img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* line 14997, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
}

/* line 15005, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-count="1"] {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

/* 2×2 grid: larger faces with a light overlap + white ring */
/* line 15012, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="grid"] .perk-group-avatar-cell {
  position: absolute;
  width: 58%;
  height: 58%;
  aspect-ratio: auto;
  align-self: auto;
  justify-self: auto;
  border: 1.5px solid #fff;
  box-sizing: border-box;
}

/* line 15023, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="grid"] .perk-group-avatar-cell:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 1;
}

/* line 15029, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="grid"] .perk-group-avatar-cell:nth-child(2) {
  top: 0;
  right: 0;
  z-index: 2;
}

/* line 15035, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="grid"] .perk-group-avatar-cell:nth-child(3) {
  bottom: 0;
  left: 0;
  z-index: 3;
}

/* line 15041, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="grid"] .perk-group-avatar-cell:nth-child(4) {
  bottom: 0;
  right: 0;
  z-index: 4;
}

/* 3 members: one on top (centered), two on the bottom — slightly larger + overlap */
/* line 15048, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="triangle"] {
  display: block;
  position: relative;
}

/* line 15053, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="triangle"] .perk-group-avatar-cell {
  position: absolute;
  width: 58%;
  height: 58%;
  aspect-ratio: auto;
  align-self: auto;
  justify-self: auto;
  border: 1.5px solid #fff;
  box-sizing: border-box;
}

/* line 15064, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="triangle"] .perk-group-avatar-cell:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* line 15071, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="triangle"] .perk-group-avatar-cell:nth-child(2) {
  left: 0;
  bottom: 0;
  z-index: 1;
}

/* line 15077, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="triangle"] .perk-group-avatar-cell:nth-child(3) {
  right: 0;
  bottom: 0;
  z-index: 3;
}

/* line 15083, app/assets/stylesheets/application.scss */
.perk-group-avatar-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e5ea;
  color: #8e8e93;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  aspect-ratio: 1;
}

/* line 15099, app/assets/stylesheets/application.scss */
.perk-group-avatar-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* line 15107, app/assets/stylesheets/application.scss */
.perk-group-avatar-cell.is-count {
  background: #ececef;
  color: #6e6e73;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 15115, app/assets/stylesheets/application.scss */
.perk-group-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* line 15123, 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: 0;
  bottom: 0;
  z-index: 2;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #30bd68;
  display: block;
  font-size: 0;
  box-sizing: border-box;
  pointer-events: none;
}

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

/* line 15147, app/assets/stylesheets/application.scss */
.perk-chat-copy-top,
.perk-chat-copy-bottom {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

/* line 15155, app/assets/stylesheets/application.scss */
.perk-chat-copy-bottom {
  align-items: center;
}

/* line 15159, app/assets/stylesheets/application.scss */
.perk-chat-copy-bottom[hidden] {
  display: none !important;
}

/* line 15163, app/assets/stylesheets/application.scss */
.perk-chat-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  color: #17191d;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* line 15177, app/assets/stylesheets/application.scss */
.perk-chat-time {
  flex: 0 0 auto;
  color: #8e8e93;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

/* line 15185, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-time {
  color: #17191d;
}

/* line 15189, app/assets/stylesheets/application.scss */
.perk-chat-preview {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

/* line 15202, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-preview {
  color: #17191d;
  font-weight: 700;
}

/* line 15207, app/assets/stylesheets/application.scss */
.perk-chat-preview[hidden] {
  display: none !important;
}

/* line 15211, app/assets/stylesheets/application.scss */
.perk-chat-unread-pip {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17191d;
}

/* line 15219, app/assets/stylesheets/application.scss */
.perk-chat-unread-pip[hidden] {
  display: none !important;
}

/* line 15223, 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 15233, 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 15240, 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 15254, app/assets/stylesheets/application.scss */
.perk-chat-signin-button:hover {
  color: #fff;
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 15260, app/assets/stylesheets/application.scss */
.floating-ai-panel-head {
  cursor: grab;
  user-select: none;
}

/* line 15265, app/assets/stylesheets/application.scss */
.floating-ai-panel-head:active,
.floating-ai.is-dragging .floating-ai-panel-head {
  cursor: grabbing;
}

/* line 15270, app/assets/stylesheets/application.scss */
.floating-ai-panel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 15276, 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 15286, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker.hidden {
  display: none !important;
}

/* line 15290, 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 15300, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  color: #111;
}

/* line 15307, 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 15318, app/assets/stylesheets/application.scss */
.floating-ai-theme-text-btn.is-strong {
  color: #111;
  font-weight: 650;
  text-align: right;
}

/* line 15324, 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 15334, app/assets/stylesheets/application.scss */
.floating-ai-theme-pane.hidden {
  display: none !important;
}

/* line 15338, app/assets/stylesheets/application.scss */
.floating-ai-theme-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 15344, 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 15363, app/assets/stylesheets/application.scss */
.floating-ai-theme-action i {
  font-size: 20px;
}

/* line 15367, app/assets/stylesheets/application.scss */
.floating-ai-theme-action:hover {
  background: #e8eaed;
}

/* line 15371, app/assets/stylesheets/application.scss */
.floating-ai-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
}

/* line 15377, 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 15390, 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 15401, 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 15405, 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 15415, 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 15424, app/assets/stylesheets/application.scss */
.floating-ai-theme-hint {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* line 15432, app/assets/stylesheets/application.scss */
.floating-ai-theme-moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 15438, 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 15451, 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 15459, 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 15463, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood-label {
  font-size: 13px;
  font-weight: 650;
}

/* line 15468, 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 15482, app/assets/stylesheets/application.scss */
.floating-ai-theme-apply:hover {
  background: #000;
}

/* line 15486, app/assets/stylesheets/application.scss */
.floating-ai-msg-user {
  background: var(--chat-outgoing, #17191d);
  color: #fff;
  border-radius: var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-tail, 5px) var(--chat-bubble-r, 18px);
}

/* line 15492, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot {
  border-radius: var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-r, 18px) var(--chat-bubble-tail, 5px);
}

/* Bare greeting bubble (no row wrapper) still aligns left. */
/* line 15497, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-bot {
  align-self: flex-start;
}

/* line 15501, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-user {
  align-self: flex-end;
}

@media (max-width: 1180px) {
  /* line 15506, app/assets/stylesheets/application.scss */
  body.perk-home {
    --perk-chat-col-min: 240px;
    --perk-chat-col-max: 300px;
  }
  /* line 15511, app/assets/stylesheets/application.scss */
  .perk-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }
  /* line 15515, app/assets/stylesheets/application.scss */
  .hub-home #main-header nav {
    display: none;
  }
}

@media (max-width: 1020px) {
  /* line 15521, app/assets/stylesheets/application.scss */
  body.perk-home {
    --perk-chat-col-min: 240px;
    --perk-chat-col-max: 300px;
  }
  /* line 15526, app/assets/stylesheets/application.scss */
  .perk-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }
}

@media (max-width: 900px) {
  /* line 15532, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed-list {
    max-width: var(--feed-content-width);
  }
  /* line 15536, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  /* line 15542, app/assets/stylesheets/application.scss */
  .perk-workspace {
    display: block;
    overflow: auto;
  }
  /* line 15547, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed {
    display: block;
  }
  /* line 15551, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-feed {
    display: none;
  }
  /* line 15555, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-feed:has(.perk-user-detail-overlay:not(.hidden)),
.perk-workspace.is-feed-closed .perk-feed:has(.perk-feed-comments-overlay:not(.hidden)) {
    display: flex;
  }
  /* line 15560, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-workspace-center {
    display: none;
  }
  /* line 15564, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center {
    display: block;
    min-height: calc(100vh - var(--perk-bar-h));
  }
  /* line 15569, 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 > .calendar-hub,
.perk-workspace-center > .map-hub,
.perk-workspace-center > .credit-hub,
.perk-workspace-center > .focus-hub,
.perk-workspace-center > .sticky-hub,
.perk-workspace-center > .market-hub,
.perk-workspace-center > .quiz-hub,
.perk-workspace-center > .nutrition-hub,
.perk-workspace-center > .occasion-hub,
.perk-workspace-center > .pin-hub,
.perk-workspace-center > .companion-hub,
.perk-workspace-center > .create-ppt,
.perk-workspace-center > .create-doc,
.perk-workspace-center > .pdf-tools {
    min-height: 0;
  }
  /* line 15592, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .hub-styles-grid {
    column-count: 2;
  }
  /* line 15596, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
    max-width: 630px;
  }
  /* line 15600, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center .ai-characters-panel,
.perk-workspace.is-feed-closed .perk-workspace-center .browser-hub-inner.ai-characters-panel {
    max-width: none;
  }
}

/* ===== Management bar and authentication ===== */
/* line 15607, app/assets/stylesheets/application.scss */
.perk-site-footer {
  background: var(--perk-surface);
  color: var(--perk-muted);
  font-size: 13px;
}

/* line 15613, 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 15620, app/assets/stylesheets/application.scss */
.perk-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 18px 0;
}

/* line 15628, app/assets/stylesheets/application.scss */
.perk-site-footer a {
  color: var(--perk-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

/* line 15634, app/assets/stylesheets/application.scss */
.perk-site-footer a:hover {
  color: var(--perk-ink);
}

/* line 15638, app/assets/stylesheets/application.scss */
.perk-page-content {
  min-height: 100vh;
  padding-top: var(--perk-bar-h);
  background: var(--perk-canvas-wash);
}

/* line 15644, app/assets/stylesheets/application.scss */
.perk-page-content > .hub-home {
  margin-top: calc(var(--perk-bar-h) * -1);
}

/* line 15648, 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 15660, 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 15669, app/assets/stylesheets/application.scss */
.perk-management-left,
.perk-management-right {
  display: flex;
  align-items: center;
  gap: var(--perk-space-4);
}

/* line 15676, 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 15689, 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 15700, 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 15723, app/assets/stylesheets/application.scss */
.perk-ios-count-badge[hidden],
.perk-ios-count-badge.is-empty {
  display: none !important;
}

/* line 15728, 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 15738, app/assets/stylesheets/application.scss */
.perk-activity-host {
  display: inline-flex;
  align-items: center;
}

/* line 15743, 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 15756, app/assets/stylesheets/application.scss */
button.perk-management-brand-mark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* line 15763, app/assets/stylesheets/application.scss */
button.perk-management-brand-name {
  display: inline-flex;
  align-items: center;
  height: 30px;
}

/* line 15769, app/assets/stylesheets/application.scss */
.perk-activity-overlay {
  position: fixed;
  top: var(--perk-bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1300;
  display: none;
  align-items: stretch;
  justify-content: flex-start;
  padding: 12px;
  box-sizing: border-box;
  background: transparent;
}

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

/* line 15788, app/assets/stylesheets/application.scss */
.perk-activity-overlay:not(.hidden) {
  display: flex;
}

/* line 15792, app/assets/stylesheets/application.scss */
.perk-activity-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 18, 22, 0.18);
  overflow: hidden;
}

/* line 15804, 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 15815, 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 15824, app/assets/stylesheets/application.scss */
.perk-activity-back,
.perk-activity-head-spacer {
  width: 44px;
  height: 44px;
}

/* line 15830, 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 15842, app/assets/stylesheets/application.scss */
.perk-activity-back:hover {
  background: #f3f3f5;
}

/* line 15846, 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 15860, app/assets/stylesheets/application.scss */
.perk-activity-loading[hidden],
.perk-activity-empty[hidden],
.perk-activity-scroll[hidden] {
  display: none !important;
}

/* line 15866, app/assets/stylesheets/application.scss */
.perk-activity-loading i,
.perk-activity-empty i {
  font-size: 34px;
  color: #b0b0b8;
}

/* line 15872, app/assets/stylesheets/application.scss */
.perk-activity-empty strong {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 15878, app/assets/stylesheets/application.scss */
.perk-activity-empty p {
  margin: 0;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.4;
  color: #6b6b73;
}

/* line 15886, 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 15894, 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 15906, app/assets/stylesheets/application.scss */
.perk-activity-row.is-unviewed {
  background: #f5f7fb;
}

/* line 15910, app/assets/stylesheets/application.scss */
.perk-activity-row:hover {
  background: #f3f3f5;
}

/* line 15914, 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 15924, 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 15940, 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 15956, app/assets/stylesheets/application.scss */
.perk-activity-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

/* line 15964, app/assets/stylesheets/application.scss */
.perk-activity-text {
  font-size: 15px;
  line-height: 1.35;
  color: #111;
}

/* line 15970, app/assets/stylesheets/application.scss */
.perk-activity-text strong {
  font-weight: 700;
}

/* line 15974, app/assets/stylesheets/application.scss */
.perk-activity-time {
  font-size: 13px;
  color: #8e8e93;
}

@media (max-width: 720px) {
  /* line 15980, app/assets/stylesheets/application.scss */
  .perk-activity-sheet {
    max-width: none;
  }
}

/* line 15985, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

/* line 15992, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title h2 {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* line 15998, 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 16015, app/assets/stylesheets/application.scss */
.perk-feed-title-menu:hover,
.perk-feed-title-menu:focus {
  background: transparent;
  border: 0;
  color: #111;
  outline: none;
}

/* line 16023, app/assets/stylesheets/application.scss */
.perk-management-brand strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* line 16030, app/assets/stylesheets/application.scss */
.perk-management-brand:hover {
  color: var(--perk-ink);
}

/* line 16034, 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 16045, 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 16062, 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 16074, app/assets/stylesheets/application.scss */
.perk-ai-hub-button .perk-ai-hub-icon svg {
  display: block;
}

/* line 16078, app/assets/stylesheets/application.scss */
.perk-ai-hub-button:hover {
  background: #f4f5f7;
  border-color: #111;
  color: #111;
  transform: translateY(-1px);
}

/* line 16085, 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 16101, 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 16114, app/assets/stylesheets/application.scss */
.perk-safety-button:hover {
  background: #f4f5f7;
  border-color: #111;
  color: #111;
  transform: translateY(-1px);
}

/* AI Characters Hub — mirrors iOS AIView / AICharacterLobbyView */
/* ===== AI Characters tab — iOS lobby layout for web ===== */
/* line 16125, app/assets/stylesheets/application.scss */
.browser-hub.is-characters {
  padding-top: 0;
  background: #f5f6f8;
}

/* line 16130, app/assets/stylesheets/application.scss */
.ai-characters-root {
  display: contents;
}

/* line 16134, app/assets/stylesheets/application.scss */
.browser-hub > .ai-characters-root > .ai-characters-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0;
  background: #f5f6f8;
  color: #17191d;
}

/* line 16145, app/assets/stylesheets/application.scss */
.browser-hub > .ai-characters-root > .ai-characters-panel.hidden,
.browser-hub > .ai-characters-root > .ai-characters-panel[hidden] {
  display: none !important;
}

/* line 16150, app/assets/stylesheets/application.scss */
.ai-characters-panel .ai-characters-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  color: #17191d;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  box-shadow: none;
}

/* line 16166, app/assets/stylesheets/application.scss */
.ai-characters-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(245, 246, 248, 0.82);
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

/* line 16181, app/assets/stylesheets/application.scss */
.ai-characters-loading.hidden {
  display: none;
}

/* line 16186, app/assets/stylesheets/application.scss */
.ai-hub-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: transparent;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 16px;
}

/* line 16199, app/assets/stylesheets/application.scss */
.ai-hub-hero {
  padding: 0;
}

/* line 16203, app/assets/stylesheets/application.scss */
.ai-hub-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 16px clamp(16px, 3vw, 36px) 0;
  padding: 40px 36px;
  border: 1px dashed #d5dbe3;
  border-radius: 24px;
  background: #fff;
  color: #6b7280;
}

/* line 16216, app/assets/stylesheets/application.scss */
.ai-hub-empty.hidden {
  display: none;
}

/* line 16220, app/assets/stylesheets/application.scss */
.ai-hub-empty i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f6;
  color: #111827;
  font-size: 18px;
}

/* line 16232, app/assets/stylesheets/application.scss */
.ai-hub-empty strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #17191d;
}

/* line 16239, app/assets/stylesheets/application.scss */
.ai-hub-empty p {
  margin: 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.55;
}

/* line 16246, app/assets/stylesheets/application.scss */
.ai-hub-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #17191d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* line 16261, app/assets/stylesheets/application.scss */
.ai-hub-primary-btn:hover {
  background: #30343a;
}

/* line 16265, app/assets/stylesheets/application.scss */
.ai-hub-stage.hidden {
  display: none;
}

/* line 16269, app/assets/stylesheets/application.scss */
.ai-hub-billboard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(420px, 52vh, 560px);
  overflow: hidden;
  background: #dfe7ef;
  border-radius: 0 0 28px 28px;
}

/* line 16280, app/assets/stylesheets/application.scss */
.ai-hub-scene {
  position: absolute;
  inset: 0;
  background-color: #d7e0ea;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  pointer-events: none;
  transition: background-image 0.45s ease;
}

/* line 16292, app/assets/stylesheets/application.scss */
.ai-hub-billboard-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 36%, rgba(12, 16, 22, 0.08) 58%, rgba(245, 247, 250, 0.94) 100%);
}

/* line 16300, app/assets/stylesheets/application.scss */
.ai-hub-billboard-chrome {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(14px, 2.4vw, 28px);
  margin-bottom: -66px;
  pointer-events: none;
}

/* line 16315, app/assets/stylesheets/application.scss */
.ai-hub-billboard-chrome > * {
  pointer-events: auto;
}

/* line 16319, app/assets/stylesheets/application.scss */
.ai-hub-chrome-btn,
.ai-hub-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2937;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  cursor: pointer;
}

/* line 16335, app/assets/stylesheets/application.scss */
.ai-hub-chrome-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #17191d;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

/* line 16351, app/assets/stylesheets/application.scss */
.ai-hub-chrome-badge.hidden {
  display: none;
}

/* line 16355, app/assets/stylesheets/application.scss */
.ai-hub-chrome-btn:hover,
.ai-hub-icon-btn:hover {
  background: #fff;
}

/* line 16360, app/assets/stylesheets/application.scss */
.ai-hub-icon-btn.hidden {
  display: none;
}

/* line 16364, app/assets/stylesheets/application.scss */
.ai-hub-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

/* line 16377, app/assets/stylesheets/application.scss */
.ai-hub-dots.hidden {
  display: none;
}

/* line 16381, app/assets/stylesheets/application.scss */
.ai-hub-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 25, 29, 0.22);
  cursor: pointer;
}

/* line 16391, app/assets/stylesheets/application.scss */
.ai-hub-dot.is-active {
  width: 8px;
  height: 8px;
  background: #17191d;
}

/* line 16397, app/assets/stylesheets/application.scss */
.ai-hub-nav-btn {
  position: absolute;
  top: 46%;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  cursor: pointer;
}

/* line 16414, app/assets/stylesheets/application.scss */
.ai-hub-stage.is-paged .ai-hub-nav-btn {
  display: inline-flex;
}

/* line 16418, app/assets/stylesheets/application.scss */
.ai-hub-nav-prev {
  left: 16px;
}

/* line 16419, app/assets/stylesheets/application.scss */
.ai-hub-nav-next {
  right: 16px;
}

/* line 16421, app/assets/stylesheets/application.scss */
.ai-hub-billboard-portrait {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  min-height: 280px;
  padding: 72px 24px 12px;
}

/* line 16432, app/assets/stylesheets/application.scss */
.ai-hub-avatar-wrap {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* line 16440, app/assets/stylesheets/application.scss */
.ai-hub-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(90, 130, 170, 0.22);
  animation: ai-hub-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

/* line 16449, app/assets/stylesheets/application.scss */
.ai-hub-ring:nth-child(2) {
  inset: -32px;
  animation-delay: 0.35s;
  opacity: 0.7;
}

/* line 16455, app/assets/stylesheets/application.scss */
.ai-hub-ring:nth-child(3) {
  inset: -46px;
  animation-delay: 0.7s;
  opacity: 0.45;
}

@keyframes ai-hub-pulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.12;
  }
}

/* line 16466, app/assets/stylesheets/application.scss */
.ai-hub-avatar {
  position: relative;
  z-index: 1;
  width: clamp(168px, 22vw, 248px);
  height: clamp(168px, 22vw, 248px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.22);
  background: #fff;
}

/* line 16478, app/assets/stylesheets/application.scss */
.ai-hub-billboard-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(560px, calc(100% - 32px));
  margin: 0 auto 22px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

/* line 16493, app/assets/stylesheets/application.scss */
.ai-hub-identity-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  gap: 6px;
}

/* line 16501, app/assets/stylesheets/application.scss */
.ai-hub-identity-tools .ai-hub-icon-btn {
  width: 34px;
  height: 34px;
  box-shadow: none;
}

/* line 16507, app/assets/stylesheets/application.scss */
.ai-hub-relationship {
  margin: 0 40px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

/* line 16516, app/assets/stylesheets/application.scss */
.ai-hub-billboard-copy h1 {
  margin: 0 48px 0 0;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #17191d;
}

/* line 16525, app/assets/stylesheets/application.scss */
.ai-hub-username {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

/* line 16531, app/assets/stylesheets/application.scss */
.ai-hub-greeting {
  margin: 2px 0 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.45;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* line 16545, app/assets/stylesheets/application.scss */
.ai-hub-greeting.is-visible {
  opacity: 1;
}

/* line 16549, app/assets/stylesheets/application.scss */
.ai-hub-greeting[hidden],
.ai-hub-username[hidden] {
  display: none !important;
}

/* line 16554, app/assets/stylesheets/application.scss */
.ai-hub-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* line 16562, app/assets/stylesheets/application.scss */
.ai-hub-play,
.ai-hub-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #17191d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
}

/* line 16581, app/assets/stylesheets/application.scss */
.ai-hub-play:hover,
.ai-hub-primary:hover {
  background: #30343a;
}

/* line 16586, app/assets/stylesheets/application.scss */
.ai-hub-primary-ghost {
  background: #eef2f6;
  color: #17191d;
}

/* line 16591, app/assets/stylesheets/application.scss */
.ai-hub-primary-ghost:hover {
  background: #e5eaf0;
}

/* line 16595, app/assets/stylesheets/application.scss */
.ai-hub-profile-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #eef2f6;
  color: #1f2937;
  cursor: pointer;
}

/* line 16606, app/assets/stylesheets/application.scss */
.ai-hub-profile-btn:hover {
  background: #e5eaf0;
}

/* line 16610, app/assets/stylesheets/application.scss */
.ai-hub-catalog {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px clamp(16px, 3vw, 36px) 8px;
}

/* line 16617, app/assets/stylesheets/application.scss */
.ai-hub-row-head,
.ai-hub-catalog-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

/* line 16625, app/assets/stylesheets/application.scss */
.ai-hub-row-head h2,
.ai-hub-row-head h3,
.ai-hub-catalog-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #17191d;
}

/* line 16635, app/assets/stylesheets/application.scss */
.ai-hub-row-head h3 {
  font-size: 20px;
}

/* line 16639, app/assets/stylesheets/application.scss */
.ai-hub-row-head p,
.ai-hub-catalog-head p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* line 16646, app/assets/stylesheets/application.scss */
.ai-hub-catalog [data-ai-characters-target="sections"],
.ai-hub-catalog > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* line 16653, app/assets/stylesheets/application.scss */
.ai-hub-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 16659, app/assets/stylesheets/application.scss */
.ai-hub-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(196px, 230px);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

/* line 16670, app/assets/stylesheets/application.scss */
.ai-hub-rail::-webkit-scrollbar {
  height: 6px;
}

/* line 16674, app/assets/stylesheets/application.scss */
.ai-hub-card {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaee;
  box-shadow: 0 10px 24px rgba(23, 25, 29, 0.05);
  min-height: 318px;
}

/* line 16687, app/assets/stylesheets/application.scss */
.ai-hub-card.is-selected {
  border-color: #17191d;
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.1);
}

/* line 16692, app/assets/stylesheets/application.scss */
.ai-hub-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef0f3;
}

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

/* line 16705, app/assets/stylesheets/application.scss */
.ai-hub-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 25, 29, 0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* line 16718, app/assets/stylesheets/application.scss */
.ai-hub-card-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #17191d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

/* line 16734, app/assets/stylesheets/application.scss */
.ai-hub-card-toggle.is-selected {
  background: #17191d;
  color: #fff;
}

/* line 16739, app/assets/stylesheets/application.scss */
.ai-hub-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  flex: 1;
}

/* line 16747, app/assets/stylesheets/application.scss */
.ai-hub-card-body strong {
  font-size: 15px;
  font-weight: 800;
  color: #17191d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16756, app/assets/stylesheets/application.scss */
.ai-hub-card-role {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 16762, app/assets/stylesheets/application.scss */
.ai-hub-card-copy {
  margin: 0;
  min-height: 36px;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 16774, app/assets/stylesheets/application.scss */
.ai-hub-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
}

/* line 16782, app/assets/stylesheets/application.scss */
.ai-hub-card-chat,
.ai-hub-card-talk {
  height: 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* line 16795, app/assets/stylesheets/application.scss */
.ai-hub-card-chat {
  border: 0;
  background: #17191d;
  color: #fff;
}

/* line 16801, app/assets/stylesheets/application.scss */
.ai-hub-card-talk {
  border: 0;
  background: #eef2f6;
  color: #17191d;
}

/* line 16807, app/assets/stylesheets/application.scss */
.ai-hub-create,
.ai-hub-profile,
.ai-hub-notifications {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* line 16819, app/assets/stylesheets/application.scss */
.ai-hub-create.hidden,
.ai-hub-profile.hidden,
.ai-hub-notifications.hidden {
  display: none !important;
}

/* line 16825, app/assets/stylesheets/application.scss */
.ai-hub-sheet-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 18, 22, 0.42);
  cursor: pointer;
}

/* line 16833, app/assets/stylesheets/application.scss */
.ai-hub-create-card,
.ai-hub-profile-card,
.ai-hub-notifications-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 25, 29, 0.18);
}

/* line 16845, app/assets/stylesheets/application.scss */
.ai-hub-notifications-card {
  width: min(480px, 100%);
  max-height: min(72vh, 640px);
  overflow: auto;
}

/* line 16851, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 4px 8px;
  color: #6b7280;
}

/* line 16860, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty.hidden {
  display: none;
}

/* line 16864, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty i {
  font-size: 22px;
  color: #111827;
}

/* line 16869, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty strong {
  font-size: 17px;
  font-weight: 800;
  color: #17191d;
}

/* line 16875, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* line 16881, app/assets/stylesheets/application.scss */
.ai-hub-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 16887, app/assets/stylesheets/application.scss */
.ai-hub-notification-card {
  padding: 14px;
  border-radius: 16px;
  background: #f8f9fb;
  border: 1px solid #eceff3;
}

/* line 16894, app/assets/stylesheets/application.scss */
.ai-hub-notification-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 16902, app/assets/stylesheets/application.scss */
.ai-hub-notification-head strong {
  font-size: 15px;
  color: #17191d;
}

/* line 16907, app/assets/stylesheets/application.scss */
.ai-hub-notification-head span {
  font-size: 12px;
  color: #6b7280;
}

/* line 16912, app/assets/stylesheets/application.scss */
.ai-hub-notification-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
}

/* line 16919, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions {
  display: flex;
  gap: 8px;
}

/* line 16924, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions button {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #eef2f6;
  color: #17191d;
  font-weight: 700;
  cursor: pointer;
}

/* line 16935, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions button.is-primary {
  background: #17191d;
  color: #fff;
}

/* line 16940, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

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

/* line 16953, app/assets/stylesheets/application.scss */
.ai-hub-create-head strong {
  font-size: 17px;
  font-weight: 800;
  color: #17191d;
}

/* line 16959, app/assets/stylesheets/application.scss */
.ai-hub-create-head button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* line 16971, app/assets/stylesheets/application.scss */
.ai-hub-create-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

/* line 16978, app/assets/stylesheets/application.scss */
.ai-hub-create-card label span {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 16984, app/assets/stylesheets/application.scss */
.ai-hub-create-card input {
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  color: #17191d;
  background: #fff;
}

/* line 16994, app/assets/stylesheets/application.scss */
.ai-hub-create-error {
  margin: 0 0 10px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
}

/* line 17001, app/assets/stylesheets/application.scss */
.ai-hub-create-error.hidden {
  display: none;
}

/* line 17005, app/assets/stylesheets/application.scss */
.ai-hub-create-submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #17191d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* line 17016, app/assets/stylesheets/application.scss */
.ai-hub-profile-role {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 17023, app/assets/stylesheets/application.scss */
.ai-hub-profile-body {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

/* line 17030, app/assets/stylesheets/application.scss */
.ai-hub-profile-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* line 17036, app/assets/stylesheets/application.scss */
.ai-hub-delete {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  font-weight: 700;
  cursor: pointer;
}

/* line 17047, app/assets/stylesheets/application.scss */
.ai-hub-delete.hidden {
  display: none;
}

@media (max-width: 820px) {
  /* line 17052, app/assets/stylesheets/application.scss */
  .ai-hub-billboard {
    min-height: 480px;
  }
  /* line 17056, app/assets/stylesheets/application.scss */
  .ai-hub-billboard-portrait {
    min-height: 240px;
    padding-top: 64px;
  }
  /* line 17061, app/assets/stylesheets/application.scss */
  .ai-hub-avatar {
    width: 168px;
    height: 168px;
  }
  /* line 17066, app/assets/stylesheets/application.scss */
  .ai-hub-billboard-copy {
    width: calc(100% - 24px);
    margin: 0 12px 16px;
    padding: 16px;
  }
  /* line 17072, app/assets/stylesheets/application.scss */
  .ai-hub-nav-btn {
    display: none !important;
  }
  /* line 17076, app/assets/stylesheets/application.scss */
  .ai-hub-actions {
    flex-wrap: wrap;
  }
  /* line 17080, app/assets/stylesheets/application.scss */
  .ai-hub-play {
    flex: 1 1 calc(50% - 28px);
  }
  /* line 17084, app/assets/stylesheets/application.scss */
  .ai-hub-catalog-head h2 {
    font-size: 22px;
  }
  /* line 17088, app/assets/stylesheets/application.scss */
  .ai-hub-rail {
    grid-auto-columns: minmax(168px, 78vw);
  }
}

@media (min-width: 1100px) {
  /* line 17094, app/assets/stylesheets/application.scss */
  .ai-hub-rail {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-columns: unset;
    overflow: visible;
    scroll-snap-type: none;
  }
  /* line 17103, app/assets/stylesheets/application.scss */
  .ai-hub-card {
    min-height: 330px;
  }
}

@media (min-width: 900px) {
  /* line 17109, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-rail {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow: visible;
    scroll-snap-type: none;
  }
  /* line 17118, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-card {
    min-height: 348px;
  }
  /* line 17122, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-card-media {
    aspect-ratio: 4 / 3;
  }
  /* line 17126, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-avatar {
    width: clamp(184px, 24vw, 276px);
    height: clamp(184px, 24vw, 276px);
  }
}

/* line 17132, app/assets/stylesheets/application.scss */
.ai-voice-overlay {
  --ai-voice-level: 1;
  position: fixed;
  inset: 0;
  z-index: 12500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  overflow: hidden;
}

/* line 17146, app/assets/stylesheets/application.scss */
.ai-voice-overlay.hidden {
  display: none !important;
}

/* line 17150, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-opening,
.ai-voice-overlay.is-opening * {
  pointer-events: none;
}

/* line 17155, app/assets/stylesheets/application.scss */
.ai-voice-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(8, 10, 16, 0.46);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* line 17170, app/assets/stylesheets/application.scss */
.ai-voice-scrim:focus {
  outline: none;
}

/* line 17174, app/assets/stylesheets/application.scss */
.ai-voice-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(428px, calc(100vw - 32px));
  height: min(740px, calc(100dvh - 40px));
  max-height: calc(100dvh - 24px);
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  background: #0b1018;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* line 17192, app/assets/stylesheets/application.scss */
.ai-voice-banner,
.ai-voice-bg,
.ai-voice-banner-shade,
.ai-voice-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* line 17201, app/assets/stylesheets/application.scss */
.ai-voice-bg {
  background: radial-gradient(ellipse at 30% 18%, rgba(56, 189, 248, 0.34), transparent 46%), radial-gradient(ellipse at 78% 72%, rgba(99, 102, 241, 0.3), transparent 52%), linear-gradient(165deg, #08101f 0%, #120a1c 48%, #06141a 100%);
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  filter: saturate(1.08);
}

/* line 17212, app/assets/stylesheets/application.scss */
.ai-voice-bg.has-scene {
  background-color: #07090f;
}

/* line 17216, app/assets/stylesheets/application.scss */
.ai-voice-banner-shade {
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.42) 0%, rgba(8, 10, 16, 0.12) 22%, rgba(8, 10, 16, 0.28) 48%, rgba(8, 10, 16, 0.78) 74%, #0b1018 100%);
}

/* line 17221, app/assets/stylesheets/application.scss */
.ai-voice-glow {
  opacity: 0.55;
  mix-blend-mode: screen;
  transition: background 0.35s ease, opacity 0.35s ease;
  background: radial-gradient(ellipse at 50% 28%, rgba(125, 211, 252, 0.28), transparent 58%);
}

/* line 17228, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="listening"] .ai-voice-glow {
  opacity: 0.7;
  background: radial-gradient(ellipse at 50% 30%, rgba(34, 211, 238, 0.5), transparent 58%);
}

/* line 17233, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="speaking"] .ai-voice-glow {
  opacity: 0.72;
  background: radial-gradient(ellipse at 50% 30%, rgba(52, 211, 153, 0.48), transparent 58%);
}

/* line 17238, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="thinking"] .ai-voice-glow {
  opacity: 0.66;
  background: radial-gradient(ellipse at 50% 30%, rgba(167, 139, 250, 0.48), transparent 58%);
}

/* line 17243, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="error"] .ai-voice-glow {
  opacity: 0.62;
  background: radial-gradient(ellipse at 50% 30%, rgba(248, 113, 113, 0.42), transparent 58%);
}

/* line 17248, 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 17254, 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 17260, 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 17266, 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 17272, app/assets/stylesheets/application.scss */
.ai-voice-grabber {
  display: none;
  position: relative;
  z-index: 2;
  width: 36px;
  height: 5px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

/* line 17283, app/assets/stylesheets/application.scss */
.ai-voice-top,
.ai-voice-body,
.ai-voice-dock {
  position: relative;
  z-index: 2;
}

/* line 17290, app/assets/stylesheets/application.scss */
.ai-voice-top {
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 8px;
}

/* line 17298, app/assets/stylesheets/application.scss */
.ai-voice-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* line 17313, app/assets/stylesheets/application.scss */
.ai-voice-close svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* line 17319, app/assets/stylesheets/application.scss */
.ai-voice-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* line 17323, app/assets/stylesheets/application.scss */
.ai-voice-close:focus-visible,
.ai-voice-control:focus-visible .ai-voice-control-icon,
.ai-voice-hangup:focus-visible .ai-voice-control-icon,
.ai-voice-retry:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

/* line 17331, app/assets/stylesheets/application.scss */
.ai-voice-live-pill {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* line 17347, app/assets/stylesheets/application.scss */
.ai-voice-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: ai-voice-live-dot 1.6s ease-out infinite;
}

/* line 17356, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="error"] .ai-voice-live-dot,
.ai-voice-overlay[data-phase="idle"] .ai-voice-live-dot {
  background: rgba(255, 255, 255, 0.45);
  animation: none;
  box-shadow: none;
}

@keyframes ai-voice-live-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* line 17369, app/assets/stylesheets/application.scss */
.ai-voice-timer {
  justify-self: end;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

/* line 17381, app/assets/stylesheets/application.scss */
.ai-voice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 8px 24px 12px;
  text-align: center;
}

/* line 17392, app/assets/stylesheets/application.scss */
.ai-voice-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(188px, 46vw);
  height: min(188px, 46vw);
  margin: 4px auto 0;
}

/* line 17402, app/assets/stylesheets/application.scss */
.ai-voice-orbit {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  transform: scale(var(--ai-voice-level, 1));
  transform-origin: center;
  transition: transform 0.12s ease-out;
}

/* line 17411, app/assets/stylesheets/application.scss */
.ai-voice-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  transform: translate(-50%, -50%);
  animation: ai-characters-pulse 1.8s ease-in-out infinite;
}

/* line 17421, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(1) {
  width: calc(100% + 18px);
  height: calc(100% + 18px);
}

/* line 17426, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(2) {
  width: calc(100% + 42px);
  height: calc(100% + 42px);
  animation-delay: 0.35s;
}

/* line 17432, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(3) {
  width: calc(100% + 68px);
  height: calc(100% + 68px);
  animation-delay: 0.7s;
}

/* line 17438, app/assets/stylesheets/application.scss */
.ai-voice-avatar-wrap {
  position: relative;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  z-index: 1;
}

/* line 17446, app/assets/stylesheets/application.scss */
.ai-voice-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  display: block;
  background: #1a1d24;
}

/* line 17457, app/assets/stylesheets/application.scss */
.ai-voice-wave {
  position: absolute;
  left: 50%;
  bottom: -10px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 22px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* line 17475, app/assets/stylesheets/application.scss */
.ai-voice-wave i {
  display: block;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  transform-origin: center bottom;
}

/* line 17484, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="listening"] .ai-voice-wave i,
.ai-voice-overlay[data-phase="speaking"] .ai-voice-wave i {
  animation: ai-voice-wave 0.9s ease-in-out infinite;
}

/* line 17489, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

/* line 17490, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(2) {
  height: 12px;
  animation-delay: 0.08s;
}

/* line 17491, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(3) {
  height: 9px;
  animation-delay: 0.16s;
}

/* line 17492, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(4) {
  height: 16px;
  animation-delay: 0.04s;
}

/* line 17493, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(5) {
  height: 10px;
  animation-delay: 0.2s;
}

/* line 17494, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(6) {
  height: 13px;
  animation-delay: 0.12s;
}

/* line 17495, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(7) {
  height: 7px;
  animation-delay: 0.24s;
}

@keyframes ai-voice-wave {
  0%, 100% {
    transform: scaleY(0.55);
  }
  50% {
    transform: scaleY(calc(0.85 + (var(--ai-voice-level, 1) - 0.94) * 3.2));
  }
}

/* line 17502, app/assets/stylesheets/application.scss */
.ai-voice-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 320px;
  margin-top: 22px;
  min-width: 0;
}

/* line 17513, app/assets/stylesheets/application.scss */
.ai-voice-identity strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 17524, app/assets/stylesheets/application.scss */
.ai-voice-status {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

/* line 17531, app/assets/stylesheets/application.scss */
.ai-voice-tool {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
}

/* line 17538, app/assets/stylesheets/application.scss */
.ai-voice-caption {
  width: 100%;
  max-width: 340px;
  min-height: 64px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 17548, app/assets/stylesheets/application.scss */
.ai-voice-transcript {
  margin: 0;
  width: 100%;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 17566, app/assets/stylesheets/application.scss */
.ai-voice-transcript[hidden] {
  display: none !important;
}

/* line 17570, app/assets/stylesheets/application.scss */
.ai-voice-caption:has(.ai-voice-transcript[hidden]) {
  opacity: 0;
}

/* line 17574, app/assets/stylesheets/application.scss */
.ai-voice-retry {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* line 17586, app/assets/stylesheets/application.scss */
.ai-voice-retry:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* line 17590, app/assets/stylesheets/application.scss */
.ai-voice-remote-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* line 17598, app/assets/stylesheets/application.scss */
.ai-voice-dock {
  padding: 8px 20px calc(22px + env(safe-area-inset-bottom, 0px));
}

/* line 17602, app/assets/stylesheets/application.scss */
.ai-voice-controls {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* line 17609, app/assets/stylesheets/application.scss */
.ai-voice-control,
.ai-voice-hangup {
  flex: 1 1 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* line 17624, app/assets/stylesheets/application.scss */
.ai-voice-control-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: background 0.18s ease, transform 0.15s ease, color 0.18s ease;
}

/* line 17637, app/assets/stylesheets/application.scss */
.ai-voice-control:hover .ai-voice-control-icon,
.ai-voice-hangup:hover .ai-voice-control-icon {
  transform: scale(1.05);
}

/* line 17642, app/assets/stylesheets/application.scss */
.ai-voice-control:active .ai-voice-control-icon,
.ai-voice-hangup:active .ai-voice-control-icon {
  transform: scale(0.96);
}

/* line 17647, app/assets/stylesheets/application.scss */
.ai-voice-control-label {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.78);
}

/* line 17654, app/assets/stylesheets/application.scss */
.ai-voice-control.is-muted .ai-voice-control-icon {
  background: #fff;
  color: #111827;
}

/* line 17659, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="speaking"] [data-action="ai-voice#interruptAI"] .ai-voice-control-icon {
  background: rgba(52, 211, 153, 0.92);
  color: #052e22;
}

/* line 17664, app/assets/stylesheets/application.scss */
.ai-voice-hangup .ai-voice-control-icon {
  width: 68px;
  height: 68px;
  background: #ff3b30;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 28px rgba(255, 59, 48, 0.38);
}

/* line 17673, app/assets/stylesheets/application.scss */
.ai-voice-hangup .ai-voice-control-icon i {
  transform: rotate(135deg);
}

/* line 17677, app/assets/stylesheets/application.scss */
.ai-voice-privacy {
  margin: 14px 8px 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 640px) {
  /* line 17687, app/assets/stylesheets/application.scss */
  .ai-voice-overlay {
    align-items: flex-end;
    padding: 0;
  }
  /* line 17692, app/assets/stylesheets/application.scss */
  .ai-voice-sheet {
    width: 100%;
    height: min(92dvh, 820px);
    max-height: 100dvh;
    border-radius: 28px 28px 0 0;
  }
  /* line 17699, app/assets/stylesheets/application.scss */
  .ai-voice-grabber {
    display: block;
  }
  /* line 17703, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    width: min(176px, 48vw);
    height: min(176px, 48vw);
  }
  /* line 17708, app/assets/stylesheets/application.scss */
  .ai-voice-identity strong {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  /* line 17714, app/assets/stylesheets/application.scss */
  .ai-voice-top {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 17719, app/assets/stylesheets/application.scss */
  .ai-voice-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  /* line 17724, app/assets/stylesheets/application.scss */
  .ai-voice-control-icon {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }
  /* line 17730, app/assets/stylesheets/application.scss */
  .ai-voice-hangup .ai-voice-control-icon {
    width: 62px;
    height: 62px;
  }
}

@media (max-height: 720px) {
  /* line 17737, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    width: 150px;
    height: 150px;
  }
  /* line 17742, app/assets/stylesheets/application.scss */
  .ai-voice-identity {
    margin-top: 14px;
  }
  /* line 17746, app/assets/stylesheets/application.scss */
  .ai-voice-identity strong {
    font-size: 24px;
  }
  /* line 17750, app/assets/stylesheets/application.scss */
  .ai-voice-caption {
    min-height: 48px;
    margin-top: 10px;
  }
  /* line 17755, app/assets/stylesheets/application.scss */
  .ai-voice-privacy {
    display: none;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  /* line 17761, app/assets/stylesheets/application.scss */
  .ai-voice-overlay {
    padding: 12px;
    align-items: center;
  }
  /* line 17766, app/assets/stylesheets/application.scss */
  .ai-voice-sheet {
    width: min(860px, calc(100vw - 24px));
    height: calc(100dvh - 24px);
    border-radius: 28px;
  }
  /* line 17772, app/assets/stylesheets/application.scss */
  .ai-voice-grabber {
    display: none;
  }
  /* line 17776, app/assets/stylesheets/application.scss */
  .ai-voice-top {
    width: 100%;
    padding-bottom: 0;
  }
  /* line 17781, app/assets/stylesheets/application.scss */
  .ai-voice-body {
    display: grid;
    flex: 1;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "stage identity" "stage caption" "stage retry";
    align-items: center;
    column-gap: 28px;
    row-gap: 8px;
    padding: 4px 28px 8px;
    text-align: left;
  }
  /* line 17796, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    grid-area: stage;
    margin: 0;
  }
  /* line 17801, app/assets/stylesheets/application.scss */
  .ai-voice-identity {
    grid-area: identity;
    align-items: flex-start;
    margin-top: 0;
    text-align: left;
  }
  /* line 17808, app/assets/stylesheets/application.scss */
  .ai-voice-caption {
    grid-area: caption;
    margin-top: 0;
    justify-content: flex-start;
    min-height: 0;
  }
  /* line 17815, app/assets/stylesheets/application.scss */
  .ai-voice-retry {
    grid-area: retry;
    margin-top: 0;
    justify-self: start;
  }
  /* line 17821, app/assets/stylesheets/application.scss */
  .ai-voice-dock {
    width: 100%;
    padding-top: 0;
    padding-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 17829, app/assets/stylesheets/application.scss */
  .ai-voice-orbit span,
.ai-voice-live-dot,
.ai-voice-wave i {
    animation: none !important;
  }
}

/* line 17836, app/assets/stylesheets/application.scss */
.perk-language-menu,
.perk-account-menu {
  position: relative;
}

/* line 17841, app/assets/stylesheets/application.scss */
.perk-language-menu summary,
.perk-account-menu summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
}

/* line 17850, app/assets/stylesheets/application.scss */
.perk-language-menu summary::-webkit-details-marker,
.perk-account-menu summary::-webkit-details-marker {
  display: none;
}

/* line 17855, 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 17865, app/assets/stylesheets/application.scss */
.perk-language-menu summary i,
.perk-language-menu summary span {
  color: #111;
}

/* line 17870, app/assets/stylesheets/application.scss */
.perk-language-menu summary:hover {
  background: #f3f4f6;
  color: #111;
}

/* line 17875, app/assets/stylesheets/application.scss */
.perk-account-menu summary {
  gap: 10px;
  min-width: 190px;
  border-radius: 15px;
  padding: 6px 9px;
}

/* line 17882, app/assets/stylesheets/application.scss */
.perk-account-menu summary:hover {
  background: var(--perk-field);
}

/* line 17886, 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 17902, app/assets/stylesheets/application.scss */
.perk-management-avatar-sm {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 12px;
}

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

/* line 17915, app/assets/stylesheets/application.scss */
.perk-account-summary {
  min-width: 0;
}

/* line 17919, 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 17928, app/assets/stylesheets/application.scss */
.perk-account-summary strong {
  color: var(--perk-ink);
  font-size: 15px;
}

/* line 17933, app/assets/stylesheets/application.scss */
.perk-account-summary small {
  margin-top: 2px;
  color: var(--perk-muted-soft);
  font-size: 12px;
}

/* line 17939, 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 17952, 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 17969, 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 17975, app/assets/stylesheets/application.scss */
.perk-management-menu a.active {
  background: var(--perk-ink);
  color: #fff;
}

/* line 17980, app/assets/stylesheets/application.scss */
.perk-account-options {
  min-width: 245px;
}

/* line 17984, app/assets/stylesheets/application.scss */
.perk-account-card {
  min-width: 268px;
  width: min(280px, calc(100vw - 24px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--perk-surface);
  box-shadow: 0 18px 48px rgba(23, 25, 29, 0.18);
}

/* line 17995, app/assets/stylesheets/application.scss */
.perk-account-card-hero {
  position: relative;
  margin: 0 0 28px;
}

/* line 18000, app/assets/stylesheets/application.scss */
.perk-account-card-banner {
  position: relative;
  height: 92px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.28), transparent 58%), linear-gradient(135deg, #3b414c 0%, #6b7380 52%, #a0a7b2 100%);
}

/* line 18009, app/assets/stylesheets/application.scss */
.perk-account-card-banner.has-photo {
  background: #d7dbe2;
}

/* line 18013, app/assets/stylesheets/application.scss */
.perk-account-card-banner-img {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  object-fit: cover;
  filter: blur(6px) saturate(1.18) brightness(1.08);
  transform: scale(1.06);
}

/* line 18023, app/assets/stylesheets/application.scss */
.perk-account-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.28));
  pointer-events: none;
}

/* line 18031, app/assets/stylesheets/application.scss */
.perk-account-card-avatar {
  position: absolute;
  left: 16px;
  bottom: -22px;
  z-index: 1;
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(23, 25, 29, 0.18);
  font-size: 18px;
}

/* line 18044, app/assets/stylesheets/application.scss */
.perk-account-card-identity {
  padding: 0 16px 12px;
}

/* line 18048, app/assets/stylesheets/application.scss */
.perk-account-card-identity strong,
.perk-account-card-identity span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 18056, app/assets/stylesheets/application.scss */
.perk-account-card-identity strong {
  color: var(--perk-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 18064, app/assets/stylesheets/application.scss */
.perk-account-card-identity span {
  margin-top: 3px;
  color: var(--perk-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/* line 18072, app/assets/stylesheets/application.scss */
.perk-account-card-nav {
  display: flex;
  flex-direction: column;
  padding: 0 8px 8px;
}

/* line 18078, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-card-link,
.perk-account-card .button_to button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--perk-ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
}

/* line 18097, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-card-link:hover,
.perk-account-card .button_to button:hover {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 18103, app/assets/stylesheets/application.scss */
.perk-account-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--perk-field);
  color: var(--perk-ink-soft);
  font-size: 12px;
}

/* line 18115, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-language {
  margin: 4px 0;
  padding: 8px 6px 10px;
  border-top: 1px solid var(--perk-line-soft);
  border-bottom: 1px solid var(--perk-line-soft);
}

/* line 18122, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-language-label {
  display: block;
  padding: 0 6px 8px;
  color: var(--perk-muted-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 18132, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-language-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

/* line 18138, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 34px;
  padding: 0;
  border-radius: 10px;
  background: var(--perk-field);
  color: var(--perk-ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* line 18153, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-lang-pill:hover {
  background: #eceef1;
  color: var(--perk-ink);
}

/* line 18158, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-lang-pill.is-active {
  background: var(--perk-ink);
  color: #fff;
}

/* line 18163, app/assets/stylesheets/application.scss */
.perk-account-card .button_to {
  margin: 4px 0 0;
  border-top: 0;
  padding-top: 0;
}

/* line 18169, app/assets/stylesheets/application.scss */
.perk-account-card .perk-menu-logout {
  color: #d14343;
}

/* line 18173, app/assets/stylesheets/application.scss */
.perk-account-card .perk-menu-logout .perk-account-card-icon {
  background: #fdecec;
  color: #d14343;
}

/* line 18178, app/assets/stylesheets/application.scss */
.perk-account-language {
  margin: 4px 0;
  padding: 6px 4px 4px;
  border-top: 1px solid var(--perk-line);
  border-bottom: 1px solid var(--perk-line);
}

/* line 18185, app/assets/stylesheets/application.scss */
.perk-account-language-label {
  display: block;
  padding: 6px 11px 4px;
  color: var(--perk-muted-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* line 18194, app/assets/stylesheets/application.scss */
.perk-account-language-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 18200, 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 18209, app/assets/stylesheets/application.scss */
.perk-account-menu-head > div {
  min-width: 0;
}

/* line 18213, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong,
.perk-account-menu-head span {
  display: block;
}

/* line 18218, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong {
  font-size: 13px;
}

/* line 18222, app/assets/stylesheets/application.scss */
.perk-account-menu-head span {
  margin-top: 2px;
  color: #858c96;
  font-size: 10px;
}

/* line 18228, app/assets/stylesheets/application.scss */
.perk-account-options .button_to {
  margin: 0;
  border-top: 1px solid #eceef1;
  padding-top: 6px;
}

/* line 18234, app/assets/stylesheets/application.scss */
.perk-account-options .perk-menu-logout {
  color: #d14343;
}

/* line 18238, 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 18254, app/assets/stylesheets/application.scss */
.perk-login-link {
  color: var(--perk-ink-soft);
}

/* line 18258, app/assets/stylesheets/application.scss */
.perk-login-link:hover {
  color: var(--perk-ink);
  background: var(--perk-field);
}

/* line 18263, app/assets/stylesheets/application.scss */
.perk-cookie-consent {
  font-size: 12px;
  line-height: 1.45;
}

/* line 18268, app/assets/stylesheets/application.scss */
.perk-cookie-consent__title {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.35;
}

/* line 18274, app/assets/stylesheets/application.scss */
.perk-cookie-consent__body {
  font-size: 12px;
  line-height: 1.45;
}

/* line 18279, app/assets/stylesheets/application.scss */
.perk-signup-button,
.perk-login-button {
  border: 0;
  background: var(--perk-ink);
  color: #fff;
}

/* line 18286, 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 18293, 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 18302, app/assets/stylesheets/application.scss */
.perk-auth-page-content {
  min-height: 100vh;
}

/* line 18306, 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 18317, 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 18326, 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 18336, 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 18349, app/assets/stylesheets/application.scss */
.perk-auth-logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
}

/* line 18357, app/assets/stylesheets/application.scss */
.perk-auth-scene {
  position: relative;
  flex: 1;
  width: min(100%, 440px);
  margin: 20px auto;
  min-height: 360px;
}

/* line 18365, app/assets/stylesheets/application.scss */
.perk-auth-floating-app {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 28%;
  background: #fff;
  animation: perk-auth-icon-float 5.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 14px 16px rgba(23, 25, 29, 0.13));
  will-change: transform;
}

/* line 18379, app/assets/stylesheets/application.scss */
.perk-auth-floating-app img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* line 18386, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56%;
  height: 56%;
  transform: translate(-50%, -50%);
  border-radius: 18%;
  color: #fff;
  font-style: normal;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

/* line 18405, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph::before {
  display: block;
  width: auto;
  margin: 0;
  line-height: 1;
}

/* line 18412, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.fas {
  font-weight: 900;
}

/* line 18416, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.fas::before {
  position: relative;
  top: 5px;
}

/* line 18421, app/assets/stylesheets/application.scss */
.perk-auth-ios-drive {
  width: 56%;
  height: 56%;
}

/* line 18426, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-focus {
  background: #2673eb;
}

/* line 18427, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-job, .perk-auth-ios-glyph.is-social {
  background: #008a7a;
}

/* line 18428, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-mail {
  background: #296bdb;
}

/* line 18429, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-word {
  background: #2b579a;
  font-size: 22px;
}

/* line 18430, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-pdf {
  background: #e0292e;
  font-size: 10px;
}

/* line 18431, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-tutor, .perk-auth-ios-glyph.is-ai {
  background: #7a52d1;
}

/* line 18432, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-ppt {
  background: #d1451f;
  font-size: 22px;
}

/* line 18433, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-company {
  background: #705cd1;
}

/* line 18434, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-map {
  background: #2ea86b;
}

/* line 18435, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-food {
  background: #eb613d;
}

/* line 18436, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-calendar {
  background: #3b82f6;
}

/* line 18437, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-media {
  background: #4052b5;
}

/* line 18438, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-research {
  background: #d98c21;
}

/* line 18439, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-message {
  background: #30bd69;
}

/* line 18441, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-1 {
  top: 3%;
  left: 3%;
  width: 72px;
  height: 72px;
  --icon-rotation: -12deg;
  --icon-travel: -10px;
}

/* line 18442, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-2 {
  top: 0;
  left: 31%;
  width: 58px;
  height: 58px;
  --icon-rotation: 8deg;
  --icon-travel: -8px;
  animation-duration: 4.6s;
  animation-delay: -1.1s;
}

/* line 18443, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-3 {
  top: 2%;
  left: 55%;
  width: 64px;
  height: 64px;
  --icon-rotation: -6deg;
  --icon-travel: -9px;
  animation-duration: 5s;
  animation-delay: -2.4s;
}

/* line 18444, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-4 {
  top: 5%;
  right: 0;
  width: 68px;
  height: 68px;
  --icon-rotation: 14deg;
  --icon-travel: -8px;
  animation-duration: 4.8s;
  animation-delay: -0.7s;
}

/* line 18445, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-5 {
  top: 23%;
  left: 0;
  width: 56px;
  height: 56px;
  --icon-rotation: -10deg;
  --icon-travel: -7px;
  animation-duration: 4.4s;
  animation-delay: -1.8s;
}

/* line 18446, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-6 {
  top: 18%;
  left: 22%;
  width: 52px;
  height: 52px;
  --icon-rotation: 10deg;
  --icon-travel: -8px;
  animation-duration: 5.1s;
}

/* line 18447, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-7 {
  top: 16%;
  left: 44%;
  width: 60px;
  height: 60px;
  --icon-rotation: -8deg;
  --icon-travel: -9px;
  animation-delay: -3.2s;
}

/* line 18448, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-8 {
  top: 21%;
  right: 18%;
  width: 54px;
  height: 54px;
  --icon-rotation: 12deg;
  --icon-travel: -7px;
  animation-duration: 5.3s;
}

/* line 18449, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-9 {
  top: 23%;
  right: -2%;
  width: 50px;
  height: 50px;
  --icon-rotation: -14deg;
  --icon-travel: -6px;
  animation-duration: 4.5s;
}

/* line 18450, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-10 {
  top: 43%;
  left: 10%;
  width: 48px;
  height: 48px;
  --icon-rotation: 6deg;
  --icon-travel: -7px;
  animation-duration: 4.7s;
}

/* line 18451, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-11 {
  top: 36%;
  left: 35%;
  width: 46px;
  height: 46px;
  --icon-rotation: -16deg;
  --icon-travel: -6px;
  animation-duration: 5.4s;
}

/* line 18452, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-12 {
  top: 40%;
  left: 55%;
  width: 50px;
  height: 50px;
  --icon-rotation: 8deg;
  --icon-travel: -7px;
  animation-duration: 4.3s;
}

/* line 18453, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-13 {
  top: 43%;
  right: 8%;
  width: 48px;
  height: 48px;
  --icon-rotation: -10deg;
  --icon-travel: -8px;
  animation-duration: 5s;
}

/* line 18454, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-14 {
  bottom: 6%;
  left: 1%;
  width: 44px;
  height: 44px;
  --icon-rotation: 12deg;
  --icon-travel: -6px;
  animation-duration: 4.6s;
}

/* line 18455, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-15 {
  bottom: 8%;
  left: 26%;
  width: 46px;
  height: 46px;
  --icon-rotation: -8deg;
  --icon-travel: -7px;
  animation-duration: 5.2s;
}

/* line 18456, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-16 {
  right: 25%;
  bottom: 5%;
  width: 44px;
  height: 44px;
  --icon-rotation: 10deg;
  --icon-travel: -6px;
  animation-duration: 4.8s;
}

/* line 18457, app/assets/stylesheets/application.scss */
.perk-auth-floating-app-17 {
  right: 0;
  bottom: 8%;
  width: 46px;
  height: 46px;
  --icon-rotation: -6deg;
  --icon-travel: -7px;
  animation-duration: 5.1s;
}

/* line 18459, 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 18469, 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 18478, 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 18491, 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 18501, app/assets/stylesheets/application.scss */
.perk-auth-scene-ai {
  top: 6%;
  left: 0;
  width: 230px;
  padding: 14px;
  z-index: 4;
}

/* line 18509, 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 18517, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-user {
  margin-left: 18px;
  background: var(--perk-auth-field);
}

/* line 18522, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-ai {
  margin-right: 12px;
  background: #eef1f4;
}

/* line 18527, 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 18536, app/assets/stylesheets/application.scss */
.perk-auth-scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #17191d;
}

/* line 18543, app/assets/stylesheets/application.scss */
.perk-auth-scene-people {
  display: flex;
  margin: 2px 0 10px;
}

/* line 18548, 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 18557, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(2) {
  background: linear-gradient(145deg, #c7d2fe, #94a3b8);
}

/* line 18561, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(3) {
  background: linear-gradient(145deg, #cbd5e1, #64748b);
}

/* line 18565, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows {
  display: grid;
  gap: 8px;
}

/* line 18570, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div {
  height: 9px;
  border-radius: 999px;
  background: #e8eaee;
}

/* line 18576, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div.is-short {
  width: 62%;
}

/* line 18580, 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 18589, 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 18597, app/assets/stylesheets/application.scss */
.perk-auth-scene-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* line 18603, 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 18614, 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 18631, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge i {
  font-size: 11px;
}

/* line 18635, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-social {
  right: 8%;
  bottom: 28%;
}

/* line 18640, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-companion {
  left: 4%;
  bottom: 8%;
  animation-delay: -1.5s;
}

/* line 18646, app/assets/stylesheets/application.scss */
.perk-auth-slogan {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  margin: 0;
  max-width: none;
  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 18663, app/assets/stylesheets/application.scss */
.perk-auth-slogan span:not(.perk-auth-slogan-dot) {
  color: #30353c;
}

/* line 18667, app/assets/stylesheets/application.scss */
.perk-auth-slogan-dot {
  flex: none;
  width: 0.176em;
  height: 0.176em;
  margin-left: 0.059em;
  border-radius: 50%;
  background: #fff;
  border: 0.037em solid #000;
  box-sizing: border-box;
}

/* line 18678, app/assets/stylesheets/application.scss */
.perk-auth-form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 48px;
  position: relative;
}

/* line 18686, app/assets/stylesheets/application.scss */
.perk-auth-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 396px;
  min-height: 520px;
}

/* line 18695, app/assets/stylesheets/application.scss */
.perk-auth-alert,
.perk-auth-errors {
  display: none;
}

/* line 18700, 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 18715, app/assets/stylesheets/application.scss */
.perk-auth-status.is-error {
  background: transparent;
  color: var(--perk-auth-muted);
}

/* line 18720, app/assets/stylesheets/application.scss */
.perk-auth-methods {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

/* line 18729, app/assets/stylesheets/application.scss */
.perk-auth-methods-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  width: 100%;
}

/* line 18737, 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: center;
}

/* line 18747, app/assets/stylesheets/application.scss */
.perk-auth-login-gate {
  align-items: center;
  text-align: center;
}

/* line 18752, app/assets/stylesheets/application.scss */
.perk-auth-login-gate .perk-auth-panel-hero {
  align-items: center;
  width: 100%;
  margin: var(--perk-space-2) 0 var(--perk-space-6);
  gap: var(--perk-space-3);
  text-align: center;
}

/* line 18760, app/assets/stylesheets/application.scss */
.perk-auth-login-gate .perk-auth-panel-copy,
.perk-auth-login-gate .perk-auth-ios-parity {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* line 18767, 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 18774, 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 18784, 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 18789, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-login-gate {
  display: none !important;
}

/* Keep Apple / Google / email / phone available on narrow screens (iOS parity). */
@media (max-width: 640px) {
  /* line 18795, app/assets/stylesheets/application.scss */
  .perk-auth-methods-desktop .perk-auth-download-gate {
    display: none;
  }
  /* line 18799, app/assets/stylesheets/application.scss */
  .perk-auth-methods-desktop .perk-auth-login-gate {
    display: flex;
  }
}

/* line 18804, app/assets/stylesheets/application.scss */
.perk-auth-ios-parity {
  margin: 0 0 4px;
  color: var(--perk-auth-muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* line 18812, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 8px 4px;
  color: var(--perk-auth-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 18825, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link:hover {
  color: inherit;
}

/* line 18829, app/assets/stylesheets/application.scss */
.perk-auth-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

/* line 18837, 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 18855, app/assets/stylesheets/application.scss */
.perk-auth-social {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

/* line 18861, app/assets/stylesheets/application.scss */
.perk-auth-social-solid {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 18867, 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 18876, app/assets/stylesheets/application.scss */
.perk-auth-social-solid:hover {
  background: #30343a;
  border-color: #30343a;
  color: #fff;
}

/* line 18882, app/assets/stylesheets/application.scss */
.perk-auth-actions .perk-auth-social:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* line 18889, app/assets/stylesheets/application.scss */
.perk-auth-social svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* line 18895, app/assets/stylesheets/application.scss */
.perk-auth-social-apple svg {
  color: #111;
}

/* line 18899, 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 18909, app/assets/stylesheets/application.scss */
.perk-auth-divider::before,
.perk-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--perk-auth-line);
}

/* line 18917, app/assets/stylesheets/application.scss */
.perk-auth-secondary,
.perk-auth-switch-cta {
  border: 1px solid #dfe2e6;
  background: #fff;
  color: #30353c;
}

/* line 18924, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta {
  margin-top: 8px;
}

/* line 18928, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta:hover {
  background: #f4f5f7;
  color: #111;
}

/* line 18933, 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 18942, 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 18949, 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 18961, app/assets/stylesheets/application.scss */
.perk-auth-meta-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: transparent;
}

/* line 18968, 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 18977, 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 18986, 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 18995, 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 19003, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero {
  align-items: center;
  text-align: center;
  width: 100%;
}

/* line 19009, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero .perk-auth-panel-copy {
  max-width: 320px;
  text-align: center;
}

/* line 19014, app/assets/stylesheets/application.scss */
.perk-auth-otp-form {
  flex: 1;
}

/* line 19018, app/assets/stylesheets/application.scss */
.perk-auth-otp-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* line 19025, 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 19043, 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 19048, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer {
  margin: 12px 0 0;
  color: #8a8a8e;
  font-size: 13px;
  text-align: center;
}

/* line 19055, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer.is-expired {
  color: #dc2626;
}

/* line 19059, 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 19071, app/assets/stylesheets/application.scss */
.perk-auth-otp-resend.is-hidden {
  display: none !important;
}

/* line 19075, app/assets/stylesheets/application.scss */
.perk-auth-otp-form .perk-auth-submit:disabled {
  background: #9ca3af;
  cursor: default;
  opacity: 1;
}

/* line 19081, app/assets/stylesheets/application.scss */
.perk-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--perk-space-3);
  width: 100%;
}

/* line 19088, app/assets/stylesheets/application.scss */
.perk-auth-form .perk-auth-submit {
  margin-top: var(--perk-space-3);
}

/* line 19092, app/assets/stylesheets/application.scss */
.perk-auth-form-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--perk-space-3);
  width: 100%;
  margin-top: var(--perk-space-3);
}

/* line 19101, app/assets/stylesheets/application.scss */
.perk-auth-field {
  position: relative;
}

/* line 19105, 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 19123, 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 19128, 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 19145, app/assets/stylesheets/application.scss */
.perk-password-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* line 19149, 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 19162, app/assets/stylesheets/application.scss */
.perk-auth-submit:hover {
  background: #30343a;
}

/* line 19166, app/assets/stylesheets/application.scss */
.perk-auth-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* line 19171, 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 19186, app/assets/stylesheets/application.scss */
.perk-auth-switch-link,
.perk-auth-forgot {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--perk-auth-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

/* line 19201, app/assets/stylesheets/application.scss */
.perk-auth-forgot {
  text-decoration: none;
}

/* line 19205, app/assets/stylesheets/application.scss */
.perk-auth-forgot:hover,
.perk-auth-switch-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 19211, 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 19222, 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 19233, app/assets/stylesheets/application.scss */
.perk-auth-phone-field {
  margin: 0;
}

/* line 19237, 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 19244, 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 19256, app/assets/stylesheets/application.scss */
.perk-auth-stage.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

/* line 19261, app/assets/stylesheets/application.scss */
.perk-auth-stage .is-hidden {
  display: none !important;
}

/* line 19265, app/assets/stylesheets/application.scss */
#perk-firebase-recaptcha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* line 19274, app/assets/stylesheets/application.scss */
.perk-auth-footer {
  border-top: 1px solid var(--perk-auth-line);
  padding: 14px 24px 18px;
  background: #fff;
}

/* line 19280, 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 19290, app/assets/stylesheets/application.scss */
.perk-auth-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-start;
  margin: 0;
}

/* line 19298, app/assets/stylesheets/application.scss */
.perk-auth-langs a {
  color: var(--perk-auth-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

/* line 19305, 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 19312, 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 19325, app/assets/stylesheets/application.scss */
.perk-auth-legal-links a {
  color: var(--perk-auth-muted);
  text-decoration: none;
}

/* line 19330, 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-icon-float {
  from {
    transform: translateY(0) rotate(var(--icon-rotation, 0deg));
  }
  to {
    transform: translateY(var(--icon-travel, -8px)) rotate(var(--icon-rotation, 0deg));
  }
}

@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 19377, app/assets/stylesheets/application.scss */
  .perk-auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* line 19382, 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 19389, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 72px;
    height: 72px;
  }
  /* line 19395, app/assets/stylesheets/application.scss */
  .perk-auth-scene {
    min-height: 280px;
    margin: 12px auto 8px;
  }
  /* line 19400, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 200px;
  }
  /* line 19404, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 148px;
  }
  /* line 19408, app/assets/stylesheets/application.scss */
  .perk-auth-slogan {
    font-size: clamp(34px, 8vw, 48px);
  }
  /* line 19412, app/assets/stylesheets/application.scss */
  .perk-auth-form-pane {
    padding: 28px 20px 36px;
  }
}

@media (max-width: 640px) {
  /* line 19418, app/assets/stylesheets/application.scss */
  .perk-management-inner {
    padding: 0 16px;
  }
  /* line 19422, app/assets/stylesheets/application.scss */
  .perk-management-left,
.perk-management-right {
    gap: var(--perk-space-3);
  }
  /* line 19427, app/assets/stylesheets/application.scss */
  .perk-management-brand strong,
.perk-management-brand-name,
.perk-account-summary {
    display: none;
  }
  /* line 19433, app/assets/stylesheets/application.scss */
  .perk-language-menu summary span {
    display: none;
  }
  /* line 19437, app/assets/stylesheets/application.scss */
  .perk-account-menu summary {
    min-width: 0;
    padding: 4px;
  }
  /* line 19442, app/assets/stylesheets/application.scss */
  .perk-ai-hub-button {
    margin-left: -6px;
  }
  /* line 19446, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    margin-right: 0;
  }
  /* line 19450, app/assets/stylesheets/application.scss */
  .perk-safety-button {
    font-size: 0;
    padding: 0 8px 0 6px;
    gap: 0;
  }
  /* line 19456, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    font-size: 11px;
  }
  /* line 19460, app/assets/stylesheets/application.scss */
  .perk-auth-brand-pane {
    min-height: 0;
    padding: 16px 16px 6px;
  }
  /* line 19465, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 56px;
    height: 56px;
  }
  /* line 19471, app/assets/stylesheets/application.scss */
  .perk-auth-scene {
    width: min(100%, 300px);
    min-height: 200px;
    margin: 4px auto 0;
    transform: scale(0.76);
    transform-origin: center;
  }
  /* line 19479, 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 19485, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 148px;
    padding: 10px;
  }
  /* line 19490, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 112px;
    padding: 10px;
  }
  /* line 19495, app/assets/stylesheets/application.scss */
  .perk-auth-scene-apps {
    width: 120px;
    padding: 10px;
    bottom: 14%;
    left: 12%;
  }
  /* line 19502, app/assets/stylesheets/application.scss */
  .perk-auth-scene-head {
    gap: 6px;
    margin-bottom: 6px;
    font-size: 10px;
  }
  /* line 19508, app/assets/stylesheets/application.scss */
  .perk-auth-scene-avatar {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }
  /* line 19514, 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 19520, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 9px;
  }
  /* line 19527, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-user {
    margin-left: 10px;
  }
  /* line 19531, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-ai {
    margin-right: 6px;
  }
  /* line 19535, app/assets/stylesheets/application.scss */
  .perk-auth-scene-dot {
    width: 8px;
    height: 8px;
  }
  /* line 19540, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people {
    margin: 0 0 8px;
  }
  /* line 19544, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people span {
    width: 16px;
    height: 16px;
    margin-right: -5px;
  }
  /* line 19550, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows {
    gap: 6px;
  }
  /* line 19554, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows > div {
    height: 7px;
  }
  /* line 19558, 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 19564, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid {
    gap: 5px;
  }
  /* line 19568, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid span {
    border-radius: 8px;
    font-size: 10px;
  }
  /* line 19573, 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 19580, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge i {
    font-size: 9px;
  }
  /* line 19584, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-social {
    right: 4%;
    bottom: 26%;
  }
  /* line 19589, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-companion {
    left: 2%;
    bottom: 6%;
  }
  /* line 19594, 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 19610, app/assets/stylesheets/application.scss */
  .perk-auth-stage {
    min-height: 0;
  }
  /* line 19614, app/assets/stylesheets/application.scss */
  .perk-auth-heading,
.perk-auth-panel-view h2 {
    font-size: 24px;
  }
  /* line 19619, app/assets/stylesheets/application.scss */
  .perk-auth-footer {
    padding: 12px 18px 20px;
  }
  /* line 19623, app/assets/stylesheets/application.scss */
  .perk-auth-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  /* line 19628, app/assets/stylesheets/application.scss */
  .perk-auth-legal-links {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}

/* line 19635, app/assets/stylesheets/application.scss */
.perk-feed-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 19642, 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 19654, app/assets/stylesheets/application.scss */
.perk-inline-action:hover {
  color: #fff;
}

/* line 19658, 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 19669, 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 19681, 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 19693, app/assets/stylesheets/application.scss */
.perk-setup-back,
.perk-setup-back-form {
  align-self: flex-start;
}

/* line 19698, 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 19712, app/assets/stylesheets/application.scss */
.perk-setup-progress {
  display: flex;
  gap: 6px;
}

/* line 19717, app/assets/stylesheets/application.scss */
.perk-setup-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e7e8eb;
}

/* line 19724, app/assets/stylesheets/application.scss */
.perk-setup-progress span.is-active,
.perk-setup-progress span.is-done {
  background: #17191d;
}

/* line 19729, 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 19738, 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 19746, app/assets/stylesheets/application.scss */
.perk-setup-header-center {
  text-align: center;
}

/* line 19750, app/assets/stylesheets/application.scss */
.perk-setup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 19756, 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 19767, 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 19774, 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 19786, app/assets/stylesheets/application.scss */
.perk-setup-field small,
.perk-setup-form > small {
  color: #667085;
  font-size: 0.82rem;
}

/* line 19792, 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 19802, app/assets/stylesheets/application.scss */
.perk-setup-handle span {
  color: #667085;
  font-weight: 700;
}

/* line 19807, app/assets/stylesheets/application.scss */
.perk-setup-handle input {
  height: 100%;
  padding: 0;
  background: transparent;
}

/* line 19813, app/assets/stylesheets/application.scss */
.perk-setup-status {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.82rem;
}

/* line 19819, app/assets/stylesheets/application.scss */
.perk-setup-status.is-hidden {
  display: none;
}

/* line 19823, app/assets/stylesheets/application.scss */
.perk-setup-status.is-ok {
  color: #12b76a;
}

/* line 19827, app/assets/stylesheets/application.scss */
.perk-setup-status.is-error {
  color: #d92d20;
}

/* line 19831, app/assets/stylesheets/application.scss */
.perk-setup-status.is-checking {
  color: #667085;
}

/* line 19835, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 10px;
}

/* line 19841, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 19847, 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 19854, app/assets/stylesheets/application.scss */
.perk-setup-confirm strong {
  display: block;
  margin-bottom: 4px;
}

/* line 19859, app/assets/stylesheets/application.scss */
.perk-setup-confirm p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
}

/* line 19865, 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 19877, app/assets/stylesheets/application.scss */
.perk-setup-submit:disabled {
  background: #98a2b3;
  cursor: not-allowed;
}

/* line 19882, app/assets/stylesheets/application.scss */
.perk-setup-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 19888, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell,
.perk-setup-photo-add {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}

/* line 19896, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 19902, 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 19918, 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 19930, app/assets/stylesheets/application.scss */
.perk-setup-photo-add-form {
  margin: 0;
}

/* line 19934, app/assets/stylesheets/application.scss */
.perk-setup-photo-count {
  margin: 0;
  text-align: center;
  font-weight: 700;
}

/* line 19940, 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 19951, 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 19959, 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 19972, app/assets/stylesheets/application.scss */
.perk-setup-text-btn {
  border: 0;
  background: transparent;
  color: #17191d;
  font-weight: 700;
  cursor: pointer;
}

/* line 19980, 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 19992, app/assets/stylesheets/application.scss */
.perk-setup-creating.hidden {
  display: none;
}

/* line 19996, 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 20009, app/assets/stylesheets/application.scss */
.perk-setup-creating-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* line 20014, app/assets/stylesheets/application.scss */
.perk-setup-creating-card p {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* line 20021, 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 20035, app/assets/stylesheets/application.scss */
.perk-setup-shell.is-creating-companion {
  pointer-events: none;
}

/* line 20039, 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 20053, app/assets/stylesheets/application.scss */
.perk-setup-legal {
  margin: 0;
  text-align: center;
  color: #667085;
  font-size: 0.86rem;
}

/* line 20060, app/assets/stylesheets/application.scss */
.perk-setup-legal a {
  color: #17191d;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 640px) {
  /* line 20067, app/assets/stylesheets/application.scss */
  .perk-setup-shell {
    padding: 12px 10px 40px;
    background: #fff;
  }
  /* line 20072, app/assets/stylesheets/application.scss */
  .perk-setup-card {
    width: 100%;
    padding: 8px 4px 20px;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  /* line 20080, app/assets/stylesheets/application.scss */
  .perk-setup-birthday-row {
    grid-template-columns: 1fr;
  }
}

/* line 20085, app/assets/stylesheets/application.scss */
.perk-ios-profile {
  min-height: calc(100vh - 56px);
  background: #fff;
  color: #111;
  padding: 18px 0 80px;
}

/* line 20092, app/assets/stylesheets/application.scss */
.perk-ios-profile-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* line 20099, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 18px;
}

/* line 20106, 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 20117, app/assets/stylesheets/application.scss */
.perk-ios-profile-back {
  width: 28px;
  height: 28px;
}

/* line 20122, 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 20131, app/assets/stylesheets/application.scss */
.perk-ios-qr-btn:hover {
  background: #f2f2f7;
}

/* line 20135, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 650;
}

/* line 20142, 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 20152, 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 20162, app/assets/stylesheets/application.scss */
.perk-ios-profile-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* line 20168, app/assets/stylesheets/application.scss */
.perk-ios-profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 20174, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar {
  position: relative;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  overflow: visible;
  color: #8e8e93;
}

/* line 20183, 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 20195, app/assets/stylesheets/application.scss */
button.perk-ios-profile-avatar-image {
  cursor: pointer;
}

/* line 20199, 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 20207, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar-image i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
}

/* line 20214, 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 20233, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera i {
  font-size: 10px;
  line-height: 1;
}

/* line 20238, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera:hover {
  background: #30343a;
}

/* line 20242, app/assets/stylesheets/application.scss */
.perk-ios-profile-identity {
  min-width: 0;
  flex: 1;
}

/* line 20247, app/assets/stylesheets/application.scss */
.perk-ios-profile-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 20253, 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 20262, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e8e93;
}

/* line 20270, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot.is-active {
  background: #34c759;
}

/* line 20274, 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 20285, app/assets/stylesheets/application.scss */
.perk-ios-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

/* line 20293, 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 20307, app/assets/stylesheets/application.scss */
.perk-ios-qr-chip i {
  font-size: 11px;
}

/* line 20311, app/assets/stylesheets/application.scss */
.perk-ios-profile-actions {
  display: flex;
  flex: 0 0 96px;
  flex-direction: column;
  gap: 6px;
  width: 96px;
}

/* line 20319, 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 20333, app/assets/stylesheets/application.scss */
.perk-ios-credit-btn {
  background: #faf5e6;
  color: #111;
}

/* line 20338, app/assets/stylesheets/application.scss */
.perk-ios-credit-btn .credit-coin-icon {
  width: 14px;
  height: 14px;
}

/* line 20343, app/assets/stylesheets/application.scss */
.perk-ios-upgrade-btn {
  background: #111;
  color: #fff;
}

/* line 20348, 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 20363, 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 20379, app/assets/stylesheets/application.scss */
.perk-ios-settings-label {
  display: none;
}

/* line 20383, app/assets/stylesheets/application.scss */
.perk-ios-profile-main {
  min-width: 0;
}

/* line 20387, 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 20400, 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 20410, app/assets/stylesheets/application.scss */
.perk-ios-profile-tab.is-active {
  color: #fff;
  font-weight: 650;
}

/* line 20415, 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 20427, app/assets/stylesheets/application.scss */
.perk-ios-profile[data-active-tab="posts"] .perk-ios-profile-tab-indicator {
  transform: translateX(100%);
}

/* line 20431, app/assets/stylesheets/application.scss */
.perk-ios-section {
  margin-bottom: 22px;
}

/* line 20435, app/assets/stylesheets/application.scss */
.perk-ios-section h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

/* line 20441, app/assets/stylesheets/application.scss */
.perk-ios-section > p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 20447, app/assets/stylesheets/application.scss */
.perk-ios-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 20453, 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 20462, app/assets/stylesheets/application.scss */
.perk-ios-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 20468, app/assets/stylesheets/application.scss */
.perk-ios-photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 20478, 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 20495, 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 20506, 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 20514, app/assets/stylesheets/application.scss */
.perk-ios-card {
  padding: 14px;
}

/* line 20518, app/assets/stylesheets/application.scss */
.perk-ios-placeholder {
  color: #8e8e93;
  font-size: 14px;
}

/* line 20523, app/assets/stylesheets/application.scss */
.perk-ios-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 20529, 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 20537, 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 20548, app/assets/stylesheets/application.scss */
.perk-ios-inline-form textarea:focus {
  border-color: rgba(0, 0, 0, 0.28);
}

/* line 20552, 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 20564, app/assets/stylesheets/application.scss */
.perk-ios-about-list {
  overflow: hidden;
}

/* line 20568, 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 20577, app/assets/stylesheets/application.scss */
.perk-ios-about-row:last-child {
  border-bottom: 0;
}

/* line 20581, app/assets/stylesheets/application.scss */
.perk-ios-about-row > span {
  flex: 0 0 130px;
  color: #111;
  font-size: 14px;
}

/* line 20587, 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 20599, app/assets/stylesheets/application.scss */
.perk-ios-about-row input::placeholder,
.perk-ios-about-static em {
  color: #8e8e93;
}

/* line 20604, app/assets/stylesheets/application.scss */
.perk-ios-about-row > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

/* line 20611, 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 20619, app/assets/stylesheets/application.scss */
.perk-ios-posts .perk-feed-post {
  padding-left: 0;
  padding-right: 0;
}

/* line 20624, 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 20635, app/assets/stylesheets/application.scss */
.perk-ios-qr-overlay.hidden {
  display: none;
}

/* line 20639, 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 20651, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery.hidden {
  display: none;
}

/* line 20655, 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 20664, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

/* line 20671, 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 20679, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

/* line 20685, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-count {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* line 20692, 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 20700, 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 20710, 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 20720, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-prev {
  left: 8px;
}

/* line 20721, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-next {
  right: 8px;
}

/* line 20722, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav[hidden] {
  display: none;
}

/* line 20724, 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 20736, 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 20745, app/assets/stylesheets/application.scss */
.perk-ios-qr-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 20751, app/assets/stylesheets/application.scss */
.perk-ios-qr-head-actions {
  display: inline-flex;
  gap: 8px;
}

/* line 20756, app/assets/stylesheets/application.scss */
.perk-ios-share-icon {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* line 20767, app/assets/stylesheets/application.scss */
.perk-profile-share-sheet {
  max-height: none;
}

/* line 20771, app/assets/stylesheets/application.scss */
.perk-profile-share-close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e9e9ee;
  color: #55565c;
  font-size: 14px;
  cursor: pointer;
}

/* line 20787, app/assets/stylesheets/application.scss */
.perk-profile-share-preview {
  padding: 8px 22px 20px;
  background: #f2f2f7;
}

/* line 20792, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 290px;
  margin: 0 auto;
  padding: 16px 20px 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

/* line 20804, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card img {
  width: 154px;
  height: 154px;
  margin: 7px 0 8px;
  border-radius: 12px;
}

/* line 20811, app/assets/stylesheets/application.scss */
.perk-profile-share-brand {
  color: #111;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

/* line 20818, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card strong {
  font-size: 16px;
}

/* line 20822, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card small {
  margin-top: 2px;
  color: #8e8e93;
}

/* line 20827, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card p {
  margin: 8px 0 0;
  color: #8e8e93;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

/* line 20835, app/assets/stylesheets/application.scss */
.perk-profile-share-sheet .perk-feed-share-external {
  border-top: 0;
  padding-top: 16px;
}

/* line 20840, 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 20853, app/assets/stylesheets/application.scss */
.perk-ios-qr-hint {
  margin: 0 0 18px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.45;
}

/* line 20860, 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 20874, app/assets/stylesheets/application.scss */
.perk-ios-qr-canvas {
  display: block;
  width: 220px;
  height: 220px;
  image-rendering: pixelated;
}

/* line 20881, app/assets/stylesheets/application.scss */
.perk-ios-qr-fallback {
  width: 220px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.4;
}

/* line 20888, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

/* line 20895, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity strong {
  font-size: 18px;
  font-weight: 700;
}

/* line 20900, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity span {
  color: #8e8e93;
  font-size: 14px;
}

/* line 20905, 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 20921, app/assets/stylesheets/application.scss */
.perk-ios-qr-copy.is-copied {
  background: rgba(52, 199, 89, 0.12);
  color: #1f9d4b;
}

/* line 20926, 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 20937, app/assets/stylesheets/application.scss */
.perk-ios-settings-overlay.hidden {
  display: none;
}

/* line 20941, 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 20952, app/assets/stylesheets/application.scss */
.perk-ios-settings-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
}

/* line 20959, app/assets/stylesheets/application.scss */
.perk-ios-settings-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

/* line 20966, 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 20977, app/assets/stylesheets/application.scss */
.perk-ios-settings-cancel {
  justify-self: start;
}

/* line 20981, app/assets/stylesheets/application.scss */
.perk-ios-settings-done {
  justify-self: end;
  font-weight: 650;
}

/* line 20986, app/assets/stylesheets/application.scss */
.perk-ios-settings-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

/* line 20993, app/assets/stylesheets/application.scss */
.perk-ios-settings-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 20999, app/assets/stylesheets/application.scss */
.perk-ios-settings-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 21005, 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 21022, app/assets/stylesheets/application.scss */
.perk-ios-settings-row:hover {
  background: rgba(142, 142, 147, 0.18);
  color: #111;
  text-decoration: none;
}

/* line 21028, app/assets/stylesheets/application.scss */
.perk-ios-settings-row i {
  color: #c7c7cc;
  font-size: 12px;
}

/* line 21033, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 21039, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions form {
  margin: 0;
}

/* line 21043, 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 21056, app/assets/stylesheets/application.scss */
.perk-ios-settings-action.is-danger {
  color: #ff3b30;
}

/* line 21060, app/assets/stylesheets/application.scss */
.perk-ios-settings-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 21066, 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 21074, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field > div {
  position: relative;
}

/* line 21078, 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 21087, 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 21099, 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 21106, 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 21119, app/assets/stylesheets/application.scss */
  .perk-ios-profile-header {
    flex-wrap: wrap;
  }
  /* line 21123, app/assets/stylesheets/application.scss */
  .perk-ios-qr-chip {
    display: none;
  }
  /* line 21127, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    order: 4;
    flex-basis: 100%;
    flex-direction: row;
    width: auto;
  }
  /* line 21134, app/assets/stylesheets/application.scss */
  .perk-ios-credit-btn,
.perk-ios-upgrade-btn {
    flex: 1;
  }
  /* line 21139, app/assets/stylesheets/application.scss */
  .perk-ios-profile-tabs {
    max-width: none;
  }
  /* line 21143, app/assets/stylesheets/application.scss */
  .perk-ios-section-photos {
    order: 1;
  }
  /* line 21144, app/assets/stylesheets/application.scss */
  .perk-ios-section-interests {
    order: 2;
  }
  /* line 21145, app/assets/stylesheets/application.scss */
  .perk-ios-section-bio {
    order: 3;
  }
  /* line 21146, app/assets/stylesheets/application.scss */
  .perk-ios-section-about {
    order: 4;
  }
  /* line 21148, app/assets/stylesheets/application.scss */
  .perk-ios-profile-panel[data-panel="profile"]:not(.hidden) {
    display: flex;
    flex-direction: column;
  }
  /* line 21153, app/assets/stylesheets/application.scss */
  .perk-ios-about-row {
    flex-direction: column;
    gap: 6px;
  }
  /* line 21158, app/assets/stylesheets/application.scss */
  .perk-ios-about-row > span {
    flex-basis: auto;
  }
  /* line 21162, app/assets/stylesheets/application.scss */
  .perk-ios-about-row input,
.perk-ios-about-row em {
    text-align: left;
  }
}

@media (min-width: 900px) {
  /* line 21169, 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 21177, app/assets/stylesheets/application.scss */
  .perk-ios-profile-shell {
    max-width: 1080px;
    padding: 0 28px;
  }
  /* line 21182, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav {
    grid-template-columns: 40px 1fr 40px;
    margin-bottom: 22px;
  }
  /* line 21187, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav h1 {
    text-align: left;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.02em;
  }
  /* line 21194, app/assets/stylesheets/application.scss */
  .perk-ios-qr-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  /* line 21200, app/assets/stylesheets/application.scss */
  .perk-ios-profile-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  /* line 21207, 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 21220, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    margin: 0 auto;
  }
  /* line 21227, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar-image i {
    font-size: 112px;
  }
  /* line 21231, app/assets/stylesheets/application.scss */
  .perk-ios-avatar-camera {
    width: 32px;
    height: 32px;
    right: 2px;
    bottom: 2px;
  }
  /* line 21238, app/assets/stylesheets/application.scss */
  .perk-ios-avatar-camera i {
    font-size: 13px;
  }
  /* line 21242, app/assets/stylesheets/application.scss */
  .perk-ios-profile-identity {
    flex: 0 0 auto;
    text-align: center;
  }
  /* line 21247, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row {
    justify-content: center;
  }
  /* line 21251, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row strong {
    font-size: 20px;
  }
  /* line 21255, app/assets/stylesheets/application.scss */
  .perk-ios-profile-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  /* line 21261, app/assets/stylesheets/application.scss */
  .perk-ios-qr-chip {
    width: 100%;
    justify-content: center;
    min-height: 36px;
    border-radius: 12px;
    font-size: 13px;
  }
  /* line 21269, app/assets/stylesheets/application.scss */
  .perk-ios-friends-pill {
    margin-top: 0;
  }
  /* line 21273, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  /* line 21280, app/assets/stylesheets/application.scss */
  .perk-ios-credit-btn,
.perk-ios-upgrade-btn {
    height: 40px;
    font-size: 13px;
  }
  /* line 21286, app/assets/stylesheets/application.scss */
  .perk-ios-settings-btn {
    flex: 0 0 auto;
    width: 100%;
    height: 40px;
    margin-left: 0;
    border-radius: 12px;
  }
  /* line 21294, app/assets/stylesheets/application.scss */
  .perk-ios-settings-label {
    display: inline;
    font-size: 13px;
    font-weight: 650;
  }
  /* line 21300, 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 21308, app/assets/stylesheets/application.scss */
  .perk-ios-profile-tabs {
    margin-bottom: 26px;
  }
  /* line 21312, 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 21319, app/assets/stylesheets/application.scss */
  .perk-ios-section {
    margin-bottom: 18px;
  }
  /* line 21323, app/assets/stylesheets/application.scss */
  .perk-ios-section-photos,
.perk-ios-section-bio {
    grid-column: 1;
  }
  /* line 21328, app/assets/stylesheets/application.scss */
  .perk-ios-section-about,
.perk-ios-section-interests {
    grid-column: 2;
  }
  /* line 21333, app/assets/stylesheets/application.scss */
  .perk-ios-photo-grid {
    gap: 12px;
  }
  /* line 21337, app/assets/stylesheets/application.scss */
  .perk-ios-inline-form textarea {
    min-height: 120px;
  }
  /* line 21341, app/assets/stylesheets/application.scss */
  .perk-ios-settings-overlay,
.perk-ios-qr-overlay {
    align-items: center;
    padding: 40px;
  }
  /* line 21347, app/assets/stylesheets/application.scss */
  .perk-ios-settings-sheet,
.perk-ios-qr-sheet {
    max-height: min(80vh, 720px);
  }
}

/* —— AI Drive (web) —— */
/* line 21354, app/assets/stylesheets/application.scss */
.ai-drive {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  background: var(--perk-canvas, #f2f3f5);
  color: var(--perk-ink, #17191d);
  height: 100%;
  min-height: calc(100vh - 80px);
  font-family: var(--perk-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif);
}

/* line 21366, app/assets/stylesheets/application.scss */
.ai-drive.hidden,
.ai-drive[hidden] {
  display: none !important;
}

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

/* line 21380, app/assets/stylesheets/application.scss */
.ai-drive-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 8px;
  background: #f8f9fa;
  flex: 0 0 auto;
}

/* line 21389, app/assets/stylesheets/application.scss */
.ai-drive-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
}

/* line 21397, app/assets/stylesheets/application.scss */
.ai-drive-tabs {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 3px;
  background: #f4f5f7;
  border-radius: 999px;
  flex: 1 1 auto;
  min-width: 0;
}

/* line 21408, app/assets/stylesheets/application.scss */
.ai-drive-tabs-inline {
  flex: 1 1 auto;
  margin: 0;
}

/* line 21413, app/assets/stylesheets/application.scss */
.ai-drive-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 8px 8px;
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  flex: 1 1 0;
  border-radius: 999px;
  line-height: 1.2;
}

/* line 21427, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active {
  color: #fff;
  font-weight: 600;
  background: #17191d;
}

/* line 21433, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active::after {
  display: none;
}

/* line 21437, app/assets/stylesheets/application.scss */
.ai-drive-search-toggle.is-active {
  background: #17191d;
  color: #fff;
}

/* line 21442, app/assets/stylesheets/application.scss */
.ai-drive-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 10px;
  background: #f8f9fa;
  flex: 0 0 auto;
}

/* line 21451, app/assets/stylesheets/application.scss */
.ai-drive-search-panel.hidden,
.ai-drive-search-panel[hidden] {
  display: none !important;
}

/* line 21456, app/assets/stylesheets/application.scss */
.ai-drive-chat-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 4px;
  flex: 0 0 auto;
}

/* line 21464, app/assets/stylesheets/application.scss */
.ai-drive-chat-topbar.hidden,
.ai-drive-chat-topbar[hidden] {
  display: none !important;
}

/* line 21469, app/assets/stylesheets/application.scss */
.ai-drive-chat-tools {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* line 21475, app/assets/stylesheets/application.scss */
.ai-drive-profile {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #17191d;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
}

/* line 21490, app/assets/stylesheets/application.scss */
.ai-drive-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 21496, app/assets/stylesheets/application.scss */
.ai-drive-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 14px;
  height: 40px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.06);
  color: rgba(23, 25, 29, 0.48);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
}

/* line 21511, 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 21521, 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: #fff;
  color: var(--perk-ink, #17191d);
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.06);
}

/* line 21536, app/assets/stylesheets/application.scss */
.ai-drive-icon-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 25, 29, 0.08);
}

/* line 21541, app/assets/stylesheets/application.scss */
.ai-drive-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 16px 10px;
  flex: 0 0 auto;
}

/* line 21549, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

/* line 21557, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* line 21565, app/assets/stylesheets/application.scss */
.ai-drive-fabs {
  position: absolute;
  right: 16px;
  bottom: 88px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

/* line 21577, app/assets/stylesheets/application.scss */
.ai-drive-fabs.hidden,
.ai-drive-fabs[hidden] {
  display: none !important;
}

/* line 21582, app/assets/stylesheets/application.scss */
.ai-drive-fab {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #17191d;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
  cursor: pointer;
}

/* line 21594, app/assets/stylesheets/application.scss */
.ai-drive-fab.is-filled {
  background: #17191d;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

/* line 21601, app/assets/stylesheets/application.scss */
.ai-drive-create-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
}

/* line 21611, app/assets/stylesheets/application.scss */
.ai-drive-create-overlay.hidden,
.ai-drive-create-overlay[hidden] {
  display: none !important;
}

/* line 21616, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 8px 0 24px;
}

/* line 21623, app/assets/stylesheets/application.scss */
.ai-drive-create-handle {
  display: block;
  width: 36px;
  height: 5px;
  margin: 10px auto 6px;
  border-radius: 99px;
  background: #d1d5db;
}

/* line 21632, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet h3 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 17px;
}

/* line 21638, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  text-align: left;
}

/* line 21653, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet button i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f5f7;
  color: #17191d;
  display: grid;
  place-items: center;
}

@media (min-width: 720px) {
  /* line 21664, app/assets/stylesheets/application.scss */
  .ai-drive-create-overlay {
    align-items: center;
  }
  /* line 21668, app/assets/stylesheets/application.scss */
  .ai-drive-create-sheet {
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  }
  /* line 21673, app/assets/stylesheets/application.scss */
  .ai-drive-search {
    max-width: 560px;
  }
}

/* line 21678, app/assets/stylesheets/application.scss */
.ai-drive-new-wrap {
  position: relative;
}

/* line 21682, 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 21698, app/assets/stylesheets/application.scss */
.ai-drive-new-btn:hover {
  background: #1765cc;
}

/* line 21702, app/assets/stylesheets/application.scss */
.ai-drive-new-btn.is-danger,
#ai-drive-dialog-confirm.is-danger {
  background: #d93025;
}

/* line 21707, app/assets/stylesheets/application.scss */
.ai-drive-new-chevron {
  font-size: 10px;
  opacity: 0.85;
}

/* line 21712, 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 21725, 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 21740, app/assets/stylesheets/application.scss */
.ai-drive-menu button:hover {
  background: #f1f3f4;
}

/* line 21744, app/assets/stylesheets/application.scss */
.ai-drive-menu i {
  width: 18px;
  color: #5f6368;
}

/* line 21749, app/assets/stylesheets/application.scss */
.ai-drive-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: #f4f5f7;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #17191d;
  cursor: pointer;
}

/* line 21763, app/assets/stylesheets/application.scss */
.ai-drive-text-btn:hover {
  background: #f1f3f4;
}

/* line 21767, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 12px;
  color: rgba(23, 25, 29, 0.48);
}

/* line 21779, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb.hidden,
.ai-drive-breadcrumb[hidden] {
  display: none !important;
}

/* line 21784, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb::-webkit-scrollbar {
  display: none;
}

/* line 21788, 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 21799, app/assets/stylesheets/application.scss */
.ai-drive-crumb.is-current {
  color: var(--perk-ink, #17191d);
  cursor: default;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 21807, app/assets/stylesheets/application.scss */
.ai-drive-crumb-sep {
  color: #dadce0;
  font-size: 9px;
}

/* line 21812, app/assets/stylesheets/application.scss */
.ai-drive-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* line 21820, app/assets/stylesheets/application.scss */
.ai-drive-browse {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  padding: 4px 8px 24px;
}

/* line 21828, app/assets/stylesheets/application.scss */
.ai-drive-browse.is-dragging {
  background: rgba(26, 115, 232, 0.04);
}

/* line 21832, 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 21849, app/assets/stylesheets/application.scss */
.ai-drive-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 8px 4px 4px;
  align-content: start;
  overflow: visible;
}

@media (min-width: 720px) {
  /* line 21859, app/assets/stylesheets/application.scss */
  .ai-drive-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* line 21864, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px;
}

/* line 21871, app/assets/stylesheets/application.scss */
.ai-drive-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 6px 8px;
  border-radius: 18px;
  border: 0;
  background: transparent;
  overflow: visible;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

/* line 21885, app/assets/stylesheets/application.scss */
.ai-drive-item:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 25, 29, 0.06);
}

/* line 21891, app/assets/stylesheets/application.scss */
.ai-drive-item:active {
  transform: translateY(0);
}

/* line 21895, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  transform: none;
  box-shadow: none;
}

/* line 21905, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.92);
}

/* line 21911, app/assets/stylesheets/application.scss */
.ai-drive-item-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  cursor: pointer;
  color: inherit;
  overflow: visible;
}

/* line 21928, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-main {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 12px;
}

/* line 21935, app/assets/stylesheets/application.scss */
.ai-drive-item-more {
  position: absolute;
  top: 6px;
  right: 4px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transition: opacity 160ms ease;
}

/* line 21946, app/assets/stylesheets/application.scss */
.ai-drive-item:hover .ai-drive-item-more,
.ai-drive-item-more:focus-visible {
  opacity: 1;
}

/* line 21951, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-more {
  position: static;
  opacity: 1;
  flex: 0 0 auto;
  background: transparent;
}

/* line 21958, app/assets/stylesheets/application.scss */
.ai-drive-item-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 28%;
  background: #fff;
  border: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 12px rgba(23, 25, 29, 0.12));
  flex: 0 0 auto;
  transition: transform 180ms ease, filter 180ms ease;
}

/* line 21974, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56%;
  height: 56%;
  transform: translate(-50%, -50%);
  border-radius: 18%;
  background: var(--drive-icon-color, #6b7280);
  color: #fff;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

/* line 21994, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph::before {
  display: block;
  width: auto;
  margin: 0;
  line-height: 1;
  position: relative;
  top: 6px;
}

/* line 22003, app/assets/stylesheets/application.scss */
.ai-drive-item:hover .ai-drive-item-icon {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 14px 16px rgba(23, 25, 29, 0.16));
}

/* line 22008, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-icon {
  width: 40px;
  height: 40px;
}

/* line 22013, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph {
  font-size: 10px;
}

/* line 22017, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph::before {
  top: 4px;
}

/* line 22021, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item:hover .ai-drive-item-icon {
  transform: none;
}

/* line 22025, app/assets/stylesheets/application.scss */
.ai-drive-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
}

/* line 22033, app/assets/stylesheets/application.scss */
.ai-drive-thumb.has-image {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}

/* line 22043, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-thumb.has-image {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

/* line 22049, app/assets/stylesheets/application.scss */
.ai-drive-thumb.has-image img,
.ai-drive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 22056, app/assets/stylesheets/application.scss */
.ai-drive-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  width: 100%;
}

/* line 22064, app/assets/stylesheets/application.scss */
.ai-drive-item-text strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--perk-ink-soft, #30343a);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

/* line 22078, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-text strong {
  font-size: 14px;
  -webkit-line-clamp: 1;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
}

/* line 22086, app/assets/stylesheets/application.scss */
.ai-drive-item-text span {
  font-size: 11px;
  color: rgba(23, 25, 29, 0.48);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 22096, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-text span {
  font-size: 12px;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
}

/* line 22103, app/assets/stylesheets/application.scss */
.ai-drive-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 280px;
  padding: 40px 24px;
  text-align: center;
  color: rgba(23, 25, 29, 0.48);
}

/* line 22115, app/assets/stylesheets/application.scss */
.ai-drive-empty-icon {
  margin-bottom: 4px;
}

/* line 22119, app/assets/stylesheets/application.scss */
.ai-drive-empty-icon .ai-drive-item-icon {
  width: 58px;
  height: 58px;
}

/* line 22124, app/assets/stylesheets/application.scss */
.ai-drive-empty strong {
  color: var(--perk-ink, #17191d);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 22131, app/assets/stylesheets/application.scss */
.ai-drive-empty p {
  margin: 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.45;
}

/* line 22138, app/assets/stylesheets/application.scss */
.ai-drive-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  background: #fff;
}

/* line 22148, app/assets/stylesheets/application.scss */
.ai-drive-history {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(320px, 100%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--perk-line, #e5e7eb);
  box-shadow: 8px 0 28px rgba(15, 18, 22, 0.12);
  overflow: hidden;
}

/* line 22161, app/assets/stylesheets/application.scss */
.ai-drive-history.hidden,
.ai-drive-history[hidden] {
  display: none !important;
}

/* line 22166, app/assets/stylesheets/application.scss */
.ai-drive-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 22176, app/assets/stylesheets/application.scss */
.ai-drive-history-head strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 22181, app/assets/stylesheets/application.scss */
.ai-drive-history-new-chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 12px 4px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #f4f5f7;
  color: #17191d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

/* line 22197, app/assets/stylesheets/application.scss */
.ai-drive-history-new-chat-btn:hover {
  background: #eceef1;
}

/* line 22201, app/assets/stylesheets/application.scss */
.ai-drive-history-new-chat-btn i {
  width: 18px;
  text-align: center;
  color: #5f6368;
}

/* line 22207, app/assets/stylesheets/application.scss */
.ai-drive-history-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 6px 8px 16px;
  -webkit-overflow-scrolling: touch;
}

/* line 22214, app/assets/stylesheets/application.scss */
.ai-drive-history-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  color: inherit;
}

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

/* line 22233, app/assets/stylesheets/application.scss */
.ai-drive-history-item strong {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 22241, app/assets/stylesheets/application.scss */
.ai-drive-history-item span {
  font-size: 12px;
  color: #8e8e93;
}

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

/* line 22253, app/assets/stylesheets/application.scss */
.ai-drive.is-history-open .ai-drive-topbar-actions [data-drive-history-btn] {
  background: #17191d;
  color: #fff;
}

/* line 22258, 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: 16px;
  background: #fff;
}

/* line 22269, 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 22278, 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 22287, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

/* line 22293, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.4;
}

/* line 22300, 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 22308, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-user {
  justify-content: flex-end;
}

/* line 22312, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-bot {
  justify-content: flex-start;
}

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

/* line 22323, 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 22332, app/assets/stylesheets/application.scss */
.ai-drive-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

/* line 22341, 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 22351, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-bot .ai-drive-chat-msg {
  max-width: 100%;
}

/* line 22355, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: #202124;
}

/* line 22361, 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 22369, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 22374, 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 22383, 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 22399, 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 22405, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-wrap {
  position: relative;
}

/* line 22409, 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 22422, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 22426, 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 22438, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

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

/* line 22446, 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 22458, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-status:empty {
  display: none;
}

/* line 22462, 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 22471, 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 22482, 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 22488, 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 22499, app/assets/stylesheets/application.scss */
.ai-drive-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 10px;
  scrollbar-width: none;
}

/* line 22507, app/assets/stylesheets/application.scss */
.ai-drive-suggestions::-webkit-scrollbar {
  display: none;
}

/* line 22511, app/assets/stylesheets/application.scss */
.ai-drive-suggestions-footer {
  padding: 10px 0 0;
  background: transparent;
  width: 100%;
}

/* line 22517, app/assets/stylesheets/application.scss */
.ai-drive-footer {
  flex: 0 0 auto;
  border-top: 1px solid rgba(23, 25, 29, 0.06);
  background: var(--perk-canvas, #f2f3f5);
  box-shadow: none;
  padding: 0 18px 14px;
}

/* line 22525, app/assets/stylesheets/application.scss */
.ai-drive-footer .hub-ai-composer-curtain {
  display: none;
}

/* line 22529, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-footer,
.ai-drive.is-chat .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) calc(10px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-top: 0;
  box-shadow: none;
  pointer-events: none;
}

/* line 22546, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-footer > *,
.ai-drive.is-chat .ai-drive-footer > * {
  pointer-events: auto;
  width: 100%;
  max-width: var(--hub-ai-chat-col);
}

/* line 22553, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-footer .hub-ai-composer-curtain,
.ai-drive.is-chat .ai-drive-footer .hub-ai-composer-curtain {
  display: none;
}

/* line 22558, app/assets/stylesheets/application.scss */
.ai-drive:has(.ai-drive-chat:not([hidden])) .ai-drive-chat-messages,
.ai-drive.is-chat .ai-drive-chat-messages {
  padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

/* line 22563, 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 rgba(23, 25, 29, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--perk-ink, #17191d);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
}

/* line 22581, app/assets/stylesheets/application.scss */
.ai-drive-chip:hover {
  background: #fff;
  border-color: color-mix(in srgb, #1a73e8 24%, #e5e7eb);
  color: #1a73e8;
}

/* line 22587, 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 22597, 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 22606, 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 22614, 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 22624, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-rich {
  align-items: stretch;
  justify-content: flex-start;
  background: #e8eaed;
  padding: 10px;
}

/* line 22631, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-media {
  background: #fafafa;
}

/* line 22635, 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 22647, app/assets/stylesheets/application.scss */
.ai-drive-preview-body audio {
  width: 100%;
}

/* line 22651, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx {
  width: 100%;
  min-height: 100%;
}

/* line 22656, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx .docx-wrapper {
  background: transparent !important;
  padding: 0 !important;
}

/* line 22661, 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 22669, 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 22684, app/assets/stylesheets/application.scss */
.ai-drive-preview-loading {
  color: #5f6368;
  font-size: 20px;
}

/* line 22689, app/assets/stylesheets/application.scss */
.ai-drive-preview-file {
  text-align: center;
  color: #5f6368;
}

/* line 22694, app/assets/stylesheets/application.scss */
.ai-drive-preview-file .ai-drive-item-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
}

/* line 22700, app/assets/stylesheets/application.scss */
.ai-drive-preview-file .ai-drive-item-glyph {
  font-size: 17px;
}

/* line 22704, app/assets/stylesheets/application.scss */
.ai-drive-preview-actions {
  display: flex;
  gap: 4px;
  padding: 8px 10px 12px;
  border-top: 1px solid #e8eaed;
}

/* line 22711, app/assets/stylesheets/application.scss */
.ai-drive-muted {
  color: #80868b;
  font-size: 12px;
}

/* line 22716, 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 22728, 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 22737, app/assets/stylesheets/application.scss */
.ai-drive-actions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e8eaed;
}

/* line 22745, app/assets/stylesheets/application.scss */
.ai-drive-actions-head strong {
  display: block;
  font-size: 14px;
}

/* line 22750, app/assets/stylesheets/application.scss */
.ai-drive-actions-head span {
  font-size: 12px;
  color: #80868b;
}

/* line 22755, app/assets/stylesheets/application.scss */
#ai-drive-actions-thumb.ai-drive-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

/* line 22761, app/assets/stylesheets/application.scss */
#ai-drive-actions-thumb.ai-drive-thumb.has-image {
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* line 22766, 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 22780, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button:hover {
  background: #f8f9fa;
}

/* line 22784, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger {
  color: #d93025;
}

/* line 22788, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button i {
  width: 18px;
  color: #5f6368;
}

/* line 22793, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger i {
  color: #d93025;
}

/* line 22797, app/assets/stylesheets/application.scss */
.ai-drive-dialog {
  padding: 18px;
}

/* line 22801, app/assets/stylesheets/application.scss */
.ai-drive-dialog h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* line 22806, 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 22814, 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 22824, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality {
  margin-bottom: 14px;
}

/* line 22828, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 22836, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality .ai-drive-dialog-input {
  margin-bottom: 0;
}

/* line 22840, app/assets/stylesheets/application.scss */
.ai-drive-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* line 22846, 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 22861, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 22866, app/assets/stylesheets/application.scss */
  .ai-drive-topbar {
    padding: 10px 14px 8px;
  }
  /* line 22870, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar,
.ai-drive-search-panel,
.ai-drive-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 22877, app/assets/stylesheets/application.scss */
  .ai-drive-history {
    inset: 0;
    width: auto;
    border-right: 0;
  }
  /* line 22883, 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 22894, app/assets/stylesheets/application.scss */
  .ai-drive-topbar {
    gap: 8px;
  }
  /* line 22898, app/assets/stylesheets/application.scss */
  .ai-drive-search-panel {
    padding-left: 12px;
    padding-right: 12px;
  }
  /* line 22903, app/assets/stylesheets/application.scss */
  .ai-drive-search {
    max-width: none;
  }
  /* line 22907, app/assets/stylesheets/application.scss */
  .ai-drive-tab {
    padding: 8px 6px;
    font-size: 13px;
  }
  /* line 22912, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar {
    flex-wrap: wrap;
  }
  /* line 22916, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* —— Create PowerPoint (web) —— */
/* line 22923, 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 22934, app/assets/stylesheets/application.scss */
.create-ppt.hidden,
.create-ppt[hidden] {
  display: none !important;
}

/* line 22939, app/assets/stylesheets/application.scss */
.create-ppt-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 22947, 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 22957, app/assets/stylesheets/application.scss */
.create-ppt-shell:has(.create-ppt-result:not([hidden])) .create-ppt-progress-bar {
  display: none;
}

/* line 22961, app/assets/stylesheets/application.scss */
.create-ppt-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 22969, 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 22977, app/assets/stylesheets/application.scss */
.create-ppt-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
  white-space: nowrap;
}

/* line 22984, 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 22998, app/assets/stylesheets/application.scss */
.create-ppt-icon-btn:hover {
  background: #f1f3f4;
}

/* line 23002, app/assets/stylesheets/application.scss */
.create-ppt-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 23008, 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 23020, 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 23034, app/assets/stylesheets/application.scss */
.create-ppt-rail-step:hover {
  background: #f1f3f4;
}

/* line 23038, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current {
  background: #fce8e6;
  color: #202124;
}

/* line 23043, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done {
  color: #202124;
}

/* line 23047, 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 23061, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current .create-ppt-rail-num {
  background: #c43e1c;
  color: #fff;
}

/* line 23066, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done .create-ppt-rail-num {
  background: #202124;
  color: #fff;
}

/* line 23071, app/assets/stylesheets/application.scss */
.create-ppt-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 23076, app/assets/stylesheets/application.scss */
.create-ppt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 23084, app/assets/stylesheets/application.scss */
.create-ppt-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 16px;
}

/* line 23090, app/assets/stylesheets/application.scss */
.create-ppt-panel {
  max-width: 860px;
}

/* line 23094, app/assets/stylesheets/application.scss */
.create-ppt-heading {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 23101, app/assets/stylesheets/application.scss */
.create-ppt-lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #5f6368;
  max-width: 52ch;
}

/* line 23108, app/assets/stylesheets/application.scss */
.create-ppt-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

/* line 23116, 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 23126, 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 23138, app/assets/stylesheets/application.scss */
.create-ppt-input:placeholder-shown {
  font-size: 13px;
}

/* line 23142, app/assets/stylesheets/application.scss */
.create-ppt-input::placeholder {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #80868b;
}

/* line 23150, app/assets/stylesheets/application.scss */
.create-ppt-input::-moz-placeholder {
  opacity: 1;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #80868b;
}

/* line 23159, 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 23165, app/assets/stylesheets/application.scss */
.create-ppt-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5f6368;
}

/* line 23171, app/assets/stylesheets/application.scss */
.create-ppt-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

/* line 23177, app/assets/stylesheets/application.scss */
.create-ppt-chips-compact {
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}

/* line 23181, 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 23197, app/assets/stylesheets/application.scss */
.create-ppt-chip i {
  color: #5f6368;
}

/* line 23201, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 23207, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected i {
  color: #fff;
}

/* line 23211, app/assets/stylesheets/application.scss */
.create-ppt-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 23217, 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 23230, app/assets/stylesheets/application.scss */
.create-ppt-row i {
  margin-top: 2px;
  color: #5f6368;
}

/* line 23235, app/assets/stylesheets/application.scss */
.create-ppt-row strong {
  display: block;
  font-size: 14px;
}

/* line 23240, app/assets/stylesheets/application.scss */
.create-ppt-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 23247, app/assets/stylesheets/application.scss */
.create-ppt-row.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 23253, 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 23258, app/assets/stylesheets/application.scss */
.create-ppt-custom-slides {
  margin-top: 12px;
  max-width: 200px;
}

/* line 23263, 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 23270, 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 23279, 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 23292, app/assets/stylesheets/application.scss */
.create-ppt-secondary-btn:hover {
  background: #e8eaed;
}

/* line 23296, 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 23308, app/assets/stylesheets/application.scss */
.create-ppt-ghost-btn:hover {
  background: #f1f3f4;
  color: #202124;
}

/* line 23313, 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 23326, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:hover {
  background: #000;
}

/* line 23330, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* line 23335, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn-block {
  width: 100%;
}

/* line 23339, 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 23349, app/assets/stylesheets/application.scss */
.create-ppt-attachments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 23355, app/assets/stylesheets/application.scss */
.create-ppt-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f1f3f4;
}

/* line 23364, 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 23377, app/assets/stylesheets/application.scss */
.create-ppt-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 23383, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text {
  min-width: 0;
  flex: 1;
}

/* line 23388, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 23396, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text span {
  font-size: 11px;
  color: #5f6368;
}

/* line 23401, app/assets/stylesheets/application.scss */
.create-ppt-toggle-card {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* line 23406, app/assets/stylesheets/application.scss */
.create-ppt-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

/* line 23413, app/assets/stylesheets/application.scss */
.create-ppt-toggle input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #202124;
}

/* line 23420, app/assets/stylesheets/application.scss */
.create-ppt-toggle strong {
  display: block;
  font-size: 14px;
}

/* line 23425, app/assets/stylesheets/application.scss */
.create-ppt-toggle small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 23432, app/assets/stylesheets/application.scss */
.create-ppt-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* line 23438, 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 23451, app/assets/stylesheets/application.scss */
.create-ppt-layout.is-selected {
  border-color: #202124;
}

/* line 23455, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview {
  height: 96px;
  border-radius: 12px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

/* line 23463, 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 23471, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-auto {
  background: #17191f;
}

/* line 23475, 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 23484, 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 23493, 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 23502, 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 23510, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-split-media {
  background: #f7f9ff;
}

/* line 23514, 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 23522, 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 23531, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-card-grid::before {
  left: 12px;
  top: 14px;
  width: 40%;
  height: 7px;
}

/* line 23538, 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 23548, 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 23557, 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 23565, 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 23574, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::before {
  left: 10px;
}

/* line 23578, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::after {
  right: 10px;
}

/* line 23582, 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 23591, 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 23599, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-bold-cover {
  background: #17191f;
}

/* line 23603, 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 23612, 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 23621, app/assets/stylesheets/application.scss */
.create-ppt-layout-meta strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* line 23628, 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 23636, 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 23645, app/assets/stylesheets/application.scss */
.create-ppt-review {
  margin: 0;
}

/* line 23649, 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 23657, app/assets/stylesheets/application.scss */
.create-ppt-review-row:last-child {
  border-bottom: 0;
}

/* line 23661, app/assets/stylesheets/application.scss */
.create-ppt-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #5f6368;
}

/* line 23667, 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 23675, 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 23685, app/assets/stylesheets/application.scss */
.create-ppt-footer-spacer {
  flex: 1;
}

/* line 23689, app/assets/stylesheets/application.scss */
.create-ppt-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 23697, app/assets/stylesheets/application.scss */
.create-ppt-result.hidden,
.create-ppt-result[hidden] {
  display: none !important;
}

/* line 23702, app/assets/stylesheets/application.scss */
.create-ppt-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e8eaed;
}

/* line 23707, 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 23717, app/assets/stylesheets/application.scss */
.create-ppt-name-field i {
  color: #c43e1c;
}

/* line 23721, app/assets/stylesheets/application.scss */
.create-ppt-name-field .create-ppt-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 23728, app/assets/stylesheets/application.scss */
.create-ppt-ext {
  color: #5f6368;
  font-size: 13px;
}

/* line 23733, 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 23742, app/assets/stylesheets/application.scss */
.create-ppt-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 23749, app/assets/stylesheets/application.scss */
.create-ppt-slides {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f1f3f4;
}

/* line 23758, app/assets/stylesheets/application.scss */
.create-ppt-slides.is-office-preview {
  padding: 0;
}

/* line 23762, app/assets/stylesheets/application.scss */
.create-ppt-office-frame {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #fff;
}

/* line 23770, 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 23783, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback i {
  font-size: 40px;
  color: #c43e1c;
}

/* line 23788, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback p {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
}

/* line 23795, 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 23804, 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 23815, app/assets/stylesheets/application.scss */
.create-ppt-overlay.hidden,
.create-ppt-overlay[hidden] {
  display: none !important;
}

/* line 23820, 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 23829, 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 23839, 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 23850, 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 23858, 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 23876, app/assets/stylesheets/application.scss */
.create-ppt-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 23882, app/assets/stylesheets/application.scss */
.create-ppt-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 23888, app/assets/stylesheets/application.scss */
.create-ppt-generating-note {
  margin-top: 4px !important;
}

/* line 23892, 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 23908, 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 23919, app/assets/stylesheets/application.scss */
.create-ppt-drive-picker.hidden,
.create-ppt-drive-picker[hidden] {
  display: none !important;
}

/* line 23924, 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 23934, 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 23942, app/assets/stylesheets/application.scss */
.create-ppt-drive-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 23947, 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 23961, app/assets/stylesheets/application.scss */
.create-ppt-drive-item:hover {
  background: #f1f3f4;
}

/* line 23965, app/assets/stylesheets/application.scss */
.create-ppt-drive-item i {
  color: #c43e1c;
}

@media (max-width: 900px) {
  /* line 23970, app/assets/stylesheets/application.scss */
  .create-ppt-rail {
    display: none;
  }
  /* line 23974, app/assets/stylesheets/application.scss */
  .create-ppt-scroll {
    padding: 18px 16px 12px;
  }
  /* line 23978, app/assets/stylesheets/application.scss */
  .create-ppt-footer {
    padding: 12px 16px 16px;
  }
  /* line 23982, app/assets/stylesheets/application.scss */
  .create-ppt-heading {
    font-size: 22px;
  }
  /* line 23986, app/assets/stylesheets/application.scss */
  .create-ppt-result-body {
    grid-template-columns: 1fr;
  }
  /* line 23990, app/assets/stylesheets/application.scss */
  .create-ppt-office-frame {
    min-height: 360px;
  }
  /* line 23994, app/assets/stylesheets/application.scss */
  .create-ppt-result-actions {
    border-left: 0;
    border-top: 1px solid #e8eaed;
  }
  /* line 23999, app/assets/stylesheets/application.scss */
  .create-ppt-attach-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* line 24005, app/assets/stylesheets/application.scss */
  .create-ppt-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 24010, app/assets/stylesheets/application.scss */
  .create-ppt-chips {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Create Word document (web) —— */
/* line 24016, 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 24027, app/assets/stylesheets/application.scss */
.create-doc.hidden,
.create-doc[hidden] {
  display: none !important;
}

/* line 24032, app/assets/stylesheets/application.scss */
.create-doc-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 24040, 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 24050, app/assets/stylesheets/application.scss */
.create-doc-shell:has(.create-doc-result:not([hidden])) .create-doc-progress-bar {
  display: none;
}

/* line 24054, app/assets/stylesheets/application.scss */
.create-doc-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 24062, app/assets/stylesheets/application.scss */
.create-doc-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: #2b579a;
  transition: width 0.25s ease;
}

/* line 24070, app/assets/stylesheets/application.scss */
.create-doc-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: #667085;
  white-space: nowrap;
}

/* line 24077, 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 24090, app/assets/stylesheets/application.scss */
.create-doc-icon-btn:hover {
  background: #e8eaed;
}

/* line 24094, app/assets/stylesheets/application.scss */
.create-doc-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 24100, 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 24112, 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 24126, app/assets/stylesheets/application.scss */
.create-doc-rail-step:hover {
  background: #f5f7fa;
}

/* line 24130, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current {
  background: rgba(43, 87, 154, 0.08);
  color: #1e3f73;
}

/* line 24135, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-done {
  color: #2b579a;
}

/* line 24139, 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 24153, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current .create-doc-rail-num {
  background: #2b579a;
  color: #fff;
}

/* line 24158, 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 24163, app/assets/stylesheets/application.scss */
.create-doc-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 24168, app/assets/stylesheets/application.scss */
.create-doc-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* line 24177, app/assets/stylesheets/application.scss */
.create-doc-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 32px 16px;
}

/* line 24184, app/assets/stylesheets/application.scss */
.create-doc-panel {
  max-width: 760px;
}

/* line 24188, 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 24196, 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 24204, app/assets/stylesheets/application.scss */
.create-doc-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

/* line 24212, app/assets/stylesheets/application.scss */
.create-doc-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 24218, app/assets/stylesheets/application.scss */
.create-doc-required {
  color: #c0392b;
  font-weight: 600;
}

/* line 24223, 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 24233, 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 24245, 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 24251, app/assets/stylesheets/application.scss */
.create-doc-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #667085;
}

/* line 24257, app/assets/stylesheets/application.scss */
.create-doc-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* line 24263, 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 24277, app/assets/stylesheets/application.scss */
.create-doc-category:hover {
  border-color: #b8c7df;
  transform: translateY(-1px);
}

/* line 24282, 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 24288, 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 24300, app/assets/stylesheets/application.scss */
.create-doc-category strong {
  font-size: 14px;
  color: #1b1f24;
}

/* line 24305, app/assets/stylesheets/application.scss */
.create-doc-category small {
  font-size: 12px;
  color: #667085;
  line-height: 1.4;
}

/* line 24311, app/assets/stylesheets/application.scss */
.create-doc-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 24317, 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 24330, app/assets/stylesheets/application.scss */
.create-doc-row i {
  margin-top: 2px;
  color: #2b579a;
  width: 18px;
  text-align: center;
}

/* line 24337, app/assets/stylesheets/application.scss */
.create-doc-row strong {
  display: block;
  font-size: 14px;
  color: #1b1f24;
}

/* line 24343, app/assets/stylesheets/application.scss */
.create-doc-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #667085;
  line-height: 1.35;
}

/* line 24351, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected {
  border-color: #2b579a;
  background: rgba(43, 87, 154, 0.06);
}

/* line 24356, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected i,
.create-doc-row.is-selected small {
  color: #1e3f73;
}

/* line 24361, app/assets/stylesheets/application.scss */
.create-doc-tones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 24367, 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 24379, app/assets/stylesheets/application.scss */
.create-doc-tone.is-selected {
  border-color: #2b579a;
  background: #2b579a;
  color: #fff;
}

/* line 24385, app/assets/stylesheets/application.scss */
.create-doc-review {
  margin: 0;
}

/* line 24389, 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 24397, app/assets/stylesheets/application.scss */
.create-doc-review-row:last-child {
  border-bottom: 0;
}

/* line 24401, app/assets/stylesheets/application.scss */
.create-doc-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
}

/* line 24407, 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 24415, 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 24425, app/assets/stylesheets/application.scss */
.create-doc-footer-spacer {
  flex: 1;
}

/* line 24429, 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 24437, 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 24451, app/assets/stylesheets/application.scss */
.create-doc-secondary-btn:hover {
  background: #f8fafc;
}

/* line 24455, 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 24469, app/assets/stylesheets/application.scss */
.create-doc-ghost-btn:hover {
  background: #f1f3f4;
}

/* line 24473, 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 24487, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:hover {
  background: #234a84;
}

/* line 24491, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 24496, app/assets/stylesheets/application.scss */
.create-doc-primary-btn-block {
  width: 100%;
}

/* line 24500, 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 24512, app/assets/stylesheets/application.scss */
.create-doc-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 24520, app/assets/stylesheets/application.scss */
.create-doc-result.hidden,
.create-doc-result[hidden] {
  display: none !important;
}

/* line 24525, app/assets/stylesheets/application.scss */
.create-doc-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e4e7ec;
}

/* line 24530, 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 24540, app/assets/stylesheets/application.scss */
.create-doc-name-field i {
  color: #2b579a;
}

/* line 24544, app/assets/stylesheets/application.scss */
.create-doc-name-field .create-doc-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 24551, app/assets/stylesheets/application.scss */
.create-doc-ext {
  color: #667085;
  font-size: 13px;
}

/* line 24556, 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 24565, app/assets/stylesheets/application.scss */
.create-doc-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 24572, 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 24580, 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 24592, 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 24602, app/assets/stylesheets/application.scss */
.create-doc-docx-mount {
  min-height: 520px;
}

/* line 24606, app/assets/stylesheets/application.scss */
.create-doc-docx-mount .docx-wrapper {
  background: transparent;
  padding: 0;
}

/* line 24611, 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 24616, app/assets/stylesheets/application.scss */
.create-doc-block {
  margin: 0 0 12px;
  line-height: 1.55;
  font-size: 15px;
}

/* line 24622, app/assets/stylesheets/application.scss */
.create-doc-block-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* line 24629, app/assets/stylesheets/application.scss */
.create-doc-block-paragraph {
  text-indent: 1.5em;
}

/* line 24633, app/assets/stylesheets/application.scss */
.create-doc-block-bullet {
  padding-left: 0.5em;
  text-indent: 0;
}

/* line 24638, app/assets/stylesheets/application.scss */
.create-doc-block-signature {
  margin-top: 28px;
  white-space: pre-wrap;
  min-height: 96px;
}

/* line 24644, 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 24651, app/assets/stylesheets/application.scss */
.create-doc-block-signature-party {
  margin-top: 0;
  min-height: 120px;
}

@media (max-width: 640px) {
  /* line 24657, app/assets/stylesheets/application.scss */
  .create-doc-signature-row {
    grid-template-columns: 1fr;
  }
}

/* line 24662, app/assets/stylesheets/application.scss */
.create-doc-block-spacer {
  height: 18px;
}

/* line 24666, 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 24675, 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 24686, app/assets/stylesheets/application.scss */
.create-doc-overlay.hidden,
.create-doc-overlay[hidden] {
  display: none !important;
}

/* line 24691, 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 24700, 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 24710, 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 24721, 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 24729, 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 24747, app/assets/stylesheets/application.scss */
.create-doc-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 24753, app/assets/stylesheets/application.scss */
.create-doc-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #667085;
}

/* line 24759, app/assets/stylesheets/application.scss */
.create-doc-generating-note {
  margin-top: 4px !important;
}

/* line 24763, 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 24780, app/assets/stylesheets/application.scss */
  .create-doc-rail {
    display: none;
  }
  /* line 24784, app/assets/stylesheets/application.scss */
  .create-doc-scroll {
    padding: 18px 16px 12px;
  }
  /* line 24788, app/assets/stylesheets/application.scss */
  .create-doc-footer {
    padding: 12px 16px 16px;
  }
  /* line 24792, app/assets/stylesheets/application.scss */
  .create-doc-heading {
    font-size: 22px;
  }
  /* line 24796, app/assets/stylesheets/application.scss */
  .create-doc-category-grid {
    grid-template-columns: 1fr;
  }
  /* line 24800, app/assets/stylesheets/application.scss */
  .create-doc-result-body {
    grid-template-columns: 1fr;
  }
  /* line 24804, app/assets/stylesheets/application.scss */
  .create-doc-result-actions {
    border-left: 0;
    border-top: 1px solid #e4e7ec;
  }
  /* line 24809, app/assets/stylesheets/application.scss */
  .create-doc-paper {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  /* line 24815, app/assets/stylesheets/application.scss */
  .create-doc-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 24820, app/assets/stylesheets/application.scss */
  .create-doc-tones {
    grid-template-columns: 1fr;
  }
}

/* —— PDF tools (web) —— */
/* line 24826, 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 24838, app/assets/stylesheets/application.scss */
  .pdf-tools {
    position: fixed;
    z-index: 80;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* line 24846, app/assets/stylesheets/application.scss */
.pdf-tools.hidden,
.pdf-tools[hidden] {
  display: none !important;
}

/* line 24851, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy {
  cursor: progress;
}

/* line 24855, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy .pdf-tools-btn.is-primary {
  opacity: 0.7;
  pointer-events: none;
}

/* line 24860, app/assets/stylesheets/application.scss */
.pdf-tools-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 24868, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* line 24875, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav .pdf-tools-segment {
  flex: 1;
  min-width: 0;
}

/* line 24880, 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 24894, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:hover:not(:disabled) {
  background: #f1f3f4;
}

/* line 24898, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 24903, app/assets/stylesheets/application.scss */
.pdf-tools-panel {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 24909, app/assets/stylesheets/application.scss */
.pdf-tools-panel.hidden,
.pdf-tools-panel[hidden] {
  display: none !important;
}

/* line 24914, 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 24923, app/assets/stylesheets/application.scss */
.pdf-tools-hero {
  margin-bottom: 8px;
}

/* line 24927, 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 24940, app/assets/stylesheets/application.scss */
.pdf-tools-badge {
  width: 52px;
  height: 52px;
  font-size: 15px;
  margin-bottom: 14px;
}

/* line 24947, app/assets/stylesheets/application.scss */
.pdf-tools-badge-mini {
  width: 28px;
  height: 28px;
  font-size: 9px;
  border-radius: 6px;
  flex: 0 0 auto;
}

/* line 24955, app/assets/stylesheets/application.scss */
.pdf-tools-hero h3 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* line 24962, app/assets/stylesheets/application.scss */
.pdf-tools-hero p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.45;
  max-width: 42ch;
}

/* line 24970, 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 24985, app/assets/stylesheets/application.scss */
.pdf-tools-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 64, 67, 0.12);
}

/* line 24990, 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 25002, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-create {
  background: linear-gradient(145deg, #4285f4, #1a73e8);
}

/* line 25006, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-edit {
  background: linear-gradient(145deg, #fb8c00, #ef6c00);
}

/* line 25010, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-organize {
  background: linear-gradient(145deg, #8e24aa, #6a1b9a);
}

/* line 25014, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

/* line 25022, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 25027, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy span {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 25033, app/assets/stylesheets/application.scss */
.pdf-tools-card-chevron {
  color: #b0b3b8;
  font-size: 12px;
}

/* line 25038, 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 25048, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 25056, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 25062, 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 25078, app/assets/stylesheets/application.scss */
.pdf-tools-btn:hover:not(:disabled) {
  background: #d2e3fc;
}

/* line 25082, app/assets/stylesheets/application.scss */
.pdf-tools-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 25087, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary {
  background: #1a73e8;
  color: #fff;
}

/* line 25092, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary:hover:not(:disabled) {
  background: #1765cc;
}

/* line 25096, app/assets/stylesheets/application.scss */
.pdf-tools-btn-block {
  width: 100%;
}

/* line 25100, app/assets/stylesheets/application.scss */
.pdf-tools-name-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 25106, app/assets/stylesheets/application.scss */
.pdf-tools-name-row label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 25112, 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 25124, 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 25131, 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 25143, app/assets/stylesheets/application.scss */
.pdf-tools-empty i {
  font-size: 42px;
  color: #b0b3b8;
  margin-bottom: 4px;
}

/* line 25149, app/assets/stylesheets/application.scss */
.pdf-tools-empty strong {
  font-size: 20px;
  color: #202124;
}

/* line 25154, app/assets/stylesheets/application.scss */
.pdf-tools-empty p {
  margin: 0 0 8px;
  max-width: 36ch;
  line-height: 1.45;
  font-size: 14px;
}

/* line 25161, 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 25169, 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 25176, 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 25185, app/assets/stylesheets/application.scss */
.pdf-tools-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

/* line 25191, 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 25204, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-dragging {
  opacity: 0.45;
}

/* line 25208, 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 25218, 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 25229, app/assets/stylesheets/application.scss */
.pdf-tools-page-num {
  font-size: 28px;
  font-weight: 750;
  color: #202124;
}

/* line 25235, app/assets/stylesheets/application.scss */
.pdf-tools-page-card > span {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 25241, 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 25259, 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 25266, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-selected .pdf-tools-check {
  color: #1a73e8;
}

/* line 25270, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-add {
  cursor: pointer;
}

/* line 25274, 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 25289, app/assets/stylesheets/application.scss */
.pdf-tools-add-inner i {
  font-size: 28px;
}

/* line 25293, app/assets/stylesheets/application.scss */
.pdf-tools-edit-reading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 420px;
}

/* line 25300, 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 25309, 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 25319, 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 25328, 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 25340, 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 25346, 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 25356, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 25364, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 25371, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta span {
  font-size: 12px;
  color: #80868b;
}

/* line 25376, app/assets/stylesheets/application.scss */
.pdf-tools-file-actions {
  display: flex;
  gap: 2px;
}

/* line 25381, 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 25392, app/assets/stylesheets/application.scss */
.pdf-tools-modal.hidden,
.pdf-tools-modal[hidden] {
  display: none !important;
}

/* line 25397, 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 25408, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-sm {
  width: min(380px, 100%);
}

/* line 25412, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-output {
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
}

/* line 25417, 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 25426, app/assets/stylesheets/application.scss */
.pdf-tools-output-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  background: #fff;
}

/* line 25435, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 25442, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

/* line 25448, app/assets/stylesheets/application.scss */
.pdf-tools-output-icon {
  width: 58px;
  height: 58px;
  font-size: 16px;
  margin: 8px auto 0;
}

/* line 25455, app/assets/stylesheets/application.scss */
.pdf-tools-output-name {
  text-align: center;
  font-weight: 650;
  margin: 0 0 6px;
  word-break: break-word;
}

/* line 25462, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-message {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 25468, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* line 25475, 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 25491, app/assets/stylesheets/application.scss */
.pdf-tools-toast.hidden,
.pdf-tools-toast[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  /* line 25497, app/assets/stylesheets/application.scss */
  .pdf-tools-modal {
    align-items: center;
  }
}

@media (max-width: 640px) {
  /* line 25503, app/assets/stylesheets/application.scss */
  .pdf-tools-home {
    padding: 18px 14px 28px;
  }
  /* line 25507, app/assets/stylesheets/application.scss */
  .pdf-tools-hero h3 {
    font-size: 24px;
  }
  /* line 25511, app/assets/stylesheets/application.scss */
  .pdf-tools-workflow {
    padding: 12px 12px 28px;
  }
  /* line 25515, app/assets/stylesheets/application.scss */
  .pdf-tools-preview-frame {
    min-height: 360px;
    height: 48vh;
  }
  /* line 25520, app/assets/stylesheets/application.scss */
  .pdf-tools-toolbar-left {
    width: 100%;
  }
  /* line 25524, app/assets/stylesheets/application.scss */
  .pdf-tools-btn {
    flex: 1 1 auto;
  }
}

/* line 25529, app/assets/stylesheets/application.scss */
.pdf-tools-scanner {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  background: #0f1115;
  color: #fff;
}

/* line 25538, app/assets/stylesheets/application.scss */
.pdf-tools-scanner.hidden,
.pdf-tools-scanner[hidden] {
  display: none !important;
}

/* line 25543, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* line 25551, 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 25560, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 25568, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap strong {
  font-size: 15px;
  font-weight: 700;
}

/* line 25573, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* line 25578, 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 25584, 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 25589, 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 25600, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* line 25607, 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 25616, 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 25625, 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 25633, 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 25641, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

/* line 25649, 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 25658, 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 25672, 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 25681, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumbs[hidden] {
  display: none !important;
}

/* line 25685, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
}

/* line 25691, 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 25700, 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 25717, 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 25727, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-footer .pdf-tools-btn {
  justify-self: start;
}

/* line 25731, 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 25744, 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 25755, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

/* line 25763, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter:active span {
  transform: scale(0.92);
  background: #e8f0fe;
}

@media (max-width: 900px) {
  /* line 25769, app/assets/stylesheets/application.scss */
  .pdf-tools-scanner {
    position: fixed;
    z-index: 90;
  }
}

/* line 25775, app/assets/stylesheets/application.scss */
body.pdf-tools-open .perk-workspace-center {
  position: relative;
}

/* —— AI Tutor (web) —— */
/* line 25780, 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 25791, app/assets/stylesheets/application.scss */
.ai-tutor.hidden,
.ai-tutor[hidden] {
  display: none !important;
}

/* line 25796, app/assets/stylesheets/application.scss */
.ai-tutor-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 25804, 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 25814, app/assets/stylesheets/application.scss */
.ai-tutor-title-wrap {
  flex: 1;
  min-width: 0;
}

/* line 25819, app/assets/stylesheets/application.scss */
.ai-tutor-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

/* line 25827, app/assets/stylesheets/application.scss */
.ai-tutor-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 25833, 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 25847, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn:hover {
  background: #e8eaed;
}

/* line 25851, 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 25866, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn:hover {
  background: #f8f9fa;
}

/* line 25870, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn.is-danger {
  color: #c5221f;
  border-color: #f6aea9;
}

/* line 25875, 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 25889, app/assets/stylesheets/application.scss */
.ai-tutor-primary-btn:hover {
  background: #1765cc;
}

/* line 25893, app/assets/stylesheets/application.scss */
.ai-tutor-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 0;
  flex: 1;
}

/* line 25900, 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 25909, app/assets/stylesheets/application.scss */
.ai-tutor-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px;
}

/* line 25916, app/assets/stylesheets/application.scss */
.ai-tutor-sidebar-head strong {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5f6368;
}

/* line 25923, 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 25932, 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 25948, app/assets/stylesheets/application.scss */
.ai-tutor-subject:hover,
.ai-tutor-subject-add:hover {
  background: #f1f3f4;
}

/* line 25953, app/assets/stylesheets/application.scss */
.ai-tutor-subject.is-active {
  background: #e8f0fe;
  color: #174ea6;
}

/* line 25958, 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;
  overflow: hidden;
}

/* line 25971, app/assets/stylesheets/application.scss */
.ai-tutor-subject-icon.has-avatar {
  background: #fff;
  padding: 0;
}

/* line 25976, app/assets/stylesheets/application.scss */
.ai-tutor-subject-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 25982, app/assets/stylesheets/application.scss */
.ai-tutor-subject.is-active .ai-tutor-subject-icon {
  background: #d2e3fc;
  color: #174ea6;
}

/* line 25987, app/assets/stylesheets/application.scss */
.ai-tutor-subject-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

/* line 25994, app/assets/stylesheets/application.scss */
.ai-tutor-subject-add {
  color: #5f6368;
}

/* line 25998, app/assets/stylesheets/application.scss */
.ai-tutor-quick-add {
  padding: 8px 14px 18px;
  border-top: 1px solid #f1f3f4;
}

/* line 26003, app/assets/stylesheets/application.scss */
.ai-tutor-quick-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #80868b;
  margin-bottom: 8px;
}

/* line 26011, app/assets/stylesheets/application.scss */
.ai-tutor-quick-chips,
.ai-tutor-chip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 26018, 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 26032, app/assets/stylesheets/application.scss */
.ai-tutor-chip:hover {
  background: #f8f9fa;
  border-color: #1a73e8;
  color: #174ea6;
}

/* line 26038, app/assets/stylesheets/application.scss */
.ai-tutor-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fff;
}

/* line 26047, 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 26058, 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 26071, app/assets/stylesheets/application.scss */
.ai-tutor-empty strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* line 26076, app/assets/stylesheets/application.scss */
.ai-tutor-empty p {
  margin: 0 0 12px;
  color: #5f6368;
  line-height: 1.5;
  font-size: 14px;
}

/* line 26083, app/assets/stylesheets/application.scss */
.ai-tutor-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 26090, 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 26099, 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 26110, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 26116, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text strong {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 26123, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text span {
  font-size: 12px;
  color: #80868b;
}

/* line 26128, app/assets/stylesheets/application.scss */
.ai-tutor-chat-actions {
  display: flex;
  gap: 6px;
}

/* line 26133, app/assets/stylesheets/application.scss */
.ai-tutor-modes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}

/* line 26140, 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 26151, app/assets/stylesheets/application.scss */
.ai-tutor-mode.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 26157, 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 26165, 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 26173, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane {
  border-right: 1px solid #e8eaed;
}

/* line 26177, app/assets/stylesheets/application.scss */
.ai-tutor-mastery-pane {
  border-left: 1px solid #e8eaed;
}

/* line 26181, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 26189, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head strong {
  font-size: 13px;
}

/* line 26193, 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 26202, app/assets/stylesheets/application.scss */
.ai-tutor-notes-label {
  display: block;
  font-weight: 650;
  margin: 12px 0 6px;
}

/* line 26208, 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 26218, app/assets/stylesheets/application.scss */
.ai-tutor-notes-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* line 26224, app/assets/stylesheets/application.scss */
.ai-tutor-material-list,
.ai-tutor-concept-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 26231, 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 26243, app/assets/stylesheets/application.scss */
.ai-tutor-material span,
.ai-tutor-concept-row strong {
  display: block;
}

/* line 26248, app/assets/stylesheets/application.scss */
.ai-tutor-material em {
  margin-left: auto;
  font-style: normal;
  color: #80868b;
  font-size: 11px;
}

/* line 26255, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row.is-current {
  border-color: #1a73e8;
  background: #e8f0fe;
}

/* line 26260, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row span {
  color: #5f6368;
  font-size: 11px;
}

/* line 26265, 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 26274, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-introduced {
  background: #fbbc04;
}

/* line 26275, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-developing {
  background: #1a73e8;
}

/* line 26276, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-proficient {
  background: #34a853;
}

/* line 26277, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-mastered {
  background: #0b8043;
}

/* line 26279, app/assets/stylesheets/application.scss */
.ai-tutor-mastery-total {
  font-size: 12px;
  font-weight: 700;
  color: #174ea6;
}

/* line 26285, app/assets/stylesheets/application.scss */
.ai-tutor-pane-toggle {
  display: none;
}

/* line 26289, 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: 16px;
  background: #fff;
}

/* line 26300, 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 26308, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-user {
  justify-content: flex-end;
}

/* line 26312, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot {
  justify-content: flex-start;
}

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

/* line 26323, 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 26332, 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 26344, app/assets/stylesheets/application.scss */
.ai-tutor-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

/* line 26353, 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 26362, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot .ai-tutor-msg {
  max-width: 100%;
}

/* line 26366, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: #202124;
}

/* line 26372, 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 26382, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 26387, 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 26396, 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 26412, 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 26418, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-wrap {
  position: relative;
}

/* line 26422, 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 26435, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu.hidden {
  display: none !important;
}

/* line 26439, 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 26451, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu button:hover {
  background: #f3f4f6;
}

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

/* line 26459, 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 26471, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-status:empty {
  display: none;
}

/* line 26475, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:first-child {
  margin-top: 0;
}

/* line 26479, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:last-child {
  margin-bottom: 0;
}

/* line 26483, app/assets/stylesheets/application.scss */
.ai-tutor-msg-image {
  display: block;
  max-width: 240px;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* line 26490, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  margin-bottom: 6px;
}

/* line 26498, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-bar {
  position: relative;
  padding: 0 0 8px;
  display: flex;
  gap: 8px;
}

/* line 26505, 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 26518, 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 26531, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-menu button:hover {
  background: #f1f3f4;
}

/* line 26535, 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 26544, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-custom-label {
  font-size: 11px;
  font-weight: 650;
  color: #5f6b7a;
  margin: 4px 6px 0;
}

/* line 26551, 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 26561, 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 26570, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-confirm:hover {
  background: #1765cc !important;
}

/* line 26574, 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 26586, app/assets/stylesheets/application.scss */
.ai-tutor-attach-preview img {
  height: 56px;
  width: auto;
  border-radius: 8px;
}

/* line 26592, 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 26605, 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 26613, app/assets/stylesheets/application.scss */
.ai-tutor-form {
  padding: 0;
  background: transparent;
}

/* line 26618, 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 26629, 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 26639, app/assets/stylesheets/application.scss */
.ai-tutor-trailing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

/* line 26646, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn {
  background: transparent;
  color: #5f6368;
}

/* line 26651, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn:hover {
  background: #f1f3f4;
  color: #3c4043;
}

/* line 26656, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn.is-recording {
  background: #fee2e2;
  color: #dc2626;
}

/* line 26661, 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 26674, app/assets/stylesheets/application.scss */
.ai-tutor-send-btn:hover {
  background: #1765cc;
}

/* line 26678, 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 26691, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-composer {
  display: none;
}

/* line 26695, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-recording {
  display: flex;
}

/* line 26699, app/assets/stylesheets/application.scss */
.ai-tutor-recording.hidden {
  display: none !important;
}

/* line 26703, 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 26717, 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 26728, 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 26737, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-transcribing {
  opacity: 0.85;
  pointer-events: none;
}

/* line 26742, 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 26750, 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 26758, 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 26772, 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 26785, 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 26801, 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 26809, app/assets/stylesheets/application.scss */
.ai-tutor-history-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 26814, app/assets/stylesheets/application.scss */
.ai-tutor-history-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
}

/* line 26827, app/assets/stylesheets/application.scss */
.ai-tutor-history-item:hover,
.ai-tutor-history-item.is-active {
  background: #e8f0fe;
}

/* line 26832, app/assets/stylesheets/application.scss */
.ai-tutor-history-item strong {
  font-size: 13px;
}

/* line 26836, app/assets/stylesheets/application.scss */
.ai-tutor-history-item span {
  font-size: 11px;
  color: #80868b;
}

/* line 26841, app/assets/stylesheets/application.scss */
.ai-tutor-muted {
  color: #80868b;
  font-size: 13px;
  padding: 12px;
  margin: 0;
}

/* line 26848, 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 26859, 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 26867, app/assets/stylesheets/application.scss */
.ai-tutor-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* line 26874, 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 26884, 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 26893, 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 26899, app/assets/stylesheets/application.scss */
.ai-tutor-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

/* line 26905, 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 26914, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option:hover,
.ai-tutor-icon-option.is-selected {
  border-color: #1a73e8;
  background: #e8f0fe;
  color: #174ea6;
}

/* line 26921, app/assets/stylesheets/application.scss */
.ai-tutor-editor-error {
  color: #c5221f;
  font-size: 13px;
  margin: 0 0 10px;
}

/* line 26927, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

/* line 26935, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions-right {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* line 26941, app/assets/stylesheets/application.scss */
body.ai-tutor-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 26946, app/assets/stylesheets/application.scss */
  .ai-tutor-layout {
    grid-template-columns: 1fr;
  }
  /* line 26950, app/assets/stylesheets/application.scss */
  .ai-tutor-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e8eaed;
    max-height: 180px;
  }
  /* line 26956, app/assets/stylesheets/application.scss */
  .ai-tutor-subject-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
  }
  /* line 26963, app/assets/stylesheets/application.scss */
  .ai-tutor-subject,
.ai-tutor-subject-add {
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
  }
  /* line 26970, app/assets/stylesheets/application.scss */
  .ai-tutor-subtitle,
.ai-tutor-topbar .ai-tutor-text-btn span {
    display: none;
  }
  /* line 26975, app/assets/stylesheets/application.scss */
  .ai-tutor-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 26979, 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 26990, app/assets/stylesheets/application.scss */
  .ai-tutor-lecture-pane {
    left: 0;
  }
  /* line 26994, app/assets/stylesheets/application.scss */
  .ai-tutor-mastery-pane {
    right: 0;
  }
  /* line 26998, 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 27003, app/assets/stylesheets/application.scss */
  .ai-tutor-pane-toggle {
    display: inline-flex;
  }
  /* line 27007, app/assets/stylesheets/application.scss */
  .ai-tutor-modes {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  /* line 27015, app/assets/stylesheets/application.scss */
  .ai-tutor-topbar {
    padding: 12px;
  }
  /* line 27019, app/assets/stylesheets/application.scss */
  .ai-tutor-messages {
    padding: 14px var(--hub-ai-chat-gutter) calc(132px + env(safe-area-inset-bottom, 0px));
  }
  /* line 27023, app/assets/stylesheets/application.scss */
  .ai-tutor-composer-dock {
    padding: 12px var(--hub-ai-chat-gutter) 0;
  }
  /* line 27027, app/assets/stylesheets/application.scss */
  .ai-tutor-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— File share modal (iOS Send-to look) —— */
/* line 27033, 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 27045, app/assets/stylesheets/application.scss */
.file-share-modal.hidden,
.file-share-modal[hidden] {
  display: none;
}

/* line 27050, 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 27062, 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 27071, app/assets/stylesheets/application.scss */
.file-share-head h3 {
  margin: 0;
  text-align: center;
  color: #111;
  font-size: 17px;
  font-weight: 700;
}

/* line 27079, 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 27091, app/assets/stylesheets/application.scss */
.file-share-done:hover {
  opacity: 0.75;
}

/* line 27095, app/assets/stylesheets/application.scss */
.file-share-head-spacer {
  justify-self: end;
  width: 1px;
  height: 1px;
}

/* line 27101, 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 27109, app/assets/stylesheets/application.scss */
.file-share-file-name:not([hidden]) {
  display: block;
}

/* line 27113, 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 27125, app/assets/stylesheets/application.scss */
.file-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 27130, 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 27141, app/assets/stylesheets/application.scss */
.file-share-search input::placeholder {
  color: #8e8e93;
}

/* line 27145, 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 27156, app/assets/stylesheets/application.scss */
.file-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  font-size: 14px;
  text-align: center;
}

/* line 27163, 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 27176, app/assets/stylesheets/application.scss */
.file-share-person:last-child {
  border-bottom: 0;
}

/* line 27180, 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 27194, app/assets/stylesheets/application.scss */
.file-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 27201, app/assets/stylesheets/application.scss */
.file-share-person-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 27209, 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 27218, 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 27231, app/assets/stylesheets/application.scss */
.file-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 27235, app/assets/stylesheets/application.scss */
.file-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 27240, 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 27249, 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 27266, app/assets/stylesheets/application.scss */
.file-share-channel:hover {
  background: #f6f7f8;
}

/* line 27270, 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 27281, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 27285, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-whatsapp {
  background: #25d366;
  border-radius: 50%;
}

/* line 27290, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-x {
  background: #111;
}

/* line 27294, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-email {
  background: #6b7280;
}

/* line 27298, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-copy {
  background: #111;
}

/* line 27302, app/assets/stylesheets/application.scss */
.file-share-status {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 13px;
  color: #4b5563;
}

/* line 27309, app/assets/stylesheets/application.scss */
.file-share-status.is-ok {
  color: #0f766e;
}

/* line 27313, app/assets/stylesheets/application.scss */
.file-share-status.is-error {
  color: #c62828;
}

@media (min-width: 641px) {
  /* line 27318, app/assets/stylesheets/application.scss */
  .file-share-modal {
    align-items: center;
    padding: 24px;
  }
  /* line 27323, app/assets/stylesheets/application.scss */
  .file-share-card {
    border-radius: 18px;
    max-height: min(86vh, 720px);
  }
}

/* —— Find a job / Kiếm việc —— */
/* line 27330, 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 27340, app/assets/stylesheets/application.scss */
.job-seeking.hidden,
.job-seeking[hidden] {
  display: none !important;
}

/* line 27345, app/assets/stylesheets/application.scss */
.job-seeking-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* line 27352, 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 27365, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn:hover {
  background: #e2e8f0;
}

/* line 27369, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn.is-danger {
  color: #c62828;
}

/* line 27373, 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 27387, app/assets/stylesheets/application.scss */
.job-seeking-text-btn:hover {
  background: #e2e8f0;
}

/* line 27391, 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 27406, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:hover {
  background: #185a75;
}

/* line 27410, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 27415, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn-block {
  width: 100%;
}

/* line 27419, 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 27434, 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 27449, app/assets/stylesheets/application.scss */
.job-seeking-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* line 27456, app/assets/stylesheets/application.scss */
.job-seeking-sidebar {
  border-right: 1px solid #e3e8ee;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 27464, 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 27472, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-head strong {
  font-size: 13px;
  color: #5f6b7a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 27479, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* line 27486, app/assets/stylesheets/application.scss */
.job-seeking-list {
  flex: 1;
  overflow: auto;
  padding: 4px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 27495, 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 27510, app/assets/stylesheets/application.scss */
.job-seeking-app:hover {
  background: #f3f6f9;
}

/* line 27514, app/assets/stylesheets/application.scss */
.job-seeking-app.is-active {
  background: rgba(31, 107, 140, 0.1);
}

/* line 27518, app/assets/stylesheets/application.scss */
.job-seeking-score-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31, 107, 140, 0.12);
  color: #1f6b8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

/* line 27533, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.is-empty {
  font-size: 16px;
}

/* line 27537, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 27542, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 27548, app/assets/stylesheets/application.scss */
.job-seeking-score-pip {
  position: absolute;
  right: -2px;
  bottom: -2px;
  min-width: 18px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #1f6b8c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 27565, app/assets/stylesheets/application.scss */
.job-seeking-app-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 27572, 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 27580, app/assets/stylesheets/application.scss */
.job-seeking-app-text span {
  font-size: 12px;
  color: #5f6b7a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 27588, app/assets/stylesheets/application.scss */
.job-seeking-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 27595, 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 27606, 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 27618, app/assets/stylesheets/application.scss */
.job-seeking-empty strong {
  font-size: 18px;
  color: #12263a;
}

/* line 27623, app/assets/stylesheets/application.scss */
.job-seeking-empty p {
  margin: 0;
  max-width: 420px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.45;
}

/* line 27631, 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 27639, app/assets/stylesheets/application.scss */
.job-seeking-bottom-bar.hidden,
.job-seeking-bottom-bar[hidden] {
  display: none !important;
}

/* line 27644, app/assets/stylesheets/application.scss */
.job-seeking-detail {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 27651, app/assets/stylesheets/application.scss */
.job-seeking-detail.hidden,
.job-seeking-detail[hidden] {
  display: none !important;
}

/* line 27656, 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 27664, app/assets/stylesheets/application.scss */
.job-seeking-detail-identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 27671, app/assets/stylesheets/application.scss */
.job-seeking-detail-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(31, 107, 140, 0.12);
  color: #1f6b8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

/* line 27684, app/assets/stylesheets/application.scss */
.job-seeking-detail-avatar.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 27689, app/assets/stylesheets/application.scss */
.job-seeking-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 27695, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 27702, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text strong {
  font-size: 22px;
  color: #12263a;
}

/* line 27707, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text span {
  font-size: 13px;
  color: #5f6b7a;
}

/* line 27712, app/assets/stylesheets/application.scss */
.job-seeking-detail-actions {
  display: flex;
  gap: 6px;
}

/* line 27717, 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 27727, app/assets/stylesheets/application.scss */
.job-seeking-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* line 27733, 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 27743, app/assets/stylesheets/application.scss */
.job-seeking-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f6b8c;
  font-size: 14px;
}

/* line 27751, app/assets/stylesheets/application.scss */
.job-seeking-muted {
  margin: 0;
  font-size: 13px;
  color: #5f6b7a;
}

/* line 27757, app/assets/stylesheets/application.scss */
.job-seeking-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 27763, 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 27777, app/assets/stylesheets/application.scss */
.job-seeking-chip:hover {
  background: #e2e8f0;
}

/* line 27781, app/assets/stylesheets/application.scss */
.job-seeking-field-label {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
}

/* line 27787, 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 27801, 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 27808, app/assets/stylesheets/application.scss */
.job-seeking-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

/* line 27815, app/assets/stylesheets/application.scss */
.job-seeking-error {
  margin: 0;
  color: #c62828;
  font-size: 13px;
}

/* line 27821, app/assets/stylesheets/application.scss */
.job-seeking-disclaimer {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 27827, app/assets/stylesheets/application.scss */
.job-seeking-score-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

/* line 27834, app/assets/stylesheets/application.scss */
.job-seeking-score-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* line 27840, app/assets/stylesheets/application.scss */
.job-seeking-score-big span {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

/* line 27846, app/assets/stylesheets/application.scss */
.job-seeking-score-big small {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
}

/* line 27852, 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 27861, app/assets/stylesheets/application.scss */
.job-seeking-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #243447;
}

/* line 27868, app/assets/stylesheets/application.scss */
.job-seeking-dims {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 27874, app/assets/stylesheets/application.scss */
.job-seeking-radar-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

/* line 27880, app/assets/stylesheets/application.scss */
.job-seeking-radar {
  width: min(100%, 300px);
  height: auto;
  display: block;
}

/* line 27886, app/assets/stylesheets/application.scss */
.job-seeking-radar-label {
  font-size: 10px;
  font-weight: 650;
  fill: #5f6b7a;
}

/* line 27892, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart {
  margin: 8px 0 4px;
}

/* line 27896, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-title {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
  margin-bottom: 8px;
}

/* line 27903, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 140px;
}

/* line 27910, 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 27920, app/assets/stylesheets/application.scss */
.job-seeking-bar-score {
  font-size: 11px;
  font-weight: 700;
  color: #1f6b8c;
  font-variant-numeric: tabular-nums;
}

/* line 27927, app/assets/stylesheets/application.scss */
.job-seeking-bar-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 4px 4px;
  display: block;
}

/* line 27934, 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 27943, app/assets/stylesheets/application.scss */
.job-seeking-tutor-cta {
  margin-top: 4px;
}

/* line 27947, app/assets/stylesheets/application.scss */
.job-seeking-dim-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}

/* line 27955, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar {
  height: 6px;
  border-radius: 999px;
  background: #e8eef3;
  overflow: hidden;
}

/* line 27962, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar span {
  display: block;
  height: 100%;
  background: #1f6b8c;
}

/* line 27968, app/assets/stylesheets/application.scss */
.job-seeking-dim p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 27974, 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 27984, app/assets/stylesheets/application.scss */
.job-seeking-bullets li {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: normal;
}

/* line 27990, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green {
  list-style: disc;
}

/* line 27991, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange {
  list-style: disc;
}

/* line 27992, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent {
  list-style: disc;
}

/* line 27993, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple {
  list-style: disc;
}

/* line 27995, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green li::marker {
  color: #0f9d58;
}

/* line 27996, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange li::marker {
  color: #f4a261;
}

/* line 27997, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent li::marker {
  color: #1f6b8c;
}

/* line 27998, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple li::marker {
  color: #7b61ff;
}

/* line 28000, app/assets/stylesheets/application.scss */
.job-seeking-modal {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* line 28012, app/assets/stylesheets/application.scss */
.job-seeking-modal.hidden,
.job-seeking-modal[hidden] {
  display: none !important;
}

/* line 28017, app/assets/stylesheets/application.scss */
.job-seeking-modal-card {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

/* line 28028, app/assets/stylesheets/application.scss */
.job-seeking-create-card {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

/* line 28034, app/assets/stylesheets/application.scss */
.job-seeking-create-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 28041, app/assets/stylesheets/application.scss */
.job-seeking-create-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(31, 107, 140, 0.12);
  color: #1f6b8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 16px;
  overflow: hidden;
}

/* line 28055, app/assets/stylesheets/application.scss */
.job-seeking-create-icon.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 28060, app/assets/stylesheets/application.scss */
.job-seeking-create-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 28066, app/assets/stylesheets/application.scss */
.job-seeking-logo-picker {
  margin-top: 10px;
}

/* line 28070, app/assets/stylesheets/application.scss */
.job-seeking-logo-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 28078, app/assets/stylesheets/application.scss */
.job-seeking-logo-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

/* line 28085, app/assets/stylesheets/application.scss */
.job-seeking-logo-option {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  padding: 0;
  overflow: hidden;
  flex: 0 0 auto;
  cursor: pointer;
}

/* line 28097, app/assets/stylesheets/application.scss */
.job-seeking-logo-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 28104, app/assets/stylesheets/application.scss */
.job-seeking-logo-option.is-selected {
  border-color: #1f6b8c;
}

/* line 28108, app/assets/stylesheets/application.scss */
.job-seeking-logo-picker-head .job-seeking-spinner {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

/* line 28114, app/assets/stylesheets/application.scss */
.job-seeking-create-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 28121, app/assets/stylesheets/application.scss */
.job-seeking-create-copy strong {
  font-size: 17px;
  font-weight: 700;
  color: #12263a;
  letter-spacing: -0.01em;
}

/* line 28128, app/assets/stylesheets/application.scss */
.job-seeking-create-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #5f6b7a;
}

/* line 28135, app/assets/stylesheets/application.scss */
.job-seeking-create-fields {
  display: flex;
  flex-direction: column;
  padding: 4px 20px 8px;
}

/* line 28141, app/assets/stylesheets/application.scss */
.job-seeking-create-fields .job-seeking-field {
  padding: 12px 0;
  border-bottom: 1px solid #e8eef3;
}

/* line 28146, app/assets/stylesheets/application.scss */
.job-seeking-create-fields .job-seeking-field:last-child {
  border-bottom: 0;
}

/* line 28150, app/assets/stylesheets/application.scss */
.job-seeking-create-card .job-seeking-error {
  margin: 0 20px 4px;
}

/* line 28154, app/assets/stylesheets/application.scss */
.job-seeking-create-card .job-seeking-modal-head {
  padding: 18px 18px 12px 20px;
  align-items: flex-start;
}

/* line 28159, app/assets/stylesheets/application.scss */
.job-seeking-create-card .job-seeking-modal-actions {
  margin: 0;
  padding: 14px 20px 18px;
  background: #f8fafc;
  border-top: 1px solid #e8eef3;
}

/* line 28166, app/assets/stylesheets/application.scss */
.job-seeking-drive-card {
  width: min(100%, 520px);
  max-height: min(80vh, 640px);
}

/* line 28171, app/assets/stylesheets/application.scss */
.job-seeking-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 28178, app/assets/stylesheets/application.scss */
.job-seeking-modal-head strong {
  font-size: 16px;
  font-weight: 700;
  color: #12263a;
}

/* line 28184, app/assets/stylesheets/application.scss */
.job-seeking-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

/* line 28191, app/assets/stylesheets/application.scss */
.job-seeking-modal-actions .job-seeking-primary-btn,
.job-seeking-modal-actions .job-seeking-ghost-btn {
  min-width: 96px;
}

/* line 28196, app/assets/stylesheets/application.scss */
.job-seeking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 28202, app/assets/stylesheets/application.scss */
.job-seeking-drive-list {
  overflow: auto;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 28210, 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 28224, app/assets/stylesheets/application.scss */
.job-seeking-drive-item:hover {
  background: #eef2f6;
}

/* line 28228, 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 28238, app/assets/stylesheets/application.scss */
.job-seeking-busy.hidden,
.job-seeking-busy[hidden] {
  display: none !important;
}

/* line 28243, 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 28254, 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 28267, app/assets/stylesheets/application.scss */
body.job-seeking-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 28272, app/assets/stylesheets/application.scss */
  .job-seeking-layout {
    grid-template-columns: 1fr;
  }
  /* line 28276, app/assets/stylesheets/application.scss */
  .job-seeking-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
    max-height: 220px;
  }
  /* line 28282, app/assets/stylesheets/application.scss */
  .job-seeking-panels {
    grid-template-columns: 1fr;
  }
  /* line 28286, app/assets/stylesheets/application.scss */
  .job-seeking-text-btn span {
    display: none;
  }
}

/* —— Chat media lightbox —— */
/* line 28292, app/assets/stylesheets/application.scss */
html.chat-media-viewer-open,
html.chat-media-viewer-open body {
  overflow: hidden;
}

/* line 28297, 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 28308, app/assets/stylesheets/application.scss */
.chat-media-viewer.hidden {
  display: none !important;
}

/* line 28312, 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 28323, 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 28334, 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 28344, 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 28358, 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 28373, app/assets/stylesheets/application.scss */
.chat-media-viewer-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* line 28378, 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 28397, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav:hover {
  background: rgba(150, 150, 158, 0.55);
}

/* line 28401, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav.is-prev {
  left: 18px;
}

/* line 28402, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav.is-next {
  right: 18px;
}

/* line 28403, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav[hidden] {
  display: none !important;
}

/* line 28405, 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 28413, 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 28426, 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 28440, app/assets/stylesheets/application.scss */
.chat-media-viewer-frame-top > * {
  pointer-events: auto;
}

/* line 28444, 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 28458, 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 28476, app/assets/stylesheets/application.scss */
.chat-media-viewer-meta[hidden] {
  visibility: hidden;
}

/* line 28480, 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 28489, 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 28498, 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 28514, app/assets/stylesheets/application.scss */
.chat-media-viewer-video-bar.hidden,
.chat-media-viewer-video-bar[hidden] {
  display: none !important;
}

/* line 28519, 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 28530, app/assets/stylesheets/application.scss */
.chat-media-viewer-seek {
  flex: 1;
  min-width: 0;
  accent-color: #fff;
  height: 4px;
}

/* line 28537, 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 28550, app/assets/stylesheets/application.scss */
.chat-media-viewer-mini-strip::-webkit-scrollbar {
  display: none;
}

/* line 28554, app/assets/stylesheets/application.scss */
.chat-media-viewer-mini-strip[hidden],
.chat-media-viewer-mini-strip:empty {
  display: none !important;
}

/* line 28559, 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 28574, 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 28583, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.04);
}

/* line 28587, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button.is-active {
  color: #e11d48;
}

/* line 28591, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 28596, 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 28607, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip::-webkit-scrollbar {
  display: none;
}

/* line 28611, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip[hidden],
.chat-media-viewer-filmstrip:empty {
  display: none !important;
}

/* line 28616, 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 28627, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb.is-mini {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

/* line 28633, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb.is-active {
  border-color: #2f6bff;
}

/* line 28637, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 28644, 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 28655, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media img,
.floating-ai-msg-media {
  cursor: zoom-in;
}

@media (max-width: 720px) {
  /* line 28661, app/assets/stylesheets/application.scss */
  .chat-media-viewer-chrome {
    padding: 10px 10px 12px;
  }
  /* line 28665, app/assets/stylesheets/application.scss */
  .chat-media-viewer-stage {
    padding: 4px 8px 8px;
  }
  /* line 28669, 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 28675, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  /* line 28681, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav.is-prev {
    left: 8px;
  }
  /* line 28682, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav.is-next {
    right: 8px;
  }
  /* line 28684, app/assets/stylesheets/application.scss */
  .chat-media-viewer-top-actions {
    top: 10px;
    right: 10px;
  }
  /* line 28689, app/assets/stylesheets/application.scss */
  .chat-media-viewer-filmstrip {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* line 28695, 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 28708, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-restore {
  display: flex;
}

/* line 28712, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-stage {
  visibility: hidden;
}

/* line 28716, 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 28725, app/assets/stylesheets/application.scss */
.perk-auth-restore p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

@keyframes perk-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— Smart Calendar —— */
/* Calendar hub — iOS Calendar functionality, web layout */
/* line 28737, app/assets/stylesheets/application.scss */
.calendar-hub {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

/* line 28755, app/assets/stylesheets/application.scss */
.calendar-hub-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

/* line 28762, app/assets/stylesheets/application.scss */
.calendar-hub-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 16px;
  overflow: auto;
  border-right: 1px solid #ececec;
  background: #fafafa;
}

/* line 28772, app/assets/stylesheets/application.scss */
.calendar-hub-sidebar-head,
.calendar-hub-toolbar,
.calendar-hub-toolbar-nav,
.calendar-hub-toolbar-actions,
.cal-sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 28782, app/assets/stylesheets/application.scss */
.calendar-hub-sidebar-head strong {
  flex: 1;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* line 28789, app/assets/stylesheets/application.scss */
.cal-icon-btn,
.cal-text-btn,
.calendar-hub-views button,
.cal-primary-btn,
.cal-danger-btn,
.cal-share-action,
.cal-calendar-toggle,
.cal-event-row {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

/* line 28804, app/assets/stylesheets/application.scss */
.cal-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111;
}

/* line 28815, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-accent,
.cal-text-btn.is-accent {
  background: #17191d;
  color: #fff;
}

/* line 28821, app/assets/stylesheets/application.scss */
.cal-icon-btn:hover,
.cal-text-btn:hover,
.calendar-hub-views button:hover {
  filter: brightness(0.97);
}

/* line 28827, app/assets/stylesheets/application.scss */
.cal-text-btn {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 13px;
  font-weight: 600;
  color: #17191d;
}

/* line 28836, app/assets/stylesheets/application.scss */
.cal-text-btn.is-accent {
  color: #fff;
}

/* line 28840, app/assets/stylesheets/application.scss */
.cal-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #8e8e93;
}

/* line 28850, app/assets/stylesheets/application.scss */
.cal-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: #111;
}

/* line 28859, app/assets/stylesheets/application.scss */
.calendar-hub-side-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  flex: 1 1 auto;
  max-height: none;
  padding: 12px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #ececec;
}

/* line 28873, app/assets/stylesheets/application.scss */
.calendar-hub-side-day-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 28879, app/assets/stylesheets/application.scss */
.calendar-hub-side-day-head strong {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}

/* line 28888, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-small {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

/* line 28894, app/assets/stylesheets/application.scss */
.calendar-hub-side-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}

/* line 28903, app/assets/stylesheets/application.scss */
.calendar-hub-side-day-list .cal-event-row {
  padding: 8px 2px;
  align-items: flex-start;
}

/* line 28908, app/assets/stylesheets/application.scss */
.calendar-hub-side-day-list .cal-event-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 28915, app/assets/stylesheets/application.scss */
.calendar-hub-side-day-list .cal-event-row strong {
  font-size: 13px;
  line-height: 1.25;
}

/* line 28920, app/assets/stylesheets/application.scss */
.calendar-hub-side-day-list .cal-event-row span {
  font-size: 11px;
}

/* line 28924, app/assets/stylesheets/application.scss */
.calendar-hub-side-block strong,
.cal-share-people-wrap > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8e8e93;
}

/* line 28935, app/assets/stylesheets/application.scss */
.calendar-hub-calendars,
.calendar-hub-side-block ul,
.calendar-hub-search-results,
.cal-sheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* line 28944, app/assets/stylesheets/application.scss */
.calendar-hub-calendars li,
.calendar-hub-side-block li {
  margin: 0;
}

/* line 28949, app/assets/stylesheets/application.scss */
.cal-calendar-toggle,
.cal-event-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 4px;
  text-align: left;
  border-radius: 10px;
}

/* line 28960, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:hover,
.cal-event-row:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 28965, app/assets/stylesheets/application.scss */
.cal-calendar-toggle i,
.cal-event-row i,
.calendar-hub-side-block li i {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  display: inline-block;
  flex: 0 0 auto;
}

/* line 28975, app/assets/stylesheets/application.scss */
.cal-calendar-toggle span,
.cal-event-row strong {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}

/* line 28983, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:not(.is-on) span {
  color: #8e8e93;
}

/* line 28987, app/assets/stylesheets/application.scss */
.cal-check-mark {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #3b82f6;
  min-width: 14px;
}

/* line 28995, app/assets/stylesheets/application.scss */
.calendar-hub-side-block li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

/* line 29004, app/assets/stylesheets/application.scss */
.calendar-hub-side-block li span,
.cal-event-row span,
.calendar-hub-empty {
  color: #8e8e93;
  font-size: 12px;
}

/* line 29012, app/assets/stylesheets/application.scss */
.calendar-hub-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 14px 18px 18px;
  overflow: hidden;
}

/* line 29021, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 29027, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar-nav strong {
  min-width: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 29034, app/assets/stylesheets/application.scss */
.calendar-hub-views {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: #f3f4f6;
}

/* line 29042, app/assets/stylesheets/application.scss */
.calendar-hub-views button {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

/* line 29050, app/assets/stylesheets/application.scss */
.calendar-hub-views button.is-active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* line 29055, app/assets/stylesheets/application.scss */
.calendar-hub-chat-close {
  display: none;
}

/* line 29059, app/assets/stylesheets/application.scss */
.calendar-hub-error {
  margin: 8px 0 0;
  color: #b91c1c;
  font-size: 13px;
}

/* line 29065, app/assets/stylesheets/application.scss */
.calendar-hub-board {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 12px;
  overflow: hidden;
}

/* line 29074, app/assets/stylesheets/application.scss */
.calendar-hub-board:has(#calendar-agenda:not([hidden])),
.calendar-hub-board:has(#calendar-search-results:not([hidden])) {
  overflow: auto;
}

/* line 29079, app/assets/stylesheets/application.scss */
.calendar-hub-month:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

/* line 29087, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-expanded {
  gap: 10px;
}

/* line 29091, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays,
.calendar-hub-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* line 29097, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays {
  flex: 0 0 auto;
  margin-bottom: 0;
  padding: 0 2px 8px;
  color: #8a9099;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

/* line 29109, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays.is-mini {
  font-size: 10px;
  margin-bottom: 4px;
}

/* line 29114, app/assets/stylesheets/application.scss */
.calendar-hub-grid {
  gap: 6px;
}

/* line 29118, app/assets/stylesheets/application.scss */
.calendar-hub-grid.is-full {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  grid-template-rows: repeat(var(--cal-weeks, 6), minmax(0, 1fr));
  align-content: stretch;
}

/* line 29126, app/assets/stylesheets/application.scss */
.calendar-hub-grid.is-mini {
  gap: 1px;
}

/* line 29130, app/assets/stylesheets/application.scss */
.calendar-hub-cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  color: #17191d;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

/* line 29151, app/assets/stylesheets/application.scss */
.calendar-hub-cell:hover {
  background: #f4f5f7;
  border-color: #d7dbe2;
}

/* line 29156, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-pad {
  cursor: default;
  border-color: transparent;
  background: transparent;
}

/* line 29162, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-outside {
  opacity: 0.42;
}

/* line 29166, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-event {
  background: color-mix(in srgb, #3b82f6 8%, #fff);
  border-color: color-mix(in srgb, #3b82f6 18%, #e5e7eb);
}

/* line 29171, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact {
  aspect-ratio: auto;
  height: 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border-color: transparent;
  background: transparent;
}

/* line 29182, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact.is-event {
  background: color-mix(in srgb, #3b82f6 10%, #fff);
}

/* line 29186, app/assets/stylesheets/application.scss */
.calendar-hub-cell-date {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* line 29200, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact .calendar-hub-cell-date {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

/* line 29206, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-today .calendar-hub-cell-date {
  background: #3b82f6;
  color: #fff;
}

/* line 29211, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-selected:not(.is-today) .calendar-hub-cell-date {
  background: #17191d;
  color: #fff;
}

/* line 29216, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-today:not(.has-photo) {
  border-color: #3b82f6;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}

/* line 29221, app/assets/stylesheets/application.scss */
.calendar-hub-cell-dots {
  display: flex;
  justify-content: center;
  gap: 3px;
  min-height: 6px;
  width: 100%;
}

/* line 29229, app/assets/stylesheets/application.scss */
.calendar-hub-cell-dots i {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  display: inline-block;
}

/* line 29236, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich {
  padding: 8px;
}

/* line 29240, app/assets/stylesheets/application.scss */
.calendar-hub-cell-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* line 29249, app/assets/stylesheets/application.scss */
.calendar-hub-cell.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.45) 0%, rgba(17, 17, 17, 0.08) 42%, rgba(17, 17, 17, 0.35) 100%);
  pointer-events: none;
}

/* line 29258, app/assets/stylesheets/application.scss */
.calendar-hub-cell.has-photo .calendar-hub-cell-date {
  color: #fff;
  background: transparent;
}

/* line 29263, app/assets/stylesheets/application.scss */
.calendar-hub-cell.has-photo.is-today .calendar-hub-cell-date {
  background: #3b82f6;
}

/* line 29267, app/assets/stylesheets/application.scss */
.calendar-hub-cell.has-photo .calendar-hub-cell-chip,
.calendar-hub-cell.has-photo .calendar-hub-cell-more {
  background: rgba(255, 255, 255, 0.88);
  color: #17191d;
}

/* line 29273, app/assets/stylesheets/application.scss */
.calendar-hub-cell-count {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

/* line 29288, app/assets/stylesheets/application.scss */
.calendar-hub-cell-events {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  margin-top: auto;
  min-height: 0;
  overflow: hidden;
}

/* line 29300, app/assets/stylesheets/application.scss */
.calendar-hub-cell-chip,
.calendar-hub-cell-more {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 6px;
  border-radius: 6px;
  border-left: 3px solid var(--cal-color, #3b82f6);
  background: color-mix(in srgb, var(--cal-color, #3b82f6) 14%, #fff);
  color: #17191d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

/* line 29317, app/assets/stylesheets/application.scss */
.calendar-hub-cell-more {
  border-left: 0;
  background: rgba(23, 25, 29, 0.06);
  color: #666e79;
  font-weight: 600;
}

/* line 29324, app/assets/stylesheets/application.scss */
.calendar-hub-month-block h4,
.calendar-hub-month-head h4 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 29332, app/assets/stylesheets/application.scss */
.calendar-hub-month-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

/* line 29339, app/assets/stylesheets/application.scss */
.calendar-hub-month-head h4 {
  flex: 1;
  margin: 0;
}

/* line 29344, app/assets/stylesheets/application.scss */
.calendar-hub-month[hidden],
.calendar-hub-week[hidden],
.calendar-hub-day-view[hidden],
.calendar-hub-agenda[hidden],
.calendar-hub-search-results[hidden] {
  display: none !important;
}

/* line 29352, app/assets/stylesheets/application.scss */
.calendar-hub-agenda {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-bottom: 24px;
}

/* line 29362, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn {
  align-self: flex-start;
  margin: 4px 0 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: #f2f3f5;
  color: #3b82f6;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 29376, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn:hover {
  background: #e8eaee;
}

/* line 29380, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn.is-on {
  background: #eef4ff;
  color: #1d4ed8;
}

/* line 29385, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-empty {
  padding: 28px 8px;
  color: #8e8e93;
  font-size: 14px;
}

/* line 29391, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

/* line 29399, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 2px;
}

/* line 29407, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-weekday {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8e8e93;
}

/* line 29414, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-daynum {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
}

/* line 29426, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-weekday,
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-month {
  color: #3b82f6;
}

/* line 29431, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-daynum {
  background: #3b82f6;
  color: #fff;
}

/* line 29436, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-past {
  opacity: 0.72;
}

/* line 29440, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-past .calendar-hub-agenda-event {
  background: #f3f4f6;
}

/* line 29444, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-month {
  font-size: 11px;
  font-weight: 600;
  color: #8e8e93;
}

/* line 29450, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* line 29457, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #f7f7f8;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* line 29472, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event:hover {
  background: #f0f0f2;
}

/* line 29476, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event i {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 99px;
  display: inline-block;
  flex: 0 0 auto;
}

/* line 29485, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 29492, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 29498, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event span {
  color: #6b7280;
  font-size: 12px;
}

/* line 29503, app/assets/stylesheets/application.scss */
.calendar-hub-year {
  display: none;
}

/* line 29507, app/assets/stylesheets/application.scss */
.calendar-hub-day-view,
.calendar-hub-week:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  gap: 4px;
}

/* line 29517, app/assets/stylesheets/application.scss */
.calendar-hub-day-view {
  gap: 0;
}

/* line 29521, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-row,
.calendar-hub-week-allday {
  display: grid;
  grid-template-columns: 56px repeat(var(--cal-cols, 7), minmax(0, 1fr));
  flex: 0 0 auto;
}

/* line 29528, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-row {
  padding-bottom: 4px;
}

/* line 29532, app/assets/stylesheets/application.scss */
.calendar-hub-week-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #8a9099;
  cursor: pointer;
  transition: background 0.15s ease;
}

/* line 29546, app/assets/stylesheets/application.scss */
.calendar-hub-week-head:hover {
  background: #f4f5f7;
}

/* line 29550, app/assets/stylesheets/application.scss */
.calendar-hub-week-head span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 29557, app/assets/stylesheets/application.scss */
.calendar-hub-week-head strong {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #17191d;
}

/* line 29569, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-today strong {
  background: #3b82f6;
  color: #fff;
}

/* line 29574, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-today span {
  color: #3b82f6;
}

/* line 29578, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-selected:not(.is-today) strong {
  background: #17191d;
  color: #fff;
}

/* line 29583, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday {
  display: none;
}

/* line 29587, app/assets/stylesheets/application.scss */
.calendar-hub-week-gutter {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 6px 8px 0 0;
  color: #8a9099;
  font-size: 10px;
  font-weight: 600;
}

/* line 29597, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday-col {
  min-height: 28px;
  padding: 4px;
  border-left: 1px solid #f3f4f6;
}

/* line 29603, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday-event,
.calendar-hub-week-block {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  border-left: 3px solid var(--cal-color, #3b82f6);
  background: color-mix(in srgb, var(--cal-color, #3b82f6) 16%, #fff);
  color: #17191d;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
}

/* line 29618, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday-event {
  padding: 4px 6px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* line 29625, app/assets/stylesheets/application.scss */
.calendar-hub-week-scroll {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  background: #fff;
}

/* line 29636, app/assets/stylesheets/application.scss */
.calendar-hub-week-hours {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding-top: 8px;
  border-right: 1px solid #eef0f3;
  background: #fafafa;
}

/* line 29646, app/assets/stylesheets/application.scss */
.calendar-hub-week-hours span {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  padding: 0 10px 0 0;
  color: #8a9099;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  line-height: 1;
  transform: translateY(-0.55em);
}

/* line 29659, app/assets/stylesheets/application.scss */
.calendar-hub-week-days {
  display: grid;
  grid-template-columns: repeat(var(--cal-cols, 7), minmax(0, 1fr));
  height: 100%;
  min-height: 0;
}

/* line 29666, app/assets/stylesheets/application.scss */
.calendar-hub-week-col {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-left: 1px solid #f3f4f6;
}

/* line 29675, app/assets/stylesheets/application.scss */
.calendar-hub-week-col:first-child {
  border-left: 0;
}

/* line 29679, app/assets/stylesheets/application.scss */
.calendar-hub-week-col.is-day {
  border-left: 0;
}

/* line 29683, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot {
  display: block;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: transparent;
  cursor: pointer;
}

/* line 29695, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot:last-child {
  border-bottom: 0;
}

/* line 29699, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot:hover {
  background: rgba(59, 130, 246, 0.06);
}

/* line 29703, app/assets/stylesheets/application.scss */
.calendar-hub-week-block {
  position: absolute;
  left: 4px;
  right: 4px;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1px;
  min-height: 28px;
  padding: 4px 7px;
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
}

/* line 29721, app/assets/stylesheets/application.scss */
.calendar-hub-week-block strong,
.calendar-hub-week-block span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

/* line 29731, app/assets/stylesheets/application.scss */
.calendar-hub-week-block strong {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 29738, app/assets/stylesheets/application.scss */
.calendar-hub-week-block span {
  flex: 0 0 auto;
  color: #666e79;
  font-size: 11px;
}

/* line 29744, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact {
  gap: 0;
  padding: 3px 6px;
  justify-content: center;
}

/* line 29750, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact span,
.calendar-hub-week-block.is-compact .calendar-hub-week-block-thumb,
.calendar-hub-week-block.is-short .calendar-hub-week-block-thumb {
  display: none;
}

/* line 29756, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-short {
  gap: 0;
  padding: 3px 6px;
}

/* line 29761, app/assets/stylesheets/application.scss */
.calendar-hub-now-line {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 0;
  border-top: 2px solid #ff3b30;
  pointer-events: none;
}

/* line 29771, app/assets/stylesheets/application.scss */
.calendar-hub-now-line i {
  position: absolute;
  top: -5px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #ff3b30;
}

/* line 29781, app/assets/stylesheets/application.scss */
.calendar-hub-search-results li {
  border-bottom: 1px solid #f3f4f6;
}

/* line 29785, app/assets/stylesheets/application.scss */
.cal-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 29794, app/assets/stylesheets/application.scss */
.cal-sheet.hidden,
.cal-sheet[hidden] {
  display: none !important;
}

/* line 29799, app/assets/stylesheets/application.scss */
.cal-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.28);
  cursor: pointer;
}

/* line 29807, app/assets/stylesheets/application.scss */
.cal-sheet-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  height: 48%;
  max-height: 100%;
  padding: 8px 18px 24px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #fff;
  color: #111;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
  transition: height 0.18s ease, border-radius 0.18s ease;
}

/* line 29824, app/assets/stylesheets/application.scss */
.cal-sheet-card.is-expanded {
  height: 100%;
  border-radius: 0;
}

/* line 29829, app/assets/stylesheets/application.scss */
.cal-sheet-card.is-form,
.cal-sheet-card.is-share {
  height: auto;
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 22px;
  margin: auto 16px 24px;
  padding-top: 16px;
}

/* line 29839, app/assets/stylesheets/application.scss */
.cal-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
  cursor: grab;
  touch-action: none;
}

/* line 29847, app/assets/stylesheets/application.scss */
.cal-sheet-handle span {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: #d1d5db;
}

/* line 29854, app/assets/stylesheets/application.scss */
.cal-sheet-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

/* line 29859, app/assets/stylesheets/application.scss */
.cal-sheet-head strong,
.cal-sheet-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 29866, app/assets/stylesheets/application.scss */
.cal-head-spacer {
  width: 64px;
}

/* line 29870, app/assets/stylesheets/application.scss */
.cal-sheet-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

/* line 29876, app/assets/stylesheets/application.scss */
.cal-event-detail h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 29883, app/assets/stylesheets/application.scss */
.cal-event-detail p,
.cal-meta,
.cal-notes {
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 14px;
}

/* line 29891, app/assets/stylesheets/application.scss */
.cal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
}

/* line 29898, app/assets/stylesheets/application.scss */
.cal-event-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 29904, app/assets/stylesheets/application.scss */
.cal-event-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 29915, app/assets/stylesheets/application.scss */
.cal-event-form input,
.cal-event-form textarea,
.cal-event-form select {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fafafa;
  color: #111;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* line 29930, app/assets/stylesheets/application.scss */
.cal-check {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111 !important;
}

/* line 29941, app/assets/stylesheets/application.scss */
.cal-ios-group {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fafafa;
}

/* line 29950, app/assets/stylesheets/application.scss */
.cal-ios-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px !important;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111 !important;
}

/* line 29966, app/assets/stylesheets/application.scss */
.cal-ios-row:last-child {
  border-bottom: 0;
}

/* line 29970, app/assets/stylesheets/application.scss */
.cal-ios-row.is-stack {
  flex-direction: column !important;
  align-items: stretch;
}

/* line 29975, app/assets/stylesheets/application.scss */
.cal-ios-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 29982, app/assets/stylesheets/application.scss */
.cal-ios-row-main strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 29987, app/assets/stylesheets/application.scss */
.cal-ios-row select {
  max-width: 58%;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  color: #007aff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  text-transform: none;
  letter-spacing: 0;
}

/* line 30002, app/assets/stylesheets/application.scss */
.cal-ios-row.cal-check {
  justify-content: space-between;
}

/* line 30006, app/assets/stylesheets/application.scss */
.cal-ios-row.cal-check input[type="checkbox"] {
  width: 48px;
  height: 28px;
  accent-color: #34c759;
}

/* line 30012, app/assets/stylesheets/application.scss */
.cal-ios-empty {
  color: #8e8e93;
  font-size: 13px;
  font-weight: 500;
}

/* line 30018, app/assets/stylesheets/application.scss */
.cal-invitee-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 30024, app/assets/stylesheets/application.scss */
.cal-invitee-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 30039, app/assets/stylesheets/application.scss */
.cal-invitee-chip.is-static {
  cursor: default;
}

/* line 30043, app/assets/stylesheets/application.scss */
.cal-invitee-chip .cal-share-avatar {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

/* line 30049, app/assets/stylesheets/application.scss */
.cal-invitee-chip i {
  color: #8e8e93;
  font-size: 11px;
}

/* line 30054, app/assets/stylesheets/application.scss */
.cal-text-btn.is-small {
  padding: 6px 10px;
  font-size: 12px;
}

/* line 30059, app/assets/stylesheets/application.scss */
.cal-friend-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}

/* line 30066, app/assets/stylesheets/application.scss */
.cal-friend-pick {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #f7f7f8;
  cursor: pointer;
  text-align: left;
  font: inherit;
  padding: 10px 12px;
}

/* line 30077, app/assets/stylesheets/application.scss */
.cal-friend-pick i {
  margin-left: auto;
  color: #c7c7cc;
}

/* line 30082, app/assets/stylesheets/application.scss */
.cal-friend-pick.is-on {
  background: #eef6ff;
}

/* line 30086, app/assets/stylesheets/application.scss */
.cal-friend-pick.is-on i {
  color: #007aff;
}

/* line 30090, app/assets/stylesheets/application.scss */
.cal-sheet-actions,
.cal-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* line 30098, app/assets/stylesheets/application.scss */
.cal-primary-btn,
.cal-share-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f4f6;
  font-size: 14px;
  font-weight: 600;
}

/* line 30110, app/assets/stylesheets/application.scss */
.cal-primary-btn {
  background: #17191d;
  color: #fff;
}

/* line 30115, app/assets/stylesheets/application.scss */
.cal-danger-btn {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 14px;
  background: transparent;
  color: #ff3b30;
  font-size: 16px;
  font-weight: 600;
}

/* line 30128, app/assets/stylesheets/application.scss */
.cal-share-people-wrap {
  margin-top: 18px;
}

/* line 30132, app/assets/stylesheets/application.scss */
.cal-share-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

/* line 30138, app/assets/stylesheets/application.scss */
.cal-share-person {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: #f7f7f8;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

/* line 30153, app/assets/stylesheets/application.scss */
.cal-share-person:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 30158, app/assets/stylesheets/application.scss */
.cal-share-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 12px;
  font-weight: 700;
}

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

/* line 30176, app/assets/stylesheets/application.scss */
.cal-share-hint,
.cal-share-status {
  margin: 10px 0 0;
  font-size: 13px;
  color: #8e8e93;
}

/* line 30183, app/assets/stylesheets/application.scss */
.cal-share-status {
  color: #17191d;
  font-weight: 600;
}

/* line 30189, app/assets/stylesheets/application.scss */
.cal-event-thumb,
.calendar-hub-agenda-thumb,
.calendar-hub-week-block-thumb {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #f3f4f6;
}

/* line 30200, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-thumb {
  width: 100%;
  max-height: 36%;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 auto;
}

/* line 30209, app/assets/stylesheets/application.scss */
.cal-event-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: #f4f5f7;
  cursor: pointer;
  text-align: left;
}

/* line 30223, app/assets/stylesheets/application.scss */
.cal-event-photo.is-view {
  cursor: default;
  margin-bottom: 14px;
}

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

/* line 30235, app/assets/stylesheets/application.scss */
.cal-event-photo-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8e8e93;
  font-size: 14px;
  font-weight: 600;
}

/* line 30247, app/assets/stylesheets/application.scss */
.cal-event-photo-empty i {
  font-size: 28px;
  opacity: 0.45;
  color: #17191d;
}

/* line 30253, app/assets/stylesheets/application.scss */
.cal-event-photo-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(23, 25, 29, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* line 30269, app/assets/stylesheets/application.scss */
.cal-event-photo-remove {
  align-self: flex-start;
}

/* line 30273, app/assets/stylesheets/application.scss */
.cal-share-preview {
  margin: 4px 0 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f4f5f7;
}

/* line 30280, app/assets/stylesheets/application.scss */
.cal-share-preview.is-event {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 30286, app/assets/stylesheets/application.scss */
.cal-share-preview.is-event img,
.cal-share-preview-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #3b82f6;
  color: #fff;
  display: grid;
  place-items: center;
}

/* line 30299, app/assets/stylesheets/application.scss */
.cal-share-preview strong,
.cal-share-preview-head strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #17191d;
}

/* line 30307, app/assets/stylesheets/application.scss */
.cal-share-preview span,
.cal-share-preview-head span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #8e8e93;
}

/* line 30315, app/assets/stylesheets/application.scss */
.cal-share-preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* line 30322, app/assets/stylesheets/application.scss */
.cal-share-preview-head .cal-share-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 14px;
}

/* line 30329, app/assets/stylesheets/application.scss */
.cal-share-preview-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  height: 56px;
}

/* line 30336, app/assets/stylesheets/application.scss */
.cal-share-preview-grid span {
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.16);
}

/* line 30341, app/assets/stylesheets/application.scss */
.cal-share-preview-grid span:nth-child(2),
.cal-share-preview-grid span:nth-child(5) {
  background: rgba(59, 130, 246, 0.45);
}

/* line 30346, app/assets/stylesheets/application.scss */
.cal-share-people-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 30352, app/assets/stylesheets/application.scss */
.cal-share-person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 2px;
}

/* line 30359, app/assets/stylesheets/application.scss */
.cal-share-person-row > .cal-share-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 14px;
}

/* line 30366, app/assets/stylesheets/application.scss */
.cal-share-person-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #17191d;
}

/* line 30374, app/assets/stylesheets/application.scss */
.cal-share-send {
  min-width: 64px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: #0084ff;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* line 30387, app/assets/stylesheets/application.scss */
.cal-share-send.is-sent,
.cal-share-send:disabled {
  background: #e5e7eb;
  color: #8e8e93;
  cursor: default;
}

/* line 30394, app/assets/stylesheets/application.scss */
.cal-share-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 30399, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-daynum {
  background: #3b82f6;
  color: #fff;
}

/* line 30404, app/assets/stylesheets/application.scss */
.perk-chats.is-calendar-open .perk-chats-main {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 30409, app/assets/stylesheets/application.scss */
.perk-chats.is-calendar-open .perk-chat-list,
.perk-chats.is-calendar-open .perk-chat-fab-stack,
.perk-chats.is-calendar-open .perk-chat-search {
  display: none !important;
}

/* line 30415, app/assets/stylesheets/application.scss */
.perk-chats .calendar-hub.is-in-chat,
.calendar-hub.is-in-chat {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  z-index: 2;
  overflow: hidden;
}

/* line 30428, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-shell {
  grid-template-columns: 1fr;
  height: 100%;
}

/* line 30433, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-sidebar,
.calendar-hub.is-in-chat .calendar-hub-toolbar-actions .calendar-hub-views,
.calendar-hub.is-in-chat .calendar-hub-toolbar-actions .cal-text-btn,
.calendar-hub.is-in-chat .cal-icon-btn[data-action="calendar-hub#openShare"],
.calendar-hub.is-in-chat .cal-icon-btn[data-action="calendar-hub#openComposer"] {
  display: none !important;
}

/* line 30441, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-chat-close {
  display: inline-flex;
}

/* line 30445, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-main {
  padding: 10px 16px 18px;
  overflow: auto;
}

/* line 30450, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-month {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: auto;
  overflow: auto;
}

/* line 30458, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-month.is-compact .calendar-hub-grid {
  gap: 2px;
}

/* line 30462, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-cell {
  aspect-ratio: auto;
  height: 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-color: transparent;
  background: transparent;
  border-radius: 10px;
}

/* line 30473, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-cell.is-event {
  background: color-mix(in srgb, #3b82f6 10%, #fff);
}

@media (max-width: 1100px) {
  /* line 30478, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich .calendar-hub-cell-chip:nth-child(n+3),
.calendar-hub-cell.is-rich .calendar-hub-cell-more {
    display: none;
  }
  /* line 30483, app/assets/stylesheets/application.scss */
  .calendar-hub-cell-chip {
    font-size: 10px;
    padding: 2px 5px;
  }
}

@media (max-width: 860px) {
  /* line 30490, app/assets/stylesheets/application.scss */
  .calendar-hub-shell {
    grid-template-columns: 1fr;
  }
  /* line 30494, app/assets/stylesheets/application.scss */
  .calendar-hub-sidebar {
    display: none;
  }
  /* line 30498, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich {
    padding: 6px;
    border-radius: 12px;
  }
  /* line 30503, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich .calendar-hub-cell-events {
    display: none;
  }
  /* line 30507, app/assets/stylesheets/application.scss */
  .calendar-hub-cell-date {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  /* line 30513, app/assets/stylesheets/application.scss */
  .calendar-hub-week-scroll {
    border-radius: 12px;
  }
  /* line 30517, app/assets/stylesheets/application.scss */
  .calendar-hub-week-block span {
    display: none;
  }
}

/* Companion hubs — Sleep Early, Drink Water, Focus, and the rest of last month's iOS apps */
/* line 30523, app/assets/stylesheets/application.scss */
.companion-hub {
  z-index: 28;
  background: #fff;
  color: #17191d;
  display: flex;
  flex-direction: column;
}

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

/* line 30536, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] {
  background: linear-gradient(180deg, #090e24 0%, #261a47 100%);
  color: #fff;
}

/* line 30541, app/assets/stylesheets/application.scss */
.companion-hub-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 30548, app/assets/stylesheets/application.scss */
.companion-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(23, 25, 29, 0.08);
}

/* line 30557, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-hub-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* line 30561, app/assets/stylesheets/application.scss */
.companion-hub-head strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* line 30566, app/assets/stylesheets/application.scss */
.companion-icon-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 25, 29, 0.06);
  color: inherit;
  cursor: pointer;
}

/* line 30576, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-icon-btn {
  background: rgba(255, 255, 255, 0.1);
}

/* line 30580, app/assets/stylesheets/application.scss */
.companion-hub-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 18px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 30589, app/assets/stylesheets/application.scss */
.companion-hero,
.companion-card {
  background: #f4f5f7;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 30599, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-hero,
.companion-hub[data-app="sleep"] .companion-card {
  background: rgba(255, 255, 255, 0.08);
}

/* line 30604, app/assets/stylesheets/application.scss */
.companion-hero-night strong,
.companion-timer {
  font-size: 28px;
  letter-spacing: -0.04em;
}

/* line 30610, app/assets/stylesheets/application.scss */
.companion-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin: 0;
}

/* line 30618, app/assets/stylesheets/application.scss */
.companion-primary,
.companion-ghost {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
}

/* line 30627, app/assets/stylesheets/application.scss */
.companion-primary {
  background: #17191d;
  color: #fff;
}

/* line 30632, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-primary {
  background: #fff;
  color: #17191d;
}

/* line 30637, app/assets/stylesheets/application.scss */
.companion-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(23, 25, 29, 0.12);
}

/* line 30643, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-ghost {
  border-color: rgba(255, 255, 255, 0.2);
}

/* line 30647, app/assets/stylesheets/application.scss */
.companion-input,
.companion-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  color: inherit;
}

/* line 30657, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* line 30663, app/assets/stylesheets/application.scss */
.companion-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* line 30670, app/assets/stylesheets/application.scss */
.companion-form-stack {
  flex-direction: column;
  align-items: stretch;
}

/* line 30675, app/assets/stylesheets/application.scss */
.companion-form .companion-input {
  flex: 1 1 140px;
}

/* line 30679, app/assets/stylesheets/application.scss */
.companion-chips,
.companion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 30686, app/assets/stylesheets/application.scss */
.companion-chip {
  min-width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(23, 25, 29, 0.12);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

/* line 30696, app/assets/stylesheets/application.scss */
.companion-chip.is-on,
.companion-card-btn.is-on {
  background: #17191d;
  color: #fff;
  border-color: transparent;
}

/* line 30703, app/assets/stylesheets/application.scss */
.companion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 30712, app/assets/stylesheets/application.scss */
.companion-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f4f5f7;
  border-radius: 12px;
}

/* line 30721, app/assets/stylesheets/application.scss */
.companion-list li.is-empty,
.companion-empty {
  opacity: 0.65;
}

/* line 30726, app/assets/stylesheets/application.scss */
.companion-list button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

/* line 30733, app/assets/stylesheets/application.scss */
.companion-progress {
  border-radius: 18px;
  padding: 22px;
  background: conic-gradient(#1f8ecd calc(var(--pct) * 1%), #eef2f6 0);
  color: #17191d;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 30744, app/assets/stylesheets/application.scss */
.companion-progress strong {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}

/* line 30750, app/assets/stylesheets/application.scss */
.sticky-grid,
.companion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

/* line 30757, app/assets/stylesheets/application.scss */
.sticky-card {
  min-height: 140px;
  border-radius: 14px;
  padding: 14px;
  position: relative;
  box-shadow: 0 8px 24px rgba(23, 25, 29, 0.08);
}

/* line 30765, app/assets/stylesheets/application.scss */
.sticky-card button {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 30774, app/assets/stylesheets/application.scss */
.companion-card-btn {
  text-align: left;
  border: 0;
  cursor: pointer;
  width: 100%;
}

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

/* line 30787, app/assets/stylesheets/application.scss */
.kanban-col {
  background: #f4f5f7;
  border-radius: 14px;
  padding: 10px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 30797, app/assets/stylesheets/application.scss */
.companion-map {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 16px;
}

/* line 30804, app/assets/stylesheets/application.scss */
.flash-card {
  min-height: 220px;
  border: 0;
  border-radius: 22px;
  background: #f7f1ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 24px;
  cursor: pointer;
  text-align: center;
}

/* line 30819, app/assets/stylesheets/application.scss */
.flash-card.is-flipped {
  background: #17191d;
  color: #fff;
}

/* line 30824, app/assets/stylesheets/application.scss */
.companion-status {
  font-size: 13px;
  opacity: 0.75;
}

/* line 30829, app/assets/stylesheets/application.scss */
.companion-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 720px) {
  /* line 30836, app/assets/stylesheets/application.scss */
  .kanban {
    grid-template-columns: 1fr;
  }
}

/* line 30841, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] {
  background: #fff;
}

/* line 30845, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] .companion-hub-head {
  display: none;
}

/* line 30849, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
  position: relative;
}

/* line 30856, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] {
  background: #fff;
}

/* line 30860, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-head {
  display: none;
}

/* line 30864, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 30870, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] {
  background: var(--perk-canvas);
}

/* line 30874, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] .companion-hub-head {
  display: none;
}

/* line 30878, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 30884, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] {
  background: #fff;
}

/* line 30888, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-head {
  display: none;
}

/* line 30892, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 30898, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-body > .fc-app {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 30903, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-body > .mm-app {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 30908, app/assets/stylesheets/application.scss */
.mm-app {
  --mm-accent: #2563eb;
  --mm-ink: #17191d;
  --mm-muted: #8e8e93;
  --mm-field: #f4f5f7;
  --mm-line: #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  position: relative;
  background: #fff;
  color: var(--mm-ink);
  font-family: var(--perk-font);
}

/* line 30924, app/assets/stylesheets/application.scss */
.mm-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  flex: 0 0 auto;
}

/* line 30932, app/assets/stylesheets/application.scss */
.mm-nav.is-canvas {
  border-bottom: 1px solid var(--mm-line);
}

/* line 30936, app/assets/stylesheets/application.scss */
.mm-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 30944, app/assets/stylesheets/application.scss */
.mm-nav-copy strong,
.mm-nav-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 30954, app/assets/stylesheets/application.scss */
.mm-nav-copy span {
  font-size: 12px;
  color: var(--mm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 30962, app/assets/stylesheets/application.scss */
.mm-icon {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--mm-field);
  color: var(--mm-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* line 30975, app/assets/stylesheets/application.scss */
.mm-icon.is-add {
  background: var(--mm-accent);
  color: #fff;
}

/* line 30980, app/assets/stylesheets/application.scss */
.mm-icon.is-quiet {
  color: #8e8e93;
}

/* line 30984, app/assets/stylesheets/application.scss */
.mm-icon:disabled,
.mm-text-btn:disabled,
.mm-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 30991, app/assets/stylesheets/application.scss */
.mm-text-btn,
.mm-ghost,
.mm-zoom-label {
  border: 0;
  background: transparent;
  color: var(--mm-accent);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* line 31002, app/assets/stylesheets/application.scss */
.mm-ghost {
  color: var(--mm-ink);
  background: var(--mm-field);
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
}

/* line 31010, app/assets/stylesheets/application.scss */
.mm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--mm-field);
  color: var(--mm-muted);
}

/* line 31021, app/assets/stylesheets/application.scss */
.mm-search input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--mm-ink);
  outline: none;
}

/* line 31030, app/assets/stylesheets/application.scss */
.mm-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
  padding: 0 16px 28px;
}

/* line 31037, app/assets/stylesheets/application.scss */
.mm-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 31043, app/assets/stylesheets/application.scss */
.mm-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* line 31060, app/assets/stylesheets/application.scss */
.mm-card:hover,
.mm-card:focus-visible {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 20px rgba(23, 25, 29, 0.06);
}

/* line 31066, app/assets/stylesheets/application.scss */
.mm-tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 31079, app/assets/stylesheets/application.scss */
.mm-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 31086, app/assets/stylesheets/application.scss */
.mm-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* line 31093, app/assets/stylesheets/application.scss */
.mm-preview {
  color: var(--mm-muted);
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 31103, app/assets/stylesheets/application.scss */
.mm-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeaeb2;
  font-size: 12px;
}

/* line 31111, app/assets/stylesheets/application.scss */
.mm-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mm-field);
  color: #666e79;
}

/* line 31120, app/assets/stylesheets/application.scss */
.mm-card-go {
  color: #c7c7cc;
  font-size: 11px;
}

/* line 31125, app/assets/stylesheets/application.scss */
.mm-empty {
  margin: 36px auto;
  max-width: 360px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 8px;
}

/* line 31136, app/assets/stylesheets/application.scss */
.mm-empty-glyph {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.12);
  color: var(--mm-accent);
  font-size: 28px;
  margin-bottom: 4px;
}

/* line 31148, app/assets/stylesheets/application.scss */
.mm-empty strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* line 31154, app/assets/stylesheets/application.scss */
.mm-empty p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 31161, app/assets/stylesheets/application.scss */
.mm-primary {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  background: var(--mm-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* line 31176, app/assets/stylesheets/application.scss */
.mm-empty .mm-primary {
  margin-top: 6px;
  width: auto;
  min-width: 168px;
}

/* line 31182, app/assets/stylesheets/application.scss */
.mm-primary.is-danger {
  background: #ff3b30;
}

/* line 31186, app/assets/stylesheets/application.scss */
.mm-status {
  margin: 0 16px 10px;
  color: var(--mm-muted);
  font-size: 14px;
}

/* line 31192, app/assets/stylesheets/application.scss */
.mm-status.is-err {
  color: #c0392b;
}

/* line 31196, app/assets/stylesheets/application.scss */
.mm-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 31205, app/assets/stylesheets/application.scss */
.mm-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.32);
}

/* line 31212, app/assets/stylesheets/application.scss */
.mm-sheet-card,
.mm-confirm {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-height: 90%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

/* line 31224, app/assets/stylesheets/application.scss */
.mm-confirm {
  padding: 22px 18px 24px;
  gap: 10px;
  text-align: center;
}

/* line 31230, app/assets/stylesheets/application.scss */
.mm-confirm strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

/* line 31236, app/assets/stylesheets/application.scss */
.mm-sheet-head {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  align-items: center;
  padding: 12px 14px 4px;
}

/* line 31243, app/assets/stylesheets/application.scss */
.mm-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* line 31249, app/assets/stylesheets/application.scss */
.mm-sheet-body {
  padding: 8px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 31256, app/assets/stylesheets/application.scss */
.mm-lead {
  margin: 0;
  color: var(--mm-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 31263, app/assets/stylesheets/application.scss */
.mm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mm-muted);
}

/* line 31272, app/assets/stylesheets/application.scss */
.mm-input {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--mm-field);
  padding: 12px 14px;
  font-size: 16px;
  color: var(--mm-ink);
  outline: none;
}

/* line 31283, app/assets/stylesheets/application.scss */
.mm-textarea {
  resize: vertical;
  min-height: 120px;
  font-weight: 400;
  line-height: 1.45;
}

/* line 31290, app/assets/stylesheets/application.scss */
.mm-sheet-body .mm-primary {
  width: 100%;
  margin-top: 4px;
}

/* line 31295, app/assets/stylesheets/application.scss */
.mm-app.is-canvas {
  background: #f7f8fb;
}

/* line 31299, app/assets/stylesheets/application.scss */
.mm-canvas-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* line 31307, app/assets/stylesheets/application.scss */
.mm-stage {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 25, 29, 0.08) 1px, transparent 0);
  background-size: 22px 22px;
}

/* line 31319, app/assets/stylesheets/application.scss */
.mm-stage.is-grabbing,
.mm-stage:active {
  cursor: grabbing;
}

/* line 31324, app/assets/stylesheets/application.scss */
.mm-world {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  will-change: transform;
}

/* line 31334, app/assets/stylesheets/application.scss */
.mm-edges {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}

/* line 31340, app/assets/stylesheets/application.scss */
.mm-nodes {
  position: absolute;
  left: 0;
  top: 0;
}

/* line 31346, app/assets/stylesheets/application.scss */
.mm-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  padding: 10px 12px 12px;
  background: #fff;
  color: var(--mm-ink);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08), 0 0 0 1.5px var(--mm-accent, #2563eb);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
}

/* line 31361, app/assets/stylesheets/application.scss */
.mm-node-hit {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
  padding: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* line 31375, app/assets/stylesheets/application.scss */
.mm-node.is-root {
  border-radius: 18px;
  padding: 12px 14px 14px;
  font-size: 15px;
  background: var(--mm-accent, #2563eb);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

/* line 31384, app/assets/stylesheets/application.scss */
.mm-node.is-root .mm-node-badge {
  background: #fff;
  color: var(--mm-accent, #2563eb);
  border-color: #fff;
}

/* line 31390, app/assets/stylesheets/application.scss */
.mm-node.is-on:not(.is-root) {
  background: #eef4ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12), 0 0 0 2px var(--mm-accent, #2563eb);
  z-index: 3;
}

/* line 31396, app/assets/stylesheets/application.scss */
.mm-node.is-on.is-root {
  z-index: 3;
}

/* line 31400, app/assets/stylesheets/application.scss */
.mm-node-badge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--mm-accent, #2563eb);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

/* line 31416, app/assets/stylesheets/application.scss */
.mm-node-badge.is-folded {
  background: #111;
}

/* line 31420, app/assets/stylesheets/application.scss */
.mm-dock {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 16px;
}

@media (max-width: 719px) {
  /* line 31429, app/assets/stylesheets/application.scss */
  .mm-dock {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  /* line 31434, app/assets/stylesheets/application.scss */
  .mm-zoom {
    align-self: flex-end;
  }
}

/* line 31439, app/assets/stylesheets/application.scss */
.mm-dock-card {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* line 31449, app/assets/stylesheets/application.scss */
.mm-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mm-muted);
  margin-bottom: 4px;
}

/* line 31459, app/assets/stylesheets/application.scss */
.mm-dock-card strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* line 31466, app/assets/stylesheets/application.scss */
.mm-dock-card p {
  margin: 6px 0 0;
  color: var(--mm-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* line 31473, app/assets/stylesheets/application.scss */
.mm-children {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  max-height: 132px;
  overflow: auto;
}

/* line 31482, app/assets/stylesheets/application.scss */
.mm-child {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: var(--mm-field);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: var(--mm-ink);
}

/* line 31497, app/assets/stylesheets/application.scss */
.mm-child i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* line 31504, app/assets/stylesheets/application.scss */
.mm-child span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 31511, app/assets/stylesheets/application.scss */
.mm-zoom {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

/* line 31524, app/assets/stylesheets/application.scss */
.mm-zoom .mm-icon {
  width: 32px;
  height: 32px;
}

/* line 31529, app/assets/stylesheets/application.scss */
.mm-zoom-label {
  min-width: 36px;
  font-size: 11px;
  color: var(--mm-ink);
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 10px;
  padding: 8px 4px;
}

@media (min-width: 720px) {
  /* line 31540, app/assets/stylesheets/application.scss */
  .mm-app:not(.is-canvas) .mm-nav,
.mm-search {
    max-width: 980px;
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
  /* line 31548, app/assets/stylesheets/application.scss */
  .mm-search {
    margin-bottom: 16px;
  }
  /* line 31552, app/assets/stylesheets/application.scss */
  .mm-scroll {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px 36px;
  }
  /* line 31559, app/assets/stylesheets/application.scss */
  .mm-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  /* line 31563, app/assets/stylesheets/application.scss */
  .mm-status {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 32px);
  }
  /* line 31570, app/assets/stylesheets/application.scss */
  .mm-sheet {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  /* line 31576, app/assets/stylesheets/application.scss */
  .mm-sheet-card,
.mm-confirm {
    width: min(480px, 100%);
    border-radius: 18px;
    box-shadow: var(--perk-shadow-lg);
  }
}

@media (min-width: 900px) {
  /* line 31585, app/assets/stylesheets/application.scss */
  .mm-canvas-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: minmax(0, 1fr);
  }
  /* line 31591, app/assets/stylesheets/application.scss */
  .mm-stage {
    grid-column: 1;
    grid-row: 1;
  }
  /* line 31596, app/assets/stylesheets/application.scss */
  .mm-dock {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-left: 1px solid var(--mm-line);
  }
  /* line 31608, app/assets/stylesheets/application.scss */
  .mm-dock-card {
    box-shadow: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  /* line 31615, app/assets/stylesheets/application.scss */
  .mm-children {
    max-height: none;
  }
  /* line 31619, app/assets/stylesheets/application.scss */
  .mm-zoom {
    box-shadow: none;
  }
  /* line 31623, app/assets/stylesheets/application.scss */
  .mm-zoom-label {
    padding: 8px 10px;
  }
}

/* line 31628, app/assets/stylesheets/application.scss */
.fc-app {
  --fc-accent: #4052b5;
  --fc-ink: #17191d;
  --fc-muted: #6b7280;
  --fc-field: #f3f4f6;
  --fc-line: #e5e7eb;
  --fc-again: #e11d48;
  --fc-learn: #d97706;
  --fc-ok: #059669;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  position: relative;
  background: #f7f7fa;
  color: var(--fc-ink);
  font-family: var(--perk-font);
}

/* line 31647, app/assets/stylesheets/application.scss */
.fc-app.is-grouped,
.fc-app.is-create,
.fc-app.is-deck {
  background: #f3f4f6;
}

/* line 31650, app/assets/stylesheets/application.scss */
.fc-app.is-study {
  background: #eef0f7;
}

/* line 31652, app/assets/stylesheets/application.scss */
.fc-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  flex: 0 0 auto;
}

/* line 31660, app/assets/stylesheets/application.scss */
.fc-nav.is-plain {
  justify-content: space-between;
}

/* line 31662, app/assets/stylesheets/application.scss */
.fc-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 31670, app/assets/stylesheets/application.scss */
.fc-nav-copy.is-center {
  text-align: center;
  align-items: center;
}

/* line 31672, app/assets/stylesheets/application.scss */
.fc-nav-copy strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 31679, app/assets/stylesheets/application.scss */
.fc-nav-copy span {
  font-size: 13px;
  color: var(--fc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 31687, app/assets/stylesheets/application.scss */
.fc-nav-spacer {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

/* line 31693, app/assets/stylesheets/application.scss */
.fc-round,
.fc-more {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--fc-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
  flex: 0 0 auto;
}

/* line 31708, app/assets/stylesheets/application.scss */
.fc-round:hover,
.fc-more:hover {
  background: var(--fc-field);
}

/* line 31710, app/assets/stylesheets/application.scss */
.fc-round:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 31711, app/assets/stylesheets/application.scss */
.fc-round.is-accent {
  background: var(--fc-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(64, 82, 181, 0.22);
}

/* line 31716, app/assets/stylesheets/application.scss */
.fc-round.is-accent:hover {
  filter: brightness(1.06);
}

/* line 31718, app/assets/stylesheets/application.scss */
.fc-text {
  border: 0;
  background: transparent;
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
}

/* line 31727, app/assets/stylesheets/application.scss */
.fc-text.is-accent {
  color: var(--fc-accent);
}

/* line 31728, app/assets/stylesheets/application.scss */
.fc-text.is-danger {
  color: #ff3b30;
}

/* line 31729, app/assets/stylesheets/application.scss */
.fc-text:disabled {
  opacity: 0.35;
}

/* line 31730, app/assets/stylesheets/application.scss */
.fc-text:hover {
  opacity: 0.8;
}

/* line 31732, app/assets/stylesheets/application.scss */
.fc-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 12px;
}

/* line 31739, app/assets/stylesheets/application.scss */
.fc-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

/* line 31745, app/assets/stylesheets/application.scss */
.fc-pill,
.fc-choice,
.fc-chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--fc-ink);
  cursor: pointer;
  white-space: nowrap;
}

/* line 31759, app/assets/stylesheets/application.scss */
.fc-pill:hover,
.fc-choice:hover {
  background: #ececf2;
}

/* line 31761, app/assets/stylesheets/application.scss */
.fc-pill.is-on,
.fc-choice.is-on {
  background: var(--fc-accent);
  color: #fff;
}

/* line 31767, app/assets/stylesheets/application.scss */
.fc-chip {
  font-size: 12px;
  padding: 4px 10px;
  cursor: default;
  background: var(--fc-field);
}

/* line 31768, app/assets/stylesheets/application.scss */
.fc-chip.is-accent {
  background: rgba(64, 82, 181, 0.12);
  color: var(--fc-accent);
}

/* line 31769, app/assets/stylesheets/application.scss */
.fc-chip.is-map {
  background: rgba(0, 138, 122, 0.12);
  color: #008a7a;
}

/* line 31771, app/assets/stylesheets/application.scss */
.fc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--fc-muted);
  border: 1px solid var(--fc-line);
}

/* line 31783, app/assets/stylesheets/application.scss */
.fc-search input,
.fc-input,
.fc-textarea {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--fc-ink);
  outline: none;
}

/* line 31794, app/assets/stylesheets/application.scss */
.fc-search input {
  font-size: 15px;
}

/* line 31796, app/assets/stylesheets/application.scss */
.fc-input,
.fc-textarea {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  resize: vertical;
  font-size: 15px;
  line-height: 1.45;
  border: 1px solid var(--fc-line);
}

/* line 31807, app/assets/stylesheets/application.scss */
.fc-textarea {
  min-height: 88px;
}

/* line 31809, app/assets/stylesheets/application.scss */
.fc-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

/* line 31815, app/assets/stylesheets/application.scss */
.fc-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 20px 28px;
}

/* line 31821, app/assets/stylesheets/application.scss */
.fc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 31827, app/assets/stylesheets/application.scss */
.fc-card {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 14px 12px 14px 14px;
  border: 1px solid var(--fc-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
  text-align: left;
  font: inherit;
  color: inherit;
}

/* line 31841, app/assets/stylesheets/application.scss */
.fc-card:hover {
  border-color: rgba(64, 82, 181, 0.28);
}

/* line 31842, app/assets/stylesheets/application.scss */
.fc-card.is-menu {
  z-index: 3;
}

/* line 31844, app/assets/stylesheets/application.scss */
.fc-card-open {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}

/* line 31859, app/assets/stylesheets/application.scss */
.fc-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 31868, app/assets/stylesheets/application.scss */
.fc-study-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 650;
  background: rgba(64, 82, 181, 0.1);
  color: var(--fc-accent);
  cursor: pointer;
}

/* line 31878, app/assets/stylesheets/application.scss */
.fc-study-btn:hover {
  background: var(--fc-accent);
  color: #fff;
}

/* line 31880, app/assets/stylesheets/application.scss */
.fc-stack {
  width: 48px;
  height: 42px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* line 31889, app/assets/stylesheets/application.scss */
.fc-stack i {
  position: absolute;
  width: 36px;
  height: 26px;
  border-radius: 7px;
  background: var(--fc-accent);
  box-shadow: 0 0 0 1.5px #fff;
}

/* line 31898, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(1) {
  opacity: 0.32;
  left: 10px;
  top: 0;
}

/* line 31899, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(2) {
  opacity: 0.55;
  left: 5px;
  top: 5px;
}

/* line 31900, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(3) {
  opacity: 1;
  left: 0;
  top: 10px;
}

/* line 31902, app/assets/stylesheets/application.scss */
.fc-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 31903, app/assets/stylesheets/application.scss */
.fc-row-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* line 31904, app/assets/stylesheets/application.scss */
.fc-row-top strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* line 31910, app/assets/stylesheets/application.scss */
.fc-star {
  color: #f59e0b;
  font-size: 12px;
}

/* line 31911, app/assets/stylesheets/application.scss */
.fc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 31912, app/assets/stylesheets/application.scss */
.fc-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--fc-field);
  overflow: hidden;
}

/* line 31918, app/assets/stylesheets/application.scss */
.fc-progress span {
  display: block;
  height: 100%;
  background: var(--fc-accent);
  border-radius: inherit;
}

/* line 31924, app/assets/stylesheets/application.scss */
.fc-progress.is-study {
  margin: 0;
  height: 6px;
  background: rgba(64, 82, 181, 0.14);
}

/* line 31929, app/assets/stylesheets/application.scss */
.fc-row-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--fc-muted);
  font-size: 12px;
}

/* line 31936, app/assets/stylesheets/application.scss */
.fc-more-wrap {
  position: relative;
}

/* line 31937, app/assets/stylesheets/application.scss */
.fc-more {
  width: 36px;
  height: 36px;
  background: transparent;
  box-shadow: none;
}

/* line 31938, app/assets/stylesheets/application.scss */
.fc-menu {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 6;
  min-width: 228px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fc-line);
}

/* line 31952, app/assets/stylesheets/application.scss */
.fc-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* line 31961, app/assets/stylesheets/application.scss */
.fc-menu button:hover {
  background: var(--fc-field);
}

/* line 31962, app/assets/stylesheets/application.scss */
.fc-menu .is-danger {
  color: #ff3b30;
}

/* line 31964, app/assets/stylesheets/application.scss */
.fc-empty {
  margin: 48px auto;
  padding: 12px 8px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 420px;
}

/* line 31974, app/assets/stylesheets/application.scss */
.fc-empty-glyph {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(64, 82, 181, 0.12);
  color: var(--fc-accent);
  font-size: 30px;
  margin-bottom: 4px;
}

/* line 31985, app/assets/stylesheets/application.scss */
.fc-empty strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

/* line 31986, app/assets/stylesheets/application.scss */
.fc-empty p,
.fc-lead {
  margin: 0;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 31988, app/assets/stylesheets/application.scss */
.fc-muted {
  margin: 8px 0 0;
  color: var(--fc-muted);
  font-size: 13px;
}

/* line 31989, app/assets/stylesheets/application.scss */
.fc-status {
  margin: 0 20px 12px;
  color: var(--fc-muted);
  font-size: 13px;
}

/* line 31990, app/assets/stylesheets/application.scss */
.fc-status.is-error {
  color: #ff3b30;
}

/* line 31992, app/assets/stylesheets/application.scss */
.fc-primary,
.fc-ghost,
.fc-again,
.fc-learning,
.fc-gotit {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

/* line 32005, app/assets/stylesheets/application.scss */
.fc-primary {
  background: var(--fc-accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(64, 82, 181, 0.2);
}

/* line 32006, app/assets/stylesheets/application.scss */
.fc-primary:hover {
  filter: brightness(1.05);
}

/* line 32007, app/assets/stylesheets/application.scss */
.fc-primary.is-danger {
  background: #ff3b30;
  box-shadow: none;
}

/* line 32008, app/assets/stylesheets/application.scss */
.fc-primary:disabled {
  opacity: 0.4;
  cursor: default;
  filter: none;
}

/* line 32009, app/assets/stylesheets/application.scss */
.fc-block {
  width: 100%;
}

/* line 32010, app/assets/stylesheets/application.scss */
.fc-ghost {
  background: #fff;
  color: var(--fc-ink);
  border: 1px solid var(--fc-line);
  box-shadow: none;
}

/* line 32016, app/assets/stylesheets/application.scss */
.fc-ghost:hover {
  background: var(--fc-field);
}

/* line 32017, app/assets/stylesheets/application.scss */
.fc-empty .fc-primary {
  width: auto;
  padding: 13px 22px;
}

/* line 32019, app/assets/stylesheets/application.scss */
.fc-create {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* line 32024, app/assets/stylesheets/application.scss */
.fc-create h1 {
  margin: 0;
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 2rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

/* line 32031, app/assets/stylesheets/application.scss */
.fc-create-grid,
.fc-deck-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

/* line 32038, app/assets/stylesheets/application.scss */
.fc-panel {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 32047, app/assets/stylesheets/application.scss */
.fc-source {
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed #d1d5db;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafafa;
}

/* line 32056, app/assets/stylesheets/application.scss */
.fc-source strong {
  font-size: 15px;
  color: var(--fc-ink);
}

/* line 32057, app/assets/stylesheets/application.scss */
.fc-source p {
  margin: 0;
  font-size: 13px;
  color: var(--fc-muted);
}

/* line 32058, app/assets/stylesheets/application.scss */
.fc-file, .fc-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}

/* line 32070, app/assets/stylesheets/application.scss */
.fc-upload {
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--fc-accent);
}

/* line 32071, app/assets/stylesheets/application.scss */
.fc-upload:hover {
  background: rgba(64, 82, 181, 0.06);
}

/* line 32072, app/assets/stylesheets/application.scss */
.fc-file button {
  border: 0;
  background: transparent;
  color: var(--fc-muted);
  cursor: pointer;
}

/* line 32073, app/assets/stylesheets/application.scss */
.fc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--fc-muted);
}

/* line 32074, app/assets/stylesheets/application.scss */
.fc-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 32075, app/assets/stylesheets/application.scss */
.fc-choice {
  background: var(--fc-field);
}

/* line 32076, app/assets/stylesheets/application.scss */
.fc-error {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 59, 48, 0.08);
  color: var(--fc-ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

/* line 32086, app/assets/stylesheets/application.scss */
.fc-error p {
  margin: 0;
}

/* line 32087, app/assets/stylesheets/application.scss */
.fc-create-foot {
  padding-bottom: 8px;
}

/* line 32089, app/assets/stylesheets/application.scss */
.fc-deck-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* line 32090, app/assets/stylesheets/application.scss */
.fc-deck-head h1 {
  font-size: 24px;
}

/* line 32091, app/assets/stylesheets/application.scss */
.fc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 32092, app/assets/stylesheets/application.scss */
.fc-stat {
  text-align: center;
  padding: 14px 8px;
  background: var(--fc-field);
  border-radius: 14px;
}

/* line 32098, app/assets/stylesheets/application.scss */
.fc-stat strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 32099, app/assets/stylesheets/application.scss */
.fc-stat span {
  font-size: 12px;
  color: var(--fc-muted);
}

/* line 32100, app/assets/stylesheets/application.scss */
.fc-deck-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 32101, app/assets/stylesheets/application.scss */
.fc-aside-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--fc-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 32102, app/assets/stylesheets/application.scss */
.fc-preview {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 32103, app/assets/stylesheets/application.scss */
.fc-preview-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

/* line 32109, app/assets/stylesheets/application.scss */
.fc-preview-row span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(64, 82, 181, 0.1);
  color: var(--fc-accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* line 32120, app/assets/stylesheets/application.scss */
.fc-preview-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 32122, app/assets/stylesheets/application.scss */
.fc-editor-card {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 32131, app/assets/stylesheets/application.scss */
.fc-editor-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 650;
  color: var(--fc-muted);
}

/* line 32140, app/assets/stylesheets/application.scss */
.fc-editor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 32145, app/assets/stylesheets/application.scss */
.fc-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fc-ink);
  font-weight: 500;
}

/* line 32146, app/assets/stylesheets/application.scss */
.fc-editor-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 32147, app/assets/stylesheets/application.scss */
.fc-editor-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 32154, app/assets/stylesheets/application.scss */
.fc-editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px 18px;
  background: rgba(247, 247, 250, 0.92);
  border-top: 1px solid var(--fc-line);
  backdrop-filter: blur(12px);
}

/* line 32164, app/assets/stylesheets/application.scss */
.fc-editor-bar .fc-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 32165, app/assets/stylesheets/application.scss */
.fc-editor-bar-actions {
  display: flex;
  gap: 8px;
}

/* line 32167, app/assets/stylesheets/application.scss */
.fc-study {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 20px 24px;
  min-height: 0;
  width: min(640px, 100%);
  margin: 0 auto;
}

/* line 32177, app/assets/stylesheets/application.scss */
.fc-kicker {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--fc-muted);
}

/* line 32185, app/assets/stylesheets/application.scss */
.fc-flip {
  position: relative;
  min-height: min(48vh, 380px);
  margin: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
  cursor: pointer;
  perspective: 1200px;
  font: inherit;
  color: inherit;
  text-align: center;
}

/* line 32199, app/assets/stylesheets/application.scss */
.fc-face {
  position: absolute;
  inset: 0;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: auto;
  backface-visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* line 32212, app/assets/stylesheets/application.scss */
.fc-face em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fc-accent);
}

/* line 32220, app/assets/stylesheets/application.scss */
.fc-face strong {
  font-size: clamp(1.2rem, 1.4vw + 0.9rem, 1.75rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

/* line 32226, app/assets/stylesheets/application.scss */
.fc-face.is-back {
  align-items: flex-start;
  text-align: left;
  transform: rotateY(-90deg);
  opacity: 0;
}

/* line 32227, app/assets/stylesheets/application.scss */
.fc-face.is-back strong {
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.4rem);
}

/* line 32228, app/assets/stylesheets/application.scss */
.fc-face p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* line 32229, app/assets/stylesheets/application.scss */
.fc-face .fc-example {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fc-field);
  width: 100%;
}

/* line 32235, app/assets/stylesheets/application.scss */
.fc-face small {
  color: #9ca3af;
  font-size: 13px;
}

/* line 32236, app/assets/stylesheets/application.scss */
.fc-flip.is-flipped .is-front {
  transform: rotateY(90deg);
  opacity: 0;
}

/* line 32237, app/assets/stylesheets/application.scss */
.fc-flip.is-flipped .is-back {
  transform: rotateY(0);
  opacity: 1;
}

/* line 32238, app/assets/stylesheets/application.scss */
.fc-study-nav {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
}

/* line 32244, app/assets/stylesheets/application.scss */
.fc-keys {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--fc-muted);
}

/* line 32250, app/assets/stylesheets/application.scss */
.fc-grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 32251, app/assets/stylesheets/application.scss */
.fc-grade[hidden] {
  display: none;
}

/* line 32252, app/assets/stylesheets/application.scss */
.fc-again {
  color: var(--fc-again);
  background: rgba(225, 29, 72, 0.1);
}

/* line 32253, app/assets/stylesheets/application.scss */
.fc-learning {
  color: var(--fc-learn);
  background: rgba(217, 119, 6, 0.12);
}

/* line 32254, app/assets/stylesheets/application.scss */
.fc-gotit {
  color: #fff;
  background: var(--fc-ok);
}

/* line 32255, app/assets/stylesheets/application.scss */
.fc-complete {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 24px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  text-align: center;
}

/* line 32265, app/assets/stylesheets/application.scss */
.fc-complete h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

/* line 32266, app/assets/stylesheets/application.scss */
.fc-complete .fc-lead {
  text-align: center;
}

/* line 32267, app/assets/stylesheets/application.scss */
.fc-complete .fc-empty-glyph {
  margin: 0 auto 4px;
  background: rgba(5, 150, 105, 0.12);
  color: var(--fc-ok);
}

/* line 32268, app/assets/stylesheets/application.scss */
.fc-summary {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: left;
}

/* line 32275, app/assets/stylesheets/application.scss */
.fc-summary p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
}

/* line 32276, app/assets/stylesheets/application.scss */
.fc-summary p:last-child {
  margin: 0;
}

/* line 32278, app/assets/stylesheets/application.scss */
.fc-banner {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
}

/* line 32291, app/assets/stylesheets/application.scss */
.fc-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 32292, app/assets/stylesheets/application.scss */
.fc-banner-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

/* line 32293, app/assets/stylesheets/application.scss */
.fc-banner-row .fc-primary,
.fc-banner-row .fc-ghost {
  min-height: 42px;
  width: auto;
}

/* line 32296, app/assets/stylesheets/application.scss */
.fc-sheet {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* line 32304, app/assets/stylesheets/application.scss */
.fc-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 24, 39, 0.36);
}

/* line 32305, app/assets/stylesheets/application.scss */
.fc-sheet-card {
  position: relative;
  width: min(400px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.2);
}

/* line 32316, app/assets/stylesheets/application.scss */
.fc-sheet-card strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* line 32317, app/assets/stylesheets/application.scss */
.fc-sheet-card p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 14px;
  line-height: 1.4;
}

/* line 32318, app/assets/stylesheets/application.scss */
.fc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.32);
  display: grid;
  place-items: center;
  z-index: 9;
}

/* line 32326, app/assets/stylesheets/application.scss */
.fc-overlay-card {
  width: min(340px, calc(100% - 40px));
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 32336, app/assets/stylesheets/application.scss */
.fc-overlay-card strong {
  font-size: 17px;
}

/* line 32337, app/assets/stylesheets/application.scss */
.fc-phase {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

/* line 32338, app/assets/stylesheets/application.scss */
.fc-phase .fa-check-circle {
  color: var(--fc-ok);
}

/* line 32339, app/assets/stylesheets/application.scss */
.fc-phase .fa-circle {
  color: #d1d5db;
}

@media (min-width: 760px) {
  /* line 32342, app/assets/stylesheets/application.scss */
  .fc-toolbar {
    flex-direction: row;
    align-items: center;
  }
  /* line 32346, app/assets/stylesheets/application.scss */
  .fc-search {
    flex: 1 1 auto;
  }
  /* line 32347, app/assets/stylesheets/application.scss */
  .fc-pills {
    flex: 0 0 auto;
    padding: 0;
  }
  /* line 32348, app/assets/stylesheets/application.scss */
  .fc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 32349, app/assets/stylesheets/application.scss */
  .fc-create-grid,
.fc-deck-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  }
  /* line 32351, app/assets/stylesheets/application.scss */
  .fc-settings {
    position: sticky;
    top: 8px;
  }
  /* line 32352, app/assets/stylesheets/application.scss */
  .fc-editor-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* line 32353, app/assets/stylesheets/application.scss */
  .fc-card-actions {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  /* line 32357, app/assets/stylesheets/application.scss */
  .fc-nav,
.fc-toolbar {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 32359, app/assets/stylesheets/application.scss */
  .fc-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 32360, app/assets/stylesheets/application.scss */
  .fc-study {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 32361, app/assets/stylesheets/application.scss */
  .fc-face {
    padding: 22px 18px;
  }
  /* line 32362, app/assets/stylesheets/application.scss */
  .fc-grade {
    grid-template-columns: 1fr;
  }
  /* line 32363, app/assets/stylesheets/application.scss */
  .fc-keys {
    display: none;
  }
  /* line 32364, app/assets/stylesheets/application.scss */
  .fc-sheet {
    align-items: end;
    place-items: stretch;
    padding: 0;
  }
  /* line 32365, app/assets/stylesheets/application.scss */
  .fc-sheet-card {
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding-bottom: 28px;
  }
  /* line 32370, app/assets/stylesheets/application.scss */
  .fc-banner {
    left: 12px;
    right: 12px;
  }
  /* line 32371, app/assets/stylesheets/application.scss */
  .fc-study-btn {
    padding: 6px 10px;
  }
}

/* line 32374, app/assets/stylesheets/application.scss */
.sz-app {
  --sz-ink: #17191d;
  --sz-muted: #666e79;
  --sz-soft: #8a9099;
  --sz-field: #f4f5f7;
  --sz-line: #e5e7eb;
  --sz-accent: #d98c21;
  --sz-accent-soft: rgba(217, 140, 33, 0.14);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  position: relative;
  background: var(--perk-canvas, #f2f3f5);
  color: var(--sz-ink);
  font-family: var(--perk-font);
}

/* line 32392, app/assets/stylesheets/application.scss */
.sz-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--sz-line);
  backdrop-filter: blur(16px);
  flex: 0 0 auto;
}

/* line 32403, app/assets/stylesheets/application.scss */
.sz-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 32411, app/assets/stylesheets/application.scss */
.sz-nav-copy strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 32418, app/assets/stylesheets/application.scss */
.sz-nav-copy span {
  font-size: 13px;
  color: var(--sz-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 32426, app/assets/stylesheets/application.scss */
.sz-icon,
.sz-icon-quiet,
.sz-new,
.sz-ghost,
.sz-more,
.sz-pill,
.sz-text-btn,
.sz-primary,
.sz-link {
  transition: background 140ms ease, color 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

/* line 32438, app/assets/stylesheets/application.scss */
.sz-icon,
.sz-icon-quiet {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--sz-field);
  color: var(--sz-ink);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

/* line 32452, app/assets/stylesheets/application.scss */
.sz-icon:hover {
  background: #e8eaee;
}

/* line 32456, app/assets/stylesheets/application.scss */
.sz-icon-quiet {
  background: transparent;
  color: var(--sz-soft);
}

/* line 32461, app/assets/stylesheets/application.scss */
.sz-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--sz-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

/* line 32477, app/assets/stylesheets/application.scss */
.sz-new:hover {
  background: #c47d1a;
}

/* line 32481, app/assets/stylesheets/application.scss */
.sz-workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

/* line 32489, app/assets/stylesheets/application.scss */
.sz-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fff;
  border-right: 1px solid var(--sz-line);
}

/* line 32498, app/assets/stylesheets/application.scss */
.sz-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 14px 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--sz-field);
  color: var(--sz-soft);
}

/* line 32509, app/assets/stylesheets/application.scss */
.sz-search input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--sz-ink);
  outline: none;
}

/* line 32518, app/assets/stylesheets/application.scss */
.sz-rail .sz-scroll {
  padding: 4px 12px 20px;
}

/* line 32522, app/assets/stylesheets/application.scss */
.sz-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: var(--perk-canvas, #f2f3f5);
}

/* line 32531, app/assets/stylesheets/application.scss */
.sz-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

/* line 32537, app/assets/stylesheets/application.scss */
.sz-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 32543, app/assets/stylesheets/application.scss */
.sz-card {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 8px 10px 10px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 14px;
}

/* line 32553, app/assets/stylesheets/application.scss */
.sz-card:hover {
  background: #fafbfc;
  border-color: var(--sz-line);
}

/* line 32558, app/assets/stylesheets/application.scss */
.sz-card.is-selected {
  background: #fffdf8;
  border-color: rgba(217, 140, 33, 0.35);
  box-shadow: 0 1px 0 rgba(217, 140, 33, 0.12);
}

/* line 32564, app/assets/stylesheets/application.scss */
.sz-card-open {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}

/* line 32579, app/assets/stylesheets/application.scss */
.sz-tile {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--sz-accent-soft);
  color: var(--sz-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* line 32592, app/assets/stylesheets/application.scss */
.sz-card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

/* line 32599, app/assets/stylesheets/application.scss */
.sz-card-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* line 32605, app/assets/stylesheets/application.scss */
.sz-card-title strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* line 32612, app/assets/stylesheets/application.scss */
.sz-card-title i {
  color: var(--sz-accent);
  font-size: 11px;
}

/* line 32617, app/assets/stylesheets/application.scss */
.sz-overview {
  font-size: 13px;
  line-height: 1.4;
  color: var(--sz-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 32627, app/assets/stylesheets/application.scss */
.sz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 32633, app/assets/stylesheets/application.scss */
.sz-chip {
  font-size: 11px;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sz-field);
  color: var(--sz-muted);
}

/* line 32642, app/assets/stylesheets/application.scss */
.sz-chip.is-on {
  background: var(--sz-accent-soft);
  color: #a86c14;
}

/* line 32647, app/assets/stylesheets/application.scss */
.sz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--sz-soft);
}

/* line 32655, app/assets/stylesheets/application.scss */
.sz-more {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--sz-soft);
  cursor: pointer;
  border-radius: 999px;
}

/* line 32665, app/assets/stylesheets/application.scss */
.sz-more:hover {
  background: var(--sz-field);
  color: var(--sz-ink);
}

/* line 32670, app/assets/stylesheets/application.scss */
.sz-rail-empty,
.sz-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 28px 24px;
  margin: auto;
}

/* line 32682, app/assets/stylesheets/application.scss */
.sz-rail-empty {
  padding: 24px 8px;
}

/* line 32686, app/assets/stylesheets/application.scss */
.sz-rail-empty p,
.sz-idle p {
  margin: 0;
  max-width: 360px;
  color: var(--sz-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 32695, app/assets/stylesheets/application.scss */
.sz-empty-glyph {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--sz-accent-soft);
  color: var(--sz-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
}

/* line 32708, app/assets/stylesheets/application.scss */
.sz-idle strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 32715, app/assets/stylesheets/application.scss */
.sz-primary {
  border: 0;
  border-radius: 12px;
  background: var(--sz-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  padding: 11px 18px;
  cursor: pointer;
}

/* line 32726, app/assets/stylesheets/application.scss */
.sz-primary.is-block {
  width: 100%;
  padding: 13px 18px;
  font-size: 16px;
  border-radius: 14px;
}

/* line 32733, app/assets/stylesheets/application.scss */
.sz-primary:hover {
  background: #c47d1a;
}

/* line 32737, app/assets/stylesheets/application.scss */
.sz-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 32742, app/assets/stylesheets/application.scss */
.sz-status {
  margin: 0 14px 8px;
  font-size: 13px;
  color: var(--sz-muted);
}

/* line 32748, app/assets/stylesheets/application.scss */
.sz-status.is-err {
  color: #c0392b;
}

/* line 32752, app/assets/stylesheets/application.scss */
.sz-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
}

/* line 32760, app/assets/stylesheets/application.scss */
.sz-pane-head {
  display: grid;
  grid-template-columns: minmax(72px, auto) 1fr minmax(72px, auto);
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--sz-line);
  flex: 0 0 auto;
}

/* line 32770, app/assets/stylesheets/application.scss */
.sz-pane-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
}

/* line 32776, app/assets/stylesheets/application.scss */
.sz-pane-spacer {
  display: block;
}

/* line 32780, app/assets/stylesheets/application.scss */
.sz-text-btn {
  border: 0;
  background: transparent;
  color: var(--sz-ink);
  font-size: 15px;
  cursor: pointer;
  padding: 6px 2px;
}

/* line 32789, app/assets/stylesheets/application.scss */
.sz-text-btn.is-accent {
  font-weight: 650;
  color: var(--sz-accent);
  justify-self: end;
}

/* line 32795, app/assets/stylesheets/application.scss */
.sz-text-btn:disabled {
  opacity: 0.4;
}

/* line 32799, app/assets/stylesheets/application.scss */
.sz-pane-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  align-self: center;
}

/* line 32813, app/assets/stylesheets/application.scss */
.sz-compose-intro h1,
.sz-result-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

/* line 32822, app/assets/stylesheets/application.scss */
.sz-lead {
  margin: 8px 0 0;
  color: var(--sz-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 32829, app/assets/stylesheets/application.scss */
.sz-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 32835, app/assets/stylesheets/application.scss */
.sz-textarea,
.sz-inline,
.sz-title-input {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--sz-field);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--sz-ink);
  resize: vertical;
}

/* line 32850, app/assets/stylesheets/application.scss */
.sz-textarea:focus,
.sz-inline:focus,
.sz-add-point input:focus {
  background: #fff;
  border-color: rgba(217, 140, 33, 0.45);
  box-shadow: 0 0 0 3px rgba(217, 140, 33, 0.12);
}

/* line 32858, app/assets/stylesheets/application.scss */
.sz-title-input {
  background: transparent;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.035em;
  padding: 0;
  border: 0;
  border-radius: 0;
}

/* line 32868, app/assets/stylesheets/application.scss */
.sz-count {
  font-size: 12px;
  color: var(--sz-soft);
  line-height: 1.4;
}

/* line 32874, app/assets/stylesheets/application.scss */
.sz-count.is-ok {
  color: #3d8b4a;
}

/* line 32878, app/assets/stylesheets/application.scss */
.sz-length-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 32884, app/assets/stylesheets/application.scss */
.sz-source {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 32890, app/assets/stylesheets/application.scss */
.sz-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--sz-field);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* line 32901, app/assets/stylesheets/application.scss */
.sz-file span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 32909, app/assets/stylesheets/application.scss */
.sz-file i:first-child {
  color: var(--sz-accent);
}

/* line 32913, app/assets/stylesheets/application.scss */
.sz-file button {
  border: 0;
  background: transparent;
  color: var(--sz-soft);
  cursor: pointer;
}

/* line 32920, app/assets/stylesheets/application.scss */
.sz-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 32926, app/assets/stylesheets/application.scss */
.sz-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--sz-line);
  background: #fff;
  color: var(--sz-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 14px;
}

/* line 32940, app/assets/stylesheets/application.scss */
.sz-ghost:hover {
  background: var(--sz-field);
}

/* line 32944, app/assets/stylesheets/application.scss */
.sz-link {
  border: 0;
  background: transparent;
  color: var(--sz-accent);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 32956, app/assets/stylesheets/application.scss */
.sz-banner {
  padding: 12px 14px;
  border-radius: 12px;
}

/* line 32961, app/assets/stylesheets/application.scss */
.sz-banner.is-warn {
  background: rgba(255, 149, 0, 0.1);
}

/* line 32962, app/assets/stylesheets/application.scss */
.sz-banner.is-err {
  background: rgba(255, 59, 48, 0.08);
}

/* line 32964, app/assets/stylesheets/application.scss */
.sz-banner p {
  margin: 0 0 8px;
  font-size: 14px;
}

/* line 32966, app/assets/stylesheets/application.scss */
.sz-result-pane {
  background: #fff;
}

/* line 32970, app/assets/stylesheets/application.scss */
.sz-result {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 28px 28px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  align-self: center;
}

/* line 32982, app/assets/stylesheets/application.scss */
.sz-result-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 32988, app/assets/stylesheets/application.scss */
.sz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 32994, app/assets/stylesheets/application.scss */
.sz-pill {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 650;
  background: var(--sz-field);
  color: var(--sz-muted);
  cursor: pointer;
}

/* line 33005, app/assets/stylesheets/application.scss */
.sz-pill.is-on {
  background: var(--sz-accent);
  color: #fff;
}

/* line 33010, app/assets/stylesheets/application.scss */
.sz-pill:disabled {
  opacity: 0.45;
}

/* line 33014, app/assets/stylesheets/application.scss */
.sz-block {
  padding: 16px 18px;
  background: var(--sz-field);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 33023, app/assets/stylesheets/application.scss */
.sz-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sz-soft);
}

/* line 33031, app/assets/stylesheets/application.scss */
.sz-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

/* line 33037, app/assets/stylesheets/application.scss */
.sz-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* line 33043, app/assets/stylesheets/application.scss */
.sz-point p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* line 33049, app/assets/stylesheets/application.scss */
.sz-index {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--sz-accent-soft);
  color: #a86c14;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* line 33064, app/assets/stylesheets/application.scss */
.sz-concept strong {
  display: block;
  font-size: 15px;
}

/* line 33069, app/assets/stylesheets/application.scss */
.sz-concept p {
  margin: 4px 0 0;
  color: var(--sz-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 33076, app/assets/stylesheets/application.scss */
.sz-source-ref {
  padding-top: 4px;
}

/* line 33080, app/assets/stylesheets/application.scss */
.sz-source-ref p {
  margin: 6px 0 0;
  color: var(--sz-muted);
  font-size: 14px;
}

/* line 33086, app/assets/stylesheets/application.scss */
.sz-add-point {
  display: flex;
  gap: 8px;
}

/* line 33091, app/assets/stylesheets/application.scss */
.sz-add-point input {
  flex: 1 1 auto;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

/* line 33100, app/assets/stylesheets/application.scss */
.sz-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 16px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--sz-line);
  flex: 0 0 auto;
}

/* line 33111, app/assets/stylesheets/application.scss */
.sz-bar button {
  border: 0;
  background: var(--sz-field);
  color: var(--sz-ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 650;
}

/* line 33127, app/assets/stylesheets/application.scss */
.sz-bar button:hover {
  background: #eceef1;
}

/* line 33131, app/assets/stylesheets/application.scss */
.sz-bar button:disabled {
  opacity: 0.4;
}

/* line 33135, app/assets/stylesheets/application.scss */
.sz-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(23, 25, 29, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* line 33146, app/assets/stylesheets/application.scss */
.sz-overlay-card {
  width: 100%;
  max-width: 360px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--perk-shadow-lg, 0 24px 60px rgba(23, 25, 29, 0.14));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 33158, app/assets/stylesheets/application.scss */
.sz-overlay-card strong {
  font-size: 17px;
}

/* line 33162, app/assets/stylesheets/application.scss */
.sz-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* line 33169, app/assets/stylesheets/application.scss */
.sz-step .fa-check-circle {
  color: var(--sz-accent);
}

/* line 33170, app/assets/stylesheets/application.scss */
.sz-step .fa-circle {
  color: #c7c7cc;
}

/* line 33172, app/assets/stylesheets/application.scss */
.sz-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--sz-line);
  border-top-color: var(--sz-accent);
  border-radius: 999px;
  animation: sz-spin 0.8s linear infinite;
}

@keyframes sz-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 33185, app/assets/stylesheets/application.scss */
.sz-sheet {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 33194, app/assets/stylesheets/application.scss */
.sz-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.36);
}

/* line 33201, app/assets/stylesheets/application.scss */
.sz-menu {
  position: relative;
  z-index: 1;
  width: min(100% - 24px, 360px);
  margin: 0 12px 24px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--perk-shadow-lg, 0 24px 60px rgba(23, 25, 29, 0.14));
}

/* line 33212, app/assets/stylesheets/application.scss */
.sz-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
}

/* line 33225, app/assets/stylesheets/application.scss */
.sz-menu button:hover {
  background: var(--sz-field);
}

/* line 33229, app/assets/stylesheets/application.scss */
.sz-menu .is-danger {
  color: #ff3b30;
}

/* line 33231, app/assets/stylesheets/application.scss */
.sz-drive {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  max-height: 72%;
  overflow: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px 20px;
}

/* line 33242, app/assets/stylesheets/application.scss */
.sz-drive header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* line 33249, app/assets/stylesheets/application.scss */
.sz-drive-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--sz-line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  color: var(--sz-ink);
}

/* line 33265, app/assets/stylesheets/application.scss */
.sz-drive-row:hover {
  color: var(--sz-accent);
}

@media (max-width: 899px) {
  /* line 33270, app/assets/stylesheets/application.scss */
  .sz-nav {
    padding: 10px 12px;
  }
  /* line 33274, app/assets/stylesheets/application.scss */
  .sz-new span {
    display: none;
  }
  /* line 33278, app/assets/stylesheets/application.scss */
  .sz-new {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
  /* line 33284, app/assets/stylesheets/application.scss */
  .sz-app.is-compose .sz-rail,
.sz-app.is-result .sz-rail {
    display: none;
  }
  /* line 33289, app/assets/stylesheets/application.scss */
  .sz-app.is-idle.has-rows .sz-stage {
    display: none;
  }
  /* line 33293, app/assets/stylesheets/application.scss */
  .sz-app.is-idle:not(.has-rows) .sz-rail {
    display: none;
  }
  /* line 33297, app/assets/stylesheets/application.scss */
  .sz-pane-body,
.sz-result {
    padding-left: 18px;
    padding-right: 18px;
  }
  /* line 33303, app/assets/stylesheets/application.scss */
  .sz-compose-intro h1,
.sz-result-head h1,
.sz-title-input {
    font-size: 24px;
  }
}

@media (min-width: 900px) {
  /* line 33311, app/assets/stylesheets/application.scss */
  .sz-workspace {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  }
  /* line 33315, app/assets/stylesheets/application.scss */
  .sz-sheet {
    align-items: center;
  }
  /* line 33319, app/assets/stylesheets/application.scss */
  .sz-drive,
.sz-menu {
    border-radius: 16px;
    margin-bottom: 0;
  }
  /* line 33325, app/assets/stylesheets/application.scss */
  .sz-idle {
    min-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 33331, app/assets/stylesheets/application.scss */
  .sz-spinner {
    animation: none;
  }
}

/* line 33336, app/assets/stylesheets/application.scss */
.companion-hub-shell {
  position: relative;
}

/* —— Team work / Workplace (iOS function, professional web layout) —— */
/* line 33341, app/assets/stylesheets/application.scss */
.tw-landing,
.tw-app,
.tw-sheet,
.tw-cal,
.tw-sheet-layer,
.tw-main {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

/* line 33353, app/assets/stylesheets/application.scss */
.tw-landing {
  --tw-ink: #12131a;
  --tw-panel: #12101c;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--tw-panel);
}

/* line 33362, app/assets/stylesheets/application.scss */
.tw-landing-hero {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 28, 0.18) 0%, rgba(18, 16, 28, 0.05) 36%, rgba(18, 16, 28, 0.72) 72%, #12101c 100%), url(https://perkapp.io/assets/teamWorkHero-5bff8d299561af13e35a0de874aff4c22cbbc2c8adc6b1ee538d1fcc7edc4ae7.jpg) 62% center/cover no-repeat;
  pointer-events: none;
}

/* line 33371, app/assets/stylesheets/application.scss */
.tw-landing-panel {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 0 36px;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 16, 28, 0.88) 22%, #12101c 100%);
}

/* line 33382, app/assets/stylesheets/application.scss */
.tw-back-dark {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* line 33400, app/assets/stylesheets/application.scss */
.tw-back-dark:hover {
  background: rgba(0, 0, 0, 0.58);
}

/* line 33404, app/assets/stylesheets/application.scss */
.tw-landing-copy {
  text-align: center;
  padding: 0 28px 8px;
}

/* line 33409, app/assets/stylesheets/application.scss */
.tw-landing-copy strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

/* line 33417, app/assets/stylesheets/application.scss */
.tw-landing-copy p,
.tw-landing-hint {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.45;
}

/* line 33425, app/assets/stylesheets/application.scss */
.tw-chooser {
  padding: 0 24px 8px;
  text-align: center;
}

/* line 33430, app/assets/stylesheets/application.scss */
.tw-chooser > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

/* line 33440, app/assets/stylesheets/application.scss */
.tw-tiles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 20px;
  padding-bottom: 4px;
}

/* line 33448, app/assets/stylesheets/application.scss */
.tw-tile {
  width: 88px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
}

/* line 33460, app/assets/stylesheets/application.scss */
.tw-tile-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 33467, app/assets/stylesheets/application.scss */
.tw-tile-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

/* line 33483, app/assets/stylesheets/application.scss */
.tw-tile:hover .tw-tile-art {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

/* line 33488, app/assets/stylesheets/application.scss */
.tw-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 33494, app/assets/stylesheets/application.scss */
.tw-tile-art.is-add {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

/* line 33499, app/assets/stylesheets/application.scss */
.tw-app,
.tw-sheet,
.tw-cal,
.tw-sheet-layer,
.tw-main {
  --tw-ink: #17191d;
  --tw-muted: #6b7280;
  --tw-field: #f3f4f6;
  --tw-line: #e8eaee;
  --tw-accent: #6f4cc7;
  --tw-accent-soft: rgba(111, 76, 199, 0.12);
  --tw-canvas: #f6f7f9;
  --tw-card: #fff;
  --tw-btn-h: 40px;
}

/* line 33515, app/assets/stylesheets/application.scss */
.tw-app {
  display: flex;
  flex-direction: column;
  background: var(--tw-canvas);
  color: var(--tw-ink);
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

/* line 33523, app/assets/stylesheets/application.scss */
.tw-sidebar {
  display: none;
}

/* line 33527, app/assets/stylesheets/application.scss */
.tw-top,
.tw-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid transparent;
}

/* line 33536, app/assets/stylesheets/application.scss */
.tw-top {
  border-bottom-color: var(--tw-line);
  background: var(--tw-card);
}

/* line 33541, app/assets/stylesheets/application.scss */
.tw-top-copy {
  flex: 1;
  min-width: 0;
}

/* line 33546, app/assets/stylesheets/application.scss */
.tw-top-copy strong,
.tw-sheet-head strong {
  display: block;
  color: var(--tw-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 33558, app/assets/stylesheets/application.scss */
.tw-top-copy span {
  color: var(--tw-muted);
  font-size: 13px;
  line-height: 1.3;
}

/* line 33564, app/assets/stylesheets/application.scss */
.tw-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 33571, app/assets/stylesheets/application.scss */
.tw-icon {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--tw-field);
  color: var(--tw-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

/* line 33587, app/assets/stylesheets/application.scss */
.tw-icon:hover {
  background: #e8eaee;
}

/* line 33591, app/assets/stylesheets/application.scss */
.tw-icon.is-accent {
  background: var(--tw-accent);
  color: #fff;
}

/* line 33596, app/assets/stylesheets/application.scss */
.tw-icon.is-accent:hover {
  background: #5f3fb0;
}

/* line 33600, app/assets/stylesheets/application.scss */
.tw-icon.sm {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #d8dbe2;
}

/* line 33608, app/assets/stylesheets/application.scss */
.tw-icon:focus-visible,
.tw-tab:focus-visible,
.tw-filter:focus-visible,
.tw-primary-btn:focus-visible,
.tw-add-btn:focus-visible,
.tw-tool-btn:focus-visible,
.tw-pro-primary:focus-visible,
.tw-pro-ghost:focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

/* line 33620, app/assets/stylesheets/application.scss */
.tw-desktop-only {
  display: none !important;
}

/* line 33624, app/assets/stylesheets/application.scss */
.tw-mobile-only {
  display: inline-flex;
}

/* line 33628, app/assets/stylesheets/application.scss */
.tw-tabs {
  display: flex;
  gap: 0;
  padding: 0 12px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-card);
}

/* line 33636, app/assets/stylesheets/application.scss */
.tw-filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--tw-field);
  border-radius: 12px;
}

/* line 33644, app/assets/stylesheets/application.scss */
.tw-tab {
  flex: 1;
  border: 0;
  border-radius: 0;
  padding: 14px 10px 12px;
  background: transparent;
  color: var(--tw-muted);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

/* line 33658, app/assets/stylesheets/application.scss */
.tw-tab.is-on {
  color: var(--tw-accent);
  border-bottom-color: var(--tw-accent);
  background: transparent;
}

/* line 33664, app/assets/stylesheets/application.scss */
.tw-filter {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 34px;
  background: transparent;
  color: var(--tw-ink);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 33677, app/assets/stylesheets/application.scss */
.tw-filter.is-on {
  background: #fff;
  color: var(--tw-accent);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 33683, app/assets/stylesheets/application.scss */
.tw-content,
.tw-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 16px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

/* line 33694, app/assets/stylesheets/application.scss */
.tw-task-list,
.tw-note-list,
.tw-project-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 33702, app/assets/stylesheets/application.scss */
.tw-add-card,
.tw-task,
.tw-note,
.tw-project,
.tw-member,
.tw-friend,
.tw-empty {
  background: var(--tw-card);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: inset 0 0 0 1px #eceef2;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

/* line 33716, app/assets/stylesheets/application.scss */
.tw-add-card {
  padding: 16px 16px 14px;
}

/* line 33720, app/assets/stylesheets/application.scss */
.tw-composer {
  display: grid;
  gap: 2px;
}

/* line 33725, app/assets/stylesheets/application.scss */
.tw-composer-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 33731, app/assets/stylesheets/application.scss */
.tw-task:hover,
.tw-note:hover {
  box-shadow: inset 0 0 0 1px #dedfe4, 0 8px 18px rgba(23, 25, 29, 0.05);
  transform: translateY(-1px);
}

/* line 33737, app/assets/stylesheets/application.scss */
.tw-task.is-overdue {
  box-shadow: inset 0 0 0 1px rgba(190, 18, 60, 0.18);
}

/* line 33741, app/assets/stylesheets/application.scss */
.tw-add-row,
.tw-task,
.tw-note,
.tw-member,
.tw-friend,
.tw-people-actions,
.tw-project-head,
.tw-row-between,
.tw-cal-shift,
.tw-project-task {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 33756, app/assets/stylesheets/application.scss */
.tw-people-actions .tw-primary-btn {
  flex: 1;
}

/* line 33760, app/assets/stylesheets/application.scss */
.tw-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--tw-ink);
  outline: none;
}

/* line 33769, app/assets/stylesheets/application.scss */
.tw-input.solid,
.tw-search {
  width: 100%;
  border: 0;
  background: var(--tw-field);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
}

/* line 33779, app/assets/stylesheets/application.scss */
.tw-search {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tw-muted);
  min-height: 44px;
}

/* line 33787, app/assets/stylesheets/application.scss */
.tw-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--tw-ink);
  font: inherit;
}

/* line 33796, app/assets/stylesheets/application.scss */
.tw-add-btn,
.tw-new-project,
.tw-new-note {
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  min-height: var(--tw-btn-h);
  background: var(--tw-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* line 33814, app/assets/stylesheets/application.scss */
.tw-add-btn:disabled {
  background: rgba(23, 25, 29, 0.18);
  cursor: default;
}

/* line 33819, app/assets/stylesheets/application.scss */
.tw-new-project,
.tw-new-note {
  width: 100%;
  border-radius: 14px;
}

/* line 33825, app/assets/stylesheets/application.scss */
.tw-new-note {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 33830, app/assets/stylesheets/application.scss */
.tw-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

/* line 33839, app/assets/stylesheets/application.scss */
.tw-panel-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 180px;
}

/* line 33846, app/assets/stylesheets/application.scss */
.tw-panel-copy strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 33851, app/assets/stylesheets/application.scss */
.tw-panel-copy span {
  color: var(--tw-muted);
  font-size: 14px;
}

/* line 33856, app/assets/stylesheets/application.scss */
.tw-primary-btn,
.tw-secondary-btn {
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  min-height: var(--tw-btn-h);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

/* line 33872, app/assets/stylesheets/application.scss */
.tw-primary-btn {
  background: var(--tw-accent);
  color: #fff;
}

/* line 33877, app/assets/stylesheets/application.scss */
.tw-primary-btn:hover {
  background: #5f3fb0;
}

/* line 33881, app/assets/stylesheets/application.scss */
.tw-secondary-btn {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 33886, app/assets/stylesheets/application.scss */
.tw-done-btn {
  min-width: 88px;
}

/* line 33890, app/assets/stylesheets/application.scss */
.tw-note-search {
  flex: 1;
  min-width: 200px;
  max-width: 480px;
}

/* line 33896, app/assets/stylesheets/application.scss */
.tw-project.is-detail,
.tw-project.is-expanded {
  background: #fff;
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 30px rgba(23, 25, 29, 0.06), inset 0 0 0 1px #eceef2;
  gap: 16px;
}

/* line 33905, app/assets/stylesheets/application.scss */
.tw-project-title {
  min-width: 0;
  display: grid;
  gap: 8px;
}

/* line 33911, app/assets/stylesheets/application.scss */
.tw-project-title strong {
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

/* line 33917, app/assets/stylesheets/application.scss */
.tw-project-meta {
  color: var(--tw-muted);
  font-size: 13px;
}

/* line 33922, app/assets/stylesheets/application.scss */
.tw-project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 33929, app/assets/stylesheets/application.scss */
.tw-health {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.02em;
  background: #eef2ff;
  color: #4338ca;
}

/* line 33942, app/assets/stylesheets/application.scss */
.tw-health.is-on_track {
  background: #ecfdf5;
  color: #047857;
}

/* line 33947, app/assets/stylesheets/application.scss */
.tw-health.is-at_risk,
.tw-health.is-overdue {
  background: #fff1f2;
  color: #be123c;
}

/* line 33953, app/assets/stylesheets/application.scss */
.tw-health.is-done {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 33958, app/assets/stylesheets/application.scss */
.tw-progress-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8f7fc 0%, #f4f7fb 55%, #f8fafc 100%);
  box-shadow: inset 0 0 0 1px rgba(111, 76, 199, 0.1);
}

/* line 33969, app/assets/stylesheets/application.scss */
.tw-progress-ring {
  --tw-pct: 0;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #fff 0 54%, transparent 55%), conic-gradient(var(--tw-accent) calc(var(--tw-pct) * 1%), #e5e7eb 0);
  flex: 0 0 auto;
  transition: background 0.35s ease;
}

/* line 33984, app/assets/stylesheets/application.scss */
.tw-progress-ring strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--tw-ink);
}

/* line 33992, app/assets/stylesheets/application.scss */
.tw-progress-ring small {
  font-size: 12px;
  font-weight: 700;
}

/* line 33997, app/assets/stylesheets/application.scss */
.tw-progress-ring span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 34007, app/assets/stylesheets/application.scss */
.tw-progress-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

/* line 34013, app/assets/stylesheets/application.scss */
.tw-progress-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* line 34019, app/assets/stylesheets/application.scss */
.tw-metric {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px #eceef2;
  min-width: 0;
}

/* line 34029, app/assets/stylesheets/application.scss */
.tw-metric b {
  color: var(--tw-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* line 34037, app/assets/stylesheets/application.scss */
.tw-metric em {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  color: var(--tw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34047, app/assets/stylesheets/application.scss */
.tw-metric.is-warn b {
  color: #be123c;
}

/* line 34051, app/assets/stylesheets/application.scss */
.tw-map {
  display: grid;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: inset 0 0 0 1px #eceef2;
  min-height: 320px;
}

/* line 34061, app/assets/stylesheets/application.scss */
.tw-map-head {
  display: grid;
  gap: 10px;
}

/* line 34066, app/assets/stylesheets/application.scss */
.tw-map-head-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* line 34073, app/assets/stylesheets/application.scss */
.tw-map-head-copy em,
.tw-map-today-label {
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  color: #d97706;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 34084, app/assets/stylesheets/application.scss */
.tw-map-today-label i {
  font-size: 7px;
}

/* line 34088, app/assets/stylesheets/application.scss */
.tw-map-head-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8e8e93;
}

/* line 34096, app/assets/stylesheets/application.scss */
.tw-map-ticks {
  position: relative;
  height: 20px;
  margin-left: 168px;
}

/* line 34102, app/assets/stylesheets/application.scss */
.tw-map-ticks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--tw-muted);
  white-space: nowrap;
}

/* line 34111, app/assets/stylesheets/application.scss */
.tw-map-ms-lane,
.tw-map-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
}

/* line 34120, app/assets/stylesheets/application.scss */
.tw-map-lane-label,
.tw-map-label {
  min-width: 0;
}

/* line 34125, app/assets/stylesheets/application.scss */
.tw-map-lane-label {
  font-size: 12px;
  font-weight: 650;
  color: var(--tw-muted);
}

/* line 34131, app/assets/stylesheets/application.scss */
.tw-map-label {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

/* line 34140, app/assets/stylesheets/application.scss */
.tw-map-label strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34149, app/assets/stylesheets/application.scss */
.tw-map-label span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 34159, app/assets/stylesheets/application.scss */
.tw-map-assignees {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  color: var(--tw-muted);
  min-width: 0;
}

/* line 34168, app/assets/stylesheets/application.scss */
.tw-map-lane {
  position: relative;
  height: 44px;
  border-radius: 12px;
  background: #f3f4f6;
  overflow: hidden;
}

/* line 34176, app/assets/stylesheets/application.scss */
.tw-map-lane-ms {
  height: 56px;
}

/* line 34180, app/assets/stylesheets/application.scss */
.tw-map-today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: #f59e0b;
  z-index: 2;
}

/* line 34190, app/assets/stylesheets/application.scss */
.tw-map-bar {
  position: absolute;
  top: 11px;
  height: 22px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  min-width: 24px;
  background: #9ca3af;
  box-shadow: 0 4px 10px rgba(23, 25, 29, 0.12);
}

/* line 34202, app/assets/stylesheets/application.scss */
.tw-map-bar.is-todo {
  background: linear-gradient(90deg, #7c6cf0, #6f4cc7);
}

/* line 34206, app/assets/stylesheets/application.scss */
.tw-map-bar.is-active {
  background: linear-gradient(90deg, #6ea0ff, #5285f0);
}

/* line 34210, app/assets/stylesheets/application.scss */
.tw-map-bar.is-blocked {
  background: linear-gradient(90deg, #f08a96, #ed6b7a);
}

/* line 34214, app/assets/stylesheets/application.scss */
.tw-map-bar.is-done {
  background: linear-gradient(90deg, #4cc794, #34b27b);
}

/* line 34218, app/assets/stylesheets/application.scss */
.tw-map-ms {
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 3px;
  max-width: 100px;
}

/* line 34233, app/assets/stylesheets/application.scss */
.tw-map-ms span {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: #ed6b7a;
  box-shadow: 0 0 0 4px rgba(237, 107, 122, 0.18);
}

/* line 34241, app/assets/stylesheets/application.scss */
.tw-map-ms em {
  font-size: 11px;
  font-style: normal;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 96px;
}

/* line 34251, app/assets/stylesheets/application.scss */
.tw-map-empty,
.tw-map-empty-row {
  font-size: 13px;
  color: var(--tw-muted);
  padding: 12px 10px;
}

/* line 34258, app/assets/stylesheets/application.scss */
.tw-project-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* Professional project modals */
/* line 34268, app/assets/stylesheets/application.scss */
.tw-sheet.is-pro {
  background: #fff;
}

/* line 34272, app/assets/stylesheets/application.scss */
.tw-pro-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px 0;
}

/* line 34279, app/assets/stylesheets/application.scss */
.tw-pro-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

/* line 34286, app/assets/stylesheets/application.scss */
.tw-pro-copy em {
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tw-accent);
}

/* line 34295, app/assets/stylesheets/application.scss */
.tw-pro-copy strong {
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--tw-ink);
}

/* line 34302, app/assets/stylesheets/application.scss */
.tw-pro-copy p {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--tw-muted);
}

/* line 34309, app/assets/stylesheets/application.scss */
.tw-pro-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 34323, app/assets/stylesheets/application.scss */
.tw-pro-close:hover {
  background: #e8eaee;
}

/* line 34327, app/assets/stylesheets/application.scss */
.tw-pro-body {
  padding: 18px 22px 8px !important;
}

/* line 34331, app/assets/stylesheets/application.scss */
.tw-pro-fields {
  display: grid;
  gap: 16px;
}

/* line 34336, app/assets/stylesheets/application.scss */
.tw-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 34342, app/assets/stylesheets/application.scss */
.tw-pro-field .tw-input.solid {
  margin-top: 2px;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  background: #f7f8fa;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 34351, app/assets/stylesheets/application.scss */
.tw-pro-field .tw-input.solid:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(111, 76, 199, 0.35);
}

/* line 34356, app/assets/stylesheets/application.scss */
.tw-pro-section h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8e8e93;
}

/* line 34364, app/assets/stylesheets/application.scss */
.tw-pro-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

/* line 34372, app/assets/stylesheets/application.scss */
.tw-pro-section-head h4 {
  margin: 0;
}

/* line 34376, app/assets/stylesheets/application.scss */
.tw-pro-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 34390, app/assets/stylesheets/application.scss */
.tw-pro-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* line 34397, app/assets/stylesheets/application.scss */
.tw-person-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  background: var(--tw-accent-soft);
  color: var(--tw-ink);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 34411, app/assets/stylesheets/application.scss */
.tw-person-chip i {
  font-size: 10px;
  color: var(--tw-muted);
}

/* line 34416, app/assets/stylesheets/application.scss */
.tw-person-chip:hover {
  background: rgba(111, 76, 199, 0.18);
}

/* line 34420, app/assets/stylesheets/application.scss */
.tw-pro-people {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  border-radius: 14px;
  background: #f7f8fa;
}

/* line 34430, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

/* line 34438, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend.is-on {
  box-shadow: inset 0 0 0 1.5px rgba(111, 76, 199, 0.35);
  background: #faf8ff;
}

/* line 34443, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend i {
  margin-left: auto;
  color: var(--tw-muted);
}

/* line 34448, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend i.tw-check-off {
  color: rgba(23, 25, 29, 0.18);
  font-size: 0.95em;
}

/* line 34453, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend.is-on i {
  color: var(--tw-accent);
}

/* line 34457, app/assets/stylesheets/application.scss */
.tw-pro-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 22px;
  border-top: 1px solid #eef0f3;
  margin-top: 8px;
}

/* line 34466, app/assets/stylesheets/application.scss */
.tw-pro-ghost,
.tw-pro-primary,
.tw-pro-danger {
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  min-height: 42px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

/* line 34478, app/assets/stylesheets/application.scss */
.tw-pro-ghost {
  background: #f3f4f6;
  color: var(--tw-ink);
}

/* line 34483, app/assets/stylesheets/application.scss */
.tw-pro-primary {
  background-color: #6f4cc7;
  background: var(--tw-accent, #6f4cc7);
  color: #fff;
  min-width: 112px;
}

/* line 34490, app/assets/stylesheets/application.scss */
.tw-pro-primary:hover {
  filter: brightness(0.96);
}

/* line 34494, app/assets/stylesheets/application.scss */
.tw-pro-danger {
  width: 100%;
  background: #fff1f2;
  color: #be123c;
}

@media (max-width: 640px) {
  /* line 34501, app/assets/stylesheets/application.scss */
  .tw-pro-grid {
    grid-template-columns: 1fr;
  }
  /* line 34505, app/assets/stylesheets/application.scss */
  .tw-progress-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  /* line 34510, app/assets/stylesheets/application.scss */
  .tw-progress-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* line 34515, app/assets/stylesheets/application.scss */
.tw-note-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* line 34524, app/assets/stylesheets/application.scss */
.tw-fmt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 14px;
  background: var(--tw-field);
  box-shadow: inset 0 0 0 1px var(--tw-line);
  position: sticky;
  top: 0;
  z-index: 3;
}

/* line 34538, app/assets/stylesheets/application.scss */
.tw-fmt-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--tw-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
}

/* line 34554, app/assets/stylesheets/application.scss */
.tw-fmt-btn:hover,
.tw-fmt-btn:focus-visible {
  background: #fff;
  color: var(--tw-ink);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 34561, app/assets/stylesheets/application.scss */
.tw-fmt-btn span {
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* line 34566, app/assets/stylesheets/application.scss */
.tw-fmt-sep {
  width: 1px;
  height: 16px;
  margin: 0 5px;
  background: #d8dbe2;
}

/* line 34573, app/assets/stylesheets/application.scss */
.tw-note-compose {
  position: relative;
  flex: 1;
  display: flex;
  min-height: 42vh;
}

/* line 34580, app/assets/stylesheets/application.scss */
.tw-note-compose .tw-note-body {
  min-height: 42vh;
}

/* line 34584, app/assets/stylesheets/application.scss */
.tw-note-mentions {
  position: absolute;
  left: 0;
  top: 8px;
  z-index: 9;
  min-width: 240px;
  max-width: min(360px, 100%);
}

/* line 34593, app/assets/stylesheets/application.scss */
.tw-note-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 34599, app/assets/stylesheets/application.scss */
.tw-tool-btn {
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  min-height: 40px;
  background: var(--tw-field);
  color: var(--tw-ink);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 34614, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-meeting {
  background: #fff7ed;
  color: #c2410c;
}

/* line 34619, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-ai {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 34624, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-recording {
  background: #fff1f2;
  color: #be123c;
  animation: tw-pulse-rec 1.4s ease-in-out infinite;
}

/* line 34630, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-busy,
.tw-tool-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

@keyframes tw-pulse-rec {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(190, 18, 60, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(190, 18, 60, 0);
  }
}

/* line 34641, app/assets/stylesheets/application.scss */
.tw-ai-wrap {
  position: relative;
}

/* line 34645, app/assets/stylesheets/application.scss */
.tw-ai-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 8;
  min-width: 200px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.14);
  display: grid;
  gap: 2px;
}

/* line 34660, app/assets/stylesheets/application.scss */
.tw-ai-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--tw-ink);
}

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

/* line 34676, app/assets/stylesheets/application.scss */
.tw-note-save {
  margin-left: auto;
  font-size: 13px;
  color: var(--tw-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 34685, app/assets/stylesheets/application.scss */
.tw-voice-status {
  min-height: 18px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #b45309;
  font-weight: 600;
}

/* line 34693, app/assets/stylesheets/application.scss */
.tw-note-editor {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0;
}

/* line 34700, app/assets/stylesheets/application.scss */
.tw-note-editor-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  background: var(--tw-canvas);
}

/* line 34708, app/assets/stylesheets/application.scss */
.tw-note-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 34714, app/assets/stylesheets/application.scss */
.tw-note-delete {
  color: #9ca3af;
}

/* line 34718, app/assets/stylesheets/application.scss */
.tw-note-delete:hover,
.tw-note-delete:focus-visible {
  color: #b42318;
  background: #fff1f0;
}

/* line 34724, app/assets/stylesheets/application.scss */
.tw-note-title {
  width: 100%;
  border: 0;
  outline: none;
  font-family: "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--tw-ink);
  background: transparent;
  margin: 8px 0 14px;
  padding: 4px 0 12px;
}

/* line 34739, app/assets/stylesheets/application.scss */
.tw-note-title::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

/* line 34744, app/assets/stylesheets/application.scss */
.tw-note-body,
.tw-note-paper {
  width: 100%;
  border: 0;
  outline: none;
  min-height: 42vh;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--tw-ink);
  background: transparent;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  flex: 1;
}

/* line 34759, app/assets/stylesheets/application.scss */
.tw-note-paper {
  padding: 18px 20px 28px;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px #eceef2;
}

/* line 34767, app/assets/stylesheets/application.scss */
.tw-note-paper:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1.5px rgba(111, 76, 199, 0.28);
}

/* line 34772, app/assets/stylesheets/application.scss */
.tw-note-paper:empty::before,
.tw-note-paper:has(> p:only-child:empty)::before,
.tw-note-paper:has(> p:only-child > br:only-child)::before {
  content: attr(data-placeholder);
  color: #9ca3af;
  pointer-events: none;
}

/* line 34780, app/assets/stylesheets/application.scss */
.tw-note-paper h1,
.tw-note-paper h2,
.tw-note-paper h3 {
  font-family: inherit;
  color: var(--tw-ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 18px 0 8px;
  line-height: 1.25;
}

/* line 34791, app/assets/stylesheets/application.scss */
.tw-note-paper h1 {
  font-size: 24px;
}

/* line 34795, app/assets/stylesheets/application.scss */
.tw-note-paper h2 {
  font-size: 19px;
}

/* line 34799, app/assets/stylesheets/application.scss */
.tw-note-paper h3 {
  font-size: 16px;
}

/* line 34803, app/assets/stylesheets/application.scss */
.tw-note-paper p,
.tw-note-paper li,
.tw-note-paper blockquote {
  margin: 0 0 10px;
}

/* line 34809, app/assets/stylesheets/application.scss */
.tw-note-paper p + p {
  margin-top: 2px;
}

/* line 34813, app/assets/stylesheets/application.scss */
.tw-note-paper ul,
.tw-note-paper ol {
  margin: 4px 0 14px;
  padding: 0;
  list-style: none;
}

/* line 34820, app/assets/stylesheets/application.scss */
.tw-note-paper ul > li,
.tw-note-paper ol > li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  line-height: 1.5;
}

/* line 34829, app/assets/stylesheets/application.scss */
.tw-note-paper ul > li::before {
  content: "•";
  flex: 0 0 auto;
  color: var(--tw-accent);
  opacity: 0.72;
  line-height: 1.45;
  padding-top: 1px;
}

/* line 34838, app/assets/stylesheets/application.scss */
.tw-note-paper ol {
  counter-reset: tw-note;
}

/* line 34842, app/assets/stylesheets/application.scss */
.tw-note-paper ol > li {
  counter-increment: tw-note;
}

/* line 34846, app/assets/stylesheets/application.scss */
.tw-note-paper ol > li::before {
  content: counter(tw-note) ".";
  flex: 0 0 auto;
  min-width: 1.2em;
  color: var(--tw-muted);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* line 34855, app/assets/stylesheets/application.scss */
.tw-note-paper .tw-note-checks > li::before {
  content: none;
}

/* line 34859, app/assets/stylesheets/application.scss */
.tw-note-check label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

/* line 34866, app/assets/stylesheets/application.scss */
.tw-note-check input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--tw-accent);
}

/* line 34871, app/assets/stylesheets/application.scss */
.tw-note-paper blockquote {
  margin: 8px 0 14px;
  padding: 4px 0 4px 14px;
  border-left: 3px solid rgba(111, 76, 199, 0.35);
  color: #4b5563;
  font-style: italic;
}

/* line 34879, app/assets/stylesheets/application.scss */
.tw-note-paper hr,
.tw-note-rule {
  border: 0;
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, #e5e7eb 18%, #e5e7eb 82%, transparent);
}

/* line 34887, app/assets/stylesheets/application.scss */
.tw-note-paper a {
  color: var(--tw-accent);
  text-decoration: underline;
  text-decoration-color: rgba(111, 76, 199, 0.35);
  text-underline-offset: 3px;
}

/* line 34894, app/assets/stylesheets/application.scss */
.tw-note-paper code {
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--tw-field);
  color: #4b5563;
}

/* line 34902, app/assets/stylesheets/application.scss */
.tw-note-paper strong {
  font-weight: 670;
  color: var(--tw-ink);
}

/* line 34907, app/assets/stylesheets/application.scss */
.tw-note-attach {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 14px 0;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eceef2;
}

/* line 34918, app/assets/stylesheets/application.scss */
.tw-note-attach-open {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  padding: 0;
}

/* line 34933, app/assets/stylesheets/application.scss */
.tw-note-attach-thumb,
.tw-note-attach-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #f4ebe4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--note-file-color, #8a7a6e);
}

/* line 34947, app/assets/stylesheets/application.scss */
.tw-note-attach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 34953, app/assets/stylesheets/application.scss */
.tw-note-attach-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 34959, app/assets/stylesheets/application.scss */
.tw-note-attach-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

/* line 34968, app/assets/stylesheets/application.scss */
.tw-note-attach-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 34974, app/assets/stylesheets/application.scss */
.tw-note-attach-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}

/* line 34984, app/assets/stylesheets/application.scss */
.tw-note-attach-remove:hover,
.tw-note-attach-remove:focus-visible {
  background: #fff1f0;
  color: #b42318;
}

/* line 34990, app/assets/stylesheets/application.scss */
.tw-note-attach.is-missing {
  opacity: 0.55;
}

/* line 34994, app/assets/stylesheets/application.scss */
.tw-note-chat {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--tw-line);
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(246, 247, 249, 0.72) 0%, var(--tw-canvas) 28%);
  z-index: 2;
}

/* line 35004, app/assets/stylesheets/application.scss */
.tw-note-chat-log {
  display: grid;
  gap: 6px;
  max-height: 120px;
  overflow: auto;
  margin-bottom: 10px;
}

/* line 35012, app/assets/stylesheets/application.scss */
.tw-note-chat-msg {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f7f8fa;
  font-size: 12px;
}

/* line 35021, app/assets/stylesheets/application.scss */
.tw-note-chat-msg.is-user {
  background: #f3efff;
}

/* line 35025, app/assets/stylesheets/application.scss */
.tw-note-chat-msg strong {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 35032, app/assets/stylesheets/application.scss */
.tw-note-chat-msg span {
  color: var(--tw-ink);
  line-height: 1.4;
}

/* line 35037, app/assets/stylesheets/application.scss */
.tw-note-chat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  min-height: 52px;
  border-radius: 16px;
  background: #f7f5ff;
  box-shadow: inset 0 0 0 1px rgba(111, 76, 199, 0.14);
}

/* line 35048, app/assets/stylesheets/application.scss */
.tw-note-chat-bar > i {
  color: var(--tw-accent);
  flex: 0 0 auto;
}

/* line 35053, app/assets/stylesheets/application.scss */
.tw-note-chat-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--tw-ink);
}

/* line 35063, app/assets/stylesheets/application.scss */
.tw-note-chat-send {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--tw-accent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 35077, app/assets/stylesheets/application.scss */
.tw-note-chat-send:disabled,
.tw-note-chat-send.is-busy {
  opacity: 0.7;
  cursor: default;
}

/* line 35083, app/assets/stylesheets/application.scss */
.tw-meta-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 12px;
  align-items: center;
  padding-bottom: 2px;
}

/* line 35092, app/assets/stylesheets/application.scss */
.tw-assignee-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 35097, app/assets/stylesheets/application.scss */
.tw-assignee-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 8;
  min-width: 260px;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 36px rgba(23, 25, 29, 0.16);
}

/* line 35112, app/assets/stylesheets/application.scss */
.tw-assignee-menu-head {
  padding: 6px 10px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 35121, app/assets/stylesheets/application.scss */
.tw-assignee-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--tw-ink);
  font-size: 14px;
  font-weight: 600;
}

/* line 35137, app/assets/stylesheets/application.scss */
.tw-assignee-option:hover {
  background: var(--tw-field);
}

/* line 35141, app/assets/stylesheets/application.scss */
.tw-assignee-option.is-on {
  background: var(--tw-accent-soft);
}

/* line 35145, app/assets/stylesheets/application.scss */
.tw-assignee-option img,
.tw-assignee-option .tw-avatar,
.tw-assignee-option .tw-avatar-fallback {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

/* line 35153, app/assets/stylesheets/application.scss */
.tw-assignee-option i {
  margin-left: auto;
  color: var(--tw-accent);
}

/* line 35158, app/assets/stylesheets/application.scss */
.tw-chip,
.tw-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 0;
  background: var(--tw-field);
  border-radius: 12px;
  padding: 8px 12px;
  min-height: 40px;
  font-size: 13px;
  color: var(--tw-ink);
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

/* line 35176, app/assets/stylesheets/application.scss */
.tw-chip:hover,
.tw-select:hover {
  background: #e8eaee;
}

/* line 35181, app/assets/stylesheets/application.scss */
.tw-chip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 35189, app/assets/stylesheets/application.scss */
.tw-chip-value {
  font-weight: 650;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 35196, app/assets/stylesheets/application.scss */
.tw-chip-assignee {
  gap: 8px;
}

/* line 35200, app/assets/stylesheets/application.scss */
.tw-chip-select {
  padding-right: 10px;
}

/* line 35204, app/assets/stylesheets/application.scss */
.tw-select-inline {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 650;
  color: var(--tw-ink);
  outline: none;
  max-width: 140px;
  cursor: pointer;
}

/* line 35215, app/assets/stylesheets/application.scss */
.tw-chip input {
  border: 0;
  background: transparent;
  width: 124px;
  font: inherit;
  color: inherit;
}

/* line 35223, app/assets/stylesheets/application.scss */
.tw-avatar-stack {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* line 35229, app/assets/stylesheets/application.scss */
.tw-avatar-stack .tw-avatar,
.tw-avatar-stack .tw-avatar-fallback,
.tw-avatar-stack .tw-avatar-more {
  margin-left: -6px;
  box-shadow: 0 0 0 2px #fff;
}

/* line 35236, app/assets/stylesheets/application.scss */
.tw-avatar-stack .tw-avatar:first-child,
.tw-avatar-stack .tw-avatar-fallback:first-child {
  margin-left: 0;
}

/* line 35241, app/assets/stylesheets/application.scss */
.tw-avatar,
.tw-avatar-fallback,
.tw-avatar-more {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  background: #e5e7eb;
  color: var(--tw-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex: 0 0 auto;
  line-height: 1;
}

/* line 35259, app/assets/stylesheets/application.scss */
.tw-avatar-md {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

/* line 35265, app/assets/stylesheets/application.scss */
.tw-avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

/* line 35271, app/assets/stylesheets/application.scss */
.tw-avatar-more {
  background: var(--tw-field);
  color: var(--tw-muted);
  font-size: 10px;
}

/* line 35277, app/assets/stylesheets/application.scss */
.tw-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.02em;
  background: #f3f4f6;
  color: #4b5563;
  flex: 0 0 auto;
}

/* line 35291, app/assets/stylesheets/application.scss */
.tw-status-pill.is-todo {
  background: #f3efff;
  color: #5b3ea6;
}

/* line 35296, app/assets/stylesheets/application.scss */
.tw-status-pill.is-in_progress {
  background: #eff6ff;
  color: #1d4ed8;
}

/* line 35301, app/assets/stylesheets/application.scss */
.tw-status-pill.is-blocked {
  background: #fff1f2;
  color: #be123c;
}

/* line 35306, app/assets/stylesheets/application.scss */
.tw-status-pill.is-done {
  background: #ecfdf5;
  color: #047857;
}

/* line 35311, app/assets/stylesheets/application.scss */
.tw-check {
  border: 0;
  background: transparent;
  color: rgba(23, 25, 29, 0.28);
  cursor: pointer;
  font-size: 22px;
  flex: 0 0 auto;
  transition: color 0.15s ease, transform 0.15s ease;
}

/* line 35321, app/assets/stylesheets/application.scss */
.tw-check:hover {
  color: var(--tw-accent);
  transform: scale(1.05);
}

/* line 35326, app/assets/stylesheets/application.scss */
.tw-check.is-done {
  color: var(--tw-accent);
}

/* line 35330, app/assets/stylesheets/application.scss */
.tw-task-main,
.tw-note,
.tw-friend,
.tw-project-task {
  flex: 1;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

/* line 35344, app/assets/stylesheets/application.scss */
.tw-task-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 35351, app/assets/stylesheets/application.scss */
.tw-task-title-row strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 35359, app/assets/stylesheets/application.scss */
.tw-task-main strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 35366, app/assets/stylesheets/application.scss */
.tw-task-main strong.is-done {
  text-decoration: line-through;
  color: var(--tw-muted);
}

/* line 35371, app/assets/stylesheets/application.scss */
.tw-task-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  align-items: center;
}

/* line 35379, app/assets/stylesheets/application.scss */
.tw-task-meta em,
.tw-note em,
.tw-member em,
.tw-friend em,
.tw-project-meta,
.tw-muted {
  display: block;
  color: var(--tw-muted);
  font-size: 13px;
  font-style: normal;
}

/* line 35391, app/assets/stylesheets/application.scss */
.tw-task-meta em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 35397, app/assets/stylesheets/application.scss */
.tw-task-meta em.is-overdue {
  color: #be123c;
  font-weight: 650;
}

/* line 35402, app/assets/stylesheets/application.scss */
.tw-task-people {
  gap: 8px !important;
}

/* line 35406, app/assets/stylesheets/application.scss */
.tw-task-people span {
  display: inline !important;
  color: var(--tw-muted);
  font-size: 13px;
}

/* line 35412, app/assets/stylesheets/application.scss */
.tw-note {
  width: 100%;
  gap: 12px;
}

/* line 35417, app/assets/stylesheets/application.scss */
.tw-note-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 35429, app/assets/stylesheets/application.scss */
.tw-note-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

/* line 35436, app/assets/stylesheets/application.scss */
.tw-note-preview {
  display: block !important;
  margin-top: 0 !important;
  color: #4b5563 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 35445, app/assets/stylesheets/application.scss */
.tw-note-updated {
  font-size: 12px !important;
}

/* line 35449, app/assets/stylesheets/application.scss */
.tw-note-chevron {
  color: #9ca3af !important;
  margin-left: auto;
  flex: 0 0 auto;
}

/* line 35455, app/assets/stylesheets/application.scss */
.tw-note i:first-child {
  color: var(--tw-accent);
}

/* line 35459, app/assets/stylesheets/application.scss */
.tw-note i:last-child {
  color: #9ca3af;
  margin-left: auto;
}

/* line 35464, app/assets/stylesheets/application.scss */
.tw-note span {
  min-width: 0;
}

/* line 35468, app/assets/stylesheets/application.scss */
.tw-note strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}

/* line 35474, app/assets/stylesheets/application.scss */
.tw-project {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 35480, app/assets/stylesheets/application.scss */
.tw-project-head {
  align-items: flex-start;
  justify-content: space-between;
}

/* line 35485, app/assets/stylesheets/application.scss */
.tw-project-head strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 35490, app/assets/stylesheets/application.scss */
.tw-progress {
  display: grid;
  gap: 6px;
}

/* line 35495, app/assets/stylesheets/application.scss */
.tw-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 35503, app/assets/stylesheets/application.scss */
.tw-progress-meta strong {
  color: var(--tw-ink);
  font-size: 14px;
}

/* line 35508, app/assets/stylesheets/application.scss */
.tw-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

/* line 35515, app/assets/stylesheets/application.scss */
.tw-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6f4cc7, #5285f0);
  transition: width 0.35s ease;
}

/* line 35523, app/assets/stylesheets/application.scss */
.tw-gantt {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #eceef2;
}

/* line 35534, app/assets/stylesheets/application.scss */
.tw-gantt-track {
  position: relative;
  display: block;
  height: 30px;
  background: #eceef2;
  border-radius: 8px;
  overflow: hidden;
}

/* line 35543, app/assets/stylesheets/application.scss */
.tw-gantt-bar {
  position: absolute;
  top: 9px;
  height: 12px;
  border-radius: 6px;
  background: var(--tw-accent);
}

/* line 35551, app/assets/stylesheets/application.scss */
.tw-gantt-ms {
  position: absolute;
  top: 5px;
  width: 10px;
  height: 20px;
  margin-left: -5px;
  border: 0;
  border-radius: 4px;
  background: #ed6b7a;
  cursor: pointer;
  z-index: 1;
}

/* line 35564, app/assets/stylesheets/application.scss */
.tw-gantt-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--tw-muted);
}

/* line 35572, app/assets/stylesheets/application.scss */
.tw-done-pill {
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
  font-size: 11px;
  font-weight: 600;
}

/* line 35582, app/assets/stylesheets/application.scss */
.tw-project-actions {
  display: flex;
  gap: 4px;
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

/* line 35589, app/assets/stylesheets/application.scss */
.tw-project:hover .tw-project-actions,
.tw-project.is-expanded .tw-project-actions {
  opacity: 1;
}

/* line 35594, app/assets/stylesheets/application.scss */
.tw-project-task {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
}

/* line 35601, app/assets/stylesheets/application.scss */
.tw-project-task span {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}

/* line 35607, app/assets/stylesheets/application.scss */
.tw-project-task em {
  font-size: 11px;
}

/* line 35611, app/assets/stylesheets/application.scss */
.tw-text-btn {
  border: 0;
  background: transparent;
  color: var(--tw-ink);
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
  min-width: 72px;
  min-height: 40px;
}

/* line 35622, app/assets/stylesheets/application.scss */
.tw-text-btn.is-accent {
  color: var(--tw-accent);
}

/* line 35626, app/assets/stylesheets/application.scss */
.tw-sheet-head strong {
  flex: 1;
  text-align: center;
}

/* line 35631, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor {
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-card, #fff);
}

/* line 35637, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy {
  text-align: left;
}

/* line 35641, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy strong {
  text-align: left;
}

/* line 35645, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 35651, app/assets/stylesheets/application.scss */
.tw-sheet-layer {
  position: relative;
  min-height: 100%;
  height: 100%;
}

/* line 35657, app/assets/stylesheets/application.scss */
.tw-sheet-underlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

/* line 35664, app/assets/stylesheets/application.scss */
.tw-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.28);
  cursor: pointer;
  z-index: 2;
}

/* line 35673, app/assets/stylesheets/application.scss */
.tw-sheet,
.tw-cal {
  position: relative;
  z-index: 3;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

/* line 35684, app/assets/stylesheets/application.scss */
.tw-photo {
  display: flex;
  justify-content: center;
}

/* line 35689, app/assets/stylesheets/application.scss */
.tw-photo-art {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* line 35702, app/assets/stylesheets/application.scss */
.tw-photo-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 35708, app/assets/stylesheets/application.scss */
.tw-camera {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--tw-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* line 35723, app/assets/stylesheets/application.scss */
.tw-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 650;
  font-size: 13px;
}

/* line 35731, app/assets/stylesheets/application.scss */
.tw-share {
  width: 48px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
  cursor: pointer;
}

/* line 35741, app/assets/stylesheets/application.scss */
.tw-member img,
.tw-friend img,
.tw-side-member img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex: 0 0 auto;
}

/* line 35756, app/assets/stylesheets/application.scss */
.tw-avatar-fallback {
  border-radius: 999px;
  object-fit: cover;
  background: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex: 0 0 auto;
}

/* line 35767, app/assets/stylesheets/application.scss */
.tw-member .tw-avatar-fallback,
.tw-friend .tw-avatar-fallback:not(.tw-avatar),
.tw-side-member .tw-avatar-fallback {
  width: 40px;
  height: 40px;
}

/* line 35774, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend img.tw-avatar,
.tw-pro-people .tw-friend .tw-avatar,
.tw-assignee-option img.tw-avatar,
.tw-assignee-option .tw-avatar {
  width: 32px;
  height: 32px;
}

/* line 35782, app/assets/stylesheets/application.scss */
.tw-leave {
  width: 100%;
  border: 0;
  background: transparent;
  color: #dc2626;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
}

/* line 35792, app/assets/stylesheets/application.scss */
.tw-note-body {
  min-height: 42vh;
}

/* line 35796, app/assets/stylesheets/application.scss */
.tw-cal-shift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

/* line 35804, app/assets/stylesheets/application.scss */
.tw-cal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  padding: 4px 0 0;
  background: var(--tw-canvas);
}

/* line 35814, app/assets/stylesheets/application.scss */
.tw-cal-head {
  background: #fff;
  border-bottom: 1px solid var(--tw-line);
}

/* line 35819, app/assets/stylesheets/application.scss */
.tw-cal-today-btn {
  flex: 0 0 auto;
  min-height: 40px;
}

/* line 35824, app/assets/stylesheets/application.scss */
.tw-cal-toolbar {
  padding: 12px 16px 0;
}

/* line 35828, app/assets/stylesheets/application.scss */
.tw-cal-range {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: grid;
  gap: 2px;
}

/* line 35836, app/assets/stylesheets/application.scss */
.tw-cal-range strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tw-ink);
}

/* line 35843, app/assets/stylesheets/application.scss */
.tw-cal-range span {
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 35848, app/assets/stylesheets/application.scss */
.tw-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 35858, app/assets/stylesheets/application.scss */
.tw-day {
  border: 0;
  background: #fff;
  border-radius: 16px;
  padding: 10px 8px 12px;
  min-height: 168px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 0 0 1px #eceef2;
  transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

/* line 35875, app/assets/stylesheets/application.scss */
.tw-day:hover {
  box-shadow: inset 0 0 0 1px #dedfe4, 0 8px 18px rgba(23, 25, 29, 0.05);
  transform: translateY(-1px);
}

/* line 35880, app/assets/stylesheets/application.scss */
.tw-day.is-today {
  background: linear-gradient(180deg, #faf8ff 0%, #fff 42%);
  box-shadow: inset 0 0 0 1.5px rgba(111, 76, 199, 0.28);
}

/* line 35885, app/assets/stylesheets/application.scss */
.tw-day.is-selected {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--tw-accent), 0 10px 22px rgba(111, 76, 199, 0.12);
}

/* line 35890, app/assets/stylesheets/application.scss */
.tw-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
}

/* line 35898, app/assets/stylesheets/application.scss */
.tw-day-head em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 35907, app/assets/stylesheets/application.scss */
.tw-day-head strong {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tw-ink);
}

/* line 35920, app/assets/stylesheets/application.scss */
.tw-day-head strong.is-today {
  background: var(--tw-accent);
  color: #fff;
}

/* line 35925, app/assets/stylesheets/application.scss */
.tw-day-events {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  flex: 1;
}

/* line 35933, app/assets/stylesheets/application.scss */
.tw-day-empty {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  color: #9ca3af;
  line-height: 1.35;
}

/* line 35941, app/assets/stylesheets/application.scss */
.tw-event {
  --tw-event-color: #6f4cc7;
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 7px 8px 7px 10px;
  border-radius: 10px;
  background: rgba(111, 76, 199, 0.12);
  background: color-mix(in srgb, var(--tw-event-color) 14%, #fff);
  color: var(--tw-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  box-shadow: inset 3px 0 0 var(--tw-event-color);
  overflow: hidden;
}

/* line 35959, app/assets/stylesheets/application.scss */
.tw-event em {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tw-event-color);
}

/* line 35968, app/assets/stylesheets/application.scss */
.tw-event strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 35977, app/assets/stylesheets/application.scss */
.tw-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px;
}

/* line 35984, app/assets/stylesheets/application.scss */
.tw-legend-item {
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  color: var(--tw-ink);
  box-shadow: inset 0 0 0 1px #eceef2;
  transition: opacity 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* line 36000, app/assets/stylesheets/application.scss */
.tw-legend-item:hover {
  background: var(--tw-field);
}

/* line 36004, app/assets/stylesheets/application.scss */
.tw-legend-item.is-off {
  opacity: 0.42;
  background: transparent;
}

/* line 36009, app/assets/stylesheets/application.scss */
.tw-legend-item i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.04);
}

/* line 36017, app/assets/stylesheets/application.scss */
.tw-cal-add {
  margin: 0 16px 16px;
  background: #fff;
}

/* line 36022, app/assets/stylesheets/application.scss */
.tw-cal-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  /* line 36030, app/assets/stylesheets/application.scss */
  .tw-cal-range span {
    display: none;
  }
  /* line 36034, app/assets/stylesheets/application.scss */
  .tw-week {
    grid-auto-flow: column;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
  /* line 36041, app/assets/stylesheets/application.scss */
  .tw-day {
    min-height: 180px;
  }
}

/* line 36046, app/assets/stylesheets/application.scss */
.tw-error {
  margin: 12px 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

/* line 36058, app/assets/stylesheets/application.scss */
.tw-empty {
  padding: 28px 18px;
  text-align: center;
}

/* line 36063, app/assets/stylesheets/application.scss */
.tw-empty strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* line 36069, app/assets/stylesheets/application.scss */
.tw-empty p {
  margin: 8px auto 0;
  max-width: 36ch;
  color: var(--tw-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 36077, app/assets/stylesheets/application.scss */
.tw-spinner {
  width: 22px;
  height: 22px;
  margin: 18px auto;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 999px;
  animation: tw-spin 0.8s linear infinite;
}

/* line 36087, app/assets/stylesheets/application.scss */
.tw-spinner.sm {
  width: 16px;
  height: 16px;
  margin: 0;
  border-color: rgba(23, 25, 29, 0.15);
  border-top-color: #17191d;
}

@keyframes tw-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 899px) {
  /* line 36100, app/assets/stylesheets/application.scss */
  .tw-map-ticks {
    margin-left: 120px;
  }
  /* line 36104, app/assets/stylesheets/application.scss */
  .tw-map-ms-lane,
.tw-map-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  /* line 36109, app/assets/stylesheets/application.scss */
  .tw-map-ms em {
    display: none;
  }
  /* line 36113, app/assets/stylesheets/application.scss */
  .tw-panel-toolbar .tw-primary-btn {
    width: 100%;
  }
  /* line 36117, app/assets/stylesheets/application.scss */
  .tw-note-search {
    max-width: none;
    width: 100%;
  }
  /* line 36122, app/assets/stylesheets/application.scss */
  .tw-filters {
    width: 100%;
  }
  /* line 36126, app/assets/stylesheets/application.scss */
  .tw-sheet.is-pro {
    border-radius: 0;
  }
  /* line 36130, app/assets/stylesheets/application.scss */
  .tw-pro-foot {
    position: sticky;
    bottom: 0;
    background: #fff;
  }
}

@media (min-width: 900px) {
  /* line 36138, app/assets/stylesheets/application.scss */
  .tw-landing {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  }
  /* line 36143, app/assets/stylesheets/application.scss */
  .tw-landing-hero {
    position: relative;
    min-height: 100%;
    background: linear-gradient(90deg, rgba(18, 16, 28, 0.05) 0%, rgba(18, 16, 28, 0.18) 78%, rgba(18, 16, 28, 0.55) 100%), url(https://perkapp.io/assets/teamWorkHero-5bff8d299561af13e35a0de874aff4c22cbbc2c8adc6b1ee538d1fcc7edc4ae7.jpg) 62% center/cover no-repeat;
  }
  /* line 36151, app/assets/stylesheets/application.scss */
  .tw-landing-panel {
    margin: 0;
    justify-content: center;
    padding: 48px 44px;
    background: #12101c;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }
  /* line 36159, app/assets/stylesheets/application.scss */
  .tw-landing-copy {
    text-align: left;
    padding: 0 0 24px;
    max-width: 380px;
  }
  /* line 36165, app/assets/stylesheets/application.scss */
  .tw-landing-copy strong {
    font-size: 40px;
    letter-spacing: -0.05em;
  }
  /* line 36170, app/assets/stylesheets/application.scss */
  .tw-landing-copy p {
    font-size: 17px;
  }
  /* line 36174, app/assets/stylesheets/application.scss */
  .tw-chooser {
    text-align: left;
    padding: 0;
  }
  /* line 36179, app/assets/stylesheets/application.scss */
  .tw-chooser > span {
    text-align: left;
    font-size: 12px;
  }
  /* line 36184, app/assets/stylesheets/application.scss */
  .tw-tiles {
    justify-content: flex-start;
    gap: 20px 22px;
  }
  /* line 36189, app/assets/stylesheets/application.scss */
  .tw-tile {
    width: 92px;
    font-size: 13px;
  }
  /* line 36194, app/assets/stylesheets/application.scss */
  .tw-tile-art {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }
  /* line 36200, app/assets/stylesheets/application.scss */
  .tw-app {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    background: var(--tw-canvas);
    overflow: hidden;
  }
  /* line 36207, app/assets/stylesheets/application.scss */
  .tw-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 14px;
    background: #f7f8fa;
    border-right: 1px solid var(--tw-line);
    overflow: auto;
    min-height: 0;
  }
  /* line 36218, app/assets/stylesheets/application.scss */
  .tw-sidebar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
  }
  /* line 36225, app/assets/stylesheets/application.scss */
  .tw-sidebar-head strong {
    flex: 1;
    font-size: 18px;
    letter-spacing: -0.03em;
  }
  /* line 36231, app/assets/stylesheets/application.scss */
  .tw-side-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8e8e93;
    padding: 0 8px;
  }
  /* line 36240, app/assets/stylesheets/application.scss */
  .tw-side-teams,
.tw-side-members,
.tw-side-tools {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  /* line 36248, app/assets/stylesheets/application.scss */
  .tw-side-team,
.tw-side-tool {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 12px;
    padding: 9px 10px;
    text-align: left;
    cursor: pointer;
    color: var(--tw-ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-sizing: border-box;
  }
  /* line 36267, app/assets/stylesheets/application.scss */
  .tw-side-team.is-on,
.tw-side-team:hover,
.tw-side-tool:hover {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  /* line 36274, app/assets/stylesheets/application.scss */
  .tw-side-avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
  }
  /* line 36286, app/assets/stylesheets/application.scss */
  .tw-side-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* line 36292, app/assets/stylesheets/application.scss */
  .tw-side-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 8px;
    font-size: 13px;
    color: #374151;
  }
  /* line 36301, app/assets/stylesheets/application.scss */
  .tw-side-member img,
.tw-side-member .tw-avatar-fallback {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  /* line 36308, app/assets/stylesheets/application.scss */
  .tw-side-tools {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--tw-line);
  }
  /* line 36314, app/assets/stylesheets/application.scss */
  .tw-side-tool {
    color: #4b5563;
  }
  /* line 36318, app/assets/stylesheets/application.scss */
  .tw-side-tool i {
    width: 18px;
    text-align: center;
    color: var(--tw-accent);
  }
  /* line 36324, app/assets/stylesheets/application.scss */
  .tw-main {
    min-width: 0;
    min-height: 0;
    background: var(--tw-canvas);
  }
  /* line 36330, app/assets/stylesheets/application.scss */
  .tw-mobile-only {
    display: none !important;
  }
  /* line 36334, app/assets/stylesheets/application.scss */
  .tw-desktop-only {
    display: inline-flex !important;
  }
  /* line 36338, app/assets/stylesheets/application.scss */
  .tw-top {
    padding: 16px 28px 14px;
  }
  /* line 36342, app/assets/stylesheets/application.scss */
  .tw-top-copy strong {
    font-size: 24px;
    letter-spacing: -0.03em;
  }
  /* line 36347, app/assets/stylesheets/application.scss */
  .tw-tabs {
    padding: 0 28px;
    max-width: none;
    gap: 4px;
  }
  /* line 36353, app/assets/stylesheets/application.scss */
  .tw-tab {
    flex: 0 0 auto;
    min-width: 108px;
    padding: 14px 18px 13px;
    font-size: 15px;
  }
  /* line 36360, app/assets/stylesheets/application.scss */
  .tw-filters {
    max-width: none;
    width: fit-content;
  }
  /* line 36365, app/assets/stylesheets/application.scss */
  .tw-filter {
    flex: 0 0 auto;
    min-width: 84px;
  }
  /* line 36370, app/assets/stylesheets/application.scss */
  .tw-content {
    padding: 20px 28px 40px;
    max-width: 780px;
    width: 100%;
  }
  /* line 36376, app/assets/stylesheets/application.scss */
  .tw-content.is-projects {
    max-width: 1240px;
  }
  /* line 36380, app/assets/stylesheets/application.scss */
  .tw-add-card {
    padding: 18px 18px 16px;
  }
  /* line 36384, app/assets/stylesheets/application.scss */
  .tw-task,
.tw-note,
.tw-project {
    padding: 16px 18px;
  }
  /* line 36390, app/assets/stylesheets/application.scss */
  .tw-map {
    min-height: 420px;
    padding: 18px 18px 16px;
  }
  /* line 36395, app/assets/stylesheets/application.scss */
  .tw-map-ticks {
    margin-left: 200px;
  }
  /* line 36399, app/assets/stylesheets/application.scss */
  .tw-map-ms-lane,
.tw-map-row {
    grid-template-columns: 200px minmax(0, 1fr);
    min-height: 52px;
  }
  /* line 36405, app/assets/stylesheets/application.scss */
  .tw-map-label strong {
    font-size: 14px;
  }
  /* line 36409, app/assets/stylesheets/application.scss */
  .tw-project-title strong {
    font-size: 26px;
  }
  /* line 36413, app/assets/stylesheets/application.scss */
  .tw-progress-ring {
    width: 96px;
    height: 96px;
  }
  /* line 36418, app/assets/stylesheets/application.scss */
  .tw-progress-ring strong {
    font-size: 26px;
  }
  /* line 36422, app/assets/stylesheets/application.scss */
  .tw-project-actions .tw-icon.sm {
    width: 36px;
    height: 36px;
  }
  /* line 36427, app/assets/stylesheets/application.scss */
  .tw-sheet-layer.is-pro .tw-sheet.is-pro {
    width: min(560px, calc(100% - 48px));
    max-height: min(820px, calc(100% - 48px));
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(18, 16, 28, 0.28);
  }
  /* line 36435, app/assets/stylesheets/application.scss */
  .tw-sheet-layer.is-pro .tw-sheet-backdrop {
    background: rgba(18, 16, 28, 0.42);
    backdrop-filter: blur(4px);
  }
  /* line 36440, app/assets/stylesheets/application.scss */
  .tw-sheet-layer {
    position: absolute;
    inset: 0;
  }
  /* line 36445, app/assets/stylesheets/application.scss */
  .tw-sheet-underlay {
    opacity: 1;
  }
  /* line 36449, app/assets/stylesheets/application.scss */
  .tw-sheet-backdrop {
    background: rgba(23, 25, 29, 0.36);
  }
  /* line 36453, app/assets/stylesheets/application.scss */
  .tw-sheet,
.tw-cal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100% - 48px));
    max-height: min(780px, calc(100% - 48px));
    height: auto;
    min-height: 0;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
  }
  /* line 36468, app/assets/stylesheets/application.scss */
  .tw-sheet.is-page {
    width: min(1080px, calc(100% - 40px));
    height: min(920px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    display: flex;
    flex-direction: column;
  }
  /* line 36476, app/assets/stylesheets/application.scss */
  .tw-sheet.is-page .tw-note-editor-body {
    flex: 1;
    min-height: 0;
    max-height: none;
    padding: 18px 28px 24px;
  }
  /* line 36483, app/assets/stylesheets/application.scss */
  .tw-sheet-layer.is-calendar .tw-cal {
    width: min(1120px, calc(100% - 40px));
    height: min(880px, calc(100% - 32px));
    max-height: calc(100% - 32px);
  }
  /* line 36489, app/assets/stylesheets/application.scss */
  .tw-sheet-body {
    max-height: min(680px, calc(100vh - 160px));
  }
  /* line 36493, app/assets/stylesheets/application.scss */
  .tw-cal-body {
    padding-top: 0;
  }
  /* line 36497, app/assets/stylesheets/application.scss */
  .tw-cal-toolbar {
    padding: 14px 20px 0;
  }
  /* line 36501, app/assets/stylesheets/application.scss */
  .tw-legend {
    padding: 0 20px;
  }
  /* line 36505, app/assets/stylesheets/application.scss */
  .tw-week {
    min-height: 320px;
    padding: 0 20px;
    gap: 10px;
  }
  /* line 36511, app/assets/stylesheets/application.scss */
  .tw-day {
    min-height: 200px;
    padding: 12px 10px 14px;
  }
  /* line 36516, app/assets/stylesheets/application.scss */
  .tw-cal-add {
    margin: 0 20px 20px;
  }
}

/* —— Memory Map (iOS parity, web-first layout) —— */
/* line 36522, app/assets/stylesheets/application.scss */
.map-hub {
  --map-ink: #1a1c21;
  --map-muted: rgba(26, 28, 33, 0.55);
  --map-field: #f4f5f7;
  --map-accent: #1973c7;
  --map-live: #2eb86b;
  --map-stroke: rgba(0, 0, 0, 0.07);
  --map-shadow: 0 10px 28px rgba(15, 18, 22, 0.12);
  --map-chrome-pad: 12px;
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: var(--map-ink);
  background: #d7e3d7;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

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

/* line 36547, app/assets/stylesheets/application.scss */
.map-hub-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* line 36554, app/assets/stylesheets/application.scss */
.map-hub-canvas,
.map-hub-discover,
.map-hub-list {
  position: absolute;
  inset: 0;
}

/* line 36561, app/assets/stylesheets/application.scss */
.map-hub-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #d7e3d7;
}

/* line 36568, app/assets/stylesheets/application.scss */
.map-hub-canvas.maplibregl-map,
.map-hub-canvas .maplibregl-canvas-container,
.map-hub-canvas .maplibregl-canvas {
  width: 100% !important;
  height: 100% !important;
}

/* line 36575, app/assets/stylesheets/application.scss */
.map-hub-canvas .maplibregl-ctrl-attrib {
  font-size: 10px;
  margin: 0 8px 8px;
}

/* line 36580, app/assets/stylesheets/application.scss */
.map-hub-canvas .maplibregl-ctrl-bottom-left {
  display: none;
}

/* line 36584, app/assets/stylesheets/application.scss */
button.map-pin,
button.map-cluster,
button.map-person-pin {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* line 36593, app/assets/stylesheets/application.scss */
.map-hub-canvas.is-hidden,
.map-hub-canvas[hidden],
.map-hub-discover[hidden],
.map-hub-list[hidden] {
  display: none !important;
}

/* line 36600, app/assets/stylesheets/application.scss */
.map-hub-discover,
.map-hub-list {
  overflow: auto;
  padding: 132px 20px 28px;
  background: radial-gradient(1200px 420px at 10% -10%, rgba(25, 115, 199, 0.08), transparent 55%), linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
}

/* line 36609, app/assets/stylesheets/application.scss */
.map-hub-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: var(--map-chrome-pad);
  pointer-events: none;
}

/* line 36619, app/assets/stylesheets/application.scss */
.map-hub-chrome-bar {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 640px;
  padding: 10px 12px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--map-stroke);
  box-shadow: var(--map-shadow);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
}

/* line 36635, app/assets/stylesheets/application.scss */
.map-hub-chrome-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 36641, app/assets/stylesheets/application.scss */
.map-hub-chrome-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* line 36649, app/assets/stylesheets/application.scss */
.map-hub-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 36657, app/assets/stylesheets/application.scss */
.map-hub-titles strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 36664, app/assets/stylesheets/application.scss */
.map-hub-titles span {
  font-size: 12px;
  color: var(--map-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 36672, app/assets/stylesheets/application.scss */
.map-circle-btn,
.map-add-btn {
  border: 0;
  cursor: pointer;
  color: var(--map-ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 10px rgba(15, 18, 22, 0.08);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

/* line 36682, app/assets/stylesheets/application.scss */
.map-circle-btn:hover,
.map-add-btn:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 18, 22, 0.12);
}

/* line 36689, app/assets/stylesheets/application.scss */
.map-circle-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  flex: 0 0 auto;
  border: 1px solid var(--map-stroke);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 36701, app/assets/stylesheets/application.scss */
.map-circle-btn.is-filled {
  background: #fff;
}

/* line 36705, app/assets/stylesheets/application.scss */
.map-hub-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--map-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 36722, app/assets/stylesheets/application.scss */
.map-segment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(244, 245, 247, 0.92);
  border: 1px solid transparent;
}

/* line 36732, app/assets/stylesheets/application.scss */
.map-segment button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--map-ink);
  cursor: pointer;
}

/* line 36743, app/assets/stylesheets/application.scss */
.map-segment button.is-on {
  background: #fff;
  font-weight: 650;
  box-shadow: 0 1px 4px rgba(15, 18, 22, 0.08);
}

/* line 36749, app/assets/stylesheets/application.scss */
.map-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eceef2;
}

/* line 36758, app/assets/stylesheets/application.scss */
.map-search.is-solid {
  background: var(--map-field);
}

/* line 36762, app/assets/stylesheets/application.scss */
.map-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: var(--map-ink);
}

/* line 36771, app/assets/stylesheets/application.scss */
.map-search i,
.map-search-clear {
  color: var(--map-muted);
}

/* line 36776, app/assets/stylesheets/application.scss */
.map-search-clear {
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 36782, app/assets/stylesheets/application.scss */
.map-hub-bottom {
  position: absolute;
  left: var(--map-chrome-pad);
  right: auto;
  bottom: var(--map-chrome-pad);
  width: calc(100% - (var(--map-chrome-pad) * 2));
  max-width: 640px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  pointer-events: none;
}

/* line 36797, app/assets/stylesheets/application.scss */
.map-hub-bottom[hidden] {
  display: none !important;
}

/* line 36801, app/assets/stylesheets/application.scss */
.map-hub-floats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  align-self: flex-end;
  pointer-events: auto;
}

/* line 36812, app/assets/stylesheets/application.scss */
.map-hub-floats[hidden] {
  display: none !important;
}

/* line 36816, app/assets/stylesheets/application.scss */
.map-add-btn {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 600;
  color: var(--map-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 18, 22, 0.14);
}

/* line 36832, app/assets/stylesheets/application.scss */
.map-peek {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  padding: 0 14px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--map-stroke);
  box-shadow: var(--map-shadow);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  pointer-events: auto;
}

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

/* line 36853, app/assets/stylesheets/application.scss */
.map-peek.is-expanded {
  padding-bottom: 14px;
}

/* line 36857, app/assets/stylesheets/application.scss */
.map-peek-handle {
  display: block;
  width: 36px;
  height: 5px;
  margin: 8px auto 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.28);
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 36869, app/assets/stylesheets/application.scss */
.map-peek-head {
  display: none;
}

/* line 36873, app/assets/stylesheets/application.scss */
.map-peek-head strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* line 36879, app/assets/stylesheets/application.scss */
.map-lens-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  flex: 0 0 auto;
}

/* line 36888, app/assets/stylesheets/application.scss */
.map-lens-row::-webkit-scrollbar {
  display: none;
}

/* line 36892, app/assets/stylesheets/application.scss */
.map-lens {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  background: var(--map-field);
  color: var(--map-ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms ease, box-shadow 140ms ease;
}

/* line 36904, app/assets/stylesheets/application.scss */
.map-lens.is-on {
  background: #fff;
  font-weight: 650;
  box-shadow: 0 0 0 1px var(--map-stroke);
}

/* line 36910, app/assets/stylesheets/application.scss */
.map-friends-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 14px;
  background: var(--map-field);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

/* line 36925, app/assets/stylesheets/application.scss */
.map-friends-filter strong {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 36935, app/assets/stylesheets/application.scss */
.map-friends-filter span {
  font-size: 12px;
  color: var(--map-muted);
  flex: 0 0 auto;
}

/* line 36941, app/assets/stylesheets/application.scss */
.map-avatar-stack {
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 36946, app/assets/stylesheets/application.scss */
.map-avatar-stack img,
.map-avatar-stack span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid #fff;
  margin-left: -8px;
  object-fit: cover;
  background: #d7dbe3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* line 36962, app/assets/stylesheets/application.scss */
.map-avatar-stack > :first-child {
  margin-left: 0;
}

/* line 36966, app/assets/stylesheets/application.scss */
.map-nearby-peek {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 2px 0 4px;
}

/* line 36974, app/assets/stylesheets/application.scss */
.map-peek-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  max-height: 38vh;
  overflow: auto;
  min-height: 0;
  scrollbar-width: thin;
}

/* line 36985, app/assets/stylesheets/application.scss */
.map-place-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 8px;
  margin: 0 -8px;
  border-radius: 14px;
  color: inherit;
  transition: background 140ms ease;
}

/* line 37001, app/assets/stylesheets/application.scss */
.map-place-row:hover,
.map-place-row.is-on {
  background: rgba(244, 245, 247, 0.95);
}

/* line 37006, app/assets/stylesheets/application.scss */
.map-place-thumb {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
  background: #383c46;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(15, 18, 22, 0.12);
}

/* line 37020, app/assets/stylesheets/application.scss */
.map-place-thumb img,
.map-place-thumb.is-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 37027, app/assets/stylesheets/application.scss */
.map-place-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 37035, app/assets/stylesheets/application.scss */
.map-place-copy strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* line 37041, app/assets/stylesheets/application.scss */
.map-place-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--map-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 37050, app/assets/stylesheets/application.scss */
.map-place-dist,
.map-muted,
.map-stats {
  font-size: 12px;
  color: var(--map-muted);
}

/* line 37057, app/assets/stylesheets/application.scss */
.map-see-all {
  border: 0;
  background: transparent;
  color: var(--map-accent);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  padding: 6px 2px;
}

/* line 37068, app/assets/stylesheets/application.scss */
.map-city-strip,
.map-trip-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

/* line 37077, app/assets/stylesheets/application.scss */
.map-city-strip::-webkit-scrollbar,
.map-trip-strip::-webkit-scrollbar {
  display: none;
}

/* line 37082, app/assets/stylesheets/application.scss */
.map-city-chip,
.map-trip-card {
  border: 0;
  cursor: pointer;
  background: var(--map-field);
  color: var(--map-ink);
  transition: transform 140ms ease, background 140ms ease;
}

/* line 37091, app/assets/stylesheets/application.scss */
.map-city-chip:hover,
.map-trip-card:hover {
  background: #ebecef;
  transform: translateY(-1px);
}

/* line 37097, app/assets/stylesheets/application.scss */
.map-city-chip {
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  white-space: nowrap;
}

/* line 37104, app/assets/stylesheets/application.scss */
.map-trip-card {
  min-width: 148px;
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 37114, app/assets/stylesheets/application.scss */
.map-trip-card strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 37119, app/assets/stylesheets/application.scss */
.map-trip-card span {
  font-size: 11px;
  color: var(--map-muted);
}

/* line 37124, app/assets/stylesheets/application.scss */
.map-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  text-align: center;
}

/* line 37133, app/assets/stylesheets/application.scss */
.map-empty i {
  font-size: 24px;
  color: rgba(26, 28, 33, 0.32);
}

/* line 37138, app/assets/stylesheets/application.scss */
.map-empty strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 37143, app/assets/stylesheets/application.scss */
.map-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--map-muted);
  max-width: 28ch;
}

/* line 37150, app/assets/stylesheets/application.scss */
.map-primary {
  border: 0;
  border-radius: 14px;
  height: 48px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  width: 100%;
  transition: background 140ms ease, transform 140ms ease;
}

/* line 37164, app/assets/stylesheets/application.scss */
.map-primary:hover {
  background: #000;
  transform: translateY(-1px);
}

/* line 37169, app/assets/stylesheets/application.scss */
.map-primary:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* line 37175, app/assets/stylesheets/application.scss */
.map-sheet {
  position: absolute;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

/* line 37185, app/assets/stylesheets/application.scss */
.map-sheet.hidden,
.map-sheet[hidden] {
  display: none !important;
}

/* line 37190, app/assets/stylesheets/application.scss */
.map-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 14, 18, 0.34);
  cursor: pointer;
}

/* line 37198, app/assets/stylesheets/application.scss */
.map-sheet-card {
  position: relative;
  max-height: 86%;
  overflow: auto;
  border-radius: 22px 22px 0 0;
  background: #fff;
  padding: 0 16px 24px;
  box-shadow: 0 -12px 36px rgba(15, 18, 22, 0.18);
}

/* line 37208, app/assets/stylesheets/application.scss */
.map-sheet-handle {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.28);
  margin: 8px auto 4px;
}

/* line 37216, app/assets/stylesheets/application.scss */
.map-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 12px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

/* line 37228, app/assets/stylesheets/application.scss */
.map-sheet-head strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 37234, app/assets/stylesheets/application.scss */
.map-close-sm {
  border: 0;
  background: var(--map-field);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  color: var(--map-ink);
}

/* line 37244, app/assets/stylesheets/application.scss */
.map-welcome-lead {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}

/* line 37252, app/assets/stylesheets/application.scss */
.map-welcome-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 37261, app/assets/stylesheets/application.scss */
.map-welcome-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

/* line 37268, app/assets/stylesheets/application.scss */
.map-welcome-list i {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--map-field);
  color: var(--map-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 37280, app/assets/stylesheets/application.scss */
.map-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

/* line 37287, app/assets/stylesheets/application.scss */
.map-form input,
.map-form textarea,
.map-form select {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--map-field);
  padding: 12px;
  font: inherit;
  color: inherit;
}

/* line 37299, app/assets/stylesheets/application.scss */
.map-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* line 37306, app/assets/stylesheets/application.scss */
.map-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

/* line 37313, app/assets/stylesheets/application.scss */
.map-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 12px;
  background: var(--map-field);
  color: var(--map-ink);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
}

/* line 37329, app/assets/stylesheets/application.scss */
.map-action.is-danger {
  color: #b42318;
}

/* line 37333, app/assets/stylesheets/application.scss */
.map-review {
  font-size: 15px;
  line-height: 1.45;
  margin: 8px 0;
}

/* line 37339, app/assets/stylesheets/application.scss */
.map-guide-card {
  background: var(--map-field);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 8px;
}

/* line 37346, app/assets/stylesheets/application.scss */
.map-guide-card strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 4px;
}

/* line 37353, app/assets/stylesheets/application.scss */
.map-guide-card p {
  margin: 0;
  font-size: 13px;
  color: var(--map-muted);
}

/* line 37359, app/assets/stylesheets/application.scss */
.map-discover-label {
  font-size: 13px;
  color: var(--map-muted);
  display: block;
  margin-bottom: 6px;
}

/* line 37366, app/assets/stylesheets/application.scss */
.map-hub-discover section {
  margin-top: 22px;
}

/* line 37370, app/assets/stylesheets/application.scss */
.map-hub-discover h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--map-muted);
  margin: 0 0 10px;
}

/* line 37379, app/assets/stylesheets/application.scss */
.map-friend-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px;
  margin: 0 -8px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

/* line 37394, app/assets/stylesheets/application.scss */
.map-friend-pick.is-on {
  background: rgba(25, 115, 199, 0.08);
}

/* line 37398, app/assets/stylesheets/application.scss */
.map-friend-pick input {
  margin: 0;
}

/* line 37402, app/assets/stylesheets/application.scss */
.leaflet-div-icon {
  background: transparent;
  border: 0;
}

/* line 37407, app/assets/stylesheets/application.scss */
.map-pin,
.map-cluster,
.map-person-pin {
  background: transparent;
}

/* line 37413, app/assets/stylesheets/application.scss */
.map-pin-body,
.map-cluster-body,
.map-person-body {
  border-radius: 999px;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

/* line 37426, app/assets/stylesheets/application.scss */
.map-pin-body {
  background: var(--pin, #383c46);
}

/* line 37430, app/assets/stylesheets/application.scss */
.map-pin-body.is-on {
  box-shadow: 0 0 0 3px rgba(25, 115, 199, 0.28), 0 4px 12px rgba(0, 0, 0, 0.24);
}

/* line 37434, app/assets/stylesheets/application.scss */
.map-pin-body img,
.map-person-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 37441, app/assets/stylesheets/application.scss */
.map-pin-label {
  display: block;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 650;
  color: var(--map-ink);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  box-shadow: 0 1px 4px rgba(15, 18, 22, 0.1);
}

/* line 37458, app/assets/stylesheets/application.scss */
.map-cluster-body {
  width: 36px;
  height: 36px;
  background: var(--map-accent);
  font-size: 13px;
  font-weight: 700;
}

/* line 37466, app/assets/stylesheets/application.scss */
.map-person-body {
  width: 40px;
  height: 40px;
  background: var(--map-accent);
  font-weight: 700;
}

@media (min-width: 960px) {
  /* line 37474, app/assets/stylesheets/application.scss */
  .map-hub {
    --map-chrome-pad: 16px;
  }
  /* line 37478, app/assets/stylesheets/application.scss */
  .map-hub-discover,
.map-hub-list {
    padding: 140px 28px 40px;
  }
  /* line 37483, app/assets/stylesheets/application.scss */
  .map-peek-body {
    max-height: 42vh;
  }
  /* line 37487, app/assets/stylesheets/application.scss */
  .map-sheet {
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  /* line 37493, app/assets/stylesheets/application.scss */
  .map-sheet-card {
    width: min(440px, 100%);
    max-height: min(820px, 92vh);
    border-radius: 22px;
    padding: 4px 18px 22px;
  }
  /* line 37500, app/assets/stylesheets/application.scss */
  .map-sheet-handle {
    display: none;
  }
}

@media (max-width: 959px) {
  /* line 37506, app/assets/stylesheets/application.scss */
  .map-hub-chrome-bar,
.map-hub-bottom {
    max-width: none;
  }
}

/* line 37512, app/assets/stylesheets/application.scss */
.credit-hub {
  position: absolute;
  inset: 0;
  z-index: 42;
  background: #fff;
  color: #202124;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

@media (max-width: 900px) {
  /* line 37524, app/assets/stylesheets/application.scss */
  .credit-hub {
    position: fixed;
    z-index: 80;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

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

/* line 37537, app/assets/stylesheets/application.scss */
.credit-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 37544, app/assets/stylesheets/application.scss */
.credit-hub-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 28px) 0;
  flex: 0 0 auto;
}

/* line 37555, app/assets/stylesheets/application.scss */
.credit-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 37569, app/assets/stylesheets/application.scss */
.credit-icon-btn:hover {
  background: #f1f3f4;
}

/* line 37573, app/assets/stylesheets/application.scss */
.credit-hub-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 37579, app/assets/stylesheets/application.scss */
.credit-home,
.credit-panel {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 12px clamp(16px, 3vw, 28px) 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 37590, app/assets/stylesheets/application.scss */
.credit-hero {
  margin-bottom: 4px;
}

/* line 37594, app/assets/stylesheets/application.scss */
.credit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffe08a, #f5b942);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.22);
}

/* line 37606, app/assets/stylesheets/application.scss */
.credit-badge .credit-coin-icon {
  width: 28px;
  height: 28px;
}

/* line 37611, app/assets/stylesheets/application.scss */
.credit-hero h3 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #202124;
}

/* line 37619, app/assets/stylesheets/application.scss */
.credit-hero p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.45;
  max-width: 48ch;
}

/* line 37627, app/assets/stylesheets/application.scss */
.credit-section-head {
  margin-top: 8px;
  margin-bottom: -2px;
}

/* line 37632, app/assets/stylesheets/application.scss */
.credit-section-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #80868b;
}

/* line 37641, app/assets/stylesheets/application.scss */
.credit-overview {
  display: grid;
  gap: 12px;
}

/* line 37646, app/assets/stylesheets/application.scss */
.credit-wallet {
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, #fff9e8 0%, #fff 70%);
  border: 1px solid rgba(212, 160, 23, 0.18);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06);
}

/* line 37654, app/assets/stylesheets/application.scss */
.credit-wallet-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

/* line 37662, app/assets/stylesheets/application.scss */
.credit-wallet-label {
  font-size: 13px;
  color: #5f6368;
}

/* line 37667, app/assets/stylesheets/application.scss */
.credit-wallet-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #8a6d1d;
  background: rgba(212, 160, 23, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
}

/* line 37677, app/assets/stylesheets/application.scss */
.credit-balance {
  margin: 0;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 750;
  letter-spacing: -0.04em;
  color: #202124;
}

/* line 37685, app/assets/stylesheets/application.scss */
.credit-balance.is-sm {
  font-size: 28px;
}

/* line 37689, app/assets/stylesheets/application.scss */
.credit-balance span,
.credit-muted,
.credit-lead,
.credit-footnote {
  color: #5f6368;
  font-size: 14px;
  font-weight: 500;
}

/* line 37698, app/assets/stylesheets/application.scss */
.credit-pending {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 160, 23, 0.16);
}

/* line 37708, app/assets/stylesheets/application.scss */
.credit-pending strong {
  display: block;
  font-size: 13px;
}

/* line 37713, app/assets/stylesheets/application.scss */
.credit-pending p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 37720, app/assets/stylesheets/application.scss */
.credit-pending i {
  color: #d4a017;
  margin-top: 2px;
}

/* line 37725, app/assets/stylesheets/application.scss */
.credit-actions,
.credit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 37732, app/assets/stylesheets/application.scss */
.credit-card,
.credit-primary,
.credit-ghost,
.credit-pack,
.credit-value,
.credit-person {
  border: 0;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

/* line 37746, app/assets/stylesheets/application.scss */
.credit-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* line 37756, app/assets/stylesheets/application.scss */
.credit-list .credit-card,
.credit-panel > .credit-card {
  border: 1px solid #eef0f3;
  box-shadow: none;
}

/* line 37762, app/assets/stylesheets/application.scss */
.credit-list .credit-card:hover,
.credit-panel > .credit-card:hover {
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(60, 64, 67, 0.12);
}

/* line 37768, app/assets/stylesheets/application.scss */
.credit-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 64, 67, 0.12);
}

/* line 37773, app/assets/stylesheets/application.scss */
.credit-card.is-fill {
  background: #202124;
  color: #fff;
  box-shadow: 0 8px 20px rgba(32, 33, 36, 0.18);
}

/* line 37779, app/assets/stylesheets/application.scss */
.credit-card.is-fill .credit-card-copy span,
.credit-card.is-fill .credit-card-chevron {
  color: rgba(255, 255, 255, 0.72);
}

/* line 37784, app/assets/stylesheets/application.scss */
.credit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex: 0 0 auto;
}

/* line 37797, app/assets/stylesheets/application.scss */
.credit-card-icon.is-add {
  background: linear-gradient(145deg, #34a853, #1e8e3e);
}

/* line 37801, app/assets/stylesheets/application.scss */
.credit-card-icon.is-history {
  background: linear-gradient(145deg, #5f6368, #3c4043);
}

/* line 37805, app/assets/stylesheets/application.scss */
.credit-card-icon.is-invite {
  background: linear-gradient(145deg, #4285f4, #1a73e8);
}

/* line 37809, app/assets/stylesheets/application.scss */
.credit-card-icon.is-gift {
  background: linear-gradient(145deg, #ea4335, #c5221f);
}

/* line 37813, app/assets/stylesheets/application.scss */
.credit-card-icon.is-venue {
  background: linear-gradient(145deg, #fbbc04, #f9ab00);
  color: #202124;
}

/* line 37818, app/assets/stylesheets/application.scss */
.credit-card-icon.is-card {
  background: linear-gradient(145deg, #a142f4, #7627bb);
}

/* line 37822, app/assets/stylesheets/application.scss */
.credit-card.is-fill .credit-card-icon.is-add {
  background: rgba(255, 255, 255, 0.16);
}

/* line 37826, app/assets/stylesheets/application.scss */
.credit-card-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

/* line 37834, app/assets/stylesheets/application.scss */
.credit-card-copy strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 37839, app/assets/stylesheets/application.scss */
.credit-card-copy span {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 37845, app/assets/stylesheets/application.scss */
.credit-card-chevron {
  color: #b0b3b8;
  font-size: 12px;
  flex: 0 0 auto;
}

/* line 37851, app/assets/stylesheets/application.scss */
.credit-primary,
.credit-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
}

/* line 37865, app/assets/stylesheets/application.scss */
.credit-primary {
  background: #202124;
  color: #fff;
}

/* line 37870, app/assets/stylesheets/application.scss */
.credit-primary:hover:not(:disabled) {
  background: #30343a;
}

/* line 37874, app/assets/stylesheets/application.scss */
.credit-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* line 37881, app/assets/stylesheets/application.scss */
.credit-cta-row .credit-primary,
.credit-cta-row .credit-ghost {
  flex: 1 1 180px;
}

/* line 37886, app/assets/stylesheets/application.scss */
.credit-ghost {
  background: #f1f3f4;
  color: #202124;
}

/* line 37891, app/assets/stylesheets/application.scss */
.credit-ghost:hover:not(:disabled) {
  background: #e8eaee;
}

/* line 37895, app/assets/stylesheets/application.scss */
.credit-primary:disabled,
.credit-ghost:disabled,
.credit-gift:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 37902, app/assets/stylesheets/application.scss */
.credit-packs,
.credit-values {
  display: grid;
  gap: 10px;
}

/* line 37908, app/assets/stylesheets/application.scss */
.credit-pack,
.credit-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid #e8eaed;
  box-shadow: none;
}

/* line 37918, app/assets/stylesheets/application.scss */
.credit-pack div,
.credit-value span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 37925, app/assets/stylesheets/application.scss */
.credit-pack span,
.credit-value small {
  font-size: 12px;
  color: #5f6368;
}

/* line 37931, app/assets/stylesheets/application.scss */
.credit-pack em {
  font-style: normal;
  font-weight: 750;
  font-size: 16px;
}

/* line 37937, app/assets/stylesheets/application.scss */
.credit-value.is-on {
  border-color: #202124;
  box-shadow: 0 0 0 1px #202124;
}

/* line 37942, app/assets/stylesheets/application.scss */
.credit-value i {
  color: #dadce0;
}

/* line 37946, app/assets/stylesheets/application.scss */
.credit-value.is-on i {
  color: #202124;
}

/* line 37950, app/assets/stylesheets/application.scss */
.credit-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  background: #f8f9fa;
  border: 1px solid #e8eaed;
}

/* line 37960, app/assets/stylesheets/application.scss */
.credit-center .credit-stat {
  align-items: center;
}

/* line 37964, app/assets/stylesheets/application.scss */
.credit-stat span,
.credit-stat small {
  font-size: 13px;
  color: #5f6368;
}

/* line 37970, app/assets/stylesheets/application.scss */
.credit-stat strong {
  font-size: 24px;
  letter-spacing: -0.03em;
}

/* line 37975, app/assets/stylesheets/application.scss */
.credit-stat em {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: #5f6368;
}

/* line 37982, app/assets/stylesheets/application.scss */
.credit-history {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
  border-radius: 16px;
  background: #f8f9fa;
}

/* line 37991, app/assets/stylesheets/application.scss */
.credit-history-row,
.credit-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef0f3;
  background: transparent;
  width: 100%;
}

/* line 38002, app/assets/stylesheets/application.scss */
.credit-history-row:last-child,
.credit-person:last-child {
  border-bottom: 0;
}

/* line 38007, app/assets/stylesheets/application.scss */
.credit-history-row span {
  width: 72px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

/* line 38013, app/assets/stylesheets/application.scss */
.credit-history-row .is-in {
  color: #1a73e8;
}

/* line 38017, app/assets/stylesheets/application.scss */
.credit-history-row .is-out {
  color: #202124;
}

/* line 38021, app/assets/stylesheets/application.scss */
.credit-history-row strong,
.credit-person strong {
  display: block;
  font-size: 14px;
}

/* line 38027, app/assets/stylesheets/application.scss */
.credit-history-row small {
  color: #80868b;
  font-size: 12px;
}

/* line 38032, app/assets/stylesheets/application.scss */
.credit-gifts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}

/* line 38038, app/assets/stylesheets/application.scss */
.credit-gift {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

/* line 38051, app/assets/stylesheets/application.scss */
.credit-gift.is-on {
  border-color: #202124;
  box-shadow: 0 0 0 1px #202124;
}

/* line 38056, app/assets/stylesheets/application.scss */
.credit-gift-emoji {
  font-size: 22px;
}

/* line 38060, app/assets/stylesheets/application.scss */
.credit-gift em {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  font-style: normal;
  background: #202124;
  color: #fff;
  border-radius: 999px;
  padding: 1px 5px;
}

/* line 38072, app/assets/stylesheets/application.scss */
.credit-gift small {
  font-size: 11px;
  color: #5f6368;
  text-align: center;
  line-height: 1.2;
}

/* line 38079, app/assets/stylesheets/application.scss */
.credit-gift-head,
.credit-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 38086, app/assets/stylesheets/application.scss */
.credit-gift-head {
  justify-content: space-between;
  margin-top: 4px;
  flex-wrap: wrap;
}

/* line 38092, app/assets/stylesheets/application.scss */
.credit-search {
  padding: 10px 14px;
  border-radius: 12px;
  background: #f1f3f4;
}

/* line 38098, app/assets/stylesheets/application.scss */
.credit-search i {
  color: #80868b;
}

/* line 38102, app/assets/stylesheets/application.scss */
.credit-search input,
.credit-euro input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  font: inherit;
}

/* line 38111, app/assets/stylesheets/application.scss */
.credit-euro {
  position: relative;
  display: block;
  max-width: 320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* line 38120, app/assets/stylesheets/application.scss */
.credit-euro input {
  height: 56px;
  border-radius: 14px;
  background: #f1f3f4;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

/* line 38129, app/assets/stylesheets/application.scss */
.credit-euro span {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
}

/* line 38137, app/assets/stylesheets/application.scss */
.credit-people {
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow: auto;
  border-radius: 16px;
  background: #f8f9fa;
}

/* line 38146, app/assets/stylesheets/application.scss */
.credit-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eaed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 auto;
}

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

/* line 38165, app/assets/stylesheets/application.scss */
.credit-qr {
  width: min(220px, 70%);
  margin: 0 auto;
  image-rendering: pixelated;
  border-radius: 16px;
  border: 1px solid #e8eaed;
  padding: 12px;
  background: #fff;
}

/* line 38175, app/assets/stylesheets/application.scss */
.credit-center {
  text-align: center;
  align-items: stretch;
}

/* line 38180, app/assets/stylesheets/application.scss */
.credit-center .credit-hero h3,
.credit-center .credit-hero p {
  margin-left: auto;
  margin-right: auto;
}

/* line 38186, app/assets/stylesheets/application.scss */
.credit-error {
  color: #d93025;
  margin: 0;
  font-size: 13px;
}

/* line 38192, app/assets/stylesheets/application.scss */
.credit-ok,
.credit-code {
  font-weight: 750;
}

/* line 38197, app/assets/stylesheets/application.scss */
.credit-code {
  font-size: 22px;
  letter-spacing: 0.08em;
  padding: 16px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px dashed #dadce0;
  word-break: break-all;
}

/* line 38207, app/assets/stylesheets/application.scss */
.credit-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f3f4;
  color: #5f6368;
}

/* line 38216, app/assets/stylesheets/application.scss */
.credit-empty {
  padding: 48px 24px;
  text-align: center;
  color: #5f6368;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px dashed #dadce0;
  border-radius: 18px;
  background: #fafafa;
}

/* line 38229, app/assets/stylesheets/application.scss */
.credit-empty i {
  font-size: 28px;
  color: #dadce0;
  margin-bottom: 4px;
}

/* line 38235, app/assets/stylesheets/application.scss */
.credit-empty strong {
  color: #202124;
  font-size: 16px;
}

/* line 38240, app/assets/stylesheets/application.scss */
.credit-empty p {
  margin: 0;
  max-width: 36ch;
  line-height: 1.4;
  font-size: 13px;
}

/* line 38247, app/assets/stylesheets/application.scss */
.credit-person.is-on {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8f9fa;
  border: 1px solid #e8eaed;
}

/* line 38254, app/assets/stylesheets/application.scss */
.credit-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  line-height: 1.4;
  font-size: 12px;
}

/* line 38263, app/assets/stylesheets/application.scss */
.credit-footnote i {
  margin-top: 2px;
  color: #80868b;
}

@media (min-width: 720px) {
  /* line 38269, app/assets/stylesheets/application.scss */
  .credit-overview {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: stretch;
  }
  /* line 38274, app/assets/stylesheets/application.scss */
  .credit-actions {
    height: 100%;
  }
  /* line 38278, app/assets/stylesheets/application.scss */
  .credit-actions .credit-card {
    flex: 1;
  }
  /* line 38282, app/assets/stylesheets/application.scss */
  .credit-packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* line 38286, app/assets/stylesheets/application.scss */
  .credit-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* line 38292, app/assets/stylesheets/application.scss */
  .credit-hub-nav {
    padding-top: 12px;
  }
  /* line 38296, app/assets/stylesheets/application.scss */
  .credit-hero h3 {
    font-size: 24px;
  }
  /* line 38300, app/assets/stylesheets/application.scss */
  .credit-balance {
    font-size: 32px;
  }
}

/* line 38305, app/assets/stylesheets/application.scss */
.focus-hub {
  position: absolute;
  inset: 0;
  z-index: 42;
  background: #f2f2f7;
  color: #1c1c1e;
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

/* line 38322, app/assets/stylesheets/application.scss */
.focus-hub.is-live {
  background: #0b0c10;
  color: #f5f5f7;
}

/* line 38327, app/assets/stylesheets/application.scss */
.focus-hub-shell,
.focus-hub-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 38335, app/assets/stylesheets/application.scss */
.focus-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
}

/* line 38346, app/assets/stylesheets/application.scss */
.focus-hub.is-live .focus-hub-head {
  background: rgba(11, 12, 16, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* line 38351, app/assets/stylesheets/application.scss */
.focus-hub-head strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 38357, app/assets/stylesheets/application.scss */
.focus-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.16);
  color: inherit;
  cursor: pointer;
}

/* line 38367, app/assets/stylesheets/application.scss */
.focus-hub-body {
  overflow: auto;
}

/* line 38371, app/assets/stylesheets/application.scss */
.focus-home,
.focus-live {
  padding: 20px 22px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

/* line 38382, app/assets/stylesheets/application.scss */
.focus-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9f0a;
}

/* line 38391, app/assets/stylesheets/application.scss */
.focus-home h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* line 38399, app/assets/stylesheets/application.scss */
.focus-lead,
.focus-section {
  margin: 0;
  color: rgba(60, 60, 67, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

/* line 38407, app/assets/stylesheets/application.scss */
.focus-section {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* line 38415, app/assets/stylesheets/application.scss */
.focus-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* line 38421, app/assets/stylesheets/application.scss */
.focus-stats article {
  background: #fff;
  border-radius: 18px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* line 38431, app/assets/stylesheets/application.scss */
.focus-stats span {
  font-size: 12px;
  color: rgba(60, 60, 67, 0.64);
}

/* line 38436, app/assets/stylesheets/application.scss */
.focus-stats strong {
  font-size: 22px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* line 38442, app/assets/stylesheets/application.scss */
.focus-week {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 64px;
  padding: 12px 14px 8px;
  background: #fff;
  border-radius: 18px;
}

/* line 38452, app/assets/stylesheets/application.scss */
.focus-bar {
  flex: 1;
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #ffd60a, #ff9f0a);
  min-height: 8px;
}

/* line 38460, app/assets/stylesheets/application.scss */
.focus-presets,
.focus-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 38467, app/assets/stylesheets/application.scss */
.focus-chip,
.focus-intent,
.focus-step,
.focus-start,
.focus-end {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* line 38477, app/assets/stylesheets/application.scss */
.focus-chip {
  min-width: 72px;
  padding: 12px 10px 10px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 38491, app/assets/stylesheets/application.scss */
.focus-chip span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(60, 60, 67, 0.55);
}

/* line 38497, app/assets/stylesheets/application.scss */
.focus-chip.is-on,
.focus-intent.is-on {
  background: #1c1c1e;
  color: #fff;
}

/* line 38503, app/assets/stylesheets/application.scss */
.focus-chip.is-on span {
  color: rgba(255, 255, 255, 0.64);
}

/* line 38507, app/assets/stylesheets/application.scss */
.focus-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
}

/* line 38517, app/assets/stylesheets/application.scss */
.focus-custom label {
  min-width: 88px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* line 38525, app/assets/stylesheets/application.scss */
.focus-step {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.16);
  font-size: 22px;
  line-height: 1;
}

/* line 38534, app/assets/stylesheets/application.scss */
.focus-intent {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* line 38542, app/assets/stylesheets/application.scss */
.focus-start,
.focus-end {
  margin-top: 8px;
  height: 52px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
}

/* line 38551, app/assets/stylesheets/application.scss */
.focus-start {
  background: #ff9f0a;
  color: #1c1c1e;
}

/* line 38556, app/assets/stylesheets/application.scss */
.focus-end {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* line 38561, app/assets/stylesheets/application.scss */
.focus-history {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

/* line 38570, app/assets/stylesheets/application.scss */
.focus-history-row,
.focus-history .is-empty {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(60, 60, 67, 0.1);
}

/* line 38579, app/assets/stylesheets/application.scss */
.focus-history-row:first-child,
.focus-history .is-empty:first-child {
  border-top: 0;
}

/* line 38584, app/assets/stylesheets/application.scss */
.focus-history-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 38590, app/assets/stylesheets/application.scss */
.focus-history-row span,
.focus-history-row em {
  font-size: 13px;
  font-style: normal;
  color: rgba(60, 60, 67, 0.58);
}

/* line 38597, app/assets/stylesheets/application.scss */
.focus-history-row em.is-done {
  color: #30d158;
}

/* line 38601, app/assets/stylesheets/application.scss */
.focus-history-row em.is-break {
  color: #ff9f0a;
}

/* line 38605, app/assets/stylesheets/application.scss */
.focus-live {
  align-items: center;
  text-align: center;
  padding-top: 28px;
}

/* line 38611, app/assets/stylesheets/application.scss */
.focus-ring-wrap {
  position: relative;
  width: 72vw;
  max-width: 280px;
  margin: 8px auto 12px;
}

/* line 38618, app/assets/stylesheets/application.scss */
.focus-ring {
  width: 100%;
  transform: rotate(-90deg);
}

/* line 38623, app/assets/stylesheets/application.scss */
.focus-ring-track,
.focus-ring-value {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

/* line 38630, app/assets/stylesheets/application.scss */
.focus-ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}

/* line 38634, app/assets/stylesheets/application.scss */
.focus-ring-value {
  stroke: #ff9f0a;
  transition: stroke-dashoffset 0.2s linear;
}

/* line 38639, app/assets/stylesheets/application.scss */
.focus-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* line 38649, app/assets/stylesheets/application.scss */
.focus-ring-label strong {
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* line 38656, app/assets/stylesheets/application.scss */
.focus-ring-label span {
  font-size: 15px;
  color: rgba(245, 245, 247, 0.62);
}

/* line 38661, app/assets/stylesheets/application.scss */
.focus-away {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 159, 10, 0.12);
  color: #ffd60a;
  text-align: left;
}

/* line 38670, app/assets/stylesheets/application.scss */
.focus-away p {
  margin: 6px 0 0;
  color: rgba(245, 245, 247, 0.78);
  font-size: 14px;
  line-height: 1.4;
}

/* line 38677, app/assets/stylesheets/application.scss */
.focus-hub.is-live .focus-kicker {
  color: rgba(255, 159, 10, 0.95);
}

/* line 38681, app/assets/stylesheets/application.scss */
.sticky-hub {
  --sticky-ink: #17191d;
  --sticky-paper: #faf9f5;
  --sticky-accent: #edb829;
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--sticky-paper);
  color: var(--sticky-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

/* line 38701, app/assets/stylesheets/application.scss */
.sticky-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 10px 0 24px;
}

/* line 38709, app/assets/stylesheets/application.scss */
.sticky-hub-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

/* line 38716, app/assets/stylesheets/application.scss */
.sticky-hub-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 38724, app/assets/stylesheets/application.scss */
.sticky-hub-titles strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 38730, app/assets/stylesheets/application.scss */
.sticky-hub-titles span {
  font-size: 12px;
  color: rgba(23, 25, 29, 0.48);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 38738, app/assets/stylesheets/application.scss */
.sticky-hub-circle {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--sticky-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.06);
}

/* line 38752, app/assets/stylesheets/application.scss */
.sticky-hub-circle.is-filled {
  background: var(--sticky-ink);
  color: #fff;
}

/* line 38757, app/assets/stylesheets/application.scss */
.sticky-hub-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  color: rgba(23, 25, 29, 0.45);
}

/* line 38768, app/assets/stylesheets/application.scss */
.sticky-hub-search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--sticky-ink);
}

/* line 38777, app/assets/stylesheets/application.scss */
.sticky-hub-grid {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
  padding: 8px 16px 28px;
  align-content: start;
}

/* line 38788, app/assets/stylesheets/application.scss */
.sticky-hub-card {
  position: relative;
  min-height: 148px;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease;
}

/* line 38796, app/assets/stylesheets/application.scss */
.sticky-hub-card.is-left {
  transform: rotate(-1.4deg);
}

/* line 38797, app/assets/stylesheets/application.scss */
.sticky-hub-card.is-right {
  transform: rotate(1.6deg);
}

/* line 38799, app/assets/stylesheets/application.scss */
.sticky-hub-card:hover,
.sticky-hub-card:focus-within {
  transform: rotate(0deg) translateY(-2px);
  z-index: 1;
}

/* line 38805, app/assets/stylesheets/application.scss */
.sticky-hub-card-open {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-height: 148px;
  padding: 14px;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

/* line 38819, app/assets/stylesheets/application.scss */
.sticky-hub-card-open header {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* line 38825, app/assets/stylesheets/application.scss */
.sticky-hub-card-open strong {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

/* line 38832, app/assets/stylesheets/application.scss */
.sticky-hub-card-open p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(23, 25, 29, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 38843, app/assets/stylesheets/application.scss */
.sticky-hub-widget-mark {
  font-size: 11px;
  color: rgba(23, 25, 29, 0.55);
}

/* line 38848, app/assets/stylesheets/application.scss */
.sticky-hub-more {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23, 25, 29, 0.45);
  cursor: pointer;
}

/* line 38861, app/assets/stylesheets/application.scss */
.sticky-hub-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 28px 48px;
  text-align: center;
}

/* line 38872, app/assets/stylesheets/application.scss */
.sticky-hub-empty i {
  font-size: 36px;
  color: var(--sticky-accent);
}

/* line 38877, app/assets/stylesheets/application.scss */
.sticky-hub-empty strong {
  font-size: 17px;
}

/* line 38881, app/assets/stylesheets/application.scss */
.sticky-hub-empty p {
  margin: 0;
  max-width: 360px;
  color: rgba(23, 25, 29, 0.5);
  font-size: 15px;
  line-height: 1.4;
}

/* line 38889, app/assets/stylesheets/application.scss */
.sticky-hub-cta {
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--sticky-ink);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* line 38900, app/assets/stylesheets/application.scss */
.sticky-hub-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 38909, app/assets/stylesheets/application.scss */
.sticky-hub-sheet.hidden,
.sticky-hub-sheet[hidden] {
  display: none !important;
}

/* line 38914, app/assets/stylesheets/application.scss */
.sticky-hub-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.28);
}

/* line 38921, app/assets/stylesheets/application.scss */
.sticky-hub-sheet-card,
.sticky-hub-menu-card,
.sticky-hub-confirm-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(86%, 720px);
  overflow: auto;
  border-radius: 22px 22px 0 0;
  background: #fff;
}

/* line 38932, app/assets/stylesheets/application.scss */
.sticky-hub-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 20px 28px;
}

/* line 38939, app/assets/stylesheets/application.scss */
.sticky-hub-editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 38945, app/assets/stylesheets/application.scss */
.sticky-hub-text-btn {
  border: 0;
  background: transparent;
  color: var(--sticky-ink);
  font-size: 16px;
  cursor: pointer;
}

/* line 38953, app/assets/stylesheets/application.scss */
.sticky-hub-text-btn.is-strong {
  font-weight: 600;
}

/* line 38957, app/assets/stylesheets/application.scss */
.sticky-hub-swatches {
  display: flex;
  gap: 10px;
}

/* line 38962, app/assets/stylesheets/application.scss */
.sticky-hub-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(23, 25, 29, 0.12);
  cursor: pointer;
}

/* line 38970, app/assets/stylesheets/application.scss */
.sticky-hub-swatch.is-on {
  border: 2px solid rgba(23, 25, 29, 0.85);
}

/* line 38974, app/assets/stylesheets/application.scss */
.sticky-hub-title-input,
.sticky-hub-body-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--sticky-ink);
  outline: none;
}

/* line 38983, app/assets/stylesheets/application.scss */
.sticky-hub-title-input {
  font-size: 20px;
  font-weight: 600;
}

/* line 38988, app/assets/stylesheets/application.scss */
.sticky-hub-body-input {
  font-size: 17px;
  line-height: 1.45;
  resize: vertical;
  min-height: 180px;
}

/* line 38995, app/assets/stylesheets/application.scss */
.sticky-hub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 39002, app/assets/stylesheets/application.scss */
.sticky-hub-toggle strong {
  display: block;
  font-size: 15px;
}

/* line 39007, app/assets/stylesheets/application.scss */
.sticky-hub-toggle small {
  color: rgba(23, 25, 29, 0.5);
  font-size: 12px;
}

/* line 39012, app/assets/stylesheets/application.scss */
.sticky-hub-toggle input {
  width: 46px;
  height: 28px;
  accent-color: var(--sticky-accent);
}

/* line 39018, app/assets/stylesheets/application.scss */
.sticky-hub-menu-card,
.sticky-hub-confirm-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 28px;
  background: #fff;
}

/* line 39027, app/assets/stylesheets/application.scss */
.sticky-hub-menu-card button,
.sticky-hub-confirm-card button {
  border: 0;
  background: #f4f5f7;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
}

/* line 39038, app/assets/stylesheets/application.scss */
.sticky-hub-confirm-card strong {
  padding: 8px 8px 12px;
  font-size: 17px;
}

/* line 39043, app/assets/stylesheets/application.scss */
.sticky-hub-menu-card .is-danger,
.sticky-hub-confirm-card .is-danger {
  color: #c41e3a;
  background: #fff1f3;
}

@media (min-width: 760px) {
  /* line 39050, app/assets/stylesheets/application.scss */
  .sticky-hub-sheet {
    align-items: center;
  }
  /* line 39054, app/assets/stylesheets/application.scss */
  .sticky-hub-sheet-card,
.sticky-hub-menu-card,
.sticky-hub-confirm-card {
    border-radius: 22px;
    margin-bottom: 0;
  }
}

/* line 39062, app/assets/stylesheets/application.scss */
.quiz-hub {
  --quiz-ink: #17191d;
  --quiz-muted: rgba(23, 25, 29, 0.58);
  --quiz-field: #f3f4f6;
  --quiz-line: #e6e8ec;
  --quiz-accent: #c7386b;
  --quiz-soft: rgba(199, 56, 107, 0.12);
  --quiz-ok: #1f9d57;
  --quiz-bad: #d94848;
  --quiz-warn: #c47b12;
  --quiz-radius: 16px;
  position: absolute;
  inset: 0;
  z-index: 42;
  background: #f7f8fa;
  color: var(--quiz-ink);
  display: flex;
  flex-direction: column;
  min-height: 0;
  container-type: inline-size;
  container-name: quiz-hub;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

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

/* line 39093, app/assets/stylesheets/application.scss */
.quiz-hub button,
.quiz-hub label.quiz-ghost {
  cursor: pointer;
}

/* line 39098, app/assets/stylesheets/application.scss */
.quiz-hub button:disabled {
  cursor: not-allowed;
}

/* line 39102, app/assets/stylesheets/application.scss */
.quiz-hub button:focus-visible,
.quiz-hub input:focus-visible,
.quiz-hub textarea:focus-visible {
  outline: 2px solid var(--quiz-accent);
  outline-offset: 2px;
}

/* line 39109, app/assets/stylesheets/application.scss */
.quiz-hub-shell,
.quiz-hub-body,
.quiz-app,
.quiz-take,
.quiz-complete,
.quiz-review {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 39121, app/assets/stylesheets/application.scss */
.quiz-hub-body {
  position: relative;
}

/* line 39125, app/assets/stylesheets/application.scss */
.quiz-app,
.quiz-stage {
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
}

/* line 39132, app/assets/stylesheets/application.scss */
.quiz-stage {
  max-width: min(720px, 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 39140, app/assets/stylesheets/application.scss */
.quiz-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(16px, 3vw, 28px) 8px;
}

/* line 39147, app/assets/stylesheets/application.scss */
.quiz-titles {
  flex: 1;
  min-width: 0;
}

/* line 39152, app/assets/stylesheets/application.scss */
.quiz-titles strong {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 39159, app/assets/stylesheets/application.scss */
.quiz-titles span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--quiz-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 39169, app/assets/stylesheets/application.scss */
.quiz-circle {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--quiz-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.06);
  transition: background 0.15s ease, transform 0.15s ease;
}

/* line 39184, app/assets/stylesheets/application.scss */
.quiz-circle:hover {
  background: var(--quiz-field);
}

/* line 39188, app/assets/stylesheets/application.scss */
.quiz-circle.is-filled {
  background: var(--quiz-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(199, 56, 107, 0.28);
}

/* line 39194, app/assets/stylesheets/application.scss */
.quiz-circle.is-filled:hover {
  background: #b52f5f;
}

/* line 39198, app/assets/stylesheets/application.scss */
.quiz-toolbar {
  padding: 4px clamp(16px, 3vw, 28px) 12px;
}

/* line 39202, app/assets/stylesheets/application.scss */
.quiz-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: rgba(23, 25, 29, 0.42);
  border: 1px solid var(--quiz-line);
}

/* line 39213, app/assets/stylesheets/application.scss */
.quiz-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--quiz-ink);
  outline: none;
}

/* line 39223, app/assets/stylesheets/application.scss */
.quiz-status {
  margin: 0 clamp(16px, 3vw, 28px) 10px;
  color: var(--quiz-muted);
  font-size: 14px;
}

/* line 39229, app/assets/stylesheets/application.scss */
.quiz-status.is-error {
  color: var(--quiz-bad);
}

/* line 39233, app/assets/stylesheets/application.scss */
.quiz-scroll {
  flex: 1;
  overflow: auto;
  padding: 0 clamp(16px, 3vw, 28px) 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 39242, app/assets/stylesheets/application.scss */
.quiz-review .quiz-scroll {
  display: flex;
  grid-template-columns: none;
}

/* line 39247, app/assets/stylesheets/application.scss */
.quiz-scroll.is-empty {
  display: flex;
}

/* line 39251, app/assets/stylesheets/application.scss */
.quiz-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--quiz-line);
  border-radius: var(--quiz-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

/* line 39264, app/assets/stylesheets/application.scss */
.quiz-card:hover {
  border-color: rgba(199, 56, 107, 0.28);
  box-shadow: 0 10px 24px rgba(23, 25, 29, 0.08);
  transform: translateY(-1px);
}

/* line 39270, app/assets/stylesheets/application.scss */
.quiz-tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--quiz-soft);
  color: var(--quiz-accent);
  flex: none;
  font-size: 18px;
}

/* line 39282, app/assets/stylesheets/application.scss */
.quiz-card-copy {
  flex: 1;
  min-width: 0;
}

/* line 39287, app/assets/stylesheets/application.scss */
.quiz-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* line 39293, app/assets/stylesheets/application.scss */
.quiz-card-text {
  flex: 1;
  min-width: 0;
}

/* line 39298, app/assets/stylesheets/application.scss */
.quiz-card-top strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

/* line 39306, app/assets/stylesheets/application.scss */
.quiz-card-top p,
.quiz-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--quiz-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 39318, app/assets/stylesheets/application.scss */
.quiz-ring {
  width: 46px;
  height: 46px;
  flex: none;
}

/* line 39324, app/assets/stylesheets/application.scss */
.quiz-ring-track {
  fill: none;
  stroke: var(--quiz-field);
  stroke-width: 5;
}

/* line 39330, app/assets/stylesheets/application.scss */
.quiz-ring-value {
  fill: none;
  stroke: var(--quiz-accent);
  stroke-width: 5;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 22px 22px;
}

/* line 39339, app/assets/stylesheets/application.scss */
.quiz-score-ring .quiz-ring-value,
.quiz-score-ring .quiz-ring-track {
  stroke-width: 8;
  transform-origin: 50px 50px;
}

/* line 39345, app/assets/stylesheets/application.scss */
.quiz-score-ring .quiz-ring-value {
  transform: rotate(-90deg);
}

/* line 39349, app/assets/stylesheets/application.scss */
.quiz-ring text {
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  fill: var(--quiz-ink);
}

/* line 39356, app/assets/stylesheets/application.scss */
.quiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* line 39363, app/assets/stylesheets/application.scss */
.quiz-chips span,
.quiz-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--quiz-field);
  color: rgba(23, 25, 29, 0.68);
  border: 0;
  white-space: nowrap;
}

/* line 39375, app/assets/stylesheets/application.scss */
.quiz-chip {
  transition: background 0.12s ease, color 0.12s ease;
}

/* line 39379, app/assets/stylesheets/application.scss */
.quiz-chip:hover {
  background: #e8eaee;
}

/* line 39383, app/assets/stylesheets/application.scss */
.quiz-chips span.is-accent,
.quiz-chip.is-on {
  background: var(--quiz-soft);
  color: var(--quiz-accent);
}

/* line 39389, app/assets/stylesheets/application.scss */
.quiz-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(23, 25, 29, 0.48);
}

/* line 39398, app/assets/stylesheets/application.scss */
.quiz-more {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(23, 25, 29, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 39411, app/assets/stylesheets/application.scss */
.quiz-more:hover {
  background: rgba(217, 72, 72, 0.1);
  color: var(--quiz-bad);
}

/* line 39416, app/assets/stylesheets/application.scss */
.quiz-empty {
  margin: auto;
  text-align: center;
  padding: 40px 28px;
  max-width: 400px;
}

/* line 39423, app/assets/stylesheets/application.scss */
.quiz-empty-glyph {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--quiz-soft);
  color: var(--quiz-accent);
  font-size: 32px;
}

/* line 39435, app/assets/stylesheets/application.scss */
.quiz-empty strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 39442, app/assets/stylesheets/application.scss */
.quiz-empty p,
.quiz-lead,
.quiz-hint {
  color: var(--quiz-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* line 39450, app/assets/stylesheets/application.scss */
.quiz-empty p {
  margin: 8px 0 20px;
}

/* line 39454, app/assets/stylesheets/application.scss */
.quiz-cta,
.quiz-primary,
.quiz-secondary {
  border: 0;
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.12s ease;
}

/* line 39468, app/assets/stylesheets/application.scss */
.quiz-cta,
.quiz-primary {
  background: var(--quiz-accent);
  color: #fff;
  width: 100%;
}

/* line 39475, app/assets/stylesheets/application.scss */
.quiz-cta:hover,
.quiz-primary:hover:not(:disabled) {
  background: #b52f5f;
}

/* line 39480, app/assets/stylesheets/application.scss */
.quiz-empty .quiz-cta {
  width: auto;
  min-width: 180px;
}

/* line 39485, app/assets/stylesheets/application.scss */
.quiz-primary:disabled,
.quiz-cta:disabled,
.quiz-secondary:disabled {
  opacity: 0.42;
}

/* line 39491, app/assets/stylesheets/application.scss */
.quiz-secondary {
  background: var(--quiz-field);
  color: var(--quiz-ink);
  width: 100%;
}

/* line 39497, app/assets/stylesheets/application.scss */
.quiz-secondary:hover:not(:disabled) {
  background: #e8eaee;
}

/* line 39501, app/assets/stylesheets/application.scss */
.quiz-link {
  border: 0;
  background: transparent;
  color: var(--quiz-accent);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  padding: 10px;
  cursor: pointer;
}

/* line 39512, app/assets/stylesheets/application.scss */
.quiz-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--quiz-line);
  background: #fff;
  color: var(--quiz-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

/* line 39528, app/assets/stylesheets/application.scss */
.quiz-ghost:hover {
  background: var(--quiz-field);
}

/* line 39532, app/assets/stylesheets/application.scss */
.quiz-sheet,
.quiz-drive {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 39542, app/assets/stylesheets/application.scss */
.quiz-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 29, 0.36);
  border: 0;
}

/* line 39549, app/assets/stylesheets/application.scss */
.quiz-sheet-card,
.quiz-confirm,
.quiz-drive-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 94%;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 -8px 40px rgba(23, 25, 29, 0.12);
}

/* line 39564, app/assets/stylesheets/application.scss */
.quiz-create {
  width: min(640px, 100%);
}

/* line 39568, app/assets/stylesheets/application.scss */
.quiz-sheet-head {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  align-items: center;
  min-height: 44px;
  flex: none;
}

/* line 39576, app/assets/stylesheets/application.scss */
.quiz-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 650;
}

/* line 39582, app/assets/stylesheets/application.scss */
.quiz-text-btn {
  border: 0;
  background: transparent;
  color: var(--quiz-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  justify-self: start;
  padding: 6px 0;
}

/* line 39593, app/assets/stylesheets/application.scss */
.quiz-sheet-body {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 4px 0 12px;
}

/* line 39600, app/assets/stylesheets/application.scss */
.quiz-sheet-foot {
  flex: none;
  padding-top: 12px;
  border-top: 1px solid var(--quiz-line);
}

/* line 39606, app/assets/stylesheets/application.scss */
.quiz-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 39612, app/assets/stylesheets/application.scss */
.quiz-overview h2,
.quiz-sheet-card h2 {
  margin: 4px 0 10px;
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 39621, app/assets/stylesheets/application.scss */
.quiz-complete h1 {
  margin: 16px 0 4px;
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

/* line 39628, app/assets/stylesheets/application.scss */
.quiz-lead {
  margin: 0 0 12px;
}

/* line 39632, app/assets/stylesheets/application.scss */
.quiz-create textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--quiz-field);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  min-height: 120px;
}

/* line 39645, app/assets/stylesheets/application.scss */
.quiz-create textarea:focus {
  background: #fff;
  border-color: rgba(199, 56, 107, 0.35);
  outline: none;
}

/* line 39651, app/assets/stylesheets/application.scss */
.quiz-label {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 650;
  color: rgba(23, 25, 29, 0.62);
}

/* line 39658, app/assets/stylesheets/application.scss */
.quiz-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--quiz-field);
  margin-bottom: 8px;
  font-size: 14px;
}

/* line 39669, app/assets/stylesheets/application.scss */
.quiz-file i {
  color: var(--quiz-accent);
}

/* line 39673, app/assets/stylesheets/application.scss */
.quiz-file button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: rgba(23, 25, 29, 0.45);
  width: 28px;
  height: 28px;
}

/* line 39682, app/assets/stylesheets/application.scss */
.quiz-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 39688, app/assets/stylesheets/application.scss */
.quiz-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 39694, app/assets/stylesheets/application.scss */
.quiz-settings {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

/* line 39700, app/assets/stylesheets/application.scss */
.quiz-chip-block {
  margin: 12px 0 4px;
}

/* line 39704, app/assets/stylesheets/application.scss */
.quiz-chip-block > span {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: rgba(23, 25, 29, 0.5);
  margin-bottom: 8px;
}

/* line 39712, app/assets/stylesheets/application.scss */
.quiz-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
}

/* line 39719, app/assets/stylesheets/application.scss */
.quiz-stats div {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--quiz-field);
  min-width: 0;
}

/* line 39726, app/assets/stylesheets/application.scss */
.quiz-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 39736, app/assets/stylesheets/application.scss */
.quiz-stats span {
  font-size: 12px;
  color: var(--quiz-muted);
}

/* line 39741, app/assets/stylesheets/application.scss */
.quiz-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 29, 0.36);
  display: grid;
  place-items: center;
  z-index: 5;
}

/* line 39750, app/assets/stylesheets/application.scss */
.quiz-overlay-card {
  width: min(340px, calc(100% - 40px));
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(23, 25, 29, 0.16);
}

/* line 39759, app/assets/stylesheets/application.scss */
.quiz-overlay-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

/* line 39765, app/assets/stylesheets/application.scss */
.quiz-phase {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 0;
  color: rgba(23, 25, 29, 0.5);
  font-size: 14px;
}

/* line 39774, app/assets/stylesheets/application.scss */
.quiz-phase.is-on,
.quiz-phase .fa-check-circle {
  color: var(--quiz-accent);
}

/* line 39779, app/assets/stylesheets/application.scss */
.quiz-error,
.quiz-error-box {
  color: var(--quiz-bad);
  background: rgba(217, 72, 72, 0.08);
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px 0 0;
  font-size: 14px;
}

/* line 39789, app/assets/stylesheets/application.scss */
.quiz-error-box p {
  margin: 0 0 6px;
}

/* line 39793, app/assets/stylesheets/application.scss */
.quiz-confirm {
  width: min(400px, calc(100% - 32px));
  padding: 28px 22px 22px;
  text-align: center;
  gap: 12px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* line 39804, app/assets/stylesheets/application.scss */
.quiz-confirm-glyph {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(217, 72, 72, 0.1);
  color: var(--quiz-bad);
  font-size: 18px;
}

/* line 39816, app/assets/stylesheets/application.scss */
.quiz-confirm strong {
  font-size: 18px;
}

/* line 39820, app/assets/stylesheets/application.scss */
.quiz-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 39826, app/assets/stylesheets/application.scss */
.quiz-confirm button,
.quiz-drive-row {
  border: 0;
  background: var(--quiz-field);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

/* line 39838, app/assets/stylesheets/application.scss */
.quiz-confirm button {
  text-align: center;
}

/* line 39842, app/assets/stylesheets/application.scss */
.quiz-confirm .is-danger {
  background: #fff1f3;
  color: var(--quiz-bad);
}

/* line 39847, app/assets/stylesheets/application.scss */
.quiz-drive-card {
  width: min(480px, 100%);
}

/* line 39851, app/assets/stylesheets/application.scss */
.quiz-drive-list {
  overflow: auto;
  padding: 4px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 39859, app/assets/stylesheets/application.scss */
.quiz-drive-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--quiz-line);
}

/* line 39867, app/assets/stylesheets/application.scss */
.quiz-drive-row:hover {
  background: var(--quiz-field);
}

/* line 39871, app/assets/stylesheets/application.scss */
.quiz-take,
.quiz-complete,
.quiz-review {
  padding: 8px clamp(16px, 3vw, 28px) 24px;
  background: #fff;
}

/* line 39878, app/assets/stylesheets/application.scss */
.quiz-take-head {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 12px;
}

/* line 39885, app/assets/stylesheets/application.scss */
.quiz-take-count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 39892, app/assets/stylesheets/application.scss */
.quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--quiz-field);
  overflow: hidden;
  margin: 8px 0 18px;
}

/* line 39900, app/assets/stylesheets/application.scss */
.quiz-progress span {
  display: block;
  height: 100%;
  background: var(--quiz-accent);
  border-radius: inherit;
  transition: width 0.2s ease;
}

/* line 39908, app/assets/stylesheets/application.scss */
.quiz-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--quiz-accent);
}

/* line 39917, app/assets/stylesheets/application.scss */
.quiz-take h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 8px 0 16px;
}

/* line 39925, app/assets/stylesheets/application.scss */
.quiz-hint {
  margin: -8px 0 14px;
}

/* line 39929, app/assets/stylesheets/application.scss */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 39935, app/assets/stylesheets/application.scss */
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--quiz-field);
  color: var(--quiz-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.12s ease, border-color 0.12s ease;
}

/* line 39952, app/assets/stylesheets/application.scss */
.quiz-option:not(:disabled):hover {
  background: #e8eaee;
}

/* line 39956, app/assets/stylesheets/application.scss */
.quiz-option.is-on {
  background: var(--quiz-soft);
  border-color: rgba(199, 56, 107, 0.45);
}

/* line 39961, app/assets/stylesheets/application.scss */
.quiz-option.is-right {
  background: rgba(31, 157, 87, 0.12);
  border-color: rgba(31, 157, 87, 0.35);
}

/* line 39966, app/assets/stylesheets/application.scss */
.quiz-option.is-wrong {
  background: rgba(217, 72, 72, 0.1);
  border-color: rgba(217, 72, 72, 0.28);
}

/* line 39971, app/assets/stylesheets/application.scss */
.quiz-letter {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  flex: none;
}

/* line 39983, app/assets/stylesheets/application.scss */
.quiz-option.is-on .quiz-letter {
  background: var(--quiz-accent);
  color: #fff;
}

/* line 39988, app/assets/stylesheets/application.scss */
.quiz-option.is-right .quiz-letter {
  background: var(--quiz-ok);
  color: #fff;
}

/* line 39993, app/assets/stylesheets/application.scss */
.quiz-option.is-wrong .quiz-letter {
  background: var(--quiz-bad);
  color: #fff;
}

/* line 39998, app/assets/stylesheets/application.scss */
.quiz-option-text {
  flex: 1;
  padding-top: 3px;
}

/* line 40003, app/assets/stylesheets/application.scss */
.quiz-option i {
  color: rgba(23, 25, 29, 0.28);
  margin-top: 4px;
}

/* line 40008, app/assets/stylesheets/application.scss */
.quiz-option.is-on i {
  color: var(--quiz-accent);
}

/* line 40012, app/assets/stylesheets/application.scss */
.quiz-option.is-right i {
  color: var(--quiz-ok);
}

/* line 40016, app/assets/stylesheets/application.scss */
.quiz-option.is-wrong i {
  color: var(--quiz-bad);
}

/* line 40020, app/assets/stylesheets/application.scss */
.quiz-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--quiz-field);
}

/* line 40027, app/assets/stylesheets/application.scss */
.quiz-feedback.is-right {
  background: rgba(31, 157, 87, 0.1);
}

/* line 40031, app/assets/stylesheets/application.scss */
.quiz-feedback.is-wrong {
  background: rgba(196, 123, 18, 0.1);
}

/* line 40035, app/assets/stylesheets/application.scss */
.quiz-feedback strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

/* line 40041, app/assets/stylesheets/application.scss */
.quiz-feedback span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 40049, app/assets/stylesheets/application.scss */
.quiz-feedback p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

/* line 40055, app/assets/stylesheets/application.scss */
.quiz-feedback .is-right {
  color: var(--quiz-ok);
}

/* line 40056, app/assets/stylesheets/application.scss */
.quiz-feedback .is-wrong,
.quiz-review-card .is-wrong {
  color: var(--quiz-warn);
}

/* line 40058, app/assets/stylesheets/application.scss */
.quiz-review-card .is-right {
  color: var(--quiz-ok);
}

/* line 40060, app/assets/stylesheets/application.scss */
.quiz-take-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* line 40068, app/assets/stylesheets/application.scss */
.quiz-take-actions:has(.quiz-secondary) {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
}

/* line 40072, app/assets/stylesheets/application.scss */
.quiz-result-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px 4px;
}

/* line 40080, app/assets/stylesheets/application.scss */
.quiz-score-ring {
  width: 120px;
  height: 120px;
  margin-bottom: -88px;
}

/* line 40086, app/assets/stylesheets/application.scss */
.quiz-score {
  font-size: 48px;
  font-weight: 750;
  color: var(--quiz-accent);
  margin: 28px 0 0;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* line 40095, app/assets/stylesheets/application.scss */
.quiz-subscore {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--quiz-muted);
}

/* line 40101, app/assets/stylesheets/application.scss */
.quiz-perf {
  color: var(--quiz-muted);
  text-align: center;
  padding: 8px 12px 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.5;
}

/* line 40110, app/assets/stylesheets/application.scss */
.quiz-complete {
  align-items: stretch;
  text-align: center;
}

/* line 40115, app/assets/stylesheets/application.scss */
.quiz-complete .quiz-stats {
  text-align: left;
}

/* line 40119, app/assets/stylesheets/application.scss */
.quiz-result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  width: 100%;
  margin: 8px auto 0;
}

/* line 40128, app/assets/stylesheets/application.scss */
.quiz-review .quiz-scroll {
  padding: 0 0 16px;
}

/* line 40132, app/assets/stylesheets/application.scss */
.quiz-review-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--quiz-field);
  border-left: 3px solid transparent;
}

/* line 40139, app/assets/stylesheets/application.scss */
.quiz-review-card.is-right {
  border-left-color: var(--quiz-ok);
}

/* line 40143, app/assets/stylesheets/application.scss */
.quiz-review-card.is-wrong {
  border-left-color: var(--quiz-warn);
}

/* line 40147, app/assets/stylesheets/application.scss */
.quiz-review-card span {
  font-size: 12px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 40153, app/assets/stylesheets/application.scss */
.quiz-review-card strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

/* line 40160, app/assets/stylesheets/application.scss */
.quiz-review-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(23, 25, 29, 0.72);
}

/* line 40166, app/assets/stylesheets/application.scss */
.quiz-explain {
  color: var(--quiz-muted) !important;
}

@container quiz-hub (min-width: 720px) {
  /* line 40171, app/assets/stylesheets/application.scss */
  .quiz-nav,
.quiz-toolbar {
    padding-left: 28px;
    padding-right: 28px;
  }
  /* line 40177, app/assets/stylesheets/application.scss */
  .quiz-app > .quiz-scroll:not(.is-empty) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-left: 28px;
    padding-right: 28px;
    padding-bottom: 36px;
    align-content: start;
  }
  /* line 40187, app/assets/stylesheets/application.scss */
  .quiz-sheet,
.quiz-drive {
    align-items: center;
  }
  /* line 40192, app/assets/stylesheets/application.scss */
  .quiz-sheet-card,
.quiz-confirm,
.quiz-drive-card {
    border-radius: 22px;
    max-height: 86vh;
    margin-bottom: 0;
  }
  /* line 40200, app/assets/stylesheets/application.scss */
  .quiz-settings {
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }
  /* line 40205, app/assets/stylesheets/application.scss */
  .quiz-sheet-actions {
    flex-direction: row;
  }
  /* line 40209, app/assets/stylesheets/application.scss */
  .quiz-sheet-actions .quiz-primary,
.quiz-sheet-actions .quiz-secondary {
    width: auto;
    flex: 1;
  }
  /* line 40215, app/assets/stylesheets/application.scss */
  .quiz-confirm-actions {
    flex-direction: row-reverse;
  }
  /* line 40219, app/assets/stylesheets/application.scss */
  .quiz-confirm-actions button {
    flex: 1;
  }
  /* line 40223, app/assets/stylesheets/application.scss */
  .quiz-take,
.quiz-complete,
.quiz-review {
    background: #f7f8fa;
  }
  /* line 40229, app/assets/stylesheets/application.scss */
  .quiz-stage {
    background: #fff;
    border: 1px solid var(--quiz-line);
    border-radius: 22px;
    padding: 20px 28px 24px;
    margin: 8px auto 24px;
    box-shadow: 0 8px 28px rgba(23, 25, 29, 0.05);
    min-height: 0;
  }
  /* line 40239, app/assets/stylesheets/application.scss */
  .quiz-review .quiz-stage {
    overflow: hidden;
  }
}

@container quiz-hub (min-width: 980px) {
  /* line 40245, app/assets/stylesheets/application.scss */
  .quiz-app > .quiz-scroll:not(.is-empty) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* line 1, app/assets/stylesheets/_market_hub.scss */
.market-hub {
  --market-ink: #17191d;
  --market-muted: #6b717a;
  --market-field: #f4f5f7;
  --market-paper: #f6f7f9;
  --market-line: #e5e7eb;
  --market-gold: #e8a61e;
  --market-soft: rgba(23, 25, 29, 0.06);
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--market-paper);
  color: var(--market-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

/* line 20, app/assets/stylesheets/_market_hub.scss */
.market-hub.hidden,
.market-hub[hidden] {
  display: none !important;
}

/* line 25, app/assets/stylesheets/_market_hub.scss */
.market-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 32, app/assets/stylesheets/_market_hub.scss */
.market-hub-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--market-line);
}

/* line 41, app/assets/stylesheets/_market_hub.scss */
.market-hub-titles {
  flex: 1 1 140px;
  max-width: 280px;
  min-width: 0;
}

/* line 47, app/assets/stylesheets/_market_hub.scss */
.market-hub-titles strong {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 55, app/assets/stylesheets/_market_hub.scss */
.market-hub-titles span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--market-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 65, app/assets/stylesheets/_market_hub.scss */
.market-circle,
.market-tool {
  border: 0;
  border-radius: 999px;
  background: var(--market-field);
  color: var(--market-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

/* line 79, app/assets/stylesheets/_market_hub.scss */
.market-circle {
  width: 40px;
  height: 40px;
}

/* line 84, app/assets/stylesheets/_market_hub.scss */
.market-tool {
  min-height: 40px;
  padding: 0 14px;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}

/* line 92, app/assets/stylesheets/_market_hub.scss */
.market-circle.is-filled,
.market-tool.is-filled {
  background: var(--market-ink);
  color: #fff;
}

/* line 98, app/assets/stylesheets/_market_hub.scss */
.market-circle:hover,
.market-tool:hover {
  transform: translateY(-1px);
}

/* line 103, app/assets/stylesheets/_market_hub.scss */
.market-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 180px;
  min-width: 0;
  max-width: 420px;
  margin-left: auto;
  padding: 0 14px;
  min-height: 40px;
  border-radius: 12px;
  background: var(--market-field);
  color: var(--market-muted);
}

/* line 118, app/assets/stylesheets/_market_hub.scss */
.market-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--market-ink);
}

/* line 128, app/assets/stylesheets/_market_hub.scss */
.market-search input::placeholder {
  color: var(--market-muted);
}

/* line 132, app/assets/stylesheets/_market_hub.scss */
.market-hub-toolbar {
  background: #fff;
  border-bottom: 1px solid var(--market-line);
}

/* line 137, app/assets/stylesheets/_market_hub.scss */
.market-cats,
.market-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px 12px;
  scrollbar-width: none;
}

/* line 146, app/assets/stylesheets/_market_hub.scss */
.market-cats::-webkit-scrollbar,
.market-tabs::-webkit-scrollbar,
.market-peek::-webkit-scrollbar,
.market-preview-row::-webkit-scrollbar {
  display: none;
}

/* line 153, app/assets/stylesheets/_market_hub.scss */
.market-chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--market-field);
  color: rgba(23, 25, 29, 0.72);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* line 168, app/assets/stylesheets/_market_hub.scss */
.market-chip i {
  font-size: 11px;
  opacity: 0.72;
}

/* line 173, app/assets/stylesheets/_market_hub.scss */
.market-chip.is-on {
  background: var(--market-ink);
  color: #fff;
}

/* line 178, app/assets/stylesheets/_market_hub.scss */
.market-chip.is-on i {
  opacity: 1;
}

/* line 182, app/assets/stylesheets/_market_hub.scss */
.market-hub-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px 16px 40px;
}

/* line 189, app/assets/stylesheets/_market_hub.scss */
.market-insight {
  margin: 0 4px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--market-muted);
}

/* line 196, app/assets/stylesheets/_market_hub.scss */
.market-hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: 220px;
  height: clamp(220px, 28vh, 300px);
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid var(--market-line);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--market-field);
  text-align: left;
}

/* line 212, app/assets/stylesheets/_market_hub.scss */
.market-hero img,
.market-card-art img,
.market-thumb img,
.market-preview-tile img,
.market-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 223, app/assets/stylesheets/_market_hub.scss */
.market-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(23, 25, 29, 0.12) 18%, rgba(23, 25, 29, 0.78));
}

/* line 229, app/assets/stylesheets/_market_hub.scss */
.market-hero.is-fallback .market-hero-scrim {
  background: linear-gradient(to bottom, rgba(23, 25, 29, 0.04) 40%, rgba(23, 25, 29, 0.72));
}

/* line 233, app/assets/stylesheets/_market_hub.scss */
.market-hero-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* line 246, app/assets/stylesheets/_market_hub.scss */
.market-hero-copy strong {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}

/* line 254, app/assets/stylesheets/_market_hub.scss */
.market-hero-seller {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

/* line 260, app/assets/stylesheets/_market_hub.scss */
.market-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* line 271, app/assets/stylesheets/_market_hub.scss */
.market-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}

/* line 281, app/assets/stylesheets/_market_hub.scss */
.market-hero-price {
  margin-left: auto;
}

/* line 285, app/assets/stylesheets/_market_hub.scss */
.market-row {
  margin-bottom: 6px;
}

/* line 289, app/assets/stylesheets/_market_hub.scss */
.market-row header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 4px 12px;
}

/* line 297, app/assets/stylesheets/_market_hub.scss */
.market-row h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 304, app/assets/stylesheets/_market_hub.scss */
.market-row header span {
  font-size: 12px;
  font-weight: 700;
  color: var(--market-muted);
}

/* line 310, app/assets/stylesheets/_market_hub.scss */
.market-peek {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

/* line 319, app/assets/stylesheets/_market_hub.scss */
.market-peek.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

/* line 326, app/assets/stylesheets/_market_hub.scss */
.market-card {
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--market-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 0;
  scroll-snap-align: start;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

/* line 343, app/assets/stylesheets/_market_hub.scss */
.market-peek.is-grid .market-card {
  width: auto !important;
}

/* line 347, app/assets/stylesheets/_market_hub.scss */
.market-card:hover,
.market-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.1);
}

/* line 353, app/assets/stylesheets/_market_hub.scss */
.market-card-art {
  aspect-ratio: 16 / 10;
  background: var(--market-field);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(23, 25, 29, 0.38);
  font-size: 28px;
  overflow: hidden;
}

/* line 364, app/assets/stylesheets/_market_hub.scss */
.market-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  min-height: 118px;
}

/* line 372, app/assets/stylesheets/_market_hub.scss */
.market-card-body strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 383, app/assets/stylesheets/_market_hub.scss */
.market-card-body em,
.market-card-seller {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  color: var(--market-muted);
}

/* line 391, app/assets/stylesheets/_market_hub.scss */
.market-card-seller {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 398, app/assets/stylesheets/_market_hub.scss */
.market-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
}

/* line 407, app/assets/stylesheets/_market_hub.scss */
.market-rating {
  font-size: 12px;
  font-weight: 650;
}

/* line 412, app/assets/stylesheets/_market_hub.scss */
.market-rating i {
  color: var(--market-gold);
  font-size: 10px;
}

/* line 417, app/assets/stylesheets/_market_hub.scss */
.market-rating em,
.market-rating.is-new {
  color: var(--market-muted);
  font-style: normal;
}

/* line 423, app/assets/stylesheets/_market_hub.scss */
.market-coin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  white-space: nowrap;
}

/* line 431, app/assets/stylesheets/_market_hub.scss */
.market-coin .credit-coin-icon {
  width: 13px;
  height: 13px;
}

/* line 436, app/assets/stylesheets/_market_hub.scss */
.market-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52vh;
  padding: 48px 24px;
  text-align: center;
}

/* line 447, app/assets/stylesheets/_market_hub.scss */
.market-empty i {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--market-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--market-muted);
}

/* line 460, app/assets/stylesheets/_market_hub.scss */
.market-empty strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 465, app/assets/stylesheets/_market_hub.scss */
.market-empty p {
  margin: 0;
  max-width: 360px;
  color: var(--market-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 473, app/assets/stylesheets/_market_hub.scss */
.market-primary,
.market-secondary {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

/* line 484, app/assets/stylesheets/_market_hub.scss */
.market-primary {
  background: var(--market-ink);
  color: #fff;
}

/* line 489, app/assets/stylesheets/_market_hub.scss */
.market-secondary {
  background: var(--market-field);
  color: var(--market-ink);
}

/* line 494, app/assets/stylesheets/_market_hub.scss */
.market-primary:disabled,
.market-head-cta:disabled {
  opacity: 0.38;
  cursor: default;
}

/* line 500, app/assets/stylesheets/_market_hub.scss */
.market-head-cta {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
}

/* line 506, app/assets/stylesheets/_market_hub.scss */
.market-sheet {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 515, app/assets/stylesheets/_market_hub.scss */
.market-sheet.hidden,
.market-sheet[hidden] {
  display: none !important;
}

/* line 520, app/assets/stylesheets/_market_hub.scss */
.market-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.32);
}

/* line 527, app/assets/stylesheets/_market_hub.scss */
.market-sheet-card {
  position: relative;
  width: min(640px, 100%);
  max-height: min(94%, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 22px 22px 0 0;
  background: #fff;
  overflow: hidden;
}

/* line 538, app/assets/stylesheets/_market_hub.scss */
.market-sheet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--market-line);
}

/* line 546, app/assets/stylesheets/_market_hub.scss */
.market-sheet-head div {
  flex: 1;
  min-width: 0;
}

/* line 551, app/assets/stylesheets/_market_hub.scss */
.market-sheet-head strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 558, app/assets/stylesheets/_market_hub.scss */
.market-sheet-head span {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--market-muted);
}

/* line 565, app/assets/stylesheets/_market_hub.scss */
.market-sheet-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 575, app/assets/stylesheets/_market_hub.scss */
.market-create-body,
.market-detail-body {
  gap: 18px;
}

/* line 580, app/assets/stylesheets/_market_hub.scss */
.market-create-media,
.market-create-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* line 588, app/assets/stylesheets/_market_hub.scss */
.market-text-btn {
  border: 0;
  background: transparent;
  color: var(--market-ink);
  font-size: 15px;
  cursor: pointer;
  padding: 8px 4px;
}

/* line 597, app/assets/stylesheets/_market_hub.scss */
.market-text-btn.is-strong {
  font-weight: 650;
}

/* line 601, app/assets/stylesheets/_market_hub.scss */
.market-dash,
.market-panel {
  padding: 16px;
  border: 1px solid var(--market-line);
  border-radius: 16px;
  background: #fff;
}

/* line 609, app/assets/stylesheets/_market_hub.scss */
.market-dash {
  background: var(--market-paper);
}

/* line 613, app/assets/stylesheets/_market_hub.scss */
.market-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

/* line 621, app/assets/stylesheets/_market_hub.scss */
.market-dash-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* line 628, app/assets/stylesheets/_market_hub.scss */
.market-dash-person i {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--market-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 640, app/assets/stylesheets/_market_hub.scss */
.market-dash-person strong,
.market-sales-main strong {
  display: block;
  font-size: 15px;
}

/* line 646, app/assets/stylesheets/_market_hub.scss */
.market-dash-person span {
  font-size: 12px;
  color: var(--market-muted);
}

/* line 651, app/assets/stylesheets/_market_hub.scss */
.market-wallet {
  border: 1px solid var(--market-line);
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  cursor: pointer;
  color: inherit;
  text-align: left;
}

/* line 665, app/assets/stylesheets/_market_hub.scss */
.market-wallet em {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  color: var(--market-muted);
}

/* line 672, app/assets/stylesheets/_market_hub.scss */
.market-wallet.is-quiet {
  border: 0;
  background: transparent;
  padding: 0;
  flex: 1;
  min-width: 0;
}

/* line 680, app/assets/stylesheets/_market_hub.scss */
.market-wallet.is-quiet span:last-child {
  font-size: 12px;
  color: var(--market-muted);
  font-weight: 500;
}

/* line 686, app/assets/stylesheets/_market_hub.scss */
.market-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 692, app/assets/stylesheets/_market_hub.scss */
.market-stats div {
  text-align: center;
  padding: 12px 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--market-line);
}

/* line 700, app/assets/stylesheets/_market_hub.scss */
.market-dash .market-stats div {
  border: 0;
}

/* line 704, app/assets/stylesheets/_market_hub.scss */
.market-stats strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

/* line 710, app/assets/stylesheets/_market_hub.scss */
.market-stats span {
  font-size: 11px;
  font-weight: 650;
  color: var(--market-muted);
}

/* line 716, app/assets/stylesheets/_market_hub.scss */
.market-sales-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 722, app/assets/stylesheets/_market_hub.scss */
.market-sales-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--market-line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  color: inherit;
  cursor: pointer;
  min-width: 0;
}

/* line 737, app/assets/stylesheets/_market_hub.scss */
.market-sales-main.is-static {
  cursor: default;
}

/* line 741, app/assets/stylesheets/_market_hub.scss */
.market-sales-main i.fa-chevron-right {
  margin-left: auto;
  color: rgba(23, 25, 29, 0.28);
  font-size: 12px;
}

/* line 747, app/assets/stylesheets/_market_hub.scss */
.market-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--market-field);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(23, 25, 29, 0.4);
  flex: 0 0 auto;
}

/* line 760, app/assets/stylesheets/_market_hub.scss */
.market-ghost-sm {
  border: 0;
  background: transparent;
  color: #c41e3a;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  padding: 8px;
}

/* line 770, app/assets/stylesheets/_market_hub.scss */
.market-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--market-muted);
}

/* line 777, app/assets/stylesheets/_market_hub.scss */
.market-field,
.market-row-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--market-field);
  color: var(--market-ink);
  font-size: 15px;
  padding: 12px 14px;
}

/* line 788, app/assets/stylesheets/_market_hub.scss */
.market-field {
  outline: none;
}

/* line 792, app/assets/stylesheets/_market_hub.scss */
.market-field:focus {
  box-shadow: inset 0 0 0 2px rgba(23, 25, 29, 0.16);
}

/* line 796, app/assets/stylesheets/_market_hub.scss */
.market-row-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

/* line 805, app/assets/stylesheets/_market_hub.scss */
.market-source-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* line 811, app/assets/stylesheets/_market_hub.scss */
.market-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 817, app/assets/stylesheets/_market_hub.scss */
.market-price-row .market-field {
  flex: 1;
}

/* line 821, app/assets/stylesheets/_market_hub.scss */
.market-price-suffix {
  font-size: 13px;
  font-weight: 650;
  color: var(--market-muted);
}

/* line 827, app/assets/stylesheets/_market_hub.scss */
.market-preview-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

/* line 835, app/assets/stylesheets/_market_hub.scss */
.market-preview-tile,
.market-preview-add {
  position: relative;
  width: 96px;
  height: 124px;
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--market-field);
}

/* line 846, app/assets/stylesheets/_market_hub.scss */
.market-preview-tile em {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

/* line 858, app/assets/stylesheets/_market_hub.scss */
.market-preview-tile button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

/* line 871, app/assets/stylesheets/_market_hub.scss */
.market-preview-add {
  border: 1px dashed #d4d7dd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  color: var(--market-ink);
}

/* line 884, app/assets/stylesheets/_market_hub.scss */
.market-preview-add em {
  font-style: normal;
  font-size: 11px;
  color: var(--market-muted);
}

/* line 890, app/assets/stylesheets/_market_hub.scss */
.market-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--market-field);
}

/* line 899, app/assets/stylesheets/_market_hub.scss */
.market-file-row i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 0 0 auto;
}

/* line 911, app/assets/stylesheets/_market_hub.scss */
.market-file-row span {
  min-width: 0;
}

/* line 915, app/assets/stylesheets/_market_hub.scss */
.market-file-row strong,
.market-file-row em {
  display: block;
}

/* line 920, app/assets/stylesheets/_market_hub.scss */
.market-file-row em {
  font-style: normal;
  font-size: 11px;
  color: var(--market-muted);
}

/* line 926, app/assets/stylesheets/_market_hub.scss */
.market-file-row button {
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(23, 25, 29, 0.45);
  font-size: 18px;
  line-height: 1;
}

/* line 936, app/assets/stylesheets/_market_hub.scss */
.market-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--market-field);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-size: 14px;
  line-height: 1.4;
}

/* line 951, app/assets/stylesheets/_market_hub.scss */
.market-toggle i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--market-line);
  background: #fff;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* line 966, app/assets/stylesheets/_market_hub.scss */
.market-toggle.is-on i {
  background: var(--market-ink);
  border-color: var(--market-ink);
  color: #fff;
}

/* line 972, app/assets/stylesheets/_market_hub.scss */
.market-hint,
.market-legal,
.market-kicker {
  margin: 0;
  font-size: 13px;
  color: var(--market-muted);
  line-height: 1.45;
}

/* line 981, app/assets/stylesheets/_market_hub.scss */
.market-kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

/* line 988, app/assets/stylesheets/_market_hub.scss */
.market-detail-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* line 996, app/assets/stylesheets/_market_hub.scss */
.market-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* line 1005, app/assets/stylesheets/_market_hub.scss */
.market-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* line 1011, app/assets/stylesheets/_market_hub.scss */
.market-carousel {
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--market-line);
  background: var(--market-field);
}

/* line 1020, app/assets/stylesheets/_market_hub.scss */
.market-carousel figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* line 1028, app/assets/stylesheets/_market_hub.scss */
.market-carousel figure.is-on {
  opacity: 1;
}

/* line 1032, app/assets/stylesheets/_market_hub.scss */
.market-carousel figcaption {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
}

/* line 1043, app/assets/stylesheets/_market_hub.scss */
.market-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--market-ink);
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(23, 25, 29, 0.14);
}

/* line 1061, app/assets/stylesheets/_market_hub.scss */
.market-carousel-nav.is-prev {
  left: 10px;
}

/* line 1062, app/assets/stylesheets/_market_hub.scss */
.market-carousel-nav.is-next {
  right: 10px;
}

/* line 1064, app/assets/stylesheets/_market_hub.scss */
.market-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

/* line 1075, app/assets/stylesheets/_market_hub.scss */
.market-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

/* line 1085, app/assets/stylesheets/_market_hub.scss */
.market-carousel-dots button.is-on {
  background: #fff;
  width: 16px;
}

/* line 1090, app/assets/stylesheets/_market_hub.scss */
.market-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(23, 25, 29, 0.28);
  font-size: 42px;
  background: linear-gradient(160deg, #eef2f7, #d5dde8);
}

/* line 1101, app/assets/stylesheets/_market_hub.scss */
.market-hero .market-cover-fallback {
  font-size: 72px;
  color: rgba(23, 25, 29, 0.18);
}

/* line 1106, app/assets/stylesheets/_market_hub.scss */
.market-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 1113, app/assets/stylesheets/_market_hub.scss */
.market-stars button {
  border: 0;
  background: transparent;
  color: var(--market-line);
  font-size: 22px;
  cursor: pointer;
  padding: 2px;
}

/* line 1122, app/assets/stylesheets/_market_hub.scss */
.market-stars button .fas {
  color: var(--market-gold);
}

/* line 1126, app/assets/stylesheets/_market_hub.scss */
.market-stars span {
  font-size: 12px;
  color: var(--market-muted);
  font-weight: 600;
}

/* line 1132, app/assets/stylesheets/_market_hub.scss */
.market-buybar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--market-line);
  background: #fff;
}

/* line 1141, app/assets/stylesheets/_market_hub.scss */
.market-buybar .market-primary {
  min-width: 132px;
}

/* line 1145, app/assets/stylesheets/_market_hub.scss */
.market-alert {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 29, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 6;
}

/* line 1156, app/assets/stylesheets/_market_hub.scss */
.market-alert > div {
  width: min(360px, 100%);
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 25, 29, 0.16);
}

/* line 1164, app/assets/stylesheets/_market_hub.scss */
.market-alert strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

/* line 1170, app/assets/stylesheets/_market_hub.scss */
.market-alert p {
  margin: 0 0 16px;
  color: var(--market-muted);
  line-height: 1.45;
}

/* line 1176, app/assets/stylesheets/_market_hub.scss */
.market-alert-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* line 1182, app/assets/stylesheets/_market_hub.scss */
.market-error {
  margin: 0;
  color: #c41e3a;
  font-size: 14px;
}

/* line 1188, app/assets/stylesheets/_market_hub.scss */
.market-muted-block {
  text-align: center;
  color: var(--market-muted);
  padding: 36px 8px;
}

/* line 1194, app/assets/stylesheets/_market_hub.scss */
.market-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
}

/* line 1202, app/assets/stylesheets/_market_hub.scss */
.market-crumbs button {
  border: 0;
  background: transparent;
  color: var(--market-ink);
  font-weight: 650;
  cursor: pointer;
}

/* line 1210, app/assets/stylesheets/_market_hub.scss */
.market-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

/* line 1218, app/assets/stylesheets/_market_hub.scss */
.market-panel-head h3,
.market-panel h3 {
  margin: 0;
  font-size: 15px;
}

/* line 1224, app/assets/stylesheets/_market_hub.scss */
.market-panel-head span {
  font-size: 12px;
  color: var(--market-muted);
  font-weight: 650;
}

/* line 1230, app/assets/stylesheets/_market_hub.scss */
.market-panel h3 {
  margin-bottom: 10px;
}

/* line 1234, app/assets/stylesheets/_market_hub.scss */
.market-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--market-line);
  border-top-color: var(--market-ink);
  border-radius: 999px;
  animation: market-spin 0.8s linear infinite;
}

@keyframes market-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 1247, app/assets/stylesheets/_market_hub.scss */
.market-circle:focus-visible,
.market-tool:focus-visible,
.market-chip:focus-visible,
.market-card:focus-visible,
.market-hero:focus-visible,
.market-primary:focus-visible,
.market-secondary:focus-visible,
.market-wallet:focus-visible,
.market-row-btn:focus-visible,
.market-toggle:focus-visible,
.market-text-btn:focus-visible,
.market-carousel-nav:focus-visible {
  outline: 2px solid var(--market-ink);
  outline-offset: 2px;
}

@media (min-width: 760px) {
  /* line 1264, app/assets/stylesheets/_market_hub.scss */
  .market-hub-head {
    padding: 14px 22px;
    gap: 12px;
  }
  /* line 1269, app/assets/stylesheets/_market_hub.scss */
  .market-hub-titles strong {
    font-size: 20px;
  }
  /* line 1273, app/assets/stylesheets/_market_hub.scss */
  .market-search,
.market-search[hidden] {
    display: flex !important;
  }
  /* line 1278, app/assets/stylesheets/_market_hub.scss */
  .market-search-toggle {
    display: none !important;
  }
  /* line 1282, app/assets/stylesheets/_market_hub.scss */
  .market-cats,
.market-tabs {
    flex-wrap: wrap;
    overflow: visible;
    padding: 12px 22px 14px;
  }
  /* line 1289, app/assets/stylesheets/_market_hub.scss */
  .market-hub-body {
    padding: 20px 22px 48px;
  }
  /* line 1293, app/assets/stylesheets/_market_hub.scss */
  .market-hero-copy strong {
    font-size: 32px;
    max-width: 22ch;
  }
  /* line 1298, app/assets/stylesheets/_market_hub.scss */
  .market-peek.is-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
  }
  /* line 1303, app/assets/stylesheets/_market_hub.scss */
  .market-sheet {
    align-items: center;
    padding: 24px;
  }
  /* line 1308, app/assets/stylesheets/_market_hub.scss */
  .market-sheet-card {
    width: min(760px, calc(100% - 32px));
    max-height: min(90vh, 860px);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(23, 25, 29, 0.18);
  }
  /* line 1315, app/assets/stylesheets/_market_hub.scss */
  .market-sheet-card.is-detail,
.market-sheet-card.is-create {
    width: min(1040px, calc(100% - 32px));
  }
  /* line 1320, app/assets/stylesheets/_market_hub.scss */
  .market-sheet-card.is-sales,
.market-sheet-card.is-report,
.market-sheet-card.is-picker {
    width: min(640px, calc(100% - 32px));
  }
  /* line 1326, app/assets/stylesheets/_market_hub.scss */
  .market-sheet-body {
    padding: 18px 22px 32px;
  }
  /* line 1330, app/assets/stylesheets/_market_hub.scss */
  .market-create-body {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
    align-items: start;
  }
  /* line 1336, app/assets/stylesheets/_market_hub.scss */
  .market-create-body > .market-error {
    grid-column: 1 / -1;
  }
  /* line 1340, app/assets/stylesheets/_market_hub.scss */
  .market-detail-body {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 1fr);
    align-items: start;
  }
  /* line 1346, app/assets/stylesheets/_market_hub.scss */
  .market-detail-gallery {
    position: sticky;
    top: 0;
  }
  /* line 1351, app/assets/stylesheets/_market_hub.scss */
  .market-carousel {
    height: 360px;
  }
  /* line 1355, app/assets/stylesheets/_market_hub.scss */
  .market-source-row {
    grid-template-columns: 1fr 1fr;
  }
  /* line 1359, app/assets/stylesheets/_market_hub.scss */
  .market-preview-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    overflow: visible;
  }
  /* line 1365, app/assets/stylesheets/_market_hub.scss */
  .market-preview-tile,
.market-preview-add {
    width: auto;
  }
}

@media (max-width: 759px) {
  /* line 1372, app/assets/stylesheets/_market_hub.scss */
  .market-tool-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  /* line 1384, app/assets/stylesheets/_market_hub.scss */
  .market-tool {
    width: 40px;
    padding: 0;
  }
  /* line 1389, app/assets/stylesheets/_market_hub.scss */
  .market-hub-head {
    flex-wrap: wrap;
  }
  /* line 1393, app/assets/stylesheets/_market_hub.scss */
  .market-search {
    flex: 1 1 100%;
    max-width: none;
    margin: 4px 0 0;
    order: 8;
  }
  /* line 1400, app/assets/stylesheets/_market_hub.scss */
  .market-search[hidden] {
    display: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  /* line 1406, app/assets/stylesheets/_market_hub.scss */
  .market-chip:hover:not(.is-on) {
    background: #eceef1;
  }
  /* line 1410, app/assets/stylesheets/_market_hub.scss */
  .market-row-btn:hover,
.market-sales-main:hover,
.market-wallet:hover,
.market-toggle:hover {
    background: #eceef1;
  }
  /* line 1417, app/assets/stylesheets/_market_hub.scss */
  .market-wallet.is-quiet:hover {
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 1423, app/assets/stylesheets/_market_hub.scss */
  .market-card,
.market-hero,
.market-circle,
.market-tool,
.market-carousel figure {
    transition: none;
  }
}

/* line 1, app/assets/stylesheets/_pin_hub.scss */
.pin-hub {
  --pin-ink: #17191d;
  --pin-muted: #6b717a;
  --pin-line: rgba(23, 25, 29, 0.08);
  --pin-paper: #f4ead6;
  --pin-grain: #e4d3b4;
  --pin-head: #c45c4a;
  --pin-surface: #f7f4ee;
  --pin-accent: #c45c4a;
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  min-height: 0;
  color: var(--pin-ink);
  background: var(--pin-surface);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
}

/* line 20, app/assets/stylesheets/_pin_hub.scss */
.pin-hub.hidden,
.pin-hub[hidden] {
  display: none !important;
}

/* line 25, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  width: 100%;
}

/* line 33, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-rail,
.pin-hub-stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

/* line 41, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-rail {
  background: #fff;
  border-right: 1px solid var(--pin-line);
}

/* line 46, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-head,
.pin-hub-board-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
}

/* line 54, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-titles,
.pin-hub-board-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 63, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-titles strong {
  font-size: var(--text-title-3);
  font-weight: 700;
  letter-spacing: var(--text-title-tracking);
  line-height: 1.2;
}

/* line 70, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-titles span,
.pin-hub-board-titles span,
.pin-hub-board-card small {
  font-size: var(--text-caption-1);
  color: var(--pin-muted);
}

/* line 77, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-titles span,
.pin-hub-board-card small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 84, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-titles span {
  line-height: 1.35;
}

/* line 88, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f1eb;
  color: var(--pin-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 102, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle:hover {
  background: #ece8df;
}

/* line 106, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle.is-filled {
  background: var(--pin-ink);
  color: #fff;
}

/* line 111, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle:focus-visible,
.pin-hub-cta:focus-visible,
.pin-hub-board-card:focus-visible,
.pin-hub-dock button:focus-visible {
  outline: 2px solid var(--pin-ink);
  outline-offset: 2px;
}

/* line 119, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 16px 12px;
  padding: 0 12px;
  min-height: 40px;
  border-radius: 12px;
  background: #f3f1eb;
  color: var(--pin-muted);
}

/* line 131, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: var(--text-subhead);
  color: var(--pin-ink);
  outline: none;
}

/* line 141, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-boards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 20px;
  overflow: auto;
}

/* line 149, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

/* line 164, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-card:hover,
.pin-hub-board-card.is-active {
  background: #f6f1e8;
}

/* line 169, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb {
  position: relative;
  width: 72px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.35), transparent 42%), repeating-linear-gradient(-18deg, transparent, transparent 11px, rgba(0, 0, 0, 0.035) 11px, rgba(0, 0, 0, 0.035) 12px), var(--pin-paper);
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.06);
}

/* line 182, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb i {
  position: absolute;
  width: 18px;
  height: 22px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.16);
}

/* line 191, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb i.is-0 {
  left: 10px;
  top: 14px;
  transform: rotate(-8deg);
}

/* line 192, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb i.is-1 {
  left: 28px;
  top: 10px;
  transform: rotate(6deg);
  width: 20px;
  height: 24px;
}

/* line 193, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb i.is-2 {
  left: 46px;
  top: 16px;
  transform: rotate(-4deg);
}

/* line 194, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb i.is-photo {
  background: #d9c4a6;
}

/* line 195, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb i.is-link {
  height: 14px;
}

/* line 197, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 204, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-copy strong {
  font-size: var(--text-callout);
  font-weight: 650;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 213, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty,
.pin-hub-stage-idle,
.pin-hub-board-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 24px;
  color: var(--pin-muted);
}

/* line 225, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty-mark,
.pin-hub-stage-idle span {
  font-size: 36px;
  line-height: 1;
}

/* line 231, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty strong,
.pin-hub-stage-idle strong,
.pin-hub-board-empty strong {
  color: var(--pin-ink);
  font-size: var(--text-title-3);
  letter-spacing: var(--text-title-tracking);
}

/* line 239, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty p,
.pin-hub-stage-idle p,
.pin-hub-board-empty p,
.pin-hub-form p {
  margin: 0;
  max-width: 28ch;
  font-size: var(--text-footnote);
  line-height: 1.45;
}

/* line 249, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-cta,
.pin-hub-danger,
.pin-hub-text-btn,
.pin-hub-menu-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* line 258, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-cta {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--pin-ink);
  color: #fff;
  font-size: var(--text-callout);
  font-weight: 650;
}

/* line 268, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-cta:hover {
  filter: brightness(1.08);
}

/* line 270, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-stage {
  position: relative;
  background: #efe7d8;
}

/* line 275, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-head {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* line 283, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-back {
  display: none;
}

/* line 285, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-name {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: var(--text-headline);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: left;
  cursor: pointer;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 301, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-actions {
  display: flex;
  gap: 8px;
}

/* line 306, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 16px 88px;
}

/* line 313, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas {
  position: relative;
  min-width: 100%;
  min-height: 100%;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.08), 0 18px 40px rgba(80, 52, 20, 0.12);
  background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.28), transparent 36%), radial-gradient(circle at 88% 90%, rgba(0, 0, 0, 0.08), transparent 42%), repeating-linear-gradient(28deg, transparent, transparent 13px, rgba(0, 0, 0, 0.03) 13px, rgba(0, 0, 0, 0.03) 14px), repeating-linear-gradient(-18deg, transparent, transparent 21px, rgba(255, 255, 255, 0.08) 21px, rgba(255, 255, 255, 0.08) 22px), var(--pin-paper);
  cursor: cell;
}

/* line 329, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-stage-idle {
  position: absolute;
  inset: 0;
  justify-content: center;
  pointer-events: none;
}

/* line 336, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-empty {
  position: absolute;
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 16px 18px;
}

/* line 347, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 14px 12px 12px;
  border-radius: 4px;
  background: #fffdf7;
  box-shadow: 0 10px 18px rgba(70, 42, 18, 0.16), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

/* line 362, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-dragging {
  cursor: grabbing;
  z-index: 50 !important;
  box-shadow: 0 18px 32px rgba(70, 42, 18, 0.24);
}

/* line 368, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-photo {
  padding: 10px 10px 12px;
  background: #fff;
}

/* line 373, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-link {
  background: #f7fbff;
}

/* line 377, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-tack {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, transparent 42%), var(--pin-head);
  box-shadow: 0 2px 3px rgba(23, 25, 29, 0.28);
}

/* line 391, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 8px;
  pointer-events: none;
}

/* line 401, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 408, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-emoji {
  font-size: 18px;
  line-height: 1;
}

/* line 413, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-word;
}

/* line 421, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy p,
.pin-hub-pin-copy small {
  margin: 0;
  font-size: 12px;
  color: var(--pin-muted);
  line-height: 1.4;
  word-break: break-word;
}

/* line 430, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-dock {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 28px rgba(23, 25, 29, 0.14);
}

/* line 446, app/assets/stylesheets/_pin_hub.scss */
.pin-hub:not(.is-board-open) .pin-hub-dock,
.pin-hub:not(.is-board-open) .pin-hub-board-actions {
  display: none;
}

/* line 451, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-dock button {
  min-width: 72px;
  border: 0;
  background: transparent;
  color: var(--pin-ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

/* line 467, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-dock button span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f1eb;
  font-size: 14px;
}

/* line 478, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-dock button:hover span {
  background: #ece6da;
}

/* line 482, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-sheet {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 491, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-sheet.hidden,
.pin-hub-sheet[hidden] {
  display: none !important;
}

/* line 496, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.28);
  cursor: pointer;
}

/* line 504, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-sheet-card {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 20px));
  max-height: min(86%, 640px);
  overflow: auto;
  margin-bottom: 12px;
  padding: 8px 0 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 25, 29, 0.22);
}

/* line 517, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 18px 0;
}

/* line 524, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 531, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form header strong {
  font-size: var(--text-title-3);
  letter-spacing: var(--text-title-tracking);
}

/* line 536, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--text-footnote);
  color: var(--pin-muted);
}

/* line 544, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form input,
.pin-hub-form textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #f4f1ea;
  padding: 12px 14px;
  font: inherit;
  font-size: var(--text-callout);
  color: var(--pin-ink);
  outline: none;
}

/* line 557, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form textarea {
  resize: vertical;
  min-height: 96px;
}

/* line 562, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

/* line 570, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-people {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow: auto;
}

/* line 578, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 585, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: 0 0 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #efe6d8;
  font-size: 13px;
  font-weight: 700;
}

/* line 599, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 605, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-name {
  flex: 1;
  min-width: 0;
  font-size: var(--text-callout);
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 615, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-empty {
  margin: 0;
  color: var(--pin-muted);
  font-size: var(--text-footnote);
}

/* line 621, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-text-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 626, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-danger {
  margin-right: auto;
  background: transparent;
  color: #d70015;
  font-size: var(--text-callout);
  font-weight: 650;
}

/* line 634, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-menu-btn {
  width: 100%;
  text-align: left;
  padding: 14px 4px;
  background: transparent;
  border-bottom: 1px solid var(--pin-line);
  font-size: var(--text-callout);
}

/* line 643, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-menu-btn.is-danger {
  color: #d70015;
}

/* line 645, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-backdrop-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

/* line 651, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--pin-muted);
  font-size: 11px;
  font-weight: 650;
}

/* line 664, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* line 666, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-swatch i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: repeating-linear-gradient(-18deg, transparent, transparent 8px, rgba(0, 0, 0, 0.04) 8px, rgba(0, 0, 0, 0.04) 9px), var(--pin-paper);
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.08);
}

/* line 676, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-swatch.is-on i,
.pin-hub-swatch:has(input:checked) i {
  box-shadow: inset 0 0 0 2px var(--pin-ink);
}

/* line 681, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 687, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row label {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #f4f1ea;
  cursor: pointer;
}

/* line 697, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row label.is-on,
.pin-hub-emoji-row label:has(input:checked) {
  background: #ece4d4;
}

/* line 702, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row input {
  display: none;
}

/* line 703, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row span {
  font-size: 18px;
}

/* line 705, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-photo-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

/* line 712, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-none {
  margin: 8px 4px;
  color: var(--pin-muted);
  font-size: var(--text-footnote);
}

@media (max-width: 860px) {
  /* line 719, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-shell {
    grid-template-columns: 1fr;
  }
  /* line 723, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-stage {
    display: none;
  }
  /* line 727, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub.is-board-open .pin-hub-rail {
    display: none;
  }
  /* line 731, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub.is-board-open .pin-hub-stage {
    display: flex;
  }
  /* line 735, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-board-back {
    display: inline-flex;
  }
  /* line 739, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-canvas-wrap {
    padding: 4px 10px 96px;
  }
  /* line 743, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-dock {
    bottom: 12px;
    width: calc(100% - 24px);
    justify-content: space-around;
  }
  /* line 749, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-dock button {
    min-width: 0;
    flex: 1;
  }
}

@media (min-width: 1180px) {
  /* line 756, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-shell {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  /* line 760, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-titles strong {
    font-size: var(--text-title-2);
  }
}

/* line 40253, app/assets/stylesheets/application.scss */
.occasion-hub {
  --occ-paper: #ffffff;
  --occ-ink: #17191d;
  --occ-muted: #737880;
  --occ-line: #e5e7eb;
  --occ-accent: #f26173;
  --occ-surface: #f4f5f7;
  --occ-soft: rgba(242, 97, 115, 0.12);
  position: absolute;
  inset: 0;
  z-index: 42;
  background: var(--occ-paper);
  color: var(--occ-ink);
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

/* line 40277, app/assets/stylesheets/application.scss */
.occasion-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 40284, app/assets/stylesheets/application.scss */
.occasion-hub-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

/* line 40291, app/assets/stylesheets/application.scss */
.occasion-hub-head strong {
  flex: 1;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 40298, app/assets/stylesheets/application.scss */
.occ-head-actions {
  display: flex;
  gap: 8px;
}

/* line 40303, app/assets/stylesheets/application.scss */
.occ-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--occ-surface);
  color: var(--occ-ink);
  cursor: pointer;
}

/* line 40313, app/assets/stylesheets/application.scss */
.occ-icon-btn.is-on,
.occ-icon-btn.is-accent {
  background: var(--occ-accent);
  color: #fff;
}

/* line 40319, app/assets/stylesheets/application.scss */
.occ-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--occ-surface);
  color: var(--occ-muted);
}

/* line 40330, app/assets/stylesheets/application.scss */
.occ-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--occ-ink);
  outline: none;
}

/* line 40339, app/assets/stylesheets/application.scss */
.occasion-hub-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 40345, app/assets/stylesheets/application.scss */
.occ-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 16px 28px;
}

/* line 40352, app/assets/stylesheets/application.scss */
.occ-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70%;
  gap: 10px;
  padding: 32px 28px;
  text-align: center;
}

/* line 40363, app/assets/stylesheets/application.scss */
.occ-empty-icon,
.occ-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--occ-tint, var(--occ-accent)) 14%, #fff);
  color: var(--occ-tint, var(--occ-accent));
  flex-shrink: 0;
}

/* line 40376, app/assets/stylesheets/application.scss */
.occ-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--occ-soft);
  font-size: 22px;
}

/* line 40384, app/assets/stylesheets/application.scss */
.occ-empty strong {
  font-size: 19px;
  font-weight: 600;
}

/* line 40389, app/assets/stylesheets/application.scss */
.occ-empty p,
.occ-row em,
.occ-focus-copy em,
.occ-hero em {
  margin: 0;
  color: var(--occ-muted);
  font-style: normal;
  font-size: 14px;
}

/* line 40399, app/assets/stylesheets/application.scss */
.occ-cta,
.occ-ghost,
.occ-danger,
.occ-chips button {
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

/* line 40408, app/assets/stylesheets/application.scss */
.occ-cta {
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--occ-accent);
  color: #fff;
}

/* line 40416, app/assets/stylesheets/application.scss */
.occ-cta-block,
.occ-ghost,
.occ-danger {
  width: 100%;
  padding: 14px 12px;
  border-radius: 14px;
}

/* line 40424, app/assets/stylesheets/application.scss */
.occ-ghost {
  background: var(--occ-surface);
  color: var(--occ-ink);
}

/* line 40429, app/assets/stylesheets/application.scss */
.occ-danger {
  background: transparent;
  color: #e11d48;
}

/* line 40434, app/assets/stylesheets/application.scss */
.occ-focus,
.occ-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 0;
  cursor: pointer;
  background: var(--occ-surface);
  color: inherit;
}

/* line 40447, app/assets/stylesheets/application.scss */
.occ-focus {
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--occ-tint) 10%, #fff);
}

/* line 40453, app/assets/stylesheets/application.scss */
.occ-row {
  padding: 12px;
  border-radius: 16px;
}

/* line 40458, app/assets/stylesheets/application.scss */
.occ-focus-copy,
.occ-row-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 40467, app/assets/stylesheets/application.scss */
.occ-focus-copy strong,
.occ-row-copy strong,
.occ-hero strong {
  font-size: 16px;
  font-weight: 600;
}

/* line 40474, app/assets/stylesheets/application.scss */
.occ-count {
  text-align: right;
}

/* line 40478, app/assets/stylesheets/application.scss */
.occ-count b {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--occ-tint);
}

/* line 40485, app/assets/stylesheets/application.scss */
.occ-count small,
.occ-section h3,
.occ-label,
.occ-notes h3 {
  color: var(--occ-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 40494, app/assets/stylesheets/application.scss */
.occ-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 40500, app/assets/stylesheets/application.scss */
.occ-section h3 {
  margin: 0;
  text-transform: none;
}

/* line 40505, app/assets/stylesheets/application.scss */
.occ-when {
  font-size: 12px;
  font-weight: 600;
}

/* line 40510, app/assets/stylesheets/application.scss */
.occ-when.is-today {
  color: var(--occ-tint);
}

/* line 40514, app/assets/stylesheets/application.scss */
.occ-cal {
  padding: 8px 12px 24px;
}

/* line 40518, app/assets/stylesheets/application.scss */
.occ-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* line 40525, app/assets/stylesheets/application.scss */
.occ-cal-head strong {
  font-size: 19px;
}

/* line 40529, app/assets/stylesheets/application.scss */
.occ-cal-week,
.occ-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
}

/* line 40536, app/assets/stylesheets/application.scss */
.occ-cal-week {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--occ-muted);
  text-align: center;
}

/* line 40544, app/assets/stylesheets/application.scss */
.occ-cal-cell {
  min-height: 54px;
  border: 0;
  background: transparent;
  color: var(--occ-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

/* line 40556, app/assets/stylesheets/application.scss */
.occ-cal-cell.is-today span:first-child {
  color: var(--occ-accent);
  font-weight: 700;
}

/* line 40561, app/assets/stylesheets/application.scss */
.occ-cal-cell.has-event span:first-child {
  font-weight: 700;
}

/* line 40565, app/assets/stylesheets/application.scss */
.occ-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(23, 25, 29, 0.12);
}

/* line 40572, app/assets/stylesheets/application.scss */
.occ-file {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--occ-tint);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* line 40585, app/assets/stylesheets/application.scss */
.occ-file.lg {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

/* line 40591, app/assets/stylesheets/application.scss */
.occ-file b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  font-size: 9px;
  line-height: 16px;
}

/* line 40604, app/assets/stylesheets/application.scss */
.occ-sheet,
.occ-confirm {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(23, 25, 29, 0.32);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 40615, app/assets/stylesheets/application.scss */
.occ-sheet-card,
.occ-confirm-card {
  width: min(640px, 100%);
  max-height: 92%;
  overflow: auto;
  background: var(--occ-paper);
  border-radius: 20px 20px 0 0;
}

/* line 40624, app/assets/stylesheets/application.scss */
.occ-confirm-card {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

/* line 40632, app/assets/stylesheets/application.scss */
.occ-sheet-bar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--occ-paper);
  z-index: 1;
}

/* line 40644, app/assets/stylesheets/application.scss */
.occ-sheet-bar strong {
  text-align: center;
}

/* line 40648, app/assets/stylesheets/application.scss */
.occ-sheet-bar .occ-text-btn:last-child {
  justify-self: end;
}

/* line 40652, app/assets/stylesheets/application.scss */
.occ-text-btn {
  border: 0;
  background: transparent;
  color: var(--occ-ink);
  font-size: 16px;
  cursor: pointer;
}

/* line 40660, app/assets/stylesheets/application.scss */
.occ-text-btn.is-accent {
  color: var(--occ-accent);
  font-weight: 600;
}

/* line 40665, app/assets/stylesheets/application.scss */
.occ-form,
.occ-detail,
.occ-day-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 20px 28px;
}

/* line 40674, app/assets/stylesheets/application.scss */
.occ-form label,
.occ-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

/* line 40683, app/assets/stylesheets/application.scss */
.occ-toggle {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* line 40689, app/assets/stylesheets/application.scss */
.occ-toggle input {
  width: 48px;
  height: 30px;
  accent-color: var(--occ-accent);
}

/* line 40695, app/assets/stylesheets/application.scss */
.occ-field {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--occ-surface);
  padding: 12px;
  font: inherit;
  font-weight: 400;
  color: var(--occ-ink);
}

/* line 40706, app/assets/stylesheets/application.scss */
.occ-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
}

/* line 40712, app/assets/stylesheets/application.scss */
.occ-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--occ-surface);
  color: var(--occ-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* line 40727, app/assets/stylesheets/application.scss */
.occ-type.is-on {
  background: var(--occ-tint, var(--occ-accent));
  color: #fff;
}

/* line 40732, app/assets/stylesheets/application.scss */
.occ-hero {
  padding: 18px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--occ-tint) 10%, #fff);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 40741, app/assets/stylesheets/application.scss */
.occ-hero-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* line 40747, app/assets/stylesheets/application.scss */
.occ-hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

/* line 40754, app/assets/stylesheets/application.scss */
.occ-hero-meta b {
  color: var(--occ-tint);
  font-size: 15px;
}

/* line 40759, app/assets/stylesheets/application.scss */
.occ-hero-meta span {
  display: flex;
  gap: 10px;
  color: var(--occ-muted);
  font-size: 12px;
}

/* line 40766, app/assets/stylesheets/application.scss */
.occ-notes {
  padding: 16px;
  border-radius: 16px;
  background: var(--occ-surface);
}

/* line 40772, app/assets/stylesheets/application.scss */
.occ-notes p {
  margin: 8px 0 0;
  color: var(--occ-muted);
}

/* line 40777, app/assets/stylesheets/application.scss */
.occ-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 40783, app/assets/stylesheets/application.scss */
.occ-chips button {
  padding: 12px;
  border-radius: 14px;
  background: var(--occ-surface);
  color: var(--occ-ink);
}

/* line 40790, app/assets/stylesheets/application.scss */
.occ-error {
  margin: 0;
  color: #e11d48;
  font-size: 13px;
}

/* line 40796, app/assets/stylesheets/application.scss */
.occ-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--occ-line);
  border-top-color: var(--occ-accent);
  border-radius: 999px;
  animation: occ-spin 0.8s linear infinite;
}

/* line 40805, app/assets/stylesheets/application.scss */
.occ-chevron {
  color: #c4c4c6;
  font-size: 12px;
}

@keyframes occ-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 760px) {
  /* line 40815, app/assets/stylesheets/application.scss */
  .occ-sheet,
.occ-confirm {
    align-items: center;
  }
  /* line 40820, app/assets/stylesheets/application.scss */
  .occ-sheet-card,
.occ-confirm-card {
    border-radius: 22px;
  }
}

@media (min-width: 760px) {
  /* line 40827, app/assets/stylesheets/application.scss */
  .market-sheet {
    align-items: center;
  }
  /* line 40831, app/assets/stylesheets/application.scss */
  .market-sheet-card {
    border-radius: 22px;
  }
}

/* line 40836, app/assets/stylesheets/application.scss */
.nutrition-hub {
  --nutrition-ink: #17191d;
  --nutrition-muted: #6b717a;
  --nutrition-field: #eef1f0;
  --nutrition-line: #e4eae7;
  --nutrition-accent: #2e9e7a;
  --nutrition-accent-ink: #1e7a5c;
  --nutrition-soft: rgba(46, 158, 122, 0.12);
  --nutrition-protein: #2e73b8;
  --nutrition-carbs: #e39a2a;
  --nutrition-fat: #c75261;
  --nutrition-fiber: #6a8f4e;
  --nutrition-over: #db6b38;
  --nutrition-paper: #ffffff;
  --nutrition-canvas: #f3f5f4;
  --nutrition-shadow: 0 8px 24px rgba(23, 25, 29, 0.05);
  position: absolute;
  inset: 0;
  z-index: 42;
  background: var(--nutrition-canvas);
  color: var(--nutrition-ink);
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

/* line 40868, app/assets/stylesheets/application.scss */
.nutrition-hub-shell,
.nutrition-hub-body,
.nutrition-stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 40877, app/assets/stylesheets/application.scss */
.nutrition-hub-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(14px, 3vw, 28px);
  background: color-mix(in srgb, var(--nutrition-canvas) 82%, #fff);
  border-bottom: 1px solid rgba(23, 25, 29, 0.06);
  flex: 0 0 auto;
}

/* line 40887, app/assets/stylesheets/application.scss */
.nutrition-hub-titles {
  flex: 1;
  min-width: 0;
}

/* line 40892, app/assets/stylesheets/application.scss */
.nutrition-hub-titles strong {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 40900, app/assets/stylesheets/application.scss */
.nutrition-hub-titles span {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 500;
  color: var(--nutrition-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 40911, app/assets/stylesheets/application.scss */
.nutrition-circle-btn,
.nutrition-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--nutrition-paper);
  color: var(--nutrition-ink);
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 1px 0 rgba(23, 25, 29, 0.04);
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

/* line 40928, app/assets/stylesheets/application.scss */
.nutrition-circle-btn:hover,
.nutrition-icon-btn:hover {
  background: var(--nutrition-soft);
  color: var(--nutrition-accent-ink);
}

/* line 40934, app/assets/stylesheets/application.scss */
.nutrition-circle-btn:focus-visible,
.nutrition-icon-btn:focus-visible,
.nutrition-tab:focus-visible,
.nutrition-action:focus-visible,
.nutrition-primary:focus-visible,
.nutrition-secondary:focus-visible,
.nutrition-chip:focus-visible,
.nutrition-text-btn:focus-visible,
.nutrition-meal-main:focus-visible,
.nutrition-food-row:focus-visible {
  outline: 2px solid var(--nutrition-accent);
  outline-offset: 2px;
}

/* line 40948, app/assets/stylesheets/application.scss */
.nutrition-hub-body {
  flex: 1;
  overflow: hidden;
}

/* line 40953, app/assets/stylesheets/application.scss */
.nutrition-tabs {
  display: flex;
  gap: 4px;
  width: min(1120px, calc(100% - 28px));
  margin: 10px auto 0;
  padding: 4px;
  background: #e7ebe9;
  border-radius: 14px;
  flex: 0 0 auto;
}

/* line 40964, app/assets/stylesheets/application.scss */
.nutrition-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--nutrition-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

/* line 40977, app/assets/stylesheets/application.scss */
.nutrition-tab.is-on {
  background: var(--nutrition-paper);
  color: var(--nutrition-ink);
  box-shadow: 0 1px 3px rgba(23, 25, 29, 0.08);
}

/* line 40983, app/assets/stylesheets/application.scss */
.nutrition-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 40989, app/assets/stylesheets/application.scss */
.nutrition-page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px clamp(14px, 3vw, 28px) 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 40998, app/assets/stylesheets/application.scss */
.nutrition-today,
.nutrition-week,
.nutrition-weight {
  display: grid;
  gap: 16px;
}

/* line 41005, app/assets/stylesheets/application.scss */
.nutrition-today-main,
.nutrition-today-side,
.nutrition-weight-main,
.nutrition-weight-side,
.nutrition-week-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* line 41016, app/assets/stylesheets/application.scss */
.nutrition-card,
.nutrition-chart-card,
.nutrition-pad-card {
  margin: 0;
  padding: 18px 18px 16px;
  background: var(--nutrition-paper);
  border: 1px solid rgba(23, 25, 29, 0.05);
  border-radius: 20px;
  box-shadow: var(--nutrition-shadow);
}

/* line 41027, app/assets/stylesheets/application.scss */
.nutrition-chart-card h3,
.nutrition-diary-head h2,
.nutrition-row-head h2,
.nutrition-pad-card h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 41037, app/assets/stylesheets/application.scss */
.nutrition-chart-card > p,
.nutrition-caption,
.nutrition-muted {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--nutrition-muted);
}

/* line 41046, app/assets/stylesheets/application.scss */
.nutrition-dash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 41053, app/assets/stylesheets/application.scss */
.nutrition-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nutrition-accent-ink);
}

/* line 41062, app/assets/stylesheets/application.scss */
.nutrition-kcal {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 41070, app/assets/stylesheets/application.scss */
.nutrition-kcal strong {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* line 41078, app/assets/stylesheets/application.scss */
.nutrition-kcal span,
.nutrition-remain {
  margin: 0;
  font-size: 14px;
  color: var(--nutrition-muted);
}

/* line 41085, app/assets/stylesheets/application.scss */
.nutrition-remain {
  margin-top: 8px;
  font-weight: 600;
}

/* line 41090, app/assets/stylesheets/application.scss */
.nutrition-remain.is-over {
  color: var(--nutrition-over);
}

/* line 41094, app/assets/stylesheets/application.scss */
.nutrition-ring-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

/* line 41101, app/assets/stylesheets/application.scss */
.nutrition-ring {
  width: 88px;
  height: 88px;
  display: block;
}

/* line 41107, app/assets/stylesheets/application.scss */
.nutrition-ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* line 41118, app/assets/stylesheets/application.scss */
.nutrition-macros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-top: 18px;
}

/* line 41125, app/assets/stylesheets/application.scss */
.nutrition-macro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* line 41132, app/assets/stylesheets/application.scss */
.nutrition-macro-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

/* line 41139, app/assets/stylesheets/application.scss */
.nutrition-macro span {
  font-size: 12px;
  font-weight: 600;
  color: var(--nutrition-muted);
}

/* line 41145, app/assets/stylesheets/application.scss */
.nutrition-macro strong {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* line 41151, app/assets/stylesheets/application.scss */
.nutrition-macro strong em {
  font-style: normal;
  font-weight: 500;
  color: var(--nutrition-muted);
}

/* line 41157, app/assets/stylesheets/application.scss */
.nutrition-macro-track {
  height: 6px;
  border-radius: 99px;
  background: var(--nutrition-field);
  overflow: hidden;
}

/* line 41164, app/assets/stylesheets/application.scss */
.nutrition-macro-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--nutrition-accent);
}

/* line 41171, app/assets/stylesheets/application.scss */
.nutrition-macro.is-protein .nutrition-macro-track i {
  background: var(--nutrition-protein);
}

/* line 41172, app/assets/stylesheets/application.scss */
.nutrition-macro.is-carbs .nutrition-macro-track i {
  background: var(--nutrition-carbs);
}

/* line 41173, app/assets/stylesheets/application.scss */
.nutrition-macro.is-fat .nutrition-macro-track i {
  background: var(--nutrition-fat);
}

/* line 41174, app/assets/stylesheets/application.scss */
.nutrition-macro.is-fiber .nutrition-macro-track i {
  background: var(--nutrition-fiber);
}

/* line 41176, app/assets/stylesheets/application.scss */
.nutrition-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 41182, app/assets/stylesheets/application.scss */
.nutrition-action {
  border: 1px solid rgba(23, 25, 29, 0.06);
  background: var(--nutrition-paper);
  border-radius: 16px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  color: var(--nutrition-ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--nutrition-shadow);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

/* line 41199, app/assets/stylesheets/application.scss */
.nutrition-action i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--nutrition-soft);
  color: var(--nutrition-accent-ink);
  font-size: 15px;
}

/* line 41210, app/assets/stylesheets/application.scss */
.nutrition-action.is-primary {
  background: var(--nutrition-accent);
  border-color: transparent;
  color: #fff;
}

/* line 41216, app/assets/stylesheets/application.scss */
.nutrition-action.is-primary i {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* line 41221, app/assets/stylesheets/application.scss */
.nutrition-action:hover {
  transform: translateY(-1px);
}

/* line 41225, app/assets/stylesheets/application.scss */
.nutrition-coach {
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(46, 158, 122, 0.1), var(--nutrition-paper));
  border: 1px solid rgba(46, 158, 122, 0.14);
  border-radius: 18px;
}

/* line 41232, app/assets/stylesheets/application.scss */
.nutrition-coach-title {
  margin: 0 0 8px;
  color: var(--nutrition-accent-ink);
  font-size: 13px;
  font-weight: 700;
}

/* line 41239, app/assets/stylesheets/application.scss */
.nutrition-coach p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* line 41245, app/assets/stylesheets/application.scss */
.nutrition-diary-head,
.nutrition-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

/* line 41253, app/assets/stylesheets/application.scss */
.nutrition-diary-head h2,
.nutrition-row-head h2 {
  margin: 0;
}

/* line 41258, app/assets/stylesheets/application.scss */
.nutrition-meal-group {
  background: var(--nutrition-paper);
  border: 1px solid rgba(23, 25, 29, 0.05);
  border-radius: 18px;
  box-shadow: var(--nutrition-shadow);
  overflow: hidden;
}

/* line 41266, app/assets/stylesheets/application.scss */
.nutrition-meal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
}

/* line 41273, app/assets/stylesheets/application.scss */
.nutrition-meal-head i.nutrition-meal-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--nutrition-field);
  color: var(--nutrition-accent-ink);
  font-size: 13px;
}

/* line 41284, app/assets/stylesheets/application.scss */
.nutrition-meal-head strong {
  flex: 1;
  font-size: 14px;
  font-weight: 650;
}

/* line 41290, app/assets/stylesheets/application.scss */
.nutrition-meal-head em {
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  color: var(--nutrition-muted);
  font-variant-numeric: tabular-nums;
}

/* line 41298, app/assets/stylesheets/application.scss */
.nutrition-meal-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: var(--nutrition-soft);
  color: var(--nutrition-accent-ink);
  cursor: pointer;
}

/* line 41311, app/assets/stylesheets/application.scss */
.nutrition-meal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 10px 10px 14px;
  border-top: 1px solid var(--nutrition-line);
}

/* line 41320, app/assets/stylesheets/application.scss */
.nutrition-meal-main {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 41332, app/assets/stylesheets/application.scss */
.nutrition-meal-main strong,
.nutrition-food-row strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 41338, app/assets/stylesheets/application.scss */
.nutrition-meal-main span,
.nutrition-food-row span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--nutrition-muted);
}

/* line 41345, app/assets/stylesheets/application.scss */
.nutrition-meal-main em,
.nutrition-food-row em {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  color: var(--nutrition-accent-ink);
}

/* line 41353, app/assets/stylesheets/application.scss */
.nutrition-food-row em.is-warn {
  color: #c05621;
}

/* line 41357, app/assets/stylesheets/application.scss */
.nutrition-meal-empty {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--nutrition-muted);
  font-size: 13px;
  font-weight: 550;
  text-align: left;
  padding: 10px 14px 14px;
  cursor: pointer;
}

/* line 41369, app/assets/stylesheets/application.scss */
.nutrition-empty,
.nutrition-setup,
.nutrition-empty-meals {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 48px 28px;
  min-height: 60%;
}

/* line 41382, app/assets/stylesheets/application.scss */
.nutrition-hub-body > .nutrition-setup {
  flex: 1;
}

/* line 41386, app/assets/stylesheets/application.scss */
.nutrition-setup h2,
.nutrition-empty h2,
.nutrition-empty-meals strong {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 41395, app/assets/stylesheets/application.scss */
.nutrition-setup .nutrition-primary {
  width: auto;
  min-width: 200px;
  padding-inline: 28px;
}

/* line 41401, app/assets/stylesheets/application.scss */
.nutrition-setup p,
.nutrition-empty p,
.nutrition-empty-meals p {
  margin: 0;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--nutrition-muted);
}

/* line 41411, app/assets/stylesheets/application.scss */
.nutrition-leaf {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--nutrition-accent);
  background: var(--nutrition-soft);
  font-size: 26px;
}

/* line 41422, app/assets/stylesheets/application.scss */
.nutrition-primary,
.nutrition-secondary,
.nutrition-danger {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  min-height: 46px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  width: 100%;
  transition: filter 140ms ease, opacity 140ms ease;
}

/* line 41436, app/assets/stylesheets/application.scss */
.nutrition-primary {
  background: var(--nutrition-accent);
  color: #fff;
}

/* line 41441, app/assets/stylesheets/application.scss */
.nutrition-primary:hover,
.nutrition-secondary:hover,
.nutrition-chip:hover,
.nutrition-food-row:hover,
.nutrition-meal-empty:hover {
  filter: brightness(0.98);
}

/* line 41449, app/assets/stylesheets/application.scss */
.nutrition-primary.is-inline,
.nutrition-text-btn {
  width: auto;
}

/* line 41454, app/assets/stylesheets/application.scss */
.nutrition-secondary {
  background: var(--nutrition-paper);
  border: 1px solid var(--nutrition-line);
}

/* line 41459, app/assets/stylesheets/application.scss */
.nutrition-danger {
  background: #ff3b30;
  color: #fff;
}

/* line 41464, app/assets/stylesheets/application.scss */
.nutrition-primary:disabled,
.nutrition-text-btn:disabled,
.nutrition-secondary:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: none;
}

/* line 41472, app/assets/stylesheets/application.scss */
.nutrition-error {
  color: #e11d48;
  font-size: 13px;
  font-weight: 550;
}

/* line 41478, app/assets/stylesheets/application.scss */
.nutrition-error.nutrition-pad {
  padding: 0;
}

/* line 41482, app/assets/stylesheets/application.scss */
.nutrition-weight-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 41488, app/assets/stylesheets/application.scss */
.nutrition-weight-form .nutrition-field {
  flex: 1;
}

/* line 41492, app/assets/stylesheets/application.scss */
.nutrition-weight-form .nutrition-primary {
  flex: 0 0 auto;
  padding-inline: 20px;
}

/* line 41497, app/assets/stylesheets/application.scss */
.nutrition-field {
  width: 100%;
  border: 1px solid transparent;
  background: var(--nutrition-field);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--nutrition-ink);
}

/* line 41507, app/assets/stylesheets/application.scss */
.nutrition-field:focus {
  outline: 0;
  border-color: color-mix(in srgb, var(--nutrition-accent) 55%, var(--nutrition-line));
  background: #fff;
  box-shadow: 0 0 0 3px var(--nutrition-soft);
}

/* line 41514, app/assets/stylesheets/application.scss */
.nutrition-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* line 41522, app/assets/stylesheets/application.scss */
.nutrition-pair {
  display: grid;
  gap: 10px;
}

/* line 41527, app/assets/stylesheets/application.scss */
.nutrition-bars,
.nutrition-macro-bars,
.nutrition-bars.is-signed {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 168px;
  margin-top: 16px;
}

/* line 41538, app/assets/stylesheets/application.scss */
.nutrition-bars.is-short {
  height: 132px;
}

/* line 41542, app/assets/stylesheets/application.scss */
.nutrition-target-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(46, 158, 122, 0.55);
  pointer-events: none;
}

/* line 41550, app/assets/stylesheets/application.scss */
.nutrition-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
}

/* line 41560, app/assets/stylesheets/application.scss */
.nutrition-bar i,
.nutrition-grouped-cols i {
  display: block;
  width: 100%;
  max-width: 22px;
  border-radius: 7px 7px 4px 4px;
  background: var(--nutrition-accent);
}

/* line 41569, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-under {
  background: rgba(46, 158, 122, 0.42);
}

/* line 41570, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-over {
  background: var(--nutrition-over);
}

/* line 41571, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-empty {
  background: var(--nutrition-line);
}

/* line 41573, app/assets/stylesheets/application.scss */
.nutrition-bar span {
  font-size: 11px;
  font-weight: 600;
  color: var(--nutrition-muted);
}

/* line 41579, app/assets/stylesheets/application.scss */
.nutrition-grouped {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

/* line 41589, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 120px;
}

/* line 41596, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-p,
.nutrition-legend span.is-p {
  background: var(--nutrition-protein);
}

/* line 41598, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-c,
.nutrition-legend span.is-c {
  background: var(--nutrition-carbs);
}

/* line 41600, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-f,
.nutrition-legend span.is-f {
  background: var(--nutrition-fat);
}

/* line 41603, app/assets/stylesheets/application.scss */
.nutrition-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--nutrition-muted);
  margin-top: 12px;
}

/* line 41614, app/assets/stylesheets/application.scss */
.nutrition-legend span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 4px;
}

/* line 41622, app/assets/stylesheets/application.scss */
.nutrition-trend {
  position: relative;
  height: 180px;
  margin-top: 14px;
}

/* line 41628, app/assets/stylesheets/application.scss */
.nutrition-trend svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* line 41635, app/assets/stylesheets/application.scss */
.nutrition-weight-list {
  display: flex;
  flex-direction: column;
}

/* line 41640, app/assets/stylesheets/application.scss */
.nutrition-weight-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--nutrition-line);
  font-variant-numeric: tabular-nums;
}

/* line 41650, app/assets/stylesheets/application.scss */
.nutrition-weight-row:first-child {
  border-top: 0;
}

/* line 41654, app/assets/stylesheets/application.scss */
.nutrition-weight-row span {
  color: var(--nutrition-muted);
  font-size: 13px;
}

/* line 41659, app/assets/stylesheets/application.scss */
.nutrition-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 41668, app/assets/stylesheets/application.scss */
.nutrition-sheet.hidden,
.nutrition-sheet[hidden] {
  display: none !important;
}

/* line 41673, app/assets/stylesheets/application.scss */
.nutrition-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.36);
}

/* line 41680, app/assets/stylesheets/application.scss */
.nutrition-sheet-card {
  position: relative;
  background: #fff;
  border-radius: 22px 22px 0 0;
  max-height: 92%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 -12px 40px rgba(23, 25, 29, 0.12);
}

/* line 41691, app/assets/stylesheets/application.scss */
.nutrition-sheet-head {
  display: grid;
  grid-template-columns: minmax(72px, auto) 1fr minmax(72px, auto);
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--nutrition-line);
}

/* line 41699, app/assets/stylesheets/application.scss */
.nutrition-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 41706, app/assets/stylesheets/application.scss */
.nutrition-text-btn {
  border: 0;
  background: transparent;
  color: var(--nutrition-accent-ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
}

/* line 41716, app/assets/stylesheets/application.scss */
.nutrition-text-btn.is-strong {
  font-weight: 700;
  justify-self: end;
}

/* line 41721, app/assets/stylesheets/application.scss */
.nutrition-sheet-body {
  overflow: auto;
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 41729, app/assets/stylesheets/application.scss */
.nutrition-scan-actions {
  display: grid;
  gap: 10px;
  width: min(360px, 100%);
}

/* line 41735, app/assets/stylesheets/application.scss */
.nutrition-food-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 0;
  background: var(--nutrition-field);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}

/* line 41748, app/assets/stylesheets/application.scss */
.nutrition-food-row .is-accent,
.is-accent {
  color: var(--nutrition-accent-ink);
  font-weight: 600;
}

/* line 41754, app/assets/stylesheets/application.scss */
.nutrition-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 41760, app/assets/stylesheets/application.scss */
.nutrition-chip {
  border: 0;
  background: var(--nutrition-field);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 41770, app/assets/stylesheets/application.scss */
.nutrition-chip.is-on {
  background: var(--nutrition-accent);
  color: #fff;
}

/* line 41775, app/assets/stylesheets/application.scss */
.nutrition-progress {
  width: 100%;
  height: 6px;
  accent-color: var(--nutrition-accent);
}

/* line 41781, app/assets/stylesheets/application.scss */
.nutrition-steps {
  display: flex;
  gap: 6px;
}

/* line 41786, app/assets/stylesheets/application.scss */
.nutrition-steps i {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--nutrition-line);
}

/* line 41793, app/assets/stylesheets/application.scss */
.nutrition-steps i.is-on {
  background: var(--nutrition-accent);
}

/* line 41797, app/assets/stylesheets/application.scss */
.nutrition-onboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

/* line 41805, app/assets/stylesheets/application.scss */
.nutrition-dl {
  display: grid;
  gap: 0;
}

/* line 41810, app/assets/stylesheets/application.scss */
.nutrition-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--nutrition-line);
  font-size: 14px;
}

/* line 41819, app/assets/stylesheets/application.scss */
.nutrition-dl div:first-child {
  border-top: 0;
  padding-top: 0;
}

/* line 41824, app/assets/stylesheets/application.scss */
.nutrition-dl dt {
  color: var(--nutrition-muted);
  font-weight: 550;
}

/* line 41829, app/assets/stylesheets/application.scss */
.nutrition-dl dd {
  margin: 0;
  font-weight: 650;
}

/* line 41834, app/assets/stylesheets/application.scss */
.nutrition-kcal-total {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 41840, app/assets/stylesheets/application.scss */
.nutrition-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nutrition-muted);
  font-size: 13px;
  font-weight: 550;
}

@media (min-width: 520px) {
  /* line 41850, app/assets/stylesheets/application.scss */
  .nutrition-macros {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 41854, app/assets/stylesheets/application.scss */
  .nutrition-pair,
.nutrition-scan-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 820px) {
  /* line 41861, app/assets/stylesheets/application.scss */
  .nutrition-today {
    grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 1fr);
    align-items: start;
  }
  /* line 41866, app/assets/stylesheets/application.scss */
  .nutrition-week-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
  }
  /* line 41872, app/assets/stylesheets/application.scss */
  .nutrition-week-grid .nutrition-chart-card:first-child {
    grid-column: 1 / -1;
  }
  /* line 41876, app/assets/stylesheets/application.scss */
  .nutrition-weight {
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
    align-items: start;
  }
}

@media (min-width: 1080px) {
  /* line 41883, app/assets/stylesheets/application.scss */
  .nutrition-week-grid {
    grid-template-columns: 1.15fr 1fr 0.85fr;
  }
  /* line 41887, app/assets/stylesheets/application.scss */
  .nutrition-week-grid .nutrition-chart-card:first-child {
    grid-column: auto;
  }
}

@media (min-width: 760px) {
  /* line 41893, app/assets/stylesheets/application.scss */
  .nutrition-sheet {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  /* line 41899, app/assets/stylesheets/application.scss */
  .nutrition-sheet-card {
    width: min(540px, 92vw);
    border-radius: 22px;
    max-height: 86vh;
  }
}
