@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: transparent !important;
  box-shadow: none !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: #17191d;
  --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, #17191d);
  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 / Tailwind blue-indigo focus chrome everywhere */
/* 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 */
:focus {
  outline: none;
}

/* line 109, app/assets/stylesheets/application.scss */
:focus-visible {
  outline: none;
}

/* line 113, app/assets/stylesheets/application.scss */
input,
textarea,
select,
button,
a,
[contenteditable="true"],
[role="button"],
[tabindex]:not([tabindex="-1"]) {
  -webkit-tap-highlight-color: transparent;
}

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

/* line 131, app/assets/stylesheets/application.scss */
input:focus,
textarea:focus,
select:focus,
[contenteditable="true"]:focus,
button:focus,
a:focus,
summary:focus,
[role="button"]:focus,
[tabindex]:not([tabindex="-1"]):focus {
  outline: none;
}

/* line 143, app/assets/stylesheets/application.scss */
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[contenteditable="true"]:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: none;
}

/* Neutralize @tailwindcss/forms + utility blue/indigo focus rings */
/* line 156, app/assets/stylesheets/application.scss */
[type="text"]:focus,
[type="email"]:focus,
[type="url"]:focus,
[type="password"]:focus,
[type="number"]:focus,
[type="date"]:focus,
[type="datetime-local"]:focus,
[type="month"]:focus,
[type="search"]:focus,
[type="tel"]:focus,
[type="time"]:focus,
[type="week"]:focus,
[multiple]:focus,
textarea:focus,
select:focus,
input:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.form-multiselect:focus {
  --tw-ring-color: transparent !important;
  --tw-ring-shadow: 0 0 #0000 !important;
  outline: none !important;
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width, 0px)) transparent !important;
}

/* line 182, app/assets/stylesheets/application.scss */
[class*="ring-blue"]:focus,
[class*="ring-indigo"]:focus,
[class*="ring-blue"]:focus-visible,
[class*="ring-indigo"]:focus-visible,
[class*="ring-blue"]:focus-within,
[class*="ring-indigo"]:focus-within,
.focus\:ring-blue-500:focus,
.focus\:ring-blue-600:focus,
.focus\:ring-indigo-500:focus,
.focus\:ring-indigo-600:focus,
.focus-within\:ring-indigo-500:focus-within,
.focus-within\:ring-indigo-600:focus-within {
  --tw-ring-color: transparent !important;
  --tw-ring-opacity: 0 !important;
  --tw-ring-shadow: 0 0 #0000 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* line 201, app/assets/stylesheets/application.scss */
[class*="border-blue"]:focus,
[class*="border-indigo"]:focus,
[class*="border-blue"]:focus-visible,
[class*="border-indigo"]:focus-visible,
[class*="border-blue"]:focus-within,
[class*="border-indigo"]:focus-within {
  border-color: #17191d !important;
}

/* line 210, 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;
}

/* line 228, 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 240, 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: 500;
}

/* line 247, 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: 500;
}

/* line 254, 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: 500;
}

/* line 261, 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: 500;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 468, 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;
  scrollbar-width: thin;
  scrollbar-color: #d8dce2 transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-padding-top: 48px;
}

/* line 495, 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 516, 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 523, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn:active {
  transform: translateY(0);
}

/* line 527, 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 535, app/assets/stylesheets/application.scss */
.hub-peek-label-btn {
  position: absolute;
  left: calc(var(--hub-peek-row-pad-x, 24px) + var(--hub-peek-tile-size, 176px) - 8px - 18px);
  bottom: calc(var(--hub-peek-row-pad-bottom, 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 562, 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 568, app/assets/stylesheets/application.scss */
.hub-peek-label-btn:active {
  transform: translateY(0) scale(1);
}

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

/* line 609, app/assets/stylesheets/application.scss */
.hub-chat-history-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

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

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

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

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

/* line 695, 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 711, app/assets/stylesheets/application.scss */
.hub-chat-history-item:hover,
.hub-chat-history-item.is-active {
  background: #f3f4f6;
}

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

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

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

/* line 734, 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 750, app/assets/stylesheets/application.scss */
.perk-history-open strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 300;
}

/* line 757, app/assets/stylesheets/application.scss */
.hub-chat-history-item strong,
.hub-ask-chat-history-item strong,
.floating-ai-history-item strong,
.ai-drive-history-item strong,
.ai-tutor-history-item strong {
  font-weight: 300;
}

/* line 765, 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 775, 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 790, app/assets/stylesheets/application.scss */
  .perk-history-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

/* line 796, 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 810, app/assets/stylesheets/application.scss */
.perk-history-action:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #111;
}

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

/* line 820, 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 829, 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 846, 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 859, app/assets/stylesheets/application.scss */
.hub-view-tabs::-webkit-scrollbar {
  display: none;
}

/* line 863, 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: grab;
  box-sizing: border-box;
  overflow: visible;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

/* line 890, app/assets/stylesheets/application.scss */
.hub-view-tab.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}

/* line 895, 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 907, 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 915, 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 930, app/assets/stylesheets/application.scss */
.hub-view-tab-close:hover {
  background: rgba(60, 64, 67, 0.12);
  opacity: 1;
}

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

/* line 941, 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 954, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active:hover {
  color: #000;
}

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

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

/* line 968, 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 984, app/assets/stylesheets/application.scss */
.hub-view-tab-add:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #202124;
  transform: scale(1.04);
}

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

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

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

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

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

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

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

/* line 1055, 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 1067, app/assets/stylesheets/application.scss */
.perk-browser-url:focus {
  border-color: rgba(23, 25, 29, 0.2);
  box-shadow: none;
}

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

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

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

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

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

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

/* line 1148, 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 1157, 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 1166, app/assets/stylesheets/application.scss */
.browser-hub-inner.hidden,
.browser-hub-inner[hidden] {
  display: none !important;
}

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

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

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

/* line 1187, 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%;
  max-width: none;
  min-height: 0;
  align-items: stretch;
}

/* line 1201, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] > .hub-ask {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  align-self: center;
}

/* line 1208, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] > .hub-apps-board {
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
  align-self: center;
}

/* line 1215, 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 1221, app/assets/stylesheets/application.scss */
.hub-shopping-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

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

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

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

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

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

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

/* line 1307, 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 1321, 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 1328, 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 1334, 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 1344, 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 1354, 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 1373, 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 1384, 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 1393, 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 1405, 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 1420, app/assets/stylesheets/application.scss */
.hub-style-more:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 1649, 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 1663, 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 1673, app/assets/stylesheets/application.scss */
.hub-style-pin-detail.hidden,
.hub-style-pin-detail[hidden] {
  display: none !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 1929, 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 1939, 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 1948, 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 1957, app/assets/stylesheets/application.scss */
.hub-ai-fit-header-spacer {
  width: 36px;
}

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

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

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

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

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

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

/* line 2010, 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 2021, 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 2034, 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 2043, 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 2056, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo.is-selected {
  border-color: #111;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 2299, 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 2312, app/assets/stylesheets/application.scss */
  .hub-ai-fit-shell {
    max-width: 1080px;
    border-left: 1px solid #e8ebef;
    border-right: 1px solid #e8ebef;
  }
  /* line 2318, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header {
    padding: 14px 28px;
  }
  /* line 2322, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header h2 {
    font-size: 18px;
    text-align: left;
  }
  /* line 2327, app/assets/stylesheets/application.scss */
  .hub-ai-fit-scroll {
    padding: 28px 32px 56px;
  }
  /* line 2331, 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 2339, 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 2347, 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 2355, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo-row,
.hub-ai-fit-styles {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
  /* line 2362, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo {
    width: 112px;
    height: 146px;
  }
  /* line 2367, app/assets/stylesheets/application.scss */
  .hub-ai-fit-style {
    width: 156px;
    height: 208px;
  }
  /* line 2372, app/assets/stylesheets/application.scss */
  .hub-ai-fit-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 2376, 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 2387, app/assets/stylesheets/application.scss */
  .hub-ai-fit-generate {
    grid-area: generate;
    order: initial;
  }
  /* line 2392, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-btn {
    grid-area: history;
    order: initial;
    margin-top: 0;
  }
  /* line 2398, app/assets/stylesheets/application.scss */
  .hub-ai-fit-wait {
    grid-area: wait;
    order: initial;
    margin: 0;
    text-align: left;
  }
  /* line 2405, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  /* line 2410, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result {
    padding: 32px;
  }
  /* line 2414, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-card {
    width: min(100%, 560px);
    padding: 22px;
  }
  /* line 2419, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-image {
    max-height: 68vh;
  }
  /* line 2423, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-actions {
    flex-direction: row;
  }
  /* line 2427, 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 2434, app/assets/stylesheets/application.scss */
.hub-locket-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: none;
  align-self: stretch;
  background: transparent;
}

/* line 2445, app/assets/stylesheets/application.scss */
.hub-peek-row-wrap {
  --hub-peek-tile-size: clamp(132px, 22cqi, 176px);
  --hub-peek-tile-gap: 14px;
  --hub-peek-row-pad-x: 32px;
  --hub-peek-row-pad-top: 8px;
  --hub-peek-row-pad-bottom: 14px;
  --hub-peek-edge-fade: 32px;
  --hub-peek-tile-radius: clamp(22px, calc(0.16 * var(--hub-peek-tile-size)), 28px);
  container-type: inline-size;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
  background: transparent;
  padding-top: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--hub-peek-edge-fade), #000 calc(100% - var(--hub-peek-edge-fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--hub-peek-edge-fade), #000 calc(100% - var(--hub-peek-edge-fade)), transparent 100%);
}

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

/* line 2488, app/assets/stylesheets/application.scss */
.hub-peek-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--hub-peek-tile-gap);
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--hub-peek-row-pad-x);
  -webkit-overflow-scrolling: touch;
  padding: var(--hub-peek-row-pad-top) var(--hub-peek-row-pad-x) var(--hub-peek-row-pad-bottom);
  scrollbar-width: none;
  background: transparent;
}

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

/* line 2510, app/assets/stylesheets/application.scss */
.hub-peek-tile {
  flex: 0 0 auto;
  width: var(--hub-peek-tile-size);
  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 2524, app/assets/stylesheets/application.scss */
.hub-peek-tile.is-left {
  transform: rotate(-1.6deg);
}

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

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

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

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

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

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

/* line 2568, 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 2574, 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 2580, app/assets/stylesheets/application.scss */
.hub-peek-tile--empty .hub-peek-tile-frame .hub-peek-camera-icon,
.hub-peek-tile--empty .hub-peek-tile-frame .heroicon {
  width: clamp(36px, calc(0.27 * var(--hub-peek-tile-size)), 48px);
  height: clamp(36px, calc(0.27 * var(--hub-peek-tile-size)), 48px);
  stroke-width: 1px;
}

/* line 2588, 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 2593, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(8px, calc(0.06 * var(--hub-peek-tile-size)), 10px);
  padding: clamp(16px, calc(0.125 * var(--hub-peek-tile-size)), 22px) clamp(14px, calc(0.11 * var(--hub-peek-tile-size)), 20px) clamp(14px, calc(0.1 * var(--hub-peek-tile-size)), 18px);
  background: var(--peek-note-fill, #ffe88c);
  border: 0;
  box-shadow: none;
  color: #1f1f1f;
  text-align: left;
  font-size: inherit;
}

/* line 2606, 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: clamp(15px, calc(0.1 * var(--hub-peek-tile-size)), 18px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* line 2617, 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: clamp(12px, calc(0.08 * var(--hub-peek-tile-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 2631, 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 2645, app/assets/stylesheets/application.scss */
.hub-locket-friends:hover {
  color: rgba(0, 0, 0, 0.8);
}

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

/* line 2665, 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 2672, 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 2691, 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 2699, 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 2710, app/assets/stylesheets/application.scss */
.hub-peek-gallery-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

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

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

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

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

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

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

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

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

/* line 2815, 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: rgba(255, 255, 255, 0.72);
}

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

/* line 2829, 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 2838, 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 2845, app/assets/stylesheets/application.scss */
.hub-peek-gallery-caption {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

/* line 2852, 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 2864, 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 2874, app/assets/stylesheets/application.scss */
.hub-peek-reply input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

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

/* line 2876, 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 2888, app/assets/stylesheets/application.scss */
.hub-peek-reactions button {
  font-size: 21px;
}

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

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

/* line 2891, 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 2893, 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 2903, app/assets/stylesheets/application.scss */
.hub-peek-compose.hidden,
.hub-peek-compose[hidden],
.hub-peek-archive.hidden,
.hub-peek-archive[hidden] {
  display: none;
}

/* line 2907, 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 2909, 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 2922, 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 2924, app/assets/stylesheets/application.scss */
.hub-peek-compose-card header h3 {
  margin: 0;
  font-size: 19px;
}

/* line 2925, 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 2929, 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 2940, 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 2949, app/assets/stylesheets/application.scss */
.hub-peek-compose-avatar img[hidden] {
  display: none !important;
}

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

/* line 2951, 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 2956, app/assets/stylesheets/application.scss */
.hub-peek-upload:hover {
  border-color: var(--perk-ink);
  background-color: rgba(255, 211, 79, 0.06);
}

/* line 2957, 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 2958, app/assets/stylesheets/application.scss */
.hub-peek-upload strong {
  font-size: 18px;
}

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

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

/* line 2961, 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 2962, app/assets/stylesheets/application.scss */
.hub-peek-compose-actions button:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* line 2964, 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 2977, app/assets/stylesheets/application.scss */
.hub-peek-archive-panel > header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* line 2979, 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 2980, app/assets/stylesheets/application.scss */
.hub-peek-archive-tabs {
  display: flex;
  padding: 3px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

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

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

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

/* line 2984, 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 2985, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

/* line 2986, 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 2987, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

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

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

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

/* line 2991, 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 3002, 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 3011, app/assets/stylesheets/application.scss */
.hub-peek-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* line 3012, 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 3023, app/assets/stylesheets/application.scss */
.hub-peek-calendar-pad {
  background: transparent;
}

/* line 3024, 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 3032, app/assets/stylesheets/application.scss */
.hub-peek-calendar-grid button {
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

/* line 3037, 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 3046, 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 3061, 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 3065, app/assets/stylesheets/application.scss */
.hub-peek-calendar-blank.is-today {
  color: var(--perk-ink);
}

@media (max-width: 700px) {
  /* line 3068, app/assets/stylesheets/application.scss */
  .hub-peek-reactions {
    display: none;
  }
  /* line 3069, app/assets/stylesheets/application.scss */
  .hub-peek-gallery,
.hub-peek-compose,
.hub-peek-archive,
.hub-peek-editor,
.hub-peek-modal {
    padding: 12px;
  }
  /* line 3074, 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 3082, app/assets/stylesheets/application.scss */
  .hub-peek-calendar-month h4 {
    font-size: 24px;
  }
}

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

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

/* line 3108, 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 3121, 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 3134, app/assets/stylesheets/application.scss */
.hub-peek-modal.hidden,
.hub-peek-modal[hidden],
.hub-peek-editor.hidden,
.hub-peek-editor[hidden] {
  display: none;
}

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

/* line 3171, 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 3185, 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 3196, 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 3208, 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 3218, app/assets/stylesheets/application.scss */
.hub-peek-zoom input {
  flex: 1;
  min-width: 0;
  accent-color: #fff;
  cursor: pointer;
}

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

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

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

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

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

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

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

/* line 3335, 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 3346, 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 3351, app/assets/stylesheets/application.scss */
.hub-peek-editor .hub-peek-send {
  color: #d4a017;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 3551, 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 3561, app/assets/stylesheets/application.scss */
.hub-ask > * {
  position: relative;
  z-index: 1;
}

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

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

/* line 3577, 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 3589, 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 3604, 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 3614, 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 3625, app/assets/stylesheets/application.scss */
.hub-ask-bar {
  display: flex;
  align-items: flex-end;
  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 3639, 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 3646, app/assets/stylesheets/application.scss */
.hub-ask.is-recording .hub-ask-bar {
  display: none;
}

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

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

/* Attach (+) stays icon-only — no filled circle behind it. */
/* line 3673, app/assets/stylesheets/application.scss */
.hub-ask-tools > .hub-ask-icon-btn:not(.hub-ask-mic-btn) {
  background: transparent;
}

/* line 3677, app/assets/stylesheets/application.scss */
.hub-ask-tools > .hub-ask-icon-btn:not(.hub-ask-mic-btn):hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 3681, app/assets/stylesheets/application.scss */
.hub-ask-icon-btn.is-recording {
  color: var(--perk-ink);
  background: rgba(23, 25, 29, 0.08);
}

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

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

/* line 3722, 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;
  min-height: 36px;
  max-height: calc(1.35em * 6);
  height: 36px;
  padding: 7px 0;
  margin: 0;
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  field-sizing: content;
  font-family: inherit;
  box-sizing: border-box;
}

/* line 3745, 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 3752, app/assets/stylesheets/application.scss */
.hub-ask-trailing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

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

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

/* line 3769, 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 3783, app/assets/stylesheets/application.scss */
.hub-ask-voice-btn:hover {
  background: #2f74e8;
}

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

/* line 3828, 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 var(--perk-line, rgba(23, 25, 29, 0.08));
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--perk-shadow-md);
}

/* line 3840, app/assets/stylesheets/application.scss */
.hub-ask-recording .hub-ask-send,
.hub-ask-recording .hub-ask-send.is-visible {
  background: var(--perk-ink, #17191d);
  box-shadow: none;
  animation: none;
}

/* line 3847, app/assets/stylesheets/application.scss */
.hub-ask-recording .hub-ask-send:hover {
  background: var(--perk-ink-soft, #30343a);
}

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

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

/* line 3859, app/assets/stylesheets/application.scss */
.hub-ask-record-cancel {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
  cursor: pointer;
  flex: 0 0 auto;
}

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

/* line 3881, app/assets/stylesheets/application.scss */
.hub-ask-recording-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--perk-ink, #17191d);
  animation: none;
  flex: 0 0 auto;
}

/* line 3890, 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 3900, 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 3909, app/assets/stylesheets/application.scss */
.hub-ask-waveform span:nth-child(1) {
  animation-delay: 0s;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 3963, app/assets/stylesheets/application.scss */
.hub-ask-transcribing-copy strong {
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 700;
}

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

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

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

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

/* line 4061, 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 4065, 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 4073, 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 4093, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer:hover {
  background: rgba(255, 255, 255, 0.98);
}

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

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

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

/* line 4131, 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 4146, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-option:hover,
.hub-ask-chat-peer-option.is-active {
  background: #f3f4f6;
}

/* line 4151, 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 4159, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-option span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

/* line 4166, 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 4174, app/assets/stylesheets/application.scss */
.hub-ask-chat-peer-option small {
  color: #8e8e93;
  font-size: 11px;
}

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

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

/* line 4197, app/assets/stylesheets/application.scss */
.hub-ask-chat-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 #eee;
  box-shadow: 8px 0 28px rgba(15, 18, 22, 0.12);
  overflow: hidden;
}

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

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

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

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

/* line 4257, 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 4264, 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 4280, app/assets/stylesheets/application.scss */
.hub-ask-chat-history-item:hover,
.hub-ask-chat-history-item.is-active {
  background: #f3f4f6;
}

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

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

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

/* line 4303, 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 4311, 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: 400;
  line-height: 1.2;
}

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

/* line 4325, 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 4333, 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 4345, 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 4367, app/assets/stylesheets/application.scss */
.ai-drive-chat .ai-chat-jump-latest {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

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

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

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

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

/* line 4429, 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 4438, 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 4447, app/assets/stylesheets/application.scss */
.hub-ask-confirm {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f3f4f6;
}

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

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

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

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

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

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

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

/* line 4525, 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 4533, 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 4545, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-caption {
  margin-top: 6px;
  padding: 0 4px;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 4554, 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 4563, 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 4579, 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 4585, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-wrap {
  position: relative;
}

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

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

/* line 4622, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-menu button.is-danger {
  color: var(--perk-ink);
}

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

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

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

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

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

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

/* line 4705, 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 4710, 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 4716, 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 4721, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-recording .hub-ask-bar {
  display: none;
}

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

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

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

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

/* line 4747, app/assets/stylesheets/application.scss */
.hub-apps-board {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 4px 0 8px;
}

/* line 4755, app/assets/stylesheets/application.scss */
.hub-apps-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 4762, app/assets/stylesheets/application.scss */
.hub-apps-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px 2px;
}

/* line 4770, app/assets/stylesheets/application.scss */
.hub-apps-group-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}

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

/* line 4788, 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 4801, 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 4807, app/assets/stylesheets/application.scss */
.hub-app:active {
  transform: translateY(0);
}

/* line 4811, app/assets/stylesheets/application.scss */
.hub-app-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 28%;
  background: var(--hub-app-color, #6b7280);
  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 4826, app/assets/stylesheets/application.scss */
.hub-app-count-badge {
  top: -4px;
  right: -6px;
}

/* line 4831, app/assets/stylesheets/application.scss */
.hub-app-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  color: #fff;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

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

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

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

/* line 4865, app/assets/stylesheets/application.scss */
.hub-app-glyph .heroicon,
.hub-app-glyph .hub-app-glyph-icon,
.hub-app-glyph > i {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #fff;
  stroke: currentColor;
}

/* line 4875, app/assets/stylesheets/application.scss */
.hub-app-glyph > i.fas {
  font-size: 22px;
  line-height: 1;
  position: relative;
  top: 0;
}

/* line 4882, app/assets/stylesheets/application.scss */
.heroicon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* line 4888, app/assets/stylesheets/application.scss */
.hub-view-tab .heroicon,
.hub-view-tab-icon {
  width: 1em;
  height: 1em;
}

/* line 4894, 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 4899, app/assets/stylesheets/application.scss */
.hub-app-title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 5065, 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 5069, 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 5073, 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 5087, app/assets/stylesheets/application.scss */
.floating-ai-bubble.is-pinned {
  animation: none;
}

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

/* line 5123, app/assets/stylesheets/application.scss */
.floating-ai-pin-menu button.is-danger {
  color: var(--perk-ink);
}

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

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

/* line 5135, 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 5153, 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 5164, 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 5180, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

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

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

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

/* line 5220, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn .perk-group-avatar-cell.is-count {
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  padding: 0;
  border-width: 1px;
}

/* line 5232, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn .perk-group-avatar-cell.is-count .perk-group-avatar-initial {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: inherit;
  /* Optical center — digit glyphs sit slightly high in most UI fonts */
  transform: translateY(0.5px);
}

/* line 5247, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn img,
.floating-ai-panel-title img {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: none;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

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

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

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

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

/* line 5292, 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 5310, app/assets/stylesheets/application.scss */
.floating-ai-peer-switch:hover {
  background: rgba(23, 25, 29, 0.045);
}

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

/* line 5320, 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;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: #17191d;
}

/* line 5335, 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 5348, app/assets/stylesheets/application.scss */
.floating-ai-peer-copy .floating-ai-peer-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  white-space: normal;
  text-overflow: unset;
}

/* line 5363, app/assets/stylesheets/application.scss */
.floating-ai-peer-title .perk-chat-ai-badge {
  flex: 0 0 auto;
}

/* line 5367, app/assets/stylesheets/application.scss */
.floating-ai-peer-title .perk-chat-ai-badge[hidden] {
  display: none;
}

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

/* line 5378, 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;
  color: var(--perk-ink, #17191d);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  padding: 6px;
}

/* line 5394, 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 5402, app/assets/stylesheets/application.scss */
.floating-ai-picker-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 4px 4px;
}

/* line 5409, app/assets/stylesheets/application.scss */
.floating-ai-picker-head strong {
  font-size: 14px;
  font-weight: 400;
  color: #111827;
  letter-spacing: -0.01em;
}

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

/* line 5423, 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 5432, app/assets/stylesheets/application.scss */
.floating-ai-peer-option.is-check {
  cursor: pointer;
}

/* line 5436, 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 5444, 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: 400;
  cursor: pointer;
}

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

/* line 5462, app/assets/stylesheets/application.scss */
.floating-ai-add-people-sheet {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* line 5472, app/assets/stylesheets/application.scss */
.floating-ai-add-people-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.34);
  cursor: pointer;
}

/* line 5480, app/assets/stylesheets/application.scss */
.floating-ai-add-people-card {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  max-height: min(460px, 100%);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  color: var(--perk-ink, #17191d);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* line 5494, app/assets/stylesheets/application.scss */
.floating-ai-add-people-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 10px;
  flex: 0 0 auto;
}

/* line 5502, app/assets/stylesheets/application.scss */
.floating-ai-add-people-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}

/* line 5509, app/assets/stylesheets/application.scss */
.floating-ai-add-people-copy strong {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: #17191d;
  line-height: 1.25;
}

/* line 5517, app/assets/stylesheets/application.scss */
.floating-ai-add-people-copy span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #8a9099;
}

/* line 5524, app/assets/stylesheets/application.scss */
.floating-ai-add-people-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a9099;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

/* line 5539, app/assets/stylesheets/application.scss */
.floating-ai-add-people-close:hover {
  background: #f3f4f6;
  color: #4b5563;
}

/* line 5544, app/assets/stylesheets/application.scss */
.floating-ai-add-people-close .heroicon {
  width: 16px;
  height: 16px;
}

/* line 5549, app/assets/stylesheets/application.scss */
.floating-ai-add-people-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f3f4f6;
  flex: 0 0 auto;
}

/* line 5560, app/assets/stylesheets/application.scss */
.floating-ai-add-people-search-icon,
.floating-ai-add-people-search .heroicon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex: 0 0 auto;
}

/* line 5568, app/assets/stylesheets/application.scss */
.floating-ai-add-people-search input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #17191d;
  min-width: 0;
}

/* line 5580, app/assets/stylesheets/application.scss */
.floating-ai-add-people-search input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* line 5585, app/assets/stylesheets/application.scss */
.floating-ai-add-people-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: 260px;
  padding: 2px 0 4px;
}

/* line 5593, app/assets/stylesheets/application.scss */
.floating-ai-add-people-empty {
  padding: 28px 16px;
  text-align: center;
  color: #8a9099;
  font-size: 13px;
  font-weight: 400;
}

/* line 5601, app/assets/stylesheets/application.scss */
.floating-ai-add-people-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--perk-ink, #17191d);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 5615, app/assets/stylesheets/application.scss */
.floating-ai-add-people-row:hover {
  background: #f9fafb;
}

/* line 5619, app/assets/stylesheets/application.scss */
.floating-ai-add-people-row.is-on {
  background: #f8fafc;
}

/* line 5623, app/assets/stylesheets/application.scss */
.floating-ai-add-people-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  flex: 0 0 auto;
}

/* line 5638, app/assets/stylesheets/application.scss */
.floating-ai-add-people-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 5644, app/assets/stylesheets/application.scss */
.floating-ai-add-people-name {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 5652, app/assets/stylesheets/application.scss */
.floating-ai-add-people-name strong {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #17191d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 5662, app/assets/stylesheets/application.scss */
.floating-ai-add-people-name em {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #8a9099;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 5672, app/assets/stylesheets/application.scss */
.floating-ai-add-people-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #c0c4ca;
}

/* line 5680, app/assets/stylesheets/application.scss */
.floating-ai-add-people-check,
.floating-ai-add-people-mark .heroicon {
  width: 20px;
  height: 20px;
}

/* line 5686, app/assets/stylesheets/application.scss */
.floating-ai-add-people-check.is-on,
.floating-ai-add-people-row.is-on .floating-ai-add-people-mark {
  color: #17191d;
}

/* line 5691, app/assets/stylesheets/application.scss */
.floating-ai-add-people-foot {
  flex: 0 0 auto;
  padding: 10px 16px 16px;
  border-top: 1px solid #f0f1f3;
}

/* line 5697, app/assets/stylesheets/application.scss */
.floating-ai-add-people-confirm {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #17191d;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
}

/* line 5711, app/assets/stylesheets/application.scss */
.floating-ai-add-people-confirm:hover:not(:disabled) {
  filter: brightness(1.08);
}

/* line 5715, app/assets/stylesheets/application.scss */
.floating-ai-add-people-confirm:disabled {
  opacity: 0.38;
  cursor: default;
}

/* line 5720, app/assets/stylesheets/application.scss */
.floating-ai-group-members-list {
  padding-bottom: 12px;
}

/* line 5724, app/assets/stylesheets/application.scss */
.floating-ai-group-member-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  box-sizing: border-box;
}

/* line 5733, app/assets/stylesheets/application.scss */
.floating-ai-group-member-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e5ea;
  color: #6e6e73;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* line 5751, app/assets/stylesheets/application.scss */
.floating-ai-group-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 5758, app/assets/stylesheets/application.scss */
.floating-ai-group-member-avatar:hover {
  filter: brightness(0.96);
}

/* line 5762, app/assets/stylesheets/application.scss */
.floating-ai-group-member-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* line 5778, app/assets/stylesheets/application.scss */
.floating-ai-group-member-name strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* line 5789, app/assets/stylesheets/application.scss */
.floating-ai-group-member-name em {
  font-size: 12px;
  font-style: normal;
  color: #8e8e93;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* line 5799, app/assets/stylesheets/application.scss */
.floating-ai-group-member-owner {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: #6e6e73;
  background: #f2f2f7;
  border-radius: 999px;
  padding: 4px 8px;
}

/* line 5809, 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;
  color: var(--perk-ink, #17191d);
}

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

/* line 5828, 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 5837, 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 5847, app/assets/stylesheets/application.scss */
.floating-ai-peer-option strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--perk-ink, #17191d);
}

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

/* line 5859, 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: 400;
}

/* line 5875, app/assets/stylesheets/application.scss */
.floating-ai-peer-action i,
.floating-ai-peer-action .floating-ai-peer-action-icon,
.floating-ai-peer-action .heroicon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  text-align: center;
  color: #6b7280;
}

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

/* line 5889, app/assets/stylesheets/application.scss */
.floating-ai-peer-action.is-danger,
.floating-ai-peer-action.is-danger i,
.floating-ai-peer-action.is-danger .floating-ai-peer-action-icon,
.floating-ai-peer-action.is-danger .heroicon {
  color: var(--perk-ink);
}

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

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

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

/* line 5911, app/assets/stylesheets/application.scss */
.floating-ai-avatar-shell {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  aspect-ratio: 1;
  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));
  flex-shrink: 0;
}

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

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

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

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

/* line 5980, 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 5996, app/assets/stylesheets/application.scss */
.floating-ai-dot.is-offline,
.floating-ai-dot[hidden] {
  display: none;
}

/* line 6001, 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);
  color: var(--perk-ink, #17191d);
  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 6030, app/assets/stylesheets/application.scss */
.floating-ai.is-panel-open .floating-ai-panel:not(.is-detached) {
  position: fixed;
  z-index: 90;
}

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

/* line 6047, app/assets/stylesheets/application.scss */
.floating-ai-resize-handle {
  position: absolute;
  z-index: 60;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  touch-action: none;
  pointer-events: auto;
}

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

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

/* line 6093, 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 6101, 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 6107, app/assets/stylesheets/application.scss */
.floating-ai-panel.hidden,
.floating-ai-human-tools.hidden,
.floating-ai-history-btn.hidden,
.floating-ai-header-new-chat-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 6121, 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 6128, app/assets/stylesheets/application.scss */
.floating-ai.is-dragging .floating-ai-panel,
.floating-ai.is-dragging .floating-ai-bubble {
  transition: none;
}

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

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

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

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

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

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

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

/* line 6220, 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 6225, app/assets/stylesheets/application.scss */
.floating-ai-history {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(320px, 100%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--perk-ink, #17191d);
  border-right: 1px solid #eee;
  box-shadow: 8px 0 28px rgba(15, 18, 22, 0.12);
}

/* line 6238, 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 6248, app/assets/stylesheets/application.scss */
.floating-ai-history-head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--perk-ink, #17191d);
}

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

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

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

/* line 6288, 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: var(--perk-ink, #17191d);
  font: inherit;
  text-align: left;
}

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

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

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

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

/* line 6327, 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 6338, app/assets/stylesheets/application.scss */
.floating-ai-header-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  color: #3d4248;
  font-size: 14px;
  border-radius: 50%;
}

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

/* Heroicon expand / collapse (arrows-pointing-out / in). */
/* line 6353, app/assets/stylesheets/application.scss */
.floating-ai-expand-btn .floating-ai-expand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 6360, app/assets/stylesheets/application.scss */
.floating-ai-expand-btn .floating-ai-expand-svg {
  width: 16px;
  height: 16px;
  display: block;
}

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

/* line 6370, 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 6380, 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 6396, 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 6403, 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 6415, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer {
  --chat-canvas: #ffffff;
}

/* Match iOS AI compact/full headers: avatar + actions only (no name chip). */
/* line 6420, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-peer-switch,
.floating-ai-panel.is-ai-peer .floating-ai-peer-switch.hidden {
  display: none !important;
}

/* line 6425, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-chat-bg {
  background-color: #ffffff;
  background-image: none;
}

/* Character AI live chat — full portrait bg, face biased toward visual middle. */
/* line 6431, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer.is-character-ai .floating-ai-chat-bg.has-character-portrait {
  background-color: #0b1018;
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  filter: saturate(1.04) brightness(0.88);
}

/* line 6439, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer.is-character-ai .floating-ai-chat-bg.has-character-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.55) 28%, rgba(255, 255, 255, 0.62) 100%);
}

/* line 6448, 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 6463, 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 6470, app/assets/stylesheets/application.scss */
.floating-ai-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  position: relative;
}

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

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

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

/* line 6498, app/assets/stylesheets/application.scss */
.floating-ai-deleted-notice {
  font-style: italic;
}

/* line 6502, app/assets/stylesheets/application.scss */
.floating-ai-msg-more .is-danger[data-more-action="remove-everyone"],
.floating-ai-msg-more .is-danger[data-more-action="remove-me"],
.floating-ai-msg-more .is-danger[data-more-action="remove"] {
  color: #b42318;
}

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

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

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

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

/* line 6561, 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 6574, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-glyph .heroicon {
  width: 11px;
  height: 11px;
  fill: transparent;
  color: #7a7a7a;
}

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

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

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

/* line 6615, 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 6626, 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 6639, 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 6646, 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 6663, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn:hover,
.floating-ai-msg-hover-btn.is-active {
  background: #d8dadf;
}

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

/* line 6673, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn .floating-ai-msg-hover-icon,
.floating-ai-msg-hover-btn .heroicon {
  width: 15px;
  height: 15px;
  stroke-width: 1;
  flex-shrink: 0;
}

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

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

/* line 6714, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-react-pop .floating-ai-msg-react-btn {
  width: 40px;
  height: 40px;
  font-size: 24px;
}

/* line 6720, 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;
  color: var(--perk-ink, #17191d);
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

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

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

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

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

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

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

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

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

/* line 6815, 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 6825, 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(23, 25, 29, 0.18);
  }
}

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

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

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

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

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

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

/* line 6937, app/assets/stylesheets/application.scss */
.floating-ai-msg-avatar {
  display: block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-width: none;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #e5e7eb;
  flex-shrink: 0;
}

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

/* line 6969, 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 6986, app/assets/stylesheets/application.scss */
.floating-ai-msg::after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 0;
}

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

/* line 6998, 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 7006, 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 7015, 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 7023, 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 7027, 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 7031, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user .floating-ai-msg-status.is-seen {
  color: #2ecc71;
}

/* Desktop chat windows: allow mouse text selection/copy of message bubbles.
   Human actions stay in hover chrome; AI actions stay in the under-reply bar. */
@media (hover: hover) and (pointer: fine) {
  /* line 7038, app/assets/stylesheets/application.scss */
  .floating-ai-panel.is-human-chat .floating-ai-msg,
.floating-ai-panel.is-ai-peer .floating-ai-msg {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
  }
  /* line 7045, 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,
.floating-ai-panel.is-ai-peer .floating-ai-msg.is-sticker,
.floating-ai-panel.is-ai-peer .floating-ai-msg.is-media,
.floating-ai-panel.is-ai-peer .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 7058, 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 7067, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-panel-body {
  gap: 12px;
  padding: 16px 16px 14px;
}

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

/* line 7076, 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 7092, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-bot::after {
  content: none;
}

/* line 7096, 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 7103, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-row.is-outgoing {
  padding-left: 48px;
}

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

/* line 7112, 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 7121, 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 7137, 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 7143, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-action .heroicon.is-solid,
.hub-ask-chat-msg-ai-action .heroicon.is-solid,
.ai-tutor-msg-ai-action .heroicon.is-solid,
.ai-drive-msg-ai-action .heroicon.is-solid {
  fill: currentColor;
}

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

/* line 7154, 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;
  color: var(--perk-ink, #17191d);
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  z-index: 20;
}

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

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

/* line 7188, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-menu button.is-danger {
  color: var(--perk-ink);
}

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

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

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

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

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

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

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

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

/* line 7282, app/assets/stylesheets/application.scss */
.floating-ai-msg-status .heroicon {
  width: 0.95em;
  height: 0.95em;
}

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

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

/* line 7296, 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 7314, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-reactions {
  height: 28px;
  padding: 0 8px;
  gap: 5px;
  font-size: 16px;
  bottom: -18px;
}

/* line 7322, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-reaction-count {
  font-size: 12px;
}

/* line 7326, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg.has-reactions {
  margin-bottom: 22px;
}

/* line 7330, app/assets/stylesheets/application.scss */
.floating-ai-msg-reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  line-height: 1;
}

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

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

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

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

/* line 7363, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet {
  position: absolute;
  inset: 0;
  z-index: 28;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* line 7373, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.38);
  cursor: pointer;
}

/* line 7381, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-card {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  max-height: min(420px, 100%);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  color: var(--perk-ink, #17191d);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

/* line 7395, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px 48px 12px;
  flex: 0 0 auto;
}

/* line 7404, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-head strong {
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  letter-spacing: -0.01em;
}

/* line 7411, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* line 7428, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: 280px;
}

/* line 7435, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-empty {
  padding: 24px 16px;
  text-align: center;
  color: #8a9099;
  font-size: 13px;
}

/* line 7442, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: transparent;
  color: var(--perk-ink, #17191d);
  font: inherit;
  text-align: left;
  cursor: default;
}

/* line 7457, app/assets/stylesheets/application.scss */
button.floating-ai-reactions-sheet-row {
  cursor: pointer;
}

/* line 7461, app/assets/stylesheets/application.scss */
button.floating-ai-reactions-sheet-row:hover {
  background: #f9fafb;
}

/* line 7465, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  flex: 0 0 auto;
}

/* line 7480, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 7487, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 7495, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-copy strong {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 7504, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-copy small {
  font-size: 12px;
  color: #8a9099;
}

/* line 7509, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-emoji {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  line-height: 1;
  flex: 0 0 auto;
}

/* line 7518, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-emoji em {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

/* line 7525, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 14px;
  overflow-x: auto;
  flex: 0 0 auto;
  border-top: 1px solid #f3f4f6;
}

/* line 7535, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-filter {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* line 7547, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-filter.is-active {
  background: #e5e7eb;
  color: #111827;
}

/* line 7552, 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 7563, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-sticker::after,
.floating-ai-msg.is-media::after {
  content: none;
}

/* line 7568, 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 7578, 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,
.floating-ai-msg.is-media .floating-ai-msg-collage {
  margin-bottom: 0;
}

/* Match iOS MessageBubbleView.MediaCollageMetrics (220×220, 3px gaps). */
/* line 7586, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage {
  display: grid;
  gap: 3px;
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.04);
}

/* line 7596, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage.is-two {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

/* line 7601, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage.is-three {
  grid-template-columns: 144px 1fr;
  grid-template-rows: 1fr 1fr;
}

/* line 7606, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage.is-three .floating-ai-msg-collage-tile:first-child {
  grid-row: 1 / span 2;
}

/* line 7610, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage.is-four {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

/* line 7615, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #d1d5db;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
}

/* line 7629, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage-tile .floating-ai-msg-media,
.floating-ai-msg-collage-tile .floating-ai-msg-video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

/* line 7640, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage-tile .floating-ai-msg-video {
  display: block;
}

/* line 7644, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage-tile .floating-ai-msg-video-badge {
  font-size: 16px;
}

/* line 7648, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage-tile .floating-ai-msg-video-badge i {
  width: 32px;
  height: 32px;
}

/* line 7653, 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 7659, 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 7664, 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 7670, 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 7680, app/assets/stylesheets/application.scss */
.floating-ai-typing.hidden {
  display: none !important;
}

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

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

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

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

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

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

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

/* line 7820, 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 7828, 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;
  color: var(--perk-ink, #17191d);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* line 7839, 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 7849, 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 7857, 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 7865, 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 7876, 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 7891, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react svg {
  width: 18px;
  height: 18px;
}

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

/* line 7900, 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 7911, app/assets/stylesheets/application.scss */
.floating-ai-msg-menu-reactions .floating-ai-msg-react-btn {
  width: 36px;
  height: 36px;
  font-size: 22px;
}

/* line 7917, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-btn:hover {
  background: #eef2ff;
}

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

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

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

/* line 7952, 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 7961, 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 7970, 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 7976, app/assets/stylesheets/application.scss */
body.is-screenshot-editing {
  overflow: hidden;
}

/* line 7980, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor {
  position: fixed;
  inset: 0;
  z-index: 10150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 20px 24px;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* line 7995, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-stage {
  position: relative;
  flex: 0 1 auto;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  touch-action: none;
  user-select: none;
}

/* line 8007, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-stage[data-tool="pen"] {
  cursor: crosshair;
}

/* line 8011, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-stage[data-tool="crop"] {
  cursor: crosshair;
}

/* line 8015, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-canvas,
.floating-ai-screenshot-editor-overlay {
  display: block;
  width: 100%;
  height: 100%;
}

/* line 8022, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-overlay {
  position: absolute;
  inset: 0;
  touch-action: none;
}

/* line 8028, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: min(720px, 100%);
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* line 8041, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tools,
.floating-ai-screenshot-editor-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 8048, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tool,
.floating-ai-screenshot-editor-cancel,
.floating-ai-screenshot-editor-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  color: #17191d;
  background: transparent;
}

/* line 8068, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tool:hover,
.floating-ai-screenshot-editor-cancel:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 8073, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tool.is-active {
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
}

/* line 8078, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tool:disabled {
  opacity: 0.38;
  cursor: default;
}

/* line 8083, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tool .heroicon,
.floating-ai-screenshot-editor-done .heroicon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* line 8090, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-cancel {
  color: #5c636c;
}

/* line 8094, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-done {
  background: #17191d;
  color: #fff;
  padding-inline: 14px;
}

/* line 8100, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-done:hover {
  filter: brightness(1.08);
}

@media (max-width: 560px) {
  /* line 8105, app/assets/stylesheets/application.scss */
  .floating-ai-screenshot-editor-tool span,
.floating-ai-screenshot-editor-done span {
    display: none;
  }
  /* line 8110, app/assets/stylesheets/application.scss */
  .floating-ai-screenshot-editor-tool,
.floating-ai-screenshot-editor-done {
    width: 40px;
    padding: 0;
  }
  /* line 8116, app/assets/stylesheets/application.scss */
  .floating-ai-screenshot-editor-cancel {
    padding-inline: 10px;
  }
}

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

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

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

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

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

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

/* line 8183, app/assets/stylesheets/application.scss */
.floating-ai-input-shell {
  display: flex;
  align-items: flex-end;
  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 8198, 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 8206, app/assets/stylesheets/application.scss */
.floating-ai-input-shell .floating-ai-attach-trigger {
  width: 32px;
  height: 32px;
  background: transparent;
  color: #6a717a;
}

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

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

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

/* line 8231, 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 8245, app/assets/stylesheets/application.scss */
.floating-ai-input-action:hover {
  color: #17191d;
  background: rgba(23, 25, 29, 0.05);
}

/* line 8250, app/assets/stylesheets/application.scss */
.floating-ai-input-action.is-recording {
  color: var(--perk-ink);
  animation: none;
}

/* line 8255, 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 8270, app/assets/stylesheets/application.scss */
.floating-ai-voice-mode-btn:hover {
  background: #30343a;
}

/* line 8274, 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 8283, app/assets/stylesheets/application.scss */
.ai-ios-voice-bars {
  width: 18px;
  height: 16px;
  display: block;
}

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

/* line 8295, 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 8302, 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 8316, app/assets/stylesheets/application.scss */
.floating-ai-send-btn:hover {
  background: #30343a;
}

/* Empty: mic + voice mode. Typing or staged attachments: send only. */
/* line 8321, 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,
.floating-ai-panel-foot.has-attachments .floating-ai-mic-btn,
.floating-ai-panel-foot.has-attachments .floating-ai-voice-mode-btn {
  display: none;
}

/* line 8328, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.has-text .floating-ai-send-btn,
.floating-ai-panel-foot.has-attachments .floating-ai-send-btn {
  display: inline-flex;
}

/* Human small chat: classic send button instead of voice live mode. */
/* line 8334, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer .floating-ai-voice-mode-btn {
  display: none !important;
}

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

/* line 8342, 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 8351, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer.has-text .floating-ai-mic-btn {
  display: none;
}

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

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

/* line 8377, 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: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 8391, app/assets/stylesheets/application.scss */
.floating-ai-record-cancel:hover {
  background: rgba(23, 25, 29, 0.1);
}

/* line 8395, 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: #fff;
  border: 1px solid var(--perk-line, rgba(23, 25, 29, 0.08));
}

/* line 8408, app/assets/stylesheets/application.scss */
.floating-ai-recording-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--perk-ink, #17191d);
  flex: 0 0 auto;
  animation: none;
}

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

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

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

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

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

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

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

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

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

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

/* line 8447, app/assets/stylesheets/application.scss */
.floating-ai-record-timer {
  flex: 0 0 auto;
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}

/* line 8457, app/assets/stylesheets/application.scss */
.floating-ai-send-btn.is-record-send {
  display: inline-flex;
  background: var(--perk-ink, #17191d);
  color: #fff;
  box-shadow: none;
  animation: none;
}

/* line 8465, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-ai-dictation .floating-ai-send-btn.is-record-send {
  background: var(--perk-ink, #17191d);
}

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

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

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

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

/* line 8518, app/assets/stylesheets/application.scss */
.floating-ai-transcribing-copy strong {
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 700;
}

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

/* line 8532, 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-wave {
  0%, 100% {
    height: 5px;
    opacity: 0.55;
  }
  50% {
    height: 18px;
    opacity: 1;
  }
}

/* line 8555, 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 8569, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-recording {
  background: rgba(23, 25, 29, 0.08);
  color: var(--perk-ink);
  animation: none;
}

/* line 8575, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

/* line 8580, app/assets/stylesheets/application.scss */
.floating-ai-attach-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 170px;
  background: #fff;
  color: var(--perk-ink, #17191d);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  z-index: 6;
}

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

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

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

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

/* line 8624, 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;
  color: var(--perk-ink, #17191d);
  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 8641, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-resizing,
.floating-ai-emoji-panel.is-dismissing {
  transition: none;
}

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

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

/* line 8656, 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 8668, app/assets/stylesheets/application.scss */
.floating-ai-picker-handle::before {
  content: "";
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: #d1d5db;
}

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

/* line 8685, 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 8695, 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 8707, 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 8713, 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 8725, 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 8734, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-peer .floating-ai-emoji-item,
.floating-ai-panel.is-human-chat .floating-ai-emoji-item {
  font-size: 28px;
  line-height: 1.35;
  min-height: 40px;
}

/* line 8741, app/assets/stylesheets/application.scss */
.floating-ai-emoji-item:hover {
  background: #f3f4f6;
}

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

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

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

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

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

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

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

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

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

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

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

/* line 8883, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg.is-sticker .floating-ai-msg-text {
  font-size: 56px;
  line-height: 1.15;
}

/* line 8888, 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 8897, app/assets/stylesheets/application.scss */
.floating-ai-sticker-anim {
  transform-origin: center center;
  will-change: transform, opacity;
}

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

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

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

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

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

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

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

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

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

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

/* line 9061, 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 9079, app/assets/stylesheets/application.scss */
.floating-ai-voice:focus-visible {
  outline: none;
}

/* line 9083, 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 9091, 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 9102, 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 9114, 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 9124, 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 9129, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

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

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

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

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

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

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

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

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

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

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

/* line 9140, 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 9152, 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 9161, 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 9175, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot .floating-ai-voice {
  color: #111;
}

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

/* line 9183, app/assets/stylesheets/application.scss */
.floating-ai-msg-file {
  color: var(--perk-ink, #17191d);
  text-decoration: underline;
  font-weight: 600;
}

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

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

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

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

/* line 9232, app/assets/stylesheets/application.scss */
.floating-ai-call-expand {
  display: none;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

/* line 9253, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-expand {
  display: inline-flex;
}

/* line 9257, app/assets/stylesheets/application.scss */
.floating-ai-call-expand:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* line 9261, app/assets/stylesheets/application.scss */
.floating-ai-call-expand svg,
.floating-ai-call-expand-icon {
  width: 15px;
  height: 15px;
  display: block;
}

/* line 9268, app/assets/stylesheets/application.scss */
.floating-ai-call-expand .is-collapse {
  display: none;
}

/* line 9272, app/assets/stylesheets/application.scss */
.floating-ai-call.is-expanded .floating-ai-call-expand .is-expand {
  display: none;
}

/* line 9276, app/assets/stylesheets/application.scss */
.floating-ai-call.is-expanded .floating-ai-call-expand .is-collapse {
  display: block;
}

/* line 9280, app/assets/stylesheets/application.scss */
.floating-ai-call.is-expanded {
  left: 8px !important;
  top: 8px !important;
  right: 8px !important;
  bottom: 8px !important;
  width: calc(100vw - 16px) !important;
  height: calc(100vh - 16px) !important;
  max-width: none;
  max-height: none;
  border-radius: var(--perk-radius-lg);
}

/* line 9292, app/assets/stylesheets/application.scss */
.floating-ai-call.is-expanded.is-video .floating-ai-call-local {
  width: min(240px, 28vw);
  height: min(135px, 18vh);
}

/* line 9297, app/assets/stylesheets/application.scss */
.floating-ai-call-debug {
  position: absolute;
  left: 10px;
  bottom: 88px;
  z-index: 8;
  margin: 0;
  max-width: 40%;
  max-height: 42%;
  overflow: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.72);
  color: rgba(210, 230, 255, 0.92);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 10px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

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

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

/* line 9360, 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 9371, app/assets/stylesheets/application.scss */
.floating-ai-call.is-remote-screen .floating-ai-call-remote,
.floating-ai-call-remote.is-screen-content {
  object-fit: contain;
  background: #0b0f14;
}

/* line 9377, app/assets/stylesheets/application.scss */
.floating-ai-call-local.is-screen-share {
  object-fit: contain;
  transform: none !important;
}

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

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

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

/* line 9443, 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 9447, 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 9453, 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 9464, 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 9478, app/assets/stylesheets/application.scss */
.floating-ai-call-avatar-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  margin-bottom: 14px;
}

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

/* line 9510, 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 9519, 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 9524, 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 9544, 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 9555, app/assets/stylesheets/application.scss */
.floating-ai-call-type {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

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

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

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

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

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

/* line 9630, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph.is-screen {
  width: 30px;
  height: 30px;
}

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

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

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

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

/* line 9655, 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 9661, 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 9667, 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 9672, 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: var(--perk-ink);
}

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

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

/* line 9701, 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 9709, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* line 9715, 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 9727, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade-btn.is-accept {
  background: #16a34a;
}

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

/* line 9751, 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 9759, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

/* line 9770, 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 9781, 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 9789, 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 9803, 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 9811, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-preset.is-selected .floating-ai-call-filter-swatch {
  border-color: #fff;
}

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

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

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

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

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

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

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

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

/* line 9830, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-intensity span {
  display: flex;
  justify-content: space-between;
}

/* line 9835, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-intensity input {
  width: 100%;
}

/* line 9839, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-compare,
.floating-ai-call-filter-close {
  width: 100%;
}

/* line 9844, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-filter-sheet {
  z-index: 8;
}

/* line 9848, 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 9855, 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 9863, 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 9876, 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 9891, 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 9903, 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: var(--perk-ink);
}

/* line 9910, app/assets/stylesheets/application.scss */
.floating-ai-call-history strong,
.floating-ai-call-history small {
  display: block;
}

/* line 9915, app/assets/stylesheets/application.scss */
.floating-ai-call-history strong {
  font-size: 12px;
  line-height: 1.3;
}

/* line 9920, app/assets/stylesheets/application.scss */
.floating-ai-call-history small {
  margin-top: 2px;
  color: #8a9099;
  font-size: 10px;
}

/* line 9926, app/assets/stylesheets/application.scss */
.floating-ai-tool-btn.is-active {
  background: #fee2e2;
  color: var(--perk-ink);
}

/* line 9931, app/assets/stylesheets/application.scss */
.floating-ai-pending {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 8px;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

/* line 9940, 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 9951, app/assets/stylesheets/application.scss */
.floating-ai-pending-chip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

/* line 9958, app/assets/stylesheets/application.scss */
.floating-ai-pending-file {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--perk-ink, #17191d);
}

/* line 9965, 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 9980, 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 9989, 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 9999, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 280px;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 10016, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share-icon {
  flex: 0 0 auto;
  width: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  opacity: 0.95;
}

/* line 10026, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 10034, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share-body strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* line 10044, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share-body span {
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.72;
}

/* line 10050, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share-chevron {
  flex: 0 0 auto;
  display: inline-flex;
  opacity: 0.55;
  font-size: 12px;
}

/* line 10057, app/assets/stylesheets/application.scss */
.floating-ai-msg-text {
  white-space: pre-wrap;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* line 10064, app/assets/stylesheets/application.scss */
.floating-ai-msg-text a {
  color: #0a84ff;
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* line 10071, app/assets/stylesheets/application.scss */
.floating-ai-msg-text a.perk-inline-link,
.perk-inline-link {
  font-weight: 300;
}

/* line 10076, 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 10095, 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 10105, 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 10113, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 10120, 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 10127, 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 10137, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-cta {
  font-size: 12px;
  font-weight: 600;
  color: #0a84ff;
}

/* line 10143, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-post-share-cta {
  color: #0a84ff;
}

/* line 10147, 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 10161, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-map {
  position: relative;
  width: 100%;
  height: 176px;
  overflow: hidden;
  border-radius: 18px;
  background: #d9e6f2;
}

/* line 10170, 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 10180, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 10187, 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 10208, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* line 10215, 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 10226, 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 10239, 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 10248, 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 10257, 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 10269, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-location-share {
  background: transparent !important;
  padding: 0;
  box-shadow: none;
}

/* line 10275, 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 10293, 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 10298, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 10305, 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 10315, 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 10323, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* line 10330, 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 10341, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 10348, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 10354, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body span {
  font-size: 12px;
  opacity: 0.72;
  line-height: 1.35;
}

/* line 10360, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-cta {
  font-size: 12px;
  font-weight: 650;
}

/* line 10365, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-focus {
  --app-accent: #2672eb;
}

/* line 10369, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-sleep {
  --app-accent: #7b5cff;
}

/* line 10373, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-water {
  --app-accent: #1f8ecd;
}

/* line 10377, 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 10386, 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 10393, 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 10400, 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 10417, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 10424, 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 10439, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 10445, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 10452, 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 10460, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-meta span {
  font-size: 12px;
  opacity: 0.7;
}

/* line 10465, 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 10481, 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 10493, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-emoji {
  font-size: 16px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* line 10500, 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 10512, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-cta {
  font-size: 12px;
  font-weight: 650;
  opacity: 0.72;
}

/* line 10518, 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 10527, 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 10543, 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 10548, 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 10558, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 10565, 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 10579, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 10585, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* line 10592, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-body strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 10598, 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 10607, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-meta i {
  width: 12px;
  text-align: center;
  opacity: 0.9;
}

/* line 10613, 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 10625, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-invite-status {
  background: rgba(255, 255, 255, 0.85);
}

/* line 10629, 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 10637, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-accepted .floating-ai-msg-calendar-invite-dot {
  background: #2e9e6b;
}

/* line 10641, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-declined .floating-ai-msg-calendar-invite-dot {
  background: #db4747;
}

/* line 10645, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-tentative .floating-ai-msg-calendar-invite-dot {
  background: #d98c1f;
}

/* line 10649, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-proposed .floating-ai-msg-calendar-invite-dot {
  background: #2e8cfa;
}

/* line 10653, 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 10670, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 10677, 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 10692, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 10698, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 10705, 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 10713, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-meta span {
  font-size: 12px;
  opacity: 0.7;
}

/* line 10718, 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 10729, 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 10734, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

/* line 10740, 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 10747, 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 10754, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 10760, 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 10767, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-share-slot {
  background: rgba(255, 255, 255, 0.22);
}

/* line 10771, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-slot.is-busy {
  background: color-mix(in srgb, #ec4899 90%, transparent);
}

/* line 10775, 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 10791, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-badge i {
  font-size: 15px;
}

/* line 10795, 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 10804, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-cta i {
  font-size: 9px;
}

/* line 10808, 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 10828, 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 10834, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-rich {
  flex-direction: column;
  gap: 8px;
}

/* line 10839, 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 10845, 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 10856, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 10863, 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 10872, 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 10885, 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 10894, 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 10902, 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 10910, 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 10920, 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 10930, 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 10940, 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 10950, 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 10958, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-compact .floating-ai-msg-link-preview-chevron {
  display: none;
}

/* line 10962, 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 10969, 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 10974, 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 10979, 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 10984, 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 10989, app/assets/stylesheets/application.scss */
.atlas-msg-p,
.atlas-msg-header,
.atlas-msg-numbered,
.atlas-msg-bullet {
  margin: 0 0 10px;
}

/* line 10996, 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 11003, app/assets/stylesheets/application.scss */
.atlas-msg-header {
  font-weight: 600;
  margin-top: 6px;
}

/* line 11008, app/assets/stylesheets/application.scss */
.atlas-msg-divider {
  height: 8px;
  margin: 2px 0;
}

/* line 11013, app/assets/stylesheets/application.scss */
.atlas-msg-numbered {
  padding: 2px 0;
}

/* line 11017, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-title {
  font-weight: 600;
}

/* line 11021, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-body {
  margin-top: 6px;
  opacity: 0.92;
}

/* line 11026, app/assets/stylesheets/application.scss */
.atlas-msg-bullet {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* line 11032, app/assets/stylesheets/application.scss */
.atlas-msg-bullet-mark {
  opacity: 0.55;
  line-height: 1.45;
  flex: 0 0 auto;
  padding-top: 1px;
}

/* line 11039, app/assets/stylesheets/application.scss */
.atlas-msg-followups {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

/* line 11047, 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 11062, 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 11067, app/assets/stylesheets/application.scss */
.atlas-msg-followup-mark {
  opacity: 0.55;
  flex: 0 0 auto;
}

/* line 11072, 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 11081, 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 11091, app/assets/stylesheets/application.scss */
.jarvis-weather-location {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/* line 11097, 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 11106, app/assets/stylesheets/application.scss */
.jarvis-weather-date {
  font-size: 15px;
  opacity: 0.62;
}

/* line 11111, 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 11125, app/assets/stylesheets/application.scss */
.jarvis-weather-unit span {
  opacity: 0.45;
  font-weight: 400;
}

/* line 11130, app/assets/stylesheets/application.scss */
.jarvis-weather-unit span.is-active {
  opacity: 1;
  font-weight: 600;
}

/* line 11135, app/assets/stylesheets/application.scss */
.jarvis-weather-unit-sep {
  opacity: 0.3 !important;
  font-weight: 500 !important;
  padding: 0 2px;
}

/* line 11141, app/assets/stylesheets/application.scss */
.jarvis-weather-hourly {
  margin-top: 4px;
}

/* line 11145, 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 11154, app/assets/stylesheets/application.scss */
.jarvis-weather-row--head {
  padding: 8px 0;
  border-top: 0;
  font-size: 13px;
  opacity: 0.62;
}

/* line 11161, app/assets/stylesheets/application.scss */
.jarvis-weather-time {
  font-size: 15px;
}

/* line 11165, app/assets/stylesheets/application.scss */
.jarvis-weather-cond {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
}

/* line 11173, app/assets/stylesheets/application.scss */
.jarvis-weather-cond > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 11179, app/assets/stylesheets/application.scss */
.jarvis-weather-glyph {
  flex: 0 0 auto;
  width: 22px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
}

/* line 11187, app/assets/stylesheets/application.scss */
.jarvis-weather-temp {
  font-size: 15px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* line 11193, app/assets/stylesheets/application.scss */
.jarvis-weather-days {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

/* line 11199, 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 11209, app/assets/stylesheets/application.scss */
.jarvis-weather-day.is-selected {
  background: color-mix(in srgb, #eadfcb 92%, transparent);
}

@media (prefers-color-scheme: dark) {
  /* line 11214, app/assets/stylesheets/application.scss */
  .jarvis-weather-day.is-selected {
    background: color-mix(in srgb, #fff 10%, transparent);
  }
}

/* line 11219, app/assets/stylesheets/application.scss */
.jarvis-weather-day-name {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.62;
}

/* line 11225, app/assets/stylesheets/application.scss */
.jarvis-weather-day-temp {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* line 11231, app/assets/stylesheets/application.scss */
.jarvis-weather-data {
  display: none;
}

/* line 11235, app/assets/stylesheets/application.scss */
.atlas-msg-math {
  display: inline;
  white-space: normal;
  vertical-align: middle;
}

/* line 11241, app/assets/stylesheets/application.scss */
.atlas-msg-math .katex {
  font-size: 1.05em;
}

/* line 11245, app/assets/stylesheets/application.scss */
.atlas-msg-math-block {
  display: block;
  text-align: center;
  padding: 8px 4px;
  margin: 4px 0 8px;
  line-height: 1.45;
  overflow-x: auto;
  overflow-y: hidden;
}

/* line 11255, app/assets/stylesheets/application.scss */
.atlas-msg-math-block .katex {
  font-size: 1.12em;
}

/* line 11259, app/assets/stylesheets/application.scss */
.atlas-msg-math-block .katex-display {
  margin: 0.35em 0;
}

/* line 11263, app/assets/stylesheets/application.scss */
.atlas-msg-inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
}

/* line 11271, 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 11278, app/assets/stylesheets/application.scss */
.atlas-msg-table {
  border-collapse: collapse;
  width: 100%;
  font-size: inherit;
}

/* line 11284, 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 11293, app/assets/stylesheets/application.scss */
.atlas-msg-table th {
  font-weight: 600;
  background: rgba(15, 23, 42, 0.04);
}

/* line 11298, app/assets/stylesheets/application.scss */
.atlas-msg-table tr:last-child td {
  border-bottom: 0;
}

/* line 11302, app/assets/stylesheets/application.scss */
.atlas-msg-table-caption {
  font-size: 0.92em;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* line 11308, 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 11315, app/assets/stylesheets/application.scss */
.atlas-msg-code-head {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 8px;
}

/* line 11322, app/assets/stylesheets/application.scss */
.atlas-msg-code pre {
  margin: 0;
  overflow-x: auto;
}

/* line 11327, 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 11333, 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 11344, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

/* line 11349, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-tip {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

/* line 11354, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-takeaway {
  border-left-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

/* line 11359, app/assets/stylesheets/application.scss */
.atlas-msg-callout-title {
  font-weight: 600;
}

/* line 11363, 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 11370, 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 11380, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot input,
.floating-ai-panel-foot textarea,
#floating-ai-input {
  flex: 1;
  min-height: 34px;
  max-height: calc(1.35em * 6 + 12px);
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 6px 6px;
  margin: 0;
  outline: none;
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.016em;
  color: #17191d;
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  field-sizing: content;
  font-family: inherit;
  box-sizing: border-box;
}

/* line 11406, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot input::placeholder,
.floating-ai-panel-foot textarea::placeholder,
#floating-ai-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 11433, app/assets/stylesheets/application.scss */
  .browser-hub {
    padding-top: 72px;
  }
  /* line 11437, app/assets/stylesheets/application.scss */
  .perk-workspace-center .browser-hub {
    padding-top: 0;
  }
  /* line 11441, app/assets/stylesheets/application.scss */
  .perk-browser-chrome {
    top: 72px;
    height: 40px;
    margin: 0 -16px;
  }
  /* line 11447, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-chrome {
    top: 0;
  }
  /* line 11451, app/assets/stylesheets/application.scss */
  .perk-browser-toolbar {
    top: 112px;
  }
  /* line 11455, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-toolbar {
    top: 48px;
  }
  /* line 11459, app/assets/stylesheets/application.scss */
  .perk-workspace-center {
    --hub-tabbar-h: 48px;
  }
  /* line 11463, 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 11473, app/assets/stylesheets/application.scss */
  .hub-view-tab.is-active {
    height: 36px;
    padding: 0 6px 0 10px;
  }
  /* line 11478, app/assets/stylesheets/application.scss */
  .perk-open-feed-btn {
    height: 30px;
    align-self: center;
    margin: 0 8px 0 2px;
  }
  /* line 11484, app/assets/stylesheets/application.scss */
  .hub-view-tab-add {
    width: 28px;
    height: 28px;
  }
  /* line 11489, app/assets/stylesheets/application.scss */
  .hub-peek-row-wrap {
    --hub-peek-tile-size: clamp(132px, 34cqi, 148px);
    --hub-peek-edge-fade: 24px;
    --hub-peek-row-pad-x: 24px;
  }
  /* line 11495, 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 11503, 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 11509, app/assets/stylesheets/application.scss */
  .hub-chat-menu-btn,
.hub-peek-label-btn,
.hub-peek-tile,
.hub-peek-tile-frame,
.hub-app,
.hub-app-icon,
.hub-view-tab-add,
.hub-ask-bar {
    transition: none !important;
  }
  /* line 11520, app/assets/stylesheets/application.scss */
  .hub-chat-menu-btn:hover,
.hub-peek-label-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 11531, 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 11539, 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 11548, 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 11557, app/assets/stylesheets/application.scss */
body.perk-home {
  --perk-bar-h: 0px;
  --perk-chat-col-min: 204px;
  --perk-chat-col-max: 264px;
}

/* line 11563, app/assets/stylesheets/application.scss */
body.perk-home .perk-management-bar.is-home {
  display: none;
}

/* line 11567, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace {
  padding-top: 0;
}

/* line 11571, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .browser-hub {
  height: 100vh;
}

/* line 11575, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .perk-browser-chrome {
  z-index: 72;
}

/* line 11579, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .perk-browser-toolbar {
  top: var(--hub-tabbar-h);
}

/* line 11583, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace.is-center-closed .perk-feed > .perk-sidebar-heading {
  z-index: 72;
}

/* line 11587, 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 11608, app/assets/stylesheets/application.scss */
.hub-tab-brand:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 11612, 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 11621, app/assets/stylesheets/application.scss */
img.perk-shape-logo {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

/* line 11629, app/assets/stylesheets/application.scss */
.hub-feed-brand {
  align-self: center;
  margin: 0 4px 0 0;
}

/* line 11634, 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(var(--perk-chat-col-min, 204px), var(--perk-chat-col-max, 264px));
  height: 100vh;
  padding-top: var(--perk-bar-h);
  overflow: hidden;
  background: var(--perk-canvas-wash);
  color: var(--perk-ink);
}

/* line 11649, app/assets/stylesheets/application.scss */
.perk-workspace.is-chats-closed {
  grid-template-columns: minmax(0, 1fr);
}

/* line 11653, app/assets/stylesheets/application.scss */
.perk-workspace.is-chats-closed .perk-workspace-sidebar.perk-chats {
  display: none;
}

/* line 11657, 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;
}

/* Feed mode: apps pane hidden; posts use the full main column. */
/* line 11667, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-workspace-center {
  display: none;
}

/* line 11671, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed {
  background: #fff;
}

/* line 11675, 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 11681, 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 11693, 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 11701, 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 11717, 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 11727, 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 11735, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-pair > .perk-feed-post .perk-feed-actions {
  margin-top: auto;
}

/* line 11739, 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 11745, 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 11750, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-suggestions-head {
  width: 100%;
  box-sizing: border-box;
}

/* line 11755, 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 11760, 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 11766, 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 11782, 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 11787, 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 11792, 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 11799, 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 11809, app/assets/stylesheets/application.scss */
.perk-feed-heading-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* line 11815, 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 11835, app/assets/stylesheets/application.scss */
.perk-open-apps-btn:hover {
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 11840, app/assets/stylesheets/application.scss */
.perk-open-apps-btn[hidden],
.perk-open-feed-btn[hidden] {
  display: none !important;
}

/* line 11845, 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 11868, 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 11881, 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 11901, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 11905, app/assets/stylesheets/application.scss */
.perk-toggle-chats-icon {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  transition: transform 160ms ease;
}

/* line 11915, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn.is-chats-closed .perk-toggle-chats-icon {
  transform: scaleX(-1);
}

/* line 11919, app/assets/stylesheets/application.scss */
.perk-open-apps-btn span,
.perk-open-feed-btn span {
  line-height: 1;
  padding-bottom: 0;
}

/* line 11925, 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 11930, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-open-feed-btn[hidden] {
  display: inline-flex !important;
}

/* line 11934, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-open-apps-btn[hidden] {
  display: inline-flex !important;
}

/* line 11938, 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 11946, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-feed {
  overflow: hidden;
}

/* line 11950, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-chats {
  overflow: hidden;
}

/* line 11954, 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 11964, app/assets/stylesheets/application.scss */
.perk-feed-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

/* line 11969, 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 11977, app/assets/stylesheets/application.scss */
.perk-feed-load-more[hidden] {
  display: none !important;
}

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

/* line 12004, 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 12022, app/assets/stylesheets/application.scss */
.perk-user-detail-overlay {
  z-index: 1500;
}

/* line 12026, 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 12037, 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 12056, 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 12072, 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 12084, 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 12093, app/assets/stylesheets/application.scss */
.perk-create-post-cancel-link {
  color: #555;
}

/* line 12097, app/assets/stylesheets/application.scss */
.perk-create-post-submit {
  color: #111;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f2f7;
}

/* line 12104, app/assets/stylesheets/application.scss */
.perk-create-post-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 12109, app/assets/stylesheets/application.scss */
.perk-create-post-form,
.perk-feed-settings-body {
  padding: 16px;
  overflow-y: auto;
}

/* line 12115, app/assets/stylesheets/application.scss */
.perk-create-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* line 12122, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 12129, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta strong {
  font-size: 14px;
  font-weight: 600;
}

/* line 12134, 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 12149, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn i {
  font-size: 10px;
}

/* line 12153, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 12159, app/assets/stylesheets/application.scss */
.perk-create-post-target-btn.is-selected {
  color: #111;
  font-weight: 600;
}

/* line 12164, 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 12172, app/assets/stylesheets/application.scss */
.perk-create-post-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 12178, 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 12190, app/assets/stylesheets/application.scss */
.perk-create-post-previews {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
}

/* line 12198, app/assets/stylesheets/application.scss */
.perk-create-post-preview {
  position: relative;
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
}

/* line 12205, 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 12215, 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 12227, 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 12246, 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 12262, app/assets/stylesheets/application.scss */
.perk-create-post-privacy {
  margin-top: 16px;
}

/* line 12266, app/assets/stylesheets/application.scss */
.perk-create-post-privacy > label {
  display: block;
  margin-bottom: 8px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 12273, 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 12282, 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 12297, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-options button i {
  font-size: 11px;
}

/* line 12301, 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 12307, app/assets/stylesheets/application.scss */
.perk-create-post-status {
  margin: 10px 0 0;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 12313, 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 12324, app/assets/stylesheets/application.scss */
.perk-create-post-target-overlay.hidden {
  display: none;
}

/* line 12328, 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 12338, 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 12346, 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 12356, app/assets/stylesheets/application.scss */
.perk-create-post-target-search i:first-child {
  color: #8e8e93;
}

/* line 12360, 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 12370, app/assets/stylesheets/application.scss */
.perk-create-post-target-clear {
  border: 0;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* line 12379, app/assets/stylesheets/application.scss */
.perk-create-post-target-results {
  flex: 1;
  overflow-y: auto;
  min-height: 180px;
}

/* line 12385, app/assets/stylesheets/application.scss */
.perk-create-post-target-empty {
  margin: 40px 16px;
  text-align: center;
  color: #8e8e93;
  font-size: 13px;
}

/* line 12392, app/assets/stylesheets/application.scss */
.perk-create-post-target-section {
  padding: 16px 16px 6px;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
}

/* line 12399, 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 12413, 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 12425, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

/* line 12433, 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 12441, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy small {
  color: #8e8e93;
  font-size: 12px;
}

/* line 12446, app/assets/stylesheets/application.scss */
.perk-create-post-target-chevron {
  color: #c7c7cc;
  font-size: 11px;
}

/* line 12451, app/assets/stylesheets/application.scss */
.perk-create-post-target-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid #f2f2f7;
}

/* line 12456, 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 12467, app/assets/stylesheets/application.scss */
.perk-feed-settings-body section {
  margin-bottom: 22px;
}

/* line 12471, app/assets/stylesheets/application.scss */
.perk-feed-settings-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

/* line 12477, app/assets/stylesheets/application.scss */
.perk-feed-settings-body p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 12px;
  line-height: 1.45;
}

/* line 12484, app/assets/stylesheets/application.scss */
.perk-feed-pref-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 12490, 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 12506, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected {
  background: #ececf1;
}

/* line 12510, app/assets/stylesheets/application.scss */
.perk-feed-pref-row i:last-child {
  color: #8e8e93;
}

/* line 12514, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected i:last-child {
  color: #111;
}

/* line 12518, 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 12527, app/assets/stylesheets/application.scss */
.perk-feed-settings-toast {
  margin: 0;
  color: #34c759;
  font-size: 13px;
  font-weight: 700;
}

/* line 12534, 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 12544, 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 12556, app/assets/stylesheets/application.scss */
.perk-user-detail-sheet {
  max-width: 520px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

/* line 12563, 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 12572, app/assets/stylesheets/application.scss */
.perk-user-detail-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  padding: 24px;
  color: #8e8e93;
  font-size: 15px;
  font-weight: 600;
}

/* line 12585, app/assets/stylesheets/application.scss */
.perk-user-detail-error {
  margin: 14px 18px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1f0;
  color: var(--perk-ink);
  font-size: 13px;
  line-height: 1.4;
}

/* line 12595, app/assets/stylesheets/application.scss */
.perk-user-detail-content {
  display: flex;
  flex-direction: column;
}

/* line 12600, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-wrap {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  background: #f4f5f7;
}

/* line 12609, app/assets/stylesheets/application.scss */
.perk-user-detail-hero {
  position: relative;
  width: 100%;
  height: 430px;
  max-height: 52vh;
  cursor: pointer;
}

/* line 12617, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-slide {
  display: none;
  width: 100%;
  height: 100%;
}

/* line 12623, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-slide.is-active {
  display: block;
}

/* line 12627, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 12634, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f7;
}

/* line 12641, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty .perk-avatar-fallback {
  width: 88px;
  height: 88px;
  font-size: 32px;
}

/* line 12647, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 96px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent);
  pointer-events: none;
}

/* line 12656, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-chrome {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 12668, app/assets/stylesheets/application.scss */
.perk-user-detail-chrome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  cursor: pointer;
  list-style: none;
}

/* line 12683, app/assets/stylesheets/application.scss */
.perk-user-detail-chrome-btn::-webkit-details-marker,
.perk-user-detail-more summary::-webkit-details-marker {
  display: none;
}

/* line 12688, app/assets/stylesheets/application.scss */
.perk-user-detail-chrome-btn svg {
  width: 15px;
  height: 15px;
}

/* line 12693, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

/* line 12703, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

/* line 12710, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-dots span.is-active {
  background: #fff;
}

/* line 12714, app/assets/stylesheets/application.scss */
.perk-user-detail-more {
  position: relative;
}

/* line 12718, app/assets/stylesheets/application.scss */
.perk-user-detail-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 3;
  min-width: 168px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 18, 22, 0.16);
}

/* line 12731, app/assets/stylesheets/application.scss */
.perk-user-detail-menu-item {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: transparent;
  color: #17191d;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 12745, app/assets/stylesheets/application.scss */
.perk-user-detail-menu-item:hover {
  background: #f4f5f7;
}

/* line 12749, app/assets/stylesheets/application.scss */
.perk-user-detail-menu-item.is-danger {
  color: #b42318;
}

/* line 12753, app/assets/stylesheets/application.scss */
.perk-user-detail-identity {
  padding: 18px 20px 16px;
  background: #fff;
}

/* line 12758, app/assets/stylesheets/application.scss */
.perk-user-detail-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* line 12764, app/assets/stylesheets/application.scss */
.perk-user-detail-name {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #17191d;
  line-height: 1.15;
}

/* line 12775, app/assets/stylesheets/application.scss */
.perk-user-detail-age {
  flex: 0 0 auto;
  color: #8e8e93;
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* line 12783, app/assets/stylesheets/application.scss */
.perk-user-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* line 12791, app/assets/stylesheets/application.scss */
.perk-user-detail-handle {
  color: #8e8e93;
  font-size: 15px;
  font-weight: 500;
}

/* line 12797, app/assets/stylesheets/application.scss */
.perk-user-detail-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 650;
}

/* line 12806, app/assets/stylesheets/application.scss */
.perk-user-detail-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2eb861;
}

/* line 12813, app/assets/stylesheets/application.scss */
.perk-user-detail-status {
  margin: 10px 0 0;
  color: rgba(23, 25, 29, 0.78);
  font-size: 15px;
  line-height: 1.4;
}

/* line 12820, app/assets/stylesheets/application.scss */
.perk-user-detail-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 20px 24px;
}

/* line 12827, app/assets/stylesheets/application.scss */
.perk-user-detail-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 12833, app/assets/stylesheets/application.scss */
.perk-user-detail-section h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: #17191d;
}

/* line 12840, app/assets/stylesheets/application.scss */
.perk-user-detail-soft-card {
  border-radius: 16px;
  background: #f4f5f7;
  padding: 16px;
  color: #17191d;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 12851, app/assets/stylesheets/application.scss */
.perk-user-detail-about {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

/* line 12858, app/assets/stylesheets/application.scss */
.perk-user-detail-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

/* line 12866, app/assets/stylesheets/application.scss */
.perk-user-detail-fact.is-last {
  border-bottom: 0;
}

/* line 12870, app/assets/stylesheets/application.scss */
.perk-user-detail-fact > i {
  width: 20px;
  margin-top: 2px;
  color: #8e8e93;
  font-size: 14px;
  text-align: center;
}

/* line 12878, app/assets/stylesheets/application.scss */
.perk-user-detail-fact > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 12885, app/assets/stylesheets/application.scss */
.perk-user-detail-fact span {
  color: #8e8e93;
  font-size: 12px;
  font-weight: 500;
}

/* line 12891, app/assets/stylesheets/application.scss */
.perk-user-detail-fact strong {
  color: #17191d;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  word-break: break-word;
}

/* line 12899, app/assets/stylesheets/application.scss */
.perk-user-detail-tags-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

/* line 12906, app/assets/stylesheets/application.scss */
.perk-user-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 12912, app/assets/stylesheets/application.scss */
.perk-user-detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f4f5f7;
  color: #17191d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* line 12924, app/assets/stylesheets/application.scss */
.perk-user-detail-prompts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 12930, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt {
  border-radius: 16px;
  background: #f4f5f7;
  padding: 16px;
}

/* line 12936, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt > span {
  display: block;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 650;
}

/* line 12943, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt > p {
  margin: 6px 0 0;
  color: #17191d;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  word-break: break-word;
}

/* line 12952, app/assets/stylesheets/application.scss */
.perk-user-detail-mutuals {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

/* line 12960, app/assets/stylesheets/application.scss */
.perk-user-detail-mutuals::-webkit-scrollbar {
  display: none;
}

/* line 12964, app/assets/stylesheets/application.scss */
.perk-user-detail-mutual {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #17191d;
  cursor: pointer;
}

/* line 12978, app/assets/stylesheets/application.scss */
.perk-user-detail-mutual img,
.perk-user-detail-mutual .perk-avatar-fallback {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #f4f5f7;
}

/* line 12987, app/assets/stylesheets/application.scss */
.perk-user-detail-mutual .perk-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

/* line 12995, app/assets/stylesheets/application.scss */
.perk-user-detail-mutual > span {
  width: 100%;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* line 13008, app/assets/stylesheets/application.scss */
.perk-user-detail-empty {
  margin: 0;
  color: #8e8e93;
  font-size: 14px;
  line-height: 1.45;
}

/* line 13015, app/assets/stylesheets/application.scss */
.perk-user-detail-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid #eee;
  background: #fff;
}

/* line 13025, app/assets/stylesheets/application.scss */
.perk-user-detail-invite,
.perk-user-detail-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

/* line 13041, app/assets/stylesheets/application.scss */
.perk-user-detail-invite {
  border: 0;
  background: #111;
  color: #fff;
}

/* line 13047, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:hover:not(:disabled) {
  opacity: 0.92;
}

/* line 13051, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* line 13056, app/assets/stylesheets/application.scss */
.perk-user-detail-invite[hidden],
.perk-user-detail-map[hidden] {
  display: none !important;
}

/* line 13061, app/assets/stylesheets/application.scss */
.perk-user-detail-map {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

/* line 13067, app/assets/stylesheets/application.scss */
.perk-user-detail-map:hover {
  background: #f8f8f8;
}

/* line 13071, 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 13091, app/assets/stylesheets/application.scss */
.perk-user-detail-toast[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  /* line 13096, app/assets/stylesheets/application.scss */
  .perk-user-detail-overlay {
    align-items: flex-end;
    padding: 0;
  }
  /* line 13101, app/assets/stylesheets/application.scss */
  .perk-user-detail-sheet {
    max-width: none;
    max-height: min(92vh, 860px);
    border-radius: 18px 18px 0 0;
  }
  /* line 13107, app/assets/stylesheets/application.scss */
  .perk-user-detail-hero {
    max-height: 360px;
  }
  /* line 13111, app/assets/stylesheets/application.scss */
  .perk-user-detail-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }
  /* line 13116, app/assets/stylesheets/application.scss */
  .perk-user-detail-name {
    font-size: 20px;
  }
}

/* line 13121, 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 13128, 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 13138, 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 13147, app/assets/stylesheets/application.scss */
.perk-feed-comments-handle {
  display: none;
}

/* line 13151, app/assets/stylesheets/application.scss */
.perk-feed-comments-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--perk-ink);
}

/* line 13157, 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 13165, app/assets/stylesheets/application.scss */
.perk-feed-comments-post {
  border-bottom: 1px solid var(--perk-line-soft);
}

/* line 13169, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post {
  border-bottom: 0;
  background: transparent;
}

/* line 13174, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post.is-detail {
  padding-bottom: 12px;
}

/* line 13178, 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 13190, 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 13198, app/assets/stylesheets/application.scss */
.perk-feed-comments-list {
  min-height: 160px;
  padding: 8px 16px 16px;
}

/* line 13203, app/assets/stylesheets/application.scss */
.perk-feed-comments-empty {
  margin: 24px 0;
  color: #8e8e93;
  text-align: center;
  font-size: 15px;
}

/* line 13210, app/assets/stylesheets/application.scss */
.perk-feed-comment-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

/* line 13217, app/assets/stylesheets/application.scss */
.perk-feed-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* line 13223, app/assets/stylesheets/application.scss */
.perk-feed-comment.is-reply {
  padding-left: 24px;
}

/* line 13227, 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 13239, app/assets/stylesheets/application.scss */
.perk-feed-comment-avatar:disabled {
  cursor: default;
}

/* line 13243, 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 13251, 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 13261, app/assets/stylesheets/application.scss */
.perk-feed-comment-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 13266, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 13273, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* line 13279, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta span {
  font-size: 12px;
  color: #8e8e93;
}

/* line 13284, 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 13293, 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 13304, 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 13318, app/assets/stylesheets/application.scss */
.perk-feed-comment-like i {
  font-size: 16px;
  line-height: 1;
}

/* line 13323, app/assets/stylesheets/application.scss */
.perk-feed-comment-like span {
  font-size: 12px;
  line-height: 1;
}

/* line 13328, app/assets/stylesheets/application.scss */
.perk-feed-comment-like.is-liked,
.perk-feed-comment-like.is-liked i {
  color: var(--perk-ink);
}

/* line 13333, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies {
  display: flex;
  justify-content: center;
}

/* line 13338, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies button {
  border: 0;
  background: transparent;
  color: #8e8e93;
  font-size: 13px;
  cursor: pointer;
}

/* line 13346, app/assets/stylesheets/application.scss */
.perk-feed-comments-composer {
  flex: 0 0 auto;
  border-top: 1px solid #ebebf0;
  background: #fff;
  position: relative;
}

/* line 13353, app/assets/stylesheets/application.scss */
.perk-mention-suggestions {
  display: flex;
  flex-direction: column;
  max-height: 220px;
  overflow: auto;
  margin: 0 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 18, 22, 0.08);
}

/* line 13365, app/assets/stylesheets/application.scss */
.perk-mention-suggestions.hidden,
.perk-mention-suggestions[hidden] {
  display: none !important;
}

/* line 13370, app/assets/stylesheets/application.scss */
.floating-ai-mentions {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 6;
}

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

/* line 13386, app/assets/stylesheets/application.scss */
.floating-ai-mentions .perk-mention-suggestions {
  margin: 0;
}

/* line 13390, app/assets/stylesheets/application.scss */
.tw-cmt-mentions.hidden,
.tw-cmt-mentions[hidden],
.tw-note-mentions.hidden,
.tw-note-mentions[hidden] {
  display: none !important;
}

/* line 13397, app/assets/stylesheets/application.scss */
.perk-mention-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #111;
  text-align: left;
  cursor: pointer;
}

/* line 13410, app/assets/stylesheets/application.scss */
.perk-mention-option:hover,
.perk-mention-option.is-active {
  background: #f2f2f7;
}

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

/* line 13424, 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 13437, app/assets/stylesheets/application.scss */
.perk-mention-avatar.is-all {
  color: #636366;
}

/* line 13441, app/assets/stylesheets/application.scss */
.perk-mention-avatar.is-all svg {
  display: block;
}

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

/* line 13452, app/assets/stylesheets/application.scss */
.perk-mention-copy strong,
.perk-mention-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 13459, app/assets/stylesheets/application.scss */
.perk-mention-copy strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 13464, app/assets/stylesheets/application.scss */
.perk-mention-copy span {
  font-size: 13px;
  color: #8e8e93;
}

/* line 13469, 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 13480, app/assets/stylesheets/application.scss */
.tw-note-paper .perk-mention-link,
.tw-task-title .perk-mention-link,
.tw-task-objective .perk-mention-link,
.tw-task-content .perk-mention-link,
.tw-cmt-text .perk-mention-link,
.perk-feed-comment-text .perk-mention-link,
.perk-chat-preview .perk-mention-link,
.floating-ai-msg-text .perk-mention-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0a66c2;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  vertical-align: baseline;
  white-space: nowrap;
}

/* line 13500, app/assets/stylesheets/application.scss */
.tw-task-mentions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 40;
}

/* line 13508, 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 13518, app/assets/stylesheets/application.scss */
.perk-feed-comments-reply-preview[hidden] {
  display: none !important;
}

/* line 13522, 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 13531, 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 13540, 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 13550, app/assets/stylesheets/application.scss */
.perk-feed-comments-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 12px 12px;
}

/* line 13557, 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 13570, app/assets/stylesheets/application.scss */
.perk-feed-comments-form input::placeholder {
  color: #8e8e93;
}

/* line 13574, 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 13588, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:not(:disabled) {
  background: #111;
}

/* line 13592, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:disabled {
  cursor: default;
}

/* line 13596, app/assets/stylesheets/application.scss */
.perk-feed-comments-send i {
  font-size: 14px;
  line-height: 1;
}

/* line 13601, app/assets/stylesheets/application.scss */
.perk-create-post-quote {
  margin: 0 0 12px;
}

/* line 13605, app/assets/stylesheets/application.scss */
.perk-create-post-quote .perk-feed-quoted {
  margin: 0;
  pointer-events: none;
}

/* line 13610, app/assets/stylesheets/application.scss */
.perk-feed-post-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* line 13617, app/assets/stylesheets/application.scss */
.perk-feed-post-top .perk-feed-post-headline {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 13622, 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 13632, 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 13642, app/assets/stylesheets/application.scss */
.perk-feed-post-menu-btn:hover,
.perk-feed-privacy-dot.is-editable:hover {
  color: #111;
  background: #f2f2f7;
}

/* line 13648, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable {
  cursor: pointer;
}

/* line 13652, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable:hover .perk-feed-post-text {
  color: #222;
}

/* line 13656, app/assets/stylesheets/application.scss */
.perk-feed-privacy-sheet {
  max-width: 360px;
}

/* line 13660, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

/* line 13667, 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 13683, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options button.active,
.perk-feed-privacy-options button:hover {
  border-color: #111;
  background: #f7f7f8;
}

/* line 13689, app/assets/stylesheets/application.scss */
.perk-feed-privacy-status {
  margin: 0 16px 16px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 13695, app/assets/stylesheets/application.scss */
.perk-feed-share-overlay {
  /* Above focused chat windows (.floating-ai-panel.is-focused: 10110). */
  z-index: 10120;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 18, 22, 0.4);
}

/* line 13704, 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 13714, 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 13723, app/assets/stylesheets/application.scss */
.perk-feed-share-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 13731, 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 13743, app/assets/stylesheets/application.scss */
.perk-feed-share-done {
  justify-self: start;
}

/* line 13747, app/assets/stylesheets/application.scss */
.perk-feed-share-create-group {
  justify-self: end;
  white-space: nowrap;
}

/* line 13752, app/assets/stylesheets/application.scss */
.perk-feed-share-done:hover,
.perk-feed-share-create-group:hover {
  opacity: 0.75;
}

/* line 13757, 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 13768, app/assets/stylesheets/application.scss */
.perk-feed-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 13773, 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 13783, app/assets/stylesheets/application.scss */
.perk-feed-share-search input::placeholder {
  color: #8e8e93;
}

/* line 13787, 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 13798, app/assets/stylesheets/application.scss */
.perk-feed-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  text-align: center;
  font-size: 14px;
}

/* line 13805, 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 13818, app/assets/stylesheets/application.scss */
.perk-feed-share-person:last-child {
  border-bottom: 0;
}

/* line 13822, 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 13837, app/assets/stylesheets/application.scss */
.perk-feed-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 13844, 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 13855, 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 13863, 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 13872, 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 13881, 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 13894, app/assets/stylesheets/application.scss */
.perk-feed-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 13898, app/assets/stylesheets/application.scss */
.perk-feed-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 13903, 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 13912, 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 13928, app/assets/stylesheets/application.scss */
.perk-feed-share-channel:hover {
  background: #f7f7f8;
}

/* line 13932, 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 13943, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-whatsapp {
  background: #25d366;
}

/* line 13947, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 13951, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-zalo {
  background: #0068ff;
  font-size: 17px;
  font-weight: 800;
}

/* line 13957, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-messenger {
  background: #0084ff;
}

/* line 13961, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-copy {
  background: #111;
}

/* line 13965, app/assets/stylesheets/application.scss */
.perk-feed-share-head-spacer {
  width: 1px;
  height: 1px;
}

/* line 13970, app/assets/stylesheets/application.scss */
.ai-answer-share-people-label {
  margin: 4px 16px 8px;
  font-size: 13px;
  font-weight: 650;
  color: #8e8e93;
}

/* line 13977, 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 13985, app/assets/stylesheets/application.scss */
  .perk-feed-share-overlay {
    align-items: center;
    padding: 20px;
  }
  /* line 13990, app/assets/stylesheets/application.scss */
  .perk-feed-share-sheet {
    border-radius: 18px;
    max-height: min(88vh, 760px);
  }
}

/* line 13996, app/assets/stylesheets/application.scss */
.perk-feed-menu-overlay {
  align-items: flex-end;
}

/* line 14000, 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 14013, 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 14025, app/assets/stylesheets/application.scss */
.perk-feed-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

/* line 14032, app/assets/stylesheets/application.scss */
.perk-feed-menu-item.is-danger {
  color: var(--perk-ink);
}

/* line 14036, app/assets/stylesheets/application.scss */
.perk-feed-menu-item:hover,
.perk-feed-menu-cancel:hover {
  background: #f2f2f7;
}

/* line 14041, 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 14049, 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 14065, app/assets/stylesheets/application.scss */
.perk-feed-toast[hidden] {
  display: none !important;
}

/* line 14069, 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 14079, app/assets/stylesheets/application.scss */
.perk-chats {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 0;
  overflow: hidden;
  background: var(--perk-surface);
}

/* line 14088, 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 14102, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 14106, 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 14111, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn .perk-toggle-chats-icon {
  width: 18px;
  height: 18px;
}

/* line 14116, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn.is-reopen {
  display: none;
}

/* line 14120, app/assets/stylesheets/application.scss */
.perk-workspace.is-chats-closed .perk-toggle-chats-btn.is-reopen {
  display: inline-flex;
}

/* line 14124, 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 14130, app/assets/stylesheets/application.scss */
.hub-view-tabs .perk-toggle-chats-btn.is-reopen {
  align-self: center;
  margin: 0 8px 0 auto;
}

/* line 14135, 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 14144, 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;
}

/* "Show contacts" off → hide people/groups, keep AI companions (matches setting label). */
/* line 14155, app/assets/stylesheets/application.scss */
.perk-chats.is-contacts-hidden .perk-chat-row:not(.is-ai) {
  display: none !important;
}

/* line 14159, 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 14168, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading-title {
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

/* line 14175, 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 14187, app/assets/stylesheets/application.scss */
.perk-chats .perk-ios-count-badge-inline {
  margin-left: 0;
  transform: none;
}

/* line 14192, 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 14201, 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 14210, app/assets/stylesheets/application.scss */
.perk-chats-account-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* line 14224, app/assets/stylesheets/application.scss */
.perk-chats-account-btn:hover,
.perk-chats-account-btn.is-active {
  background: transparent;
}

/* line 14229, app/assets/stylesheets/application.scss */
.perk-chats-account-btn:focus,
.perk-chats-account-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

/* line 14235, app/assets/stylesheets/application.scss */
.perk-chats-account-btn .perk-management-avatar-sm {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  font-size: 12px;
  border: 0;
}

/* line 14243, 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 14253, 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 14261, 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 14266, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 24px 24px;
  background: rgba(17, 24, 39, 0.34);
  backdrop-filter: blur(7px);
}

/* line 14278, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal.hidden {
  display: none;
}

/* line 14282, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal .perk-chat-settings-menu,
.perk-chat-popover-modal .perk-chat-account-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  margin: 0;
  border: 0;
  border-radius: 18px;
  background: var(--perk-surface);
  box-shadow: 0 18px 48px rgba(23, 25, 29, 0.18);
  -webkit-overflow-scrolling: touch;
}

/* line 14298, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal .perk-chat-settings-menu {
  font-weight: 300;
}

/* line 14302, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal .perk-chat-settings-menu::before {
  display: none;
}

/* line 14306, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal .perk-account-card {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  max-width: none;
  max-height: none;
  min-width: 0;
  box-shadow: none;
  border-radius: 18px;
  overflow: visible;
}

/* line 14319, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu {
  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);
  font-weight: 300;
}

/* line 14330, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu.hidden {
  display: none;
}

/* line 14334, app/assets/stylesheets/application.scss */
.perk-chat-settings-header {
  padding: 16px 16px 12px;
}

/* line 14338, app/assets/stylesheets/application.scss */
.perk-chat-settings-header strong {
  display: block;
  color: #111827;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 14347, app/assets/stylesheets/application.scss */
.perk-chat-settings-header p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

/* line 14354, app/assets/stylesheets/application.scss */
.perk-chat-settings-section {
  padding: 4px 0;
  border-top: 1px solid #eef0f3;
}

/* line 14359, 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 14377, app/assets/stylesheets/application.scss */
.perk-chat-settings-item:hover {
  background: #f5f6f8;
  color: inherit;
}

/* line 14382, 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 14394, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 14401, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy strong {
  color: #111827;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.25;
}

/* line 14408, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

/* line 14414, app/assets/stylesheets/application.scss */
.perk-chat-settings-chevron {
  color: #9ca3af;
  font-size: 12px;
}

/* line 14419, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

/* line 14427, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 14436, 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 14446, 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 14459, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span {
  background: #34c759;
}

/* line 14463, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span::after {
  transform: translateX(20px);
}

/* line 14467, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 14473, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane.hidden {
  display: none;
}

/* line 14477, 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: 300;
  font-size: 15px;
  padding: 4px 2px 8px;
  cursor: pointer;
  text-align: left;
}

/* line 14492, app/assets/stylesheets/application.scss */
.perk-chat-settings-back i {
  font-size: 18px;
  line-height: 1;
}

/* line 14497, app/assets/stylesheets/application.scss */
.perk-chat-settings-back:hover {
  color: var(--perk-ink-soft);
}

/* line 14501, app/assets/stylesheets/application.scss */
.perk-chat-settings-hint {
  margin: 0;
  padding: 0 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

/* line 14509, 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 14520, 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 14530, 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 14539, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 10px;
}

/* line 14547, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row:hover {
  background: #f8f9fb;
}

/* line 14551, 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: 300;
}

/* line 14566, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 14572, 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 14580, 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 14588, 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 14596, 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: 300;
  cursor: pointer;
}

/* line 14608, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-btn {
  background: #fee2e2;
  color: var(--perk-ink);
}

/* line 14613, app/assets/stylesheets/application.scss */
.perk-chat-settings-unblock {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 14618, app/assets/stylesheets/application.scss */
.floating-ai-panel.hide-read-receipts .floating-ai-msg-status {
  display: none;
}

/* line 14622, 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 14634, 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 14655, app/assets/stylesheets/application.scss */
.perk-create-chat-fab:hover {
  transform: translateY(-1px);
  background: rgba(23, 25, 29, 0.06);
  box-shadow: none;
}

/* line 14661, app/assets/stylesheets/application.scss */
.floating-ai.is-docked-above-create .floating-ai-bubble:not(.is-pinned) {
  animation: none;
}

/* line 14665, app/assets/stylesheets/application.scss */
.perk-chat-footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 6px 16px 8px;
  border-top: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

/* line 14676, app/assets/stylesheets/application.scss */
.perk-chat-footer-brand {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}

/* line 14684, app/assets/stylesheets/application.scss */
.perk-chat-footer-brand strong,
.perk-chat-footer-brand span {
  color: #000;
  font-size: 12px;
  font-weight: 100;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

/* line 14694, app/assets/stylesheets/application.scss */
.perk-chat-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

/* line 14701, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a {
  position: relative;
  color: #000;
  font-size: 11px;
  font-weight: 100;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0 8px;
}

/* line 14712, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a:first-child {
  padding-left: 0;
}

/* line 14716, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a + a::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 11px;
  font-weight: 100;
  line-height: 1;
  pointer-events: none;
}

/* line 14729, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a:hover {
  color: #000;
}

/* line 14733, 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 14750, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading,
.perk-chats .perk-sidebar-heading {
  border-bottom: 0;
}

/* line 14755, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading {
  min-height: 52px;
  height: 52px;
}

/* line 14760, 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 14770, app/assets/stylesheets/application.scss */
.perk-sidebar-heading h2 {
  margin: 0;
  color: var(--perk-ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* line 14779, 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 14791, app/assets/stylesheets/application.scss */
.perk-create-chat-modal.hidden {
  display: none;
}

/* line 14795, 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 14806, 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 14815, app/assets/stylesheets/application.scss */
.perk-create-chat-card > header strong {
  color: #16191e;
  font-size: 15px;
}

/* line 14820, 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 14830, app/assets/stylesheets/application.scss */
.perk-create-chat-cancel {
  justify-self: start;
}

/* line 14834, app/assets/stylesheets/application.scss */
.perk-create-chat-next {
  justify-self: end;
}

/* line 14838, app/assets/stylesheets/application.scss */
.perk-create-chat-next:disabled {
  color: #b7bbc2;
  cursor: default;
}

/* line 14843, app/assets/stylesheets/application.scss */
.perk-create-chat-next.is-loading {
  opacity: 0.6;
  cursor: wait;
}

/* line 14848, app/assets/stylesheets/application.scss */
.perk-create-chat-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 130px);
}

/* line 14854, 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 14865, 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 14875, 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 14882, app/assets/stylesheets/application.scss */
.perk-create-chat-search {
  position: relative;
  margin: 10px 16px;
}

/* line 14887, 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 14896, 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 14904, app/assets/stylesheets/application.scss */
.perk-create-chat-people {
  min-height: 180px;
  overflow-y: auto;
  padding: 0 10px 14px;
}

/* line 14910, 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 14919, app/assets/stylesheets/application.scss */
.perk-create-chat-error {
  padding: 8px 18px;
  color: var(--perk-ink);
  text-align: left;
}

/* line 14925, 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 14936, app/assets/stylesheets/application.scss */
.perk-create-chat-person:hover {
  background: #f6f7f8;
}

/* line 14940, app/assets/stylesheets/application.scss */
.perk-create-chat-person > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* line 14947, 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 14962, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 14968, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy {
  min-width: 0;
}

/* line 14972, app/assets/stylesheets/application.scss */
.perk-create-chat-person-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

/* line 14979, 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 14987, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy strong {
  flex: 0 1 auto;
  min-width: 0;
  color: #25282d;
  font-size: 13px;
}

/* line 14994, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy small {
  margin-top: 3px;
  color: #8b919a;
  font-size: 11px;
}

/* line 15000, 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 15012, app/assets/stylesheets/application.scss */
.perk-create-chat-person input:checked ~ .perk-create-chat-check {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

/* line 15018, app/assets/stylesheets/application.scss */
body.perk-modal-open {
  overflow: hidden;
}

/* line 15022, 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 15037, app/assets/stylesheets/application.scss */
.perk-icon-button:hover {
  background: var(--perk-surface);
  border-color: var(--perk-line);
  color: var(--perk-ink);
}

/* line 15043, 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 15057, app/assets/stylesheets/application.scss */
.perk-feed-filters::-webkit-scrollbar {
  display: none;
}

/* line 15061, 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 15077, 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 15089, app/assets/stylesheets/application.scss */
.perk-feed-filters button:hover {
  background: transparent;
  color: var(--perk-ink);
}

/* line 15094, app/assets/stylesheets/application.scss */
.perk-feed-filters button.active {
  background: transparent;
  border-color: transparent;
  color: var(--perk-ink);
  font-weight: 700;
}

/* line 15101, app/assets/stylesheets/application.scss */
.perk-feed-filters button.active::after {
  background: var(--perk-ink);
}

/* line 15105, 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 15114, 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 15128, 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 15137, 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 15144, app/assets/stylesheets/application.scss */
.perk-feed-section-head {
  padding: 0 18px 10px;
}

/* line 15148, 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 15156, app/assets/stylesheets/application.scss */
.perk-feed-section-head p {
  margin: 3px 0 0;
  color: var(--perk-muted-soft);
  font-size: 13px;
}

/* line 15162, app/assets/stylesheets/application.scss */
.perk-feed-section-head-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 15168, 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 15180, app/assets/stylesheets/application.scss */
.perk-feed-trend-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0 18px;
}

/* line 15187, 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 15203, 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 15209, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 10px;
}

/* line 15216, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* line 15222, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-feed-post-avatar {
  flex: 0 0 40px;
}

/* line 15226, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-avatar-fallback {
  width: 40px;
  height: 40px;
}

/* line 15231, 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 15245, app/assets/stylesheets/application.scss */
.perk-feed-suggest-scroller::-webkit-scrollbar {
  display: none;
}

/* line 15249, 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 15263, app/assets/stylesheets/application.scss */
.perk-feed-suggest-card:hover .perk-feed-suggest-photo {
  opacity: 0.92;
}

/* line 15267, 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 15279, 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 15288, 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 15298, 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 15309, 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 15322, 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 15333, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i {
  font-size: 12px;
  color: var(--perk-ink);
}

/* line 15338, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i.fa-comment {
  color: #8e8e93;
}

/* line 15342, app/assets/stylesheets/application.scss */
.perk-feed-post.has-friend-activity {
  padding-top: 12px;
}

/* line 15346, app/assets/stylesheets/application.scss */
.perk-feed-post-avatar {
  grid-column: 1;
  width: 40px;
}

/* line 15351, 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 15359, app/assets/stylesheets/application.scss */
.perk-feed-post-main {
  grid-column: 2;
  min-width: 0;
}

/* line 15364, app/assets/stylesheets/application.scss */
.perk-feed-post-body {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* line 15370, 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 15380, 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 15387, 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 15396, app/assets/stylesheets/application.scss */
.perk-feed-post-text.muted {
  color: #8e8e93;
}

/* line 15400, 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 15411, app/assets/stylesheets/application.scss */
a.perk-feed-quoted:hover {
  border-color: #d5d9e0;
  background: #eef0f3;
}

/* line 15416, app/assets/stylesheets/application.scss */
.perk-feed-quoted-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 15423, 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 15432, 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 15442, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 15449, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta strong {
  color: #111;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

/* line 15456, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta span {
  color: #8e8e93;
  font-size: 12px;
}

/* line 15461, 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 15470, 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 15481, app/assets/stylesheets/application.scss */
a.perk-feed-quoted-read:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 15486, app/assets/stylesheets/application.scss */
.perk-feed-quoted .perk-feed-post-media {
  margin: 0;
}

/* line 15490, app/assets/stylesheets/application.scss */
.perk-feed-post-media {
  display: grid;
  gap: 8px;
  margin: 6px 0 8px;
}

/* line 15496, 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 15504, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: var(--perk-radius-md);
  background: var(--perk-field);
  border: 1px solid var(--perk-line-soft);
}

/* line 15515, app/assets/stylesheets/application.scss */
.perk-feed-post-media.is-carousel .perk-feed-post-media-item {
  flex: 0 0 auto;
  width: auto;
  max-width: min(100%, 520px);
}

/* line 15521, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item img,
.perk-feed-post-media-item video.perk-feed-video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70vh, 720px);
  object-fit: contain;
  background: transparent;
}

/* line 15532, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-video {
  cursor: pointer;
  background: #111;
}

/* line 15537, 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 15543, 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 15558, 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 15569, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-playing .perk-feed-video-badge {
  display: none;
}

/* line 15573, 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 15583, app/assets/stylesheets/application.scss */
.perk-feed-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

/* line 15590, 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 15607, 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 15618, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fas {
  font-weight: 900;
}

/* line 15622, app/assets/stylesheets/application.scss */
.perk-feed-actions button .far {
  font-weight: 400;
}

/* Paper plane — same size as peers, slight Instagram-style lift. */
/* line 15627, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px);
}

/* line 15631, 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 15639, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover {
  color: #737373;
}

/* line 15643, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover span {
  color: #8e8e8e;
}

/* line 15647, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover i {
  transform: scale(1.08);
}

/* line 15651, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px) scale(1.08);
}

/* line 15655, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active {
  opacity: 0.72;
}

/* line 15659, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active i {
  transform: scale(0.92);
}

/* line 15663, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active .fa-paper-plane {
  transform: rotate(-18deg) translateY(-0.5px) scale(0.92);
}

/* line 15667, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked {
  color: var(--perk-ink);
}

/* line 15671, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked i {
  color: var(--perk-ink);
  animation: perk-feed-like-pop 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* line 15676, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked span {
  color: var(--perk-ink);
}

/* line 15680, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-saved,
.perk-feed-actions button.is-saved i {
  color: #262626;
}

/* line 15685, 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 15703, app/assets/stylesheets/application.scss */
  .perk-feed-actions button.is-liked i,
.perk-feed-actions button.is-saved i {
    animation: none;
  }
}

/* line 15709, app/assets/stylesheets/application.scss */
.perk-feed-actions-spacer {
  flex: 1 1 auto;
}

/* line 15713, app/assets/stylesheets/application.scss */
.perk-feed-post-empty {
  border-bottom: 0;
}

/* line 15717, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  --hub-tabbar-h: 48px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

/* line 15725, 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;
  scrollbar-width: thin;
  scrollbar-color: #d8dce2 transparent;
  -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 15743, 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 15755, 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 > .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 15783, 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 15790, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-browsing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}

/* line 15797, 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 15806, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-browser-frame,
.perk-workspace-center .hub-browser-iframe {
  height: 100%;
  min-height: 0;
}

/* line 15812, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub-inner {
  max-width: 630px;
  gap: 22px;
}

/* line 15817, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shopping {
  max-width: 630px;
  margin: 0 auto;
}

/* line 15822, 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 15830, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
  max-width: 1080px;
}

/* line 15834, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-workspace-center .ai-characters-panel {
  max-width: none;
}

/* line 15838, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-shopping,
.perk-workspace-center .browser-hub.is-characters {
  padding-top: 0;
}

/* line 15843, 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 15848, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub .ai-characters-panel {
  padding-top: 0;
}

/* line 15852, 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 15860, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-locket-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: none;
  align-self: stretch;
  background: transparent;
}

/* line 15871, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-row-wrap {
  --hub-peek-tile-size: clamp(132px, 22cqi, 176px);
}

/* line 15875, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app,
.perk-workspace-center .hub-shortcut {
  border-radius: 18px;
  padding: 10px 6px 8px;
}

/* line 15881, 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 15886, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 28%;
}

/* line 15892, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shortcuts {
  padding-top: 8px;
  border-top: 1px solid var(--perk-line);
}

/* line 15897, app/assets/stylesheets/application.scss */
.perk-chat-search-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 15909, app/assets/stylesheets/application.scss */
.perk-chat-search-modal.hidden {
  display: none;
}

/* line 15913, app/assets/stylesheets/application.scss */
.perk-chat-search-card {
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  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 15926, app/assets/stylesheets/application.scss */
.perk-chat-search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 16px 10px;
}

/* line 15934, app/assets/stylesheets/application.scss */
.perk-chat-search-field > i,
.perk-chat-search-field > svg {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #8e8e93;
  font-size: 14px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* line 15947, app/assets/stylesheets/application.scss */
.perk-chat-search-field input {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  outline: 0;
  background: var(--perk-field);
  padding: 0 44px 0 40px;
  color: var(--perk-ink);
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* line 15960, app/assets/stylesheets/application.scss */
.perk-chat-search-field input:focus {
  box-shadow: inset 0 0 0 1.5px rgba(22, 119, 255, 0.35);
}

/* line 15964, app/assets/stylesheets/application.scss */
.perk-chat-search-close {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
  transform: translateY(-50%);
}

/* line 15981, app/assets/stylesheets/application.scss */
.perk-chat-search-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--perk-ink);
}

/* line 15986, app/assets/stylesheets/application.scss */
.perk-chat-search-scopes {
  display: flex;
  gap: 2px;
  padding: 0 12px;
  border-bottom: 1px solid var(--perk-line);
}

/* line 15993, app/assets/stylesheets/application.scss */
.perk-chat-search-scope {
  flex: 1 1 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: 10px 8px 12px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 16006, app/assets/stylesheets/application.scss */
.perk-chat-search-scope:hover {
  color: var(--perk-ink);
}

/* line 16010, app/assets/stylesheets/application.scss */
.perk-chat-search-scope.is-active {
  border-bottom-color: #17191d;
  background: transparent;
  color: #17191d;
}

/* line 16016, app/assets/stylesheets/application.scss */
.perk-chat-search-results {
  min-height: 180px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding: 8px 10px 14px;
}

/* line 16023, app/assets/stylesheets/application.scss */
.perk-chat-search-section-label {
  margin: 8px 8px 4px;
  color: #8b919a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 16032, app/assets/stylesheets/application.scss */
.perk-chat-search-empty {
  margin: 0;
  padding: 36px 16px;
  color: #747b85;
  font-size: 13px;
  text-align: center;
}

/* line 16040, app/assets/stylesheets/application.scss */
.perk-chat-search-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  padding: 7px 9px;
  text-align: left;
  cursor: pointer;
}

/* line 16055, app/assets/stylesheets/application.scss */
.perk-chat-search-row:hover {
  background: #f6f7f8;
}

/* line 16059, app/assets/stylesheets/application.scss */
.perk-chat-search-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 16074, app/assets/stylesheets/application.scss */
.perk-chat-search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 16080, app/assets/stylesheets/application.scss */
.perk-chat-search-avatar.is-group {
  border-radius: 14px;
  background: linear-gradient(145deg, #4b5563, #111827);
}

/* line 16085, app/assets/stylesheets/application.scss */
.perk-chat-search-copy {
  min-width: 0;
}

/* line 16089, app/assets/stylesheets/application.scss */
.perk-chat-search-copy strong,
.perk-chat-search-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16097, app/assets/stylesheets/application.scss */
.perk-chat-search-copy strong {
  color: #25282d;
  font-size: 13px;
}

/* line 16102, app/assets/stylesheets/application.scss */
.perk-chat-search-copy small {
  margin-top: 3px;
  color: #8b919a;
  font-size: 11px;
}

/* line 16108, app/assets/stylesheets/application.scss */
.perk-chat-list {
  padding: 0;
}

/* line 16112, 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 16122, app/assets/stylesheets/application.scss */
.perk-chat-ai-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 1px 5px;
  border-radius: 4px;
  background: #c4c7cc;
  border: 0;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  vertical-align: middle;
}

/* line 16140, app/assets/stylesheets/application.scss */
.perk-chat-avatar-ai {
  overflow: hidden;
  background: linear-gradient(145deg, #17191d, #4b5563);
}

/* line 16145, 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 16155, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar.is-ai {
  overflow: hidden;
  background: linear-gradient(145deg, #17191d, #4b5563);
}

/* line 16160, 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 16180, app/assets/stylesheets/application.scss */
.perk-chat-row.hidden,
.perk-chat-section-label.hidden {
  display: none;
}

/* line 16185, app/assets/stylesheets/application.scss */
.perk-chat-row:hover {
  background: rgba(23, 25, 29, 0.04);
  color: var(--perk-ink);
}

/* line 16190, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread {
  background: transparent;
  color: var(--perk-ink);
}

/* line 16195, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-copy strong {
  font-weight: 700;
  color: #17191d;
}

/* line 16200, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread:hover {
  background: rgba(23, 25, 29, 0.04);
  color: var(--perk-ink);
}

/* line 16205, app/assets/stylesheets/application.scss */
.perk-chat-empty {
  padding: 18px 14px;
  color: var(--perk-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* line 16212, 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 16228, app/assets/stylesheets/application.scss */
.perk-chat-avatar.is-group-collage {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* line 16236, app/assets/stylesheets/application.scss */
.perk-chat-avatar-p {
  background: linear-gradient(145deg, #111, #4f5968);
}

/* line 16237, app/assets/stylesheets/application.scss */
.perk-chat-avatar-m {
  background: linear-gradient(145deg, #4b5563, #17191d);
}

/* line 16239, app/assets/stylesheets/application.scss */
.perk-chat-avatar:not(.is-group-collage) > img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* line 16246, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
}

/* line 16254, 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 16261, 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 16272, 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 16278, 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 16284, 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 16290, 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 16297, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="triangle"] {
  display: block;
  position: relative;
}

/* line 16302, 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 16313, 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 16320, 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 16326, 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 16332, 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 16348, app/assets/stylesheets/application.scss */
.perk-group-avatar-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* line 16356, app/assets/stylesheets/application.scss */
.perk-group-avatar-cell.is-count {
  display: grid;
  place-items: center;
  text-align: center;
  background: #ececef;
  color: #6e6e73;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0;
}

/* line 16369, app/assets/stylesheets/application.scss */
.perk-group-avatar-cell.is-count .perk-group-avatar-initial {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: inherit;
}

/* line 16382, app/assets/stylesheets/application.scss */
.perk-group-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

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

/* line 16414, app/assets/stylesheets/application.scss */
.perk-chat-copy-top,
.perk-chat-copy-bottom {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

/* line 16422, app/assets/stylesheets/application.scss */
.perk-chat-copy-bottom {
  align-items: center;
}

/* line 16426, app/assets/stylesheets/application.scss */
.perk-chat-copy-bottom[hidden] {
  display: none !important;
}

/* line 16430, app/assets/stylesheets/application.scss */
.perk-chat-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

/* line 16438, app/assets/stylesheets/application.scss */
.perk-chat-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  color: #17191d;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* line 16452, 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 16460, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-time {
  color: #17191d;
}

/* line 16464, 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 16477, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-preview {
  color: #17191d;
  font-weight: 700;
}

/* line 16482, app/assets/stylesheets/application.scss */
.perk-chat-preview .perk-mention-link,
.perk-chat-row.is-unread .perk-chat-preview .perk-mention-link {
  color: #0a66c2;
  font-weight: 700;
}

/* line 16488, app/assets/stylesheets/application.scss */
.perk-chat-preview[hidden] {
  display: none !important;
}

/* line 16492, app/assets/stylesheets/application.scss */
.perk-chat-unread-pip {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17191d;
}

/* line 16500, app/assets/stylesheets/application.scss */
.perk-chat-unread-pip[hidden] {
  display: none !important;
}

/* line 16504, 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 16514, 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 16521, 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 16535, app/assets/stylesheets/application.scss */
.perk-chat-signin-button:hover {
  color: #fff;
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 16541, app/assets/stylesheets/application.scss */
.floating-ai-panel-head {
  cursor: grab;
  user-select: none;
}

/* line 16546, app/assets/stylesheets/application.scss */
.floating-ai-panel-head:active,
.floating-ai.is-dragging .floating-ai-panel-head {
  cursor: grabbing;
}

/* line 16551, app/assets/stylesheets/application.scss */
.floating-ai-panel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 16557, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker {
  position: absolute;
  inset: 0;
  z-index: 14;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--perk-ink, #17191d);
  box-shadow: 0 -8px 28px rgba(15, 18, 22, 0.14);
}

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

/* line 16572, 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 16582, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  color: #111;
}

/* line 16589, 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 16600, app/assets/stylesheets/application.scss */
.floating-ai-theme-text-btn.is-strong {
  color: #111;
  font-weight: 650;
  text-align: right;
}

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

/* line 16620, app/assets/stylesheets/application.scss */
.floating-ai-theme-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 16626, 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 16645, app/assets/stylesheets/application.scss */
.floating-ai-theme-action i {
  font-size: 20px;
}

/* line 16649, app/assets/stylesheets/application.scss */
.floating-ai-theme-action:hover {
  background: #e8eaed;
}

/* line 16653, app/assets/stylesheets/application.scss */
.floating-ai-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
}

/* line 16659, 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 16672, 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 16683, app/assets/stylesheets/application.scss */
.floating-ai-theme-card.is-selected .floating-ai-theme-card-preview {
  box-shadow: inset 0 0 0 3px #17191d;
}

/* line 16687, 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 16697, 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 16706, app/assets/stylesheets/application.scss */
.floating-ai-theme-hint {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* line 16714, app/assets/stylesheets/application.scss */
.floating-ai-theme-moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 16720, 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 16733, 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 16741, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood.is-selected .floating-ai-theme-mood-preview {
  box-shadow: inset 0 0 0 3px #17191d;
}

/* line 16745, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood-label {
  font-size: 13px;
  font-weight: 650;
}

/* line 16750, 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 16764, app/assets/stylesheets/application.scss */
.floating-ai-theme-apply:hover {
  background: #000;
}

/* line 16768, 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);
  font-weight: 300;
}

/* line 16775, 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 16780, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-bot {
  align-self: flex-start;
}

/* line 16784, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-user {
  align-self: flex-end;
}

@media (max-width: 1180px) {
  /* line 16789, app/assets/stylesheets/application.scss */
  body.perk-home {
    --perk-chat-col-min: 164px;
    --perk-chat-col-max: 224px;
  }
  /* line 16794, app/assets/stylesheets/application.scss */
  .perk-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(var(--perk-chat-col-min, 164px), var(--perk-chat-col-max, 224px));
  }
  /* line 16798, app/assets/stylesheets/application.scss */
  .hub-home #main-header nav {
    display: none;
  }
}

@media (max-width: 1020px) {
  /* line 16804, app/assets/stylesheets/application.scss */
  body.perk-home {
    --perk-chat-col-min: 164px;
    --perk-chat-col-max: 224px;
  }
  /* line 16809, app/assets/stylesheets/application.scss */
  .perk-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(var(--perk-chat-col-min, 164px), var(--perk-chat-col-max, 224px));
  }
}

@media (max-width: 900px) {
  /* line 16815, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed-list {
    max-width: var(--feed-content-width);
  }
  /* line 16819, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  /* line 16825, app/assets/stylesheets/application.scss */
  .perk-workspace {
    display: block;
    overflow: auto;
  }
  /* line 16830, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed {
    display: block;
  }
  /* line 16834, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-feed {
    display: none;
  }
  /* line 16838, 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 16843, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-workspace-center {
    display: none;
  }
  /* line 16847, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center {
    display: block;
    min-height: calc(100vh - var(--perk-bar-h));
  }
  /* line 16852, 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 > .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 16874, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .hub-styles-grid {
    column-count: 2;
  }
  /* line 16878, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
    max-width: 630px;
  }
  /* line 16882, 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 16889, app/assets/stylesheets/application.scss */
.perk-site-footer {
  background: var(--perk-surface);
  color: var(--perk-muted);
  font-size: 13px;
}

/* line 16895, 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 16902, app/assets/stylesheets/application.scss */
.perk-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 18px 0;
}

/* line 16910, app/assets/stylesheets/application.scss */
.perk-site-footer a {
  color: var(--perk-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

/* line 16916, app/assets/stylesheets/application.scss */
.perk-site-footer a:hover {
  color: var(--perk-ink);
}

/* line 16920, app/assets/stylesheets/application.scss */
.perk-page-content {
  min-height: 100vh;
  padding-top: var(--perk-bar-h);
  background: var(--perk-canvas-wash);
}

/* line 16926, app/assets/stylesheets/application.scss */
.perk-page-content > .hub-home {
  margin-top: calc(var(--perk-bar-h) * -1);
}

/* line 16930, 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 16942, 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 16951, app/assets/stylesheets/application.scss */
.perk-management-left,
.perk-management-right {
  display: flex;
  align-items: center;
  gap: var(--perk-space-4);
}

/* line 16958, 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 16971, 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 16982, 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 17005, app/assets/stylesheets/application.scss */
.perk-ios-count-badge[hidden],
.perk-ios-count-badge.is-empty {
  display: none !important;
}

/* line 17010, 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 17020, app/assets/stylesheets/application.scss */
.perk-activity-host {
  display: inline-flex;
  align-items: center;
}

/* line 17025, app/assets/stylesheets/application.scss */
button.perk-management-brand,
button.perk-management-brand-mark-btn,
button.perk-management-brand-name,
a.perk-management-brand-name {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  line-height: 1;
  text-decoration: none;
}

/* line 17040, app/assets/stylesheets/application.scss */
button.perk-management-brand-mark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* line 17047, app/assets/stylesheets/application.scss */
button.perk-management-brand-name,
a.perk-management-brand-name {
  display: inline-flex;
  align-items: center;
  height: 30px;
}

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

/* line 17073, app/assets/stylesheets/application.scss */
.perk-activity-overlay:not(.hidden) {
  display: flex;
}

/* line 17077, 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 17089, 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 17100, 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 17109, app/assets/stylesheets/application.scss */
.perk-activity-back,
.perk-activity-head-spacer {
  width: 44px;
  height: 44px;
}

/* line 17115, 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 17127, app/assets/stylesheets/application.scss */
.perk-activity-back:hover {
  background: #f3f3f5;
}

/* line 17131, 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 17145, app/assets/stylesheets/application.scss */
.perk-activity-loading[hidden],
.perk-activity-empty[hidden],
.perk-activity-scroll[hidden] {
  display: none !important;
}

/* line 17151, app/assets/stylesheets/application.scss */
.perk-activity-loading i,
.perk-activity-empty i {
  font-size: 34px;
  color: #b0b0b8;
}

/* line 17157, app/assets/stylesheets/application.scss */
.perk-activity-empty strong {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 17163, app/assets/stylesheets/application.scss */
.perk-activity-empty p {
  margin: 0;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.4;
  color: #6b6b73;
}

/* line 17171, 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 17179, 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 17191, app/assets/stylesheets/application.scss */
.perk-activity-row.is-friend-invite {
  cursor: default;
}

/* line 17195, app/assets/stylesheets/application.scss */
.perk-activity-row.is-unviewed {
  background: #f5f7fb;
}

/* line 17199, app/assets/stylesheets/application.scss */
.perk-activity-row:hover {
  background: #f3f3f5;
}

/* line 17203, app/assets/stylesheets/application.scss */
.perk-activity-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* line 17209, app/assets/stylesheets/application.scss */
.perk-activity-action {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* line 17220, app/assets/stylesheets/application.scss */
.perk-activity-action:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 17225, app/assets/stylesheets/application.scss */
.perk-activity-action.is-accept {
  background: #1a78f2;
  color: #fff;
}

/* line 17230, app/assets/stylesheets/application.scss */
.perk-activity-action.is-decline {
  background: #ececf0;
  color: #111;
}

/* line 17235, 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 17245, 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 17261, 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 17277, app/assets/stylesheets/application.scss */
.perk-activity-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

/* line 17285, app/assets/stylesheets/application.scss */
.perk-activity-text {
  font-size: 15px;
  line-height: 1.35;
  color: #111;
}

/* line 17291, app/assets/stylesheets/application.scss */
.perk-activity-text strong {
  font-weight: 700;
}

/* line 17295, app/assets/stylesheets/application.scss */
.perk-activity-time {
  font-size: 13px;
  color: #8e8e93;
}

@media (max-width: 720px) {
  /* line 17301, app/assets/stylesheets/application.scss */
  .perk-activity-sheet {
    max-width: none;
  }
}

/* line 17306, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

/* line 17313, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title h2 {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* line 17319, 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 17336, app/assets/stylesheets/application.scss */
.perk-feed-title-menu:hover,
.perk-feed-title-menu:focus {
  background: transparent;
  border: 0;
  color: #111;
  outline: none;
}

/* line 17344, app/assets/stylesheets/application.scss */
.perk-management-brand strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* line 17351, app/assets/stylesheets/application.scss */
.perk-management-brand:hover {
  color: var(--perk-ink);
}

/* line 17355, 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 17366, 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 17383, 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 17395, app/assets/stylesheets/application.scss */
.perk-ai-hub-button .perk-ai-hub-icon svg {
  display: block;
}

/* line 17399, app/assets/stylesheets/application.scss */
.perk-ai-hub-button:hover {
  background: #f4f5f7;
  border-color: #111;
  color: #111;
  transform: translateY(-1px);
}

/* line 17406, 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 17422, 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 17435, 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 17446, app/assets/stylesheets/application.scss */
.browser-hub.is-characters {
  padding-top: 0;
  background: #f5f6f8;
}

/* line 17451, app/assets/stylesheets/application.scss */
.ai-characters-root {
  display: contents;
}

/* line 17455, 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 17466, 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 17471, 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 17487, 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 17502, app/assets/stylesheets/application.scss */
.ai-characters-loading.hidden {
  display: none;
}

/* line 17507, 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 17520, app/assets/stylesheets/application.scss */
.ai-hub-hero {
  padding: 0;
}

/* line 17524, 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 17537, app/assets/stylesheets/application.scss */
.ai-hub-empty.hidden {
  display: none;
}

/* line 17541, 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 17553, app/assets/stylesheets/application.scss */
.ai-hub-empty strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #17191d;
}

/* line 17560, app/assets/stylesheets/application.scss */
.ai-hub-empty p {
  margin: 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.55;
}

/* line 17567, 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 17582, app/assets/stylesheets/application.scss */
.ai-hub-primary-btn:hover {
  background: #30343a;
}

/* line 17586, app/assets/stylesheets/application.scss */
.ai-hub-stage.hidden {
  display: none;
}

/* line 17590, 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 17601, 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 17613, 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 17621, 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 17636, app/assets/stylesheets/application.scss */
.ai-hub-billboard-chrome > * {
  pointer-events: auto;
}

/* line 17640, 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 17656, 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 17672, app/assets/stylesheets/application.scss */
.ai-hub-chrome-badge.hidden {
  display: none;
}

/* line 17676, app/assets/stylesheets/application.scss */
.ai-hub-chrome-btn:hover,
.ai-hub-icon-btn:hover {
  background: #fff;
}

/* line 17681, app/assets/stylesheets/application.scss */
.ai-hub-icon-btn.hidden {
  display: none;
}

/* line 17685, 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 17698, app/assets/stylesheets/application.scss */
.ai-hub-dots.hidden {
  display: none;
}

/* line 17702, 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 17712, app/assets/stylesheets/application.scss */
.ai-hub-dot.is-active {
  width: 8px;
  height: 8px;
  background: #17191d;
}

/* line 17718, 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 17735, app/assets/stylesheets/application.scss */
.ai-hub-stage.is-paged .ai-hub-nav-btn {
  display: inline-flex;
}

/* line 17739, app/assets/stylesheets/application.scss */
.ai-hub-nav-prev {
  left: 16px;
}

/* line 17740, app/assets/stylesheets/application.scss */
.ai-hub-nav-next {
  right: 16px;
}

/* line 17742, 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 17753, app/assets/stylesheets/application.scss */
.ai-hub-avatar-wrap {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* line 17761, 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 17770, app/assets/stylesheets/application.scss */
.ai-hub-ring:nth-child(2) {
  inset: -32px;
  animation-delay: 0.35s;
  opacity: 0.7;
}

/* line 17776, 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 17787, 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 17799, 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 17814, app/assets/stylesheets/application.scss */
.ai-hub-identity-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  gap: 6px;
}

/* line 17822, app/assets/stylesheets/application.scss */
.ai-hub-identity-tools .ai-hub-icon-btn {
  width: 34px;
  height: 34px;
  box-shadow: none;
}

/* line 17828, 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 17837, 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 17846, app/assets/stylesheets/application.scss */
.ai-hub-username {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

/* line 17852, 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 17866, app/assets/stylesheets/application.scss */
.ai-hub-greeting.is-visible {
  opacity: 1;
}

/* line 17870, app/assets/stylesheets/application.scss */
.ai-hub-greeting[hidden],
.ai-hub-username[hidden] {
  display: none !important;
}

/* line 17875, app/assets/stylesheets/application.scss */
.ai-hub-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* line 17883, 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 17902, app/assets/stylesheets/application.scss */
.ai-hub-play:hover,
.ai-hub-primary:hover {
  background: #30343a;
}

/* line 17907, app/assets/stylesheets/application.scss */
.ai-hub-primary-ghost {
  background: #eef2f6;
  color: #17191d;
}

/* line 17912, app/assets/stylesheets/application.scss */
.ai-hub-primary-ghost:hover {
  background: #e5eaf0;
}

/* line 17916, 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 17927, app/assets/stylesheets/application.scss */
.ai-hub-profile-btn:hover {
  background: #e5eaf0;
}

/* line 17931, app/assets/stylesheets/application.scss */
.ai-hub-catalog {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px clamp(16px, 3vw, 36px) 8px;
}

/* line 17938, app/assets/stylesheets/application.scss */
.ai-hub-row-head,
.ai-hub-catalog-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

/* line 17946, 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 17956, app/assets/stylesheets/application.scss */
.ai-hub-row-head h3 {
  font-size: 20px;
}

/* line 17960, app/assets/stylesheets/application.scss */
.ai-hub-row-head p,
.ai-hub-catalog-head p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* line 17967, 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 17974, app/assets/stylesheets/application.scss */
.ai-hub-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 17980, 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 17991, app/assets/stylesheets/application.scss */
.ai-hub-rail::-webkit-scrollbar {
  height: 6px;
}

/* line 17995, 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 18008, 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 18013, app/assets/stylesheets/application.scss */
.ai-hub-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef0f3;
}

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

/* line 18026, 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 18039, 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 18055, app/assets/stylesheets/application.scss */
.ai-hub-card-toggle.is-selected {
  background: #17191d;
  color: #fff;
}

/* line 18060, app/assets/stylesheets/application.scss */
.ai-hub-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  flex: 1;
}

/* line 18068, 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 18077, app/assets/stylesheets/application.scss */
.ai-hub-card-role {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 18083, 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 18095, 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 18103, 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 18116, app/assets/stylesheets/application.scss */
.ai-hub-card-chat {
  border: 0;
  background: #17191d;
  color: #fff;
}

/* line 18122, app/assets/stylesheets/application.scss */
.ai-hub-card-talk {
  border: 0;
  background: #eef2f6;
  color: #17191d;
}

/* line 18128, 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 18140, app/assets/stylesheets/application.scss */
.ai-hub-create.hidden,
.ai-hub-profile.hidden,
.ai-hub-notifications.hidden {
  display: none !important;
}

/* line 18146, 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 18154, 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 18166, app/assets/stylesheets/application.scss */
.ai-hub-notifications-card {
  width: min(480px, 100%);
  max-height: min(72vh, 640px);
  overflow: auto;
}

/* line 18172, 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 18181, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty.hidden {
  display: none;
}

/* line 18185, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty i {
  font-size: 22px;
  color: #111827;
}

/* line 18190, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty strong {
  font-size: 17px;
  font-weight: 800;
  color: #17191d;
}

/* line 18196, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* line 18202, app/assets/stylesheets/application.scss */
.ai-hub-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 18208, app/assets/stylesheets/application.scss */
.ai-hub-notification-card {
  padding: 14px;
  border-radius: 16px;
  background: #f8f9fb;
  border: 1px solid #eceff3;
}

/* line 18215, app/assets/stylesheets/application.scss */
.ai-hub-notification-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 18223, app/assets/stylesheets/application.scss */
.ai-hub-notification-head strong {
  font-size: 15px;
  color: #17191d;
}

/* line 18228, app/assets/stylesheets/application.scss */
.ai-hub-notification-head span {
  font-size: 12px;
  color: #6b7280;
}

/* line 18233, app/assets/stylesheets/application.scss */
.ai-hub-notification-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
}

/* line 18240, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions {
  display: flex;
  gap: 8px;
}

/* line 18245, 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 18256, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions button.is-primary {
  background: #17191d;
  color: #fff;
}

/* line 18261, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

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

/* line 18274, app/assets/stylesheets/application.scss */
.ai-hub-create-head strong {
  font-size: 17px;
  font-weight: 800;
  color: #17191d;
}

/* line 18280, 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 18292, app/assets/stylesheets/application.scss */
.ai-hub-create-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

/* line 18299, app/assets/stylesheets/application.scss */
.ai-hub-create-card label span {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 18305, 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 18315, app/assets/stylesheets/application.scss */
.ai-hub-create-error {
  margin: 0 0 10px;
  color: var(--perk-ink);
  font-size: 12px;
  font-weight: 600;
}

/* line 18322, app/assets/stylesheets/application.scss */
.ai-hub-create-error.hidden {
  display: none;
}

/* line 18326, 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 18337, app/assets/stylesheets/application.scss */
.ai-hub-profile-role {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 18344, app/assets/stylesheets/application.scss */
.ai-hub-profile-body {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

/* line 18351, app/assets/stylesheets/application.scss */
.ai-hub-profile-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* line 18357, 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: var(--perk-ink);
  font-weight: 700;
  cursor: pointer;
}

/* line 18368, app/assets/stylesheets/application.scss */
.ai-hub-delete.hidden {
  display: none;
}

@media (max-width: 820px) {
  /* line 18373, app/assets/stylesheets/application.scss */
  .ai-hub-billboard {
    min-height: 480px;
  }
  /* line 18377, app/assets/stylesheets/application.scss */
  .ai-hub-billboard-portrait {
    min-height: 240px;
    padding-top: 64px;
  }
  /* line 18382, app/assets/stylesheets/application.scss */
  .ai-hub-avatar {
    width: 168px;
    height: 168px;
  }
  /* line 18387, app/assets/stylesheets/application.scss */
  .ai-hub-billboard-copy {
    width: calc(100% - 24px);
    margin: 0 12px 16px;
    padding: 16px;
  }
  /* line 18393, app/assets/stylesheets/application.scss */
  .ai-hub-nav-btn {
    display: none !important;
  }
  /* line 18397, app/assets/stylesheets/application.scss */
  .ai-hub-actions {
    flex-wrap: wrap;
  }
  /* line 18401, app/assets/stylesheets/application.scss */
  .ai-hub-play {
    flex: 1 1 calc(50% - 28px);
  }
  /* line 18405, app/assets/stylesheets/application.scss */
  .ai-hub-catalog-head h2 {
    font-size: 22px;
  }
  /* line 18409, app/assets/stylesheets/application.scss */
  .ai-hub-rail {
    grid-auto-columns: minmax(168px, 78vw);
  }
}

@media (min-width: 1100px) {
  /* line 18415, 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 18424, app/assets/stylesheets/application.scss */
  .ai-hub-card {
    min-height: 330px;
  }
}

@media (min-width: 900px) {
  /* line 18430, 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 18439, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-card {
    min-height: 348px;
  }
  /* line 18443, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-card-media {
    aspect-ratio: 4 / 3;
  }
  /* line 18447, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-avatar {
    width: clamp(184px, 24vw, 276px);
    height: clamp(184px, 24vw, 276px);
  }
}

/* line 18453, 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 18467, app/assets/stylesheets/application.scss */
.ai-voice-overlay.hidden {
  display: none !important;
}

/* line 18471, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-opening,
.ai-voice-overlay.is-opening * {
  pointer-events: none;
}

/* Compact live chat: same footprint as AI chat window; rest of the app stays interactive. */
/* line 18477, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: visible;
  pointer-events: none;
  background: transparent;
}

/* line 18486, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-scrim {
  display: none;
}

/* line 18490, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-sheet {
  pointer-events: auto;
  position: fixed;
  margin: 0;
  width: 360px;
  height: 520px;
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 16px);
  border-radius: 20px;
  box-shadow: 0 22px 56px rgba(23, 25, 29, 0.22), 0 2px 8px rgba(23, 25, 29, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* line 18505, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-stage {
  width: min(148px, 42%);
  height: auto;
  aspect-ratio: 1;
}

/* line 18511, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-identity strong {
  font-size: 22px;
}

/* line 18515, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-body {
  padding: 4px 18px 8px;
}

/* line 18519, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-dock {
  padding: 6px 14px 16px;
}

/* line 18523, 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 18538, app/assets/stylesheets/application.scss */
.ai-voice-scrim:focus {
  outline: none;
}

/* line 18542, 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 18560, 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 18569, 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 18580, app/assets/stylesheets/application.scss */
.ai-voice-bg.has-scene {
  background-color: #07090f;
}

/* Soft daylight ambient — iOS AICharacterAmbientBackground for default assistants. */
/* line 18585, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-bg.is-ambient,
.ai-voice-bg.is-ambient {
  filter: saturate(1.05) brightness(0.92);
  transform: scale(1.02);
}

/* line 18591, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-banner-shade {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.28) 0%, rgba(8, 12, 20, 0.08) 24%, rgba(8, 12, 20, 0.22) 52%, rgba(8, 12, 20, 0.72) 78%, #0b1018 100%);
}

/* line 18596, 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 18601, 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 18608, 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 18613, 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 18618, 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 18623, 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 18628, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="listening"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  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 18634, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="speaking"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  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 18640, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="thinking"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  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 18646, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="error"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  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 18652, 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 18663, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-grabber {
  display: block;
}

/* line 18667, app/assets/stylesheets/application.scss */
.ai-voice-top,
.ai-voice-body,
.ai-voice-dock {
  position: relative;
  z-index: 2;
}

/* line 18674, app/assets/stylesheets/application.scss */
.ai-voice-top {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 8px;
}

/* line 18682, app/assets/stylesheets/application.scss */
.ai-voice-top-trailing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

/* line 18689, app/assets/stylesheets/application.scss */
.ai-voice-expand {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* line 18704, app/assets/stylesheets/application.scss */
.ai-voice-expand:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* line 18708, app/assets/stylesheets/application.scss */
.ai-voice-expand svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* line 18714, app/assets/stylesheets/application.scss */
.ai-voice-expand .is-collapse {
  display: none;
}

/* line 18718, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-expanded .ai-voice-expand .is-expand {
  display: none;
}

/* line 18722, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-expanded .ai-voice-expand .is-collapse {
  display: block;
}

/* line 18726, 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 18741, app/assets/stylesheets/application.scss */
.ai-voice-close svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* line 18747, app/assets/stylesheets/application.scss */
.ai-voice-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* line 18751, 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 18759, 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 18775, 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 18784, 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 18797, 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 18809, 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 18820, app/assets/stylesheets/application.scss */
.ai-voice-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(188px, 46vw);
  height: auto;
  aspect-ratio: 1;
  margin: 4px auto 0;
  flex-shrink: 0;
}

/* line 18832, 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 18841, 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 18851, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(1) {
  width: calc(100% + 18px);
  height: calc(100% + 18px);
}

/* line 18856, 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 18862, 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 18868, app/assets/stylesheets/application.scss */
.ai-voice-orb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 2;
}

/* line 18878, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-default-orb .ai-voice-avatar-wrap,
.ai-voice-overlay.is-default-orb .ai-voice-orbit {
  display: none !important;
}

/* line 18883, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-character-portrait .ai-voice-orb,
.ai-voice-overlay.is-character-portrait .ai-voice-orbit,
.ai-voice-overlay.is-character-portrait .ai-voice-avatar-wrap,
.ai-voice-overlay.is-character-portrait .ai-voice-wave {
  display: none !important;
}

/* line 18890, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-character-portrait .ai-voice-stage {
  width: min(168px, 38%);
  opacity: 0.01;
  pointer-events: none;
}

/* line 18896, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-character-portrait .ai-voice-bg.has-scene {
  background-position: center 28%;
  transform: scale(1.06);
  filter: saturate(1.06) brightness(0.92);
}

/* line 18902, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-character-portrait .ai-voice-banner-shade {
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.45) 0%, rgba(8, 10, 16, 0.12) 22%, rgba(8, 10, 16, 0.18) 48%, rgba(8, 10, 16, 0.72) 76%, #0b1018 100%);
}

/* line 18907, app/assets/stylesheets/application.scss */
.ai-voice-avatar-wrap {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

/* line 18918, app/assets/stylesheets/application.scss */
.ai-voice-avatar {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid rgba(255, 255, 255, 0.88);
  display: block;
  background: #1a1d24;
}

/* line 18930, 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 18948, 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 18957, 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 18962, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

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

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

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

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

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

/* line 18968, 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 18975, 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 18986, 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 18997, app/assets/stylesheets/application.scss */
.ai-voice-status {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

/* line 19004, app/assets/stylesheets/application.scss */
.ai-voice-tool {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
}

/* line 19011, app/assets/stylesheets/application.scss */
.ai-voice-caption {
  width: 100%;
  max-width: 340px;
  height: 2.9em;
  min-height: 2.9em;
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

/* line 19023, app/assets/stylesheets/application.scss */
.ai-voice-transcript {
  margin: 0;
  width: 100%;
  max-height: 2.7em;
  padding: 0 4px;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 100%);
}

/* line 19047, app/assets/stylesheets/application.scss */
.ai-voice-transcript::-webkit-scrollbar {
  display: none;
}

/* line 19051, app/assets/stylesheets/application.scss */
.ai-voice-transcript[hidden] {
  display: none !important;
}

/* line 19055, app/assets/stylesheets/application.scss */
.ai-voice-caption:has(.ai-voice-transcript[hidden]) {
  opacity: 0;
}

/* line 19059, 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 19071, app/assets/stylesheets/application.scss */
.ai-voice-retry:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* line 19075, app/assets/stylesheets/application.scss */
.ai-voice-remote-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* line 19083, app/assets/stylesheets/application.scss */
.ai-voice-dock {
  padding: 8px 20px calc(22px + env(safe-area-inset-bottom, 0px));
}

/* line 19087, app/assets/stylesheets/application.scss */
.ai-voice-controls {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* line 19094, 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 19109, 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 19122, 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 19127, 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 19132, 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 19139, app/assets/stylesheets/application.scss */
.ai-voice-control.is-muted .ai-voice-control-icon {
  background: #fff;
  color: #111827;
}

/* line 19144, 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 19149, 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 19158, app/assets/stylesheets/application.scss */
.ai-voice-hangup .ai-voice-control-icon i {
  transform: rotate(135deg);
}

/* line 19162, 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 19172, app/assets/stylesheets/application.scss */
  .ai-voice-overlay {
    align-items: flex-end;
    padding: 0;
  }
  /* line 19177, app/assets/stylesheets/application.scss */
  .ai-voice-sheet {
    width: 100%;
    height: min(92dvh, 820px);
    max-height: 100dvh;
    border-radius: 28px 28px 0 0;
  }
  /* line 19184, app/assets/stylesheets/application.scss */
  .ai-voice-grabber {
    display: block;
  }
  /* line 19188, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    width: min(176px, 48vw);
    height: auto;
    aspect-ratio: 1;
  }
  /* line 19194, app/assets/stylesheets/application.scss */
  .ai-voice-identity strong {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  /* line 19200, app/assets/stylesheets/application.scss */
  .ai-voice-top {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 19205, app/assets/stylesheets/application.scss */
  .ai-voice-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  /* line 19210, app/assets/stylesheets/application.scss */
  .ai-voice-control-icon {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }
  /* line 19216, app/assets/stylesheets/application.scss */
  .ai-voice-hangup .ai-voice-control-icon {
    width: 62px;
    height: 62px;
  }
}

@media (max-height: 720px) {
  /* line 19223, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    width: 150px;
    height: auto;
    aspect-ratio: 1;
  }
  /* line 19229, app/assets/stylesheets/application.scss */
  .ai-voice-identity {
    margin-top: 14px;
  }
  /* line 19233, app/assets/stylesheets/application.scss */
  .ai-voice-identity strong {
    font-size: 24px;
  }
  /* line 19237, app/assets/stylesheets/application.scss */
  .ai-voice-caption {
    height: 2.7em;
    min-height: 2.7em;
    margin-top: 10px;
  }
  /* line 19243, app/assets/stylesheets/application.scss */
  .ai-voice-privacy {
    display: none;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  /* line 19249, app/assets/stylesheets/application.scss */
  .ai-voice-overlay {
    padding: 12px;
    align-items: center;
  }
  /* line 19254, app/assets/stylesheets/application.scss */
  .ai-voice-sheet {
    width: min(860px, calc(100vw - 24px));
    height: calc(100dvh - 24px);
    border-radius: 28px;
  }
  /* line 19260, app/assets/stylesheets/application.scss */
  .ai-voice-grabber {
    display: none;
  }
  /* line 19264, app/assets/stylesheets/application.scss */
  .ai-voice-top {
    width: 100%;
    padding-bottom: 0;
  }
  /* line 19269, 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 19284, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    grid-area: stage;
    margin: 0;
  }
  /* line 19289, app/assets/stylesheets/application.scss */
  .ai-voice-identity {
    grid-area: identity;
    align-items: flex-start;
    margin-top: 0;
    text-align: left;
  }
  /* line 19296, app/assets/stylesheets/application.scss */
  .ai-voice-caption {
    grid-area: caption;
    margin-top: 0;
    justify-content: flex-start;
    align-items: flex-end;
    height: 2.7em;
    min-height: 2.7em;
  }
  /* line 19305, app/assets/stylesheets/application.scss */
  .ai-voice-retry {
    grid-area: retry;
    margin-top: 0;
    justify-self: start;
  }
  /* line 19311, app/assets/stylesheets/application.scss */
  .ai-voice-dock {
    width: 100%;
    padding-top: 0;
    padding-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 19319, app/assets/stylesheets/application.scss */
  .ai-voice-orbit span,
.ai-voice-live-dot,
.ai-voice-wave i {
    animation: none !important;
  }
}

/* line 19326, app/assets/stylesheets/application.scss */
.perk-language-menu,
.perk-account-menu {
  position: relative;
}

/* line 19331, 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 19340, app/assets/stylesheets/application.scss */
.perk-language-menu summary::-webkit-details-marker,
.perk-account-menu summary::-webkit-details-marker {
  display: none;
}

/* line 19345, 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 19355, app/assets/stylesheets/application.scss */
.perk-language-menu summary i,
.perk-language-menu summary span {
  color: #111;
}

/* line 19360, app/assets/stylesheets/application.scss */
.perk-language-menu summary:hover {
  background: #f3f4f6;
  color: #111;
}

/* line 19365, app/assets/stylesheets/application.scss */
.perk-account-menu summary {
  gap: 10px;
  min-width: 190px;
  border-radius: 15px;
  padding: 6px 9px;
}

/* line 19372, app/assets/stylesheets/application.scss */
.perk-account-menu summary:hover {
  background: var(--perk-field);
}

/* line 19376, 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 19392, app/assets/stylesheets/application.scss */
.perk-management-avatar-sm {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 12px;
}

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

/* line 19405, app/assets/stylesheets/application.scss */
.perk-account-summary {
  min-width: 0;
}

/* line 19409, 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 19418, app/assets/stylesheets/application.scss */
.perk-account-summary strong {
  color: var(--perk-ink);
  font-size: 15px;
  font-weight: 400;
}

/* line 19424, app/assets/stylesheets/application.scss */
.perk-account-summary small {
  margin-top: 2px;
  color: var(--perk-muted-soft);
  font-size: 12px;
}

/* line 19430, 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 19443, 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: 400;
  text-align: left;
  text-decoration: none;
}

/* line 19460, 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 19466, app/assets/stylesheets/application.scss */
.perk-management-menu a.active {
  background: var(--perk-ink);
  color: #fff;
}

/* line 19471, app/assets/stylesheets/application.scss */
.perk-account-options {
  min-width: 245px;
}

/* line 19475, app/assets/stylesheets/application.scss */
.perk-account-card {
  min-width: 300px;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 18px;
  background: var(--perk-surface);
  box-shadow: 0 18px 48px rgba(23, 25, 29, 0.18);
  -webkit-overflow-scrolling: touch;
}

/* line 19490, app/assets/stylesheets/application.scss */
.perk-account-card-hero {
  position: relative;
  margin: 0;
}

/* line 19495, app/assets/stylesheets/application.scss */
.perk-account-card-banner {
  position: relative;
  height: 72px;
  overflow: hidden;
  isolation: isolate;
  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 19505, app/assets/stylesheets/application.scss */
.perk-account-card-banner.has-photo {
  background: #d7dbe2;
}

/* line 19509, 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 19519, 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 19527, app/assets/stylesheets/application.scss */
.perk-account-card-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}

/* line 19534, app/assets/stylesheets/application.scss */
.perk-account-card-identity-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 19542, app/assets/stylesheets/application.scss */
.perk-account-card-avatar {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(23, 25, 29, 0.14);
  font-size: 17px;
  margin-top: -28px;
}

/* line 19556, app/assets/stylesheets/application.scss */
.perk-account-card-identity-text {
  min-width: 0;
  flex: 1 1 auto;
}

/* line 19561, app/assets/stylesheets/application.scss */
.perk-account-card-identity-text strong,
.perk-account-card-identity-text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 19569, app/assets/stylesheets/application.scss */
.perk-account-card-identity-text strong {
  color: var(--perk-ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 19577, app/assets/stylesheets/application.scss */
.perk-account-card-identity-text span {
  margin-top: 3px;
  color: var(--perk-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

/* line 19585, app/assets/stylesheets/application.scss */
.perk-account-card-qr-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0 14px 10px;
  padding: 10px;
  border-radius: 14px;
  background: var(--perk-field);
  isolation: isolate;
}

/* line 19600, app/assets/stylesheets/application.scss */
.perk-account-card-qr {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  max-width: 100%;
  min-width: 0;
  min-height: 120px;
  padding: 10px;
  overflow: visible;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.08);
  box-shadow: 0 4px 12px rgba(23, 25, 29, 0.06);
}

/* line 19616, app/assets/stylesheets/application.scss */
.perk-account-card-qr canvas {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
}

/* line 19626, app/assets/stylesheets/application.scss */
.perk-account-card-qr-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.08);
}

/* line 19645, app/assets/stylesheets/application.scss */
.perk-account-card-qr-share:hover {
  background: #fff;
  color: var(--perk-ink);
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.16);
}

/* line 19651, app/assets/stylesheets/application.scss */
.perk-account-card-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0 8px 8px;
}

/* line 19659, 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: 400;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
}

/* line 19678, 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 19684, 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 19696, 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 19703, 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: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 19713, 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 19719, 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: 400;
  letter-spacing: 0.04em;
}

/* line 19734, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-lang-pill:hover {
  background: #eceef1;
  color: var(--perk-ink);
}

/* line 19739, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-lang-pill.is-active {
  background: var(--perk-ink);
  color: #fff;
}

/* line 19744, app/assets/stylesheets/application.scss */
.perk-account-card .button_to {
  margin: 4px 0 0;
  border-top: 0;
  padding-top: 0;
}

/* line 19750, app/assets/stylesheets/application.scss */
.perk-account-card .perk-menu-logout {
  color: var(--perk-ink);
}

/* line 19754, app/assets/stylesheets/application.scss */
.perk-account-card .perk-menu-logout .perk-account-card-icon {
  background: #fdecec;
  color: var(--perk-ink);
}

/* line 19759, 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 19766, 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: 400;
  letter-spacing: 0.02em;
}

/* line 19775, app/assets/stylesheets/application.scss */
.perk-account-language-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 19781, 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 19790, app/assets/stylesheets/application.scss */
.perk-account-menu-head > div {
  min-width: 0;
}

/* line 19794, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong,
.perk-account-menu-head span {
  display: block;
}

/* line 19799, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong {
  font-size: 13px;
  font-weight: 400;
}

/* line 19804, app/assets/stylesheets/application.scss */
.perk-account-menu-head span {
  margin-top: 2px;
  color: #858c96;
  font-size: 10px;
}

/* line 19810, app/assets/stylesheets/application.scss */
.perk-account-options .button_to {
  margin: 0;
  border-top: 1px solid #eceef1;
  padding-top: 6px;
}

/* line 19816, app/assets/stylesheets/application.scss */
.perk-account-options .perk-menu-logout {
  color: var(--perk-ink);
}

/* line 19820, 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 19836, app/assets/stylesheets/application.scss */
.perk-login-link {
  color: var(--perk-ink-soft);
}

/* line 19840, app/assets/stylesheets/application.scss */
.perk-login-link:hover {
  color: var(--perk-ink);
  background: var(--perk-field);
}

/* line 19845, app/assets/stylesheets/application.scss */
.perk-cookie-consent {
  font-size: 12px;
  line-height: 1.45;
}

/* line 19850, app/assets/stylesheets/application.scss */
.perk-cookie-consent__title {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.35;
}

/* line 19856, app/assets/stylesheets/application.scss */
.perk-cookie-consent__body {
  font-size: 12px;
  line-height: 1.45;
}

/* line 19861, app/assets/stylesheets/application.scss */
.perk-signup-button,
.perk-login-button {
  border: 0;
  background: var(--perk-ink);
  color: #fff;
}

/* line 19868, 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 19875, 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 19884, app/assets/stylesheets/application.scss */
.perk-auth-page-content {
  min-height: 100vh;
}

/* line 19888, 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 19899, 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 19908, 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 19918, 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 19931, app/assets/stylesheets/application.scss */
.perk-auth-logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
}

/* line 19939, app/assets/stylesheets/application.scss */
.perk-auth-scene {
  position: relative;
  flex: 1;
  width: min(100%, 440px);
  margin: 20px auto;
  min-height: 360px;
}

/* line 19947, 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: transparent;
  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 19961, app/assets/stylesheets/application.scss */
.perk-auth-floating-app:has(.perk-auth-ios-drive),
.perk-auth-floating-app:has(img) {
  background: #fff;
}

/* line 19966, app/assets/stylesheets/application.scss */
.perk-auth-floating-app img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* line 19973, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: inherit;
  color: #fff;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

/* line 19991, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph .heroicon,
.perk-auth-ios-glyph svg {
  display: block;
  width: 48%;
  height: 48%;
  flex-shrink: 0;
  color: #fff;
  stroke: currentColor;
}

/* line 20001, app/assets/stylesheets/application.scss */
.perk-auth-ios-drive {
  width: 56%;
  height: 56%;
}

/* line 20006, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-focus {
  background: #2673eb;
}

/* line 20007, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-job, .perk-auth-ios-glyph.is-social {
  background: #008a7a;
}

/* line 20008, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-mail {
  background: #296bdb;
}

/* line 20009, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-word {
  background: #2b579a;
  font-size: 22px;
}

/* line 20010, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-pdf {
  background: #e0292e;
  font-size: 10px;
}

/* line 20011, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-tutor, .perk-auth-ios-glyph.is-ai {
  background: #7a52d1;
}

/* line 20012, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-ppt {
  background: #d1451f;
  font-size: 22px;
}

/* line 20013, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-company {
  background: #705cd1;
}

/* line 20014, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-map {
  background: #2ea86b;
}

/* line 20015, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-food {
  background: #eb613d;
}

/* line 20016, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-calendar {
  background: #3b82f6;
}

/* line 20017, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-media {
  background: #4052b5;
}

/* line 20018, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-research {
  background: #d98c21;
}

/* line 20019, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-message {
  background: #30bd69;
}

/* line 20021, 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 20022, 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 20023, 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 20024, 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 20025, 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 20026, 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 20027, 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 20028, 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 20029, 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 20030, 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 20031, 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 20032, 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 20033, 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 20034, 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 20035, 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 20036, 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 20037, 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 20039, 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 20049, 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 20058, 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 20071, 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 20081, app/assets/stylesheets/application.scss */
.perk-auth-scene-ai {
  top: 6%;
  left: 0;
  width: 230px;
  padding: 14px;
  z-index: 4;
}

/* line 20089, 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 20097, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-user {
  margin-left: 18px;
  background: var(--perk-auth-field);
}

/* line 20102, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-ai {
  margin-right: 12px;
  background: #eef1f4;
}

/* line 20107, 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 20116, app/assets/stylesheets/application.scss */
.perk-auth-scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #17191d;
}

/* line 20123, app/assets/stylesheets/application.scss */
.perk-auth-scene-people {
  display: flex;
  margin: 2px 0 10px;
}

/* line 20128, 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 20137, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(2) {
  background: linear-gradient(145deg, #c7d2fe, #94a3b8);
}

/* line 20141, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(3) {
  background: linear-gradient(145deg, #cbd5e1, #64748b);
}

/* line 20145, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows {
  display: grid;
  gap: 8px;
}

/* line 20150, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div {
  height: 9px;
  border-radius: 999px;
  background: #e8eaee;
}

/* line 20156, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div.is-short {
  width: 62%;
}

/* line 20160, 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 20169, 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 20177, app/assets/stylesheets/application.scss */
.perk-auth-scene-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* line 20183, 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 20194, 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 20211, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge i {
  font-size: 11px;
}

/* line 20215, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-social {
  right: 8%;
  bottom: 28%;
}

/* line 20220, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-companion {
  left: 4%;
  bottom: 8%;
  animation-delay: -1.5s;
}

/* line 20226, 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 20243, app/assets/stylesheets/application.scss */
.perk-auth-slogan span:not(.perk-auth-slogan-dot) {
  color: #30353c;
}

/* line 20247, 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 20258, app/assets/stylesheets/application.scss */
.perk-auth-form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 48px;
  position: relative;
}

/* line 20266, app/assets/stylesheets/application.scss */
.perk-auth-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 396px;
  min-height: 520px;
}

/* line 20275, app/assets/stylesheets/application.scss */
.perk-auth-alert,
.perk-auth-errors {
  display: none;
}

/* line 20280, 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 20295, app/assets/stylesheets/application.scss */
.perk-auth-status.is-error {
  background: transparent;
  color: var(--perk-auth-muted);
}

/* line 20300, app/assets/stylesheets/application.scss */
.perk-auth-methods {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

/* line 20309, app/assets/stylesheets/application.scss */
.perk-auth-methods-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  width: 100%;
}

/* line 20317, 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 20327, app/assets/stylesheets/application.scss */
.perk-auth-login-gate {
  align-items: center;
  text-align: center;
}

/* line 20332, 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 20340, 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 20347, app/assets/stylesheets/application.scss */
.perk-auth-download-copy {
  margin: 0;
  color: var(--perk-auth-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* line 20354, app/assets/stylesheets/application.scss */
.perk-auth-download-copy-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* line 20361, app/assets/stylesheets/application.scss */
.perk-auth-download-gate {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

/* line 20371, app/assets/stylesheets/application.scss */
.perk-auth-download-actions {
  align-items: center;
}

/* line 20375, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link-featured {
  margin-top: 0;
}

/* line 20379, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link-featured .perk-auth-app-store-badge {
  width: 148px;
}

/* line 20383, 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 20388, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-login-gate {
  display: none !important;
}

/* line 20392, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-brand-pane {
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 4px;
  border-bottom: 0;
}

/* line 20400, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-home {
  margin: 0 auto;
}

/* line 20404, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-slogan {
  margin: 0 auto;
  max-width: none;
}

/* line 20409, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-form-pane {
  padding-top: 8px;
}

/* line 20413, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-methods {
  gap: 24px;
  justify-content: flex-start;
}

/* line 20418, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-heading {
  font-size: 26px;
  letter-spacing: -0.03em;
}

/* line 20423, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-meta {
  margin-top: auto;
  padding-top: 20px;
}

/* Compact 12-icon cloud — same style as desktop, sized for phones */
/* line 20429, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene {
  flex: none;
  width: min(100%, 340px);
  min-height: 210px;
  height: 210px;
  margin: 10px auto 6px;
  overflow: visible;
}

/* line 20438, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app {
  filter: drop-shadow(0 8px 12px rgba(23, 25, 29, 0.12));
}

/* line 20442, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-1 {
  top: 2%;
  left: 2%;
  width: 48px;
  height: 48px;
}

/* line 20443, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-2 {
  top: 0;
  left: 30%;
  width: 40px;
  height: 40px;
}

/* line 20444, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-3 {
  top: 4%;
  left: 54%;
  width: 44px;
  height: 44px;
}

/* line 20445, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-4 {
  top: 2%;
  right: 2%;
  width: 46px;
  height: 46px;
}

/* line 20446, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-5 {
  top: 34%;
  left: 0;
  width: 38px;
  height: 38px;
}

/* line 20447, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-6 {
  top: 30%;
  left: 24%;
  width: 36px;
  height: 36px;
}

/* line 20448, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-7 {
  top: 28%;
  left: 46%;
  width: 42px;
  height: 42px;
}

/* line 20449, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-8 {
  top: 32%;
  right: 16%;
  width: 38px;
  height: 38px;
}

/* line 20450, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-9 {
  top: 36%;
  right: -2%;
  width: 34px;
  height: 34px;
}

/* line 20451, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-10 {
  bottom: 4%;
  left: 10%;
  width: 36px;
  height: 36px;
}

/* line 20452, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-11 {
  bottom: 8%;
  left: 38%;
  width: 34px;
  height: 34px;
}

/* line 20453, app/assets/stylesheets/application.scss */
.perk-auth-scene.is-mobile-scene .perk-auth-floating-app-12 {
  bottom: 2%;
  right: 12%;
  width: 38px;
  height: 38px;
}

/* line 20455, app/assets/stylesheets/application.scss */
.perk-auth-methods-desktop .perk-auth-download-gate {
  display: none;
}

/* line 20459, 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 20467, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 8px;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* line 20480, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* line 20485, app/assets/stylesheets/application.scss */
.perk-auth-app-store-badge {
  display: block;
  width: 120px;
  height: auto;
}

/* line 20491, app/assets/stylesheets/application.scss */
.perk-auth-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

/* line 20499, 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 20517, app/assets/stylesheets/application.scss */
.perk-auth-social {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

/* line 20523, app/assets/stylesheets/application.scss */
.perk-auth-social-solid {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 20529, 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 20538, app/assets/stylesheets/application.scss */
.perk-auth-social-solid:hover {
  background: #30343a;
  border-color: #30343a;
  color: #fff;
}

/* line 20544, app/assets/stylesheets/application.scss */
.perk-auth-actions .perk-auth-social:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* line 20551, app/assets/stylesheets/application.scss */
.perk-auth-social svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* line 20557, app/assets/stylesheets/application.scss */
.perk-auth-social-apple svg {
  color: #111;
}

/* line 20561, 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 20571, app/assets/stylesheets/application.scss */
.perk-auth-divider::before,
.perk-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--perk-auth-line);
}

/* line 20579, app/assets/stylesheets/application.scss */
.perk-auth-secondary,
.perk-auth-switch-cta {
  border: 1px solid #dfe2e6;
  background: #fff;
  color: #30353c;
}

/* line 20586, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta {
  margin-top: 8px;
}

/* line 20590, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta:hover {
  background: #f4f5f7;
  color: #111;
}

/* line 20595, 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 20604, 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 20611, 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 20623, app/assets/stylesheets/application.scss */
.perk-auth-meta-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: transparent;
}

/* line 20630, 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 20639, 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 20648, 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 20657, 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 20665, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero {
  align-items: center;
  text-align: center;
  width: 100%;
}

/* line 20671, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero .perk-auth-panel-copy {
  max-width: 320px;
  text-align: center;
}

/* line 20676, app/assets/stylesheets/application.scss */
.perk-auth-otp-form {
  flex: 1;
}

/* line 20680, app/assets/stylesheets/application.scss */
.perk-auth-otp-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* line 20687, 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 20705, 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 20710, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer {
  margin: 12px 0 0;
  color: #8a8a8e;
  font-size: 13px;
  text-align: center;
}

/* line 20717, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer.is-expired {
  color: var(--perk-ink);
}

/* line 20721, 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 20733, app/assets/stylesheets/application.scss */
.perk-auth-otp-resend.is-hidden {
  display: none !important;
}

/* line 20737, app/assets/stylesheets/application.scss */
.perk-auth-otp-form .perk-auth-submit:disabled {
  background: #9ca3af;
  cursor: default;
  opacity: 1;
}

/* line 20743, app/assets/stylesheets/application.scss */
.perk-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--perk-space-3);
  width: 100%;
}

/* line 20750, app/assets/stylesheets/application.scss */
.perk-auth-form .perk-auth-submit {
  margin-top: var(--perk-space-3);
}

/* line 20754, 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 20763, app/assets/stylesheets/application.scss */
.perk-auth-field {
  position: relative;
}

/* line 20767, 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 20785, 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 20790, 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 20807, app/assets/stylesheets/application.scss */
.perk-password-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* line 20811, 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 20824, app/assets/stylesheets/application.scss */
.perk-auth-submit:hover {
  background: #30343a;
}

/* line 20828, app/assets/stylesheets/application.scss */
.perk-auth-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* line 20833, 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 20848, 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 20863, app/assets/stylesheets/application.scss */
.perk-auth-forgot {
  text-decoration: none;
}

/* line 20867, app/assets/stylesheets/application.scss */
.perk-auth-forgot:hover,
.perk-auth-switch-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 20873, 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 20884, 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 20895, app/assets/stylesheets/application.scss */
.perk-auth-phone-field {
  margin: 0;
}

/* line 20899, 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 20906, 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 20918, app/assets/stylesheets/application.scss */
.perk-auth-stage.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

/* line 20923, app/assets/stylesheets/application.scss */
.perk-auth-stage .is-hidden {
  display: none !important;
}

/* line 20927, app/assets/stylesheets/application.scss */
.perk-auth-action-shell {
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
  min-height: 100vh;
}

/* line 20934, app/assets/stylesheets/application.scss */
.perk-auth-action-card {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 28px 24px 32px;
  border: 1px solid var(--perk-auth-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 25, 29, 0.06);
}

/* line 20944, app/assets/stylesheets/application.scss */
.perk-auth-action-card.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

/* line 20949, app/assets/stylesheets/application.scss */
.perk-auth-action-card .is-hidden {
  display: none !important;
}

/* line 20953, app/assets/stylesheets/application.scss */
.perk-auth-action-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--perk-auth-ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* line 20965, app/assets/stylesheets/application.scss */
.perk-auth-action-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* line 20972, app/assets/stylesheets/application.scss */
.perk-auth-action-panel h1 {
  margin: 0 0 8px;
  color: var(--perk-auth-ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* line 20981, app/assets/stylesheets/application.scss */
.perk-auth-action-panel .perk-auth-panel-hero {
  margin-bottom: 20px;
}

/* line 20985, app/assets/stylesheets/application.scss */
.perk-auth-action-panel .perk-auth-field input[type="password"] {
  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 20999, app/assets/stylesheets/application.scss */
.perk-auth-action-panel .perk-auth-field input[type="password"]:focus {
  border-color: #17191d;
  box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.08);
}

/* line 21004, app/assets/stylesheets/application.scss */
.perk-auth-action-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* line 21011, app/assets/stylesheets/application.scss */
.perk-auth-action-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: #17191d;
  color: #fff;
}

/* line 21023, app/assets/stylesheets/application.scss */
.perk-auth-action-check .heroicon,
.perk-auth-action-check svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* line 21030, app/assets/stylesheets/application.scss */
.perk-auth-action-next {
  gap: 14px;
}

/* line 21034, app/assets/stylesheets/application.scss */
.perk-auth-action-next .perk-auth-switch-link {
  margin-top: 2px;
}

/* line 21038, app/assets/stylesheets/application.scss */
.perk-auth-action-spinner {
  width: 28px;
  height: 28px;
  margin: 0 0 16px;
  border: 2px solid rgba(23, 25, 29, 0.12);
  border-top-color: #17191d;
  border-radius: 50%;
  animation: perk-auth-action-spin 0.8s linear infinite;
}

@keyframes perk-auth-action-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  /* line 21053, app/assets/stylesheets/application.scss */
  .perk-auth-action-shell {
    padding: 20px 12px 32px;
  }
  /* line 21057, app/assets/stylesheets/application.scss */
  .perk-auth-action-card {
    padding: 24px 18px 28px;
    border-radius: 20px;
  }
  /* line 21062, app/assets/stylesheets/application.scss */
  .perk-auth-action-panel h1 {
    font-size: 24px;
  }
}

/* line 21067, app/assets/stylesheets/application.scss */
#perk-firebase-recaptcha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* line 21076, app/assets/stylesheets/application.scss */
.perk-auth-footer {
  border-top: 1px solid var(--perk-auth-line);
  padding: 14px 24px 18px;
  background: #fff;
}

/* line 21082, 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 21092, app/assets/stylesheets/application.scss */
.perk-auth-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-start;
  margin: 0;
}

/* line 21100, app/assets/stylesheets/application.scss */
.perk-auth-langs a {
  color: var(--perk-auth-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

/* line 21107, 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 21114, 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 21127, app/assets/stylesheets/application.scss */
.perk-auth-legal-links a {
  color: var(--perk-auth-muted);
  text-decoration: none;
}

/* line 21132, 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 21179, app/assets/stylesheets/application.scss */
  .perk-auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* line 21184, app/assets/stylesheets/application.scss */
  .perk-auth-brand-pane {
    min-height: 280px;
    padding: 24px 24px 12px;
    border-right: 0;
    border-bottom: 0;
  }
  /* line 21191, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-brand-pane {
    min-height: 0;
    border-bottom: 0;
  }
  /* line 21196, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 72px;
    height: 72px;
  }
  /* line 21202, app/assets/stylesheets/application.scss */
  .perk-auth-scene {
    min-height: 280px;
    margin: 12px auto 8px;
  }
  /* line 21207, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 200px;
  }
  /* line 21211, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 148px;
  }
  /* line 21215, app/assets/stylesheets/application.scss */
  .perk-auth-slogan {
    font-size: clamp(34px, 8vw, 48px);
  }
  /* line 21219, app/assets/stylesheets/application.scss */
  .perk-auth-form-pane {
    padding: 28px 20px 36px;
  }
}

@media (max-width: 640px) {
  /* line 21225, app/assets/stylesheets/application.scss */
  .perk-management-inner {
    padding: 0 16px;
  }
  /* line 21229, app/assets/stylesheets/application.scss */
  .perk-management-left,
.perk-management-right {
    gap: var(--perk-space-3);
  }
  /* line 21234, app/assets/stylesheets/application.scss */
  .perk-management-brand strong,
.perk-management-brand-name,
.perk-account-summary {
    display: none;
  }
  /* line 21240, app/assets/stylesheets/application.scss */
  .perk-language-menu summary span {
    display: none;
  }
  /* line 21244, app/assets/stylesheets/application.scss */
  .perk-account-menu summary {
    min-width: 0;
    padding: 4px;
  }
  /* line 21249, app/assets/stylesheets/application.scss */
  .perk-ai-hub-button {
    margin-left: -6px;
  }
  /* line 21253, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    margin-right: 0;
  }
  /* line 21257, app/assets/stylesheets/application.scss */
  .perk-safety-button {
    font-size: 0;
    padding: 0 8px 0 6px;
    gap: 0;
  }
  /* line 21263, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    font-size: 11px;
  }
  /* line 21267, app/assets/stylesheets/application.scss */
  .perk-auth-brand-pane {
    min-height: 0;
    padding: 16px 16px 6px;
  }
  /* line 21272, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-brand-pane {
    padding: 24px 20px 4px;
    border-bottom: 0;
  }
  /* line 21277, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-home,
.perk-auth-shell.is-mobile-download .perk-auth-logo {
    width: 64px;
    height: 64px;
  }
  /* line 21283, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-slogan {
    font-size: clamp(32px, 9vw, 42px);
  }
  /* line 21287, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-form-pane {
    padding: 4px 24px 32px;
  }
  /* line 21291, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-scene.is-mobile-scene {
    width: min(100%, 300px);
    min-height: 188px;
    height: 188px;
    margin: 8px auto 4px;
  }
  /* line 21298, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 56px;
    height: 56px;
  }
  /* line 21304, 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 21312, 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 21318, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 148px;
    padding: 10px;
  }
  /* line 21323, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 112px;
    padding: 10px;
  }
  /* line 21328, app/assets/stylesheets/application.scss */
  .perk-auth-scene-apps {
    width: 120px;
    padding: 10px;
    bottom: 14%;
    left: 12%;
  }
  /* line 21335, app/assets/stylesheets/application.scss */
  .perk-auth-scene-head {
    gap: 6px;
    margin-bottom: 6px;
    font-size: 10px;
  }
  /* line 21341, app/assets/stylesheets/application.scss */
  .perk-auth-scene-avatar {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }
  /* line 21347, 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 21353, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 9px;
  }
  /* line 21360, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-user {
    margin-left: 10px;
  }
  /* line 21364, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-ai {
    margin-right: 6px;
  }
  /* line 21368, app/assets/stylesheets/application.scss */
  .perk-auth-scene-dot {
    width: 8px;
    height: 8px;
  }
  /* line 21373, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people {
    margin: 0 0 8px;
  }
  /* line 21377, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people span {
    width: 16px;
    height: 16px;
    margin-right: -5px;
  }
  /* line 21383, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows {
    gap: 6px;
  }
  /* line 21387, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows > div {
    height: 7px;
  }
  /* line 21391, 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 21397, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid {
    gap: 5px;
  }
  /* line 21401, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid span {
    border-radius: 8px;
    font-size: 10px;
  }
  /* line 21406, 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 21413, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge i {
    font-size: 9px;
  }
  /* line 21417, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-social {
    right: 4%;
    bottom: 26%;
  }
  /* line 21422, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-companion {
    left: 2%;
    bottom: 6%;
  }
  /* line 21427, 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 21443, app/assets/stylesheets/application.scss */
  .perk-auth-stage {
    min-height: 0;
  }
  /* line 21447, app/assets/stylesheets/application.scss */
  .perk-auth-heading,
.perk-auth-panel-view h2 {
    font-size: 24px;
  }
  /* line 21452, app/assets/stylesheets/application.scss */
  .perk-auth-footer {
    padding: 12px 18px 20px;
  }
  /* line 21456, app/assets/stylesheets/application.scss */
  .perk-auth-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  /* line 21461, app/assets/stylesheets/application.scss */
  .perk-auth-legal-links {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}

/* line 21468, app/assets/stylesheets/application.scss */
.perk-feed-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 21475, 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 21487, app/assets/stylesheets/application.scss */
.perk-inline-action:hover {
  color: #fff;
}

/* line 21491, 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 21502, 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 21514, 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 21526, app/assets/stylesheets/application.scss */
.perk-setup-back,
.perk-setup-back-form {
  align-self: flex-start;
}

/* line 21531, 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 21545, app/assets/stylesheets/application.scss */
.perk-setup-progress {
  display: flex;
  gap: 6px;
}

/* line 21550, app/assets/stylesheets/application.scss */
.perk-setup-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e7e8eb;
}

/* line 21557, app/assets/stylesheets/application.scss */
.perk-setup-progress span.is-active,
.perk-setup-progress span.is-done {
  background: #17191d;
}

/* line 21562, 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 21571, 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 21579, app/assets/stylesheets/application.scss */
.perk-setup-header-center {
  text-align: center;
}

/* line 21583, app/assets/stylesheets/application.scss */
.perk-setup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 21589, 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 21600, 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 21607, 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 21619, app/assets/stylesheets/application.scss */
.perk-setup-field small,
.perk-setup-form > small {
  color: #667085;
  font-size: 0.82rem;
}

/* line 21625, 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 21635, app/assets/stylesheets/application.scss */
.perk-setup-handle span {
  color: #667085;
  font-weight: 700;
}

/* line 21640, app/assets/stylesheets/application.scss */
.perk-setup-handle input {
  height: 100%;
  padding: 0;
  background: transparent;
}

/* line 21646, app/assets/stylesheets/application.scss */
.perk-setup-status {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.82rem;
}

/* line 21652, app/assets/stylesheets/application.scss */
.perk-setup-status.is-hidden {
  display: none;
}

/* line 21656, app/assets/stylesheets/application.scss */
.perk-setup-status.is-ok {
  color: #12b76a;
}

/* line 21660, app/assets/stylesheets/application.scss */
.perk-setup-status.is-error {
  color: var(--perk-ink);
}

/* line 21664, app/assets/stylesheets/application.scss */
.perk-setup-status.is-checking {
  color: #667085;
}

/* line 21668, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 10px;
}

/* line 21674, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 21680, 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 21687, app/assets/stylesheets/application.scss */
.perk-setup-confirm strong {
  display: block;
  margin-bottom: 4px;
}

/* line 21692, app/assets/stylesheets/application.scss */
.perk-setup-confirm p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
}

/* line 21698, 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 21710, app/assets/stylesheets/application.scss */
.perk-setup-submit:disabled {
  background: #98a2b3;
  cursor: not-allowed;
}

/* line 21715, app/assets/stylesheets/application.scss */
.perk-setup-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 21721, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell,
.perk-setup-photo-add {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}

/* line 21729, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 21735, 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 21751, 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 21763, app/assets/stylesheets/application.scss */
.perk-setup-photo-add-form {
  margin: 0;
}

/* line 21767, app/assets/stylesheets/application.scss */
.perk-setup-photo-count {
  margin: 0;
  text-align: center;
  font-weight: 700;
}

/* line 21773, 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 21784, 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 21792, 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 21805, app/assets/stylesheets/application.scss */
.perk-setup-text-btn {
  border: 0;
  background: transparent;
  color: #17191d;
  font-weight: 700;
  cursor: pointer;
}

/* line 21813, 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 21825, app/assets/stylesheets/application.scss */
.perk-setup-creating.hidden {
  display: none;
}

/* line 21829, 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 21842, app/assets/stylesheets/application.scss */
.perk-setup-creating-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* line 21847, app/assets/stylesheets/application.scss */
.perk-setup-creating-card p {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* line 21854, 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 21868, app/assets/stylesheets/application.scss */
.perk-setup-shell.is-creating-companion {
  pointer-events: none;
}

/* line 21872, 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 21886, app/assets/stylesheets/application.scss */
.perk-setup-legal {
  margin: 0;
  text-align: center;
  color: #667085;
  font-size: 0.86rem;
}

/* line 21893, app/assets/stylesheets/application.scss */
.perk-setup-legal a {
  color: #17191d;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 640px) {
  /* line 21900, app/assets/stylesheets/application.scss */
  .perk-setup-shell {
    padding: 12px 10px 40px;
    background: #fff;
  }
  /* line 21905, app/assets/stylesheets/application.scss */
  .perk-setup-card {
    width: 100%;
    padding: 8px 4px 20px;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  /* line 21913, app/assets/stylesheets/application.scss */
  .perk-setup-birthday-row {
    grid-template-columns: 1fr;
  }
}

/* line 21918, app/assets/stylesheets/application.scss */
.perk-ios-profile {
  min-height: calc(100vh - 56px);
  background: #fff;
  color: #111;
  padding: 18px 0 80px;
}

/* line 21925, app/assets/stylesheets/application.scss */
.perk-ios-profile-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* line 21932, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 18px;
}

/* line 21939, 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 21950, app/assets/stylesheets/application.scss */
.perk-ios-profile-back {
  width: 28px;
  height: 28px;
}

/* line 21955, 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 21964, app/assets/stylesheets/application.scss */
.perk-ios-qr-btn:hover {
  background: #f2f2f7;
}

/* line 21968, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
}

/* line 21975, 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 21985, 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: var(--perk-ink);
  backdrop-filter: none;
}

/* line 21995, app/assets/stylesheets/application.scss */
.perk-ios-profile-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 22001, app/assets/stylesheets/application.scss */
.perk-ios-profile-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 22007, app/assets/stylesheets/application.scss */
.perk-ios-profile-header-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* line 22013, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar {
  position: relative;
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  overflow: visible;
  color: #8e8e93;
}

/* line 22022, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: #f2f2f7;
  color: inherit;
}

/* line 22034, app/assets/stylesheets/application.scss */
button.perk-ios-profile-avatar-image {
  cursor: pointer;
}

/* line 22038, 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 22046, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar-image i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 92px;
}

/* line 22053, 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: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* line 22072, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera i,
.perk-ios-avatar-camera svg {
  width: 12px;
  height: 12px;
  font-size: 12px;
  line-height: 1;
}

/* line 22080, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera:hover {
  background: #f8f8f8;
}

/* line 22084, app/assets/stylesheets/application.scss */
.perk-ios-profile-identity {
  min-width: 0;
  flex: 1;
}

/* line 22089, app/assets/stylesheets/application.scss */
.perk-ios-profile-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 22095, app/assets/stylesheets/application.scss */
.perk-ios-profile-name-row strong {
  overflow: hidden;
  color: #111;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 22106, app/assets/stylesheets/application.scss */
.perk-ios-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* line 22114, app/assets/stylesheets/application.scss */
.perk-ios-profile-handle {
  color: #8e8e93;
  font-size: 15px;
  font-weight: 500;
}

/* line 22120, app/assets/stylesheets/application.scss */
.perk-ios-profile-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 650;
}

/* line 22129, app/assets/stylesheets/application.scss */
.perk-ios-profile-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2eb861;
}

/* line 22136, app/assets/stylesheets/application.scss */
.perk-ios-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}

/* line 22143, app/assets/stylesheets/application.scss */
.perk-ios-profile-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 22151, app/assets/stylesheets/application.scss */
.perk-ios-profile-stat strong {
  color: #111;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* line 22158, app/assets/stylesheets/application.scss */
.perk-ios-profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 22164, app/assets/stylesheets/application.scss */
.perk-ios-icon-btn {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
}

/* line 22179, app/assets/stylesheets/application.scss */
.perk-ios-icon-btn:hover {
  background: #f8f8f8;
}

/* line 22183, app/assets/stylesheets/application.scss */
.perk-ios-profile-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 22190, app/assets/stylesheets/application.scss */
.perk-ios-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

/* line 22198, app/assets/stylesheets/application.scss */
.perk-ios-section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: #111;
}

/* line 22205, app/assets/stylesheets/application.scss */
.perk-ios-section-head p {
  margin: 4px 0 0;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.35;
}

/* line 22212, app/assets/stylesheets/application.scss */
.perk-ios-edit-glyph {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #111;
  cursor: pointer;
  list-style: none;
}

/* line 22228, app/assets/stylesheets/application.scss */
.perk-ios-edit-glyph::-webkit-details-marker {
  display: none;
}

/* line 22232, app/assets/stylesheets/application.scss */
.perk-ios-edit-menu {
  position: relative;
}

/* line 22236, app/assets/stylesheets/application.scss */
.perk-ios-edit-menu-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  min-width: 160px;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 18, 22, 0.14);
}

/* line 22249, app/assets/stylesheets/application.scss */
.perk-ios-edit-menu-list button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 22263, app/assets/stylesheets/application.scss */
.perk-ios-edit-menu-list button:hover {
  background: #f4f5f7;
}

/* line 22267, app/assets/stylesheets/application.scss */
.perk-ios-soft-card {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 14px;
  color: #111;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

/* line 22280, app/assets/stylesheets/application.scss */
.perk-ios-empty-hint {
  margin: 0;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.4;
}

/* line 22287, app/assets/stylesheets/application.scss */
.perk-ios-about-facts {
  display: flex;
  flex-direction: column;
}

/* line 22292, app/assets/stylesheets/application.scss */
.perk-ios-about-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #111;
  text-align: left;
  cursor: pointer;
}

/* line 22305, app/assets/stylesheets/application.scss */
.perk-ios-about-fact > i,
.perk-ios-about-fact > svg:first-child {
  flex: 0 0 20px;
  width: 20px;
  margin-top: 2px;
  color: #8e8e93;
}

/* line 22313, app/assets/stylesheets/application.scss */
.perk-ios-about-fact > span {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 22321, app/assets/stylesheets/application.scss */
.perk-ios-about-fact small {
  color: #8e8e93;
  font-size: 12px;
  font-weight: 500;
}

/* line 22327, app/assets/stylesheets/application.scss */
.perk-ios-about-fact strong {
  color: #111;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  word-break: break-word;
}

/* line 22335, app/assets/stylesheets/application.scss */
.perk-ios-about-fact > svg:last-child,
.perk-ios-about-fact > i:last-child {
  flex: 0 0 auto;
  margin-top: 4px;
  color: #8e8e93;
  opacity: 0.7;
}

/* line 22343, app/assets/stylesheets/application.scss */
.perk-ios-field-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.35);
}

/* line 22354, app/assets/stylesheets/application.scss */
.perk-ios-field-overlay.hidden {
  display: none;
}

/* line 22358, app/assets/stylesheets/application.scss */
.perk-ios-field-sheet {
  width: 100%;
  max-width: 480px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  overflow: hidden;
}

/* line 22366, app/assets/stylesheets/application.scss */
.perk-ios-field-head {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

/* line 22375, app/assets/stylesheets/application.scss */
.perk-ios-field-head h2 {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 650;
}

/* line 22382, app/assets/stylesheets/application.scss */
.perk-ios-field-head button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

/* line 22391, app/assets/stylesheets/application.scss */
.perk-ios-field-head button[type="submit"] {
  justify-self: end;
}

/* line 22395, app/assets/stylesheets/application.scss */
.perk-ios-field-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

/* line 22402, app/assets/stylesheets/application.scss */
.perk-ios-field-form textarea,
.perk-ios-field-form input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
}

/* line 22414, app/assets/stylesheets/application.scss */
.perk-ios-field-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* line 22419, app/assets/stylesheets/application.scss */
.perk-ios-field-group[hidden] {
  display: none !important;
}

/* line 22423, app/assets/stylesheets/application.scss */
.perk-ios-friends-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

/* line 22431, app/assets/stylesheets/application.scss */
.perk-ios-friends-scroller::-webkit-scrollbar {
  display: none;
}

/* line 22435, app/assets/stylesheets/application.scss */
.perk-ios-friend-cell {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

/* line 22451, app/assets/stylesheets/application.scss */
.perk-ios-friend-cell img,
.perk-ios-friend-cell .perk-avatar-fallback {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.08);
}

/* line 22460, app/assets/stylesheets/application.scss */
.perk-ios-friend-cell .perk-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

/* line 22468, app/assets/stylesheets/application.scss */
.perk-ios-friend-cell > span {
  width: 100%;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* line 22480, app/assets/stylesheets/application.scss */
.perk-ios-friends-empty,
.perk-ios-empty-posts {
  margin: 0;
  color: #8e8e93;
  font-size: 13px;
}

/* line 22487, app/assets/stylesheets/application.scss */
.perk-ios-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #8e8e93;
  text-decoration: none;
}

/* line 22500, app/assets/stylesheets/application.scss */
.perk-ios-composer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
}

/* line 22508, app/assets/stylesheets/application.scss */
.perk-ios-composer .perk-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f7;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

/* line 22518, app/assets/stylesheets/application.scss */
.perk-ios-composer > span:not(.perk-avatar-fallback) {
  flex: 1 1 auto;
  font-size: 15px;
}

/* line 22523, app/assets/stylesheets/application.scss */
.perk-ios-composer svg,
.perk-ios-composer i {
  flex: 0 0 auto;
  color: #8e8e93;
}

/* line 22529, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e8e93;
}

/* line 22537, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot.is-active {
  background: #34c759;
}

/* line 22541, 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 22552, 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 22566, app/assets/stylesheets/application.scss */
.perk-ios-qr-chip i {
  font-size: 11px;
}

/* line 22570, app/assets/stylesheets/application.scss */
.perk-ios-section {
  margin-bottom: 0;
}

/* line 22574, app/assets/stylesheets/application.scss */
.perk-ios-section > h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
}

/* line 22580, app/assets/stylesheets/application.scss */
.perk-ios-section > p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 22586, app/assets/stylesheets/application.scss */
.perk-ios-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 22592, 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 22601, app/assets/stylesheets/application.scss */
.perk-ios-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 22607, app/assets/stylesheets/application.scss */
.perk-ios-photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 22617, 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 22634, 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 22645, 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 22653, app/assets/stylesheets/application.scss */
.perk-ios-card {
  padding: 14px;
}

/* line 22657, app/assets/stylesheets/application.scss */
.perk-ios-placeholder {
  color: #8e8e93;
  font-size: 14px;
}

/* line 22662, app/assets/stylesheets/application.scss */
.perk-ios-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 22668, 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 22676, 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 22687, app/assets/stylesheets/application.scss */
.perk-ios-inline-form textarea:focus {
  border-color: rgba(0, 0, 0, 0.28);
}

/* line 22691, 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 22703, app/assets/stylesheets/application.scss */
.perk-ios-about-list {
  overflow: hidden;
}

/* line 22707, 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 22716, app/assets/stylesheets/application.scss */
.perk-ios-about-row:last-child {
  border-bottom: 0;
}

/* line 22720, app/assets/stylesheets/application.scss */
.perk-ios-about-row > span {
  flex: 0 0 130px;
  color: #111;
  font-size: 14px;
}

/* line 22726, 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 22738, app/assets/stylesheets/application.scss */
.perk-ios-about-row input::placeholder,
.perk-ios-about-static em {
  color: #8e8e93;
}

/* line 22743, app/assets/stylesheets/application.scss */
.perk-ios-about-row > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

/* line 22750, 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 22758, app/assets/stylesheets/application.scss */
.perk-ios-posts .perk-feed-post {
  padding-left: 0;
  padding-right: 0;
}

/* line 22763, app/assets/stylesheets/application.scss */
.perk-ios-profile .perk-feed-menu-overlay:not(.hidden),
.perk-ios-profile .perk-ios-field-overlay:not(.hidden) {
  align-items: center;
  justify-content: center;
}

/* line 22769, app/assets/stylesheets/application.scss */
.perk-ios-profile .perk-feed-menu-sheet,
.perk-ios-profile .perk-ios-field-sheet {
  border-radius: 18px;
  margin: auto 0;
}

/* line 22775, 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 22786, app/assets/stylesheets/application.scss */
.perk-ios-qr-overlay.hidden {
  display: none;
}

/* line 22790, 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 22802, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery.hidden {
  display: none;
}

/* line 22806, 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 22815, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

/* line 22822, 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 22830, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

/* line 22836, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-count {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* line 22843, 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 22851, 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 22861, 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 22871, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-prev {
  left: 8px;
}

/* line 22872, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-next {
  right: 8px;
}

/* line 22873, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav[hidden] {
  display: none;
}

/* line 22875, 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 22887, 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 22896, app/assets/stylesheets/application.scss */
.perk-ios-qr-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 22902, app/assets/stylesheets/application.scss */
.perk-ios-qr-head-actions {
  display: inline-flex;
  gap: 8px;
}

/* line 22907, 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 22918, app/assets/stylesheets/application.scss */
.perk-profile-share-sheet {
  max-height: none;
}

/* line 22922, 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 22938, app/assets/stylesheets/application.scss */
.perk-profile-share-preview {
  padding: 8px 22px 20px;
  background: #f2f2f7;
}

/* line 22943, 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 22955, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card img {
  width: 154px;
  height: 154px;
  margin: 7px 0 8px;
  border-radius: 12px;
}

/* line 22962, app/assets/stylesheets/application.scss */
.perk-profile-share-brand {
  color: #111;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

/* line 22969, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card strong {
  font-size: 16px;
}

/* line 22973, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card small {
  margin-top: 2px;
  color: #8e8e93;
}

/* line 22978, 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 22986, app/assets/stylesheets/application.scss */
.perk-profile-share-sheet .perk-feed-share-external {
  border-top: 0;
  padding-top: 16px;
}

/* line 22991, 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 23004, app/assets/stylesheets/application.scss */
.perk-ios-qr-hint {
  margin: 0 0 18px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.45;
}

/* line 23011, 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 23025, app/assets/stylesheets/application.scss */
.perk-ios-qr-canvas {
  display: block;
  width: 220px;
  height: 220px;
  image-rendering: pixelated;
}

/* line 23032, app/assets/stylesheets/application.scss */
.perk-ios-qr-fallback {
  width: 220px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.4;
}

/* line 23039, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

/* line 23046, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity strong {
  font-size: 18px;
  font-weight: 700;
}

/* line 23051, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity span {
  color: #8e8e93;
  font-size: 14px;
}

/* line 23056, 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 23072, app/assets/stylesheets/application.scss */
.perk-ios-qr-copy.is-copied {
  background: rgba(52, 199, 89, 0.12);
  color: #1f9d4b;
}

/* line 23077, 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 23088, app/assets/stylesheets/application.scss */
.perk-ios-settings-overlay.hidden {
  display: none;
}

/* line 23092, 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 23103, app/assets/stylesheets/application.scss */
.perk-ios-settings-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
}

/* line 23110, app/assets/stylesheets/application.scss */
.perk-ios-settings-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

/* line 23117, 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 23128, app/assets/stylesheets/application.scss */
.perk-ios-settings-cancel {
  justify-self: start;
}

/* line 23132, app/assets/stylesheets/application.scss */
.perk-ios-settings-done {
  justify-self: end;
  font-weight: 650;
}

/* line 23137, app/assets/stylesheets/application.scss */
.perk-ios-settings-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

/* line 23144, app/assets/stylesheets/application.scss */
.perk-ios-settings-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 23150, app/assets/stylesheets/application.scss */
.perk-ios-settings-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 23156, 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 23173, app/assets/stylesheets/application.scss */
.perk-ios-settings-row:hover {
  background: rgba(142, 142, 147, 0.18);
  color: #111;
  text-decoration: none;
}

/* line 23179, app/assets/stylesheets/application.scss */
.perk-ios-settings-row i {
  color: #c7c7cc;
  font-size: 12px;
}

/* line 23184, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 23190, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions form {
  margin: 0;
}

/* line 23194, 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 23207, app/assets/stylesheets/application.scss */
.perk-ios-settings-action.is-danger {
  color: var(--perk-ink);
}

/* line 23211, app/assets/stylesheets/application.scss */
.perk-ios-settings-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 23217, 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 23225, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field > div {
  position: relative;
}

/* line 23229, 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 23238, 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 23250, 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 23257, 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 23270, app/assets/stylesheets/application.scss */
  .perk-ios-profile-header-top {
    align-items: flex-start;
  }
  /* line 23274, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    width: 100%;
  }
  /* line 23278, app/assets/stylesheets/application.scss */
  .perk-ios-about-row {
    flex-direction: column;
    gap: 6px;
  }
  /* line 23283, app/assets/stylesheets/application.scss */
  .perk-ios-about-row > span {
    flex-basis: auto;
  }
  /* line 23287, app/assets/stylesheets/application.scss */
  .perk-ios-about-row input,
.perk-ios-about-row em {
    text-align: left;
  }
}

@media (min-width: 900px) {
  /* line 23294, 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 23302, app/assets/stylesheets/application.scss */
  .perk-ios-profile-shell {
    max-width: 1080px;
    padding: 0 28px;
  }
  /* line 23307, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav {
    grid-template-columns: 40px 1fr 40px;
    margin-bottom: 22px;
  }
  /* line 23312, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav h1 {
    text-align: left;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  /* line 23319, app/assets/stylesheets/application.scss */
  .perk-ios-qr-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  /* line 23325, app/assets/stylesheets/application.scss */
  .perk-ios-profile-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  /* line 23332, 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 23345, app/assets/stylesheets/application.scss */
  .perk-ios-profile-header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* line 23351, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    margin: 0 auto;
  }
  /* line 23358, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar-image i {
    font-size: 112px;
  }
  /* line 23362, app/assets/stylesheets/application.scss */
  .perk-ios-avatar-camera {
    width: 32px;
    height: 32px;
    right: 2px;
    bottom: 2px;
  }
  /* line 23369, app/assets/stylesheets/application.scss */
  .perk-ios-profile-identity {
    flex: 0 0 auto;
    width: 100%;
  }
  /* line 23374, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row {
    justify-content: center;
  }
  /* line 23378, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row strong {
    font-size: 22px;
    white-space: normal;
  }
  /* line 23383, app/assets/stylesheets/application.scss */
  .perk-ios-profile-meta {
    justify-content: center;
  }
  /* line 23387, app/assets/stylesheets/application.scss */
  .perk-ios-profile-stats {
    justify-content: center;
  }
  /* line 23391, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    width: 100%;
  }
  /* line 23395, 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 23403, app/assets/stylesheets/application.scss */
  .perk-ios-photo-grid {
    gap: 12px;
  }
  /* line 23407, app/assets/stylesheets/application.scss */
  .perk-ios-inline-form textarea {
    min-height: 120px;
  }
  /* line 23411, app/assets/stylesheets/application.scss */
  .perk-ios-settings-overlay,
.perk-ios-qr-overlay {
    align-items: center;
    padding: 40px;
  }
  /* line 23417, app/assets/stylesheets/application.scss */
  .perk-ios-settings-sheet,
.perk-ios-qr-sheet {
    max-height: min(80vh, 720px);
  }
}

/* —— AI Drive (web) —— */
/* line 23424, app/assets/stylesheets/application.scss */
.ai-drive {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  background: #fff;
  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 23436, app/assets/stylesheets/application.scss */
.ai-drive.hidden,
.ai-drive[hidden] {
  display: none !important;
}

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

/* line 23450, app/assets/stylesheets/application.scss */
.ai-drive-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 8px;
  padding: 10px 16px 8px;
  background: #fff;
  flex: 0 0 auto;
}

/* line 23460, app/assets/stylesheets/application.scss */
.ai-drive-topbar > .ai-drive-icon-btn {
  justify-self: start;
  grid-column: 1;
}

/* line 23465, app/assets/stylesheets/application.scss */
.ai-drive-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  grid-column: 3;
  flex: 0 0 auto;
}

/* line 23474, app/assets/stylesheets/application.scss */
.ai-drive-tabs {
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 3px;
  background: #f4f5f7;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
  min-width: 0;
}

/* line 23487, app/assets/stylesheets/application.scss */
.ai-drive-tabs-inline {
  justify-self: center;
  grid-column: 2;
  margin: 0;
}

/* line 23493, app/assets/stylesheets/application.scss */
.ai-drive-app-title {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #111827;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(60vw, 280px);
}

/* line 23508, app/assets/stylesheets/application.scss */
.ai-drive.is-app-library .ai-drive-tabs-inline {
  display: none;
}

/* line 23512, app/assets/stylesheets/application.scss */
.ai-drive-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 7px 16px;
  min-width: 96px;
  min-height: 36px;
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  flex: 0 0 auto;
  border-radius: 999px;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* line 23529, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active {
  color: #17191d;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* line 23536, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active::after {
  display: none;
}

/* line 23540, app/assets/stylesheets/application.scss */
.ai-drive-search-toggle.is-active {
  background: #17191d;
  color: #fff;
}

/* line 23545, app/assets/stylesheets/application.scss */
.ai-drive-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 10px;
  background: #fff;
  flex: 0 0 auto;
}

/* line 23554, app/assets/stylesheets/application.scss */
.ai-drive-search-panel.hidden,
.ai-drive-search-panel[hidden] {
  display: none !important;
}

/* line 23559, app/assets/stylesheets/application.scss */
.ai-drive-chat-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px 12px 4px;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  pointer-events: none;
}

/* line 23576, app/assets/stylesheets/application.scss */
.ai-drive-chat-topbar.hidden,
.ai-drive-chat-topbar[hidden] {
  display: none !important;
}

/* line 23581, app/assets/stylesheets/application.scss */
.ai-drive-chat-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  pointer-events: auto;
}

/* line 23589, 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 23604, app/assets/stylesheets/application.scss */
.ai-drive-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 23610, 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 23625, 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 23635, 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 23650, app/assets/stylesheets/application.scss */
.ai-drive-icon-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 25, 29, 0.08);
}

/* line 23655, app/assets/stylesheets/application.scss */
.ai-drive-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 16px 10px;
  flex: 0 0 auto;
}

/* line 23663, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

/* line 23671, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* line 23679, 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 23691, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-fabs {
  bottom: 72px;
}

/* line 23695, app/assets/stylesheets/application.scss */
.ai-drive-fabs.hidden,
.ai-drive-fabs[hidden] {
  display: none !important;
}

/* line 23700, 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 23712, 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 23719, 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 23729, app/assets/stylesheets/application.scss */
.ai-drive-create-overlay.hidden,
.ai-drive-create-overlay[hidden] {
  display: none !important;
}

/* line 23734, 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 23741, 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 23750, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet h3 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 17px;
}

/* line 23756, 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 23771, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet button i,
.ai-drive-create-sheet button .heroicon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f5f7;
  color: #17191d;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

@media (min-width: 720px) {
  /* line 23786, app/assets/stylesheets/application.scss */
  .ai-drive-create-overlay {
    align-items: center;
  }
  /* line 23790, app/assets/stylesheets/application.scss */
  .ai-drive-create-sheet {
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  }
  /* line 23795, app/assets/stylesheets/application.scss */
  .ai-drive-search {
    max-width: 560px;
  }
}

/* line 23800, app/assets/stylesheets/application.scss */
.ai-drive-new-wrap {
  position: relative;
}

/* line 23804, 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 23820, app/assets/stylesheets/application.scss */
.ai-drive-new-btn:hover {
  background: #1765cc;
}

/* line 23824, app/assets/stylesheets/application.scss */
.ai-drive-new-btn.is-danger,
#ai-drive-dialog-confirm.is-danger {
  background: #17191d;
}

/* line 23829, app/assets/stylesheets/application.scss */
.ai-drive-new-chevron {
  font-size: 10px;
  opacity: 0.85;
}

/* line 23834, 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 23847, 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 23862, app/assets/stylesheets/application.scss */
.ai-drive-menu button:hover {
  background: #f1f3f4;
}

/* line 23866, app/assets/stylesheets/application.scss */
.ai-drive-menu i {
  width: 18px;
  color: #5f6368;
}

/* line 23871, 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 23885, app/assets/stylesheets/application.scss */
.ai-drive-text-btn:hover {
  background: #f1f3f4;
}

/* line 23889, app/assets/stylesheets/application.scss */
.ai-drive-text-btn.is-active {
  background: #e8f0fe;
  color: #1a73e8;
}

/* line 23894, app/assets/stylesheets/application.scss */
.ai-drive-shared-by-me-btn.hidden,
.ai-drive-shared-by-me-btn[hidden] {
  display: none !important;
}

/* line 23899, 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 23911, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb.hidden,
.ai-drive-breadcrumb[hidden] {
  display: none !important;
}

/* line 23916, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb::-webkit-scrollbar {
  display: none;
}

/* line 23920, 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 23931, 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 23939, app/assets/stylesheets/application.scss */
.ai-drive-crumb-sep {
  color: #dadce0;
  font-size: 9px;
}

/* line 23944, app/assets/stylesheets/application.scss */
.ai-drive-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* line 23952, app/assets/stylesheets/application.scss */
.ai-drive-drive-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}

/* line 23961, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-drive-pane {
  flex: 1 1 52%;
  border-right: 1px solid rgba(23, 25, 29, 0.08);
  background: #fff;
}

/* line 23967, app/assets/stylesheets/application.scss */
.ai-drive-browse {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  padding: 4px 8px 24px;
}

/* line 23975, app/assets/stylesheets/application.scss */
.ai-drive-browse.is-dragging {
  background: rgba(26, 115, 232, 0.04);
}

/* line 23979, 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 23996, 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 24006, app/assets/stylesheets/application.scss */
  .ai-drive-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* line 24011, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px;
}

/* line 24018, 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 24032, 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 24038, app/assets/stylesheets/application.scss */
.ai-drive-item:active {
  transform: translateY(0);
}

/* line 24042, 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 24052, 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 24058, 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 24075, 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 24082, 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 24093, app/assets/stylesheets/application.scss */
.ai-drive-item:hover .ai-drive-item-more,
.ai-drive-item-more:focus-visible {
  opacity: 1;
}

/* line 24098, 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 24105, 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 24121, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder {
  background: var(--drive-icon-color, #1a73e8);
}

/* line 24125, 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: 800;
  line-height: 1;
  text-align: center;
}

/* line 24145, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder .ai-drive-item-glyph {
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: inherit;
  background: transparent;
  font-size: 22px;
}

/* line 24157, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph::before {
  display: block;
  width: auto;
  margin: 0;
  line-height: 1;
  position: relative;
  top: 6px;
}

/* line 24166, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder .ai-drive-item-glyph::before {
  top: 0;
}

/* line 24170, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph.fas {
  font-weight: 900;
}

/* line 24174, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph .heroicon,
.ai-drive-item-glyph .ai-drive-item-glyph-icon,
.ai-drive-item-glyph > i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
}

/* line 24183, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder .ai-drive-item-glyph .heroicon,
.ai-drive-item-icon.is-folder .ai-drive-item-glyph .ai-drive-item-glyph-icon,
.ai-drive-item-icon.is-folder .ai-drive-item-glyph > i {
  width: 28px;
  height: 28px;
}

/* line 24190, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph > i.fas {
  font-size: 14px;
  line-height: 1;
  position: relative;
  top: 1px;
}

/* line 24197, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder .ai-drive-item-glyph > i.fas {
  font-size: 22px;
  top: 0;
}

/* line 24202, 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 24207, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-icon {
  width: 40px;
  height: 40px;
}

/* line 24212, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph {
  font-size: 10px;
}

/* line 24216, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph::before {
  top: 4px;
}

/* line 24220, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph .heroicon,
.ai-drive-list.is-list .ai-drive-item-glyph .ai-drive-item-glyph-icon,
.ai-drive-list.is-list .ai-drive-item-glyph > i {
  width: 14px;
  height: 14px;
}

/* line 24227, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph > i.fas {
  font-size: 10px;
}

/* line 24231, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item:hover .ai-drive-item-icon {
  transform: none;
}

/* line 24235, app/assets/stylesheets/application.scss */
.ai-drive-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
}

/* line 24243, 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 24253, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-thumb.has-image {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

/* line 24259, app/assets/stylesheets/application.scss */
.ai-drive-thumb.has-image img,
.ai-drive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 24266, app/assets/stylesheets/application.scss */
.ai-drive-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  width: 100%;
}

/* line 24274, 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 24288, app/assets/stylesheets/application.scss */
.ai-drive-item.is-folder .ai-drive-item-text strong {
  font-size: 14px;
  font-weight: 300;
}

/* line 24293, 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 24301, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item.is-folder .ai-drive-item-text strong {
  font-size: 16px;
  font-weight: 300;
}

/* line 24306, 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 24316, 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 24323, 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 24335, app/assets/stylesheets/application.scss */
.ai-drive-empty-icon {
  margin-bottom: 4px;
}

/* line 24339, app/assets/stylesheets/application.scss */
.ai-drive-empty-icon .ai-drive-item-icon {
  width: 58px;
  height: 58px;
}

/* line 24344, 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 24351, app/assets/stylesheets/application.scss */
.ai-drive-empty p {
  margin: 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.45;
}

/* line 24358, 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 24368, app/assets/stylesheets/application.scss */
.ai-drive-chat.is-drop-target::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 9;
  border: 2px dashed #1a73e8;
  border-radius: 16px;
  background: rgba(26, 115, 232, 0.06);
  pointer-events: none;
}

/* line 24379, app/assets/stylesheets/application.scss */
.ai-drive.is-drive-item-dragging .ai-drive-item.is-file {
  cursor: grabbing;
}

/* line 24383, app/assets/stylesheets/application.scss */
.ai-drive-item.is-dragging-item {
  opacity: 0.55;
}

/* line 24387, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-chat {
  flex: 1 1 48%;
  max-width: 560px;
  border-left: 0;
  border-top: 0;
  box-shadow: none;
}

/* line 24395, app/assets/stylesheets/application.scss */
.ai-drive-chat.hidden,
.ai-drive-chat[hidden] {
  display: none !important;
}

/* line 24400, 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 24413, app/assets/stylesheets/application.scss */
.ai-drive-history.hidden,
.ai-drive-history[hidden] {
  display: none !important;
}

/* line 24418, 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 24428, app/assets/stylesheets/application.scss */
.ai-drive-history-head strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 24433, 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 24449, app/assets/stylesheets/application.scss */
.ai-drive-history-new-chat-btn:hover {
  background: #eceef1;
}

/* line 24453, app/assets/stylesheets/application.scss */
.ai-drive-history-new-chat-btn i {
  width: 18px;
  text-align: center;
  color: #5f6368;
}

/* line 24459, 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 24466, 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 24480, app/assets/stylesheets/application.scss */
.ai-drive-history-item:hover,
.ai-drive-history-item.is-active {
  background: #f3f4f6;
}

/* line 24485, app/assets/stylesheets/application.scss */
.ai-drive-history-item strong {
  font-size: 14px;
  font-weight: 300;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 24493, app/assets/stylesheets/application.scss */
.ai-drive-history-item span {
  font-size: 12px;
  color: #8e8e93;
}

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

/* line 24505, app/assets/stylesheets/application.scss */
.ai-drive.is-history-open .ai-drive-chat-topbar [data-drive-history-btn] {
  background: #17191d;
  color: #fff;
}

/* line 24510, app/assets/stylesheets/application.scss */
.ai-drive-chat-messages {
  flex: 1 1 auto;
  overflow: auto;
  padding: 52px var(--hub-ai-chat-gutter) 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #fff;
}

/* line 24521, 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 24530, 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 24539, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

/* line 24545, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.4;
}

/* line 24552, 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 24560, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-user {
  justify-content: flex-end;
}

/* line 24564, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-bot {
  justify-content: flex-start;
}

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

/* line 24575, 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 24584, 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 24593, 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 24603, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-media {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  white-space: normal;
}

/* line 24611, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-image {
  display: block;
  max-width: 240px;
  max-height: 240px;
  border-radius: 14px;
  object-fit: cover;
}

/* line 24619, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-text {
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 24624, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-media .ai-drive-chat-msg-text {
  padding: 0 6px 4px;
}

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

/* line 24632, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: #202124;
  font-weight: 300;
}

/* line 24639, 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 24647, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 24652, 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 24661, 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 24677, 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 24683, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-wrap {
  position: relative;
}

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

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

/* line 24720, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-menu button.is-danger {
  color: var(--perk-ink);
}

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

/* line 24740, app/assets/stylesheets/application.scss */
.ai-drive-chat-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  width: 100%;
  flex: 0 0 auto;
  border-top: 0;
}

/* line 24752, app/assets/stylesheets/application.scss */
.ai-drive-chat-form.hidden,
.ai-drive-chat-form[hidden] {
  display: none !important;
}

/* line 24757, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 24763, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending.hidden,
.ai-drive-chat-pending[hidden] {
  display: none !important;
}

/* line 24768, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 8px 6px 6px;
  border-radius: 14px;
  background: #f1f3f4;
  border: 1px solid #e5e7eb;
}

/* line 24779, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-chip.is-image {
  position: relative;
  padding: 6px;
}

/* line 24784, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-thumb {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #e8eaed;
}

/* line 24794, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 24801, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-thumb .ai-drive-chat-pending-icon {
  width: 100%;
  height: 100%;
}

/* line 24806, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-chip.is-image .ai-drive-chat-pending-clear {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.12);
}

/* line 24818, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 24829, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-icon .ai-drive-item-icon,
.ai-drive-chat-pending-icon .ai-drive-item-glyph {
  width: 28px;
  height: 28px;
}

/* line 24835, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-name {
  font-size: 13px;
  font-weight: 600;
  color: #202124;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

/* line 24845, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-clear {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}

/* line 24858, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-clear:hover {
  background: #e8eaed;
  color: #202124;
}

/* line 24863, app/assets/stylesheets/application.scss */
.ai-drive-chat-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* line 24870, app/assets/stylesheets/application.scss */
.ai-drive-chat-form input,
.ai-drive-chat-composer input {
  flex: 1;
  height: 44px;
  border: 1px solid #dadce0;
  border-radius: 22px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: #f8f9fa;
}

/* line 24882, app/assets/stylesheets/application.scss */
.ai-drive-chat-form input:focus,
.ai-drive-chat-composer input:focus {
  border-color: rgba(23, 25, 29, 0.2);
  background: #fff;
  box-shadow: none;
}

/* line 24889, app/assets/stylesheets/application.scss */
.ai-drive-chat-form button[type="submit"],
.ai-drive-chat-composer button[type="submit"] {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 24901, app/assets/stylesheets/application.scss */
.ai-drive-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 10px;
  scrollbar-width: none;
}

/* line 24909, app/assets/stylesheets/application.scss */
.ai-drive-suggestions::-webkit-scrollbar {
  display: none;
}

/* line 24913, app/assets/stylesheets/application.scss */
.ai-drive-suggestions-footer {
  padding: 10px 0 0;
  background: transparent;
  width: 100%;
}

/* line 24919, app/assets/stylesheets/application.scss */
.ai-drive-footer {
  flex: 0 0 auto;
  border-top: 1px solid rgba(23, 25, 29, 0.06);
  background: transparent;
  box-shadow: none;
  padding: 0 18px 14px;
}

/* line 24927, app/assets/stylesheets/application.scss */
.ai-drive-footer .hub-ai-composer-curtain {
  display: none;
}

/* line 24931, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-drive-pane .ai-drive-footer {
  padding: 0 14px 12px;
  border-top: 0;
}

/* line 24936, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-chat-messages {
  padding-bottom: 18px;
}

/* line 24940, 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 24958, app/assets/stylesheets/application.scss */
.ai-drive-chip:hover {
  background: #fff;
  border-color: color-mix(in srgb, #1a73e8 24%, #e5e7eb);
  color: #1a73e8;
}

/* line 24964, 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 24974, 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 24983, 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 24991, 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 25001, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-rich {
  align-items: stretch;
  justify-content: flex-start;
  background: #e8eaed;
  padding: 10px;
}

/* line 25008, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-media {
  background: #fafafa;
}

/* line 25012, 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 25024, app/assets/stylesheets/application.scss */
.ai-drive-preview-body audio {
  width: 100%;
}

/* line 25028, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx {
  width: 100%;
  min-height: 100%;
}

/* line 25033, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx .docx-wrapper {
  background: transparent !important;
  padding: 0 !important;
}

/* line 25038, 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 25046, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx.perk-docx-faithful .docx-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* line 25053, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx.perk-docx-faithful .docx-wrapper > section.docx {
  width: auto !important;
  max-width: 100%;
  min-height: auto !important;
}

/* line 25059, 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 25074, app/assets/stylesheets/application.scss */
.ai-drive-preview-loading {
  color: #5f6368;
  font-size: 20px;
}

/* line 25079, app/assets/stylesheets/application.scss */
.ai-drive-preview-file {
  text-align: center;
  color: #5f6368;
}

/* line 25084, app/assets/stylesheets/application.scss */
.ai-drive-preview-file .ai-drive-item-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
}

/* line 25090, app/assets/stylesheets/application.scss */
.ai-drive-preview-file .ai-drive-item-glyph {
  font-size: 17px;
}

/* line 25094, app/assets/stylesheets/application.scss */
.ai-drive-preview-actions {
  display: flex;
  gap: 4px;
  padding: 8px 10px 12px;
  border-top: 1px solid #e8eaed;
}

/* Collaborative document workspace (Word / Excel / PPT / PDF) — full-viewport editor window */
/* line 25102, app/assets/stylesheets/application.scss */
.ai-drive-workspace {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  color: #111827;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}

/* line 25119, app/assets/stylesheets/application.scss */
.ai-drive-workspace.hidden,
.ai-drive-workspace[hidden] {
  display: none !important;
}

/* line 25124, app/assets/stylesheets/application.scss */
body.ai-drive-workspace-open {
  overflow: hidden;
}

/* line 25128, app/assets/stylesheets/application.scss */
.ai-drive-workspace-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  min-height: 56px;
}

/* line 25138, app/assets/stylesheets/application.scss */
.ai-drive-workspace-title {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 25146, app/assets/stylesheets/application.scss */
.ai-drive-workspace-title strong {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 25154, app/assets/stylesheets/application.scss */
.ai-drive-workspace-meta {
  font-size: 12px;
  color: #6b7280;
}

/* line 25159, app/assets/stylesheets/application.scss */
.ai-drive-workspace-presence {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 25166, app/assets/stylesheets/application.scss */
.ai-drive-presence-avatars {
  display: flex;
}

/* line 25170, app/assets/stylesheets/application.scss */
.ai-drive-presence-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--p, #1a73e8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  margin-left: -6px;
}

/* line 25185, app/assets/stylesheets/application.scss */
.ai-drive-presence-avatar:first-child {
  margin-left: 0;
}

/* line 25189, app/assets/stylesheets/application.scss */
.ai-drive-presence-label {
  font-size: 12px;
  color: #4b5563;
  white-space: nowrap;
}

/* line 25195, app/assets/stylesheets/application.scss */
.ai-drive-workspace-actions {
  display: flex;
  gap: 6px;
}

/* line 25200, app/assets/stylesheets/application.scss */
.ai-drive-workspace-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 25207, app/assets/stylesheets/application.scss */
.ai-drive-workspace-mount {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

/* line 25215, app/assets/stylesheets/application.scss */
.ai-drive-workspace-error {
  margin: auto;
  text-align: center;
  color: #6b7280;
  padding: 24px;
}

/* line 25222, app/assets/stylesheets/application.scss */
.perk-word-microsoft-chrome {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #f3f3f3;
}

/* line 25230, app/assets/stylesheets/application.scss */
.perk-word-microsoft-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  flex: 0 0 auto;
}

/* line 25240, app/assets/stylesheets/application.scss */
.perk-word-microsoft-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

/* line 25249, app/assets/stylesheets/application.scss */
.perk-word-microsoft-badge {
  font-size: 12px;
  color: #2b579a;
  font-weight: 600;
}

/* line 25255, app/assets/stylesheets/application.scss */
.perk-word-microsoft-body,
.perk-word-microsoft-mount {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

/* line 25262, app/assets/stylesheets/application.scss */
.perk-word-microsoft-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

/* line 25271, app/assets/stylesheets/application.scss */
.perk-docx-faithful .docx-wrapper {
  background: transparent !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  /* Isolate from hub UI font/color so DOCX theme + run styles render */
  color: #000;
  font-family: "Times New Roman", Times, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* line 25285, app/assets/stylesheets/application.scss */
.perk-docx-faithful .docx-wrapper > section.docx {
  /* Keep Word page width from the DOCX — do not stretch to viewport */
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.18), 0 4px 12px rgba(60, 64, 67, 0.1);
  background: #fff !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  color: #000;
}

@media (max-width: 720px) {
  /* line 25295, app/assets/stylesheets/application.scss */
  .perk-docx-faithful .docx-wrapper > section.docx {
    max-width: 100vw;
  }
}

/* line 25300, app/assets/stylesheets/application.scss */
.ai-drive-quill {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}

/* line 25308, app/assets/stylesheets/application.scss */
.ai-drive-quill .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

/* line 25314, app/assets/stylesheets/application.scss */
.ai-drive-quill .ql-container.ql-snow {
  border: 0;
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.6;
}

/* line 25321, app/assets/stylesheets/application.scss */
.ai-drive-quill .ql-editor {
  max-width: 820px;
  margin: 0 auto;
  min-height: 100%;
  padding: 28px 20px 64px;
}

/* line 25328, app/assets/stylesheets/application.scss */
.ai-drive-sheet-scroll {
  flex: 1 1 auto;
  overflow: auto;
  background: #fff;
}

/* line 25334, app/assets/stylesheets/application.scss */
.ai-drive-sheet {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 13px;
}

/* line 25340, app/assets/stylesheets/application.scss */
.ai-drive-sheet th,
.ai-drive-sheet td {
  border: 1px solid #e5e7eb;
  padding: 0;
  min-width: 96px;
}

/* line 25347, app/assets/stylesheets/application.scss */
.ai-drive-sheet thead th,
.ai-drive-sheet tbody th {
  background: #f3f4f6;
  color: #6b7280;
  font-weight: 600;
  text-align: center;
  padding: 6px 8px;
  position: sticky;
  top: 0;
  z-index: 1;
  min-width: 40px;
}

/* line 25360, app/assets/stylesheets/application.scss */
.ai-drive-sheet tbody th {
  left: 0;
  z-index: 2;
}

/* line 25365, app/assets/stylesheets/application.scss */
.ai-drive-sheet input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 7px 8px;
  background: transparent;
  font: inherit;
}

/* line 25375, app/assets/stylesheets/application.scss */
.ai-drive-sheet input:focus {
  background: #eff6ff;
  box-shadow: inset 0 0 0 2px #1a73e8;
}

/* ——— Perk Spreadsheet Editor (Phase 1) ——— */
/* line 25381, app/assets/stylesheets/application.scss */
.perk-sheet-workspace.ai-drive-workspace,
.ai-drive-workspace.perk-sheet-workspace {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

@media print {
  /* line 25390, app/assets/stylesheets/application.scss */
  body * {
    visibility: hidden !important;
  }
  /* line 25393, app/assets/stylesheets/application.scss */
  .perk-sheet-workspace,
.perk-sheet-workspace * {
    visibility: visible !important;
  }
  /* line 25397, app/assets/stylesheets/application.scss */
  .perk-sheet-workspace {
    position: absolute;
    inset: 0;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
  }
  /* line 25404, app/assets/stylesheets/application.scss */
  .perk-sheet-header,
.perk-sheet-menubar,
.perk-sheet-toolbar,
.perk-sheet-formula-bar,
.perk-sheet-ai,
.perk-sheet-comments,
.perk-sheet-versions,
.perk-sheet-charts,
.perk-sheet-context,
.perk-sheet-more-panel,
.perk-sheet-find,
.perk-sheet-banner,
.perk-sheet-remote-cursors,
[data-ws-presence],
[data-ws-status] {
    display: none !important;
  }
  /* line 25421, app/assets/stylesheets/application.scss */
  .perk-sheet-grid-host,
.perk-sheet-scroll {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    width: auto !important;
  }
  /* line 25428, app/assets/stylesheets/application.scss */
  .perk-sheet-cell,
.perk-sheet-col-h,
.perk-sheet-row-h {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* line 25436, app/assets/stylesheets/application.scss */
.perk-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
  flex: 0 0 auto;
  min-height: 48px;
  position: relative;
  z-index: 5;
}

/* line 25450, app/assets/stylesheets/application.scss */
.perk-sheet-header .perk-sheet-icon-btn[data-ws-close] {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

/* line 25456, app/assets/stylesheets/application.scss */
.perk-sheet-header-left,
.perk-sheet-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 25464, app/assets/stylesheets/application.scss */
.perk-sheet-header-left {
  flex: 1 1 auto;
}

/* line 25465, app/assets/stylesheets/application.scss */
.perk-sheet-header-right {
  flex: 0 0 auto;
}

/* line 25467, app/assets/stylesheets/application.scss */
.perk-sheet-crumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #5f6368;
}

/* line 25475, app/assets/stylesheets/application.scss */
.perk-sheet-brand {
  font-weight: 700;
  color: #188038;
  font-size: 13px;
}

/* line 25481, app/assets/stylesheets/application.scss */
.perk-sheet-crumb-sep {
  opacity: 0.5;
}

/* line 25483, app/assets/stylesheets/application.scss */
.perk-sheet-type-icon {
  color: #188038;
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 25490, app/assets/stylesheets/application.scss */
.perk-sheet-type-icon .perk-sheet-ico {
  width: 22px;
  height: 22px;
}

/* line 25495, app/assets/stylesheets/application.scss */
.perk-sheet-title-input {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 15px;
  font-weight: 500;
  min-width: 120px;
  max-width: 360px;
  background: transparent;
}

/* line 25506, app/assets/stylesheets/application.scss */
.perk-sheet-title-input:hover {
  border-color: #dadce0;
}

/* line 25507, app/assets/stylesheets/application.scss */
.perk-sheet-title-input:focus {
  outline: none;
  border-color: #188038;
  background: #fff;
}

/* line 25513, app/assets/stylesheets/application.scss */
.perk-sheet-file-type {
  font-size: 11px;
  color: #80868b;
  text-transform: lowercase;
}

/* line 25519, app/assets/stylesheets/application.scss */
.perk-sheet-save-status {
  font-size: 12px;
  color: #5f6368;
  white-space: nowrap;
}

/* line 25524, app/assets/stylesheets/application.scss */
.perk-sheet-save-status.is-error {
  color: #d93025;
}

/* line 25526, app/assets/stylesheets/application.scss */
.perk-sheet-icon-btn,
.perk-sheet-text-btn,
.perk-sheet-tb-btn {
  border: 0;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  color: #3c4043;
  font-size: 13px;
}

/* line 25537, app/assets/stylesheets/application.scss */
.perk-sheet-icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 25545, app/assets/stylesheets/application.scss */
.perk-sheet-text-btn {
  padding: 6px 10px;
  font-weight: 500;
}

/* line 25550, app/assets/stylesheets/application.scss */
.perk-sheet-icon-btn:hover,
.perk-sheet-text-btn:hover,
.perk-sheet-tb-btn:hover {
  background: #f1f3f4;
}

/* line 25556, app/assets/stylesheets/application.scss */
.perk-sheet-ai-btn.is-muted {
  opacity: 0.55;
  cursor: not-allowed;
}

/* line 25558, app/assets/stylesheets/application.scss */
.perk-sheet-menubar {
  display: flex;
  gap: 2px;
  padding: 0 8px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
  flex: 0 0 auto;
  position: relative;
  z-index: 5;
}

/* line 25569, app/assets/stylesheets/application.scss */
.perk-sheet-menu {
  position: relative;
}

/* line 25571, app/assets/stylesheets/application.scss */
.perk-sheet-menu-trigger {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  color: #3c4043;
}

/* line 25580, app/assets/stylesheets/application.scss */
.perk-sheet-menu-trigger:hover {
  background: #f1f3f4;
}

/* line 25582, app/assets/stylesheets/application.scss */
.perk-sheet-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 4px 0;
  z-index: 20;
}

/* line 25595, app/assets/stylesheets/application.scss */
.perk-sheet-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  color: #202124;
}

/* line 25609, app/assets/stylesheets/application.scss */
.perk-sheet-menu-item:hover {
  background: #f1f3f4;
}

/* line 25610, app/assets/stylesheets/application.scss */
.perk-sheet-menu-item.is-disabled,
.perk-sheet-menu-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 25615, app/assets/stylesheets/application.scss */
.perk-sheet-menu-shortcut {
  color: #80868b;
  font-size: 11px;
}

/* line 25620, app/assets/stylesheets/application.scss */
.perk-sheet-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  padding: 4px 8px;
  border-bottom: 1px solid #e8eaed;
  background: #f8f9fa;
  flex: 0 0 auto;
}

/* line 25631, app/assets/stylesheets/application.scss */
.perk-sheet-tb-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 25639, app/assets/stylesheets/application.scss */
.perk-sheet-ico {
  width: 16px;
  height: 16px;
  display: block;
}

/* line 25644, app/assets/stylesheets/application.scss */
.perk-sheet-color-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
}

/* line 25654, app/assets/stylesheets/application.scss */
.perk-sheet-color-wrap:hover {
  background: #e8eaed;
}

/* line 25655, app/assets/stylesheets/application.scss */
.perk-sheet-color-mark {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border-bottom: 3px solid #111827;
  pointer-events: none;
}

/* line 25662, app/assets/stylesheets/application.scss */
.perk-sheet-color-mark.is-fill {
  width: 14px;
  height: 14px;
  border: 1px solid #dadce0;
  border-bottom: 3px solid #fbbc04;
  background: #fff;
}

/* line 25669, app/assets/stylesheets/application.scss */
.perk-sheet-color-wrap .perk-sheet-tb-color {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

/* line 25678, app/assets/stylesheets/application.scss */
.perk-sheet-zoom-inline {
  margin: 0;
  min-width: 40px;
  text-align: center;
}

/* line 25684, app/assets/stylesheets/application.scss */
.perk-sheet-tb-sep {
  width: 1px;
  height: 20px;
  background: #dadce0;
  margin: 0 4px;
}

/* line 25691, app/assets/stylesheets/application.scss */
.perk-sheet-tb-select {
  height: 28px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  padding: 0 4px;
  max-width: 120px;
}

/* line 25700, app/assets/stylesheets/application.scss */
.perk-sheet-tb-select.is-size {
  max-width: 56px;
}

/* line 25702, app/assets/stylesheets/application.scss */
.perk-sheet-tb-color {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

/* line 25712, app/assets/stylesheets/application.scss */
.perk-sheet-formula-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
  flex: 0 0 auto;
}

/* line 25722, app/assets/stylesheets/application.scss */
.perk-sheet-name-box {
  width: 96px;
  height: 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
  color: #202124;
  background: #f8f9fa;
}

/* line 25732, app/assets/stylesheets/application.scss */
.perk-sheet-name-box:focus {
  outline: none;
  border-color: #188038;
  background: #fff;
}

/* line 25738, app/assets/stylesheets/application.scss */
.perk-sheet-fx-label {
  color: #188038;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  padding: 0 2px;
}

/* line 25746, app/assets/stylesheets/application.scss */
.perk-sheet-fx-wrap {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
}

/* line 25752, app/assets/stylesheets/application.scss */
.perk-sheet-fx-input {
  width: 100%;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 13px;
  color: #202124;
  background: transparent;
}

/* line 25762, app/assets/stylesheets/application.scss */
.perk-sheet-fx-input:hover {
  border-color: #dadce0;
}

/* line 25763, app/assets/stylesheets/application.scss */
.perk-sheet-fx-input:focus {
  outline: none;
  border-color: #188038;
  background: #fff;
}

/* line 25769, app/assets/stylesheets/application.scss */
.perk-sheet-fx-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 30;
  max-height: 220px;
  overflow: auto;
}

/* line 25783, app/assets/stylesheets/application.scss */
.perk-sheet-fx-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
}

/* line 25795, app/assets/stylesheets/application.scss */
.perk-sheet-fx-item:hover {
  background: #e6f4ea;
}

/* line 25796, app/assets/stylesheets/application.scss */
.perk-sheet-fx-item span {
  font-size: 11px;
  color: #5f6368;
}

/* line 25798, app/assets/stylesheets/application.scss */
.perk-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* line 25806, app/assets/stylesheets/application.scss */
.perk-sheet-grid-host {
  flex: 1 1 auto;
  min-height: 0;
  outline: none;
  position: relative;
}

/* line 25813, app/assets/stylesheets/application.scss */
.perk-sheet-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}

/* line 25823, app/assets/stylesheets/application.scss */
.perk-sheet-spacer {
  position: relative;
}

/* line 25827, app/assets/stylesheets/application.scss */
.perk-sheet-editor-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

/* line 25833, app/assets/stylesheets/application.scss */
.perk-sheet-editor-host .perk-sheet-cell-editor {
  pointer-events: auto;
}

/* line 25837, app/assets/stylesheets/application.scss */
.perk-sheet-corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 4;
  background: #f8f9fa;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* line 25847, app/assets/stylesheets/application.scss */
.perk-sheet-cols {
  position: absolute;
  top: 0;
  display: flex;
  height: 24px;
  z-index: 3;
}

/* line 25855, app/assets/stylesheets/application.scss */
.perk-sheet-col-h {
  flex: 0 0 auto;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #5f6368;
  background: #f8f9fa;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  box-sizing: border-box;
}

/* line 25871, app/assets/stylesheets/application.scss */
.perk-sheet-col-h.is-active {
  background: #e6f4ea;
  color: #137333;
}

/* line 25876, app/assets/stylesheets/application.scss */
.perk-sheet-rows {
  position: absolute;
  left: 0;
}

/* line 25881, app/assets/stylesheets/application.scss */
.perk-sheet-row {
  display: flex;
  box-sizing: border-box;
  position: relative;
}

/* line 25887, app/assets/stylesheets/application.scss */
.perk-sheet-row-cells {
  display: flex;
  flex: 0 0 auto;
}

/* line 25892, app/assets/stylesheets/application.scss */
.perk-sheet-row-h {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #5f6368;
  background: #f8f9fa;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  left: 0;
  z-index: 2;
  box-sizing: border-box;
}

/* line 25908, app/assets/stylesheets/application.scss */
.perk-sheet-row-h.is-active {
  background: #e6f4ea;
  color: #137333;
}

/* line 25913, app/assets/stylesheets/application.scss */
.perk-sheet-cell {
  flex: 0 0 auto;
  box-sizing: border-box;
  border-right: 1px solid #e6e8eb;
  border-bottom: 1px solid #e6e8eb;
  padding: 0 6px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.25;
  overflow: hidden;
  color: #202124;
  background: #fff;
  cursor: cell;
  user-select: none;
  display: flex;
  align-items: center;
}

/* line 25930, app/assets/stylesheets/application.scss */
.perk-sheet-cell-value {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* line 25937, app/assets/stylesheets/application.scss */
.perk-sheet-cell-value.is-wrap {
  white-space: normal;
  text-overflow: clip;
  line-height: 1.3;
}

/* line 25942, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-selected:not(.is-active) {
  box-shadow: inset 0 0 0 999px rgba(24, 128, 56, 0.14);
}

/* line 25945, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-active {
  outline: 2px solid #188038;
  outline-offset: -2px;
  z-index: 1;
}

/* line 25950, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-error {
  color: #d93025;
}

/* line 25952, app/assets/stylesheets/application.scss */
.perk-sheet-cell-editor {
  position: absolute;
  z-index: 6;
  border: 2px solid #188038;
  padding: 0 4px;
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
  background: #fff;
}

/* line 25963, app/assets/stylesheets/application.scss */
.perk-sheet-tabs {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 0 8px;
  border-top: 1px solid #e8eaed;
  background: #f8f9fa;
  flex: 0 0 auto;
  overflow-x: auto;
  min-height: 36px;
}

/* line 25974, app/assets/stylesheets/application.scss */
.perk-sheet-tabbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  flex: 0 0 auto;
  padding-left: 12px;
}

/* line 25983, app/assets/stylesheets/application.scss */
.perk-sheet-statusline {
  font-size: 12px;
  color: #5f6368;
  white-space: nowrap;
}

/* line 25989, app/assets/stylesheets/application.scss */
.perk-sheet-tab,
.perk-sheet-tab-add {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 4px 4px 0 0;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  color: #3c4043;
  white-space: nowrap;
}

/* line 26000, app/assets/stylesheets/application.scss */
.perk-sheet-tab:hover,
.perk-sheet-tab-add:hover {
  background: #e8eaed;
}

/* line 26002, app/assets/stylesheets/application.scss */
.perk-sheet-tab.is-active {
  background: #fff;
  border-color: #dadce0;
  border-bottom-color: #fff;
  font-weight: 600;
  color: #188038;
  box-shadow: inset 0 2px 0 #188038;
}

/* line 26011, app/assets/stylesheets/application.scss */
.perk-sheet-find {
  position: absolute;
  top: 56px;
  right: 16px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  max-width: 420px;
}

/* line 26027, app/assets/stylesheets/application.scss */
.perk-sheet-find input[type="text"] {
  height: 28px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 13px;
}

/* line 26034, app/assets/stylesheets/application.scss */
.perk-sheet-find button {
  height: 28px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #fff;
  padding: 0 10px;
  font-size: 12px;
  cursor: pointer;
}

/* line 26043, app/assets/stylesheets/application.scss */
.perk-sheet-find-case {
  font-size: 12px;
  color: #5f6368;
}

/* line 26045, app/assets/stylesheets/application.scss */
.perk-sheet-col-h {
  position: relative;
}

/* line 26046, app/assets/stylesheets/application.scss */
.perk-sheet-col-resize {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
}

/* line 26054, app/assets/stylesheets/application.scss */
.perk-sheet-fill {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  background: #188038;
  border: 1px solid #fff;
  cursor: crosshair;
  z-index: 3;
}

/* line 26065, app/assets/stylesheets/application.scss */
.perk-sheet-cell {
  position: relative;
}

/* line 26066, app/assets/stylesheets/application.scss */
.perk-sheet-grid-host.is-no-gridlines .perk-sheet-cell {
  box-shadow: none;
  border-color: transparent;
}

/* line 26070, app/assets/stylesheets/application.scss */
.perk-sheet-zoom {
  font-size: 12px;
  color: #3c4043;
  padding: 0 4px;
  min-width: 36px;
  text-align: center;
}

/* line 26077, app/assets/stylesheets/application.scss */
.perk-sheet-banner {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  max-width: min(720px, 90vw);
  background: #fff8e1;
  color: #5d4037;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}

/* line 26091, app/assets/stylesheets/application.scss */
.perk-sheet-context {
  position: fixed;
  z-index: 50;
  min-width: 180px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  padding: 4px 0;
}

/* line 26101, app/assets/stylesheets/application.scss */
.perk-sheet-ai {
  position: absolute;
  top: 108px;
  right: 12px;
  bottom: 48px;
  width: 320px;
  z-index: 35;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

/* line 26116, app/assets/stylesheets/application.scss */
.perk-sheet-ai header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #e8eaed;
}

/* line 26123, app/assets/stylesheets/application.scss */
.perk-sheet-ai [data-sheet-ai-body] {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

/* line 26124, app/assets/stylesheets/application.scss */
.perk-sheet-ai-note {
  color: #5f6368;
}

/* line 26125, app/assets/stylesheets/application.scss */
.perk-sheet-ai-error {
  color: #d93025;
  margin: 8px 0;
}

/* line 26126, app/assets/stylesheets/application.scss */
.perk-sheet-ai-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

/* line 26132, app/assets/stylesheets/application.scss */
.perk-sheet-ai-tool {
  border: 1px solid #dadce0;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

/* line 26140, app/assets/stylesheets/application.scss */
.perk-sheet-ai-tool:hover {
  background: #e8f0fe;
  border-color: #aecbfa;
}

/* line 26141, app/assets/stylesheets/application.scss */
.perk-sheet-ai-tool:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* line 26142, app/assets/stylesheets/application.scss */
.perk-sheet-ai-ask {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
  font-size: 12px;
  color: #5f6368;
}

/* line 26150, app/assets/stylesheets/application.scss */
.perk-sheet-ai-ask textarea {
  width: 100%;
  border: 1px solid #dadce0;
  border-radius: 6px;
  padding: 6px 8px;
  font: inherit;
  resize: vertical;
  min-height: 52px;
}

/* line 26159, app/assets/stylesheets/application.scss */
.perk-sheet-ai-result-title {
  margin: 12px 0 6px;
  font-size: 13px;
}

/* line 26163, app/assets/stylesheets/application.scss */
.perk-sheet-ai-actions {
  margin: 8px 0;
  padding-left: 18px;
  font-size: 12px;
}

/* line 26168, app/assets/stylesheets/application.scss */
.perk-sheet-ai-actions code {
  font-size: 11px;
  background: #f1f3f4;
  padding: 1px 4px;
  border-radius: 3px;
}

/* line 26174, app/assets/stylesheets/application.scss */
.perk-sheet-ai-confirm {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

/* line 26180, app/assets/stylesheets/application.scss */
.perk-sheet-ai-confirm button[data-sheet-action="ai-apply"] {
  border: 0;
  background: #1a73e8;
  color: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}

/* line 26188, app/assets/stylesheets/application.scss */
.perk-sheet-import-error {
  margin: 48px auto;
  max-width: 460px;
  text-align: center;
}

/* line 26193, app/assets/stylesheets/application.scss */
.perk-sheet-import-error button {
  margin-top: 12px;
  border: 1px solid #dadce0;
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}

/* line 26202, app/assets/stylesheets/application.scss */
.perk-sheet-comment-mark {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 8px solid #fbbc04;
  border-left: 8px solid transparent;
}

/* line 26211, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-merged {
  z-index: 1;
}

/* line 26214, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-frozen,
.perk-sheet-col-h.is-frozen,
.perk-sheet-row.is-frozen-row .perk-sheet-row-h {
  background: #f8fafc;
}

/* line 26219, app/assets/stylesheets/application.scss */
.perk-sheet-filter-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  padding: 0 2px;
  color: #5f6368;
}

/* line 26227, app/assets/stylesheets/application.scss */
.perk-sheet-filter-pop {
  position: fixed;
  z-index: 55;
  min-width: 180px;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  padding: 8px;
  font-size: 12px;
}

/* line 26240, app/assets/stylesheets/application.scss */
.perk-sheet-filter-item {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 3px 0;
}

/* line 26246, app/assets/stylesheets/application.scss */
.perk-sheet-filter-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

/* line 26251, app/assets/stylesheets/application.scss */
.perk-sheet-filter-actions button {
  border: 1px solid #dadce0;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
}

/* line 26258, app/assets/stylesheets/application.scss */
.perk-sheet-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

/* line 26264, app/assets/stylesheets/application.scss */
.perk-sheet-remote-cursors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
}

/* line 26270, app/assets/stylesheets/application.scss */
.perk-sheet-remote-cursor {
  position: absolute;
  width: 2px;
  height: 18px;
  background: var(--peer, #1a73e8);
  transform: translateY(2px);
}

/* line 26277, app/assets/stylesheets/application.scss */
.perk-sheet-remote-cursor span {
  position: absolute;
  left: 0;
  top: -16px;
  white-space: nowrap;
  font-size: 10px;
  line-height: 14px;
  padding: 0 4px;
  border-radius: 2px 2px 2px 0;
  color: #fff;
  background: var(--peer, #1a73e8);
}

/* line 26289, app/assets/stylesheets/application.scss */
.perk-sheet-versions {
  position: absolute;
  top: 108px;
  right: 12px;
  z-index: 40;
  width: 300px;
  max-height: calc(100% - 140px);
  overflow: auto;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* line 26302, app/assets/stylesheets/application.scss */
.perk-sheet-versions[hidden] {
  display: none !important;
}

/* line 26305, app/assets/stylesheets/application.scss */
.perk-sheet-versions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #e8eaed;
}

/* line 26312, app/assets/stylesheets/application.scss */
.perk-sheet-versions-list {
  padding: 8px 10px;
  max-height: 360px;
  overflow: auto;
}

/* line 26317, app/assets/stylesheets/application.scss */
.perk-sheet-versions-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid #e8eaed;
}

/* line 26324, app/assets/stylesheets/application.scss */
.perk-sheet-versions-compare,
.perk-sheet-versions-hint {
  margin: 0;
  padding: 8px 12px 12px;
  font-size: 12px;
  color: #5f6368;
}

/* line 26331, app/assets/stylesheets/application.scss */
.perk-sheet-versions-open .perk-sheet-charts {
  right: 328px;
}

/* line 26334, app/assets/stylesheets/application.scss */
.perk-sheet-charts {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

/* line 26344, app/assets/stylesheets/application.scss */
.perk-sheet-chart-card {
  width: 360px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  overflow: hidden;
}

/* line 26353, app/assets/stylesheets/application.scss */
.perk-sheet-chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid #e8eaed;
  background: #f8f9fa;
}

/* line 26361, app/assets/stylesheets/application.scss */
.perk-sheet-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* line 26366, app/assets/stylesheets/application.scss */
.perk-sheet-comments {
  position: absolute;
  top: 108px;
  right: 12px;
  bottom: 48px;
  width: 300px;
  z-index: 36;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 26381, app/assets/stylesheets/application.scss */
.perk-sheet-comments header,
.perk-sheet-comments footer {
  padding: 10px 12px;
  border-bottom: 1px solid #e8eaed;
}

/* line 26386, app/assets/stylesheets/application.scss */
.perk-sheet-comments footer {
  border-bottom: 0;
  border-top: 1px solid #e8eaed;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 26393, app/assets/stylesheets/application.scss */
.perk-sheet-comments textarea {
  width: 100%;
  border: 1px solid #dadce0;
  border-radius: 6px;
  padding: 8px;
  font: inherit;
  resize: vertical;
}

/* line 26401, app/assets/stylesheets/application.scss */
.perk-sheet-comments [data-sheet-comments-body] {
  flex: 1 1 auto;
  overflow: auto;
  padding: 10px 12px;
}

/* line 26406, app/assets/stylesheets/application.scss */
.perk-sheet-comment-card {
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}

/* line 26412, app/assets/stylesheets/application.scss */
.perk-sheet-comment-card.is-active {
  border-color: #188038;
  background: #f0faf2;
}

/* line 26417, app/assets/stylesheets/application.scss */
.perk-sheet-more-panel {
  position: absolute;
  top: 48px;
  right: 12px;
  z-index: 40;
  min-width: 200px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 4px 0;
}

/* line 26430, app/assets/stylesheets/application.scss */
.perk-sheet-presence {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 720px) {
  /* line 26437, app/assets/stylesheets/application.scss */
  .perk-sheet-menubar {
    display: none;
  }
  /* line 26438, app/assets/stylesheets/application.scss */
  .perk-sheet-crumb-drive,
.perk-sheet-file-type {
    display: none;
  }
  /* line 26440, app/assets/stylesheets/application.scss */
  .perk-sheet-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  /* line 26441, app/assets/stylesheets/application.scss */
  .perk-sheet-title-input {
    max-width: 140px;
  }
}

/* line 26445, app/assets/stylesheets/application.scss */
.ai-drive-slides {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 100%;
  background: #eef2f7;
}

/* line 26452, app/assets/stylesheets/application.scss */
.ai-drive-slides-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  overflow: auto;
}

/* line 26462, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb {
  text-align: left;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  gap: 8px;
  cursor: pointer;
  align-items: flex-start;
}

/* line 26474, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb.is-active {
  border-color: #1a73e8;
  background: #eff6ff;
}

/* line 26479, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  padding-top: 2px;
}

/* line 26486, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb-preview {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* line 26497, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* line 26506, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb-preview em {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  z-index: 1;
}

/* line 26522, app/assets/stylesheets/application.scss */
.ai-drive-slide-stage-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 0;
  overflow: auto;
}

/* line 26531, app/assets/stylesheets/application.scss */
.ai-drive-slide-canvas {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 4 / 3;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

/* line 26541, app/assets/stylesheets/application.scss */
.ai-drive-slide-el {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
}

/* line 26547, app/assets/stylesheets/application.scss */
.ai-drive-slide-el.is-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* line 26556, app/assets/stylesheets/application.scss */
.ai-drive-slide-el.is-text {
  outline: none;
  line-height: 1.35;
  padding: 4px 6px;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: text;
}

/* line 26565, app/assets/stylesheets/application.scss */
.ai-drive-slide-el.is-text:focus {
  box-shadow: inset 0 0 0 2px rgba(26, 115, 232, 0.45);
  background: rgba(255, 255, 255, 0.35);
}

/* line 26570, app/assets/stylesheets/application.scss */
.ai-drive-slide-el.is-shape {
  pointer-events: none;
}

/* Legacy class kept for older cached markup */
/* line 26575, app/assets/stylesheets/application.scss */
.ai-drive-slide-stage {
  margin: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
}

/* line 26587, app/assets/stylesheets/application.scss */
.ai-drive-slide-title {
  border: 0;
  font-size: 28px;
  font-weight: 700;
  outline: none;
  width: 100%;
}

/* line 26595, app/assets/stylesheets/application.scss */
.ai-drive-slide-body {
  border: 0;
  resize: none;
  flex: 1 1 auto;
  min-height: 220px;
  font-size: 16px;
  line-height: 1.55;
  outline: none;
  width: 100%;
}

/* line 26606, app/assets/stylesheets/application.scss */
.ai-drive-pdf-viewer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  background: #111827;
}

/* line 26614, app/assets/stylesheets/application.scss */
.ai-drive-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #1f2937;
  color: #f9fafb;
  flex: 0 0 auto;
}

/* line 26625, app/assets/stylesheets/application.scss */
.ai-drive-pdf-toolbar .ai-drive-icon-btn {
  color: #f9fafb;
  background: transparent;
  border-color: transparent;
}

/* line 26631, app/assets/stylesheets/application.scss */
.ai-drive-pdf-page-label,
.ai-drive-pdf-zoom-label {
  font-size: 13px;
  min-width: 64px;
  text-align: left;
  color: #d1d5db;
}

/* line 26639, app/assets/stylesheets/application.scss */
.ai-drive-pdf-edit-btn {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  background: #1a73e8 !important;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

/* line 26649, app/assets/stylesheets/application.scss */
.ai-drive-pdf-pages {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 0;
  background: #111827;
}

/* line 26659, app/assets/stylesheets/application.scss */
.ai-drive-pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #525659;
}

/* line 26666, app/assets/stylesheets/application.scss */
.ai-drive-pdf-canvas {
  max-width: none;
  height: auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  /* line 26674, app/assets/stylesheets/application.scss */
  .ai-drive-slides {
    grid-template-columns: 1fr;
  }
  /* line 26678, app/assets/stylesheets/application.scss */
  .ai-drive-slides-rail {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  /* line 26685, app/assets/stylesheets/application.scss */
  .ai-drive-slide-thumb {
    min-width: 140px;
  }
  /* line 26689, app/assets/stylesheets/application.scss */
  .ai-drive-slide-stage-wrap {
    padding: 12px;
  }
  /* line 26693, app/assets/stylesheets/application.scss */
  .ai-drive-workspace-presence .ai-drive-presence-label {
    display: none;
  }
}

/* ── Perk Word document editor (Docs-like chrome) ── */
/* line 26699, app/assets/stylesheets/application.scss */
.perk-doc-workspace.ai-drive-workspace {
  background: var(--perk-canvas, #f2f3f5);
  color: var(--perk-ink, #17191d);
  font-family: var(--perk-font, system-ui, -apple-system, sans-serif);
}

/* line 26705, app/assets/stylesheets/application.scss */
body.ai-drive-workspace-open .ai-drive-workspace {
  /* Always paint above hub chrome / floating AI as a dedicated editor window */
  pointer-events: auto;
}

/* line 26710, app/assets/stylesheets/application.scss */
.perk-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 6px 12px;
  background: var(--perk-surface, #fff);
  border-bottom: 1px solid var(--perk-line, #e5e7eb);
  flex: 0 0 auto;
}

/* line 26722, app/assets/stylesheets/application.scss */
.perk-doc-header-left,
.perk-doc-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 26730, app/assets/stylesheets/application.scss */
.perk-doc-header-left {
  flex: 1 1 auto;
}

/* line 26734, app/assets/stylesheets/application.scss */
.perk-doc-header-right {
  flex: 0 0 auto;
}

/* line 26738, app/assets/stylesheets/application.scss */
.perk-doc-crumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--perk-muted, #666e79);
  white-space: nowrap;
}

/* line 26747, app/assets/stylesheets/application.scss */
.perk-doc-brand {
  font-weight: 700;
  color: var(--perk-ink, #17191d);
  letter-spacing: -0.02em;
}

/* line 26753, app/assets/stylesheets/application.scss */
.perk-doc-crumb-sep {
  opacity: 0.45;
}

/* line 26757, app/assets/stylesheets/application.scss */
.perk-doc-type-icon {
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}

/* line 26763, app/assets/stylesheets/application.scss */
.perk-doc-title-input {
  min-width: 120px;
  max-width: 320px;
  width: 28vw;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--perk-ink, #17191d);
  background: transparent;
  outline: none;
}

/* line 26777, app/assets/stylesheets/application.scss */
.perk-doc-title-input:hover {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 26781, app/assets/stylesheets/application.scss */
.perk-doc-title-input:focus {
  border-color: var(--perk-line, #e5e7eb);
  background: var(--perk-surface, #fff);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

/* line 26787, app/assets/stylesheets/application.scss */
.perk-doc-save-status {
  font-size: 12px;
  color: var(--perk-muted, #666e79);
  white-space: nowrap;
  padding: 2px 6px;
  border-radius: 4px;
}

/* line 26795, app/assets/stylesheets/application.scss */
.perk-doc-save-status.is-error {
  color: #b3261e;
  cursor: pointer;
  text-decoration: underline;
}

/* line 26801, app/assets/stylesheets/application.scss */
.perk-doc-collab-status {
  font-size: 12px;
  color: var(--perk-muted, #666e79);
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--perk-line-soft, #eef0f3);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 26813, app/assets/stylesheets/application.scss */
.perk-doc-collab-status.is-live {
  color: #137333;
  background: #e6f4ea;
}

/* line 26818, app/assets/stylesheets/application.scss */
.perk-doc-collab-status.is-reconnecting {
  color: #b06000;
  background: #fef7e0;
  cursor: pointer;
}

/* line 26824, app/assets/stylesheets/application.scss */
.perk-doc-collab-status.is-offline {
  color: #5f6368;
  background: #f1f3f4;
}

/* line 26829, app/assets/stylesheets/application.scss */
.perk-doc-collab-status[hidden] {
  display: none !important;
}

/* Named remote cursors (quill-cursors) — base styles if module CSS not injected */
/* line 26834, app/assets/stylesheets/application.scss */
.ql-container {
  position: relative;
}

/* line 26836, app/assets/stylesheets/application.scss */
.ql-cursor.hidden {
  display: none;
}

/* line 26838, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-caret-container,
.ql-cursor .ql-cursor-flag {
  position: absolute;
}

/* line 26843, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-flag {
  z-index: 1;
  transform: translate3d(-1px, -100%, 0);
  color: #fff;
  padding-bottom: 2px;
  border-radius: 0 3px 3px 0;
  opacity: 1;
  visibility: visible;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}

/* line 26857, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-flag .ql-cursor-name {
  margin-left: 5px;
  margin-right: 5px;
  display: inline-block;
  margin-top: -2px;
  white-space: nowrap;
  font-family: var(--perk-font, system-ui, sans-serif);
}

/* line 26866, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-caret-container {
  margin-left: -9px;
  padding: 0 9px;
  pointer-events: none;
}

/* line 26872, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-caret {
  width: 2px;
  height: 100%;
  margin-left: 9px;
}

/* line 26878, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-selections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* line 26887, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-selection-block {
  position: absolute;
  opacity: 0.28;
}

/* line 26892, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-cursor .ql-cursor-flag {
  opacity: 1;
  visibility: visible;
}

/* line 26897, app/assets/stylesheets/application.scss */
.perk-doc-icon-btn,
.perk-doc-text-btn,
.perk-doc-tb-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--perk-ink, #17191d);
  cursor: pointer;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.2;
}

/* line 26910, app/assets/stylesheets/application.scss */
.perk-doc-icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* line 26919, app/assets/stylesheets/application.scss */
.perk-doc-text-btn {
  padding: 6px 10px;
  font-weight: 500;
}

/* line 26924, app/assets/stylesheets/application.scss */
.perk-doc-icon-btn:hover,
.perk-doc-text-btn:hover,
.perk-doc-tb-btn:hover {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 26930, app/assets/stylesheets/application.scss */
.perk-doc-text-btn.is-muted,
.perk-doc-text-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 26936, app/assets/stylesheets/application.scss */
.perk-doc-ai-btn {
  color: #1a73e8;
}

/* line 26940, app/assets/stylesheets/application.scss */
.perk-doc-ai-btn:not(:disabled):not(.is-muted) {
  opacity: 1;
  cursor: pointer;
}

/* line 26945, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble {
  position: absolute;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: min(420px, calc(100% - 24px));
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--perk-line-soft, #e5e7eb);
  box-shadow: 0 8px 24px rgba(23, 25, 29, 0.12);
}

/* line 26959, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble[hidden] {
  display: none !important;
}

/* line 26963, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble-btn {
  appearance: none;
  border: 0;
  background: #f4f5f7;
  color: var(--perk-ink, #17191d);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 6px 8px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}

/* line 26977, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble-btn:hover:not(:disabled) {
  background: #e8f0fe;
  color: #1a73e8;
}

/* line 26982, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 26987, app/assets/stylesheets/application.scss */
.perk-doc-ai-menu {
  position: absolute;
  z-index: 45;
  min-width: 240px;
  max-width: min(320px, calc(100% - 24px));
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--perk-line-soft, #e5e7eb);
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.14);
}

/* line 26999, app/assets/stylesheets/application.scss */
.perk-doc-ai-menu[hidden] {
  display: none !important;
}

/* line 27003, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 25, 29, 0.28);
}

/* line 27014, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview[hidden] {
  display: none !important;
}

/* line 27018, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-card {
  width: min(560px, 100%);
  max-height: min(70vh, 640px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 25, 29, 0.2);
}

/* line 27030, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 27037, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-body {
  margin: 0;
  flex: 1 1 auto;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--perk-ink, #17191d);
  background: #f8f9fb;
  border-radius: 10px;
  padding: 12px;
  min-height: 120px;
}

/* line 27051, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-error {
  color: #b42318;
  font-size: 13px;
}

/* line 27056, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* line 27063, app/assets/stylesheets/application.scss */
.perk-doc-ai-busy .perk-doc-ai-btn::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: perk-doc-ai-spin 0.7s linear infinite;
  vertical-align: -1px;
}

@keyframes perk-doc-ai-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 27080, app/assets/stylesheets/application.scss */
.perk-doc-presence {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 27086, app/assets/stylesheets/application.scss */
.perk-doc-menubar {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0 8px;
  background: var(--perk-surface, #fff);
  border-bottom: 1px solid var(--perk-line-soft, #eef0f3);
  flex: 0 0 auto;
}

/* line 27096, app/assets/stylesheets/application.scss */
.perk-doc-menu {
  position: relative;
}

/* line 27100, app/assets/stylesheets/application.scss */
.perk-doc-menu-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--perk-ink, #17191d);
  border-radius: 4px;
  cursor: pointer;
}

/* line 27111, app/assets/stylesheets/application.scss */
.perk-doc-menu-trigger:hover,
.perk-doc-menu-trigger[aria-expanded="true"] {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 27116, app/assets/stylesheets/application.scss */
.perk-doc-menu-panel,
.perk-doc-more-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 220px;
  padding: 6px;
  background: var(--perk-surface, #fff);
  border: 1px solid var(--perk-line, #e5e7eb);
  border-radius: 8px;
  box-shadow: var(--perk-shadow-md, 0 8px 24px rgba(23, 25, 29, 0.12));
}

/* line 27130, app/assets/stylesheets/application.scss */
.perk-doc-more-panel {
  right: 12px;
  left: auto;
  top: 48px;
}

/* line 27136, app/assets/stylesheets/application.scss */
.perk-doc-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  color: var(--perk-ink, #17191d);
  cursor: pointer;
  text-align: left;
}

/* line 27152, app/assets/stylesheets/application.scss */
.perk-doc-menu-item:hover:not(:disabled) {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 27156, app/assets/stylesheets/application.scss */
.perk-doc-menu-item.is-disabled,
.perk-doc-menu-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* line 27162, app/assets/stylesheets/application.scss */
.perk-doc-menu-shortcut {
  font-size: 11px;
  color: var(--perk-muted, #666e79);
}

/* line 27167, app/assets/stylesheets/application.scss */
.perk-doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 4px 10px;
  background: var(--perk-surface, #fff);
  border-bottom: 1px solid var(--perk-line, #e5e7eb);
  flex: 0 0 auto;
}

/* line 27178, app/assets/stylesheets/application.scss */
.perk-doc-tb-btn {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* line 27187, app/assets/stylesheets/application.scss */
.perk-doc-tb-btn.is-active {
  background: #e8f0fe;
  color: #1a73e8;
}

/* line 27192, app/assets/stylesheets/application.scss */
.perk-doc-tb-sep {
  width: 1px;
  height: 20px;
  background: var(--perk-line, #e5e7eb);
  margin: 0 4px;
}

/* line 27199, app/assets/stylesheets/application.scss */
.perk-doc-tb-select-wrap {
  display: inline-flex;
  align-items: center;
}

/* line 27204, app/assets/stylesheets/application.scss */
.perk-doc-tb-select {
  height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  color: var(--perk-ink, #17191d);
  padding: 0 6px;
  max-width: 140px;
}

/* line 27215, app/assets/stylesheets/application.scss */
.perk-doc-tb-select:hover,
.perk-doc-tb-select:focus {
  border-color: var(--perk-line, #e5e7eb);
  background: var(--perk-surface, #fff);
  outline: none;
}

/* line 27222, app/assets/stylesheets/application.scss */
.perk-doc-tb-font .perk-doc-tb-select {
  max-width: 120px;
}

/* line 27226, app/assets/stylesheets/application.scss */
.perk-doc-tb-size .perk-doc-tb-select {
  max-width: 64px;
}

/* line 27230, app/assets/stylesheets/application.scss */
.perk-doc-tb-color {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

/* line 27243, app/assets/stylesheets/application.scss */
.perk-doc-tb-color input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 27250, app/assets/stylesheets/application.scss */
.perk-doc-tb-highlight {
  color: #f9ab00;
}

/* line 27254, app/assets/stylesheets/application.scss */
.perk-doc-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  background: #e8eaed;
}

/* line 27261, app/assets/stylesheets/application.scss */
.perk-doc-outline {
  flex: 0 0 220px;
  width: 220px;
  border-right: 1px solid var(--perk-line, #e5e7eb);
  background: var(--perk-surface, #fff);
  overflow: auto;
  padding: 12px 8px;
}

/* line 27270, app/assets/stylesheets/application.scss */
.perk-doc-outline.is-collapsed,
.perk-doc-outline-collapsed .perk-doc-outline {
  display: none;
}

/* line 27275, app/assets/stylesheets/application.scss */
.perk-doc-outline-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--perk-muted, #666e79);
  padding: 4px 8px 10px;
}

/* line 27284, app/assets/stylesheets/application.scss */
.perk-doc-outline-empty {
  font-size: 12px;
  color: var(--perk-muted-soft, #8a9099);
  padding: 8px;
  margin: 0;
  line-height: 1.4;
}

/* line 27292, app/assets/stylesheets/application.scss */
.perk-doc-outline-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  color: var(--perk-ink, #17191d);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 27308, app/assets/stylesheets/application.scss */
.perk-doc-outline-item:hover {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 27312, app/assets/stylesheets/application.scss */
.perk-doc-outline-item.is-h2 {
  padding-left: 16px;
}

/* line 27313, app/assets/stylesheets/application.scss */
.perk-doc-outline-item.is-h3 {
  padding-left: 24px;
  font-size: 12px;
}

/* line 27314, app/assets/stylesheets/application.scss */
.perk-doc-outline-item.is-h4 {
  padding-left: 32px;
  font-size: 12px;
  color: var(--perk-muted, #666e79);
}

/* line 27316, app/assets/stylesheets/application.scss */
.perk-doc-canvas {
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  padding: 24px 16px 48px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* line 27326, app/assets/stylesheets/application.scss */
.perk-doc-page-scale {
  transform-origin: top center;
  transition: transform 0.12s ease;
}

/* line 27331, app/assets/stylesheets/application.scss */
.perk-doc-page {
  width: 816px;
  min-height: 1056px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15), 0 4px 12px rgba(60, 64, 67, 0.12);
  border-radius: 0;
}

/* line 27339, app/assets/stylesheets/application.scss */
.perk-doc-quill {
  min-height: 1056px;
}

/* line 27343, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-toolbar.ql-snow {
  display: none !important;
}

/* line 27347, app/assets/stylesheets/application.scss */
.perk-doc-quill.ql-container.ql-snow,
.perk-doc-quill .ql-container.ql-snow {
  border: 0;
  font-size: 16px;
  line-height: 1.6;
  /* Default only — run-level font-family from DOCX must win via inline styles */
  font-family: "Times New Roman", Times, "Liberation Serif", serif;
}

/* line 27356, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor,
.perk-doc-quill.ql-container .ql-editor {
  min-height: 1056px;
  padding: 96px 96px 120px;
  /* Soft default ink; do not force a single color over imported span[style] */
  color: #000;
  caret-color: #000;
}

/* Imported / applied run styles win via inline style="" from Quill attributors */
/* line 27367, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor strong,
.perk-doc-quill .ql-editor b {
  font-weight: 700;
}

/* line 27372, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor em,
.perk-doc-quill .ql-editor i {
  font-style: italic;
}

/* line 27377, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor u {
  text-decoration: underline;
}

/* line 27381, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor s {
  text-decoration: line-through;
}

/* line 27385, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor .ql-align-center,
.perk-doc-quill .ql-editor p.ql-align-center,
.perk-doc-quill .ql-editor h1.ql-align-center,
.perk-doc-quill .ql-editor h2.ql-align-center {
  text-align: center;
}

/* line 27392, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor .ql-align-right {
  text-align: right;
}

/* line 27393, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor .ql-align-justify {
  text-align: justify;
}

/* Style attributors write inline text-align — honour that too */
/* line 27396, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor [style*="text-align: center"],
.perk-doc-quill .ql-editor [style*="text-align:center"] {
  text-align: center;
}

/* line 27401, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor.ql-blank::before {
  color: var(--perk-muted-soft, #8a9099);
  font-style: normal;
  left: 96px;
  right: 96px;
}

/* line 27408, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 1.1em 0 0.4em;
}

/* line 27409, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 1em 0 0.35em;
}

/* line 27410, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0.9em 0 0.3em;
}

/* line 27411, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0.8em 0 0.25em;
  color: var(--perk-ink-soft, #30343a);
}

/* line 27413, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h1.title {
  text-align: center;
  font-size: 28px;
  margin-top: 0.4em;
}

/* line 27419, app/assets/stylesheets/application.scss */
.perk-doc-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  padding: 4px 12px;
  background: var(--perk-surface, #fff);
  border-top: 1px solid var(--perk-line, #e5e7eb);
  font-size: 12px;
  color: var(--perk-muted, #666e79);
  flex: 0 0 auto;
}

/* line 27433, app/assets/stylesheets/application.scss */
.perk-doc-status-left,
.perk-doc-status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 27440, app/assets/stylesheets/application.scss */
.perk-doc-status-sep {
  opacity: 0.5;
}

/* line 27444, app/assets/stylesheets/application.scss */
.perk-doc-zoom-label {
  min-width: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* line 27450, app/assets/stylesheets/application.scss */
.perk-doc-find {
  position: absolute;
  top: 100px;
  right: 20px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--perk-surface, #fff);
  border: 1px solid var(--perk-line, #e5e7eb);
  border-radius: 8px;
  box-shadow: var(--perk-shadow-md, 0 8px 24px rgba(23, 25, 29, 0.12));
  max-width: calc(100vw - 40px);
}

/* line 27467, app/assets/stylesheets/application.scss */
.perk-doc-find[hidden] {
  display: none !important;
}

/* line 27471, app/assets/stylesheets/application.scss */
.perk-doc-find input {
  height: 30px;
  border: 1px solid var(--perk-line, #e5e7eb);
  border-radius: 6px;
  padding: 0 8px;
  font-size: 13px;
  min-width: 140px;
}

/* line 27480, app/assets/stylesheets/application.scss */
.perk-doc-find-count {
  font-size: 12px;
  color: var(--perk-muted, #666e79);
  min-width: 64px;
}

/* line 27486, app/assets/stylesheets/application.scss */
.perk-doc-find-case {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--perk-muted, #666e79);
  white-space: nowrap;
}

/* Page break */
/* line 27496, app/assets/stylesheets/application.scss */
.perk-doc-page-break,
.ql-editor .perk-doc-page-break {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  margin: 28px -24px;
  border: 0;
  border-top: 1px dashed #9aa0a6;
  position: relative;
  page-break-after: always;
  break-after: page;
  user-select: none;
}

/* line 27511, app/assets/stylesheets/application.scss */
.perk-doc-page-break-label {
  position: absolute;
  top: -10px;
  background: #fff;
  padding: 0 8px;
  font-size: 11px;
  color: #9aa0a6;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Tables */
/* line 27523, app/assets/stylesheets/application.scss */
.perk-doc-table-wrap {
  margin: 12px 0 20px;
  overflow-x: auto;
}

/* line 27528, app/assets/stylesheets/application.scss */
.perk-doc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

/* line 27535, app/assets/stylesheets/application.scss */
.perk-doc-table th,
.perk-doc-table td {
  border: 1px solid #dadce0;
  padding: 8px 10px;
  min-width: 72px;
  vertical-align: top;
  word-break: break-word;
  outline: none;
}

/* line 27545, app/assets/stylesheets/application.scss */
.perk-doc-table th {
  background: #f8f9fa;
  font-weight: 600;
  text-align: left;
}

/* line 27551, app/assets/stylesheets/application.scss */
.perk-doc-table th:focus,
.perk-doc-table td:focus {
  box-shadow: inset 0 0 0 2px #1a73e8;
}

/* Images */
/* line 27557, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor img,
.perk-doc-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px 0;
  border-radius: 2px;
  cursor: pointer;
}

/* line 27567, app/assets/stylesheets/application.scss */
.perk-doc-image.is-center {
  margin-left: auto;
  margin-right: auto;
}

/* line 27572, app/assets/stylesheets/application.scss */
.perk-doc-image.is-right {
  margin-left: auto;
  margin-right: 0;
}

/* line 27577, app/assets/stylesheets/application.scss */
.perk-doc-image.is-selected {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* Comments panel */
/* line 27583, app/assets/stylesheets/application.scss */
.perk-doc-body {
  position: relative;
}

/* line 27587, app/assets/stylesheets/application.scss */
.perk-doc-comments {
  flex: 0 0 300px;
  width: 300px;
  border-left: 1px solid var(--perk-line, #e5e7eb);
  background: var(--perk-surface, #fff);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* line 27598, app/assets/stylesheets/application.scss */
.perk-doc-comments[hidden] {
  display: none !important;
}

/* line 27602, app/assets/stylesheets/application.scss */
.perk-doc-comments-open .perk-doc-comments {
  display: flex;
}

/* line 27606, app/assets/stylesheets/application.scss */
.perk-doc-comments-head,
.perk-doc-versions-head,
.perk-doc-roles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--perk-line, #e5e7eb);
  font-size: 14px;
}

/* line 27617, app/assets/stylesheets/application.scss */
.perk-doc-comments-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--perk-line-soft, #eef0f3);
}

/* line 27626, app/assets/stylesheets/application.scss */
.perk-doc-comments-count {
  font-size: 11px;
  color: var(--perk-muted, #666e79);
}

/* line 27631, app/assets/stylesheets/application.scss */
.perk-doc-comments-list {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px;
}

/* line 27637, app/assets/stylesheets/application.scss */
.perk-doc-comment-card {
  border: 1px solid var(--perk-line, #e5e7eb);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  background: #fff;
}

/* line 27645, app/assets/stylesheets/application.scss */
.perk-doc-comment-card.is-resolved {
  opacity: 0.72;
}

/* line 27649, app/assets/stylesheets/application.scss */
.perk-doc-comment-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

/* line 27656, app/assets/stylesheets/application.scss */
.perk-doc-comment-head time {
  display: block;
  font-size: 11px;
  color: var(--perk-muted, #666e79);
  font-weight: 400;
}

/* line 27663, app/assets/stylesheets/application.scss */
.perk-doc-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--p, #1a73e8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}

/* line 27677, app/assets/stylesheets/application.scss */
.perk-doc-comment-quote {
  margin: 0 0 8px;
  padding: 6px 8px;
  border-left: 3px solid #f9ab00;
  background: #fef7e0;
  font-size: 12px;
  color: var(--perk-ink-soft, #30343a);
}

/* line 27686, app/assets/stylesheets/application.scss */
.perk-doc-comment-body {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
}

/* line 27692, app/assets/stylesheets/application.scss */
.perk-doc-comment-reply {
  margin: 6px 0 6px 12px;
  padding-left: 8px;
  border-left: 2px solid var(--perk-line, #e5e7eb);
  font-size: 12px;
}

/* line 27699, app/assets/stylesheets/application.scss */
.perk-doc-comment-reply p {
  margin: 2px 0 0;
}

/* line 27703, app/assets/stylesheets/application.scss */
.perk-doc-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* line 27709, app/assets/stylesheets/application.scss */
.perk-doc-comments-empty,
.perk-doc-versions-empty,
.perk-doc-roles-empty {
  font-size: 13px;
  color: var(--perk-muted, #666e79);
  padding: 12px;
  margin: 0;
}

/* line 27718, app/assets/stylesheets/application.scss */
.perk-doc-comments-resolved-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--perk-muted, #666e79);
  padding: 12px 4px 6px;
}

/* line 27727, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor.perk-doc-readonly {
  caret-color: transparent;
}

/* Version history */
/* line 27732, app/assets/stylesheets/application.scss */
.perk-doc-versions,
.perk-doc-roles {
  position: absolute;
  top: 120px;
  right: 16px;
  z-index: 45;
  width: 300px;
  max-height: calc(100% - 140px);
  overflow: auto;
  background: var(--perk-surface, #fff);
  border: 1px solid var(--perk-line, #e5e7eb);
  border-radius: 10px;
  box-shadow: var(--perk-shadow-md, 0 8px 24px rgba(23, 25, 29, 0.12));
}

/* line 27747, app/assets/stylesheets/application.scss */
.perk-doc-versions[hidden],
.perk-doc-roles[hidden] {
  display: none !important;
}

/* line 27752, app/assets/stylesheets/application.scss */
.perk-doc-versions-list {
  padding: 8px 10px;
  max-height: 360px;
  overflow: auto;
}

/* line 27758, app/assets/stylesheets/application.scss */
.perk-doc-versions-day h4 {
  margin: 8px 4px 6px;
  font-size: 12px;
  color: var(--perk-muted, #666e79);
}

/* line 27764, app/assets/stylesheets/application.scss */
.perk-doc-version-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--perk-ink, #17191d);
}

/* line 27779, app/assets/stylesheets/application.scss */
.perk-doc-version-row:hover,
.perk-doc-version-row.is-selected {
  background: #e8f0fe;
}

/* line 27784, app/assets/stylesheets/application.scss */
.perk-doc-version-time {
  color: var(--perk-muted, #666e79);
  font-variant-numeric: tabular-nums;
}

/* line 27789, app/assets/stylesheets/application.scss */
.perk-doc-version-num {
  font-size: 11px;
  color: var(--perk-muted, #666e79);
}

/* line 27794, app/assets/stylesheets/application.scss */
.perk-doc-versions-actions {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--perk-line-soft, #eef0f3);
}

/* line 27801, app/assets/stylesheets/application.scss */
.perk-doc-versions-hint,
.perk-doc-roles-hint {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 11px;
  color: var(--perk-muted, #666e79);
  line-height: 1.4;
}

/* line 27810, app/assets/stylesheets/application.scss */
.perk-doc-role-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

/* line 27817, app/assets/stylesheets/application.scss */
.perk-doc-role-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 27826, app/assets/stylesheets/application.scss */
.perk-doc-roles .perk-doc-text-btn {
  margin: 8px 12px 12px;
}

/* line 27830, app/assets/stylesheets/application.scss */
.perk-doc-distraction-free .perk-doc-menubar,
.perk-doc-distraction-free .perk-doc-toolbar,
.perk-doc-distraction-free .perk-doc-outline,
.perk-doc-distraction-free .perk-doc-statusbar {
  display: none;
}

/* line 27837, app/assets/stylesheets/application.scss */
.perk-doc-distraction-free .perk-doc-header {
  border-bottom-color: transparent;
}

/* line 27841, app/assets/stylesheets/application.scss */
.perk-doc-workspace .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;
}

@media (max-width: 900px) {
  /* line 27854, app/assets/stylesheets/application.scss */
  .perk-doc-outline {
    display: none;
  }
  /* line 27858, app/assets/stylesheets/application.scss */
  .perk-doc-crumb-drive,
.perk-doc-crumb-sep:nth-of-type(2) {
    display: none;
  }
  /* line 27863, app/assets/stylesheets/application.scss */
  .perk-doc-title-input {
    max-width: 140px;
    width: 30vw;
  }
  /* line 27868, app/assets/stylesheets/application.scss */
  .perk-doc-header-right .perk-doc-text-btn:not([data-doc-action="share"]) {
    display: none;
  }
  /* line 27872, app/assets/stylesheets/application.scss */
  .perk-doc-toolbar .perk-doc-tb-sep,
.perk-doc-toolbar .perk-doc-tb-color,
.perk-doc-toolbar [data-doc-format-value^="align:"],
.perk-doc-toolbar .perk-doc-tb-font {
    display: none;
  }
  /* line 27879, app/assets/stylesheets/application.scss */
  .perk-doc-page {
    width: min(816px, 100%);
    min-height: 80vh;
    box-shadow: none;
  }
  /* line 27885, app/assets/stylesheets/application.scss */
  .perk-doc-quill .ql-editor,
.perk-doc-quill.ql-container .ql-editor {
    padding: 28px 20px 48px;
    min-height: 70vh;
  }
  /* line 27891, app/assets/stylesheets/application.scss */
  .perk-doc-canvas {
    padding: 8px;
  }
  /* line 27895, app/assets/stylesheets/application.scss */
  .perk-doc-menubar {
    overflow-x: auto;
  }
}

/* line 27900, app/assets/stylesheets/application.scss */
.ai-drive-muted {
  color: #80868b;
  font-size: 12px;
}

/* line 27905, 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 27917, 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 27926, app/assets/stylesheets/application.scss */
.ai-drive-actions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e8eaed;
}

/* line 27934, app/assets/stylesheets/application.scss */
.ai-drive-actions-head strong {
  display: block;
  font-size: 14px;
}

/* line 27939, app/assets/stylesheets/application.scss */
.ai-drive-actions-head span {
  font-size: 12px;
  color: #80868b;
}

/* line 27944, app/assets/stylesheets/application.scss */
#ai-drive-actions-thumb.ai-drive-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

/* line 27950, app/assets/stylesheets/application.scss */
#ai-drive-actions-thumb.ai-drive-thumb.has-image {
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* line 27955, 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 27969, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button:hover {
  background: #f8f9fa;
}

/* line 27973, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger {
  color: var(--perk-ink);
}

/* line 27977, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button i {
  width: 18px;
  color: #5f6368;
}

/* line 27982, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger i {
  color: var(--perk-ink);
}

/* line 27986, app/assets/stylesheets/application.scss */
.ai-drive-dialog {
  padding: 18px;
}

/* line 27990, app/assets/stylesheets/application.scss */
.ai-drive-dialog h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* line 27995, 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 28003, 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 28013, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality {
  margin-bottom: 14px;
}

/* line 28017, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 28025, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality .ai-drive-dialog-input {
  margin-bottom: 0;
}

/* line 28029, app/assets/stylesheets/application.scss */
.ai-drive-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* line 28035, 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 28050, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 28055, app/assets/stylesheets/application.scss */
  .ai-drive-topbar {
    padding: 10px 14px 8px;
  }
  /* line 28059, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar,
.ai-drive-search-panel,
.ai-drive-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 28066, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-body {
    flex-direction: column;
  }
  /* line 28070, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-drive-pane {
    flex: 1 1 46%;
    min-height: 0;
    border-right: 0;
    border-bottom: 0;
  }
  /* line 28077, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-chat {
    flex: 1 1 54%;
    max-width: none;
    box-shadow: none;
  }
  /* line 28083, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-browse {
    padding-bottom: 12px;
  }
  /* line 28087, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-list {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  }
  /* line 28091, app/assets/stylesheets/application.scss */
  .ai-drive-history {
    inset: 0;
    width: auto;
    border-right: 0;
  }
  /* line 28097, 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 28108, app/assets/stylesheets/application.scss */
  .ai-drive-topbar {
    gap: 4px;
  }
  /* line 28112, app/assets/stylesheets/application.scss */
  .ai-drive-search-panel {
    padding-left: 12px;
    padding-right: 12px;
  }
  /* line 28117, app/assets/stylesheets/application.scss */
  .ai-drive-search {
    max-width: none;
  }
  /* line 28121, app/assets/stylesheets/application.scss */
  .ai-drive-tabs {
    max-width: 100%;
  }
  /* line 28125, app/assets/stylesheets/application.scss */
  .ai-drive-tab {
    min-width: 0;
    padding: 6px 12px;
    min-height: 32px;
    font-size: 14px;
  }
  /* line 28132, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar {
    flex-wrap: wrap;
  }
  /* line 28136, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* —— Create PowerPoint (web) —— */
/* line 28143, 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 28154, app/assets/stylesheets/application.scss */
.create-ppt.hidden,
.create-ppt[hidden] {
  display: none !important;
}

/* line 28159, app/assets/stylesheets/application.scss */
.create-ppt-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 28167, 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 28177, app/assets/stylesheets/application.scss */
.create-ppt-shell:has(.create-ppt-result:not([hidden])) .create-ppt-progress-bar {
  display: none;
}

/* line 28181, app/assets/stylesheets/application.scss */
.create-ppt-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 28189, 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 28197, app/assets/stylesheets/application.scss */
.create-ppt-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
  white-space: nowrap;
}

/* line 28204, 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 28218, app/assets/stylesheets/application.scss */
.create-ppt-icon-btn:hover {
  background: #f1f3f4;
}

/* line 28222, app/assets/stylesheets/application.scss */
.create-ppt-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 28228, 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 28240, 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 28254, app/assets/stylesheets/application.scss */
.create-ppt-rail-step:hover {
  background: #f1f3f4;
}

/* line 28258, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current {
  background: #fce8e6;
  color: #202124;
}

/* line 28263, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done {
  color: #202124;
}

/* line 28267, 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 28281, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current .create-ppt-rail-num {
  background: #c43e1c;
  color: #fff;
}

/* line 28286, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done .create-ppt-rail-num {
  background: #202124;
  color: #fff;
}

/* line 28291, app/assets/stylesheets/application.scss */
.create-ppt-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 28296, app/assets/stylesheets/application.scss */
.create-ppt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 28304, app/assets/stylesheets/application.scss */
.create-ppt-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 16px;
}

/* line 28310, app/assets/stylesheets/application.scss */
.create-ppt-panel {
  max-width: 860px;
}

/* line 28314, app/assets/stylesheets/application.scss */
.create-ppt-heading {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 28321, app/assets/stylesheets/application.scss */
.create-ppt-lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #5f6368;
  max-width: 52ch;
}

/* line 28328, app/assets/stylesheets/application.scss */
.create-ppt-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

/* line 28336, 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 28346, 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 28358, app/assets/stylesheets/application.scss */
.create-ppt-input:placeholder-shown {
  font-size: 13px;
}

/* line 28362, 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 28370, 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 28379, 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 28385, app/assets/stylesheets/application.scss */
.create-ppt-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5f6368;
}

/* line 28391, app/assets/stylesheets/application.scss */
.create-ppt-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

/* line 28397, app/assets/stylesheets/application.scss */
.create-ppt-chips-compact {
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}

/* line 28401, 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 28417, app/assets/stylesheets/application.scss */
.create-ppt-chip i {
  color: #5f6368;
}

/* line 28421, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 28427, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected i {
  color: #fff;
}

/* line 28431, app/assets/stylesheets/application.scss */
.create-ppt-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 28437, 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 28450, app/assets/stylesheets/application.scss */
.create-ppt-row i {
  margin-top: 2px;
  color: #5f6368;
}

/* line 28455, app/assets/stylesheets/application.scss */
.create-ppt-row strong {
  display: block;
  font-size: 14px;
}

/* line 28460, app/assets/stylesheets/application.scss */
.create-ppt-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 28467, app/assets/stylesheets/application.scss */
.create-ppt-row.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 28473, 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 28478, app/assets/stylesheets/application.scss */
.create-ppt-custom-slides {
  margin-top: 12px;
  max-width: 200px;
}

/* line 28483, 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 28490, 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 28499, 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 28512, app/assets/stylesheets/application.scss */
.create-ppt-secondary-btn:hover {
  background: #e8eaed;
}

/* line 28516, 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 28528, app/assets/stylesheets/application.scss */
.create-ppt-ghost-btn:hover {
  background: #f1f3f4;
  color: #202124;
}

/* line 28533, 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 28546, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:hover {
  background: #000;
}

/* line 28550, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* line 28555, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn-block {
  width: 100%;
}

/* line 28559, app/assets/stylesheets/application.scss */
.create-ppt-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--perk-ink);
  font-size: 13px;
  padding: 4px 0;
}

/* line 28569, app/assets/stylesheets/application.scss */
.create-ppt-attachments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 28575, app/assets/stylesheets/application.scss */
.create-ppt-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f1f3f4;
}

/* line 28584, 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: var(--perk-ink);
  flex: 0 0 auto;
}

/* line 28597, app/assets/stylesheets/application.scss */
.create-ppt-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 28603, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text {
  min-width: 0;
  flex: 1;
}

/* line 28608, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 28616, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text span {
  font-size: 11px;
  color: #5f6368;
}

/* line 28621, app/assets/stylesheets/application.scss */
.create-ppt-toggle-card {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* line 28626, app/assets/stylesheets/application.scss */
.create-ppt-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

/* line 28633, app/assets/stylesheets/application.scss */
.create-ppt-toggle input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #202124;
}

/* line 28640, app/assets/stylesheets/application.scss */
.create-ppt-toggle strong {
  display: block;
  font-size: 14px;
}

/* line 28645, app/assets/stylesheets/application.scss */
.create-ppt-toggle small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 28652, app/assets/stylesheets/application.scss */
.create-ppt-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* line 28658, 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 28671, app/assets/stylesheets/application.scss */
.create-ppt-layout.is-selected {
  border-color: #202124;
}

/* line 28675, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview {
  height: 96px;
  border-radius: 12px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

/* line 28683, 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 28691, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-auto {
  background: #17191f;
}

/* line 28695, 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 28704, 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 28713, 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 28722, 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 28730, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-split-media {
  background: #f7f9ff;
}

/* line 28734, 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 28742, 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 28751, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-card-grid::before {
  left: 12px;
  top: 14px;
  width: 40%;
  height: 7px;
}

/* line 28758, 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 28768, 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 28777, 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 28785, 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 28794, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::before {
  left: 10px;
}

/* line 28798, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::after {
  right: 10px;
}

/* line 28802, 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 28811, 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 28819, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-bold-cover {
  background: #17191f;
}

/* line 28823, 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 28832, 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 28841, app/assets/stylesheets/application.scss */
.create-ppt-layout-meta strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* line 28848, 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 28856, 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 28865, app/assets/stylesheets/application.scss */
.create-ppt-review {
  margin: 0;
}

/* line 28869, 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 28877, app/assets/stylesheets/application.scss */
.create-ppt-review-row:last-child {
  border-bottom: 0;
}

/* line 28881, app/assets/stylesheets/application.scss */
.create-ppt-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #5f6368;
}

/* line 28887, 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 28895, 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 28905, app/assets/stylesheets/application.scss */
.create-ppt-footer-spacer {
  flex: 1;
}

/* line 28909, app/assets/stylesheets/application.scss */
.create-ppt-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 28917, app/assets/stylesheets/application.scss */
.create-ppt-result.hidden,
.create-ppt-result[hidden] {
  display: none !important;
}

/* line 28922, app/assets/stylesheets/application.scss */
.create-ppt-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e8eaed;
}

/* line 28927, 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 28937, app/assets/stylesheets/application.scss */
.create-ppt-name-field i {
  color: var(--perk-ink);
}

/* line 28941, app/assets/stylesheets/application.scss */
.create-ppt-name-field .create-ppt-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 28948, app/assets/stylesheets/application.scss */
.create-ppt-ext {
  color: #5f6368;
  font-size: 13px;
}

/* line 28953, 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 28962, app/assets/stylesheets/application.scss */
.create-ppt-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 28969, app/assets/stylesheets/application.scss */
.create-ppt-slides {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f1f3f4;
}

/* line 28978, app/assets/stylesheets/application.scss */
.create-ppt-slides.is-office-preview {
  padding: 0;
}

/* line 28982, app/assets/stylesheets/application.scss */
.create-ppt-office-frame {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #fff;
}

/* line 28990, 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 29003, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback i {
  font-size: 40px;
  color: var(--perk-ink);
}

/* line 29008, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback p {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
}

/* line 29015, 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 29024, 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 29035, app/assets/stylesheets/application.scss */
.create-ppt-overlay.hidden,
.create-ppt-overlay[hidden] {
  display: none !important;
}

/* line 29040, 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 29049, 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 29059, 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 29070, 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 29078, 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 29096, app/assets/stylesheets/application.scss */
.create-ppt-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 29102, app/assets/stylesheets/application.scss */
.create-ppt-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 29108, app/assets/stylesheets/application.scss */
.create-ppt-generating-note {
  margin-top: 4px !important;
}

/* line 29112, 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 29128, 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 29139, app/assets/stylesheets/application.scss */
.create-ppt-drive-picker.hidden,
.create-ppt-drive-picker[hidden] {
  display: none !important;
}

/* line 29144, 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 29154, 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 29162, app/assets/stylesheets/application.scss */
.create-ppt-drive-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 29167, 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 29181, app/assets/stylesheets/application.scss */
.create-ppt-drive-item:hover {
  background: #f1f3f4;
}

/* line 29185, app/assets/stylesheets/application.scss */
.create-ppt-drive-item i {
  color: var(--perk-ink);
}

@media (max-width: 900px) {
  /* line 29190, app/assets/stylesheets/application.scss */
  .create-ppt-rail {
    display: none;
  }
  /* line 29194, app/assets/stylesheets/application.scss */
  .create-ppt-scroll {
    padding: 18px 16px 12px;
  }
  /* line 29198, app/assets/stylesheets/application.scss */
  .create-ppt-footer {
    padding: 12px 16px 16px;
  }
  /* line 29202, app/assets/stylesheets/application.scss */
  .create-ppt-heading {
    font-size: 22px;
  }
  /* line 29206, app/assets/stylesheets/application.scss */
  .create-ppt-result-body {
    grid-template-columns: 1fr;
  }
  /* line 29210, app/assets/stylesheets/application.scss */
  .create-ppt-office-frame {
    min-height: 360px;
  }
  /* line 29214, app/assets/stylesheets/application.scss */
  .create-ppt-result-actions {
    border-left: 0;
    border-top: 1px solid #e8eaed;
  }
  /* line 29219, app/assets/stylesheets/application.scss */
  .create-ppt-attach-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* line 29225, app/assets/stylesheets/application.scss */
  .create-ppt-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 29230, app/assets/stylesheets/application.scss */
  .create-ppt-chips {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Create Word document (web) —— */
/* line 29236, 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 29247, app/assets/stylesheets/application.scss */
.create-doc.hidden,
.create-doc[hidden] {
  display: none !important;
}

/* line 29252, app/assets/stylesheets/application.scss */
.create-doc-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 29260, 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 29270, app/assets/stylesheets/application.scss */
.create-doc-shell:has(.create-doc-result:not([hidden])) .create-doc-progress-bar {
  display: none;
}

/* line 29274, app/assets/stylesheets/application.scss */
.create-doc-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 29282, app/assets/stylesheets/application.scss */
.create-doc-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: #2b579a;
  transition: width 0.25s ease;
}

/* line 29290, app/assets/stylesheets/application.scss */
.create-doc-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: #667085;
  white-space: nowrap;
}

/* line 29297, 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 29310, app/assets/stylesheets/application.scss */
.create-doc-icon-btn:hover {
  background: #e8eaed;
}

/* line 29314, app/assets/stylesheets/application.scss */
.create-doc-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 29320, 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 29332, 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 29346, app/assets/stylesheets/application.scss */
.create-doc-rail-step:hover {
  background: #f5f7fa;
}

/* line 29350, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current {
  background: rgba(43, 87, 154, 0.08);
  color: #1e3f73;
}

/* line 29355, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-done {
  color: #2b579a;
}

/* line 29359, 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 29373, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current .create-doc-rail-num {
  background: #2b579a;
  color: #fff;
}

/* line 29378, 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 29383, app/assets/stylesheets/application.scss */
.create-doc-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 29388, app/assets/stylesheets/application.scss */
.create-doc-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* line 29397, app/assets/stylesheets/application.scss */
.create-doc-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 32px 16px;
}

/* line 29404, app/assets/stylesheets/application.scss */
.create-doc-panel {
  max-width: 760px;
}

/* line 29408, 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 29416, 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 29424, app/assets/stylesheets/application.scss */
.create-doc-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

/* line 29432, app/assets/stylesheets/application.scss */
.create-doc-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 29438, app/assets/stylesheets/application.scss */
.create-doc-required {
  color: var(--perk-ink);
  font-weight: 600;
}

/* line 29443, 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 29453, 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 29465, app/assets/stylesheets/application.scss */
.create-doc-input:focus {
  outline: none;
  border-color: rgba(23, 25, 29, 0.22);
  box-shadow: none;
}

/* line 29471, app/assets/stylesheets/application.scss */
.create-doc-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #667085;
}

/* line 29477, app/assets/stylesheets/application.scss */
.create-doc-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* line 29483, 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 29497, app/assets/stylesheets/application.scss */
.create-doc-category:hover {
  border-color: #b8c7df;
  transform: translateY(-1px);
}

/* line 29502, 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 29508, 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 29520, app/assets/stylesheets/application.scss */
.create-doc-category strong {
  font-size: 14px;
  color: #1b1f24;
}

/* line 29525, app/assets/stylesheets/application.scss */
.create-doc-category small {
  font-size: 12px;
  color: #667085;
  line-height: 1.4;
}

/* line 29531, app/assets/stylesheets/application.scss */
.create-doc-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 29537, 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 29550, app/assets/stylesheets/application.scss */
.create-doc-row i {
  margin-top: 2px;
  color: #2b579a;
  width: 18px;
  text-align: center;
}

/* line 29557, app/assets/stylesheets/application.scss */
.create-doc-row strong {
  display: block;
  font-size: 14px;
  color: #1b1f24;
}

/* line 29563, app/assets/stylesheets/application.scss */
.create-doc-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #667085;
  line-height: 1.35;
}

/* line 29571, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected {
  border-color: #2b579a;
  background: rgba(43, 87, 154, 0.06);
}

/* line 29576, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected i,
.create-doc-row.is-selected small {
  color: #1e3f73;
}

/* line 29581, app/assets/stylesheets/application.scss */
.create-doc-tones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 29587, 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 29599, app/assets/stylesheets/application.scss */
.create-doc-tone.is-selected {
  border-color: #2b579a;
  background: #2b579a;
  color: #fff;
}

/* line 29605, app/assets/stylesheets/application.scss */
.create-doc-review {
  margin: 0;
}

/* line 29609, 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 29617, app/assets/stylesheets/application.scss */
.create-doc-review-row:last-child {
  border-bottom: 0;
}

/* line 29621, app/assets/stylesheets/application.scss */
.create-doc-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
}

/* line 29627, 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 29635, 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 29645, app/assets/stylesheets/application.scss */
.create-doc-footer-spacer {
  flex: 1;
}

/* line 29649, 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 29657, 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 29671, app/assets/stylesheets/application.scss */
.create-doc-secondary-btn:hover {
  background: #f8fafc;
}

/* line 29675, 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 29689, app/assets/stylesheets/application.scss */
.create-doc-ghost-btn:hover {
  background: #f1f3f4;
}

/* line 29693, 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 29707, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:hover {
  background: #234a84;
}

/* line 29711, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 29716, app/assets/stylesheets/application.scss */
.create-doc-primary-btn-block {
  width: 100%;
}

/* line 29720, 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 29732, app/assets/stylesheets/application.scss */
.create-doc-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 29740, app/assets/stylesheets/application.scss */
.create-doc-result.hidden,
.create-doc-result[hidden] {
  display: none !important;
}

/* line 29745, app/assets/stylesheets/application.scss */
.create-doc-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e4e7ec;
}

/* line 29750, 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 29760, app/assets/stylesheets/application.scss */
.create-doc-name-field i {
  color: #2b579a;
}

/* line 29764, app/assets/stylesheets/application.scss */
.create-doc-name-field .create-doc-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 29771, app/assets/stylesheets/application.scss */
.create-doc-ext {
  color: #667085;
  font-size: 13px;
}

/* line 29776, 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 29785, app/assets/stylesheets/application.scss */
.create-doc-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 29792, 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 29800, 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 29812, 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 29822, app/assets/stylesheets/application.scss */
.create-doc-docx-mount {
  min-height: 520px;
}

/* line 29826, app/assets/stylesheets/application.scss */
.create-doc-docx-mount .docx-wrapper {
  background: transparent;
  padding: 0;
}

/* line 29831, 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 29836, app/assets/stylesheets/application.scss */
.create-doc-block {
  margin: 0 0 12px;
  line-height: 1.55;
  font-size: 15px;
}

/* line 29842, app/assets/stylesheets/application.scss */
.create-doc-block-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* line 29849, app/assets/stylesheets/application.scss */
.create-doc-block-paragraph {
  text-indent: 1.5em;
}

/* line 29853, app/assets/stylesheets/application.scss */
.create-doc-block-bullet {
  padding-left: 0.5em;
  text-indent: 0;
}

/* line 29858, app/assets/stylesheets/application.scss */
.create-doc-block-signature {
  margin-top: 28px;
  white-space: pre-wrap;
  min-height: 96px;
}

/* line 29864, 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 29871, app/assets/stylesheets/application.scss */
.create-doc-block-signature-party {
  margin-top: 0;
  min-height: 120px;
}

@media (max-width: 640px) {
  /* line 29877, app/assets/stylesheets/application.scss */
  .create-doc-signature-row {
    grid-template-columns: 1fr;
  }
}

/* line 29882, app/assets/stylesheets/application.scss */
.create-doc-block-spacer {
  height: 18px;
}

/* line 29886, 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 29895, 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 29906, app/assets/stylesheets/application.scss */
.create-doc-overlay.hidden,
.create-doc-overlay[hidden] {
  display: none !important;
}

/* line 29911, 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 29920, 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 29930, 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 29941, 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 29949, 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 29967, app/assets/stylesheets/application.scss */
.create-doc-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 29973, app/assets/stylesheets/application.scss */
.create-doc-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #667085;
}

/* line 29979, app/assets/stylesheets/application.scss */
.create-doc-generating-note {
  margin-top: 4px !important;
}

/* line 29983, 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 30000, app/assets/stylesheets/application.scss */
  .create-doc-rail {
    display: none;
  }
  /* line 30004, app/assets/stylesheets/application.scss */
  .create-doc-scroll {
    padding: 18px 16px 12px;
  }
  /* line 30008, app/assets/stylesheets/application.scss */
  .create-doc-footer {
    padding: 12px 16px 16px;
  }
  /* line 30012, app/assets/stylesheets/application.scss */
  .create-doc-heading {
    font-size: 22px;
  }
  /* line 30016, app/assets/stylesheets/application.scss */
  .create-doc-category-grid {
    grid-template-columns: 1fr;
  }
  /* line 30020, app/assets/stylesheets/application.scss */
  .create-doc-result-body {
    grid-template-columns: 1fr;
  }
  /* line 30024, app/assets/stylesheets/application.scss */
  .create-doc-result-actions {
    border-left: 0;
    border-top: 1px solid #e4e7ec;
  }
  /* line 30029, app/assets/stylesheets/application.scss */
  .create-doc-paper {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  /* line 30035, app/assets/stylesheets/application.scss */
  .create-doc-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 30040, app/assets/stylesheets/application.scss */
  .create-doc-tones {
    grid-template-columns: 1fr;
  }
}

/* —— PDF tools (web) —— */
/* line 30046, app/assets/stylesheets/application.scss */
.create-ppt-open-actions,
.create-doc-open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* line 30054, app/assets/stylesheets/application.scss */
.create-ppt-open-actions.hidden,
.create-ppt-open-actions[hidden],
.create-doc-open-actions.hidden,
.create-doc-open-actions[hidden] {
  display: none !important;
}

/* line 30061, app/assets/stylesheets/application.scss */
.create-doc-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 30072, app/assets/stylesheets/application.scss */
.create-doc-drive-picker.hidden,
.create-doc-drive-picker[hidden] {
  display: none !important;
}

/* line 30077, app/assets/stylesheets/application.scss */
.create-doc-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 30087, app/assets/stylesheets/application.scss */
.create-doc-drive-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e8eaed;
}

/* line 30095, app/assets/stylesheets/application.scss */
.create-doc-drive-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 30100, app/assets/stylesheets/application.scss */
.create-doc-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 30114, app/assets/stylesheets/application.scss */
.create-doc-drive-item:hover {
  background: #f1f3f4;
}

/* line 30118, app/assets/stylesheets/application.scss */
.create-excel {
  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 30130, app/assets/stylesheets/application.scss */
  .create-excel {
    position: fixed;
    z-index: 80;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* line 30138, app/assets/stylesheets/application.scss */
.create-excel.hidden,
.create-excel[hidden] {
  display: none !important;
}

/* line 30143, app/assets/stylesheets/application.scss */
.create-excel-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  min-height: 0;
  height: 100%;
  padding: 20px 24px 16px;
}

/* line 30154, app/assets/stylesheets/application.scss */
.create-excel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

/* line 30161, app/assets/stylesheets/application.scss */
.create-excel-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #217346;
}

/* line 30168, app/assets/stylesheets/application.scss */
.create-excel-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  color: #5f6368;
}

/* line 30174, app/assets/stylesheets/application.scss */
.create-excel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* line 30180, app/assets/stylesheets/application.scss */
.create-excel-heading {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

/* line 30186, app/assets/stylesheets/application.scss */
.create-excel-lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #5f6368;
  line-height: 1.45;
}

/* line 30193, app/assets/stylesheets/application.scss */
.create-excel-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 30199, app/assets/stylesheets/application.scss */
.create-excel-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dadce0;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 30212, app/assets/stylesheets/application.scss */
.create-excel-row strong {
  display: block;
  font-size: 15px;
  color: #202124;
}

/* line 30218, app/assets/stylesheets/application.scss */
.create-excel-row small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 30226, app/assets/stylesheets/application.scss */
.create-excel-row.is-selected {
  border-color: #217346;
  background: rgba(33, 115, 70, 0.06);
}

/* line 30231, app/assets/stylesheets/application.scss */
.create-excel-row.is-selected small {
  color: #217346;
}

/* line 30235, app/assets/stylesheets/application.scss */
.create-excel-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f8f9fa;
}

/* line 30242, app/assets/stylesheets/application.scss */
.create-excel-open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* line 30248, app/assets/stylesheets/application.scss */
.create-excel-open-actions.hidden,
.create-excel-open-actions[hidden] {
  display: none !important;
}

/* line 30253, app/assets/stylesheets/application.scss */
.create-excel-secondary-btn,
.create-excel-ghost-btn,
.create-excel-primary-btn {
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

/* line 30261, app/assets/stylesheets/application.scss */
.create-excel-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: #e8f5ee;
  color: #217346;
  font-size: 13px;
}

/* line 30274, app/assets/stylesheets/application.scss */
.create-excel-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 30286, app/assets/stylesheets/application.scss */
.create-excel-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #217346;
  color: #fff;
  font-size: 14px;
}

/* line 30298, app/assets/stylesheets/application.scss */
.create-excel-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 30303, app/assets/stylesheets/application.scss */
.create-excel-icon-btn {
  border: 0;
  background: #f1f3f4;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #5f6368;
  flex-shrink: 0;
}

/* line 30316, app/assets/stylesheets/application.scss */
.create-excel-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
}

/* line 30324, app/assets/stylesheets/application.scss */
.create-excel-footer-spacer {
  flex: 1;
}

/* line 30328, app/assets/stylesheets/application.scss */
.create-excel-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 30334, app/assets/stylesheets/application.scss */
.create-excel-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 30345, app/assets/stylesheets/application.scss */
.create-excel-drive-picker.hidden,
.create-excel-drive-picker[hidden] {
  display: none !important;
}

/* line 30350, app/assets/stylesheets/application.scss */
.create-excel-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 30360, app/assets/stylesheets/application.scss */
.create-excel-drive-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e8eaed;
}

/* line 30368, app/assets/stylesheets/application.scss */
.create-excel-drive-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 30373, app/assets/stylesheets/application.scss */
.create-excel-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 30387, app/assets/stylesheets/application.scss */
.create-excel-drive-item:hover {
  background: #f1f3f4;
}

/* line 30391, 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 30403, app/assets/stylesheets/application.scss */
  .pdf-tools {
    position: fixed;
    z-index: 80;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* line 30411, app/assets/stylesheets/application.scss */
.pdf-tools.hidden,
.pdf-tools[hidden] {
  display: none !important;
}

/* line 30416, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy {
  cursor: progress;
}

/* line 30420, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy .pdf-tools-btn.is-primary {
  opacity: 0.7;
  pointer-events: none;
}

/* line 30425, app/assets/stylesheets/application.scss */
.pdf-tools-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 30433, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* line 30440, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav .pdf-tools-segment {
  flex: 1;
  min-width: 0;
}

/* line 30445, 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 30459, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:hover:not(:disabled) {
  background: #f1f3f4;
}

/* line 30463, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 30468, app/assets/stylesheets/application.scss */
.pdf-tools-panel {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 30474, app/assets/stylesheets/application.scss */
.pdf-tools-panel.hidden,
.pdf-tools-panel[hidden] {
  display: none !important;
}

/* line 30479, 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 30488, app/assets/stylesheets/application.scss */
.pdf-tools-hero {
  margin-bottom: 8px;
}

/* line 30492, 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 30505, app/assets/stylesheets/application.scss */
.pdf-tools-badge {
  width: 52px;
  height: 52px;
  font-size: 15px;
  margin-bottom: 14px;
}

/* line 30512, app/assets/stylesheets/application.scss */
.pdf-tools-badge-mini {
  width: 28px;
  height: 28px;
  font-size: 9px;
  border-radius: 6px;
  flex: 0 0 auto;
}

/* line 30520, app/assets/stylesheets/application.scss */
.pdf-tools-hero h3 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* line 30527, app/assets/stylesheets/application.scss */
.pdf-tools-hero p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.45;
  max-width: 42ch;
}

/* line 30535, 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 30550, app/assets/stylesheets/application.scss */
.pdf-tools-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 64, 67, 0.12);
}

/* line 30555, 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 30567, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-create {
  background: linear-gradient(145deg, #4285f4, #1a73e8);
}

/* line 30571, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-edit {
  background: linear-gradient(145deg, #fb8c00, #ef6c00);
}

/* line 30575, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-organize {
  background: linear-gradient(145deg, #8e24aa, #6a1b9a);
}

/* line 30579, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

/* line 30587, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 30592, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy span {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 30598, app/assets/stylesheets/application.scss */
.pdf-tools-card-chevron {
  color: #b0b3b8;
  font-size: 12px;
}

/* line 30603, 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 30613, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 30621, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 30627, 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 30643, app/assets/stylesheets/application.scss */
.pdf-tools-btn:hover:not(:disabled) {
  background: #d2e3fc;
}

/* line 30647, app/assets/stylesheets/application.scss */
.pdf-tools-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 30652, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary {
  background: #1a73e8;
  color: #fff;
}

/* line 30657, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary:hover:not(:disabled) {
  background: #1765cc;
}

/* line 30661, app/assets/stylesheets/application.scss */
.pdf-tools-btn-block {
  width: 100%;
}

/* line 30665, app/assets/stylesheets/application.scss */
.pdf-tools-name-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 30671, app/assets/stylesheets/application.scss */
.pdf-tools-name-row label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 30677, 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 30689, app/assets/stylesheets/application.scss */
.pdf-tools-name-row input:focus,
.pdf-tools-name-row select:focus,
.pdf-tools-dialog-input:focus {
  border-color: rgba(23, 25, 29, 0.2);
  box-shadow: none;
}

/* line 30696, 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 30708, app/assets/stylesheets/application.scss */
.pdf-tools-empty i {
  font-size: 42px;
  color: #b0b3b8;
  margin-bottom: 4px;
}

/* line 30714, app/assets/stylesheets/application.scss */
.pdf-tools-empty strong {
  font-size: 20px;
  color: #202124;
}

/* line 30719, app/assets/stylesheets/application.scss */
.pdf-tools-empty p {
  margin: 0 0 8px;
  max-width: 36ch;
  line-height: 1.45;
  font-size: 14px;
}

/* line 30726, 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 30734, 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 30741, 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 30750, app/assets/stylesheets/application.scss */
.pdf-tools-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

/* line 30756, 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 30769, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-dragging {
  opacity: 0.45;
}

/* line 30773, 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 30783, 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 30794, app/assets/stylesheets/application.scss */
.pdf-tools-page-num {
  font-size: 28px;
  font-weight: 750;
  color: #202124;
}

/* line 30800, app/assets/stylesheets/application.scss */
.pdf-tools-page-card > span {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 30806, 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 30824, 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 30831, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-selected .pdf-tools-check {
  color: #1a73e8;
}

/* line 30835, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-add {
  cursor: pointer;
}

/* line 30839, 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 30854, app/assets/stylesheets/application.scss */
.pdf-tools-add-inner i {
  font-size: 28px;
}

/* line 30858, app/assets/stylesheets/application.scss */
.pdf-tools-edit-reading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 420px;
}

/* line 30865, 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 30874, 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 30884, 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 30893, 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 30905, 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 30911, 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 30921, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 30929, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 30936, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta span {
  font-size: 12px;
  color: #80868b;
}

/* line 30941, app/assets/stylesheets/application.scss */
.pdf-tools-file-actions {
  display: flex;
  gap: 2px;
}

/* line 30946, 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 30957, app/assets/stylesheets/application.scss */
.pdf-tools-modal.hidden,
.pdf-tools-modal[hidden] {
  display: none !important;
}

/* line 30962, 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 30973, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-sm {
  width: min(380px, 100%);
}

/* line 30977, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-output {
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
}

/* line 30982, 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 30991, app/assets/stylesheets/application.scss */
.pdf-tools-output-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  background: #fff;
}

/* line 31000, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 31007, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

/* line 31013, app/assets/stylesheets/application.scss */
.pdf-tools-output-icon {
  width: 58px;
  height: 58px;
  font-size: 16px;
  margin: 8px auto 0;
}

/* line 31020, app/assets/stylesheets/application.scss */
.pdf-tools-output-name {
  text-align: center;
  font-weight: 650;
  margin: 0 0 6px;
  word-break: break-word;
}

/* line 31027, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-message {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 31033, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* line 31040, 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 31056, app/assets/stylesheets/application.scss */
.pdf-tools-toast.hidden,
.pdf-tools-toast[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  /* line 31062, app/assets/stylesheets/application.scss */
  .pdf-tools-modal {
    align-items: center;
  }
}

@media (max-width: 640px) {
  /* line 31068, app/assets/stylesheets/application.scss */
  .pdf-tools-home {
    padding: 18px 14px 28px;
  }
  /* line 31072, app/assets/stylesheets/application.scss */
  .pdf-tools-hero h3 {
    font-size: 24px;
  }
  /* line 31076, app/assets/stylesheets/application.scss */
  .pdf-tools-workflow {
    padding: 12px 12px 28px;
  }
  /* line 31080, app/assets/stylesheets/application.scss */
  .pdf-tools-preview-frame {
    min-height: 360px;
    height: 48vh;
  }
  /* line 31085, app/assets/stylesheets/application.scss */
  .pdf-tools-toolbar-left {
    width: 100%;
  }
  /* line 31089, app/assets/stylesheets/application.scss */
  .pdf-tools-btn {
    flex: 1 1 auto;
  }
}

/* line 31094, app/assets/stylesheets/application.scss */
.pdf-tools-scanner {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  background: #0f1115;
  color: #fff;
}

/* line 31103, app/assets/stylesheets/application.scss */
.pdf-tools-scanner.hidden,
.pdf-tools-scanner[hidden] {
  display: none !important;
}

/* line 31108, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* line 31116, 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 31125, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 31133, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap strong {
  font-size: 15px;
  font-weight: 700;
}

/* line 31138, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* line 31143, 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 31149, 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 31154, 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 31165, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* line 31172, 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 31181, 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 31190, 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 31198, 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 31206, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

/* line 31214, 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 31223, 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 31237, 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 31246, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumbs[hidden] {
  display: none !important;
}

/* line 31250, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
}

/* line 31256, 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 31265, 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 31282, 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 31292, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-footer .pdf-tools-btn {
  justify-self: start;
}

/* line 31296, 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 31309, 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 31320, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

/* line 31328, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter:active span {
  transform: scale(0.92);
  background: #e8f0fe;
}

@media (max-width: 900px) {
  /* line 31334, app/assets/stylesheets/application.scss */
  .pdf-tools-scanner {
    position: fixed;
    z-index: 90;
  }
}

/* line 31340, app/assets/stylesheets/application.scss */
body.pdf-tools-open .perk-workspace-center {
  position: relative;
}

/* —— AI Tutor (web) —— */
/* line 31345, 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 31356, app/assets/stylesheets/application.scss */
.ai-tutor.hidden,
.ai-tutor[hidden] {
  display: none !important;
}

/* line 31361, app/assets/stylesheets/application.scss */
.ai-tutor-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 31369, 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 31379, app/assets/stylesheets/application.scss */
.ai-tutor-title-wrap {
  flex: 1;
  min-width: 0;
}

/* line 31384, app/assets/stylesheets/application.scss */
.ai-tutor-title {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

/* line 31392, app/assets/stylesheets/application.scss */
.ai-tutor-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 31398, 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 31412, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn:hover {
  background: #e8eaed;
}

/* line 31416, 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 31431, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn:hover {
  background: #f8f9fa;
}

/* line 31435, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn.is-danger {
  color: var(--perk-ink);
  border-color: #f6aea9;
}

/* line 31440, 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 31454, app/assets/stylesheets/application.scss */
.ai-tutor-primary-btn:hover {
  background: #1765cc;
}

/* line 31458, app/assets/stylesheets/application.scss */
.ai-tutor-layout {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

/* line 31465, app/assets/stylesheets/application.scss */
.ai-tutor-browse {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: #fff;
}

/* line 31475, app/assets/stylesheets/application.scss */
.ai-tutor-browse.hidden,
.ai-tutor-browse[hidden] {
  display: none !important;
}

/* line 31480, app/assets/stylesheets/application.scss */
.ai-tutor-browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 6px;
  flex: 0 0 auto;
}

/* line 31488, app/assets/stylesheets/application.scss */
.ai-tutor-browse-toolbar strong {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5f6368;
}

/* line 31495, app/assets/stylesheets/application.scss */
.ai-tutor-subject-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 18px 96px;
}

/* line 31502, app/assets/stylesheets/application.scss */
.ai-tutor-subject-list.hidden,
.ai-tutor-subject-list[hidden] {
  display: none !important;
}

/* line 31507, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-browse-only {
  display: none !important;
}

/* line 31511, app/assets/stylesheets/application.scss */
.ai-tutor-fabs {
  position: absolute;
  right: 16px;
  bottom: 24px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

/* line 31523, app/assets/stylesheets/application.scss */
.ai-tutor-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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 31538, app/assets/stylesheets/application.scss */
.ai-tutor-fab.is-filled {
  background: #17191d;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

/* line 31545, app/assets/stylesheets/application.scss */
.ai-tutor-quick-add {
  padding: 8px 18px 18px;
  border-top: 1px solid #f1f3f4;
  flex: 0 0 auto;
}

/* line 31551, app/assets/stylesheets/application.scss */
.ai-tutor-quick-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #80868b;
  margin-bottom: 8px;
}

/* line 31559, app/assets/stylesheets/application.scss */
.ai-tutor-quick-chips,
.ai-tutor-chip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 31566, app/assets/stylesheets/application.scss */
.ai-tutor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dadce0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 13px;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
}

/* line 31580, app/assets/stylesheets/application.scss */
.ai-tutor-chip-glyph {
  width: 28px;
  height: 28px;
  border-radius: 22%;
  background: var(--tutor-icon-color, #2e73d9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* line 31592, app/assets/stylesheets/application.scss */
.ai-tutor-chip-glyph .heroicon,
.ai-tutor-chip-glyph > i {
  color: #fff;
  stroke: #fff;
}

/* line 31598, app/assets/stylesheets/application.scss */
.ai-tutor-chip:hover {
  background: #f8f9fa;
  border-color: #1a73e8;
  color: #174ea6;
}

/* line 31604, app/assets/stylesheets/application.scss */
.ai-tutor-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex: 1;
  background: #fff;
}

/* line 31614, 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 31625, app/assets/stylesheets/application.scss */
.ai-tutor-empty.hidden,
.ai-tutor-empty[hidden] {
  display: none !important;
}

/* line 31630, app/assets/stylesheets/application.scss */
.ai-tutor-empty-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* line 31642, app/assets/stylesheets/application.scss */
.ai-tutor-empty strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* line 31647, app/assets/stylesheets/application.scss */
.ai-tutor-empty p {
  margin: 0 0 12px;
  color: #5f6368;
  line-height: 1.5;
  font-size: 14px;
}

/* line 31654, app/assets/stylesheets/application.scss */
.ai-tutor-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  flex: 1;
}

/* line 31662, app/assets/stylesheets/application.scss */
.ai-tutor-chat.hidden,
.ai-tutor-chat[hidden] {
  display: none !important;
}

/* line 31667, 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 31676, 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 31687, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text {
  display: none;
}

/* line 31691, app/assets/stylesheets/application.scss */
.ai-tutor-chat-actions {
  display: flex;
  gap: 6px;
  order: 2;
}

/* line 31697, app/assets/stylesheets/application.scss */
.ai-tutor-modes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-right: auto;
  padding: 3px;
  background: #f1f3f4;
  border-radius: 999px;
  order: 1;
}

/* line 31708, app/assets/stylesheets/application.scss */
.ai-tutor-mode {
  border: 0;
  background: transparent;
  color: #3c4043;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 31719, app/assets/stylesheets/application.scss */
.ai-tutor-mode.is-active {
  background: #111;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* line 31725, app/assets/stylesheets/application.scss */
.ai-tutor-workspace {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 31733, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane,
.ai-tutor-mastery-pane {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(340px, 92%);
  z-index: 8;
  min-height: 0;
  overflow: auto;
  background: #fafbfc;
  padding: 14px 14px 18px;
  box-shadow: 0 12px 32px rgba(60, 64, 67, 0.18);
}

/* line 31748, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane > .ai-tutor-text-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

/* line 31754, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane {
  left: 0;
  border-right: 1px solid #e8eaed;
}

/* line 31759, app/assets/stylesheets/application.scss */
.ai-tutor-mastery-pane {
  right: 0;
  border-left: 1px solid #e8eaed;
}

/* line 31764, app/assets/stylesheets/application.scss */
.ai-tutor.is-lecture-open .ai-tutor-lecture-pane,
.ai-tutor.is-mastery-open .ai-tutor-mastery-pane,
.ai-tutor-lecture-pane.is-open,
.ai-tutor-mastery-pane.is-open {
  display: block;
}

/* line 31771, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 31779, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 31785, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head strong {
  font-size: 13px;
}

/* line 31789, 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 31798, app/assets/stylesheets/application.scss */
.ai-tutor-notes-label {
  display: block;
  font-weight: 650;
  margin: 12px 0 6px;
}

/* line 31804, 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 31814, app/assets/stylesheets/application.scss */
.ai-tutor-notes-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* line 31820, app/assets/stylesheets/application.scss */
.ai-tutor-material-list,
.ai-tutor-concept-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 31827, 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 31839, app/assets/stylesheets/application.scss */
.ai-tutor-material span,
.ai-tutor-concept-row strong {
  display: block;
}

/* line 31844, app/assets/stylesheets/application.scss */
.ai-tutor-material em {
  margin-left: auto;
  font-style: normal;
  color: #80868b;
  font-size: 11px;
}

/* line 31851, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row.is-current {
  border-color: #1a73e8;
  background: #e8f0fe;
}

/* line 31856, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row span {
  color: #5f6368;
  font-size: 11px;
}

/* line 31861, 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 31870, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-introduced {
  background: #fbbc04;
}

/* line 31871, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-developing {
  background: #1a73e8;
}

/* line 31872, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-proficient {
  background: #34a853;
}

/* line 31873, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-mastered {
  background: #0b8043;
}

/* line 31875, app/assets/stylesheets/application.scss */
.ai-tutor-mastery-total {
  font-size: 12px;
  font-weight: 700;
  color: #174ea6;
}

/* line 31881, app/assets/stylesheets/application.scss */
.ai-tutor-pane-toggle {
  display: inline-flex;
}

/* line 31885, 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 31896, 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 31904, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-user {
  justify-content: flex-end;
}

/* line 31908, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot {
  justify-content: flex-start;
}

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

/* line 31919, 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 31928, 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 31940, 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 31949, 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 31958, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot .ai-tutor-msg {
  max-width: 100%;
}

/* line 31962, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: #202124;
  font-weight: 300;
}

/* line 31969, 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 31979, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 31984, 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 31993, 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 32009, 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 32015, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-wrap {
  position: relative;
}

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

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

/* line 32052, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-more-menu button.is-danger {
  color: var(--perk-ink);
}

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

/* line 32072, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:first-child {
  margin-top: 0;
}

/* line 32076, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:last-child {
  margin-bottom: 0;
}

/* line 32080, app/assets/stylesheets/application.scss */
.ai-tutor-msg-image {
  display: block;
  max-width: 240px;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* line 32087, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  margin-bottom: 6px;
}

/* line 32095, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-bar {
  position: relative;
  padding: 0 0 8px;
  display: flex;
  gap: 8px;
}

/* line 32102, 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 32115, 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 32128, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-menu button:hover {
  background: #f1f3f4;
}

/* line 32132, 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 32141, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-custom-label {
  font-size: 11px;
  font-weight: 650;
  color: #5f6b7a;
  margin: 4px 6px 0;
}

/* line 32148, 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 32158, 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 32167, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-confirm:hover {
  background: #1765cc !important;
}

/* line 32171, 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 32183, app/assets/stylesheets/application.scss */
.ai-tutor-attach-preview img {
  height: 56px;
  width: auto;
  border-radius: 8px;
}

/* line 32189, 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) calc(10px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  pointer-events: none;
}

/* line 32202, 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 32210, app/assets/stylesheets/application.scss */
.ai-tutor-form {
  padding: 0;
  background: transparent;
}

/* line 32215, 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 32226, 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 32236, app/assets/stylesheets/application.scss */
.ai-tutor-trailing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

/* line 32243, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn {
  background: transparent;
  color: #5f6368;
}

/* line 32248, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn:hover {
  background: #f1f3f4;
  color: #3c4043;
}

/* line 32253, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn.is-recording {
  background: rgba(23, 25, 29, 0.08);
  color: var(--perk-ink);
}

/* line 32258, 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 32271, app/assets/stylesheets/application.scss */
.ai-tutor-send-btn:hover {
  background: #1765cc;
}

/* line 32275, 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 var(--perk-line, rgba(23, 25, 29, 0.08));
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

/* line 32288, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-composer {
  display: none;
}

/* line 32292, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-recording {
  display: flex;
}

/* line 32296, app/assets/stylesheets/application.scss */
.ai-tutor-recording.hidden {
  display: none !important;
}

/* line 32300, app/assets/stylesheets/application.scss */
.ai-tutor-record-cancel {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
  cursor: pointer;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 32314, app/assets/stylesheets/application.scss */
.ai-tutor-recording-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 700;
}

/* line 32325, app/assets/stylesheets/application.scss */
.ai-tutor-recording-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--perk-ink, #17191d);
  animation: none;
  flex: 0 0 auto;
}

/* line 32334, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-transcribing {
  opacity: 0.85;
  pointer-events: none;
}

/* line 32339, 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 32353, 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 32366, 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 32382, 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 32390, app/assets/stylesheets/application.scss */
.ai-tutor-history-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 32395, 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 32408, app/assets/stylesheets/application.scss */
.ai-tutor-history-item:hover,
.ai-tutor-history-item.is-active {
  background: #e8f0fe;
}

/* line 32413, app/assets/stylesheets/application.scss */
.ai-tutor-history-item strong {
  font-size: 13px;
  font-weight: 300;
}

/* line 32418, app/assets/stylesheets/application.scss */
.ai-tutor-history-item span {
  font-size: 11px;
  color: #80868b;
}

/* line 32423, app/assets/stylesheets/application.scss */
.ai-tutor-muted {
  color: #80868b;
  font-size: 13px;
  padding: 12px;
  margin: 0;
}

/* line 32430, 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 32441, 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 32449, app/assets/stylesheets/application.scss */
.ai-tutor-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* line 32456, 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 32466, 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 32475, app/assets/stylesheets/application.scss */
.ai-tutor-field input:focus {
  outline: none;
  border-color: rgba(23, 25, 29, 0.2);
  box-shadow: none;
}

/* line 32481, app/assets/stylesheets/application.scss */
.ai-tutor-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

/* line 32487, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option {
  aspect-ratio: 1;
  border: 2.5px solid transparent;
  border-radius: 22%;
  background: var(--tutor-icon-color, #2e73d9);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

/* line 32501, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option .heroicon,
.ai-tutor-icon-option > i {
  color: #fff;
  stroke: #fff;
}

/* line 32507, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option:hover {
  filter: brightness(1.06);
}

/* line 32511, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option.is-selected {
  border-color: #1a73e8;
  background: var(--tutor-icon-color, #2e73d9);
  color: #fff;
  filter: none;
}

/* line 32518, app/assets/stylesheets/application.scss */
.ai-tutor-editor-error {
  color: var(--perk-ink);
  font-size: 13px;
  margin: 0 0 10px;
}

/* line 32524, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

/* line 32532, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions-right {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* line 32538, app/assets/stylesheets/application.scss */
body.ai-tutor-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 32543, app/assets/stylesheets/application.scss */
  .ai-tutor-subtitle,
.ai-tutor-topbar .ai-tutor-text-btn span {
    display: none;
  }
  /* line 32548, app/assets/stylesheets/application.scss */
  .ai-tutor-modes {
    order: 1;
    width: 100%;
    margin-right: 0;
    justify-content: stretch;
  }
  /* line 32555, app/assets/stylesheets/application.scss */
  .ai-tutor-chat-actions {
    order: 2;
    margin-left: auto;
  }
  /* line 32560, app/assets/stylesheets/application.scss */
  .ai-tutor-mode {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* line 32567, app/assets/stylesheets/application.scss */
  .ai-tutor-topbar {
    padding: 12px;
  }
  /* line 32571, app/assets/stylesheets/application.scss */
  .ai-tutor-messages {
    padding: 14px var(--hub-ai-chat-gutter) calc(132px + env(safe-area-inset-bottom, 0px));
  }
  /* line 32575, app/assets/stylesheets/application.scss */
  .ai-tutor-composer-dock {
    padding: 12px var(--hub-ai-chat-gutter) 0;
  }
  /* line 32579, app/assets/stylesheets/application.scss */
  .ai-tutor-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— File share modal (iOS Send-to look) —— */
/* line 32585, app/assets/stylesheets/application.scss */
.file-share-modal {
  position: fixed;
  inset: 0;
  /* Above focused chat windows (.floating-ai-panel.is-focused: 10110). */
  z-index: 10120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 18, 22, 0.4);
  backdrop-filter: blur(8px);
}

/* line 32598, app/assets/stylesheets/application.scss */
.file-share-modal.hidden,
.file-share-modal[hidden] {
  display: none;
}

/* line 32603, 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 32615, 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 32624, app/assets/stylesheets/application.scss */
.file-share-head h3 {
  margin: 0;
  text-align: center;
  color: #111;
  font-size: 17px;
  font-weight: 700;
}

/* line 32632, 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 32644, app/assets/stylesheets/application.scss */
.file-share-done:hover {
  opacity: 0.75;
}

/* line 32648, app/assets/stylesheets/application.scss */
.file-share-head-spacer {
  justify-self: end;
  width: 1px;
  height: 1px;
}

/* line 32654, 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 32662, app/assets/stylesheets/application.scss */
.file-share-file-name:not([hidden]) {
  display: block;
}

/* line 32666, 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 32678, app/assets/stylesheets/application.scss */
.file-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 32683, 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 32694, app/assets/stylesheets/application.scss */
.file-share-search input::placeholder {
  color: #8e8e93;
}

/* line 32698, 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 32709, app/assets/stylesheets/application.scss */
.file-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  font-size: 14px;
  text-align: center;
}

/* line 32716, 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 32729, app/assets/stylesheets/application.scss */
.file-share-person:last-child {
  border-bottom: 0;
}

/* line 32733, 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 32747, app/assets/stylesheets/application.scss */
.file-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 32754, app/assets/stylesheets/application.scss */
.file-share-person-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 32762, 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 32771, 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 32784, app/assets/stylesheets/application.scss */
.file-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 32788, app/assets/stylesheets/application.scss */
.file-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 32793, 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 32802, 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 32819, app/assets/stylesheets/application.scss */
.file-share-channel:hover {
  background: #f6f7f8;
}

/* line 32823, 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 32834, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 32838, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-whatsapp {
  background: #25d366;
  border-radius: 50%;
}

/* line 32843, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-x {
  background: #111;
}

/* line 32847, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-email {
  background: #6b7280;
}

/* line 32851, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-copy {
  background: #111;
}

/* line 32855, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-apps {
  background: #2563eb;
}

/* line 32859, app/assets/stylesheets/application.scss */
.file-share-status {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 13px;
  color: #4b5563;
}

/* line 32866, app/assets/stylesheets/application.scss */
.file-share-status.is-ok {
  color: #0f766e;
}

/* line 32870, app/assets/stylesheets/application.scss */
.file-share-status.is-error {
  color: var(--perk-ink);
}

@media (min-width: 641px) {
  /* line 32875, app/assets/stylesheets/application.scss */
  .file-share-modal {
    align-items: center;
    padding: 24px;
  }
  /* line 32880, app/assets/stylesheets/application.scss */
  .file-share-card {
    border-radius: 18px;
    max-height: min(86vh, 720px);
  }
}

/* —— Job Tutor / Gia sư việc làm —— */
/* line 32887, 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 32897, app/assets/stylesheets/application.scss */
.job-seeking.hidden,
.job-seeking[hidden] {
  display: none !important;
}

/* line 32902, app/assets/stylesheets/application.scss */
.job-seeking-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* line 32909, 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 32922, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn:hover {
  background: #e2e8f0;
}

/* line 32926, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn.is-danger {
  color: var(--perk-ink);
}

/* line 32930, 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 32944, app/assets/stylesheets/application.scss */
.job-seeking-text-btn:hover {
  background: #e2e8f0;
}

/* line 32948, 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 32963, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:hover {
  background: #185a75;
}

/* line 32967, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 32972, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn-block {
  width: 100%;
}

/* line 32976, 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 32991, 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 33006, app/assets/stylesheets/application.scss */
.job-seeking-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* line 33013, app/assets/stylesheets/application.scss */
.job-seeking-sidebar {
  border-right: 1px solid #e3e8ee;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 33021, 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 33029, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-head strong {
  font-size: 13px;
  color: #5f6b7a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 33036, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* line 33043, app/assets/stylesheets/application.scss */
.job-seeking-list {
  flex: 1;
  overflow: auto;
  padding: 4px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 33052, 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 33067, app/assets/stylesheets/application.scss */
.job-seeking-app:hover {
  background: #f3f6f9;
}

/* line 33071, app/assets/stylesheets/application.scss */
.job-seeking-app.is-active {
  background: rgba(31, 107, 140, 0.1);
}

/* line 33075, 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 33090, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.is-empty {
  font-size: 16px;
}

/* line 33094, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 33099, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 33105, 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 33122, app/assets/stylesheets/application.scss */
.job-seeking-app-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 33129, 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 33137, app/assets/stylesheets/application.scss */
.job-seeking-app-text span {
  font-size: 12px;
  color: #5f6b7a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 33145, app/assets/stylesheets/application.scss */
.job-seeking-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 33152, 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 33163, 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 33175, app/assets/stylesheets/application.scss */
.job-seeking-empty strong {
  font-size: 18px;
  color: #12263a;
}

/* line 33180, app/assets/stylesheets/application.scss */
.job-seeking-empty p {
  margin: 0;
  max-width: 420px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.45;
}

/* line 33188, 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 33196, app/assets/stylesheets/application.scss */
.job-seeking-bottom-bar.hidden,
.job-seeking-bottom-bar[hidden] {
  display: none !important;
}

/* line 33201, app/assets/stylesheets/application.scss */
.job-seeking-detail {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 33208, app/assets/stylesheets/application.scss */
.job-seeking-detail.hidden,
.job-seeking-detail[hidden] {
  display: none !important;
}

/* line 33213, 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 33221, app/assets/stylesheets/application.scss */
.job-seeking-detail-identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 33228, 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 33241, app/assets/stylesheets/application.scss */
.job-seeking-detail-avatar.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 33246, app/assets/stylesheets/application.scss */
.job-seeking-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 33252, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 33259, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text strong {
  font-size: 22px;
  color: #12263a;
}

/* line 33264, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text span {
  font-size: 13px;
  color: #5f6b7a;
}

/* line 33269, app/assets/stylesheets/application.scss */
.job-seeking-detail-actions {
  display: flex;
  gap: 6px;
}

/* line 33274, 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 33284, app/assets/stylesheets/application.scss */
.job-seeking-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* line 33290, 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 33300, app/assets/stylesheets/application.scss */
.job-seeking-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f6b8c;
  font-size: 14px;
}

/* line 33308, app/assets/stylesheets/application.scss */
.job-seeking-muted {
  margin: 0;
  font-size: 13px;
  color: #5f6b7a;
}

/* line 33314, app/assets/stylesheets/application.scss */
.job-seeking-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 33320, 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 33334, app/assets/stylesheets/application.scss */
.job-seeking-chip:hover {
  background: #e2e8f0;
}

/* line 33338, app/assets/stylesheets/application.scss */
.job-seeking-field-label {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
}

/* line 33344, 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 33358, app/assets/stylesheets/application.scss */
.job-seeking-input:focus,
.job-seeking-textarea:focus {
  outline: none;
  border-color: rgba(23, 25, 29, 0.22);
  background: #fff;
  box-shadow: none;
}

/* line 33366, app/assets/stylesheets/application.scss */
.job-seeking-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

/* line 33373, app/assets/stylesheets/application.scss */
.job-seeking-error {
  margin: 0;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 33379, app/assets/stylesheets/application.scss */
.job-seeking-disclaimer {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 33385, app/assets/stylesheets/application.scss */
.job-seeking-score-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

/* line 33392, app/assets/stylesheets/application.scss */
.job-seeking-score-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* line 33398, app/assets/stylesheets/application.scss */
.job-seeking-score-big span {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

/* line 33404, app/assets/stylesheets/application.scss */
.job-seeking-score-big small {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
}

/* line 33410, 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 33419, app/assets/stylesheets/application.scss */
.job-seeking-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #243447;
}

/* line 33426, app/assets/stylesheets/application.scss */
.job-seeking-dims {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 33432, app/assets/stylesheets/application.scss */
.job-seeking-radar-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

/* line 33438, app/assets/stylesheets/application.scss */
.job-seeking-radar {
  width: min(100%, 300px);
  height: auto;
  display: block;
}

/* line 33444, app/assets/stylesheets/application.scss */
.job-seeking-radar-label {
  font-size: 10px;
  font-weight: 650;
  fill: #5f6b7a;
}

/* line 33450, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart {
  margin: 8px 0 4px;
}

/* line 33454, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-title {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
  margin-bottom: 8px;
}

/* line 33461, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 140px;
}

/* line 33468, 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 33478, app/assets/stylesheets/application.scss */
.job-seeking-bar-score {
  font-size: 11px;
  font-weight: 700;
  color: #1f6b8c;
  font-variant-numeric: tabular-nums;
}

/* line 33485, app/assets/stylesheets/application.scss */
.job-seeking-bar-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 4px 4px;
  display: block;
}

/* line 33492, 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 33501, app/assets/stylesheets/application.scss */
.job-seeking-tutor-cta {
  margin-top: 4px;
}

/* line 33505, app/assets/stylesheets/application.scss */
.job-seeking-dim-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}

/* line 33513, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar {
  height: 6px;
  border-radius: 999px;
  background: #e8eef3;
  overflow: hidden;
}

/* line 33520, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar span {
  display: block;
  height: 100%;
  background: #1f6b8c;
}

/* line 33526, app/assets/stylesheets/application.scss */
.job-seeking-dim p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 33532, 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 33542, app/assets/stylesheets/application.scss */
.job-seeking-bullets li {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: normal;
}

/* line 33548, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green {
  list-style: disc;
}

/* line 33549, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange {
  list-style: disc;
}

/* line 33550, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent {
  list-style: disc;
}

/* line 33551, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple {
  list-style: disc;
}

/* line 33553, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green li::marker {
  color: #0f9d58;
}

/* line 33554, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange li::marker {
  color: var(--perk-ink);
}

/* line 33555, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent li::marker {
  color: #1f6b8c;
}

/* line 33556, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple li::marker {
  color: #7b61ff;
}

/* line 33558, 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 33570, app/assets/stylesheets/application.scss */
.job-seeking-modal.hidden,
.job-seeking-modal[hidden] {
  display: none !important;
}

/* line 33575, 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 33586, app/assets/stylesheets/application.scss */
.job-seeking-create-card {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

/* line 33592, app/assets/stylesheets/application.scss */
.job-seeking-create-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 33599, 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 33613, app/assets/stylesheets/application.scss */
.job-seeking-create-icon.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 33618, app/assets/stylesheets/application.scss */
.job-seeking-create-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 33624, app/assets/stylesheets/application.scss */
.job-seeking-logo-picker {
  margin-top: 10px;
}

/* line 33628, 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 33636, app/assets/stylesheets/application.scss */
.job-seeking-logo-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

/* line 33643, 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 33655, app/assets/stylesheets/application.scss */
.job-seeking-logo-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 33662, app/assets/stylesheets/application.scss */
.job-seeking-logo-option.is-selected {
  border-color: #1f6b8c;
}

/* line 33666, app/assets/stylesheets/application.scss */
.job-seeking-logo-picker-head .job-seeking-spinner {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

/* line 33672, app/assets/stylesheets/application.scss */
.job-seeking-create-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 33679, app/assets/stylesheets/application.scss */
.job-seeking-create-copy strong {
  font-size: 17px;
  font-weight: 700;
  color: #12263a;
  letter-spacing: -0.01em;
}

/* line 33686, app/assets/stylesheets/application.scss */
.job-seeking-create-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #5f6b7a;
}

/* line 33693, app/assets/stylesheets/application.scss */
.job-seeking-create-fields {
  display: flex;
  flex-direction: column;
  padding: 4px 20px 8px;
}

/* line 33699, app/assets/stylesheets/application.scss */
.job-seeking-create-fields .job-seeking-field {
  padding: 12px 0;
  border-bottom: 1px solid #e8eef3;
}

/* line 33704, app/assets/stylesheets/application.scss */
.job-seeking-create-fields .job-seeking-field:last-child {
  border-bottom: 0;
}

/* line 33708, app/assets/stylesheets/application.scss */
.job-seeking-create-card .job-seeking-error {
  margin: 0 20px 4px;
}

/* line 33712, app/assets/stylesheets/application.scss */
.job-seeking-create-card .job-seeking-modal-head {
  padding: 18px 18px 12px 20px;
  align-items: flex-start;
}

/* line 33717, 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 33724, app/assets/stylesheets/application.scss */
.job-seeking-drive-card {
  width: min(100%, 520px);
  max-height: min(80vh, 640px);
}

/* line 33729, app/assets/stylesheets/application.scss */
.job-seeking-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 33736, app/assets/stylesheets/application.scss */
.job-seeking-modal-head strong {
  font-size: 16px;
  font-weight: 700;
  color: #12263a;
}

/* line 33742, app/assets/stylesheets/application.scss */
.job-seeking-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

/* line 33749, 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 33754, app/assets/stylesheets/application.scss */
.job-seeking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 33760, app/assets/stylesheets/application.scss */
.job-seeking-drive-list {
  overflow: auto;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 33768, 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 33782, app/assets/stylesheets/application.scss */
.job-seeking-drive-item:hover {
  background: #eef2f6;
}

/* line 33786, 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 33796, app/assets/stylesheets/application.scss */
.job-seeking-busy.hidden,
.job-seeking-busy[hidden] {
  display: none !important;
}

/* line 33801, 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 33812, 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 33825, app/assets/stylesheets/application.scss */
body.job-seeking-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 33830, app/assets/stylesheets/application.scss */
  .job-seeking-layout {
    grid-template-columns: 1fr;
  }
  /* line 33834, app/assets/stylesheets/application.scss */
  .job-seeking-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
    max-height: 220px;
  }
  /* line 33840, app/assets/stylesheets/application.scss */
  .job-seeking-panels {
    grid-template-columns: 1fr;
  }
  /* line 33844, app/assets/stylesheets/application.scss */
  .job-seeking-text-btn span {
    display: none;
  }
}

/* —— Chat media lightbox —— */
/* line 33850, app/assets/stylesheets/application.scss */
html.chat-media-viewer-open,
html.chat-media-viewer-open body {
  overflow: hidden;
}

/* line 33855, 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 33866, app/assets/stylesheets/application.scss */
.chat-media-viewer.hidden {
  display: none !important;
}

/* line 33870, 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 33881, 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 33892, 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 33902, 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 33916, 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 33931, app/assets/stylesheets/application.scss */
.chat-media-viewer-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* line 33936, 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 33955, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav:hover {
  background: rgba(150, 150, 158, 0.55);
}

/* line 33959, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav.is-prev {
  left: 18px;
}

/* line 33960, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav.is-next {
  right: 18px;
}

/* line 33961, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav[hidden] {
  display: none !important;
}

/* line 33963, 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 33971, 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 33984, 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 33998, app/assets/stylesheets/application.scss */
.chat-media-viewer-frame-top > * {
  pointer-events: auto;
}

/* line 34002, 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 34016, 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 34034, app/assets/stylesheets/application.scss */
.chat-media-viewer-meta[hidden] {
  visibility: hidden;
}

/* line 34038, 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 34047, 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 34056, 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 34072, app/assets/stylesheets/application.scss */
.chat-media-viewer-video-bar.hidden,
.chat-media-viewer-video-bar[hidden] {
  display: none !important;
}

/* line 34077, 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 34088, app/assets/stylesheets/application.scss */
.chat-media-viewer-seek {
  flex: 1;
  min-width: 0;
  accent-color: #fff;
  height: 4px;
}

/* line 34095, 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 34108, app/assets/stylesheets/application.scss */
.chat-media-viewer-mini-strip::-webkit-scrollbar {
  display: none;
}

/* line 34112, app/assets/stylesheets/application.scss */
.chat-media-viewer-mini-strip[hidden],
.chat-media-viewer-mini-strip:empty {
  display: none !important;
}

/* line 34117, 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 34132, 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 34141, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.04);
}

/* line 34145, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button.is-active {
  color: var(--perk-ink);
}

/* line 34149, app/assets/stylesheets/application.scss */
.chat-media-viewer-toolbar button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 34154, 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 34165, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip::-webkit-scrollbar {
  display: none;
}

/* line 34169, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip[hidden],
.chat-media-viewer-filmstrip:empty {
  display: none !important;
}

/* line 34174, 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 34185, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb.is-mini {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

/* line 34191, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb.is-active {
  border-color: #2f6bff;
}

/* line 34195, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 34202, 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 34213, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media img,
.floating-ai-msg-media {
  cursor: zoom-in;
}

@media (max-width: 720px) {
  /* line 34219, app/assets/stylesheets/application.scss */
  .chat-media-viewer-chrome {
    padding: 10px 10px 12px;
  }
  /* line 34223, app/assets/stylesheets/application.scss */
  .chat-media-viewer-stage {
    padding: 4px 8px 8px;
  }
  /* line 34227, 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 34233, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  /* line 34239, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav.is-prev {
    left: 8px;
  }
  /* line 34240, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav.is-next {
    right: 8px;
  }
  /* line 34242, app/assets/stylesheets/application.scss */
  .chat-media-viewer-top-actions {
    top: 10px;
    right: 10px;
  }
  /* line 34247, app/assets/stylesheets/application.scss */
  .chat-media-viewer-filmstrip {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* line 34253, 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 34266, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-restore {
  display: flex;
}

/* line 34270, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-stage {
  visibility: hidden;
}

/* line 34274, 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 34283, 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 — full-bleed board, day events in modal */
/* line 34295, app/assets/stylesheets/application.scss */
.calendar-hub {
  --cal-accent: #1a73e8;
  --cal-accent-deep: #1557b0;
  --cal-accent-soft: #e8f0fe;
  --cal-ink: #202124;
  --cal-muted: #5f6368;
  --cal-line: rgba(32, 33, 36, 0.1);
  --cal-grid-line: #eef0f3;
  --cal-surface: #ffffff;
  --cal-wash: #f8f9fa;
  --cal-sky: #e8f0fe;
  --cal-event: #1a73e8;
  --cal-shadow: 0 1px 2px rgba(60, 64, 67, 0.08), 0 2px 8px rgba(60, 64, 67, 0.06);
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  color: var(--cal-ink);
  font-family: var(--perk-font);
  font-weight: 500;
}

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

/* Task-bar "add to calendar": event sheet only, no calendar navigation. */
/* line 34327, app/assets/stylesheets/application.scss */
.calendar-hub.is-compose-only {
  background: transparent !important;
  pointer-events: none;
  overflow: visible;
  box-shadow: none;
}

/* line 34334, app/assets/stylesheets/application.scss */
.calendar-hub.is-compose-only .calendar-hub-shell,
.calendar-hub.is-compose-only #calendar-day-sheet,
.calendar-hub.is-compose-only #calendar-share-sheet {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* line 34342, app/assets/stylesheets/application.scss */
.calendar-hub.is-compose-only .cal-sheet {
  pointer-events: auto;
}

/* line 34346, app/assets/stylesheets/application.scss */
.calendar-hub.is-compose-only #calendar-event-sheet {
  display: flex !important;
}

/* line 34350, app/assets/stylesheets/application.scss */
.calendar-hub-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

/* line 34357, app/assets/stylesheets/application.scss */
.calendar-hub-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  min-height: 0;
  padding: 16px 14px 18px 16px;
  overflow: auto;
  border-right: 1px solid var(--cal-line);
  background: #fff;
}

/* line 34369, app/assets/stylesheets/application.scss */
.cal-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: 0;
  margin: 2px 0 4px;
  padding: 8px 16px;
  border: 1px solid #202124;
  border-radius: 999px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* line 34390, app/assets/stylesheets/application.scss */
.cal-create-btn:hover {
  background: #f8f9fa;
  box-shadow: none;
}

/* line 34395, app/assets/stylesheets/application.scss */
.cal-create-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
}

/* line 34405, app/assets/stylesheets/application.scss */
.calendar-hub-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 4px 4px;
}

/* line 34412, app/assets/stylesheets/application.scss */
.calendar-hub-mini-head {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 2px 4px;
}

/* line 34419, app/assets/stylesheets/application.scss */
.calendar-hub-mini-head .cal-icon-btn,
.calendar-hub-mini-head .cal-icon-btn:hover {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #202124;
}

/* line 34427, app/assets/stylesheets/application.scss */
.calendar-hub-mini-head strong {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #202124;
}

/* line 34436, app/assets/stylesheets/application.scss */
.calendar-hub-side-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}

/* line 34443, app/assets/stylesheets/application.scss */
.calendar-hub-side-head {
  display: flex;
  align-items: center;
  padding: 8px 8px 4px;
}

/* line 34449, app/assets/stylesheets/application.scss */
.calendar-hub-side-head strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cal-muted);
}

/* line 34457, app/assets/stylesheets/application.scss */
.calendar-hub-side-block.is-groups {
  gap: 8px;
  flex: 1;
  min-height: 0;
}

/* line 34463, app/assets/stylesheets/application.scss */
.calendar-hub-groups {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 34472, app/assets/stylesheets/application.scss */
.cal-group-card {
  margin: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(32, 33, 36, 0.08);
  overflow: hidden;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

/* line 34481, app/assets/stylesheets/application.scss */
.cal-group-card.is-selected {
  background: rgba(26, 115, 232, 0.05);
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.22), 0 6px 16px rgba(26, 115, 232, 0.08);
}

/* line 34488, app/assets/stylesheets/application.scss */
.cal-group-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 10px 10px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

/* line 34502, app/assets/stylesheets/application.scss */
.cal-group-toggle:hover {
  background: rgba(32, 33, 36, 0.03);
}

/* line 34506, app/assets/stylesheets/application.scss */
.cal-group-avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

/* line 34524, app/assets/stylesheets/application.scss */
.cal-group-avatar.is-fallback {
  font-size: 14px;
}

/* line 34528, app/assets/stylesheets/application.scss */
.cal-group-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 34536, app/assets/stylesheets/application.scss */
.cal-group-copy strong {
  font-size: 14px;
  font-weight: 400;
  color: var(--cal-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34545, app/assets/stylesheets/application.scss */
.cal-group-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--cal-muted);
}

/* line 34551, app/assets/stylesheets/application.scss */
.cal-group-chevron {
  color: var(--cal-muted);
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 34557, app/assets/stylesheets/application.scss */
.calendar-hub-group-members {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px 8px;
}

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

/* line 34579, app/assets/stylesheets/application.scss */
.cal-group-member:hover {
  background: rgba(32, 33, 36, 0.04);
}

/* line 34583, app/assets/stylesheets/application.scss */
.cal-group-member:not(.is-on) {
  opacity: 0.45;
}

/* line 34587, app/assets/stylesheets/application.scss */
.cal-member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: #e8eaed;
  box-shadow: inset 0 0 0 1px rgba(32, 33, 36, 0.06);
}

/* line 34599, app/assets/stylesheets/application.scss */
.cal-member-avatar.is-xs {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

/* line 34605, app/assets/stylesheets/application.scss */
.cal-member-avatar.is-sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

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

/* line 34617, app/assets/stylesheets/application.scss */
.cal-member-avatar.is-fallback {
  background: var(--cal-member-color, #1A73E8);
  color: #fff;
  font-weight: 700;
}

/* line 34623, app/assets/stylesheets/application.scss */
.cal-group-member-copy {
  flex: 1;
  min-width: 0;
}

/* line 34628, app/assets/stylesheets/application.scss */
.cal-group-member-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--cal-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34638, app/assets/stylesheets/application.scss */
.cal-group-member-swatch,
.cal-legend-swatch {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* line 34646, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend {
  padding: 8px 16px;
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  background: #fff;
}

/* line 34652, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend[hidden] {
  display: none !important;
}

/* line 34656, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 34663, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 34%;
}

/* line 34672, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend-head .cal-group-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

/* line 34678, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend-head strong {
  font-size: 13px;
  font-weight: 650;
  color: var(--cal-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34687, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* line 34701, app/assets/stylesheets/application.scss */
.cal-legend-item {
  border: 0;
  background: #f4f5f7;
  border-radius: 999px;
  padding: 3px 8px 3px 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--cal-ink);
  flex: 0 0 auto;
  max-width: 140px;
  box-shadow: inset 0 0 0 1px rgba(32, 33, 36, 0.06);
}

/* line 34719, app/assets/stylesheets/application.scss */
.cal-legend-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34725, app/assets/stylesheets/application.scss */
.cal-legend-item:hover {
  background: rgba(32, 33, 36, 0.06);
}

/* line 34729, app/assets/stylesheets/application.scss */
.cal-legend-item.is-off {
  opacity: 0.42;
  background: transparent;
}

/* line 34734, app/assets/stylesheets/application.scss */
.cal-legend-item .cal-member-avatar {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

/* line 34740, app/assets/stylesheets/application.scss */
.cal-text-btn.is-muted {
  color: var(--cal-muted);
  cursor: default;
  pointer-events: none;
}

/* line 34746, app/assets/stylesheets/application.scss */
.calendar-hub-compose-fallback {
  display: none;
}

/* line 34750, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar,
.calendar-hub-toolbar-nav,
.calendar-hub-toolbar-actions,
.cal-sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 34759, app/assets/stylesheets/application.scss */
.cal-sheet-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 34765, app/assets/stylesheets/application.scss */
.cal-event-ai-btn {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.28);
}

/* line 34770, app/assets/stylesheets/application.scss */
.cal-event-ai-btn:hover {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.4);
}

/* line 34776, app/assets/stylesheets/application.scss */
.cal-icon-btn,
.cal-text-btn,
.calendar-hub-views button,
.calendar-hub-view-dropdown button,
.calendar-hub-agenda-btn,
.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 34793, app/assets/stylesheets/application.scss */
.cal-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--cal-ink);
  border: 1px solid #dadce0;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* line 34807, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-icon-btn,
.calendar-hub-toolbar .cal-text-btn {
  border-color: #202124;
  color: #202124;
}

/* line 34813, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-accent,
.cal-text-btn.is-accent {
  background: #fff;
  color: var(--cal-ink);
  border: 1px solid #dadce0;
  box-shadow: none;
}

/* line 34821, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-icon-btn.is-accent,
.calendar-hub-toolbar .cal-text-btn.is-accent {
  border-color: #202124;
  color: #202124;
}

/* line 34827, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-share {
  color: var(--cal-muted);
}

/* line 34831, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-icon-btn.is-share {
  color: #202124;
}

/* line 34835, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-share i {
  color: inherit;
}

/* line 34839, app/assets/stylesheets/application.scss */
.cal-primary-btn.is-share {
  background: var(--cal-accent);
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.28);
}

/* line 34844, app/assets/stylesheets/application.scss */
.cal-primary-btn.is-share i {
  color: #fff;
}

/* line 34848, app/assets/stylesheets/application.scss */
.cal-icon-btn:hover,
.cal-text-btn:hover,
.calendar-hub-agenda-btn:hover,
.calendar-hub-view-trigger:hover,
.calendar-hub-views button:hover {
  transform: none;
  background: #f8f9fa;
}

/* line 34857, app/assets/stylesheets/application.scss */
.cal-text-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dadce0;
  font-size: 14px;
  font-weight: 500;
  color: var(--cal-ink);
}

/* line 34867, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-text-btn {
  border-color: #202124;
  color: #202124;
}

/* line 34872, app/assets/stylesheets/application.scss */
.cal-text-btn.is-accent {
  color: var(--cal-ink);
  background: #fff;
  border-color: #dadce0;
}

/* line 34878, app/assets/stylesheets/application.scss */
.cal-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 180px;
  min-width: 140px;
  max-width: 280px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f1f3f4;
  border: 1px solid transparent;
  color: var(--cal-muted);
  box-shadow: none;
}

/* line 34893, app/assets/stylesheets/application.scss */
.cal-search.is-aside {
  flex: 0 0 auto;
  max-width: none;
  width: 100%;
  border-radius: 24px;
  padding: 10px 14px;
}

/* line 34901, app/assets/stylesheets/application.scss */
.cal-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--cal-ink);
  min-width: 0;
}

/* line 34911, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-small {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

/* line 34917, 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 34926, app/assets/stylesheets/application.scss */
.calendar-hub-calendars li,
.calendar-hub-side-block li {
  margin: 0;
}

/* line 34931, app/assets/stylesheets/application.scss */
.cal-calendar-toggle,
.cal-event-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  text-align: left;
  border-radius: 8px;
}

/* line 34942, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:hover,
.cal-event-row:hover {
  background: rgba(32, 33, 36, 0.04);
}

/* line 34947, app/assets/stylesheets/application.scss */
.cal-calendar-toggle i,
.cal-event-row i,
.calendar-hub-side-block li i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  flex: 0 0 auto;
}

/* line 34957, app/assets/stylesheets/application.scss */
.cal-calendar-toggle span,
.cal-event-row strong {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
}

/* line 34965, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:not(.is-on) span {
  color: var(--cal-muted);
}

/* line 34969, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:not(.is-on) i {
  opacity: 0.35;
}

/* line 34973, app/assets/stylesheets/application.scss */
.cal-check-mark {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--cal-ink);
  min-width: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 34984, app/assets/stylesheets/application.scss */
.calendar-hub-side-block li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  border-bottom: 0;
  font-size: 13px;
}

/* line 34993, app/assets/stylesheets/application.scss */
.calendar-hub-side-block li span,
.cal-event-row span,
.calendar-hub-empty {
  color: var(--cal-muted);
  font-size: 12px;
}

/* line 35000, app/assets/stylesheets/application.scss */
.calendar-hub-empty {
  padding: 18px 8px;
  text-align: center;
  font-size: 14px;
}

/* line 35006, app/assets/stylesheets/application.scss */
.calendar-hub-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 8px 16px 12px;
  overflow: hidden;
  background: #fff;
}

/* line 35016, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 4px 10px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  border-bottom: 1px solid var(--cal-line);
}

/* line 35029, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar-nav {
  gap: 8px;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
}

/* line 35036, app/assets/stylesheets/application.scss */
.calendar-hub-shift {
  display: inline-flex;
  gap: 2px;
}

/* line 35041, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .calendar-hub-shift .cal-icon-btn {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #202124;
}

/* line 35048, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .calendar-hub-shift .cal-icon-btn:hover {
  background: transparent;
  border-color: transparent;
}

/* line 35053, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar-nav strong {
  min-width: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #202124;
}

/* line 35061, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar-actions {
  flex: 0 1 auto;
  justify-content: flex-end;
}

/* line 35066, app/assets/stylesheets/application.scss */
.calendar-hub-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 35072, app/assets/stylesheets/application.scss */
.calendar-hub-view-menu {
  position: relative;
}

/* line 35076, app/assets/stylesheets/application.scss */
.calendar-hub-view-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 16px;
  border: 1px solid #202124;
  border-radius: 999px;
  background: #fff;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

/* line 35093, app/assets/stylesheets/application.scss */
.calendar-hub-view-trigger::-webkit-details-marker {
  display: none;
}

/* line 35097, app/assets/stylesheets/application.scss */
.calendar-hub-view-trigger .heroicon,
.calendar-hub-view-trigger svg {
  width: 12px;
  height: 12px;
  opacity: 1;
  color: #202124;
  flex: 0 0 auto;
}

/* line 35106, app/assets/stylesheets/application.scss */
.calendar-hub-view-menu[open] .calendar-hub-view-trigger,
.calendar-hub-view-trigger.is-active {
  background: #fff;
  border-color: #202124;
  color: #202124;
}

/* line 35113, app/assets/stylesheets/application.scss */
.calendar-hub-view-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  min-width: 148px;
  padding: 6px;
  border: 1px solid #202124;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(26, 29, 36, 0.12);
}

/* line 35126, app/assets/stylesheets/application.scss */
.calendar-hub-view-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

/* line 35140, app/assets/stylesheets/application.scss */
.calendar-hub-view-dropdown button:hover {
  background: #f1f3f4;
}

/* line 35144, app/assets/stylesheets/application.scss */
.calendar-hub-view-dropdown button.is-active {
  background: #fff;
  color: #202124;
}

/* line 35149, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-btn {
  padding: 8px 16px;
  border: 1px solid #202124;
  border-radius: 999px;
  background: #fff;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* line 35161, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-btn:hover {
  background: #f8f9fa;
}

/* line 35165, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-btn.is-active {
  background: #fff;
  border-color: #202124;
  color: #202124;
}

/* line 35171, app/assets/stylesheets/application.scss */
.calendar-hub-views {
  display: none;
}

/* line 35175, app/assets/stylesheets/application.scss */
.calendar-hub-views button {
  padding: 8px 14px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--cal-ink);
  transition: background 0.15s ease, color 0.15s ease;
  border-right: 1px solid #dadce0;
}

/* line 35185, app/assets/stylesheets/application.scss */
.calendar-hub-views button:last-child {
  border-right: 0;
}

/* line 35189, app/assets/stylesheets/application.scss */
.calendar-hub-views button.is-active {
  background: #f1f3f4;
  color: var(--cal-ink);
  box-shadow: none;
}

/* line 35195, app/assets/stylesheets/application.scss */
.calendar-hub-chat-close {
  display: none;
}

/* line 35199, app/assets/stylesheets/application.scss */
.calendar-hub-error {
  margin: 8px 0 0;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 35205, app/assets/stylesheets/application.scss */
.calendar-hub-board {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  touch-action: pan-y;
  user-select: none;
}

/* line 35222, 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 35227, app/assets/stylesheets/application.scss */
.calendar-hub-board:has(#calendar-day:not([hidden])),
.calendar-hub-board:has(#calendar-week:not([hidden])) {
  padding: 4px 0 0;
}

/* line 35232, app/assets/stylesheets/application.scss */
.calendar-hub-board:has(#calendar-month:not([hidden])),
.calendar-hub-board:has(#calendar-agenda:not([hidden])),
.calendar-hub-board:has(#calendar-search-results:not([hidden])) {
  padding: 12px 4px 8px;
}

/* line 35238, app/assets/stylesheets/application.scss */
.calendar-hub-month:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  background: #fff;
}

/* line 35247, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-expanded {
  gap: 10px;
}

/* line 35251, app/assets/stylesheets/application.scss */
.calendar-hub-month .calendar-hub-cell-date,
.calendar-hub-month .calendar-hub-cell-events,
.calendar-hub-month .calendar-hub-cell-more,
.calendar-hub-month .calendar-hub-cell-chip,
.calendar-hub-month-block h4,
.calendar-hub-month-head h4 {
  transition: none;
}

/* line 35260, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-wheel-leave-up .calendar-hub-cell-date,
.calendar-hub-month.is-wheel-leave-up .calendar-hub-cell-events,
.calendar-hub-month.is-wheel-leave-up .calendar-hub-cell-more,
.calendar-hub-month.is-wheel-leave-up .calendar-hub-cell-chip,
.calendar-hub-month.is-wheel-leave-up .calendar-hub-month-block h4,
.calendar-hub-month.is-wheel-leave-up .calendar-hub-month-head h4,
.calendar-hub-toolbar-nav strong.is-wheel-leave-up {
  transition: transform 0.12s ease-out, opacity 0.12s ease-out;
  transform: translateY(-8px);
  opacity: 0;
}

/* line 35272, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-wheel-leave-down .calendar-hub-cell-date,
.calendar-hub-month.is-wheel-leave-down .calendar-hub-cell-events,
.calendar-hub-month.is-wheel-leave-down .calendar-hub-cell-more,
.calendar-hub-month.is-wheel-leave-down .calendar-hub-cell-chip,
.calendar-hub-month.is-wheel-leave-down .calendar-hub-month-block h4,
.calendar-hub-month.is-wheel-leave-down .calendar-hub-month-head h4,
.calendar-hub-toolbar-nav strong.is-wheel-leave-down {
  transition: transform 0.12s ease-out, opacity 0.12s ease-out;
  transform: translateY(8px);
  opacity: 0;
}

/* line 35284, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-wheel-enter-up .calendar-hub-cell-date,
.calendar-hub-month.is-wheel-enter-up .calendar-hub-cell-events,
.calendar-hub-month.is-wheel-enter-up .calendar-hub-cell-more,
.calendar-hub-month.is-wheel-enter-up .calendar-hub-cell-chip,
.calendar-hub-month.is-wheel-enter-up .calendar-hub-month-block h4,
.calendar-hub-month.is-wheel-enter-up .calendar-hub-month-head h4,
.calendar-hub-toolbar-nav strong.is-wheel-enter-up {
  transform: translateY(8px);
  opacity: 0;
}

/* line 35295, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-wheel-enter-down .calendar-hub-cell-date,
.calendar-hub-month.is-wheel-enter-down .calendar-hub-cell-events,
.calendar-hub-month.is-wheel-enter-down .calendar-hub-cell-more,
.calendar-hub-month.is-wheel-enter-down .calendar-hub-cell-chip,
.calendar-hub-month.is-wheel-enter-down .calendar-hub-month-block h4,
.calendar-hub-month.is-wheel-enter-down .calendar-hub-month-head h4,
.calendar-hub-toolbar-nav strong.is-wheel-enter-down {
  transform: translateY(-8px);
  opacity: 0;
}

/* line 35306, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-wheel-settle .calendar-hub-cell-date,
.calendar-hub-month.is-wheel-settle .calendar-hub-cell-events,
.calendar-hub-month.is-wheel-settle .calendar-hub-cell-more,
.calendar-hub-month.is-wheel-settle .calendar-hub-cell-chip,
.calendar-hub-month.is-wheel-settle .calendar-hub-month-block h4,
.calendar-hub-month.is-wheel-settle .calendar-hub-month-head h4,
.calendar-hub-toolbar-nav strong.is-wheel-settle {
  transition: transform 0.16s ease-out, opacity 0.16s ease-out;
  transform: translateY(0);
  opacity: 1;
}

/* line 35318, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays,
.calendar-hub-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* line 35324, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays {
  flex: 0 0 auto;
  margin-bottom: 0;
  padding: 0 0 8px;
  color: #202124;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

/* line 35336, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays.is-mini {
  font-size: 10px;
  margin-bottom: 2px;
  padding: 0 0 4px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* line 35344, app/assets/stylesheets/application.scss */
.calendar-hub-grid {
  gap: 8px;
}

/* line 35348, app/assets/stylesheets/application.scss */
.calendar-hub-grid.is-full {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  gap: 0;
  grid-template-rows: repeat(var(--cal-weeks, 6), minmax(0, 1fr));
  align-content: stretch;
  border-top: 1px solid var(--cal-grid-line);
  border-left: 1px solid var(--cal-grid-line);
}

/* line 35359, app/assets/stylesheets/application.scss */
.calendar-hub-grid.is-mini {
  gap: 0;
}

/* line 35363, 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: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--cal-ink);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* line 35385, app/assets/stylesheets/application.scss */
.calendar-hub-cell:hover {
  transform: none;
  border-color: transparent;
  background: #f8f9fa;
  box-shadow: none;
}

/* line 35392, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-pad {
  cursor: default;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

/* line 35399, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-outside {
  opacity: 1;
  color: #202124;
}

/* line 35404, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-outside .calendar-hub-cell-date {
  color: #202124;
}

/* line 35408, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-event {
  background: linear-gradient(180deg, #fff 0%, var(--cal-sky) 100%);
  border-color: rgba(26, 115, 232, 0.14);
}

/* line 35413, 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;
  box-shadow: none;
}

/* line 35425, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact:hover {
  background: transparent;
}

/* line 35429, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact.is-event {
  background: color-mix(in srgb, var(--cal-event) 12%, #fff);
}

/* line 35433, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-mini {
  height: 30px;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

/* line 35440, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-mini:hover .calendar-hub-cell-date {
  background: rgba(32, 33, 36, 0.06);
}

/* line 35444, 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: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* line 35458, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact .calendar-hub-cell-date {
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 400;
}

/* line 35465, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-mini .calendar-hub-cell-date {
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 400;
}

/* line 35472, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-today .calendar-hub-cell-date {
  background: #202124;
  color: #fff;
  box-shadow: none;
  font-weight: 500;
}

/* line 35479, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-selected:not(.is-today) .calendar-hub-cell-date {
  background: #f1f3f4;
  color: var(--cal-ink);
  font-weight: 500;
}

/* line 35485, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-today:not(.has-photo) {
  border-color: transparent;
  background: transparent;
}

/* line 35490, app/assets/stylesheets/application.scss */
.calendar-hub-cell-dots {
  display: flex;
  justify-content: center;
  gap: 3px;
  min-height: 6px;
  width: 100%;
}

/* line 35498, app/assets/stylesheets/application.scss */
.calendar-hub-cell-dots i {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  display: inline-block;
}

/* Expanded month: Google-style grid — centered day numbers, plain event lines. */
/* line 35506, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich {
  align-items: center;
  gap: 2px;
  padding: 6px 4px 8px;
  border: 0;
  border-right: 1px solid var(--cal-grid-line);
  border-bottom: 1px solid var(--cal-grid-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

/* line 35518, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich:hover {
  background: #f8f9fa;
}

/* line 35522, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-event {
  background: #fff;
  border-color: var(--cal-grid-line);
}

/* line 35527, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-outside {
  opacity: 1;
  color: #202124;
}

/* line 35532, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-outside .calendar-hub-cell-date {
  color: #202124;
}

/* line 35536, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-today {
  background: #fff;
}

/* line 35540, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich .calendar-hub-cell-date {
  width: auto;
  min-width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

/* line 35551, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-today .calendar-hub-cell-date {
  width: 28px;
  min-width: 28px;
  padding: 0;
  background: #202124;
  color: #fff;
  font-weight: 500;
}

/* line 35560, app/assets/stylesheets/application.scss */
.calendar-hub-cell-photo,
.calendar-hub-cell.has-photo::after,
.calendar-hub-cell-count {
  display: none !important;
}

/* line 35566, app/assets/stylesheets/application.scss */
.calendar-hub-cell-events {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  width: 100%;
  margin-top: 0;
  min-height: 0;
  overflow: hidden;
}

/* line 35579, 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: 1px 4px 1px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cal-ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}

/* line 35597, app/assets/stylesheets/application.scss */
.calendar-hub-cell-chip {
  cursor: pointer;
}

/* line 35601, app/assets/stylesheets/application.scss */
.calendar-hub-cell-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--cal-color, var(--cal-event));
  vertical-align: middle;
}

/* line 35612, app/assets/stylesheets/application.scss */
.calendar-hub-cell-more {
  color: var(--cal-muted);
  font-weight: 500;
  padding-left: 13px;
}

/* line 35618, app/assets/stylesheets/application.scss */
.calendar-hub-month-block h4,
.calendar-hub-month-head h4 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* line 35626, app/assets/stylesheets/application.scss */
.calendar-hub-month-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

/* line 35633, app/assets/stylesheets/application.scss */
.calendar-hub-month-head h4 {
  flex: 1;
  margin: 0;
}

/* line 35638, 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 35646, 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: 4px 4px 28px;
  background: #fff;
}

/* line 35657, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 60%, rgba(255, 255, 255, 0));
}

/* line 35668, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid #202124;
  border-radius: 999px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* line 35686, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn:hover {
  transform: none;
  background: #f8f9fa;
}

/* line 35691, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn.is-on {
  background: #fff;
  border-color: #202124;
  color: #202124;
  box-shadow: none;
}

/* line 35698, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 4px;
  padding: 0 2px;
  color: #202124;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* line 35711, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cal-grid-line, #80868b);
}

/* line 35718, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-section.is-upcoming {
  color: #202124;
  margin-top: 16px;
}

/* line 35723, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-empty {
  padding: 48px 12px;
  text-align: center;
  color: #202124;
  font-size: 14px;
  border-radius: 0;
  background: #fff;
  border: 0;
}

/* line 35733, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day {
  display: grid;
  grid-template-columns: minmax(148px, 190px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px 4px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

/* line 35745, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
  min-width: 0;
}

/* line 35754, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-daynum {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #202124;
  flex: 0 0 auto;
}

/* line 35767, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-datemeta {
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 35779, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today {
  border: 0;
  background: #fff;
}

/* line 35784, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-daynum {
  background: var(--cal-event, #1a73e8);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

/* line 35791, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-datemeta {
  color: var(--cal-event, #1a73e8);
  font-weight: 600;
}

/* line 35796, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-past {
  opacity: 1;
  background: #fff;
}

/* line 35801, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-past .calendar-hub-agenda-daynum {
  background: transparent;
  color: #202124;
}

/* line 35806, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-events {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding-top: 2px;
}

/* line 35814, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event {
  display: grid;
  grid-template-columns: 10px minmax(88px, 112px) minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #202124;
  box-shadow: none;
  transition: background 0.15s ease;
}

/* line 35833, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event:hover {
  background: rgba(32, 33, 36, 0.03);
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

/* line 35840, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event.is-past {
  opacity: 0.55;
}

/* line 35844, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event.is-past .calendar-hub-agenda-title,
.calendar-hub-agenda-event.is-past .calendar-hub-agenda-time {
  color: #202124;
}

/* line 35849, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event i {
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 99px;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--cal-color, var(--cal-event, #1a73e8));
}

/* line 35859, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-time {
  color: #202124;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 35868, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-title {
  min-width: 0;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 35879, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-now {
  position: relative;
  height: 0;
  margin: 6px 0 8px;
  border-top: 2px solid #ea4335;
}

/* line 35886, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-now i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  margin-left: -4px;
  border-radius: 50%;
  background: #ea4335;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.95);
}

/* line 35899, app/assets/stylesheets/application.scss */
.calendar-hub-year {
  display: none;
}

/* line 35903, 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;
  background: #fff;
}

/* line 35914, app/assets/stylesheets/application.scss */
.calendar-hub-day-view {
  gap: 0;
}

/* line 35918, 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 35925, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-row {
  padding: 0 10px 4px;
}

/* line 35929, 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: #202124;
  cursor: pointer;
  transition: background 0.15s ease;
}

/* line 35943, app/assets/stylesheets/application.scss */
.calendar-hub-week-head:hover {
  background: #f4f5f7;
}

/* line 35947, app/assets/stylesheets/application.scss */
.calendar-hub-week-head span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 35954, 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: 400;
  letter-spacing: -0.03em;
  color: #17191d;
}

/* line 35966, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-today strong {
  background: #202124;
  color: #fff;
  box-shadow: none;
  font-weight: 500;
}

/* line 35973, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-today span {
  color: #202124;
  font-weight: 500;
}

/* line 35978, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-selected:not(.is-today) strong {
  background: #f1f3f4;
  color: #17191d;
}

/* line 35983, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday {
  display: none;
}

/* line 35987, app/assets/stylesheets/application.scss */
.calendar-hub-week-gutter {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 6px 8px 0;
  color: #202124;
  font-size: 13px;
  font-weight: 500;
}

/* line 35997, app/assets/stylesheets/application.scss */
.calendar-hub-tz {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: right;
  color: #202124;
  font-size: 13px;
  font-weight: 500;
}

/* line 36011, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-row.is-day {
  padding: 0 10px 2px;
  min-height: 28px;
}

/* line 36016, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-spacer {
  min-height: 1px;
}

/* line 36020, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday-col {
  min-height: 28px;
  padding: 4px;
  border-left: 1px solid var(--cal-grid-line);
}

/* line 36026, 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: 0;
  background: color-mix(in srgb, var(--cal-color, var(--cal-event, #1a73e8)) 18%, #fff);
  color: color-mix(in srgb, var(--cal-color, var(--cal-event, #1a73e8)) 68%, #202124);
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

/* line 36041, app/assets/stylesheets/application.scss */
.calendar-hub-week-block strong,
.calendar-hub-week-block span {
  color: inherit;
}

/* line 36046, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday-event {
  padding: 4px 6px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  color: color-mix(in srgb, var(--cal-color, var(--cal-event, #1a73e8)) 68%, #202124);
}

/* line 36054, app/assets/stylesheets/application.scss */
.calendar-hub-week-scroll {
  --cal-hour-h: 52px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  background: #fff;
  border-top: 1px solid var(--cal-grid-line);
  /* Room for the first hour label without shrinking the timed grid (border-box). */
  padding-top: 0.6em;
  -webkit-overflow-scrolling: touch;
}

/* line 36072, app/assets/stylesheets/application.scss */
.calendar-hub-week-hours {
  display: flex;
  flex-direction: column;
  height: calc(var(--cal-hours, 24) * var(--cal-hour-h));
  min-height: calc(var(--cal-hours, 24) * var(--cal-hour-h));
  padding-top: 0;
  border-right: 1px solid var(--cal-grid-line);
  background: transparent;
  position: sticky;
  left: 0;
  z-index: 1;
}

/* line 36085, app/assets/stylesheets/application.scss */
.calendar-hub-week-hours span {
  flex: 0 0 auto;
  height: var(--cal-hour-h);
  min-height: var(--cal-hour-h);
  padding: 0 8px 0 0;
  color: #202124;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  line-height: 1;
  transform: translateY(-0.55em);
  white-space: nowrap;
}

/* line 36099, app/assets/stylesheets/application.scss */
.calendar-hub-week-days {
  display: grid;
  grid-template-columns: repeat(var(--cal-cols, 7), minmax(0, 1fr));
  height: calc(var(--cal-hours, 24) * var(--cal-hour-h));
  min-height: calc(var(--cal-hours, 24) * var(--cal-hour-h));
  padding-top: 0;
  overflow: visible;
}

/* line 36108, 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 var(--cal-grid-line);
  overflow: visible;
}

/* line 36118, app/assets/stylesheets/application.scss */
.calendar-hub-week-col:first-child {
  border-left: 0;
}

/* line 36122, app/assets/stylesheets/application.scss */
.calendar-hub-week-col.is-day {
  border-left: 0;
}

/* line 36126, app/assets/stylesheets/application.scss */
.calendar-hub-day-view .calendar-hub-week-scroll {
  grid-template-columns: 56px minmax(0, 1fr);
  border-radius: 0;
  border-top-color: var(--cal-grid-line);
}

/* line 36132, app/assets/stylesheets/application.scss */
.calendar-hub-day-view .calendar-hub-week-hours span {
  padding: 0 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #202124;
}

/* line 36139, app/assets/stylesheets/application.scss */
.calendar-hub-day-view .calendar-hub-week-block {
  left: 2px;
  right: 2px;
  border-radius: 8px;
  padding: 5px 8px;
  box-shadow: none;
}

/* line 36147, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  height: var(--cal-hour-h);
  min-height: var(--cal-hour-h);
  border: 0;
  border-bottom: 1px solid var(--cal-grid-line);
  background: transparent;
  cursor: pointer;
}

/* line 36159, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot:last-child {
  border-bottom: 0;
}

/* line 36163, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot:hover {
  background: rgba(59, 130, 246, 0.06);
}

/* line 36167, app/assets/stylesheets/application.scss */
.calendar-hub-week-block {
  position: absolute;
  left: 2px;
  right: 2px;
  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 6px;
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
}

/* line 36185, 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 36195, app/assets/stylesheets/application.scss */
.calendar-hub-week-block strong {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--cal-color, var(--cal-event, #1a73e8)) 72%, #202124);
}

/* line 36203, app/assets/stylesheets/application.scss */
.calendar-hub-week-block span {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--cal-color, var(--cal-event, #1a73e8)) 58%, #5f6368);
  font-size: 11px;
  font-weight: 500;
}

/* line 36210, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact {
  gap: 0;
  padding: 3px 6px;
  justify-content: center;
}

/* line 36216, 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 36222, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-short {
  gap: 0;
  padding: 3px 6px;
}

/* line 36227, app/assets/stylesheets/application.scss */
.calendar-hub-now-line {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  height: 2px;
  background: #ea4335;
  border: 0;
  pointer-events: none;
}

/* line 36238, app/assets/stylesheets/application.scss */
.calendar-hub-now-line i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  border-radius: 50%;
  background: #ea4335;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.95);
}

/* line 36251, app/assets/stylesheets/application.scss */
.calendar-hub-search-results li {
  border-bottom: 1px solid #f3f4f6;
}

/* line 36255, app/assets/stylesheets/application.scss */
.cal-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 36264, app/assets/stylesheets/application.scss */
.cal-sheet.hidden,
.cal-sheet[hidden] {
  display: none !important;
}

/* line 36269, app/assets/stylesheets/application.scss */
.cal-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 22, 34, 0.38);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

/* line 36278, 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 36295, app/assets/stylesheets/application.scss */
.cal-day-modal {
  align-items: center;
  padding: 24px 16px;
}

/* line 36300, app/assets/stylesheets/application.scss */
.cal-center-modal {
  align-items: center;
  align-items: safe center;
  justify-content: center;
  padding: 24px 16px;
  overflow: auto;
}

/* line 36308, app/assets/stylesheets/application.scss */
.cal-day-modal-card {
  width: min(440px, 100%);
  height: min(70vh, 560px);
  max-height: min(78vh, 640px);
  margin: 0;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: radial-gradient(420px 180px at 100% 0%, rgba(232, 93, 76, 0.1), transparent 60%), #fff;
  box-shadow: 0 24px 60px rgba(17, 22, 34, 0.22);
  animation: cal-day-modal-in 0.2s ease;
}

/* line 36322, app/assets/stylesheets/application.scss */
.cal-sheet-card.is-form,
.cal-sheet-card.is-share,
.cal-center-modal-card.is-form,
.cal-center-modal-card.is-share {
  width: min(480px, 100%);
  height: auto;
  max-height: min(680px, calc(100dvh - 48px));
  margin: 0;
  overflow: auto;
  border-radius: 24px;
  padding: 18px 18px 20px;
  background: radial-gradient(420px 180px at 0% 0%, rgba(61, 139, 253, 0.08), transparent 55%), #fff;
  box-shadow: 0 24px 60px rgba(17, 22, 34, 0.22);
  animation: cal-day-modal-in 0.2s ease;
}

/* line 36340, app/assets/stylesheets/application.scss */
.cal-center-modal-card.is-form > *,
.cal-center-modal-card.is-share > * {
  flex-shrink: 0;
}

/* line 36345, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-sheet-handle {
  display: none;
}

/* line 36349, app/assets/stylesheets/application.scss */
.cal-day-modal-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 36356, app/assets/stylesheets/application.scss */
.cal-day-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cal-accent, #1a73e8);
}

/* line 36364, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-sheet-head h3 {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

/* line 36370, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-sheet-list {
  margin-top: 4px;
  padding-right: 2px;
}

/* line 36375, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-event-row {
  padding: 12px;
  border: 1px solid rgba(26, 29, 36, 0.06);
  background: linear-gradient(180deg, #fff 0%, #f7f8fc 100%);
  margin-bottom: 8px;
}

@keyframes cal-day-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* line 36393, app/assets/stylesheets/application.scss */
.cal-sheet-card.is-expanded {
  height: 100%;
  border-radius: 0;
}

/* line 36398, app/assets/stylesheets/application.scss */
.cal-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
  cursor: grab;
  touch-action: none;
}

/* line 36406, app/assets/stylesheets/application.scss */
.cal-sheet-handle span {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: #d1d5db;
}

/* line 36413, app/assets/stylesheets/application.scss */
.cal-sheet-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

/* line 36418, app/assets/stylesheets/application.scss */
.cal-sheet-head.cal-event-view-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

/* line 36424, app/assets/stylesheets/application.scss */
.cal-sheet-head.cal-event-view-head > :first-child {
  justify-self: start;
}

/* line 36428, app/assets/stylesheets/application.scss */
.cal-sheet-head.cal-event-view-head > strong {
  justify-self: center;
  text-align: center;
}

/* line 36433, app/assets/stylesheets/application.scss */
.cal-sheet-head.cal-event-view-head > :last-child:not(strong) {
  justify-self: end;
}

/* line 36437, app/assets/stylesheets/application.scss */
.cal-sheet-head strong,
.cal-sheet-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 36444, app/assets/stylesheets/application.scss */
.cal-head-spacer {
  width: 64px;
}

/* line 36448, app/assets/stylesheets/application.scss */
.cal-sheet-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

/* line 36454, app/assets/stylesheets/application.scss */
.cal-event-detail h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

/* line 36461, app/assets/stylesheets/application.scss */
.cal-event-detail p,
.cal-meta,
.cal-notes {
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 14px;
}

/* line 36469, app/assets/stylesheets/application.scss */
.cal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cal-ink, #1a1d24);
}

/* line 36476, app/assets/stylesheets/application.scss */
.cal-meta i {
  color: var(--cal-accent, #e85d4c);
  width: 16px;
  text-align: center;
}

/* line 36482, app/assets/stylesheets/application.scss */
.cal-event-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 36488, 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 36499, 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 36514, 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 36525, 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 36534, 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 36550, app/assets/stylesheets/application.scss */
.cal-ios-row:last-child {
  border-bottom: 0;
}

/* line 36554, app/assets/stylesheets/application.scss */
.cal-ios-row.is-stack {
  flex-direction: column !important;
  align-items: stretch;
}

/* line 36559, app/assets/stylesheets/application.scss */
.cal-ios-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 36566, app/assets/stylesheets/application.scss */
.cal-ios-row-main strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 36571, 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 36586, app/assets/stylesheets/application.scss */
.cal-ios-row.cal-check {
  justify-content: space-between;
}

/* line 36590, app/assets/stylesheets/application.scss */
.cal-ios-row.cal-check input[type="checkbox"] {
  width: 48px;
  height: 28px;
  accent-color: #34c759;
}

/* line 36596, app/assets/stylesheets/application.scss */
.cal-ios-empty {
  color: #8e8e93;
  font-size: 13px;
  font-weight: 500;
}

/* line 36602, app/assets/stylesheets/application.scss */
.cal-invitee-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 36608, 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 36623, app/assets/stylesheets/application.scss */
.cal-invitee-chip.is-static {
  cursor: default;
}

/* line 36627, app/assets/stylesheets/application.scss */
.cal-invitee-chip .cal-share-avatar {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

/* line 36633, app/assets/stylesheets/application.scss */
.cal-invitee-chip i {
  color: #8e8e93;
  font-size: 11px;
}

/* line 36638, app/assets/stylesheets/application.scss */
.cal-invitee-role {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #8e8e93;
}

/* line 36645, app/assets/stylesheets/application.scss */
.cal-guest-list,
.cal-rsvp-actions,
.cal-proposal-actions,
.cal-suggest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 36654, app/assets/stylesheets/application.scss */
.cal-guest-list {
  flex-direction: column;
  width: 100%;
}

/* line 36659, app/assets/stylesheets/application.scss */
.cal-guest-row,
.cal-proposal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* line 36667, app/assets/stylesheets/application.scss */
.cal-guest-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

/* line 36675, app/assets/stylesheets/application.scss */
.cal-guest-meta strong {
  font-size: 14px;
  font-weight: 650;
  color: #111;
}

/* line 36681, app/assets/stylesheets/application.scss */
.cal-guest-meta span {
  font-size: 12px;
  color: #8e8e93;
  font-weight: 500;
}

/* line 36687, app/assets/stylesheets/application.scss */
.cal-rsvp {
  margin-top: 12px;
}

/* line 36691, app/assets/stylesheets/application.scss */
.cal-rsvp-status {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: #3a3a3c;
}

/* line 36698, app/assets/stylesheets/application.scss */
.cal-rsvp-status.is-accepted {
  color: #2e9e6b;
}

/* line 36699, app/assets/stylesheets/application.scss */
.cal-rsvp-status.is-declined {
  color: #d94a4a;
}

/* line 36700, app/assets/stylesheets/application.scss */
.cal-rsvp-status.is-tentative,
.cal-rsvp-status.is-proposed {
  color: #2f74e6;
}

/* line 36703, app/assets/stylesheets/application.scss */
.cal-rsvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  background: #f4f5f7;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  padding: 10px 12px;
  cursor: pointer;
}

/* line 36718, app/assets/stylesheets/application.scss */
.cal-rsvp-btn.is-accept.is-on,
.cal-rsvp-btn.is-accept:hover {
  background: #2e9e6b;
  border-color: #2e9e6b;
  color: #fff;
}

/* line 36725, app/assets/stylesheets/application.scss */
.cal-rsvp-btn.is-decline.is-on,
.cal-rsvp-btn.is-decline:hover {
  background: #d94a4a;
  border-color: #d94a4a;
  color: #fff;
}

/* line 36732, app/assets/stylesheets/application.scss */
.cal-rsvp-btn.is-maybe.is-on,
.cal-rsvp-btn.is-suggest.is-on,
.cal-rsvp-btn.is-maybe:hover,
.cal-rsvp-btn.is-suggest:hover {
  background: #eef5ff;
  border-color: #b7d4ff;
  color: #1d4f91;
}

/* line 36741, app/assets/stylesheets/application.scss */
.cal-suggest-time {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

/* line 36748, app/assets/stylesheets/application.scss */
.cal-suggest-time label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: #8e8e93;
}

/* line 36756, app/assets/stylesheets/application.scss */
.cal-suggest-time input {
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: #111;
  background: #fff;
}

/* line 36765, app/assets/stylesheets/application.scss */
.cal-text-btn.is-small {
  padding: 6px 10px;
  font-size: 12px;
}

/* line 36770, app/assets/stylesheets/application.scss */
.cal-friend-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}

/* line 36777, 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 36788, app/assets/stylesheets/application.scss */
.cal-friend-pick i {
  margin-left: auto;
  color: #c7c7cc;
}

/* line 36793, app/assets/stylesheets/application.scss */
.cal-friend-pick.is-on {
  background: #eef6ff;
}

/* line 36797, app/assets/stylesheets/application.scss */
.cal-friend-pick.is-on i {
  color: #007aff;
}

/* line 36801, app/assets/stylesheets/application.scss */
.cal-sheet-actions,
.cal-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* line 36809, 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 36821, app/assets/stylesheets/application.scss */
.cal-primary-btn {
  background: linear-gradient(145deg, #ff7a6b 0%, #e85d4c 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 93, 76, 0.28);
}

/* line 36827, 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: var(--perk-ink);
  font-size: 16px;
  font-weight: 600;
}

/* line 36840, app/assets/stylesheets/application.scss */
.cal-share-people-wrap {
  margin-top: 18px;
}

/* line 36844, app/assets/stylesheets/application.scss */
.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 36854, app/assets/stylesheets/application.scss */
.cal-share-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

/* line 36860, 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 36875, app/assets/stylesheets/application.scss */
.cal-share-person:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 36880, 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 36892, app/assets/stylesheets/application.scss */
.cal-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 36898, app/assets/stylesheets/application.scss */
.cal-share-hint,
.cal-share-status {
  margin: 10px 0 0;
  font-size: 13px;
  color: #8e8e93;
}

/* line 36905, app/assets/stylesheets/application.scss */
.cal-share-status {
  color: #17191d;
  font-weight: 600;
}

/* line 36911, app/assets/stylesheets/application.scss */
.cal-event-thumb,
.calendar-hub-agenda-thumb,
.calendar-hub-week-block-thumb {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #f3f4f6;
}

/* line 36922, 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 36931, 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 36945, app/assets/stylesheets/application.scss */
.cal-event-photo.is-view {
  cursor: default;
  margin-bottom: 14px;
}

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

/* line 36957, 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 36969, app/assets/stylesheets/application.scss */
.cal-event-photo-empty i {
  font-size: 28px;
  opacity: 0.45;
  color: #17191d;
}

/* line 36975, 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 36991, app/assets/stylesheets/application.scss */
.cal-event-photo-remove {
  align-self: flex-start;
}

/* line 36995, app/assets/stylesheets/application.scss */
.cal-share-preview {
  margin: 4px 0 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f4f5f7;
}

/* line 37002, app/assets/stylesheets/application.scss */
.cal-share-preview.is-event {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 37008, 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: linear-gradient(145deg, #ff7a6b 0%, #e85d4c 100%);
  color: #fff;
  display: grid;
  place-items: center;
}

/* line 37021, 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 37029, 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 37037, app/assets/stylesheets/application.scss */
.cal-share-preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* line 37044, app/assets/stylesheets/application.scss */
.cal-share-preview-head .cal-share-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 14px;
}

/* line 37051, app/assets/stylesheets/application.scss */
.cal-share-preview-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  height: 56px;
}

/* line 37058, app/assets/stylesheets/application.scss */
.cal-share-preview-grid span {
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.16);
}

/* line 37063, 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 37068, app/assets/stylesheets/application.scss */
.cal-share-people-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 37074, app/assets/stylesheets/application.scss */
.cal-share-person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 2px;
}

/* line 37081, app/assets/stylesheets/application.scss */
.cal-share-person-row > .cal-share-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 14px;
}

/* line 37088, app/assets/stylesheets/application.scss */
.cal-share-person-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #17191d;
}

/* line 37096, 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 37109, app/assets/stylesheets/application.scss */
.cal-share-send.is-sent,
.cal-share-send:disabled {
  background: #e5e7eb;
  color: #8e8e93;
  cursor: default;
}

/* line 37116, app/assets/stylesheets/application.scss */
.cal-share-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 37121, app/assets/stylesheets/application.scss */
.perk-chats.is-calendar-open .perk-chats-main {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 37126, app/assets/stylesheets/application.scss */
.perk-chats.is-calendar-open .perk-chat-list,
.perk-chats.is-calendar-open .perk-chat-fab-stack {
  display: none !important;
}

/* line 37131, 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: 0 !important;
  max-width: 100%;
  flex: 1 1 0;
  min-height: 0;
  z-index: 2;
  overflow: hidden;
}

/* line 37144, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-shell {
  grid-template-columns: 1fr;
  height: 100%;
}

/* line 37149, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-aside,
.calendar-hub.is-in-chat .calendar-hub-toolbar-actions .calendar-hub-view-switch,
.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 37158, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-chat-close {
  display: inline-flex;
}

/* line 37162, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-main {
  padding: 10px 12px 16px;
  overflow: auto;
}

/* line 37167, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-toolbar {
  padding: 8px 10px;
  border-radius: 16px;
}

/* line 37172, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-board {
  padding: 10px;
  border-radius: 16px;
}

/* line 37177, 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 37185, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-month.is-compact .calendar-hub-grid {
  gap: 2px;
}

/* line 37189, 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;
  box-shadow: none;
}

/* line 37201, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-cell.is-event {
  background: color-mix(in srgb, var(--cal-event, #3d8bfd) 12%, #fff);
}

@media (max-width: 1100px) {
  /* line 37206, 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 37211, app/assets/stylesheets/application.scss */
  .calendar-hub-cell-chip {
    font-size: 10px;
    padding: 1px 2px;
  }
}

@media (max-width: 960px) {
  /* line 37218, app/assets/stylesheets/application.scss */
  .calendar-hub-shell {
    grid-template-columns: 1fr;
  }
  /* line 37222, app/assets/stylesheets/application.scss */
  .calendar-hub-aside {
    display: none;
  }
  /* line 37226, app/assets/stylesheets/application.scss */
  .calendar-hub-compose-fallback {
    display: inline-flex;
  }
  /* line 37230, app/assets/stylesheets/application.scss */
  .cal-search {
    max-width: none;
  }
  /* line 37234, app/assets/stylesheets/application.scss */
  .calendar-hub-toolbar-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  /* line 37240, app/assets/stylesheets/application.scss */
  .calendar-hub-main {
    padding: 8px 10px 12px;
  }
  /* line 37244, app/assets/stylesheets/application.scss */
  .calendar-hub-board {
    padding: 0;
    border-radius: 0;
  }
  /* line 37249, app/assets/stylesheets/application.scss */
  .calendar-hub-agenda-day {
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    gap: 12px;
  }
  /* line 37254, app/assets/stylesheets/application.scss */
  .calendar-hub-agenda-event {
    grid-template-columns: 10px minmax(72px, 96px) minmax(0, 1fr);
    column-gap: 10px;
  }
  /* line 37259, app/assets/stylesheets/application.scss */
  .cal-day-modal {
    align-items: flex-end;
    padding: 0;
  }
  /* line 37264, app/assets/stylesheets/application.scss */
  .cal-day-modal-card {
    width: 100%;
    height: 52%;
    max-height: 85%;
    border-radius: 22px 22px 0 0;
    animation: none;
  }
  /* line 37272, app/assets/stylesheets/application.scss */
  .cal-day-modal-card .cal-sheet-handle {
    display: flex;
  }
  /* line 37276, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich {
    padding: 4px 2px 6px;
    border-radius: 0;
  }
  /* line 37281, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich .calendar-hub-cell-events {
    display: flex;
  }
  /* line 37285, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich .calendar-hub-cell-chip:nth-child(n+2),
.calendar-hub-cell.is-rich .calendar-hub-cell-more {
    display: none;
  }
  /* line 37290, app/assets/stylesheets/application.scss */
  .calendar-hub-cell-date {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  /* line 37296, app/assets/stylesheets/application.scss */
  .calendar-hub-week-scroll {
    border-radius: 0;
  }
  /* line 37300, 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 37306, app/assets/stylesheets/application.scss */
.companion-hub {
  z-index: 28;
  background: #fff;
  color: #17191d;
  display: flex;
  flex-direction: column;
}

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

/* line 37319, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] {
  background: linear-gradient(180deg, #090e24 0%, #261a47 100%);
  color: #fff;
}

/* line 37324, app/assets/stylesheets/application.scss */
.companion-hub-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 37331, 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 37340, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-hub-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* line 37344, app/assets/stylesheets/application.scss */
.companion-hub-head strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 37350, 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 37360, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-icon-btn {
  background: rgba(255, 255, 255, 0.1);
}

/* line 37364, 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 37373, 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 37383, 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 37388, app/assets/stylesheets/application.scss */
.companion-hero-night strong,
.companion-timer {
  font-size: 28px;
  letter-spacing: -0.04em;
}

/* line 37394, app/assets/stylesheets/application.scss */
.companion-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin: 0;
}

/* line 37402, app/assets/stylesheets/application.scss */
.companion-primary,
.companion-ghost {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
}

/* line 37411, app/assets/stylesheets/application.scss */
.companion-primary {
  background: #17191d;
  color: #fff;
}

/* line 37416, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-primary {
  background: #fff;
  color: #17191d;
}

/* line 37421, app/assets/stylesheets/application.scss */
.companion-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(23, 25, 29, 0.12);
}

/* line 37427, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-ghost {
  border-color: rgba(255, 255, 255, 0.2);
}

/* line 37431, 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 37441, 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 37447, app/assets/stylesheets/application.scss */
.companion-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* line 37454, app/assets/stylesheets/application.scss */
.companion-form-stack {
  flex-direction: column;
  align-items: stretch;
}

/* line 37459, app/assets/stylesheets/application.scss */
.companion-form .companion-input {
  flex: 1 1 140px;
}

/* line 37463, app/assets/stylesheets/application.scss */
.companion-chips,
.companion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 37470, 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 37480, app/assets/stylesheets/application.scss */
.companion-chip.is-on,
.companion-card-btn.is-on {
  background: #17191d;
  color: #fff;
  border-color: transparent;
}

/* line 37487, app/assets/stylesheets/application.scss */
.companion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 37496, 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 37505, app/assets/stylesheets/application.scss */
.companion-list li.is-empty,
.companion-empty {
  opacity: 0.65;
}

/* line 37510, app/assets/stylesheets/application.scss */
.companion-list button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

/* line 37517, 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 37528, app/assets/stylesheets/application.scss */
.companion-progress strong {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}

/* line 37534, app/assets/stylesheets/application.scss */
.sticky-grid,
.companion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

/* line 37541, 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 37549, app/assets/stylesheets/application.scss */
.sticky-card button {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 37558, app/assets/stylesheets/application.scss */
.companion-card-btn {
  text-align: left;
  border: 0;
  cursor: pointer;
  width: 100%;
}

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

/* line 37571, 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 37581, app/assets/stylesheets/application.scss */
.companion-map {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 16px;
}

/* line 37588, 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 37603, app/assets/stylesheets/application.scss */
.flash-card.is-flipped {
  background: #17191d;
  color: #fff;
}

/* line 37608, app/assets/stylesheets/application.scss */
.companion-status {
  font-size: 13px;
  opacity: 0.75;
}

/* line 37613, app/assets/stylesheets/application.scss */
.companion-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 720px) {
  /* line 37620, app/assets/stylesheets/application.scss */
  .kanban {
    grid-template-columns: 1fr;
  }
}

/* line 37625, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] {
  background: #fff;
}

/* line 37629, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] .companion-hub-head {
  display: none;
}

/* line 37633, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
  position: relative;
}

/* line 37640, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] {
  background: #fff;
}

/* line 37644, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] .companion-hub-head {
  display: none;
}

/* line 37648, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
  position: relative;
}

/* line 37655, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] .companion-hub-body > .tw-app {
  height: 100%;
  min-height: 100%;
}

/* line 37660, app/assets/stylesheets/application.scss */
.tw-app.is-brainstorm-app .tw-brand-mark {
  color: #0f766e;
}

/* line 37664, app/assets/stylesheets/application.scss */
.tw-app.is-brainstorm-app .tw-brainstorm-toolbar {
  justify-content: flex-end;
}

/* line 37668, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] {
  background: #fff;
}

/* line 37672, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-head {
  display: none;
}

/* line 37676, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 37682, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] {
  background: var(--perk-canvas);
}

/* line 37686, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] .companion-hub-head {
  display: none;
}

/* line 37690, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 37696, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] {
  background: #fff;
}

/* line 37700, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-head {
  display: none;
}

/* line 37704, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 37710, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-body > .fc-app {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 37715, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-body > .mm-app {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 37720, 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 37736, app/assets/stylesheets/application.scss */
.mm-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  flex: 0 0 auto;
}

/* line 37744, app/assets/stylesheets/application.scss */
.mm-nav.is-canvas {
  border-bottom: 1px solid var(--mm-line);
}

/* line 37748, app/assets/stylesheets/application.scss */
.mm-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 37756, app/assets/stylesheets/application.scss */
.mm-nav-copy strong,
.mm-nav-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 37766, 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 37774, 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 37787, app/assets/stylesheets/application.scss */
.mm-icon.is-add {
  background: var(--mm-accent);
  color: #fff;
}

/* line 37792, app/assets/stylesheets/application.scss */
.mm-icon.is-quiet {
  color: #8e8e93;
}

/* line 37796, app/assets/stylesheets/application.scss */
.mm-icon:disabled,
.mm-text-btn:disabled,
.mm-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 37803, 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 37814, app/assets/stylesheets/application.scss */
.mm-ghost {
  color: var(--mm-ink);
  background: var(--mm-field);
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
}

/* line 37822, 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 37833, 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 37842, app/assets/stylesheets/application.scss */
.mm-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
  padding: 0 16px 28px;
}

/* line 37849, app/assets/stylesheets/application.scss */
.mm-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 37855, 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 37872, app/assets/stylesheets/application.scss */
.mm-card:hover,
.mm-card:focus-visible {
  border-color: rgba(23, 25, 29, 0.2);
  box-shadow: 0 8px 20px rgba(23, 25, 29, 0.06);
}

/* line 37878, 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 37891, app/assets/stylesheets/application.scss */
.mm-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 37898, app/assets/stylesheets/application.scss */
.mm-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* line 37905, 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 37915, app/assets/stylesheets/application.scss */
.mm-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeaeb2;
  font-size: 12px;
}

/* line 37923, 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 37932, app/assets/stylesheets/application.scss */
.mm-card-go {
  color: #c7c7cc;
  font-size: 11px;
}

/* line 37937, 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 37948, 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 37960, app/assets/stylesheets/application.scss */
.mm-empty strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* line 37966, app/assets/stylesheets/application.scss */
.mm-empty p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 37973, 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 37988, app/assets/stylesheets/application.scss */
.mm-empty .mm-primary {
  margin-top: 6px;
  width: auto;
  min-width: 168px;
}

/* line 37994, app/assets/stylesheets/application.scss */
.mm-primary.is-danger {
  background: #17191d;
}

/* line 37998, app/assets/stylesheets/application.scss */
.mm-status {
  margin: 0 16px 10px;
  color: var(--mm-muted);
  font-size: 14px;
}

/* line 38004, app/assets/stylesheets/application.scss */
.mm-status.is-err {
  color: var(--perk-ink);
}

/* line 38008, app/assets/stylesheets/application.scss */
.mm-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 38017, app/assets/stylesheets/application.scss */
.mm-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.32);
}

/* line 38024, 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 38036, app/assets/stylesheets/application.scss */
.mm-confirm {
  padding: 22px 18px 24px;
  gap: 10px;
  text-align: center;
}

/* line 38042, app/assets/stylesheets/application.scss */
.mm-confirm strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

/* line 38048, app/assets/stylesheets/application.scss */
.mm-sheet-head {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  align-items: center;
  padding: 12px 14px 4px;
}

/* line 38055, app/assets/stylesheets/application.scss */
.mm-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* line 38061, app/assets/stylesheets/application.scss */
.mm-sheet-body {
  padding: 8px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 38068, app/assets/stylesheets/application.scss */
.mm-sheet-foot {
  padding: 0 18px 20px;
}

/* line 38072, app/assets/stylesheets/application.scss */
.mm-sheet-foot .mm-primary {
  width: 100%;
}

/* line 38076, app/assets/stylesheets/application.scss */
.mm-lead {
  margin: 0;
  color: var(--mm-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 38083, 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 38092, 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 38103, app/assets/stylesheets/application.scss */
.mm-textarea {
  resize: vertical;
  min-height: 120px;
  font-weight: 400;
  line-height: 1.45;
}

/* line 38110, app/assets/stylesheets/application.scss */
.mm-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--mm-field);
  color: var(--mm-ink);
  font-size: 14px;
}

/* line 38121, app/assets/stylesheets/application.scss */
.mm-file span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 38129, app/assets/stylesheets/application.scss */
.mm-file button {
  border: 0;
  background: transparent;
  color: var(--mm-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

/* line 38139, app/assets/stylesheets/application.scss */
.mm-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 38145, app/assets/stylesheets/application.scss */
.mm-settings {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

/* line 38151, app/assets/stylesheets/application.scss */
.mm-chip-block {
  margin: 10px 0 2px;
}

/* line 38155, app/assets/stylesheets/application.scss */
.mm-chip-block > span {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: rgba(23, 25, 29, 0.5);
  margin-bottom: 8px;
}

/* line 38163, app/assets/stylesheets/application.scss */
.mm-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 38169, app/assets/stylesheets/application.scss */
.mm-choice {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background: var(--mm-field);
  color: rgba(23, 25, 29, 0.72);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}

/* line 38182, app/assets/stylesheets/application.scss */
.mm-choice:hover:not(:disabled) {
  background: #e8eaee;
}

/* line 38186, app/assets/stylesheets/application.scss */
.mm-choice.is-on {
  background: rgba(0, 138, 122, 0.14);
  color: #008a7a;
}

/* line 38191, app/assets/stylesheets/application.scss */
.mm-choice:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 38196, app/assets/stylesheets/application.scss */
.mm-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--mm-line);
  border-radius: 12px;
  background: #fff;
  color: var(--mm-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
}

/* line 38210, app/assets/stylesheets/application.scss */
.mm-ghost-btn:hover {
  background: var(--mm-field);
}

/* line 38214, app/assets/stylesheets/application.scss */
.mm-error-box {
  border-radius: 12px;
  background: rgba(199, 56, 107, 0.08);
  color: var(--mm-ink);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 38224, app/assets/stylesheets/application.scss */
.mm-error-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 38230, app/assets/stylesheets/application.scss */
.mm-link {
  border: 0;
  background: transparent;
  color: var(--mm-accent);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  align-self: flex-start;
  padding: 0;
}

/* line 38241, app/assets/stylesheets/application.scss */
.mm-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

/* line 38251, app/assets/stylesheets/application.scss */
.mm-overlay-card {
  width: min(320px, calc(100% - 32px));
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 38262, app/assets/stylesheets/application.scss */
.mm-overlay-card strong {
  font-size: 16px;
  font-weight: 650;
}

/* line 38267, app/assets/stylesheets/application.scss */
.mm-phase {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mm-muted);
  font-size: 14px;
}

/* line 38276, app/assets/stylesheets/application.scss */
.mm-phase.is-on {
  color: var(--mm-ink);
  font-weight: 600;
}

/* line 38281, app/assets/stylesheets/application.scss */
.mm-drive {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 38290, app/assets/stylesheets/application.scss */
.mm-drive-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-height: 70%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 38301, app/assets/stylesheets/application.scss */
.mm-drive-list {
  overflow: auto;
  padding: 4px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 38309, app/assets/stylesheets/application.scss */
.mm-drive-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: left;
  cursor: pointer;
  color: var(--mm-ink);
  font-size: 15px;
}

/* line 38324, app/assets/stylesheets/application.scss */
.mm-drive-row:hover {
  background: var(--mm-field);
}

/* line 38328, app/assets/stylesheets/application.scss */
.mm-drive-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 38334, app/assets/stylesheets/application.scss */
.mm-app.is-canvas {
  background: #f7f8fb;
}

/* line 38338, app/assets/stylesheets/application.scss */
.mm-canvas-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* line 38346, 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 38358, app/assets/stylesheets/application.scss */
.mm-stage.is-grabbing,
.mm-stage:active {
  cursor: grabbing;
}

/* line 38363, 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 38373, app/assets/stylesheets/application.scss */
.mm-edges {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}

/* line 38379, app/assets/stylesheets/application.scss */
.mm-nodes {
  position: absolute;
  left: 0;
  top: 0;
}

/* line 38385, 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 38400, 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 38414, 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 38423, app/assets/stylesheets/application.scss */
.mm-node.is-root .mm-node-badge {
  background: #fff;
  color: var(--mm-accent, #2563eb);
  border-color: #fff;
}

/* line 38429, 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 38435, app/assets/stylesheets/application.scss */
.mm-node.is-on.is-root {
  z-index: 3;
}

/* line 38439, 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 38455, app/assets/stylesheets/application.scss */
.mm-node-badge.is-folded {
  background: #111;
}

/* line 38459, app/assets/stylesheets/application.scss */
.mm-node-add {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--mm-accent, #008a7a);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* line 38479, app/assets/stylesheets/application.scss */
.mm-node.is-root .mm-node-add {
  background: #fff;
  color: var(--mm-accent, #008a7a);
  border-color: #fff;
}

/* line 38485, app/assets/stylesheets/application.scss */
.mm-node.is-empty .mm-node-hit {
  opacity: 0.55;
  font-style: italic;
}

/* line 38490, app/assets/stylesheets/application.scss */
.mm-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* line 38497, app/assets/stylesheets/application.scss */
.mm-dock-actions .mm-ghost-btn {
  padding: 8px 12px;
  font-size: 13px;
}

/* line 38502, app/assets/stylesheets/application.scss */
.mm-text-btn.is-accent {
  color: #008a7a;
  font-weight: 700;
}

/* line 38507, app/assets/stylesheets/application.scss */
.mm-danger-link {
  border: 0;
  background: transparent;
  color: #c0392b;
  font-size: 14px;
  font-weight: 650;
  padding: 8px 0 0;
  cursor: pointer;
}

/* line 38517, app/assets/stylesheets/application.scss */
.mm-confirm .mm-lead {
  margin: 0 0 12px;
}

/* line 38521, 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 38530, app/assets/stylesheets/application.scss */
  .mm-dock {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  /* line 38535, app/assets/stylesheets/application.scss */
  .mm-zoom {
    align-self: flex-end;
  }
}

/* line 38540, 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 38550, 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 38560, app/assets/stylesheets/application.scss */
.mm-dock-card strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* line 38567, 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 38574, app/assets/stylesheets/application.scss */
.mm-children {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  max-height: 132px;
  overflow: auto;
}

/* line 38583, 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 38598, app/assets/stylesheets/application.scss */
.mm-child i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* line 38605, app/assets/stylesheets/application.scss */
.mm-child span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 38612, 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 38625, app/assets/stylesheets/application.scss */
.mm-zoom .mm-icon {
  width: 32px;
  height: 32px;
}

/* line 38630, 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 38641, 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 38649, app/assets/stylesheets/application.scss */
  .mm-search {
    margin-bottom: 16px;
  }
  /* line 38653, app/assets/stylesheets/application.scss */
  .mm-scroll {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px 36px;
  }
  /* line 38660, app/assets/stylesheets/application.scss */
  .mm-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  /* line 38664, app/assets/stylesheets/application.scss */
  .mm-status {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 32px);
  }
  /* line 38671, app/assets/stylesheets/application.scss */
  .mm-sheet {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  /* line 38677, 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 38686, app/assets/stylesheets/application.scss */
  .mm-canvas-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: minmax(0, 1fr);
  }
  /* line 38692, app/assets/stylesheets/application.scss */
  .mm-stage {
    grid-column: 1;
    grid-row: 1;
  }
  /* line 38697, 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 38709, app/assets/stylesheets/application.scss */
  .mm-dock-card {
    box-shadow: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  /* line 38716, app/assets/stylesheets/application.scss */
  .mm-children {
    max-height: none;
  }
  /* line 38720, app/assets/stylesheets/application.scss */
  .mm-zoom {
    box-shadow: none;
  }
  /* line 38724, app/assets/stylesheets/application.scss */
  .mm-zoom-label {
    padding: 8px 10px;
  }
}

/* line 38729, app/assets/stylesheets/application.scss */
.fc-app {
  --fc-accent: #4052b5;
  --fc-ink: #17191d;
  --fc-muted: #6b7280;
  --fc-field: #f3f4f6;
  --fc-line: #e5e7eb;
  --fc-again: #17191d;
  --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 38748, app/assets/stylesheets/application.scss */
.fc-app.is-grouped,
.fc-app.is-create,
.fc-app.is-deck {
  background: #f3f4f6;
}

/* line 38751, app/assets/stylesheets/application.scss */
.fc-app.is-study {
  background: #eef0f7;
}

/* line 38753, app/assets/stylesheets/application.scss */
.fc-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  flex: 0 0 auto;
}

/* line 38761, app/assets/stylesheets/application.scss */
.fc-nav.is-plain {
  justify-content: space-between;
}

/* line 38763, app/assets/stylesheets/application.scss */
.fc-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 38771, app/assets/stylesheets/application.scss */
.fc-nav-copy.is-center {
  text-align: center;
  align-items: center;
}

/* line 38773, app/assets/stylesheets/application.scss */
.fc-nav-copy strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 38780, 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 38788, app/assets/stylesheets/application.scss */
.fc-nav-spacer {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

/* line 38794, 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 38809, app/assets/stylesheets/application.scss */
.fc-round:hover,
.fc-more:hover {
  background: var(--fc-field);
}

/* line 38811, app/assets/stylesheets/application.scss */
.fc-round:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 38812, 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 38817, app/assets/stylesheets/application.scss */
.fc-round.is-accent:hover {
  filter: brightness(1.06);
}

/* line 38819, 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 38828, app/assets/stylesheets/application.scss */
.fc-text.is-accent {
  color: var(--fc-accent);
}

/* line 38829, app/assets/stylesheets/application.scss */
.fc-text.is-danger {
  color: var(--perk-ink);
}

/* line 38830, app/assets/stylesheets/application.scss */
.fc-text:disabled {
  opacity: 0.35;
}

/* line 38831, app/assets/stylesheets/application.scss */
.fc-text:hover {
  opacity: 0.8;
}

/* line 38833, app/assets/stylesheets/application.scss */
.fc-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 12px;
}

/* line 38840, app/assets/stylesheets/application.scss */
.fc-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

/* line 38846, 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 38860, app/assets/stylesheets/application.scss */
.fc-pill:hover,
.fc-choice:hover {
  background: #ececf2;
}

/* line 38862, app/assets/stylesheets/application.scss */
.fc-pill.is-on,
.fc-choice.is-on {
  background: var(--fc-accent);
  color: #fff;
}

/* line 38868, app/assets/stylesheets/application.scss */
.fc-chip {
  font-size: 12px;
  padding: 4px 10px;
  cursor: default;
  background: var(--fc-field);
}

/* line 38869, app/assets/stylesheets/application.scss */
.fc-chip.is-accent {
  background: rgba(64, 82, 181, 0.12);
  color: var(--fc-accent);
}

/* line 38870, app/assets/stylesheets/application.scss */
.fc-chip.is-map {
  background: rgba(0, 138, 122, 0.12);
  color: #008a7a;
}

/* line 38872, 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 38884, 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 38895, app/assets/stylesheets/application.scss */
.fc-search input {
  font-size: 15px;
}

/* line 38897, 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 38908, app/assets/stylesheets/application.scss */
.fc-textarea {
  min-height: 88px;
}

/* line 38910, app/assets/stylesheets/application.scss */
.fc-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

/* line 38916, app/assets/stylesheets/application.scss */
.fc-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 20px 28px;
}

/* line 38922, app/assets/stylesheets/application.scss */
.fc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 38928, 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 38942, app/assets/stylesheets/application.scss */
.fc-card:hover {
  border-color: rgba(64, 82, 181, 0.28);
}

/* line 38943, app/assets/stylesheets/application.scss */
.fc-card.is-menu {
  z-index: 3;
}

/* line 38945, 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 38960, 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 38969, 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 38979, app/assets/stylesheets/application.scss */
.fc-study-btn:hover {
  background: var(--fc-accent);
  color: #fff;
}

/* line 38981, app/assets/stylesheets/application.scss */
.fc-stack {
  width: 48px;
  height: 42px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* line 38990, 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 38999, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(1) {
  opacity: 0.32;
  left: 10px;
  top: 0;
}

/* line 39000, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(2) {
  opacity: 0.55;
  left: 5px;
  top: 5px;
}

/* line 39001, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(3) {
  opacity: 1;
  left: 0;
  top: 10px;
}

/* line 39003, app/assets/stylesheets/application.scss */
.fc-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 39004, app/assets/stylesheets/application.scss */
.fc-row-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* line 39005, app/assets/stylesheets/application.scss */
.fc-row-top strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* line 39011, app/assets/stylesheets/application.scss */
.fc-star {
  color: var(--perk-ink);
  font-size: 12px;
}

/* line 39012, app/assets/stylesheets/application.scss */
.fc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 39013, app/assets/stylesheets/application.scss */
.fc-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--fc-field);
  overflow: hidden;
}

/* line 39019, app/assets/stylesheets/application.scss */
.fc-progress span {
  display: block;
  height: 100%;
  background: var(--fc-accent);
  border-radius: inherit;
}

/* line 39025, app/assets/stylesheets/application.scss */
.fc-progress.is-study {
  margin: 0;
  height: 6px;
  background: rgba(64, 82, 181, 0.14);
}

/* line 39030, app/assets/stylesheets/application.scss */
.fc-row-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--fc-muted);
  font-size: 12px;
}

/* line 39037, app/assets/stylesheets/application.scss */
.fc-more-wrap {
  position: relative;
}

/* line 39038, app/assets/stylesheets/application.scss */
.fc-more {
  width: 36px;
  height: 36px;
  background: transparent;
  box-shadow: none;
}

/* line 39039, 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 39053, 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 39062, app/assets/stylesheets/application.scss */
.fc-menu button:hover {
  background: var(--fc-field);
}

/* line 39063, app/assets/stylesheets/application.scss */
.fc-menu .is-danger {
  color: var(--perk-ink);
}

/* line 39065, 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 39075, 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 39086, app/assets/stylesheets/application.scss */
.fc-empty strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

/* line 39087, app/assets/stylesheets/application.scss */
.fc-empty p,
.fc-lead {
  margin: 0;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 39089, app/assets/stylesheets/application.scss */
.fc-muted {
  margin: 8px 0 0;
  color: var(--fc-muted);
  font-size: 13px;
}

/* line 39090, app/assets/stylesheets/application.scss */
.fc-status {
  margin: 0 20px 12px;
  color: var(--fc-muted);
  font-size: 13px;
}

/* line 39091, app/assets/stylesheets/application.scss */
.fc-status.is-error {
  color: var(--perk-ink);
}

/* line 39093, 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 39106, 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 39107, app/assets/stylesheets/application.scss */
.fc-primary:hover {
  filter: brightness(1.05);
}

/* line 39108, app/assets/stylesheets/application.scss */
.fc-primary.is-danger {
  background: #17191d;
  box-shadow: none;
}

/* line 39109, app/assets/stylesheets/application.scss */
.fc-primary:disabled {
  opacity: 0.4;
  cursor: default;
  filter: none;
}

/* line 39110, app/assets/stylesheets/application.scss */
.fc-block {
  width: 100%;
}

/* line 39111, app/assets/stylesheets/application.scss */
.fc-ghost {
  background: #fff;
  color: var(--fc-ink);
  border: 1px solid var(--fc-line);
  box-shadow: none;
}

/* line 39117, app/assets/stylesheets/application.scss */
.fc-ghost:hover {
  background: var(--fc-field);
}

/* line 39118, app/assets/stylesheets/application.scss */
.fc-empty .fc-primary {
  width: auto;
  padding: 13px 22px;
}

/* line 39120, app/assets/stylesheets/application.scss */
.fc-create {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* line 39125, 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 39132, app/assets/stylesheets/application.scss */
.fc-create-grid,
.fc-deck-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

/* line 39139, 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 39148, 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 39157, app/assets/stylesheets/application.scss */
.fc-source strong {
  font-size: 15px;
  color: var(--fc-ink);
}

/* line 39158, app/assets/stylesheets/application.scss */
.fc-source p {
  margin: 0;
  font-size: 13px;
  color: var(--fc-muted);
}

/* line 39159, 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 39171, app/assets/stylesheets/application.scss */
.fc-upload {
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--fc-accent);
}

/* line 39172, app/assets/stylesheets/application.scss */
.fc-upload:hover {
  background: rgba(64, 82, 181, 0.06);
}

/* line 39173, app/assets/stylesheets/application.scss */
.fc-file button {
  border: 0;
  background: transparent;
  color: var(--fc-muted);
  cursor: pointer;
}

/* line 39174, 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 39175, app/assets/stylesheets/application.scss */
.fc-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 39176, app/assets/stylesheets/application.scss */
.fc-choice {
  background: var(--fc-field);
}

/* line 39177, 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 39187, app/assets/stylesheets/application.scss */
.fc-error p {
  margin: 0;
}

/* line 39188, app/assets/stylesheets/application.scss */
.fc-create-foot {
  padding-bottom: 8px;
}

/* line 39190, app/assets/stylesheets/application.scss */
.fc-deck-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* line 39191, app/assets/stylesheets/application.scss */
.fc-deck-head h1 {
  font-size: 24px;
}

/* line 39192, app/assets/stylesheets/application.scss */
.fc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 39193, app/assets/stylesheets/application.scss */
.fc-stat {
  text-align: center;
  padding: 14px 8px;
  background: var(--fc-field);
  border-radius: 14px;
}

/* line 39199, app/assets/stylesheets/application.scss */
.fc-stat strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 39200, app/assets/stylesheets/application.scss */
.fc-stat span {
  font-size: 12px;
  color: var(--fc-muted);
}

/* line 39201, app/assets/stylesheets/application.scss */
.fc-deck-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 39202, 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 39203, app/assets/stylesheets/application.scss */
.fc-preview {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 39204, app/assets/stylesheets/application.scss */
.fc-preview-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

/* line 39210, 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 39221, app/assets/stylesheets/application.scss */
.fc-preview-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 39223, 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 39232, 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 39241, app/assets/stylesheets/application.scss */
.fc-editor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 39246, 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 39247, app/assets/stylesheets/application.scss */
.fc-editor-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 39248, app/assets/stylesheets/application.scss */
.fc-editor-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 39255, 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 39265, app/assets/stylesheets/application.scss */
.fc-editor-bar .fc-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 39266, app/assets/stylesheets/application.scss */
.fc-editor-bar-actions {
  display: flex;
  gap: 8px;
}

/* line 39268, 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 39278, 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 39286, 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 39300, 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 39313, 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 39321, 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 39327, app/assets/stylesheets/application.scss */
.fc-face.is-back {
  align-items: flex-start;
  text-align: left;
  transform: rotateY(-90deg);
  opacity: 0;
}

/* line 39328, app/assets/stylesheets/application.scss */
.fc-face.is-back strong {
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.4rem);
}

/* line 39329, app/assets/stylesheets/application.scss */
.fc-face p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* line 39330, app/assets/stylesheets/application.scss */
.fc-face .fc-example {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fc-field);
  width: 100%;
}

/* line 39336, app/assets/stylesheets/application.scss */
.fc-face small {
  color: #9ca3af;
  font-size: 13px;
}

/* line 39337, app/assets/stylesheets/application.scss */
.fc-flip.is-flipped .is-front {
  transform: rotateY(90deg);
  opacity: 0;
}

/* line 39338, app/assets/stylesheets/application.scss */
.fc-flip.is-flipped .is-back {
  transform: rotateY(0);
  opacity: 1;
}

/* line 39339, app/assets/stylesheets/application.scss */
.fc-study-nav {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
}

/* line 39345, app/assets/stylesheets/application.scss */
.fc-keys {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--fc-muted);
}

/* line 39351, app/assets/stylesheets/application.scss */
.fc-grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 39352, app/assets/stylesheets/application.scss */
.fc-grade[hidden] {
  display: none;
}

/* line 39353, app/assets/stylesheets/application.scss */
.fc-again {
  color: var(--fc-again);
  background: rgba(23, 25, 29, 0.08);
}

/* line 39354, app/assets/stylesheets/application.scss */
.fc-learning {
  color: var(--fc-learn);
  background: rgba(217, 119, 6, 0.12);
}

/* line 39355, app/assets/stylesheets/application.scss */
.fc-gotit {
  color: #fff;
  background: var(--fc-ok);
}

/* line 39356, 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 39366, app/assets/stylesheets/application.scss */
.fc-complete h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* line 39367, app/assets/stylesheets/application.scss */
.fc-complete .fc-lead {
  text-align: center;
}

/* line 39368, 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 39369, 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 39376, app/assets/stylesheets/application.scss */
.fc-summary p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
}

/* line 39377, app/assets/stylesheets/application.scss */
.fc-summary p:last-child {
  margin: 0;
}

/* line 39379, 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 39392, app/assets/stylesheets/application.scss */
.fc-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 39393, app/assets/stylesheets/application.scss */
.fc-banner-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

/* line 39394, app/assets/stylesheets/application.scss */
.fc-banner-row .fc-primary,
.fc-banner-row .fc-ghost {
  min-height: 42px;
  width: auto;
}

/* line 39397, app/assets/stylesheets/application.scss */
.fc-sheet {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* line 39405, app/assets/stylesheets/application.scss */
.fc-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 24, 39, 0.36);
}

/* line 39406, 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 39417, app/assets/stylesheets/application.scss */
.fc-sheet-card strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* line 39418, app/assets/stylesheets/application.scss */
.fc-sheet-card p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 14px;
  line-height: 1.4;
}

/* line 39419, 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 39427, 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 39437, app/assets/stylesheets/application.scss */
.fc-overlay-card strong {
  font-size: 17px;
}

/* line 39438, app/assets/stylesheets/application.scss */
.fc-phase {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

/* line 39439, app/assets/stylesheets/application.scss */
.fc-phase .fa-check-circle {
  color: var(--fc-ok);
}

/* line 39440, app/assets/stylesheets/application.scss */
.fc-phase .fa-circle {
  color: #d1d5db;
}

@media (min-width: 760px) {
  /* line 39443, app/assets/stylesheets/application.scss */
  .fc-toolbar {
    flex-direction: row;
    align-items: center;
  }
  /* line 39447, app/assets/stylesheets/application.scss */
  .fc-search {
    flex: 1 1 auto;
  }
  /* line 39448, app/assets/stylesheets/application.scss */
  .fc-pills {
    flex: 0 0 auto;
    padding: 0;
  }
  /* line 39449, app/assets/stylesheets/application.scss */
  .fc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 39450, app/assets/stylesheets/application.scss */
  .fc-create-grid,
.fc-deck-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  }
  /* line 39452, app/assets/stylesheets/application.scss */
  .fc-settings {
    position: sticky;
    top: 8px;
  }
  /* line 39453, app/assets/stylesheets/application.scss */
  .fc-editor-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* line 39454, app/assets/stylesheets/application.scss */
  .fc-card-actions {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  /* line 39458, app/assets/stylesheets/application.scss */
  .fc-nav,
.fc-toolbar {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 39460, app/assets/stylesheets/application.scss */
  .fc-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 39461, app/assets/stylesheets/application.scss */
  .fc-study {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 39462, app/assets/stylesheets/application.scss */
  .fc-face {
    padding: 22px 18px;
  }
  /* line 39463, app/assets/stylesheets/application.scss */
  .fc-grade {
    grid-template-columns: 1fr;
  }
  /* line 39464, app/assets/stylesheets/application.scss */
  .fc-keys {
    display: none;
  }
  /* line 39465, app/assets/stylesheets/application.scss */
  .fc-sheet {
    align-items: end;
    place-items: stretch;
    padding: 0;
  }
  /* line 39466, app/assets/stylesheets/application.scss */
  .fc-sheet-card {
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding-bottom: 28px;
  }
  /* line 39471, app/assets/stylesheets/application.scss */
  .fc-banner {
    left: 12px;
    right: 12px;
  }
  /* line 39472, app/assets/stylesheets/application.scss */
  .fc-study-btn {
    padding: 6px 10px;
  }
}

/* line 39475, 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: #fff;
  color: var(--sz-ink);
  font-family: var(--perk-font);
}

/* line 39493, app/assets/stylesheets/application.scss */
.sz-app.is-compose,
.sz-app.is-result {
  background: var(--perk-canvas, #f2f3f5);
}

/* line 39498, 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 39509, app/assets/stylesheets/application.scss */
.sz-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 39517, app/assets/stylesheets/application.scss */
.sz-nav-copy strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 39524, 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 39532, 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 39544, 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 39558, app/assets/stylesheets/application.scss */
.sz-icon:hover {
  background: #e8eaee;
}

/* line 39562, app/assets/stylesheets/application.scss */
.sz-icon-quiet {
  background: transparent;
  color: var(--sz-soft);
}

/* line 39567, 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 39583, app/assets/stylesheets/application.scss */
.sz-new:hover {
  background: #c47d1a;
}

/* line 39587, app/assets/stylesheets/application.scss */
.sz-workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 39594, app/assets/stylesheets/application.scss */
.sz-app.is-list > .sz-search {
  width: min(920px, calc(100% - 32px));
  margin: 4px auto 8px;
}

/* line 39599, app/assets/stylesheets/application.scss */
.sz-app.is-list > .sz-status {
  width: min(920px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* line 39605, app/assets/stylesheets/application.scss */
.sz-app.is-list > .sz-nav {
  width: min(920px, 100%);
  margin: 0 auto;
  border-bottom: 0;
  background: transparent;
}

/* line 39612, app/assets/stylesheets/application.scss */
.sz-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 16px 28px;
}

/* line 39618, app/assets/stylesheets/application.scss */
.sz-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fff;
}

/* line 39626, 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 39637, 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 39646, app/assets/stylesheets/application.scss */
.sz-rail .sz-scroll {
  padding: 4px 12px 20px;
}

/* line 39650, 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 39659, app/assets/stylesheets/application.scss */
.sz-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

/* line 39665, app/assets/stylesheets/application.scss */
.sz-app.is-compose > .sz-pane,
.sz-app.is-result > .sz-pane {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 39671, app/assets/stylesheets/application.scss */
.sz-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 39677, app/assets/stylesheets/application.scss */
.sz-card {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 12px 14px 14px;
  background: #fff;
  border: 1px solid var(--sz-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

/* line 39688, app/assets/stylesheets/application.scss */
.sz-card:hover {
  background: #fffdf8;
  border-color: rgba(217, 140, 33, 0.28);
}

/* line 39693, 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 39699, 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 39714, 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 39727, app/assets/stylesheets/application.scss */
.sz-card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

/* line 39734, app/assets/stylesheets/application.scss */
.sz-card-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* line 39740, app/assets/stylesheets/application.scss */
.sz-card-title strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* line 39747, app/assets/stylesheets/application.scss */
.sz-card-title i {
  color: var(--sz-accent);
  font-size: 11px;
}

/* line 39752, 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 39762, app/assets/stylesheets/application.scss */
.sz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 39768, 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 39777, app/assets/stylesheets/application.scss */
.sz-chip.is-on {
  background: var(--sz-accent-soft);
  color: var(--perk-ink);
}

/* line 39782, app/assets/stylesheets/application.scss */
.sz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--sz-soft);
}

/* line 39790, 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 39800, app/assets/stylesheets/application.scss */
.sz-more:hover {
  background: var(--sz-field);
  color: var(--sz-ink);
}

/* line 39805, app/assets/stylesheets/application.scss */
.sz-rail-empty,
.sz-idle,
.sz-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px 24px;
  margin: auto;
}

/* line 39818, app/assets/stylesheets/application.scss */
.sz-rail-empty {
  padding: 24px 8px;
}

/* line 39822, app/assets/stylesheets/application.scss */
.sz-rail-empty p,
.sz-idle p,
.sz-empty p {
  margin: 0;
  max-width: 360px;
  color: var(--sz-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 39832, 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 39845, app/assets/stylesheets/application.scss */
.sz-idle strong,
.sz-empty strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 39853, 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 39864, app/assets/stylesheets/application.scss */
.sz-primary.is-block {
  width: 100%;
  padding: 13px 18px;
  font-size: 16px;
  border-radius: 14px;
}

/* line 39871, app/assets/stylesheets/application.scss */
.sz-primary:hover {
  background: #c47d1a;
}

/* line 39875, app/assets/stylesheets/application.scss */
.sz-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 39880, app/assets/stylesheets/application.scss */
.sz-status {
  margin: 0 14px 8px;
  font-size: 13px;
  color: var(--sz-muted);
}

/* line 39886, app/assets/stylesheets/application.scss */
.sz-status.is-err {
  color: var(--perk-ink);
}

/* line 39890, app/assets/stylesheets/application.scss */
.sz-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
}

/* line 39898, 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 39908, app/assets/stylesheets/application.scss */
.sz-pane-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
}

/* line 39914, app/assets/stylesheets/application.scss */
.sz-pane-spacer {
  display: block;
}

/* line 39918, 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 39927, app/assets/stylesheets/application.scss */
.sz-text-btn.is-accent {
  font-weight: 650;
  color: var(--sz-accent);
  justify-self: end;
}

/* line 39933, app/assets/stylesheets/application.scss */
.sz-text-btn:disabled {
  opacity: 0.4;
}

/* line 39937, 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 39951, app/assets/stylesheets/application.scss */
.sz-compose-intro h1,
.sz-result-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

/* line 39960, app/assets/stylesheets/application.scss */
.sz-lead {
  margin: 8px 0 0;
  color: var(--sz-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 39967, app/assets/stylesheets/application.scss */
.sz-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 39973, 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 39988, 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 39996, 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 40006, app/assets/stylesheets/application.scss */
.sz-count {
  font-size: 12px;
  color: var(--sz-soft);
  line-height: 1.4;
}

/* line 40012, app/assets/stylesheets/application.scss */
.sz-count.is-ok {
  color: #3d8b4a;
}

/* line 40016, app/assets/stylesheets/application.scss */
.sz-length-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 40022, app/assets/stylesheets/application.scss */
.sz-source {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 40028, 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 40039, app/assets/stylesheets/application.scss */
.sz-file span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 40047, app/assets/stylesheets/application.scss */
.sz-file i:first-child {
  color: var(--sz-accent);
}

/* line 40051, app/assets/stylesheets/application.scss */
.sz-file button {
  border: 0;
  background: transparent;
  color: var(--sz-soft);
  cursor: pointer;
}

/* line 40058, app/assets/stylesheets/application.scss */
.sz-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 40064, 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 40078, app/assets/stylesheets/application.scss */
.sz-ghost:hover {
  background: var(--sz-field);
}

/* line 40082, 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 40094, app/assets/stylesheets/application.scss */
.sz-banner {
  padding: 12px 14px;
  border-radius: 12px;
}

/* line 40099, app/assets/stylesheets/application.scss */
.sz-banner.is-warn {
  background: rgba(255, 149, 0, 0.1);
}

/* line 40100, app/assets/stylesheets/application.scss */
.sz-banner.is-err {
  background: rgba(255, 59, 48, 0.08);
}

/* line 40102, app/assets/stylesheets/application.scss */
.sz-banner p {
  margin: 0 0 8px;
  font-size: 14px;
}

/* line 40104, app/assets/stylesheets/application.scss */
.sz-result-pane {
  background: #fff;
}

/* line 40108, 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 40120, app/assets/stylesheets/application.scss */
.sz-result-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 40126, app/assets/stylesheets/application.scss */
.sz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 40132, 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 40143, app/assets/stylesheets/application.scss */
.sz-pill.is-on {
  background: var(--sz-accent);
  color: #fff;
}

/* line 40148, app/assets/stylesheets/application.scss */
.sz-pill:disabled {
  opacity: 0.45;
}

/* line 40152, 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 40161, 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 40169, app/assets/stylesheets/application.scss */
.sz-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

/* line 40175, app/assets/stylesheets/application.scss */
.sz-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* line 40181, app/assets/stylesheets/application.scss */
.sz-point p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* line 40187, app/assets/stylesheets/application.scss */
.sz-index {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--sz-accent-soft);
  color: var(--perk-ink);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* line 40202, app/assets/stylesheets/application.scss */
.sz-concept strong {
  display: block;
  font-size: 15px;
}

/* line 40207, app/assets/stylesheets/application.scss */
.sz-concept p {
  margin: 4px 0 0;
  color: var(--sz-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 40214, app/assets/stylesheets/application.scss */
.sz-source-ref {
  padding-top: 4px;
}

/* line 40218, app/assets/stylesheets/application.scss */
.sz-source-ref p {
  margin: 6px 0 0;
  color: var(--sz-muted);
  font-size: 14px;
}

/* line 40224, app/assets/stylesheets/application.scss */
.sz-add-point {
  display: flex;
  gap: 8px;
}

/* line 40229, 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 40238, 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 40249, 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 40265, app/assets/stylesheets/application.scss */
.sz-bar button:hover {
  background: #eceef1;
}

/* line 40269, app/assets/stylesheets/application.scss */
.sz-bar button:disabled {
  opacity: 0.4;
}

/* line 40273, 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 40284, 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 40296, app/assets/stylesheets/application.scss */
.sz-overlay-card strong {
  font-size: 17px;
}

/* line 40300, app/assets/stylesheets/application.scss */
.sz-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* line 40307, app/assets/stylesheets/application.scss */
.sz-step .fa-check-circle {
  color: var(--sz-accent);
}

/* line 40308, app/assets/stylesheets/application.scss */
.sz-step .fa-circle {
  color: #c7c7cc;
}

/* line 40310, 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 40323, app/assets/stylesheets/application.scss */
.sz-sheet {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 40332, app/assets/stylesheets/application.scss */
.sz-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.36);
}

/* line 40339, 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 40350, 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 40363, app/assets/stylesheets/application.scss */
.sz-menu button:hover {
  background: var(--sz-field);
}

/* line 40367, app/assets/stylesheets/application.scss */
.sz-menu .is-danger {
  color: var(--perk-ink);
}

/* line 40369, 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 40380, app/assets/stylesheets/application.scss */
.sz-drive header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* line 40387, 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 40403, app/assets/stylesheets/application.scss */
.sz-drive-row:hover {
  color: var(--sz-accent);
}

@media (max-width: 899px) {
  /* line 40408, app/assets/stylesheets/application.scss */
  .sz-nav {
    padding: 10px 12px;
  }
  /* line 40412, app/assets/stylesheets/application.scss */
  .sz-new span {
    display: none;
  }
  /* line 40416, app/assets/stylesheets/application.scss */
  .sz-new {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
  /* line 40422, app/assets/stylesheets/application.scss */
  .sz-pane-body,
.sz-result {
    padding-left: 18px;
    padding-right: 18px;
  }
  /* line 40428, app/assets/stylesheets/application.scss */
  .sz-compose-intro h1,
.sz-result-head h1,
.sz-title-input {
    font-size: 24px;
  }
  /* line 40434, app/assets/stylesheets/application.scss */
  .sz-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (min-width: 760px) {
  /* line 40441, app/assets/stylesheets/application.scss */
  .sz-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 40445, app/assets/stylesheets/application.scss */
  .sz-shell {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 900px) {
  /* line 40452, app/assets/stylesheets/application.scss */
  .sz-sheet {
    align-items: center;
  }
  /* line 40456, app/assets/stylesheets/application.scss */
  .sz-drive,
.sz-menu {
    border-radius: 16px;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 40464, app/assets/stylesheets/application.scss */
  .sz-spinner {
    animation: none;
  }
}

/* line 40469, app/assets/stylesheets/application.scss */
.companion-hub-shell {
  position: relative;
}

/* —— Team work / Workplace (iOS function, professional web layout) —— */
/* line 40474, 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 40486, app/assets/stylesheets/application.scss */
.tw-landing {
  --tw-accent: #1a73e8;
  --tw-accent-deep: #1557b0;
  --tw-accent-soft: #e8f0fe;
  --tw-ink: #202124;
  --tw-muted: #5f6368;
  --tw-line: rgba(32, 33, 36, 0.1);
  --tw-wash: #f8f9fa;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #12141a;
  font-family: var(--perk-font, "SF Pro Text", "Segoe UI", system-ui, sans-serif);
  font-weight: 500;
}

/* line 40502, app/assets/stylesheets/application.scss */
.tw-landing :where(*) {
  font-weight: 500 !important;
}

/* line 40506, app/assets/stylesheets/application.scss */
.tw-landing-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 40515, app/assets/stylesheets/application.scss */
.tw-landing-stage-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.42) 0%, rgba(12, 14, 18, 0.28) 38%, rgba(12, 14, 18, 0.72) 100%), url(https://perkapp.io/assets/teamWorkHero-a06b3d29e222b05c36697cba259d269d2980d929624502dd610b53dbad399d41.jpg) center center/cover no-repeat;
  transform: scale(1.02);
  pointer-events: none;
}

/* line 40525, app/assets/stylesheets/application.scss */
.tw-landing-stage-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 72px 24px 40px;
  overflow: auto;
}

/* line 40539, app/assets/stylesheets/application.scss */
.tw-landing-brand {
  text-align: center;
  display: grid;
  gap: 6px;
  max-width: 28rem;
}

/* line 40546, app/assets/stylesheets/application.scss */
.tw-landing-brand h1,
.tw-landing-brand .tw-landing-title {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

/* line 40557, app/assets/stylesheets/application.scss */
.tw-landing-brand p,
.tw-landing-brand .tw-landing-prompt {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  max-width: 22rem;
  margin-inline: auto;
}

/* line 40570, app/assets/stylesheets/application.scss */
.tw-landing-me {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

/* line 40584, app/assets/stylesheets/application.scss */
.tw-landing-me:hover,
.tw-landing-me:focus-visible {
  outline: none;
}

/* line 40589, app/assets/stylesheets/application.scss */
.tw-landing-me:hover .tw-landing-me-art,
.tw-landing-me:focus-visible .tw-landing-me-art {
  transform: translateY(-3px);
}

/* line 40594, app/assets/stylesheets/application.scss */
.tw-landing-me-avatar {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32), inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

/* line 40606, app/assets/stylesheets/application.scss */
.tw-landing-me-avatar.is-fallback {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1;
  background: linear-gradient(145deg, #4b5563, #1f2937);
}

/* line 40617, app/assets/stylesheets/application.scss */
.tw-landing-me-name {
  display: block;
  max-width: 12rem;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 40631, app/assets/stylesheets/application.scss */
.tw-landing-groups {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 22px;
  max-width: 720px;
  width: 100%;
}

/* line 40643, app/assets/stylesheets/application.scss */
.tw-landing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 720px;
}

/* line 40652, app/assets/stylesheets/application.scss */
.tw-landing-section-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* line 40662, app/assets/stylesheets/application.scss */
.tw-landing-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 88px;
  margin: 0;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font: inherit;
}

/* line 40679, app/assets/stylesheets/application.scss */
.tw-landing-group:hover,
.tw-landing-group:focus-visible {
  outline: none;
}

/* line 40684, app/assets/stylesheets/application.scss */
.tw-landing-group:hover .tw-landing-group-art,
.tw-landing-group:focus-visible .tw-landing-group-art {
  transform: translateY(-3px);
}

/* line 40689, app/assets/stylesheets/application.scss */
.tw-landing-group-art {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: inline-grid;
  place-items: center;
  overflow: visible;
  color: #fff;
  transition: transform 0.18s ease;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* line 40704, app/assets/stylesheets/application.scss */
.tw-landing-group-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* line 40711, app/assets/stylesheets/application.scss */
.tw-landing-group-art.is-add {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

/* line 40720, app/assets/stylesheets/application.scss */
.tw-landing-group-name {
  display: block;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 40733, app/assets/stylesheets/application.scss */
.tw-landing-hint {
  margin: 0;
  max-width: 26rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

/* line 40742, app/assets/stylesheets/application.scss */
.tw-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: 0;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* line 40764, app/assets/stylesheets/application.scss */
.tw-create-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
}

/* line 40769, app/assets/stylesheets/application.scss */
.tw-create-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
}

/* line 40779, app/assets/stylesheets/application.scss */
.tw-create-btn.is-on-hero {
  background: #fff;
  border-color: #fff;
  color: #202124;
}

/* line 40785, app/assets/stylesheets/application.scss */
.tw-create-btn.is-on-hero .tw-create-btn-icon {
  color: #202124;
}

/* line 40789, app/assets/stylesheets/application.scss */
.tw-create-btn.is-on-hero:hover {
  background: #f3f4f6;
  border-color: #f3f4f6;
}

/* line 40794, app/assets/stylesheets/application.scss */
.tw-landing .tw-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #202124;
  border-radius: 999px;
  background: #fff;
  color: #202124;
  box-shadow: none;
}

/* line 40804, app/assets/stylesheets/application.scss */
.tw-landing .tw-icon:hover {
  transform: none;
  background: #f8f9fa;
}

/* line 40809, app/assets/stylesheets/application.scss */
.tw-landing .tw-icon.is-on-hero {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(17, 24, 39, 0.42);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* line 40820, app/assets/stylesheets/application.scss */
.tw-landing .tw-icon.is-on-hero:hover {
  background: rgba(17, 24, 39, 0.58);
  border-color: rgba(255, 255, 255, 0.75);
}

/* line 40825, app/assets/stylesheets/application.scss */
.tw-landing .tw-spinner.is-on-hero {
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
}

/* Legacy entrance hooks kept inert */
/* line 40831, app/assets/stylesheets/application.scss */
.tw-landing-shell,
.tw-landing-aside,
.tw-landing-main,
.tw-landing-board,
.tw-landing-board-bg,
.tw-landing-copy,
.tw-landing-eyebrow,
.tw-landing-toolbar,
.tw-landing-toolbar-nav,
.tw-landing-side-block,
.tw-landing-side-head,
.tw-landing-teams,
.tw-landing-team,
.tw-landing-team-art,
.tw-landing-team-copy,
.tw-landing-team-chevron,
.tw-landing-hero,
.tw-back-dark,
.tw-landing-panel,
.tw-chooser,
.tw-tiles,
.tw-tile,
.tw-tile-label,
.tw-tile-art,
.tw-create-btn.is-board {
  display: none !important;
}

/* line 40859, app/assets/stylesheets/application.scss */
.tw-app,
.tw-sheet,
.tw-cal,
.tw-sheet-layer,
.tw-main {
  --tw-ink: #000;
  --tw-muted: #000;
  --tw-field: #f3f5fa;
  --tw-line: rgba(26, 29, 36, 0.08);
  --tw-accent: #3d6bfd;
  --tw-accent-deep: #2f57d9;
  --tw-accent-soft: rgba(61, 107, 253, 0.12);
  --tw-canvas: #eef2f8;
  --tw-card: #fff;
  --tw-btn-h: 36px;
  --tw-shadow: 0 10px 28px rgba(26, 29, 36, 0.07);
  --tw-weight-regular: 500;
  --tw-weight-medium: 600;
  --tw-weight-semibold: 700;
  --tw-weight-bold: 800;
  color: #000;
  font-weight: 500;
}

/* line 40883, app/assets/stylesheets/application.scss */
.tw-app :where(*),
.tw-sheet :where(*),
.tw-cal :where(*),
.tw-sheet-layer :where(*),
.tw-main :where(*) {
  font-weight: 500 !important;
}

/* line 40891, app/assets/stylesheets/application.scss */
.tw-app {
  position: relative;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: radial-gradient(920px 420px at 8% -10%, rgba(61, 107, 253, 0.14), transparent 55%), radial-gradient(780px 360px at 92% 0%, rgba(16, 185, 129, 0.1), transparent 52%), linear-gradient(180deg, #f7f8fc 0%, #eef2f8 100%);
  color: var(--tw-ink);
  font-family: var(--perk-font, "SF Pro Text", "Segoe UI", system-ui, sans-serif);
}

/* line 40904, app/assets/stylesheets/application.scss */
.tw-rail {
  display: flex;
  flex-direction: column;
  flex: 0 0 56px;
  width: 56px;
  align-self: stretch;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 10px 0 12px;
  border-right: 1px solid rgba(26, 29, 36, 0.08);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  z-index: 2;
  overflow: hidden;
}

/* line 40921, app/assets/stylesheets/application.scss */
.tw-rail-members {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 29, 36, 0.28) transparent;
}

/* line 40937, app/assets/stylesheets/application.scss */
.tw-rail-members::-webkit-scrollbar {
  width: 4px;
}

/* line 40941, app/assets/stylesheets/application.scss */
.tw-rail-members::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.28);
}

/* line 40946, app/assets/stylesheets/application.scss */
.tw-rail-members .tw-member-face {
  margin-left: 0;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

/* line 40953, app/assets/stylesheets/application.scss */
.tw-rail-empty {
  display: block;
  width: 1px;
  height: 1px;
}

/* line 40959, app/assets/stylesheets/application.scss */
.tw-rail-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 29, 36, 0.06);
  flex: 0 0 auto;
}

/* line 40969, app/assets/stylesheets/application.scss */
.tw-rail.is-productivity .tw-rail-foot {
  gap: 10px;
}

/* line 40973, app/assets/stylesheets/application.scss */
.tw-rail.is-productivity .tw-rail-btn.is-settings {
  color: var(--tw-ink);
}

/* line 40977, app/assets/stylesheets/application.scss */
.tw-rail-me {
  margin: 0 0 4px;
  width: 36px;
  height: 36px;
  border: 2px solid #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08), 0 2px 8px rgba(26, 29, 36, 0.08);
  cursor: pointer;
  opacity: 1;
}

/* line 40987, app/assets/stylesheets/application.scss */
.tw-rail-me:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.05);
}

/* line 40991, app/assets/stylesheets/application.scss */
.tw-rail-me.is-on {
  box-shadow: 0 0 0 3px rgba(61, 107, 253, 0.22), 0 4px 12px rgba(26, 29, 36, 0.12);
  border-color: var(--tw-accent, #3d6bfd);
}

/* line 40996, app/assets/stylesheets/application.scss */
.tw-rail-btn,
.tw-rail-settings {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--tw-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tw-ink);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
}

/* line 41012, app/assets/stylesheets/application.scss */
.tw-rail-btn:hover,
.tw-rail-settings:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* line 41018, app/assets/stylesheets/application.scss */
.tw-rail-btn.is-bell.is-on {
  border-color: rgba(61, 107, 253, 0.35);
  background: #fff;
  color: var(--tw-accent, #3d6bfd);
}

/* line 41024, app/assets/stylesheets/application.scss */
.tw-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 41047, app/assets/stylesheets/application.scss */
.tw-landing-me-art,
.tw-team-menu-art {
  position: relative;
  display: inline-grid;
  place-items: center;
}

/* line 41054, app/assets/stylesheets/application.scss */
.tw-landing-me-art {
  transition: transform 0.18s ease;
}

/* line 41058, app/assets/stylesheets/application.scss */
.tw-landing-me-art .tw-count-badge,
.tw-landing-group-art .tw-count-badge {
  top: -4px;
  right: -4px;
}

/* line 41064, app/assets/stylesheets/application.scss */
.tw-team-menu-art .tw-count-badge {
  top: -6px;
  right: -8px;
  min-width: 14px;
  height: 14px;
  font-size: 9px;
  padding: 0 3px;
}

/* line 41073, app/assets/stylesheets/application.scss */
.tw-sheet.is-inbox {
  width: min(420px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
}

/* line 41080, app/assets/stylesheets/application.scss */
.tw-sheet-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* line 41087, app/assets/stylesheets/application.scss */
.tw-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px 16px;
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
}

/* line 41097, app/assets/stylesheets/application.scss */
.tw-inbox-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(26, 29, 36, 0.03);
  padding: 12px;
  cursor: pointer;
  color: inherit;
}

/* line 41112, app/assets/stylesheets/application.scss */
.tw-inbox-row:hover,
.tw-inbox-row:focus-visible {
  background: #fff;
  border-color: rgba(26, 29, 36, 0.08);
  outline: none;
}

/* line 41119, app/assets/stylesheets/application.scss */
.tw-inbox-row.is-unread {
  background: rgba(61, 107, 253, 0.06);
}

/* line 41123, app/assets/stylesheets/application.scss */
.tw-inbox-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: transparent;
}

/* line 41131, app/assets/stylesheets/application.scss */
.tw-inbox-row.is-unread .tw-inbox-dot {
  background: #ff3b30;
}

/* line 41135, app/assets/stylesheets/application.scss */
.tw-inbox-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 41142, app/assets/stylesheets/application.scss */
.tw-inbox-copy strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 41148, app/assets/stylesheets/application.scss */
.tw-inbox-copy span {
  font-size: 13px;
  color: rgba(26, 29, 36, 0.68);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 41158, app/assets/stylesheets/application.scss */
.tw-inbox-copy em {
  font-style: normal;
  font-size: 11px;
  color: rgba(26, 29, 36, 0.45);
  margin-top: 2px;
}

/* line 41165, app/assets/stylesheets/application.scss */
.tw-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  padding: 12px 12px 0;
}

/* line 41175, app/assets/stylesheets/application.scss */
.tw-top,
.tw-sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px solid transparent;
}

/* line 41184, app/assets/stylesheets/application.scss */
.tw-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--tw-shadow);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 40;
}

/* line 41200, app/assets/stylesheets/application.scss */
.tw-top-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  justify-self: start;
}

/* line 41209, app/assets/stylesheets/application.scss */
.tw-brand-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #6b8cff 0%, var(--tw-accent) 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(61, 107, 253, 0.22);
  font-size: 11px;
  flex: 0 0 auto;
  overflow: hidden;
}

/* line 41223, app/assets/stylesheets/application.scss */
.tw-brand-mark.is-avatar {
  background: #e8eaee;
  color: var(--tw-ink);
  box-shadow: inset 0 0 0 1px rgba(26, 29, 36, 0.08);
  font-weight: 650;
}

/* line 41230, app/assets/stylesheets/application.scss */
.tw-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 41237, app/assets/stylesheets/application.scss */
.tw-top-copy {
  flex: 1;
  min-width: 0;
}

/* line 41242, app/assets/stylesheets/application.scss */
.tw-top-copy strong,
.tw-sheet-head strong {
  display: block;
  color: var(--tw-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 41254, app/assets/stylesheets/application.scss */
.tw-top .tw-top-copy strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* line 41261, app/assets/stylesheets/application.scss */
.tw-top-copy > span {
  color: var(--tw-muted);
  font-size: 11px;
  line-height: 1.2;
}

/* line 41267, app/assets/stylesheets/application.scss */
.tw-team-menu {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 41273, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1px 4px 1px 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s ease;
}

/* line 41288, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger:hover,
.tw-team-menu-trigger.is-open {
  background: rgba(26, 29, 36, 0.05);
}

/* line 41293, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger .tw-top-copy strong {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

/* line 41300, app/assets/stylesheets/application.scss */
.tw-team-menu-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* line 41310, app/assets/stylesheets/application.scss */
.tw-team-menu-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--tw-muted);
  transition: transform 0.18s ease, color 0.15s ease;
}

/* line 41319, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger.is-open .tw-team-menu-caret {
  transform: rotate(180deg);
  color: var(--tw-accent-deep);
}

/* line 41324, app/assets/stylesheets/application.scss */
.tw-team-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: min(300px, calc(100vw - 48px));
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.08);
  box-shadow: 0 18px 40px rgba(23, 25, 29, 0.16), 0 0 0 1px rgba(26, 29, 36, 0.04);
  display: grid;
  gap: 4px;
}

/* line 41339, app/assets/stylesheets/application.scss */
.tw-team-menu-list {
  display: grid;
  gap: 2px;
  max-height: 280px;
  overflow: auto;
  scrollbar-width: thin;
}

/* line 41347, app/assets/stylesheets/application.scss */
.tw-team-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 10px 8px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--tw-ink);
  text-decoration: none;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.12s ease;
}

/* line 41367, app/assets/stylesheets/application.scss */
.tw-team-menu-item:hover {
  background: rgba(26, 29, 36, 0.05);
}

/* line 41371, app/assets/stylesheets/application.scss */
.tw-team-menu-item.is-on {
  background: var(--tw-accent-soft);
  color: var(--tw-accent-deep);
}

/* line 41376, app/assets/stylesheets/application.scss */
.tw-team-menu-item.is-add {
  margin-top: 2px;
  border-top: 1px solid rgba(26, 29, 36, 0.06);
  border-radius: 0 0 12px 12px;
  padding-top: 12px;
  color: var(--tw-ink);
  font-weight: 700;
}

/* line 41385, app/assets/stylesheets/application.scss */
.tw-team-menu-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 41393, app/assets/stylesheets/application.scss */
.tw-team-menu-check {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--tw-accent);
}

/* line 41399, app/assets/stylesheets/application.scss */
.tw-team-menu-art {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: visible;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  flex: 0 0 auto;
}

/* line 41412, app/assets/stylesheets/application.scss */
.tw-team-menu-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* line 41419, app/assets/stylesheets/application.scss */
.tw-team-menu-art.is-add {
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-ink);
}

/* line 41424, app/assets/stylesheets/application.scss */
.tw-team-menu-art.is-avatar {
  background: #e8eaee;
  color: var(--tw-ink);
  font-size: 14px;
  font-weight: 650;
}

/* line 41431, app/assets/stylesheets/application.scss */
.tw-team-menu-item.is-productivity .tw-team-menu-art.is-avatar {
  box-shadow: inset 0 0 0 1px rgba(26, 29, 36, 0.08);
}

/* line 41435, app/assets/stylesheets/application.scss */
.tw-app.is-productivity .tw-tabs {
  max-width: min(100%, 520px);
}

/* line 41439, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded {
  padding-top: 0;
  gap: 12px;
}

/* line 41444, app/assets/stylesheets/application.scss */
.tw-perf-toolbar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  gap: 10px;
}

/* line 41451, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-right: auto;
}

/* line 41459, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(280px, 55vw);
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #000;
  border-radius: 999px;
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-shadow: none;
}

/* line 41480, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger:hover,
.tw-perf-toolbar .tw-perf-scope-trigger.is-open {
  background: transparent;
  border-color: #000;
  box-shadow: none;
}

/* line 41487, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger .tw-perf-scope-caret {
  color: #000;
}

/* line 41491, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger.is-open .tw-perf-scope-caret {
  color: #000;
}

/* line 41495, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 41501, app/assets/stylesheets/application.scss */
.tw-perf-toolbar-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* line 41508, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded .tw-ops-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 29, 36, 0.1);
  border-radius: 16px;
  box-shadow: none;
  padding: 14px 16px;
}

/* line 41516, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded .tw-ops-kpis {
  gap: 8px;
}

/* line 41520, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded .tw-ops-kpi {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 29, 36, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
}

/* line 41527, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded button.tw-ops-kpi.is-on {
  border-color: rgba(26, 29, 36, 0.16);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.06);
  background: #fff;
}

/* line 41533, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded .tw-ops-focus-row,
.tw-perf.is-embedded .tw-ops-work-row {
  border-radius: 12px;
  border: 1px solid rgba(26, 29, 36, 0.08);
  background: #fff;
  padding: 10px 12px;
}

/* line 41541, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded .tw-ops-focus-list,
.tw-perf.is-embedded .tw-ops-work-list,
.tw-perf.is-embedded .tw-perf-projects {
  gap: 8px;
}

/* line 41547, app/assets/stylesheets/application.scss */
.tw-perf-head.is-embedded {
  padding-left: 4px;
  padding-right: 4px;
}

/* line 41552, app/assets/stylesheets/application.scss */
.tw-team-menu-empty {
  margin: 0;
  padding: 12px 10px;
  color: var(--tw-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* line 41560, app/assets/stylesheets/application.scss */
.tw-ops {
  display: grid;
  gap: 12px;
  min-width: 0;
}

/* line 41566, app/assets/stylesheets/application.scss */
.tw-ops.is-empty {
  flex: 1 1 auto;
  min-height: 100%;
  place-items: center;
  align-content: center;
}

/* line 41573, app/assets/stylesheets/application.scss */
.tw-ops-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 16px;
  text-align: center;
  max-width: 28rem;
}

/* line 41582, app/assets/stylesheets/application.scss */
.tw-ops-empty strong {
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--tw-ink);
}

/* line 41588, app/assets/stylesheets/application.scss */
.tw-ops-empty p {
  margin: 0;
  color: var(--tw-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* line 41595, app/assets/stylesheets/application.scss */
.tw-ops-empty-add {
  width: 72px;
  height: 72px;
  border: 1px dashed rgba(26, 29, 36, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tw-ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

/* line 41608, app/assets/stylesheets/application.scss */
.tw-ops-empty-add:hover {
  border-color: var(--tw-accent);
  color: var(--tw-accent);
  background: #fff;
  transform: translateY(-1px);
}

/* line 41615, app/assets/stylesheets/application.scss */
.tw-ops-empty-add:focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 3px;
}

/* line 41620, app/assets/stylesheets/application.scss */
.tw-ops-switch {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 8px 10px;
  margin: -2px -2px 0;
  min-width: 0;
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--tw-canvas, #eef2f8);
  box-shadow: 0 10px 12px -10px rgba(26, 29, 36, 0.12);
}

/* line 41634, app/assets/stylesheets/application.scss */
.tw-ops-switch-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  /* overflow-x: auto forces overflow-y to clip, which cuts the heat badge (top: -4px + ring). */
  padding: 8px 8px 4px 0;
  margin: -8px 0 -4px 0;
}

/* line 41648, app/assets/stylesheets/application.scss */
.tw-ops-switch-track::-webkit-scrollbar {
  display: none;
}

/* line 41652, app/assets/stylesheets/application.scss */
.tw-ops-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  max-width: 200px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(26, 29, 36, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tw-ink);
  text-align: left;
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* line 41670, app/assets/stylesheets/application.scss */
.tw-ops-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 29, 36, 0.06);
}

/* line 41675, app/assets/stylesheets/application.scss */
.tw-ops-chip.is-on {
  border-color: color-mix(in srgb, var(--tw-project-accent, var(--tw-accent)) 45%, #d7dbe5);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tw-project-accent, var(--tw-accent)) 18%, transparent), 0 10px 22px rgba(26, 29, 36, 0.07);
  background: #fff;
}

/* line 41681, app/assets/stylesheets/application.scss */
.tw-ops-chip.is-add {
  min-width: 48px;
  width: 48px;
  max-width: 48px;
  padding: 8px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(26, 29, 36, 0.12);
  box-shadow: none;
  flex: 0 0 auto;
  align-self: center;
}

/* line 41694, app/assets/stylesheets/application.scss */
.tw-ops-chip.is-add:hover {
  background: #fff;
  border-color: rgba(26, 29, 36, 0.2);
  box-shadow: 0 6px 14px rgba(26, 29, 36, 0.06);
  transform: translateY(-1px);
}

/* line 41701, app/assets/stylesheets/application.scss */
.tw-ops-chip-art {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

/* line 41714, app/assets/stylesheets/application.scss */
.tw-ops-chip-art.is-add {
  width: 28px;
  height: 28px;
  background: transparent;
  color: var(--tw-ink);
  border-radius: 0;
  box-shadow: none;
}

/* line 41723, app/assets/stylesheets/application.scss */
.tw-ops-chip-art .heroicon,
.tw-ops-chip-art i {
  width: 14px;
  height: 14px;
}

/* line 41729, app/assets/stylesheets/application.scss */
.tw-ops-chip-art.is-add .heroicon,
.tw-ops-chip-art.is-add i {
  width: 18px;
  height: 18px;
  stroke-width: 2.75;
}

/* line 41736, app/assets/stylesheets/application.scss */
.tw-ops-chip-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

/* line 41742, app/assets/stylesheets/application.scss */
.tw-ops-chip-copy strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 41751, app/assets/stylesheets/application.scss */
.tw-ops-chip-copy em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 41761, app/assets/stylesheets/application.scss */
.tw-ops-chip.has-heat .tw-ops-chip-copy em {
  color: #8a4b12;
}

/* line 41765, app/assets/stylesheets/application.scss */
.tw-ops-chip-heat {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 1;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  color: #fff;
  background: #1a1d24;
  box-shadow: 0 0 0 2px #eef2f8;
}

/* line 41785, app/assets/stylesheets/application.scss */
.tw-ops-brief {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.07);
  box-shadow: 0 12px 32px rgba(23, 25, 29, 0.05);
}

/* line 41795, app/assets/stylesheets/application.scss */
.tw-ops-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* line 41802, app/assets/stylesheets/application.scss */
.tw-ops-head-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

/* line 41808, app/assets/stylesheets/application.scss */
.tw-ops-head-copy strong {
  font-size: 24px;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

/* line 41814, app/assets/stylesheets/application.scss */
.tw-ops-head-copy > span {
  color: var(--tw-muted);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* line 41822, app/assets/stylesheets/application.scss */
.tw-ops-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 41829, app/assets/stylesheets/application.scss */
.tw-ops-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tw-project-accent, var(--tw-accent)) 18%, transparent);
}

/* line 41836, app/assets/stylesheets/application.scss */
.tw-ops-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* line 41845, app/assets/stylesheets/application.scss */
.tw-ops-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

/* line 41851, app/assets/stylesheets/application.scss */
.tw-ops-kpi {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6f7fa;
  border: 1px solid transparent;
  min-width: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

/* line 41866, app/assets/stylesheets/application.scss */
button.tw-ops-kpi {
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* line 41871, app/assets/stylesheets/application.scss */
button.tw-ops-kpi:hover {
  background: #eef0f4;
}

/* line 41875, app/assets/stylesheets/application.scss */
button.tw-ops-kpi.is-on {
  background: #fff;
  border-color: rgba(26, 29, 36, 0.14);
  box-shadow: 0 2px 8px rgba(26, 29, 36, 0.06);
}

/* line 41881, app/assets/stylesheets/application.scss */
.tw-ops-kpi em {
  font-style: normal;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 41890, app/assets/stylesheets/application.scss */
.tw-ops-kpi strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

/* line 41898, app/assets/stylesheets/application.scss */
.tw-ops-kpi.is-warn {
  background: #f4f4f5;
  border-color: rgba(26, 29, 36, 0.1);
}

/* line 41903, app/assets/stylesheets/application.scss */
.tw-ops-kpi.is-warn strong {
  color: #1a1d24;
}

/* line 41907, app/assets/stylesheets/application.scss */
.tw-ops-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fb;
  border: 1px solid rgba(26, 29, 36, 0.05);
  min-width: 0;
}

/* line 41917, app/assets/stylesheets/application.scss */
.tw-ops-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

/* line 41924, app/assets/stylesheets/application.scss */
.tw-ops-panel-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 41930, app/assets/stylesheets/application.scss */
.tw-ops-panel-head strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* line 41937, app/assets/stylesheets/application.scss */
.tw-perf .tw-ops-panel-head strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
}

/* line 41943, app/assets/stylesheets/application.scss */
.tw-ops-panel-head span {
  color: var(--tw-muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

/* line 41951, app/assets/stylesheets/application.scss */
.tw-ops-panel-head > em {
  font-style: normal;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  background: #e8eaef;
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

/* line 41967, app/assets/stylesheets/application.scss */
.tw-ops-focus {
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f8 100%);
}

/* line 41971, app/assets/stylesheets/application.scss */
.tw-ops-focus-list,
.tw-ops-load-list,
.tw-ops-check-list,
.tw-ops-work-list {
  display: grid;
  gap: 6px;
}

/* line 41979, app/assets/stylesheets/application.scss */
.tw-ops-focus-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(26, 29, 36, 0.06);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 41993, app/assets/stylesheets/application.scss */
.tw-ops-focus-row strong,
.tw-ops-focus-row .tw-task-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42003, app/assets/stylesheets/application.scss */
.tw-ops-focus-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #eef0f4;
  color: #000;
  flex: 0 0 auto;
}

/* line 42017, app/assets/stylesheets/application.scss */
.tw-ops-focus-row.is-blocked .tw-ops-focus-tag {
  background: #1a1d24;
  color: #fff;
}

/* line 42022, app/assets/stylesheets/application.scss */
.tw-ops-focus-row.is-overdue .tw-ops-focus-tag {
  background: #ece7df;
  color: #6a4d1d;
}

/* line 42027, app/assets/stylesheets/application.scss */
.tw-ops-focus-row.is-urgent .tw-ops-focus-tag {
  background: #7a3030;
  color: #fff;
}

/* line 42032, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c5c9d1;
  flex: 0 0 auto;
}

/* line 42040, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark.is-blocked {
  background: #1a1d24;
}

/* line 42044, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark.is-overdue {
  background: #b8860b;
}

/* line 42048, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark.is-urgent {
  background: #7a3030;
}

/* line 42052, app/assets/stylesheets/application.scss */
.tw-ops-focus-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
  flex: 0 0 auto;
}

/* line 42062, app/assets/stylesheets/application.scss */
.tw-ops-focus-meta em {
  font-style: normal;
}

/* line 42066, app/assets/stylesheets/application.scss */
.tw-ops-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
}

/* line 42072, app/assets/stylesheets/application.scss */
.tw-ops-load {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.05);
}

/* line 42081, app/assets/stylesheets/application.scss */
.tw-ops-load.is-heat {
  border-color: rgba(26, 29, 36, 0.12);
}

/* line 42085, app/assets/stylesheets/application.scss */
.tw-ops-load-who {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

/* line 42092, app/assets/stylesheets/application.scss */
.tw-ops-load-who > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

/* line 42098, app/assets/stylesheets/application.scss */
.tw-ops-load-who strong {
  font-size: 14px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42106, app/assets/stylesheets/application.scss */
.tw-ops-load-who span {
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 42112, app/assets/stylesheets/application.scss */
.tw-ops-load-who > em {
  font-style: normal;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

/* line 42119, app/assets/stylesheets/application.scss */
.tw-ops-ghost {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-muted);
}

/* line 42129, app/assets/stylesheets/application.scss */
.tw-ops-load-track {
  height: 6px;
  border-radius: 999px;
  background: #e9ebf0;
  overflow: hidden;
}

/* line 42136, app/assets/stylesheets/application.scss */
.tw-ops-load-track > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--tw-project-accent, var(--tw-accent));
}

/* line 42143, app/assets/stylesheets/application.scss */
.tw-ops-check {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(26, 29, 36, 0.05);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 42157, app/assets/stylesheets/application.scss */
.tw-ops-check > i {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--tw-project-accent, var(--tw-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tw-project-accent, var(--tw-accent)) 16%, transparent);
}

/* line 42166, app/assets/stylesheets/application.scss */
.tw-ops-check.is-past > i {
  background: rgba(26, 29, 36, 0.28);
  box-shadow: none;
}

/* line 42171, app/assets/stylesheets/application.scss */
.tw-ops-check span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 42177, app/assets/stylesheets/application.scss */
.tw-ops-check strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

/* line 42182, app/assets/stylesheets/application.scss */
.tw-ops-check em {
  font-style: normal;
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 42189, app/assets/stylesheets/application.scss */
.tw-ops-work-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(26, 29, 36, 0.05);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 42203, app/assets/stylesheets/application.scss */
.tw-ops-work-row strong,
.tw-ops-work-row .tw-task-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42214, app/assets/stylesheets/application.scss */
.tw-ops-work-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 42221, app/assets/stylesheets/application.scss */
.tw-ops-work-row.is-overdue {
  border-color: rgba(26, 29, 36, 0.14);
}

/* line 42225, app/assets/stylesheets/application.scss */
.tw-ops-muted {
  font-style: normal;
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 42232, app/assets/stylesheets/application.scss */
.tw-ops-quiet {
  margin: 0;
  color: var(--tw-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* line 42240, app/assets/stylesheets/application.scss */
.tw-view-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: #eef0f4;
  gap: 4px;
}

/* line 42249, app/assets/stylesheets/application.scss */
.tw-view-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--tw-muted, #000);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  padding: 6px 14px;
  min-height: 32px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

/* line 42264, app/assets/stylesheets/application.scss */
.tw-view-toggle-btn.is-on {
  background: #fff;
  color: var(--tw-ink, #17191d);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 42270, app/assets/stylesheets/application.scss */
.tw-ops-brief.is-board {
  gap: 14px;
}

/* line 42274, app/assets/stylesheets/application.scss */
.tw-ops-brief.is-board .tw-ops-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* line 42278, app/assets/stylesheets/application.scss */
.tw-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

/* line 42288, app/assets/stylesheets/application.scss */
.tw-kanban-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  min-width: 180px;
  padding: 10px;
  border-radius: 14px;
  background: #f4f5f7;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* line 42301, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-drop-target {
  border-color: color-mix(in srgb, var(--tw-project-accent, #6f4cc7) 45%, transparent);
  background: color-mix(in srgb, var(--tw-project-accent, #6f4cc7) 8%, #f4f5f7);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tw-project-accent, #6f4cc7) 18%, transparent);
}

/* line 42307, app/assets/stylesheets/application.scss */
.tw-kanban-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 2px 4px;
}

/* line 42315, app/assets/stylesheets/application.scss */
.tw-kanban-col-head > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 42322, app/assets/stylesheets/application.scss */
.tw-kanban-col-head strong {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

/* line 42332, app/assets/stylesheets/application.scss */
.tw-kanban-col-head em {
  font-style: normal;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 650;
  background: rgba(23, 25, 29, 0.08);
  color: var(--tw-ink, #17191d);
  font-variant-numeric: tabular-nums;
}

/* line 42348, app/assets/stylesheets/application.scss */
.tw-kanban-col-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
}

/* line 42356, app/assets/stylesheets/application.scss */
.tw-kanban-empty {
  margin: 0;
  padding: 18px 10px;
  text-align: center;
  color: var(--tw-muted, #000);
  font-size: 12px;
  font-weight: 550;
}

/* line 42365, app/assets/stylesheets/application.scss */
.tw-kanban-card {
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.06);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
  cursor: grab;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

/* line 42374, app/assets/stylesheets/application.scss */
.tw-kanban-card.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
  box-shadow: 0 8px 20px rgba(23, 25, 29, 0.12);
}

/* line 42380, app/assets/stylesheets/application.scss */
.tw-kanban-card.is-busy {
  pointer-events: none;
  opacity: 0.7;
}

/* line 42385, app/assets/stylesheets/application.scss */
.tw-kanban-card.is-overdue {
  border-color: rgba(185, 28, 28, 0.22);
}

/* line 42389, app/assets/stylesheets/application.scss */
.tw-kanban-card-main {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  min-width: 0;
}

/* line 42397, app/assets/stylesheets/application.scss */
.tw-kanban-card-hit {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: inherit;
}

/* line 42412, app/assets/stylesheets/application.scss */
.tw-kanban-card-hit:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--tw-project-accent, #6f4cc7) 55%, transparent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* line 42418, app/assets/stylesheets/application.scss */
.tw-kanban-card-main strong,
.tw-kanban-card-main .tw-task-title {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* line 42430, app/assets/stylesheets/application.scss */
.tw-kanban-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

/* line 42438, app/assets/stylesheets/application.scss */
.tw-kanban-card-aside {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

/* line 42448, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-reacts {
  width: auto;
  flex: 0 1 auto;
  min-width: 0;
  justify-items: end;
  /* Anchor to the card so the picker can stay inside the card bounds. */
  position: static;
}

/* line 42457, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-row {
  flex-wrap: nowrap;
  max-width: 100%;
}

/* line 42462, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react {
  min-height: 24px;
  padding: 1px 4px;
  border-radius: 6px;
  font-size: 12px;
}

/* line 42469, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react.is-add {
  min-width: 24px;
}

/* line 42473, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-emoji {
  font-size: 14px;
}

/* line 42477, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-count {
  font-size: 11px;
}

/* line 42481, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react .heroicon,
.tw-kanban-card .tw-task-react svg {
  width: 14px;
  height: 14px;
}

/* line 42487, app/assets/stylesheets/application.scss */
.tw-kanban-card:has(.tw-task-reacts:hover),
.tw-kanban-card:has(.tw-task-reacts.is-picker-open),
.tw-kanban-card:has(.tw-task-reacts:focus-within) {
  position: relative;
  z-index: 20;
  overflow: visible;
}

/* line 42495, app/assets/stylesheets/application.scss */
.tw-kanban-col:has(.tw-task-reacts:hover),
.tw-kanban-col:has(.tw-task-reacts.is-picker-open),
.tw-kanban-col:has(.tw-task-reacts:focus-within) {
  position: relative;
  z-index: 15;
  overflow: visible;
}

/* line 42503, app/assets/stylesheets/application.scss */
.tw-kanban:has(.tw-task-reacts:hover),
.tw-kanban:has(.tw-task-reacts.is-picker-open),
.tw-kanban:has(.tw-task-reacts:focus-within) {
  position: relative;
  z-index: 10;
  padding-bottom: 56px;
}

/* Keep the picker inside the card so board overflow does not clip it. */
/* line 42512, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-picker {
  top: calc(100% + 6px);
  bottom: auto;
  left: 8px;
  right: 8px;
  width: auto;
  max-width: none;
  justify-content: center;
  z-index: 30;
}

/* line 42523, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-picker::after {
  top: auto;
  bottom: 100%;
  height: 10px;
}

/* line 42529, app/assets/stylesheets/application.scss */
.tw-kanban-due {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted, #000);
  white-space: nowrap;
}

/* line 42537, app/assets/stylesheets/application.scss */
.tw-kanban-due.is-overdue {
  color: #b91c1c;
}

/* line 42541, app/assets/stylesheets/application.scss */
.tw-kanban-repeat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 11px;
  color: var(--tw-muted, #6b7280);
  line-height: 1;
}

/* line 42551, app/assets/stylesheets/application.scss */
.tw-kanban-repeat .heroicon,
.tw-kanban-repeat i {
  font-size: 11px;
}

/* line 42556, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-todo .tw-kanban-col-head strong {
  color: #5b3ea6;
  background: #f3efff;
}

/* line 42561, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-in_progress .tw-kanban-col-head strong {
  color: #1d4ed8;
  background: #eff6ff;
}

/* line 42566, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-blocked .tw-kanban-col-head strong {
  color: #000;
  background: #f3f4f6;
}

/* line 42571, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-done .tw-kanban-col-head strong {
  color: #047857;
  background: #ecfdf5;
}

@media (max-width: 900px) {
  /* line 42577, app/assets/stylesheets/application.scss */
  .tw-kanban {
    grid-template-columns: repeat(4, minmax(200px, 72vw));
  }
  /* line 42581, app/assets/stylesheets/application.scss */
  .tw-ops-brief.is-board .tw-ops-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* line 42587, app/assets/stylesheets/application.scss */
.tw-secondary-btn.sm {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 10px;
}

@media (max-width: 860px) {
  /* line 42595, app/assets/stylesheets/application.scss */
  .tw-ops-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* line 42599, app/assets/stylesheets/application.scss */
  .tw-ops-split {
    grid-template-columns: 1fr;
  }
  /* line 42603, app/assets/stylesheets/application.scss */
  .tw-ops-focus-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  /* line 42607, app/assets/stylesheets/application.scss */
  .tw-ops-focus-meta {
    grid-column: 2;
  }
}

/* line 42612, app/assets/stylesheets/application.scss */
.tw-member-faces {
  display: none;
}

/* line 42616, app/assets/stylesheets/application.scss */
.tw-member-face {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e8eaf0;
  color: var(--tw-ink);
  cursor: pointer;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(26, 29, 36, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* line 42635, app/assets/stylesheets/application.scss */
.tw-member-face:first-child {
  margin-left: 0;
}

/* line 42639, app/assets/stylesheets/application.scss */
.tw-member-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 42645, app/assets/stylesheets/application.scss */
.tw-member-face .tw-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(145deg, #6b8cff 0%, var(--tw-accent) 100%);
  color: #fff;
}

/* line 42653, app/assets/stylesheets/application.scss */
.tw-member-face:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.04);
  z-index: 2;
}

/* line 42658, app/assets/stylesheets/application.scss */
.tw-member-face:disabled,
.tw-member-face.is-self {
  cursor: default;
  opacity: 0.92;
}

/* line 42664, app/assets/stylesheets/application.scss */
.tw-member-face.is-more {
  background: var(--tw-ink);
  color: #fff;
  font-size: 11px;
}

/* —— My performance (Team work) —— */
/* line 42671, app/assets/stylesheets/application.scss */
.tw-content.is-performance {
  gap: 12px;
}

/* line 42675, app/assets/stylesheets/application.scss */
.tw-perf {
  display: grid;
  gap: 14px;
  min-width: 0;
}

/* line 42681, app/assets/stylesheets/application.scss */
.tw-perf-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 29, 36, 0.08);
  box-shadow: 0 6px 16px rgba(26, 29, 36, 0.04);
}

/* line 42692, app/assets/stylesheets/application.scss */
.tw-perf-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 42700, app/assets/stylesheets/application.scss */
.tw-perf-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #e8eaf0;
}

/* line 42709, app/assets/stylesheets/application.scss */
.tw-perf-avatar.is-fallback {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: #111;
}

/* line 42718, app/assets/stylesheets/application.scss */
.tw-perf-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 42724, app/assets/stylesheets/application.scss */
.tw-perf-copy strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42734, app/assets/stylesheets/application.scss */
.tw-perf-copy span {
  font-size: 13px;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42742, app/assets/stylesheets/application.scss */
.tw-perf-scope {
  position: relative;
  min-width: 0;
}

/* line 42747, app/assets/stylesheets/application.scss */
.tw-perf-scope-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

/* line 42764, app/assets/stylesheets/application.scss */
.tw-perf-scope-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42770, app/assets/stylesheets/application.scss */
.tw-perf-scope-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--tw-muted, #6b7280);
  transition: transform 0.18s ease, color 0.15s ease;
}

/* line 42779, app/assets/stylesheets/application.scss */
.tw-perf-scope-trigger.is-open .tw-perf-scope-caret {
  transform: rotate(180deg);
  color: var(--tw-accent-deep, #2f57d9);
}

/* line 42784, app/assets/stylesheets/application.scss */
.tw-perf-scope-panel {
  top: calc(100% + 6px);
  left: 0;
  width: min(280px, calc(100vw - 72px));
}

/* line 42790, app/assets/stylesheets/application.scss */
.tw-perf-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* line 42794, app/assets/stylesheets/application.scss */
.tw-perf-panel {
  gap: 12px;
}

/* line 42798, app/assets/stylesheets/application.scss */
.tw-perf-ring {
  min-width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  background: radial-gradient(circle at center, #fff 58%, transparent 59%), conic-gradient(#111 calc(var(--tw-perf-pct, 0) * 1%), #e8eaee 0);
  box-shadow: inset 0 0 0 1px rgba(26, 29, 36, 0.06);
}

/* line 42814, app/assets/stylesheets/application.scss */
.tw-perf-flow {
  display: flex;
  gap: 6px;
  min-height: 72px;
  align-items: stretch;
}

/* line 42821, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg {
  display: grid;
  gap: 2px;
  align-content: center;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  color: #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* line 42836, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg span {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42845, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* line 42852, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg em {
  font-style: normal;
  font-size: 11px;
  opacity: 0.7;
}

/* line 42858, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-todo {
  background: #f3f4f6;
  color: #111;
}

/* line 42859, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-in_progress {
  background: #eef2f6;
  color: #1a1d24;
}

/* line 42860, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-blocked {
  background: #eceef1;
  color: #111;
}

/* line 42861, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-done {
  background: #e8ece8;
  color: #1a1d24;
}

/* line 42863, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-on,
.tw-perf-flow-seg:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 29, 36, 0.08);
}

/* line 42869, app/assets/stylesheets/application.scss */
.tw-perf-load {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f8fa;
}

/* line 42877, app/assets/stylesheets/application.scss */
.tw-perf-load.is-personal {
  background: rgba(26, 29, 36, 0.04);
  border: 1px solid rgba(26, 29, 36, 0.06);
}

/* line 42882, app/assets/stylesheets/application.scss */
.tw-perf-load > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--tw-muted, #6b7280);
}

/* line 42889, app/assets/stylesheets/application.scss */
.tw-perf-load strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #000;
}

/* line 42897, app/assets/stylesheets/application.scss */
.tw-perf-load em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--tw-muted, #6b7280);
}

/* line 42906, app/assets/stylesheets/application.scss */
.tw-perf-split {
  align-items: start;
}

/* line 42910, app/assets/stylesheets/application.scss */
.tw-perf-projects {
  display: grid;
  gap: 12px;
}

/* line 42915, app/assets/stylesheets/application.scss */
.tw-perf-project {
  display: grid;
  gap: 6px;
}

/* line 42920, app/assets/stylesheets/application.scss */
.tw-perf-project-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

/* line 42928, app/assets/stylesheets/application.scss */
.tw-perf-project-copy strong {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  overflow: hidden;
}

/* line 42939, app/assets/stylesheets/application.scss */
.tw-perf-project-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42945, app/assets/stylesheets/application.scss */
.tw-perf-project-group {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  color: var(--tw-muted, #6b7280);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 42957, app/assets/stylesheets/application.scss */
.tw-perf-project-copy span {
  flex: 0 0 auto;
  font-size: 12px;
  color: #000;
}

/* line 42963, app/assets/stylesheets/application.scss */
.tw-perf-project-track {
  height: 8px;
  border-radius: 999px;
  background: #eef0f4;
  overflow: hidden;
}

/* line 42970, app/assets/stylesheets/application.scss */
.tw-perf-project-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* line 42976, app/assets/stylesheets/application.scss */
.tw-perf-project-warn {
  font-style: normal;
  font-size: 12px;
  color: #b91c1c;
}

@media (max-width: 860px) {
  /* line 42983, app/assets/stylesheets/application.scss */
  .tw-perf-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 42987, app/assets/stylesheets/application.scss */
  .tw-perf-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  /* line 42992, app/assets/stylesheets/application.scss */
  .tw-perf-head {
    flex-wrap: wrap;
  }
}

/* line 42997, app/assets/stylesheets/application.scss */
.tw-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  justify-self: end;
  min-width: 0;
}

/* line 43006, app/assets/stylesheets/application.scss */
.tw-top .tw-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

/* line 43012, app/assets/stylesheets/application.scss */
.tw-icon {
  width: 30px;
  height: 30px;
  border: 1px solid var(--tw-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--tw-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

/* line 43029, app/assets/stylesheets/application.scss */
.tw-icon:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* line 43034, app/assets/stylesheets/application.scss */
.tw-icon.is-accent {
  background: linear-gradient(145deg, #6b8cff 0%, var(--tw-accent) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(61, 107, 253, 0.28);
}

/* line 43041, app/assets/stylesheets/application.scss */
.tw-icon.is-accent:hover {
  background: linear-gradient(145deg, #5f82ff 0%, var(--tw-accent-deep) 100%);
}

/* line 43045, app/assets/stylesheets/application.scss */
.tw-icon.sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d8dbe2;
}

/* line 43053, 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 43065, app/assets/stylesheets/application.scss */
.tw-desktop-only {
  display: inline-flex;
}

/* line 43069, app/assets/stylesheets/application.scss */
.tw-mobile-only {
  display: none;
}

/* line 43073, app/assets/stylesheets/application.scss */
.tw-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  margin: 0;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.05);
  border-bottom: 0;
  width: fit-content;
  max-width: 100%;
}

/* line 43085, app/assets/stylesheets/application.scss */
.tw-filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.05);
  border-bottom: 0;
  width: fit-content;
  max-width: 100%;
}

/* line 43097, app/assets/stylesheets/application.scss */
.tw-top .tw-tabs {
  justify-self: center;
  grid-column: 2;
}

/* line 43102, app/assets/stylesheets/application.scss */
.tw-top-brand {
  grid-column: 1;
}

/* line 43106, app/assets/stylesheets/application.scss */
.tw-top-actions {
  grid-column: 3;
}

/* line 43110, app/assets/stylesheets/application.scss */
.tw-task-toolbar .tw-filters {
  margin: 0;
}

/* line 43114, app/assets/stylesheets/application.scss */
.tw-tab {
  flex: 0 0 auto;
  min-width: 88px;
  border: 0;
  border-radius: 999px;
  padding: 6px 14px;
  min-height: 32px;
  background: transparent;
  color: var(--tw-muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  border-bottom: 0;
  margin-bottom: 0;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* line 43131, app/assets/stylesheets/application.scss */
.tw-top .tw-tab {
  min-width: 96px;
  padding: 7px 16px;
  min-height: 36px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 43140, app/assets/stylesheets/application.scss */
.tw-tab.is-on {
  color: var(--tw-ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 43146, app/assets/stylesheets/application.scss */
.tw-filter {
  flex: 0 0 auto;
  min-width: 72px;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 30px;
  background: transparent;
  color: var(--tw-muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* line 43161, app/assets/stylesheets/application.scss */
.tw-filter.is-on {
  color: var(--tw-ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 43167, app/assets/stylesheets/application.scss */
.tw-content,
.tw-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 0 2px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

/* line 43178, app/assets/stylesheets/application.scss */
.tw-content.is-projects {
  padding: 14px 2px;
  overflow-x: hidden;
}

/* line 43183, app/assets/stylesheets/application.scss */
.tw-content.is-projects > .tw-ops.is-empty {
  flex: 1 1 auto;
}

/* line 43187, app/assets/stylesheets/application.scss */
.tw-task-list,
.tw-note-list,
.tw-project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 43195, app/assets/stylesheets/application.scss */
.tw-task-list > .tw-task.is-swapping {
  z-index: 2;
  box-shadow: 0 10px 28px rgba(26, 29, 36, 0.12);
}

/* line 43200, app/assets/stylesheets/application.scss */
.tw-note-toolbar-row {
  align-items: center;
  gap: 8px;
}

/* line 43205, app/assets/stylesheets/application.scss */
.tw-note-create-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 43210, app/assets/stylesheets/application.scss */
.tw-note-create-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 200px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.1);
  box-shadow: 0 12px 28px rgba(26, 29, 36, 0.12);
  display: grid;
  gap: 2px;
}

/* line 43225, app/assets/stylesheets/application.scss */
.tw-note-create-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1a1d24;
  cursor: pointer;
}

/* line 43242, app/assets/stylesheets/application.scss */
.tw-note-create-ico {
  width: 28px;
  height: 28px;
  border-radius: 28%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(23, 25, 29, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}

/* line 43255, app/assets/stylesheets/application.scss */
.tw-note-create-ico .tw-note-ico-glyph {
  width: 56%;
  height: 56%;
  border-radius: 18%;
  background: var(--tw-note-tone, #3d6bfd);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 43266, app/assets/stylesheets/application.scss */
.tw-note-create-ico .tw-note-ico-glyph .heroicon,
.tw-note-create-ico .tw-note-ico-glyph i {
  width: 12px;
  height: 12px;
  color: inherit;
  stroke: currentColor;
}

/* line 43274, app/assets/stylesheets/application.scss */
.tw-note-create-menu button:hover,
.tw-note-create-menu button:focus-visible {
  background: rgba(122, 82, 209, 0.1);
  color: var(--tw-accent, #7a52d1);
}

/* line 43280, app/assets/stylesheets/application.scss */
.tw-note-create-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  border: 0;
  background: transparent;
  cursor: default;
}

/* line 43289, app/assets/stylesheets/application.scss */
.tw-note-breadcrumb {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted, #6b7280);
}

/* line 43296, app/assets/stylesheets/application.scss */
.tw-note-breadcrumb.is-open {
  margin: 2px 0 14px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--tw-ink, #17191d);
}

/* line 43305, app/assets/stylesheets/application.scss */
.tw-notes-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 12px;
  background: #eef0f4;
  flex: 0 0 auto;
}

/* line 43315, app/assets/stylesheets/application.scss */
.tw-notes-view-toggle .tw-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

/* line 43321, app/assets/stylesheets/application.scss */
.tw-notes-view-toggle .tw-icon.is-on {
  background: #fff;
  color: var(--tw-ink, #17191d);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 43327, app/assets/stylesheets/application.scss */
.tw-notes-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--tw-ink, #17191d);
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.06);
}

/* line 43342, app/assets/stylesheets/application.scss */
.tw-notes-view-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 25, 29, 0.08);
}

/* line 43347, app/assets/stylesheets/application.scss */
.tw-note-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 43353, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px 10px;
}

/* line 43359, app/assets/stylesheets/application.scss */
.tw-note-item {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

/* line 43366, app/assets/stylesheets/application.scss */
.tw-note-item .tw-note {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 40px;
}

/* line 43372, app/assets/stylesheets/application.scss */
.tw-note-item-more {
  position: absolute;
  top: 8px;
  right: 6px;
  z-index: 2;
  width: 30px;
  height: 30px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.92);
  transition: opacity 160ms ease;
}

/* line 43384, app/assets/stylesheets/application.scss */
.tw-note-item:hover .tw-note-item-more,
.tw-note-item.is-menu-open .tw-note-item-more,
.tw-note-item-more:focus-visible {
  opacity: 1;
}

/* line 43390, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-item {
  flex-direction: column;
}

/* line 43394, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 14px 10px 12px;
  border-radius: 18px;
}

/* line 43403, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-copy {
  width: 100%;
  justify-items: center;
}

/* line 43408, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-preview,
.tw-note-items.is-grid .tw-note-updated {
  display: none !important;
}

/* line 43413, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-ico {
  width: 56px;
  height: 56px;
}

/* line 43418, app/assets/stylesheets/application.scss */
.tw-note-item-menu {
  position: absolute;
  top: 38px;
  right: 4px;
  z-index: 45;
  min-width: 200px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.1);
  box-shadow: 0 12px 28px rgba(26, 29, 36, 0.12);
  display: grid;
  gap: 2px;
}

/* line 43433, app/assets/stylesheets/application.scss */
.tw-note-item-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1a1d24;
  cursor: pointer;
}

/* line 43450, app/assets/stylesheets/application.scss */
.tw-note-item-menu button:hover,
.tw-note-item-menu button:focus-visible,
.tw-note-item-menu button.is-on {
  background: rgba(122, 82, 209, 0.1);
  color: var(--tw-accent, #7a52d1);
}

/* line 43457, app/assets/stylesheets/application.scss */
.tw-note-item-menu button.is-danger {
  color: #b42318;
}

/* line 43461, app/assets/stylesheets/application.scss */
.tw-note-item-menu-sep {
  margin: 4px 6px;
  border: 0;
  border-top: 1px solid rgba(26, 29, 36, 0.08);
}

/* line 43467, app/assets/stylesheets/application.scss */
.tw-note-item-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: transparent;
  cursor: default;
}

/* line 43476, app/assets/stylesheets/application.scss */
.tw-note-presence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
  min-width: 0;
  flex: 0 1 auto;
}

/* line 43485, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 43490, app/assets/stylesheets/application.scss */
.tw-note-presence[hidden] {
  display: none !important;
}

/* line 43494, app/assets/stylesheets/application.scss */
.tw-note-presence-avatars {
  display: flex;
}

/* line 43498, app/assets/stylesheets/application.scss */
.tw-note-presence-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--p, #1a73e8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  margin-left: -6px;
}

/* line 43513, app/assets/stylesheets/application.scss */
.tw-note-presence-avatar:first-child {
  margin-left: 0;
}

/* line 43517, app/assets/stylesheets/application.scss */
.tw-note-presence-label {
  font-size: 12px;
  color: #4b5563;
  white-space: nowrap;
}

/* line 43523, app/assets/stylesheets/application.scss */
.tw-note-nested {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 29, 36, 0.08);
  display: grid;
  gap: 10px;
}

/* line 43531, app/assets/stylesheets/application.scss */
.tw-note-nested-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 43538, app/assets/stylesheets/application.scss */
.tw-note-nested-head strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 43544, app/assets/stylesheets/application.scss */
.tw-note-nested-add {
  padding: 6px 10px;
  font-size: 12px;
}

/* line 43549, app/assets/stylesheets/application.scss */
.tw-note-nested-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 43555, app/assets/stylesheets/application.scss */
.tw-note-nested-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* line 43570, app/assets/stylesheets/application.scss */
.tw-note-nested-row:hover,
.tw-note-nested-row:focus-visible {
  background: #fff;
  box-shadow: 0 4px 14px rgba(23, 25, 29, 0.06);
}

/* line 43576, app/assets/stylesheets/application.scss */
.tw-note-nested-empty {
  margin: 0;
  font-size: 13px;
  color: var(--tw-muted, #6b7280);
}

/* line 43582, app/assets/stylesheets/application.scss */
.tw-note-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

/* line 43589, app/assets/stylesheets/application.scss */
.tw-note-section-title {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--tw-muted, #6b7280);
}

/* line 43598, app/assets/stylesheets/application.scss */
.tw-note-lock,
.tw-note-pin {
  margin-left: 6px;
  font-size: 10px;
  color: var(--tw-muted, #6b7280);
}

/* line 43605, app/assets/stylesheets/application.scss */
.tw-note.is-folder .tw-note-ico {
  color: #fff;
}

/* line 43609, app/assets/stylesheets/application.scss */
.tw-note-back {
  flex: 0 0 auto;
}

/* line 43613, app/assets/stylesheets/application.scss */
.tw-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(26, 29, 36, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #1a1d24;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* line 43629, app/assets/stylesheets/application.scss */
.tw-ghost-btn:hover,
.tw-ghost-btn:focus-visible {
  border-color: rgba(122, 82, 209, 0.35);
  color: var(--tw-accent, #7a52d1);
}

/* line 43635, app/assets/stylesheets/application.scss */
.tw-tpl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

/* line 43642, app/assets/stylesheets/application.scss */
.tw-tpl-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 43648, app/assets/stylesheets/application.scss */
.tw-tpl-head-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 43654, app/assets/stylesheets/application.scss */
.tw-tpl-head-copy strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* line 43659, app/assets/stylesheets/application.scss */
.tw-tpl-head-copy span {
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
}

/* line 43664, app/assets/stylesheets/application.scss */
.tw-tpl-search {
  width: 100%;
}

/* line 43668, app/assets/stylesheets/application.scss */
.tw-tpl-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 43674, app/assets/stylesheets/application.scss */
.tw-tpl-cat {
  border: 1px solid rgba(26, 29, 36, 0.1);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
}

/* line 43686, app/assets/stylesheets/application.scss */
.tw-tpl-cat.is-on {
  background: var(--tw-accent-soft);
  border-color: transparent;
  color: var(--tw-accent);
}

/* line 43692, app/assets/stylesheets/application.scss */
.tw-tpl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 12px;
  align-items: start;
}

/* line 43699, app/assets/stylesheets/application.scss */
.tw-tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
}

/* line 43705, app/assets/stylesheets/application.scss */
.tw-tpl-card {
  position: relative;
  display: grid;
  gap: 8px;
  text-align: left;
  border: 1px solid var(--tw-line);
  background: #fff;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 6px 16px rgba(26, 29, 36, 0.04);
}

/* line 43721, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview {
  min-height: 88px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(61, 107, 253, 0.08), transparent 70%), var(--tw-field);
  display: grid;
  gap: 4px;
  align-content: start;
}

/* line 43732, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.12);
}

/* line 43739, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span:nth-child(1) {
  width: 42%;
  height: 10px;
  background: rgba(61, 107, 253, 0.35);
}

/* line 43740, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span:nth-child(2) {
  width: 78%;
}

/* line 43741, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span:nth-child(3) {
  width: 64%;
}

/* line 43742, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span:nth-child(4) {
  width: 52%;
}

/* line 43744, app/assets/stylesheets/application.scss */
.tw-tpl-card-body {
  display: grid;
  gap: 4px;
  padding: 12px;
}

/* line 43750, app/assets/stylesheets/application.scss */
.tw-tpl-card.is-on,
.tw-tpl-card:hover,
.tw-tpl-card:focus-visible {
  border-color: rgba(61, 107, 253, 0.35);
  box-shadow: 0 10px 24px rgba(26, 29, 36, 0.08);
}

/* line 43757, app/assets/stylesheets/application.scss */
.tw-tpl-card-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 43767, app/assets/stylesheets/application.scss */
.tw-tpl-emoji {
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}

/* line 43773, app/assets/stylesheets/application.scss */
.tw-tpl-card strong {
  font-size: 13px;
  letter-spacing: -0.01em;
}

/* line 43778, app/assets/stylesheets/application.scss */
.tw-tpl-card em,
.tw-tpl-preview-head em {
  font-style: normal;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}

/* line 43786, app/assets/stylesheets/application.scss */
.tw-tpl-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--tw-accent);
  background: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  border: 1px solid rgba(61, 107, 253, 0.18);
}

/* line 43799, app/assets/stylesheets/application.scss */
.tw-tpl-preview {
  position: sticky;
  top: 0;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(26, 29, 36, 0.08);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 14px;
}

/* line 43810, app/assets/stylesheets/application.scss */
.tw-tpl-preview-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* line 43816, app/assets/stylesheets/application.scss */
.tw-tpl-preview-head strong {
  display: block;
  font-size: 15px;
}

/* line 43821, app/assets/stylesheets/application.scss */
.tw-tpl-preview-body {
  max-height: 280px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.45;
  color: #374151;
  border-radius: 12px;
  background: #f8f9fb;
  padding: 12px;
}

/* line 43832, app/assets/stylesheets/application.scss */
.tw-tpl-preview-body h1,
.tw-tpl-preview-body h2,
.tw-tpl-preview-body h3 {
  margin: 0.6em 0 0.25em;
  font-size: 13px;
}

/* line 43839, app/assets/stylesheets/application.scss */
.tw-tpl-preview-body p,
.tw-tpl-preview-body ul,
.tw-tpl-preview-body ol {
  margin: 0.25em 0;
}

/* line 43845, app/assets/stylesheets/application.scss */
.tw-tpl-use {
  width: 100%;
  justify-content: center;
}

@media (max-width: 720px) {
  /* line 43851, app/assets/stylesheets/application.scss */
  .tw-tpl-layout {
    grid-template-columns: 1fr;
  }
  /* line 43855, app/assets/stylesheets/application.scss */
  .tw-tpl-preview {
    position: static;
  }
}

/* line 43860, app/assets/stylesheets/application.scss */
.tw-add-card,
.tw-task,
.tw-note,
.tw-project,
.tw-member,
.tw-friend,
.tw-empty {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 16px rgba(26, 29, 36, 0.04);
  border: 1px solid rgba(26, 29, 36, 0.06);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

/* line 43875, app/assets/stylesheets/application.scss */
.tw-task {
  box-shadow: none;
  border: 1px solid rgba(26, 29, 36, 0.12);
}

/* line 43880, app/assets/stylesheets/application.scss */
.tw-add-card {
  padding: 14px;
}

/* line 43884, app/assets/stylesheets/application.scss */
.tw-composer {
  display: grid;
  gap: 8px;
}

/* line 43889, app/assets/stylesheets/application.scss */
.tw-task-composer {
  gap: 10px;
  padding: 14px 16px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 10px 28px rgba(26, 29, 36, 0.06);
}

/* line 43897, app/assets/stylesheets/application.scss */
.tw-composer-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--tw-muted);
}

/* line 43905, app/assets/stylesheets/application.scss */
.tw-composer-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 43912, app/assets/stylesheets/application.scss */
.tw-composer-primary .tw-voice-field {
  flex: 1;
  min-width: 0;
}

/* line 43917, app/assets/stylesheets/application.scss */
.tw-voice-field {
  position: relative;
  display: block;
  min-width: 0;
}

/* line 43923, app/assets/stylesheets/application.scss */
.tw-voice-field > .tw-input,
.tw-voice-field > input,
.tw-voice-field > textarea {
  width: 100%;
  padding-right: 40px;
}

/* line 43930, app/assets/stylesheets/application.scss */
.tw-voice-field.is-textarea > textarea,
.tw-voice-field.is-textarea .tw-detail-textarea {
  padding-bottom: 36px;
}

/* line 43935, app/assets/stylesheets/application.scss */
.tw-field-voice {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--tw-muted, #5f6368);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

/* line 43952, app/assets/stylesheets/application.scss */
.tw-field-voice:hover {
  background: var(--tw-accent-soft, #e8eeff);
  color: var(--tw-accent, #3d6bfd);
}

/* line 43957, app/assets/stylesheets/application.scss */
.tw-field-voice.is-recording {
  background: #fee2e2;
  color: #b91c1c;
}

/* line 43962, app/assets/stylesheets/application.scss */
.tw-field-voice .heroicon {
  width: 16px;
  height: 16px;
  display: block;
}

/* line 43968, app/assets/stylesheets/application.scss */
.tw-task-voice-status {
  margin: 0;
  min-height: 0;
  flex: 1;
  min-width: 0;
}

/* line 43975, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-task-voice-status {
  margin: -2px 0 2px;
}

/* line 43979, app/assets/stylesheets/application.scss */
.tw-composer-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
  font-size: 14px;
}

/* line 43991, app/assets/stylesheets/application.scss */
.tw-composer-mark .heroicon,
.tw-composer-mark i {
  width: 16px;
  height: 16px;
}

/* line 43997, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-title {
  flex: 1;
  min-width: 0;
  padding: 8px 40px 8px 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: transparent;
}

/* line 44007, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-add-btn {
  border-radius: 12px;
  padding: 0 14px;
  background: linear-gradient(145deg, #6b8cff 0%, var(--tw-accent) 100%);
  box-shadow: 0 8px 16px rgba(61, 107, 253, 0.22);
  gap: 6px;
}

/* line 44015, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-add-btn:disabled {
  background: rgba(23, 25, 29, 0.12);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9);
}

/* line 44021, app/assets/stylesheets/application.scss */
.tw-composer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* line 44028, app/assets/stylesheets/application.scss */
.tw-composer-meta.is-extra {
  margin-top: 2px;
}

/* line 44032, app/assets/stylesheets/application.scss */
.tw-composer-extra {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(26, 29, 36, 0.06);
}

/* line 44039, app/assets/stylesheets/application.scss */
.tw-composer-extra[hidden] {
  display: none !important;
}

/* line 44043, app/assets/stylesheets/application.scss */
.tw-chip-toggle .heroicon,
.tw-chip-toggle i {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

/* line 44050, app/assets/stylesheets/application.scss */
.tw-chip-toggle.is-on {
  background: var(--tw-accent-soft);
  color: var(--tw-accent-deep);
}

/* line 44055, app/assets/stylesheets/application.scss */
.tw-chip-toggle.is-on .heroicon,
.tw-chip-toggle.is-on i {
  transform: rotate(180deg);
}

/* line 44060, app/assets/stylesheets/application.scss */
.tw-task-toolbar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

/* line 44066, app/assets/stylesheets/application.scss */
.tw-task-count {
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* line 44074, app/assets/stylesheets/application.scss */
.tw-composer-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 44080, app/assets/stylesheets/application.scss */
.tw-composer-content {
  resize: vertical;
  min-height: 2.6em;
  line-height: 1.4;
}

/* line 44086, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-content {
  width: 100%;
  border-radius: 12px;
  background: var(--tw-field);
  padding: 10px 40px 36px 12px;
  font-size: 14px;
  font-weight: 500;
}

/* line 44095, app/assets/stylesheets/application.scss */
.tw-task:hover,
.tw-note:hover,
.tw-member:hover:not(:disabled) {
  border-color: rgba(61, 107, 253, 0.22);
  box-shadow: 0 10px 22px rgba(26, 29, 36, 0.08);
  transform: translateY(-1px);
}

/* line 44103, app/assets/stylesheets/application.scss */
.tw-task:hover {
  box-shadow: none;
  transform: none;
  border-color: rgba(26, 29, 36, 0.18);
}

/* line 44109, app/assets/stylesheets/application.scss */
.tw-task.is-overdue {
  box-shadow: none;
  border-color: rgba(26, 29, 36, 0.22);
}

/* line 44114, app/assets/stylesheets/application.scss */
.tw-task.is-done {
  opacity: 0.78;
}

/* line 44118, 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 44133, app/assets/stylesheets/application.scss */
.tw-task {
  position: relative;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  overflow: visible;
  z-index: 0;
}

/* line 44143, app/assets/stylesheets/application.scss */
.tw-task:hover,
.tw-task:focus-within,
.tw-task.is-picker-open,
.tw-task:has(.tw-task-reacts:hover),
.tw-task:has(.tw-task-reacts.is-picker-open),
.tw-task:has(.tw-task-reacts:focus-within),
.tw-task:has(.tw-task-more-menu) {
  z-index: 6;
}

/* line 44153, app/assets/stylesheets/application.scss */
.tw-task-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 44161, app/assets/stylesheets/application.scss */
.tw-task-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

/* line 44168, app/assets/stylesheets/application.scss */
.tw-task-top .tw-task-main {
  flex: 1;
  min-width: 0;
}

/* line 44173, app/assets/stylesheets/application.scss */
.tw-task-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: auto;
  min-width: 0;
}

/* line 44182, app/assets/stylesheets/application.scss */
.tw-task-foot .tw-task-meta {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
}

/* line 44188, app/assets/stylesheets/application.scss */
.tw-task-foot .tw-task-meta.is-empty {
  display: block !important;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  pointer-events: none;
}

/* line 44197, app/assets/stylesheets/application.scss */
.tw-task-foot .tw-task-reacts {
  flex: 0 0 auto;
  width: auto;
  margin-top: 0;
}

/* line 44203, app/assets/stylesheets/application.scss */
.tw-task-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(120px, 1fr);
  gap: 12px 14px;
  align-items: start;
}

/* line 44210, app/assets/stylesheets/application.scss */
.tw-task-main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 44217, app/assets/stylesheets/application.scss */
.tw-task-side-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

/* line 44225, app/assets/stylesheets/application.scss */
.tw-task-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 2px;
  flex: 0 0 auto;
  opacity: 0.85;
  transition: opacity 0.15s ease;
  position: relative;
  z-index: 2;
}

/* line 44238, app/assets/stylesheets/application.scss */
.tw-task:hover .tw-task-tools,
.tw-task.is-pinned .tw-task-tools,
.tw-task:has(.tw-task-more-menu) .tw-task-tools {
  opacity: 1;
}

/* line 44244, app/assets/stylesheets/application.scss */
.tw-task-pin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #e11d48;
  flex: 0 0 auto;
}

/* line 44254, app/assets/stylesheets/application.scss */
.tw-task-pin-badge .heroicon {
  transform: rotate(35deg);
  fill: currentColor;
}

/* line 44259, app/assets/stylesheets/application.scss */
.tw-task-more-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 44264, app/assets/stylesheets/application.scss */
.tw-task-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--tw-muted);
  cursor: pointer;
}

/* line 44277, app/assets/stylesheets/application.scss */
.tw-task-tool .heroicon,
.tw-task-tool svg {
  pointer-events: none;
  flex: 0 0 auto;
}

/* line 44283, app/assets/stylesheets/application.scss */
.tw-task-tool:hover:not(:disabled),
.tw-task-tool.is-open {
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-ink);
}

/* line 44289, app/assets/stylesheets/application.scss */
.tw-task-ask-ai:hover:not(:disabled),
.tw-task-ask-ai:focus-visible {
  color: #0f766e;
  background: rgba(15, 118, 110, 0.1);
}

/* line 44295, app/assets/stylesheets/application.scss */
.tw-task-to-calendar:hover:not(:disabled),
.tw-task-to-calendar:focus-visible {
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.1);
}

/* line 44301, app/assets/stylesheets/application.scss */
.tw-task-tool.is-on {
  color: #e11d48;
  background: transparent;
}

/* line 44306, app/assets/stylesheets/application.scss */
.tw-task-tool.is-on .heroicon {
  transform: rotate(35deg);
  fill: currentColor;
  color: #e11d48;
}

/* line 44312, app/assets/stylesheets/application.scss */
.tw-task-tool:disabled {
  opacity: 0.28;
  cursor: default;
}

/* line 44317, app/assets/stylesheets/application.scss */
.tw-task-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 50;
  min-width: 168px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.1);
  box-shadow: 0 12px 28px rgba(26, 29, 36, 0.14);
  display: grid;
  gap: 2px;
}

/* line 44332, app/assets/stylesheets/application.scss */
.tw-task-more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--tw-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 44350, app/assets/stylesheets/application.scss */
.tw-task-more-item:hover:not(:disabled),
.tw-task-more-item:focus-visible {
  background: rgba(26, 29, 36, 0.06);
  outline: none;
}

/* line 44356, app/assets/stylesheets/application.scss */
.tw-task-more-item.is-on {
  color: #e11d48;
}

/* line 44360, app/assets/stylesheets/application.scss */
.tw-task-more-item.is-on .tw-task-more-ico {
  color: #e11d48;
}

/* line 44364, app/assets/stylesheets/application.scss */
.tw-task-more-item:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 44369, app/assets/stylesheets/application.scss */
.tw-task-more-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--tw-muted);
  flex: 0 0 auto;
}

/* line 44379, app/assets/stylesheets/application.scss */
.tw-task-more-ico .heroicon,
.tw-task-more-ico svg {
  pointer-events: none;
}

/* line 44384, app/assets/stylesheets/application.scss */
.tw-task-side-col .tw-task-comments {
  width: 100%;
  margin-top: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(26, 29, 36, 0.035);
  display: grid;
  gap: 6px;
  align-self: stretch;
}

/* line 44395, app/assets/stylesheets/application.scss */
.tw-task-comments {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(26, 29, 36, 0.035);
  display: grid;
  gap: 8px;
}

/* line 44404, app/assets/stylesheets/application.scss */
.tw-task-comments[hidden],
.tw-task-comments.is-empty {
  display: none;
}

/* line 44409, app/assets/stylesheets/application.scss */
.tw-task-comments.is-open {
  max-height: 280px;
  overflow: auto;
}

/* line 44414, app/assets/stylesheets/application.scss */
.tw-task-comment {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
}

/* line 44422, app/assets/stylesheets/application.scss */
.tw-task-comment-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 44429, app/assets/stylesheets/application.scss */
.tw-task-comment strong {
  font-size: 11px;
  font-weight: 650;
  color: var(--tw-ink);
}

/* line 44435, app/assets/stylesheets/application.scss */
.tw-task-comment span {
  color: var(--tw-muted);
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 44441, app/assets/stylesheets/application.scss */
.tw-task-comment-reply {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  color: var(--tw-muted);
  cursor: pointer;
  opacity: 0.55;
}

/* line 44458, app/assets/stylesheets/application.scss */
.tw-task-comment-reply:hover {
  opacity: 1;
  color: var(--tw-ink);
  background: rgba(26, 29, 36, 0.06);
  text-decoration: none;
}

/* line 44465, app/assets/stylesheets/application.scss */
.tw-task-comments.is-compose-only {
  background: transparent;
  padding: 0;
}

/* line 44470, app/assets/stylesheets/application.scss */
.tw-task-comments-empty {
  margin: 0;
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 44476, app/assets/stylesheets/application.scss */
.tw-task-comments-more {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: var(--tw-accent);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* line 44487, app/assets/stylesheets/application.scss */
.tw-task-reply {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
}

/* line 44494, app/assets/stylesheets/application.scss */
.tw-task-reply-input {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 44504, app/assets/stylesheets/application.scss */
.tw-task-reply-send {
  border: 0;
  border-radius: 10px;
  background: var(--tw-ink);
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* line 44515, app/assets/stylesheets/application.scss */
.tw-task-reply-send:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 44520, app/assets/stylesheets/application.scss */
.tw-task-reacts {
  margin-top: 0;
  width: 100%;
  display: grid;
  gap: 6px;
  justify-items: end;
  position: relative;
}

/* line 44529, app/assets/stylesheets/application.scss */
.tw-task-react-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: 100%;
}

/* line 44537, app/assets/stylesheets/application.scss */
.tw-task-react {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 32px;
  padding: 3px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tw-ink);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: background 0.12s ease, transform 0.12s ease;
}

/* line 44553, app/assets/stylesheets/application.scss */
.tw-task-react .heroicon,
.tw-task-react svg,
.tw-task-react-icon {
  pointer-events: none;
}

/* line 44559, app/assets/stylesheets/application.scss */
.tw-task-react:hover {
  background: rgba(26, 29, 36, 0.06);
}

/* line 44563, app/assets/stylesheets/application.scss */
.tw-task-react.is-on,
.tw-task-react.is-open {
  background: transparent;
}

/* line 44568, app/assets/stylesheets/application.scss */
.tw-task-react.is-on .tw-task-react-count,
.tw-task-react.is-open .tw-task-react-count {
  color: var(--tw-ink);
}

/* line 44573, app/assets/stylesheets/application.scss */
.tw-task-react.is-comment {
  color: var(--tw-muted);
}

/* line 44577, app/assets/stylesheets/application.scss */
.tw-task-react.is-comment:hover,
.tw-task-react.is-comment.is-open {
  color: var(--tw-ink);
}

/* line 44582, app/assets/stylesheets/application.scss */
.tw-task-react-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* line 44589, app/assets/stylesheets/application.scss */
.tw-task-react.is-add {
  min-width: 32px;
  justify-content: center;
  font-weight: 700;
  color: var(--tw-muted);
}

/* line 44596, app/assets/stylesheets/application.scss */
.tw-task-react.is-add.is-on,
.tw-task-reacts:hover .tw-task-react.is-add,
.tw-task-reacts.is-picker-open .tw-task-react.is-add,
.tw-task-reacts:focus-within .tw-task-react.is-add {
  color: var(--tw-ink);
}

/* line 44603, app/assets/stylesheets/application.scss */
.tw-task-react.is-add.is-seed {
  min-width: auto;
  gap: 3px;
  color: var(--tw-ink);
  font-weight: inherit;
}

/* line 44610, app/assets/stylesheets/application.scss */
.tw-task-react-emoji {
  font-size: 18px;
  line-height: 1;
}

/* line 44615, app/assets/stylesheets/application.scss */
.tw-task-react-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--tw-muted);
  min-width: 0.7em;
}

/* line 44622, app/assets/stylesheets/application.scss */
.tw-task-react-picker {
  display: none;
  position: absolute;
  right: 0;
  bottom: 100%;
  top: auto;
  z-index: 40;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px;
  width: max-content;
  max-width: min(240px, 78vw);
  min-width: 0;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.08);
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.16);
}

/* Invisible bridge so the pointer can reach the picker without losing hover. */
/* line 44643, app/assets/stylesheets/application.scss */
.tw-task-react-picker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

/* line 44652, app/assets/stylesheets/application.scss */
.tw-task-reacts:hover .tw-task-react-picker,
.tw-task-reacts.is-picker-open .tw-task-react-picker,
.tw-task-reacts:focus-within .tw-task-react-picker {
  display: flex;
}

/* line 44658, app/assets/stylesheets/application.scss */
.tw-task-react-pick {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: pointer;
}

/* line 44673, app/assets/stylesheets/application.scss */
.tw-task-react-pick:hover {
  background: rgba(26, 29, 36, 0.06);
}

/* —— Task comments overlay (Team work) —— */
/* line 44678, app/assets/stylesheets/application.scss */
.tw-sheet.is-task-comments {
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100% - 24px));
  height: min(920px, calc(100% - 24px));
  max-height: min(920px, calc(100% - 24px));
  min-height: min(720px, calc(100% - 24px));
  background: #fff;
}

/* line 44688, app/assets/stylesheets/application.scss */
.tw-cmt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
  flex: 0 0 auto;
  background: #fff;
}

/* line 44698, app/assets/stylesheets/application.scss */
.tw-cmt-head-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 44705, app/assets/stylesheets/application.scss */
.tw-cmt-head-copy strong {
  font-size: var(--tw-font-size-lg, 17px);
  font-weight: var(--tw-weight-semibold, 650);
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--tw-ink);
}

/* line 44713, app/assets/stylesheets/application.scss */
.tw-cmt-head-copy span {
  font-size: var(--tw-font-size-sm, 13px);
  font-weight: var(--tw-weight-regular, 400);
  line-height: 1.3;
  color: var(--tw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 44723, app/assets/stylesheets/application.scss */
.tw-cmt-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 44732, app/assets/stylesheets/application.scss */
.tw-cmt-body .tw-cmt-panel {
  z-index: 1;
}

/* line 44736, app/assets/stylesheets/application.scss */
.tw-cmt-split {
  flex: 1;
  min-height: 0;
  display: grid;
  /* Give the task pane equal-or-more room so long titles/descriptions can breathe. */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0;
  overflow: visible;
}

/* line 44746, app/assets/stylesheets/application.scss */
.tw-cmt-task {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-right: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
  overflow: auto;
  background: var(--tw-wash, #f8f9fa);
}

/* line 44756, app/assets/stylesheets/application.scss */
.tw-cmt-task-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
  box-sizing: border-box;
}

/* line 44769, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-task-title-row {
  align-items: flex-start;
  gap: 8px;
}

/* Override list-card clamps — comments overlay has room for full task copy. */
/* line 44775, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-task-title-row .tw-task-title,
.tw-cmt-task-card .tw-task-title {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  -webkit-line-clamp: unset;
  font-size: var(--tw-font-size-lg, 17px);
  font-weight: var(--tw-weight-semibold, 650);
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--tw-ink);
}

/* line 44791, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-task-objective,
.tw-cmt-task-card .tw-task-content {
  margin: 0;
  flex: 0 1 auto;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  font-size: var(--tw-font-size-md, 15px);
  font-weight: var(--tw-weight-regular, 400) !important;
  line-height: 1.55;
  color: var(--tw-muted);
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 44807, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

/* line 44814, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-secondary-btn {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
}

/* line 44820, app/assets/stylesheets/application.scss */
.tw-cmt-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: visible;
}

/* line 44829, app/assets/stylesheets/application.scss */
.tw-cmt-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 8px;
  flex: 0 0 auto;
}

/* line 44838, app/assets/stylesheets/application.scss */
.tw-cmt-panel-head strong {
  font-size: var(--tw-font-size-md, 15px);
  font-weight: var(--tw-weight-semibold, 650);
  letter-spacing: 0;
  color: var(--tw-ink);
}

/* line 44845, app/assets/stylesheets/application.scss */
.tw-cmt-panel-head span {
  min-width: 1.4rem;
  height: 22px;
  padding: 0 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-wash, #f8f9fa);
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 44859, app/assets/stylesheets/application.scss */
.tw-cmt-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 0;
}

/* line 44871, app/assets/stylesheets/application.scss */
.tw-cmt-react-picker {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  bottom: auto;
  z-index: 30;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px;
  width: max-content;
  max-width: min(220px, 70vw);
  min-width: 0;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.08);
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.16);
}

/* line 44891, app/assets/stylesheets/application.scss */
.tw-cmt-react-picker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 100%;
  height: 14px;
}

/* line 44901, app/assets/stylesheets/application.scss */
.tw-cmt-empty {
  margin: auto;
  padding: 24px 16px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  color: var(--tw-muted);
}

/* line 44911, app/assets/stylesheets/application.scss */
.tw-cmt-empty-icon {
  display: inline-flex;
  color: rgba(26, 29, 36, 0.28);
  margin-bottom: 2px;
}

/* line 44917, app/assets/stylesheets/application.scss */
.tw-cmt-empty strong {
  font-size: var(--tw-font-size-md, 15px);
  font-weight: var(--tw-weight-semibold, 650);
  color: var(--tw-ink);
}

/* line 44923, app/assets/stylesheets/application.scss */
.tw-cmt-empty p {
  margin: 0;
  max-width: 16rem;
  font-size: var(--tw-font-size-sm, 13px);
  font-weight: var(--tw-weight-regular, 400);
  line-height: 1.4;
}

/* line 44931, app/assets/stylesheets/application.scss */
.tw-cmt-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 44937, app/assets/stylesheets/application.scss */
.tw-cmt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* line 44943, app/assets/stylesheets/application.scss */
.tw-cmt.is-reply {
  margin-left: 18px;
  padding-left: 10px;
  border-left: 2px solid var(--tw-line, rgba(26, 29, 36, 0.1));
}

/* line 44949, app/assets/stylesheets/application.scss */
.tw-cmt-avatar,
.tw-cmt-composer-avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eaf0;
  color: var(--tw-ink);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

/* line 44964, app/assets/stylesheets/application.scss */
.tw-cmt-avatar img,
.tw-cmt-composer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 44971, app/assets/stylesheets/application.scss */
.tw-cmt-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}

/* line 44978, app/assets/stylesheets/application.scss */
.tw-cmt-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
}

/* line 44985, app/assets/stylesheets/application.scss */
.tw-cmt-meta strong {
  font-size: var(--tw-font-size-sm, 13px);
  font-weight: var(--tw-weight-semibold, 650);
  color: var(--tw-ink);
  line-height: 1.3;
}

/* line 44992, app/assets/stylesheets/application.scss */
.tw-cmt-meta span {
  font-size: 12px;
  font-weight: 400;
  color: var(--tw-muted);
}

/* line 44998, app/assets/stylesheets/application.scss */
.tw-cmt-text {
  margin: 0;
  font-size: var(--tw-font-size-md, 15px);
  font-weight: var(--tw-weight-regular, 400);
  line-height: 1.45;
  color: var(--tw-ink);
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 45008, app/assets/stylesheets/application.scss */
.tw-cmt-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  position: relative;
}

/* line 45016, app/assets/stylesheets/application.scss */
.tw-cmt-reacts {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 45023, app/assets/stylesheets/application.scss */
.tw-cmt-react-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tw-muted);
  cursor: pointer;
}

/* line 45037, app/assets/stylesheets/application.scss */
.tw-cmt-react-add.is-seed {
  width: auto;
  min-width: 24px;
  height: auto;
  min-height: 22px;
  padding: 1px 6px;
  gap: 3px;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.05);
  color: var(--tw-ink);
  font-size: 12px;
  line-height: 1;
}

/* line 45051, app/assets/stylesheets/application.scss */
.tw-cmt-react-add.is-seed.is-on {
  background: rgba(61, 107, 253, 0.12);
}

/* line 45055, app/assets/stylesheets/application.scss */
.tw-cmt-react-add .tw-cmt-react-emoji {
  font-size: 14px;
  line-height: 1;
}

/* line 45060, app/assets/stylesheets/application.scss */
.tw-cmt-react-add .tw-cmt-react-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted);
}

/* line 45066, app/assets/stylesheets/application.scss */
.tw-cmt-react-add:hover,
.tw-cmt-reacts:hover .tw-cmt-react-add,
.tw-cmt-reacts.is-picker-open .tw-cmt-react-add,
.tw-cmt-reacts:focus-within .tw-cmt-react-add {
  color: var(--tw-ink);
  background: rgba(26, 29, 36, 0.06);
}

/* line 45074, app/assets/stylesheets/application.scss */
.tw-cmt-react-add.is-seed:hover,
.tw-cmt-reacts:hover .tw-cmt-react-add.is-seed,
.tw-cmt-reacts.is-picker-open .tw-cmt-react-add.is-seed,
.tw-cmt-reacts:focus-within .tw-cmt-react-add.is-seed {
  background: rgba(26, 29, 36, 0.08);
}

/* line 45081, app/assets/stylesheets/application.scss */
.tw-cmt-react-add.is-seed.is-on:hover,
.tw-cmt-reacts:hover .tw-cmt-react-add.is-seed.is-on,
.tw-cmt-reacts.is-picker-open .tw-cmt-react-add.is-seed.is-on,
.tw-cmt-reacts:focus-within .tw-cmt-react-add.is-seed.is-on {
  background: rgba(61, 107, 253, 0.16);
}

/* line 45088, app/assets/stylesheets/application.scss */
.tw-cmt-react-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 22px;
  padding: 1px 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.05);
  color: var(--tw-ink);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

/* line 45103, app/assets/stylesheets/application.scss */
.tw-cmt-react-chip.is-on {
  background: rgba(61, 107, 253, 0.12);
}

/* line 45107, app/assets/stylesheets/application.scss */
.tw-cmt-react-chip .tw-cmt-react-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted);
}

/* line 45113, app/assets/stylesheets/application.scss */
.tw-cmt-reacts:hover .tw-cmt-react-picker,
.tw-cmt-reacts.is-picker-open .tw-cmt-react-picker,
.tw-cmt-reacts:focus-within .tw-cmt-react-picker {
  display: flex;
}

/* line 45119, app/assets/stylesheets/application.scss */
.tw-cmt-react-pick {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

/* line 45129, app/assets/stylesheets/application.scss */
.tw-cmt-react-pick:hover {
  background: rgba(26, 29, 36, 0.06);
}

/* line 45133, app/assets/stylesheets/application.scss */
.tw-cmt-reply {
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tw-muted);
  font: inherit;
  font-size: var(--tw-font-size-sm, 13px);
  font-weight: var(--tw-weight-medium, 500);
  cursor: pointer;
}

/* line 45146, app/assets/stylesheets/application.scss */
.tw-cmt-reply:hover {
  color: var(--tw-ink);
}

/* line 45150, app/assets/stylesheets/application.scss */
.tw-cmt-delete {
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tw-muted);
  font: inherit;
  font-size: var(--tw-font-size-sm, 13px);
  font-weight: var(--tw-weight-medium, 500);
  cursor: pointer;
}

/* line 45163, app/assets/stylesheets/application.scss */
.tw-cmt-delete:hover {
  color: #b91c1c;
}

/* line 45167, app/assets/stylesheets/application.scss */
.tw-cmt-composer {
  flex: 0 0 auto;
  padding: 10px 14px 14px;
  border-top: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
  background: #fff;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 8;
  overflow: visible;
}

/* line 45179, app/assets/stylesheets/application.scss */
.tw-cmt-composer-field {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: visible;
}

/* line 45186, app/assets/stylesheets/application.scss */
.tw-cmt-mentions,
.tw-cmt-composer-field > .perk-mention-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  top: auto;
  z-index: 40;
  max-height: 220px;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* line 45204, app/assets/stylesheets/application.scss */
.tw-cmt-mentions .perk-mention-suggestions,
.tw-note-mentions .perk-mention-suggestions {
  margin: 0;
  max-height: 220px;
}

/* line 45210, app/assets/stylesheets/application.scss */
.tw-cmt-mentions.is-fixed-open {
  position: fixed !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10050 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* line 45221, app/assets/stylesheets/application.scss */
.tw-cmt-mentions.is-fixed-open .perk-mention-suggestions {
  box-shadow: 0 12px 32px rgba(15, 18, 22, 0.18);
}

/* line 45225, app/assets/stylesheets/application.scss */
.tw-cmt-reply-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--tw-accent-soft, rgba(61, 107, 253, 0.1));
  color: var(--tw-accent-deep, var(--tw-accent));
  font-size: var(--tw-font-size-sm, 13px);
  font-weight: var(--tw-weight-medium, 500);
}

/* line 45238, app/assets/stylesheets/application.scss */
.tw-cmt-reply-preview button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* line 45247, app/assets/stylesheets/application.scss */
.tw-cmt-form {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: visible;
}

/* line 45255, app/assets/stylesheets/application.scss */
.tw-cmt-attach-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 45260, app/assets/stylesheets/application.scss */
.tw-cmt-attach-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-field, #f3f4f6);
  color: var(--tw-ink);
  cursor: pointer;
}

/* line 45273, app/assets/stylesheets/application.scss */
.tw-cmt-attach-btn:hover,
.tw-cmt-attach-btn[aria-expanded="true"] {
  background: rgba(26, 29, 36, 0.1);
}

/* line 45278, app/assets/stylesheets/application.scss */
.tw-cmt-attach-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  z-index: 20;
}

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

/* line 45306, app/assets/stylesheets/application.scss */
.tw-cmt-attach-menu button:hover {
  background: var(--tw-field, #f3f4f6);
}

/* line 45310, app/assets/stylesheets/application.scss */
.tw-cmt-attach-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
}

/* line 45317, app/assets/stylesheets/application.scss */
.tw-cmt-attach-list.is-pending {
  padding: 0 2px;
}

/* line 45321, app/assets/stylesheets/application.scss */
.tw-cmt-attach {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(26, 29, 36, 0.05);
  overflow: hidden;
}

/* line 45331, app/assets/stylesheets/application.scss */
.tw-cmt-attach-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 45344, app/assets/stylesheets/application.scss */
.tw-cmt-attach-open:disabled {
  cursor: default;
}

/* line 45348, app/assets/stylesheets/application.scss */
.tw-cmt-attach-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #e8eaf0;
}

/* line 45357, app/assets/stylesheets/application.scss */
.tw-cmt-attach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 45363, app/assets/stylesheets/application.scss */
.tw-cmt-attach-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--cmt-file-color, #8a7a6e);
}

/* line 45374, app/assets/stylesheets/application.scss */
.tw-cmt-attach-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

/* line 45380, app/assets/stylesheets/application.scss */
.tw-cmt-attach-copy strong {
  font-size: 12px;
  font-weight: 650;
  color: var(--tw-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 45389, app/assets/stylesheets/application.scss */
.tw-cmt-attach-copy em {
  font-size: 11px;
  font-style: normal;
  color: var(--tw-muted);
}

/* line 45395, app/assets/stylesheets/application.scss */
.tw-cmt-attach-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(15, 18, 22, 0.72);
  color: #fff;
  cursor: pointer;
}

/* line 45410, app/assets/stylesheets/application.scss */
.tw-cmt-composer-field .tw-cmt-input,
.tw-cmt-input {
  width: 100%;
  flex: 1;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: var(--tw-field, #f3f4f6);
  color: var(--tw-ink);
  font: inherit;
  font-size: var(--tw-font-size-md, 15px);
  outline: none;
}

/* line 45427, app/assets/stylesheets/application.scss */
.tw-cmt-input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(61, 107, 253, 0.28);
}

/* line 45432, app/assets/stylesheets/application.scss */
.tw-cmt-send {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-accent);
  color: #fff;
  cursor: pointer;
}

/* line 45446, app/assets/stylesheets/application.scss */
.tw-cmt-send:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 45451, app/assets/stylesheets/application.scss */
.tw-cmt-send:not(:disabled):hover {
  background: var(--tw-accent-deep, #2f54d0);
}

/* line 45455, app/assets/stylesheets/application.scss */
.tw-people-actions .tw-primary-btn {
  flex: 1;
}

/* line 45459, app/assets/stylesheets/application.scss */
.tw-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--tw-ink);
  outline: none;
}

/* line 45468, app/assets/stylesheets/application.scss */
.tw-input.solid {
  width: 100%;
  border: 0;
  background: var(--tw-field);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
}

/* line 45477, app/assets/stylesheets/application.scss */
.tw-search {
  width: 100%;
  border: 0;
  background: var(--tw-field);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tw-muted);
  min-height: 36px;
}

/* line 45491, app/assets/stylesheets/application.scss */
.tw-search .heroicon,
.tw-search > svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.72;
}

/* line 45499, app/assets/stylesheets/application.scss */
.tw-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--tw-ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  min-width: 0;
}

/* line 45511, 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 45529, app/assets/stylesheets/application.scss */
.tw-add-btn:disabled {
  background: rgba(23, 25, 29, 0.18);
  cursor: default;
}

/* line 45534, app/assets/stylesheets/application.scss */
.tw-new-project,
.tw-new-note {
  width: 100%;
  border-radius: 14px;
}

/* line 45540, app/assets/stylesheets/application.scss */
.tw-new-note {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 45545, app/assets/stylesheets/application.scss */
.tw-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

/* line 45554, app/assets/stylesheets/application.scss */
.tw-panel-toolbar .tw-note-search {
  margin-right: auto;
}

/* line 45558, app/assets/stylesheets/application.scss */
.tw-panel-copy {
  display: none;
}

/* line 45562, app/assets/stylesheets/application.scss */
.tw-primary-btn,
.tw-secondary-btn {
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  min-height: var(--tw-btn-h);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

/* line 45578, app/assets/stylesheets/application.scss */
.tw-primary-btn.sm,
.tw-secondary-btn.sm {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 10px;
}

/* line 45586, app/assets/stylesheets/application.scss */
.tw-primary-btn {
  background: linear-gradient(145deg, #6b8cff 0%, var(--tw-accent) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(61, 107, 253, 0.28);
}

/* line 45592, app/assets/stylesheets/application.scss */
.tw-primary-btn:hover {
  background: linear-gradient(145deg, #5f82ff 0%, var(--tw-accent-deep) 100%);
}

/* line 45596, app/assets/stylesheets/application.scss */
.tw-secondary-btn {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 45601, app/assets/stylesheets/application.scss */
.tw-done-btn {
  min-width: 88px;
}

/* line 45605, app/assets/stylesheets/application.scss */
.tw-note-search {
  flex: 1;
  min-width: 140px;
  max-width: 280px;
}

/* line 45611, app/assets/stylesheets/application.scss */
.tw-tpl-search.tw-note-search,
.tw-tpl .tw-search {
  max-width: 320px;
}

/* line 45616, 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 45625, app/assets/stylesheets/application.scss */
.tw-project-title {
  min-width: 0;
  display: grid;
  gap: 8px;
}

/* line 45631, app/assets/stylesheets/application.scss */
.tw-project-title strong {
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

/* line 45637, app/assets/stylesheets/application.scss */
.tw-project-meta {
  color: var(--tw-muted);
  font-size: 13px;
}

/* line 45642, app/assets/stylesheets/application.scss */
.tw-project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 45649, 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 45662, app/assets/stylesheets/application.scss */
.tw-health.is-on_track {
  background: #ecfdf5;
  color: #047857;
}

/* line 45667, app/assets/stylesheets/application.scss */
.tw-health.is-at_risk,
.tw-health.is-overdue {
  background: #fef2f2;
  color: #b91c1c;
}

/* line 45673, app/assets/stylesheets/application.scss */
.tw-health.is-done {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 45678, app/assets/stylesheets/application.scss */
.tw-project-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tw-project-accent, #6f4cc7) 18%, transparent);
  flex: 0 0 auto;
}

/* line 45686, app/assets/stylesheets/application.scss */
.tw-progress-hero {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8f7fc 0%, #f4f7fb 55%, #f8fafc 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tw-project-accent, #6f4cc7) 14%, transparent);
}

/* line 45695, app/assets/stylesheets/application.scss */
.tw-progress-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* line 45702, app/assets/stylesheets/application.scss */
.tw-progress-top span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 45710, app/assets/stylesheets/application.scss */
.tw-progress-top strong {
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

/* line 45717, app/assets/stylesheets/application.scss */
.tw-progress-hero .tw-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

/* line 45724, app/assets/stylesheets/application.scss */
.tw-progress-hero .tw-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tw-project-accent, #6f4cc7), #5285f0);
  transition: width 0.35s ease;
  min-width: 0;
}

/* line 45733, app/assets/stylesheets/application.scss */
.tw-progress-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* line 45739, app/assets/stylesheets/application.scss */
.tw-metric {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px #eceef2;
  min-width: 0;
}

/* line 45749, 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;
  font-variant-numeric: tabular-nums;
}

/* line 45758, 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 45768, app/assets/stylesheets/application.scss */
.tw-metric.is-warn b {
  color: var(--perk-ink);
}

/* line 45772, app/assets/stylesheets/application.scss */
.tw-pipeline {
  position: relative;
  display: grid;
  gap: 12px;
  background: linear-gradient(90deg, rgba(230, 138, 46, 0.12), rgba(242, 201, 76, 0.12), rgba(155, 189, 69, 0.12)), #fff;
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset 0 0 0 1px #eceef2;
  overflow: hidden;
}

/* line 45785, app/assets/stylesheets/application.scss */
.tw-pipeline-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 45792, app/assets/stylesheets/application.scss */
.tw-pipeline-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 45798, app/assets/stylesheets/application.scss */
.tw-pipeline-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
}

/* line 45806, app/assets/stylesheets/application.scss */
.tw-pipeline-range {
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  color: var(--tw-muted);
}

/* line 45813, app/assets/stylesheets/application.scss */
.tw-pipe-expand {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #e6e8eb;
  color: #52565f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 45827, app/assets/stylesheets/application.scss */
.tw-pipeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px 4px;
}

/* line 45835, app/assets/stylesheets/application.scss */
.tw-pipeline-canvas {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 4px 8px 8px;
}

/* line 45842, app/assets/stylesheets/application.scss */
.tw-pipe-ms-band {
  position: relative;
  min-height: 120px;
}

/* line 45847, app/assets/stylesheets/application.scss */
.tw-pipe-ms {
  position: absolute;
  top: calc(var(--ms-lane, 0) * 10px);
  transform: translateX(-8px);
  max-width: 148px;
  border: 0;
  text-align: left;
  cursor: pointer;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 14px rgba(23, 25, 29, 0.06);
  z-index: 3;
  display: grid;
  gap: 4px;
}

/* line 45864, app/assets/stylesheets/application.scss */
.tw-pipe-ms strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2e3829;
  line-height: 1.25;
}

/* line 45873, app/assets/stylesheets/application.scss */
.tw-pipe-ms ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

/* line 45881, app/assets/stylesheets/application.scss */
.tw-pipe-ms li {
  font-size: 10px;
  font-weight: 550;
  color: #000;
  line-height: 1.3;
}

/* line 45888, app/assets/stylesheets/application.scss */
.tw-pipe-ms li::before {
  content: "• ";
}

/* line 45892, app/assets/stylesheets/application.scss */
.tw-pipe-axis {
  position: relative;
  height: 44px;
  margin: 2px 0 4px;
}

/* line 45898, app/assets/stylesheets/application.scss */
.tw-pipe-axis-track {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e68a2e, #f2c94c, #80bd38);
}

/* line 45908, app/assets/stylesheets/application.scss */
.tw-pipe-month {
  position: absolute;
  top: 4px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  z-index: 1;
}

/* line 45918, app/assets/stylesheets/application.scss */
.tw-pipe-month i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 25, 29, 0.08);
}

/* line 45926, app/assets/stylesheets/application.scss */
.tw-pipe-month em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: #374151;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

/* line 45937, app/assets/stylesheets/application.scss */
.tw-pipe-tasks {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 40px;
  padding: 4px 0 8px;
}

/* line 45945, app/assets/stylesheets/application.scss */
.tw-pipe-bar {
  position: relative;
  display: block;
  height: 26px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: color-mix(in srgb, var(--bar-color, #4a8fe3) 28%, transparent);
  box-shadow: 0 4px 10px rgba(23, 25, 29, 0.1);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* line 45959, app/assets/stylesheets/application.scss */
.tw-pipe-bar-fill {
  display: block;
  height: 100%;
  width: var(--bar-fill, 12%);
  border-radius: inherit;
  background: var(--bar-color, #4a8fe3);
}

/* line 45967, app/assets/stylesheets/application.scss */
.tw-pipe-bar.is-selected {
  box-shadow: 0 0 0 2px #fff, 0 8px 18px rgba(23, 25, 29, 0.16);
  transform: translateY(-1px);
}

/* line 45972, app/assets/stylesheets/application.scss */
.tw-pipe-today {
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 0;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* line 45984, app/assets/stylesheets/application.scss */
.tw-pipe-today em {
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #26613a;
  border-radius: 999px;
  padding: 3px 8px;
  margin-bottom: 4px;
  white-space: nowrap;
}

/* line 45998, app/assets/stylesheets/application.scss */
.tw-pipe-today span {
  flex: 1;
  width: 0;
  border-left: 1.5px dashed rgba(38, 97, 58, 0.85);
}

/* line 46004, app/assets/stylesheets/application.scss */
.tw-pipe-empty {
  font-size: 13px;
  font-style: normal;
  color: var(--tw-muted);
  padding: 10px 4px;
}

/* line 46011, app/assets/stylesheets/application.scss */
.tw-pipe-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: grid;
  gap: 10px;
  max-width: 320px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 28px rgba(23, 25, 29, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  animation: tw-pipe-card-in 0.18s ease;
}

@keyframes tw-pipe-card-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* line 46033, app/assets/stylesheets/application.scss */
.tw-pipe-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* line 46039, app/assets/stylesheets/application.scss */
.tw-pipe-card-head strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  color: #1f2429;
}

/* line 46047, app/assets/stylesheets/application.scss */
.tw-pipe-card-meta {
  margin-top: 6px;
}

/* line 46051, app/assets/stylesheets/application.scss */
.tw-pipe-card-close {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #f0f1f3;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 11px;
}

/* line 46066, app/assets/stylesheets/application.scss */
.tw-pipe-card-people {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
  color: var(--tw-muted);
}

/* line 46075, app/assets/stylesheets/application.scss */
.tw-pipe-card-people.is-muted {
  gap: 6px;
}

/* line 46079, app/assets/stylesheets/application.scss */
.tw-pipe-card-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  font-weight: 650;
  color: #000;
}

/* line 46088, app/assets/stylesheets/application.scss */
.tw-pipe-card-dates i {
  margin-right: 4px;
  opacity: 0.7;
}

/* line 46093, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
  animation: tw-pipe-card-in 0.2s ease;
}

/* line 46104, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 10px;
  border-bottom: 1px solid #eceef2;
}

/* line 46113, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen-head em {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 46123, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen-head strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

/* line 46130, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen .tw-pipeline {
  flex: 1;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* line 46139, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen .tw-pipeline-scroll {
  flex: 1;
  overflow: auto;
}

/* line 46144, app/assets/stylesheets/application.scss */
.tw-project-task-list {
  display: grid;
  gap: 8px;
}

/* line 46149, app/assets/stylesheets/application.scss */
.tw-project-task-list .tw-project-task {
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: inset 0 0 0 1px #eceef2;
  cursor: pointer;
  justify-content: space-between;
  text-align: left;
}

/* line 46161, app/assets/stylesheets/application.scss */
.tw-project-task-list .tw-project-task strong {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 46169, app/assets/stylesheets/application.scss */
.tw-project-task-list .tw-project-task span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 46176, 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;
}

/* line 46185, app/assets/stylesheets/application.scss */
.tw-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* line 46192, app/assets/stylesheets/application.scss */
.tw-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.08);
}

/* line 46202, app/assets/stylesheets/application.scss */
.tw-color-swatch.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--swatch);
}

/* line 46206, app/assets/stylesheets/application.scss */
.tw-pro-label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--tw-muted);
}

/* Professional project modals */
/* line 46214, app/assets/stylesheets/application.scss */
.tw-sheet.is-pro {
  background: #fff;
}

/* line 46218, app/assets/stylesheets/application.scss */
.tw-pro-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px 0;
}

/* line 46225, app/assets/stylesheets/application.scss */
.tw-pro-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

/* line 46232, 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 46241, 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 46248, 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 46255, app/assets/stylesheets/application.scss */
.tw-pro-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 46269, app/assets/stylesheets/application.scss */
.tw-pro-close:hover {
  background: #e8eaee;
}

/* line 46273, app/assets/stylesheets/application.scss */
.tw-pro-body {
  padding: 18px 22px 8px !important;
}

/* line 46277, app/assets/stylesheets/application.scss */
.tw-pro-fields {
  display: grid;
  gap: 16px;
}

/* line 46282, app/assets/stylesheets/application.scss */
.tw-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 46288, 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 46297, 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 46302, app/assets/stylesheets/application.scss */
.tw-pro-section h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
}

/* line 46310, app/assets/stylesheets/application.scss */
.tw-pro-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

/* line 46318, app/assets/stylesheets/application.scss */
.tw-pro-section-head h4 {
  margin: 0;
}

/* line 46322, 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 46336, app/assets/stylesheets/application.scss */
.tw-pro-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* line 46343, 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 46357, app/assets/stylesheets/application.scss */
.tw-person-chip i {
  font-size: 10px;
  color: var(--tw-muted);
}

/* line 46362, app/assets/stylesheets/application.scss */
.tw-person-chip:hover {
  background: rgba(111, 76, 199, 0.18);
}

/* line 46366, 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 46376, 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 46384, 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 46389, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend i {
  margin-left: auto;
  color: var(--tw-muted);
}

/* line 46394, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend i.tw-check-off {
  color: #000;
  font-size: 0.95em;
}

/* line 46399, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend.is-on i {
  color: var(--tw-accent);
}

/* line 46403, 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;
  align-items: center;
}

/* line 46413, app/assets/stylesheets/application.scss */
.tw-pro-foot.has-destructive {
  flex-wrap: wrap;
}

/* line 46417, app/assets/stylesheets/application.scss */
.tw-pro-foot.has-destructive .tw-pro-danger {
  width: auto;
  margin-right: auto;
}

/* line 46422, 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 46434, app/assets/stylesheets/application.scss */
.tw-pro-ghost {
  background: #f3f4f6;
  color: var(--tw-ink);
}

/* line 46439, app/assets/stylesheets/application.scss */
.tw-pro-primary {
  background-color: #6f4cc7;
  background: var(--tw-accent, #6f4cc7);
  color: #fff;
  min-width: 112px;
}

/* line 46446, app/assets/stylesheets/application.scss */
.tw-pro-primary:hover {
  filter: brightness(0.96);
}

/* line 46450, app/assets/stylesheets/application.scss */
.tw-pro-danger {
  width: 100%;
  background: #f3f4f6;
  color: var(--perk-ink);
}

@media (max-width: 640px) {
  /* line 46457, app/assets/stylesheets/application.scss */
  .tw-pro-grid {
    grid-template-columns: 1fr;
  }
  /* line 46461, app/assets/stylesheets/application.scss */
  .tw-progress-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 46465, app/assets/stylesheets/application.scss */
  .tw-pipe-ms {
    max-width: 120px;
  }
  /* line 46469, app/assets/stylesheets/application.scss */
  .tw-pipe-month em {
    font-size: 9px;
    padding: 2px 6px;
  }
}

/* line 46475, app/assets/stylesheets/application.scss */
.tw-note-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* line 46484, app/assets/stylesheets/application.scss */
.tw-note-toolbar-stack {
  display: grid;
  gap: 6px;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 4px 0 10px;
  background: #fff;
  border-bottom: 1px solid #eceef2;
  margin-bottom: 4px;
}

/* line 46496, app/assets/stylesheets/application.scss */
.tw-fmt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 4px 2px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* line 46510, app/assets/stylesheets/application.scss */
.tw-fmt-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
}

/* line 46526, app/assets/stylesheets/application.scss */
.tw-fmt-btn .heroicon,
.tw-fmt-btn i.fas,
.tw-fmt-btn i.far {
  color: inherit;
  stroke: currentColor;
  fill: none;
}

/* line 46534, app/assets/stylesheets/application.scss */
.tw-fmt-btn:hover,
.tw-fmt-btn:focus-visible {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.08);
}

/* line 46541, app/assets/stylesheets/application.scss */
.tw-fmt-btn span,
.tw-fmt-glyph {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: inherit;
  line-height: 1;
}

/* line 46549, app/assets/stylesheets/application.scss */
.tw-fmt-sep {
  width: 1px;
  height: 16px;
  margin: 0 5px;
  background: #d8dbe2;
}

/* line 46556, app/assets/stylesheets/application.scss */
.tw-fmt-icon-wrap,
.tw-fmt-emoji-wrap {
  position: relative;
  display: inline-flex;
}

/* line 46562, app/assets/stylesheets/application.scss */
.tw-fmt-btn.is-icon-pick {
  width: auto;
  min-width: 32px;
  padding: 0 6px;
}

/* line 46568, app/assets/stylesheets/application.scss */
.tw-fmt-icon-face {
  font-size: 16px;
  line-height: 1;
}

/* line 46573, app/assets/stylesheets/application.scss */
.tw-fmt-pop {
  position: absolute;
  z-index: 24;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tw-line);
  box-shadow: 0 12px 28px rgba(26, 29, 36, 0.14);
}

/* line 46588, app/assets/stylesheets/application.scss */
.tw-fmt-pop button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 17px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

/* line 46600, app/assets/stylesheets/application.scss */
.tw-fmt-pop button:hover,
.tw-fmt-pop button.is-on {
  background: var(--tw-accent-soft);
}

/* line 46605, app/assets/stylesheets/application.scss */
.tw-note-paper blockquote,
.tw-tpl-preview-body blockquote {
  margin: 0.4em 0;
  padding: 10px 12px;
  border-left: 3px solid #c7d2fe;
  border-radius: 0 12px 12px 0;
  background: #f5f7ff;
  color: #374151;
}

/* line 46615, app/assets/stylesheets/application.scss */
.tw-note-paper blockquote.tw-note-callout,
.tw-note-paper blockquote:has(strong:first-child),
.tw-tpl-preview-body blockquote {
  border-left-color: #fbbf24;
  background: #fffbeb;
}

/* line 46622, app/assets/stylesheets/application.scss */
.tw-note-paper hr.tw-note-rule,
.tw-tpl-preview-body hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1em 0;
}

/* line 46629, app/assets/stylesheets/application.scss */
.tw-note-compose {
  position: relative;
  flex: 1;
  display: flex;
  min-height: 56vh;
}

/* line 46636, app/assets/stylesheets/application.scss */
.tw-note-compose .tw-note-body {
  min-height: 56vh;
}

/* line 46640, app/assets/stylesheets/application.scss */
.tw-note-mentions {
  position: absolute;
  left: 0;
  right: auto;
  top: 8px;
  bottom: auto;
  z-index: 9;
  min-width: 240px;
  max-width: min(360px, 100%);
  max-height: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* line 46659, app/assets/stylesheets/application.scss */
.tw-note-mentions .perk-mention-suggestions {
  margin: 0;
}

/* line 46663, app/assets/stylesheets/application.scss */
.tw-note-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  align-items: center;
}

/* line 46673, app/assets/stylesheets/application.scss */
.tw-fmt-btn.tw-note-tool-btn.is-meeting {
  color: #9a3412;
}

/* line 46677, app/assets/stylesheets/application.scss */
.tw-fmt-btn.tw-note-tool-btn.is-recording {
  color: #b91c1c;
  background: #fef2f2;
}

/* line 46682, app/assets/stylesheets/application.scss */
.tw-fmt-btn.tw-note-tool-btn.is-ai {
  color: var(--tw-accent);
}

/* line 46686, app/assets/stylesheets/application.scss */
.tw-fmt-btn.tw-note-tool-btn.is-busy,
.tw-fmt-btn.tw-note-tool-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* line 46692, app/assets/stylesheets/application.scss */
.tw-tool-btn {
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  min-height: 40px;
  background: var(--tw-field);
  color: #111827;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

/* line 46708, app/assets/stylesheets/application.scss */
.tw-tool-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

/* line 46715, app/assets/stylesheets/application.scss */
.tw-tool-btn-icon .heroicon,
.tw-tool-btn .heroicon,
.tw-tool-btn i.fas {
  color: inherit;
  stroke: currentColor;
}

/* line 46722, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-meeting {
  background: #fff7ed;
  color: #9a3412;
}

/* line 46727, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-ai {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 46732, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-recording {
  background: #fef2f2;
  color: #b91c1c;
  animation: none;
}

/* line 46738, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-busy,
.tw-tool-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* line 46744, app/assets/stylesheets/application.scss */
.tw-ai-wrap {
  position: relative;
  display: inline-flex;
}

/* line 46749, app/assets/stylesheets/application.scss */
.tw-ai-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  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 46765, 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 46777, app/assets/stylesheets/application.scss */
.tw-ai-menu button:hover {
  background: var(--tw-field);
}

/* line 46781, 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 46790, app/assets/stylesheets/application.scss */
.tw-voice-status {
  min-height: 0;
  margin: 0;
  font-size: 13px;
  color: var(--perk-ink);
  font-weight: 600;
}

/* line 46798, app/assets/stylesheets/application.scss */
.tw-voice-status[hidden] {
  display: none;
}

/* line 46802, app/assets/stylesheets/application.scss */
.tw-recording-bar {
  position: sticky;
  bottom: 12px;
  z-index: 6;
  margin: 0 16px 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.28);
}

/* line 46817, app/assets/stylesheets/application.scss */
.tw-recording-bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  flex: 0 0 auto;
}

/* line 46825, app/assets/stylesheets/application.scss */
.tw-recording-bar.is-live .tw-recording-bar-dot {
  animation: tw-recording-pulse 1.2s ease-in-out infinite;
}

/* line 46829, app/assets/stylesheets/application.scss */
.tw-recording-bar.is-busy .tw-recording-bar-dot {
  background: #f59e0b;
  animation: none;
}

@keyframes tw-recording-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

/* line 46839, app/assets/stylesheets/application.scss */
.tw-recording-bar-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 46847, app/assets/stylesheets/application.scss */
.tw-recording-bar-copy strong {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 46855, app/assets/stylesheets/application.scss */
.tw-recording-bar-copy span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

/* line 46861, app/assets/stylesheets/application.scss */
.tw-recording-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  /* line 46869, app/assets/stylesheets/application.scss */
  .tw-recording-bar {
    flex-wrap: wrap;
    margin: 0 12px 10px;
  }
  /* line 46874, app/assets/stylesheets/application.scss */
  .tw-recording-bar-actions {
    width: 100%;
    justify-content: stretch;
  }
  /* line 46879, app/assets/stylesheets/application.scss */
  .tw-recording-bar-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* line 46885, app/assets/stylesheets/application.scss */
.tw-recording-bar-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* line 46898, app/assets/stylesheets/application.scss */
.tw-recording-bar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* line 46902, app/assets/stylesheets/application.scss */
.tw-recording-bar-btn.is-stop {
  background: #fee2e2;
  color: #991b1b;
}

/* line 46907, app/assets/stylesheets/application.scss */
.tw-recording-bar-btn.is-stop:hover {
  background: #fecaca;
}

/* line 46911, app/assets/stylesheets/application.scss */
.tw-note-editor {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0;
  background: #fff;
}

/* line 46919, app/assets/stylesheets/application.scss */
.tw-note-doc {
  gap: 0;
  padding: 8px 4px 48px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

/* line 46927, app/assets/stylesheets/application.scss */
.tw-note-doc-head {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 46933, app/assets/stylesheets/application.scss */
.tw-note-icon-wrap {
  position: relative;
  width: fit-content;
}

/* line 46938, app/assets/stylesheets/application.scss */
.tw-note-icon {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

/* line 46952, app/assets/stylesheets/application.scss */
.tw-note-icon:hover,
.tw-note-icon:focus-visible {
  background: #f4f5f7;
}

/* line 46957, app/assets/stylesheets/application.scss */
.tw-note-icon-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tw-line);
  box-shadow: var(--tw-shadow);
}

/* line 46972, app/assets/stylesheets/application.scss */
.tw-note-icon-menu button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

/* line 46982, app/assets/stylesheets/application.scss */
.tw-note-icon-menu button:hover {
  background: var(--tw-accent-soft);
}

/* line 46986, app/assets/stylesheets/application.scss */
.tw-note-doc .tw-note-title {
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tw-ink);
}

/* line 46997, app/assets/stylesheets/application.scss */
.tw-note-props {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 20px;
  padding: 8px 0 14px;
  border-bottom: 1px solid #eceef2;
  margin-bottom: 4px;
}

/* line 47006, app/assets/stylesheets/application.scss */
.tw-note-prop {
  display: grid;
  gap: 4px;
  min-width: 0;
}

/* line 47012, app/assets/stylesheets/application.scss */
.tw-note-prop.is-wide {
  grid-column: 1 / -1;
}

/* line 47016, app/assets/stylesheets/application.scss */
.tw-note-prop-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

/* line 47025, app/assets/stylesheets/application.scss */
.tw-note-prop-input {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 4px 0;
  font: inherit;
  font-size: 14px;
  color: var(--tw-ink);
  box-shadow: none;
}

/* line 47038, app/assets/stylesheets/application.scss */
.tw-note-prop-input:hover,
.tw-note-prop-input:focus,
.tw-note-prop-input:focus-visible {
  outline: none;
  background: transparent;
  box-shadow: inset 0 -1px 0 #d1d5db;
}

/* line 47046, app/assets/stylesheets/application.scss */
.tw-note-prop-input.is-textarea {
  resize: vertical;
  min-height: 52px;
  line-height: 1.45;
}

/* line 47052, app/assets/stylesheets/application.scss */
.tw-note-transcript {
  margin: 0;
  padding: 6px 0 2px;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  white-space: pre-wrap;
}

/* line 47061, app/assets/stylesheets/application.scss */
.tw-note-prop-person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

/* line 47068, app/assets/stylesheets/application.scss */
.tw-note-prop-person em,
.tw-note-prop-empty {
  font-style: normal;
  color: #6b7280;
  font-size: 13px;
}

/* line 47075, app/assets/stylesheets/application.scss */
.tw-note-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
  font-size: 12px;
  font-weight: 800;
  object-fit: cover;
  flex: 0 0 auto;
}

/* line 47089, app/assets/stylesheets/application.scss */
img.tw-note-avatar {
  background: #e5e7eb;
  color: transparent;
}

/* line 47094, app/assets/stylesheets/application.scss */
.tw-note-avatar.sm {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

/* line 47100, app/assets/stylesheets/application.scss */
.tw-note-attendee-wrap {
  position: relative;
}

/* line 47104, app/assets/stylesheets/application.scss */
.tw-note-attendees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 47111, app/assets/stylesheets/application.scss */
.tw-note-attendee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--tw-line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #374151;
}

/* line 47126, app/assets/stylesheets/application.scss */
.tw-note-attendee.is-on {
  border-color: transparent;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 47132, app/assets/stylesheets/application.scss */
.tw-note-attendee.is-add {
  padding: 4px 10px;
  color: #4b5563;
  background: var(--tw-field);
}

/* line 47138, app/assets/stylesheets/application.scss */
.tw-note-attendee em {
  display: inline-flex;
  opacity: 0.7;
}

/* line 47143, app/assets/stylesheets/application.scss */
.tw-note-attendee-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 12;
  min-width: 220px;
  max-width: min(320px, 100%);
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tw-line);
  box-shadow: 0 12px 28px rgba(26, 29, 36, 0.12);
  display: grid;
  gap: 2px;
}

/* line 47161, app/assets/stylesheets/application.scss */
.tw-note-attendee-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 8px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  text-align: left;
}

/* line 47178, app/assets/stylesheets/application.scss */
.tw-note-attendee-row:hover,
.tw-note-attendee-row.is-on {
  background: var(--tw-field);
}

/* line 47183, app/assets/stylesheets/application.scss */
.tw-note-attendee-row em {
  margin-left: auto;
  color: var(--tw-accent);
  display: inline-flex;
}

/* line 47189, app/assets/stylesheets/application.scss */
.tw-meeting-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--tw-line);
  border-radius: 18px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(26, 29, 36, 0.04);
}

/* line 47199, app/assets/stylesheets/application.scss */
.tw-meeting-card.is-combined .tw-note-toolbar {
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--tw-line);
}

/* line 47205, app/assets/stylesheets/application.scss */
.tw-meeting-card.is-combined .tw-fmt-bar {
  background: var(--tw-field);
}

/* line 47209, app/assets/stylesheets/application.scss */
.tw-meeting-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* line 47217, app/assets/stylesheets/application.scss */
.tw-meeting-card-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: -0.01em;
}

/* line 47225, app/assets/stylesheets/application.scss */
.tw-meeting-resume {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--tw-accent);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* line 47237, app/assets/stylesheets/application.scss */
.tw-meeting-resume.is-live {
  background: #dc2626;
}

/* line 47241, app/assets/stylesheets/application.scss */
.tw-meeting-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: var(--tw-field);
  width: fit-content;
}

/* line 47250, app/assets/stylesheets/application.scss */
.tw-meeting-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 10px;
  padding: 6px 10px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
}

/* line 47265, app/assets/stylesheets/application.scss */
.tw-meeting-tab.is-on {
  background: #fff;
  color: var(--tw-accent);
  box-shadow: 0 1px 4px rgba(26, 29, 36, 0.08);
}

/* line 47271, app/assets/stylesheets/application.scss */
.tw-meeting-pane {
  display: grid;
  gap: 10px;
}

/* line 47276, app/assets/stylesheets/application.scss */
.tw-meeting-field {
  display: grid;
  gap: 6px;
}

/* line 47281, app/assets/stylesheets/application.scss */
.tw-meeting-field strong {
  font-size: 13px;
}

/* line 47285, app/assets/stylesheets/application.scss */
.tw-meeting-field textarea {
  width: 100%;
  border: 1px solid var(--tw-line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  resize: vertical;
  min-height: 64px;
  background: var(--tw-field);
}

/* line 47297, app/assets/stylesheets/application.scss */
.tw-meeting-hint,
.tw-meeting-transcript {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  /* line 47307, app/assets/stylesheets/application.scss */
  .tw-note-props {
    grid-template-columns: 1fr 1fr;
  }
}

/* line 47312, app/assets/stylesheets/application.scss */
.tw-note-editor-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  background: #fff;
  padding: 12px 20px 28px;
}

/* line 47321, app/assets/stylesheets/application.scss */
.tw-note-page-menu-wrap {
  position: relative;
  display: inline-flex;
}

/* line 47326, app/assets/stylesheets/application.scss */
.tw-note-page-menu-wrap .tw-note-item-menu.is-editor {
  top: calc(100% + 6px);
  right: 0;
}

/* line 47331, app/assets/stylesheets/application.scss */
.tw-note-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 5;
}

/* line 47339, app/assets/stylesheets/application.scss */
.tw-note-delete {
  color: #000;
}

/* line 47343, app/assets/stylesheets/application.scss */
.tw-note-delete:hover,
.tw-note-delete:focus-visible {
  color: var(--perk-ink);
  background: #fff1f0;
}

/* line 47349, 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: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--tw-ink);
  background: transparent;
  margin: 0 0 4px;
  padding: 4px 0 8px;
}

/* line 47364, app/assets/stylesheets/application.scss */
.tw-note-title::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

/* line 47369, app/assets/stylesheets/application.scss */
.tw-note-body,
.tw-note-paper {
  width: 100%;
  border: 0;
  outline: none;
  min-height: 56vh;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.011em;
  color: var(--tw-ink);
  background: transparent;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  flex: 1;
}

/* line 47384, app/assets/stylesheets/application.scss */
.tw-note-paper {
  padding: 12px 0 40px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* line 47392, app/assets/stylesheets/application.scss */
.tw-note-paper:focus-visible {
  outline: none;
  box-shadow: none;
}

/* line 47397, 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 47405, 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 47416, app/assets/stylesheets/application.scss */
.tw-note-paper h1 {
  font-size: 24px;
}

/* line 47420, app/assets/stylesheets/application.scss */
.tw-note-paper h2 {
  font-size: 19px;
}

/* line 47424, app/assets/stylesheets/application.scss */
.tw-note-paper h3 {
  font-size: 16px;
}

/* line 47428, app/assets/stylesheets/application.scss */
.tw-note-paper p,
.tw-note-paper li,
.tw-note-paper blockquote {
  margin: 0 0 10px;
}

/* line 47434, app/assets/stylesheets/application.scss */
.tw-note-paper p + p {
  margin-top: 2px;
}

/* line 47438, app/assets/stylesheets/application.scss */
.tw-note-paper ul,
.tw-note-paper ol {
  margin: 4px 0 14px;
  padding: 0;
  list-style: none;
}

/* line 47445, 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 47454, 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 47463, app/assets/stylesheets/application.scss */
.tw-note-paper ol {
  counter-reset: tw-note;
}

/* line 47467, app/assets/stylesheets/application.scss */
.tw-note-paper ol > li {
  counter-increment: tw-note;
}

/* line 47471, 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 47480, app/assets/stylesheets/application.scss */
.tw-note-paper .tw-note-checks > li::before {
  content: none;
}

/* line 47484, app/assets/stylesheets/application.scss */
.tw-note-check label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

/* line 47491, app/assets/stylesheets/application.scss */
.tw-note-check input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--tw-accent);
}

/* line 47496, 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: #000;
  font-style: italic;
}

/* line 47504, 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 47512, 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 47519, app/assets/stylesheets/application.scss */
.tw-note-paper a.perk-inline-link {
  font-weight: 300;
}

/* line 47523, app/assets/stylesheets/application.scss */
.tw-note-paper code {
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--tw-field);
  color: #000;
}

/* line 47531, app/assets/stylesheets/application.scss */
.tw-note-paper strong {
  font-weight: 670;
  color: var(--tw-ink);
}

/* line 47536, 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 47547, 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 47562, 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 47576, app/assets/stylesheets/application.scss */
.tw-note-attach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 47582, app/assets/stylesheets/application.scss */
.tw-note-attach-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 47588, 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 47597, app/assets/stylesheets/application.scss */
.tw-note-attach-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 47603, app/assets/stylesheets/application.scss */
.tw-note-attach-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #000;
  cursor: pointer;
}

/* line 47613, app/assets/stylesheets/application.scss */
.tw-note-attach-remove:hover,
.tw-note-attach-remove:focus-visible {
  background: #fff1f0;
  color: var(--perk-ink);
}

/* line 47619, app/assets/stylesheets/application.scss */
.tw-note-attach.is-missing {
  opacity: 0.55;
}

/* line 47623, 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 47633, app/assets/stylesheets/application.scss */
.tw-note-chat-log {
  display: grid;
  gap: 6px;
  max-height: 120px;
  overflow: auto;
  margin-bottom: 10px;
}

/* line 47641, 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 47650, app/assets/stylesheets/application.scss */
.tw-note-chat-msg.is-user {
  background: #f3efff;
  font-weight: 300;
}

/* line 47655, 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 47662, app/assets/stylesheets/application.scss */
.tw-note-chat-msg span {
  color: var(--tw-ink);
  line-height: 1.4;
}

/* line 47667, 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 47678, app/assets/stylesheets/application.scss */
.tw-note-chat-bar > i {
  color: var(--tw-accent);
  flex: 0 0 auto;
}

/* line 47683, 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 47693, 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 47707, app/assets/stylesheets/application.scss */
.tw-note-chat-send:disabled,
.tw-note-chat-send.is-busy {
  opacity: 0.7;
  cursor: default;
}

/* line 47713, 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 47722, app/assets/stylesheets/application.scss */
.tw-assignee-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 47727, app/assets/stylesheets/application.scss */
.tw-charge {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* line 47737, app/assets/stylesheets/application.scss */
.tw-charge.is-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 15;
  width: min(320px, calc(100vw - 48px));
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(23, 25, 29, 0.16), 0 0 0 1px rgba(26, 29, 36, 0.04);
}

/* line 47749, app/assets/stylesheets/application.scss */
.tw-pro-charge .tw-charge {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

/* line 47757, app/assets/stylesheets/application.scss */
.tw-charge-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* line 47764, app/assets/stylesheets/application.scss */
.tw-charge-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 47770, app/assets/stylesheets/application.scss */
.tw-charge-head strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tw-ink);
}

/* line 47777, app/assets/stylesheets/application.scss */
.tw-charge-head span {
  font-size: 12px;
  font-weight: 500;
  color: var(--tw-muted);
  line-height: 1.35;
}

/* line 47784, app/assets/stylesheets/application.scss */
.tw-charge-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 720;
  color: var(--tw-ink);
  background: #eef0f4;
}

/* line 47799, app/assets/stylesheets/application.scss */
.tw-charge-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 47805, app/assets/stylesheets/application.scss */
.tw-charge-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 4px 8px 4px 4px;
  border: 1px solid rgba(26, 29, 36, 0.08);
  border-radius: 999px;
  background: #f7f8fb;
  color: var(--tw-ink);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* line 47821, app/assets/stylesheets/application.scss */
.tw-charge-chip:hover {
  background: #eef0f4;
  border-color: rgba(26, 29, 36, 0.14);
}

/* line 47826, app/assets/stylesheets/application.scss */
.tw-charge-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 47832, app/assets/stylesheets/application.scss */
.tw-charge-chip em {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  font-style: normal;
  color: var(--tw-muted);
  background: rgba(26, 29, 36, 0.06);
}

/* line 47843, app/assets/stylesheets/application.scss */
.tw-charge-chip .heroicon,
.tw-charge-chip i {
  width: 10px;
  height: 10px;
}

/* line 47849, app/assets/stylesheets/application.scss */
.tw-charge-list {
  display: grid;
  gap: 4px;
  max-height: 240px;
  overflow: auto;
  padding: 4px;
  border-radius: 14px;
  background: #f5f6f8;
  border: 1px solid rgba(26, 29, 36, 0.05);
}

/* line 47860, app/assets/stylesheets/application.scss */
.tw-charge-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--tw-ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

/* line 47876, app/assets/stylesheets/application.scss */
.tw-charge-row:hover {
  background: rgba(255, 255, 255, 0.88);
}

/* line 47880, app/assets/stylesheets/application.scss */
.tw-charge-row.is-on {
  background: #fff;
  box-shadow: 0 1px 0 rgba(26, 29, 36, 0.04), inset 0 0 0 1px rgba(26, 29, 36, 0.08);
}

/* line 47885, app/assets/stylesheets/application.scss */
.tw-charge-row .tw-avatar,
.tw-charge-row .tw-avatar-fallback,
.tw-charge-row img.tw-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

/* line 47893, app/assets/stylesheets/application.scss */
.tw-charge-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

/* line 47899, app/assets/stylesheets/application.scss */
.tw-charge-copy strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 47908, app/assets/stylesheets/application.scss */
.tw-charge-copy small {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted);
}

/* line 47914, app/assets/stylesheets/application.scss */
.tw-charge-check {
  display: inline-flex;
  color: #d1d5db;
}

/* line 47919, app/assets/stylesheets/application.scss */
.tw-charge-check.is-on {
  color: var(--tw-accent, #3d6bfd);
}

/* line 47923, app/assets/stylesheets/application.scss */
.tw-charge-check-off {
  opacity: 0.7;
}

/* line 47927, app/assets/stylesheets/application.scss */
.tw-charge-empty {
  margin: 0;
  padding: 4px 2px;
  color: var(--tw-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

/* line 47936, app/assets/stylesheets/application.scss */
.tw-charge-list > .tw-charge-empty {
  padding: 16px 12px;
  text-align: center;
}

/* line 47941, 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 47959, app/assets/stylesheets/application.scss */
.tw-chip:hover,
.tw-select:hover {
  background: #e8eaee;
}

/* line 47964, app/assets/stylesheets/application.scss */
.tw-chip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--tw-muted);
}

/* line 47972, app/assets/stylesheets/application.scss */
.tw-chip-value {
  font-weight: 650;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 47979, app/assets/stylesheets/application.scss */
.tw-chip-assignee {
  gap: 8px;
}

/* line 47983, app/assets/stylesheets/application.scss */
.tw-chip-select {
  padding-right: 10px;
}

/* line 47987, 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 47998, app/assets/stylesheets/application.scss */
.tw-chip input {
  border: 0;
  background: transparent;
  width: 124px;
  font: inherit;
  color: inherit;
}

/* line 48006, app/assets/stylesheets/application.scss */
.tw-avatar-stack {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* line 48012, 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 48019, app/assets/stylesheets/application.scss */
.tw-avatar-stack .tw-avatar:first-child,
.tw-avatar-stack .tw-avatar-fallback:first-child {
  margin-left: 0;
}

/* line 48024, 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 48042, app/assets/stylesheets/application.scss */
.tw-avatar-md {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

/* line 48048, app/assets/stylesheets/application.scss */
.tw-avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

/* line 48054, app/assets/stylesheets/application.scss */
.tw-avatar-more {
  background: var(--tw-field);
  color: var(--tw-muted);
  font-size: 10px;
}

/* line 48060, 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: #000;
  flex: 0 0 auto;
}

/* line 48074, app/assets/stylesheets/application.scss */
.tw-status-pill.is-todo {
  background: #f3efff;
  color: #5b3ea6;
}

/* line 48079, app/assets/stylesheets/application.scss */
.tw-status-pill.is-in_progress {
  background: #eff6ff;
  color: #1d4ed8;
}

/* line 48084, app/assets/stylesheets/application.scss */
.tw-status-pill.is-blocked {
  background: #f3f4f6;
  color: #000;
}

/* line 48089, app/assets/stylesheets/application.scss */
.tw-status-pill.is-done {
  background: #ecfdf5;
  color: #047857;
}

/* line 48094, app/assets/stylesheets/application.scss */
.tw-priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: #fff;
  background: #8b7238;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* line 48111, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-low {
  background: #567a60;
  color: #fff;
}

/* line 48116, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-medium {
  background: #8b7238;
  color: #fff;
}

/* line 48121, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-high {
  background: #964f4f;
  color: #fff;
}

/* line 48126, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-urgent {
  background: #7a3030;
  color: #fff;
}

/* line 48131, app/assets/stylesheets/application.scss */
.tw-task-title-row .tw-priority-pill,
.tw-kanban-card-main .tw-priority-pill {
  flex: 0 0 auto;
}

/* line 48136, app/assets/stylesheets/application.scss */
.tw-kanban-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

/* line 48144, app/assets/stylesheets/application.scss */
.tw-kanban-card-head .tw-task-title {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 48149, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-select-inline {
  max-width: 110px;
}

/* line 48153, app/assets/stylesheets/application.scss */
.tw-priority-select,
.tw-status-select {
  border-radius: 999px !important;
  -webkit-appearance: none;
  appearance: none;
}

/* line 48160, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-priority-select,
.tw-task-settings select.tw-group-settings-input.tw-status-select,
.tw-task-settings-cell select.tw-priority-select,
.tw-task-settings-cell select.tw-status-select {
  border-radius: 999px !important;
}

/* line 48167, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select {
  border-radius: 999px !important;
  padding: 4px 10px;
}

/* line 48172, app/assets/stylesheets/application.scss */
.tw-priority-select.is-low,
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-low,
.tw-task-settings-cell select.tw-priority-select.is-low {
  background: #567a60 !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48181, app/assets/stylesheets/application.scss */
.tw-priority-select.is-medium,
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-medium,
.tw-task-settings-cell select.tw-priority-select.is-medium {
  background: #8b7238 !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48190, app/assets/stylesheets/application.scss */
.tw-priority-select.is-high,
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-high,
.tw-task-settings-cell select.tw-priority-select.is-high {
  background: #964f4f !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48199, app/assets/stylesheets/application.scss */
.tw-priority-select.is-urgent,
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-urgent,
.tw-task-settings-cell select.tw-priority-select.is-urgent {
  background: #7a3030 !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48208, app/assets/stylesheets/application.scss */
.tw-status-select.is-todo,
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-todo,
.tw-task-settings-cell select.tw-status-select.is-todo {
  background: #f3efff !important;
  color: #5b3ea6 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48217, app/assets/stylesheets/application.scss */
.tw-status-select.is-in_progress,
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-in_progress,
.tw-task-settings-cell select.tw-status-select.is-in_progress {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48226, app/assets/stylesheets/application.scss */
.tw-status-select.is-blocked,
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-blocked,
.tw-task-settings-cell select.tw-status-select.is-blocked {
  background: #f3f4f6 !important;
  color: #17191d !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48235, app/assets/stylesheets/application.scss */
.tw-status-select.is-done,
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-done,
.tw-task-settings-cell select.tw-status-select.is-done {
  background: #ecfdf5 !important;
  color: #047857 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 48244, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-low {
  color: #567a60;
}

/* line 48245, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-medium {
  color: #8b7238;
}

/* line 48246, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-high {
  color: #964f4f;
}

/* line 48247, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-urgent {
  color: #7a3030;
}

/* line 48248, app/assets/stylesheets/application.scss */
.tw-status-select option.is-todo {
  color: #5b3ea6;
}

/* line 48249, app/assets/stylesheets/application.scss */
.tw-status-select option.is-in_progress {
  color: #1d4ed8;
}

/* line 48250, app/assets/stylesheets/application.scss */
.tw-status-select option.is-blocked {
  color: #17191d;
}

/* line 48251, app/assets/stylesheets/application.scss */
.tw-status-select option.is-done {
  color: #047857;
}

/* line 48253, app/assets/stylesheets/application.scss */
.tw-priority-select option,
.tw-status-select option {
  background: #fff;
}

/* Keep tone colors while focused (group-settings :focus otherwise forces white bg). */
/* line 48259, app/assets/stylesheets/application.scss */
.tw-priority-select.is-low:focus,
.tw-group-settings-input.tw-priority-select.is-low:focus {
  background: #567a60 !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48266, app/assets/stylesheets/application.scss */
.tw-priority-select.is-medium:focus,
.tw-group-settings-input.tw-priority-select.is-medium:focus {
  background: #8b7238 !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48273, app/assets/stylesheets/application.scss */
.tw-priority-select.is-high:focus,
.tw-group-settings-input.tw-priority-select.is-high:focus {
  background: #964f4f !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48280, app/assets/stylesheets/application.scss */
.tw-priority-select.is-urgent:focus,
.tw-group-settings-input.tw-priority-select.is-urgent:focus {
  background: #7a3030 !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48287, app/assets/stylesheets/application.scss */
.tw-status-select.is-todo:focus,
.tw-group-settings-input.tw-status-select.is-todo:focus {
  background: #f3efff !important;
  color: #5b3ea6 !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48294, app/assets/stylesheets/application.scss */
.tw-status-select.is-in_progress:focus,
.tw-group-settings-input.tw-status-select.is-in_progress:focus {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48301, app/assets/stylesheets/application.scss */
.tw-status-select.is-blocked:focus,
.tw-group-settings-input.tw-status-select.is-blocked:focus {
  background: #f3f4f6 !important;
  color: #17191d !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48308, app/assets/stylesheets/application.scss */
.tw-status-select.is-done:focus,
.tw-group-settings-input.tw-status-select.is-done:focus {
  background: #ecfdf5 !important;
  color: #047857 !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48316, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-priority-select:focus,
.tw-task-settings select.tw-group-settings-input.tw-status-select:focus,
.tw-task-settings-cell select.tw-priority-select:focus,
.tw-task-settings-cell select.tw-status-select:focus {
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 48324, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-low:focus,
.tw-task-settings-cell select.tw-priority-select.is-low:focus {
  background: #567a60 !important;
  color: #fff !important;
}

/* line 48326, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-medium:focus,
.tw-task-settings-cell select.tw-priority-select.is-medium:focus {
  background: #8b7238 !important;
  color: #fff !important;
}

/* line 48328, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-high:focus,
.tw-task-settings-cell select.tw-priority-select.is-high:focus {
  background: #964f4f !important;
  color: #fff !important;
}

/* line 48330, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-priority-select.is-urgent:focus,
.tw-task-settings-cell select.tw-priority-select.is-urgent:focus {
  background: #7a3030 !important;
  color: #fff !important;
}

/* line 48333, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-todo:focus,
.tw-task-settings-cell select.tw-status-select.is-todo:focus {
  background: #f3efff !important;
  color: #5b3ea6 !important;
}

/* line 48335, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-in_progress:focus,
.tw-task-settings-cell select.tw-status-select.is-in_progress:focus {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

/* line 48337, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-blocked:focus,
.tw-task-settings-cell select.tw-status-select.is-blocked:focus {
  background: #f3f4f6 !important;
  color: #17191d !important;
}

/* line 48339, app/assets/stylesheets/application.scss */
.tw-task-settings select.tw-group-settings-input.tw-status-select.is-done:focus,
.tw-task-settings-cell select.tw-status-select.is-done:focus {
  background: #ecfdf5 !important;
  color: #047857 !important;
}

/* line 48342, app/assets/stylesheets/application.scss */
.tw-check {
  border: 1.5px solid #c7cdd8;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 11px;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 0;
  padding: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

/* line 48360, app/assets/stylesheets/application.scss */
.tw-check .heroicon,
.tw-check i {
  width: 11px;
  height: 11px;
  font-size: 11px;
  line-height: 1;
}

/* line 48368, app/assets/stylesheets/application.scss */
.tw-check:hover {
  border-color: #9aa3b2;
  background: #fff;
  color: #111;
  transform: scale(1.04);
}

/* line 48375, app/assets/stylesheets/application.scss */
.tw-check.is-done {
  border-color: #c7cdd8;
  background: #fff;
  color: #111;
}

/* line 48381, app/assets/stylesheets/application.scss */
.tw-task-result {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(26, 29, 36, 0.04);
  color: var(--tw-muted);
  font: inherit;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  text-align: left;
}

/* line 48401, app/assets/stylesheets/application.scss */
.tw-task-result:hover {
  background: rgba(26, 29, 36, 0.08);
  color: var(--tw-ink);
}

/* line 48406, app/assets/stylesheets/application.scss */
.tw-task-result .heroicon,
.tw-task-result i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  opacity: 0.85;
}

/* line 48414, app/assets/stylesheets/application.scss */
.tw-task-result span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 48420, app/assets/stylesheets/application.scss */
.tw-pro-hint {
  margin: 0 0 8px;
  color: var(--tw-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* line 48427, app/assets/stylesheets/application.scss */
.tw-pro-error {
  margin: 6px 0 0;
  color: var(--perk-ink);
  font-size: 12px;
  font-weight: 600;
}

/* line 48434, app/assets/stylesheets/application.scss */
.tw-input.solid.is-invalid {
  box-shadow: inset 0 0 0 1.5px rgba(190, 18, 60, 0.45);
}

/* line 48438, 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 48452, app/assets/stylesheets/application.scss */
.tw-task-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 48459, app/assets/stylesheets/application.scss */
.tw-task-title-row .tw-task-title {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 48467, app/assets/stylesheets/application.scss */
.tw-task-title-row .tw-status-pill {
  flex: 0 0 auto;
}

/* line 48471, app/assets/stylesheets/application.scss */
.tw-task-content {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400 !important;
  line-height: 1.45;
  color: var(--tw-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 48485, app/assets/stylesheets/application.scss */
.tw-detail-field {
  display: grid;
  gap: 6px;
  position: relative;
}

/* line 48491, app/assets/stylesheets/application.scss */
.tw-detail-field.has-label {
  gap: 8px;
}

/* line 48495, app/assets/stylesheets/application.scss */
.tw-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
}

/* line 48503, app/assets/stylesheets/application.scss */
.tw-detail-head .tw-group-settings-label,
.tw-detail-head .tw-field-label {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

/* line 48510, app/assets/stylesheets/application.scss */
.tw-detail-toolbar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  z-index: 1;
}

/* line 48519, app/assets/stylesheets/application.scss */
.tw-detail-field:not(.has-label) .tw-detail-toolbar {
  position: absolute;
  top: 6px;
  right: 6px;
}

/* line 48525, app/assets/stylesheets/application.scss */
.tw-detail-fmt-btn,
.tw-detail-bullet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #eef0f4;
  color: #1a1d24;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
  box-shadow: inset 0 0 0 1px #e2e5eb;
}

/* line 48542, app/assets/stylesheets/application.scss */
.tw-detail-fmt-btn.is-text {
  width: auto;
  min-width: 32px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: inherit;
  line-height: 1;
}

/* line 48553, app/assets/stylesheets/application.scss */
.tw-detail-fmt-btn .heroicon,
.tw-detail-bullet-btn .heroicon {
  display: block;
  color: currentColor;
}

/* line 48559, app/assets/stylesheets/application.scss */
.tw-detail-check-icon {
  display: block;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-sizing: border-box;
}

/* line 48568, app/assets/stylesheets/application.scss */
.tw-detail-fmt-btn:hover,
.tw-detail-bullet-btn:hover {
  background: #e4e7ee;
  color: #000;
}

/* line 48574, app/assets/stylesheets/application.scss */
.tw-detail-fmt-btn:focus-visible,
.tw-detail-bullet-btn:focus-visible {
  outline: 2px solid rgba(111, 76, 199, 0.35);
  outline-offset: 1px;
}

/* line 48580, app/assets/stylesheets/application.scss */
.tw-detail-textarea {
  resize: vertical;
  min-height: 4.2em;
  line-height: 1.45;
  white-space: pre-wrap;
}

/* line 48587, app/assets/stylesheets/application.scss */
.tw-detail-field:not(.has-label) .tw-detail-textarea {
  padding-right: 104px;
}

/* line 48591, app/assets/stylesheets/application.scss */
.tw-link-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 48598, app/assets/stylesheets/application.scss */
.tw-link-attach {
  display: grid;
  gap: 8px;
}

/* line 48603, app/assets/stylesheets/application.scss */
.tw-link-attach.is-compact {
  margin-top: 2px;
  padding-top: 0;
}

/* line 48608, app/assets/stylesheets/application.scss */
.tw-composer .tw-link-attach .tw-link-input,
.tw-task-composer .tw-link-attach .tw-link-input {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--tw-field);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--tw-ink);
  box-shadow: none;
}

/* line 48621, app/assets/stylesheets/application.scss */
.tw-composer .tw-link-attach .tw-link-input:focus,
.tw-task-composer .tw-link-attach .tw-link-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.14);
  background: #fff;
}

/* line 48628, app/assets/stylesheets/application.scss */
.tw-composer .tw-link-attach .tw-result-remove,
.tw-task-composer .tw-link-attach .tw-result-remove {
  background: var(--tw-field);
  color: var(--tw-muted);
}

/* line 48634, app/assets/stylesheets/application.scss */
.tw-link-attach-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 48642, app/assets/stylesheets/application.scss */
.tw-link-attach-head h4 {
  margin: 0;
  font-weight: 500;
}

/* line 48647, app/assets/stylesheets/application.scss */
.tw-result-list {
  display: grid;
  gap: 8px;
}

/* line 48652, app/assets/stylesheets/application.scss */
.tw-result-starter {
  display: grid;
  gap: 8px;
}

/* line 48657, app/assets/stylesheets/application.scss */
.tw-result-starter .tw-result-link-field {
  display: block;
  margin: 0;
}

/* line 48662, app/assets/stylesheets/application.scss */
.tw-result-drive-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--tw-muted, #5f6368);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* line 48680, app/assets/stylesheets/application.scss */
.tw-result-drive-pick:hover {
  color: var(--tw-ink, #111);
  background: rgba(15, 23, 42, 0.05);
}

/* line 48685, app/assets/stylesheets/application.scss */
.tw-result-drive-pick svg,
.tw-result-drive-pick i {
  flex: 0 0 auto;
}

/* line 48690, app/assets/stylesheets/application.scss */
.tw-result-row.is-link .tw-result-link-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
}

/* line 48697, app/assets/stylesheets/application.scss */
.tw-result-remove,
.tw-result-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--tw-muted);
  cursor: pointer;
}

/* line 48711, app/assets/stylesheets/application.scss */
.tw-result-add:hover,
.tw-result-remove:hover {
  background: rgba(15, 23, 42, 0.09);
  color: var(--tw-ink);
}

/* line 48717, app/assets/stylesheets/application.scss */
.tw-result-add-wrap {
  position: relative;
}

/* line 48721, app/assets/stylesheets/application.scss */
.tw-result-add-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 200px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 2px;
}

/* line 48736, app/assets/stylesheets/application.scss */
.tw-result-add-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 9px 10px;
  background: transparent;
  color: var(--tw-ink);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

/* line 48751, app/assets/stylesheets/application.scss */
.tw-result-add-item:hover {
  background: rgba(61, 107, 253, 0.08);
}

/* line 48755, app/assets/stylesheets/application.scss */
.tw-drive-attach {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

/* line 48761, app/assets/stylesheets/application.scss */
.tw-drive-pick,
.tw-drive-picked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

/* line 48770, app/assets/stylesheets/application.scss */
.tw-drive-picked {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(61, 107, 253, 0.08);
  color: #2f4fb8;
  font-size: 13px;
  font-weight: 400;
}

/* line 48779, app/assets/stylesheets/application.scss */
.tw-drive-picked span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 48785, app/assets/stylesheets/application.scss */
.tw-drive-clear {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* line 48794, app/assets/stylesheets/application.scss */
.tw-drive-picker {
  display: none;
}

/* line 48798, app/assets/stylesheets/application.scss */
.tw-drive-dialog-layer {
  --tw-ink: #1a1d24;
  --tw-muted: #6b7285;
  --tw-field: #f3f5fa;
  --tw-line: rgba(26, 29, 36, 0.08);
  --tw-accent: #3d6bfd;
  --tw-accent-deep: #2f57d9;
  --tw-accent-soft: rgba(61, 107, 253, 0.12);
  --tw-canvas: #eef2f8;
  --tw-card: #fff;
  --tw-btn-h: 36px;
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--tw-ink);
}

/* line 48818, app/assets/stylesheets/application.scss */
.tw-drive-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 20, 28, 0.42);
  cursor: pointer;
}

/* line 48826, app/assets/stylesheets/application.scss */
.tw-drive-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 28px));
  max-height: min(640px, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.08);
  box-shadow: 0 28px 60px rgba(17, 20, 28, 0.28);
  overflow: hidden;
}

/* line 48840, app/assets/stylesheets/application.scss */
.tw-drive-dialog-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(26, 29, 36, 0.08);
}

/* line 48849, app/assets/stylesheets/application.scss */
.tw-drive-dialog-head strong {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--tw-ink);
}

/* line 48857, app/assets/stylesheets/application.scss */
.tw-drive-dialog-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 10px 14px 0;
}

/* line 48865, app/assets/stylesheets/application.scss */
.tw-drive-dialog-list {
  display: grid;
  gap: 2px;
  align-content: start;
  min-height: 0;
  overflow: auto;
  padding: 10px 10px 12px;
}

/* line 48874, app/assets/stylesheets/application.scss */
.tw-drive-dialog-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 12px;
  min-width: 0;
}

/* line 48882, app/assets/stylesheets/application.scss */
.tw-drive-dialog-row.is-on {
  background: rgba(61, 107, 253, 0.1);
}

/* line 48886, app/assets/stylesheets/application.scss */
.tw-drive-dialog-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--tw-ink);
  font-size: 14px;
  font-weight: 400;
}

/* line 48903, app/assets/stylesheets/application.scss */
.tw-drive-dialog-item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 48911, app/assets/stylesheets/application.scss */
.tw-drive-dialog-item:hover {
  background: rgba(26, 29, 36, 0.04);
}

/* line 48915, app/assets/stylesheets/application.scss */
.tw-drive-dialog-open {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--tw-muted);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

/* line 48928, app/assets/stylesheets/application.scss */
.tw-drive-dialog-open:hover {
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-ink);
}

/* line 48933, app/assets/stylesheets/application.scss */
.tw-drive-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(26, 29, 36, 0.08);
  background: #fafbfc;
}

/* line 48942, app/assets/stylesheets/application.scss */
.tw-drive-dialog-head .tw-primary-btn,
.tw-drive-dialog-foot .tw-primary-btn {
  background: #17191d;
  color: #fff;
  box-shadow: none;
}

/* line 48949, app/assets/stylesheets/application.scss */
.tw-drive-dialog-head .tw-primary-btn:hover:not(:disabled),
.tw-drive-dialog-foot .tw-primary-btn:hover:not(:disabled) {
  background: #000;
}

/* line 48954, app/assets/stylesheets/application.scss */
.tw-drive-dialog-foot .tw-secondary-btn {
  background: #fff;
  color: var(--tw-ink);
  border: 1px solid rgba(26, 29, 36, 0.12);
  box-shadow: none;
}

/* line 48961, app/assets/stylesheets/application.scss */
.tw-drive-dialog-foot .tw-primary-btn:disabled,
.tw-drive-dialog-head .tw-primary-btn:disabled {
  background: #e8eaef;
  color: #8b919c;
  opacity: 1;
  cursor: default;
  box-shadow: none;
}

/* line 48970, app/assets/stylesheets/application.scss */
.tw-drive-crumb {
  border: 0;
  background: transparent;
  color: var(--tw-accent-deep);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
}

/* line 48981, app/assets/stylesheets/application.scss */
.tw-drive-crumb:hover {
  background: rgba(61, 107, 253, 0.08);
}

/* line 48985, app/assets/stylesheets/application.scss */
.tw-drive-crumb-sep {
  color: var(--tw-muted);
  font-size: 12px;
}

/* line 48990, app/assets/stylesheets/application.scss */
.tw-link-input,
.tw-link-input::placeholder {
  font-weight: 400 !important;
}

/* line 48995, app/assets/stylesheets/application.scss */
.tw-composer-field {
  display: grid;
  gap: 6px;
  position: relative;
}

/* line 49001, app/assets/stylesheets/application.scss */
.tw-field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--tw-ink);
  letter-spacing: -0.01em;
}

/* line 49008, app/assets/stylesheets/application.scss */
.tw-composer-objective {
  width: 100%;
  border: 0;
  background: var(--tw-field);
  border-radius: 12px;
  padding: 10px 40px 10px 12px;
  font-size: 14px;
  font-weight: 400;
}

/* line 49018, app/assets/stylesheets/application.scss */
.tw-task-main strong,
.tw-task-main .tw-task-title {
  display: block;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--tw-ink);
}

/* line 49027, app/assets/stylesheets/application.scss */
.tw-task-main strong.is-done,
.tw-task-main .tw-task-title.is-done {
  text-decoration: line-through;
  color: var(--tw-muted);
}

/* line 49033, app/assets/stylesheets/application.scss */
.tw-task-objective {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400 !important;
  line-height: 1.45;
  color: var(--tw-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* line 49045, app/assets/stylesheets/application.scss */
.tw-task-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
  cursor: pointer;
}

/* line 49054, 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;
  font-weight: 400;
}

/* line 49067, app/assets/stylesheets/application.scss */
.tw-task-meta em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 49073, app/assets/stylesheets/application.scss */
.tw-task-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.04);
  color: var(--tw-muted);
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.2;
}

/* line 49087, app/assets/stylesheets/application.scss */
.tw-task-chip .heroicon,
.tw-task-chip i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  opacity: 0.85;
}

/* line 49095, app/assets/stylesheets/application.scss */
.tw-task-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 49101, app/assets/stylesheets/application.scss */
.tw-task-chip.is-overdue {
  background: rgba(26, 29, 36, 0.06);
  color: var(--perk-ink) !important;
  font-weight: 700;
}

/* line 49107, app/assets/stylesheets/application.scss */
.tw-task-chip.is-muted {
  background: transparent;
  padding-left: 2px;
  padding-right: 2px;
}

/* line 49113, app/assets/stylesheets/application.scss */
.tw-task-meta em.is-overdue {
  color: var(--perk-ink);
  font-weight: 650;
}

/* line 49118, app/assets/stylesheets/application.scss */
.tw-task-people {
  gap: 8px !important;
}

/* line 49122, app/assets/stylesheets/application.scss */
.tw-task-people span {
  display: inline !important;
  color: var(--tw-muted);
  font-size: 12px;
}

/* line 49128, app/assets/stylesheets/application.scss */
.tw-note {
  width: 100%;
  gap: 12px;
  align-items: center;
}

/* line 49134, app/assets/stylesheets/application.scss */
.tw-note-ico {
  width: 44px;
  height: 44px;
  border-radius: 28%;
  background: var(--tw-note-tone, #3d6bfd);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  filter: drop-shadow(0 8px 12px rgba(23, 25, 29, 0.12));
  transition: transform 160ms ease, filter 160ms ease;
}

/* line 49149, app/assets/stylesheets/application.scss */
.tw-note:hover .tw-note-ico {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 12px 14px rgba(23, 25, 29, 0.16));
}

/* line 49154, app/assets/stylesheets/application.scss */
.tw-note-ico-glyph {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 49165, app/assets/stylesheets/application.scss */
.tw-note-ico-glyph .heroicon,
.tw-note-ico-glyph i,
.tw-note-ico .heroicon {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke: currentColor;
  flex-shrink: 0;
}

/* line 49175, app/assets/stylesheets/application.scss */
.tw-note.is-folder .tw-note-ico {
  color: #fff;
}

/* line 49179, app/assets/stylesheets/application.scss */
.tw-note-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

/* line 49186, app/assets/stylesheets/application.scss */
.tw-note-preview {
  display: block !important;
  margin-top: 0 !important;
  color: #000 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 49195, app/assets/stylesheets/application.scss */
.tw-note-updated {
  font-size: 13px !important;
}

/* line 49199, app/assets/stylesheets/application.scss */
.tw-note-chevron {
  color: #9ca3af !important;
  margin-left: auto;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

/* line 49207, app/assets/stylesheets/application.scss */
.tw-note i:first-child {
  color: inherit;
}

/* line 49211, app/assets/stylesheets/application.scss */
.tw-note i:last-child {
  color: #9ca3af;
  margin-left: auto;
}

/* line 49216, app/assets/stylesheets/application.scss */
.tw-note span {
  min-width: 0;
}

/* line 49220, app/assets/stylesheets/application.scss */
.tw-note strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* line 49226, app/assets/stylesheets/application.scss */
.tw-project {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 49232, app/assets/stylesheets/application.scss */
.tw-project-head {
  align-items: flex-start;
  justify-content: space-between;
}

/* line 49237, app/assets/stylesheets/application.scss */
.tw-project-head strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 49242, app/assets/stylesheets/application.scss */
.tw-progress {
  display: grid;
  gap: 6px;
}

/* line 49247, 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 49255, app/assets/stylesheets/application.scss */
.tw-progress-meta strong {
  color: var(--tw-ink);
  font-size: 14px;
}

/* line 49260, app/assets/stylesheets/application.scss */
.tw-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

/* line 49267, app/assets/stylesheets/application.scss */
.tw-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tw-project-accent, #6f4cc7), #5285f0);
  transition: width 0.35s ease;
}

/* line 49275, 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 49286, app/assets/stylesheets/application.scss */
.tw-gantt-track {
  position: relative;
  display: block;
  height: 30px;
  background: #eceef2;
  border-radius: 8px;
  overflow: hidden;
}

/* line 49295, app/assets/stylesheets/application.scss */
.tw-gantt-bar {
  position: absolute;
  top: 9px;
  height: 12px;
  border-radius: 6px;
  background: var(--tw-accent);
}

/* line 49303, 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 49316, 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 49324, 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 49334, app/assets/stylesheets/application.scss */
.tw-project-actions {
  display: flex;
  gap: 4px;
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

/* line 49341, app/assets/stylesheets/application.scss */
.tw-project:hover .tw-project-actions,
.tw-project.is-expanded .tw-project-actions {
  opacity: 1;
}

/* line 49346, app/assets/stylesheets/application.scss */
.tw-project-task {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
}

/* line 49353, app/assets/stylesheets/application.scss */
.tw-project-task span {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}

/* line 49359, app/assets/stylesheets/application.scss */
.tw-project-task em {
  font-size: 11px;
}

/* line 49363, 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 49374, app/assets/stylesheets/application.scss */
.tw-text-btn.is-accent {
  color: var(--tw-accent);
}

/* line 49378, app/assets/stylesheets/application.scss */
.tw-sheet-head strong {
  flex: 1;
  text-align: center;
}

/* line 49383, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor {
  padding: 12px 16px;
  border-bottom: 1px solid #eceef2;
  background: #fff;
}

/* line 49389, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy {
  text-align: left;
}

/* line 49393, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy strong {
  text-align: left;
}

/* line 49397, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 49403, app/assets/stylesheets/application.scss */
.tw-sheet-layer {
  position: relative;
  min-height: 100%;
  height: 100%;
  z-index: 60;
}

/* line 49410, app/assets/stylesheets/application.scss */
.tw-sheet-layer.is-page {
  background: #fff;
}

/* line 49414, app/assets/stylesheets/application.scss */
.tw-sheet.is-page {
  background: #fff;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  box-shadow: none;
}

/* line 49423, app/assets/stylesheets/application.scss */
.tw-sheet-underlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
}

/* line 49433, 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 49442, 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 49453, app/assets/stylesheets/application.scss */
.tw-cal,
.tw-cal * {
  font-weight: 500 !important;
}

/* line 49458, app/assets/stylesheets/application.scss */
.tw-photo {
  display: flex;
  justify-content: center;
}

/* line 49463, 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: visible;
}

/* line 49476, app/assets/stylesheets/application.scss */
.tw-photo-art > img,
.tw-photo-art > .heroicon,
.tw-photo-art > i {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* line 49485, app/assets/stylesheets/application.scss */
.tw-photo-art > img {
  position: absolute;
  inset: 0;
}

/* line 49490, app/assets/stylesheets/application.scss */
.tw-photo-art > .heroicon,
.tw-photo-art > i {
  width: auto;
  height: auto;
  position: relative;
}

/* line 49497, 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;
  z-index: 1;
  pointer-events: none;
}

/* line 49514, app/assets/stylesheets/application.scss */
.tw-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 650;
  font-size: 13px;
}

/* line 49522, 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 49532, 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 49547, app/assets/stylesheets/application.scss */
button.tw-member {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* line 49558, app/assets/stylesheets/application.scss */
button.tw-member:disabled,
button.tw-member.is-self {
  cursor: default;
}

/* line 49563, app/assets/stylesheets/application.scss */
.tw-member-chat {
  margin-left: auto;
  color: var(--tw-accent);
  opacity: 0.85;
}

/* line 49569, 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 49580, 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 49587, app/assets/stylesheets/application.scss */
.tw-charge-row img.tw-avatar,
.tw-charge-row .tw-avatar,
.tw-charge-chip img.tw-avatar,
.tw-charge-chip .tw-avatar {
  flex: 0 0 auto;
}

/* line 49594, app/assets/stylesheets/application.scss */
.tw-leave {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--perk-ink);
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
}

/* line 49604, app/assets/stylesheets/application.scss */
.tw-settings-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--tw-line);
}

/* line 49613, app/assets/stylesheets/application.scss */
.tw-settings-actions .tw-leave.is-danger {
  font-weight: 700;
}

/* line 49617, app/assets/stylesheets/application.scss */
.tw-settings-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
  text-align: center;
}

/* line 49626, app/assets/stylesheets/application.scss */
.tw-settings-summary .tw-photo-art.is-static {
  cursor: default;
}

/* line 49630, app/assets/stylesheets/application.scss */
.tw-photo-label {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: var(--tw-muted);
  font-size: 13px;
  font-weight: 600;
}

/* Group / team settings modal */
/* line 49640, app/assets/stylesheets/application.scss */
.tw-sheet.is-settings .tw-pro-copy em {
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #000;
}

/* line 49647, app/assets/stylesheets/application.scss */
.tw-sheet.is-settings .tw-pro-copy strong {
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* line 49652, app/assets/stylesheets/application.scss */
.tw-sheet.is-settings .tw-pro-copy p {
  font-weight: 400;
}

/* line 49656, app/assets/stylesheets/application.scss */
.tw-sheet.is-settings .tw-pro-ghost,
.tw-sheet.is-settings .tw-pro-primary {
  font-weight: 400;
}

/* line 49661, app/assets/stylesheets/application.scss */
.tw-sheet.is-people .tw-group-settings-section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #000;
}

/* line 49669, app/assets/stylesheets/application.scss */
.tw-sheet.is-people .tw-create-team-selected {
  color: #000;
}

/* line 49673, app/assets/stylesheets/application.scss */
.tw-sheet.is-people .tw-group-settings-row-chevron,
.tw-sheet.is-people .tw-group-settings-row-icon,
.tw-sheet.is-people .tw-people-settings .tw-group-settings-row.is-pick .tw-group-settings-row-chevron {
  color: #000;
  opacity: 1;
}

/* line 49680, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-group-settings-section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #000;
}

/* line 49688, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-copy strong {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111827;
  line-height: 1.2;
}

/* line 49696, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-copy p {
  color: #6b7280;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.35;
}

/* line 49703, app/assets/stylesheets/application.scss */
.tw-task-settings {
  gap: 20px;
}

/* line 49707, app/assets/stylesheets/application.scss */
.tw-task-settings-menu {
  gap: 2px;
  padding: 4px;
  background: #f7f8fa;
}

/* line 49713, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row.is-control {
  cursor: default;
  grid-template-columns: 36px minmax(0, 1fr) minmax(112px, 46%);
  min-height: 48px;
  padding: 8px 10px;
  background: transparent;
  box-shadow: none;
}

/* line 49722, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row.is-control:hover {
  background: #f5f6f8;
}

/* line 49726, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f3f4f6;
}

/* line 49733, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-copy > span {
  font-size: 14px;
  font-weight: 300;
  color: #111827;
}

/* line 49739, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  width: 100%;
}

/* line 49747, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control .tw-group-settings-input,
.tw-task-settings-menu .tw-group-settings-row-control select.tw-group-settings-input,
.tw-task-settings-menu .tw-group-settings-row-control input.tw-group-settings-input {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-align: right;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px #e8eaee !important;
}

/* Native select chevron needs extra right inset so it isn’t flush with the edge. */
/* line 49763, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-group-settings-input {
  padding-right: 28px !important;
}

/* line 49767, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select,
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select {
  text-align: center;
  /* Keep tone colors — do not force the neutral white field background. */
  background: inherit;
}

/* line 49774, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-low {
  background: #567a60 !important;
  color: #fff !important;
}

/* line 49775, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-medium {
  background: #8b7238 !important;
  color: #fff !important;
}

/* line 49776, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-high {
  background: #964f4f !important;
  color: #fff !important;
}

/* line 49777, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-urgent {
  background: #7a3030 !important;
  color: #fff !important;
}

/* line 49778, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-todo {
  background: #f3efff !important;
  color: #5b3ea6 !important;
}

/* line 49779, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-in_progress {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

/* line 49780, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-blocked {
  background: #f3f4f6 !important;
  color: #17191d !important;
}

/* line 49781, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-done {
  background: #ecfdf5 !important;
  color: #047857 !important;
}

/* line 49783, app/assets/stylesheets/application.scss */
.tw-task-settings-creator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

/* line 49791, app/assets/stylesheets/application.scss */
.tw-task-settings-creator em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: #111827;
}

/* line 49801, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-group-settings-field {
  gap: 8px;
}

/* line 49805, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-group-settings-label {
  font-size: 13px;
  font-weight: 400;
  color: #000;
  letter-spacing: -0.01em;
}

/* line 49812, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-link-attach.is-settings {
  gap: 8px;
}

/* line 49816, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-link-attach .tw-result-list {
  display: grid;
  gap: 8px;
  padding: 0;
}

/* line 49822, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-link-attach .tw-link-input,
.tw-task-settings .tw-link-attach .tw-group-settings-input {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 14px !important;
  padding: 13px 14px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #000 !important;
  background: #f7f8fa !important;
  box-shadow: inset 0 0 0 1px #e8eaee !important;
}

/* line 49836, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-group-settings-input,
.tw-task-settings select.tw-group-settings-input,
.tw-task-settings textarea.tw-group-settings-input {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 14px !important;
  padding: 13px 14px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #000 !important;
  background: #f7f8fa !important;
  box-shadow: inset 0 0 0 1px #e8eaee !important;
}

/* line 49851, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-voice-field > .tw-group-settings-input,
.tw-task-settings .tw-voice-field > input.tw-group-settings-input {
  padding: 13px 42px 13px 14px !important;
}

/* line 49856, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-voice-field.is-textarea > textarea.tw-group-settings-input,
.tw-task-settings .tw-voice-field.is-textarea > .tw-task-settings-textarea {
  padding: 13px 42px 36px 14px !important;
}

/* line 49861, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-group-settings-input:focus:not(.tw-priority-select):not(.tw-status-select),
.tw-task-settings select.tw-group-settings-input:focus:not(.tw-priority-select):not(.tw-status-select),
.tw-task-settings textarea.tw-group-settings-input:focus {
  background: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.18) !important;
  outline: none;
}

/* line 49869, app/assets/stylesheets/application.scss */
.tw-task-settings-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

/* line 49875, app/assets/stylesheets/application.scss */
.tw-task-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
}

/* line 49882, app/assets/stylesheets/application.scss */
.tw-task-settings-cell {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  min-width: 0;
}

/* line 49892, app/assets/stylesheets/application.scss */
.tw-task-settings-cell-label {
  font-size: 12px;
  font-weight: 500;
  color: #000;
}

/* line 49898, app/assets/stylesheets/application.scss */
.tw-task-settings-cell .tw-group-settings-input {
  background: #f7f8fa !important;
  padding: 11px 12px !important;
}

/* line 49903, app/assets/stylesheets/application.scss */
.tw-task-settings-add {
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 49918, app/assets/stylesheets/application.scss */
.tw-task-settings-add:hover {
  background: #fafafa;
}

/* line 49922, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge.is-embedded {
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* line 49931, app/assets/stylesheets/application.scss */
.tw-task-settings-charge-section .tw-charge.is-embedded {
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
}

/* line 49938, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-selected {
  margin: 0 0 8px;
}

/* line 49942, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-chip {
  background: #f7f8fa;
  color: #000;
  border: 0;
  box-shadow: none;
}

/* line 49949, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-chip:hover {
  background: #eef0f4;
}

/* line 49953, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-empty {
  margin: 0 0 8px;
  color: #000;
  font-size: 13px;
  font-weight: 400;
}

/* line 49960, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-list {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* line 49972, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #f7f8fa;
  color: #000;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease;
}

/* line 49990, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-row:hover {
  background: #eef0f4;
}

/* line 49994, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-row.is-on {
  box-shadow: none;
  background: #e8eaee;
}

/* line 49999, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-copy strong {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* line 50005, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-copy small {
  font-size: 12px;
  font-weight: 400;
  color: #000;
}

/* line 50011, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-check {
  color: #000;
}

/* line 50015, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-check.is-on {
  color: #000;
}

/* line 50019, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-check-off {
  color: #c7cdd8;
}

/* line 50023, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-result-row {
  margin: 0;
}

/* line 50027, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-result-link-field {
  margin: 0;
  gap: 6px;
}

/* line 50032, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-result-remove,
.tw-task-settings .tw-drive-clear {
  color: #000;
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 50040, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-drive-picked {
  background: #fff;
  border-radius: 12px;
  color: #000;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 50047, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-pro-error {
  color: #000;
  font-weight: 400;
}

@media (max-width: 560px) {
  /* line 50053, app/assets/stylesheets/application.scss */
  .tw-task-settings-grid {
    grid-template-columns: 1fr;
  }
  /* line 50057, app/assets/stylesheets/application.scss */
  .tw-task-split {
    grid-template-columns: minmax(0, 1.6fr) minmax(84px, 1fr);
    gap: 10px;
  }
  /* line 50062, app/assets/stylesheets/application.scss */
  .tw-task-react {
    padding: 3px 6px;
  }
  /* line 50066, app/assets/stylesheets/application.scss */
  .tw-task-foot {
    flex-wrap: wrap;
    align-items: center;
  }
  /* line 50071, app/assets/stylesheets/application.scss */
  .tw-task-foot .tw-task-reacts {
    margin-left: auto;
  }
  /* line 50075, app/assets/stylesheets/application.scss */
  .tw-sheet.is-task-comments {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    border-radius: 0;
  }
  /* line 50083, app/assets/stylesheets/application.scss */
  .tw-cmt-split {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  /* line 50088, app/assets/stylesheets/application.scss */
  .tw-cmt-task {
    border-right: 0;
    border-bottom: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
    max-height: 48vh;
  }
  /* line 50094, app/assets/stylesheets/application.scss */
  .tw-cmt-panel {
    min-height: 50vh;
  }
}

/* line 50099, app/assets/stylesheets/application.scss */
.tw-pro-primary:disabled {
  opacity: 0.4;
  cursor: default;
  filter: none;
}

/* line 50105, app/assets/stylesheets/application.scss */
.tw-group-settings {
  display: grid;
  gap: 22px;
}

/* line 50110, app/assets/stylesheets/application.scss */
.tw-group-settings-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px 0 2px;
  text-align: center;
}

/* line 50119, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* line 50128, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar.is-static {
  cursor: default;
}

/* line 50132, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar-wrap {
  position: relative;
  display: inline-flex;
}

/* line 50137, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar-face {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: #f3f4f6;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.06);
}

/* line 50151, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 50157, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(23, 25, 29, 0.08), 0 4px 12px rgba(23, 25, 29, 0.08);
}

/* line 50172, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar-action,
.tw-group-settings-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--tw-accent, #6f4cc7);
  letter-spacing: 0.01em;
}

/* line 50180, app/assets/stylesheets/application.scss */
.tw-group-settings-title {
  color: var(--tw-ink);
  font-size: 16px;
  font-weight: 500;
}

/* line 50186, app/assets/stylesheets/application.scss */
.tw-group-settings-field {
  display: grid;
  gap: 8px;
}

/* line 50191, app/assets/stylesheets/application.scss */
.tw-group-settings-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #000;
}

/* line 50200, app/assets/stylesheets/application.scss */
.tw-group-settings-label .heroicon {
  color: #000;
}

/* line 50204, app/assets/stylesheets/application.scss */
.tw-group-settings-input {
  border-radius: 14px !important;
  padding: 13px 14px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  background: #f7f8fa !important;
  box-shadow: inset 0 0 0 1px #e8eaee !important;
}

/* line 50213, app/assets/stylesheets/application.scss */
.tw-group-settings-input:focus:not(.tw-priority-select):not(.tw-status-select) {
  background: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(111, 76, 199, 0.35) !important;
}

/* line 50218, app/assets/stylesheets/application.scss */
.tw-group-settings-section {
  display: grid;
  gap: 8px;
}

/* line 50223, app/assets/stylesheets/application.scss */
.tw-group-settings-section-label {
  margin: 0;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}

/* line 50233, app/assets/stylesheets/application.scss */
.tw-group-settings-list {
  display: grid;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #f7f8fa;
}

/* line 50241, app/assets/stylesheets/application.scss */
.tw-group-settings-list.is-picker {
  gap: 6px;
}

/* line 50245, app/assets/stylesheets/application.scss */
.tw-group-settings-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 12px 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

/* line 50264, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-pick {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

/* line 50268, app/assets/stylesheets/application.scss */
.tw-group-settings-row:hover {
  background: #fafafa;
}

/* line 50272, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-selected {
  box-shadow: inset 0 0 0 1.5px rgba(111, 76, 199, 0.28);
  background: #faf8ff;
}

/* line 50277, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-danger .tw-group-settings-row-copy > span,
.tw-group-settings-row.is-danger .tw-group-settings-row-icon {
  color: var(--perk-ink);
}

/* line 50282, app/assets/stylesheets/application.scss */
.tw-group-settings-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #f3f4f6;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 50294, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-danger .tw-group-settings-row-icon {
  background: #f3f4f6;
}

/* line 50298, app/assets/stylesheets/application.scss */
.tw-group-settings-row-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 50305, app/assets/stylesheets/application.scss */
.tw-group-settings-row-copy > span {
  font-size: 14px;
  font-weight: 400;
  color: #111827;
  line-height: 1.3;
}

/* line 50312, app/assets/stylesheets/application.scss */
.tw-group-settings-row-copy small {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  line-height: 1.35;
}

/* line 50319, app/assets/stylesheets/application.scss */
.tw-group-settings-row-chevron {
  color: #d1d5db;
  display: inline-flex;
}

/* line 50324, app/assets/stylesheets/application.scss */
.tw-group-settings-pick-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #e5e7eb;
  flex: 0 0 auto;
}

/* line 50333, app/assets/stylesheets/application.scss */
.tw-group-settings-pick-avatar.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* line 50342, app/assets/stylesheets/application.scss */
.tw-group-settings-row-check {
  color: #d1d5db;
  display: inline-flex;
}

/* line 50347, app/assets/stylesheets/application.scss */
.tw-group-settings-row-check.is-on {
  color: var(--tw-accent, #6f4cc7);
}

/* line 50351, app/assets/stylesheets/application.scss */
.tw-group-settings-check-off {
  opacity: 0.55;
}

/* line 50355, app/assets/stylesheets/application.scss */
.tw-group-settings-empty {
  margin: 0;
  padding: 18px 14px;
  border-radius: 14px;
  background: #f7f8fa;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

/* line 50367, app/assets/stylesheets/application.scss */
.tw-create-team .tw-group-settings-hero {
  padding: 8px 8px 4px;
}

/* line 50371, app/assets/stylesheets/application.scss */
.tw-create-team .tw-group-settings-avatar-wrap {
  overflow: visible;
}

/* line 50375, app/assets/stylesheets/application.scss */
.tw-create-team-people-head {
  align-items: baseline;
}

/* line 50379, app/assets/stylesheets/application.scss */
.tw-create-team-people-head .tw-group-settings-section-label {
  margin: 0;
}

/* line 50383, app/assets/stylesheets/application.scss */
.tw-create-team-selected {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--tw-accent, #6f4cc7);
}

/* line 50390, app/assets/stylesheets/application.scss */
.tw-create-team-search {
  margin-bottom: 10px;
}

/* line 50394, app/assets/stylesheets/application.scss */
.tw-create-faces {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 2px 2px;
  max-height: 240px;
  overflow: auto;
}

/* line 50403, app/assets/stylesheets/application.scss */
.tw-create-face {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}

/* line 50415, app/assets/stylesheets/application.scss */
.tw-create-face:disabled,
.tw-create-face.is-self {
  cursor: default;
}

/* line 50420, app/assets/stylesheets/application.scss */
.tw-create-face-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eaee;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(32, 33, 36, 0.08);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* line 50435, app/assets/stylesheets/application.scss */
.tw-create-face-art img,
.tw-create-face-art span {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
}

/* line 50444, app/assets/stylesheets/application.scss */
.tw-create-face:hover .tw-create-face-art {
  transform: translateY(-1px);
}

/* line 50448, app/assets/stylesheets/application.scss */
.tw-create-face.is-on .tw-create-face-art {
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.2), 0 0 0 2px #fff, 0 0 0 4px var(--tw-accent, #1a73e8);
}

/* line 50455, app/assets/stylesheets/application.scss */
.tw-create-face.is-self .tw-create-face-art {
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.2), 0 0 0 2px #fff, 0 0 0 4px var(--tw-accent, #1a73e8);
}

/* line 50462, app/assets/stylesheets/application.scss */
.tw-create-team .tw-group-settings-empty {
  margin-top: 8px;
}

/* line 50466, app/assets/stylesheets/application.scss */
.tw-group-settings-list .tw-group-settings-empty {
  background: transparent;
  padding: 14px 10px;
}

/* line 50471, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-self {
  cursor: default;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(111, 76, 199, 0.12);
}

/* line 50477, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-self:hover {
  background: #fff;
}

/* line 50481, app/assets/stylesheets/application.scss */
.tw-people-settings .tw-group-settings-row.is-pick .tw-group-settings-row-chevron {
  color: #000;
  opacity: 1;
}

/* line 50486, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-member {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 6px;
  cursor: default;
}

/* line 50494, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-member:hover {
  background: #fff;
}

/* line 50498, app/assets/stylesheets/application.scss */
.tw-people-member-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 10px 6px 10px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 50515, app/assets/stylesheets/application.scss */
.tw-people-member-main:hover {
  background: rgba(26, 29, 36, 0.04);
}

/* line 50519, app/assets/stylesheets/application.scss */
.tw-people-member-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

/* line 50526, app/assets/stylesheets/application.scss */
.tw-people-member-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--tw-muted, #6b7280);
  cursor: pointer;
}

/* line 50540, app/assets/stylesheets/application.scss */
.tw-people-member-action:hover {
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-ink, #111);
}

/* line 50545, app/assets/stylesheets/application.scss */
.tw-people-member-action.is-danger:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

/* line 50550, app/assets/stylesheets/application.scss */
.tw-member.is-selected {
  border-color: rgba(61, 107, 253, 0.35);
  background: var(--tw-accent-soft);
}

/* line 50555, app/assets/stylesheets/application.scss */
.tw-text-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 50560, app/assets/stylesheets/application.scss */
.tw-note-body {
  min-height: 42vh;
}

/* line 50564, app/assets/stylesheets/application.scss */
.tw-cal-shift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

/* line 50572, app/assets/stylesheets/application.scss */
.tw-cal-shift.is-inline {
  width: auto;
  max-width: min(320px, 42vw);
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

/* line 50581, app/assets/stylesheets/application.scss */
.tw-cal-head-actions .tw-cal-shift-btn {
  flex: 0 0 auto;
}

/* line 50585, app/assets/stylesheets/application.scss */
.tw-cal-shift.is-inline .tw-cal-range {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

/* line 50591, app/assets/stylesheets/application.scss */
.tw-cal-shift.is-inline .tw-cal-range strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* line 50601, app/assets/stylesheets/application.scss */
.tw-cal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  padding: 8px 0 0;
  background: var(--tw-canvas);
}

/* line 50611, app/assets/stylesheets/application.scss */
.tw-cal-head {
  background: #fff;
  border-bottom: 1px solid var(--tw-line);
}

/* line 50616, app/assets/stylesheets/application.scss */
.tw-cal-today-btn,
.tw-cal-create-btn {
  flex: 0 0 auto;
  min-height: 40px;
}

/* line 50622, app/assets/stylesheets/application.scss */
.tw-cal-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}

/* line 50631, app/assets/stylesheets/application.scss */
.tw-cal-toolbar {
  padding: 8px 16px 0;
}

/* line 50635, app/assets/stylesheets/application.scss */
.tw-cal-range {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: grid;
  gap: 2px;
}

/* line 50643, app/assets/stylesheets/application.scss */
.tw-cal-range strong {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--tw-ink);
}

/* line 50650, app/assets/stylesheets/application.scss */
.tw-cal-range span {
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 50655, app/assets/stylesheets/application.scss */
.tw-week-board {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 12px 12px;
}

/* line 50663, app/assets/stylesheets/application.scss */
.tw-week-heads {
  display: grid;
  grid-template-columns: 52px repeat(7, minmax(0, 1fr));
  gap: 0;
  padding: 0 0 8px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--tw-canvas);
}

/* line 50674, app/assets/stylesheets/application.scss */
.tw-week-gutter {
  min-width: 0;
}

/* line 50678, app/assets/stylesheets/application.scss */
.tw-week-head {
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 8px 4px;
  display: grid;
  justify-items: center;
  gap: 4px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background 0.15s ease;
}

/* line 50692, app/assets/stylesheets/application.scss */
.tw-week-head:hover {
  background: rgba(26, 29, 36, 0.04);
}

/* line 50696, app/assets/stylesheets/application.scss */
.tw-week-head em {
  font-style: normal;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* line 50705, app/assets/stylesheets/application.scss */
.tw-week-head strong {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--tw-ink);
}

/* line 50718, app/assets/stylesheets/application.scss */
.tw-week-head strong.is-today {
  background: var(--tw-accent);
  color: #fff;
}

/* line 50723, app/assets/stylesheets/application.scss */
.tw-week-head.is-selected:not(.is-today) strong {
  background: rgba(26, 29, 36, 0.08);
}

/* line 50727, app/assets/stylesheets/application.scss */
.tw-week-scroll {
  --tw-hours: 24;
  --tw-hour-h: 48px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eceef2;
}

/* line 50740, app/assets/stylesheets/application.scss */
.tw-week-hours {
  display: flex;
  flex-direction: column;
  height: calc(var(--tw-hours) * var(--tw-hour-h));
  min-height: calc(var(--tw-hours) * var(--tw-hour-h));
  border-right: 1px solid #eceef2;
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}

/* line 50752, app/assets/stylesheets/application.scss */
.tw-week-hours span {
  flex: 0 0 auto;
  height: var(--tw-hour-h);
  min-height: var(--tw-hour-h);
  padding: 0 8px 0 0;
  color: var(--tw-muted);
  font-size: 10px;
  font-weight: 650;
  text-align: right;
  line-height: 1;
  transform: translateY(-0.45em);
  white-space: nowrap;
}

/* line 50766, app/assets/stylesheets/application.scss */
.tw-week-cols {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: calc(var(--tw-hours) * var(--tw-hour-h));
}

/* line 50772, app/assets/stylesheets/application.scss */
.tw-day-col {
  position: relative;
  min-width: 0;
  border-left: 1px solid #f0f1f4;
  cursor: pointer;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--tw-hour-h) - 1px), #f0f1f4 calc(var(--tw-hour-h) - 1px), #f0f1f4 var(--tw-hour-h));
}

/* line 50787, app/assets/stylesheets/application.scss */
.tw-day-col:first-child {
  border-left: 0;
}

/* line 50791, app/assets/stylesheets/application.scss */
.tw-day-col.is-today {
  background-color: rgba(111, 76, 199, 0.03);
}

/* line 50795, app/assets/stylesheets/application.scss */
.tw-day-col.is-selected {
  background-color: rgba(61, 107, 253, 0.04);
}

/* line 50799, app/assets/stylesheets/application.scss */
.tw-day-track {
  position: relative;
  width: 100%;
}

/* line 50804, app/assets/stylesheets/application.scss */
.tw-event {
  --tw-event-color: #6f4cc7;
  position: absolute;
  left: 3px;
  right: 3px;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 1px;
  margin: 0;
  padding: 4px 6px;
  border-radius: 8px;
  border: 0;
  background: color-mix(in srgb, var(--tw-event-color) 16%, #fff);
  color: var(--tw-ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  overflow: hidden;
  box-shadow: none;
  pointer-events: none;
}

/* line 50828, 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 50837, app/assets/stylesheets/application.scss */
.tw-event strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 50846, app/assets/stylesheets/application.scss */
.tw-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px;
}

/* line 50853, 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 50869, app/assets/stylesheets/application.scss */
.tw-legend-item:hover {
  background: var(--tw-field);
}

/* line 50873, app/assets/stylesheets/application.scss */
.tw-legend-item.is-off {
  opacity: 0.42;
  background: transparent;
}

/* line 50878, 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 50886, app/assets/stylesheets/application.scss */
.tw-legend-avatar {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #e8eaed;
  box-shadow: 0 0 0 1px rgba(23, 25, 29, 0.06);
}

/* line 50896, app/assets/stylesheets/application.scss */
.tw-legend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 50903, app/assets/stylesheets/application.scss */
.tw-cal-composer-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* line 50912, app/assets/stylesheets/application.scss */
.tw-cal-composer-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.28);
  cursor: pointer;
}

/* line 50920, app/assets/stylesheets/application.scss */
.tw-cal-composer {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

/* line 50930, app/assets/stylesheets/application.scss */
.tw-cal-composer-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--tw-line);
}

/* line 50939, app/assets/stylesheets/application.scss */
.tw-cal-composer-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

/* line 50945, app/assets/stylesheets/application.scss */
.tw-cal-composer-head .tw-text-btn:last-child {
  justify-self: end;
}

/* line 50949, app/assets/stylesheets/application.scss */
.tw-cal-composer-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

/* line 50955, app/assets/stylesheets/application.scss */
.tw-cal-selected {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  /* line 50962, app/assets/stylesheets/application.scss */
  .tw-cal-range span {
    display: none;
  }
  /* line 50966, app/assets/stylesheets/application.scss */
  .tw-cal-head-actions {
    gap: 6px;
  }
  /* line 50970, app/assets/stylesheets/application.scss */
  .tw-cal-shift.is-inline {
    max-width: min(200px, 36vw);
    gap: 2px;
  }
  /* line 50975, app/assets/stylesheets/application.scss */
  .tw-cal-shift.is-inline .tw-cal-range strong {
    font-size: 12px;
  }
  /* line 50979, app/assets/stylesheets/application.scss */
  .tw-cal-today-btn,
.tw-cal-create-btn {
    min-height: 36px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }
  /* line 50987, app/assets/stylesheets/application.scss */
  .tw-week-heads,
.tw-week-scroll {
    min-width: 720px;
  }
  /* line 50992, app/assets/stylesheets/application.scss */
  .tw-week-board {
    overflow-x: auto;
  }
}

/* line 50997, app/assets/stylesheets/application.scss */
.tw-error {
  margin: 12px 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f4f6;
  color: var(--perk-ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

/* line 51009, app/assets/stylesheets/application.scss */
.tw-empty {
  padding: 28px 18px;
  text-align: center;
}

/* line 51014, app/assets/stylesheets/application.scss */
.tw-empty strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* line 51020, 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 51028, 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 51038, 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 51051, app/assets/stylesheets/application.scss */
  .tw-panel-toolbar .tw-primary-btn {
    width: auto;
  }
  /* line 51055, app/assets/stylesheets/application.scss */
  .tw-note-search {
    max-width: none;
    flex: 1 1 100%;
  }
  /* line 51060, app/assets/stylesheets/application.scss */
  .tw-filters {
    width: 100%;
  }
  /* line 51064, app/assets/stylesheets/application.scss */
  .tw-task-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  /* line 51070, app/assets/stylesheets/application.scss */
  .tw-perf-toolbar {
    flex-wrap: wrap;
  }
  /* line 51074, app/assets/stylesheets/application.scss */
  .tw-perf-toolbar .tw-filters {
    width: 100%;
    margin-right: 0;
  }
  /* line 51079, app/assets/stylesheets/application.scss */
  .tw-perf-toolbar-meta {
    width: 100%;
    justify-content: space-between;
  }
  /* line 51084, app/assets/stylesheets/application.scss */
  .tw-perf.is-embedded .tw-perf-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 51088, app/assets/stylesheets/application.scss */
  .tw-perf.is-embedded .tw-perf-kpis .tw-ops-kpi:last-child {
    grid-column: 1 / -1;
  }
  /* line 51092, app/assets/stylesheets/application.scss */
  .tw-task-toolbar .tw-filters {
    width: 100%;
  }
  /* line 51096, app/assets/stylesheets/application.scss */
  .tw-task-toolbar .tw-filter {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  /* line 51102, app/assets/stylesheets/application.scss */
  .tw-task-count {
    align-self: flex-end;
  }
  /* line 51106, app/assets/stylesheets/application.scss */
  .tw-composer-mark {
    display: none;
  }
  /* line 51110, app/assets/stylesheets/application.scss */
  .tw-top {
    gap: 4px;
  }
  /* line 51114, app/assets/stylesheets/application.scss */
  .tw-top-brand {
    max-width: 100%;
  }
  /* line 51118, app/assets/stylesheets/application.scss */
  .tw-team-menu-panel {
    width: min(300px, calc(100vw - 72px));
  }
  /* line 51122, app/assets/stylesheets/application.scss */
  .tw-member-faces {
    display: none;
  }
  /* line 51126, app/assets/stylesheets/application.scss */
  .tw-top .tw-tabs {
    max-width: 100%;
  }
  /* line 51130, app/assets/stylesheets/application.scss */
  .tw-top .tw-tab {
    min-width: 0;
    padding: 6px 12px;
    min-height: 32px;
    font-size: 14px;
  }
  /* line 51137, app/assets/stylesheets/application.scss */
  .tw-sheet.is-pro {
    border-radius: 0;
  }
  /* line 51141, app/assets/stylesheets/application.scss */
  .tw-pro-foot {
    position: sticky;
    bottom: 0;
    background: #fff;
  }
  /* line 51147, app/assets/stylesheets/application.scss */
  .tw-pipe-ms-band {
    min-height: 108px;
  }
}

@media (min-width: 900px) {
  /* line 51153, app/assets/stylesheets/application.scss */
  .tw-landing-stage-body {
    gap: 36px;
    padding: 80px 40px 48px;
  }
  /* line 51158, app/assets/stylesheets/application.scss */
  .tw-landing-groups {
    gap: 22px 28px;
    max-width: 860px;
  }
  /* line 51163, app/assets/stylesheets/application.scss */
  .tw-landing-group {
    width: 104px;
  }
  /* line 51167, app/assets/stylesheets/application.scss */
  .tw-landing-group-art {
    width: 84px;
    height: 84px;
    border-radius: 26px;
  }
  /* line 51173, app/assets/stylesheets/application.scss */
  .tw-app {
    display: flex;
    flex-direction: row;
    background: transparent;
    overflow: hidden;
  }
  /* line 51180, app/assets/stylesheets/application.scss */
  .tw-rail {
    flex-basis: 60px;
    width: 60px;
    padding-top: 14px;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
  }
  /* line 51189, app/assets/stylesheets/application.scss */
  .tw-main {
    min-width: 0;
    min-height: 0;
    padding: 14px 16px 0;
    background: transparent;
  }
  /* line 51196, app/assets/stylesheets/application.scss */
  .tw-mobile-only {
    display: none !important;
  }
  /* line 51200, app/assets/stylesheets/application.scss */
  .tw-desktop-only {
    display: inline-flex !important;
  }
  /* line 51204, app/assets/stylesheets/application.scss */
  .tw-top {
    padding: 4px 10px;
  }
  /* line 51208, app/assets/stylesheets/application.scss */
  .tw-top-copy strong {
    font-size: 13px;
    letter-spacing: -0.01em;
  }
  /* line 51213, app/assets/stylesheets/application.scss */
  .tw-top .tw-top-copy strong {
    font-size: 17px;
    letter-spacing: -0.02em;
  }
  /* line 51218, app/assets/stylesheets/application.scss */
  .tw-view-toggle-btn {
    font-size: 13px;
  }
  /* line 51222, app/assets/stylesheets/application.scss */
  .tw-top .tw-tabs {
    padding: 3px;
    gap: 3px;
  }
  /* line 51227, app/assets/stylesheets/application.scss */
  .tw-top .tw-tab {
    flex: 0 0 auto;
    min-width: 104px;
    padding: 8px 16px;
    min-height: 36px;
    font-size: 15px;
  }
  /* line 51235, app/assets/stylesheets/application.scss */
  .tw-filters {
    max-width: none;
    width: fit-content;
  }
  /* line 51240, app/assets/stylesheets/application.scss */
  .tw-filter {
    flex: 0 0 auto;
    min-width: 68px;
    font-size: 13px;
    padding: 6px 12px;
    min-height: 30px;
  }
  /* line 51248, app/assets/stylesheets/application.scss */
  .tw-content {
    padding: 0 2px 28px;
    max-width: none;
    width: 100%;
  }
  /* line 51254, app/assets/stylesheets/application.scss */
  .tw-content.is-projects {
    max-width: none;
    padding: 16px 2px;
  }
  /* line 51259, app/assets/stylesheets/application.scss */
  .tw-add-card {
    padding: 14px 16px;
  }
  /* line 51263, app/assets/stylesheets/application.scss */
  .tw-task,
.tw-note,
.tw-project {
    padding: 14px 16px;
  }
  /* line 51269, app/assets/stylesheets/application.scss */
  .tw-pipeline {
    padding: 16px 16px 14px;
  }
  /* line 51273, app/assets/stylesheets/application.scss */
  .tw-pipe-ms-band {
    min-height: 140px;
  }
  /* line 51277, app/assets/stylesheets/application.scss */
  .tw-project-title strong {
    font-size: 26px;
  }
  /* line 51281, app/assets/stylesheets/application.scss */
  .tw-progress-top strong {
    font-size: 26px;
  }
  /* line 51285, app/assets/stylesheets/application.scss */
  .tw-project-actions .tw-icon.sm {
    width: 36px;
    height: 36px;
  }
  /* line 51290, 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 51298, app/assets/stylesheets/application.scss */
  .tw-sheet-layer.is-pro .tw-sheet.is-pro.is-task-comments {
    width: min(1120px, calc(100% - 48px));
    height: min(860px, calc(100% - 48px));
    max-height: min(860px, calc(100% - 48px));
    min-height: min(640px, calc(100% - 48px));
    overflow: hidden;
  }
  /* line 51306, 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 51311, app/assets/stylesheets/application.scss */
  .tw-sheet-layer {
    position: absolute;
    inset: 0;
    z-index: 80;
  }
  /* line 51317, app/assets/stylesheets/application.scss */
  .tw-sheet-underlay {
    opacity: 1;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
  }
  /* line 51324, app/assets/stylesheets/application.scss */
  .tw-sheet-backdrop {
    background: rgba(23, 25, 29, 0.36);
    z-index: 2;
  }
  /* line 51329, 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;
    z-index: 3;
  }
  /* line 51345, app/assets/stylesheets/application.scss */
  .tw-sheet.is-page {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
  }
  /* line 51362, app/assets/stylesheets/application.scss */
  .tw-sheet-layer.is-page .tw-sheet-backdrop,
.tw-sheet-layer.is-page .tw-sheet-underlay {
    display: none;
  }
  /* line 51367, app/assets/stylesheets/application.scss */
  .tw-sheet.is-page .tw-note-editor-body {
    flex: 1;
    min-height: 0;
    max-height: none;
    padding: 16px 32px 40px;
    background: #fff;
  }
  /* line 51375, 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 51381, app/assets/stylesheets/application.scss */
  .tw-sheet-body {
    max-height: min(680px, calc(100vh - 160px));
  }
  /* line 51385, app/assets/stylesheets/application.scss */
  .tw-cal-body {
    padding-top: 10px;
  }
  /* line 51389, app/assets/stylesheets/application.scss */
  .tw-legend {
    padding: 0 20px;
  }
  /* line 51393, app/assets/stylesheets/application.scss */
  .tw-week-board {
    padding: 0 16px 16px;
  }
}

/* —— Memory Map (iOS parity, web-first layout) —— */
/* line 51399, 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 51419, app/assets/stylesheets/application.scss */
.map-hub.hidden,
.map-hub[hidden] {
  display: none !important;
}

/* line 51424, app/assets/stylesheets/application.scss */
.map-hub-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* line 51431, app/assets/stylesheets/application.scss */
.map-hub-canvas,
.map-hub-discover,
.map-hub-list {
  position: absolute;
  inset: 0;
}

/* line 51438, app/assets/stylesheets/application.scss */
.map-hub-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #d7e3d7;
}

/* line 51445, 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 51452, app/assets/stylesheets/application.scss */
.map-hub-canvas .maplibregl-ctrl-attrib {
  font-size: 10px;
  margin: 0 8px 8px;
}

/* line 51457, app/assets/stylesheets/application.scss */
.map-hub-canvas .maplibregl-ctrl-bottom-left {
  display: none;
}

/* line 51461, app/assets/stylesheets/application.scss */
button.map-pin,
button.map-cluster,
button.map-person-pin {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* line 51470, 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 51477, 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 51486, 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 51496, 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 51512, app/assets/stylesheets/application.scss */
.map-hub-chrome-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 51518, 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 51526, app/assets/stylesheets/application.scss */
.map-hub-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 51534, app/assets/stylesheets/application.scss */
.map-hub-titles strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 51541, 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 51549, 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 51559, 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 51566, 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 51578, app/assets/stylesheets/application.scss */
.map-circle-btn.is-filled {
  background: #fff;
}

/* line 51582, 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 51599, 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 51609, 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 51620, 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 51626, app/assets/stylesheets/application.scss */
.map-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eceef2;
}

/* line 51635, app/assets/stylesheets/application.scss */
.map-search.is-solid {
  background: var(--map-field);
}

/* line 51639, app/assets/stylesheets/application.scss */
.map-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: var(--map-ink);
}

/* line 51648, app/assets/stylesheets/application.scss */
.map-search i,
.map-search-clear {
  color: var(--map-muted);
}

/* line 51653, app/assets/stylesheets/application.scss */
.map-search-clear {
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 51659, app/assets/stylesheets/application.scss */
.map-hub-bottom {
  position: absolute;
  left: var(--map-chrome-pad);
  right: var(--map-chrome-pad);
  bottom: var(--map-chrome-pad);
  width: auto;
  max-width: none;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  pointer-events: none;
}

/* line 51674, app/assets/stylesheets/application.scss */
.map-hub-bottom[hidden] {
  display: none !important;
}

/* line 51678, 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 51689, app/assets/stylesheets/application.scss */
.map-hub-floats[hidden] {
  display: none !important;
}

/* line 51693, 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 51709, app/assets/stylesheets/application.scss */
.map-peek {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: 640px;
  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 51727, app/assets/stylesheets/application.scss */
.map-peek[hidden] {
  display: none !important;
}

/* line 51731, app/assets/stylesheets/application.scss */
.map-peek.is-expanded {
  padding-bottom: 14px;
}

/* line 51735, 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 51747, app/assets/stylesheets/application.scss */
.map-peek-head {
  display: none;
}

/* line 51751, app/assets/stylesheets/application.scss */
.map-peek-head strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* line 51757, 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 51766, app/assets/stylesheets/application.scss */
.map-lens-row::-webkit-scrollbar {
  display: none;
}

/* line 51770, 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 51782, app/assets/stylesheets/application.scss */
.map-lens.is-on {
  background: #fff;
  font-weight: 650;
  box-shadow: 0 0 0 1px var(--map-stroke);
}

/* line 51788, 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 51803, 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 51813, app/assets/stylesheets/application.scss */
.map-friends-filter span {
  font-size: 12px;
  color: var(--map-muted);
  flex: 0 0 auto;
}

/* line 51819, app/assets/stylesheets/application.scss */
.map-avatar-stack {
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 51824, 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 51840, app/assets/stylesheets/application.scss */
.map-avatar-stack > :first-child {
  margin-left: 0;
}

/* line 51844, app/assets/stylesheets/application.scss */
.map-nearby-peek {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 2px 0 4px;
}

/* line 51852, 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 51863, 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 51879, app/assets/stylesheets/application.scss */
.map-place-row:hover,
.map-place-row.is-on {
  background: rgba(244, 245, 247, 0.95);
}

/* line 51884, 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 51898, app/assets/stylesheets/application.scss */
.map-place-thumb img,
.map-place-thumb.is-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 51905, app/assets/stylesheets/application.scss */
.map-place-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 51913, app/assets/stylesheets/application.scss */
.map-place-copy strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* line 51919, 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 51928, app/assets/stylesheets/application.scss */
.map-place-dist,
.map-muted,
.map-stats {
  font-size: 12px;
  color: var(--map-muted);
}

/* line 51935, 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 51946, 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 51955, app/assets/stylesheets/application.scss */
.map-city-strip::-webkit-scrollbar,
.map-trip-strip::-webkit-scrollbar {
  display: none;
}

/* line 51960, 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 51969, app/assets/stylesheets/application.scss */
.map-city-chip:hover,
.map-trip-card:hover {
  background: #ebecef;
  transform: translateY(-1px);
}

/* line 51975, app/assets/stylesheets/application.scss */
.map-city-chip {
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  white-space: nowrap;
}

/* line 51982, 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 51992, app/assets/stylesheets/application.scss */
.map-trip-card strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 51997, app/assets/stylesheets/application.scss */
.map-trip-card span {
  font-size: 11px;
  color: var(--map-muted);
}

/* line 52002, app/assets/stylesheets/application.scss */
.map-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  text-align: center;
}

/* line 52011, app/assets/stylesheets/application.scss */
.map-empty i {
  font-size: 24px;
  color: rgba(26, 28, 33, 0.32);
}

/* line 52016, app/assets/stylesheets/application.scss */
.map-empty strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 52021, app/assets/stylesheets/application.scss */
.map-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--map-muted);
  max-width: 28ch;
}

/* line 52028, 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 52042, app/assets/stylesheets/application.scss */
.map-primary:hover {
  background: #000;
  transform: translateY(-1px);
}

/* line 52047, app/assets/stylesheets/application.scss */
.map-primary:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* line 52053, 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 52063, app/assets/stylesheets/application.scss */
.map-sheet.hidden,
.map-sheet[hidden] {
  display: none !important;
}

/* line 52068, app/assets/stylesheets/application.scss */
.map-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 14, 18, 0.34);
  cursor: pointer;
}

/* line 52076, 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 52086, 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 52094, 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 52106, app/assets/stylesheets/application.scss */
.map-sheet-head strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 52112, 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 52122, 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 52130, 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 52139, app/assets/stylesheets/application.scss */
.map-welcome-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

/* line 52146, 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 52158, app/assets/stylesheets/application.scss */
.map-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

/* line 52165, 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 52177, app/assets/stylesheets/application.scss */
.map-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* line 52184, app/assets/stylesheets/application.scss */
.map-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

/* line 52191, 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 52207, app/assets/stylesheets/application.scss */
.map-action.is-danger {
  color: var(--perk-ink);
}

/* line 52211, app/assets/stylesheets/application.scss */
.map-review {
  font-size: 15px;
  line-height: 1.45;
  margin: 8px 0;
}

/* line 52217, app/assets/stylesheets/application.scss */
.map-guide-card {
  background: var(--map-field);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 8px;
}

/* line 52224, app/assets/stylesheets/application.scss */
.map-guide-card strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 4px;
}

/* line 52231, app/assets/stylesheets/application.scss */
.map-guide-card p {
  margin: 0;
  font-size: 13px;
  color: var(--map-muted);
}

/* line 52237, app/assets/stylesheets/application.scss */
.map-discover-label {
  font-size: 13px;
  color: var(--map-muted);
  display: block;
  margin-bottom: 6px;
}

/* line 52244, app/assets/stylesheets/application.scss */
.map-hub-discover section {
  margin-top: 22px;
}

/* line 52248, 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 52257, 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 52272, app/assets/stylesheets/application.scss */
.map-friend-pick.is-on {
  background: rgba(25, 115, 199, 0.08);
}

/* line 52276, app/assets/stylesheets/application.scss */
.map-friend-pick input {
  margin: 0;
}

/* line 52280, app/assets/stylesheets/application.scss */
.leaflet-div-icon {
  background: transparent;
  border: 0;
}

/* line 52285, app/assets/stylesheets/application.scss */
.map-pin,
.map-cluster,
.map-person-pin {
  background: transparent;
}

/* line 52291, 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 52304, app/assets/stylesheets/application.scss */
.map-pin-body {
  background: var(--pin, #383c46);
}

/* line 52308, 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 52312, app/assets/stylesheets/application.scss */
.map-pin-body img,
.map-person-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 52319, 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 52336, app/assets/stylesheets/application.scss */
.map-cluster-body {
  width: 36px;
  height: 36px;
  background: var(--map-accent);
  font-size: 13px;
  font-weight: 700;
}

/* line 52344, app/assets/stylesheets/application.scss */
.map-person-body {
  width: 40px;
  height: 40px;
  background: var(--map-accent);
  font-weight: 700;
}

@media (min-width: 960px) {
  /* line 52352, app/assets/stylesheets/application.scss */
  .map-hub {
    --map-chrome-pad: 16px;
  }
  /* line 52356, app/assets/stylesheets/application.scss */
  .map-hub-discover,
.map-hub-list {
    padding: 140px 28px 40px;
  }
  /* line 52361, app/assets/stylesheets/application.scss */
  .map-peek-body {
    max-height: 42vh;
  }
  /* line 52365, app/assets/stylesheets/application.scss */
  .map-sheet {
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  /* line 52371, 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 52378, app/assets/stylesheets/application.scss */
  .map-sheet-handle {
    display: none;
  }
}

@media (max-width: 959px) {
  /* line 52384, app/assets/stylesheets/application.scss */
  .map-hub-chrome-bar,
.map-peek {
    max-width: none;
  }
}

/* line 52390, app/assets/stylesheets/application.scss */
.focus-hub {
  --focus-ink: #17191d;
  --focus-field: #f4f5f7;
  --focus-line: #e5e7eb;
  --focus-accent: #2673eb;
  --focus-danger: #db4747;
  position: absolute;
  inset: 0;
  z-index: 42;
  background: #fff;
  color: var(--focus-ink);
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

/* line 52412, app/assets/stylesheets/application.scss */
.focus-hub-shell,
.focus-hub-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 52420, app/assets/stylesheets/application.scss */
.focus-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--focus-line);
}

/* line 52430, app/assets/stylesheets/application.scss */
.focus-hub-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 52436, app/assets/stylesheets/application.scss */
.focus-hub-head strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 52442, app/assets/stylesheets/application.scss */
.focus-app-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--focus-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

/* line 52467, app/assets/stylesheets/application.scss */
.focus-icon-spacer {
  visibility: hidden;
  pointer-events: none;
}

/* line 52472, app/assets/stylesheets/application.scss */
.focus-hub-body {
  overflow: auto;
  background: #fff;
}

/* line 52477, app/assets/stylesheets/application.scss */
.focus-home {
  padding: 14px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

/* line 52487, app/assets/stylesheets/application.scss */
.focus-block,
.focus-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 52494, app/assets/stylesheets/application.scss */
.focus-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--focus-field);
  border: 1px solid var(--focus-line);
}

/* line 52501, app/assets/stylesheets/application.scss */
.focus-card.is-mode {
  background: #fff;
}

/* line 52505, app/assets/stylesheets/application.scss */
.focus-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* line 52512, app/assets/stylesheets/application.scss */
.focus-card-head strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

/* line 52518, app/assets/stylesheets/application.scss */
.focus-card-head span,
.focus-mini-copy,
.focus-empty-chart {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(23, 25, 29, 0.55);
  line-height: 1.4;
}

/* line 52528, app/assets/stylesheets/application.scss */
.focus-mini-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(23, 25, 29, 0.55);
  margin-bottom: 8px;
}

/* line 52536, app/assets/stylesheets/application.scss */
.focus-capsule {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--focus-line);
}

/* line 52545, app/assets/stylesheets/application.scss */
.focus-capsule-btn {
  flex: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--focus-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 8px;
  cursor: pointer;
}

/* line 52558, app/assets/stylesheets/application.scss */
.focus-capsule-btn.is-on {
  background: var(--focus-ink);
  color: #fff;
}

/* line 52563, app/assets/stylesheets/application.scss */
.focus-summary-grid,
.focus-habits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 52570, app/assets/stylesheets/application.scss */
.focus-stat-tile {
  background: var(--focus-field);
  border: 1px solid var(--focus-line);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
}

/* line 52581, app/assets/stylesheets/application.scss */
.focus-stat-tile span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(23, 25, 29, 0.55);
}

/* line 52587, app/assets/stylesheets/application.scss */
.focus-stat-tile strong,
.focus-habit-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* line 52595, app/assets/stylesheets/application.scss */
.focus-stat-note {
  font-size: 10px;
  font-weight: 500;
  color: rgba(23, 25, 29, 0.55);
  line-height: 1.35;
  min-height: 28px;
}

/* line 52603, app/assets/stylesheets/application.scss */
.focus-stat-note.is-spacer {
  visibility: hidden;
}

/* line 52607, app/assets/stylesheets/application.scss */
.focus-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--focus-line);
  overflow: hidden;
  margin: 4px 0;
}

/* line 52615, app/assets/stylesheets/application.scss */
.focus-progress i {
  display: block;
  height: 100%;
  background: var(--focus-accent);
  border-radius: inherit;
}

/* line 52622, app/assets/stylesheets/application.scss */
.focus-day-dots {
  display: flex;
  gap: 4px;
  margin: 4px 0 8px;
}

/* line 52628, app/assets/stylesheets/application.scss */
.focus-day-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* line 52636, app/assets/stylesheets/application.scss */
.focus-day-dot i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--focus-line);
  display: block;
}

/* line 52644, app/assets/stylesheets/application.scss */
.focus-day-dot.is-on i {
  background: var(--focus-accent);
  box-shadow: 0 0 0 3px rgba(38, 115, 235, 0.22);
}

/* line 52649, app/assets/stylesheets/application.scss */
.focus-day-dot em {
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  color: rgba(23, 25, 29, 0.55);
}

/* line 52656, app/assets/stylesheets/application.scss */
.focus-more-btn,
.focus-text-btn,
.focus-start,
.focus-end,
.focus-preset,
.focus-custom-toggle,
.focus-friend-row,
.focus-ai-card {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* line 52669, app/assets/stylesheets/application.scss */
.focus-more-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--focus-line);
  color: var(--focus-ink);
  font-weight: 700;
}

/* line 52679, app/assets/stylesheets/application.scss */
.focus-start,
.focus-end {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

/* line 52688, app/assets/stylesheets/application.scss */
.focus-start {
  background: var(--focus-accent);
  color: #fff;
}

/* line 52693, app/assets/stylesheets/application.scss */
.focus-end {
  background: var(--focus-danger);
  color: #fff;
}

/* line 52698, app/assets/stylesheets/application.scss */
.focus-live-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* line 52706, app/assets/stylesheets/application.scss */
.focus-live-inline > strong {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--focus-accent);
  line-height: 1;
}

/* line 52715, app/assets/stylesheets/application.scss */
.focus-live-inline > p {
  margin: 0;
  font-size: 13px;
  color: rgba(23, 25, 29, 0.55);
  max-width: 280px;
}

/* line 52722, app/assets/stylesheets/application.scss */
.focus-away {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(38, 115, 235, 0.08);
  text-align: left;
}

/* line 52730, app/assets/stylesheets/application.scss */
.focus-away strong {
  font-size: 13px;
}

/* line 52734, app/assets/stylesheets/application.scss */
.focus-away p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(23, 25, 29, 0.62);
  line-height: 1.4;
}

/* line 52741, app/assets/stylesheets/application.scss */
.focus-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 52747, app/assets/stylesheets/application.scss */
.focus-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 168px;
  padding-top: 8px;
}

/* line 52755, app/assets/stylesheets/application.scss */
.focus-chart-bar {
  flex: 1;
  min-width: 0;
  border-radius: 4px 4px 1.5px 1.5px;
  background: rgba(38, 115, 235, 0.92);
  position: relative;
  min-height: 2px;
}

/* line 52764, app/assets/stylesheets/application.scss */
.focus-chart-bar.is-future {
  opacity: 0.18;
}

/* line 52768, app/assets/stylesheets/application.scss */
.focus-chart-bar em {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  color: rgba(23, 25, 29, 0.5);
  white-space: nowrap;
}

/* line 52780, app/assets/stylesheets/application.scss */
.focus-chart-typical {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(23, 25, 29, 0.55);
}

/* line 52790, app/assets/stylesheets/application.scss */
.focus-chart-typical i {
  width: 18px;
  height: 1.5px;
  background: rgba(23, 25, 29, 0.38);
  display: block;
}

/* line 52797, app/assets/stylesheets/application.scss */
.focus-empty-chart {
  text-align: center;
  padding: 36px 8px;
  margin: 0;
  font-size: 13px;
}

/* line 52804, app/assets/stylesheets/application.scss */
.focus-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 52813, app/assets/stylesheets/application.scss */
.focus-activity-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 12px;
}

/* line 52821, app/assets/stylesheets/application.scss */
.focus-activity-meta strong {
  font-weight: 600;
}

/* line 52825, app/assets/stylesheets/application.scss */
.focus-activity-meta span {
  color: rgba(23, 25, 29, 0.55);
  font-variant-numeric: tabular-nums;
}

/* line 52830, app/assets/stylesheets/application.scss */
.focus-activity-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

/* line 52837, app/assets/stylesheets/application.scss */
.focus-activity-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

/* line 52843, app/assets/stylesheets/application.scss */
.focus-ai-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--focus-line);
  text-align: left;
}

/* line 52855, app/assets/stylesheets/application.scss */
.focus-ai-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--focus-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* line 52867, app/assets/stylesheets/application.scss */
.focus-ai-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 52875, app/assets/stylesheets/application.scss */
.focus-ai-copy strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 52880, app/assets/stylesheets/application.scss */
.focus-ai-copy em {
  font-size: 12px;
  font-style: normal;
  color: rgba(23, 25, 29, 0.55);
  line-height: 1.35;
}

/* line 52887, app/assets/stylesheets/application.scss */
.focus-ai-chevron {
  color: rgba(23, 25, 29, 0.28);
  font-size: 18px;
}

/* line 52892, app/assets/stylesheets/application.scss */
.focus-sheet {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
}

/* line 52899, app/assets/stylesheets/application.scss */
.focus-sheet-head {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--focus-line);
}

/* line 52908, app/assets/stylesheets/application.scss */
.focus-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* line 52914, app/assets/stylesheets/application.scss */
.focus-text-btn {
  background: transparent;
  color: var(--focus-ink);
  font-size: 15px;
  font-weight: 500;
  padding: 8px;
  text-align: left;
}

/* line 52923, app/assets/stylesheets/application.scss */
.focus-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 52932, app/assets/stylesheets/application.scss */
.focus-sheet-body h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}

/* line 52938, app/assets/stylesheets/application.scss */
.focus-sheet-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--focus-line);
  background: rgba(255, 255, 255, 0.96);
}

/* line 52944, app/assets/stylesheets/application.scss */
.focus-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* line 52950, app/assets/stylesheets/application.scss */
.focus-preset {
  flex: 1;
  padding: 10px 0;
  border-radius: 999px;
  background: var(--focus-field);
  border: 1px solid var(--focus-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--focus-ink);
}

/* line 52961, app/assets/stylesheets/application.scss */
.focus-preset.is-on {
  background: var(--focus-accent);
  border-color: transparent;
  color: #fff;
}

/* line 52967, app/assets/stylesheets/application.scss */
.focus-custom-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--focus-field);
  border: 1px solid var(--focus-line);
  font-size: 14px;
  font-weight: 600;
}

/* line 52981, app/assets/stylesheets/application.scss */
.focus-custom-toggle em {
  font-style: normal;
  color: rgba(23, 25, 29, 0.35);
}

/* line 52986, app/assets/stylesheets/application.scss */
.focus-custom-toggle.is-on em {
  color: var(--focus-accent);
}

/* line 52990, app/assets/stylesheets/application.scss */
.focus-custom-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* line 52997, app/assets/stylesheets/application.scss */
.focus-custom-field input {
  width: 96px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--focus-line);
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* line 53007, app/assets/stylesheets/application.scss */
.focus-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: var(--focus-field);
  border: 1px solid var(--focus-line);
  margin: 10px 0 8px;
}

/* line 53018, app/assets/stylesheets/application.scss */
.focus-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  outline: none;
}

/* line 53026, app/assets/stylesheets/application.scss */
.focus-friend-list {
  display: flex;
  flex-direction: column;
}

/* line 53031, app/assets/stylesheets/application.scss */
.focus-friend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 4px;
  background: transparent;
  border-bottom: 1px solid var(--focus-line);
  text-align: left;
}

/* line 53042, app/assets/stylesheets/application.scss */
.focus-friend-row:last-child {
  border-bottom: 0;
}

/* line 53046, app/assets/stylesheets/application.scss */
.focus-friend-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--focus-field);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

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

/* line 53065, app/assets/stylesheets/application.scss */
.focus-friend-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 53073, app/assets/stylesheets/application.scss */
.focus-friend-meta strong {
  font-size: 14px;
  font-weight: 600;
}

/* line 53078, app/assets/stylesheets/application.scss */
.focus-friend-meta em {
  font-size: 12px;
  font-style: normal;
  color: rgba(23, 25, 29, 0.55);
}

/* line 53084, app/assets/stylesheets/application.scss */
.focus-check {
  color: rgba(23, 25, 29, 0.28);
}

/* line 53088, app/assets/stylesheets/application.scss */
.focus-friend-row.is-on .focus-check {
  color: var(--focus-accent);
}

/* line 53092, app/assets/stylesheets/application.scss */
.focus-session-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* line 53098, app/assets/stylesheets/application.scss */
.focus-session-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--focus-line);
}

/* line 53106, app/assets/stylesheets/application.scss */
.focus-session-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 53112, app/assets/stylesheets/application.scss */
.focus-session-row span,
.focus-session-row em {
  font-size: 13px;
  font-style: normal;
  color: rgba(23, 25, 29, 0.55);
}

/* line 53119, app/assets/stylesheets/application.scss */
.focus-session-row em.is-done {
  color: #30d158;
}

/* line 53123, app/assets/stylesheets/application.scss */
.focus-session-row em.is-break {
  color: var(--focus-danger);
}

/* line 53127, app/assets/stylesheets/application.scss */
.focus-achievement {
  margin: 24px 20px;
  padding: 28px 20px 24px;
  border-radius: 28px;
  background: linear-gradient(145deg, #1a4fa8, #2673eb 45%, #5b9dff);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* line 53142, app/assets/stylesheets/application.scss */
.focus-badge-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(36px);
  top: -20px;
  pointer-events: none;
}

/* line 53153, app/assets/stylesheets/application.scss */
.focus-badge-emblem {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin-bottom: 8px;
  position: relative;
}

/* line 53166, app/assets/stylesheets/application.scss */
.focus-badge-rank {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.95;
}

/* line 53175, app/assets/stylesheets/application.scss */
.focus-achievement h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* line 53181, app/assets/stylesheets/application.scss */
.focus-achievement > strong {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* line 53189, app/assets/stylesheets/application.scss */
.focus-achievement > p {
  margin: 0;
  font-size: 13px;
  opacity: 0.78;
  max-width: 260px;
  line-height: 1.4;
}

/* line 53197, app/assets/stylesheets/application.scss */
.focus-badge-brand {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

/* line 53204, app/assets/stylesheets/application.scss */
.focus-tier-pulse {
  background: linear-gradient(145deg, #1f5fc4, #3d8bfd 50%, #7eb6ff);
}

/* line 53205, app/assets/stylesheets/application.scss */
.focus-tier-flow {
  background: linear-gradient(145deg, #1847a0, #2673eb 40%, #6aa8ff);
}

/* line 53206, app/assets/stylesheets/application.scss */
.focus-tier-deep {
  background: linear-gradient(145deg, #12367a, #1e5fd0 45%, #4f8fff);
}

/* line 53207, app/assets/stylesheets/application.scss */
.focus-tier-marathon {
  background: linear-gradient(145deg, #0d2a5c, #1953b8 40%, #3f7ff0);
}

/* line 53209, 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 53224, app/assets/stylesheets/application.scss */
.sticky-hub.hidden,
.sticky-hub[hidden] {
  display: none !important;
}

/* line 53229, app/assets/stylesheets/application.scss */
.sticky-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 10px 0 24px;
}

/* line 53237, app/assets/stylesheets/application.scss */
.sticky-hub-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

/* line 53244, app/assets/stylesheets/application.scss */
.sticky-hub-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 53252, app/assets/stylesheets/application.scss */
.sticky-hub-titles strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 53258, 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 53266, 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 53280, app/assets/stylesheets/application.scss */
.sticky-hub-circle.is-filled {
  background: var(--sticky-ink);
  color: #fff;
}

/* line 53285, 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 53296, 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 53305, 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 53316, 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 53324, app/assets/stylesheets/application.scss */
.sticky-hub-card.is-left {
  transform: rotate(-1.4deg);
}

/* line 53325, app/assets/stylesheets/application.scss */
.sticky-hub-card.is-right {
  transform: rotate(1.6deg);
}

/* line 53327, app/assets/stylesheets/application.scss */
.sticky-hub-card:hover,
.sticky-hub-card:focus-within {
  transform: rotate(0deg) translateY(-2px);
  z-index: 1;
}

/* line 53333, 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 53347, app/assets/stylesheets/application.scss */
.sticky-hub-card-open header {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* line 53353, app/assets/stylesheets/application.scss */
.sticky-hub-card-open strong {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

/* line 53360, 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 53371, app/assets/stylesheets/application.scss */
.sticky-hub-widget-mark {
  font-size: 11px;
  color: rgba(23, 25, 29, 0.55);
}

/* line 53376, 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 53389, 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 53400, app/assets/stylesheets/application.scss */
.sticky-hub-empty i {
  font-size: 36px;
  color: var(--sticky-accent);
}

/* line 53405, app/assets/stylesheets/application.scss */
.sticky-hub-empty strong {
  font-size: 17px;
}

/* line 53409, 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 53417, 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 53428, 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 53437, app/assets/stylesheets/application.scss */
#sticky-hub-confirm.sticky-hub-sheet,
#sticky-hub-menu.sticky-hub-sheet {
  z-index: 5;
}

/* line 53442, app/assets/stylesheets/application.scss */
.sticky-hub-sheet.hidden,
.sticky-hub-sheet[hidden] {
  display: none !important;
}

/* line 53447, app/assets/stylesheets/application.scss */
.sticky-hub-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.28);
}

/* line 53454, 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 53465, app/assets/stylesheets/application.scss */
.sticky-hub-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 20px 28px;
}

/* line 53472, app/assets/stylesheets/application.scss */
.sticky-hub-editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 53478, app/assets/stylesheets/application.scss */
.sticky-hub-text-btn {
  border: 0;
  background: transparent;
  color: var(--sticky-ink);
  font-size: 16px;
  cursor: pointer;
}

/* line 53486, app/assets/stylesheets/application.scss */
.sticky-hub-text-btn.is-strong {
  font-weight: 600;
}

/* line 53490, app/assets/stylesheets/application.scss */
.sticky-hub-text-btn.is-danger {
  align-self: flex-start;
  margin-top: 4px;
  padding: 8px 0;
  color: var(--perk-ink);
  font-weight: 600;
}

/* line 53498, app/assets/stylesheets/application.scss */
.sticky-hub-swatches {
  display: flex;
  gap: 10px;
}

/* line 53503, 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 53511, app/assets/stylesheets/application.scss */
.sticky-hub-swatch.is-on {
  border: 2px solid rgba(23, 25, 29, 0.85);
}

/* line 53515, 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 53524, app/assets/stylesheets/application.scss */
.sticky-hub-title-input {
  font-size: 20px;
  font-weight: 600;
}

/* line 53529, app/assets/stylesheets/application.scss */
.sticky-hub-body-input {
  font-size: 17px;
  line-height: 1.45;
  resize: vertical;
  min-height: 180px;
}

/* line 53536, app/assets/stylesheets/application.scss */
.sticky-hub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 53543, app/assets/stylesheets/application.scss */
.sticky-hub-toggle strong {
  display: block;
  font-size: 15px;
}

/* line 53548, app/assets/stylesheets/application.scss */
.sticky-hub-toggle small {
  color: rgba(23, 25, 29, 0.5);
  font-size: 12px;
}

/* line 53553, app/assets/stylesheets/application.scss */
.sticky-hub-toggle input {
  width: 46px;
  height: 28px;
  accent-color: var(--sticky-accent);
}

/* line 53559, 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 53568, 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 53579, app/assets/stylesheets/application.scss */
.sticky-hub-confirm-card strong {
  padding: 8px 8px 12px;
  font-size: 17px;
}

/* line 53584, app/assets/stylesheets/application.scss */
.sticky-hub-menu-card .is-danger,
.sticky-hub-confirm-card .is-danger {
  color: var(--perk-ink);
  background: #f3f4f6;
}

@media (min-width: 760px) {
  /* line 53591, app/assets/stylesheets/application.scss */
  .sticky-hub-sheet {
    align-items: center;
  }
  /* line 53595, app/assets/stylesheets/application.scss */
  .sticky-hub-sheet-card,
.sticky-hub-menu-card,
.sticky-hub-confirm-card {
    border-radius: 22px;
    margin-bottom: 0;
  }
}

/* line 53603, 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: #17191d;
  --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 53629, app/assets/stylesheets/application.scss */
.quiz-hub.hidden,
.quiz-hub[hidden] {
  display: none !important;
}

/* line 53634, app/assets/stylesheets/application.scss */
.quiz-hub button,
.quiz-hub label.quiz-ghost {
  cursor: pointer;
}

/* line 53639, app/assets/stylesheets/application.scss */
.quiz-hub button:disabled {
  cursor: not-allowed;
}

/* line 53643, 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 53650, 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 53662, app/assets/stylesheets/application.scss */
.quiz-hub-body {
  position: relative;
}

/* line 53666, app/assets/stylesheets/application.scss */
.quiz-app,
.quiz-stage {
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
}

/* line 53673, app/assets/stylesheets/application.scss */
.quiz-stage {
  max-width: min(720px, 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 53681, app/assets/stylesheets/application.scss */
.quiz-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(16px, 3vw, 28px) 8px;
}

/* line 53688, app/assets/stylesheets/application.scss */
.quiz-titles {
  flex: 1;
  min-width: 0;
}

/* line 53693, app/assets/stylesheets/application.scss */
.quiz-titles strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 53700, 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 53710, 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 53725, app/assets/stylesheets/application.scss */
.quiz-circle:hover {
  background: var(--quiz-field);
}

/* line 53729, 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 53735, app/assets/stylesheets/application.scss */
.quiz-circle.is-filled:hover {
  background: #b52f5f;
}

/* line 53739, app/assets/stylesheets/application.scss */
.quiz-toolbar {
  padding: 4px clamp(16px, 3vw, 28px) 12px;
}

/* line 53743, 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 53754, 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 53764, app/assets/stylesheets/application.scss */
.quiz-status {
  margin: 0 clamp(16px, 3vw, 28px) 10px;
  color: var(--quiz-muted);
  font-size: 14px;
}

/* line 53770, app/assets/stylesheets/application.scss */
.quiz-status.is-error {
  color: var(--quiz-bad);
}

/* line 53774, 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 53783, app/assets/stylesheets/application.scss */
.quiz-review .quiz-scroll {
  display: flex;
  grid-template-columns: none;
}

/* line 53788, app/assets/stylesheets/application.scss */
.quiz-scroll.is-empty {
  display: flex;
}

/* line 53792, 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 53805, 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 53811, 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 53823, app/assets/stylesheets/application.scss */
.quiz-card-copy {
  flex: 1;
  min-width: 0;
}

/* line 53828, app/assets/stylesheets/application.scss */
.quiz-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* line 53834, app/assets/stylesheets/application.scss */
.quiz-card-text {
  flex: 1;
  min-width: 0;
}

/* line 53839, 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 53847, 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 53859, app/assets/stylesheets/application.scss */
.quiz-ring {
  width: 46px;
  height: 46px;
  flex: none;
}

/* line 53865, app/assets/stylesheets/application.scss */
.quiz-ring-track {
  fill: none;
  stroke: var(--quiz-field);
  stroke-width: 5;
}

/* line 53871, 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 53880, 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 53886, app/assets/stylesheets/application.scss */
.quiz-score-ring .quiz-ring-value {
  transform: rotate(-90deg);
}

/* line 53890, app/assets/stylesheets/application.scss */
.quiz-ring text {
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  fill: var(--quiz-ink);
}

/* line 53897, app/assets/stylesheets/application.scss */
.quiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* line 53904, 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 53916, app/assets/stylesheets/application.scss */
.quiz-chip {
  transition: background 0.12s ease, color 0.12s ease;
}

/* line 53920, app/assets/stylesheets/application.scss */
.quiz-chip:hover {
  background: #e8eaee;
}

/* line 53924, app/assets/stylesheets/application.scss */
.quiz-chips span.is-accent,
.quiz-chip.is-on {
  background: var(--quiz-soft);
  color: var(--quiz-accent);
}

/* line 53930, 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 53939, 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 53952, app/assets/stylesheets/application.scss */
.quiz-more:hover {
  background: rgba(217, 72, 72, 0.1);
  color: var(--quiz-bad);
}

/* line 53957, app/assets/stylesheets/application.scss */
.quiz-empty {
  margin: auto;
  text-align: center;
  padding: 40px 28px;
  max-width: 400px;
}

/* line 53964, 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 53976, app/assets/stylesheets/application.scss */
.quiz-empty strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 53983, app/assets/stylesheets/application.scss */
.quiz-empty p,
.quiz-lead,
.quiz-hint {
  color: var(--quiz-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* line 53991, app/assets/stylesheets/application.scss */
.quiz-empty p {
  margin: 8px 0 20px;
}

/* line 53995, 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 54009, app/assets/stylesheets/application.scss */
.quiz-cta,
.quiz-primary {
  background: var(--quiz-accent);
  color: #fff;
  width: 100%;
}

/* line 54016, app/assets/stylesheets/application.scss */
.quiz-cta:hover,
.quiz-primary:hover:not(:disabled) {
  background: #b52f5f;
}

/* line 54021, app/assets/stylesheets/application.scss */
.quiz-empty .quiz-cta {
  width: auto;
  min-width: 180px;
}

/* line 54026, app/assets/stylesheets/application.scss */
.quiz-primary:disabled,
.quiz-cta:disabled,
.quiz-secondary:disabled {
  opacity: 0.42;
}

/* line 54032, app/assets/stylesheets/application.scss */
.quiz-secondary {
  background: var(--quiz-field);
  color: var(--quiz-ink);
  width: 100%;
}

/* line 54038, app/assets/stylesheets/application.scss */
.quiz-secondary:hover:not(:disabled) {
  background: #e8eaee;
}

/* line 54042, 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 54053, 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 54069, app/assets/stylesheets/application.scss */
.quiz-ghost:hover {
  background: var(--quiz-field);
}

/* line 54073, 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 54083, app/assets/stylesheets/application.scss */
.quiz-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 29, 0.36);
  border: 0;
}

/* line 54090, 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 54105, app/assets/stylesheets/application.scss */
.quiz-create {
  width: min(640px, 100%);
}

/* line 54109, 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 54117, app/assets/stylesheets/application.scss */
.quiz-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 650;
}

/* line 54123, 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 54134, app/assets/stylesheets/application.scss */
.quiz-sheet-body {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 4px 0 12px;
}

/* line 54141, app/assets/stylesheets/application.scss */
.quiz-sheet-foot {
  flex: none;
  padding-top: 12px;
  border-top: 1px solid var(--quiz-line);
}

/* line 54147, app/assets/stylesheets/application.scss */
.quiz-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 54153, 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 54162, app/assets/stylesheets/application.scss */
.quiz-complete h1 {
  margin: 16px 0 4px;
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

/* line 54169, app/assets/stylesheets/application.scss */
.quiz-lead {
  margin: 0 0 12px;
}

/* line 54173, 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 54186, app/assets/stylesheets/application.scss */
.quiz-create textarea:focus {
  background: #fff;
  border-color: rgba(199, 56, 107, 0.35);
  outline: none;
}

/* line 54192, 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 54199, 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 54210, app/assets/stylesheets/application.scss */
.quiz-file i {
  color: var(--quiz-accent);
}

/* line 54214, 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 54223, app/assets/stylesheets/application.scss */
.quiz-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 54229, app/assets/stylesheets/application.scss */
.quiz-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 54235, app/assets/stylesheets/application.scss */
.quiz-settings {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

/* line 54241, app/assets/stylesheets/application.scss */
.quiz-chip-block {
  margin: 12px 0 4px;
}

/* line 54245, 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 54253, app/assets/stylesheets/application.scss */
.quiz-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
}

/* line 54260, app/assets/stylesheets/application.scss */
.quiz-stats div {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--quiz-field);
  min-width: 0;
}

/* line 54267, 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 54277, app/assets/stylesheets/application.scss */
.quiz-stats span {
  font-size: 12px;
  color: var(--quiz-muted);
}

/* line 54282, 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 54291, 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 54300, app/assets/stylesheets/application.scss */
.quiz-overlay-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

/* line 54306, 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 54315, app/assets/stylesheets/application.scss */
.quiz-phase.is-on,
.quiz-phase .fa-check-circle {
  color: var(--quiz-accent);
}

/* line 54320, 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 54330, app/assets/stylesheets/application.scss */
.quiz-error-box p {
  margin: 0 0 6px;
}

/* line 54334, 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 54345, 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 54357, app/assets/stylesheets/application.scss */
.quiz-confirm strong {
  font-size: 18px;
}

/* line 54361, app/assets/stylesheets/application.scss */
.quiz-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 54367, 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 54379, app/assets/stylesheets/application.scss */
.quiz-confirm button {
  text-align: center;
}

/* line 54383, app/assets/stylesheets/application.scss */
.quiz-confirm .is-danger {
  background: #f3f4f6;
  color: var(--quiz-bad);
}

/* line 54388, app/assets/stylesheets/application.scss */
.quiz-drive-card {
  width: min(480px, 100%);
}

/* line 54392, app/assets/stylesheets/application.scss */
.quiz-drive-list {
  overflow: auto;
  padding: 4px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 54400, app/assets/stylesheets/application.scss */
.quiz-drive-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--quiz-line);
}

/* line 54408, app/assets/stylesheets/application.scss */
.quiz-drive-row:hover {
  background: var(--quiz-field);
}

/* line 54412, app/assets/stylesheets/application.scss */
.quiz-take,
.quiz-complete,
.quiz-review {
  padding: 8px clamp(16px, 3vw, 28px) 24px;
  background: #fff;
}

/* line 54419, app/assets/stylesheets/application.scss */
.quiz-take-head {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 12px;
}

/* line 54426, app/assets/stylesheets/application.scss */
.quiz-take-count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 54433, app/assets/stylesheets/application.scss */
.quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--quiz-field);
  overflow: hidden;
  margin: 8px 0 18px;
}

/* line 54441, 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 54449, 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 54458, 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 54466, app/assets/stylesheets/application.scss */
.quiz-hint {
  margin: -8px 0 14px;
}

/* line 54470, app/assets/stylesheets/application.scss */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 54476, 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 54493, app/assets/stylesheets/application.scss */
.quiz-option:not(:disabled):hover {
  background: #e8eaee;
}

/* line 54497, app/assets/stylesheets/application.scss */
.quiz-option.is-on {
  background: var(--quiz-soft);
  border-color: rgba(199, 56, 107, 0.45);
}

/* line 54502, 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 54507, 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 54512, 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 54524, app/assets/stylesheets/application.scss */
.quiz-option.is-on .quiz-letter {
  background: var(--quiz-accent);
  color: #fff;
}

/* line 54529, app/assets/stylesheets/application.scss */
.quiz-option.is-right .quiz-letter {
  background: var(--quiz-ok);
  color: #fff;
}

/* line 54534, app/assets/stylesheets/application.scss */
.quiz-option.is-wrong .quiz-letter {
  background: var(--quiz-bad);
  color: #fff;
}

/* line 54539, app/assets/stylesheets/application.scss */
.quiz-option-text {
  flex: 1;
  padding-top: 3px;
}

/* line 54544, app/assets/stylesheets/application.scss */
.quiz-option i {
  color: rgba(23, 25, 29, 0.28);
  margin-top: 4px;
}

/* line 54549, app/assets/stylesheets/application.scss */
.quiz-option.is-on i {
  color: var(--quiz-accent);
}

/* line 54553, app/assets/stylesheets/application.scss */
.quiz-option.is-right i {
  color: var(--quiz-ok);
}

/* line 54557, app/assets/stylesheets/application.scss */
.quiz-option.is-wrong i {
  color: var(--quiz-bad);
}

/* line 54561, app/assets/stylesheets/application.scss */
.quiz-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--quiz-field);
}

/* line 54568, app/assets/stylesheets/application.scss */
.quiz-feedback.is-right {
  background: rgba(31, 157, 87, 0.1);
}

/* line 54572, app/assets/stylesheets/application.scss */
.quiz-feedback.is-wrong {
  background: rgba(196, 123, 18, 0.1);
}

/* line 54576, app/assets/stylesheets/application.scss */
.quiz-feedback strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

/* line 54582, app/assets/stylesheets/application.scss */
.quiz-feedback span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 54590, app/assets/stylesheets/application.scss */
.quiz-feedback p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

/* line 54596, app/assets/stylesheets/application.scss */
.quiz-feedback .is-right {
  color: var(--quiz-ok);
}

/* line 54597, app/assets/stylesheets/application.scss */
.quiz-feedback .is-wrong,
.quiz-review-card .is-wrong {
  color: var(--quiz-warn);
}

/* line 54599, app/assets/stylesheets/application.scss */
.quiz-review-card .is-right {
  color: var(--quiz-ok);
}

/* line 54601, app/assets/stylesheets/application.scss */
.quiz-take-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* line 54609, app/assets/stylesheets/application.scss */
.quiz-take-actions:has(.quiz-secondary) {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
}

/* line 54613, app/assets/stylesheets/application.scss */
.quiz-result-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px 4px;
}

/* line 54621, app/assets/stylesheets/application.scss */
.quiz-score-ring {
  width: 120px;
  height: 120px;
  margin-bottom: -88px;
}

/* line 54627, 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 54636, app/assets/stylesheets/application.scss */
.quiz-subscore {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--quiz-muted);
}

/* line 54642, 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 54651, app/assets/stylesheets/application.scss */
.quiz-complete {
  align-items: stretch;
  text-align: center;
}

/* line 54656, app/assets/stylesheets/application.scss */
.quiz-complete .quiz-stats {
  text-align: left;
}

/* line 54660, 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 54669, app/assets/stylesheets/application.scss */
.quiz-review .quiz-scroll {
  padding: 0 0 16px;
}

/* line 54673, app/assets/stylesheets/application.scss */
.quiz-review-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--quiz-field);
  border-left: 3px solid transparent;
}

/* line 54680, app/assets/stylesheets/application.scss */
.quiz-review-card.is-right {
  border-left-color: var(--quiz-ok);
}

/* line 54684, app/assets/stylesheets/application.scss */
.quiz-review-card.is-wrong {
  border-left-color: var(--quiz-warn);
}

/* line 54688, app/assets/stylesheets/application.scss */
.quiz-review-card span {
  font-size: 12px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 54694, app/assets/stylesheets/application.scss */
.quiz-review-card strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

/* line 54701, app/assets/stylesheets/application.scss */
.quiz-review-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(23, 25, 29, 0.72);
}

/* line 54707, app/assets/stylesheets/application.scss */
.quiz-explain {
  color: var(--quiz-muted) !important;
}

@container quiz-hub (min-width: 720px) {
  /* line 54712, app/assets/stylesheets/application.scss */
  .quiz-nav,
.quiz-toolbar {
    padding-left: 28px;
    padding-right: 28px;
  }
  /* line 54718, 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 54728, app/assets/stylesheets/application.scss */
  .quiz-sheet,
.quiz-drive {
    align-items: center;
  }
  /* line 54733, app/assets/stylesheets/application.scss */
  .quiz-sheet-card,
.quiz-confirm,
.quiz-drive-card {
    border-radius: 22px;
    max-height: 86vh;
    margin-bottom: 0;
  }
  /* line 54741, app/assets/stylesheets/application.scss */
  .quiz-settings {
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }
  /* line 54746, app/assets/stylesheets/application.scss */
  .quiz-sheet-actions {
    flex-direction: row;
  }
  /* line 54750, app/assets/stylesheets/application.scss */
  .quiz-sheet-actions .quiz-primary,
.quiz-sheet-actions .quiz-secondary {
    width: auto;
    flex: 1;
  }
  /* line 54756, app/assets/stylesheets/application.scss */
  .quiz-confirm-actions {
    flex-direction: row-reverse;
  }
  /* line 54760, app/assets/stylesheets/application.scss */
  .quiz-confirm-actions button {
    flex: 1;
  }
  /* line 54764, app/assets/stylesheets/application.scss */
  .quiz-take,
.quiz-complete,
.quiz-review {
    background: #f7f8fa;
  }
  /* line 54770, 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 54780, app/assets/stylesheets/application.scss */
  .quiz-review .quiz-stage {
    overflow: hidden;
  }
}

@container quiz-hub (min-width: 980px) {
  /* line 54786, 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: 500;
  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: var(--perk-ink);
  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: var(--perk-ink);
  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: 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;
}

/* line 45, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-stage {
  display: none;
}

/* line 49, app/assets/stylesheets/_pin_hub.scss */
.pin-hub.is-board-open .pin-hub-rail {
  display: none;
}

/* line 53, app/assets/stylesheets/_pin_hub.scss */
.pin-hub.is-board-open .pin-hub-stage {
  display: flex;
}

/* line 57, 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 65, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-head {
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* line 71, 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 80, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-titles strong {
  font-size: var(--text-title-3);
  font-weight: 500;
  letter-spacing: var(--text-title-tracking);
  line-height: 1.2;
}

/* line 87, 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 94, 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 101, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-titles span {
  line-height: 1.35;
}

/* line 105, 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 119, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle:hover {
  background: #ece8df;
}

/* line 123, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle.is-filled {
  background: var(--pin-ink);
  color: #fff;
}

/* line 128, 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 136, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(920px, calc(100% - 32px));
  margin: 4px auto 12px;
  padding: 0 12px;
  min-height: 40px;
  border-radius: 12px;
  background: #f3f1eb;
  color: var(--pin-muted);
}

/* line 149, 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 159, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-boards {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
  padding: 4px 16px 28px;
  overflow: auto;
  width: min(920px, 100%);
  margin: 0 auto;
}

/* line 171, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pin-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 25, 29, 0.04);
  text-align: left;
  cursor: pointer;
  color: inherit;
}

/* line 187, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-card:hover,
.pin-hub-board-card.is-active {
  background: #fffdf9;
  border-color: rgba(196, 92, 74, 0.28);
}

/* line 193, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb {
  position: relative;
  width: 88px;
  height: 68px;
  border-radius: 14px;
  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 206, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

/* line 213, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb i.is-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: transparent;
  box-shadow: none;
}

/* line 224, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 231, 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 240, 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 252, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty {
  flex: 1 1 auto;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 40px 24px;
}

/* line 259, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty-mark,
.pin-hub-stage-idle span {
  font-size: 36px;
  line-height: 1;
}

/* line 265, 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 273, 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 283, 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 292, 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 302, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-cta:hover {
  filter: brightness(1.08);
}

/* line 304, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-stage {
  position: relative;
  background: #efe7d8;
}

/* line 309, 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 317, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-back {
  display: inline-flex;
}

/* line 319, 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: 500;
  letter-spacing: -0.03em;
  text-align: left;
  cursor: pointer;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 335, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-actions {
  display: flex;
  gap: 8px;
}

/* line 340, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

/* line 349, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas-wrap:active {
  cursor: grabbing;
}

/* line 353, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 4200px;
  height: 5600px;
  will-change: transform;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.08);
  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);
}

/* line 369, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas.is-link-mode {
  cursor: crosshair;
}

/* line 373, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-strings {
  position: absolute;
  inset: 0;
  pointer-events: stroke;
  color: #db1f29;
  overflow: visible;
  z-index: 1;
}

/* line 382, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-string {
  pointer-events: stroke;
  cursor: pointer;
}

/* line 387, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-stage-idle {
  position: absolute;
  inset: 0;
  justify-content: center;
  pointer-events: none;
}

/* line 394, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-empty {
  position: absolute;
  left: 50%;
  bottom: 108px;
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 36ch;
}

/* line 407, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 7%;
  border-radius: 3px;
  background: var(--pin-note, #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;
  transform-origin: center center;
  overflow: hidden;
}

/* line 425, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-selected {
  outline: 2px solid rgba(219, 31, 41, 0.55);
  outline-offset: 3px;
}

/* line 430, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-link-from {
  outline: 2px solid #db1f29;
  outline-offset: 4px;
}

/* line 435, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-dragging {
  cursor: grabbing;
  box-shadow: 0 18px 32px rgba(70, 42, 18, 0.24);
}

/* line 440, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-photo {
  padding: 5%;
  background: #fff;
}

/* line 445, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-clipping {
  background: #f4f1ea;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

/* line 450, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-object {
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: center;
  padding: 4%;
}

/* line 458, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-tack {
  position: absolute;
  top: -1.5%;
  left: 50%;
  width: 8%;
  max-width: 18px;
  aspect-ratio: 1;
  margin-left: -4%;
  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);
  z-index: 2;
}

/* line 474, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-media {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 4%;
  pointer-events: none;
}

/* line 485, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  flex: 1;
}

/* line 494, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy.is-object {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* line 500, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy.is-clipping {
  gap: 6px;
}

/* line 504, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-news-tag {
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #db1f29;
}

/* line 511, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-emoji {
  font-size: 2.2em;
  line-height: 1;
}

/* line 516, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy strong {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-word;
}

/* line 524, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy p,
.pin-hub-pin-copy small {
  margin: 0;
  font-size: 0.58em;
  color: var(--pin-muted);
  line-height: 1.4;
  word-break: break-word;
}

/* line 533, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-handle {
  position: absolute;
  z-index: 200;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #db1f29;
  box-shadow: 0 1px 4px rgba(23, 25, 29, 0.35);
  cursor: nwse-resize;
  padding: 0;
}

/* line 547, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-handle.is-topRight,
.pin-hub-handle.is-bottomLeft {
  cursor: nesw-resize;
}

/* line 552, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle.is-on {
  background: #db1f29;
  color: #fff;
}

/* line 557, 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 573, 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 578, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-dock button {
  min-width: 56px;
  border: 0;
  background: transparent;
  color: var(--pin-ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

/* line 594, 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 605, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-dock button:hover span {
  background: #ece6da;
}

/* line 609, 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 618, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-sheet.hidden,
.pin-hub-sheet[hidden] {
  display: none !important;
}

/* line 623, 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 631, 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 644, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 18px 0;
}

/* line 651, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 658, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form header strong {
  font-size: var(--text-title-3);
  letter-spacing: var(--text-title-tracking);
}

/* line 663, 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 671, 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 684, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form textarea {
  resize: vertical;
  min-height: 96px;
}

/* line 689, 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 697, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-people {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow: auto;
}

/* line 705, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 712, 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 726, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 732, 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 742, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-empty {
  margin: 0;
  color: var(--pin-muted);
  font-size: var(--text-footnote);
}

/* line 748, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-text-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 753, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-danger {
  margin-right: auto;
  background: transparent;
  color: var(--perk-ink);
  font-size: var(--text-callout);
  font-weight: 650;
}

/* line 761, 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 770, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-menu-btn.is-danger {
  color: var(--perk-ink);
}

/* line 772, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-backdrop-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

/* line 778, 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 791, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* line 793, 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 803, 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 808, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 814, 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 824, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row label.is-on,
.pin-hub-emoji-row label:has(input:checked) {
  background: #ece4d4;
}

/* line 829, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row input {
  display: none;
}

/* line 830, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row span {
  font-size: 18px;
}

/* line 832, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-photo-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

/* line 839, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-none {
  margin: 8px 4px;
  color: var(--pin-muted);
  font-size: var(--text-footnote);
}

@media (min-width: 760px) {
  /* line 846, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-boards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 20px;
    padding-right: 20px;
  }
  /* line 852, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-titles strong {
    font-size: var(--text-title-2);
  }
}

@media (max-width: 860px) {
  /* line 858, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-canvas-wrap {
    padding: 4px 10px 96px;
  }
  /* line 862, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-dock {
    bottom: 12px;
    width: calc(100% - 24px);
    justify-content: space-around;
  }
  /* line 868, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-dock button {
    min-width: 0;
    flex: 1;
  }
}

/* line 54794, 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 54813, app/assets/stylesheets/application.scss */
.occasion-hub.hidden,
.occasion-hub[hidden] {
  display: none !important;
}

/* line 54818, app/assets/stylesheets/application.scss */
.occasion-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 54825, app/assets/stylesheets/application.scss */
.occasion-hub-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

/* line 54832, app/assets/stylesheets/application.scss */
.occasion-hub-head strong {
  flex: 1;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 54839, app/assets/stylesheets/application.scss */
.occ-head-actions {
  display: flex;
  gap: 8px;
}

/* line 54844, 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 54854, app/assets/stylesheets/application.scss */
.occ-icon-btn.is-on,
.occ-icon-btn.is-accent {
  background: var(--occ-accent);
  color: #fff;
}

/* line 54860, 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 54871, app/assets/stylesheets/application.scss */
.occ-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--occ-ink);
  outline: none;
}

/* line 54880, app/assets/stylesheets/application.scss */
.occasion-hub-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 54886, app/assets/stylesheets/application.scss */
.occ-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 16px 28px;
}

/* line 54893, 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 54904, 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 54917, app/assets/stylesheets/application.scss */
.occ-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--occ-soft);
  font-size: 22px;
}

/* line 54925, app/assets/stylesheets/application.scss */
.occ-empty strong {
  font-size: 19px;
  font-weight: 600;
}

/* line 54930, 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 54940, app/assets/stylesheets/application.scss */
.occ-cta,
.occ-ghost,
.occ-danger,
.occ-chips button {
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

/* line 54949, app/assets/stylesheets/application.scss */
.occ-cta {
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--occ-accent);
  color: #fff;
}

/* line 54957, app/assets/stylesheets/application.scss */
.occ-cta-block,
.occ-ghost,
.occ-danger {
  width: 100%;
  padding: 14px 12px;
  border-radius: 14px;
}

/* line 54965, app/assets/stylesheets/application.scss */
.occ-ghost {
  background: var(--occ-surface);
  color: var(--occ-ink);
}

/* line 54970, app/assets/stylesheets/application.scss */
.occ-danger {
  background: transparent;
  color: var(--perk-ink);
}

/* line 54975, 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 54988, app/assets/stylesheets/application.scss */
.occ-focus {
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--occ-tint) 10%, #fff);
}

/* line 54994, app/assets/stylesheets/application.scss */
.occ-row {
  padding: 12px;
  border-radius: 16px;
}

/* line 54999, app/assets/stylesheets/application.scss */
.occ-focus-copy,
.occ-row-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 55008, app/assets/stylesheets/application.scss */
.occ-focus-copy strong,
.occ-row-copy strong,
.occ-hero strong {
  font-size: 16px;
  font-weight: 600;
}

/* line 55015, app/assets/stylesheets/application.scss */
.occ-count {
  text-align: right;
}

/* line 55019, app/assets/stylesheets/application.scss */
.occ-count b {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--occ-tint);
}

/* line 55026, 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 55035, app/assets/stylesheets/application.scss */
.occ-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 55041, app/assets/stylesheets/application.scss */
.occ-section h3 {
  margin: 0;
  text-transform: none;
}

/* line 55046, app/assets/stylesheets/application.scss */
.occ-when {
  font-size: 12px;
  font-weight: 600;
}

/* line 55051, app/assets/stylesheets/application.scss */
.occ-when.is-today {
  color: var(--occ-tint);
}

/* line 55055, app/assets/stylesheets/application.scss */
.occ-cal {
  padding: 8px 12px 24px;
}

/* line 55059, app/assets/stylesheets/application.scss */
.occ-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* line 55066, app/assets/stylesheets/application.scss */
.occ-cal-head strong {
  font-size: 19px;
}

/* line 55070, app/assets/stylesheets/application.scss */
.occ-cal-week,
.occ-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
}

/* line 55077, 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 55085, 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 55097, app/assets/stylesheets/application.scss */
.occ-cal-cell.is-today span:first-child {
  color: var(--occ-accent);
  font-weight: 700;
}

/* line 55102, app/assets/stylesheets/application.scss */
.occ-cal-cell.has-event span:first-child {
  font-weight: 700;
}

/* line 55106, app/assets/stylesheets/application.scss */
.occ-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(23, 25, 29, 0.12);
}

/* line 55113, 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 55126, app/assets/stylesheets/application.scss */
.occ-file.lg {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

/* line 55132, 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 55145, 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 55156, 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 55165, app/assets/stylesheets/application.scss */
.occ-confirm-card {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

/* line 55173, 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 55185, app/assets/stylesheets/application.scss */
.occ-sheet-bar strong {
  text-align: center;
}

/* line 55189, app/assets/stylesheets/application.scss */
.occ-sheet-bar .occ-text-btn:last-child {
  justify-self: end;
}

/* line 55193, app/assets/stylesheets/application.scss */
.occ-text-btn {
  border: 0;
  background: transparent;
  color: var(--occ-ink);
  font-size: 16px;
  cursor: pointer;
}

/* line 55201, app/assets/stylesheets/application.scss */
.occ-text-btn.is-accent {
  color: var(--occ-accent);
  font-weight: 600;
}

/* line 55206, app/assets/stylesheets/application.scss */
.occ-form,
.occ-detail,
.occ-day-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 20px 28px;
}

/* line 55215, app/assets/stylesheets/application.scss */
.occ-form label,
.occ-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

/* line 55224, app/assets/stylesheets/application.scss */
.occ-toggle {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* line 55230, app/assets/stylesheets/application.scss */
.occ-toggle input {
  width: 48px;
  height: 30px;
  accent-color: var(--occ-accent);
}

/* line 55236, 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 55247, app/assets/stylesheets/application.scss */
.occ-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
}

/* line 55253, 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 55268, app/assets/stylesheets/application.scss */
.occ-type.is-on {
  background: var(--occ-tint, var(--occ-accent));
  color: #fff;
}

/* line 55273, 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 55282, app/assets/stylesheets/application.scss */
.occ-hero-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* line 55288, app/assets/stylesheets/application.scss */
.occ-hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

/* line 55295, app/assets/stylesheets/application.scss */
.occ-hero-meta b {
  color: var(--occ-tint);
  font-size: 15px;
}

/* line 55300, app/assets/stylesheets/application.scss */
.occ-hero-meta span {
  display: flex;
  gap: 10px;
  color: var(--occ-muted);
  font-size: 12px;
}

/* line 55307, app/assets/stylesheets/application.scss */
.occ-notes {
  padding: 16px;
  border-radius: 16px;
  background: var(--occ-surface);
}

/* line 55313, app/assets/stylesheets/application.scss */
.occ-notes p {
  margin: 8px 0 0;
  color: var(--occ-muted);
}

/* line 55318, app/assets/stylesheets/application.scss */
.occ-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 55324, app/assets/stylesheets/application.scss */
.occ-chips button {
  padding: 12px;
  border-radius: 14px;
  background: var(--occ-surface);
  color: var(--occ-ink);
}

/* line 55331, app/assets/stylesheets/application.scss */
.occ-error {
  margin: 0;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 55337, 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 55346, app/assets/stylesheets/application.scss */
.occ-chevron {
  color: #c4c4c6;
  font-size: 12px;
}

@keyframes occ-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 760px) {
  /* line 55356, app/assets/stylesheets/application.scss */
  .occ-sheet,
.occ-confirm {
    align-items: center;
  }
  /* line 55361, app/assets/stylesheets/application.scss */
  .occ-sheet-card,
.occ-confirm-card {
    border-radius: 22px;
  }
}

@media (min-width: 760px) {
  /* line 55368, app/assets/stylesheets/application.scss */
  .market-sheet {
    align-items: center;
  }
  /* line 55372, app/assets/stylesheets/application.scss */
  .market-sheet-card {
    border-radius: 22px;
  }
}

/* line 55377, 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 55404, app/assets/stylesheets/application.scss */
.nutrition-hub.hidden,
.nutrition-hub[hidden] {
  display: none !important;
}

/* line 55409, app/assets/stylesheets/application.scss */
.nutrition-hub-shell,
.nutrition-hub-body,
.nutrition-stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 55418, 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 55428, app/assets/stylesheets/application.scss */
.nutrition-hub-titles {
  flex: 1;
  min-width: 0;
}

/* line 55433, app/assets/stylesheets/application.scss */
.nutrition-hub-titles strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 55441, 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 55452, 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 55469, app/assets/stylesheets/application.scss */
.nutrition-circle-btn:hover,
.nutrition-icon-btn:hover {
  background: var(--nutrition-soft);
  color: var(--nutrition-accent-ink);
}

/* line 55475, 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 55489, app/assets/stylesheets/application.scss */
.nutrition-hub-body {
  flex: 1;
  overflow: hidden;
}

/* line 55494, 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 55505, 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 55518, 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 55524, app/assets/stylesheets/application.scss */
.nutrition-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 55530, 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 55539, app/assets/stylesheets/application.scss */
.nutrition-today,
.nutrition-week,
.nutrition-weight {
  display: grid;
  gap: 16px;
}

/* line 55546, 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 55557, 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 55568, 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 55578, 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 55587, app/assets/stylesheets/application.scss */
.nutrition-dash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 55594, 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 55603, app/assets/stylesheets/application.scss */
.nutrition-kcal {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 55611, 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 55619, app/assets/stylesheets/application.scss */
.nutrition-kcal span,
.nutrition-remain {
  margin: 0;
  font-size: 14px;
  color: var(--nutrition-muted);
}

/* line 55626, app/assets/stylesheets/application.scss */
.nutrition-remain {
  margin-top: 8px;
  font-weight: 600;
}

/* line 55631, app/assets/stylesheets/application.scss */
.nutrition-remain.is-over {
  color: var(--nutrition-over);
}

/* line 55635, app/assets/stylesheets/application.scss */
.nutrition-ring-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

/* line 55642, app/assets/stylesheets/application.scss */
.nutrition-ring {
  width: 88px;
  height: 88px;
  display: block;
}

/* line 55648, 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 55659, app/assets/stylesheets/application.scss */
.nutrition-macros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-top: 18px;
}

/* line 55666, app/assets/stylesheets/application.scss */
.nutrition-macro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* line 55673, app/assets/stylesheets/application.scss */
.nutrition-macro-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

/* line 55680, app/assets/stylesheets/application.scss */
.nutrition-macro span {
  font-size: 12px;
  font-weight: 600;
  color: var(--nutrition-muted);
}

/* line 55686, app/assets/stylesheets/application.scss */
.nutrition-macro strong {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* line 55692, app/assets/stylesheets/application.scss */
.nutrition-macro strong em {
  font-style: normal;
  font-weight: 500;
  color: var(--nutrition-muted);
}

/* line 55698, app/assets/stylesheets/application.scss */
.nutrition-macro-track {
  height: 6px;
  border-radius: 99px;
  background: var(--nutrition-field);
  overflow: hidden;
}

/* line 55705, app/assets/stylesheets/application.scss */
.nutrition-macro-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--nutrition-accent);
}

/* line 55712, app/assets/stylesheets/application.scss */
.nutrition-macro.is-protein .nutrition-macro-track i {
  background: var(--nutrition-protein);
}

/* line 55713, app/assets/stylesheets/application.scss */
.nutrition-macro.is-carbs .nutrition-macro-track i {
  background: var(--nutrition-carbs);
}

/* line 55714, app/assets/stylesheets/application.scss */
.nutrition-macro.is-fat .nutrition-macro-track i {
  background: var(--nutrition-fat);
}

/* line 55715, app/assets/stylesheets/application.scss */
.nutrition-macro.is-fiber .nutrition-macro-track i {
  background: var(--nutrition-fiber);
}

/* line 55717, app/assets/stylesheets/application.scss */
.nutrition-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 55723, 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 55740, 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 55751, app/assets/stylesheets/application.scss */
.nutrition-action.is-primary {
  background: var(--nutrition-accent);
  border-color: transparent;
  color: #fff;
}

/* line 55757, app/assets/stylesheets/application.scss */
.nutrition-action.is-primary i {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* line 55762, app/assets/stylesheets/application.scss */
.nutrition-action:hover {
  transform: translateY(-1px);
}

/* line 55766, 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 55773, app/assets/stylesheets/application.scss */
.nutrition-coach-title {
  margin: 0 0 8px;
  color: var(--nutrition-accent-ink);
  font-size: 13px;
  font-weight: 700;
}

/* line 55780, app/assets/stylesheets/application.scss */
.nutrition-coach p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* line 55786, app/assets/stylesheets/application.scss */
.nutrition-diary-head,
.nutrition-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

/* line 55794, app/assets/stylesheets/application.scss */
.nutrition-diary-head h2,
.nutrition-row-head h2 {
  margin: 0;
}

/* line 55799, 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 55807, app/assets/stylesheets/application.scss */
.nutrition-meal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
}

/* line 55814, 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 55825, app/assets/stylesheets/application.scss */
.nutrition-meal-head strong {
  flex: 1;
  font-size: 14px;
  font-weight: 650;
}

/* line 55831, 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 55839, 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 55852, 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 55861, 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 55873, app/assets/stylesheets/application.scss */
.nutrition-meal-main strong,
.nutrition-food-row strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 55879, 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 55886, 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 55894, app/assets/stylesheets/application.scss */
.nutrition-food-row em.is-warn {
  color: var(--perk-ink);
}

/* line 55898, 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 55910, 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 55923, app/assets/stylesheets/application.scss */
.nutrition-hub-body > .nutrition-setup {
  flex: 1;
}

/* line 55927, 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 55936, app/assets/stylesheets/application.scss */
.nutrition-setup .nutrition-primary {
  width: auto;
  min-width: 200px;
  padding-inline: 28px;
}

/* line 55942, 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 55952, 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 55963, 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 55977, app/assets/stylesheets/application.scss */
.nutrition-primary {
  background: var(--nutrition-accent);
  color: #fff;
}

/* line 55982, 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 55990, app/assets/stylesheets/application.scss */
.nutrition-primary.is-inline,
.nutrition-text-btn {
  width: auto;
}

/* line 55995, app/assets/stylesheets/application.scss */
.nutrition-secondary {
  background: var(--nutrition-paper);
  border: 1px solid var(--nutrition-line);
}

/* line 56000, app/assets/stylesheets/application.scss */
.nutrition-danger {
  background: #17191d;
  color: #fff;
}

/* line 56005, app/assets/stylesheets/application.scss */
.nutrition-primary:disabled,
.nutrition-text-btn:disabled,
.nutrition-secondary:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: none;
}

/* line 56013, app/assets/stylesheets/application.scss */
.nutrition-error {
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 550;
}

/* line 56019, app/assets/stylesheets/application.scss */
.nutrition-error.nutrition-pad {
  padding: 0;
}

/* line 56023, app/assets/stylesheets/application.scss */
.nutrition-weight-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 56029, app/assets/stylesheets/application.scss */
.nutrition-weight-form .nutrition-field {
  flex: 1;
}

/* line 56033, app/assets/stylesheets/application.scss */
.nutrition-weight-form .nutrition-primary {
  flex: 0 0 auto;
  padding-inline: 20px;
}

/* line 56038, 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 56048, 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 56055, app/assets/stylesheets/application.scss */
.nutrition-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* line 56063, app/assets/stylesheets/application.scss */
.nutrition-pair {
  display: grid;
  gap: 10px;
}

/* line 56068, 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 56079, app/assets/stylesheets/application.scss */
.nutrition-bars.is-short {
  height: 132px;
}

/* line 56083, 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 56091, 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 56101, 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 56110, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-under {
  background: rgba(46, 158, 122, 0.42);
}

/* line 56111, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-over {
  background: var(--nutrition-over);
}

/* line 56112, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-empty {
  background: var(--nutrition-line);
}

/* line 56114, app/assets/stylesheets/application.scss */
.nutrition-bar span {
  font-size: 11px;
  font-weight: 600;
  color: var(--nutrition-muted);
}

/* line 56120, 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 56130, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 120px;
}

/* line 56137, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-p,
.nutrition-legend span.is-p {
  background: var(--nutrition-protein);
}

/* line 56139, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-c,
.nutrition-legend span.is-c {
  background: var(--nutrition-carbs);
}

/* line 56141, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-f,
.nutrition-legend span.is-f {
  background: var(--nutrition-fat);
}

/* line 56144, 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 56155, app/assets/stylesheets/application.scss */
.nutrition-legend span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 4px;
}

/* line 56163, app/assets/stylesheets/application.scss */
.nutrition-trend {
  position: relative;
  height: 180px;
  margin-top: 14px;
}

/* line 56169, app/assets/stylesheets/application.scss */
.nutrition-trend svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* line 56176, app/assets/stylesheets/application.scss */
.nutrition-weight-list {
  display: flex;
  flex-direction: column;
}

/* line 56181, 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 56191, app/assets/stylesheets/application.scss */
.nutrition-weight-row:first-child {
  border-top: 0;
}

/* line 56195, app/assets/stylesheets/application.scss */
.nutrition-weight-row span {
  color: var(--nutrition-muted);
  font-size: 13px;
}

/* line 56200, app/assets/stylesheets/application.scss */
.nutrition-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 56209, app/assets/stylesheets/application.scss */
.nutrition-sheet.hidden,
.nutrition-sheet[hidden] {
  display: none !important;
}

/* line 56214, app/assets/stylesheets/application.scss */
.nutrition-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.36);
}

/* line 56221, 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 56232, 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 56240, app/assets/stylesheets/application.scss */
.nutrition-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 56247, 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 56257, app/assets/stylesheets/application.scss */
.nutrition-text-btn.is-strong {
  font-weight: 700;
  justify-self: end;
}

/* line 56262, app/assets/stylesheets/application.scss */
.nutrition-sheet-body {
  overflow: auto;
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 56270, app/assets/stylesheets/application.scss */
.nutrition-scan-actions {
  display: grid;
  gap: 10px;
  width: min(360px, 100%);
}

/* line 56276, 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 56289, app/assets/stylesheets/application.scss */
.nutrition-food-row .is-accent,
.is-accent {
  color: var(--nutrition-accent-ink);
  font-weight: 600;
}

/* line 56295, app/assets/stylesheets/application.scss */
.nutrition-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 56301, 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 56311, app/assets/stylesheets/application.scss */
.nutrition-chip.is-on {
  background: var(--nutrition-accent);
  color: #fff;
}

/* line 56316, app/assets/stylesheets/application.scss */
.nutrition-progress {
  width: 100%;
  height: 6px;
  accent-color: var(--nutrition-accent);
}

/* line 56322, app/assets/stylesheets/application.scss */
.nutrition-steps {
  display: flex;
  gap: 6px;
}

/* line 56327, app/assets/stylesheets/application.scss */
.nutrition-steps i {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--nutrition-line);
}

/* line 56334, app/assets/stylesheets/application.scss */
.nutrition-steps i.is-on {
  background: var(--nutrition-accent);
}

/* line 56338, app/assets/stylesheets/application.scss */
.nutrition-onboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

/* line 56346, app/assets/stylesheets/application.scss */
.nutrition-dl {
  display: grid;
  gap: 0;
}

/* line 56351, 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 56360, app/assets/stylesheets/application.scss */
.nutrition-dl div:first-child {
  border-top: 0;
  padding-top: 0;
}

/* line 56365, app/assets/stylesheets/application.scss */
.nutrition-dl dt {
  color: var(--nutrition-muted);
  font-weight: 550;
}

/* line 56370, app/assets/stylesheets/application.scss */
.nutrition-dl dd {
  margin: 0;
  font-weight: 650;
}

/* line 56375, app/assets/stylesheets/application.scss */
.nutrition-kcal-total {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 56381, 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 56391, app/assets/stylesheets/application.scss */
  .nutrition-macros {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 56395, app/assets/stylesheets/application.scss */
  .nutrition-pair,
.nutrition-scan-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 820px) {
  /* line 56402, app/assets/stylesheets/application.scss */
  .nutrition-today {
    grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 1fr);
    align-items: start;
  }
  /* line 56407, app/assets/stylesheets/application.scss */
  .nutrition-week-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
  }
  /* line 56413, app/assets/stylesheets/application.scss */
  .nutrition-week-grid .nutrition-chart-card:first-child {
    grid-column: 1 / -1;
  }
  /* line 56417, 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 56424, app/assets/stylesheets/application.scss */
  .nutrition-week-grid {
    grid-template-columns: 1.15fr 1fr 0.85fr;
  }
  /* line 56428, app/assets/stylesheets/application.scss */
  .nutrition-week-grid .nutrition-chart-card:first-child {
    grid-column: auto;
  }
}

@media (min-width: 760px) {
  /* line 56434, app/assets/stylesheets/application.scss */
  .nutrition-sheet {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  /* line 56440, app/assets/stylesheets/application.scss */
  .nutrition-sheet-card {
    width: min(540px, 92vw);
    border-radius: 22px;
    max-height: 86vh;
  }
}

/* ── E2EE recovery PIN modal ─────────────────────────────────────────── */
/* line 56457, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 20px;
}

/* line 56466, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

/* line 56472, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-sheet {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 24px 22px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  color: #111827;
}

/* line 56483, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 56490, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-body {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

/* line 56497, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-danger {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f4f6;
  color: var(--perk-ink);
  font-size: 13px;
  line-height: 1.4;
}

/* line 56507, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 56513, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-confirm-label {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* line 56522, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-boxes {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* line 56528, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-digit {
  width: 44px;
  min-width: 0;
  flex: 1;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  outline: 0;
}

/* line 56543, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-digit:focus {
  background: #e5e7eb;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.18);
}

/* line 56548, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
}

/* line 56556, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-status.is-error {
  color: var(--perk-ink);
}

/* line 56560, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

/* line 56567, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

/* line 56582, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 56587, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-btn-primary {
  background: #111827;
  color: #fff;
}

/* line 56592, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-btn-secondary {
  background: transparent;
  color: #374151;
}

@media (max-width: 480px) {
  /* line 56598, app/assets/stylesheets/application.scss */
  .perk-e2ee-pin-digit {
    height: 48px;
    font-size: 20px;
  }
}

/* --- Workplace Brainstorm --- */
/* line 56605, app/assets/stylesheets/application.scss */
.tw-brainstorm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 2px 28px;
  min-height: 100%;
}

/* line 56613, app/assets/stylesheets/application.scss */
.tw-brainstorm-toolbar,
.tw-brainstorm-detail-top,
.tw-brainstorm-groups-toolbar,
.tw-brainstorm-outcome-actions,
.tw-brainstorm-selection,
.tw-brainstorm-suggestion-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* line 56625, app/assets/stylesheets/application.scss */
.tw-brainstorm-toolbar-copy,
.tw-brainstorm-detail-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

/* line 56634, app/assets/stylesheets/application.scss */
.tw-brainstorm-toolbar-copy strong,
.tw-brainstorm-detail-title strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

/* line 56641, app/assets/stylesheets/application.scss */
.tw-brainstorm-toolbar-copy span,
.tw-brainstorm-detail-title span {
  font-size: 0.85rem;
  color: #6b7280;
}

/* line 56647, app/assets/stylesheets/application.scss */
.tw-brainstorm-list,
.tw-brainstorm-idea-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 720px) {
  /* line 56654, app/assets/stylesheets/application.scss */
  .tw-brainstorm-idea-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* line 56659, app/assets/stylesheets/application.scss */
.tw-brainstorm-card,
.tw-brainstorm-idea {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  border-radius: 14px;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* line 56673, app/assets/stylesheets/application.scss */
.tw-brainstorm-card {
  padding: 14px;
  cursor: pointer;
}

/* line 56678, app/assets/stylesheets/application.scss */
.tw-brainstorm-card:hover,
.tw-brainstorm-idea.is-selected,
.tw-brainstorm-idea:hover {
  border-color: rgba(17, 24, 39, 0.18);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
}

/* line 56685, app/assets/stylesheets/application.scss */
.tw-brainstorm-card-ico,
.tw-brainstorm-idea-ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: #ea580c;
}

/* line 56697, app/assets/stylesheets/application.scss */
.tw-brainstorm-card-copy,
.tw-brainstorm-idea-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

/* line 56706, app/assets/stylesheets/application.scss */
.tw-brainstorm-card-copy strong,
.tw-brainstorm-idea-copy strong {
  font-size: 0.98rem;
  font-weight: 650;
  color: #111827;
}

/* line 56713, app/assets/stylesheets/application.scss */
.tw-brainstorm-card-copy em,
.tw-brainstorm-idea-copy em {
  font-style: normal;
  color: #4b5563;
  font-size: 0.88rem;
}

/* line 56720, app/assets/stylesheets/application.scss */
.tw-brainstorm-card-copy span,
.tw-brainstorm-idea-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #9ca3af;
  font-size: 0.78rem;
}

/* line 56730, app/assets/stylesheets/application.scss */
.tw-brainstorm-card-chevron {
  align-self: center;
  color: #9ca3af;
}

/* line 56735, app/assets/stylesheets/application.scss */
.tw-brainstorm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

/* line 56742, app/assets/stylesheets/application.scss */
.tw-brainstorm-form label,
.tw-brainstorm-outcome-draft label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: #374151;
}

/* line 56751, app/assets/stylesheets/application.scss */
.tw-brainstorm-check {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

/* line 56757, app/assets/stylesheets/application.scss */
.tw-brainstorm-subtabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

/* line 56764, app/assets/stylesheets/application.scss */
.tw-brainstorm-subtab {
  border: 0;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

/* line 56777, app/assets/stylesheets/application.scss */
.tw-brainstorm-subtab.is-on {
  background: #111827;
  color: #fff;
}

/* line 56782, app/assets/stylesheets/application.scss */
.tw-brainstorm-add {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* line 56788, app/assets/stylesheets/application.scss */
.tw-brainstorm-add .tw-input {
  flex: 1;
}

/* line 56792, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-select {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

/* line 56805, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 8px 8px 0;
}

/* line 56812, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-menu,
.tw-brainstorm-more-menu {
  position: absolute;
  right: 10px;
  top: 44px;
  z-index: 5;
  min-width: 160px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
}

/* line 56828, app/assets/stylesheets/application.scss */
.tw-brainstorm-more-menu {
  top: 52px;
  right: 12px;
}

/* line 56833, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-menu button,
.tw-brainstorm-more-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

/* line 56844, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-menu button:hover,
.tw-brainstorm-more-menu button:hover {
  background: #f3f4f6;
}

/* line 56849, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-menu .is-danger,
.tw-brainstorm-more-menu .is-danger {
  color: #b91c1c;
}

/* line 56854, app/assets/stylesheets/application.scss */
.tw-brainstorm-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
}

/* line 56865, app/assets/stylesheets/application.scss */
.tw-brainstorm-selection {
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 600;
}

/* line 56874, app/assets/stylesheets/application.scss */
.tw-brainstorm-empty-ideas,
.tw-brainstorm-canvas-placeholder {
  padding: 28px 16px;
  text-align: center;
  color: #6b7280;
  border: 1px dashed rgba(17, 24, 39, 0.12);
  border-radius: 14px;
}

/* line 56883, app/assets/stylesheets/application.scss */
.tw-brainstorm-group {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 56893, app/assets/stylesheets/application.scss */
.tw-brainstorm-group header {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 56899, app/assets/stylesheets/application.scss */
.tw-brainstorm-group header strong {
  flex: 1;
}

/* line 56903, app/assets/stylesheets/application.scss */
.tw-brainstorm-group-idea {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f9fafb;
  font-size: 0.9rem;
}

/* line 56910, app/assets/stylesheets/application.scss */
.tw-brainstorm-outcome {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 56916, app/assets/stylesheets/application.scss */
.tw-brainstorm-outcome-lead {
  margin: 0;
  color: #6b7280;
  font-size: 0.92rem;
}

/* line 56922, app/assets/stylesheets/application.scss */
.tw-brainstorm-outcome-selected,
.tw-brainstorm-outcome-draft,
.tw-brainstorm-outcome-history,
.tw-brainstorm-summary,
.tw-brainstorm-suggestion,
.tw-brainstorm-ai-groups {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 56937, app/assets/stylesheets/application.scss */
.tw-brainstorm-outcome-selected ul {
  margin: 0;
  padding-left: 18px;
}

/* line 56942, app/assets/stylesheets/application.scss */
.tw-brainstorm-task-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

/* line 56949, app/assets/stylesheets/application.scss */
.tw-brainstorm-ai-sheet {
  position: sticky;
  bottom: 0;
  margin-top: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -10px 30px rgba(17, 24, 39, 0.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(55vh, 420px);
  overflow: auto;
  z-index: 8;
}

/* line 56966, app/assets/stylesheets/application.scss */
.tw-brainstorm-ai-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 56972, app/assets/stylesheets/application.scss */
.tw-brainstorm-ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 56978, app/assets/stylesheets/application.scss */
.tw-brainstorm-suggestion-label,
.tw-brainstorm-ai-busy,
.tw-brainstorm-ai-msg {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ea580c;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* line 56988, app/assets/stylesheets/application.scss */
.tw-brainstorm-ai-error {
  color: #b91c1c;
  font-size: 0.9rem;
}

/* line 56993, app/assets/stylesheets/application.scss */
.tw-brainstorm-detail-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  /* line 57000, app/assets/stylesheets/application.scss */
  .tw-brainstorm-add {
    flex-direction: column;
    align-items: stretch;
  }
  /* line 57005, app/assets/stylesheets/application.scss */
  .tw-brainstorm-ai-sheet {
    border-radius: 16px 16px 0 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 70vh;
  }
}
