@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 — Apple hybrid (macOS structure + iOS materials) ===== */
/* line 8, app/assets/stylesheets/application.scss */
:root {
  --perk-ink: #1d1d1f;
  --perk-ink-soft: #3a3a3c;
  --perk-ink-deep: #000000;
  --perk-muted: #6e6e73;
  --perk-muted-soft: #8e8e93;
  --perk-line: rgba(60, 60, 67, 0.12);
  --perk-line-soft: rgba(60, 60, 67, 0.08);
  --perk-field: #f2f2f7;
  --perk-surface: #ffffff;
  --perk-canvas: #f5f5f7;
  --perk-success: #34c759;
  --perk-danger: #ff3b30;
  --perk-link: #007aff;
  --perk-accent: #007aff;
  --perk-accent-soft: rgba(0, 122, 255, 0.12);
  --perk-glass: rgba(255, 255, 255, 0.72);
  --perk-glass-strong: rgba(255, 255, 255, 0.88);
  --perk-glass-border: rgba(60, 60, 67, 0.18);
  --perk-blur: blur(20px) saturate(180%);
  --perk-incoming: #e9e9eb;
  --perk-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  --perk-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --perk-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  --perk-radius-sm: 10px;
  --perk-radius-md: 12px;
  --perk-radius-lg: 16px;
  --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 520px at 50% -8%, rgba(0, 113, 227, 0.04), transparent 58%), linear-gradient(180deg, #fafafa 0%, var(--perk-canvas) 42%);
  /* 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 69, app/assets/stylesheets/application.scss */
html {
  font-size: var(--text-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* line 75, 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 86, 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 96, app/assets/stylesheets/application.scss */
::selection,
input::selection,
textarea::selection,
[contenteditable="true"]::selection {
  background: rgba(23, 25, 29, 0.14);
  color: inherit;
}

/* line 104, 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 112, app/assets/stylesheets/application.scss */
:focus {
  outline: none;
}

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

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

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

/* line 138, 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 150, 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 163, 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 189, 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 208, 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 217, 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 235, 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 247, 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 254, 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 261, 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 268, 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 277, app/assets/stylesheets/application.scss */
.home-bg {
  background-color: #f3f2f7;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 466, app/assets/stylesheets/application.scss */
.hub-home #main-header a:hover,
.hub-home #main-header button:hover {
  color: var(--perk-accent, #007aff);
}

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

/* line 475, app/assets/stylesheets/application.scss */
.browser-hub {
  --hub-apps-canvas: var(--perk-canvas, #f5f5f7);
  --hub-apps-panel: var(--perk-surface, #ffffff);
  --hub-apps-ink: var(--perk-ink, #1d1d1f);
  --hub-apps-muted: var(--perk-muted, #6e6e73);
  --hub-apps-line: var(--perk-line, rgba(60, 60, 67, 0.12));
  --hub-apps-lift: var(--perk-shadow-md);
  --hub-apps-lift-sm: var(--perk-shadow-sm);
  --hub-peek-bleed: var(--perk-space-4);
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--hub-apps-canvas);
  padding: 0 var(--perk-space-4) 48px;
  color: var(--hub-apps-ink);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 67, 0.28) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-padding-top: 48px;
}

/* line 501, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn {
  position: absolute;
  top: 12px;
  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 522, 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 529, app/assets/stylesheets/application.scss */
.hub-chat-menu-btn:active {
  transform: translateY(0);
}

/* line 533, 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 541, 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 568, 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 574, app/assets/stylesheets/application.scss */
.hub-peek-label-btn:active {
  transform: translateY(0) scale(1);
}

/* line 578, 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 587, 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 596, app/assets/stylesheets/application.scss */
.hub-chat-history {
  position: absolute;
  top: 0;
  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 610, app/assets/stylesheets/application.scss */
.hub-chat-history.hidden,
.hub-chat-history[hidden] {
  display: none !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 826, 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 835, 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.1);
  background: #fff;
  backdrop-filter: none;
  overflow: visible;
}

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

/* line 869, 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 12px 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #000;
  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, opacity 0.15s ease;
}

/* Light vertical slash between consecutive tabs (not before the first). */
/* line 897, app/assets/stylesheets/application.scss */
.hub-view-tab + .hub-view-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  transform: translateY(-50%);
  background: rgba(23, 25, 29, 0.14);
  pointer-events: none;
}

/* Hide slash on either side of the active pill. */
/* line 910, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active::before,
.hub-view-tab.is-active + .hub-view-tab::before {
  content: none;
}

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

/* line 920, 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: 1;
  color: inherit;
  flex: 0 0 auto;
  line-height: 1;
}

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

/* Close control only on the current (active) tab — right edge, vertically centered. */
/* line 943, app/assets/stylesheets/application.scss */
.hub-view-tab-close {
  display: none;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 50%;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.72;
}

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

/* line 966, app/assets/stylesheets/application.scss */
.hub-view-tab-close:hover {
  background: rgba(23, 25, 29, 0.08);
  opacity: 1;
}

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

/* line 977, app/assets/stylesheets/application.scss */
.hub-view-tab.is-active {
  z-index: 1;
  height: 36px;
  margin: 0;
  padding: 0 10px 0 12px;
  background: #f4f5f7;
  color: #000;
  box-shadow: none;
  text-decoration: none;
}

/* Chat or Newsfeed is the active surface — hub tabs look idle (none selected). */
/* line 989, app/assets/stylesheets/application.scss */
.hub-view-tabs.is-surface-inactive .hub-view-tab {
  background: transparent;
  color: #000;
  box-shadow: none;
}

/* line 995, app/assets/stylesheets/application.scss */
.hub-view-tabs.is-surface-inactive .hub-view-tab:hover {
  background: #f4f5f7;
  color: #000;
}

/* line 1000, app/assets/stylesheets/application.scss */
.hub-view-tabs.is-surface-inactive .hub-view-tab-close {
  display: none;
}

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

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

/* line 1014, 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: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #5f6670;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

/* line 1030, app/assets/stylesheets/application.scss */
.hub-view-tab-add:hover {
  background: #f4f5f7;
  border-color: rgba(23, 25, 29, 0.08);
  color: #17191d;
  transform: scale(1.04);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 1234, app/assets/stylesheets/application.scss */
.browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  flex: 1 1 auto;
  justify-content: flex-start;
  padding-top: clamp(12px, 2.5vh, 28px);
  padding-bottom: 32px;
  background: transparent;
  width: 100%;
  max-width: none;
  min-height: 0;
  align-items: stretch;
  gap: 22px;
}

/* line 1248, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] > .hub-sticky-shelf,
.browser-hub-inner[data-hub-panel="apps"] > .hub-home-hero,
.browser-hub-inner[data-hub-panel="apps"] > .hub-home-stage,
.browser-hub-inner[data-hub-panel="apps"] > .hub-dock {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  align-self: stretch;
}

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

/* line 1266, app/assets/stylesheets/application.scss */
.hub-home-stage > .hub-home-lower,
.browser-hub-inner[data-hub-panel="apps"] > .hub-home-lower {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  align-self: stretch;
}

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

/* Same company / legal footer as profile — appears when scrolling past the app grid. */
/* line 1282, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] > .perk-hub-apps-footer {
  width: 100%;
  max-width: 720px;
  margin: 48px auto 0;
  align-self: center;
  flex: 0 0 auto;
  background: transparent;
}

/* line 1291, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] > .perk-hub-apps-footer .perk-site-footer-inner {
  border-top: 1px solid var(--hub-apps-line, rgba(23, 25, 29, 0.08));
  padding-left: var(--perk-space-4);
  padding-right: var(--perk-space-4);
}

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

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

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

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

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

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

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

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

/* line 1389, 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 1403, 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 1410, 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 1416, 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 1426, 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 1436, 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 1455, 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 1466, 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 1475, 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 1487, 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 1502, app/assets/stylesheets/application.scss */
.hub-style-more:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 1731, 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 1745, app/assets/stylesheets/application.scss */
.hub-style-pin-detail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  background: #fff;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 2011, 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 2021, 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 2030, 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 2039, app/assets/stylesheets/application.scss */
.hub-ai-fit-header-spacer {
  width: 36px;
}

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

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

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

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

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

/* line 2092, 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 2103, 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 2116, 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 2125, 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 2138, app/assets/stylesheets/application.scss */
.hub-ai-fit-photo.is-selected {
  border-color: #111;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 2381, 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 2394, app/assets/stylesheets/application.scss */
  .hub-ai-fit-shell {
    max-width: 1080px;
    border-left: 1px solid #e8ebef;
    border-right: 1px solid #e8ebef;
  }
  /* line 2400, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header {
    padding: 14px 28px;
  }
  /* line 2404, app/assets/stylesheets/application.scss */
  .hub-ai-fit-header h2 {
    font-size: 18px;
    text-align: left;
  }
  /* line 2409, app/assets/stylesheets/application.scss */
  .hub-ai-fit-scroll {
    padding: 28px 32px 56px;
  }
  /* line 2413, 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 2421, 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 2429, 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 2437, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo-row,
.hub-ai-fit-styles {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
  /* line 2444, app/assets/stylesheets/application.scss */
  .hub-ai-fit-photo {
    width: 112px;
    height: 146px;
  }
  /* line 2449, app/assets/stylesheets/application.scss */
  .hub-ai-fit-style {
    width: 156px;
    height: 208px;
  }
  /* line 2454, app/assets/stylesheets/application.scss */
  .hub-ai-fit-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 2458, 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 2469, app/assets/stylesheets/application.scss */
  .hub-ai-fit-generate {
    grid-area: generate;
    order: initial;
  }
  /* line 2474, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-btn {
    grid-area: history;
    order: initial;
    margin-top: 0;
  }
  /* line 2480, app/assets/stylesheets/application.scss */
  .hub-ai-fit-wait {
    grid-area: wait;
    order: initial;
    margin: 0;
    text-align: left;
  }
  /* line 2487, app/assets/stylesheets/application.scss */
  .hub-ai-fit-history-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  /* line 2492, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result {
    padding: 32px;
  }
  /* line 2496, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-card {
    width: min(100%, 560px);
    padding: 22px;
  }
  /* line 2501, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-image {
    max-height: 68vh;
  }
  /* line 2505, app/assets/stylesheets/application.scss */
  .hub-ai-fit-result-actions {
    flex-direction: row;
  }
  /* line 2509, 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 2516, app/assets/stylesheets/application.scss */
.hub-locket-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: calc(100% + (2 * var(--hub-peek-bleed, 16px)));
  max-width: none;
  margin-inline: calc(-1 * var(--hub-peek-bleed, 16px));
  align-self: stretch;
  background: transparent;
}

/* line 2530, 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: 44px;
  --hub-peek-row-pad-top: 14px;
  --hub-peek-row-pad-bottom: 18px;
  --hub-peek-edge-fade: 28px;
  --hub-peek-tile-radius: calc(0.22 * var(--hub-peek-tile-size));
  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 2565, app/assets/stylesheets/application.scss */
.hub-peek-stage {
  position: relative;
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  overflow: visible;
}

/* line 2574, 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: visible;
  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 2593, app/assets/stylesheets/application.scss */
.hub-peek-row::-webkit-scrollbar {
  display: none;
}

/* line 2597, 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 2611, app/assets/stylesheets/application.scss */
.hub-peek-tile.is-left {
  transform: rotate(-1.6deg);
}

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

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

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

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

/* line 2631, 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 2646, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* line 2655, 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 2661, 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 2667, 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 2675, 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 2680, 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 2693, 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 2704, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body {
  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;
  text-align: left;
  max-width: 100%;
}

/* line 2718, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body b, .hub-peek-tile-frame--note .hub-peek-note-body strong {
  font-weight: 700;
  color: inherit;
}

/* line 2719, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body i, .hub-peek-tile-frame--note .hub-peek-note-body em {
  font-style: italic;
}

/* line 2720, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 2721, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body s, .hub-peek-tile-frame--note .hub-peek-note-body strike, .hub-peek-tile-frame--note .hub-peek-note-body del {
  text-decoration: line-through;
}

/* line 2723, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body ul, .hub-peek-tile-frame--note .hub-peek-note-body ol {
  margin: 0.15em 0;
  padding-left: 1.15em;
}

/* line 2728, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body li {
  margin: 0.05em 0;
}

/* line 2730, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body ul.sticky-note-checks,
.hub-peek-tile-frame--note .hub-peek-note-body ul:has(> li input[type="checkbox"]) {
  list-style: none;
  padding-left: 0.1em;
}

/* line 2736, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body ul.sticky-note-checks li,
.hub-peek-tile-frame--note .hub-peek-note-body ul:has(> li input[type="checkbox"]) > li {
  display: flex;
  align-items: flex-start;
  gap: 0.35em;
}

/* line 2743, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body input[type="checkbox"] {
  margin: 0.15em 0 0;
  pointer-events: none;
  flex: 0 0 auto;
}

/* line 2749, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35em;
  margin: 0;
}

/* line 2756, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body br {
  display: block;
  content: "";
  margin-top: 0;
}

/* line 2758, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body div, .hub-peek-tile-frame--note .hub-peek-note-body p {
  margin: 0;
  min-height: 1em;
}

/* line 2763, app/assets/stylesheets/application.scss */
.hub-peek-tile-frame--note .hub-peek-note-body img {
  display: none;
}

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

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

/* line 2803, 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 2810, app/assets/stylesheets/application.scss */
.hub-peek-gallery-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  height: calc(100vh - 48px);
  max-height: 820px;
  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 2829, app/assets/stylesheets/application.scss */
.hub-peek-gallery-head {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* line 2839, 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 2850, app/assets/stylesheets/application.scss */
.hub-peek-gallery-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  line-height: 0;
}

/* line 2861, app/assets/stylesheets/application.scss */
.hub-peek-gallery-close .heroicon {
  display: block;
  width: 16px;
  height: 16px;
}

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

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

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

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

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

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

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

/* line 2952, app/assets/stylesheets/application.scss */
.hub-peek-gallery-more-wrap {
  position: relative;
}

/* line 2956, app/assets/stylesheets/application.scss */
.hub-peek-gallery-more {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

/* line 2969, app/assets/stylesheets/application.scss */
.hub-peek-gallery-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 6;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  background: #1c1f26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

/* line 2990, app/assets/stylesheets/application.scss */
.hub-peek-gallery-more-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 3008, app/assets/stylesheets/application.scss */
.hub-peek-gallery-more-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* line 3012, app/assets/stylesheets/application.scss */
.hub-peek-gallery-more-menu button.is-danger {
  color: #ff8f8f;
}

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

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

/* line 3044, app/assets/stylesheets/application.scss */
.hub-peek-gallery-body {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-height: 0;
  flex: 1 1 auto;
}

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

/* line 3062, app/assets/stylesheets/application.scss */
.hub-peek-gallery-nav {
  position: static;
  top: auto;
  transform: none;
  align-self: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 3077, app/assets/stylesheets/application.scss */
.hub-peek-gallery-nav.is-prev,
.hub-peek-gallery-nav.is-next {
  /* Edge controls sit beside the Peek frame, not on the photo. */
}

/* line 3082, app/assets/stylesheets/application.scss */
#hub-peek-gallery-prev,
#hub-peek-gallery-next {
  left: auto;
  right: auto;
}

/* line 3088, app/assets/stylesheets/application.scss */
.hub-peek-gallery-details {
  width: min(360px, 38%);
  max-width: 380px;
  margin: 0;
  flex: 0 0 min(360px, 38%);
  min-width: 240px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

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

/* line 3109, app/assets/stylesheets/application.scss */
.hub-peek-identity {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  flex: 0 0 auto;
}

/* line 3117, app/assets/stylesheets/application.scss */
.hub-peek-identity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

/* line 3132, app/assets/stylesheets/application.scss */
.hub-peek-identity-meta strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

/* line 3138, app/assets/stylesheets/application.scss */
.hub-peek-identity-meta span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

/* line 3144, app/assets/stylesheets/application.scss */
.hub-peek-comment-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

/* line 3160, app/assets/stylesheets/application.scss */
.hub-peek-comment-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* line 3164, app/assets/stylesheets/application.scss */
.hub-peek-comment-btn .heroicon,
.hub-peek-comment-btn i {
  width: 22px;
  height: 22px;
  font-size: 18px;
}

/* line 3171, app/assets/stylesheets/application.scss */
.hub-peek-comment-btn[data-count="0"] .hub-peek-comment-count,
.hub-peek-comment-btn .hub-peek-comment-count:empty {
  display: none;
}

/* line 3176, app/assets/stylesheets/application.scss */
.hub-peek-reactions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

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

/* line 3186, app/assets/stylesheets/application.scss */
.hub-peek-reactions button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 42px;
  padding: 7px 9px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

/* line 3201, app/assets/stylesheets/application.scss */
.hub-peek-reactions button small {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
}

/* line 3207, app/assets/stylesheets/application.scss */
.hub-peek-reactions button.is-mine {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

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

/* line 3212, app/assets/stylesheets/application.scss */
.hub-peek-reactions button:disabled {
  opacity: 0.7;
  cursor: default;
}

/* line 3214, app/assets/stylesheets/application.scss */
.hub-peek-reactions-more {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  min-height: 42px;
  padding: 7px 11px !important;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1;
}

/* line 3230, app/assets/stylesheets/application.scss */
.hub-peek-reactions-more .heroicon,
.hub-peek-reactions-more i {
  width: 18px;
  height: 18px;
  font-size: 16px;
}

/* line 3237, app/assets/stylesheets/application.scss */
.hub-peek-reactions-more span {
  font-size: 12px;
  font-weight: 700;
}

/* line 3242, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* line 3251, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.55);
}

/* line 3256, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-card {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  max-height: min(70vh, 420px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #16181d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  color: #fff;
}

/* line 3270, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
}

/* line 3277, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-card header strong {
  font-size: 15px;
  font-weight: 700;
}

/* line 3281, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 3293, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 4px 14px 16px;
  overflow: auto;
}

/* line 3300, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-item {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  min-height: 44px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 3313, app/assets/stylesheets/application.scss */
.hub-peek-emoji-picker-item:hover,
.hub-peek-emoji-picker-item:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

/* line 3319, app/assets/stylesheets/application.scss */
.hub-peek-comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* line 3326, app/assets/stylesheets/application.scss */
.hub-peek-comment-react {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 22px;
  height: 22px;
}

/* line 3339, app/assets/stylesheets/application.scss */
.hub-peek-comment-react .heroicon,
.hub-peek-comment-react i {
  width: 15px;
  height: 15px;
  stroke-width: 1.75;
}

/* line 3345, app/assets/stylesheets/application.scss */
.hub-peek-comment-react:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* line 3348, app/assets/stylesheets/application.scss */
.hub-peek-comment-reacts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* line 3354, app/assets/stylesheets/application.scss */
.hub-peek-comment-react-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  min-height: 24px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* line 3369, app/assets/stylesheets/application.scss */
.hub-peek-comment-react-chip.is-mine {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
}

/* line 3373, app/assets/stylesheets/application.scss */
.hub-peek-comment-react-chip small {
  font-size: 11px;
  font-weight: 650;
  opacity: 0.8;
}

/* line 3379, app/assets/stylesheets/application.scss */
.hub-peek-side-comments {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  gap: 0;
}

/* line 3389, app/assets/stylesheets/application.scss */
.hub-peek-side-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex: 0 0 auto;
}

/* line 3398, app/assets/stylesheets/application.scss */
.hub-peek-side-comments-head strong {
  font-size: 14px;
  font-weight: 700;
}

/* line 3403, app/assets/stylesheets/application.scss */
.hub-peek-side-comments .hub-peek-comment-count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

/* line 3409, app/assets/stylesheets/application.scss */
.hub-peek-side-comments .hub-peek-comments-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding: 0;
}

/* line 3417, app/assets/stylesheets/application.scss */
.hub-peek-side-comments .hub-peek-comments-form {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0;
  border-top: 0;
}

/* line 3424, app/assets/stylesheets/application.scss */
.hub-peek-side-comments .hub-peek-comments-composer {
  margin-top: 8px;
}

/* line 3428, app/assets/stylesheets/application.scss */
.hub-peek-reply {
  display: none;
}

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

/* line 3433, app/assets/stylesheets/application.scss */
.hub-peek-comments-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

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

/* line 3444, app/assets/stylesheets/application.scss */
.hub-peek-comments-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* line 3449, app/assets/stylesheets/application.scss */
.hub-peek-comments-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 22px 22px 0 0;
  background: #16181d;
  color: #fff;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.4);
}

/* line 3462, app/assets/stylesheets/application.scss */
.hub-peek-comments-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 10px;
  flex: 0 0 auto;
}

/* line 3470, app/assets/stylesheets/application.scss */
.hub-peek-comments-sheet header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 3475, app/assets/stylesheets/application.scss */
.hub-peek-comments-sheet header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 3487, app/assets/stylesheets/application.scss */
.hub-peek-comments-list {
  flex: 1 1 auto;
  min-height: 160px;
  overflow: auto;
  padding: 4px 18px 12px;
}

/* line 3493, app/assets/stylesheets/application.scss */
.hub-peek-comment-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 10px 0;
}

/* line 3499, app/assets/stylesheets/application.scss */
.hub-peek-comment-row img,
.hub-peek-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* line 3511, app/assets/stylesheets/application.scss */
.hub-peek-comment-row strong {
  display: inline;
  font-size: 13px;
  font-weight: 700;
}

/* line 3516, app/assets/stylesheets/application.scss */
.hub-peek-comment-row time {
  margin-left: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* line 3521, app/assets/stylesheets/application.scss */
.hub-peek-comment-row p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 3526, app/assets/stylesheets/application.scss */
.hub-peek-comment-row.is-reply {
  margin-top: 10px;
  margin-left: 28px;
}

/* line 3530, app/assets/stylesheets/application.scss */
.hub-peek-comment-reply {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

/* line 3540, app/assets/stylesheets/application.scss */
.hub-peek-comment-expand {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

/* line 3552, app/assets/stylesheets/application.scss */
.hub-peek-comments-empty {
  padding: 28px 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* line 3558, app/assets/stylesheets/application.scss */
.hub-peek-comments-composer {
  flex: 0 0 auto;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 3565, app/assets/stylesheets/application.scss */
.hub-peek-comments-reply-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

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

/* line 3577, app/assets/stylesheets/application.scss */
.hub-peek-comments-reply-preview button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* line 3585, app/assets/stylesheets/application.scss */
.hub-peek-comments-emojis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 0 4px;
  overflow-x: auto;
}

/* line 3593, app/assets/stylesheets/application.scss */
.hub-peek-comments-emoji {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* line 3602, app/assets/stylesheets/application.scss */
.hub-peek-comments-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

/* line 3610, app/assets/stylesheets/application.scss */
.hub-peek-comments-form input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  outline: 0;
}

/* line 3622, app/assets/stylesheets/application.scss */
.hub-peek-comments-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* line 3623, app/assets/stylesheets/application.scss */
.hub-peek-comments-form button,
.hub-peek-comments-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #000;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease;
}

/* line 3638, app/assets/stylesheets/application.scss */
.hub-peek-comments-form button:not(:disabled),
.hub-peek-comments-send:not(:disabled) {
  background: #111;
  color: #fff;
  cursor: pointer;
}

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

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

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

/* line 3692, app/assets/stylesheets/application.scss */
.hub-peek-compose-card header button .heroicon,
.hub-peek-archive-panel > header button .heroicon {
  display: block;
  width: 16px;
  height: 16px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 3753, app/assets/stylesheets/application.scss */
.hub-peek-archive-content.is-calendar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  touch-action: none;
}

/* line 3759, app/assets/stylesheets/application.scss */
.hub-peek-archive-content.is-calendar .hub-peek-calendar-month {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 3765, app/assets/stylesheets/application.scss */
.hub-peek-archive-content.is-calendar .hub-peek-calendar-grid {
  flex: 1 1 auto;
  min-height: 0;
  grid-auto-rows: minmax(0, 1fr);
}

/* line 3770, app/assets/stylesheets/application.scss */
.hub-peek-archive-content.is-calendar .hub-peek-calendar-grid button,
.hub-peek-archive-content.is-calendar .hub-peek-calendar-blank,
.hub-peek-archive-content.is-calendar .hub-peek-calendar-pad {
  aspect-ratio: auto;
  height: auto;
}

/* line 3776, 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 3777, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-content: start;
}

/* line 3780, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid button {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 0;
  padding: 0 0 100%;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 3795, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* line 3804, app/assets/stylesheets/application.scss */
.hub-peek-archive-grid span {
  display: none;
}

/* line 3805, app/assets/stylesheets/application.scss */
.hub-peek-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

/* line 3812, app/assets/stylesheets/application.scss */
.hub-peek-calendar-nav h4 {
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 3820, app/assets/stylesheets/application.scss */
.hub-peek-calendar-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

/* line 3832, app/assets/stylesheets/application.scss */
.hub-peek-calendar-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

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

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

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

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

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

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

/* line 3929, app/assets/stylesheets/application.scss */
.hub-peek-gallery-image {
  width: min(100%, min(560px, 100%));
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1;
  border-radius: calc(0.22 * min(560px, 62vh));
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-sizing: border-box;
}

/* line 3943, app/assets/stylesheets/application.scss */
.hub-peek-gallery-nav {
  position: static;
  top: auto;
  transform: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  z-index: 2;
}

/* line 3953, app/assets/stylesheets/application.scss */
#hub-peek-gallery-prev,
#hub-peek-gallery-next {
  left: auto;
  right: auto;
}

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

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

/* line 4022, 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 4036, 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 4047, 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 4059, 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 4069, app/assets/stylesheets/application.scss */
.hub-peek-zoom input {
  flex: 1;
  min-width: 0;
  accent-color: #fff;
  cursor: pointer;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 4290, 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 4305, app/assets/stylesheets/application.scss */
.hub-peek-person.is-selected .hub-peek-check {
  background: var(--perk-accent, #007aff);
  border-color: var(--perk-accent, #007aff);
}

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

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

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

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

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

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

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

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

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

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

/* line 4402, app/assets/stylesheets/application.scss */
.hub-ask::before {
  content: none;
  display: none;
}

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

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

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

/* line 4423, 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 4435, 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 4450, 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 4460, 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 4471, app/assets/stylesheets/application.scss */
.hub-ask-bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 980px;
  padding: 8px 8px 8px 10px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* line 4485, app/assets/stylesheets/application.scss */
.hub-ask-bar:focus-within {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

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

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

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

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

/* line 4523, 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 4527, app/assets/stylesheets/application.scss */
.hub-ask-icon-btn.is-recording {
  color: var(--perk-ink);
  background: rgba(23, 25, 29, 0.08);
}

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

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

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

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

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

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

/* line 4633, 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 4642, 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 4656, 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 4662, app/assets/stylesheets/application.scss */
.hub-ask.has-text .hub-ask-voice-btn,
.hub-ask.has-attachments .hub-ask-voice-btn {
  display: none;
}

/* Keep dictate mic visible while typing so users can insert by voice at the caret. */
/* line 4668, app/assets/stylesheets/application.scss */
.hub-ask.has-text .hub-ask-mic-btn,
.hub-ask.has-attachments .hub-ask-mic-btn {
  display: inline-flex;
}

/* line 4673, app/assets/stylesheets/application.scss */
.hub-ask-send:hover {
  background: #2a2a2a;
  transform: none;
}

/* line 4678, app/assets/stylesheets/application.scss */
.hub-ask-recording {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 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 4690, 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 4697, app/assets/stylesheets/application.scss */
.hub-ask-recording .hub-ask-send:hover {
  background: var(--perk-ink-soft, #30343a);
}

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

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

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

/* line 4725, app/assets/stylesheets/application.scss */
.hub-ask-record-cancel svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 4881, 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 4896, app/assets/stylesheets/application.scss */
.hub-ask-chat-back-btn {
  pointer-events: auto;
  flex: 0 0 auto;
  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 4905, 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 4914, 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 4928, app/assets/stylesheets/application.scss */
.hub-ask-chat-icon-btn:hover {
  background: #e8eaed;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 5377, 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 5386, 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 5393, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-pending {
  opacity: 0.7;
}

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

/* line 5402, 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 5410, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media a:not(.perk-chat-file-chip) {
  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;
}

/* Word / Excel / PDF chips reuse floating-ai file chip chrome inside Hub Ask. */
/* line 5423, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media .hub-ask-chat-file,
.hub-ask-chat-msg.is-file .hub-ask-chat-file {
  max-width: min(280px, 78vw);
  background: #f4f4f4;
  color: var(--perk-ink, #17191d);
}

/* line 5430, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-user.is-media .hub-ask-chat-file,
.hub-ask-chat-msg.is-user.is-file .hub-ask-chat-file {
  background: rgba(255, 255, 255, 0.72);
}

/* line 5435, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg .hub-ask-chat-file[aria-busy="true"] {
  opacity: 0.72;
  pointer-events: none;
}

/* line 5440, 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 5449, 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 5458, 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 5474, 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 5480, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg-ai-more-wrap {
  position: relative;
}

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

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

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

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

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

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

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

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

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

/* line 5600, 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 5605, 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 5611, 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 5616, app/assets/stylesheets/application.scss */
.hub-ask-chat.is-recording .hub-ask-bar {
  display: none;
}

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

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

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

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

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

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

/* line 5657, 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 5665, app/assets/stylesheets/application.scss */
.hub-apps-group-title {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--perk-muted, #6e6e73);
}

/* line 5674, 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 5683, 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 5696, app/assets/stylesheets/application.scss */
.hub-app:hover {
  background: rgba(0, 0, 0, 0.03);
  transform: none;
  box-shadow: none;
}

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

/* line 5706, app/assets/stylesheets/application.scss */
.hub-app-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--hub-app-from, var(--hub-app-color, #6b7280)), var(--hub-app-to, var(--hub-app-color, #6b7280)));
  border: 0;
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  filter: none;
  transition: filter 160ms ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* line 5727, app/assets/stylesheets/application.scss */
.hub-app-count-badge {
  top: -4px;
  right: -6px;
}

/* line 5732, app/assets/stylesheets/application.scss */
.hub-app-glyph {
  position: relative;
  inset: auto;
  display: inline-grid;
  place-items: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

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

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

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

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

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

/* line 5785, app/assets/stylesheets/application.scss */
.heroicon {
  display: block;
  flex-shrink: 0;
}

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

/* line 5796, app/assets/stylesheets/application.scss */
.hub-app:hover .hub-app-icon {
  transform: none;
  filter: brightness(1.04);
}

/* line 5801, 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 5811, app/assets/stylesheets/application.scss */
.hub-shortcuts {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 5967, 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 5971, 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 5975, 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 5989, app/assets/stylesheets/application.scss */
.floating-ai-bubble.is-pinned {
  animation: none;
}

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

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

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

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

/* line 6037, 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 6055, 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 6066, 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 6082, 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 6101, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn.is-group-collage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0;
  overflow: visible;
  line-height: 0;
  background: transparent;
}

/* Match chat-list collage host exactly (44×44 + shared cell layout). */
/* line 6117, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn > .perk-chat-avatar.is-group-collage {
  width: 44px;
  height: 44px;
  pointer-events: none;
}

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

/* line 6129, 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 6144, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-btn .perk-group-avatar-cell img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 50%;
}

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

/* line 6158, 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 6175, app/assets/stylesheets/application.scss */
.floating-ai-peer-avatar-fallback[hidden] {
  display: none;
}

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

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

/* line 6207, 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: 650;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--chat-ink, #1E2433);
}

/* line 6222, 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: var(--chat-muted, #8B93A7);
}

/* line 6235, 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 6250, app/assets/stylesheets/application.scss */
.floating-ai-peer-title .perk-chat-ai-badge {
  flex: 0 0 auto;
}

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

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

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

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

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

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

/* line 6323, 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 6331, 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 6344, app/assets/stylesheets/application.scss */
.floating-ai-picker-confirm:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 6349, 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 6359, 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 6367, 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 6381, 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 6389, app/assets/stylesheets/application.scss */
.floating-ai-add-people-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}

/* line 6396, 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 6404, app/assets/stylesheets/application.scss */
.floating-ai-add-people-copy span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #8a9099;
}

/* line 6411, 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 6426, app/assets/stylesheets/application.scss */
.floating-ai-add-people-close:hover {
  background: #f3f4f6;
  color: #4b5563;
}

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

/* line 6436, 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 6447, 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 6455, 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 6467, app/assets/stylesheets/application.scss */
.floating-ai-add-people-search input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* line 6472, 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 6480, 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 6488, 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 6502, app/assets/stylesheets/application.scss */
.floating-ai-add-people-row:hover {
  background: #f9fafb;
}

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

/* line 6510, 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 6525, app/assets/stylesheets/application.scss */
.floating-ai-add-people-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 6531, 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 6539, 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 6549, 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 6559, 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 6567, app/assets/stylesheets/application.scss */
.floating-ai-add-people-check,
.floating-ai-add-people-mark .heroicon {
  width: 20px;
  height: 20px;
}

/* line 6573, 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 6578, app/assets/stylesheets/application.scss */
.floating-ai-add-people-foot {
  flex: 0 0 auto;
  padding: 10px 16px 16px;
  border-top: 1px solid #f0f1f3;
}

/* line 6584, 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 6598, app/assets/stylesheets/application.scss */
.floating-ai-add-people-confirm:hover:not(:disabled) {
  filter: brightness(1.08);
}

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

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

/* line 6611, 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 6620, 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 6638, app/assets/stylesheets/application.scss */
.floating-ai-group-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* line 6649, 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 6665, 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 6676, 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 6686, 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 6696, app/assets/stylesheets/application.scss */
.floating-ai-group-member-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ff3b30;
  cursor: pointer;
}

/* line 6711, app/assets/stylesheets/application.scss */
.floating-ai-group-member-remove:hover {
  background: rgba(255, 59, 48, 0.1);
}

/* line 6715, app/assets/stylesheets/application.scss */
.floating-ai-group-member-remove .heroicon {
  width: 16px;
  height: 16px;
}

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

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

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

/* line 6770, 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 6786, 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 6796, app/assets/stylesheets/application.scss */
.floating-ai-peer-action:hover {
  background: #f3f4f6;
}

/* line 6800, 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 6807, app/assets/stylesheets/application.scss */
.floating-ai-peer-empty {
  padding: 12px;
  font-size: 13px;
  color: #6b7280;
}

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

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

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

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

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

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

/* line 6912, app/assets/stylesheets/application.scss */
.floating-ai-panel {
  --panel-width: 360px;
  --panel-height: auto;
  --chat-keyboard-inset: 0px;
  /* Keep rich embeds (link/share cards) near photo bubble size. */
  --chat-rich-card-max: 280px;
  --chat-rich-hero-max-h: 158px;
  /* Photos / videos in chat (~WhatsApp / iMessage desktop). */
  --chat-media-max: 300px;
  --chat-media-max-h: 260px;
  /* Apple Messages palette — shared by floating pop-out and embedded layer. */
  --chat-background: #ffffff;
  --chat-surface: #ffffff;
  --chat-outgoing: #007aff;
  --chat-incoming: #e9e9eb;
  --chat-reply-background: #f2f2f7;
  --chat-hover: rgba(0, 122, 255, 0.08);
  --chat-border: rgba(60, 60, 67, 0.12);
  --chat-primary: #007aff;
  --chat-text: #1d1d1f;
  --chat-muted: #6e6e73;
  --chat-accent: #007aff;
  --chat-accent-deep: #0066d6;
  --chat-accent-soft: rgba(0, 122, 255, 0.12);
  --chat-ink: var(--chat-text, #1d1d1f);
  --chat-canvas: var(--chat-background, #ffffff);
  --chat-line: var(--chat-border, rgba(60, 60, 67, 0.12));
  --chat-call-ok-bg: #e8f8ed;
  --chat-call-bad-bg: #ffebeb;
  --chat-call-ok: #34c759;
  --chat-call-bad: #ff3b30;
  --chat-shadow: var(--perk-shadow-sm);
  --chat-shadow-md: var(--perk-shadow-md);
  --chat-ease: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --chat-gradient: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
  --chat-bubble-r: 18px;
  --chat-bubble-tail: var(--chat-bubble-r, 18px);
  /* Industry messaging cap (~iMessage / WhatsApp): ~72% of the thread, ≤420px. */
  --chat-bubble-max: 420px;
  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 6971, app/assets/stylesheets/application.scss */
.floating-ai.is-panel-open .floating-ai-panel:not(.is-detached) {
  position: fixed;
  z-index: 90;
}

/* Full-frame chat layer: preferred path is mounting the panel into `.perk-chat-stage`
   (flex sibling of the list) so list + conversation are one layout — no measured
   `left`, no gap, no floating→full-frame size animation.
   Fallback below keeps fixed positioning if the stage is missing. */
/* line 6980, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded:not(.is-detached):not(.is-stage-mounted) {
  top: var(--perk-chrome-h, var(--hub-tabbar-h, 48px)) !important;
  left: var(--perk-chat-layer-left, var(--perk-chat-layer-list-w, 340px)) !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  /* Do not set height:auto — that shrinks to content and leaves the composer mid-screen. */
  height: calc(100vh - var(--perk-chrome-h, var(--hub-tabbar-h, 48px))) !important;
  max-width: none !important;
  max-height: none !important;
  border: 0 !important;
  border-left: 1px solid var(--chat-line, #E8ECF5) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  --panel-width: auto;
  --panel-height: auto;
}

/* Home rail + chat list: conversation starts after both columns (fallback only).
   Keep `--perk-chat-rail-offset` in sync with `--perk-home-rail-w` (incl. media queries). */
/* line 7000, app/assets/stylesheets/application.scss */
.hub-home:has(.perk-workspace.has-home-rail) {
  --perk-chat-rail-offset: 220px;
}

/* line 7004, app/assets/stylesheets/application.scss */
.hub-home:has(.perk-workspace.has-home-rail.is-rail-collapsed) {
  --perk-chat-rail-offset: 72px;
}

/* line 7008, app/assets/stylesheets/application.scss */
.hub-home:has(.perk-workspace.has-home-rail) .floating-ai-panel.is-chat-layer-embedded:not(.is-detached):not(.is-stage-mounted) {
  left: var(--perk-chat-layer-left, calc(var(--perk-chat-rail-offset, 72px) + var(--perk-chat-layer-list-w, 340px))) !important;
  top: 0 !important;
  height: 100vh !important;
}

/* Stage-mounted conversation: fill the flex stage next to the list. */
/* line 7015, app/assets/stylesheets/application.scss */
.perk-chat-stage > .floating-ai-panel.is-chat-layer-embedded.is-stage-mounted:not(.is-detached),
.floating-ai-panel.is-chat-layer-embedded.is-stage-mounted:not(.is-detached) {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  /* Kill floating pop-out size transitions — they read as “two components loading”. */
  transition: none !important;
  --panel-width: auto;
  --panel-height: auto;
  z-index: 1;
}

/* line 7037, app/assets/stylesheets/application.scss */
body.is-chat-layer-open .floating-ai.is-chat-layer .floating-ai-bubble,
body.is-chat-layer-open .floating-ai.is-panel-open .floating-ai-bubble,
.floating-ai-panel.is-chat-layer-embedded ~ .floating-ai-bubble,
.floating-ai.is-chat-layer .floating-ai-bubble {
  display: none !important;
}

/* line 7044, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-resize-handle,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-drag-edge {
  display: none !important;
}

/* Key off .is-chat-layer-embedded alone — body.is-chat-layer-open can lag and
   leave max-height:310px on the message wrap while the panel is already full-frame. */
/* line 7051, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded {
  /* Content gutters: equal L/R inset; widen the pad on large panes so the
     thread stays readable without a narrow 680px “floating column”. */
  --chat-layer-content-max: 920px;
  --chat-layer-side-gap: 28px;
  --chat-layer-inline-pad: max(var(--chat-layer-side-gap), calc((100% - var(--chat-layer-content-max)) / 2));
  --chat-rich-card-max: 300px;
  --chat-rich-hero-max-h: 168px;
  --chat-media-max: 300px;
  --chat-media-max-h: 260px;
  /* Apple Messages — same tokens as floating pop-out. */
  --chat-background: #ffffff;
  --chat-surface: #ffffff;
  --chat-outgoing: #007aff;
  --chat-incoming: #e9e9eb;
  --chat-reply-background: #f2f2f7;
  --chat-hover: rgba(0, 122, 255, 0.08);
  --chat-border: rgba(60, 60, 67, 0.12);
  --chat-primary: #007aff;
  --chat-text: #1d1d1f;
  --chat-muted: #6e6e73;
  --chat-accent: #007aff;
  --chat-accent-deep: #0066d6;
  --chat-accent-soft: rgba(0, 122, 255, 0.12);
  --chat-ink: var(--chat-text, #1d1d1f);
  --chat-canvas: var(--chat-background, #ffffff);
  --chat-line: var(--chat-border, rgba(60, 60, 67, 0.12));
  --chat-call-ok-bg: #e8f8ed;
  --chat-call-bad-bg: #ffebeb;
  --chat-call-ok: #34c759;
  --chat-call-bad: #ff3b30;
  --chat-shadow: var(--perk-shadow-sm);
  --chat-shadow-md: var(--perk-shadow-md);
  --chat-ease: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --chat-gradient: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
  --chat-bubble-tail: var(--chat-bubble-r, 18px);
  color: var(--chat-ink, #1d1d1f);
  color-scheme: light;
}

/* Shared chat chrome: list header + conversation header align on one baseline.
   Header pad stays tight (match list); message/composer keep --chat-layer-inline-pad. */
/* line 7093, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded {
  --chat-chrome-h: 58px;
  --chat-chrome-btn: 34px;
  --chat-chrome-pad-x: 16px;
  --chat-chrome-bg: rgba(255, 255, 255, 0.92);
  --chat-chrome-line: rgba(60, 60, 67, 0.12);
  --chat-wash: #F2F2F7;
  --chat-fill: #F2F2F7;
  --chat-surface: #ffffff;
}

/* Header spans the full conversation width — avatar/name left, tools right. */
/* line 7105, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-panel-head {
  cursor: default;
  height: var(--chat-chrome-h);
  min-height: var(--chat-chrome-h);
  padding: 0 var(--chat-chrome-pad-x);
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid var(--chat-chrome-line);
  background: var(--chat-chrome-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Back only in full chat layer — floating / pop-out windows keep Close in ⋯. */
/* line 7119, app/assets/stylesheets/application.scss */
.floating-ai-back-btn {
  display: none !important;
}

/* line 7123, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-back-btn {
  display: inline-flex !important;
  flex: 0 0 var(--chat-chrome-btn, 36px);
  margin-right: 2px;
}

/* line 7129, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-panel-title {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}

/* line 7137, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-peer-avatar-btn,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-peer-avatar-fallback,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-header-btn,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-panel-actions,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-human-tools {
  margin: 0;
}

/* line 7145, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-panel-actions {
  margin-left: auto;
  margin-right: 0;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

/* line 7155, app/assets/stylesheets/application.scss */
.floating-ai-action-cluster {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* line 7162, app/assets/stylesheets/application.scss */
.floating-ai-action-cluster.is-utility {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

/* line 7168, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-header-btn,
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-header-btn {
  width: var(--chat-chrome-btn);
  height: var(--chat-chrome-btn);
  min-width: var(--chat-chrome-btn);
  flex: 0 0 var(--chat-chrome-btn);
  border-radius: 999px;
  background: var(--chat-fill, #F2F2F7);
  color: var(--chat-ink, #1D1D1F);
  opacity: 1;
  box-shadow: none;
}

/* line 7181, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-header-btn:hover,
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-header-btn:hover {
  background: rgba(60, 60, 67, 0.12);
  color: var(--chat-ink, #1D1D1F);
  opacity: 1;
  box-shadow: none;
}

/* line 7189, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-peer-avatar-btn,
.floating-ai-panel.is-chat-layer-embedded #floating-ai-panel-avatar,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-peer-avatar-fallback {
  width: 34px;
  height: 34px;
}

/* line 7196, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-peer-copy strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--chat-ink, #1d1d1f);
}

/* line 7204, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-peer-status-row,
.floating-ai-panel.is-chat-layer-embedded #floating-ai-peer-status {
  font-size: 12px;
  font-weight: 500;
  color: var(--chat-muted, #8E8E93);
  letter-spacing: -0.01em;
}

/* line 7212, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-messages-wrap,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none !important;
}

/* line 7220, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-panel-body {
  padding-left: var(--chat-layer-inline-pad);
  padding-right: var(--chat-layer-inline-pad);
  box-sizing: border-box;
}

/* line 7226, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-panel-foot {
  flex: 0 0 auto;
  margin-top: auto;
  border-radius: 0;
  padding-left: var(--chat-layer-inline-pad);
  padding-right: var(--chat-layer-inline-pad);
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: transparent;
}

/* Workspace Slack-style: main timeline + thread pane */
/* line 7238, app/assets/stylesheets/application.scss */
.floating-ai-conversation {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  position: relative;
}

/* line 7247, app/assets/stylesheets/application.scss */
.floating-ai-main-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}

/* line 7255, app/assets/stylesheets/application.scss */
.floating-ai-main-column .floating-ai-messages-wrap {
  flex: 1 1 auto;
}

/* line 7259, app/assets/stylesheets/application.scss */
.floating-ai-main-column .floating-ai-typing,
.floating-ai-main-column .floating-ai-panel-foot {
  flex: 0 0 auto;
}

/* Stage-mounted: let the column fill the pane. Floating popovers keep the
   original min/max heights on .floating-ai-messages-wrap. */
/* line 7266, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted .floating-ai-main-column .floating-ai-messages-wrap,
.floating-ai-panel.is-chat-layer-embedded .floating-ai-main-column .floating-ai-messages-wrap {
  min-height: 0;
}

/* line 7271, app/assets/stylesheets/application.scss */
.floating-ai-thread {
  display: none;
  flex-direction: column;
  flex: 0 0 min(420px, 42%);
  width: min(420px, 42%);
  min-width: 280px;
  max-width: 480px;
  min-height: 0;
  border-left: 1px solid rgba(60, 60, 67, 0.12);
  background: var(--chat-surface, #ffffff);
  z-index: 4;
}

/* line 7284, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat.is-thread-open .floating-ai-thread {
  display: flex;
}

/* line 7288, app/assets/stylesheets/application.scss */
.floating-ai-search-pane {
  display: none;
  flex-direction: column;
  flex: 0 0 min(420px, 42%);
  width: min(420px, 42%);
  min-width: 280px;
  max-width: 480px;
  min-height: 0;
  border-left: 1px solid rgba(60, 60, 67, 0.12);
  background: var(--chat-surface, #ffffff);
  z-index: 4;
}

/* line 7301, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat.is-search-open .floating-ai-search-pane {
  display: flex;
}

/* line 7305, app/assets/stylesheets/application.scss */
.floating-ai-shared-pane {
  display: none;
  flex-direction: column;
  flex: 0 0 min(420px, 42%);
  width: min(420px, 42%);
  min-width: 280px;
  max-width: 480px;
  min-height: 0;
  border-left: 1px solid rgba(60, 60, 67, 0.12);
  background: var(--chat-surface, #ffffff);
  z-index: 4;
}

/* line 7318, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat.is-shared-open .floating-ai-shared-pane {
  display: flex;
}

/* line 7322, app/assets/stylesheets/application.scss */
.floating-ai-shared-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

/* line 7334, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-shared-pane-head {
  min-height: var(--chat-chrome-h, 58px);
  padding: 12px var(--chat-chrome-pad-x, 16px) 10px;
  background: var(--chat-chrome-bg, rgba(255, 255, 255, 0.92));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--chat-chrome-line, rgba(60, 60, 67, 0.12));
}

/* line 7343, app/assets/stylesheets/application.scss */
.floating-ai-shared-pane-head strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--chat-ink, #1d1d1f);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* line 7351, app/assets/stylesheets/application.scss */
.floating-ai-shared-pane-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 0 0 auto;
  padding: 0 12px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  background: #ffffff;
}

/* line 7361, app/assets/stylesheets/application.scss */
.floating-ai-shared-tab {
  appearance: none;
  flex: 1 1 0;
  margin: 0;
  padding: 10px 8px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6e6e73;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
}

/* line 7378, app/assets/stylesheets/application.scss */
.floating-ai-shared-tab:hover {
  color: var(--chat-ink, #1d1d1f);
}

/* line 7382, app/assets/stylesheets/application.scss */
.floating-ai-shared-tab.is-active {
  color: var(--chat-ink, #1d1d1f);
  font-weight: 600;
  border-bottom-color: var(--chat-ink, #1d1d1f);
}

/* line 7388, app/assets/stylesheets/application.scss */
.floating-ai-shared-pane-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 12px;
}

/* line 7396, app/assets/stylesheets/application.scss */
.floating-ai-shared-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px 16px;
  text-align: center;
  color: #616061;
  font-size: 13px;
  line-height: 1.4;
}

/* line 7408, app/assets/stylesheets/application.scss */
.floating-ai-shared-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

/* line 7414, app/assets/stylesheets/application.scss */
.floating-ai-shared-media-item {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #eef1f6;
  aspect-ratio: 1;
  cursor: pointer;
}

/* line 7429, app/assets/stylesheets/application.scss */
.floating-ai-shared-media-item img,
.floating-ai-shared-media-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 7437, app/assets/stylesheets/application.scss */
.floating-ai-shared-media-item.is-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45) 0 18px, transparent 19px), linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

/* line 7447, app/assets/stylesheets/application.scss */
.floating-ai-shared-media-item.is-video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  margin: -6px 0 0 -4px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  pointer-events: none;
}

/* line 7462, app/assets/stylesheets/application.scss */
.floating-ai-shared-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 7468, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-item {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--perk-line, rgba(60, 60, 67, 0.12));
  border-radius: var(--perk-radius-md, 12px);
  background: var(--perk-surface, #fff);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

/* line 7485, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* line 7489, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--chat-file-color, #8e8e93) 14%, white);
  color: var(--chat-file-color, #8e8e93);
}

/* line 7501, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-icon.is-google_folder {
  border-radius: 10px;
}

/* line 7505, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-icon.is-google_doc,
.floating-ai-shared-list-icon.is-google_sheet,
.floating-ai-shared-list-icon.is-google_slides,
.floating-ai-shared-list-icon.is-google_form,
.floating-ai-shared-list-icon.is-google_file,
.floating-ai-shared-list-icon.is-google_drive {
  border-radius: 10px;
}

/* line 7514, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-icon .heroicon,
.floating-ai-shared-list-icon svg {
  width: 18px;
  height: 18px;
}

/* line 7520, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-icon > i.fas {
  font-size: 18px;
  line-height: 1;
}

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

/* line 7533, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-title {
  display: block;
  max-width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--chat-ink, #1d1c1d);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 7545, app/assets/stylesheets/application.scss */
.floating-ai-shared-list-meta {
  display: block;
  max-width: 100%;
  font-size: 12px;
  color: #616061;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 7556, app/assets/stylesheets/application.scss */
.floating-ai-shared-btn.is-active {
  background: color-mix(in srgb, var(--chat-ink, #1d1c1d) 8%, transparent);
}

/* line 7560, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

/* line 7572, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-search-pane-head {
  min-height: var(--chat-chrome-h, 58px);
  padding: 12px var(--chat-chrome-pad-x, 16px) 10px;
  background: var(--chat-chrome-bg, rgba(255, 255, 255, 0.92));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--chat-chrome-line, rgba(60, 60, 67, 0.12));
}

/* line 7581, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  min-width: 0;
}

/* line 7589, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-title strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--chat-ink, #1d1d1f);
  line-height: 1.3;
}

/* line 7597, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-scope {
  font-size: 13px;
  font-weight: 400;
  color: #616061;
  line-height: 1.3;
}

/* line 7604, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  padding: 8px 16px 10px;
}

/* line 7613, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-count-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
}

/* line 7621, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-count {
  font-size: 13px;
  color: #1d1c1d;
}

/* line 7626, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-full {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1264a3;
  cursor: pointer;
}

/* line 7639, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-full:hover {
  text-decoration: underline;
}

/* line 7643, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 46%;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #1d1c1d;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

/* line 7661, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-sort .heroicon,
.floating-ai-search-pane-sort svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #616061;
}

/* line 7669, app/assets/stylesheets/application.scss */
.floating-ai-search-pane-results {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 7680, app/assets/stylesheets/application.scss */
.floating-ai-search-hit {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

/* line 7698, app/assets/stylesheets/application.scss */
.floating-ai-search-hit:hover {
  border-color: #cfcfcf;
  box-shadow: 0 1px 4px rgba(29, 28, 29, 0.06);
}

/* line 7703, app/assets/stylesheets/application.scss */
.floating-ai-search-hit.is-active {
  border-color: #1d9bd1;
  box-shadow: 0 0 0 1px rgba(29, 155, 209, 0.25);
}

/* line 7708, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

/* line 7715, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #e8e8e8;
  color: #1d1c1d;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  flex: 0 0 auto;
}

/* line 7730, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-avatar.is-fallback {
  background: #e01e5a;
  color: #fff;
}

/* line 7735, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 7742, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-copy strong {
  font-size: 15px;
  font-weight: 700;
  color: #1d1c1d;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 7752, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-thread {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #616061;
  line-height: 1.2;
}

/* line 7761, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-thread::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h9A1.5 1.5 0 0 1 16 5.5v5A1.5 1.5 0 0 1 14.5 12H9l-3.2 2.7A.5.5 0 0 1 5 14.3V12H5.5A1.5 1.5 0 0 1 4 10.5v-5Z' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h9A1.5 1.5 0 0 1 16 5.5v5A1.5 1.5 0 0 1 14.5 12H9l-3.2 2.7A.5.5 0 0 1 5 14.3V12H5.5A1.5 1.5 0 0 1 4 10.5v-5Z' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* line 7772, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-time {
  font-size: 12px;
  color: #616061;
  white-space: nowrap;
  padding-top: 2px;
}

/* line 7779, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-body {
  padding-left: 46px;
  font-size: 15px;
  line-height: 1.35;
  color: #1d1c1d;
  word-break: break-word;
}

/* line 7787, app/assets/stylesheets/application.scss */
.floating-ai-search-mark {
  background: #fff9c4;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

/* line 7794, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 46px;
}

/* line 7801, app/assets/stylesheets/application.scss */
.floating-ai-search-hit-reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  background: #f8f8f8;
  font-size: 12px;
  line-height: 1.4;
  color: #1d1c1d;
}

/* line 7814, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat.is-search-open .floating-ai-search-bar .floating-ai-search-count,
.floating-ai-panel.is-stage-mounted.is-human-chat.is-search-open .floating-ai-search-bar .floating-ai-search-nav {
  display: none;
}

/* line 7819, app/assets/stylesheets/application.scss */
.floating-ai-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

/* line 7831, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-thread-head {
  height: var(--chat-chrome-h, 58px);
  min-height: var(--chat-chrome-h, 58px);
  padding: 0 var(--chat-chrome-pad-x, 16px);
  background: var(--chat-chrome-bg, rgba(255, 255, 255, 0.92));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--chat-chrome-line, rgba(60, 60, 67, 0.12));
}

/* line 7841, app/assets/stylesheets/application.scss */
.floating-ai-thread-head strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--chat-ink, #1d1d1f);
}

/* line 7848, app/assets/stylesheets/application.scss */
.floating-ai-thread-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

/* line 7857, app/assets/stylesheets/application.scss */
.floating-ai-thread-parent {
  flex: 0 0 auto;
  padding: 12px 8px 8px;
}

/* line 7862, app/assets/stylesheets/application.scss */
.floating-ai-thread-divider {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 20px;
  margin: 6px 16px 10px;
  background: transparent;
}

/* line 7872, app/assets/stylesheets/application.scss */
.floating-ai-thread-divider:not(.has-count) {
  height: 1px;
  min-height: 0;
  background: var(--chat-line, #E8ECF5);
}

/* line 7878, app/assets/stylesheets/application.scss */
.floating-ai-thread-divider-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #616061;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* line 7890, app/assets/stylesheets/application.scss */
.floating-ai-thread-divider-meta .floating-ai-msg-replies-count {
  color: #616061;
  font-weight: 700;
}

/* line 7895, app/assets/stylesheets/application.scss */
.floating-ai-thread-divider-rule {
  flex: 1 1 auto;
  height: 1px;
  min-width: 24px;
  background: var(--chat-line, #E8ECF5);
}

/* line 7902, app/assets/stylesheets/application.scss */
.floating-ai-thread-divider .floating-ai-msg-replies-faces img,
.floating-ai-thread-divider .floating-ai-msg-replies-faces span {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* Date pills inside the thread replies list. */
/* line 7910, app/assets/stylesheets/application.scss */
.floating-ai-thread-messages .floating-ai-date-sep {
  padding: 10px 8px 8px;
}

/* line 7914, app/assets/stylesheets/application.scss */
.floating-ai-thread-messages {
  flex: 0 0 auto;
  padding: 0 8px 8px;
  display: flex;
  flex-direction: column;
}

/* Composer sits directly under replies (inside the scroll stack). */
/* line 7922, app/assets/stylesheets/application.scss */
.floating-ai-thread-foot {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 10px 14px max(12px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--chat-line, #E8ECF5);
  background: var(--chat-canvas, #fff);
  position: sticky;
  bottom: 0;
  z-index: 2;
}

/* line 7933, app/assets/stylesheets/application.scss */
.floating-ai-thread-mentions {
  margin: 0 0 8px;
  z-index: 6;
}

/* line 7938, app/assets/stylesheets/application.scss */
.floating-ai-thread-mentions .perk-mention-suggestions {
  margin: 0;
  max-height: 200px;
}

/* line 7943, app/assets/stylesheets/application.scss */
.floating-ai-thread-input-shell {
  width: 100%;
}

/* line 7947, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 14px;
  background: #fff;
  overflow: visible;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

/* line 7960, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer:focus-within,
.floating-ai-thread-foot.has-text .floating-ai-thread-composer {
  border-color: rgba(0, 122, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.08);
}

/* line 7966, app/assets/stylesheets/application.scss */
.floating-ai-thread-format-bar:not([hidden]) {
  display: flex;
  flex-wrap: nowrap;
  border-radius: 14px 14px 0 0;
  background: var(--chat-fill, #F2F2F7);
  border-bottom-color: rgba(60, 60, 67, 0.12);
}

/* line 7974, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-input-shell {
  display: block;
  min-height: 42px;
  padding: 10px 12px 4px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* line 7984, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-input-shell textarea,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-input-shell .floating-ai-rich-input {
  width: 100%;
  min-height: 22px;
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #1d1c1d;
}

/* line 7994, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-input-shell textarea::placeholder {
  color: #868686;
}

/* line 7998, app/assets/stylesheets/application.scss */
.floating-ai-thread-also-send {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 12px 6px;
  color: #1d1c1d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
}

/* line 8011, app/assets/stylesheets/application.scss */
.floating-ai-thread-also-send.hidden,
.floating-ai-thread-also-send[hidden] {
  display: none !important;
}

/* line 8016, app/assets/stylesheets/application.scss */
.floating-ai-thread-also-send input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--chat-primary, #007AFF);
}

/* line 8023, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer {
  width: 100%;
  padding: 2px 8px 8px;
}

/* line 8028, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer .floating-ai-composer-tools.is-slack {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}

/* line 8035, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer .floating-ai-tool-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--chat-ink, #1D1D1F);
  background: transparent;
}

/* line 8043, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer .floating-ai-tool-btn:hover,
.floating-ai-thread-composer-footer .floating-ai-tool-btn.is-active {
  background: var(--chat-fill, #F2F2F7);
  color: var(--chat-ink, #1D1D1F);
}

/* line 8049, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer .floating-ai-tool-btn.is-plus {
  background: var(--chat-fill, #F2F2F7);
}

/* line 8053, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer .floating-ai-format-aa,
.floating-ai-thread-composer-footer .floating-ai-mention-at {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

/* line 8060, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer .floating-ai-format-aa {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 8065, app/assets/stylesheets/application.scss */
.floating-ai-thread-composer-footer .floating-ai-send-split {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 30px;
  color: #c7c7cc;
}

/* line 8074, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-composer-footer .floating-ai-send-btn {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f7 !important;
  color: #aeaeb2 !important;
  box-shadow: none !important;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

/* line 8085, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot.has-text .floating-ai-thread-composer-footer .floating-ai-send-btn,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot.has-attachments .floating-ai-thread-composer-footer .floating-ai-send-btn {
  color: #fff !important;
  background: var(--chat-primary, #007AFF) !important;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--chat-primary, #007AFF) 35%, transparent) !important;
}

/* line 8092, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot.has-text .floating-ai-thread-composer-footer .floating-ai-send-btn:hover,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot.has-attachments .floating-ai-thread-composer-footer .floating-ai-send-btn:hover {
  background: var(--chat-accent-deep, #0066d6) !important;
}

/* line 8097, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot.has-text .floating-ai-thread-composer-footer .floating-ai-send-btn:active,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot.has-attachments .floating-ai-thread-composer-footer .floating-ai-send-btn:active {
  transform: scale(0.92);
}

/* line 8102, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot:not(.has-text):not(.has-attachments) .floating-ai-thread-composer-footer .floating-ai-send-btn,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot:not(.has-text):not(.has-attachments) .floating-ai-thread-composer-footer .floating-ai-send-btn.is-disabled,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot:not(.has-text):not(.has-attachments) .floating-ai-thread-composer-footer .floating-ai-send-btn:disabled {
  color: #c7c7cc !important;
  background: #f2f2f7 !important;
  box-shadow: none !important;
}

/* line 8110, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-composer-footer .floating-ai-send-split {
  display: none !important;
}

/* line 8114, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread-foot {
  border-top: 0;
  padding: 8px 14px max(12px, env(safe-area-inset-bottom, 0px));
  background: #fff;
}

/* line 8120, app/assets/stylesheets/application.scss */
.floating-ai-thread-input-shell textarea,
.floating-ai-thread-input-shell .floating-ai-rich-input {
  width: 100%;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: inherit;
  max-height: 120px;
}

/* line 8132, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-thread-open > .floating-ai-msg-cluster .floating-ai-msg,
.floating-ai-msg-row.is-thread-open > .floating-ai-msg,
.floating-ai-msg-row.is-slack.is-thread-open {
  background: rgba(255, 214, 102, 0.22);
}

/* line 8138, app/assets/stylesheets/application.scss */
.floating-ai-msg-replies {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 6px 0 0;
  padding: 2px 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1264a3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* line 8158, app/assets/stylesheets/application.scss */
.floating-ai-msg-replies:hover {
  background: rgba(29, 28, 29, 0.04);
}

/* line 8162, app/assets/stylesheets/application.scss */
.floating-ai-msg-replies:hover .floating-ai-msg-replies-count {
  text-decoration: underline;
}

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

/* line 8170, app/assets/stylesheets/application.scss */
.floating-ai-msg-replies-faces {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 20px;
  min-height: 20px;
}

/* line 8178, app/assets/stylesheets/application.scss */
.floating-ai-msg-replies-faces img,
.floating-ai-msg-replies-faces span {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #fff;
  margin-left: -2px;
  background: #e8ecf5;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
  box-shadow: 0 0 0 1px rgba(29, 28, 29, 0.08);
  flex: 0 0 auto;
}

/* line 8197, app/assets/stylesheets/application.scss */
.floating-ai-msg-replies-faces img:first-child,
.floating-ai-msg-replies-faces span:first-child {
  margin-left: 0;
}

/* line 8202, app/assets/stylesheets/application.scss */
.floating-ai-msg-replies-count {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Workspace Slack layout: flat rows, no left/right bubbles */
/* line 8208, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat {
  --chat-bubble-max: 100%;
}

/* line 8212, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack.is-outgoing,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack.is-incoming {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 6px 16px;
  border-radius: 0;
}

/* line 8224, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack.is-grouped {
  margin-top: 0;
  padding-top: 2px;
  padding-bottom: 2px;
}

/* line 8230, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack:hover {
  background: rgba(29, 28, 29, 0.04);
}

/* line 8234, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-cluster.is-slack {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  flex: 1 1 auto;
}

/* line 8242, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-cluster.is-slack .floating-ai-msg,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-bot,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  width: 100%;
  padding: 0;
  color: var(--chat-ink, #1d1c1d);
}

/* line 8259, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack::after {
  display: none;
}

/* line 8263, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-avatar-slot {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  margin-top: 2px;
}

/* line 8272, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack.is-grouped .floating-ai-msg-avatar-slot {
  visibility: hidden;
}

/* line 8276, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-avatar,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-avatar-fallback,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack img.floating-ai-msg-avatar,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread .floating-ai-msg-avatar,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-thread .floating-ai-msg-avatar-fallback {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 8px !important;
}

/* line 8288, app/assets/stylesheets/application.scss */
.floating-ai-msg-slack-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  /* Keep name→body optically tight on short one-line rows.
     line-height 1.3 + body 1.45 stacked ~10–12px of empty ink gap. */
  margin: 0;
  line-height: 1.15;
}

/* line 8298, app/assets/stylesheets/application.scss */
.floating-ai-msg-slack-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--chat-ink, #1d1c1d);
}

/* line 8305, app/assets/stylesheets/application.scss */
.floating-ai-msg-slack-time {
  font-size: 12px;
  font-weight: 400;
  color: #616061;
}

/* line 8311, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-text {
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
  padding: 0;
}

/* Pull the first body line up under the name — same gap for short and long. */
/* line 8319, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-slack-head + .floating-ai-msg-text {
  margin-top: 1px;
}

/* line 8323, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-text a.perk-inline-link,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-text a[href^="http"] {
  display: inline-block;
  max-width: 100%;
  max-width: min(100%, 36ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* line 8334, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-reactions {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  height: auto;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

/* Replies avatars + count always on the line under reaction chips. */
/* line 8355, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-replies {
  display: flex;
  width: fit-content;
  margin-top: 4px;
}

/* line 8361, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack.has-reactions {
  margin-bottom: 0;
}

/* line 8365, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(29, 28, 29, 0.12);
  background: #fff;
  font-size: 13px;
  line-height: 1;
}

/* line 8378, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack {
  position: relative;
  overflow: visible;
}

/* line 8383, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions.is-slack-toolbar {
  position: absolute;
  top: -12px;
  right: 12px;
  left: auto;
  bottom: auto;
  transform: none;
  display: inline-flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  width: max-content;
  max-width: none;
  height: 40px;
  margin: 0;
  padding: 3px;
  background: #fff;
  border: 1px solid rgba(29, 28, 29, 0.13);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  z-index: 20;
  white-space: nowrap;
}

/* line 8409, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 34px;
  height: 34px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1d1c1d !important;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* line 8430, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn:hover,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn.is-active {
  background: rgba(29, 28, 29, 0.08) !important;
  color: #1d1c1d !important;
  border-color: transparent !important;
}

/* line 8437, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn.is-quick-react {
  width: 34px !important;
  padding: 0 !important;
  font-size: 18px;
  font-weight: 400;
}

/* line 8444, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn.is-labeled {
  padding: 0 !important;
  width: 34px !important;
  gap: 0 !important;
}

/* Icon-only toolbar: never show Reply / Add tasks text next to icons. */
/* line 8451, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-label {
  display: none !important;
}

/* line 8455, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn[data-hover-action="react"],
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn[data-hover-action="add-task"],
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn[data-hover-action="reply"],
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn[data-hover-action="forward"] {
  overflow: visible !important;
  width: 34px !important;
  padding: 0 !important;
}

/* line 8464, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-badge-icon,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-react-icon {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
}

/* line 8476, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-badge-icon .heroicon,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-react-icon .heroicon,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-btn .heroicon,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-btn .floating-ai-msg-hover-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  stroke-width: 1.5;
}

/* line 8486, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-badge-icon em,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-react-icon em {
  position: absolute;
  top: -4px;
  right: -5px;
  width: auto;
  height: auto;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1d1c1d;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  pointer-events: none;
}

/* line 8511, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-hover-actions .floating-ai-msg-hover-btn.is-more {
  width: 34px !important;
  padding: 0 !important;
}

/* line 8516, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg-row.is-slack .floating-ai-msg-heart {
  display: none !important;
}

/* Slack media / files — flat cards, not bubble chrome */
/* line 8521, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack.is-media,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack.is-file {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* line 8528, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-media,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-video,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-peek,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage {
  --chat-media-max: 360px;
  --chat-media-max-h: 280px;
  max-width: min(360px, 72%);
  border-radius: 8px !important;
  border: 1px solid rgba(29, 28, 29, 0.12);
  margin: 4px 0 2px;
  background: #f8f8f8;
}

/* line 8541, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage {
  gap: 2px;
  background: #1d1c1d;
  overflow: hidden;
  max-width: min(var(--chat-collage-row-width, 420px), 92%) !important;
  width: min(var(--chat-collage-row-width, 420px), 92%);
  height: var(--chat-collage-row-height, 176px);
  border-radius: 8px !important;
}

/* line 8551, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage.is-two {
  --chat-collage-row-width: 360px;
}

/* line 8555, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage.is-three {
  --chat-collage-row-width: 460px;
}

/* line 8559, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage.is-four {
  --chat-collage-row-width: 560px;
}

/* line 8563, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-video .floating-ai-msg-media,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-peek .floating-ai-msg-media,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage-tile .floating-ai-msg-media,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage-tile .floating-ai-msg-video {
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  background: transparent !important;
}

/* line 8578, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-collage-tile {
  background: #1d1c1d;
}

/* line 8582, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-file,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack.is-file .floating-ai-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, 80%);
  width: auto;
  margin: 4px 0 2px;
  padding: 10px 12px !important;
  border: 1px solid rgba(29, 28, 29, 0.13) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(29, 28, 29, 0.04);
  color: #1d1c1d;
}

/* line 8598, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-file:hover,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack.is-file .floating-ai-msg-file:hover {
  background: #f8f8f8 !important;
  border-color: rgba(29, 28, 29, 0.22) !important;
}

/* line 8604, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--chat-file-color, #616061) 12%, #f0f0f0);
  color: var(--chat-file-color, #1d1c1d);
  box-shadow: none;
}

/* line 8613, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-file-icon > i.fas {
  font-size: 18px;
  line-height: 1;
}

/* line 8618, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-file-name {
  font-size: 14px;
  font-weight: 700;
  color: #1d1c1d;
}

/* line 8624, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-file-kind {
  font-size: 12px;
  color: #616061;
  opacity: 1;
}

/* line 8630, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-msg.is-slack .floating-ai-msg-meta {
  display: none !important;
}

/* line 8634, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted .floating-ai-main-column .floating-ai-messages-wrap {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
}

@media (max-width: 900px) {
  /* line 8641, app/assets/stylesheets/application.scss */
  .floating-ai-panel.is-stage-mounted.is-human-chat.is-thread-open .floating-ai-thread,
.floating-ai-panel.is-stage-mounted.is-human-chat.is-search-open .floating-ai-search-pane,
.floating-ai-panel.is-stage-mounted.is-human-chat.is-shared-open .floating-ai-shared-pane {
    position: absolute;
    inset: 0;
    width: auto;
    max-width: none;
    min-width: 0;
    flex: none;
    border-left: 0;
    box-shadow: -8px 0 24px rgba(23, 25, 29, 0.08);
  }
}

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

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

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

/* line 8713, 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 8721, 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 8727, 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 8741, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-expanded:not(.is-custom-size) {
  --chat-rich-card-max: 300px;
  --chat-rich-hero-max-h: 170px;
  --chat-media-max: 320px;
  --chat-media-max-h: 280px;
  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 8752, app/assets/stylesheets/application.scss */
.floating-ai.is-dragging .floating-ai-panel,
.floating-ai.is-dragging .floating-ai-bubble {
  transition: none;
}

/* line 8757, 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 8766, app/assets/stylesheets/application.scss */
.floating-ai-drag-edge.is-top {
  top: 0;
  left: 22px;
  right: 22px;
  height: 18px;
}

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

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

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

/* line 8794, 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 8801, 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: 72px;
  min-height: 72px;
  padding: 0 12px 0 14px;
  border-bottom: 1px solid var(--chat-line, #E8ECF5);
  cursor: grab;
  touch-action: none;
  user-select: none;
  overflow: visible;
  background: color-mix(in srgb, var(--chat-canvas, #f5f5f7) 88%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

/* line 8840, 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 8845, app/assets/stylesheets/application.scss */
.floating-ai-header-more {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 8851, app/assets/stylesheets/application.scss */
.floating-ai-more-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  padding: 6px;
  border: 1px solid var(--chat-line, #E8ECF5);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(35, 50, 100, 0.14);
}

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

/* line 8870, app/assets/stylesheets/application.scss */
.floating-ai-more-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--chat-ink, #1E2433);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

/* line 8888, app/assets/stylesheets/application.scss */
.floating-ai-more-item:hover {
  background: var(--chat-accent-soft, rgba(0, 122, 255, 0.12));
  color: var(--chat-accent-deep, #0066d6);
}

/* line 8893, app/assets/stylesheets/application.scss */
.floating-ai-more-item .heroicon,
.floating-ai-more-item svg,
.floating-ai-more-item .floating-ai-expand-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* Pop-out / floating windows: expand + close as header icons (no ⋯).
   Never flatten when `.is-chat-layer-embedded` — that paints menu labels into the bar. */
/* line 8903, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached .floating-ai-more-btn,
.floating-ai-panel:not(.is-chat-layer-embedded):not(.is-detached) .floating-ai-more-btn {
  display: none !important;
}

/* line 8908, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached .floating-ai-header-more,
.floating-ai-panel:not(.is-chat-layer-embedded):not(.is-detached) .floating-ai-header-more {
  display: contents;
}

/* line 8913, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached .floating-ai-more-menu,
.floating-ai-panel.is-detached .floating-ai-more-menu.hidden,
.floating-ai-panel:not(.is-chat-layer-embedded):not(.is-detached) .floating-ai-more-menu,
.floating-ai-panel:not(.is-chat-layer-embedded):not(.is-detached) .floating-ai-more-menu.hidden {
  position: static;
  display: contents !important;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* line 8926, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached .floating-ai-more-item,
.floating-ai-panel:not(.is-chat-layer-embedded):not(.is-detached) .floating-ai-more-item {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  gap: 0;
  color: var(--chat-muted, #8B93A7);
  font-size: 0;
  /* icon-only — never paint Pop out / Close labels into the header */
  line-height: 0;
  overflow: hidden;
}

/* line 8940, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached .floating-ai-more-item:hover,
.floating-ai-panel:not(.is-chat-layer-embedded):not(.is-detached) .floating-ai-more-item:hover {
  background: var(--chat-accent-soft, rgba(0, 122, 255, 0.12));
  color: var(--chat-accent-deep, #0066d6);
}

/* line 8946, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-detached .floating-ai-more-item > span:not(.floating-ai-expand-icon),
.floating-ai-panel:not(.is-chat-layer-embedded):not(.is-detached) .floating-ai-more-item > span:not(.floating-ai-expand-icon) {
  display: none !important;
}

/* Chat-layer embedded: ⋯ opens a real dropdown — never flatten into the bar. */
/* line 8952, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-header-more {
  position: relative !important;
  display: inline-flex !important;
  flex: 0 0 auto;
}

/* line 8958, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-more-btn {
  display: inline-flex !important;
}

/* line 8962, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-more-menu {
  position: absolute !important;
  top: calc(100% + 6px);
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  padding: 6px;
  border: 1px solid var(--chat-line, #E8ECF5);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(35, 50, 100, 0.14);
}

/* line 8976, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-more-menu.hidden {
  display: none !important;
}

/* line 8980, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-more-item {
  width: 100%;
  height: auto;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 10px;
  justify-content: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.3;
  overflow: visible;
}

/* line 8993, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-more-item > span:not(.floating-ai-expand-icon) {
  display: inline !important;
}

/* Human-chat header tools share the same chrome buttons as the list header. */
/* line 8998, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-header-btn {
  width: var(--chat-chrome-btn, 34px);
  height: var(--chat-chrome-btn, 34px);
  min-width: var(--chat-chrome-btn, 34px);
  flex: 0 0 var(--chat-chrome-btn, 34px);
  border-radius: 10px;
  background: transparent;
  color: var(--chat-muted, #8B93A7);
  box-shadow: none;
}

/* line 9009, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-header-btn:hover {
  background: var(--chat-accent-soft, rgba(108, 99, 255, 0.12));
  color: var(--chat-accent-deep, #0066d6);
  box-shadow: none;
}

/* line 9015, app/assets/stylesheets/application.scss */
.floating-ai-peer-copy .floating-ai-peer-status-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* line 9031, app/assets/stylesheets/application.scss */
.floating-ai-peer-copy .floating-ai-peer-status-row > #floating-ai-peer-status {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 9037, app/assets/stylesheets/application.scss */
.floating-ai-peer-online-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30bd68;
  box-shadow: 0 0 0 2px rgba(48, 189, 104, 0.18);
}

/* line 9046, app/assets/stylesheets/application.scss */
.floating-ai-peer-online-dot[hidden] {
  display: none !important;
}

/* line 9050, 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 9055, 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 9068, 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: 14px 16px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

/* line 9079, app/assets/stylesheets/application.scss */
.floating-ai-history-head strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--perk-ink, #1d1d1f);
}

/* line 9086, 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: 0;
  border-radius: 12px;
  background: var(--chat-primary, #007aff);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.24);
}

/* line 9105, app/assets/stylesheets/application.scss */
.floating-ai-new-chat-btn:hover {
  background: var(--chat-gradient, linear-gradient(135deg, #5B9BFF 0%, #7964FF 100%));
  filter: brightness(1.04);
}

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

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

/* line 9122, 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 9138, app/assets/stylesheets/application.scss */
.floating-ai-history-item:hover,
.floating-ai-history-item.is-active {
  background: var(--chat-accent-soft, rgba(108, 99, 255, 0.12));
}

@media (prefers-reduced-motion: reduce) {
  /* line 9144, app/assets/stylesheets/application.scss */
  .perk-chat-row,
.perk-chats-filter,
.perk-chats-heading-actions .perk-icon-button,
.floating-ai-header-btn,
.floating-ai-input-shell,
.floating-ai-send-btn,
.floating-ai-panel {
    transition: none !important;
  }
}

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

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

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

/* line 9173, app/assets/stylesheets/application.scss */
.floating-ai-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 4px;
  margin-left: auto;
  margin-right: 0;
  flex: 0 0 auto;
  max-width: 100%;
  position: relative;
  z-index: 8;
}

/* line 9187, app/assets/stylesheets/application.scss */
.floating-ai-header-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex: 0 0 38px;
  background: transparent;
  color: #3d4248;
  font-size: 0;
  /* hide any stray text nodes; icons keep their own size */
  line-height: 0;
  border-radius: 50%;
  transition: background 0.18s ease, color 0.18s ease;
}

/* line 9200, app/assets/stylesheets/application.scss */
.floating-ai-header-btn .heroicon,
.floating-ai-header-btn svg,
.floating-ai-header-btn i,
.floating-ai-header-btn .floating-ai-expand-icon {
  font-size: 14px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
}

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

/* line 9216, 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 9223, app/assets/stylesheets/application.scss */
.floating-ai-expand-btn .floating-ai-expand-svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* line 9229, app/assets/stylesheets/application.scss */
.floating-ai-close-btn {
  margin-left: 2px;
  order: 99;
  /* always rightmost in the header actions */
}

/* line 9234, 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 9244, app/assets/stylesheets/application.scss */
.floating-ai-date-sep {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px 10px;
  position: relative;
  z-index: 1;
}

/* line 9255, app/assets/stylesheets/application.scss */
.floating-ai-date-sep::before,
.floating-ai-date-sep::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 72px;
  background: var(--chat-border, #E8ECF5);
  opacity: 0.9;
}

/* line 9265, app/assets/stylesheets/application.scss */
.floating-ai-date-sep span,
.floating-ai-sticky-date span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* line 9283, app/assets/stylesheets/application.scss */
.floating-ai-date-sep span {
  color: var(--chat-muted, #8B93A7);
}

/* E2EE "security code changed" / "couldn't verify sender" notice (Messenger-style). */
/* line 9288, app/assets/stylesheets/application.scss */
.floating-ai-e2ee-banner {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  background: #fff7e0;
  color: #5c4300;
  border: 1px solid #f0d48a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* line 9306, app/assets/stylesheets/application.scss */
.floating-ai-e2ee-banner[hidden] {
  display: none;
}

/* line 9307, app/assets/stylesheets/application.scss */
.floating-ai-e2ee-banner[data-kind="unverified"] {
  background: #fdecec;
  color: #7a1f1f;
  border-color: #f2b8b8;
}

/* line 9312, app/assets/stylesheets/application.scss */
.floating-ai-e2ee-banner-text {
  flex: 1 1 auto;
}

/* line 9313, app/assets/stylesheets/application.scss */
.floating-ai-e2ee-banner-dismiss {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

@media (prefers-color-scheme: dark) {
  /* line 9324, app/assets/stylesheets/application.scss */
  .floating-ai-e2ee-banner {
    background: #3a300f;
    color: #f6e3a6;
    border-color: #6b5718;
  }
  /* line 9325, app/assets/stylesheets/application.scss */
  .floating-ai-e2ee-banner[data-kind="unverified"] {
    background: #3d1717;
    color: #f5c2c2;
    border-color: #6e2a2a;
  }
}

/* line 9328, app/assets/stylesheets/application.scss */
.floating-ai-sticky-date {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

/* line 9339, app/assets/stylesheets/application.scss */
.floating-ai-sticky-date.is-visible {
  opacity: 1;
}

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

/* line 9347, app/assets/stylesheets/application.scss */
.floating-ai-sticky-date span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--chat-muted, #8B93A7);
  border: 1px solid var(--chat-border, #E8ECF5);
  box-shadow: 0 2px 10px rgba(35, 50, 100, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
}

/* line 9359, app/assets/stylesheets/application.scss */
.floating-ai-messages-wrap.is-drop-target::after,
.hub-ask-chat-messages-wrap.is-drop-target::after,
.hub-ask.is-drop-target::after {
  content: attr(data-drop-hint);
  position: absolute;
  inset: 8px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(26, 115, 232, 0.72);
  border-radius: 16px;
  background: rgba(26, 115, 232, 0.08);
  color: #1a56b8;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

/* line 9378, app/assets/stylesheets/application.scss */
.hub-ask.is-drop-target::after {
  inset: -6px;
  border-radius: 24px;
  z-index: 5;
}

/* line 9384, 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 9400, 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 9407, app/assets/stylesheets/application.scss */
.floating-ai-chat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--chat-canvas, #ffffff);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

/* line 9424, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer {
  --chat-canvas: #ffffff;
}

/* Floating AI: avatar + actions only (classic). Chat-layer keeps the name chip. */
/* line 9429, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer:not(.is-chat-layer-embedded) .floating-ai-peer-switch,
.floating-ai-panel.is-ai-peer:not(.is-chat-layer-embedded) .floating-ai-peer-switch.hidden {
  display: none !important;
}

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

/* line 9439, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-chat-bg,
.floating-ai-panel.is-chat-layer-embedded.is-ai-peer:not(.is-character-ai) .floating-ai-chat-bg {
  background-color: var(--perk-canvas, #f5f5f7);
  background-image: none;
}

/* Character AI live chat — full portrait bg, face biased toward visual middle. */
/* line 9446, 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 9454, 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 9463, 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 9478, 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 9485, app/assets/stylesheets/application.scss */
.floating-ai-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  position: relative;
}

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

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

/* line 9501, 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 9513, app/assets/stylesheets/application.scss */
.floating-ai-deleted-notice {
  font-style: italic;
}

/* line 9517, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-item.is-danger,
.floating-ai-msg-more-item.is-danger .floating-ai-msg-more-label {
  color: #b42318;
}

/* line 9522, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-item.is-danger .floating-ai-msg-more-icon {
  background: rgba(180, 35, 24, 0.08);
  color: #b42318;
}

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

/* line 9532, app/assets/stylesheets/application.scss */
.floating-ai-msg-cluster {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  min-width: 0;
  /* Cluster includes hover chrome — size to bubble + actions, not the full row.
     Never stretch to 100% — that parks hover icons mid-pane in chat-layer. */
  max-width: min(85%, calc(var(--chat-bubble-max, 420px) + 110px), 100%);
  width: max-content;
  flex: 0 1 auto;
}

/* line 9545, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-outgoing .floating-ai-msg-cluster {
  max-width: min(85%, calc(var(--chat-bubble-max, 420px) + 110px), 100%);
  margin-left: auto;
}

/* line 9550, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-incoming .floating-ai-msg-cluster {
  margin-right: auto;
}

/* line 9554, 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;
  /* Avoid % max-width inside width:max-content (cyclic) — cap in px. */
  max-width: var(--chat-bubble-max, 420px);
}

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

/* line 9566, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart {
  flex: 0 0 32px;
  align-self: flex-end;
  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 9587, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart[hidden] {
  display: none !important;
}

/* line 9591, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-glyph {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--chat-surface, #FFFFFF);
  border: 1px solid var(--chat-border, #E8ECF5);
  box-shadow: 0 2px 8px rgba(35, 50, 100, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* line 9604, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-glyph .heroicon {
  width: 11px;
  height: 11px;
  fill: transparent;
  color: var(--chat-primary, #007aff);
}

/* line 9611, app/assets/stylesheets/application.scss */
.floating-ai-msg-heart-glyph.is-emoji {
  font-size: 16px;
  line-height: 1;
}

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

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

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

/* line 9650, 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 9661, 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;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

@media (hover: hover) and (pointer: fine) {
  /* line 9675, 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,
.floating-ai-msg-cluster:hover .floating-ai-msg-hover-actions {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* Touch / coarse pointers: keep actions available via open state only. */
@media (hover: none), (pointer: coarse) {
  /* line 9686, app/assets/stylesheets/application.scss */
  .floating-ai-msg-row.is-actions-open .floating-ai-msg-hover-actions {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* line 9693, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--chat-border, #E8ECF5);
  border-radius: 50%;
  background: var(--chat-surface, #FFFFFF);
  color: var(--chat-text, #1E2433);
  box-shadow: 0 2px 8px rgba(35, 50, 100, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--chat-ease, 180ms ease), color var(--chat-ease, 180ms ease), border-color var(--chat-ease, 180ms ease);
}

/* line 9712, app/assets/stylesheets/application.scss */
.floating-ai-msg-hover-btn:hover,
.floating-ai-msg-hover-btn.is-active {
  background: var(--chat-hover, #F5F4FF);
  color: var(--chat-primary, #007aff);
  border-color: rgba(108, 99, 255, 0.22);
}

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

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

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

/* Slack-style reaction emoji picker (React / add more) */
/* line 9766, app/assets/stylesheets/application.scss */
.perk-react-emoji-picker {
  /* Above floating chat panel (z-index 90) so category/emoji clicks hit the picker. */
  z-index: 10070;
  width: 352px;
  max-width: calc(100vw - 16px);
  pointer-events: auto;
}

/* line 9774, app/assets/stylesheets/application.scss */
.perk-react-emoji-picker-card {
  display: flex;
  flex-direction: column;
  height: min(440px, calc(100vh - 24px));
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  color: #1d1c1d;
  font-family: inherit;
}

/* line 9787, app/assets/stylesheets/application.scss */
.perk-react-emoji-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 6px;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
  overflow-x: auto;
}

/* line 9797, app/assets/stylesheets/application.scss */
.perk-react-emoji-tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 40px;
  padding: 0 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #616061;
  cursor: pointer;
}

/* line 9812, app/assets/stylesheets/application.scss */
.perk-react-emoji-tab:hover {
  color: #1d1c1d;
  background: #f8f8f8;
}

/* line 9817, app/assets/stylesheets/application.scss */
.perk-react-emoji-tab.is-active {
  color: #611f69;
  border-bottom-color: #611f69;
}

/* line 9822, app/assets/stylesheets/application.scss */
.perk-react-emoji-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 10px 12px 0;
}

/* line 9830, app/assets/stylesheets/application.scss */
.perk-react-emoji-search-wrap {
  flex-shrink: 0;
  margin-bottom: 10px;
}

/* line 9835, app/assets/stylesheets/application.scss */
.perk-react-emoji-search {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #1264a3;
  border-radius: 8px;
  background: #fff;
  color: #1d1c1d;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

/* line 9848, app/assets/stylesheets/application.scss */
.perk-react-emoji-search::placeholder {
  color: #868686;
}

/* line 9852, app/assets/stylesheets/application.scss */
.perk-react-emoji-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 8px;
}

/* line 9859, app/assets/stylesheets/application.scss */
.perk-react-emoji-section {
  margin-bottom: 14px;
}

/* line 9863, app/assets/stylesheets/application.scss */
.perk-react-emoji-section-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1d1c1d;
}

/* line 9870, app/assets/stylesheets/application.scss */
.perk-react-emoji-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 2px;
}

/* line 9876, app/assets/stylesheets/application.scss */
.perk-react-emoji-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

/* line 9891, app/assets/stylesheets/application.scss */
.perk-react-emoji-item:hover,
.perk-react-emoji-item:focus-visible {
  background: #f2f2f2;
  outline: none;
}

/* line 9897, app/assets/stylesheets/application.scss */
.perk-react-emoji-item-custom img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* line 9903, app/assets/stylesheets/application.scss */
.perk-react-emoji-empty {
  margin: 24px 8px;
  text-align: center;
  color: #616061;
  font-size: 13px;
  line-height: 1.4;
}

/* line 9911, app/assets/stylesheets/application.scss */
.perk-react-emoji-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid #e8e8e8;
  background: #f8f8f8;
  flex-shrink: 0;
}

/* line 9922, app/assets/stylesheets/application.scss */
.perk-react-emoji-add {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  color: #1d1c1d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 9934, app/assets/stylesheets/application.scss */
.perk-react-emoji-add:hover {
  background: #f2f2f2;
  border-color: #bdbdbd;
}

/* line 9939, app/assets/stylesheets/application.scss */
.perk-react-emoji-skin-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* line 9945, app/assets/stylesheets/application.scss */
.perk-react-emoji-skin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 4px 0 2px;
  border: 0;
  background: transparent;
  color: #1d1c1d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 9959, app/assets/stylesheets/application.scss */
.perk-react-emoji-skin-hand {
  font-size: 22px;
  line-height: 1;
}

/* line 9964, app/assets/stylesheets/application.scss */
.perk-react-emoji-skin-pop {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  z-index: 2;
}

/* line 9979, app/assets/stylesheets/application.scss */
.perk-react-emoji-skin-opt {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* line 9990, app/assets/stylesheets/application.scss */
.perk-react-emoji-skin-opt:hover,
.perk-react-emoji-skin-opt.is-active {
  background: #f2f2f2;
}

/* line 9995, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* line 10005, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 28, 29, 0.45);
}

/* line 10011, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.28);
  color: #1d1c1d;
}

/* line 10022, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 8px;
}

/* line 10029, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

/* line 10035, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #616061;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* line 10047, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-close:hover {
  background: #f2f2f2;
}

/* line 10051, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-tabs {
  display: flex;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid #e8e8e8;
}

/* line 10058, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-tab {
  height: 40px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #616061;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* line 10070, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-tab.is-active {
  color: #611f69;
  border-bottom-color: #611f69;
}

/* line 10075, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 10080, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-body {
  padding: 16px 20px 8px;
}

/* line 10084, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-hint {
  margin: 0 0 18px;
  color: #616061;
  font-size: 13px;
  line-height: 1.45;
}

/* line 10091, app/assets/stylesheets/application.scss */
.perk-add-emoji-step {
  margin-bottom: 20px;
}

/* line 10095, app/assets/stylesheets/application.scss */
.perk-add-emoji-step h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

/* line 10101, app/assets/stylesheets/application.scss */
.perk-add-emoji-step p {
  margin: 0 0 12px;
  color: #616061;
  font-size: 13px;
}

/* line 10107, app/assets/stylesheets/application.scss */
.perk-add-emoji-upload-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* line 10114, app/assets/stylesheets/application.scss */
.perk-add-emoji-previews {
  display: flex;
  gap: 8px;
}

/* line 10119, app/assets/stylesheets/application.scss */
.perk-add-emoji-preview {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid #d1d1d1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* line 10130, app/assets/stylesheets/application.scss */
.perk-add-emoji-preview.is-light {
  background: #fff;
}

/* line 10134, app/assets/stylesheets/application.scss */
.perk-add-emoji-preview.is-dark {
  background: #1d1c1d;
  border-color: #1d1c1d;
}

/* line 10139, app/assets/stylesheets/application.scss */
.perk-add-emoji-preview img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* line 10145, app/assets/stylesheets/application.scss */
.perk-add-emoji-upload-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #616061;
  font-size: 13px;
}

/* line 10154, app/assets/stylesheets/application.scss */
.perk-add-emoji-upload-btn {
  height: 36px;
  padding: 0 14px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  color: #1d1c1d;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* line 10166, app/assets/stylesheets/application.scss */
.perk-add-emoji-name {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

/* line 10176, app/assets/stylesheets/application.scss */
.perk-add-emoji-name:focus {
  outline: none;
  border-color: #1264a3;
  box-shadow: 0 0 0 1px #1264a3;
}

/* line 10182, app/assets/stylesheets/application.scss */
.perk-add-emoji-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px 18px;
}

/* line 10189, app/assets/stylesheets/application.scss */
.perk-add-emoji-cancel,
.perk-add-emoji-save {
  height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* line 10199, app/assets/stylesheets/application.scss */
.perk-add-emoji-cancel {
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #1d1c1d;
}

/* line 10205, app/assets/stylesheets/application.scss */
.perk-add-emoji-save {
  border: 0;
  background: #ddd;
  color: #fff;
}

/* line 10211, app/assets/stylesheets/application.scss */
.perk-add-emoji-save:not(:disabled) {
  background: #007a5a;
}

/* line 10215, app/assets/stylesheets/application.scss */
.perk-add-emoji-save:disabled {
  cursor: not-allowed;
}

/* line 10219, 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 10225, app/assets/stylesheets/application.scss */
.floating-ai-msg-more {
  position: absolute;
  z-index: 31;
  min-width: 220px;
  width: max(220px, max-content);
  max-width: min(280px, calc(100vw - 24px));
  padding: 6px 0;
  border-radius: 18px;
  background: var(--perk-surface, #fff);
  color: var(--perk-ink, #17191d);
  border: 0;
  box-shadow: 0 18px 48px rgba(23, 25, 29, 0.18);
  font-weight: 300;
}

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

/* line 10244, app/assets/stylesheets/application.scss */
.floating-ai-msg-more::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--perk-surface, #fff);
  box-shadow: 2px 2px 4px rgba(23, 25, 29, 0.06);
  transform: translateX(-50%) rotate(45deg);
}

/* line 10256, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-item,
.floating-ai-msg-more button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 300;
  text-align: left;
  cursor: pointer;
}

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

/* line 10281, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-item:first-child:hover,
.floating-ai-msg-more button:first-child:hover {
  border-radius: 18px 18px 0 0;
}

/* line 10286, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-item:last-child:hover,
.floating-ai-msg-more button:last-child:hover {
  border-radius: 0 0 18px 18px;
}

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

/* line 10296, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f2f5;
  color: #111827;
  flex: 0 0 auto;
}

/* line 10308, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-icon svg {
  width: 16px;
  height: 16px;
}

/* line 10313, app/assets/stylesheets/application.scss */
.floating-ai-msg-more-label {
  color: #111827;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* line 10321, app/assets/stylesheets/application.scss */
.floating-ai-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(23, 25, 29, 0.06);
  background: rgba(255, 255, 255, 0.92);
  color: #17191d;
  flex: 0 0 auto;
}

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

/* line 10337, app/assets/stylesheets/application.scss */
.floating-ai-search-field {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(23, 25, 29, 0.06);
}

/* line 10349, app/assets/stylesheets/application.scss */
.floating-ai-search-field-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: #6b7280;
  line-height: 0;
}

/* line 10356, app/assets/stylesheets/application.scss */
.floating-ai-search-field-icon .heroicon,
.floating-ai-search-field-icon svg {
  width: 15px;
  height: 15px;
}

/* line 10362, app/assets/stylesheets/application.scss */
.floating-ai-search-input {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17191d;
  font-size: 13px;
  line-height: 1.2;
}

/* line 10374, app/assets/stylesheets/application.scss */
.floating-ai-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* line 10379, app/assets/stylesheets/application.scss */
.floating-ai-search-count {
  flex: 0 0 auto;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

/* line 10390, app/assets/stylesheets/application.scss */
.floating-ai-search-nav,
.floating-ai-search-close {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #17191d;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

/* line 10407, app/assets/stylesheets/application.scss */
.floating-ai-search-nav:hover,
.floating-ai-search-close:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 10412, app/assets/stylesheets/application.scss */
.floating-ai-search-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 10417, app/assets/stylesheets/application.scss */
.floating-ai-search-nav .heroicon,
.floating-ai-search-nav svg,
.floating-ai-search-close .heroicon,
.floating-ai-search-close svg {
  width: 15px;
  height: 15px;
}

/* line 10425, app/assets/stylesheets/application.scss */
.floating-ai-header-btn.floating-ai-search-btn.is-active {
  background: rgba(23, 25, 29, 0.1);
}

/* line 10429, app/assets/stylesheets/application.scss */
.floating-ai-messages.is-searching .floating-ai-msg.is-search-dim {
  opacity: 0.38;
  transition: opacity 0.12s ease;
}

/* line 10434, app/assets/stylesheets/application.scss */
.floating-ai-messages.is-searching .floating-ai-msg.is-search-hit {
  opacity: 1;
}

/* line 10438, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-search-current {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45);
}

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

@keyframes floating-ai-search-flash {
  0%,
100% {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45);
  }
  30%,
70% {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.7);
  }
}

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

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

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

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

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

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

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

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

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

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

/* line 10614, 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 10625, 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 10640, 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 10657, app/assets/stylesheets/application.scss */
.floating-ai-msg {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  max-width: min(72%, var(--chat-bubble-max, 420px), calc(100% - 38px));
  padding: 7px 12px;
  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 10674, app/assets/stylesheets/application.scss */
.floating-ai-msg::after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 0;
}

/* line 10681, app/assets/stylesheets/application.scss */
.floating-ai-msg-row.is-outgoing .floating-ai-msg {
  min-width: 0;
  max-width: var(--chat-bubble-max, 420px);
}

/* line 10686, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot {
  background: var(--chat-incoming, #e9e9eb);
  color: var(--perk-ink, #1d1d1f);
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  box-shadow: none;
}

/* line 10694, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-bot {
  background: var(--chat-incoming, #e9e9eb);
  color: var(--chat-ink, #1d1d1f);
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  box-shadow: none;
}

/* Apple Messages outgoing: system blue with white text. */
/* line 10703, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user {
  background: var(--chat-outgoing, #007aff);
  color: #ffffff;
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  box-shadow: none;
}

/* line 10711, 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 10715, 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 10719, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user .floating-ai-msg-status.is-seen {
  color: #ffffff;
}

/* Embedded chat layer — same Messages palette. */
/* line 10724, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-msg-bot {
  background: var(--chat-incoming, #e9e9eb);
  color: var(--chat-ink, #1d1d1f);
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  box-shadow: none;
}

/* line 10732, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-msg-user {
  background: var(--chat-outgoing, #007aff);
  color: #ffffff;
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  box-shadow: none;
}

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

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

/* line 10748, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-human-chat .floating-ai-msg-user .floating-ai-msg-status.is-seen {
  color: #ffffff;
}

/* 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 10755, 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 10762, 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 10775, app/assets/stylesheets/application.scss */
.floating-ai-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: min(72%, var(--chat-bubble-max, 420px), calc(100% - 38px));
  flex: 1 1 auto;
}

/* Floating AI: classic compact padding. Chat layer shares human gutters. */
/* line 10785, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer:not(.is-chat-layer-embedded) .floating-ai-panel-body {
  gap: 12px;
  padding: 16px 16px 14px;
}

/* line 10790, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer.is-chat-layer-embedded .floating-ai-panel-body {
  gap: 10px;
  padding-left: var(--chat-layer-inline-pad);
  padding-right: var(--chat-layer-inline-pad);
  box-sizing: border-box;
}

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

/* Assistant replies: document-width column (not a human chat bubble). */
/* line 10802, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-row.is-incoming .floating-ai-msg-stack {
  max-width: 100%;
  width: 100%;
  flex: 1 1 auto;
}

/* User prompts in AI chats stay bubble-sized. */
/* line 10809, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-row.is-outgoing .floating-ai-msg-stack {
  max-width: min(85%, var(--chat-bubble-max, 420px));
  width: max-content;
  flex: 0 1 auto;
}

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

/* line 10836, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-ai-peer .floating-ai-msg-user {
  background: var(--chat-outgoing, #007aff);
  color: #ffffff;
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  padding: 8px 13px 8px;
  box-shadow: none;
}

/* line 10845, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-ai-peer .floating-ai-msg-user {
  background: var(--chat-outgoing, #007aff);
  color: #ffffff;
  border-radius: var(--chat-bubble-r, 18px);
  box-shadow: none;
}

/* line 10852, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-ai-peer .floating-ai-msg-bot {
  color: var(--chat-ink, #1E2433);
}

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

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

/* line 10865, 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 10874, 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 10890, 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 10896, 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 10903, app/assets/stylesheets/application.scss */
.floating-ai-msg-ai-more-wrap {
  position: relative;
}

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

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

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

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

/* line 10961, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote {
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
  padding: 6px 8px;
  border: 0;
  border-radius: 10px;
  background: var(--chat-reply-background, #F4F2FF);
  color: var(--chat-text, #1E2433);
  font: inherit;
  text-align: left;
  max-width: 100%;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* line 10979, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote:disabled {
  cursor: default;
}

/* line 10983, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote:not(:disabled):hover {
  background: var(--chat-hover, #F5F4FF);
}

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

/* line 10991, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-quote:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.72);
}

/* line 10995, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote::before {
  content: "";
  width: 3px;
  border-radius: 999px;
  background: var(--chat-primary, #007aff);
  opacity: 1;
  flex: 0 0 auto;
  align-self: stretch;
}

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

/* line 11010, 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 11018, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--chat-primary, #007aff);
}

/* line 11024, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-copy span {
  font-size: 11px;
  color: var(--chat-muted, #8B93A7);
}

/* line 11029, app/assets/stylesheets/application.scss */
.floating-ai-msg-quote-thumb {
  width: 36px;
  height: 36px;
  margin-left: auto;
  align-self: center;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--chat-hover, #F5F4FF);
  pointer-events: none;
}

/* line 11041, app/assets/stylesheets/application.scss */
.floating-ai-msg-forwarded {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* line 11053, app/assets/stylesheets/application.scss */
.floating-ai-msg-forwarded-icon {
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 11058, app/assets/stylesheets/application.scss */
.floating-ai-msg-forwarded-icon svg,
.floating-ai-msg-forwarded-icon i {
  width: 12px;
  height: 12px;
  font-size: 11px;
}

/* line 11065, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-bot .floating-ai-msg-forwarded,
.floating-ai-msg.is-sticker .floating-ai-msg-forwarded {
  color: #6b7280;
}

/* line 11070, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-user.is-forwarded:not(.is-sticker) .floating-ai-msg-forwarded {
  color: rgba(23, 25, 29, 0.55);
}

/* line 11074, 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 11087, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-meta {
  color: rgba(23, 25, 29, 0.42);
}

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

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

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

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

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

/* line 11116, 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 11134, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-human-chat .floating-ai-msg-reactions {
  height: 26px;
  padding: 0 7px;
  gap: 4px;
  font-size: 14px;
  bottom: -18px;
}

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

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

/* line 11150, 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 11164, app/assets/stylesheets/application.scss */
.floating-ai-msg-reaction-count {
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
}

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

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

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

/* line 11184, 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 11194, 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 11202, 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 11216, 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 11225, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-head strong {
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  letter-spacing: -0.01em;
}

/* line 11232, 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 11249, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: 280px;
}

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

/* line 11263, 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 11278, app/assets/stylesheets/application.scss */
button.floating-ai-reactions-sheet-row {
  cursor: pointer;
}

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

/* line 11286, 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 11301, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 11308, 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 11316, 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 11325, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-copy small {
  font-size: 12px;
  color: #8a9099;
}

/* line 11330, 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 11339, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-emoji em {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

/* line 11346, 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 11356, 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 11368, app/assets/stylesheets/application.scss */
.floating-ai-reactions-sheet-filter.is-active {
  background: #e5e7eb;
  color: #111827;
}

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

/* line 11389, 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;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 20px;
}

/* Keep timestamp overlaid on the photo/video (not below it). */
/* line 11401, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-media .floating-ai-msg-meta {
  z-index: 2;
  bottom: 8px;
  right: 10px;
}

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

/* Multi-photo collage — single horizontal row on web. */
/* line 11415, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  gap: 2px;
  width: min(var(--chat-collage-row-width, 360px), 92%);
  height: var(--chat-collage-row-height, 168px);
  overflow: hidden;
  border-radius: 16px;
  background: #111;
  border: 1px solid var(--chat-line, #e5e7eb);
  box-sizing: border-box;
}

/* line 11429, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage.is-two {
  --chat-collage-row-width: 320px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* line 11434, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage.is-three {
  --chat-collage-row-width: 420px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* line 11439, app/assets/stylesheets/application.scss */
.floating-ai-msg-collage.is-four {
  --chat-collage-row-width: 520px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

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

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

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

/* line 11488, 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 11494, 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 11499, 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 11505, app/assets/stylesheets/application.scss */
.floating-ai-typing {
  display: flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  gap: 8px;
  padding: 5px 16px 3px;
  /* Content-sized only — do not stretch across the chat column. */
  background: rgba(255, 255, 255, 0.92);
  flex: 0 0 auto;
  pointer-events: none;
}

/* line 11520, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-typing {
  padding-left: var(--chat-layer-inline-pad);
}

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

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

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

/* line 11547, 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 11556, 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 11567, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px 18px;
  border-top: 0;
  align-items: stretch;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0 0 20px 20px;
  flex: 0 0 auto;
  position: relative;
  z-index: 8;
}

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

/* line 11598, app/assets/stylesheets/application.scss */
.floating-ai-format-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  padding: 4px 8px;
  background: #f8f8f8;
  border-bottom: 1px solid rgba(29, 28, 29, 0.13);
  overflow: visible;
}

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

/* line 11615, app/assets/stylesheets/application.scss */
.floating-ai-format-group {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
}

/* line 11622, app/assets/stylesheets/application.scss */
.floating-ai-format-sep {
  width: 1px;
  height: 20px;
  margin: 0 6px;
  background: rgba(29, 28, 29, 0.13);
  flex: 0 0 auto;
}

/* line 11630, app/assets/stylesheets/application.scss */
.floating-ai-format-more {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

/* line 11637, app/assets/stylesheets/application.scss */
.floating-ai-format-more-toggle.is-open,
.floating-ai-format-more-toggle[aria-expanded="true"] {
  background: rgba(29, 28, 29, 0.12);
}

/* line 11642, app/assets/stylesheets/application.scss */
.floating-ai-format-more-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(29, 28, 29, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 25, 29, 0.14);
}

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

/* line 11662, app/assets/stylesheets/application.scss */
.floating-ai-format-more-menu .floating-ai-format-btn {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  gap: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* line 11674, app/assets/stylesheets/application.scss */
.floating-ai-format-more-menu .floating-ai-format-btn span:last-child {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}

/* line 11680, app/assets/stylesheets/application.scss */
.floating-ai-format-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1d1c1d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

/* line 11698, app/assets/stylesheets/application.scss */
.floating-ai-format-btn:hover {
  background: rgba(29, 28, 29, 0.08);
}

/* line 11702, app/assets/stylesheets/application.scss */
.floating-ai-format-btn.is-active {
  background: rgba(29, 28, 29, 0.12);
  color: #1264a3;
}

/* line 11707, app/assets/stylesheets/application.scss */
.floating-ai-format-btn em {
  font-style: italic;
  font-weight: 700;
}

/* line 11712, app/assets/stylesheets/application.scss */
.floating-ai-format-btn .is-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 11717, app/assets/stylesheets/application.scss */
.floating-ai-format-btn .is-strike {
  text-decoration: line-through;
}

/* line 11721, app/assets/stylesheets/application.scss */
.floating-ai-format-btn .is-ol,
.floating-ai-format-btn .is-code {
  font-size: 12px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* line 11728, app/assets/stylesheets/application.scss */
.floating-ai-format-btn .heroicon {
  width: 16px;
  height: 16px;
}

/* line 11733, app/assets/stylesheets/application.scss */
.floating-ai-format-btn.is-caret .heroicon {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

/* line 11739, app/assets/stylesheets/application.scss */
.floating-ai-msg-text strong {
  font-weight: 800;
}

/* line 11743, app/assets/stylesheets/application.scss */
.floating-ai-msg-text em {
  font-style: italic;
}

/* line 11747, app/assets/stylesheets/application.scss */
.floating-ai-msg-text u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 11752, app/assets/stylesheets/application.scss */
.floating-ai-msg-text s {
  text-decoration: line-through;
}

/* line 11756, app/assets/stylesheets/application.scss */
.floating-ai-msg-text .floating-ai-msg-code,
.floating-ai-msg-text code.floating-ai-msg-code {
  display: inline;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(29, 28, 29, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

/* line 11766, app/assets/stylesheets/application.scss */
.floating-ai-msg-text .floating-ai-msg-codeblock,
.floating-ai-msg-text pre.floating-ai-msg-codeblock {
  display: block;
  width: 100%;
  margin: 6px 0;
  padding: 8px 10px;
  overflow-x: auto;
  border-radius: 6px;
  background: rgba(29, 28, 29, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  white-space: pre-wrap;
}

/* line 11780, app/assets/stylesheets/application.scss */
.floating-ai-msg-text .floating-ai-msg-quote-line {
  display: block;
  margin: 2px 0;
  padding: 0 0 0 10px;
  border-left: 3px solid rgba(29, 28, 29, 0.35);
  color: rgba(29, 28, 29, 0.8);
}

/* line 11788, app/assets/stylesheets/application.scss */
.floating-ai-msg-text .floating-ai-msg-li {
  display: block;
  padding-left: 2px;
}

/* line 11793, app/assets/stylesheets/application.scss */
.floating-ai-composer-card {
  display: flex;
  align-items: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
  border: 1px solid rgba(23, 25, 29, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
  overflow: visible;
}

/* line 11806, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded:not(.is-stage-mounted.is-human-chat) .floating-ai-composer-card {
  min-height: 46px;
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* line 11813, app/assets/stylesheets/application.scss */
.floating-ai-composer-card > .floating-ai-input-shell {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* line 11819, app/assets/stylesheets/application.scss */
.floating-ai-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex: 0 0 auto;
}

/* line 11827, app/assets/stylesheets/application.scss */
.floating-ai-composer-tools.is-slack {
  display: none;
}

/* line 11831, app/assets/stylesheets/application.scss */
.floating-ai-attach-wrap {
  position: relative;
  display: inline-flex;
}

/* line 11836, app/assets/stylesheets/application.scss */
.floating-ai-send-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 11842, app/assets/stylesheets/application.scss */
.floating-ai-send-icon.is-slack,
.floating-ai-send-split {
  display: none;
}

/* Classic popover: keep shell + trailing as one pill. */
/* line 11848, app/assets/stylesheets/application.scss */
.floating-ai-composer-card .floating-ai-input-shell {
  flex: 1 1 auto;
}

/* line 11852, app/assets/stylesheets/application.scss */
.floating-ai-composer-card .floating-ai-composer-footer {
  margin-left: -2px;
}

/* line 11856, app/assets/stylesheets/application.scss */
.floating-ai-composer-card .floating-ai-composer-trailing {
  padding: 3px 4px 3px 0;
}

/* Workspace human composer — quiet bordered shell (OpenAI / Apple hybrid). */
/* line 11861, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot {
  padding: 12px 16px 16px;
  background: #ffffff;
  border-top: 1px solid rgba(60, 60, 67, 0.08);
}

/* Stage chat is not draggable — keep the foot strip from eating format clicks. */
/* line 11868, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted .floating-ai-panel-drag-strip.is-foot {
  display: none !important;
  pointer-events: none !important;
}

/* line 11873, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-format-bar {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

/* line 11879, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-format-btn {
  pointer-events: auto;
  cursor: pointer;
}

/* line 11884, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 14px;
  background: #fff;
  overflow: visible;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

/* line 11896, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer:focus-within,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer.has-text .floating-ai-composer {
  border-color: rgba(0, 122, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.08);
}

/* line 11902, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-tools.is-classic {
  display: none !important;
}

/* line 11906, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-format-bar:not([hidden]) {
  display: flex;
  flex-wrap: nowrap;
  order: -1;
  border-radius: 14px 14px 0 0;
  background: var(--chat-fill, #F2F2F7);
  border-bottom-color: rgba(60, 60, 67, 0.12);
}

/* line 11915, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-card {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border: 0;
  background: transparent;
}

/* line 11923, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-card .floating-ai-input-shell,
.floating-ai-panel.is-stage-mounted.is-human-chat.is-chat-layer-embedded .floating-ai-input-shell,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-input-shell {
  min-height: 42px;
  padding: 10px 12px 4px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* line 11934, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-input-shell textarea,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-input-shell .floating-ai-rich-input {
  min-height: 22px;
  max-height: 140px;
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #1d1c1d;
}

/* line 11944, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-input-shell textarea::placeholder {
  color: #868686;
}

/* line 11948, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-footer {
  width: 100%;
  padding: 2px 8px 8px;
  margin: 0;
}

/* line 11954, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-tools.is-slack {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}

/* line 11961, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-tools.is-slack .floating-ai-tool-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--chat-ink, #1D1D1F);
  background: transparent;
  opacity: 1;
}

/* line 11970, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-tools.is-slack .floating-ai-tool-btn:hover,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-tools.is-slack .floating-ai-tool-btn.is-active {
  background: var(--chat-fill, #F2F2F7);
  color: var(--chat-ink, #1D1D1F);
  opacity: 1;
}

/* line 11977, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-attach-trigger.is-plus {
  background: rgba(29, 28, 29, 0.06);
}

/* line 11981, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-format-aa,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-mention-at {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* line 11989, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-format-aa {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 11994, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-composer-trailing {
  gap: 0;
  padding: 0;
}

/* line 11999, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-mic-btn,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-voice-mode-btn {
  display: none !important;
}

/* line 12004, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-send-icon.is-classic {
  display: inline-flex;
}

/* line 12008, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-send-icon.is-slack {
  display: none !important;
}

/* line 12012, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-send-split {
  display: none !important;
}

/* line 12016, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer .floating-ai-send-btn,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f7 !important;
  color: #aeaeb2 !important;
  box-shadow: none !important;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

/* line 12027, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer.has-text .floating-ai-send-btn,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer.has-attachments .floating-ai-send-btn {
  color: #fff !important;
  background: var(--chat-primary, #007aff) !important;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--chat-primary, #007aff) 35%, transparent) !important;
}

/* line 12034, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer.has-text .floating-ai-send-btn:hover,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer.has-attachments .floating-ai-send-btn:hover {
  background: var(--chat-accent-deep, #0066d6) !important;
}

/* line 12039, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer.has-text .floating-ai-send-btn:active,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer.has-attachments .floating-ai-send-btn:active {
  transform: scale(0.92);
}

/* line 12044, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-panel-foot.is-human-composer:not(.has-text) .floating-ai-send-btn.is-disabled,
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-send-btn.is-disabled {
  background: #f2f2f7 !important;
  color: #c7c7cc !important;
  box-shadow: none !important;
  opacity: 1;
}

/* line 12052, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--chat-reply-background, #F2F2F7);
  border: 1px solid rgba(60, 60, 67, 0.12);
}

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

/* Workspace stage already has the right Thread pane for replies. */
/* line 12069, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-reply-preview {
  display: none !important;
}

/* line 12073, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy {
  min-width: 0;
  flex: 1 1 auto;
  border-left: 3px solid var(--chat-primary, #007aff);
  padding-left: 8px;
}

/* line 12080, 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 12088, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--chat-primary, #007aff);
}

/* line 12094, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-copy span {
  margin-top: 1px;
  font-size: 12px;
  color: var(--chat-muted, #8B93A7);
}

/* line 12100, app/assets/stylesheets/application.scss */
.floating-ai-reply-preview-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--chat-hover, #F5F4FF);
}

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

/* line 12113, app/assets/stylesheets/application.scss */
.floating-ai-reply-clear {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--chat-muted, #8B93A7);
  cursor: pointer;
}

/* line 12123, app/assets/stylesheets/application.scss */
.floating-ai-reply-clear:hover {
  background: var(--chat-hover, #F5F4FF);
  color: var(--chat-primary, #007aff);
}

/* Soft Futurism swatches stay on the chat layer only — floating pop-outs use
   the classic black/gray/white tokens on `.floating-ai-panel` above. */
/* line 12130, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded.is-human-chat,
.floating-ai-panel.is-chat-layer-embedded.is-ai-peer:not(.is-character-ai) {
  color: var(--chat-ink, #1E2433);
  color-scheme: light;
}

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

/* line 12150, 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 12158, 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 12169, 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 12179, 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 12187, 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 12195, 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 12206, 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 12221, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react svg {
  width: 28px;
  height: 28px;
}

/* line 12226, app/assets/stylesheets/application.scss */
.floating-ai-msg-clear-react svg path {
  stroke-width: 0.8;
}

/* line 12230, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-pop .floating-ai-msg-clear-react,
.floating-ai-msg-menu-react-row .floating-ai-msg-clear-react {
  width: 48px;
  height: 48px;
}

/* line 12236, app/assets/stylesheets/application.scss */
.floating-ai-msg-react-pop .floating-ai-msg-clear-react svg,
.floating-ai-msg-menu-react-row .floating-ai-msg-clear-react svg {
  width: 34px;
  height: 34px;
}

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

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

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

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

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

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

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

/* line 12307, app/assets/stylesheets/application.scss */
.floating-ai-composer-tools .floating-ai-tool-btn,
.floating-ai-composer-tools .floating-ai-screenshot-trigger,
.floating-ai-composer-tools .floating-ai-file-trigger,
.floating-ai-composer-tools .floating-ai-photo-trigger,
.floating-ai-composer-tools .floating-ai-sticker-trigger {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: #7a8290;
}

/* line 12319, app/assets/stylesheets/application.scss */
.floating-ai-composer-tools .floating-ai-tool-btn:hover,
.floating-ai-composer-tools .floating-ai-screenshot-trigger:hover,
.floating-ai-composer-tools .floating-ai-file-trigger:hover,
.floating-ai-composer-tools .floating-ai-photo-trigger:hover,
.floating-ai-composer-tools .floating-ai-sticker-trigger:hover {
  background: rgba(0, 122, 255, 0.1);
  color: var(--chat-accent-deep, #0066d6);
}

/* line 12328, app/assets/stylesheets/application.scss */
.floating-ai-composer-tools .floating-ai-input-leading {
  position: relative;
}

/* line 12332, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-trigger,
.floating-ai-sticker-trigger {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: #7a8290;
}

/* line 12341, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-trigger:hover,
.floating-ai-sticker-trigger:hover {
  background: rgba(0, 122, 255, 0.1);
  color: var(--chat-accent-deep, #0066d6);
}

/* line 12347, app/assets/stylesheets/application.scss */
body.is-screenshot-editing {
  overflow: hidden;
}

/* line 12351, 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 12366, 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 12378, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-stage[data-tool="pen"] {
  cursor: crosshair;
}

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

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

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

/* line 12399, 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 12412, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tools,
.floating-ai-screenshot-editor-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 12419, 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 12439, 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 12444, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-tool.is-active {
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
}

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

/* line 12454, 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 12461, app/assets/stylesheets/application.scss */
.floating-ai-screenshot-editor-cancel {
  color: #5c636c;
}

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

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

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

/* Still-image share modal. The browser picker is only permission for one frame. */
/* line 12493, app/assets/stylesheets/application.scss */
body.is-screenshot-share-open {
  overflow: hidden;
}

/* line 12497, app/assets/stylesheets/application.scss */
.perk-shot-overlay {
  position: fixed;
  inset: 0;
  z-index: 10140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: rgba(10, 14, 28, 0.62);
  animation: perk-shot-fade 180ms ease;
}

/* line 12509, app/assets/stylesheets/application.scss */
.perk-shot-overlay.is-suspended {
  opacity: 0;
  visibility: hidden;
}

/* line 12514, app/assets/stylesheets/application.scss */
.perk-shot-dialog {
  --shot-ink: #f4f6ff;
  --shot-muted: #9aa6c4;
  --shot-line: rgba(255, 255, 255, 0.08);
  --shot-accent: #6d78f6;
  width: min(700px, 100%);
  max-height: min(860px, calc(100dvh - 48px));
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #232a40 0%, #1a2033 100%);
  color: var(--shot-ink);
  box-sizing: border-box;
  box-shadow: 0 28px 80px rgba(6, 8, 20, 0.5);
  font-family: var(--perk-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif);
  color-scheme: dark;
  animation: perk-shot-rise 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* line 12537, app/assets/stylesheets/application.scss */
.perk-shot-dialog * {
  box-sizing: border-box;
}

/* line 12541, app/assets/stylesheets/application.scss */
.perk-shot-dialog [hidden] {
  display: none !important;
}

/* line 12545, app/assets/stylesheets/application.scss */
.perk-shot-dialog :focus-visible {
  outline: 2px solid #d5dcff;
  outline-offset: 2px;
}

/* line 12550, app/assets/stylesheets/application.scss */
.perk-shot-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* line 12556, app/assets/stylesheets/application.scss */
.perk-shot-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(160deg, #b7c4ff 0%, #7b86f8 46%, #8d6cf6 100%);
  box-shadow: 0 10px 22px rgba(104, 108, 245, 0.28);
}

/* line 12568, app/assets/stylesheets/application.scss */
.perk-shot-heading {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 1px;
}

/* line 12574, app/assets/stylesheets/application.scss */
.perk-shot-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--shot-ink);
}

/* line 12583, app/assets/stylesheets/application.scss */
.perk-shot-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--shot-muted);
}

/* line 12590, app/assets/stylesheets/application.scss */
.perk-shot-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #c5cce2;
  cursor: pointer;
}

/* line 12604, app/assets/stylesheets/application.scss */
.perk-shot-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* line 12609, app/assets/stylesheets/application.scss */
.perk-shot-sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 24, 0.55);
}

/* line 12619, app/assets/stylesheets/application.scss */
.perk-shot-source {
  min-width: 0;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #d7def3;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

/* line 12638, app/assets/stylesheets/application.scss */
.perk-shot-source .heroicon {
  flex: 0 0 auto;
}

/* line 12642, app/assets/stylesheets/application.scss */
.perk-shot-source span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 12648, app/assets/stylesheets/application.scss */
.perk-shot-source:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* line 12653, app/assets/stylesheets/application.scss */
.perk-shot-source[aria-checked="true"] {
  background: linear-gradient(180deg, #7f8cff 0%, #5b6bf2 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(80, 100, 240, 0.35);
}

/* line 12659, app/assets/stylesheets/application.scss */
.perk-shot-source[aria-checked="false"] + .perk-shot-source[aria-checked="false"] {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

/* line 12663, app/assets/stylesheets/application.scss */
.perk-shot-source:disabled {
  cursor: default;
}

/* line 12667, app/assets/stylesheets/application.scss */
.perk-shot-recents {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 13, 26, 0.42);
}

/* line 12677, app/assets/stylesheets/application.scss */
.perk-shot-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

/* line 12685, app/assets/stylesheets/application.scss */
.perk-shot-recent-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #e7ecf8;
}

/* line 12697, app/assets/stylesheets/application.scss */
.perk-shot-recent-title .heroicon {
  flex: 0 0 auto;
  color: #c5cee6;
}

/* line 12702, app/assets/stylesheets/application.scss */
.perk-shot-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8eb6ff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* line 12716, app/assets/stylesheets/application.scss */
.perk-shot-refresh:hover:not(:disabled) {
  color: #d5e4ff;
}

/* line 12720, app/assets/stylesheets/application.scss */
.perk-shot-refresh.is-busy .heroicon {
  animation: perk-shot-spin 0.7s linear infinite;
}

/* line 12724, app/assets/stylesheets/application.scss */
.perk-shot-refresh:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 12729, app/assets/stylesheets/application.scss */
.perk-shot-loading {
  min-height: 180px;
  display: grid;
  place-items: center;
}

/* line 12735, app/assets/stylesheets/application.scss */
.perk-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
  max-height: 360px;
  overflow: auto;
  padding: 2px;
}

/* line 12744, app/assets/stylesheets/application.scss */
.perk-shot-item {
  position: relative;
  min-width: 0;
  border-radius: 12px;
}

/* line 12750, app/assets/stylesheets/application.scss */
.perk-shot-item:focus-visible {
  outline: none;
}

/* line 12754, app/assets/stylesheets/application.scss */
.perk-shot-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

/* line 12768, app/assets/stylesheets/application.scss */
.perk-shot-card-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  padding: 7px;
  border-radius: 12px;
  background: radial-gradient(80% 80% at 0% 0%, #ddd6fe 0%, transparent 58%), radial-gradient(80% 90% at 100% 100%, #bfdbfe 0%, transparent 56%), linear-gradient(145deg, #c4b5fd 0%, #a5b4fc 48%, #93c5fd 100%);
}

/* line 12780, app/assets/stylesheets/application.scss */
.perk-shot-item[aria-selected="true"] .perk-shot-card-frame {
  box-shadow: 0 0 0 2px #6d78f6;
}

/* line 12784, app/assets/stylesheets/application.scss */
.perk-shot-card-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: #101526;
}

/* line 12793, app/assets/stylesheets/application.scss */
.perk-shot-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #5c6cf0;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

/* line 12807, app/assets/stylesheets/application.scss */
.perk-shot-card-time {
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  color: var(--shot-muted);
}

/* line 12814, app/assets/stylesheets/application.scss */
.perk-shot-card-crop,
.perk-shot-card-remove {
  position: absolute;
  top: 8px;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 20, 36, 0.78);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

/* line 12833, app/assets/stylesheets/application.scss */
.perk-shot-card-crop {
  left: 8px;
}

/* line 12837, app/assets/stylesheets/application.scss */
.perk-shot-card-remove {
  left: 36px;
}

/* line 12841, app/assets/stylesheets/application.scss */
.perk-shot-item:hover .perk-shot-card-crop,
.perk-shot-item:hover .perk-shot-card-remove,
.perk-shot-item:focus-within .perk-shot-card-crop,
.perk-shot-item:focus-within .perk-shot-card-remove {
  opacity: 1;
  pointer-events: auto;
}

/* line 12849, app/assets/stylesheets/application.scss */
.perk-shot-card-crop:hover,
.perk-shot-card-remove:hover {
  background: #2a3354;
}

/* line 12854, app/assets/stylesheets/application.scss */
.perk-shot-empty {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px 18px;
  text-align: center;
}

/* line 12865, app/assets/stylesheets/application.scss */
.perk-shot-empty-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #d5def8;
}

/* line 12876, app/assets/stylesheets/application.scss */
.perk-shot-empty strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 12881, app/assets/stylesheets/application.scss */
.perk-shot-empty p {
  margin: 0 0 6px;
  max-width: 42ch;
  font-size: 13px;
  line-height: 1.45;
  color: var(--shot-muted);
}

/* line 12889, app/assets/stylesheets/application.scss */
.perk-shot-capture,
.perk-shot-share,
.perk-shot-cancel,
.perk-shot-tool,
.perk-shot-drop {
  font-family: inherit;
  cursor: pointer;
}

/* line 12898, app/assets/stylesheets/application.scss */
.perk-shot-capture,
.perk-shot-share {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #818eff 0%, #5c6bf0 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 18px rgba(88, 104, 240, 0.32);
}

/* line 12910, app/assets/stylesheets/application.scss */
.perk-shot-capture {
  min-height: 40px;
  padding: 0 18px;
}

/* line 12915, app/assets/stylesheets/application.scss */
.perk-shot-capture:hover,
.perk-shot-share:hover:not(:disabled) {
  filter: brightness(1.06);
}

/* line 12920, app/assets/stylesheets/application.scss */
.perk-shot-capture:disabled,
.perk-shot-share:disabled,
.perk-shot-cancel:disabled,
.perk-shot-tool:disabled,
.perk-shot-drop:disabled,
.perk-shot-close:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* line 12931, app/assets/stylesheets/application.scss */
.perk-shot-note,
.perk-shot-error {
  margin: -4px 2px 0;
  font-size: 13px;
  line-height: 1.4;
}

/* line 12938, app/assets/stylesheets/application.scss */
.perk-shot-note {
  color: #c9d2ee;
}

/* line 12942, app/assets/stylesheets/application.scss */
.perk-shot-error {
  color: #ffc1cc;
}

/* line 12946, app/assets/stylesheets/application.scss */
.perk-shot-drop {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(186, 198, 245, 0.32);
  background: rgba(255, 255, 255, 0.02);
  color: var(--shot-ink);
  text-align: left;
}

/* line 12959, app/assets/stylesheets/application.scss */
.perk-shot-drop:hover:not(:disabled),
.perk-shot-drop.is-dragover {
  border-color: #9aa8ff;
  background: rgba(0, 122, 255, 0.12);
}

/* line 12965, app/assets/stylesheets/application.scss */
.perk-shot-drop-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #d5dcf8;
}

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

/* line 12983, app/assets/stylesheets/application.scss */
.perk-shot-drop-copy strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 12988, app/assets/stylesheets/application.scss */
.perk-shot-drop-copy span {
  font-size: 12px;
  color: var(--shot-muted);
}

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

/* line 13005, app/assets/stylesheets/application.scss */
.perk-shot-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 2px;
}

/* line 13013, app/assets/stylesheets/application.scss */
.perk-shot-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

/* line 13021, app/assets/stylesheets/application.scss */
.perk-shot-cancel {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #2c3450;
  color: #f3f5ff;
  font-size: 14px;
  font-weight: 600;
}

/* line 13032, app/assets/stylesheets/application.scss */
.perk-shot-cancel:hover:not(:disabled) {
  background: #364061;
}

/* line 13036, app/assets/stylesheets/application.scss */
.perk-shot-share {
  min-width: 88px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
}

/* line 13046, app/assets/stylesheets/application.scss */
.perk-shot-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: perk-shot-spin 0.7s linear infinite;
}

@keyframes perk-shot-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes perk-shot-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes perk-shot-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 840px) {
  /* line 13070, app/assets/stylesheets/application.scss */
  .perk-shot-overlay {
    padding: 16px;
  }
  /* line 13074, app/assets/stylesheets/application.scss */
  .perk-shot-dialog {
    width: 100%;
  }
}

@media (max-width: 720px) {
  /* line 13080, app/assets/stylesheets/application.scss */
  .perk-shot-overlay {
    align-items: stretch;
    padding: 8px;
  }
  /* line 13085, app/assets/stylesheets/application.scss */
  .perk-shot-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
    padding: 16px 14px max(14px, env(safe-area-inset-bottom));
    gap: 12px;
  }
  /* line 13093, app/assets/stylesheets/application.scss */
  .perk-shot-title {
    font-size: 18px;
  }
  /* line 13097, app/assets/stylesheets/application.scss */
  .perk-shot-source {
    gap: 6px;
    padding: 0 6px;
    font-size: 13px;
  }
  /* line 13103, app/assets/stylesheets/application.scss */
  .perk-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 280px;
  }
  /* line 13108, app/assets/stylesheets/application.scss */
  .perk-shot-foot {
    align-items: stretch;
  }
  /* line 13112, app/assets/stylesheets/application.scss */
  .perk-shot-actions {
    flex-direction: column-reverse;
    width: 100%;
  }
  /* line 13117, app/assets/stylesheets/application.scss */
  .perk-shot-cancel,
.perk-shot-share {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 13124, app/assets/stylesheets/application.scss */
  .perk-shot-overlay,
.perk-shot-dialog,
.perk-shot-source,
.perk-shot-spinner,
.perk-shot-refresh.is-busy .heroicon {
    animation: none;
    transition: none;
  }
}

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

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

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

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

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

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

/* line 13196, 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 13211, 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 13219, app/assets/stylesheets/application.scss */
.floating-ai-input-shell:focus-within {
  border-color: rgba(23, 25, 29, 0.16);
  background: #fff;
  box-shadow: none;
}

/* Apple Messages composer — chat layer. */
/* line 13226, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-input-shell {
  min-height: 46px;
  padding: 6px 8px 6px 14px;
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 22px;
  background: var(--chat-surface, #FFFFFF);
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color var(--chat-ease, 160ms ease), box-shadow var(--chat-ease, 160ms ease);
}

/* Soft accent focus — scientific, not loud. */
/* line 13238, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-input-shell:focus-within {
  border-color: rgba(0, 122, 255, 0.4);
  background: var(--chat-surface, #FFFFFF);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.08);
}

/* line 13244, app/assets/stylesheets/application.scss */
.floating-ai-compose-assist {
  color: #6a717a;
}

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

/* line 13253, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-compose-assist {
  color: var(--chat-accent, #007aff);
}

/* line 13257, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-compose-assist:hover {
  color: var(--chat-accent-deep, #0066d6);
  background: var(--chat-accent-soft, rgba(0, 122, 255, 0.12));
}

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

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

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

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

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

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

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

/* line 13358, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-send-btn {
  width: 34px;
  height: 34px;
  background: var(--chat-primary, #007aff);
  box-shadow: none;
  transition: background var(--chat-ease, 160ms ease), transform var(--chat-ease, 160ms ease);
}

/* line 13366, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-chat-layer-embedded .floating-ai-send-btn:hover {
  background: var(--chat-accent-deep, #0066d6);
  filter: none;
  box-shadow: none;
}

/* Empty: mic + voice mode. Typing or staged attachments: keep mic + show send. */
/* line 13373, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.has-text .floating-ai-voice-mode-btn,
.floating-ai-panel-foot.has-attachments .floating-ai-voice-mode-btn {
  display: none;
}

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

/* line 13383, 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 13389, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-human-composer .floating-ai-voice-mode-btn {
  display: none !important;
}

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

/* line 13397, 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;
  box-shadow: none;
  filter: none;
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

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

/* line 13412, 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,
.floating-ai-panel-foot.is-recording .floating-ai-format-bar,
.floating-ai-panel-foot.is-recording .floating-ai-composer-card {
  display: none;
}

/* line 13419, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot.is-recording .floating-ai-recording-bar {
  display: flex;
}

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

/* line 13436, app/assets/stylesheets/application.scss */
.floating-ai-record-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
  cursor: pointer;
  flex: 0 0 auto;
  line-height: 0;
}

/* line 13452, app/assets/stylesheets/application.scss */
.floating-ai-record-cancel svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 13692, 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;
  contain: layout style;
  /* Allow pan inside scroll regions; resize handle keeps touch-action: none. */
  touch-action: manipulation;
  transition: height 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

/* line 13710, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-resizing {
  transition: none;
  will-change: height;
  user-select: none;
  pointer-events: auto;
}

/* line 13717, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-dismissing {
  /* Keep height transition so dismiss can slide closed. */
  pointer-events: none;
}

/* line 13722, app/assets/stylesheets/application.scss */
.floating-ai-emoji-panel.is-resizing .floating-ai-sticker-anim {
  animation-play-state: paused !important;
}

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

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

/* line 13736, app/assets/stylesheets/application.scss */
.floating-ai-picker-chrome {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  margin: 0 -10px;
  padding: 0 10px;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
}

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

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

/* line 13767, 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 13772, 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 13782, app/assets/stylesheets/application.scss */
.floating-ai-picker-chrome .floating-ai-picker-tabs {
  cursor: default;
}

/* line 13786, 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 13798, 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 13804, 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 13816, 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 13825, 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 13832, app/assets/stylesheets/application.scss */
.floating-ai-emoji-item:hover {
  background: #f3f4f6;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* line 14010, 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 14040, 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 14049, app/assets/stylesheets/application.scss */
.floating-ai-msg-media {
  display: block;
  max-width: var(--chat-media-max, 300px);
  max-height: var(--chat-media-max-h, 260px);
  width: auto;
  height: auto;
  border-radius: 18px;
  margin-bottom: 6px;
  object-fit: cover;
  border: 1px solid var(--chat-line, #e5e7eb);
  box-sizing: border-box;
  background: #e5e7eb;
}

/* line 14063, app/assets/stylesheets/application.scss */
.floating-ai-msg-video {
  position: relative;
  display: inline-block;
  max-width: var(--chat-media-max, 300px);
  margin-bottom: 6px;
  line-height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--chat-line, #e5e7eb);
  box-sizing: border-box;
  background: #e5e7eb;
}

/* line 14076, app/assets/stylesheets/application.scss */
.floating-ai-msg-video .floating-ai-msg-media {
  margin-bottom: 0;
  max-width: var(--chat-media-max, 300px);
  max-height: var(--chat-media-max-h, 260px);
  background: transparent;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

/* line 14086, 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 14098, 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 14108, app/assets/stylesheets/application.scss */
.floating-ai-msg-peek {
  position: relative;
  display: inline-block;
  max-width: var(--chat-media-max, 300px);
  margin-bottom: 6px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--chat-line, #e5e7eb);
  box-sizing: border-box;
  background: #e5e7eb;
}

/* line 14120, app/assets/stylesheets/application.scss */
.floating-ai-msg-peek .floating-ai-msg-media {
  margin-bottom: 0;
  width: var(--chat-media-max, 300px);
  height: var(--chat-media-max, 300px);
  max-width: var(--chat-media-max, 300px);
  max-height: var(--chat-media-max, 300px);
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

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

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

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

/* line 14196, 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 14204, 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 14215, 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 14227, 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 14237, 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 14242, app/assets/stylesheets/application.scss */
.floating-ai-voice-wave i:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

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

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

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

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

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

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

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

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

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

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

/* line 14253, 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 14265, 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 14274, 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 14288, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot .floating-ai-voice {
  color: #111;
}

/* line 14292, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-voice {
  color: var(--perk-ink, #17191d);
}

/* File chip — iOS: bubble fill is the background; chip itself stays transparent when alone. */
/* line 14297, app/assets/stylesheets/application.scss */
.floating-ai-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(var(--chat-rich-card-max, 220px), 78vw);
  margin: 0 0 4px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 25, 29, 0.1);
  border-radius: 14px;
  background: rgba(23, 25, 29, 0.04);
  color: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* line 14315, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-file {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 25, 29, 0.1);
  color: var(--perk-ink, #17191d);
}

/* line 14321, app/assets/stylesheets/application.scss */
.floating-ai-msg-file:hover {
  background: rgba(23, 25, 29, 0.08);
  border-color: rgba(23, 25, 29, 0.18);
}

/* line 14326, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-file:hover {
  background: #fff;
  border-color: rgba(23, 25, 29, 0.16);
}

/* File-only: bubble provides the fill; show only the file row (no nested card). */
/* line 14332, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-file .floating-ai-msg-file,
.floating-ai-msg-user.is-file .floating-ai-msg-file,
.floating-ai-msg-bot.is-file .floating-ai-msg-file {
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  max-width: 100%;
  width: 100%;
}

/* line 14344, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-file .floating-ai-msg-file:hover,
.floating-ai-msg-user.is-file .floating-ai-msg-file:hover,
.floating-ai-msg-bot.is-file .floating-ai-msg-file:hover {
  background: transparent;
  border-color: transparent;
}

/* line 14351, app/assets/stylesheets/application.scss */
.floating-ai-msg-file-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--chat-file-color, #5f6368) 12%, white);
  color: var(--chat-file-color, #5f6368);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

/* line 14364, app/assets/stylesheets/application.scss */
.floating-ai-msg-file-icon > i.fas {
  font-size: 18px;
  line-height: 1;
}

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

/* line 14373, app/assets/stylesheets/application.scss */
.floating-ai-msg-file-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 14380, app/assets/stylesheets/application.scss */
.floating-ai-msg-file-name {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 14389, app/assets/stylesheets/application.scss */
.floating-ai-msg-file-kind {
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  opacity: 0.72;
}

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

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

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

/* line 14435, app/assets/stylesheets/application.scss */
.floating-ai-call-chrome {
  display: none;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  gap: 8px;
  align-items: center;
}

/* line 14445, app/assets/stylesheets/application.scss */
.floating-ai-call:not(.hidden) .floating-ai-call-chrome {
  display: inline-flex;
}

/* line 14449, app/assets/stylesheets/application.scss */
.floating-ai-call:not(.is-video) .floating-ai-call-expand {
  display: none;
}

/* line 14453, app/assets/stylesheets/application.scss */
.floating-ai-call-chrome-btn {
  display: inline-flex;
  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 14470, app/assets/stylesheets/application.scss */
.floating-ai-call-chrome-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

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

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

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

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

/* line 14494, 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 14506, 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 14511, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized {
  width: auto !important;
  height: auto !important;
  min-width: 0;
  max-width: min(280px, calc(100vw - 24px));
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* line 14521, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized::before,
.floating-ai-call.is-minimized .floating-ai-call-chrome,
.floating-ai-call.is-minimized .floating-ai-call-remote,
.floating-ai-call.is-minimized .floating-ai-call-local,
.floating-ai-call.is-minimized .floating-ai-call-actions,
.floating-ai-call.is-minimized .floating-ai-call-drag,
.floating-ai-call.is-minimized .floating-ai-call-debug,
.floating-ai-call.is-minimized .floating-ai-call-upgrade,
.floating-ai-call.is-minimized .floating-ai-call-filter-sheet,
.floating-ai-call.is-minimized .floating-ai-call-type,
.floating-ai-call.is-minimized .floating-ai-call-pulse {
  display: none !important;
}

/* line 14535, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized .floating-ai-call-stage {
  flex: 0 0 auto;
  justify-content: center;
  padding: 8px 14px 8px 8px;
  pointer-events: auto;
}

/* line 14542, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized .floating-ai-call-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 1px;
  align-items: center;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* line 14554, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized .floating-ai-call-avatar-wrap {
  display: block;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  margin: 0;
}

/* line 14562, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized .floating-ai-call-avatar,
.floating-ai-call.is-minimized .floating-ai-call-avatar-fallback {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

/* line 14569, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized .floating-ai-call-person strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 13px;
  line-height: 1.2;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: none;
}

/* line 14581, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized .floating-ai-call-status:not(.hidden),
.floating-ai-call.is-minimized .floating-ai-call-timer:not(.hidden) {
  display: inline-block !important;
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 12px;
  opacity: 0.86;
  text-shadow: none;
}

/* line 14592, app/assets/stylesheets/application.scss */
.floating-ai-call.is-minimized .floating-ai-call-person strong,
.floating-ai-call.is-minimized .floating-ai-call-status,
.floating-ai-call.is-minimized .floating-ai-call-timer {
  pointer-events: none;
}

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

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

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

/* line 14661, 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 14672, 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 14678, app/assets/stylesheets/application.scss */
.floating-ai-call-local.is-screen-share {
  object-fit: contain;
  transform: none !important;
}

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

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

/* line 14727, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video.is-minimized .floating-ai-call-stage {
  pointer-events: auto;
}

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

/* line 14748, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video.is-minimized .floating-ai-call-avatar-wrap {
  display: block !important;
}

/* line 14752, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video.is-minimized .floating-ai-call-person {
  display: grid;
  margin-top: 0;
  padding-bottom: 0;
}

/* line 14758, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video.is-minimized .floating-ai-call-person strong,
.floating-ai-call.is-video.is-minimized .floating-ai-call-status,
.floating-ai-call.is-video.is-minimized .floating-ai-call-timer {
  text-shadow: none;
}

/* line 14764, 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 14768, 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 14774, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-actions {
  gap: 10px 12px;
  padding-top: 4px;
}

/* line 14779, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-btn {
  width: 48px;
  gap: 4px;
}

/* line 14784, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-btn-icon {
  width: 40px;
  height: 40px;
}

/* line 14789, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-btn.is-accept .floating-ai-call-btn-icon,
.floating-ai-call.is-video .floating-ai-call-btn.is-decline .floating-ai-call-btn-icon,
.floating-ai-call.is-video .floating-ai-call-btn.is-hangup .floating-ai-call-btn-icon {
  width: 44px;
  height: 44px;
}

/* line 14796, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-heroicon {
  width: 18px;
  height: 18px;
}

/* line 14801, app/assets/stylesheets/application.scss */
.floating-ai-call.is-video .floating-ai-call-btn-label {
  font-size: 10px;
}

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

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

/* line 14862, 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 14871, 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 14876, 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 14896, 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 14907, app/assets/stylesheets/application.scss */
.floating-ai-call-type {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

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

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

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

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

/* line 14962, 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 14975, app/assets/stylesheets/application.scss */
.floating-ai-call-glyph {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 14984, app/assets/stylesheets/application.scss */
.floating-ai-call-heroicon {
  width: 22px;
  height: 22px;
  display: block;
}

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

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

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

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

/* line 15006, 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 15012, 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 15018, 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 15023, 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 15028, 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 15043, app/assets/stylesheets/application.scss */
.floating-ai-call-upgrade.hidden {
  display: none !important;
}

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

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

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

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

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

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

/* line 15121, 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 15132, 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 15140, 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 15154, 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 15162, app/assets/stylesheets/application.scss */
.floating-ai-call-filter-preset.is-selected .floating-ai-call-filter-swatch {
  border-color: #fff;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* line 15199, 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 15206, 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 15214, 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);
  }
}

/* Mockup: separate soft pills with gaps — not one white stacked card. */
/* line 15228, app/assets/stylesheets/application.scss */
.floating-ai-call-history-stack {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(320px, 88%);
  margin: 8px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

/* line 15243, app/assets/stylesheets/application.scss */
.floating-ai-call-history {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: var(--chat-call-ok-bg, #ECF4FC);
  color: var(--chat-ink, #1E2433);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* line 15260, app/assets/stylesheets/application.scss */
.floating-ai-call-history + .floating-ai-call-history {
  border-top: 0;
}

/* line 15264, app/assets/stylesheets/application.scss */
.floating-ai-call-history-stack > .floating-ai-call-history {
  align-self: stretch;
}

/* line 15268, 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: rgba(79, 140, 255, 0.14);
  color: var(--chat-call-ok, #4F8CFF);
}

/* line 15280, app/assets/stylesheets/application.scss */
.floating-ai-call-history.is-missed,
.floating-ai-call-history.is-cancelled,
.floating-ai-call-history.is-declined {
  background: var(--chat-call-bad-bg, #FCF4F8);
}

/* line 15286, 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: rgba(239, 68, 68, 0.12);
  color: var(--chat-call-bad, #EF4444);
}

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

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

/* line 15303, app/assets/stylesheets/application.scss */
.floating-ai-call-history strong {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* line 15310, app/assets/stylesheets/application.scss */
.floating-ai-call-history small {
  margin-top: 2px;
  color: var(--chat-muted, #8B93A7);
  font-size: 11px;
}

/* line 15316, app/assets/stylesheets/application.scss */
.floating-ai-call-history-time {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--chat-call-ok, #4F8CFF);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* line 15325, app/assets/stylesheets/application.scss */
.floating-ai-call-history.is-missed .floating-ai-call-history-time,
.floating-ai-call-history.is-cancelled .floating-ai-call-history-time,
.floating-ai-call-history.is-declined .floating-ai-call-history-time {
  color: var(--chat-call-bad, #EF4444);
}

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

/* line 15336, 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 15345, 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 15356, app/assets/stylesheets/application.scss */
.floating-ai-pending-chip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

/* line 15363, app/assets/stylesheets/application.scss */
.floating-ai-pending-file {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--perk-ink, #17191d);
}

/* line 15370, 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 15385, 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 15394, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: var(--chat-rich-card-max, 220px);
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 15411, 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 15421, 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 15429, 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 15439, app/assets/stylesheets/application.scss */
.floating-ai-msg-drive-share-body span {
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.72;
}

/* line 15445, 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 15452, app/assets/stylesheets/application.scss */
.floating-ai-msg-text {
  white-space: pre-wrap;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* line 15459, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview + .floating-ai-msg-text,
.floating-ai-msg-text + .floating-ai-msg-link-preview,
.floating-ai-msg-link-preview + .floating-ai-msg-link-preview {
  margin-top: 6px;
}

/* line 15465, app/assets/stylesheets/application.scss */
.floating-ai-msg-text a {
  color: #007aff;
  text-decoration: underline;
}

/* line 15470, app/assets/stylesheets/application.scss */
.floating-ai-msg-text a.perk-inline-link,
.perk-inline-link {
  font-weight: 600;
  color: #007aff;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  pointer-events: auto;
}

/* Long URLs stay on one line with … instead of wrapping across the bubble.
   max-width uses the bubble content box so ellipsis works even when the URL
   is the only content (parent would otherwise grow to the full href). */
/* line 15483, app/assets/stylesheets/application.scss */
.floating-ai-msg-text {
  overflow: hidden;
}

/* line 15487, app/assets/stylesheets/application.scss */
.floating-ai-msg-text a.perk-inline-link,
.floating-ai-msg-text a[href^="http"] {
  display: inline-block;
  max-width: 100%;
  max-width: min(100%, 36ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  overflow-wrap: normal;
  word-break: normal;
}

/* line 15500, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-text a.perk-inline-link,
.floating-ai-msg-user .perk-inline-link {
  color: #007aff;
}

/* Keep URLs blue + clickable inside task/comment/chat copy (parent color must not win). */
/* line 15506, app/assets/stylesheets/application.scss */
.tw-task-title .perk-inline-link,
.tw-task-objective .perk-inline-link,
.tw-task-content .perk-inline-link,
.tw-cmt-text .perk-inline-link,
.tw-kanban-card .perk-inline-link,
.perk-feed-comment-text .perk-inline-link,
.hub-peek-comment-row p .perk-inline-link,
.perk-doc-comment-body .perk-inline-link,
.perk-doc-comment-reply p .perk-inline-link,
.perk-sheet-comment-card p .perk-inline-link,
.atlas-msg-p .perk-inline-link,
.atlas-msg-bullet .perk-inline-link,
.atlas-msg-numbered .perk-inline-link,
.atlas-msg-header .perk-inline-link,
.atlas-msg-callout .perk-inline-link,
.floating-ai-msg-text .perk-inline-link {
  color: #007aff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
}

/* line 15530, 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: var(--chat-rich-card-max, 220px);
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

/* line 15549, 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 15559, 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 15567, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 15574, 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 15581, 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 15591, app/assets/stylesheets/application.scss */
.floating-ai-msg-post-share-cta {
  font-size: 12px;
  font-weight: 600;
  color: #0a84ff;
}

/* line 15597, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-post-share-cta {
  color: #0a84ff;
}

/* line 15601, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-share {
  display: block;
  width: var(--chat-rich-card-max, 220px);
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 15615, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-map {
  position: relative;
  width: 100%;
  height: 148px;
  overflow: hidden;
  border-radius: 16px;
  background: #d9e6f2;
}

/* line 15624, 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 15634, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 15641, 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 15662, app/assets/stylesheets/application.scss */
.floating-ai-msg-location-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* line 15669, 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 15680, 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 15693, 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 15702, 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 15711, 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 15723, app/assets/stylesheets/application.scss */
.floating-ai-msg.is-location-share {
  background: transparent !important;
  padding: 0;
  box-shadow: none;
}

/* line 15729, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: var(--chat-rich-card-max, 220px);
  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 15747, 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 15752, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 15759, 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 15769, 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 15777, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* line 15784, 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 15795, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 15802, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 15808, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-body span {
  font-size: 12px;
  opacity: 0.72;
  line-height: 1.35;
}

/* line 15814, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share-cta {
  font-size: 12px;
  font-weight: 650;
}

/* line 15819, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-focus {
  --app-accent: #2672eb;
}

/* line 15823, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-sleep {
  --app-accent: #7b5cff;
}

/* line 15827, app/assets/stylesheets/application.scss */
.floating-ai-msg-app-share.is-water {
  --app-accent: #1f8ecd;
}

/* line 15831, 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 15840, 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 15847, 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 15854, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: var(--chat-rich-card-max, 220px);
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 15871, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 15878, 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 15893, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 15899, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 15906, 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 15914, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-meta span {
  font-size: 12px;
  opacity: 0.7;
}

/* line 15919, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-preview {
  position: relative;
  height: 72px;
  padding: 10px;
  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 15935, 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 15947, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-emoji {
  font-size: 16px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* line 15954, 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 15966, app/assets/stylesheets/application.scss */
.floating-ai-msg-pinboard-share-cta {
  font-size: 12px;
  font-weight: 650;
  opacity: 0.72;
}

/* line 15972, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: var(--chat-rich-card-max, 220px);
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 15989, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 15996, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-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 16011, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 16017, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 16024, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-meta strong {
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16032, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-meta span {
  font-size: 12px;
  opacity: 0.7;
}

/* line 16037, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-preview {
  position: relative;
  height: 88px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(214, 232, 245, 0.95), rgba(176, 208, 228, 0.92) 55%, rgba(154, 190, 214, 0.95)), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 28px);
  color: #16324a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 16062, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-map-share-preview {
  border-color: rgba(255, 255, 255, 0.22);
}

/* line 16066, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-preview.has-image {
  color: #fff;
}

/* line 16070, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 16079, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-preview.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

/* line 16087, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(circle at 22% 28%, rgba(46, 139, 250, 0.28) 0 18px, transparent 19px), radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.35) 0 10px, transparent 11px), linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, 0.45) 46.5%, transparent 47.5%), linear-gradient(28deg, transparent 58%, rgba(255, 255, 255, 0.28) 58.5%, transparent 59.5%);
}

/* line 16099, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-preview.has-image .floating-ai-msg-map-share-grid {
  opacity: 0.2;
}

/* line 16103, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-pin {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a84ff;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

/* line 16121, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-pin i {
  font-size: 14px;
}

/* line 16125, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 16134, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* line 16145, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-eyebrow i {
  font-size: 10px;
}

/* line 16149, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-body strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16158, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-body > span:not(.floating-ai-msg-map-share-eyebrow) {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.86;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16167, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 650;
  opacity: 0.72;
}

/* line 16176, app/assets/stylesheets/application.scss */
.floating-ai-msg-map-share-cta i {
  font-size: 9px;
}

/* line 16180, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: var(--chat-rich-card-max, 220px);
}

/* line 16189, 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 16205, 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 16210, 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 16220, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 16227, 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 16241, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 16247, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* line 16254, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-body strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 16260, 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 16269, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-meta i {
  width: 12px;
  text-align: center;
  opacity: 0.9;
}

/* line 16275, 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 16287, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-invite-status {
  background: rgba(255, 255, 255, 0.85);
}

/* line 16291, 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 16299, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-accepted .floating-ai-msg-calendar-invite-dot {
  background: #2e9e6b;
}

/* line 16303, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-declined .floating-ai-msg-calendar-invite-dot {
  background: #db4747;
}

/* line 16307, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-tentative .floating-ai-msg-calendar-invite-dot {
  background: #d98c1f;
}

/* line 16311, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite.is-proposed .floating-ai-msg-calendar-invite-dot {
  background: #2e8cfa;
}

/* Invitee RSVP actions — mirrors iOS CalendarRSVPButtons (compact). */
/* line 16316, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-invite-rsvp {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* line 16323, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-row {
  display: flex;
  gap: 8px;
}

/* line 16328, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

/* line 16347, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn i,
.floating-ai-msg-calendar-rsvp-btn svg {
  width: 13px;
  height: 13px;
  font-size: 12px;
  flex: 0 0 auto;
}

/* line 16355, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16361, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

/* line 16366, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn.is-accept {
  background: #1a1c21;
  color: #fff;
}

/* line 16371, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn.is-accept.is-selected {
  background: #2e9e6b;
}

/* line 16375, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn.is-decline {
  background: #fff;
  border-color: rgba(26, 28, 33, 0.16);
  color: #1a1c21;
}

/* line 16381, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn.is-decline.is-selected {
  background: rgba(219, 71, 71, 0.12);
  border-color: rgba(219, 71, 71, 0.4);
  color: #db4747;
}

/* line 16387, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn.is-secondary {
  justify-content: flex-start;
  background: rgba(244, 245, 247, 0.92);
  color: rgba(26, 28, 33, 0.9);
}

/* line 16393, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn.is-secondary.is-selected {
  background: rgba(26, 28, 33, 0.08);
  border-color: rgba(26, 28, 33, 0.22);
}

/* line 16398, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-btn:not(:disabled):hover {
  filter: brightness(0.97);
}

/* line 16402, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-rsvp-spinner {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: floating-ai-calendar-rsvp-spin 0.7s linear infinite;
}

@keyframes floating-ai-calendar-rsvp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 16416, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: var(--chat-rich-card-max, 220px);
  padding: 4px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 16433, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 16440, 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 16455, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 16461, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 16468, 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 16476, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-meta span {
  font-size: 12px;
  opacity: 0.7;
}

/* line 16481, 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 16492, 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 16497, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

/* line 16503, 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 16510, 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 16517, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 16523, 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 16530, app/assets/stylesheets/application.scss */
.floating-ai-msg-user .floating-ai-msg-calendar-share-slot {
  background: rgba(255, 255, 255, 0.22);
}

/* line 16534, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-slot.is-busy {
  background: color-mix(in srgb, #ec4899 90%, transparent);
}

/* line 16538, 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 16554, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-badge i {
  font-size: 15px;
}

/* line 16558, 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 16567, app/assets/stylesheets/application.scss */
.floating-ai-msg-calendar-share-cta i {
  font-size: 9px;
}

/* line 16571, 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: var(--chat-rich-card-max, 220px);
  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 16591, 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;
  max-width: min(90%, calc(var(--chat-rich-card-max, 220px) + 26px));
}

/* line 16598, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-rich {
  flex-direction: column;
  gap: 8px;
}

/* line 16603, 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 16609, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: var(--chat-rich-hero-max-h, 124px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}

/* line 16621, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 16628, 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 16637, 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 16650, 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 16659, 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 16667, 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 16675, 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 16685, 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 16695, 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 16705, 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 16715, 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 16723, app/assets/stylesheets/application.scss */
.floating-ai-msg-link-preview.is-compact .floating-ai-msg-link-preview-chevron {
  display: none;
}

/* line 16727, 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 16734, 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 16739, 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 16744, 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 16749, 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 16754, app/assets/stylesheets/application.scss */
.atlas-msg-p,
.atlas-msg-header,
.atlas-msg-numbered,
.atlas-msg-bullet {
  margin: 0 0 10px;
}

/* line 16761, 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 16768, app/assets/stylesheets/application.scss */
.atlas-msg-header {
  font-weight: 600;
  margin-top: 6px;
}

/* line 16773, app/assets/stylesheets/application.scss */
.atlas-msg-divider {
  height: 8px;
  margin: 2px 0;
}

/* line 16778, app/assets/stylesheets/application.scss */
.atlas-msg-numbered {
  padding: 2px 0;
}

/* line 16782, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-title {
  font-weight: 600;
}

/* line 16786, app/assets/stylesheets/application.scss */
.atlas-msg-numbered-body {
  margin-top: 6px;
  opacity: 0.92;
}

/* line 16791, app/assets/stylesheets/application.scss */
.atlas-msg-bullet {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* line 16797, app/assets/stylesheets/application.scss */
.atlas-msg-bullet-mark {
  opacity: 0.55;
  line-height: 1.45;
  flex: 0 0 auto;
  padding-top: 1px;
}

/* line 16804, app/assets/stylesheets/application.scss */
.atlas-msg-followups {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

/* line 16812, 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 16827, 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 16832, app/assets/stylesheets/application.scss */
.atlas-msg-followup-mark {
  opacity: 0.55;
  flex: 0 0 auto;
}

/* line 16837, 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 16846, 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 16856, app/assets/stylesheets/application.scss */
.jarvis-weather-location {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/* line 16862, 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 16871, app/assets/stylesheets/application.scss */
.jarvis-weather-date {
  font-size: 15px;
  opacity: 0.62;
}

/* line 16876, 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 16890, app/assets/stylesheets/application.scss */
.jarvis-weather-unit span {
  opacity: 0.45;
  font-weight: 400;
}

/* line 16895, app/assets/stylesheets/application.scss */
.jarvis-weather-unit span.is-active {
  opacity: 1;
  font-weight: 600;
}

/* line 16900, app/assets/stylesheets/application.scss */
.jarvis-weather-unit-sep {
  opacity: 0.3 !important;
  font-weight: 500 !important;
  padding: 0 2px;
}

/* line 16906, app/assets/stylesheets/application.scss */
.jarvis-weather-hourly {
  margin-top: 4px;
}

/* line 16910, 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 16919, app/assets/stylesheets/application.scss */
.jarvis-weather-row--head {
  padding: 8px 0;
  border-top: 0;
  font-size: 13px;
  opacity: 0.62;
}

/* line 16926, app/assets/stylesheets/application.scss */
.jarvis-weather-time {
  font-size: 15px;
}

/* line 16930, app/assets/stylesheets/application.scss */
.jarvis-weather-cond {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
}

/* line 16938, app/assets/stylesheets/application.scss */
.jarvis-weather-cond > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 16944, app/assets/stylesheets/application.scss */
.jarvis-weather-glyph {
  flex: 0 0 auto;
  width: 22px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
}

/* line 16952, app/assets/stylesheets/application.scss */
.jarvis-weather-temp {
  font-size: 15px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* line 16958, app/assets/stylesheets/application.scss */
.jarvis-weather-days {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

/* line 16964, 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 16974, app/assets/stylesheets/application.scss */
.jarvis-weather-day.is-selected {
  background: color-mix(in srgb, #eadfcb 92%, transparent);
}

@media (prefers-color-scheme: dark) {
  /* line 16979, app/assets/stylesheets/application.scss */
  .jarvis-weather-day.is-selected {
    background: color-mix(in srgb, #fff 10%, transparent);
  }
}

/* line 16984, app/assets/stylesheets/application.scss */
.jarvis-weather-day-name {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.62;
}

/* line 16990, app/assets/stylesheets/application.scss */
.jarvis-weather-day-temp {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* line 16996, app/assets/stylesheets/application.scss */
.jarvis-weather-data {
  display: none;
}

/* line 17000, app/assets/stylesheets/application.scss */
.atlas-msg-math {
  display: inline;
  white-space: normal;
  vertical-align: middle;
}

/* line 17006, app/assets/stylesheets/application.scss */
.atlas-msg-math .katex {
  font-size: 1.05em;
}

/* line 17010, 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 17020, app/assets/stylesheets/application.scss */
.atlas-msg-math-block .katex {
  font-size: 1.12em;
}

/* line 17024, app/assets/stylesheets/application.scss */
.atlas-msg-math-block .katex-display {
  margin: 0.35em 0;
}

/* line 17028, 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 17036, 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 17043, app/assets/stylesheets/application.scss */
.atlas-msg-table {
  border-collapse: collapse;
  width: 100%;
  font-size: inherit;
}

/* line 17049, 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 17058, app/assets/stylesheets/application.scss */
.atlas-msg-table th {
  font-weight: 600;
  background: rgba(15, 23, 42, 0.04);
}

/* line 17063, app/assets/stylesheets/application.scss */
.atlas-msg-table th.is-right,
.atlas-msg-table td.is-right {
  text-align: right;
}

/* line 17068, app/assets/stylesheets/application.scss */
.atlas-msg-table th.is-center,
.atlas-msg-table td.is-center {
  text-align: center;
}

/* line 17073, app/assets/stylesheets/application.scss */
.atlas-msg-table tr:last-child td {
  border-bottom: 0;
}

/* line 17077, app/assets/stylesheets/application.scss */
.atlas-msg-table-caption {
  font-size: 0.92em;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* line 17083, 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 17090, app/assets/stylesheets/application.scss */
.atlas-msg-code-head {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 8px;
}

/* line 17097, app/assets/stylesheets/application.scss */
.atlas-msg-code pre {
  margin: 0;
  overflow-x: auto;
}

/* line 17102, 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 17108, app/assets/stylesheets/application.scss */
.atlas-msg-copyable {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  background: color-mix(in srgb, currentColor 5%, transparent);
  max-width: 100%;
}

/* line 17120, app/assets/stylesheets/application.scss */
.atlas-msg-copyable:first-child {
  margin-top: 2px;
}

/* line 17124, app/assets/stylesheets/application.scss */
.atlas-msg-copyable:last-child {
  margin-bottom: 2px;
}

/* line 17128, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
}

/* line 17136, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.58;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 17147, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-label.is-empty {
  flex: 1;
}

/* line 17151, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.62;
  cursor: pointer;
}

/* line 17170, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-copy:hover,
.atlas-msg-copyable-copy:focus-visible {
  opacity: 0.92;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

/* line 17176, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-copy.is-copied {
  opacity: 1;
  color: #16a34a;
}

/* line 17181, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-body {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* line 17191, app/assets/stylesheets/application.scss */
.atlas-msg-copyable-body.is-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

/* line 17199, 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 17210, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

/* line 17215, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-tip {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

/* line 17220, app/assets/stylesheets/application.scss */
.atlas-msg-callout.is-takeaway {
  border-left-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

/* line 17225, app/assets/stylesheets/application.scss */
.atlas-msg-callout-title {
  font-weight: 600;
}

/* line 17229, 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 17236, 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 17246, app/assets/stylesheets/application.scss */
.floating-ai-panel-foot input,
.floating-ai-panel-foot textarea,
.floating-ai-panel-foot .floating-ai-rich-input,
#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: var(--chat-ink, #1E2433);
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  field-sizing: content;
  font-family: inherit;
  box-sizing: border-box;
}

/* line 17273, app/assets/stylesheets/application.scss */
.floating-ai-rich-input {
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: text;
}

/* Absolute so leftover <br>/<div> after delete doesn't push the caret
   past an in-flow placeholder. */
/* line 17282, app/assets/stylesheets/application.scss */
.floating-ai-rich-input.is-empty::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  padding: inherit;
  box-sizing: border-box;
  color: #9aa0a8;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.011em;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* line 17298, app/assets/stylesheets/application.scss */
.floating-ai-panel.is-stage-mounted.is-human-chat .floating-ai-rich-input.is-empty::before {
  color: #868686;
  font-size: 15px;
}

/* line 17303, app/assets/stylesheets/application.scss */
.floating-ai-rich-input strong,
.floating-ai-rich-input b {
  font-weight: 800;
}

/* line 17308, app/assets/stylesheets/application.scss */
.floating-ai-rich-input em,
.floating-ai-rich-input i {
  font-style: italic;
}

/* line 17313, app/assets/stylesheets/application.scss */
.floating-ai-rich-input u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 17318, app/assets/stylesheets/application.scss */
.floating-ai-rich-input s,
.floating-ai-rich-input strike {
  text-decoration: line-through;
}

/* line 17323, app/assets/stylesheets/application.scss */
.floating-ai-rich-input code,
.floating-ai-rich-input .floating-ai-composer-code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(29, 28, 29, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

/* line 17332, app/assets/stylesheets/application.scss */
.floating-ai-rich-input pre,
.floating-ai-rich-input .floating-ai-composer-codeblock {
  display: block;
  margin: 4px 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(29, 28, 29, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  white-space: pre-wrap;
}

/* line 17344, app/assets/stylesheets/application.scss */
.floating-ai-rich-input blockquote {
  margin: 2px 0;
  padding: 0 0 0 10px;
  border-left: 3px solid rgba(29, 28, 29, 0.35);
  color: rgba(29, 28, 29, 0.8);
}

/* line 17351, app/assets/stylesheets/application.scss */
.floating-ai-rich-input ul,
.floating-ai-rich-input ol {
  margin: 2px 0;
  padding-left: 1.4em;
}

/* line 17357, app/assets/stylesheets/application.scss */
.floating-ai-rich-input a.perk-inline-link {
  color: #1264a3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 17363, 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 17390, app/assets/stylesheets/application.scss */
  .browser-hub {
    padding-top: 72px;
  }
  /* line 17394, app/assets/stylesheets/application.scss */
  .perk-workspace-center .browser-hub {
    padding-top: 0;
  }
  /* line 17398, app/assets/stylesheets/application.scss */
  .perk-browser-chrome {
    top: 72px;
    height: 40px;
    margin: 0 -16px;
  }
  /* line 17404, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-chrome {
    top: 0;
  }
  /* line 17408, app/assets/stylesheets/application.scss */
  .perk-browser-toolbar {
    top: 112px;
  }
  /* line 17412, app/assets/stylesheets/application.scss */
  .perk-workspace-center .perk-browser-toolbar {
    top: 0;
  }
  /* line 17416, app/assets/stylesheets/application.scss */
  .perk-workspace-center {
    --hub-tabbar-h: 48px;
  }
  /* line 17420, 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 17430, app/assets/stylesheets/application.scss */
  .hub-view-tab.is-active {
    height: 36px;
    padding: 0 6px 0 10px;
  }
  /* line 17435, app/assets/stylesheets/application.scss */
  .perk-open-feed-btn {
    height: 30px;
    align-self: center;
    margin: 0 8px 0 2px;
  }
  /* line 17441, app/assets/stylesheets/application.scss */
  .hub-view-tab-add {
    width: 28px;
    height: 28px;
  }
  /* line 17446, app/assets/stylesheets/application.scss */
  .hub-peek-row-wrap {
    --hub-peek-tile-size: clamp(132px, 34cqi, 148px);
    --hub-peek-edge-fade: 22px;
    --hub-peek-row-pad-x: 36px;
  }
  /* line 17452, 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 17460, 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 17466, 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 17477, 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 17488, app/assets/stylesheets/application.scss */
.hub-home {
  min-height: 100vh;
  background: var(--perk-canvas, #f5f5f7);
  color: var(--perk-ink, #1d1d1f);
}

/* —— Home dashboard rail + Apple hybrid canvas —— */
/* line 17495, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail {
  --perk-home-rail-w: 212px;
  --perk-home-rail-w-collapsed: 68px;
  --hub-tabbar-h: 0px;
  --perk-chrome-h: 0px;
  grid-template-columns: var(--perk-home-rail-w) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  transition: grid-template-columns 0.22s ease;
  background: var(--perk-canvas-wash, var(--perk-canvas, #f5f5f7));
}

/* line 17506, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-rail-collapsed {
  --perk-home-rail-w: var(--perk-home-rail-w-collapsed);
}

/* line 17510, app/assets/stylesheets/application.scss */
.perk-home-rail {
  grid-row: 1 / -1;
  grid-column: 1;
  /* Above chat/feed layers so the icon column stays clickable.
     Clip X so the account summary cannot spill into Chat; Y stays visible.
     Account card is portaled to <body>, so overflow-x does not trap it. */
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 16px 10px 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.35) blur(18px);
  backdrop-filter: saturate(1.35) blur(18px);
  box-sizing: border-box;
  overflow-x: clip;
  overflow-y: visible;
  transition: padding 0.22s ease;
}

/* line 17532, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail {
  padding: 14px 8px 12px;
  gap: 12px;
}

/* line 17537, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail-label {
  display: none;
}

/* line 17541, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail-item,
.perk-workspace.is-rail-collapsed .perk-home-rail-account-btn {
  justify-content: center;
  gap: 0;
  padding-left: 0;
  padding-right: 0;
}

/* line 17549, app/assets/stylesheets/application.scss */
.perk-home-rail-avatar,
.perk-home-rail-avatar.perk-management-avatar,
.perk-home-rail-avatar.perk-management-avatar-sm {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: #e5e7eb;
  color: #374151;
  border: 0;
}

/* line 17566, app/assets/stylesheets/application.scss */
.perk-home-rail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 17573, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail-avatar,
.perk-workspace.is-rail-collapsed .perk-home-rail-avatar.perk-management-avatar,
.perk-workspace.is-rail-collapsed .perk-home-rail-avatar.perk-management-avatar-sm {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

/* line 17581, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail-item.is-active {
  background: rgba(0, 0, 0, 0.06);
  color: var(--perk-ink, #1d1d1f);
}

/* line 17586, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail > .perk-workspace-chrome.perk-browser-chrome {
  display: none !important;
}

/* line 17590, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail > .perk-feed,
.perk-workspace.has-home-rail > .perk-workspace-center {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}

/* Newsfeed posts + Peeks: full pane beside the rail (match chat full-panel fill). */
/* line 17601, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-center-closed > .perk-feed {
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--perk-surface, #fff);
  border-right: 0;
  overflow: hidden;
}

/* line 17610, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-center-closed .perk-feed > .perk-sidebar-heading {
  flex: 0 0 auto;
  min-height: var(--chat-chrome-h, 56px);
  height: var(--chat-chrome-h, 56px);
  z-index: 2;
}

/* line 17617, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-center-closed .perk-feed-list,
.perk-workspace.has-home-rail.is-center-closed .perk-feed-peeks {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 17623, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-center-closed .perk-feed-peeks-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

/* line 17630, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-center-closed .perk-feed-list {
  width: min(100%, var(--feed-content-width));
  max-width: var(--feed-content-width);
  margin: 0 auto;
  padding: 16px 16px 40px;
  box-sizing: border-box;
}

/* Right-side full panel: chat fills everything beside the icon rail.
   No left/inset transition on open — that lagged the conversation pane and
   looked like two surfaces loading. Rail width still snaps via --perk-home-rail-w. */
/* line 17641, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail:not(.is-chats-closed) .perk-workspace-sidebar.perk-chats {
  inset: 0 0 0 var(--perk-home-rail-w, 72px);
  left: var(--perk-home-rail-w, 72px);
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  max-width: none;
  height: auto;
}

/* Newsfeed / center overlays already sit in column 2 — force full-panel fill. */
/* line 17653, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-rail-collapsed > .perk-feed,
.perk-workspace.has-home-rail.is-rail-collapsed > .perk-workspace-center {
  min-height: 0;
}

/* line 17658, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .calendar-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .companion-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .ai-drive,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .sticky-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .ai-tutor,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .pdf-tools,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .map-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .focus-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .market-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .quiz-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .nutrition-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .occasion-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .pin-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .crm-hub,
.perk-workspace-center > .erp-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .erp-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .hrm-hub,
.perk-workspace.has-home-rail.is-rail-collapsed .perk-workspace-center > .hub-ask-chat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* line 17682, app/assets/stylesheets/application.scss */
.perk-home-rail-brand {
  flex: 0 0 auto;
  margin-bottom: 6px;
  font-weight: 600;
  color: #111111;
}

/* line 17689, app/assets/stylesheets/application.scss */
.perk-home-rail-brand:hover {
  color: #111111;
}

/* line 17693, app/assets/stylesheets/application.scss */
.perk-home-rail-brand .perk-home-rail-label {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  /* Caps + descender on “p” sit optically high next to the mark; nudge down. */
  transform: translateY(1px);
}

/* Beat .perk-home-rail-icon (22px) so the 28px mark owns its flex slot. */
/* line 17705, app/assets/stylesheets/application.scss */
.perk-home-rail-icon.perk-home-rail-brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
}

/* Brand mark reads larger than stroke icons; match hub-tab / global 28px. */
/* line 17712, app/assets/stylesheets/application.scss */
.perk-home-rail-brand .perk-shape-logo,
.perk-home-rail-brand img.perk-shape-logo {
  display: block;
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

/* line 17722, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail-brand {
  margin-bottom: 2px;
  justify-content: center;
}

/* line 17727, app/assets/stylesheets/application.scss */
.perk-home-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 17733, app/assets/stylesheets/application.scss */
.perk-home-rail-item {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--perk-muted, #6e6e73);
  font-family: inherit;
  font-size: var(--text-footnote, 13px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

/* line 17755, app/assets/stylesheets/application.scss */
.perk-home-rail-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--perk-ink, #1d1d1f);
}

/* line 17760, app/assets/stylesheets/application.scss */
.perk-home-rail-item.is-active {
  background: rgba(0, 0, 0, 0.06);
  color: var(--perk-ink, #1d1d1f);
  font-weight: 600;
}

/* line 17766, app/assets/stylesheets/application.scss */
.perk-home-rail-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: inherit;
}

/* line 17775, app/assets/stylesheets/application.scss */
.perk-home-rail-label {
  /* Don't grow — otherwise a rail badge is shoved to the far right of the bar. */
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Rail badge placement: see .perk-ios-count-badge.perk-home-rail-badge (after ios badge). */
/* line 17786, app/assets/stylesheets/application.scss */
.perk-home-rail-foot {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--perk-line, rgba(60, 60, 67, 0.12));
  /* Keep account flyout above chat/feed layers. */
  position: relative;
  z-index: 60;
  max-width: 100%;
  min-width: 0;
}

/* line 17798, app/assets/stylesheets/application.scss */
.perk-home-rail-account.perk-account-menu {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Beat global .perk-account-menu summary { min-width: 190px } so the avatar
   stays inside the rail when Chat (and other panels) collapse it to icons. */
/* line 17807, app/assets/stylesheets/application.scss */
.perk-home-rail-account.perk-account-menu > summary {
  list-style: none;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  border-radius: var(--perk-radius-md, 12px);
  padding: 8px 10px;
  overflow: hidden;
  background: transparent;
}

/* line 17819, app/assets/stylesheets/application.scss */
.perk-home-rail-account.perk-account-menu > summary:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 17823, app/assets/stylesheets/application.scss */
.perk-home-rail-account.perk-account-menu > summary::-webkit-details-marker {
  display: none;
}

/* Avatar stays clickable while the portaled card is open. */
/* line 17828, app/assets/stylesheets/application.scss */
.perk-home-rail-account.perk-account-menu[open] > summary {
  position: relative;
  z-index: 1301;
}

/* Portaled account card — JS anchors it beside the rail avatar (not over it). */
/* line 17834, app/assets/stylesheets/application.scss */
.perk-home-rail-account .perk-management-menu,
.perk-home-rail-account .perk-account-card,
.perk-account-card[data-account-menu-portaled],
.perk-management-menu[data-account-menu-portaled] {
  position: fixed;
  left: max(84px, env(safe-area-inset-left, 0px));
  right: auto;
  top: auto;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 1300;
  max-height: calc(100dvh - 24px);
}

/* line 17847, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail .browser-hub {
  --hub-apps-canvas: transparent;
  background: transparent;
  padding-left: clamp(18px, 2.2vw, 32px);
  padding-right: clamp(18px, 2.2vw, 32px);
}

/* line 17854, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail:not(.is-apps-launcher) .hub-chat-menu-btn {
  display: none;
}

/* Home sticky shelf replaces Peek squares — never show URL/photo tiles under notes.
   Parked on <body> (.is-peek-parked) so it cannot paint behind the sticky shelf. */
/* line 17860, app/assets/stylesheets/application.scss */
.hub-locket-wrap--home-hidden,
.hub-locket-wrap--home-hidden[hidden],
.hub-locket-wrap.is-peek-parked,
.perk-workspace-center .hub-locket-wrap.hub-locket-wrap--home-hidden,
.browser-hub-inner[data-hub-panel="apps"] > .hub-locket-wrap.hub-locket-wrap--home-hidden,
body > .hub-locket-wrap.hub-locket-wrap--home-hidden,
body > .hub-locket-wrap.is-peek-parked {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed !important;
  left: -10000px !important;
  top: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  background: transparent !important;
}

/* Notes float on the home canvas — no shelf well / mat behind the row. */
/* line 17881, app/assets/stylesheets/application.scss */
.hub-sticky-shelf,
.hub-sticky-row {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* line 17894, app/assets/stylesheets/application.scss */
.hub-sticky-shelf {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  /* Equal inset so the note row can sit on the true horizontal center. */
  padding: 0 28px;
  animation: hub-home-fade-up 0.6s ease 0.06s both;
}

/* line 17904, app/assets/stylesheets/application.scss */
.hub-sticky-row {
  display: flex;
  align-items: stretch;
  justify-content: safe center;
  gap: 14px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 12px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 25, 29, 0.18) transparent;
}

/* line 17921, app/assets/stylesheets/application.scss */
.hub-sticky-card {
  position: relative;
  appearance: none;
  flex: 0 0 212px;
  width: 212px;
  height: 148px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  background: #fff9e8;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* line 17943, app/assets/stylesheets/application.scss */
.hub-sticky-card:hover {
  transform: none;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

/* line 17949, app/assets/stylesheets/application.scss */
.hub-sticky-card--create {
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(0, 0, 0, 0.18);
  box-shadow: none;
  color: var(--perk-ink, #1d1d1f);
  text-align: center;
}

/* line 17961, app/assets/stylesheets/application.scss */
.hub-sticky-card--create:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: none;
}

/* line 17967, app/assets/stylesheets/application.scss */
.hub-sticky-create-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111;
  color: #fff;
}

/* line 17977, app/assets/stylesheets/application.scss */
.hub-sticky-create-label {
  max-width: 128px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  color: var(--perk-ink, #1d1d1f);
}

/* line 17986, app/assets/stylesheets/application.scss */
.hub-sticky-card-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 17997, app/assets/stylesheets/application.scss */
.hub-sticky-card-body {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(31, 41, 55, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 18007, app/assets/stylesheets/application.scss */
.hub-sticky-card-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 650;
  color: #374151;
}

/* line 18019, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] > .hub-ask {
  max-width: 720px;
  animation: hub-home-fade-up 0.65s ease 0.1s both;
}

/* line 18024, app/assets/stylesheets/application.scss */
.hub-ask-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

/* line 18033, app/assets/stylesheets/application.scss */
.hub-ask-chip-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 8px 14px;
  min-height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 980px;
  background: transparent;
  color: #3a3a3c;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* line 18055, app/assets/stylesheets/application.scss */
.hub-ask-chip-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.14);
  color: #111;
  transform: none;
}

/* line 18062, app/assets/stylesheets/application.scss */
.hub-home-lower {
  width: 100%;
  max-width: none;
  margin: 20px 0 0;
  display: block;
  animation: hub-home-fade-up 0.7s ease 0.14s both;
}

/* line 18070, app/assets/stylesheets/application.scss */
.browser-hub-inner[data-hub-panel="apps"] > .hub-home-lower .hub-apps-board {
  max-width: none;
  margin: 0;
}

/* Apps rail: app grid only — hide Home landing chrome + dock. */
/* line 18076, app/assets/stylesheets/application.scss */
.perk-workspace.is-apps-launcher .hub-sticky-shelf,
.perk-workspace.is-apps-launcher .hub-home-waves,
.perk-workspace.is-apps-launcher .hub-ask,
.perk-workspace.is-apps-launcher .hub-dock,
.perk-workspace.is-apps-launcher .browser-hub-inner[data-hub-panel="apps"] > .perk-hub-apps-footer {
  display: none !important;
}

/* line 18084, app/assets/stylesheets/application.scss */
.perk-workspace.is-apps-launcher .hub-home-hero {
  display: none !important;
}

/* line 18088, app/assets/stylesheets/application.scss */
.perk-workspace.is-apps-launcher .hub-home-stage,
.perk-workspace.is-apps-launcher .hub-home-lower {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 0;
}

/* line 18096, app/assets/stylesheets/application.scss */
.perk-workspace.is-apps-launcher .hub-home-lower {
  padding-top: clamp(8px, 2vh, 24px);
}

/* line 18100, app/assets/stylesheets/application.scss */
.perk-workspace.is-apps-launcher .hub-home-lower .hub-apps-board {
  width: 100%;
  max-width: none;
}

/* Home: notes + ask in the middle, dock only (no categorized grid). */
/* line 18106, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .hub-home-stage {
  display: none !important;
}

/* line 18110, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .browser-hub-inner[data-hub-panel="apps"] > .perk-hub-apps-footer {
  display: none !important;
}

/* line 18114, app/assets/stylesheets/application.scss */
.hub-recent-card {
  position: sticky;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 25, 29, 0.05);
  box-shadow: 0 16px 40px rgba(23, 25, 29, 0.06);
}

/* line 18127, app/assets/stylesheets/application.scss */
.hub-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

/* line 18135, app/assets/stylesheets/application.scss */
.hub-recent-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1f2430;
}

/* line 18146, app/assets/stylesheets/application.scss */
.hub-recent-title-ico {
  display: inline-grid;
  place-items: center;
  color: #007aff;
}

/* line 18152, app/assets/stylesheets/application.scss */
.hub-recent-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 18158, app/assets/stylesheets/application.scss */
.hub-recent-item {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 18174, app/assets/stylesheets/application.scss */
.hub-recent-item:hover {
  background: rgba(23, 25, 29, 0.04);
}

/* line 18178, app/assets/stylesheets/application.scss */
.hub-recent-file-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #1f2937;
}

/* line 18190, app/assets/stylesheets/application.scss */
.hub-recent-file-icon svg,
.hub-recent-chevron svg,
.hub-recent-see-all svg,
.hub-recent-promo-cta svg {
  display: block;
}

/* line 18197, app/assets/stylesheets/application.scss */
.hub-recent-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 18205, app/assets/stylesheets/application.scss */
.hub-recent-meta strong {
  font-size: 13px;
  font-weight: 650;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 18214, app/assets/stylesheets/application.scss */
.hub-recent-meta span {
  font-size: 11.5px;
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 18222, app/assets/stylesheets/application.scss */
.hub-recent-empty {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 2px;
}

/* line 18229, app/assets/stylesheets/application.scss */
.hub-recent-empty p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

/* line 18236, app/assets/stylesheets/application.scss */
.hub-recent-empty-btn {
  appearance: none;
  align-self: flex-start;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--perk-radius-sm, 10px);
  background: var(--perk-accent, #007aff);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* line 18251, app/assets/stylesheets/application.scss */
.hub-app-icon--add {
  color: #64748b !important;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.08);
}

/* ===== Home landing — notes top, ask centered, Apple dock bottom ===== */
/* line 18257, app/assets/stylesheets/application.scss */
.browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  padding-top: 16px;
  padding-bottom: 20px;
  gap: 12px;
}

/* line 18263, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  min-height: 100%;
  justify-content: flex-start;
  padding-bottom: 12px;
  gap: 10px;
}

/* line 18270, app/assets/stylesheets/application.scss */
.hub-sticky-row {
  gap: 14px;
  padding: 4px 2px 10px;
}

/* line 18275, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .hub-sticky-shelf {
  flex: 0 0 auto;
  padding-top: 4px;
}

/* line 18280, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .hub-home-hero {
  box-sizing: border-box;
  flex: 1 1 auto;
  justify-content: center;
  align-self: stretch;
  min-height: 0;
  height: auto;
  max-height: none;
  padding-top: 8px;
  padding-bottom: 12px;
  overflow: visible;
}

/* line 18293, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .hub-home-lower {
  margin-top: 0;
}

/* line 18297, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .hub-ask--home {
  max-width: 640px;
}

/* line 18301, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .hub-ask--home .hub-ask-chips {
  margin-top: 14px;
  margin-bottom: 4px;
}

/* line 18306, app/assets/stylesheets/application.scss */
.hub-sticky-next {
  appearance: none;
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #6b6b6b;
  box-shadow: none;
  transform: translateY(-60%);
  cursor: pointer;
}

/* line 18327, app/assets/stylesheets/application.scss */
.hub-sticky-next[hidden] {
  display: none;
}

/* line 18331, app/assets/stylesheets/application.scss */
.hub-sticky-card-hit {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

/* line 18351, app/assets/stylesheets/application.scss */
.hub-sticky-card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

/* line 18358, app/assets/stylesheets/application.scss */
.hub-sticky-card.is-title-only .hub-sticky-card-title {
  -webkit-line-clamp: 7;
}

/* line 18362, app/assets/stylesheets/application.scss */
.hub-sticky-card-body {
  min-height: 0;
  font-size: 13px;
  line-height: 1.4;
  -webkit-line-clamp: 5;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}

/* line 18371, app/assets/stylesheets/application.scss */
.hub-sticky-card-body b, .hub-sticky-card-body strong {
  font-weight: 700;
  color: inherit;
}

/* line 18372, app/assets/stylesheets/application.scss */
.hub-sticky-card-body i, .hub-sticky-card-body em {
  font-style: italic;
}

/* line 18373, app/assets/stylesheets/application.scss */
.hub-sticky-card-body u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 18374, app/assets/stylesheets/application.scss */
.hub-sticky-card-body s, .hub-sticky-card-body strike, .hub-sticky-card-body del {
  text-decoration: line-through;
}

/* line 18376, app/assets/stylesheets/application.scss */
.hub-sticky-card-body ul, .hub-sticky-card-body ol {
  margin: 0.1em 0;
  padding-left: 1.1em;
}

/* line 18381, app/assets/stylesheets/application.scss */
.hub-sticky-card-body ul.sticky-note-checks,
.hub-sticky-card-body ul:has(> li input[type="checkbox"]) {
  list-style: none;
  padding-left: 0;
}

/* line 18387, app/assets/stylesheets/application.scss */
.hub-sticky-card-body ul.sticky-note-checks li,
.hub-sticky-card-body ul:has(> li input[type="checkbox"]) > li {
  display: flex;
  align-items: flex-start;
  gap: 0.3em;
}

/* line 18394, app/assets/stylesheets/application.scss */
.hub-sticky-card-body input[type="checkbox"] {
  margin: 0.15em 0 0;
  pointer-events: none;
  flex: 0 0 auto;
}

/* line 18400, app/assets/stylesheets/application.scss */
.hub-sticky-card-body label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.3em;
  margin: 0;
}

/* line 18407, app/assets/stylesheets/application.scss */
.hub-sticky-card-body div, .hub-sticky-card-body p {
  margin: 0;
}

/* line 18409, app/assets/stylesheets/application.scss */
.hub-sticky-card-body img {
  display: none;
}

/* line 18412, app/assets/stylesheets/application.scss */
.hub-home-stage {
  display: block;
  width: 100%;
}

/* line 18417, app/assets/stylesheets/application.scss */
.hub-home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding-top: 10px;
  padding-bottom: 4px;
}

/* line 18429, app/assets/stylesheets/application.scss */
.hub-home-waves {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background: radial-gradient(680px 220px at 50% 20%, rgba(0, 113, 227, 0.05), transparent 70%);
}

/* line 18443, app/assets/stylesheets/application.scss */
.hub-home-waves svg {
  display: none;
}

/* line 18447, app/assets/stylesheets/application.scss */
.hub-home-waves-drift {
  position: absolute;
  inset: 0;
  display: block;
  width: 200%;
  height: 100%;
  will-change: transform;
}

/* line 18456, app/assets/stylesheets/application.scss */
.hub-home-waves-drift--a {
  animation: hub-home-wave-drift 28s linear infinite;
}

/* line 18460, app/assets/stylesheets/application.scss */
.hub-home-waves-drift--b {
  animation: hub-home-wave-drift 40s linear infinite reverse;
}

@keyframes hub-home-wave-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 18470, app/assets/stylesheets/application.scss */
  .hub-home-waves-drift--a,
.hub-home-waves-drift--b {
    animation: none;
  }
}

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

/* line 18482, app/assets/stylesheets/application.scss */
.hub-home-greet {
  margin: 22px 0 18px;
  text-align: center;
}

/* line 18487, app/assets/stylesheets/application.scss */
.hub-home-greet h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #1a1d26;
}

/* line 18499, app/assets/stylesheets/application.scss */
.hub-home-star {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

/* line 18505, app/assets/stylesheets/application.scss */
.hub-home-greet p {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 400;
  color: #9aa1ad;
}

/* line 18512, app/assets/stylesheets/application.scss */
.hub-ask--home .hub-ask-bar {
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 980px;
  background: #fff;
  box-shadow: none;
}

/* line 18523, app/assets/stylesheets/application.scss */
.hub-ask--home .hub-ask-input {
  font-size: 15px;
  min-height: 38px;
  height: 38px;
  letter-spacing: -0.01em;
}

/* line 18530, app/assets/stylesheets/application.scss */
.hub-ask--home .hub-ask-voice-btn,
.hub-ask--home .hub-ask-mic-btn,
.hub-ask--home .hub-ask-send {
  width: 36px;
  height: 36px;
}

/* line 18537, app/assets/stylesheets/application.scss */
.hub-ask--home .hub-ask-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  margin-bottom: 2px;
  gap: 8px;
  min-height: 40px;
}

/* line 18547, app/assets/stylesheets/application.scss */
.hub-ask-chip-btn--accent,
.hub-ask-chip-btn--accent span {
  color: var(--perk-ink, #111);
}

/* line 18552, app/assets/stylesheets/application.scss */
.hub-apps-group-title--home,
.hub-apps-group-ico {
  display: none;
}

/* Apps launcher tiles — open + pin/unpin to Home dock */
/* line 18558, app/assets/stylesheets/application.scss */
.hub-app-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

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

/* line 18570, app/assets/stylesheets/application.scss */
.hub-app-dock-toggle {
  appearance: none;
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3a3a3c;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

/* line 18592, app/assets/stylesheets/application.scss */
.hub-app-tile:hover .hub-app-dock-toggle,
.hub-app-tile:focus-within .hub-app-dock-toggle,
.hub-app-tile.is-docked .hub-app-dock-toggle {
  opacity: 1;
  transform: scale(1);
}

/* line 18599, app/assets/stylesheets/application.scss */
.hub-app-tile.is-docked .hub-app-dock-toggle {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 18605, app/assets/stylesheets/application.scss */
.hub-app-dock-toggle:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 18611, app/assets/stylesheets/application.scss */
.hub-app-dock-toggle svg {
  display: block;
}

/* ===== Apple-style Home dock ===== */
/* line 18616, app/assets/stylesheets/application.scss */
.hub-dock {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: auto;
  padding: 8px 16px 10px;
  animation: hub-home-fade-up 0.55s ease 0.12s both;
}

/* line 18630, app/assets/stylesheets/application.scss */
.hub-dock-glass {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 28px rgba(23, 25, 29, 0.1);
}

/* line 18646, app/assets/stylesheets/application.scss */
.hub-dock-row {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: min(100%, 720px);
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

/* line 18661, app/assets/stylesheets/application.scss */
.hub-dock-item {
  position: relative;
  flex: 0 0 auto;
}

/* line 18666, app/assets/stylesheets/application.scss */
.hub-dock-open,
.hub-dock-item--add {
  appearance: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.16s ease;
}

/* line 18682, app/assets/stylesheets/application.scss */
.hub-dock-open:hover,
.hub-dock-item--add:hover {
  transform: translateY(-6px) scale(1.06);
}

/* line 18687, app/assets/stylesheets/application.scss */
.hub-dock-open:active,
.hub-dock-item--add:active {
  transform: translateY(-2px) scale(1.02);
}

/* line 18692, app/assets/stylesheets/application.scss */
.hub-dock-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(160deg, var(--hub-app-from, var(--hub-app-color, #6b7280)), var(--hub-app-to, var(--hub-app-color, #6b7280)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* line 18708, app/assets/stylesheets/application.scss */
.hub-dock-icon .hub-app-glyph,
.hub-dock-icon .hub-app-mark {
  display: inline-grid;
  place-items: center;
}

/* line 18714, app/assets/stylesheets/application.scss */
.hub-dock-icon .hub-app-glyph-icon,
.hub-dock-icon svg {
  width: 24px;
  height: 24px;
}

/* line 18720, app/assets/stylesheets/application.scss */
.hub-dock-icon--add {
  background: rgba(0, 0, 0, 0.06);
  color: #3a3a3c;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* line 18726, app/assets/stylesheets/application.scss */
.hub-dock-remove {
  appearance: none;
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 2;
  display: none;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ebebf0;
  color: #3a3a3c;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* line 18746, app/assets/stylesheets/application.scss */
.hub-dock-item:hover .hub-dock-remove,
.hub-dock.is-editing .hub-dock-remove {
  display: inline-grid;
}

/* line 18751, app/assets/stylesheets/application.scss */
.hub-dock.is-editing .hub-dock-open {
  animation: hub-dock-jiggle 0.28s ease-in-out infinite alternate;
}

@keyframes hub-dock-jiggle {
  from {
    transform: rotate(-2.2deg);
  }
  to {
    transform: rotate(2.2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 18761, app/assets/stylesheets/application.scss */
  .hub-dock.is-editing .hub-dock-open {
    animation: none;
  }
  /* line 18765, app/assets/stylesheets/application.scss */
  .hub-dock-open:hover,
.hub-dock-item--add:hover {
    transform: none;
  }
}

/* line 18771, app/assets/stylesheets/application.scss */
.hub-dock-picker {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 8;
  width: min(340px, calc(100vw - 48px));
  max-height: min(360px, 48vh);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(23, 25, 29, 0.14);
  transform: translateX(-50%);
}

/* line 18789, app/assets/stylesheets/application.scss */
.hub-dock-picker.hidden,
.hub-dock-picker[hidden] {
  display: none !important;
}

/* line 18794, app/assets/stylesheets/application.scss */
.hub-dock-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 18802, app/assets/stylesheets/application.scss */
.hub-dock-picker-head strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}

/* line 18809, app/assets/stylesheets/application.scss */
.hub-dock-picker-close {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: #3a3a3c;
  cursor: pointer;
}

/* line 18824, app/assets/stylesheets/application.scss */
.hub-dock-picker-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: auto;
  min-height: 0;
  padding: 2px 0 8px;
}

/* line 18833, app/assets/stylesheets/application.scss */
.hub-dock-picker-item {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* line 18850, app/assets/stylesheets/application.scss */
.hub-dock-picker-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 18854, app/assets/stylesheets/application.scss */
.hub-dock-picker-item .hub-dock-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: 0 0 auto;
}

/* line 18861, app/assets/stylesheets/application.scss */
.hub-dock-picker-item .hub-dock-icon .hub-app-glyph-icon,
.hub-dock-picker-item .hub-dock-icon svg {
  width: 18px;
  height: 18px;
}

/* line 18867, app/assets/stylesheets/application.scss */
.hub-dock-picker-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 550;
  color: #1d1d1f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 18878, app/assets/stylesheets/application.scss */
.hub-dock-picker-add {
  flex: 0 0 auto;
  color: #6e6e73;
}

/* line 18883, app/assets/stylesheets/application.scss */
.hub-dock-picker-empty {
  margin: 12px 4px;
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.4;
}

/* line 18890, app/assets/stylesheets/application.scss */
.hub-dock-picker-browse {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 18905, app/assets/stylesheets/application.scss */
.hub-dock-picker-browse:hover {
  background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 720px) {
  /* line 18910, app/assets/stylesheets/application.scss */
  .hub-dock {
    padding-inline: 10px;
  }
  /* line 18914, app/assets/stylesheets/application.scss */
  .hub-dock-glass {
    padding: 8px 10px;
    border-radius: 18px;
  }
  /* line 18919, app/assets/stylesheets/application.scss */
  .hub-dock-open,
.hub-dock-item--add {
    width: 48px;
    height: 48px;
  }
  /* line 18925, app/assets/stylesheets/application.scss */
  .hub-dock-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* line 18932, app/assets/stylesheets/application.scss */
.hub-app-mark {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

/* line 18941, app/assets/stylesheets/application.scss */
.hub-recent-see-all {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #007aff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* line 18957, app/assets/stylesheets/application.scss */
.hub-recent-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 18963, app/assets/stylesheets/application.scss */
.hub-recent-filter {
  appearance: none;
  margin: 0;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

/* line 18977, app/assets/stylesheets/application.scss */
.hub-recent-filter.is-active {
  background: #007aff;
  color: #fff;
}

/* line 18982, app/assets/stylesheets/application.scss */
.hub-recent-chevron {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: #c4c8d0;
}

/* line 18989, app/assets/stylesheets/application.scss */
.hub-recent-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff3b30;
}

/* line 18997, app/assets/stylesheets/application.scss */
.hub-recent-list {
  gap: 2px;
}

/* line 19001, app/assets/stylesheets/application.scss */
.hub-recent-promo {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 4px 0 0;
  padding: 14px 12px 14px 14px;
  border: 0;
  border-radius: 18px;
  background: radial-gradient(120px 80px at 88% 70%, rgba(255, 255, 255, 0.7), transparent 60%), linear-gradient(135deg, #eef2ff 0%, #f5f0ff 55%, #efe7ff 100%);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

/* line 19020, app/assets/stylesheets/application.scss */
.hub-recent-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

/* line 19027, app/assets/stylesheets/application.scss */
.hub-recent-promo-copy strong {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1f2430;
}

/* line 19034, app/assets/stylesheets/application.scss */
.hub-recent-promo-copy > span {
  font-size: 11.5px;
  line-height: 1.35;
  color: #6b7280;
}

/* line 19040, app/assets/stylesheets/application.scss */
.hub-recent-promo-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: #007aff !important;
  font-size: 12.5px !important;
  font-weight: 650;
}

/* line 19050, app/assets/stylesheets/application.scss */
.hub-recent-promo-art {
  flex: 0 0 auto;
  width: 92px;
}

/* line 19055, app/assets/stylesheets/application.scss */
.perk-home-rail-chevron {
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  color: #9ca3af;
}

/* line 19062, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail-chevron,
.perk-workspace.has-home-rail:not(.is-rail-collapsed) .perk-home-rail-chevron {
  display: inline-grid;
}

/* line 19067, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-home-rail-chevron {
  display: none;
}

/* line 19071, app/assets/stylesheets/application.scss */
.perk-home-rail-item.is-active {
  background: var(--perk-accent-soft, rgba(0, 122, 255, 0.12));
  color: var(--perk-accent, #007aff);
  font-weight: 600;
}

/* line 19077, app/assets/stylesheets/application.scss */
.perk-home-rail-item.is-active[data-home-nav="wiki"] {
  background: var(--perk-accent-soft, rgba(0, 122, 255, 0.12));
  color: var(--perk-accent, #007aff);
}

@keyframes hub-home-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  /* line 19095, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail:not(.is-rail-collapsed) {
    --perk-home-rail-w: var(--perk-home-rail-w-collapsed, 72px);
  }
  /* Match the forced icon rail so the conversation pane does not sit 220px wide. */
  /* line 19100, app/assets/stylesheets/application.scss */
  .hub-home:has(.perk-workspace.has-home-rail:not(.is-rail-collapsed)) {
    --perk-chat-rail-offset: 72px;
  }
  /* line 19104, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail:not(.is-rail-collapsed) .perk-home-rail-label,
.perk-workspace.has-home-rail:not(.is-rail-collapsed) .perk-home-rail-chevron {
    display: none;
  }
  /* line 19109, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail:not(.is-rail-collapsed) .perk-home-rail-item,
.perk-workspace.has-home-rail:not(.is-rail-collapsed) .perk-home-rail-account-btn {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  /* Labels are forced hidden — treat badges like the collapsed icon rail. */
  /* line 19117, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail:not(.is-rail-collapsed) .perk-ios-count-badge.perk-home-rail-badge {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  /* line 19126, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 19130, app/assets/stylesheets/application.scss */
  .perk-home-rail {
    display: none;
  }
  /* line 19134, app/assets/stylesheets/application.scss */
  .hub-home:has(.perk-workspace.has-home-rail) {
    --perk-chat-rail-offset: 0px;
  }
  /* line 19138, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail > .perk-feed,
.perk-workspace.has-home-rail > .perk-workspace-center {
    grid-column: 1;
  }
  /* line 19143, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail:not(.is-chats-closed) .perk-workspace-sidebar.perk-chats {
    inset: 0;
    left: 0;
    width: 100%;
  }
}

/* Chrome tab restore: nudge compositor layers (backdrop-filter / sticky chrome)
   so the workspace doesn't stay fractured until a hard reload. */
/* line 19152, 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 19161, 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: left rail replaces the horizontal chrome bar. */
/* line 19170, app/assets/stylesheets/application.scss */
body.perk-home {
  --perk-bar-h: 0px;
  --perk-chat-col-min: 204px;
  --perk-chat-col-max: 264px;
  --perk-chat-layer-list-w: 340px;
  --hub-tabbar-h: 0px;
  --perk-chrome-h: 0px;
}

/* line 19179, app/assets/stylesheets/application.scss */
body.perk-home .perk-management-bar.is-home {
  display: none;
}

/* line 19183, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace {
  padding-top: 0;
}

/* line 19187, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .browser-hub {
  height: 100%;
}

/* Activity overlay lives outside `.perk-workspace`, so mirror rail widths here. */
/* line 19192, app/assets/stylesheets/application.scss */
body.perk-home {
  --perk-activity-inset: 220px;
}

/* line 19196, app/assets/stylesheets/application.scss */
body.perk-home:has(.perk-workspace.has-home-rail.is-rail-collapsed) {
  --perk-activity-inset: 72px;
}

/* line 19200, app/assets/stylesheets/application.scss */
body.perk-home .perk-activity-overlay {
  top: var(--perk-chrome-h);
  /* Sit beside the home rail so the Perk mark / nav stay visible while Activity is open. */
  left: var(--perk-activity-inset, 220px);
}

@media (max-width: 860px) {
  /* line 19207, app/assets/stylesheets/application.scss */
  body.perk-home:has(.perk-workspace.has-home-rail) {
    --perk-activity-inset: 72px;
  }
}

@media (max-width: 640px) {
  /* line 19213, app/assets/stylesheets/application.scss */
  body.perk-home {
    --perk-activity-inset: 0px;
  }
}

/* line 19218, app/assets/stylesheets/application.scss */
.perk-home-header-tools {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 4px;
  padding-left: 8px;
  overflow: visible;
}

/* Matches hub tab height (36px) on the white chrome bar. */
/* line 19232, app/assets/stylesheets/application.scss */
.perk-chrome-tools {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  overflow: visible;
}

/* line 19246, app/assets/stylesheets/application.scss */
.perk-chrome-tool {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 36px;
  height: 32px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #000;
  font-family: var(--perk-font);
  font-size: var(--text-footnote);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  overflow: visible;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* line 19274, app/assets/stylesheets/application.scss */
.perk-chrome-tool:hover {
  background: #f4f5f7;
  color: #000;
}

/* line 19279, app/assets/stylesheets/application.scss */
.perk-chrome-tool.is-active,
.perk-chrome-tool[aria-pressed="true"] {
  background: #f4f5f7;
  color: #000;
  box-shadow: none;
}

/* line 19286, app/assets/stylesheets/application.scss */
.perk-chrome-tool:focus-visible {
  outline: 2px solid rgba(23, 25, 29, 0.28);
  outline-offset: 1px;
}

/* line 19291, app/assets/stylesheets/application.scss */
.perk-chrome-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  line-height: 0;
  color: inherit;
  opacity: 1;
}

/* line 19303, app/assets/stylesheets/application.scss */
.perk-chrome-tool-icon svg {
  width: 20px;
  height: 20px;
  color: inherit;
  stroke: currentColor;
}

/* line 19310, app/assets/stylesheets/application.scss */
.perk-chrome-tool.is-active .perk-chrome-tool-icon,
.perk-chrome-tool[aria-pressed="true"] .perk-chrome-tool-icon,
.perk-chrome-tool:hover .perk-chrome-tool-icon {
  opacity: 1;
  color: #000;
}

/* line 19317, app/assets/stylesheets/application.scss */
.perk-chrome-tool-label {
  max-width: 7.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  /* Room for glyph descenders / anti-alias (same trick as .hub-view-tab-title). */
  padding: 1px 0 2px;
}

/* line 19326, app/assets/stylesheets/application.scss */
.perk-header-chat-btn .perk-ios-count-badge {
  top: -4px;
  right: -2px;
  z-index: 3;
}

/* line 19332, app/assets/stylesheets/application.scss */
.perk-header-feed-btn[hidden] {
  display: none !important;
}

/* line 19336, app/assets/stylesheets/application.scss */
.perk-chrome-tool--account {
  /* inline-flex centers the 28px avatar in the 32px chrome chip; panel is position:fixed. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 4px;
  background: transparent;
  vertical-align: middle;
  box-sizing: border-box;
}

/* line 19349, app/assets/stylesheets/application.scss */
.perk-chrome-tool--account:hover,
.perk-chrome-tool--account[open] {
  background: #f4f5f7;
}

/* line 19354, app/assets/stylesheets/application.scss */
.perk-home-account-menu {
  position: relative;
  flex: 0 0 auto;
}

/* line 19359, app/assets/stylesheets/application.scss */
.perk-home-account-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

/* line 19376, app/assets/stylesheets/application.scss */
.perk-home-account-menu > summary:hover {
  background: transparent;
}

/* line 19380, app/assets/stylesheets/application.scss */
.perk-home-account-menu > summary::-webkit-details-marker {
  display: none;
}

/* line 19384, app/assets/stylesheets/application.scss */
.perk-home-account-menu .perk-account-summary {
  display: none;
}

/* line 19388, app/assets/stylesheets/application.scss */
.perk-home-account-menu .perk-management-avatar-sm {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  font-size: 11px;
  border: 1px solid rgba(23, 25, 29, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Escape .perk-workspace overflow:hidden and sit above the chat frame. */
/* line 19398, app/assets/stylesheets/application.scss */
.perk-home-account-menu .perk-management-menu,
.perk-home-account-menu .perk-account-card {
  position: fixed;
  top: calc(var(--perk-bar-h, 0px) + var(--hub-tabbar-h, 48px) + 6px);
  right: max(10px, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 1210;
}

@media (max-width: 720px) {
  /* line 19408, app/assets/stylesheets/application.scss */
  .perk-chrome-tool {
    padding: 0 8px;
  }
  /* line 19412, app/assets/stylesheets/application.scss */
  .perk-chrome-tool-label {
    display: none;
  }
  /* line 19416, app/assets/stylesheets/application.scss */
  .perk-chrome-tool--account {
    padding: 0 3px;
  }
}

/* line 19421, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace-center .perk-browser-toolbar {
  top: 0;
}

/* line 19425, app/assets/stylesheets/application.scss */
body.perk-home .perk-workspace.is-center-closed .perk-feed > .perk-sidebar-heading {
  z-index: 60;
}

/* line 19429, 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 19450, app/assets/stylesheets/application.scss */
.hub-tab-brand:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 19454, 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 19463, app/assets/stylesheets/application.scss */
img.perk-shape-logo {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

/* line 19471, app/assets/stylesheets/application.scss */
.hub-feed-brand {
  align-self: center;
  margin: 0 4px 0 0;
}

/* line 19476, app/assets/stylesheets/application.scss */
.perk-workspace {
  --feed-content-width: 800px;
  --feed-column-gap: 16px;
  --hub-tabbar-h: 48px;
  display: grid;
  /* Chrome row + main pane; chat opens as a full-frame layer over the workspace. */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--hub-tabbar-h) minmax(0, 1fr);
  height: 100vh;
  padding-top: var(--perk-bar-h);
  overflow: hidden;
  background: var(--perk-canvas-wash);
  color: var(--perk-ink);
}

/* line 19491, app/assets/stylesheets/application.scss */
.perk-workspace-chrome.perk-browser-chrome {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  top: 0;
  /* Above chat layer / floating panel so the account dropdown is clickable. */
  z-index: 1200;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--hub-tabbar-h);
  margin: 0;
  padding: 0 8px 0 10px;
  box-sizing: border-box;
  overflow: visible;
}

/* line 19508, app/assets/stylesheets/application.scss */
.perk-workspace-chrome .hub-view-tabs {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

/* line 19514, app/assets/stylesheets/application.scss */
.perk-workspace > .perk-feed,
.perk-workspace > .perk-workspace-center {
  grid-row: 2;
  grid-column: 1;
  min-height: 0;
}

/* line 19521, app/assets/stylesheets/application.scss */
.perk-workspace.is-chats-closed .perk-workspace-sidebar.perk-chats {
  display: none;
}

/* Full-frame chat layer: list left, conversation fills the rest.
   z-index above .browser-hub (5) so the list never sits under Apps. Keep
   below chrome (1200) and floating-ai (900) so the conversation can embed;
   when a chat modal is open, raise above floating-ai so overlays are visible. */
/* line 19529, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-chats-closed) .perk-workspace-sidebar.perk-chats {
  position: fixed;
  inset: var(--perk-chrome-h, var(--hub-tabbar-h, 48px)) 0 0 0;
  z-index: 40;
  display: flex !important;
  flex-direction: row;
  align-items: stretch;
  visibility: visible !important;
  width: 100%;
  max-width: none;
  height: calc(100vh - var(--perk-chrome-h, var(--hub-tabbar-h, 48px)));
  border: 0;
  background: var(--perk-surface);
  box-shadow: none;
  isolation: isolate;
}

/* Search / settings / new-chat / account overlays live under .perk-chats.
   Raise the chat layer above .floating-ai (900) and companion compose-only
   add-task (1400) while any overlay is open so fixed modals are visible. */
/* line 19549, app/assets/stylesheets/application.scss */
body.perk-modal-open .perk-workspace:not(.is-chats-closed) .perk-workspace-sidebar.perk-chats {
  z-index: 1500;
  overflow: visible;
}

/* Fully remove Apps/Newsfeed from the tree while chat is open — visibility:hidden
   still let the hub canvas show through intermittently under the list. */
/* line 19556, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-chats-closed) .perk-feed,
.perk-workspace:not(.is-chats-closed) .perk-workspace-center {
  display: none !important;
}

/* line 19561, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-chats-closed) .perk-chats-panel {
  display: flex !important;
  flex: 0 0 var(--perk-chat-layer-list-w, 340px);
  flex-direction: column;
  width: var(--perk-chat-layer-list-w, 340px);
  min-width: var(--perk-chat-layer-list-w, 340px);
  max-width: var(--perk-chat-layer-list-w, 340px);
  height: 100%;
  min-height: 0;
  border-right: 1px solid var(--chat-line, rgba(60, 60, 67, 0.12));
  background: var(--chat-surface, #ffffff);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  visibility: visible !important;
}

/* line 19577, app/assets/stylesheets/application.scss */
.perk-chat-stage {
  position: relative;
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

/* line 19588, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-chats-closed) .perk-chat-stage {
  display: flex;
}

/* line 19592, app/assets/stylesheets/application.scss */
.perk-chat-stage.has-conversation .perk-chat-stage-empty,
.perk-chat-stage:has(> .floating-ai-panel.is-chat-layer-embedded:not(.hidden):not([hidden])) .perk-chat-stage-empty {
  display: none;
}

/* line 19597, app/assets/stylesheets/application.scss */
.perk-chat-stage-empty {
  max-width: 320px;
  padding: 32px 28px;
  text-align: center;
  color: var(--perk-muted, #6e6e73);
}

/* line 19604, app/assets/stylesheets/application.scss */
.perk-chat-stage-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--perk-ink, #1d1d1f);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 19614, app/assets/stylesheets/application.scss */
.perk-chat-stage-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--perk-muted, #6e6e73);
}

/* line 19622, 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 19632, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-workspace-center {
  display: none;
}

/* line 19636, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed {
  background: #fff;
}

/* line 19640, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed.is-peeks {
  background: #fff;
}

/* line 19644, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-peeks {
  min-height: 0;
}

/* line 19648, 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 19654, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-list {
  display: flex;
  flex-direction: column;
  gap: var(--feed-column-gap);
  width: min(100%, var(--feed-content-width));
  max-width: var(--feed-content-width);
  margin: 0 auto;
  padding: 16px 16px 40px;
  box-sizing: border-box;
}

/* Legacy pair wrappers (if any) stack as a single column. */
/* line 19666, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-pair {
  display: flex;
  flex-direction: column;
  gap: var(--feed-column-gap);
  width: 100%;
}

/* line 19673, 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 19689, 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;
  min-height: min-content;
  border-bottom: 1px solid var(--perk-line);
}

/* line 19698, 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 19704, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-list > .perk-feed-load-more {
  margin: 0;
}

/* line 19708, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-feed-suggestions-head {
  width: 100%;
  box-sizing: border-box;
}

/* line 19713, 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 19718, 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 19724, 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 19740, 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 19745, 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 19750, 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;
}

/* Home rail: keep feed/profile overlays clear of the icon column. */
/* line 19758, app/assets/stylesheets/application.scss */
.perk-workspace.has-home-rail.is-feed-closed .perk-feed-comments-overlay:not(.hidden),
.perk-workspace.has-home-rail.is-feed-closed .perk-user-detail-overlay:not(.hidden) {
  left: var(--perk-home-rail-w, 72px);
}

/* line 19763, 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 19773, app/assets/stylesheets/application.scss */
.perk-feed-heading-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* line 19779, app/assets/stylesheets/application.scss */
.perk-feed-top-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(23, 25, 29, 0.12);
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
  text-decoration: none;
  flex: 0 0 auto;
  box-sizing: border-box;
}

/* line 19796, app/assets/stylesheets/application.scss */
.perk-feed-top-avatar:hover {
  background: rgba(23, 25, 29, 0.09);
}

/* line 19800, app/assets/stylesheets/application.scss */
.perk-feed-top-avatar-img,
.perk-feed-top-avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 19808, app/assets/stylesheets/application.scss */
.perk-feed-top-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* line 19817, app/assets/stylesheets/application.scss */
.perk-feed-compose-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  border: 0;
  background: #f0f0f0;
  color: #000;
  cursor: pointer;
  flex: 0 0 auto;
  box-sizing: border-box;
  transition: background 150ms ease, color 150ms ease;
}

/* line 19835, app/assets/stylesheets/application.scss */
.perk-feed-compose-btn:hover {
  background: #e6e6e6;
}

/* line 19839, app/assets/stylesheets/application.scss */
.perk-feed-compose-btn i,
.perk-feed-compose-btn svg {
  width: 16px;
  height: 16px;
}

/* line 19845, 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 19865, app/assets/stylesheets/application.scss */
.perk-open-apps-btn:hover {
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 19870, app/assets/stylesheets/application.scss */
.perk-open-apps-btn[hidden],
.perk-open-feed-btn[hidden] {
  display: none !important;
}

/* line 19875, 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 19898, 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 19911, 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 19931, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 19935, 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 19945, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn.is-chats-closed .perk-toggle-chats-icon {
  transform: scaleX(-1);
}

/* line 19949, app/assets/stylesheets/application.scss */
.perk-open-apps-btn span,
.perk-open-feed-btn span {
  line-height: 1;
  padding-bottom: 0;
}

/* line 19955, 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 19960, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-open-feed-btn[hidden] {
  display: inline-flex !important;
}

/* line 19964, app/assets/stylesheets/application.scss */
.perk-workspace.is-center-closed .perk-open-apps-btn[hidden] {
  display: inline-flex !important;
}

/* line 19968, 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 19976, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-feed {
  overflow: hidden;
}

/* line 19980, app/assets/stylesheets/application.scss */
.perk-workspace-sidebar.perk-chats {
  overflow: hidden;
}

/* line 19984, 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 19994, app/assets/stylesheets/application.scss */
.perk-feed-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

/* line 19999, 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 20007, app/assets/stylesheets/application.scss */
.perk-feed-load-more[hidden] {
  display: none !important;
}

/* line 20011, app/assets/stylesheets/application.scss */
.perk-feed-fab {
  display: none !important;
}

/* line 20015, 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 20033, app/assets/stylesheets/application.scss */
.perk-user-detail-overlay {
  z-index: 1500;
}

/* line 20037, 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 20048, app/assets/stylesheets/application.scss */
.perk-create-post-sheet {
  width: 100%;
  max-width: 520px;
  max-height: min(92vh, 820px);
  background: var(--perk-surface);
  border: 1px solid var(--perk-line);
  border-radius: 18px;
  box-shadow: var(--perk-shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* line 20061, app/assets/stylesheets/application.scss */
.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 20079, app/assets/stylesheets/application.scss */
.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 20094, app/assets/stylesheets/application.scss */
.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 20105, app/assets/stylesheets/application.scss */
.perk-feed-settings-body {
  padding: 16px;
  overflow-y: auto;
}

/* line 20110, app/assets/stylesheets/application.scss */
.perk-create-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}

/* line 20120, app/assets/stylesheets/application.scss */
.perk-create-post-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* line 20127, app/assets/stylesheets/application.scss */
.perk-create-post-cancel-link,
.perk-create-post-submit {
  border: 0;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

/* line 20136, app/assets/stylesheets/application.scss */
.perk-create-post-cancel-link {
  color: #111;
}

/* line 20140, app/assets/stylesheets/application.scss */
.perk-create-post-submit {
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  background: #111;
}

/* line 20147, app/assets/stylesheets/application.scss */
.perk-create-post-submit:disabled {
  color: #8e8e93;
  background: #f2f2f7;
  cursor: not-allowed;
  opacity: 1;
}

/* line 20154, app/assets/stylesheets/application.scss */
.perk-create-post-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0;
  overflow: hidden;
}

/* line 20163, app/assets/stylesheets/application.scss */
.perk-create-post-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 0 8px;
}

/* line 20170, app/assets/stylesheets/application.scss */
.perk-create-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 18px 10px;
}

/* line 20177, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 20184, app/assets/stylesheets/application.scss */
.perk-create-post-author-meta strong {
  font-size: 14px;
  font-weight: 600;
}

/* line 20189, app/assets/stylesheets/application.scss */
.perk-create-post-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* line 20197, app/assets/stylesheets/application.scss */
.perk-create-post-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: #f2f2f7;
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

/* line 20216, app/assets/stylesheets/application.scss */
.perk-create-post-chip.is-idle {
  color: #8e8e93;
}

/* line 20220, app/assets/stylesheets/application.scss */
.perk-create-post-chip.is-selected {
  color: #111;
}

/* line 20224, app/assets/stylesheets/application.scss */
.perk-create-post-chip-icon {
  display: inline-flex;
  width: 12px;
  height: 12px;
  align-items: center;
  justify-content: center;
}

/* line 20232, app/assets/stylesheets/application.scss */
.perk-create-post-chip.is-idle .perk-create-post-chip-icon.is-set,
.perk-create-post-chip.is-selected .perk-create-post-chip-icon.is-empty,
.perk-create-post-chip:not(.is-selected) .perk-create-post-chip-icon.is-set {
  display: none;
}

/* line 20238, app/assets/stylesheets/application.scss */
.perk-create-post-chip.is-selected .perk-create-post-chip-icon.is-set {
  display: inline-flex;
}

/* line 20242, app/assets/stylesheets/application.scss */
.perk-create-post-chip-chevron {
  opacity: 0.55;
}

/* line 20246, app/assets/stylesheets/application.scss */
.perk-create-post-chip span[data-newsfeed-target="targetLabel"],
.perk-create-post-chip span[data-newsfeed-target="privacyLabel"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 20253, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 20269, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-menu[hidden] {
  display: none !important;
}

/* line 20273, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-menu button {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

/* line 20292, app/assets/stylesheets/application.scss */
.perk-create-post-privacy-menu button.active,
.perk-create-post-privacy-menu button:hover {
  background: #f2f2f7;
}

/* line 20297, app/assets/stylesheets/application.scss */
.perk-create-post-avatar,
.perk-create-post-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 20305, app/assets/stylesheets/application.scss */
.perk-create-post-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f7;
  font-weight: 700;
}

/* line 20313, app/assets/stylesheets/application.scss */
.perk-create-post-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 10px 14px;
  resize: none;
  min-height: 150px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  background: transparent;
  box-sizing: border-box;
}

/* line 20328, app/assets/stylesheets/application.scss */
.perk-create-post-previews {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0;
  padding: 4px 18px 8px;
  scrollbar-width: none;
}

/* line 20337, app/assets/stylesheets/application.scss */
.perk-create-post-previews::-webkit-scrollbar {
  display: none;
}

/* line 20341, app/assets/stylesheets/application.scss */
.perk-create-post-preview {
  position: relative;
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
}

/* line 20348, app/assets/stylesheets/application.scss */
.perk-create-post-previews img,
.perk-create-post-previews video {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #111;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* line 20359, 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 20371, app/assets/stylesheets/application.scss */
.perk-create-post-preview-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* line 20390, app/assets/stylesheets/application.scss */
.perk-create-post-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 8px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

/* line 20401, app/assets/stylesheets/application.scss */
.perk-create-post-tool {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  cursor: pointer;
}

/* line 20417, app/assets/stylesheets/application.scss */
.perk-create-post-tool:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* line 20421, app/assets/stylesheets/application.scss */
.perk-create-post-attach-count {
  margin-left: auto;
  padding-right: 8px;
  color: #8e8e93;
  font-size: 12px;
}

/* line 20428, app/assets/stylesheets/application.scss */
.perk-create-post-attach-count[hidden] {
  display: none !important;
}

/* line 20432, app/assets/stylesheets/application.scss */
.perk-create-post-status {
  margin: 0;
  padding: 0 16px 12px;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 20439, app/assets/stylesheets/application.scss */
.perk-create-post-status[hidden] {
  display: none !important;
}

/* line 20443, app/assets/stylesheets/application.scss */
.perk-create-post-media-btn,
.perk-create-post-privacy,
.perk-create-post-privacy-options,
.perk-create-post-target-btn {
  display: none !important;
}

/* line 20450, 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 20461, app/assets/stylesheets/application.scss */
.perk-create-post-target-overlay.hidden {
  display: none;
}

/* line 20465, 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 20475, 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 20483, 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 20493, app/assets/stylesheets/application.scss */
.perk-create-post-target-search i:first-child {
  color: #8e8e93;
}

/* line 20497, 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 20507, app/assets/stylesheets/application.scss */
.perk-create-post-target-clear {
  border: 0;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* line 20516, app/assets/stylesheets/application.scss */
.perk-create-post-target-results {
  flex: 1;
  overflow-y: auto;
  min-height: 180px;
}

/* line 20522, app/assets/stylesheets/application.scss */
.perk-create-post-target-empty {
  margin: 40px 16px;
  text-align: center;
  color: #8e8e93;
  font-size: 13px;
}

/* line 20529, app/assets/stylesheets/application.scss */
.perk-create-post-target-section {
  padding: 16px 16px 6px;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 600;
}

/* line 20536, 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 20550, 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 20562, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

/* line 20570, 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 20578, app/assets/stylesheets/application.scss */
.perk-create-post-target-copy small {
  color: #8e8e93;
  font-size: 12px;
}

/* line 20583, app/assets/stylesheets/application.scss */
.perk-create-post-target-chevron {
  color: #c7c7cc;
  font-size: 11px;
}

/* line 20588, app/assets/stylesheets/application.scss */
.perk-create-post-target-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid #f2f2f7;
}

/* line 20593, 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 20604, app/assets/stylesheets/application.scss */
.perk-feed-settings-body section {
  margin-bottom: 22px;
}

/* line 20608, app/assets/stylesheets/application.scss */
.perk-feed-settings-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

/* line 20614, app/assets/stylesheets/application.scss */
.perk-feed-settings-body p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 12px;
  line-height: 1.45;
}

/* line 20621, app/assets/stylesheets/application.scss */
.perk-feed-pref-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 20627, 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 20643, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected {
  background: #ececf1;
}

/* line 20647, app/assets/stylesheets/application.scss */
.perk-feed-pref-row i:last-child {
  color: #8e8e93;
}

/* line 20651, app/assets/stylesheets/application.scss */
.perk-feed-pref-row.is-selected i:last-child {
  color: #111;
}

/* line 20655, 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 20664, app/assets/stylesheets/application.scss */
.perk-feed-settings-toast {
  margin: 0;
  color: #34c759;
  font-size: 13px;
  font-weight: 700;
}

/* line 20671, 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 20681, 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 20693, app/assets/stylesheets/application.scss */
.perk-user-detail-sheet {
  max-width: 520px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

/* line 20700, 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 20709, 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 20722, 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 20732, app/assets/stylesheets/application.scss */
.perk-user-detail-content {
  display: flex;
  flex-direction: column;
}

/* line 20737, 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 20746, app/assets/stylesheets/application.scss */
.perk-user-detail-hero {
  position: relative;
  width: 100%;
  height: 430px;
  max-height: 52vh;
  cursor: pointer;
}

/* line 20754, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-slide {
  display: none;
  width: 100%;
  height: 100%;
}

/* line 20760, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-slide.is-active {
  display: block;
}

/* line 20764, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 20771, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f7;
}

/* line 20778, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-empty .perk-avatar-fallback {
  width: 88px;
  height: 88px;
  font-size: 32px;
}

/* line 20784, 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 20793, 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 20805, 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 20820, app/assets/stylesheets/application.scss */
.perk-user-detail-chrome-btn::-webkit-details-marker,
.perk-user-detail-more summary::-webkit-details-marker {
  display: none;
}

/* line 20825, app/assets/stylesheets/application.scss */
.perk-user-detail-chrome-btn svg {
  width: 15px;
  height: 15px;
}

/* line 20830, 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 20840, 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 20847, app/assets/stylesheets/application.scss */
.perk-user-detail-hero-dots span.is-active {
  background: #fff;
}

/* line 20851, app/assets/stylesheets/application.scss */
.perk-user-detail-more {
  position: relative;
}

/* line 20855, 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 20868, 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 20882, app/assets/stylesheets/application.scss */
.perk-user-detail-menu-item:hover {
  background: #f4f5f7;
}

/* line 20886, app/assets/stylesheets/application.scss */
.perk-user-detail-menu-item.is-danger {
  color: #b42318;
}

/* line 20890, app/assets/stylesheets/application.scss */
.perk-user-detail-identity {
  padding: 18px 20px 16px;
  background: #fff;
}

/* line 20895, app/assets/stylesheets/application.scss */
.perk-user-detail-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* line 20901, 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 20912, 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 20920, app/assets/stylesheets/application.scss */
.perk-user-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* line 20928, app/assets/stylesheets/application.scss */
.perk-user-detail-handle {
  color: #8e8e93;
  font-size: 15px;
  font-weight: 500;
}

/* line 20934, 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 20943, app/assets/stylesheets/application.scss */
.perk-user-detail-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2eb861;
}

/* line 20950, 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 20957, app/assets/stylesheets/application.scss */
.perk-user-detail-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 20px 24px;
}

/* line 20964, app/assets/stylesheets/application.scss */
.perk-user-detail-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 20970, app/assets/stylesheets/application.scss */
.perk-user-detail-section h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: #17191d;
}

/* line 20977, 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 20988, app/assets/stylesheets/application.scss */
.perk-user-detail-about {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

/* line 20995, 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 21003, app/assets/stylesheets/application.scss */
.perk-user-detail-fact.is-last {
  border-bottom: 0;
}

/* line 21007, app/assets/stylesheets/application.scss */
.perk-user-detail-fact > i {
  width: 20px;
  margin-top: 2px;
  color: #8e8e93;
  font-size: 14px;
  text-align: center;
}

/* line 21015, app/assets/stylesheets/application.scss */
.perk-user-detail-fact > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 21022, app/assets/stylesheets/application.scss */
.perk-user-detail-fact span {
  color: #8e8e93;
  font-size: 12px;
  font-weight: 500;
}

/* line 21028, 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 21036, app/assets/stylesheets/application.scss */
.perk-user-detail-tags-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

/* line 21043, app/assets/stylesheets/application.scss */
.perk-user-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 21049, 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 21061, app/assets/stylesheets/application.scss */
.perk-user-detail-prompts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 21067, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt {
  border-radius: 16px;
  background: #f4f5f7;
  padding: 16px;
}

/* line 21073, app/assets/stylesheets/application.scss */
.perk-user-detail-prompt > span {
  display: block;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 650;
}

/* line 21080, 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 21089, app/assets/stylesheets/application.scss */
.perk-user-detail-mutuals {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

/* line 21097, app/assets/stylesheets/application.scss */
.perk-user-detail-mutuals::-webkit-scrollbar {
  display: none;
}

/* line 21101, 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 21115, 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 21124, 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 21132, 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 21145, app/assets/stylesheets/application.scss */
.perk-user-detail-empty {
  margin: 0;
  color: #8e8e93;
  font-size: 14px;
  line-height: 1.45;
}

/* line 21152, 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 21162, 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 21178, app/assets/stylesheets/application.scss */
.perk-user-detail-invite {
  border: 0;
  background: #111;
  color: #fff;
}

/* line 21184, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:hover:not(:disabled) {
  opacity: 0.92;
}

/* line 21188, app/assets/stylesheets/application.scss */
.perk-user-detail-invite:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* line 21193, app/assets/stylesheets/application.scss */
.perk-user-detail-invite[hidden],
.perk-user-detail-map[hidden] {
  display: none !important;
}

/* line 21198, app/assets/stylesheets/application.scss */
.perk-user-detail-map {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

/* line 21204, app/assets/stylesheets/application.scss */
.perk-user-detail-map:hover {
  background: #f8f8f8;
}

/* line 21208, 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 21228, app/assets/stylesheets/application.scss */
.perk-user-detail-toast[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  /* line 21233, app/assets/stylesheets/application.scss */
  .perk-user-detail-overlay {
    align-items: flex-end;
    padding: 0;
  }
  /* line 21238, app/assets/stylesheets/application.scss */
  .perk-user-detail-sheet {
    max-width: none;
    max-height: min(92vh, 860px);
    border-radius: 18px 18px 0 0;
  }
  /* line 21244, app/assets/stylesheets/application.scss */
  .perk-user-detail-hero {
    max-height: 360px;
  }
  /* line 21248, app/assets/stylesheets/application.scss */
  .perk-user-detail-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }
  /* line 21253, app/assets/stylesheets/application.scss */
  .perk-user-detail-name {
    font-size: 20px;
  }
}

/* line 21258, 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 21265, 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 21275, 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 21284, app/assets/stylesheets/application.scss */
.perk-feed-comments-handle {
  display: none;
}

/* line 21288, app/assets/stylesheets/application.scss */
.perk-feed-comments-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--perk-ink);
}

/* line 21294, 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 21302, app/assets/stylesheets/application.scss */
.perk-feed-comments-post {
  border-bottom: 1px solid var(--perk-line-soft);
}

/* line 21306, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post {
  border-bottom: 0;
  background: transparent;
}

/* line 21311, app/assets/stylesheets/application.scss */
.perk-feed-comments-post .perk-feed-post.is-detail {
  padding-bottom: 12px;
}

/* line 21315, 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 21327, 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 21335, app/assets/stylesheets/application.scss */
.perk-feed-comments-list {
  min-height: 160px;
  padding: 8px 16px 16px;
}

/* line 21340, app/assets/stylesheets/application.scss */
.perk-feed-comments-empty {
  margin: 24px 0;
  color: #8e8e93;
  text-align: center;
  font-size: 15px;
}

/* line 21347, app/assets/stylesheets/application.scss */
.perk-feed-comment-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

/* line 21354, app/assets/stylesheets/application.scss */
.perk-feed-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* line 21360, app/assets/stylesheets/application.scss */
.perk-feed-comment.is-reply {
  padding-left: 24px;
}

/* line 21364, 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 21376, app/assets/stylesheets/application.scss */
.perk-feed-comment-avatar:disabled {
  cursor: default;
}

/* line 21380, 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 21388, 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 21398, app/assets/stylesheets/application.scss */
.perk-feed-comment-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 21403, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 21410, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* line 21416, app/assets/stylesheets/application.scss */
.perk-feed-comment-meta span {
  font-size: 12px;
  color: #8e8e93;
}

/* line 21421, 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 21430, 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 21441, 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 21455, app/assets/stylesheets/application.scss */
.perk-feed-comment-like i,
.perk-feed-comment-like .heroicon {
  font-size: 16px;
  line-height: 1;
  width: 14px;
  height: 14px;
}

/* line 21463, app/assets/stylesheets/application.scss */
.perk-feed-comment-like span {
  font-size: 12px;
  line-height: 1;
}

/* line 21468, app/assets/stylesheets/application.scss */
.perk-feed-comment-like.is-liked,
.perk-feed-comment-like.is-liked i,
.perk-feed-comment-like.is-liked .heroicon {
  color: var(--perk-ink);
}

/* line 21474, app/assets/stylesheets/application.scss */
.perk-feed-comment-like.is-liked .heroicon.is-solid {
  fill: currentColor;
}

/* line 21478, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies {
  display: flex;
  justify-content: center;
}

/* line 21483, app/assets/stylesheets/application.scss */
.perk-feed-comment-view-replies button {
  border: 0;
  background: transparent;
  color: #8e8e93;
  font-size: 13px;
  cursor: pointer;
}

/* line 21491, app/assets/stylesheets/application.scss */
.perk-feed-comments-composer {
  flex: 0 0 auto;
  border-top: 1px solid #ebebf0;
  background: #fff;
  position: relative;
}

/* line 21498, 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 21510, app/assets/stylesheets/application.scss */
.perk-mention-suggestions.hidden,
.perk-mention-suggestions[hidden] {
  display: none !important;
}

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

/* line 21531, app/assets/stylesheets/application.scss */
.floating-ai-mentions .perk-mention-suggestions {
  margin: 0;
}

/* line 21535, 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 21542, 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 21555, app/assets/stylesheets/application.scss */
.perk-mention-option:hover,
.perk-mention-option.is-active {
  background: #f2f2f7;
}

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

/* line 21569, 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 21582, app/assets/stylesheets/application.scss */
.perk-mention-avatar.is-all {
  color: #636366;
}

/* line 21586, app/assets/stylesheets/application.scss */
.perk-mention-avatar.is-all svg {
  display: block;
}

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

/* line 21597, app/assets/stylesheets/application.scss */
.perk-mention-copy strong,
.perk-mention-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 21604, app/assets/stylesheets/application.scss */
.perk-mention-copy strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 21609, app/assets/stylesheets/application.scss */
.perk-mention-copy span {
  font-size: 13px;
  color: #8e8e93;
}

/* line 21614, 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 21625, 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 21645, app/assets/stylesheets/application.scss */
.tw-task-mentions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 40;
}

/* line 21653, 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 21663, app/assets/stylesheets/application.scss */
.perk-feed-comments-reply-preview[hidden] {
  display: none !important;
}

/* line 21667, 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 21676, 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 21685, 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 21695, app/assets/stylesheets/application.scss */
.perk-feed-comments-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 12px 12px;
}

/* line 21702, 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 21715, app/assets/stylesheets/application.scss */
.perk-feed-comments-form input::placeholder {
  color: #8e8e93;
}

/* line 21719, 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 21733, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:not(:disabled) {
  background: #111;
}

/* line 21737, app/assets/stylesheets/application.scss */
.perk-feed-comments-send:disabled {
  cursor: default;
}

/* line 21741, app/assets/stylesheets/application.scss */
.perk-feed-comments-send i {
  font-size: 14px;
  line-height: 1;
}

/* line 21746, app/assets/stylesheets/application.scss */
.perk-create-post-quote {
  margin: 0 18px 14px;
}

/* line 21750, app/assets/stylesheets/application.scss */
.perk-create-post-quote .perk-feed-quoted {
  margin: 0;
  pointer-events: none;
}

/* line 21755, app/assets/stylesheets/application.scss */
.perk-feed-post-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* line 21762, app/assets/stylesheets/application.scss */
.perk-feed-post-top .perk-feed-post-headline {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 21767, 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 21777, 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 21787, app/assets/stylesheets/application.scss */
.perk-feed-post-menu-btn:hover,
.perk-feed-privacy-dot.is-editable:hover {
  color: #111;
  background: #f2f2f7;
}

/* line 21793, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable {
  cursor: pointer;
}

/* line 21797, app/assets/stylesheets/application.scss */
.perk-feed-post-body.is-clickable:hover .perk-feed-post-text {
  color: #222;
}

/* line 21801, app/assets/stylesheets/application.scss */
.perk-feed-privacy-sheet {
  max-width: 360px;
}

/* line 21805, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

/* line 21812, 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 21828, app/assets/stylesheets/application.scss */
.perk-feed-privacy-options button.active,
.perk-feed-privacy-options button:hover {
  border-color: #111;
  background: #f7f7f8;
}

/* line 21834, app/assets/stylesheets/application.scss */
.perk-feed-privacy-status {
  margin: 0 16px 16px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 21840, app/assets/stylesheets/application.scss */
.perk-feed-share-overlay {
  /* Above focused chat windows (.floating-ai-panel.is-focused: 10110). */
  z-index: 10120;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 18, 22, 0.4);
}

/* line 21849, app/assets/stylesheets/application.scss */
.perk-feed-share-sheet {
  width: 100%;
  max-width: 480px;
  max-height: min(88vh, 760px);
  margin: 0;
  border-radius: 18px;
  border: 0;
  background: #fff;
}

/* line 21859, 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 21868, app/assets/stylesheets/application.scss */
.perk-feed-share-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 21876, 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 21888, app/assets/stylesheets/application.scss */
.perk-feed-share-done {
  justify-self: start;
}

/* line 21892, app/assets/stylesheets/application.scss */
.perk-feed-share-create-group {
  justify-self: end;
  white-space: nowrap;
}

/* line 21897, app/assets/stylesheets/application.scss */
.perk-feed-share-done:hover,
.perk-feed-share-create-group:hover {
  opacity: 0.75;
}

/* line 21902, 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 21913, app/assets/stylesheets/application.scss */
.perk-feed-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 21918, 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 21928, app/assets/stylesheets/application.scss */
.perk-feed-share-search input::placeholder {
  color: #8e8e93;
}

/* line 21932, 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 21943, app/assets/stylesheets/application.scss */
.perk-feed-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  text-align: center;
  font-size: 14px;
}

/* line 21950, 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 21963, app/assets/stylesheets/application.scss */
.perk-feed-share-person:last-child {
  border-bottom: 0;
}

/* line 21967, 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 21982, app/assets/stylesheets/application.scss */
.perk-feed-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 21989, 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 22000, 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 22008, 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 22017, 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 22026, 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 22039, app/assets/stylesheets/application.scss */
.perk-feed-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 22043, app/assets/stylesheets/application.scss */
.perk-feed-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 22048, 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 22057, 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 22073, app/assets/stylesheets/application.scss */
.perk-feed-share-channel:hover {
  background: #f7f7f8;
}

/* line 22077, 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 22088, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-whatsapp {
  background: #25d366;
}

/* line 22092, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 22096, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-zalo {
  background: #0068ff;
  font-size: 17px;
  font-weight: 800;
}

/* line 22102, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-messenger {
  background: #0084ff;
}

/* line 22106, app/assets/stylesheets/application.scss */
.perk-feed-share-channel-icon.is-copy {
  background: #111;
}

/* line 22110, app/assets/stylesheets/application.scss */
.perk-feed-share-head-spacer {
  width: 1px;
  height: 1px;
}

/* line 22115, app/assets/stylesheets/application.scss */
.ai-answer-share-people-label {
  margin: 4px 16px 8px;
  font-size: 13px;
  font-weight: 650;
  color: #8e8e93;
}

/* line 22122, 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 22130, app/assets/stylesheets/application.scss */
  .perk-feed-share-overlay {
    align-items: center;
    padding: 20px;
  }
  /* line 22135, app/assets/stylesheets/application.scss */
  .perk-feed-share-sheet {
    border-radius: 18px;
    max-height: min(88vh, 760px);
  }
}

/* line 22141, app/assets/stylesheets/application.scss */
.perk-feed-menu-overlay {
  align-items: center;
}

/* line 22145, 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 22158, app/assets/stylesheets/application.scss */
.perk-feed-menu-item,
.perk-feed-menu-cancel {
  border: 0;
  background: transparent;
  padding: 14px 16px;
  font: inherit;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
}

/* line 22170, app/assets/stylesheets/application.scss */
.perk-feed-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

/* line 22177, app/assets/stylesheets/application.scss */
.perk-feed-menu-item.is-danger {
  color: var(--perk-ink);
}

/* line 22181, app/assets/stylesheets/application.scss */
.perk-feed-menu-item:hover,
.perk-feed-menu-cancel:hover {
  background: #f2f2f7;
}

/* line 22186, 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 22194, 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 22210, app/assets/stylesheets/application.scss */
.perk-feed-toast[hidden] {
  display: none !important;
}

/* line 22214, 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 22224, app/assets/stylesheets/application.scss */
.perk-chats {
  /* Apple Calendar materials — white surface + system fill #F2F2F7 */
  --chat-primary: #007AFF;
  --chat-accent: #007AFF;
  --chat-accent-deep: #0066D6;
  --chat-accent-soft: rgba(0, 122, 255, 0.12);
  --chat-ink: #1D1D1F;
  --chat-muted: #8E8E93;
  --chat-line: rgba(60, 60, 67, 0.12);
  --chat-surface: #ffffff;
  --chat-wash: #F2F2F7;
  --chat-fill: #F2F2F7;
  --chat-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --chat-gradient: linear-gradient(135deg, #007AFF 0%, #0A84FF 100%);
  --chat-ease: 180ms cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 0;
  overflow: hidden;
  background: var(--chat-surface, #ffffff);
  color: var(--chat-ink, #1D1D1F);
}

/* line 22248, 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 22262, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 22266, 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 22271, app/assets/stylesheets/application.scss */
.perk-chats > .perk-toggle-chats-btn .perk-toggle-chats-icon {
  width: 18px;
  height: 18px;
}

/* line 22276, app/assets/stylesheets/application.scss */
.perk-toggle-chats-btn.is-reopen {
  display: none !important;
}

/* line 22280, 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 22289, app/assets/stylesheets/application.scss */
.perk-chats .perk-chat-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px 28px;
  background: var(--chat-surface, #ffffff);
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 67, 0.28) transparent;
}

/* "Show contacts" off → hide people/groups, keep AI companions (matches setting label). */
/* line 22303, app/assets/stylesheets/application.scss */
.perk-chats.is-contacts-hidden .perk-chat-row:not(.is-ai) {
  display: none !important;
}

/* line 22307, app/assets/stylesheets/application.scss */
.perk-chats {
  --chat-chrome-h: 58px;
  --chat-chrome-btn: 34px;
  --chat-chrome-pad-x: 16px;
  --chat-chrome-bg: rgba(255, 255, 255, 0.92);
  --chat-chrome-line: var(--chat-line, rgba(60, 60, 67, 0.12));
}

/* line 22315, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-height: var(--chat-chrome-h);
  height: var(--chat-chrome-h);
  overflow: visible;
  padding: 0 var(--chat-chrome-pad-x);
  border-bottom: 1px solid var(--chat-chrome-line);
  background: var(--chat-chrome-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-sizing: border-box;
}

/* line 22331, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading-title {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 22339, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading-title h2 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--chat-ink, #1D1D1F);
}

/* line 22353, app/assets/stylesheets/application.scss */
.perk-chats .perk-ios-count-badge-inline {
  display: none !important;
}

/* line 22357, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

/* line 22368, app/assets/stylesheets/application.scss */
.perk-chats-action-cluster {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

/* line 22377, app/assets/stylesheets/application.scss */
.perk-chats-action-cluster.is-utility {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

/* line 22383, 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 22397, app/assets/stylesheets/application.scss */
.perk-chats-account-btn:hover,
.perk-chats-account-btn.is-active {
  background: transparent;
}

/* line 22402, app/assets/stylesheets/application.scss */
.perk-chats-account-btn:focus,
.perk-chats-account-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

/* line 22408, 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 22416, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--chat-chrome-btn);
  height: var(--chat-chrome-btn);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--chat-fill, #F2F2F7);
  color: var(--chat-ink, #1D1D1F);
  font-size: 14px;
  cursor: pointer;
  opacity: 1;
  transition: background var(--chat-ease, 180ms ease), color var(--chat-ease, 180ms ease);
}

/* line 22434, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button:hover,
.perk-chats-heading-actions .perk-icon-button.is-active {
  background: rgba(60, 60, 67, 0.12);
  border-color: transparent;
  color: var(--chat-ink, #1D1D1F);
  opacity: 1;
  box-shadow: none;
}

/* line 22443, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button:focus-visible {
  outline: 2px solid rgba(0, 122, 255, 0.35);
  outline-offset: 1px;
}

/* line 22448, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button.is-compose {
  background: var(--chat-primary, #007AFF);
  color: #fff;
  border-radius: 999px;
  opacity: 1;
  box-shadow: none;
}

/* line 22456, app/assets/stylesheets/application.scss */
.perk-chats-heading-actions .perk-icon-button.is-compose:hover,
.perk-chats-heading-actions .perk-icon-button.is-compose.is-active {
  background: var(--chat-accent-deep, #0066D6);
  color: #fff;
  filter: none;
  opacity: 1;
  box-shadow: none;
}

/* line 22465, app/assets/stylesheets/application.scss */
.perk-chats-filters {
  display: flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  /* Keep full chip height: overflow-x:auto would zero the flex min-size and let
     this bar shrink, clipping the pills top/bottom when the list is long. */
  min-height: 48px;
  padding: 8px var(--chat-chrome-pad-x, 16px) 10px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border-bottom: 1px solid transparent;
  background: transparent;
}

/* line 22483, app/assets/stylesheets/application.scss */
.perk-chats-filters::-webkit-scrollbar {
  display: none;
}

/* line 22487, app/assets/stylesheets/application.scss */
.perk-chats-filters-track {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  padding: 3px;
  border-radius: 10px;
  background: var(--chat-fill, #F2F2F7);
  box-sizing: border-box;
}

/* line 22499, app/assets/stylesheets/application.scss */
.perk-chats-filter {
  flex: 1 1 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  padding: 6px 8px;
  min-height: 28px;
  background: transparent;
  color: var(--chat-muted, #8E8E93);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--chat-ease, 180ms ease), color var(--chat-ease, 180ms ease), box-shadow var(--chat-ease, 180ms ease);
}

/* line 22517, app/assets/stylesheets/application.scss */
.perk-chats-filter:hover {
  color: var(--chat-ink, #1D1D1F);
}

/* line 22521, app/assets/stylesheets/application.scss */
.perk-chats-filter.is-on {
  background: #ffffff;
  color: var(--chat-ink, #1D1D1F);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

/* line 22528, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  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 22540, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal.hidden {
  display: none;
}

/* line 22544, 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 22560, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal .perk-chat-settings-menu {
  font-weight: 400;
}

/* line 22564, app/assets/stylesheets/application.scss */
.perk-chat-popover-modal .perk-chat-settings-menu::before {
  display: none;
}

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

/* line 22592, app/assets/stylesheets/application.scss */
.perk-chat-settings-menu.hidden {
  display: none;
}

/* line 22596, app/assets/stylesheets/application.scss */
.perk-chat-settings-header {
  padding: 16px 16px 12px;
}

/* line 22600, app/assets/stylesheets/application.scss */
.perk-chat-settings-header strong {
  display: block;
  color: #111827;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 22609, app/assets/stylesheets/application.scss */
.perk-chat-settings-header p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

/* line 22616, app/assets/stylesheets/application.scss */
.perk-chat-settings-section {
  padding: 4px 0;
  border-top: 1px solid #eef0f3;
}

/* line 22621, 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 22639, app/assets/stylesheets/application.scss */
.perk-chat-settings-item:hover {
  background: #f5f6f8;
  color: inherit;
}

/* line 22644, 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 22656, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 22663, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy strong {
  color: #111827;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

/* line 22670, app/assets/stylesheets/application.scss */
.perk-chat-settings-copy small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

/* line 22676, app/assets/stylesheets/application.scss */
.perk-chat-settings-chevron {
  color: #9ca3af;
  font-size: 12px;
}

/* line 22681, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

/* line 22689, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 22698, 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 22708, 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 22721, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span {
  background: #34c759;
}

/* line 22725, app/assets/stylesheets/application.scss */
.perk-chat-settings-switch input:checked + span::after {
  transform: translateX(20px);
}

/* line 22729, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 22735, app/assets/stylesheets/application.scss */
.perk-chat-settings-pane.hidden {
  display: none;
}

/* line 22739, 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: 400;
  font-size: 15px;
  padding: 4px 2px 8px;
  cursor: pointer;
  text-align: left;
}

/* line 22754, app/assets/stylesheets/application.scss */
.perk-chat-settings-back i {
  font-size: 18px;
  line-height: 1;
}

/* line 22759, app/assets/stylesheets/application.scss */
.perk-chat-settings-back:hover {
  color: var(--perk-ink-soft);
}

/* line 22763, app/assets/stylesheets/application.scss */
.perk-chat-settings-hint {
  margin: 0;
  padding: 0 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

/* line 22771, 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 22782, 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 22792, 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 22801, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 10px;
}

/* line 22809, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-row:hover {
  background: #f8f9fb;
}

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

/* line 22828, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 22834, 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 22842, 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 22850, 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 22858, 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: 400;
  cursor: pointer;
}

/* line 22870, app/assets/stylesheets/application.scss */
.perk-chat-settings-block-btn {
  background: #fee2e2;
  color: var(--perk-ink);
}

/* line 22875, app/assets/stylesheets/application.scss */
.perk-chat-settings-unblock {
  background: var(--perk-field);
  color: var(--perk-ink);
}

/* line 22880, app/assets/stylesheets/application.scss */
.floating-ai-panel.hide-read-receipts .floating-ai-msg-status {
  display: none;
}

/* line 22884, 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 22896, 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 22917, app/assets/stylesheets/application.scss */
.perk-create-chat-fab:hover {
  transform: translateY(-1px);
  background: rgba(23, 25, 29, 0.06);
  box-shadow: none;
}

/* line 22923, app/assets/stylesheets/application.scss */
.floating-ai.is-docked-above-create .floating-ai-bubble:not(.is-pinned) {
  animation: none;
}

/* line 22927, app/assets/stylesheets/application.scss */
.perk-chat-footer {
  /* Mockup chat list has no impressum strip — keep markup for a11y, hide visually. */
  display: none;
}

/* line 22932, app/assets/stylesheets/application.scss */
.perk-chat-footer-brand {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}

/* line 22940, 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 22950, app/assets/stylesheets/application.scss */
.perk-chat-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

/* line 22957, 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 22968, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a:first-child {
  padding-left: 0;
}

/* line 22972, 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 22985, app/assets/stylesheets/application.scss */
.perk-chat-footer-links a:hover {
  color: #000;
}

/* line 22989, 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 23006, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading {
  border-bottom: 0;
}

/* Chat list keeps a hairline under the title bar — Apple Calendar chrome. */
/* line 23011, app/assets/stylesheets/application.scss */
.perk-chats .perk-sidebar-heading {
  border-bottom: 1px solid var(--chat-chrome-line, rgba(60, 60, 67, 0.12));
}

/* line 23015, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading {
  min-height: 52px;
  height: 52px;
}

/* line 23020, 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 23030, 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 23039, app/assets/stylesheets/application.scss */
.perk-create-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.34);
  backdrop-filter: blur(7px);
}

/* line 23051, app/assets/stylesheets/application.scss */
.perk-create-chat-modal.hidden {
  display: none;
}

/* line 23055, 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 23066, 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 23075, app/assets/stylesheets/application.scss */
.perk-create-chat-card > header strong {
  color: #16191e;
  font-size: 15px;
}

/* line 23080, 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 23090, app/assets/stylesheets/application.scss */
.perk-create-chat-cancel {
  justify-self: start;
}

/* line 23094, app/assets/stylesheets/application.scss */
.perk-create-chat-next {
  justify-self: end;
}

/* line 23098, app/assets/stylesheets/application.scss */
.perk-create-chat-next:disabled {
  color: #b7bbc2;
  cursor: default;
}

/* line 23103, app/assets/stylesheets/application.scss */
.perk-create-chat-next.is-loading {
  opacity: 0.6;
  cursor: wait;
}

/* line 23108, app/assets/stylesheets/application.scss */
.perk-create-chat-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 130px);
}

/* line 23114, 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 23125, 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 23135, 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 23142, app/assets/stylesheets/application.scss */
.perk-create-chat-search {
  position: relative;
  margin: 10px 16px;
}

/* line 23147, 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 23156, 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 23164, app/assets/stylesheets/application.scss */
.perk-create-chat-people {
  min-height: 180px;
  overflow-y: auto;
  padding: 0 10px 14px;
}

/* line 23170, 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 23179, app/assets/stylesheets/application.scss */
.perk-create-chat-error {
  padding: 8px 18px;
  color: var(--perk-ink);
  text-align: left;
}

/* line 23185, 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 23196, app/assets/stylesheets/application.scss */
.perk-create-chat-person:hover {
  background: #f6f7f8;
}

/* line 23200, app/assets/stylesheets/application.scss */
.perk-create-chat-person > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* line 23207, 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 23222, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 23228, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy {
  min-width: 0;
}

/* line 23232, app/assets/stylesheets/application.scss */
.perk-create-chat-person-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

/* line 23239, 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 23247, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy strong {
  flex: 0 1 auto;
  min-width: 0;
  color: #25282d;
  font-size: 13px;
}

/* line 23254, app/assets/stylesheets/application.scss */
.perk-create-chat-person-copy small {
  margin-top: 3px;
  color: #8b919a;
  font-size: 11px;
}

/* line 23260, 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 23272, app/assets/stylesheets/application.scss */
.perk-create-chat-person input:checked ~ .perk-create-chat-check {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

/* line 23278, app/assets/stylesheets/application.scss */
body.perk-modal-open {
  overflow: hidden;
}

/* line 23282, 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 23297, app/assets/stylesheets/application.scss */
.perk-icon-button:hover {
  background: var(--perk-surface);
  border-color: var(--perk-line);
  color: var(--perk-ink);
}

/* line 23303, app/assets/stylesheets/application.scss */
.perk-feed-filters {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  box-sizing: border-box;
  border-bottom: 0;
}

/* line 23318, app/assets/stylesheets/application.scss */
.perk-feed-filters[hidden],
.perk-feed.is-peeks .perk-feed-filters {
  display: none !important;
}

/* line 23323, app/assets/stylesheets/application.scss */
.perk-feed-filters::-webkit-scrollbar {
  display: none;
}

/* line 23327, app/assets/stylesheets/application.scss */
.perk-feed-filters button {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  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, background 150ms ease;
}

/* line 23343, app/assets/stylesheets/application.scss */
.perk-feed-filters button::after {
  display: none;
}

/* line 23347, app/assets/stylesheets/application.scss */
.perk-feed-filters button:hover {
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
}

/* line 23352, app/assets/stylesheets/application.scss */
.perk-feed-filters button.active {
  background: transparent;
  border-color: transparent;
  color: var(--perk-ink);
  font-weight: 700;
}

/* line 23359, app/assets/stylesheets/application.scss */
.perk-feed.is-peeks .perk-feed-filters button {
  color: var(--perk-muted);
}

/* line 23363, app/assets/stylesheets/application.scss */
.perk-feed.is-peeks .perk-feed-filters button:hover,
.perk-feed.is-peeks .perk-feed-filters button.active {
  color: var(--perk-ink);
}

/* line 23368, app/assets/stylesheets/application.scss */
.perk-feed-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 10px 0 40px;
  -webkit-overflow-scrolling: touch;
}

/* line 23377, app/assets/stylesheets/application.scss */
.perk-feed-list::-webkit-scrollbar {
  display: none;
}

/* line 23381, 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 23395, 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 23404, 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 23411, app/assets/stylesheets/application.scss */
.perk-feed-section-head {
  padding: 0 18px 10px;
}

/* line 23415, 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 23423, app/assets/stylesheets/application.scss */
.perk-feed-section-head p {
  margin: 3px 0 0;
  color: var(--perk-muted-soft);
  font-size: 13px;
}

/* line 23429, app/assets/stylesheets/application.scss */
.perk-feed-section-head-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 23435, 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 23447, app/assets/stylesheets/application.scss */
.perk-feed-trend-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0 18px;
}

/* line 23454, 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 23470, 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 23476, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 10px;
}

/* line 23483, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* line 23489, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-feed-post-avatar {
  flex: 0 0 40px;
}

/* line 23493, app/assets/stylesheets/application.scss */
.perk-feed-suggestions-head .perk-avatar-fallback {
  width: 40px;
  height: 40px;
}

/* line 23498, 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 23512, app/assets/stylesheets/application.scss */
.perk-feed-suggest-scroller::-webkit-scrollbar {
  display: none;
}

/* line 23516, 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 23530, app/assets/stylesheets/application.scss */
.perk-feed-suggest-card:hover .perk-feed-suggest-photo {
  opacity: 0.92;
}

/* line 23534, 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 23546, 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 23555, 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 23565, 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 23576, 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 23589, 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 23600, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i,
.perk-feed-friend-activity .heroicon {
  font-size: 12px;
  width: 12px;
  height: 12px;
  color: var(--perk-ink);
  flex: 0 0 auto;
}

/* line 23609, app/assets/stylesheets/application.scss */
.perk-feed-friend-activity i.fa-comment {
  color: #8e8e93;
}

/* line 23613, app/assets/stylesheets/application.scss */
.perk-feed-post.has-friend-activity {
  padding-top: 12px;
}

/* line 23617, app/assets/stylesheets/application.scss */
.perk-feed-post-avatar {
  grid-column: 1;
  width: 40px;
}

/* line 23622, 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 23630, app/assets/stylesheets/application.scss */
.perk-feed-post-main {
  grid-column: 2;
  min-width: 0;
}

/* line 23635, app/assets/stylesheets/application.scss */
.perk-feed-post-body {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* line 23641, 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 23651, 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 23658, 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 23667, app/assets/stylesheets/application.scss */
.perk-feed-post-text.muted {
  color: #8e8e93;
}

/* line 23671, app/assets/stylesheets/application.scss */
.perk-feed-post-text .perk-inline-link {
  color: #0a84ff;
  text-decoration: none;
  font-weight: 500;
}

/* line 23677, app/assets/stylesheets/application.scss */
.perk-feed-post-text .perk-inline-link:hover {
  text-decoration: underline;
}

/* line 23681, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-slot,
.perk-create-post-link-preview {
  margin: 0 0 10px;
  min-width: 0;
}

/* line 23687, app/assets/stylesheets/application.scss */
.perk-feed-link-preview {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--perk-line);
  border-radius: var(--perk-radius-md);
  background: var(--perk-surface);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

/* line 23709, app/assets/stylesheets/application.scss */
.perk-feed-link-preview:hover {
  border-color: #d5d9e0;
  background: #fafbfc;
}

/* line 23714, app/assets/stylesheets/application.scss */
.perk-feed-link-preview:active {
  transform: scale(0.997);
}

/* line 23718, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-rich {
  flex-direction: column;
  background: var(--perk-surface);
}

/* line 23723, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-compact {
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--perk-field);
}

/* line 23730, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1115;
  overflow: hidden;
  flex: 0 0 auto;
}

/* line 23740, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.02) 46%, transparent 70%);
  pointer-events: none;
}

/* line 23749, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-media.is-playing::after {
  display: none;
}

/* line 23753, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-media img,
.perk-feed-link-preview-embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

/* line 23762, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-embed {
  position: absolute;
  inset: 0;
}

/* line 23767, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-media.is-playing {
  background: #000;
}

/* line 23771, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

/* line 23785, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-play.is-static {
  pointer-events: none;
}

/* line 23789, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-disc {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

/* line 23804, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-disc svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  display: block;
  fill: currentColor;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

/* line 23815, app/assets/stylesheets/application.scss */
.perk-feed-link-preview:hover .perk-feed-link-preview-disc,
.perk-feed-link-preview-play:hover .perk-feed-link-preview-disc {
  transform: scale(1.06);
  background: rgba(17, 17, 17, 0.72);
}

/* line 23821, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-playing .perk-feed-link-preview-play {
  display: none;
}

/* line 23825, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 132, 255, 0.1);
  color: #0a84ff;
  font-size: 18px;
}

/* line 23838, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
}

/* line 23847, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-rich .perk-feed-link-preview-body {
  background: var(--perk-field);
  border-top: 1px solid var(--perk-line-soft);
}

/* line 23852, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-compact .perk-feed-link-preview-body {
  padding: 0;
}

/* line 23856, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--perk-muted-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 23869, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-favicon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex: 0 0 14px;
  object-fit: contain;
  background: #fff;
}

/* line 23878, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-source-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 23885, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--perk-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 23897, app/assets/stylesheets/application.scss */
.perk-feed-quoted .perk-feed-link-preview-slot {
  margin: 8px 0 0;
}

/* line 23901, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-desc,
.perk-feed-link-preview-cta {
  font-size: 12px;
  line-height: 1.35;
  color: var(--perk-muted-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 23912, app/assets/stylesheets/application.scss */
.perk-feed-link-preview-cta {
  color: #0a84ff;
  font-weight: 500;
}

/* line 23917, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-loading .is-skeleton {
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.06));
  background-size: 200% 100%;
  animation: perk-feed-link-shimmer 1.1s ease-in-out infinite;
  min-height: 10px;
}

/* line 23926, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-loading .perk-feed-link-preview-media.is-skeleton {
  min-height: 0;
  border-radius: 0;
}

/* line 23931, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-loading .perk-feed-link-preview-source.is-skeleton {
  width: 72px;
  height: 10px;
}

/* line 23936, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-loading .perk-feed-link-preview-title.is-skeleton {
  width: 88%;
  height: 14px;
}

/* line 23941, app/assets/stylesheets/application.scss */
.perk-feed-link-preview.is-loading .perk-feed-link-preview-desc.is-skeleton {
  width: 64%;
  height: 10px;
}

@keyframes perk-feed-link-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* line 23951, app/assets/stylesheets/application.scss */
.perk-create-post-link-preview .perk-feed-link-preview {
  pointer-events: none;
}

/* line 23955, 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 23966, app/assets/stylesheets/application.scss */
a.perk-feed-quoted:hover {
  border-color: #d5d9e0;
  background: #eef0f3;
}

/* line 23971, app/assets/stylesheets/application.scss */
.perk-feed-quoted-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 23978, 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 23987, 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 23997, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 24004, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta strong {
  color: #111;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

/* line 24011, app/assets/stylesheets/application.scss */
.perk-feed-quoted-meta span {
  color: #8e8e93;
  font-size: 12px;
}

/* line 24016, 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 24025, 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 24036, app/assets/stylesheets/application.scss */
a.perk-feed-quoted-read:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 24041, app/assets/stylesheets/application.scss */
.perk-feed-quoted .perk-feed-post-media {
  margin: 0;
}

/* line 24045, app/assets/stylesheets/application.scss */
.perk-feed-post-media {
  display: grid;
  gap: 8px;
  margin: 6px 0 8px;
}

/* line 24051, 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 24059, 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 24070, 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 24076, 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 24087, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-video {
  cursor: pointer;
  background: #111;
}

/* line 24092, 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 24098, 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 24113, 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 24124, app/assets/stylesheets/application.scss */
.perk-feed-post-media-item.is-playing .perk-feed-video-badge {
  display: none;
}

/* line 24128, 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 24138, app/assets/stylesheets/application.scss */
.perk-feed-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

/* line 24145, 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 24162, app/assets/stylesheets/application.scss */
.perk-feed-actions button i,
.perk-feed-actions button .heroicon {
  width: 18px;
  height: 18px;
  font-size: 16px;
  line-height: 18px;
  flex: 0 0 18px;
  text-align: center;
  display: inline-block;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms ease, fill 160ms ease;
}

/* line 24174, app/assets/stylesheets/application.scss */
.perk-feed-actions button .heroicon {
  display: block;
}

/* line 24178, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fas {
  font-weight: 900;
}

/* line 24182, app/assets/stylesheets/application.scss */
.perk-feed-actions button .far {
  font-weight: 400;
}

/* Paper plane — same size as peers, slight Instagram-style lift. */
/* line 24187, app/assets/stylesheets/application.scss */
.perk-feed-actions button .fa-paper-plane,
.perk-feed-actions button[aria-label="Share"] .heroicon {
  transform: rotate(-18deg) translateY(-0.5px);
}

/* line 24192, 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 24200, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover {
  color: #737373;
}

/* line 24204, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover span {
  color: #8e8e8e;
}

/* line 24208, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover i,
.perk-feed-actions button:hover .heroicon {
  transform: scale(1.08);
}

/* line 24213, app/assets/stylesheets/application.scss */
.perk-feed-actions button:hover .fa-paper-plane,
.perk-feed-actions button[aria-label="Share"]:hover .heroicon {
  transform: rotate(-18deg) translateY(-0.5px) scale(1.08);
}

/* line 24218, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active {
  opacity: 0.72;
}

/* line 24222, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active i,
.perk-feed-actions button:active .heroicon {
  transform: scale(0.92);
}

/* line 24227, app/assets/stylesheets/application.scss */
.perk-feed-actions button:active .fa-paper-plane,
.perk-feed-actions button[aria-label="Share"]:active .heroicon {
  transform: rotate(-18deg) translateY(-0.5px) scale(0.92);
}

/* line 24232, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked {
  color: var(--perk-ink);
}

/* line 24236, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked i,
.perk-feed-actions button.is-liked .heroicon {
  color: var(--perk-ink);
  animation: perk-feed-like-pop 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* line 24242, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked .heroicon.is-solid {
  fill: currentColor;
}

/* line 24246, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-liked span {
  color: var(--perk-ink);
}

/* line 24250, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-saved,
.perk-feed-actions button.is-saved i,
.perk-feed-actions button.is-saved .heroicon {
  color: #262626;
}

/* line 24256, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-saved i,
.perk-feed-actions button.is-saved .heroicon {
  animation: perk-feed-save-pop 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* line 24261, app/assets/stylesheets/application.scss */
.perk-feed-actions button.is-saved .heroicon.is-solid {
  fill: currentColor;
}

@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 24279, app/assets/stylesheets/application.scss */
  .perk-feed-actions button.is-liked i,
.perk-feed-actions button.is-liked .heroicon,
.perk-feed-actions button.is-saved i,
.perk-feed-actions button.is-saved .heroicon {
    animation: none;
  }
}

/* line 24287, app/assets/stylesheets/application.scss */
.perk-feed-actions-spacer {
  flex: 1 1 auto;
}

/* line 24291, app/assets/stylesheets/application.scss */
.perk-feed-post-empty {
  border-bottom: 0;
}

/* line 24295, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  --hub-tabbar-h: 48px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

/* line 24303, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub {
  --hub-peek-bleed: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8dce2 transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-padding-top: 0;
  padding: 0 28px 24px;
  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 24322, 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: #fff;
  border-bottom: 1px solid rgba(23, 25, 29, 0.1);
}

/* Overlay apps fill the center pane. Home chrome lives in the workspace grid
   row above, so these start at top:0 (not under a duplicate tab-bar offset). */
/* line 24335, 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 > .crm-hub,
.perk-workspace-center > .erp-hub,
.perk-workspace-center > .hrm-hub,
.perk-workspace-center > .companion-hub,
.perk-workspace-center > .create-ppt,
.perk-workspace-center > .create-doc,
.perk-workspace-center > .create-excel,
.perk-workspace-center > .pdf-tools {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  min-height: 0;
}

/* line 24367, app/assets/stylesheets/application.scss */
.perk-workspace-center .perk-browser-toolbar {
  top: 0;
  margin: 0 -28px;
  padding-left: 14px;
  padding-right: 14px;
}

/* line 24374, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-browsing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}

/* line 24381, 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 24390, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-browser-frame,
.perk-workspace-center .hub-browser-iframe {
  height: 100%;
  min-height: 0;
}

/* line 24396, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub-inner {
  max-width: 630px;
  gap: 22px;
}

/* line 24401, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shopping {
  max-width: 630px;
  margin: 0 auto;
}

/* line 24406, 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 24414, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
  max-width: 1080px;
}

/* line 24418, app/assets/stylesheets/application.scss */
.perk-workspace.is-feed-closed .perk-workspace-center .ai-characters-panel {
  max-width: none;
}

/* line 24422, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub.is-shopping,
.perk-workspace-center .browser-hub.is-characters {
  padding-top: 0;
}

/* line 24427, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub > .browser-hub-inner,
.perk-workspace-center .browser-hub > .hub-shopping {
  /* Chrome is in the grid row above — no in-pane tab-bar clearance. */
  padding-top: 12px;
}

/* line 24433, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub .ai-characters-panel {
  padding-top: 0;
}

/* line 24437, app/assets/stylesheets/application.scss */
.perk-workspace-center .browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  flex: 1 1 auto;
  justify-content: flex-start;
  padding-top: 18px;
  background: transparent;
}

/* line 24444, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-apps-launcher) .perk-workspace-center .browser-hub > .browser-hub-inner[data-hub-panel="apps"] {
  min-height: 100%;
  justify-content: flex-start;
}

/* line 24449, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-chat-menu-btn {
  top: 12px;
}

/* line 24453, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-locket-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: calc(100% + (2 * var(--hub-peek-bleed, 28px)));
  max-width: none;
  margin-inline: calc(-1 * var(--hub-peek-bleed, 28px));
  align-self: stretch;
  background: transparent;
}

/* line 24465, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-peek-row-wrap {
  --hub-peek-tile-size: clamp(132px, 22cqi, 176px);
  --hub-peek-row-pad-x: 48px;
  --hub-peek-edge-fade: 32px;
}

/* line 24471, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app,
.perk-workspace-center .hub-shortcut {
  border-radius: 18px;
  padding: 10px 6px 8px;
}

/* line 24477, 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 24482, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

/* line 24488, app/assets/stylesheets/application.scss */
.perk-workspace-center .hub-shortcuts {
  padding-top: 8px;
  border-top: 1px solid var(--perk-line);
}

/* line 24493, app/assets/stylesheets/application.scss */
.perk-chat-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.34);
  backdrop-filter: blur(7px);
}

/* line 24505, app/assets/stylesheets/application.scss */
.perk-chat-search-modal.hidden {
  display: none;
}

/* line 24509, 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 24522, app/assets/stylesheets/application.scss */
.perk-chat-search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 16px 10px;
}

/* line 24530, 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 24543, 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 24556, 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 24560, 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 24577, app/assets/stylesheets/application.scss */
.perk-chat-search-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--perk-ink);
}

/* line 24582, app/assets/stylesheets/application.scss */
.perk-chat-search-scopes {
  display: flex;
  gap: 2px;
  padding: 0 12px;
  border-bottom: 1px solid var(--perk-line);
}

/* line 24589, 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 24602, app/assets/stylesheets/application.scss */
.perk-chat-search-scope:hover {
  color: var(--perk-ink);
}

/* line 24606, app/assets/stylesheets/application.scss */
.perk-chat-search-scope.is-active {
  border-bottom-color: #17191d;
  background: transparent;
  color: #17191d;
}

/* line 24612, 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 24619, 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 24628, app/assets/stylesheets/application.scss */
.perk-chat-search-empty {
  margin: 0;
  padding: 36px 16px;
  color: #747b85;
  font-size: 13px;
  text-align: center;
}

/* line 24636, 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 24651, app/assets/stylesheets/application.scss */
.perk-chat-search-row:hover {
  background: #f6f7f8;
}

/* line 24655, 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 24670, app/assets/stylesheets/application.scss */
.perk-chat-search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 24676, app/assets/stylesheets/application.scss */
.perk-chat-search-avatar.is-group {
  border-radius: 14px;
  background: linear-gradient(145deg, #4b5563, #111827);
}

/* line 24681, app/assets/stylesheets/application.scss */
.perk-chat-search-copy {
  min-width: 0;
}

/* line 24685, 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 24693, app/assets/stylesheets/application.scss */
.perk-chat-search-copy strong {
  color: #25282d;
  font-size: 13px;
}

/* line 24698, app/assets/stylesheets/application.scss */
.perk-chat-search-copy small {
  margin-top: 3px;
  color: #8b919a;
  font-size: 11px;
}

/* Thread replies (bell) */
/* line 24705, app/assets/stylesheets/application.scss */
.perk-chat-threads-toggle {
  position: relative;
}

/* line 24709, app/assets/stylesheets/application.scss */
.perk-chat-threads-toggle .perk-ios-count-badge {
  top: -4px;
  right: -6px;
}

/* line 24714, app/assets/stylesheets/application.scss */
.perk-threads-pop {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

/* line 24720, app/assets/stylesheets/application.scss */
.perk-threads-pop.hidden {
  display: none;
}

/* line 24724, app/assets/stylesheets/application.scss */
.perk-threads-pop-card {
  position: fixed;
  top: 64px;
  left: 16px;
  display: flex;
  flex-direction: column;
  width: 372px;
  max-width: calc(100vw - 32px);
  max-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
  animation: perk-threads-pop-in 0.14s ease-out;
}

@keyframes perk-threads-pop-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* line 24746, app/assets/stylesheets/application.scss */
.perk-threads-pop-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 8px 16px;
}

/* line 24755, app/assets/stylesheets/application.scss */
.perk-threads-pop-head h2 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 24763, app/assets/stylesheets/application.scss */
.perk-threads-pop-link {
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 4px 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

/* line 24774, app/assets/stylesheets/application.scss */
.perk-threads-pop-link:hover {
  background: #f3f4f6;
  color: #111827;
}

/* line 24779, app/assets/stylesheets/application.scss */
.perk-threads-pop-link[hidden] {
  display: none;
}

/* line 24783, app/assets/stylesheets/application.scss */
.perk-threads-pop-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 6px 6px;
}

/* line 24791, app/assets/stylesheets/application.scss */
.perk-threads-section {
  padding: 10px 10px 4px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* line 24800, app/assets/stylesheets/application.scss */
.perk-thread-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 10px;
  gap: 10px;
  align-items: start;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

/* line 24814, app/assets/stylesheets/application.scss */
.perk-thread-item:hover,
.perk-thread-item:focus-visible {
  background: #f5f6f7;
  outline: none;
}

/* line 24820, app/assets/stylesheets/application.scss */
.perk-thread-item-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* line 24833, app/assets/stylesheets/application.scss */
.perk-thread-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 24839, app/assets/stylesheets/application.scss */
.perk-thread-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 24846, app/assets/stylesheets/application.scss */
.perk-thread-item-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

/* line 24853, app/assets/stylesheets/application.scss */
.perk-thread-item-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 24864, app/assets/stylesheets/application.scss */
.perk-thread-item-title b {
  color: #111827;
  font-weight: 600;
}

/* line 24869, app/assets/stylesheets/application.scss */
.perk-thread-item-line time {
  flex: none;
  color: #9ca3af;
  font-size: 11.5px;
}

/* line 24875, app/assets/stylesheets/application.scss */
.perk-thread-item-preview,
.perk-thread-item-root {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 24882, app/assets/stylesheets/application.scss */
.perk-thread-item-preview {
  color: #374151;
  font-size: 13px;
  line-height: 1.35;
}

/* line 24888, app/assets/stylesheets/application.scss */
.perk-thread-item-root {
  margin-top: 1px;
  color: #9ca3af;
  font-size: 12px;
}

/* line 24894, app/assets/stylesheets/application.scss */
.perk-thread-item-dot {
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* line 24901, app/assets/stylesheets/application.scss */
.perk-thread-item.is-unread .perk-thread-item-dot {
  background: #2563eb;
}

/* line 24905, app/assets/stylesheets/application.scss */
.perk-thread-item.is-unread .perk-thread-item-line time {
  color: #2563eb;
  font-weight: 600;
}

/* line 24910, app/assets/stylesheets/application.scss */
.perk-thread-item.is-unread .perk-thread-item-preview {
  color: #111827;
  font-weight: 500;
}

/* line 24915, app/assets/stylesheets/application.scss */
.perk-thread-item:not(.is-unread) .perk-thread-item-avatar {
  opacity: 0.85;
}

/* line 24919, app/assets/stylesheets/application.scss */
.perk-threads-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 16px 40px;
  color: #9ca3af;
  font-size: 13px;
}

/* line 24929, app/assets/stylesheets/application.scss */
.perk-threads-empty svg {
  width: 28px;
  height: 28px;
  color: #d1d5db;
}

/* line 24935, app/assets/stylesheets/application.scss */
.perk-chat-list {
  padding: 0;
}

/* line 24939, 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 24949, app/assets/stylesheets/application.scss */
.perk-chat-ai-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 122, 255, 0.1);
  border: 0;
  color: var(--chat-accent-deep, #0066d6);
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
  vertical-align: middle;
}

/* line 24968, app/assets/stylesheets/application.scss */
.perk-chat-avatar-ai {
  overflow: hidden;
  background: linear-gradient(135deg, #007aff 0%, #5B8CFF 100%);
  color: #fff;
}

/* line 24974, 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 24984, app/assets/stylesheets/application.scss */
.perk-create-chat-avatar.is-ai {
  overflow: hidden;
  background: linear-gradient(145deg, #17191d, #4b5563);
}

/* line 24989, app/assets/stylesheets/application.scss */
.perk-chat-row {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 9px 10px 9px 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--chat-ink, var(--perk-ink));
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: background var(--chat-ease, 160ms ease);
}

/* display:grid above beats Tailwind .hidden */
/* line 25012, app/assets/stylesheets/application.scss */
.perk-chat-row.hidden,
.perk-chat-section-label.hidden {
  display: none;
}

/* line 25017, app/assets/stylesheets/application.scss */
.perk-chat-row:hover {
  background: var(--chat-fill, #F2F2F7);
  color: var(--chat-ink, var(--perk-ink));
}

/* line 25022, app/assets/stylesheets/application.scss */
.perk-chat-row.is-active {
  background: var(--chat-fill, #F2F2F7);
  box-shadow: none;
  border-radius: 12px;
}

/* line 25028, app/assets/stylesheets/application.scss */
.perk-chat-row.is-active::before {
  display: none;
}

/* line 25032, app/assets/stylesheets/application.scss */
.perk-chat-row.is-active:hover {
  background: var(--chat-fill, #F2F2F7);
}

/* line 25036, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread {
  background: transparent;
  color: var(--chat-ink, var(--perk-ink));
}

/* line 25041, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-copy strong {
  font-weight: 600;
  color: var(--chat-ink, #1D1D1F);
}

/* line 25046, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread:hover {
  background: var(--chat-fill, #F2F2F7);
  color: var(--chat-ink, var(--perk-ink));
}

/* line 25051, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread.is-active {
  background: var(--chat-fill, #F2F2F7);
}

/* line 25055, app/assets/stylesheets/application.scss */
.perk-chat-fav {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--chat-muted, #8B93A7);
  opacity: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: opacity var(--chat-ease, 180ms ease), color var(--chat-ease, 180ms ease), background var(--chat-ease, 180ms ease);
}

/* line 25075, app/assets/stylesheets/application.scss */
.perk-chat-row:hover .perk-chat-fav,
.perk-chat-row.is-favorite .perk-chat-fav,
.perk-chat-fav:focus-visible {
  opacity: 1;
}

/* line 25081, app/assets/stylesheets/application.scss */
.perk-chat-fav .heroicon,
.perk-chat-fav svg {
  width: 12px;
  height: 12px;
}

/* line 25087, app/assets/stylesheets/application.scss */
.perk-chat-row.is-favorite .perk-chat-fav,
.perk-chat-fav.is-on {
  color: #F59E0B;
  opacity: 1;
}

/* line 25093, app/assets/stylesheets/application.scss */
.perk-chat-fav:hover {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
}

/* line 25098, app/assets/stylesheets/application.scss */
.perk-chat-empty {
  padding: 18px 14px;
  color: var(--perk-muted);
  font-size: 13px;
  line-height: 1.45;
}

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

/* Larger avatars in the left chat list only (not chat window header). */
/* line 25122, app/assets/stylesheets/application.scss */
.perk-chat-row .perk-chat-avatar {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

/* line 25128, app/assets/stylesheets/application.scss */
.perk-chat-avatar.is-group-collage {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* line 25136, app/assets/stylesheets/application.scss */
.perk-chat-row .perk-chat-avatar.is-group-collage {
  width: 52px;
  height: 52px;
}

/* line 25141, app/assets/stylesheets/application.scss */
.perk-chat-avatar-p {
  background: linear-gradient(145deg, #111, #4f5968);
}

/* line 25142, app/assets/stylesheets/application.scss */
.perk-chat-avatar-m {
  background: linear-gradient(145deg, #4b5563, #17191d);
}

/* line 25144, app/assets/stylesheets/application.scss */
.perk-chat-avatar:not(.is-group-collage) > img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* line 25151, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
}

/* line 25159, 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 25166, 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 25177, 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 25183, 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 25189, 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 25195, 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 25202, app/assets/stylesheets/application.scss */
.perk-group-avatar-grid[data-layout="triangle"] {
  display: block;
  position: relative;
}

/* line 25207, 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 25218, 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 25225, 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 25231, 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 25237, 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 25253, app/assets/stylesheets/application.scss */
.perk-group-avatar-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* line 25261, 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 25274, 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 25287, app/assets/stylesheets/application.scss */
.perk-group-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

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

/* line 25319, app/assets/stylesheets/application.scss */
.perk-chat-copy-top,
.perk-chat-copy-bottom {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

/* line 25327, app/assets/stylesheets/application.scss */
.perk-chat-copy-bottom {
  align-items: center;
}

/* line 25331, app/assets/stylesheets/application.scss */
.perk-chat-copy-bottom[hidden] {
  display: none !important;
}

/* line 25335, app/assets/stylesheets/application.scss */
.perk-chat-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

/* line 25343, 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: #1d1d1f;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* line 25357, app/assets/stylesheets/application.scss */
.perk-chat-time {
  flex: 0 0 auto;
  color: var(--chat-muted, #8E8E93);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* line 25367, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-time {
  color: var(--chat-accent, #007AFF);
  font-weight: 600;
}

/* line 25372, 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: var(--chat-muted, #8E8E93);
  font-size: 12.5px;
  font-weight: 350;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* line 25386, app/assets/stylesheets/application.scss */
.perk-chat-row.is-unread .perk-chat-preview {
  color: var(--chat-ink, #1D1D1F);
  font-weight: 400;
}

/* line 25391, app/assets/stylesheets/application.scss */
.perk-chat-preview .perk-mention-link,
.perk-chat-row.is-unread .perk-chat-preview .perk-mention-link {
  color: #007aff;
  font-weight: 550;
}

/* line 25397, app/assets/stylesheets/application.scss */
.perk-chat-preview[hidden] {
  display: none !important;
}

/* line 25401, app/assets/stylesheets/application.scss */
.perk-chat-unread-pip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--chat-accent, #007aff);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow: none;
}

/* line 25419, app/assets/stylesheets/application.scss */
.perk-chat-unread-pip[hidden] {
  display: none !important;
}

/* line 25423, 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 25433, 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 25440, 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 25454, app/assets/stylesheets/application.scss */
.perk-chat-signin-button:hover {
  color: #fff;
  background: var(--perk-ink-soft);
  transform: translateY(-1px);
}

/* line 25460, app/assets/stylesheets/application.scss */
.floating-ai-panel-head {
  cursor: grab;
  user-select: none;
}

/* line 25465, app/assets/stylesheets/application.scss */
.floating-ai-panel-head:active,
.floating-ai.is-dragging .floating-ai-panel-head {
  cursor: grabbing;
}

/* Message list (#floating-ai-messages.floating-ai-panel-body): stack rows,
   keep call-history cards centered, never stretch bubbles to full width. */
/* line 25472, app/assets/stylesheets/application.scss */
.floating-ai-panel-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

/* line 25479, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-row {
  width: 100%;
  flex: 0 0 auto;
}

/* line 25484, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-call-history-stack,
.floating-ai-panel-body > .floating-ai-call-history {
  flex: 0 0 auto;
}

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

/* line 25504, 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 25514, app/assets/stylesheets/application.scss */
.floating-ai-theme-picker-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  color: #111;
}

/* line 25521, 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 25532, app/assets/stylesheets/application.scss */
.floating-ai-theme-text-btn.is-strong {
  color: #111;
  font-weight: 650;
  text-align: right;
}

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

/* line 25552, app/assets/stylesheets/application.scss */
.floating-ai-theme-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 25558, 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 25577, app/assets/stylesheets/application.scss */
.floating-ai-theme-action i {
  font-size: 20px;
}

/* line 25581, app/assets/stylesheets/application.scss */
.floating-ai-theme-action:hover {
  background: #e8eaed;
}

/* line 25585, app/assets/stylesheets/application.scss */
.floating-ai-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
}

/* line 25591, 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 25604, 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 25615, 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 25619, 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 25629, 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 25638, app/assets/stylesheets/application.scss */
.floating-ai-theme-hint {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* line 25646, app/assets/stylesheets/application.scss */
.floating-ai-theme-moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 25652, 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 25665, 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 25673, 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 25677, app/assets/stylesheets/application.scss */
.floating-ai-theme-mood-label {
  font-size: 13px;
  font-weight: 650;
}

/* line 25682, 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 25696, app/assets/stylesheets/application.scss */
.floating-ai-theme-apply:hover {
  background: #000;
}

/* line 25700, app/assets/stylesheets/application.scss */
.floating-ai-msg-user {
  background: var(--chat-outgoing, #007aff);
  color: #ffffff;
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  font-weight: 400;
  box-shadow: none;
}

/* line 25709, app/assets/stylesheets/application.scss */
.floating-ai-msg-bot {
  border: 0;
  border-radius: var(--chat-bubble-r, 18px);
  box-shadow: none;
}

/* Bare greeting bubble (no row wrapper) still aligns left. */
/* line 25716, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-bot {
  align-self: flex-start;
}

/* line 25720, app/assets/stylesheets/application.scss */
.floating-ai-panel-body > .floating-ai-msg-user {
  align-self: flex-end;
}

@media (max-width: 1180px) {
  /* line 25725, app/assets/stylesheets/application.scss */
  body.perk-home {
    --perk-chat-col-min: 164px;
    --perk-chat-col-max: 224px;
  }
  /* Legacy chat-column grid — skip when the home rail owns the columns. */
  /* line 25731, app/assets/stylesheets/application.scss */
  .perk-workspace:not(.has-home-rail) {
    grid-template-columns: minmax(0, 1fr) minmax(var(--perk-chat-col-min, 164px), var(--perk-chat-col-max, 224px));
  }
  /* line 25735, app/assets/stylesheets/application.scss */
  .hub-home #main-header nav {
    display: none;
  }
}

@media (max-width: 1020px) {
  /* line 25741, app/assets/stylesheets/application.scss */
  body.perk-home {
    --perk-chat-col-min: 164px;
    --perk-chat-col-max: 224px;
  }
  /* line 25746, app/assets/stylesheets/application.scss */
  .perk-workspace:not(.has-home-rail) {
    grid-template-columns: minmax(0, 1fr) minmax(var(--perk-chat-col-min, 164px), var(--perk-chat-col-max, 224px));
  }
}

@media (max-width: 900px) {
  /* line 25752, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-feed-list {
    max-width: var(--feed-content-width);
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 760px) {
  /* line 25760, app/assets/stylesheets/application.scss */
  .perk-workspace:not(.has-home-rail) {
    display: block;
    overflow: auto;
  }
  /* line 25765, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed:not(.has-home-rail) .perk-feed {
    display: block;
  }
  /* line 25769, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-feed {
    display: none;
  }
  /* line 25773, 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 25778, app/assets/stylesheets/application.scss */
  .perk-workspace.is-center-closed .perk-workspace-center {
    display: none;
  }
  /* line 25782, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed:not(.has-home-rail) .perk-workspace-center {
    display: block;
    min-height: calc(100vh - var(--perk-bar-h));
  }
  /* line 25787, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail.is-feed-closed .perk-workspace-center {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }
  /* line 25794, app/assets/stylesheets/application.scss */
  .perk-workspace.has-home-rail.is-center-closed > .perk-feed {
    display: flex;
    min-height: 0;
    height: 100%;
  }
  /* line 25800, 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 > .crm-hub,
.perk-workspace-center > .erp-hub,
.perk-workspace-center > .erp-hub,
.perk-workspace-center > .hrm-hub,
.perk-workspace-center > .companion-hub,
.perk-workspace-center > .create-ppt,
.perk-workspace-center > .create-doc,
.perk-workspace-center > .create-excel,
.perk-workspace-center > .pdf-tools {
    min-height: 0;
  }
  /* line 25827, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .hub-styles-grid {
    column-count: 2;
  }
  /* line 25831, app/assets/stylesheets/application.scss */
  .perk-workspace.is-feed-closed .perk-workspace-center .hub-shopping {
    max-width: 630px;
  }
  /* line 25835, 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 25842, app/assets/stylesheets/application.scss */
.perk-site-footer {
  background: var(--perk-surface);
  color: var(--perk-muted);
  font-size: 13px;
}

/* line 25848, 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 25855, app/assets/stylesheets/application.scss */
.perk-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 18px 0;
}

/* line 25863, app/assets/stylesheets/application.scss */
.perk-site-footer a {
  color: var(--perk-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

/* line 25869, app/assets/stylesheets/application.scss */
.perk-site-footer a:hover {
  color: var(--perk-ink);
}

/* line 25873, app/assets/stylesheets/application.scss */
.perk-page-content {
  min-height: 100vh;
  padding-top: var(--perk-bar-h);
  background: var(--perk-canvas-wash);
}

/* line 25879, app/assets/stylesheets/application.scss */
.perk-page-content > .hub-home {
  margin-top: calc(var(--perk-bar-h) * -1);
}

/* line 25883, app/assets/stylesheets/application.scss */
.perk-management-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  height: var(--perk-bar-h);
  border-bottom: 1px solid var(--perk-glass-border, rgba(60, 60, 67, 0.18));
  background: var(--perk-glass, rgba(255, 255, 255, 0.72));
  color: var(--perk-ink);
  -webkit-backdrop-filter: var(--perk-blur, blur(20px) saturate(180%));
  backdrop-filter: var(--perk-blur, blur(20px) saturate(180%));
  box-shadow: none;
}

/* line 25896, 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 25905, app/assets/stylesheets/application.scss */
.perk-management-left,
.perk-management-right {
  display: flex;
  align-items: center;
  gap: var(--perk-space-4);
}

/* line 25912, 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 25925, 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 25936, 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 25959, app/assets/stylesheets/application.scss */
.perk-ios-count-badge[hidden],
.perk-ios-count-badge.is-empty {
  display: none !important;
}

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

/* Home rail badges — must follow .perk-ios-count-badge so absolute does not win.
   Expanded: inline after the label (mid-bar). Collapsed / icon rail: icon corner. */
/* line 25976, app/assets/stylesheets/application.scss */
.perk-workspace:not(.is-rail-collapsed) .perk-ios-count-badge.perk-home-rail-badge {
  position: static !important;
  top: auto !important;
  right: auto !important;
  flex: 0 0 auto;
  margin-left: 6px;
  transform: none;
}

/* line 25985, app/assets/stylesheets/application.scss */
.perk-workspace.is-rail-collapsed .perk-ios-count-badge.perk-home-rail-badge {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  margin-left: 0;
}

/* line 25992, app/assets/stylesheets/application.scss */
.perk-activity-host {
  display: inline-flex;
  align-items: center;
}

/* line 25997, 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 26012, app/assets/stylesheets/application.scss */
button.perk-management-brand-mark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* line 26019, app/assets/stylesheets/application.scss */
button.perk-management-brand-name,
a.perk-management-brand-name {
  display: inline-flex;
  align-items: center;
  height: 30px;
}

/* line 26026, app/assets/stylesheets/application.scss */
.perk-activity-overlay {
  position: fixed;
  top: var(--perk-bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  /* Above chrome (1200) and chat-layer-when-modal (1300) so Activity works in Chat. */
  z-index: 1600;
  display: none;
  align-items: stretch;
  justify-content: flex-start;
  padding: 12px;
  box-sizing: border-box;
  background: transparent;
}

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

/* line 26046, app/assets/stylesheets/application.scss */
.perk-activity-overlay:not(.hidden) {
  display: flex;
}

/* line 26050, app/assets/stylesheets/application.scss */
.perk-activity-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  border-radius: var(--perk-radius-xl, 22px);
  background: var(--perk-glass-strong, rgba(255, 255, 255, 0.88));
  -webkit-backdrop-filter: var(--perk-blur, blur(20px) saturate(180%));
  backdrop-filter: var(--perk-blur, blur(20px) saturate(180%));
  box-shadow: var(--perk-shadow-lg);
  overflow: hidden;
  border: 1px solid var(--perk-glass-border, rgba(60, 60, 67, 0.18));
}

/* line 26065, 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 var(--perk-line, rgba(60, 60, 67, 0.12));
  background: transparent;
}

/* line 26076, 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 26085, app/assets/stylesheets/application.scss */
.perk-activity-back,
.perk-activity-head-spacer {
  width: 44px;
  height: 44px;
}

/* line 26091, 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 26103, app/assets/stylesheets/application.scss */
.perk-activity-back:hover {
  background: #f3f3f5;
}

/* line 26107, 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 26121, app/assets/stylesheets/application.scss */
.perk-activity-loading[hidden],
.perk-activity-empty[hidden],
.perk-activity-scroll[hidden] {
  display: none !important;
}

/* line 26127, app/assets/stylesheets/application.scss */
.perk-activity-loading i,
.perk-activity-empty i {
  font-size: 34px;
  color: #b0b0b8;
}

/* line 26133, app/assets/stylesheets/application.scss */
.perk-activity-empty strong {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* line 26139, app/assets/stylesheets/application.scss */
.perk-activity-empty p {
  margin: 0;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.4;
  color: #6b6b73;
}

/* line 26147, 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 26155, app/assets/stylesheets/application.scss */
.perk-activity-section {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 10px 16px 4px;
  background: #fff;
}

/* line 26166, app/assets/stylesheets/application.scss */
.perk-activity-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #6b6b73;
}

/* line 26173, 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 26185, app/assets/stylesheets/application.scss */
.perk-activity-row.is-friend-invite {
  cursor: default;
}

/* line 26189, app/assets/stylesheets/application.scss */
.perk-activity-row.is-unviewed {
  background: #f5f7fb;
}

/* line 26193, app/assets/stylesheets/application.scss */
.perk-activity-row:hover {
  background: #f3f3f5;
}

/* line 26197, app/assets/stylesheets/application.scss */
.perk-activity-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* line 26203, 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 26214, app/assets/stylesheets/application.scss */
.perk-activity-action:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 26219, app/assets/stylesheets/application.scss */
.perk-activity-action.is-accept {
  background: #1a78f2;
  color: #fff;
}

/* line 26224, app/assets/stylesheets/application.scss */
.perk-activity-action.is-decline {
  background: #ececf0;
  color: #111;
}

/* line 26229, 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 26239, 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 26255, 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 26271, app/assets/stylesheets/application.scss */
.perk-activity-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

/* line 26279, app/assets/stylesheets/application.scss */
.perk-activity-text {
  font-size: 15px;
  line-height: 1.35;
  color: #111;
}

/* line 26285, app/assets/stylesheets/application.scss */
.perk-activity-text strong {
  font-weight: 700;
}

/* line 26289, app/assets/stylesheets/application.scss */
.perk-activity-time {
  font-size: 13px;
  color: #8e8e93;
}

@media (max-width: 720px) {
  /* line 26295, app/assets/stylesheets/application.scss */
  .perk-activity-sheet {
    max-width: none;
  }
}

/* line 26300, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 26308, app/assets/stylesheets/application.scss */
.perk-feed > .perk-sidebar-heading .perk-sidebar-heading-title {
  gap: 12px;
}

/* line 26312, app/assets/stylesheets/application.scss */
.perk-sidebar-heading-title h2 {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* line 26318, app/assets/stylesheets/application.scss */
.perk-feed-mode {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border-radius: 999px;
  border: 0;
  background: #fff;
}

/* line 26328, app/assets/stylesheets/application.scss */
.perk-feed-mode-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

/* line 26348, app/assets/stylesheets/application.scss */
.perk-feed-mode-btn.is-selected {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  font-weight: 600;
}

/* line 26354, app/assets/stylesheets/application.scss */
.perk-feed-title-menu {
  display: none !important;
}

/* line 26358, app/assets/stylesheets/application.scss */
.perk-feed-peeks {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--perk-surface);
  color: var(--perk-ink);
}

/* line 26367, app/assets/stylesheets/application.scss */
.perk-feed-peeks[hidden] {
  display: none !important;
}

/* line 26371, app/assets/stylesheets/application.scss */
.perk-feed.is-peeks .perk-feed-list {
  display: none !important;
}

/* line 26375, app/assets/stylesheets/application.scss */
.perk-feed.is-peeks > .perk-sidebar-heading {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 0;
  color: var(--perk-ink);
}

/* line 26381, app/assets/stylesheets/application.scss */
.perk-feed-peeks-views {
  display: none;
}

/* line 26385, app/assets/stylesheets/application.scss */
.perk-feed.is-peeks .perk-feed-peeks-views {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  border-radius: 22px;
  background: rgba(23, 25, 29, 0.06);
}

/* line 26394, app/assets/stylesheets/application.scss */
.perk-feed-peeks-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 36px;
  height: 32px;
  border: 0;
  border-radius: 18px;
  color: var(--perk-muted);
  cursor: pointer;
  background: transparent;
}

/* line 26408, app/assets/stylesheets/application.scss */
.perk-feed-peeks-view-btn.is-active {
  background: rgba(23, 25, 29, 0.1);
  color: var(--perk-ink);
}

/* line 26413, app/assets/stylesheets/application.scss */
.perk-feed-peeks-view-btn:hover {
  color: var(--perk-ink);
  background: rgba(23, 25, 29, 0.12);
}

/* line 26418, app/assets/stylesheets/application.scss */
.perk-feed-peeks-stage {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

/* line 26428, app/assets/stylesheets/application.scss */
.perk-feed-peeks-stage.is-calendar {
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  touch-action: none;
}

/* line 26435, app/assets/stylesheets/application.scss */
.perk-feed-peeks-stage.is-calendar .perk-feed-peeks-calendar {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* line 26442, app/assets/stylesheets/application.scss */
.perk-feed-peeks-stage.is-calendar .hub-peek-calendar-month {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* line 26449, app/assets/stylesheets/application.scss */
.perk-feed-peeks-stage.is-calendar .hub-peek-calendar-grid {
  flex: 1 1 auto;
  min-height: 0;
  grid-auto-rows: minmax(0, 1fr);
}

/* line 26455, app/assets/stylesheets/application.scss */
.perk-feed-peeks-stage.is-calendar .hub-peek-calendar-grid button,
.perk-feed-peeks-stage.is-calendar .hub-peek-calendar-blank,
.perk-feed-peeks-stage.is-calendar .hub-peek-calendar-pad {
  aspect-ratio: auto;
  height: auto;
}

/* line 26462, app/assets/stylesheets/application.scss */
.perk-feed-peeks-grid {
  align-self: stretch;
  width: 100%;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-content: start;
}

/* line 26473, app/assets/stylesheets/application.scss */
.perk-feed-peeks-grid button {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 0;
  padding: 0 0 100%;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
  text-align: left;
  cursor: pointer;
}

/* line 26489, app/assets/stylesheets/application.scss */
.perk-feed-peeks-grid img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* line 26499, app/assets/stylesheets/application.scss */
.perk-feed-peeks-grid span {
  display: none;
}

/* line 26503, app/assets/stylesheets/application.scss */
.perk-feed-peeks-grid small {
  display: none;
}

/* line 26507, app/assets/stylesheets/application.scss */
.perk-feed-peeks-calendar {
  align-self: stretch;
  width: 100%;
  padding: 14px 16px 24px;
}

/* line 26513, app/assets/stylesheets/application.scss */
.perk-feed-peeks-calendar .hub-peek-calendar-month h4,
.perk-feed-peeks-calendar .hub-peek-calendar-nav h4 {
  background: var(--perk-surface);
  color: var(--perk-ink);
}

/* line 26519, app/assets/stylesheets/application.scss */
.perk-feed-peeks-calendar .hub-peek-calendar-nav-btn {
  background: rgba(23, 25, 29, 0.08);
  color: var(--perk-ink);
}

/* line 26524, app/assets/stylesheets/application.scss */
.perk-feed-peeks-calendar .hub-peek-calendar-weekdays {
  color: var(--perk-muted);
}

/* line 26528, app/assets/stylesheets/application.scss */
.perk-feed-peeks-calendar .hub-peek-calendar-blank {
  color: var(--perk-muted-soft);
}

/* line 26532, app/assets/stylesheets/application.scss */
.perk-feed-peeks-calendar .hub-peek-calendar-grid button {
  background: rgba(23, 25, 29, 0.06);
}

/* line 26536, app/assets/stylesheets/application.scss */
.perk-feed-peek {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px 28px;
  overflow: hidden;
  box-sizing: border-box;
}

/* line 26549, app/assets/stylesheets/application.scss */
.perk-feed-peek-main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  width: auto;
  max-width: min(920px, 100%);
  height: min(720px, 100%);
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  flex: 0 1 auto;
  margin: 0 auto;
}

/* line 26565, app/assets/stylesheets/application.scss */
.perk-feed-peek-photo {
  position: relative;
  flex: 0 1 auto;
  width: auto;
  height: 100%;
  max-width: min(560px, calc(100% - 280px));
  max-height: 100%;
  aspect-ratio: 1;
  align-self: center;
  border-radius: calc(0.22 * min(560px, 62vh));
  overflow: hidden;
  border: 1.5px solid rgba(23, 25, 29, 0.12);
  background: rgba(23, 25, 29, 0.04);
  box-shadow: var(--perk-shadow-sm);
}

/* line 26581, app/assets/stylesheets/application.scss */
.perk-feed-peek-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

/* line 26589, app/assets/stylesheets/application.scss */
.perk-feed-peek-nav,
.perk-feed-peek-nav-spacer {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 25, 29, 0.08);
  color: var(--perk-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: 0 0 42px;
}

/* line 26611, app/assets/stylesheets/application.scss */
.perk-feed-peek-nav-spacer {
  visibility: hidden;
  pointer-events: none;
  background: transparent;
}

/* line 26617, app/assets/stylesheets/application.scss */
.perk-feed-peek-nav:hover {
  background: rgba(23, 25, 29, 0.14);
}

/* line 26621, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  width: 300px;
  min-width: 240px;
  max-width: 320px;
  height: 100%;
  max-height: 100%;
  padding: 4px 0 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  flex: 0 0 300px;
  align-self: stretch;
}

/* line 26642, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
}

/* line 26650, app/assets/stylesheets/application.scss */
.perk-feed-peek-more {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 25, 29, 0.08);
  color: var(--perk-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 26664, app/assets/stylesheets/application.scss */
.perk-feed-peek-more:hover {
  background: rgba(23, 25, 29, 0.14);
}

/* line 26668, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--perk-ink);
  flex: 0 0 auto;
}

/* line 26676, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-identity {
  width: 100%;
  flex: 0 0 auto;
}

/* line 26681, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-identity-meta strong {
  color: var(--perk-ink);
}

/* line 26685, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-identity-meta span {
  color: var(--perk-muted);
}

/* line 26689, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comment-btn {
  color: var(--perk-ink);
}

/* line 26693, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comment-btn:hover {
  background: rgba(23, 25, 29, 0.06);
}

/* line 26697, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-reactions {
  justify-content: flex-start;
}

/* line 26701, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-reactions button {
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
}

/* line 26706, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-reactions button small {
  color: var(--perk-muted);
}

/* line 26710, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-reactions button.is-mine {
  background: rgba(23, 25, 29, 0.12);
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.16);
}

/* line 26715, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-reactions button:hover {
  background: rgba(23, 25, 29, 0.1);
}

/* line 26719, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-reactions-more {
  border: 0 !important;
  background: rgba(23, 25, 29, 0.06) !important;
  color: var(--perk-ink) !important;
}

/* line 26725, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-side-comments {
  flex: 1 1 auto;
  min-height: 0;
  border-top-color: var(--perk-line-soft);
}

/* line 26731, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-side-comments-head strong,
.perk-feed-peek-meta .hub-peek-side-comments .hub-peek-comment-count {
  color: var(--perk-ink);
}

/* line 26736, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-side-comments .hub-peek-comment-count {
  color: var(--perk-muted);
}

/* line 26740, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comment-row time,
.perk-feed-peek-meta .hub-peek-comment-reply,
.perk-feed-peek-meta .hub-peek-comment-expand,
.perk-feed-peek-meta .hub-peek-comments-empty,
.perk-feed-peek-meta .hub-peek-comments-reply-preview,
.perk-feed-peek-meta .hub-peek-comments-reply-preview button,
.perk-feed-peek-meta .hub-peek-comment-react {
  color: var(--perk-muted);
}

/* line 26750, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comment-react:hover {
  color: var(--perk-ink);
}

/* line 26754, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comment-react-chip {
  border-color: rgba(23, 25, 29, 0.12);
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
}

/* line 26760, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comment-react-chip.is-mine {
  border-color: rgba(23, 25, 29, 0.22);
  background: rgba(23, 25, 29, 0.1);
}

/* line 26765, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comments-form {
  border-top-color: var(--perk-line-soft);
}

/* line 26769, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comments-form input {
  background: rgba(23, 25, 29, 0.06);
  color: var(--perk-ink);
}

/* line 26774, app/assets/stylesheets/application.scss */
.perk-feed-peek-meta .hub-peek-comments-form input::placeholder {
  color: var(--perk-muted);
}

@media (max-width: 820px) {
  /* line 26779, app/assets/stylesheets/application.scss */
  .perk-feed-peek {
    overflow: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 6px 20px;
  }
  /* line 26786, app/assets/stylesheets/application.scss */
  .perk-feed-peek-main {
    flex-direction: column;
    align-items: center;
    height: auto;
    max-height: none;
    width: min(100%, 520px);
  }
  /* line 26794, app/assets/stylesheets/application.scss */
  .perk-feed-peek-photo {
    max-width: min(100%, min(520px, 46vh));
    width: min(100%, min(520px, 46vh));
    height: auto;
    flex: 0 0 auto;
  }
  /* line 26801, app/assets/stylesheets/application.scss */
  .perk-feed-peek-meta {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 0 0 auto;
    height: auto;
    max-height: none;
  }
  /* line 26810, app/assets/stylesheets/application.scss */
  .hub-peek-gallery-body {
    flex-wrap: wrap;
    gap: 10px;
  }
  /* line 26815, app/assets/stylesheets/application.scss */
  .hub-peek-gallery-stage {
    flex: 1 1 calc(100% - 108px);
    max-height: 42%;
  }
  /* line 26820, app/assets/stylesheets/application.scss */
  .hub-peek-gallery-details {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 100%;
  }
}

/* line 26828, app/assets/stylesheets/application.scss */
.perk-feed-peeks-empty,
.perk-feed-peeks-loading {
  text-align: center;
  padding: 32px 28px;
  max-width: 360px;
}

/* line 26835, app/assets/stylesheets/application.scss */
.perk-feed-peeks-empty h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--perk-ink);
}

/* line 26842, app/assets/stylesheets/application.scss */
.perk-feed-peeks-empty p {
  margin: 0 0 18px;
  color: var(--perk-muted);
  font-size: 15px;
  line-height: 1.4;
}

/* line 26849, app/assets/stylesheets/application.scss */
.perk-feed-peeks-empty button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: #ffc729;
  color: #111;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* line 26862, app/assets/stylesheets/application.scss */
.perk-feed-peeks-loading {
  color: var(--perk-muted);
  font-size: 14px;
  font-weight: 600;
}

/* line 26868, app/assets/stylesheets/application.scss */
.perk-management-brand strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* line 26875, app/assets/stylesheets/application.scss */
.perk-management-brand:hover {
  color: var(--perk-ink);
}

/* line 26879, 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 26890, 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 26907, 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 26919, app/assets/stylesheets/application.scss */
.perk-ai-hub-button .perk-ai-hub-icon svg {
  display: block;
}

/* line 26923, app/assets/stylesheets/application.scss */
.perk-ai-hub-button:hover {
  background: #f4f5f7;
  border-color: #111;
  color: #111;
  transform: translateY(-1px);
}

/* line 26930, 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 26946, 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 26959, 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 26970, app/assets/stylesheets/application.scss */
.browser-hub.is-characters {
  padding-top: 0;
  background: #f5f6f8;
}

/* line 26975, app/assets/stylesheets/application.scss */
.ai-characters-root {
  display: contents;
}

/* line 26979, 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 26990, 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 26995, 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 27011, 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 27026, app/assets/stylesheets/application.scss */
.ai-characters-loading.hidden {
  display: none;
}

/* line 27031, 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 27044, app/assets/stylesheets/application.scss */
.ai-hub-hero {
  padding: 0;
}

/* line 27048, 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 27061, app/assets/stylesheets/application.scss */
.ai-hub-empty.hidden {
  display: none;
}

/* line 27065, 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 27077, app/assets/stylesheets/application.scss */
.ai-hub-empty strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #17191d;
}

/* line 27084, app/assets/stylesheets/application.scss */
.ai-hub-empty p {
  margin: 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.55;
}

/* line 27091, 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 27106, app/assets/stylesheets/application.scss */
.ai-hub-primary-btn:hover {
  background: #30343a;
}

/* line 27110, app/assets/stylesheets/application.scss */
.ai-hub-stage.hidden {
  display: none;
}

/* line 27114, 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 27125, 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 27137, 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 27145, 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 27160, app/assets/stylesheets/application.scss */
.ai-hub-billboard-chrome > * {
  pointer-events: auto;
}

/* line 27164, 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 27180, 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 27196, app/assets/stylesheets/application.scss */
.ai-hub-chrome-badge.hidden {
  display: none;
}

/* line 27200, app/assets/stylesheets/application.scss */
.ai-hub-chrome-btn:hover,
.ai-hub-icon-btn:hover {
  background: #fff;
}

/* line 27205, app/assets/stylesheets/application.scss */
.ai-hub-icon-btn.hidden {
  display: none;
}

/* line 27209, 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 27222, app/assets/stylesheets/application.scss */
.ai-hub-dots.hidden {
  display: none;
}

/* line 27226, 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 27236, app/assets/stylesheets/application.scss */
.ai-hub-dot.is-active {
  width: 8px;
  height: 8px;
  background: #17191d;
}

/* line 27242, 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 27259, app/assets/stylesheets/application.scss */
.ai-hub-stage.is-paged .ai-hub-nav-btn {
  display: inline-flex;
}

/* line 27263, app/assets/stylesheets/application.scss */
.ai-hub-nav-prev {
  left: 16px;
}

/* line 27264, app/assets/stylesheets/application.scss */
.ai-hub-nav-next {
  right: 16px;
}

/* line 27266, 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 27277, app/assets/stylesheets/application.scss */
.ai-hub-avatar-wrap {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* line 27285, 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 27294, app/assets/stylesheets/application.scss */
.ai-hub-ring:nth-child(2) {
  inset: -32px;
  animation-delay: 0.35s;
  opacity: 0.7;
}

/* line 27300, 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 27311, 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 27323, 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 27338, app/assets/stylesheets/application.scss */
.ai-hub-identity-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  gap: 6px;
}

/* line 27346, app/assets/stylesheets/application.scss */
.ai-hub-identity-tools .ai-hub-icon-btn {
  width: 34px;
  height: 34px;
  box-shadow: none;
}

/* line 27352, 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 27361, 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 27370, app/assets/stylesheets/application.scss */
.ai-hub-username {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

/* line 27376, 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 27390, app/assets/stylesheets/application.scss */
.ai-hub-greeting.is-visible {
  opacity: 1;
}

/* line 27394, app/assets/stylesheets/application.scss */
.ai-hub-greeting[hidden],
.ai-hub-username[hidden] {
  display: none !important;
}

/* line 27399, app/assets/stylesheets/application.scss */
.ai-hub-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* line 27407, 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 27426, app/assets/stylesheets/application.scss */
.ai-hub-play:hover,
.ai-hub-primary:hover {
  background: #30343a;
}

/* line 27431, app/assets/stylesheets/application.scss */
.ai-hub-primary-ghost {
  background: #eef2f6;
  color: #17191d;
}

/* line 27436, app/assets/stylesheets/application.scss */
.ai-hub-primary-ghost:hover {
  background: #e5eaf0;
}

/* line 27440, 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 27451, app/assets/stylesheets/application.scss */
.ai-hub-profile-btn:hover {
  background: #e5eaf0;
}

/* line 27455, app/assets/stylesheets/application.scss */
.ai-hub-catalog {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px clamp(16px, 3vw, 36px) 8px;
}

/* line 27462, app/assets/stylesheets/application.scss */
.ai-hub-row-head,
.ai-hub-catalog-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

/* line 27470, 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 27480, app/assets/stylesheets/application.scss */
.ai-hub-row-head h3 {
  font-size: 20px;
}

/* line 27484, app/assets/stylesheets/application.scss */
.ai-hub-row-head p,
.ai-hub-catalog-head p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* line 27491, 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 27498, app/assets/stylesheets/application.scss */
.ai-hub-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 27504, 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 27515, app/assets/stylesheets/application.scss */
.ai-hub-rail::-webkit-scrollbar {
  height: 6px;
}

/* line 27519, 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 27532, 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 27537, app/assets/stylesheets/application.scss */
.ai-hub-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef0f3;
}

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

/* line 27550, 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 27563, 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 27579, app/assets/stylesheets/application.scss */
.ai-hub-card-toggle.is-selected {
  background: #17191d;
  color: #fff;
}

/* line 27584, app/assets/stylesheets/application.scss */
.ai-hub-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  flex: 1;
}

/* line 27592, 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 27601, app/assets/stylesheets/application.scss */
.ai-hub-card-role {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 27607, 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 27619, 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 27627, 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 27640, app/assets/stylesheets/application.scss */
.ai-hub-card-chat {
  border: 0;
  background: #17191d;
  color: #fff;
}

/* line 27646, app/assets/stylesheets/application.scss */
.ai-hub-card-talk {
  border: 0;
  background: #eef2f6;
  color: #17191d;
}

/* line 27652, 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 27664, app/assets/stylesheets/application.scss */
.ai-hub-create.hidden,
.ai-hub-profile.hidden,
.ai-hub-notifications.hidden {
  display: none !important;
}

/* line 27670, 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 27678, 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 27690, app/assets/stylesheets/application.scss */
.ai-hub-notifications-card {
  width: min(480px, 100%);
  max-height: min(72vh, 640px);
  overflow: auto;
}

/* line 27696, 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 27705, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty.hidden {
  display: none;
}

/* line 27709, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty i {
  font-size: 22px;
  color: #111827;
}

/* line 27714, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty strong {
  font-size: 17px;
  font-weight: 800;
  color: #17191d;
}

/* line 27720, app/assets/stylesheets/application.scss */
.ai-hub-notifications-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* line 27726, app/assets/stylesheets/application.scss */
.ai-hub-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 27732, app/assets/stylesheets/application.scss */
.ai-hub-notification-card {
  padding: 14px;
  border-radius: 16px;
  background: #f8f9fb;
  border: 1px solid #eceff3;
}

/* line 27739, app/assets/stylesheets/application.scss */
.ai-hub-notification-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 27747, app/assets/stylesheets/application.scss */
.ai-hub-notification-head strong {
  font-size: 15px;
  color: #17191d;
}

/* line 27752, app/assets/stylesheets/application.scss */
.ai-hub-notification-head span {
  font-size: 12px;
  color: #6b7280;
}

/* line 27757, app/assets/stylesheets/application.scss */
.ai-hub-notification-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
}

/* line 27764, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions {
  display: flex;
  gap: 8px;
}

/* line 27769, 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 27780, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions button.is-primary {
  background: #17191d;
  color: #fff;
}

/* line 27785, app/assets/stylesheets/application.scss */
.ai-hub-notification-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

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

/* line 27798, app/assets/stylesheets/application.scss */
.ai-hub-create-head strong {
  font-size: 17px;
  font-weight: 800;
  color: #17191d;
}

/* line 27804, 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 27816, app/assets/stylesheets/application.scss */
.ai-hub-create-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

/* line 27823, app/assets/stylesheets/application.scss */
.ai-hub-create-card label span {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 27829, 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 27839, app/assets/stylesheets/application.scss */
.ai-hub-create-error {
  margin: 0 0 10px;
  color: var(--perk-ink);
  font-size: 12px;
  font-weight: 600;
}

/* line 27846, app/assets/stylesheets/application.scss */
.ai-hub-create-error.hidden {
  display: none;
}

/* line 27850, 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 27861, app/assets/stylesheets/application.scss */
.ai-hub-profile-role {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

/* line 27868, app/assets/stylesheets/application.scss */
.ai-hub-profile-body {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

/* line 27875, app/assets/stylesheets/application.scss */
.ai-hub-profile-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* line 27881, 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 27892, app/assets/stylesheets/application.scss */
.ai-hub-delete.hidden {
  display: none;
}

@media (max-width: 820px) {
  /* line 27897, app/assets/stylesheets/application.scss */
  .ai-hub-billboard {
    min-height: 480px;
  }
  /* line 27901, app/assets/stylesheets/application.scss */
  .ai-hub-billboard-portrait {
    min-height: 240px;
    padding-top: 64px;
  }
  /* line 27906, app/assets/stylesheets/application.scss */
  .ai-hub-avatar {
    width: 168px;
    height: 168px;
  }
  /* line 27911, app/assets/stylesheets/application.scss */
  .ai-hub-billboard-copy {
    width: calc(100% - 24px);
    margin: 0 12px 16px;
    padding: 16px;
  }
  /* line 27917, app/assets/stylesheets/application.scss */
  .ai-hub-nav-btn {
    display: none !important;
  }
  /* line 27921, app/assets/stylesheets/application.scss */
  .ai-hub-actions {
    flex-wrap: wrap;
  }
  /* line 27925, app/assets/stylesheets/application.scss */
  .ai-hub-play {
    flex: 1 1 calc(50% - 28px);
  }
  /* line 27929, app/assets/stylesheets/application.scss */
  .ai-hub-catalog-head h2 {
    font-size: 22px;
  }
  /* line 27933, app/assets/stylesheets/application.scss */
  .ai-hub-rail {
    grid-auto-columns: minmax(168px, 78vw);
  }
}

@media (min-width: 1100px) {
  /* line 27939, 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 27948, app/assets/stylesheets/application.scss */
  .ai-hub-card {
    min-height: 330px;
  }
}

@media (min-width: 900px) {
  /* line 27954, 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 27963, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-card {
    min-height: 348px;
  }
  /* line 27967, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-card-media {
    aspect-ratio: 4 / 3;
  }
  /* line 27971, app/assets/stylesheets/application.scss */
  .perk-workspace.is-chats-closed .ai-hub-avatar {
    width: clamp(184px, 24vw, 276px);
    height: clamp(184px, 24vw, 276px);
  }
}

/* line 27977, 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 27991, app/assets/stylesheets/application.scss */
.ai-voice-overlay.hidden {
  display: none !important;
}

/* line 27995, 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 28001, 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 28010, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-scrim {
  display: none;
}

/* line 28014, 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 28029, 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 28035, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-identity strong {
  font-size: 20px;
  font-weight: 500;
}

/* line 28040, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-status {
  font-size: 13px;
  font-weight: 400;
}

/* line 28045, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-body {
  padding: 4px 18px 8px;
}

/* line 28049, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-dock {
  padding: 6px 14px 16px;
}

/* line 28053, 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 28068, app/assets/stylesheets/application.scss */
.ai-voice-scrim:focus {
  outline: none;
}

/* line 28072, 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;
  /* iOS AIVoiceCompactOverlay / voiceCanvasColor: Color(0.035, 0.06, 0.16) */
  background: #080f28;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* line 28091, app/assets/stylesheets/application.scss */
.ai-voice-banner,
.ai-voice-bg,
.ai-voice-banner-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* line 28099, app/assets/stylesheets/application.scss */
.ai-voice-bg {
  /* Match iOS defaultOrbBackground base stops */
  background: linear-gradient(165deg, #080f28 0%, #190e38 48%, #052938 100%);
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
}

/* line 28107, app/assets/stylesheets/application.scss */
.ai-voice-bg.has-scene {
  background-color: #080f28;
}

/* Soft daylight ambient — iOS AICharacterAmbientBackground for default assistants. */
/* line 28112, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-bg.is-ambient,
.ai-voice-bg.is-ambient {
  filter: none;
  transform: none;
}

/* line 28118, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-sheet,
.ai-voice-overlay.is-default-orb .ai-voice-sheet {
  background: #ffffff;
  color: #17191d;
  box-shadow: 0 22px 56px rgba(23, 25, 29, 0.14), 0 2px 8px rgba(23, 25, 29, 0.06), 0 0 0 1px rgba(23, 25, 29, 0.06);
}

/* line 28128, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-banner-shade {
  background: transparent;
}

/* line 28132, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-close,
.ai-voice-overlay.is-ambient .ai-voice-expand {
  background: rgba(23, 25, 29, 0.06);
  color: #17191d;
}

/* line 28138, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-close:hover,
.ai-voice-overlay.is-ambient .ai-voice-expand:hover {
  background: rgba(23, 25, 29, 0.1);
}

/* line 28143, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-close:focus-visible,
.ai-voice-overlay.is-ambient .ai-voice-control:focus-visible .ai-voice-control-icon,
.ai-voice-overlay.is-ambient .ai-voice-hangup:focus-visible .ai-voice-control-icon,
.ai-voice-overlay.is-ambient .ai-voice-retry:focus-visible {
  outline-color: rgba(23, 25, 29, 0.45);
}

/* line 28150, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-live-pill {
  background: rgba(23, 25, 29, 0.06);
  color: rgba(23, 25, 29, 0.72);
}

/* line 28155, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient[data-phase="error"] .ai-voice-live-dot,
.ai-voice-overlay.is-ambient[data-phase="idle"] .ai-voice-live-dot {
  background: rgba(23, 25, 29, 0.35);
}

/* line 28160, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-timer {
  background: rgba(23, 25, 29, 0.06);
  color: rgba(23, 25, 29, 0.85);
}

/* line 28165, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-status,
.ai-voice-overlay.is-ambient .ai-voice-tool {
  color: rgba(23, 25, 29, 0.58);
}

/* line 28170, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-transcript {
  color: rgba(23, 25, 29, 0.82);
}

/* line 28174, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-privacy {
  color: rgba(23, 25, 29, 0.4);
}

/* line 28178, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-control,
.ai-voice-overlay.is-ambient .ai-voice-hangup {
  color: #17191d;
}

/* line 28183, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-control-icon {
  background: rgba(23, 25, 29, 0.06);
  color: #17191d;
  box-shadow: 0 8px 18px rgba(23, 25, 29, 0.08);
}

/* line 28189, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-control-label {
  color: rgba(23, 25, 29, 0.62);
}

/* line 28193, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-control.is-muted .ai-voice-control-icon {
  background: #111827;
  color: #fff;
}

/* line 28198, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-hangup .ai-voice-control-icon {
  background: #ff3b30;
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 59, 48, 0.32);
}

/* line 28204, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-retry {
  background: rgba(23, 25, 29, 0.08);
  color: #17191d;
}

/* line 28209, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-retry:hover {
  background: rgba(23, 25, 29, 0.12);
}

/* line 28213, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient .ai-voice-grabber,
.ai-voice-overlay.is-ambient.is-compact:not(.is-expanded) .ai-voice-grabber::before {
  background: rgba(23, 25, 29, 0.22);
}

/* line 28218, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-ambient.is-compact:not(.is-expanded) .ai-voice-grabber {
  background: transparent;
}

/* line 28222, app/assets/stylesheets/application.scss */
.ai-voice-banner-shade {
  background: linear-gradient(180deg, rgba(8, 15, 40, 0.42) 0%, rgba(8, 15, 40, 0.12) 22%, rgba(8, 15, 40, 0.28) 48%, rgba(8, 15, 40, 0.78) 74%, #080f28 100%);
}

/* line 28227, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="listening"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  background: linear-gradient(160deg, #080f28 0%, #0a1a2e 45%, rgba(0, 210, 255, 0.22) 70%, #052938 100%);
}

/* line 28231, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="speaking"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  background: linear-gradient(160deg, #080f28 0%, #0a1f24 45%, rgba(0, 210, 170, 0.22) 70%, #052938 100%);
}

/* line 28235, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="thinking"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  background: linear-gradient(160deg, #080f28 0%, #190e38 45%, rgba(160, 80, 220, 0.24) 70%, #0a0e22 100%);
}

/* line 28239, app/assets/stylesheets/application.scss */
.ai-voice-overlay[data-phase="error"] .ai-voice-bg:not(.has-scene):not(.is-ambient) {
  background: linear-gradient(160deg, #1a0a12 0%, #190e28 45%, rgba(220, 60, 80, 0.22) 70%, #080f28 100%);
}

/* line 28243, 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 28254, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-grabber {
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

/* line 28264, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-grabber::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

/* line 28276, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-top {
  cursor: grab;
  touch-action: none;
}

/* line 28281, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-compact:not(.is-expanded) .ai-voice-top button {
  cursor: pointer;
  touch-action: manipulation;
}

/* line 28286, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-dragging .ai-voice-sheet {
  user-select: none;
}

/* line 28290, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-dragging .ai-voice-grabber,
.ai-voice-overlay.is-dragging .ai-voice-top {
  cursor: grabbing;
}

/* line 28295, app/assets/stylesheets/application.scss */
.ai-voice-top,
.ai-voice-body,
.ai-voice-dock {
  position: relative;
  z-index: 2;
}

/* line 28302, 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 28310, app/assets/stylesheets/application.scss */
.ai-voice-top-trailing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

/* line 28317, 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 28332, app/assets/stylesheets/application.scss */
.ai-voice-expand:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

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

/* line 28346, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-expanded .ai-voice-expand .is-expand {
  display: none;
}

/* line 28350, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-expanded .ai-voice-expand .is-collapse {
  display: block;
}

/* line 28354, 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 28369, app/assets/stylesheets/application.scss */
.ai-voice-close svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* line 28375, app/assets/stylesheets/application.scss */
.ai-voice-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* line 28379, 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 28387, 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 28403, 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 28412, 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 28425, 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 28437, 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 28448, 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 28460, 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 28469, 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 28479, app/assets/stylesheets/application.scss */
.ai-voice-orbit span:nth-child(1) {
  width: calc(100% + 18px);
  height: calc(100% + 18px);
}

/* line 28484, 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 28490, 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 28496, 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 28506, 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 28511, 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 28518, 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 28524, 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 28530, app/assets/stylesheets/application.scss */
.ai-voice-overlay.is-character-portrait .ai-voice-banner-shade {
  /* Match iOS characterPortraitBackground overlay stops over #080f28 canvas */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.12) 22%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.62) 76%, #080f28 100%);
}

/* line 28536, 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 28547, 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 28559, 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 28577, 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 28586, 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 28591, app/assets/stylesheets/application.scss */
.ai-voice-wave i:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

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

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

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

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

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

/* line 28597, 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 28604, app/assets/stylesheets/application.scss */
.ai-voice-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 320px;
  margin-top: 22px;
  min-width: 0;
}

/* line 28615, app/assets/stylesheets/application.scss */
.ai-voice-identity strong {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 28626, app/assets/stylesheets/application.scss */
.ai-voice-status {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

/* line 28634, app/assets/stylesheets/application.scss */
.ai-voice-tool {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
}

/* line 28641, 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 28653, 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 28677, app/assets/stylesheets/application.scss */
.ai-voice-transcript::-webkit-scrollbar {
  display: none;
}

/* line 28681, app/assets/stylesheets/application.scss */
.ai-voice-transcript[hidden] {
  display: none !important;
}

/* line 28685, app/assets/stylesheets/application.scss */
.ai-voice-caption:has(.ai-voice-transcript[hidden]) {
  opacity: 0;
}

/* line 28689, 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 28701, app/assets/stylesheets/application.scss */
.ai-voice-retry:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* line 28705, app/assets/stylesheets/application.scss */
.ai-voice-remote-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* line 28713, app/assets/stylesheets/application.scss */
.ai-voice-dock {
  padding: 8px 20px calc(22px + env(safe-area-inset-bottom, 0px));
}

/* line 28717, app/assets/stylesheets/application.scss */
.ai-voice-controls {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* line 28724, 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 28739, 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 28752, 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 28757, 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 28762, 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 28769, app/assets/stylesheets/application.scss */
.ai-voice-control.is-muted .ai-voice-control-icon {
  background: #fff;
  color: #111827;
}

/* line 28774, 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 28779, 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 28788, app/assets/stylesheets/application.scss */
.ai-voice-hangup .ai-voice-control-icon i {
  transform: rotate(135deg);
}

/* line 28792, 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 28802, app/assets/stylesheets/application.scss */
  .ai-voice-overlay {
    align-items: flex-end;
    padding: 0;
  }
  /* line 28807, app/assets/stylesheets/application.scss */
  .ai-voice-sheet {
    width: 100%;
    height: min(92dvh, 820px);
    max-height: 100dvh;
    border-radius: 28px 28px 0 0;
  }
  /* line 28814, app/assets/stylesheets/application.scss */
  .ai-voice-grabber {
    display: block;
  }
  /* line 28818, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    width: min(176px, 48vw);
    height: auto;
    aspect-ratio: 1;
  }
  /* line 28824, app/assets/stylesheets/application.scss */
  .ai-voice-identity strong {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  /* line 28830, app/assets/stylesheets/application.scss */
  .ai-voice-top {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 28835, app/assets/stylesheets/application.scss */
  .ai-voice-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  /* line 28840, app/assets/stylesheets/application.scss */
  .ai-voice-control-icon {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }
  /* line 28846, app/assets/stylesheets/application.scss */
  .ai-voice-hangup .ai-voice-control-icon {
    width: 62px;
    height: 62px;
  }
}

@media (max-height: 720px) {
  /* line 28853, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    width: 150px;
    height: auto;
    aspect-ratio: 1;
  }
  /* line 28859, app/assets/stylesheets/application.scss */
  .ai-voice-identity {
    margin-top: 14px;
  }
  /* line 28863, app/assets/stylesheets/application.scss */
  .ai-voice-identity strong {
    font-size: 24px;
  }
  /* line 28867, app/assets/stylesheets/application.scss */
  .ai-voice-caption {
    height: 2.7em;
    min-height: 2.7em;
    margin-top: 10px;
  }
  /* line 28873, app/assets/stylesheets/application.scss */
  .ai-voice-privacy {
    display: none;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  /* line 28879, app/assets/stylesheets/application.scss */
  .ai-voice-overlay {
    padding: 12px;
    align-items: center;
  }
  /* line 28884, app/assets/stylesheets/application.scss */
  .ai-voice-sheet {
    width: min(860px, calc(100vw - 24px));
    height: calc(100dvh - 24px);
    border-radius: 28px;
  }
  /* line 28890, app/assets/stylesheets/application.scss */
  .ai-voice-grabber {
    display: none;
  }
  /* line 28894, app/assets/stylesheets/application.scss */
  .ai-voice-top {
    width: 100%;
    padding-bottom: 0;
  }
  /* line 28899, 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 28914, app/assets/stylesheets/application.scss */
  .ai-voice-stage {
    grid-area: stage;
    margin: 0;
  }
  /* line 28919, app/assets/stylesheets/application.scss */
  .ai-voice-identity {
    grid-area: identity;
    align-items: flex-start;
    margin-top: 0;
    text-align: left;
  }
  /* line 28926, 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 28935, app/assets/stylesheets/application.scss */
  .ai-voice-retry {
    grid-area: retry;
    margin-top: 0;
    justify-self: start;
  }
  /* line 28941, app/assets/stylesheets/application.scss */
  .ai-voice-dock {
    width: 100%;
    padding-top: 0;
    padding-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 28949, app/assets/stylesheets/application.scss */
  .ai-voice-orbit span,
.ai-voice-live-dot,
.ai-voice-wave i {
    animation: none !important;
  }
}

/* line 28956, app/assets/stylesheets/application.scss */
.perk-language-menu,
.perk-account-menu {
  position: relative;
}

/* line 28961, 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 28970, app/assets/stylesheets/application.scss */
.perk-language-menu summary::-webkit-details-marker,
.perk-account-menu summary::-webkit-details-marker {
  display: none;
}

/* line 28975, 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 28985, app/assets/stylesheets/application.scss */
.perk-language-menu summary i,
.perk-language-menu summary span {
  color: #111;
}

/* line 28990, app/assets/stylesheets/application.scss */
.perk-language-menu summary:hover {
  background: #f3f4f6;
  color: #111;
}

/* line 28995, app/assets/stylesheets/application.scss */
.perk-account-menu summary {
  gap: 10px;
  min-width: 190px;
  border-radius: 15px;
  padding: 6px 9px;
}

/* line 29002, app/assets/stylesheets/application.scss */
.perk-account-menu summary:hover {
  background: var(--perk-field);
}

/* Header avatar: circular only — no chip / squared summary background. */
/* line 29007, app/assets/stylesheets/application.scss */
.perk-home-account-menu.perk-account-menu > summary {
  gap: 0;
  min-width: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

/* line 29019, app/assets/stylesheets/application.scss */
.perk-home-account-menu.perk-account-menu > summary:hover {
  background: transparent;
}

/* line 29023, app/assets/stylesheets/application.scss */
.perk-chrome-tool--account.perk-account-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  gap: 0;
  border-radius: 6px;
  padding: 0 4px;
}

/* line 29033, app/assets/stylesheets/application.scss */
.perk-chrome-tool--account.perk-account-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex: 0 0 auto;
}

/* line 29041, 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 29057, app/assets/stylesheets/application.scss */
.perk-management-avatar-sm {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 12px;
}

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

/* line 29070, app/assets/stylesheets/application.scss */
.perk-account-summary {
  min-width: 0;
}

/* line 29074, 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 29083, app/assets/stylesheets/application.scss */
.perk-account-summary strong {
  color: var(--perk-ink);
  font-size: 15px;
  font-weight: 400;
}

/* line 29089, app/assets/stylesheets/application.scss */
.perk-account-summary small {
  margin-top: 2px;
  color: var(--perk-muted-soft);
  font-size: 12px;
}

/* line 29095, 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 29108, 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 29125, 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 29131, app/assets/stylesheets/application.scss */
.perk-management-menu a.active {
  background: var(--perk-ink);
  color: #fff;
}

/* line 29136, app/assets/stylesheets/application.scss */
.perk-account-options {
  min-width: 245px;
}

/* line 29140, 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 29155, app/assets/stylesheets/application.scss */
.perk-account-card-hero {
  position: relative;
  margin: 0;
}

/* line 29160, 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 29170, app/assets/stylesheets/application.scss */
.perk-account-card-banner.has-photo {
  background: #d7dbe2;
}

/* line 29174, 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 29184, 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 29192, app/assets/stylesheets/application.scss */
.perk-account-card-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}

/* line 29199, 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 29207, 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 29221, app/assets/stylesheets/application.scss */
.perk-account-card-identity-text {
  min-width: 0;
  flex: 1 1 auto;
}

/* line 29226, 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 29234, 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 29242, 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 29250, 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 29265, 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 29281, 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 29291, 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 29310, 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 29316, app/assets/stylesheets/application.scss */
.perk-account-card-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0 8px 8px;
}

/* line 29324, 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 29343, 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 29349, 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 29361, 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 29368, 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 29378, 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 29384, 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 29399, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-lang-pill:hover {
  background: #eceef1;
  color: var(--perk-ink);
}

/* line 29404, app/assets/stylesheets/application.scss */
.perk-account-card .perk-account-lang-pill.is-active {
  background: var(--perk-ink);
  color: #fff;
}

/* line 29409, app/assets/stylesheets/application.scss */
.perk-account-card .button_to {
  margin: 4px 0 0;
  border-top: 0;
  padding-top: 0;
}

/* line 29415, app/assets/stylesheets/application.scss */
.perk-account-card .perk-menu-logout {
  color: var(--perk-ink);
}

/* line 29419, app/assets/stylesheets/application.scss */
.perk-account-card .perk-menu-logout .perk-account-card-icon {
  background: #fdecec;
  color: var(--perk-ink);
}

/* line 29424, 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 29431, 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 29440, app/assets/stylesheets/application.scss */
.perk-account-language-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 29446, 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 29455, app/assets/stylesheets/application.scss */
.perk-account-menu-head > div {
  min-width: 0;
}

/* line 29459, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong,
.perk-account-menu-head span {
  display: block;
}

/* line 29464, app/assets/stylesheets/application.scss */
.perk-account-menu-head strong {
  font-size: 13px;
  font-weight: 400;
}

/* line 29469, app/assets/stylesheets/application.scss */
.perk-account-menu-head span {
  margin-top: 2px;
  color: #858c96;
  font-size: 10px;
}

/* line 29475, app/assets/stylesheets/application.scss */
.perk-account-options .button_to {
  margin: 0;
  border-top: 1px solid #eceef1;
  padding-top: 6px;
}

/* line 29481, app/assets/stylesheets/application.scss */
.perk-account-options .perk-menu-logout {
  color: var(--perk-ink);
}

/* line 29485, 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 29501, app/assets/stylesheets/application.scss */
.perk-login-link {
  color: var(--perk-ink-soft);
}

/* line 29505, app/assets/stylesheets/application.scss */
.perk-login-link:hover {
  color: var(--perk-ink);
  background: var(--perk-field);
}

/* line 29510, app/assets/stylesheets/application.scss */
.perk-cookie-consent {
  font-size: 12px;
  line-height: 1.45;
}

/* line 29515, app/assets/stylesheets/application.scss */
.perk-cookie-consent__title {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.35;
}

/* line 29521, app/assets/stylesheets/application.scss */
.perk-cookie-consent__body {
  font-size: 12px;
  line-height: 1.45;
}

/* line 29526, app/assets/stylesheets/application.scss */
.perk-signup-button,
.perk-login-button {
  border: 0;
  background: var(--perk-accent, #007aff);
  color: #fff;
}

/* line 29533, app/assets/stylesheets/application.scss */
.perk-signup-button:hover,
.perk-login-button:hover {
  background: #0066d6;
  color: #fff;
  transform: none;
}

/* Split-screen auth — Apple product surface */
/* line 29541, 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-canvas, #f5f5f7);
  color: var(--perk-auth-ink);
}

/* line 29550, app/assets/stylesheets/application.scss */
.perk-auth-page-content {
  min-height: 100vh;
}

/* line 29554, app/assets/stylesheets/application.scss */
.perk-auth-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--perk-canvas, #f5f5f7);
  color: var(--perk-auth-ink);
}

/* line 29562, 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 29571, 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;
  background: var(--perk-glass, rgba(255, 255, 255, 0.72));
  -webkit-backdrop-filter: var(--perk-blur, blur(20px) saturate(180%));
  backdrop-filter: var(--perk-blur, blur(20px) saturate(180%));
}

/* line 29584, 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 29597, app/assets/stylesheets/application.scss */
.perk-auth-logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
}

/* line 29605, app/assets/stylesheets/application.scss */
.perk-auth-scene {
  position: relative;
  flex: 1;
  width: min(100%, 440px);
  margin: 20px auto;
  min-height: 360px;
}

/* line 29613, 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 29627, app/assets/stylesheets/application.scss */
.perk-auth-floating-app:has(.perk-auth-ios-drive),
.perk-auth-floating-app:has(img) {
  background: #fff;
}

/* line 29632, app/assets/stylesheets/application.scss */
.perk-auth-floating-app img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* line 29639, 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 29657, 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 29667, app/assets/stylesheets/application.scss */
.perk-auth-ios-drive {
  width: 56%;
  height: 56%;
}

/* line 29672, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-focus {
  background: #007aff;
}

/* line 29673, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-job, .perk-auth-ios-glyph.is-social {
  background: #30b0c7;
}

/* line 29674, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-mail {
  background: #32ade6;
}

/* line 29675, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-word {
  background: #007aff;
  font-size: 22px;
}

/* line 29676, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-pdf {
  background: #ff3b30;
  font-size: 10px;
}

/* line 29677, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-tutor, .perk-auth-ios-glyph.is-ai {
  background: #5856d6;
}

/* line 29678, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-ppt {
  background: #ff9500;
  font-size: 22px;
}

/* line 29679, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-company {
  background: #5856d6;
}

/* line 29680, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-map {
  background: #34c759;
}

/* line 29681, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-food {
  background: #ff9500;
}

/* line 29682, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-calendar {
  background: #ff3b30;
}

/* line 29683, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-media {
  background: #5856d6;
}

/* line 29684, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-research {
  background: #ff9f0a;
}

/* line 29685, app/assets/stylesheets/application.scss */
.perk-auth-ios-glyph.is-message {
  background: #34c759;
}

/* line 29687, 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 29688, 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 29689, 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 29690, 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 29691, 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 29692, 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 29693, 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 29694, 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 29695, 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 29696, 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 29697, 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 29698, 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 29699, 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 29700, 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 29701, 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 29702, 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 29703, 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 29705, 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 29715, 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 29724, 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 29737, 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 29747, app/assets/stylesheets/application.scss */
.perk-auth-scene-ai {
  top: 6%;
  left: 0;
  width: 230px;
  padding: 14px;
  z-index: 4;
}

/* line 29755, 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 29763, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-user {
  margin-left: 18px;
  background: var(--perk-auth-field);
}

/* line 29768, app/assets/stylesheets/application.scss */
.perk-auth-scene-bubble-ai {
  margin-right: 12px;
  background: #eef1f4;
}

/* line 29773, 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 29782, app/assets/stylesheets/application.scss */
.perk-auth-scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #17191d;
}

/* line 29789, app/assets/stylesheets/application.scss */
.perk-auth-scene-people {
  display: flex;
  margin: 2px 0 10px;
}

/* line 29794, 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 29803, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(2) {
  background: linear-gradient(145deg, #c7d2fe, #94a3b8);
}

/* line 29807, app/assets/stylesheets/application.scss */
.perk-auth-scene-people span:nth-child(3) {
  background: linear-gradient(145deg, #cbd5e1, #64748b);
}

/* line 29811, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows {
  display: grid;
  gap: 8px;
}

/* line 29816, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div {
  height: 9px;
  border-radius: 999px;
  background: #e8eaee;
}

/* line 29822, app/assets/stylesheets/application.scss */
.perk-auth-scene-rows > div.is-short {
  width: 62%;
}

/* line 29826, 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 29835, 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 29843, app/assets/stylesheets/application.scss */
.perk-auth-scene-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* line 29849, 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 29860, 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 29877, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge i {
  font-size: 11px;
}

/* line 29881, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-social {
  right: 8%;
  bottom: 28%;
}

/* line 29886, app/assets/stylesheets/application.scss */
.perk-auth-scene-badge-companion {
  left: 4%;
  bottom: 8%;
  animation-delay: -1.5s;
}

/* line 29892, 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: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--perk-auth-ink);
  animation: perk-auth-rise 700ms ease-out both;
}

/* line 29909, app/assets/stylesheets/application.scss */
.perk-auth-slogan span:not(.perk-auth-slogan-dot) {
  color: #30353c;
}

/* line 29913, 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 29924, app/assets/stylesheets/application.scss */
.perk-auth-form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 48px;
  position: relative;
  background: var(--perk-surface, #fff);
}

/* line 29933, app/assets/stylesheets/application.scss */
.perk-auth-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 396px;
  min-height: 520px;
}

/* line 29942, app/assets/stylesheets/application.scss */
.perk-auth-alert,
.perk-auth-errors {
  display: none;
}

/* line 29947, 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 29962, app/assets/stylesheets/application.scss */
.perk-auth-status.is-error {
  background: transparent;
  color: var(--perk-auth-muted);
}

/* line 29967, app/assets/stylesheets/application.scss */
.perk-auth-methods {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

/* line 29976, app/assets/stylesheets/application.scss */
.perk-auth-methods-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  width: 100%;
}

/* line 29984, app/assets/stylesheets/application.scss */
.perk-auth-heading {
  margin: 0 0 4px;
  color: var(--perk-auth-ink);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
}

/* line 29994, app/assets/stylesheets/application.scss */
.perk-auth-login-gate {
  align-items: center;
  text-align: center;
}

/* line 29999, 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 30007, 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 30014, app/assets/stylesheets/application.scss */
.perk-auth-download-copy {
  margin: 0;
  color: var(--perk-auth-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* line 30021, app/assets/stylesheets/application.scss */
.perk-auth-download-copy-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* line 30028, 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 30038, app/assets/stylesheets/application.scss */
.perk-auth-download-actions {
  align-items: center;
}

/* line 30042, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link-featured {
  margin-top: 0;
}

/* line 30046, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link-featured .perk-auth-app-store-badge {
  width: 148px;
}

/* line 30050, 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 30055, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-login-gate {
  display: none !important;
}

/* line 30059, 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 30067, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-home {
  margin: 0 auto;
}

/* line 30071, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-slogan {
  margin: 0 auto;
  max-width: none;
}

/* line 30076, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-form-pane {
  padding-top: 8px;
}

/* line 30080, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-methods {
  gap: 24px;
  justify-content: flex-start;
}

/* line 30085, app/assets/stylesheets/application.scss */
.perk-auth-shell.is-mobile-download .perk-auth-heading {
  font-size: 26px;
  letter-spacing: -0.03em;
}

/* line 30090, 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 30096, 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 30105, 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 30109, 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 30110, 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 30111, 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 30112, 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 30113, 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 30114, 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 30115, 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 30116, 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 30117, 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 30118, 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 30119, 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 30120, 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 30122, app/assets/stylesheets/application.scss */
.perk-auth-methods-desktop .perk-auth-download-gate {
  display: none;
}

/* line 30126, 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 30134, 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 30147, app/assets/stylesheets/application.scss */
.perk-auth-app-store-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* line 30152, app/assets/stylesheets/application.scss */
.perk-auth-app-store-badge {
  display: block;
  width: 120px;
  height: auto;
}

/* line 30158, app/assets/stylesheets/application.scss */
.perk-auth-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

/* line 30166, 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 30184, app/assets/stylesheets/application.scss */
.perk-auth-social {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

/* line 30190, app/assets/stylesheets/application.scss */
.perk-auth-social-solid {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* line 30196, 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 30205, app/assets/stylesheets/application.scss */
.perk-auth-social-solid:hover {
  background: #30343a;
  border-color: #30343a;
  color: #fff;
}

/* line 30211, app/assets/stylesheets/application.scss */
.perk-auth-actions .perk-auth-social:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* line 30218, app/assets/stylesheets/application.scss */
.perk-auth-social svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* line 30224, app/assets/stylesheets/application.scss */
.perk-auth-social-apple svg {
  color: #111;
}

/* line 30228, 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 30238, app/assets/stylesheets/application.scss */
.perk-auth-divider::before,
.perk-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--perk-auth-line);
}

/* line 30246, app/assets/stylesheets/application.scss */
.perk-auth-secondary,
.perk-auth-switch-cta {
  border: 1px solid #dfe2e6;
  background: #fff;
  color: #30353c;
}

/* line 30253, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta {
  margin-top: 8px;
}

/* line 30257, app/assets/stylesheets/application.scss */
.perk-auth-switch-cta:hover {
  background: #f4f5f7;
  color: #111;
}

/* line 30262, 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 30271, 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 30278, 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 30290, app/assets/stylesheets/application.scss */
.perk-auth-meta-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: transparent;
}

/* line 30297, 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 30306, 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 30315, app/assets/stylesheets/application.scss */
.perk-auth-panel-view h2 {
  margin: 0;
  color: var(--perk-auth-ink);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* line 30324, 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 30332, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero {
  align-items: center;
  text-align: center;
  width: 100%;
}

/* line 30338, app/assets/stylesheets/application.scss */
.perk-auth-otp-hero .perk-auth-panel-copy {
  max-width: 320px;
  text-align: center;
}

/* line 30343, app/assets/stylesheets/application.scss */
.perk-auth-otp-form {
  flex: 1;
}

/* line 30347, app/assets/stylesheets/application.scss */
.perk-auth-otp-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* line 30354, 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 30372, 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 30377, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer {
  margin: 12px 0 0;
  color: #8a8a8e;
  font-size: 13px;
  text-align: center;
}

/* line 30384, app/assets/stylesheets/application.scss */
.perk-auth-otp-timer.is-expired {
  color: var(--perk-ink);
}

/* line 30388, 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 30400, app/assets/stylesheets/application.scss */
.perk-auth-otp-resend.is-hidden {
  display: none !important;
}

/* line 30404, app/assets/stylesheets/application.scss */
.perk-auth-otp-form .perk-auth-submit:disabled {
  background: #9ca3af;
  cursor: default;
  opacity: 1;
}

/* line 30410, app/assets/stylesheets/application.scss */
.perk-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--perk-space-3);
  width: 100%;
}

/* line 30417, app/assets/stylesheets/application.scss */
.perk-auth-form .perk-auth-submit {
  margin-top: var(--perk-space-3);
}

/* line 30421, 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 30430, app/assets/stylesheets/application.scss */
.perk-auth-field {
  position: relative;
}

/* line 30434, 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 transparent;
  border-radius: var(--perk-radius-md, 12px);
  outline: 0;
  background: var(--perk-field, #f2f2f7);
  padding: 0 48px 0 16px;
  color: var(--perk-auth-ink);
  font-size: 16px;
  font-weight: 400;
  transition: box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
}

/* line 30452, app/assets/stylesheets/application.scss */
.perk-auth-panel-view .perk-auth-field input:focus {
  border-color: var(--perk-accent, #007aff);
  background: var(--perk-surface, #fff);
  box-shadow: 0 0 0 3px var(--perk-accent-soft, rgba(0, 122, 255, 0.12));
}

/* line 30458, 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 30475, app/assets/stylesheets/application.scss */
.perk-password-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* line 30479, app/assets/stylesheets/application.scss */
.perk-auth-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: var(--perk-radius-pill, 999px);
  background: var(--perk-accent, #007aff);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, opacity 150ms ease;
}

/* line 30492, app/assets/stylesheets/application.scss */
.perk-auth-submit:hover {
  background: var(--chat-accent-deep, #0066d6);
}

/* line 30496, app/assets/stylesheets/application.scss */
.perk-auth-submit:disabled {
  background: var(--perk-muted-soft, #8e8e93);
  cursor: not-allowed;
}

/* line 30501, 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 30516, 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 30531, app/assets/stylesheets/application.scss */
.perk-auth-forgot {
  text-decoration: none;
}

/* line 30535, app/assets/stylesheets/application.scss */
.perk-auth-forgot:hover,
.perk-auth-switch-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 30541, 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 30552, 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 30563, app/assets/stylesheets/application.scss */
.perk-auth-phone-field {
  margin: 0;
}

/* line 30567, 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 30574, 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 30586, app/assets/stylesheets/application.scss */
.perk-auth-stage.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

/* line 30591, app/assets/stylesheets/application.scss */
.perk-auth-stage .is-hidden {
  display: none !important;
}

/* line 30595, app/assets/stylesheets/application.scss */
.perk-auth-action-shell {
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
  min-height: 100vh;
}

/* line 30602, 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 30612, app/assets/stylesheets/application.scss */
.perk-auth-action-card.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

/* line 30617, app/assets/stylesheets/application.scss */
.perk-auth-action-card .is-hidden {
  display: none !important;
}

/* line 30621, 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 30633, app/assets/stylesheets/application.scss */
.perk-auth-action-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* line 30640, app/assets/stylesheets/application.scss */
.perk-auth-action-panel h1 {
  margin: 0 0 8px;
  color: var(--perk-auth-ink);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* line 30649, app/assets/stylesheets/application.scss */
.perk-auth-action-panel .perk-auth-panel-hero {
  margin-bottom: 20px;
}

/* line 30653, 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 30667, 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 30672, app/assets/stylesheets/application.scss */
.perk-auth-action-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* line 30679, 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 30691, app/assets/stylesheets/application.scss */
.perk-auth-action-check .heroicon,
.perk-auth-action-check svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* line 30698, app/assets/stylesheets/application.scss */
.perk-auth-action-next {
  gap: 14px;
}

/* line 30702, app/assets/stylesheets/application.scss */
.perk-auth-action-next .perk-auth-switch-link {
  margin-top: 2px;
}

/* line 30706, 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 30721, app/assets/stylesheets/application.scss */
  .perk-auth-action-shell {
    padding: 20px 12px 32px;
  }
  /* line 30725, app/assets/stylesheets/application.scss */
  .perk-auth-action-card {
    padding: 24px 18px 28px;
    border-radius: 20px;
  }
  /* line 30730, app/assets/stylesheets/application.scss */
  .perk-auth-action-panel h1 {
    font-size: 24px;
  }
}

/* line 30735, app/assets/stylesheets/application.scss */
#perk-firebase-recaptcha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* line 30744, app/assets/stylesheets/application.scss */
.perk-auth-footer {
  border-top: 1px solid var(--perk-auth-line);
  padding: 14px 24px 18px;
  background: #fff;
}

/* line 30750, 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 30760, app/assets/stylesheets/application.scss */
.perk-auth-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-start;
  margin: 0;
}

/* line 30768, app/assets/stylesheets/application.scss */
.perk-auth-langs a {
  color: var(--perk-auth-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

/* line 30775, 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 30782, 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 30795, app/assets/stylesheets/application.scss */
.perk-auth-legal-links a {
  color: var(--perk-auth-muted);
  text-decoration: none;
}

/* line 30800, 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 30847, app/assets/stylesheets/application.scss */
  .perk-auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* line 30852, app/assets/stylesheets/application.scss */
  .perk-auth-brand-pane {
    min-height: 280px;
    padding: 24px 24px 12px;
    border-right: 0;
    border-bottom: 0;
  }
  /* line 30859, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-brand-pane {
    min-height: 0;
    border-bottom: 0;
  }
  /* line 30864, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 72px;
    height: 72px;
  }
  /* line 30870, app/assets/stylesheets/application.scss */
  .perk-auth-scene {
    min-height: 280px;
    margin: 12px auto 8px;
  }
  /* line 30875, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 200px;
  }
  /* line 30879, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 148px;
  }
  /* line 30883, app/assets/stylesheets/application.scss */
  .perk-auth-slogan {
    font-size: clamp(34px, 8vw, 48px);
  }
  /* line 30887, app/assets/stylesheets/application.scss */
  .perk-auth-form-pane {
    padding: 28px 20px 36px;
  }
}

@media (max-width: 640px) {
  /* line 30893, app/assets/stylesheets/application.scss */
  .perk-management-inner {
    padding: 0 16px;
  }
  /* line 30897, app/assets/stylesheets/application.scss */
  .perk-management-left,
.perk-management-right {
    gap: var(--perk-space-3);
  }
  /* line 30902, app/assets/stylesheets/application.scss */
  .perk-management-brand strong,
.perk-management-brand-name,
.perk-account-summary {
    display: none;
  }
  /* line 30908, app/assets/stylesheets/application.scss */
  .perk-language-menu summary span {
    display: none;
  }
  /* line 30912, app/assets/stylesheets/application.scss */
  .perk-account-menu summary {
    min-width: 0;
    padding: 4px;
  }
  /* line 30917, app/assets/stylesheets/application.scss */
  .perk-ai-hub-button {
    margin-left: -6px;
  }
  /* line 30921, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    margin-right: 0;
  }
  /* line 30925, app/assets/stylesheets/application.scss */
  .perk-safety-button {
    font-size: 0;
    padding: 0 8px 0 6px;
    gap: 0;
  }
  /* line 30931, app/assets/stylesheets/application.scss */
  .perk-safety-button span {
    font-size: 11px;
  }
  /* line 30935, app/assets/stylesheets/application.scss */
  .perk-auth-brand-pane {
    min-height: 0;
    padding: 16px 16px 6px;
  }
  /* line 30940, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-brand-pane {
    padding: 24px 20px 4px;
    border-bottom: 0;
  }
  /* line 30945, 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 30951, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-slogan {
    font-size: clamp(32px, 9vw, 42px);
  }
  /* line 30955, app/assets/stylesheets/application.scss */
  .perk-auth-shell.is-mobile-download .perk-auth-form-pane {
    padding: 4px 24px 32px;
  }
  /* line 30959, 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 30966, app/assets/stylesheets/application.scss */
  .perk-auth-home,
.perk-auth-logo {
    width: 56px;
    height: 56px;
  }
  /* line 30972, 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 30980, 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 30986, app/assets/stylesheets/application.scss */
  .perk-auth-scene-ai {
    width: 148px;
    padding: 10px;
  }
  /* line 30991, app/assets/stylesheets/application.scss */
  .perk-auth-scene-feed {
    width: 112px;
    padding: 10px;
  }
  /* line 30996, app/assets/stylesheets/application.scss */
  .perk-auth-scene-apps {
    width: 120px;
    padding: 10px;
    bottom: 14%;
    left: 12%;
  }
  /* line 31003, app/assets/stylesheets/application.scss */
  .perk-auth-scene-head {
    gap: 6px;
    margin-bottom: 6px;
    font-size: 10px;
  }
  /* line 31009, app/assets/stylesheets/application.scss */
  .perk-auth-scene-avatar {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }
  /* line 31015, 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 31021, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 9px;
  }
  /* line 31028, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-user {
    margin-left: 10px;
  }
  /* line 31032, app/assets/stylesheets/application.scss */
  .perk-auth-scene-bubble-ai {
    margin-right: 6px;
  }
  /* line 31036, app/assets/stylesheets/application.scss */
  .perk-auth-scene-dot {
    width: 8px;
    height: 8px;
  }
  /* line 31041, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people {
    margin: 0 0 8px;
  }
  /* line 31045, app/assets/stylesheets/application.scss */
  .perk-auth-scene-people span {
    width: 16px;
    height: 16px;
    margin-right: -5px;
  }
  /* line 31051, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows {
    gap: 6px;
  }
  /* line 31055, app/assets/stylesheets/application.scss */
  .perk-auth-scene-rows > div {
    height: 7px;
  }
  /* line 31059, 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 31065, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid {
    gap: 5px;
  }
  /* line 31069, app/assets/stylesheets/application.scss */
  .perk-auth-scene-app-grid span {
    border-radius: 8px;
    font-size: 10px;
  }
  /* line 31074, 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 31081, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge i {
    font-size: 9px;
  }
  /* line 31085, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-social {
    right: 4%;
    bottom: 26%;
  }
  /* line 31090, app/assets/stylesheets/application.scss */
  .perk-auth-scene-badge-companion {
    left: 2%;
    bottom: 6%;
  }
  /* line 31095, 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 31111, app/assets/stylesheets/application.scss */
  .perk-auth-stage {
    min-height: 0;
  }
  /* line 31115, app/assets/stylesheets/application.scss */
  .perk-auth-heading,
.perk-auth-panel-view h2 {
    font-size: 24px;
  }
  /* line 31120, app/assets/stylesheets/application.scss */
  .perk-auth-footer {
    padding: 12px 18px 20px;
  }
  /* line 31124, app/assets/stylesheets/application.scss */
  .perk-auth-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  /* line 31129, app/assets/stylesheets/application.scss */
  .perk-auth-legal-links {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}

/* line 31136, app/assets/stylesheets/application.scss */
.perk-feed-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* line 31143, 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 31155, app/assets/stylesheets/application.scss */
.perk-inline-action:hover {
  color: #fff;
}

/* line 31159, 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 31170, 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 31182, 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 31194, app/assets/stylesheets/application.scss */
.perk-setup-back,
.perk-setup-back-form {
  align-self: flex-start;
}

/* line 31199, 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 31213, app/assets/stylesheets/application.scss */
.perk-setup-progress {
  display: flex;
  gap: 6px;
}

/* line 31218, app/assets/stylesheets/application.scss */
.perk-setup-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e7e8eb;
}

/* line 31225, app/assets/stylesheets/application.scss */
.perk-setup-progress span.is-active,
.perk-setup-progress span.is-done {
  background: #17191d;
}

/* line 31230, 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: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* line 31239, 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 31247, app/assets/stylesheets/application.scss */
.perk-setup-header-center {
  text-align: center;
}

/* line 31251, app/assets/stylesheets/application.scss */
.perk-setup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 31257, 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 31268, 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 31275, 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 31287, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 34px;
  background: #f2f4f7 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='%23667085' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E") no-repeat right 12px center;
}

/* line 31299, app/assets/stylesheets/application.scss */
.perk-setup-field small,
.perk-setup-form > small {
  color: #667085;
  font-size: 0.82rem;
}

/* line 31305, 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 31315, app/assets/stylesheets/application.scss */
.perk-setup-handle span {
  color: #667085;
  font-weight: 700;
}

/* line 31320, app/assets/stylesheets/application.scss */
.perk-setup-handle input {
  height: 100%;
  padding: 0;
  background: transparent;
}

/* line 31326, app/assets/stylesheets/application.scss */
.perk-setup-status {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.82rem;
}

/* line 31332, app/assets/stylesheets/application.scss */
.perk-setup-status.is-hidden {
  display: none;
}

/* line 31336, app/assets/stylesheets/application.scss */
.perk-setup-status.is-ok {
  color: #12b76a;
}

/* line 31340, app/assets/stylesheets/application.scss */
.perk-setup-status.is-error {
  color: var(--perk-ink);
}

/* line 31344, app/assets/stylesheets/application.scss */
.perk-setup-status.is-checking {
  color: #667085;
}

/* line 31348, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 10px;
}

/* line 31354, app/assets/stylesheets/application.scss */
.perk-setup-birthday-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 31360, 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 31367, app/assets/stylesheets/application.scss */
.perk-setup-confirm strong {
  display: block;
  margin-bottom: 4px;
}

/* line 31372, app/assets/stylesheets/application.scss */
.perk-setup-confirm p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
}

/* line 31378, 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 31390, app/assets/stylesheets/application.scss */
.perk-setup-submit:disabled {
  background: #98a2b3;
  cursor: not-allowed;
}

/* line 31395, app/assets/stylesheets/application.scss */
.perk-setup-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 31401, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell,
.perk-setup-photo-add {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}

/* line 31409, app/assets/stylesheets/application.scss */
.perk-setup-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 31415, 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 31431, 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 31443, app/assets/stylesheets/application.scss */
.perk-setup-photo-add-form {
  margin: 0;
}

/* line 31447, app/assets/stylesheets/application.scss */
.perk-setup-photo-count {
  margin: 0;
  text-align: center;
  font-weight: 700;
}

/* line 31453, 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 31464, app/assets/stylesheets/application.scss */
.perk-setup-companion-preview-wrap {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

/* line 31471, app/assets/stylesheets/application.scss */
.perk-setup-companion-preview,
.perk-setup-companion-preview img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* line 31479, app/assets/stylesheets/application.scss */
.perk-setup-companion-preview {
  overflow: hidden;
  border: 1px solid rgba(23, 25, 29, 0.08);
  background: #f2f4f7;
}

/* line 31485, app/assets/stylesheets/application.scss */
.perk-setup-companion-camera.perk-ios-avatar-camera {
  width: 32px;
  height: 32px;
}

/* line 31490, app/assets/stylesheets/application.scss */
.perk-setup-companion-camera.perk-ios-avatar-camera svg {
  width: 14px;
  height: 14px;
}

/* line 31495, app/assets/stylesheets/application.scss */
.perk-setup-text-btn {
  border: 0;
  background: transparent;
  color: #17191d;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

/* line 31504, 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 31516, app/assets/stylesheets/application.scss */
.perk-setup-creating.hidden {
  display: none;
}

/* line 31520, 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 31533, app/assets/stylesheets/application.scss */
.perk-setup-creating-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* line 31538, app/assets/stylesheets/application.scss */
.perk-setup-creating-card p {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* line 31545, 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 31559, app/assets/stylesheets/application.scss */
.perk-setup-shell.is-creating-companion {
  pointer-events: none;
}

/* line 31563, 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 31577, app/assets/stylesheets/application.scss */
.perk-setup-legal {
  margin: 0;
  text-align: center;
  color: #667085;
  font-size: 0.86rem;
}

/* line 31584, app/assets/stylesheets/application.scss */
.perk-setup-legal a {
  color: #17191d;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 640px) {
  /* line 31591, app/assets/stylesheets/application.scss */
  .perk-setup-shell {
    padding: 12px 10px 40px;
    background: #fff;
  }
  /* line 31596, app/assets/stylesheets/application.scss */
  .perk-setup-card {
    width: 100%;
    padding: 8px 4px 20px;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  /* line 31604, app/assets/stylesheets/application.scss */
  .perk-setup-birthday-row {
    grid-template-columns: 1fr;
  }
}

/* line 31609, app/assets/stylesheets/application.scss */
.perk-ios-profile {
  min-height: calc(100vh - 56px);
  background: var(--perk-canvas, #f5f5f7);
  color: var(--perk-ink, #1d1d1f);
  padding: 18px 0 80px;
}

/* line 31616, app/assets/stylesheets/application.scss */
.perk-ios-profile-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* line 31623, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 18px;
}

/* line 31630, 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 31641, app/assets/stylesheets/application.scss */
.perk-ios-profile-back {
  width: 28px;
  height: 28px;
}

/* line 31646, 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 31655, app/assets/stylesheets/application.scss */
.perk-ios-qr-btn:hover {
  background: #f2f2f7;
}

/* line 31659, app/assets/stylesheets/application.scss */
.perk-ios-profile-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
}

/* line 31666, 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 31676, 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 31686, app/assets/stylesheets/application.scss */
.perk-ios-profile-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 31692, app/assets/stylesheets/application.scss */
.perk-ios-profile-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 31698, app/assets/stylesheets/application.scss */
.perk-ios-profile-header-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* line 31704, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar {
  position: relative;
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  overflow: visible;
  color: #8e8e93;
}

/* line 31713, 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 31725, app/assets/stylesheets/application.scss */
button.perk-ios-profile-avatar-image {
  cursor: pointer;
}

/* line 31729, 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 31737, app/assets/stylesheets/application.scss */
.perk-ios-profile-avatar-image i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 92px;
}

/* line 31744, 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 31763, 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 31771, app/assets/stylesheets/application.scss */
.perk-ios-avatar-camera:hover {
  background: #f8f8f8;
}

/* line 31775, app/assets/stylesheets/application.scss */
.perk-ios-profile-identity {
  min-width: 0;
  flex: 1;
}

/* line 31780, app/assets/stylesheets/application.scss */
.perk-ios-profile-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 31786, 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 31797, app/assets/stylesheets/application.scss */
.perk-ios-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* line 31805, app/assets/stylesheets/application.scss */
.perk-ios-profile-handle {
  color: #8e8e93;
  font-size: 15px;
  font-weight: 500;
}

/* line 31811, 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 31820, app/assets/stylesheets/application.scss */
.perk-ios-profile-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2eb861;
}

/* line 31827, app/assets/stylesheets/application.scss */
.perk-ios-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}

/* line 31834, app/assets/stylesheets/application.scss */
.perk-ios-profile-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 31842, app/assets/stylesheets/application.scss */
.perk-ios-profile-stat strong {
  color: #111;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* line 31849, app/assets/stylesheets/application.scss */
.perk-ios-profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 31855, 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 31870, app/assets/stylesheets/application.scss */
.perk-ios-icon-btn:hover {
  background: #f8f8f8;
}

/* line 31874, app/assets/stylesheets/application.scss */
.perk-ios-profile-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 31881, 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 31889, app/assets/stylesheets/application.scss */
.perk-ios-section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: #111;
}

/* line 31896, app/assets/stylesheets/application.scss */
.perk-ios-section-head p {
  margin: 4px 0 0;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.35;
}

/* line 31903, 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 31919, app/assets/stylesheets/application.scss */
.perk-ios-edit-glyph::-webkit-details-marker {
  display: none;
}

/* line 31923, app/assets/stylesheets/application.scss */
.perk-ios-edit-menu {
  position: relative;
}

/* line 31927, 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 31940, 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 31954, app/assets/stylesheets/application.scss */
.perk-ios-edit-menu-list button:hover {
  background: #f4f5f7;
}

/* line 31958, 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 31971, app/assets/stylesheets/application.scss */
.perk-ios-empty-hint {
  margin: 0;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.4;
}

/* line 31978, app/assets/stylesheets/application.scss */
.perk-ios-about-facts {
  display: flex;
  flex-direction: column;
}

/* line 31983, 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 31996, 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 32004, 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 32012, app/assets/stylesheets/application.scss */
.perk-ios-about-fact small {
  color: #8e8e93;
  font-size: 12px;
  font-weight: 500;
}

/* line 32018, 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 32026, 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 32034, 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 32045, app/assets/stylesheets/application.scss */
.perk-ios-field-overlay.hidden {
  display: none;
}

/* line 32049, 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 32057, 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 32066, app/assets/stylesheets/application.scss */
.perk-ios-field-head h2 {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 650;
}

/* line 32073, 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 32082, app/assets/stylesheets/application.scss */
.perk-ios-field-head button[type="submit"] {
  justify-self: end;
}

/* line 32086, app/assets/stylesheets/application.scss */
.perk-ios-field-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

/* line 32093, 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 32105, app/assets/stylesheets/application.scss */
.perk-ios-field-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* line 32110, app/assets/stylesheets/application.scss */
.perk-ios-field-group[hidden] {
  display: none !important;
}

/* line 32114, app/assets/stylesheets/application.scss */
.perk-ios-friends-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

/* line 32122, app/assets/stylesheets/application.scss */
.perk-ios-friends-scroller::-webkit-scrollbar {
  display: none;
}

/* line 32126, 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 32142, 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 32151, 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 32159, 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 32171, app/assets/stylesheets/application.scss */
.perk-ios-friends-empty,
.perk-ios-empty-posts {
  margin: 0;
  color: #8e8e93;
  font-size: 13px;
}

/* line 32178, 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 32191, app/assets/stylesheets/application.scss */
.perk-ios-composer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
}

/* line 32199, 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 32209, app/assets/stylesheets/application.scss */
.perk-ios-composer > span:not(.perk-avatar-fallback) {
  flex: 1 1 auto;
  font-size: 15px;
}

/* line 32214, app/assets/stylesheets/application.scss */
.perk-ios-composer svg,
.perk-ios-composer i {
  flex: 0 0 auto;
  color: #8e8e93;
}

/* line 32220, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e8e93;
}

/* line 32228, app/assets/stylesheets/application.scss */
.perk-ios-dating-dot.is-active {
  background: #34c759;
}

/* line 32232, 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 32243, 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 32257, app/assets/stylesheets/application.scss */
.perk-ios-qr-chip i {
  font-size: 11px;
}

/* line 32261, app/assets/stylesheets/application.scss */
.perk-ios-section {
  margin-bottom: 0;
}

/* line 32265, app/assets/stylesheets/application.scss */
.perk-ios-section > h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
}

/* line 32271, app/assets/stylesheets/application.scss */
.perk-ios-section > p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 13px;
}

/* line 32277, app/assets/stylesheets/application.scss */
.perk-ios-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 32283, 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 32292, app/assets/stylesheets/application.scss */
.perk-ios-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 32298, app/assets/stylesheets/application.scss */
.perk-ios-photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 32308, 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 32325, 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 32336, 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 32344, app/assets/stylesheets/application.scss */
.perk-ios-card {
  padding: 14px;
}

/* line 32348, app/assets/stylesheets/application.scss */
.perk-ios-placeholder {
  color: #8e8e93;
  font-size: 14px;
}

/* line 32353, app/assets/stylesheets/application.scss */
.perk-ios-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 32359, 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 32367, 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 32378, app/assets/stylesheets/application.scss */
.perk-ios-inline-form textarea:focus {
  border-color: rgba(0, 0, 0, 0.28);
}

/* line 32382, 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 32394, app/assets/stylesheets/application.scss */
.perk-ios-about-list {
  overflow: hidden;
}

/* line 32398, 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 32407, app/assets/stylesheets/application.scss */
.perk-ios-about-row:last-child {
  border-bottom: 0;
}

/* line 32411, app/assets/stylesheets/application.scss */
.perk-ios-about-row > span {
  flex: 0 0 130px;
  color: #111;
  font-size: 14px;
}

/* line 32417, 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 32429, app/assets/stylesheets/application.scss */
.perk-ios-about-row input::placeholder,
.perk-ios-about-static em {
  color: #8e8e93;
}

/* line 32434, app/assets/stylesheets/application.scss */
.perk-ios-about-row > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

/* line 32441, 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 32449, app/assets/stylesheets/application.scss */
.perk-ios-posts .perk-feed-post {
  padding-left: 0;
  padding-right: 0;
}

/* line 32454, 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 32460, 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 32466, 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 32477, app/assets/stylesheets/application.scss */
.perk-ios-qr-overlay.hidden {
  display: none;
}

/* line 32481, 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 32493, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery.hidden {
  display: none;
}

/* line 32497, 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 32506, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

/* line 32513, 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 32521, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

/* line 32527, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-count {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* line 32534, 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 32542, 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 32552, 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 32562, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-prev {
  left: 8px;
}

/* line 32563, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav.is-next {
  right: 8px;
}

/* line 32564, app/assets/stylesheets/application.scss */
.perk-ios-photo-gallery-nav[hidden] {
  display: none;
}

/* line 32566, 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 32578, 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 32587, app/assets/stylesheets/application.scss */
.perk-ios-qr-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 32593, app/assets/stylesheets/application.scss */
.perk-ios-qr-head-actions {
  display: inline-flex;
  gap: 8px;
}

/* line 32598, 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 32609, app/assets/stylesheets/application.scss */
.perk-profile-share-sheet {
  max-height: none;
}

/* line 32613, 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 32629, app/assets/stylesheets/application.scss */
.perk-profile-share-preview {
  padding: 8px 22px 20px;
  background: #f2f2f7;
}

/* line 32634, 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 32646, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card img {
  width: 154px;
  height: 154px;
  margin: 7px 0 8px;
  border-radius: 12px;
}

/* line 32653, app/assets/stylesheets/application.scss */
.perk-profile-share-brand {
  color: #111;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

/* line 32660, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card strong {
  font-size: 16px;
}

/* line 32664, app/assets/stylesheets/application.scss */
.perk-profile-share-preview-card small {
  margin-top: 2px;
  color: #8e8e93;
}

/* line 32669, 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 32677, app/assets/stylesheets/application.scss */
.perk-profile-share-sheet .perk-feed-share-external {
  border-top: 0;
  padding-top: 16px;
}

/* line 32682, 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 32695, app/assets/stylesheets/application.scss */
.perk-ios-qr-hint {
  margin: 0 0 18px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.45;
}

/* line 32702, 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 32716, app/assets/stylesheets/application.scss */
.perk-ios-qr-canvas {
  display: block;
  width: 220px;
  height: 220px;
  image-rendering: pixelated;
}

/* line 32723, app/assets/stylesheets/application.scss */
.perk-ios-qr-fallback {
  width: 220px;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.4;
}

/* line 32730, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

/* line 32737, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity strong {
  font-size: 18px;
  font-weight: 700;
}

/* line 32742, app/assets/stylesheets/application.scss */
.perk-ios-qr-identity span {
  color: #8e8e93;
  font-size: 14px;
}

/* line 32747, 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 32763, app/assets/stylesheets/application.scss */
.perk-ios-qr-copy.is-copied {
  background: rgba(52, 199, 89, 0.12);
  color: #1f9d4b;
}

/* line 32768, 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 32779, app/assets/stylesheets/application.scss */
.perk-ios-settings-overlay.hidden {
  display: none;
}

/* line 32783, app/assets/stylesheets/application.scss */
.perk-ios-settings-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 86vh;
  overflow: auto;
  border-radius: var(--perk-radius-xl, 22px);
  background: var(--perk-canvas, #f5f5f7);
  padding: 18px 18px 22px;
  box-shadow: var(--perk-shadow-lg);
}

/* line 32794, app/assets/stylesheets/application.scss */
.perk-ios-settings-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
}

/* line 32801, app/assets/stylesheets/application.scss */
.perk-ios-settings-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

/* line 32808, 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 32819, app/assets/stylesheets/application.scss */
.perk-ios-settings-cancel {
  justify-self: start;
}

/* line 32823, app/assets/stylesheets/application.scss */
.perk-ios-settings-done {
  justify-self: end;
  font-weight: 650;
}

/* line 32828, app/assets/stylesheets/application.scss */
.perk-ios-settings-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

/* line 32835, app/assets/stylesheets/application.scss */
.perk-ios-settings-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 32841, app/assets/stylesheets/application.scss */
.perk-ios-settings-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 32847, 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: var(--perk-radius-md, 12px);
  background: var(--perk-surface, #fff);
  color: var(--perk-ink, #1d1d1f);
  padding: 14px 16px;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--perk-line, rgba(60, 60, 67, 0.12));
}

/* line 32865, app/assets/stylesheets/application.scss */
.perk-ios-settings-row:hover {
  background: #fafafa;
  color: var(--perk-ink, #1d1d1f);
  text-decoration: none;
}

/* line 32871, app/assets/stylesheets/application.scss */
.perk-ios-settings-row i {
  color: var(--perk-muted-soft, #8e8e93);
  font-size: 12px;
}

/* line 32876, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 32882, app/assets/stylesheets/application.scss */
.perk-ios-settings-actions form {
  margin: 0;
}

/* line 32886, app/assets/stylesheets/application.scss */
.perk-ios-settings-action {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--perk-radius-md, 12px);
  background: var(--perk-surface, #fff);
  color: var(--perk-ink, #1d1d1f);
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--perk-line, rgba(60, 60, 67, 0.12));
}

/* line 32900, app/assets/stylesheets/application.scss */
.perk-ios-settings-action.is-danger {
  color: var(--perk-danger, #ff3b30);
}

/* line 32904, app/assets/stylesheets/application.scss */
.perk-ios-settings-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 32910, 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 32918, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field > div {
  position: relative;
}

/* line 32922, 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 32931, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field input {
  width: 100%;
  height: 50px;
  border: 1px solid transparent;
  border-radius: var(--perk-radius-md, 12px);
  outline: 0;
  background: var(--perk-field, #f2f2f7);
  padding: 0 16px 0 42px;
  color: var(--perk-ink, #1d1d1f);
  font-size: 15px;
}

/* line 32943, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-field input:focus {
  border-color: var(--perk-accent, #007aff);
  background: var(--perk-surface, #fff);
  box-shadow: 0 0 0 3px var(--perk-accent-soft, rgba(0, 122, 255, 0.12));
}

/* line 32949, app/assets/stylesheets/application.scss */
.perk-ios-settings-form .perk-auth-submit {
  margin-top: 4px;
  border-radius: var(--perk-radius-pill, 999px);
  font-size: 15px;
  font-weight: 600;
}

/* line 32956, 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 32969, app/assets/stylesheets/application.scss */
  .perk-ios-profile-header-top {
    align-items: flex-start;
  }
  /* line 32973, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    width: 100%;
  }
  /* line 32977, app/assets/stylesheets/application.scss */
  .perk-ios-about-row {
    flex-direction: column;
    gap: 6px;
  }
  /* line 32982, app/assets/stylesheets/application.scss */
  .perk-ios-about-row > span {
    flex-basis: auto;
  }
  /* line 32986, app/assets/stylesheets/application.scss */
  .perk-ios-about-row input,
.perk-ios-about-row em {
    text-align: left;
  }
}

@media (min-width: 900px) {
  /* line 32993, 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 33001, app/assets/stylesheets/application.scss */
  .perk-ios-profile-shell {
    max-width: 1080px;
    padding: 0 28px;
  }
  /* line 33006, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav {
    grid-template-columns: 40px 1fr 40px;
    margin-bottom: 22px;
  }
  /* line 33011, app/assets/stylesheets/application.scss */
  .perk-ios-profile-nav h1 {
    text-align: left;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  /* line 33018, app/assets/stylesheets/application.scss */
  .perk-ios-qr-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  /* line 33024, app/assets/stylesheets/application.scss */
  .perk-ios-profile-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  /* line 33031, 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 33044, app/assets/stylesheets/application.scss */
  .perk-ios-profile-header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* line 33050, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    margin: 0 auto;
  }
  /* line 33057, app/assets/stylesheets/application.scss */
  .perk-ios-profile-avatar-image i {
    font-size: 112px;
  }
  /* line 33061, app/assets/stylesheets/application.scss */
  .perk-ios-avatar-camera {
    width: 32px;
    height: 32px;
    right: 2px;
    bottom: 2px;
  }
  /* line 33068, app/assets/stylesheets/application.scss */
  .perk-ios-profile-identity {
    flex: 0 0 auto;
    width: 100%;
  }
  /* line 33073, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row {
    justify-content: center;
  }
  /* line 33077, app/assets/stylesheets/application.scss */
  .perk-ios-profile-name-row strong {
    font-size: 22px;
    white-space: normal;
  }
  /* line 33082, app/assets/stylesheets/application.scss */
  .perk-ios-profile-meta {
    justify-content: center;
  }
  /* line 33086, app/assets/stylesheets/application.scss */
  .perk-ios-profile-stats {
    justify-content: center;
  }
  /* line 33090, app/assets/stylesheets/application.scss */
  .perk-ios-profile-actions {
    width: 100%;
  }
  /* line 33094, 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 33102, app/assets/stylesheets/application.scss */
  .perk-ios-photo-grid {
    gap: 12px;
  }
  /* line 33106, app/assets/stylesheets/application.scss */
  .perk-ios-inline-form textarea {
    min-height: 120px;
  }
  /* line 33110, app/assets/stylesheets/application.scss */
  .perk-ios-settings-overlay,
.perk-ios-qr-overlay {
    align-items: center;
    padding: 40px;
  }
  /* line 33116, app/assets/stylesheets/application.scss */
  .perk-ios-settings-sheet,
.perk-ios-qr-sheet {
    max-height: min(80vh, 720px);
  }
}

/* —— AI Drive (web) — Precision Minimal (Apple / OpenAI / Tesla) —— */
/* line 33123, app/assets/stylesheets/application.scss */
.ai-drive {
  --drive-ink: #111111;
  --drive-muted: #6b6b6b;
  --drive-line: rgba(0, 0, 0, 0.08);
  --drive-soft: #f5f5f5;
  --drive-surface: #ffffff;
  --drive-accent: #111111;
  --drive-focus: #0071e3;
  --drive-violet: #5b5b5b;
  --drive-mint: #1a7f4b;
  --drive-blue: #0071e3;
  --drive-orange: #c45c12;
  --drive-radius: 12px;
  --drive-radius-sm: 8px;
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  background: radial-gradient(1200px 480px at 12% -10%, rgba(0, 113, 227, 0.05), transparent 55%), linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  color: var(--drive-ink);
  height: 100%;
  min-height: calc(100vh - 80px);
  font-family: var(--perk-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif);
  -webkit-font-smoothing: antialiased;
}

/* line 33151, app/assets/stylesheets/application.scss */
.ai-drive.hidden,
.ai-drive[hidden] {
  display: none !important;
}

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

/* line 33165, app/assets/stylesheets/application.scss */
.ai-drive-futur-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--drive-line);
  flex: 0 0 auto;
  flex-wrap: wrap;
}

/* line 33179, app/assets/stylesheets/application.scss */
.ai-drive-futur-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex: 0 1 auto;
}

/* line 33187, app/assets/stylesheets/application.scss */
.ai-drive-futur-back {
  margin-top: 0;
}

/* line 33191, app/assets/stylesheets/application.scss */
.ai-drive-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--drive-radius-sm);
  background: var(--drive-ink);
  color: #fff;
  flex: 0 0 auto;
}

/* line 33203, app/assets/stylesheets/application.scss */
.ai-drive-futur-brand-copy {
  min-width: 0;
}

/* line 33207, app/assets/stylesheets/application.scss */
.ai-drive-futur-brand-copy h1,
.ai-drive-futur-brand-copy .ai-drive-app-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--drive-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(40vw, 280px);
}

/* line 33220, app/assets/stylesheets/application.scss */
.ai-drive-futur-brand-copy .ai-drive-app-title {
  display: block;
}

/* line 33224, app/assets/stylesheets/application.scss */
.ai-drive-futur-brand-copy p {
  margin: 0.1rem 0 0;
  color: var(--drive-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* line 33232, app/assets/stylesheets/application.scss */
.ai-drive.is-app-library #ai-drive-brand-title,
.ai-drive.is-app-library #ai-drive-brand-subtitle {
  display: none;
}

/* line 33237, app/assets/stylesheets/application.scss */
.ai-drive-futur-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 440px;
  background: var(--drive-soft);
  border: 1px solid transparent;
  border-radius: 980px;
  padding: 0 0.85rem;
  box-shadow: none;
  margin: 0 auto;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* line 33253, app/assets/stylesheets/application.scss */
.ai-drive-futur-search-wrap:focus-within {
  background: #fff;
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

/* line 33259, app/assets/stylesheets/application.scss */
.ai-drive-search-ico {
  color: var(--drive-muted);
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 33265, app/assets/stylesheets/application.scss */
.ai-drive-futur-search {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.62rem 0.55rem;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
  color: var(--drive-ink);
}

/* line 33277, app/assets/stylesheets/application.scss */
.ai-drive-futur-search::placeholder {
  color: #8e8e8e;
}

/* line 33281, app/assets/stylesheets/application.scss */
.ai-drive-search-kbd {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--drive-muted);
  background: #fff;
  border: 1px solid var(--drive-line);
  border-radius: 6px;
  padding: 0.14rem 0.38rem;
  flex: 0 0 auto;
  letter-spacing: 0.02em;
}

/* line 33294, app/assets/stylesheets/application.scss */
.ai-drive-search-clear {
  appearance: none;
  border: 0;
  background: var(--drive-soft);
  color: var(--drive-muted);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

/* line 33309, app/assets/stylesheets/application.scss */
.ai-drive-search-clear.hidden,
.ai-drive-search-clear[hidden] {
  display: none !important;
}

/* line 33314, app/assets/stylesheets/application.scss */
.ai-drive-futur-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 1 auto;
}

/* line 33323, app/assets/stylesheets/application.scss */
.ai-drive-btn {
  appearance: none;
  border: 1px solid var(--drive-line);
  background: #fff;
  color: var(--drive-ink);
  border-radius: 980px;
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* line 33340, app/assets/stylesheets/application.scss */
.ai-drive-btn.is-primary {
  background: var(--drive-accent);
  border-color: var(--drive-accent);
  color: #fff;
  box-shadow: none;
}

/* line 33347, app/assets/stylesheets/application.scss */
.ai-drive-btn.is-primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  filter: none;
}

/* line 33353, app/assets/stylesheets/application.scss */
.ai-drive-btn.is-ghost {
  background: transparent;
  border-color: transparent;
}

/* line 33358, app/assets/stylesheets/application.scss */
.ai-drive-btn.is-ghost:hover {
  background: var(--drive-soft);
}

/* line 33362, app/assets/stylesheets/application.scss */
.ai-drive-sort-btn {
  height: auto;
  padding: 0.48rem 0.75rem;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

/* line 33371, app/assets/stylesheets/application.scss */
.ai-drive-sort-btn:hover {
  background: var(--drive-soft);
  box-shadow: none;
}

/* line 33376, app/assets/stylesheets/application.scss */
.ai-drive-tabs {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
  min-width: 0;
  border-bottom: 1px solid transparent;
}

/* line 33390, app/assets/stylesheets/application.scss */
.ai-drive-tabs-inline {
  margin: 0;
}

/* line 33394, app/assets/stylesheets/application.scss */
.ai-drive.is-app-library .ai-drive-tabs-inline {
  display: none;
}

/* line 33398, app/assets/stylesheets/application.scss */
.ai-drive-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0.45rem 0.7rem 0.55rem;
  min-width: 0;
  min-height: 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--drive-muted);
  cursor: pointer;
  flex: 0 0 auto;
  border-radius: 0;
  line-height: 1.2;
  transition: color 0.15s ease;
}

/* line 33415, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active {
  color: var(--drive-ink);
  font-weight: 600;
  background: transparent;
  box-shadow: none;
}

/* line 33422, app/assets/stylesheets/application.scss */
.ai-drive-tab.is-active::after {
  content: "";
  display: block;
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--drive-ink);
}

/* line 33434, app/assets/stylesheets/application.scss */
.ai-drive-tab:hover {
  color: var(--drive-ink);
}

/* line 33438, app/assets/stylesheets/application.scss */
.ai-drive-home-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.75rem;
  padding: 1.25rem 1.5rem 1.5rem;
  overflow: auto;
}

/* line 33448, app/assets/stylesheets/application.scss */
.ai-drive-home-main,
.ai-drive-home-side {
  min-width: 0;
}

/* line 33453, app/assets/stylesheets/application.scss */
.ai-drive-home-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 0;
  align-self: start;
}

/* line 33462, app/assets/stylesheets/application.scss */
.ai-drive-quick-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.15rem;
}

/* line 33469, app/assets/stylesheets/application.scss */
.ai-drive-quick-card {
  --drive-tone: #111111;
  appearance: none;
  border: 1px solid var(--drive-line);
  background: var(--drive-surface);
  border-radius: var(--drive-radius);
  padding: 0.85rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  text-align: left;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* line 33486, app/assets/stylesheets/application.scss */
.ai-drive-quick-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
  background: #fafafa;
  box-shadow: none;
  transform: none;
}

/* line 33493, app/assets/stylesheets/application.scss */
.ai-drive-quick-card.is-soft {
  background: var(--drive-soft);
  border-style: dashed;
}

/* line 33498, app/assets/stylesheets/application.scss */
.ai-drive-quick-card.is-soft:hover {
  background: #efefef;
  border-style: solid;
}

/* line 33503, app/assets/stylesheets/application.scss */
.ai-drive-quick-ico {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--drive-tone) 10%, white);
  color: var(--drive-tone);
}

/* line 33514, app/assets/stylesheets/application.scss */
.ai-drive-quick-card strong {
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--drive-ink);
  letter-spacing: -0.015em;
}

/* line 33521, app/assets/stylesheets/application.scss */
.ai-drive-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 1.1rem 0 0.85rem;
  padding-bottom: 0.15rem;
}

/* line 33529, app/assets/stylesheets/application.scss */
.ai-drive-filter-pill {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--drive-muted);
  border-radius: 980px;
  padding: 0.38rem 0.78rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

/* line 33543, app/assets/stylesheets/application.scss */
.ai-drive-filter-pill:hover {
  background: var(--drive-soft);
  color: var(--drive-ink);
}

/* line 33548, app/assets/stylesheets/application.scss */
.ai-drive-filter-pill.is-on {
  background: var(--drive-ink);
  color: #fff;
  box-shadow: none;
}

/* line 33554, app/assets/stylesheets/application.scss */
.ai-drive-section-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

/* line 33561, app/assets/stylesheets/application.scss */
.ai-drive-section-head h2,
.ai-drive-side-card h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--drive-muted);
}

/* line 33571, app/assets/stylesheets/application.scss */
.ai-drive-side-card,
.ai-drive-promo-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.15rem 0 0;
  box-shadow: none;
}

/* line 33580, app/assets/stylesheets/application.scss */
.ai-drive-recent-list {
  display: grid;
  gap: 0.15rem;
}

/* line 33585, app/assets/stylesheets/application.scss */
.ai-drive-recent-row {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  text-align: left;
  padding: 0.45rem 0.4rem;
  border-radius: var(--drive-radius-sm);
  cursor: pointer;
  width: 100%;
}

/* line 33600, app/assets/stylesheets/application.scss */
.ai-drive-recent-row:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 33604, app/assets/stylesheets/application.scss */
.ai-drive-recent-ico {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--drive-tone, #111111) 10%, white);
  color: var(--drive-tone, #111111);
}

/* line 33615, app/assets/stylesheets/application.scss */
.ai-drive-recent-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

/* line 33622, app/assets/stylesheets/application.scss */
.ai-drive-recent-copy strong {
  font-size: 0.84rem;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 33630, app/assets/stylesheets/application.scss */
.ai-drive-recent-copy em {
  font-style: normal;
  color: var(--drive-muted);
  font-size: 0.72rem;
}

/* line 33636, app/assets/stylesheets/application.scss */
.ai-drive-promo-card {
  background: var(--drive-soft);
  border: 1px solid var(--drive-line);
  border-radius: var(--drive-radius);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

/* line 33645, app/assets/stylesheets/application.scss */
.ai-drive-promo-ico {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--drive-ink);
  border: 1px solid var(--drive-line);
}

/* line 33657, app/assets/stylesheets/application.scss */
.ai-drive-promo-card strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

/* line 33662, app/assets/stylesheets/application.scss */
.ai-drive-promo-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--drive-muted);
}

/* line 33669, app/assets/stylesheets/application.scss */
.ai-drive-promo-card .ai-drive-btn.is-primary {
  justify-content: center;
  margin-top: 0.2rem;
}

/* line 33674, app/assets/stylesheets/application.scss */
.ai-drive.is-app-library .ai-drive-home-side,
.ai-drive.is-app-library [data-drive-quick-create],
.ai-drive.is-chat .ai-drive-home-side {
  display: none;
}

/* line 33680, app/assets/stylesheets/application.scss */
.ai-drive.is-app-library .ai-drive-home-layout,
.ai-drive.is-chat .ai-drive-home-layout {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1100px) {
  /* line 33686, app/assets/stylesheets/application.scss */
  .ai-drive-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 33690, app/assets/stylesheets/application.scss */
  .ai-drive-home-side {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
  }
  /* line 33697, app/assets/stylesheets/application.scss */
  .ai-drive-quick-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  /* line 33703, app/assets/stylesheets/application.scss */
  .ai-drive-futur-top {
    padding: 0.9rem 1rem 0.85rem;
  }
  /* line 33707, app/assets/stylesheets/application.scss */
  .ai-drive-futur-search-wrap {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }
  /* line 33714, app/assets/stylesheets/application.scss */
  .ai-drive-futur-actions {
    width: 100%;
  }
  /* line 33718, app/assets/stylesheets/application.scss */
  .ai-drive-home-layout {
    padding: 0.85rem 1rem 1.25rem;
  }
  /* line 33722, app/assets/stylesheets/application.scss */
  .ai-drive-home-side {
    grid-template-columns: 1fr;
  }
  /* line 33726, app/assets/stylesheets/application.scss */
  .ai-drive-quick-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 33730, app/assets/stylesheets/application.scss */
  .ai-drive-futur-actions .ai-drive-btn span:not([aria-hidden]),
.ai-drive-sort-btn > span:first-child {
    display: none;
  }
  /* line 33735, app/assets/stylesheets/application.scss */
  .ai-drive-search-kbd {
    display: none;
  }
}

/* line 33740, 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 33757, app/assets/stylesheets/application.scss */
.ai-drive-chat-topbar.hidden,
.ai-drive-chat-topbar[hidden] {
  display: none !important;
}

/* line 33762, app/assets/stylesheets/application.scss */
.ai-drive-chat-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  pointer-events: auto;
}

/* line 33770, 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 33785, app/assets/stylesheets/application.scss */
.ai-drive-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 33791, 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 33806, 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 33816, app/assets/stylesheets/application.scss */
.ai-drive-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 980px;
  background: transparent;
  color: var(--drive-muted, #6b6b6b);
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

/* line 33832, app/assets/stylesheets/application.scss */
.ai-drive-icon-btn:hover {
  background: var(--drive-soft, #f5f5f5);
  color: var(--drive-ink, #111111);
  box-shadow: none;
}

/* line 33838, app/assets/stylesheets/application.scss */
.ai-drive-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0.65rem;
  flex: 0 0 auto;
}

/* line 33846, app/assets/stylesheets/application.scss */
.ai-drive-toolbar.is-empty {
  display: none;
}

/* line 33850, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

/* line 33858, app/assets/stylesheets/application.scss */
.ai-drive-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* line 33866, app/assets/stylesheets/application.scss */
.ai-drive-fabs {
  position: absolute;
  right: 16px;
  bottom: 88px;
  z-index: 6;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 720px) {
  /* line 33879, app/assets/stylesheets/application.scss */
  .ai-drive-fabs {
    display: flex;
  }
}

/* line 33884, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-fabs {
  bottom: 72px;
}

/* line 33888, app/assets/stylesheets/application.scss */
.ai-drive-fabs.hidden,
.ai-drive-fabs[hidden] {
  display: none !important;
}

/* line 33893, app/assets/stylesheets/application.scss */
.ai-drive-fab {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  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-height: 0;
}

/* line 33910, 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 33917, 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 33927, app/assets/stylesheets/application.scss */
.ai-drive-create-overlay.hidden,
.ai-drive-create-overlay[hidden] {
  display: none !important;
}

/* line 33932, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--drive-line, rgba(0, 0, 0, 0.08));
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.08);
  padding: 8px 0 24px;
}

/* line 33941, 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 33950, app/assets/stylesheets/application.scss */
.ai-drive-create-sheet h3 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 33958, 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 33973, 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 33988, app/assets/stylesheets/application.scss */
  .ai-drive-create-overlay {
    align-items: center;
  }
  /* line 33992, app/assets/stylesheets/application.scss */
  .ai-drive-create-sheet {
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  }
  /* line 33997, app/assets/stylesheets/application.scss */
  .ai-drive-search {
    max-width: 560px;
  }
}

/* line 34002, app/assets/stylesheets/application.scss */
.ai-drive-new-wrap {
  position: relative;
}

/* line 34006, 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 34022, app/assets/stylesheets/application.scss */
.ai-drive-new-btn:hover {
  background: #1765cc;
}

/* line 34026, app/assets/stylesheets/application.scss */
.ai-drive-new-btn.is-danger,
#ai-drive-dialog-confirm.is-danger {
  background: #17191d;
}

/* line 34031, app/assets/stylesheets/application.scss */
.ai-drive-new-chevron {
  font-size: 10px;
  opacity: 0.85;
}

/* line 34036, 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 34049, 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 34064, app/assets/stylesheets/application.scss */
.ai-drive-menu button:hover {
  background: #f1f3f4;
}

/* line 34068, app/assets/stylesheets/application.scss */
.ai-drive-menu i {
  width: 18px;
  color: #5f6368;
}

/* line 34073, 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 34087, app/assets/stylesheets/application.scss */
.ai-drive-text-btn:hover {
  background: #f1f3f4;
}

/* line 34091, app/assets/stylesheets/application.scss */
.ai-drive-text-btn.is-active {
  background: #e8f0fe;
  color: #1a73e8;
}

/* line 34096, app/assets/stylesheets/application.scss */
.ai-drive-shared-by-me-btn {
  background: #e8f0fe;
  color: #1a73e8;
}

/* line 34101, app/assets/stylesheets/application.scss */
.ai-drive-shared-by-me-btn:hover {
  background: #d2e3fc;
  color: #174ea6;
}

/* line 34106, app/assets/stylesheets/application.scss */
.ai-drive-shared-by-me-btn.is-active,
.ai-drive-shared-by-me-btn[aria-pressed="true"] {
  background: #1a73e8;
  color: #fff;
}

/* line 34112, app/assets/stylesheets/application.scss */
.ai-drive-shared-by-me-btn.is-active:hover,
.ai-drive-shared-by-me-btn[aria-pressed="true"]:hover {
  background: #174ea6;
  color: #fff;
}

/* line 34118, app/assets/stylesheets/application.scss */
.ai-drive-shared-by-me-btn.hidden,
.ai-drive-shared-by-me-btn[hidden] {
  display: none !important;
}

/* line 34123, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 0.84rem;
  color: var(--drive-muted, #64748b);
}

/* line 34135, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb.hidden,
.ai-drive-breadcrumb[hidden] {
  display: none !important;
}

/* line 34140, app/assets/stylesheets/application.scss */
.ai-drive-breadcrumb::-webkit-scrollbar {
  display: none;
}

/* line 34144, app/assets/stylesheets/application.scss */
.ai-drive-crumb {
  border: 0;
  background: transparent;
  color: var(--drive-accent, #007aff);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  padding: 0;
}

/* line 34155, app/assets/stylesheets/application.scss */
.ai-drive-crumb.is-current {
  color: var(--drive-ink, #0f172a);
  cursor: default;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 34163, app/assets/stylesheets/application.scss */
.ai-drive-crumb-sep {
  color: #cbd5e1;
  font-size: 0.7rem;
}

/* line 34168, app/assets/stylesheets/application.scss */
.ai-drive-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

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

/* line 34186, app/assets/stylesheets/application.scss */
.ai-drive-drive-pane > .ai-drive-home-layout {
  flex: 1 1 auto;
}

/* line 34190, 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 34196, app/assets/stylesheets/application.scss */
.ai-drive-browse {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  padding: 0 0 1.5rem;
}

/* line 34204, app/assets/stylesheets/application.scss */
.ai-drive-browse.is-dragging {
  background: rgba(26, 115, 232, 0.04);
}

/* line 34208, app/assets/stylesheets/application.scss */
.ai-drive-drop-hint {
  position: absolute;
  inset: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--drive-ink, #111);
  font-weight: 550;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

/* line 34226, app/assets/stylesheets/application.scss */
.ai-drive-sections {
  display: flex;
  flex-direction: column;
}

/* line 34231, app/assets/stylesheets/application.scss */
.ai-drive-sections > .ai-drive-list + .ai-drive-list {
  margin-top: 10px;
}

/* line 34235, app/assets/stylesheets/application.scss */
.ai-drive-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
  padding: 0.1rem 0 0.35rem;
  align-content: start;
  overflow: visible;
}

/* line 34244, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0;
}

/* line 34251, app/assets/stylesheets/application.scss */
.ai-drive-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid transparent;
  background: #e9eef6;
  overflow: hidden;
  box-shadow: none;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

/* line 34266, app/assets/stylesheets/application.scss */
.ai-drive-item:hover {
  border-color: transparent;
  background: #e1e7f0;
  box-shadow: none;
  transform: none;
}

/* line 34273, app/assets/stylesheets/application.scss */
.ai-drive-item:active {
  background: #d8e0eb;
  transform: none;
}

/* line 34278, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item {
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: var(--drive-radius-sm, 8px);
  background: transparent;
  overflow: visible;
  transform: none;
}

/* line 34289, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item:hover {
  background: rgba(0, 0, 0, 0.035);
  transform: none;
}

/* line 34294, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item:active {
  background: rgba(0, 0, 0, 0.055);
}

/* line 34298, app/assets/stylesheets/application.scss */
.ai-drive-item-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.7rem 0.65rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  overflow: hidden;
  border-radius: inherit;
}

/* line 34316, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-main {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.8rem;
  padding: 0.55rem 0.65rem;
  overflow: visible;
}

/* line 34325, app/assets/stylesheets/application.scss */
.ai-drive-item-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  padding-right: 1.7rem;
}

/* line 34334, app/assets/stylesheets/application.scss */
.ai-drive-item-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 550;
  color: #1f1f1f;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34347, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-head {
  display: flex;
  flex: 0 0 auto;
  width: auto;
  padding-right: 0;
  gap: 0;
}

/* line 34355, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-name {
  display: none;
}

/* line 34359, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-icon.is-compact {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--drive-icon-color, #111111) 9%, white);
  border: 1px solid color-mix(in srgb, var(--drive-icon-color, #111111) 12%, transparent);
}

/* line 34367, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-icon.is-folder.is-compact {
  background: color-mix(in srgb, var(--drive-icon-color, #0071e3) 10%, white);
}

/* line 34371, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-icon.is-compact .ai-drive-item-glyph .heroicon,
.ai-drive-list.is-list .ai-drive-item-icon.is-compact .ai-drive-item-glyph .ai-drive-item-glyph-icon,
.ai-drive-list.is-list .ai-drive-item-icon.is-compact .ai-drive-item-glyph > i {
  width: 14px;
  height: 14px;
}

/* line 34378, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-icon.is-compact .ai-drive-item-glyph > i.fas {
  font-size: 10px;
}

/* line 34382, app/assets/stylesheets/application.scss */
.ai-drive-item.is-folder {
  align-self: start;
}

/* line 34386, app/assets/stylesheets/application.scss */
.ai-drive-item.is-folder .ai-drive-item-main {
  gap: 0;
  padding: 0.65rem 0.7rem;
}

/* line 34391, app/assets/stylesheets/application.scss */
.ai-drive-item-preview {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

/* line 34401, app/assets/stylesheets/application.scss */
.ai-drive-item.is-folder .ai-drive-item-preview,
.ai-drive-item.is-folder .ai-drive-item-foot {
  display: none;
}

/* line 34406, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-preview,
.ai-drive-list.is-list .ai-drive-item-foot {
  display: none;
}

/* line 34411, app/assets/stylesheets/application.scss */
.ai-drive-item-more {
  position: absolute;
  top: 0.45rem;
  right: 0.35rem;
  z-index: 2;
  width: 1.85rem;
  height: 1.85rem;
  background: transparent;
  opacity: 1;
  color: #5f6368;
  box-shadow: none;
  transition: background 140ms ease, color 140ms ease;
}

/* line 34425, app/assets/stylesheets/application.scss */
.ai-drive-item:hover .ai-drive-item-more,
.ai-drive-item-more:focus-visible {
  opacity: 1;
  background: rgba(60, 64, 67, 0.08);
  color: #1f1f1f;
}

/* line 34432, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-more {
  position: static;
  opacity: 1;
  flex: 0 0 auto;
  margin-right: 0.45rem;
  order: 2;
  background: transparent;
}

/* line 34441, app/assets/stylesheets/application.scss */
.ai-drive-item-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--drive-icon-color, #111111) 9%, white);
  border: 1px solid color-mix(in srgb, var(--drive-icon-color, #111111) 12%, transparent);
  color: var(--drive-icon-color, #111111);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: none;
  flex: 0 0 auto;
  box-shadow: none;
}

/* line 34457, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-compact {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--drive-icon-color, #111111);
}

/* line 34466, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder {
  background: color-mix(in srgb, var(--drive-icon-color, #0071e3) 10%, white);
  color: var(--drive-icon-color, #0071e3);
}

/* line 34471, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder.is-compact {
  background: transparent;
  border: 0;
}

/* line 34476, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: inherit;
  background: transparent;
  color: var(--drive-icon-color, #3b82f6);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

/* line 34495, 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: 16px;
  color: inherit;
}

/* line 34508, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph::before {
  display: block;
  width: auto;
  margin: 0;
  line-height: 1;
  position: relative;
  top: 0;
}

/* line 34517, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder .ai-drive-item-glyph::before {
  top: 0;
}

/* line 34521, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph.fas {
  font-weight: 900;
}

/* line 34525, 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: 20px;
  height: 20px;
  flex-shrink: 0;
  color: inherit;
}

/* line 34534, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-compact .ai-drive-item-glyph .heroicon,
.ai-drive-item-icon.is-compact .ai-drive-item-glyph .ai-drive-item-glyph-icon,
.ai-drive-item-icon.is-compact .ai-drive-item-glyph > i {
  width: 16px;
  height: 16px;
}

/* line 34541, 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: 22px;
  height: 22px;
}

/* line 34548, app/assets/stylesheets/application.scss */
.ai-drive-item-glyph > i.fas {
  font-size: 12px;
  line-height: 1;
  position: relative;
  top: 1px;
}

/* line 34555, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-compact .ai-drive-item-glyph > i.fas {
  font-size: 14px;
  top: 0;
}

/* line 34560, app/assets/stylesheets/application.scss */
.ai-drive-item-icon.is-folder .ai-drive-item-glyph > i.fas {
  font-size: 19px;
  top: 0;
}

/* line 34565, app/assets/stylesheets/application.scss */
.ai-drive-item:hover .ai-drive-item-icon {
  filter: none;
}

/* line 34569, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-icon {
  width: 2.4rem;
  height: 2.4rem;
}

/* line 34574, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph {
  font-size: 10px;
}

/* line 34578, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph::before {
  top: 4px;
}

/* line 34582, 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 34589, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-glyph > i.fas {
  font-size: 10px;
}

/* line 34593, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item:hover .ai-drive-item-icon {
  transform: none;
}

/* line 34597, app/assets/stylesheets/application.scss */
.ai-drive-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  background: #ffffff;
}

/* line 34609, app/assets/stylesheets/application.scss */
.ai-drive-thumb .ai-drive-item-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  opacity: 0.92;
}

/* line 34616, app/assets/stylesheets/application.scss */
.ai-drive-thumb.has-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

/* line 34626, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-thumb {
  display: none;
}

/* line 34630, app/assets/stylesheets/application.scss */
.ai-drive-thumb.has-image img,
.ai-drive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* line 34639, app/assets/stylesheets/application.scss */
.ai-drive-item-text {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  width: 100%;
  padding-right: 0;
}

/* line 34648, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-text {
  display: flex;
  flex: 1 1 auto;
  order: 1;
}

/* line 34654, app/assets/stylesheets/application.scss */
.ai-drive-item-text strong {
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--drive-ink, #111111);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

/* line 34668, app/assets/stylesheets/application.scss */
.ai-drive-item.is-folder .ai-drive-item-text strong {
  font-size: 0.84rem;
  font-weight: 550;
}

/* line 34673, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item-text strong {
  font-size: 0.95rem;
  -webkit-line-clamp: 1;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
}

/* line 34681, app/assets/stylesheets/application.scss */
.ai-drive-list.is-list .ai-drive-item.is-folder .ai-drive-item-text strong {
  font-size: 0.95rem;
  font-weight: 650;
}

/* line 34686, app/assets/stylesheets/application.scss */
.ai-drive-item-text span,
.ai-drive-item-kind,
.ai-drive-item-edited {
  font-size: 0.78rem;
  color: var(--drive-muted, #64748b);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 34698, app/assets/stylesheets/application.scss */
.ai-drive-item-edited {
  margin-top: 0.15rem;
}

/* line 34702, app/assets/stylesheets/application.scss */
.ai-drive-item-foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  margin-top: 0.05rem;
}

/* line 34711, app/assets/stylesheets/application.scss */
.ai-drive-item-avatar {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #d2e3fc;
}

/* line 34720, app/assets/stylesheets/application.scss */
.ai-drive-item-avatar.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a73e8;
}

/* line 34727, app/assets/stylesheets/application.scss */
.ai-drive-item-avatar.is-fallback .heroicon,
.ai-drive-item-avatar.is-fallback svg {
  width: 12px;
  height: 12px;
}

/* line 34733, app/assets/stylesheets/application.scss */
.ai-drive-item-opened {
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 450;
  color: #5f6368;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 34744, app/assets/stylesheets/application.scss */
.ai-drive-item-text span .heroicon,
.ai-drive-item-text span > i,
.ai-drive-item-text span svg {
  width: 11px;
  height: 11px;
  margin-right: 2px;
  vertical-align: -1px;
}

/* line 34753, 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 34760, app/assets/stylesheets/application.scss */
.ai-drive-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 260px;
  margin-top: 0.35rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--drive-muted, #6b6b6b);
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* line 34776, app/assets/stylesheets/application.scss */
.ai-drive-empty-icon {
  margin-bottom: 8px;
  opacity: 0.9;
}

/* line 34781, app/assets/stylesheets/application.scss */
.ai-drive-empty-icon .ai-drive-item-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
}

/* line 34787, app/assets/stylesheets/application.scss */
.ai-drive-empty strong {
  color: var(--drive-ink, #111111);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* line 34794, app/assets/stylesheets/application.scss */
.ai-drive-empty p {
  margin: 0;
  max-width: 300px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--drive-muted, #6b6b6b);
}

/* line 34802, 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 34812, 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 34823, app/assets/stylesheets/application.scss */
.ai-drive.is-drive-item-dragging .ai-drive-item.is-file {
  cursor: grabbing;
}

/* line 34827, app/assets/stylesheets/application.scss */
.ai-drive-item.is-dragging-item {
  opacity: 0.55;
}

/* line 34831, 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 34839, app/assets/stylesheets/application.scss */
.ai-drive-chat.hidden,
.ai-drive-chat[hidden] {
  display: none !important;
}

/* line 34844, 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 34857, app/assets/stylesheets/application.scss */
.ai-drive-history.hidden,
.ai-drive-history[hidden] {
  display: none !important;
}

/* line 34862, 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 34872, app/assets/stylesheets/application.scss */
.ai-drive-history-head strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 34877, 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 34893, app/assets/stylesheets/application.scss */
.ai-drive-history-new-chat-btn:hover {
  background: #eceef1;
}

/* line 34897, app/assets/stylesheets/application.scss */
.ai-drive-history-new-chat-btn i {
  width: 18px;
  text-align: center;
  color: #5f6368;
}

/* line 34903, 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 34910, 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 34924, app/assets/stylesheets/application.scss */
.ai-drive-history-item:hover,
.ai-drive-history-item.is-active {
  background: #f3f4f6;
}

/* line 34929, 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 34937, app/assets/stylesheets/application.scss */
.ai-drive-history-item span {
  font-size: 12px;
  color: #8e8e93;
}

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

/* line 34949, app/assets/stylesheets/application.scss */
.ai-drive.is-history-open .ai-drive-chat-topbar [data-drive-history-btn] {
  background: #17191d;
  color: #fff;
}

/* line 34954, 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 34965, 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 34974, 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 34983, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

/* line 34989, app/assets/stylesheets/application.scss */
.ai-drive-chat-welcome p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.4;
}

/* line 34996, 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 35004, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-user {
  justify-content: flex-end;
}

/* line 35008, app/assets/stylesheets/application.scss */
.ai-drive-msg-row.is-bot {
  justify-content: flex-start;
}

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

/* line 35019, 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 35028, 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 35037, 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 35047, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-media {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  white-space: normal;
}

/* line 35055, 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 35063, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-text {
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 35068, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-media .ai-drive-chat-msg-text {
  padding: 0 6px 4px;
}

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

/* line 35076, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg-user {
  align-self: flex-end;
  background: #f4f4f4;
  color: #202124;
  font-weight: 300;
}

/* line 35083, 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 35091, app/assets/stylesheets/application.scss */
.ai-drive-chat-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 35096, 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 35105, 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 35121, 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 35127, app/assets/stylesheets/application.scss */
.ai-drive-msg-ai-more-wrap {
  position: relative;
}

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

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

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

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

/* line 35184, 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 35196, app/assets/stylesheets/application.scss */
.ai-drive-chat-form.hidden,
.ai-drive-chat-form[hidden] {
  display: none !important;
}

/* line 35201, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 35207, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending.hidden,
.ai-drive-chat-pending[hidden] {
  display: none !important;
}

/* line 35212, 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 35223, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-chip.is-image {
  position: relative;
  padding: 6px;
}

/* line 35228, 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 35238, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 35245, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-thumb .ai-drive-chat-pending-icon {
  width: 100%;
  height: 100%;
}

/* line 35250, 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 35262, 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 35273, 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 35279, 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 35289, 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 35302, app/assets/stylesheets/application.scss */
.ai-drive-chat-pending-clear:hover {
  background: #e8eaed;
  color: #202124;
}

/* line 35307, app/assets/stylesheets/application.scss */
.ai-drive-chat-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* line 35314, 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 35326, 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 35333, app/assets/stylesheets/application.scss */
.ai-drive-chat-form button[type="submit"],
.ai-drive-chat-composer button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  line-height: 0;
}

/* line 35350, app/assets/stylesheets/application.scss */
.ai-drive-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 10px;
  scrollbar-width: none;
}

/* line 35358, app/assets/stylesheets/application.scss */
.ai-drive-suggestions::-webkit-scrollbar {
  display: none;
}

/* line 35362, app/assets/stylesheets/application.scss */
.ai-drive-suggestions-footer {
  padding: 10px 0 0;
  background: transparent;
  width: 100%;
}

/* line 35368, app/assets/stylesheets/application.scss */
.ai-drive-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--drive-line, #e8eef5);
  background: transparent;
  box-shadow: none;
  padding: 0 18px 14px;
}

/* line 35376, app/assets/stylesheets/application.scss */
.ai-drive:not(.is-chat) .ai-drive-footer {
  display: none;
}

/* line 35380, app/assets/stylesheets/application.scss */
.ai-drive-footer .hub-ai-composer-curtain {
  display: none;
}

/* line 35384, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-drive-pane .ai-drive-footer {
  padding: 0 14px 12px;
  border-top: 0;
}

/* line 35389, app/assets/stylesheets/application.scss */
.ai-drive.is-chat .ai-drive-chat-messages {
  padding-bottom: 18px;
}

/* line 35393, app/assets/stylesheets/application.scss */
.ai-drive-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--drive-line, rgba(0, 0, 0, 0.08));
  border-radius: 980px;
  background: transparent;
  color: var(--drive-ink, #111);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}

/* line 35411, app/assets/stylesheets/application.scss */
.ai-drive-chip:hover {
  background: #fff;
  border-color: color-mix(in srgb, #1a73e8 24%, #e5e7eb);
  color: #1a73e8;
}

/* line 35417, 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 35427, 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 35436, 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 35444, 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 35454, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-rich {
  align-items: stretch;
  justify-content: flex-start;
  background: #e8eaed;
  padding: 10px;
}

/* line 35461, app/assets/stylesheets/application.scss */
.ai-drive-preview-body.is-media {
  background: #fafafa;
}

/* line 35465, 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 35477, app/assets/stylesheets/application.scss */
.ai-drive-preview-body audio {
  width: 100%;
}

/* line 35481, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx {
  width: 100%;
  min-height: 100%;
}

/* line 35486, app/assets/stylesheets/application.scss */
.ai-drive-preview-docx .docx-wrapper {
  background: transparent !important;
  padding: 0 !important;
}

/* line 35491, 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 35499, 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 35506, 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 35512, 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 35527, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 35536, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-name {
  font-size: 12px;
  font-weight: 600;
  color: #137333;
  padding: 0 2px;
}

/* line 35543, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 2px;
}

/* line 35550, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-tab {
  appearance: none;
  border: 1px solid #cfe3d3;
  background: #f1f8f2;
  color: #137333;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  padding: 3px 8px;
  cursor: pointer;
}

/* line 35562, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-tab.is-active {
  background: #137333;
  border-color: #137333;
  color: #fff;
}

/* line 35568, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
}

/* line 35577, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
  font-size: 11px;
  color: #202124;
}

/* line 35585, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-table th,
.ai-drive-preview-sheet-table td {
  border: 1px solid #e6e8eb;
  padding: 4px 8px;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Styled import preview: allow inline fills/fonts/borders from the workbook */
/* line 35596, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-table.is-styled th,
.ai-drive-preview-sheet-table.is-styled td {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  vertical-align: middle;
  background-clip: padding-box;
}

/* line 35605, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-table.is-styled tbody td {
  white-space: nowrap;
}

/* line 35609, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-table.is-styled tbody td[style*="white-space:pre-wrap"],
.ai-drive-preview-sheet-table.is-styled tbody td[style*="white-space: pre-wrap"] {
  white-space: pre-wrap;
}

/* line 35614, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-table thead th,
.ai-drive-preview-sheet-table tbody th {
  background: #f8f9fa;
  color: #5f6368;
  font-weight: 600;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* line 35625, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-table tbody th {
  left: 0;
  z-index: 2;
  position: sticky;
  top: auto;
}

/* line 35632, app/assets/stylesheets/application.scss */
.ai-drive-preview-sheet-corner {
  left: 0;
  z-index: 3 !important;
  min-width: 28px;
}

/* line 35638, app/assets/stylesheets/application.scss */
.ai-drive-preview-loading {
  color: #5f6368;
  font-size: 20px;
}

/* line 35643, app/assets/stylesheets/application.scss */
.ai-drive-preview-file {
  text-align: center;
  color: #5f6368;
}

/* line 35648, app/assets/stylesheets/application.scss */
.ai-drive-preview-file .ai-drive-item-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
}

/* line 35654, app/assets/stylesheets/application.scss */
.ai-drive-preview-file .ai-drive-item-glyph {
  font-size: 17px;
}

/* line 35658, 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 35666, 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 35683, app/assets/stylesheets/application.scss */
.ai-drive-workspace.hidden,
.ai-drive-workspace[hidden] {
  display: none !important;
}

/* Dedicated file window: reload paints the document, not the hub then Docs. */
/* line 35689, app/assets/stylesheets/application.scss */
html.perk-drive-file-window,
html.perk-drive-file-window body {
  background: #f8fafc;
}

/* line 35694, app/assets/stylesheets/application.scss */
html.perk-drive-file-window::before {
  content: "";
  position: fixed;
  z-index: 10050;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  border-top-color: #4b5563;
  animation: ai-drive-workspace-spin 0.7s linear infinite;
}

/* line 35708, app/assets/stylesheets/application.scss */
html.perk-drive-file-window:has(#ai-drive-workspace:not(:empty))::before,
html.perk-drive-file-window:has(#pdf-tools:not(.hidden):not([hidden]))::before,
html.perk-drive-file-window body.pdf-tools-open::before {
  content: none;
}

/* line 35714, app/assets/stylesheets/application.scss */
html.perk-drive-file-window #ai-drive-workspace:empty {
  align-items: center;
  justify-content: center;
}

/* line 35719, app/assets/stylesheets/application.scss */
html.perk-drive-file-window #ai-drive-workspace:empty::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  border-top-color: #4b5563;
  animation: ai-drive-workspace-spin 0.7s linear infinite;
}

/* line 35729, app/assets/stylesheets/application.scss */
html.perk-drive-file-window body.pdf-tools-open #ai-drive-workspace:empty::after {
  content: none;
}

/* line 35733, app/assets/stylesheets/application.scss */
html.perk-drive-file-window #main-header,
html.perk-drive-file-window .perk-workspace-sidebar,
html.perk-drive-file-window .perk-workspace-center > :not(#ai-drive-workspace):not(#pdf-tools),
html.perk-drive-file-window #floating-ai,
html.perk-drive-file-window .perk-site-footer {
  display: none !important;
}

/* line 35741, app/assets/stylesheets/application.scss */
html.perk-drive-file-window #ai-drive-workspace {
  display: flex !important;
}

/* PDF Tools hosts view/edit in dedicated file windows (same role as the Office workspace). */
/* line 35746, app/assets/stylesheets/application.scss */
html.perk-drive-file-window body.pdf-tools-open #ai-drive-workspace {
  display: none !important;
}

/* line 35750, app/assets/stylesheets/application.scss */
html.perk-drive-file-window #pdf-tools:not(.hidden):not([hidden]),
html.perk-drive-file-window body.pdf-tools-open #pdf-tools {
  display: flex !important;
  position: fixed;
  inset: 0;
  z-index: 10060;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

/* line 35761, app/assets/stylesheets/application.scss */
body.ai-drive-workspace-open {
  overflow: hidden;
}

/* line 35765, app/assets/stylesheets/application.scss */
.ai-drive-workspace-loading {
  flex: 1 1 auto;
  min-height: 40vh;
  display: grid;
  place-items: center;
}

/* line 35772, app/assets/stylesheets/application.scss */
.ai-drive-workspace-loading::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  border-top-color: #4b5563;
  animation: ai-drive-workspace-spin 0.7s linear infinite;
}

@keyframes ai-drive-workspace-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 35786, 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 35796, app/assets/stylesheets/application.scss */
.ai-drive-workspace-title {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 35804, 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 35812, app/assets/stylesheets/application.scss */
.ai-drive-workspace-meta {
  font-size: 12px;
  color: #6b7280;
}

/* line 35817, app/assets/stylesheets/application.scss */
.ai-drive-workspace-presence {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 35824, app/assets/stylesheets/application.scss */
.ai-drive-presence-avatars {
  display: flex;
}

/* line 35828, 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 35843, app/assets/stylesheets/application.scss */
.ai-drive-presence-avatar:first-child {
  margin-left: 0;
}

/* line 35847, app/assets/stylesheets/application.scss */
.ai-drive-presence-label {
  font-size: 12px;
  color: #4b5563;
  white-space: nowrap;
}

/* line 35853, app/assets/stylesheets/application.scss */
.ai-drive-workspace-actions {
  display: flex;
  gap: 6px;
}

/* line 35858, app/assets/stylesheets/application.scss */
.ai-drive-workspace-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 35865, app/assets/stylesheets/application.scss */
.ai-drive-workspace-mount {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

/* line 35873, app/assets/stylesheets/application.scss */
.ai-drive-workspace-error {
  margin: auto;
  text-align: center;
  color: #6b7280;
  padding: 24px;
}

/* line 35880, app/assets/stylesheets/application.scss */
.perk-word-microsoft-chrome {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #f3f3f3;
}

/* line 35888, 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 35898, 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 35907, app/assets/stylesheets/application.scss */
.perk-word-microsoft-badge {
  font-size: 12px;
  color: #2b579a;
  font-weight: 600;
}

/* line 35913, app/assets/stylesheets/application.scss */
.perk-word-microsoft-body,
.perk-word-microsoft-mount {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

/* line 35920, app/assets/stylesheets/application.scss */
.perk-word-microsoft-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

/* line 35929, 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: "Calibri", "Candara", "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Office font fallbacks when Calibri/Cambria/Aptos are not installed */
/* line 35953, app/assets/stylesheets/application.scss */
.perk-docx-faithful .docx-wrapper,
.perk-docx-faithful .docx-wrapper * {
  font-synthesis: none;
}

/* line 35958, app/assets/stylesheets/application.scss */
.perk-docx-faithful [style*="Calibri"],
.perk-docx-faithful [style*="calibri"] {
  font-family: Calibri, Candara, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}

/* line 35963, app/assets/stylesheets/application.scss */
.perk-docx-faithful [style*="Cambria"],
.perk-docx-faithful [style*="cambria"] {
  font-family: Cambria, "Times New Roman", Times, serif !important;
}

/* line 35968, app/assets/stylesheets/application.scss */
.perk-docx-faithful [style*="Aptos"],
.perk-docx-faithful [style*="aptos"] {
  font-family: Aptos, "Segoe UI", Calibri, Candara, Arial, sans-serif !important;
}

/* line 35973, app/assets/stylesheets/application.scss */
.perk-docx-faithful [style*="Times New Roman"],
.perk-docx-faithful [style*="Times"] {
  font-family: "Times New Roman", Times, Georgia, serif !important;
}

/* Preserve Word table borders and cell shading from docx-preview */
/* line 35979, app/assets/stylesheets/application.scss */
.perk-docx-faithful table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* line 35984, app/assets/stylesheets/application.scss */
.perk-docx-faithful table td,
.perk-docx-faithful table th {
  vertical-align: top;
  background-clip: padding-box;
}

/* line 35990, app/assets/stylesheets/application.scss */
.perk-docx-faithful table td p,
.perk-docx-faithful table th p {
  margin: 0;
}

@media (max-width: 720px) {
  /* line 35996, app/assets/stylesheets/application.scss */
  .perk-docx-faithful .docx-wrapper > section.docx {
    max-width: 100vw;
  }
}

/* line 36001, app/assets/stylesheets/application.scss */
.ai-drive-quill {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}

/* line 36009, app/assets/stylesheets/application.scss */
.ai-drive-quill .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

/* line 36015, 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 36022, app/assets/stylesheets/application.scss */
.ai-drive-quill .ql-editor {
  max-width: 820px;
  margin: 0 auto;
  min-height: 100%;
  padding: 28px 20px 64px;
}

/* line 36029, app/assets/stylesheets/application.scss */
.ai-drive-sheet-scroll {
  flex: 1 1 auto;
  overflow: auto;
  background: #fff;
}

/* line 36035, app/assets/stylesheets/application.scss */
.ai-drive-sheet {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 13px;
}

/* line 36041, app/assets/stylesheets/application.scss */
.ai-drive-sheet th,
.ai-drive-sheet td {
  border: 1px solid #e5e7eb;
  padding: 0;
  min-width: 96px;
}

/* line 36048, 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 36061, app/assets/stylesheets/application.scss */
.ai-drive-sheet tbody th {
  left: 0;
  z-index: 2;
}

/* line 36066, app/assets/stylesheets/application.scss */
.ai-drive-sheet input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 7px 8px;
  background: transparent;
  font: inherit;
}

/* line 36076, 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 36082, 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 36091, app/assets/stylesheets/application.scss */
  body * {
    visibility: hidden !important;
  }
  /* line 36094, app/assets/stylesheets/application.scss */
  .perk-sheet-workspace,
.perk-sheet-workspace * {
    visibility: visible !important;
  }
  /* line 36098, app/assets/stylesheets/application.scss */
  .perk-sheet-workspace {
    position: absolute;
    inset: 0;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
  }
  /* line 36105, 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,
.perk-sheet-formula-refs,
[data-ws-presence],
[data-ws-status] {
    display: none !important;
  }
  /* line 36123, 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 36130, 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 36138, 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 36152, app/assets/stylesheets/application.scss */
.perk-sheet-header .perk-sheet-icon-btn[data-ws-close] {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

/* line 36158, app/assets/stylesheets/application.scss */
.perk-sheet-header-left,
.perk-sheet-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 36166, app/assets/stylesheets/application.scss */
.perk-sheet-header-left {
  flex: 1 1 auto;
}

/* line 36167, app/assets/stylesheets/application.scss */
.perk-sheet-header-right {
  flex: 0 0 auto;
}

/* line 36169, app/assets/stylesheets/application.scss */
.perk-sheet-crumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #5f6368;
}

/* line 36177, app/assets/stylesheets/application.scss */
.perk-sheet-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #188038;
  font-size: 13px;
}

/* line 36185, app/assets/stylesheets/application.scss */
.perk-sheet-brand-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* line 36192, app/assets/stylesheets/application.scss */
.perk-sheet-brand-text {
  line-height: 1;
}

/* line 36196, app/assets/stylesheets/application.scss */
.perk-sheet-crumb-sep {
  opacity: 0.5;
}

/* line 36198, app/assets/stylesheets/application.scss */
.perk-sheet-type-icon {
  color: #188038;
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 36205, app/assets/stylesheets/application.scss */
.perk-sheet-type-icon .perk-sheet-ico {
  width: 22px;
  height: 22px;
}

/* line 36210, 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 36221, app/assets/stylesheets/application.scss */
.perk-sheet-title-input:hover {
  border-color: #dadce0;
}

/* line 36222, app/assets/stylesheets/application.scss */
.perk-sheet-title-input:focus {
  outline: none;
  border-color: #188038;
  background: #fff;
}

/* line 36228, app/assets/stylesheets/application.scss */
.perk-sheet-file-type {
  font-size: 11px;
  color: #80868b;
  text-transform: lowercase;
}

/* line 36234, app/assets/stylesheets/application.scss */
.perk-sheet-save-status {
  font-size: 12px;
  color: #5f6368;
  white-space: nowrap;
}

/* line 36239, app/assets/stylesheets/application.scss */
.perk-sheet-save-status.is-error {
  color: #d93025;
}

/* line 36241, 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 36252, app/assets/stylesheets/application.scss */
.perk-sheet-icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 36260, app/assets/stylesheets/application.scss */
.perk-sheet-text-btn {
  padding: 6px 10px;
  font-weight: 500;
}

/* line 36265, app/assets/stylesheets/application.scss */
.perk-sheet-icon-btn:hover,
.perk-sheet-text-btn:hover,
.perk-sheet-tb-btn:hover {
  background: #f1f3f4;
}

/* line 36271, app/assets/stylesheets/application.scss */
.perk-sheet-ai-btn.is-muted {
  opacity: 0.55;
  cursor: not-allowed;
}

/* line 36273, 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 36284, app/assets/stylesheets/application.scss */
.perk-sheet-menu {
  position: relative;
}

/* line 36286, 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 36295, app/assets/stylesheets/application.scss */
.perk-sheet-menu-trigger:hover {
  background: #f1f3f4;
}

/* line 36297, 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 36310, 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 36324, app/assets/stylesheets/application.scss */
.perk-sheet-menu-item:hover {
  background: #f1f3f4;
}

/* line 36325, app/assets/stylesheets/application.scss */
.perk-sheet-menu-item.is-disabled,
.perk-sheet-menu-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 36330, app/assets/stylesheets/application.scss */
.perk-sheet-menu-shortcut {
  color: #80868b;
  font-size: 11px;
}

/* line 36335, 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;
  position: relative;
  z-index: 4;
}

/* line 36348, 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 36356, app/assets/stylesheets/application.scss */
.perk-sheet-tb-btn.is-compact {
  min-width: 22px;
  padding: 0 4px;
}

/* line 36360, app/assets/stylesheets/application.scss */
.perk-sheet-tb-btn.is-active,
.perk-sheet-workspace.is-paint-format .perk-sheet-tb-btn[data-sheet-paint-format] {
  background: #e6f4ea;
  color: #137333;
  box-shadow: inset 0 0 0 1px #ceead6;
}

/* line 36366, app/assets/stylesheets/application.scss */
.perk-sheet-tb-collapse {
  margin-left: auto;
}

/* line 36369, app/assets/stylesheets/application.scss */
.perk-sheet-toolbar.is-collapsed {
  justify-content: flex-end;
}

/* line 36372, app/assets/stylesheets/application.scss */
.perk-sheet-toolbar.is-collapsed > :not(.perk-sheet-tb-collapse) {
  display: none !important;
}

/* line 36375, app/assets/stylesheets/application.scss */
.perk-sheet-tb-collapse.is-expanded .perk-sheet-ico {
  transform: rotate(180deg);
}

/* line 36378, app/assets/stylesheets/application.scss */
.perk-sheet-share-btn {
  background: #1a73e8 !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 6px 14px !important;
  font-weight: 500;
}

/* line 36385, app/assets/stylesheets/application.scss */
.perk-sheet-share-btn:hover {
  background: #1765cc !important;
}

/* line 36388, app/assets/stylesheets/application.scss */
.perk-sheet-tb-menu {
  position: relative;
  display: inline-flex;
}

/* line 36392, app/assets/stylesheets/application.scss */
.perk-sheet-tb-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  min-width: 180px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(32, 33, 36, 0.18);
}

/* line 36404, app/assets/stylesheets/application.scss */
.perk-sheet-tb-select.is-zoom {
  max-width: 72px;
}

/* line 36407, app/assets/stylesheets/application.scss */
.perk-sheet-tool-finder {
  position: absolute;
  top: 96px;
  left: 12px;
  z-index: 30;
  width: min(360px, calc(100% - 24px));
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(32, 33, 36, 0.2);
  padding: 8px;
}

/* line 36419, app/assets/stylesheets/application.scss */
.perk-sheet-tool-finder input {
  width: 100%;
  height: 36px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
}

/* line 36427, app/assets/stylesheets/application.scss */
.perk-sheet-tool-finder input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* line 36432, app/assets/stylesheets/application.scss */
.perk-sheet-tool-finder-list {
  margin-top: 6px;
  max-height: 280px;
  overflow: auto;
}

/* line 36437, app/assets/stylesheets/application.scss */
.perk-sheet-tool-finder-empty {
  padding: 12px;
  color: #80868b;
  font-size: 13px;
}

/* line 36442, app/assets/stylesheets/application.scss */
.perk-sheet-workspace.is-paint-format .perk-sheet-grid-host {
  cursor: cell;
}

/* line 36445, app/assets/stylesheets/application.scss */
.perk-sheet-ico {
  width: 16px;
  height: 16px;
  display: block;
}

/* line 36450, 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 36460, app/assets/stylesheets/application.scss */
.perk-sheet-color-wrap:hover {
  background: #e8eaed;
}

/* line 36461, 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 36468, 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 36475, 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 36484, app/assets/stylesheets/application.scss */
.perk-sheet-zoom-inline {
  margin: 0;
  min-width: 40px;
  text-align: center;
}

/* line 36490, app/assets/stylesheets/application.scss */
.perk-sheet-tb-sep {
  width: 1px;
  height: 20px;
  background: #dadce0;
  margin: 0 4px;
}

/* line 36497, 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 36506, app/assets/stylesheets/application.scss */
.perk-sheet-tb-select.is-size {
  max-width: 56px;
}

/* line 36508, 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 36518, 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 36528, 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 36538, app/assets/stylesheets/application.scss */
.perk-sheet-name-box:focus {
  outline: none;
  border-color: #188038;
  background: #fff;
}

/* line 36544, app/assets/stylesheets/application.scss */
.perk-sheet-fx-label {
  color: #188038;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  padding: 0 2px;
}

/* line 36552, app/assets/stylesheets/application.scss */
.perk-sheet-fx-wrap {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
}

/* line 36558, 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;
  user-select: text;
  -webkit-user-select: text;
}

/* line 36570, app/assets/stylesheets/application.scss */
.perk-sheet-fx-input:hover {
  border-color: #dadce0;
}

/* line 36571, app/assets/stylesheets/application.scss */
.perk-sheet-fx-input:focus {
  outline: none;
  border-color: #188038;
  background: #fff;
}

/* line 36577, 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 36591, 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 36603, app/assets/stylesheets/application.scss */
.perk-sheet-fx-item:hover,
.perk-sheet-fx-item.is-active {
  background: #e6f4ea;
}

/* line 36605, app/assets/stylesheets/application.scss */
.perk-sheet-fx-item span {
  font-size: 11px;
  color: #5f6368;
}

/* line 36607, app/assets/stylesheets/application.scss */
.perk-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* line 36615, app/assets/stylesheets/application.scss */
.perk-sheet-grid-host {
  flex: 1 1 auto;
  min-height: 0;
  outline: none;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

/* line 36624, 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 36634, app/assets/stylesheets/application.scss */
.perk-sheet-spacer {
  position: relative;
}

/* line 36638, app/assets/stylesheets/application.scss */
.perk-sheet-editor-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

/* line 36644, app/assets/stylesheets/application.scss */
.perk-sheet-editor-host .perk-sheet-cell-editor {
  pointer-events: auto;
}

/* line 36648, app/assets/stylesheets/application.scss */
.perk-sheet-corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 6;
  background: #f8f9fa;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* line 36658, app/assets/stylesheets/application.scss */
.perk-sheet-cols {
  position: absolute;
  top: 0;
  /* JS sets top = scrollTop so letters stay fixed while scrolling */
  display: flex;
  height: 24px;
  z-index: 5;
  background: #f8f9fa;
  pointer-events: auto;
}

/* line 36668, 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: 12px;
  font-weight: 600;
  color: #5f6368;
  background: #f8f9fa;
  border-right: 0.5px solid #e2e3e5;
  border-bottom: 0.5px solid #e2e3e5;
  position: relative;
  box-sizing: border-box;
}

/* line 36683, app/assets/stylesheets/application.scss */
.perk-sheet-col-h.is-active {
  background: #e6f4ea;
  color: #137333;
}

/* line 36688, app/assets/stylesheets/application.scss */
.perk-sheet-rows {
  position: absolute;
  left: 0;
}

/* line 36693, app/assets/stylesheets/application.scss */
.perk-sheet-row {
  display: flex;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

/* line 36700, app/assets/stylesheets/application.scss */
.perk-sheet-row-cells {
  display: flex;
  flex: 0 0 auto;
  overflow: visible;
}

/* line 36706, app/assets/stylesheets/application.scss */
.perk-sheet-row-h {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
  background: #f8f9fa;
  border-right: 0.5px solid #e2e3e5;
  border-bottom: 0.5px solid #e2e3e5;
  position: sticky;
  left: 0;
  z-index: 2;
  box-sizing: border-box;
}

/* line 36722, app/assets/stylesheets/application.scss */
.perk-sheet-row-h.is-active {
  background: #e6f4ea;
  color: #137333;
}

/* line 36727, app/assets/stylesheets/application.scss */
.perk-sheet-cell {
  flex: 0 0 auto;
  box-sizing: border-box;
  border-right: 0.5px solid #e2e3e5;
  border-bottom: 0.5px solid #e2e3e5;
  padding: 0 6px;
  font-size: 14px;
  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 36744, 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 36751, app/assets/stylesheets/application.scss */
.perk-sheet-cell-value.is-wrap {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-overflow: clip;
  line-height: 1.3;
  align-self: stretch;
}

/* line 36759, app/assets/stylesheets/application.scss */
.perk-sheet-cell:has(.perk-sheet-cell-value.is-wrap) {
  align-items: flex-start;
  padding-top: 3px;
  padding-bottom: 3px;
}

/* line 36764, 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 36767, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-active {
  outline: 2px solid #188038;
  outline-offset: -2px;
  z-index: 1;
}

/* line 36772, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-point-ref {
  box-shadow: inset 0 0 0 2px #1a73e8, inset 0 0 0 999px rgba(26, 115, 232, 0.14);
  z-index: 1;
}

/* line 36776, app/assets/stylesheets/application.scss */
.perk-sheet-formula-refs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

/* line 36782, app/assets/stylesheets/application.scss */
.perk-sheet-formula-ref {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid var(--formula-ref, #e69138);
  background: color-mix(in srgb, var(--formula-ref, #e69138) 14%, transparent);
  border-radius: 1px;
}

/* line 36789, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-error {
  color: #d93025;
}

/* line 36791, app/assets/stylesheets/application.scss */
.perk-sheet-cell-editor {
  position: absolute;
  z-index: 6;
  border: 2px solid #188038;
  padding: 1px 4px;
  margin: 0;
  font-size: 14px;
  line-height: 18px;
  font-family: Arial, Helvetica, sans-serif;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  resize: none;
  overflow: hidden;
  user-select: text;
  -webkit-user-select: text;
}

/* line 36809, app/assets/stylesheets/application.scss */
.perk-sheet-checkbox {
  width: 14px;
  height: 14px;
  margin: 0 6px 0 2px;
  flex: 0 0 auto;
  border: 1.5px solid #5f6368;
  border-radius: 2px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

/* line 36820, app/assets/stylesheets/application.scss */
.perk-sheet-checkbox.is-on {
  background: #188038;
  border-color: #188038;
  box-shadow: inset 0 0 0 2px #fff;
}

/* line 36825, app/assets/stylesheets/application.scss */
.perk-sheet-dropdown {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  padding: 0 2px;
  font-size: 11px;
}

/* line 36834, app/assets/stylesheets/application.scss */
.perk-sheet-dropdown-pop {
  position: fixed;
  z-index: 30;
  min-width: 140px;
  max-height: 240px;
  overflow: auto;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(60, 64, 67, 0.24);
  padding: 4px 0;
}

/* line 36846, app/assets/stylesheets/application.scss */
.perk-sheet-dropdown-pop button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  font: inherit;
}

/* line 36856, app/assets/stylesheets/application.scss */
.perk-sheet-dropdown-pop button:hover {
  background: #f1f3f4;
}

/* line 36857, app/assets/stylesheets/application.scss */
.perk-sheet-link {
  color: #1155cc;
  text-decoration: underline;
  cursor: pointer;
}

/* line 36863, 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 36874, 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 36883, app/assets/stylesheets/application.scss */
.perk-sheet-statusline {
  font-size: 12px;
  color: #5f6368;
  white-space: nowrap;
}

/* line 36889, 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 36900, app/assets/stylesheets/application.scss */
.perk-sheet-tab:hover,
.perk-sheet-tab-add:hover {
  background: #e8eaed;
}

/* line 36902, 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 36911, 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 36927, 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 36934, 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 36943, app/assets/stylesheets/application.scss */
.perk-sheet-find-case {
  font-size: 12px;
  color: #5f6368;
}

/* line 36945, app/assets/stylesheets/application.scss */
.perk-sheet-col-h {
  position: relative;
}

/* line 36946, app/assets/stylesheets/application.scss */
.perk-sheet-col-resize {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 2;
}

/* line 36955, app/assets/stylesheets/application.scss */
.perk-sheet-col-resize:hover,
.perk-sheet-row-resize:hover {
  background: rgba(24, 128, 56, 0.35);
}

/* line 36959, app/assets/stylesheets/application.scss */
.perk-sheet-row-resize {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  cursor: row-resize;
  z-index: 2;
}

/* line 36968, app/assets/stylesheets/application.scss */
.perk-sheet-fill {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 18px;
  height: 18px;
  cursor: crosshair;
  z-index: 4;
  background: transparent;
}

/* line 36978, app/assets/stylesheets/application.scss */
.perk-sheet-fill::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  background: #188038;
  border: 1px solid #fff;
  box-sizing: border-box;
  pointer-events: none;
}

/* line 36990, app/assets/stylesheets/application.scss */
.perk-sheet-cell {
  position: relative;
}

/* line 36991, app/assets/stylesheets/application.scss */
.perk-sheet-grid-host.is-no-gridlines .perk-sheet-cell {
  box-shadow: none;
  border-color: transparent;
}

/* line 36995, app/assets/stylesheets/application.scss */
.perk-sheet-zoom {
  font-size: 12px;
  color: #3c4043;
  padding: 0 4px;
  min-width: 36px;
  text-align: center;
}

/* line 37002, 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 37016, app/assets/stylesheets/application.scss */
.perk-sheet-context {
  position: fixed;
  z-index: 120;
  min-width: 260px;
  max-width: min(340px, calc(100vw - 16px));
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  padding: 6px 0;
  /* Keep above sheet tab bar; JS also flips/clamps when opened near the bottom. */
}

/* line 37028, app/assets/stylesheets/application.scss */
.perk-sheet-context .perk-sheet-menu-item.perk-sheet-context-btn {
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 12px;
  min-height: 36px;
  width: 100%;
}

/* line 37035, app/assets/stylesheets/application.scss */
.perk-sheet-context-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3c4043;
}

/* line 37044, app/assets/stylesheets/application.scss */
.perk-sheet-context-ico .perk-sheet-ico {
  width: 18px;
  height: 18px;
}

/* line 37048, app/assets/stylesheets/application.scss */
.perk-sheet-context-ico.is-empty {
  visibility: hidden;
}

/* line 37051, app/assets/stylesheets/application.scss */
.perk-sheet-context-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  line-height: 1.25;
}

/* line 37057, app/assets/stylesheets/application.scss */
.perk-sheet-context-trail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

/* line 37064, app/assets/stylesheets/application.scss */
.perk-sheet-context-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
}

/* line 37076, app/assets/stylesheets/application.scss */
.perk-sheet-context-badge.is-green {
  background: #188038;
}

/* line 37077, app/assets/stylesheets/application.scss */
.perk-sheet-context-badge.is-blue {
  background: #1a73e8;
}

/* line 37078, app/assets/stylesheets/application.scss */
.perk-sheet-context-caret {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #5f6368;
}

/* line 37084, app/assets/stylesheets/application.scss */
.perk-sheet-context-caret .perk-sheet-ico {
  width: 14px;
  height: 14px;
}

/* line 37088, app/assets/stylesheets/application.scss */
.perk-sheet-context-sep {
  height: 1px;
  margin: 6px 0;
  background: #e8eaed;
}

/* line 37093, app/assets/stylesheets/application.scss */
.perk-sheet-context-item.has-submenu {
  position: relative;
}

/* line 37096, app/assets/stylesheets/application.scss */
.perk-sheet-context-item.has-submenu.is-open > .perk-sheet-context-btn {
  background: #f1f3f4;
}

/* line 37099, app/assets/stylesheets/application.scss */
.perk-sheet-context-submenu {
  position: absolute;
  top: 0;
  left: calc(100% - 4px);
  min-width: 220px;
  max-width: min(300px, calc(100vw - 16px));
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  padding: 6px 0;
  z-index: 2;
}

/* line 37112, app/assets/stylesheets/application.scss */
.perk-sheet-context-submenu.is-left {
  left: auto;
  right: calc(100% - 4px);
}

/* line 37116, 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 37131, 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 37138, app/assets/stylesheets/application.scss */
.perk-sheet-ai [data-sheet-ai-body] {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

/* line 37139, app/assets/stylesheets/application.scss */
.perk-sheet-ai-note {
  color: #5f6368;
}

/* line 37140, app/assets/stylesheets/application.scss */
.perk-sheet-ai-error {
  color: #d93025;
  margin: 8px 0;
}

/* line 37141, app/assets/stylesheets/application.scss */
.perk-sheet-ai-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

/* line 37147, 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 37155, app/assets/stylesheets/application.scss */
.perk-sheet-ai-tool:hover {
  background: #e8f0fe;
  border-color: #aecbfa;
}

/* line 37156, app/assets/stylesheets/application.scss */
.perk-sheet-ai-tool:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* line 37157, 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 37165, 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 37174, app/assets/stylesheets/application.scss */
.perk-sheet-ai-result-title {
  margin: 12px 0 6px;
  font-size: 13px;
}

/* line 37178, app/assets/stylesheets/application.scss */
.perk-sheet-ai-actions {
  margin: 8px 0;
  padding-left: 18px;
  font-size: 12px;
}

/* line 37183, app/assets/stylesheets/application.scss */
.perk-sheet-ai-actions code {
  font-size: 11px;
  background: #f1f3f4;
  padding: 1px 4px;
  border-radius: 3px;
}

/* line 37189, app/assets/stylesheets/application.scss */
.perk-sheet-ai-confirm {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

/* line 37195, 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 37203, app/assets/stylesheets/application.scss */
.perk-sheet-import-error {
  margin: 48px auto;
  max-width: 460px;
  text-align: center;
}

/* line 37208, 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 37217, 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 37226, app/assets/stylesheets/application.scss */
.perk-sheet-cell.is-merged {
  /* Multi-row merges paint into the next row; keep them above default white cells. */
  z-index: 3;
  overflow: visible;
}

/* line 37231, 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 37236, app/assets/stylesheets/application.scss */
.perk-sheet-filter-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 2px 4px;
  margin-left: 2px;
  color: #5f6368;
  border-radius: 3px;
}

/* line 37247, app/assets/stylesheets/application.scss */
.perk-sheet-filter-btn--header {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
}

/* line 37256, app/assets/stylesheets/application.scss */
.perk-sheet-cell.has-filter .perk-sheet-cell-value {
  padding-right: 18px;
}

/* line 37259, app/assets/stylesheets/application.scss */
.perk-sheet-filter-btn:hover {
  background: #e8eaed;
  color: #202124;
}

/* line 37263, 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 37276, app/assets/stylesheets/application.scss */
.perk-sheet-filter-item {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 3px 0;
}

/* line 37282, app/assets/stylesheets/application.scss */
.perk-sheet-filter-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

/* line 37287, 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 37294, app/assets/stylesheets/application.scss */
.perk-sheet-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

/* line 37300, app/assets/stylesheets/application.scss */
.perk-sheet-remote-cursors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
}

/* line 37306, app/assets/stylesheets/application.scss */
.perk-sheet-remote-cursor {
  position: absolute;
  width: 2px;
  height: 18px;
  background: var(--peer, #1a73e8);
  transform: translateY(2px);
}

/* line 37313, 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 37325, 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 37338, app/assets/stylesheets/application.scss */
.perk-sheet-versions[hidden] {
  display: none !important;
}

/* line 37341, 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 37348, app/assets/stylesheets/application.scss */
.perk-sheet-versions-list {
  padding: 8px 10px;
  max-height: 360px;
  overflow: auto;
}

/* line 37353, 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 37360, 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 37367, app/assets/stylesheets/application.scss */
.perk-sheet-versions-open .perk-sheet-charts {
  right: 328px;
}

/* line 37370, 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 37380, 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 37389, 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 37397, app/assets/stylesheets/application.scss */
.perk-sheet-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* line 37402, 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 37417, app/assets/stylesheets/application.scss */
.perk-sheet-comments header,
.perk-sheet-comments footer {
  padding: 10px 12px;
  border-bottom: 1px solid #e8eaed;
}

/* line 37422, 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 37429, 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 37437, app/assets/stylesheets/application.scss */
.perk-sheet-comments [data-sheet-comments-body] {
  flex: 1 1 auto;
  overflow: auto;
  padding: 10px 12px;
}

/* line 37442, app/assets/stylesheets/application.scss */
.perk-sheet-comment-card {
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}

/* line 37448, app/assets/stylesheets/application.scss */
.perk-sheet-comment-card.is-active {
  border-color: #188038;
  background: #f0faf2;
}

/* line 37453, 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 37466, app/assets/stylesheets/application.scss */
.perk-sheet-presence {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 720px) {
  /* line 37473, app/assets/stylesheets/application.scss */
  .perk-sheet-menubar {
    display: none;
  }
  /* line 37474, app/assets/stylesheets/application.scss */
  .perk-sheet-crumb-drive,
.perk-sheet-file-type {
    display: none;
  }
  /* line 37476, app/assets/stylesheets/application.scss */
  .perk-sheet-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  /* line 37477, app/assets/stylesheets/application.scss */
  .perk-sheet-title-input {
    max-width: 140px;
  }
}

/* ── Perk Slides (Google Slides–like) ─────────────────────────────── */
/* line 37481, app/assets/stylesheets/application.scss */
.perk-slides-workspace.ai-drive-workspace,
.ai-drive-workspace.perk-slides-workspace {
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-family: "Google Sans", "Roboto", Arial, sans-serif;
  color: #202124;
}

/* line 37491, app/assets/stylesheets/application.scss */
.perk-slides-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 12px 2px;
  background: #fff;
  flex: 0 0 auto;
  min-height: 52px;
}

/* line 37502, app/assets/stylesheets/application.scss */
.perk-slides-header-left,
.perk-slides-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

/* line 37510, app/assets/stylesheets/application.scss */
.perk-slides-header-left {
  flex: 1 1 auto;
}

/* line 37511, app/assets/stylesheets/application.scss */
.perk-slides-header-right {
  flex: 0 0 auto;
}

/* line 37513, app/assets/stylesheets/application.scss */
.perk-slides-type-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* line 37522, app/assets/stylesheets/application.scss */
.perk-slides-type-svg {
  width: 36px;
  height: 36px;
}

/* line 37524, app/assets/stylesheets/application.scss */
.perk-slides-title-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

/* line 37531, app/assets/stylesheets/application.scss */
.perk-slides-title-input {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 18px;
  font-weight: 400;
  color: #202124;
  background: transparent;
  min-width: 120px;
  max-width: 320px;
  font-family: inherit;
}

/* line 37544, app/assets/stylesheets/application.scss */
.perk-slides-title-input:hover,
.perk-slides-title-input:focus {
  border-color: #dadce0;
  outline: none;
  background: #fff;
}

/* line 37551, app/assets/stylesheets/application.scss */
.perk-slides-save-status {
  font-size: 12px;
  color: #5f6368;
  white-space: nowrap;
  margin-left: 4px;
}

/* line 37558, app/assets/stylesheets/application.scss */
.perk-slides-icon-btn,
.perk-slides-tb-btn,
.perk-slides-rail-btn,
.perk-slides-present-nav,
.perk-slides-present-exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #444746;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 0;
}

/* line 37576, app/assets/stylesheets/application.scss */
.perk-slides-icon-btn:hover,
.perk-slides-tb-btn:hover,
.perk-slides-rail-btn:hover {
  background: #f1f3f4;
}

/* line 37582, app/assets/stylesheets/application.scss */
.perk-slides-tb-btn.is-active {
  background: #e8f0fe;
  color: #1967d2;
}

/* line 37587, app/assets/stylesheets/application.scss */
.perk-slides-ico {
  width: 18px;
  height: 18px;
}

/* line 37592, app/assets/stylesheets/application.scss */
.perk-slides-present-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 10px;
  border: none;
  border-radius: 18px;
  background: #fbbc04;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

/* line 37608, app/assets/stylesheets/application.scss */
.perk-slides-present-btn:hover {
  filter: brightness(0.96);
}

/* line 37610, app/assets/stylesheets/application.scss */
.perk-slides-present-btn .perk-slides-ico {
  width: 16px;
  height: 16px;
}

/* line 37612, app/assets/stylesheets/application.scss */
.perk-slides-share-btn {
  height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 18px;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

/* line 37625, app/assets/stylesheets/application.scss */
.perk-slides-share-btn:hover {
  background: #1765cc;
}

/* line 37627, app/assets/stylesheets/application.scss */
.perk-slides-menubar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px 2px 52px;
  background: #fff;
  flex: 0 0 auto;
}

/* line 37636, app/assets/stylesheets/application.scss */
.perk-slides-menu {
  position: relative;
}

/* line 37638, app/assets/stylesheets/application.scss */
.perk-slides-menu-trigger {
  border: none;
  background: transparent;
  color: #202124;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

/* line 37649, app/assets/stylesheets/application.scss */
.perk-slides-menu-trigger:hover {
  background: #f1f3f4;
}

/* line 37651, app/assets/stylesheets/application.scss */
.perk-slides-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 220px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
}

/* line 37664, app/assets/stylesheets/application.scss */
.perk-slides-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 16px;
  font-size: 14px;
  color: #202124;
  cursor: pointer;
  font-family: inherit;
}

/* line 37680, app/assets/stylesheets/application.scss */
.perk-slides-menu-item:hover {
  background: #f1f3f4;
}

/* line 37681, app/assets/stylesheets/application.scss */
.perk-slides-menu-item.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* line 37682, app/assets/stylesheets/application.scss */
.perk-slides-menu-shortcut {
  color: #5f6368;
  font-size: 12px;
}

/* line 37684, app/assets/stylesheets/application.scss */
.perk-slides-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  padding: 4px 12px 4px 52px;
  margin: 0 12px 8px;
  background: #edf2fa;
  border-radius: 24px;
  flex: 0 0 auto;
  min-height: 44px;
}

/* line 37697, app/assets/stylesheets/application.scss */
.perk-slides-tb-sep {
  width: 1px;
  height: 20px;
  background: #c4c7c5;
  margin: 0 4px;
  flex: 0 0 auto;
}

/* line 37705, app/assets/stylesheets/application.scss */
.perk-slides-tb-spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

/* line 37707, app/assets/stylesheets/application.scss */
.perk-slides-tb-select-wrap {
  display: inline-flex;
  align-items: center;
}

/* line 37712, app/assets/stylesheets/application.scss */
.perk-slides-tb-select {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
  color: #202124;
  height: 28px;
  padding: 0 4px;
  max-width: 110px;
  font-family: inherit;
}

/* line 37724, app/assets/stylesheets/application.scss */
.perk-slides-tb-select:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 37725, app/assets/stylesheets/application.scss */
.perk-slides-tb-font .perk-slides-tb-select {
  max-width: 120px;
}

/* line 37726, app/assets/stylesheets/application.scss */
.perk-slides-tb-size .perk-slides-tb-select {
  max-width: 56px;
}

/* line 37728, app/assets/stylesheets/application.scss */
.perk-slides-tb-letter {
  font-size: 14px;
  line-height: 1;
  font-family: "Google Sans", Arial, sans-serif;
}

/* line 37734, app/assets/stylesheets/application.scss */
.perk-slides-tb-color {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

/* line 37746, app/assets/stylesheets/application.scss */
.perk-slides-tb-color:hover {
  background: #e8eaed;
}

/* line 37747, app/assets/stylesheets/application.scss */
.perk-slides-tb-color-bar {
  display: block;
  width: 16px;
  height: 3px;
  border-radius: 1px;
  margin-top: 1px;
}

/* line 37754, app/assets/stylesheets/application.scss */
.perk-slides-tb-color input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* line 37763, app/assets/stylesheets/application.scss */
.perk-slides-tb-dropdown {
  position: relative;
}

/* line 37764, app/assets/stylesheets/application.scss */
.perk-slides-tb-drop-trigger {
  gap: 0;
  width: auto;
  padding: 0 4px;
  border-radius: 18px;
}

/* line 37765, app/assets/stylesheets/application.scss */
.perk-slides-tb-drop-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 180px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
}

/* line 37778, app/assets/stylesheets/application.scss */
.perk-slides-body {
  display: grid;
  grid-template-columns: 168px 1fr 48px;
  flex: 1 1 auto;
  min-height: 0;
  background: #f8f9fa;
}

/* line 37786, app/assets/stylesheets/application.scss */
.perk-slides-filmstrip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 16px;
  overflow: auto;
  background: #f8f9fa;
  border-right: 1px solid #e8eaed;
}

/* line 37796, app/assets/stylesheets/application.scss */
.perk-slides-filmstrip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 37802, app/assets/stylesheets/application.scss */
.perk-slides-thumb {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

/* line 37814, app/assets/stylesheets/application.scss */
.perk-slides-thumb-num {
  font-size: 12px;
  color: #5f6368;
  width: 16px;
  padding-top: 4px;
  flex: 0 0 auto;
}

/* line 37822, app/assets/stylesheets/application.scss */
.perk-slides-thumb-preview {
  position: relative;
  width: 120px;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  border: 1px solid #dadce0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* line 37833, app/assets/stylesheets/application.scss */
.perk-slides-thumb.is-active .perk-slides-thumb-preview {
  border: 2px solid #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
}

/* line 37838, app/assets/stylesheets/application.scss */
.perk-slides-thumb-el {
  position: absolute;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  pointer-events: none;
}

/* line 37846, app/assets/stylesheets/application.scss */
.perk-slides-thumb-el.is-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* line 37853, app/assets/stylesheets/application.scss */
.perk-slides-thumb-el.is-text {
  font-style: normal;
  font-size: 5px;
  line-height: 1.1;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 1px;
}

/* line 37862, app/assets/stylesheets/application.scss */
.perk-slides-thumb-el.is-line {
  height: 2px !important;
  opacity: 0.85;
}

/* line 37867, app/assets/stylesheets/application.scss */
.perk-slides-thumb-preview em {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: #202124;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* line 37883, app/assets/stylesheets/application.scss */
.perk-slides-add-slide {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 24px;
  border: 1px dashed #dadce0;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #1967d2;
  cursor: pointer;
  font-family: inherit;
}

/* line 37898, app/assets/stylesheets/application.scss */
.perk-slides-add-slide:hover {
  background: #e8f0fe;
}

/* line 37900, app/assets/stylesheets/application.scss */
.perk-slides-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* line 37907, app/assets/stylesheets/application.scss */
.perk-slides-stage-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: 20px 1fr;
  background: #f8f9fa;
}

/* line 37917, app/assets/stylesheets/application.scss */
.perk-slides-ruler-corner {
  grid-column: 1;
  grid-row: 1;
  background: #f8f9fa;
  border-right: 1px solid #e8eaed;
  border-bottom: 1px solid #e8eaed;
}

/* line 37925, app/assets/stylesheets/application.scss */
.perk-slides-ruler {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  color: #80868b;
  font-size: 9px;
}

/* line 37933, app/assets/stylesheets/application.scss */
.perk-slides-ruler-h {
  grid-column: 2;
  grid-row: 1;
  border-bottom: 1px solid #e8eaed;
}

/* line 37939, app/assets/stylesheets/application.scss */
.perk-slides-ruler-v {
  grid-column: 1;
  grid-row: 2;
  border-right: 1px solid #e8eaed;
}

/* line 37945, app/assets/stylesheets/application.scss */
.perk-slides-ruler-tick {
  position: absolute;
  background: #bdc1c6;
  display: block;
}

/* line 37951, app/assets/stylesheets/application.scss */
.perk-slides-ruler-h .perk-slides-ruler-tick {
  bottom: 0;
  width: 1px;
  height: 6px;
}

/* line 37957, app/assets/stylesheets/application.scss */
.perk-slides-ruler-h .perk-slides-ruler-tick.is-major {
  height: 10px;
}

/* line 37959, app/assets/stylesheets/application.scss */
.perk-slides-ruler-v .perk-slides-ruler-tick {
  right: 0;
  height: 1px;
  width: 6px;
}

/* line 37965, app/assets/stylesheets/application.scss */
.perk-slides-ruler-v .perk-slides-ruler-tick.is-major {
  width: 10px;
}

/* line 37967, app/assets/stylesheets/application.scss */
.perk-slides-ruler-label {
  position: absolute;
  color: #80868b;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

/* line 37975, app/assets/stylesheets/application.scss */
.perk-slides-ruler-h .perk-slides-ruler-label {
  top: 1px;
  left: 3px;
}

/* line 37980, app/assets/stylesheets/application.scss */
.perk-slides-ruler-v .perk-slides-ruler-label {
  top: 2px;
  left: 1px;
  writing-mode: horizontal-tb;
}

/* line 37986, app/assets/stylesheets/application.scss */
.perk-slides-stage-scroll {
  grid-column: 2;
  grid-row: 2;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 32px 16px;
  min-height: 0;
}

/* line 37997, app/assets/stylesheets/application.scss */
.perk-slides-stage-scale {
  position: relative;
  flex: 0 0 auto;
}

/* line 38002, app/assets/stylesheets/application.scss */
.perk-slides-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px;
  height: 720px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
  overflow: hidden;
  outline: none;
}

/* line 38014, app/assets/stylesheets/application.scss */
.perk-slides-el {
  position: absolute;
  box-sizing: border-box;
  cursor: default;
  user-select: none;
}

/* line 38021, app/assets/stylesheets/application.scss */
.perk-slides-el.is-selected {
  outline: 1.5px solid #1a73e8;
  outline-offset: 0;
}

/* line 38026, app/assets/stylesheets/application.scss */
.perk-slides-el.is-text {
  overflow: hidden;
  cursor: text;
  user-select: text;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.25;
  padding: 2px 4px;
}

/* line 38036, app/assets/stylesheets/application.scss */
.perk-slides-text-inner {
  width: 100%;
  height: 100%;
  outline: none;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.25;
}

/* line 38046, app/assets/stylesheets/application.scss */
.perk-slides-el.is-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}

/* line 38054, app/assets/stylesheets/application.scss */
.perk-slides-el.is-shape {
  pointer-events: auto;
}

/* line 38058, app/assets/stylesheets/application.scss */
.perk-slides-el.is-line svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* line 38065, app/assets/stylesheets/application.scss */
.perk-slides-handles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* line 38071, app/assets/stylesheets/application.scss */
.perk-slides-handles i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1.5px solid #1a73e8;
  border-radius: 1px;
  pointer-events: auto;
  box-sizing: border-box;
}

/* line 38082, app/assets/stylesheets/application.scss */
.perk-slides-handles i[data-handle="nw"] {
  top: -4px;
  left: -4px;
  cursor: nwse-resize;
}

/* line 38083, app/assets/stylesheets/application.scss */
.perk-slides-handles i[data-handle="ne"] {
  top: -4px;
  right: -4px;
  cursor: nesw-resize;
}

/* line 38084, app/assets/stylesheets/application.scss */
.perk-slides-handles i[data-handle="sw"] {
  bottom: -4px;
  left: -4px;
  cursor: nesw-resize;
}

/* line 38085, app/assets/stylesheets/application.scss */
.perk-slides-handles i[data-handle="se"] {
  bottom: -4px;
  right: -4px;
  cursor: nwse-resize;
}

/* line 38087, app/assets/stylesheets/application.scss */
.perk-slides-notes {
  flex: 0 0 auto;
  border-top: 1px solid #e8eaed;
  background: #fff;
  min-height: 72px;
  max-height: 140px;
}

/* line 38095, app/assets/stylesheets/application.scss */
.perk-slides-notes-input {
  width: 100%;
  height: 72px;
  border: none;
  resize: vertical;
  padding: 12px 16px;
  font-size: 13px;
  color: #202124;
  font-family: inherit;
  background: transparent;
}

/* line 38107, app/assets/stylesheets/application.scss */
.perk-slides-notes-input:focus {
  outline: none;
}

/* line 38108, app/assets/stylesheets/application.scss */
.perk-slides-notes-input::placeholder {
  color: #80868b;
}

/* line 38110, app/assets/stylesheets/application.scss */
.perk-slides-side-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border-left: 1px solid #e8eaed;
  background: #fff;
}

/* line 38120, app/assets/stylesheets/application.scss */
.perk-slides-rail-plus {
  margin-top: auto;
  margin-bottom: 8px;
  font-size: 20px;
  color: #5f6368;
}

/* line 38127, app/assets/stylesheets/application.scss */
.perk-slides-banner {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #323232;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* line 38141, app/assets/stylesheets/application.scss */
.perk-slides-more-panel {
  position: absolute;
  top: 52px;
  right: 12px;
  z-index: 45;
  min-width: 220px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
}

/* line 38154, app/assets/stylesheets/application.scss */
.perk-slides-present-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* line 38165, app/assets/stylesheets/application.scss */
.perk-slides-present-slide {
  position: relative;
  width: min(96vw, calc(96vh * 4 / 3));
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}

/* line 38173, app/assets/stylesheets/application.scss */
.perk-slides-present-slide .perk-slides-el {
  cursor: default;
}

/* line 38177, app/assets/stylesheets/application.scss */
.perk-slides-present-slide .perk-slides-handles {
  display: none;
}

/* line 38179, app/assets/stylesheets/application.scss */
.perk-slides-present-chrome {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(32, 33, 36, 0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 13px;
}

/* line 38194, app/assets/stylesheets/application.scss */
.perk-slides-present-nav,
.perk-slides-present-exit {
  color: #fff;
  width: auto;
  height: auto;
  padding: 4px 10px;
  border-radius: 16px;
}

/* line 38203, app/assets/stylesheets/application.scss */
.perk-slides-present-nav:hover,
.perk-slides-present-exit:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* line 38206, app/assets/stylesheets/application.scss */
.perk-slides-workspace.is-paint-format .perk-slides-tb-btn[data-paint-format] {
  background: #e8f0fe;
  color: #1967d2;
}

/* line 38211, app/assets/stylesheets/application.scss */
.perk-slides-workspace.perk-slides-notes-hidden .perk-slides-notes {
  display: none;
}

/* line 38212, app/assets/stylesheets/application.scss */
.perk-slides-workspace.perk-slides-rulers-hidden .perk-slides-ruler,
.perk-slides-workspace.perk-slides-rulers-hidden .perk-slides-ruler-corner {
  visibility: hidden;
}

/* line 38214, app/assets/stylesheets/application.scss */
.perk-slides-workspace.perk-slides-menus-hidden .perk-slides-menubar {
  display: none;
}

/* line 38216, app/assets/stylesheets/application.scss */
.perk-slides-presence {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  /* line 38223, app/assets/stylesheets/application.scss */
  .perk-slides-body {
    grid-template-columns: 120px 1fr;
  }
  /* line 38224, app/assets/stylesheets/application.scss */
  .perk-slides-side-rail {
    display: none;
  }
  /* line 38225, app/assets/stylesheets/application.scss */
  .perk-slides-menubar {
    display: none;
  }
  /* line 38226, app/assets/stylesheets/application.scss */
  .perk-slides-toolbar {
    margin: 0;
    border-radius: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-left: 12px;
  }
  /* line 38233, app/assets/stylesheets/application.scss */
  .perk-slides-title-input {
    max-width: 140px;
    font-size: 16px;
  }
  /* line 38234, app/assets/stylesheets/application.scss */
  .perk-slides-thumb-preview {
    width: 84px;
  }
}

@media print {
  /* line 38238, app/assets/stylesheets/application.scss */
  .perk-slides-header,
.perk-slides-menubar,
.perk-slides-toolbar,
.perk-slides-filmstrip,
.perk-slides-side-rail,
.perk-slides-notes,
.perk-slides-ruler,
.perk-slides-ruler-corner,
.perk-slides-banner,
.perk-slides-more-panel,
.perk-slides-present-chrome {
    display: none !important;
  }
  /* line 38249, app/assets/stylesheets/application.scss */
  .perk-slides-body {
    display: block;
  }
  /* line 38250, app/assets/stylesheets/application.scss */
  .perk-slides-canvas {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* line 38260, app/assets/stylesheets/application.scss */
.ai-drive-slides {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 100%;
  background: #eef2f7;
}

/* line 38267, 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 38277, 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 38289, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb.is-active {
  border-color: #1a73e8;
  background: #eff6ff;
}

/* line 38294, app/assets/stylesheets/application.scss */
.ai-drive-slide-thumb span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  padding-top: 2px;
}

/* line 38301, 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 38312, 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 38321, 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 38337, 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 38346, 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 38356, app/assets/stylesheets/application.scss */
.ai-drive-slide-el {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
}

/* line 38362, 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 38371, 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 38380, 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 38385, app/assets/stylesheets/application.scss */
.ai-drive-slide-el.is-shape {
  pointer-events: none;
}

/* Legacy class kept for older cached markup */
/* line 38390, 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 38402, app/assets/stylesheets/application.scss */
.ai-drive-slide-title {
  border: 0;
  font-size: 28px;
  font-weight: 700;
  outline: none;
  width: 100%;
}

/* line 38410, 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 38421, app/assets/stylesheets/application.scss */
.ai-drive-pdf-viewer {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  background: #111827;
}

/* line 38430, 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 38441, app/assets/stylesheets/application.scss */
.ai-drive-pdf-toolbar .ai-drive-icon-btn {
  color: #f9fafb;
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
}

/* line 38451, app/assets/stylesheets/application.scss */
.perk-pdf-workspace .ai-drive-workspace-mount {
  overflow: hidden;
  background: #525659;
}

/* line 38456, 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 38464, app/assets/stylesheets/application.scss */
.ai-drive-pdf-toolbar .ai-drive-pdf-zoom-label {
  flex: 1 1 auto;
}

/* line 38468, 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 38478, app/assets/stylesheets/application.scss */
.ai-drive-pdf-viewer.is-chromeless {
  background: transparent;
}

/* line 38482, app/assets/stylesheets/application.scss */
.ai-drive-pdf-pages {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 12px 32px;
  background: #525659;
}

/* line 38494, app/assets/stylesheets/application.scss */
.ai-drive-pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #525659;
}

/* line 38501, app/assets/stylesheets/application.scss */
.ai-drive-pdf-slot {
  flex: 0 0 auto;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* line 38507, app/assets/stylesheets/application.scss */
.ai-drive-pdf-canvas {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  background: #fff;
}

/* line 38515, app/assets/stylesheets/application.scss */
.ai-drive-pdf-status {
  margin: auto;
  color: #f3f4f6;
  text-align: center;
  padding: 32px 16px;
}

/* line 38522, app/assets/stylesheets/application.scss */
.pdf-tools-pdf-view {
  width: 100%;
  min-height: 520px;
  height: min(70vh, 820px);
  border-radius: 14px;
  overflow: hidden;
}

/* line 38530, app/assets/stylesheets/application.scss */
.pdf-tools-pdf-view.is-output {
  min-height: 360px;
  height: min(52vh, 640px);
  border-radius: 12px;
}

/* line 38536, app/assets/stylesheets/application.scss */
#pdf-tools-edit-frame.hidden,
#pdf-tools-output-frame.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  /* line 38542, app/assets/stylesheets/application.scss */
  .ai-drive-slides {
    grid-template-columns: 1fr;
  }
  /* line 38546, app/assets/stylesheets/application.scss */
  .ai-drive-slides-rail {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  /* line 38553, app/assets/stylesheets/application.scss */
  .ai-drive-slide-thumb {
    min-width: 140px;
  }
  /* line 38557, app/assets/stylesheets/application.scss */
  .ai-drive-slide-stage-wrap {
    padding: 12px;
  }
  /* line 38561, app/assets/stylesheets/application.scss */
  .ai-drive-workspace-presence .ai-drive-presence-label {
    display: none;
  }
}

/* ── Perk Word document editor (Docs-like chrome) ── */
/* line 38567, 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 38573, 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 38578, 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 38590, app/assets/stylesheets/application.scss */
.perk-doc-header-left,
.perk-doc-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 38598, app/assets/stylesheets/application.scss */
.perk-doc-header-left {
  flex: 1 1 auto;
}

/* line 38602, app/assets/stylesheets/application.scss */
.perk-doc-burger {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #444746;
  background: transparent;
  box-shadow: none;
}

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

/* line 38619, app/assets/stylesheets/application.scss */
.perk-doc-burger.is-active {
  background: #e8f0fe;
  color: #1a73e8;
}

/* line 38624, app/assets/stylesheets/application.scss */
.perk-doc-header-right {
  flex: 0 0 auto;
}

/* line 38628, 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 38637, app/assets/stylesheets/application.scss */
.perk-doc-brand {
  font-weight: 700;
  color: var(--perk-ink, #17191d);
  letter-spacing: -0.02em;
}

/* line 38643, app/assets/stylesheets/application.scss */
.perk-doc-crumb-sep {
  opacity: 0.45;
}

/* line 38647, app/assets/stylesheets/application.scss */
.perk-doc-type-icon {
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 38656, app/assets/stylesheets/application.scss */
.perk-doc-type-svg {
  width: 36px;
  height: 36px;
  display: block;
}

/* line 38662, app/assets/stylesheets/application.scss */
.perk-doc-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

/* line 38669, app/assets/stylesheets/application.scss */
.perk-doc-title-star {
  width: 28px;
  height: 28px;
  color: var(--perk-muted, #666e79);
}

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

/* line 38679, 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: 18px;
  font-weight: 400;
  color: var(--perk-ink, #17191d);
  background: transparent;
  outline: none;
}

/* line 38693, app/assets/stylesheets/application.scss */
.perk-doc-share-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: 24px;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
}

/* line 38710, app/assets/stylesheets/application.scss */
.perk-doc-share-btn:hover {
  background: #1765cc;
}

/* line 38714, app/assets/stylesheets/application.scss */
.perk-doc-share-btn .perk-doc-ico {
  width: 18px;
  height: 18px;
}

/* line 38719, app/assets/stylesheets/application.scss */
.perk-doc-title-input:hover {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 38723, 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 38729, 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 38737, app/assets/stylesheets/application.scss */
.perk-doc-save-status.is-error {
  color: #b3261e;
  cursor: pointer;
  text-decoration: underline;
}

/* line 38743, 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 38755, app/assets/stylesheets/application.scss */
.perk-doc-collab-status.is-live {
  color: #137333;
  background: #e6f4ea;
}

/* line 38760, app/assets/stylesheets/application.scss */
.perk-doc-collab-status.is-reconnecting {
  color: #b06000;
  background: #fef7e0;
  cursor: pointer;
}

/* line 38766, app/assets/stylesheets/application.scss */
.perk-doc-collab-status.is-offline {
  color: #5f6368;
  background: #f1f3f4;
}

/* line 38771, 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 38776, app/assets/stylesheets/application.scss */
.ql-container {
  position: relative;
}

/* line 38778, app/assets/stylesheets/application.scss */
.ql-cursor.hidden {
  display: none;
}

/* line 38780, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-caret-container,
.ql-cursor .ql-cursor-flag {
  position: absolute;
}

/* line 38785, 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 38799, 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 38808, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-caret-container {
  margin-left: -9px;
  padding: 0 9px;
  pointer-events: none;
}

/* line 38814, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-caret {
  width: 2px;
  height: 100%;
  margin-left: 9px;
}

/* line 38820, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-selections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* line 38829, app/assets/stylesheets/application.scss */
.ql-cursor .ql-cursor-selection-block {
  position: absolute;
  opacity: 0.28;
}

/* line 38834, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-cursor .ql-cursor-flag {
  opacity: 1;
  visibility: visible;
}

/* line 38839, 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 38852, 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 38861, app/assets/stylesheets/application.scss */
.perk-doc-text-btn {
  padding: 6px 10px;
  font-weight: 500;
}

/* line 38866, 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 38872, app/assets/stylesheets/application.scss */
.perk-doc-text-btn.is-muted,
.perk-doc-text-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 38878, app/assets/stylesheets/application.scss */
.perk-doc-ai-btn {
  color: #1a73e8;
}

/* line 38882, app/assets/stylesheets/application.scss */
.perk-doc-ai-btn:not(:disabled):not(.is-muted) {
  opacity: 1;
  cursor: pointer;
}

/* line 38887, 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 38901, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble[hidden] {
  display: none !important;
}

/* line 38905, 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 38919, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble-btn:hover:not(:disabled) {
  background: #e8f0fe;
  color: #1a73e8;
}

/* line 38924, app/assets/stylesheets/application.scss */
.perk-doc-ai-bubble-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 38929, 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 38941, app/assets/stylesheets/application.scss */
.perk-doc-ai-menu[hidden] {
  display: none !important;
}

/* line 38945, 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 38956, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview[hidden] {
  display: none !important;
}

/* line 38960, 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 38972, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 38979, 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 38993, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-error {
  color: #b42318;
  font-size: 13px;
}

/* line 38998, app/assets/stylesheets/application.scss */
.perk-doc-ai-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* line 39005, 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 39022, app/assets/stylesheets/application.scss */
.perk-doc-chat {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--perk-line-soft, #eef0f3);
  background: var(--perk-surface, #fff);
  z-index: 4;
}

/* line 39032, app/assets/stylesheets/application.scss */
.perk-doc-chat.tw-note-ai-panel {
  position: fixed;
  top: 88px;
  right: 20px;
  left: auto;
  bottom: auto;
  z-index: 10200;
  width: min(320px, calc(100vw - 28px));
  max-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(26, 29, 36, 0.1);
  border-top: 1px solid rgba(26, 29, 36, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(23, 25, 29, 0.14);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

/* line 39055, app/assets/stylesheets/application.scss */
.perk-doc-chat.tw-note-ai-panel[hidden] {
  display: none !important;
}

/* line 39059, app/assets/stylesheets/application.scss */
.perk-doc-chat[hidden] {
  display: none !important;
}

/* line 39063, app/assets/stylesheets/application.scss */
.perk-doc-chat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(420px, calc(100% - 24px));
  max-width: 420px;
  padding: 6px 8px 6px 12px;
  min-height: 46px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.08);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
}

/* line 39077, app/assets/stylesheets/application.scss */
.tw-note-ai-compose.perk-doc-chat-bar,
.perk-doc-chat .perk-doc-chat-bar {
  width: 100%;
  max-width: none;
  min-height: 40px;
  padding: 4px 4px 4px 10px;
  border-radius: 14px;
}

/* line 39086, app/assets/stylesheets/application.scss */
.perk-doc-chat-spark {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
  opacity: 0.75;
}

/* line 39093, app/assets/stylesheets/application.scss */
.perk-doc-chat-input {
  flex: 1;
  min-width: 0;
  height: 34px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  line-height: 1.35;
  color: var(--perk-ink, #17191d);
}

/* line 39105, app/assets/stylesheets/application.scss */
.perk-doc-chat-input::placeholder {
  color: #9aa0a8;
  font-size: 13px;
}

/* line 39110, app/assets/stylesheets/application.scss */
.perk-doc-chat-send {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #6f4cc7;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1;
}

/* line 39126, app/assets/stylesheets/application.scss */
.perk-doc-chat-send:disabled,
.perk-doc-chat-send.is-busy {
  opacity: 0.7;
  cursor: default;
}

/* line 39132, app/assets/stylesheets/application.scss */
.perk-doc-presence {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 39138, 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 39148, app/assets/stylesheets/application.scss */
.perk-doc-menu {
  position: relative;
}

/* line 39152, 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 39163, app/assets/stylesheets/application.scss */
.perk-doc-menu-trigger:hover,
.perk-doc-menu-trigger[aria-expanded="true"] {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 39168, 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 39182, app/assets/stylesheets/application.scss */
.perk-doc-more-panel {
  right: 12px;
  left: auto;
  top: 48px;
}

/* line 39188, 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 39204, app/assets/stylesheets/application.scss */
.perk-doc-menu-item:hover:not(:disabled) {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 39208, app/assets/stylesheets/application.scss */
.perk-doc-menu-item.is-disabled,
.perk-doc-menu-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* line 39214, app/assets/stylesheets/application.scss */
.perk-doc-menu-shortcut {
  font-size: 11px;
  color: var(--perk-muted, #666e79);
}

/* line 39219, app/assets/stylesheets/application.scss */
.perk-doc-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1px;
  padding: 4px 8px;
  background: #edf2fa;
  border-bottom: 1px solid var(--perk-line, #e5e7eb);
  flex: 0 0 auto;
  overflow-x: auto;
  min-height: 40px;
}

/* line 39232, app/assets/stylesheets/application.scss */
.perk-doc-tb-btn {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0 4px;
  color: #444746;
  border-radius: 4px;
}

/* line 39244, app/assets/stylesheets/application.scss */
.perk-doc-ico {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

/* line 39251, app/assets/stylesheets/application.scss */
.perk-doc-tb-letter {
  font-size: 15px;
  line-height: 1;
  font-family: "Google Sans", "Arial", sans-serif;
}

/* line 39257, app/assets/stylesheets/application.scss */
.perk-doc-tb-text-color-letter {
  font-weight: 700;
}

/* line 39261, app/assets/stylesheets/application.scss */
.perk-doc-tb-btn.is-active,
.perk-doc-tb-btn.is-paint-armed {
  background: #d3e3fd;
  color: #041e49;
}

/* line 39267, app/assets/stylesheets/application.scss */
.perk-doc-tb-sep {
  width: 1px;
  height: 20px;
  background: #c4c7c5;
  margin: 0 4px;
  flex: 0 0 auto;
}

/* line 39275, app/assets/stylesheets/application.scss */
.perk-doc-tb-spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

/* line 39280, app/assets/stylesheets/application.scss */
.perk-doc-tb-select-wrap {
  display: inline-flex;
  align-items: center;
}

/* line 39285, app/assets/stylesheets/application.scss */
.perk-doc-tb-select {
  height: 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  color: #1f1f1f;
  padding: 0 4px;
  max-width: 140px;
}

/* line 39296, app/assets/stylesheets/application.scss */
.perk-doc-tb-select:hover,
.perk-doc-tb-select:focus {
  border-color: #c4c7c5;
  background: #fff;
  outline: none;
}

/* line 39303, app/assets/stylesheets/application.scss */
.perk-doc-tb-zoom .perk-doc-tb-select {
  max-width: 72px;
  font-variant-numeric: tabular-nums;
}

/* line 39308, app/assets/stylesheets/application.scss */
.perk-doc-tb-style .perk-doc-tb-select {
  max-width: 118px;
}

/* line 39312, app/assets/stylesheets/application.scss */
.perk-doc-tb-font .perk-doc-tb-select {
  max-width: 110px;
}

/* line 39316, app/assets/stylesheets/application.scss */
.perk-doc-tb-size-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 4px;
}

/* line 39323, app/assets/stylesheets/application.scss */
.perk-doc-tb-size .perk-doc-tb-select {
  max-width: 44px;
  text-align: center;
  padding: 0 2px;
}

/* line 39329, app/assets/stylesheets/application.scss */
.perk-doc-tb-size-btn {
  min-width: 24px;
  width: 24px;
}

/* line 39334, app/assets/stylesheets/application.scss */
.perk-doc-tb-color {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #444746;
}

/* line 39350, app/assets/stylesheets/application.scss */
.perk-doc-tb-color:hover {
  background: rgba(68, 71, 70, 0.08);
}

/* line 39354, app/assets/stylesheets/application.scss */
.perk-doc-tb-color input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 39361, app/assets/stylesheets/application.scss */
.perk-doc-tb-color-bar {
  display: block;
  width: 14px;
  height: 3px;
  border-radius: 1px;
  pointer-events: none;
}

/* line 39369, app/assets/stylesheets/application.scss */
.perk-doc-tb-highlight {
  color: #444746;
}

/* line 39373, app/assets/stylesheets/application.scss */
.perk-doc-tb-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* line 39379, app/assets/stylesheets/application.scss */
.perk-doc-tb-drop-trigger .perk-doc-ico:last-child {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* line 39385, app/assets/stylesheets/application.scss */
.perk-doc-tb-drop-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  display: flex;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

/* line 39399, app/assets/stylesheets/application.scss */
.perk-doc-tb-drop-panel[hidden] {
  display: none !important;
}

/* line 39403, app/assets/stylesheets/application.scss */
.perk-doc-tb-drop-menu {
  flex-direction: column;
  min-width: 160px;
  padding: 6px 0;
  gap: 0;
}

/* line 39410, app/assets/stylesheets/application.scss */
.perk-doc-tb-drop-menu .perk-doc-menu-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

/* line 39417, app/assets/stylesheets/application.scss */
.perk-doc-tb-mode-btn {
  min-width: auto;
  padding: 0 6px;
  gap: 4px;
}

/* line 39423, app/assets/stylesheets/application.scss */
.perk-doc-tb-mode-label {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* line 39429, app/assets/stylesheets/application.scss */
.perk-doc-menus-collapsed .perk-doc-menubar {
  display: none;
}

/* line 39433, app/assets/stylesheets/application.scss */
.perk-doc-view-only .perk-doc-toolbar [data-doc-format-toggle],
.perk-doc-view-only .perk-doc-toolbar [data-doc-format],
.perk-doc-view-only .perk-doc-toolbar [data-doc-format-value],
.perk-doc-view-only .perk-doc-toolbar [data-paint-format],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="indent-more"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="indent-less"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="clear-formatting"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="link"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="insert-image"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="insert-table"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="page-break"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="size-up"],
.perk-doc-view-only .perk-doc-toolbar [data-doc-action="size-down"] {
  opacity: 0.45;
  pointer-events: none;
}

/* line 39450, app/assets/stylesheets/application.scss */
.perk-doc-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  background: #e8eaed;
}

/* line 39457, 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 39466, app/assets/stylesheets/application.scss */
.perk-doc-outline.is-collapsed,
.perk-doc-outline-collapsed .perk-doc-outline {
  display: none;
}

/* line 39471, 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 6px;
}

/* line 39480, app/assets/stylesheets/application.scss */
.perk-doc-outline-hint {
  font-size: 11px;
  color: var(--perk-muted-soft, #8a9099);
  padding: 0 8px 10px;
  margin: 0;
  line-height: 1.35;
}

/* line 39488, 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 39496, 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 39512, app/assets/stylesheets/application.scss */
.perk-doc-outline-item:hover {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 39516, app/assets/stylesheets/application.scss */
.perk-doc-outline-item.is-h2 {
  padding-left: 16px;
}

/* line 39517, app/assets/stylesheets/application.scss */
.perk-doc-outline-item.is-h3 {
  padding-left: 24px;
  font-size: 12px;
}

/* line 39518, app/assets/stylesheets/application.scss */
.perk-doc-outline-item.is-h4 {
  padding-left: 32px;
  font-size: 12px;
  color: var(--perk-muted, #666e79);
}

/* line 39520, app/assets/stylesheets/application.scss */
.perk-doc-history-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  white-space: normal;
  padding: 8px;
  margin-bottom: 2px;
}

/* line 39530, app/assets/stylesheets/application.scss */
.perk-doc-history-item:disabled,
.perk-doc-history-item.is-current {
  cursor: default;
  background: var(--perk-line-soft, #eef0f3);
  opacity: 1;
}

/* line 39537, app/assets/stylesheets/application.scss */
.perk-doc-history-item:disabled:hover,
.perk-doc-history-item.is-current:hover {
  background: var(--perk-line-soft, #eef0f3);
}

/* line 39542, app/assets/stylesheets/application.scss */
.perk-doc-history-name {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 550;
  color: var(--perk-ink, #17191d);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 39553, app/assets/stylesheets/application.scss */
.perk-doc-history-meta {
  display: block;
  width: 100%;
  font-size: 11px;
  color: var(--perk-muted, #666e79);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 39563, app/assets/stylesheets/application.scss */
.perk-doc-canvas {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  padding: 24px 16px 48px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* line 39574, app/assets/stylesheets/application.scss */
.perk-doc-page-scale {
  transform-origin: top center;
  transition: transform 0.12s ease;
}

/* line 39579, app/assets/stylesheets/application.scss */
.perk-doc-page {
  width: var(--perk-doc-w, 816px);
  min-height: var(--perk-doc-h, 1056px);
  background: #fff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
  border-radius: 0;
}

/* line 39587, app/assets/stylesheets/application.scss */
.perk-doc-quill {
  min-height: var(--perk-doc-h, 1056px);
}

/* line 39591, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-toolbar.ql-snow {
  display: none !important;
}

/* line 39595, app/assets/stylesheets/application.scss */
.perk-doc-quill.ql-container.ql-snow,
.perk-doc-quill .ql-container.ql-snow {
  border: 0;
  font-size: var(--perk-doc-size, 11pt);
  line-height: 1.15;
  /* Document default. Run-level font-family from the file overrides this. */
  font-family: var(--perk-doc-font, Calibri), Carlito, "Segoe UI", Arial, sans-serif;
  color: var(--perk-doc-ink, #000);
}

/* line 39605, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor,
.perk-doc-quill.ql-container .ql-editor {
  min-height: var(--perk-doc-h, 1056px);
  padding: var(--perk-doc-mt, 96px) var(--perk-doc-mr, 96px) var(--perk-doc-mb, 96px) var(--perk-doc-ml, 96px);
  color: var(--perk-doc-ink, #000);
  caret-color: var(--perk-doc-ink, #000);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Imported / applied run styles win via inline style="" from Quill attributors */
/* line 39618, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor strong,
.perk-doc-quill .ql-editor b {
  font-weight: 700;
}

/* line 39623, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor em,
.perk-doc-quill .ql-editor i {
  font-style: italic;
}

/* line 39628, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor u {
  text-decoration: underline;
}

/* line 39632, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor s {
  text-decoration: line-through;
}

/* line 39636, 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 39643, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor .ql-align-right {
  text-align: right;
}

/* line 39644, 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 39647, 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 39652, 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;
}

/* Toolbar heading presets. Imported runs carry their own font-size and color on spans. */
/* line 39660, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: inherit;
}

/* line 39661, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: inherit;
}

/* line 39662, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: inherit;
}

/* line 39663, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: inherit;
}

/* line 39665, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor h1.title {
  text-align: center;
  font-size: 28px;
  margin-top: 0.4em;
}

/* Document run colors win over Quill's default link blue. */
/* line 39672, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor a {
  color: inherit;
}

/* line 39676, 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 39690, app/assets/stylesheets/application.scss */
.perk-doc-status-left,
.perk-doc-status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 39697, app/assets/stylesheets/application.scss */
.perk-doc-status-sep {
  opacity: 0.5;
}

/* line 39701, app/assets/stylesheets/application.scss */
.perk-doc-zoom-label {
  min-width: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* line 39707, 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 39724, app/assets/stylesheets/application.scss */
.perk-doc-find[hidden] {
  display: none !important;
}

/* line 39728, 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 39737, app/assets/stylesheets/application.scss */
.perk-doc-find-count {
  font-size: 12px;
  color: var(--perk-muted, #666e79);
  min-width: 64px;
}

/* line 39743, 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 39753, 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 39768, 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 — borders/colors come from the DOCX (CSS vars on each table) */
/* line 39780, app/assets/stylesheets/application.scss */
.perk-doc-table-wrap {
  margin: 10px 0 16px;
  overflow-x: auto;
}

/* line 39785, app/assets/stylesheets/application.scss */
.perk-doc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  /* Do not force a font-size — Word cell runs carry 7.5–8.5pt etc. */
  font-size: inherit;
}

/* line 39793, app/assets/stylesheets/application.scss */
.perk-doc-table th,
.perk-doc-table td {
  border: var(--perk-tbl-border-w, 1px) solid var(--perk-tbl-border, #d9e2f3);
  padding: 4px 8px;
  min-width: 48px;
  vertical-align: middle;
  word-break: break-word;
  outline: none;
  font-size: inherit;
  line-height: 1.25;
}

/* line 39805, app/assets/stylesheets/application.scss */
.perk-doc-table th {
  background: #f8f9fa;
  font-weight: 600;
  text-align: left;
}

/* Cell colors/fonts/sizes come from inline styles set by the table blot */
/* line 39813, 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 39819, 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 39829, app/assets/stylesheets/application.scss */
.perk-doc-image.is-center {
  margin-left: auto;
  margin-right: auto;
}

/* line 39834, app/assets/stylesheets/application.scss */
.perk-doc-image.is-right {
  margin-left: auto;
  margin-right: 0;
}

/* line 39839, app/assets/stylesheets/application.scss */
.perk-doc-image.is-selected {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* line 39844, app/assets/stylesheets/application.scss */
.perk-doc-img-resize {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  box-sizing: border-box;
  border: 1px solid #1a73e8;
}

/* line 39852, app/assets/stylesheets/application.scss */
.perk-doc-img-handle {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: #fff;
  border: 2px solid #1a73e8;
  border-radius: 1px;
  box-sizing: border-box;
  pointer-events: auto;
  touch-action: none;
}

/* line 39865, app/assets/stylesheets/application.scss */
.perk-doc-img-handle.is-nw {
  left: 0;
  top: 0;
  cursor: nwse-resize;
}

/* line 39866, app/assets/stylesheets/application.scss */
.perk-doc-img-handle.is-ne {
  left: 100%;
  top: 0;
  cursor: nesw-resize;
}

/* line 39867, app/assets/stylesheets/application.scss */
.perk-doc-img-handle.is-sw {
  left: 0;
  top: 100%;
  cursor: nesw-resize;
}

/* line 39868, app/assets/stylesheets/application.scss */
.perk-doc-img-handle.is-se {
  left: 100%;
  top: 100%;
  cursor: nwse-resize;
}

/* line 39870, app/assets/stylesheets/application.scss */
body.perk-doc-img-resizing,
body.perk-doc-img-resizing .perk-doc-quill .ql-editor {
  cursor: nwse-resize !important;
  user-select: none !important;
}

/* Comments panel */
/* line 39877, app/assets/stylesheets/application.scss */
.perk-doc-body {
  position: relative;
}

/* line 39881, 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 39892, app/assets/stylesheets/application.scss */
.perk-doc-comments[hidden] {
  display: none !important;
}

/* line 39896, app/assets/stylesheets/application.scss */
.perk-doc-comments-open .perk-doc-comments {
  display: flex;
}

/* line 39900, 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 39911, 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 39920, app/assets/stylesheets/application.scss */
.perk-doc-comments-count {
  font-size: 11px;
  color: var(--perk-muted, #666e79);
}

/* line 39925, app/assets/stylesheets/application.scss */
.perk-doc-comments-list {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px;
}

/* line 39931, 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 39939, app/assets/stylesheets/application.scss */
.perk-doc-comment-card.is-resolved {
  opacity: 0.72;
}

/* line 39943, app/assets/stylesheets/application.scss */
.perk-doc-comment-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

/* line 39950, app/assets/stylesheets/application.scss */
.perk-doc-comment-head time {
  display: block;
  font-size: 11px;
  color: var(--perk-muted, #666e79);
  font-weight: 400;
}

/* line 39957, 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 39971, 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 39980, app/assets/stylesheets/application.scss */
.perk-doc-comment-body {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
}

/* line 39986, 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 39993, app/assets/stylesheets/application.scss */
.perk-doc-comment-reply p {
  margin: 2px 0 0;
}

/* line 39997, app/assets/stylesheets/application.scss */
.perk-doc-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* line 40003, 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 40012, 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 40021, app/assets/stylesheets/application.scss */
.perk-doc-quill .ql-editor.perk-doc-readonly {
  caret-color: transparent;
}

/* Version history */
/* line 40026, 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 40041, app/assets/stylesheets/application.scss */
.perk-doc-versions[hidden],
.perk-doc-roles[hidden] {
  display: none !important;
}

/* line 40046, app/assets/stylesheets/application.scss */
.perk-doc-versions-list {
  padding: 8px 10px;
  max-height: 360px;
  overflow: auto;
}

/* line 40052, app/assets/stylesheets/application.scss */
.perk-doc-versions-day h4 {
  margin: 8px 4px 6px;
  font-size: 12px;
  color: var(--perk-muted, #666e79);
}

/* line 40058, 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 40073, app/assets/stylesheets/application.scss */
.perk-doc-version-row:hover,
.perk-doc-version-row.is-selected {
  background: #e8f0fe;
}

/* line 40078, app/assets/stylesheets/application.scss */
.perk-doc-version-time {
  color: var(--perk-muted, #666e79);
  font-variant-numeric: tabular-nums;
}

/* line 40083, app/assets/stylesheets/application.scss */
.perk-doc-version-num {
  font-size: 11px;
  color: var(--perk-muted, #666e79);
}

/* line 40088, 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 40095, 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 40104, app/assets/stylesheets/application.scss */
.perk-doc-role-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

/* line 40111, 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 40120, app/assets/stylesheets/application.scss */
.perk-doc-roles .perk-doc-text-btn {
  margin: 8px 12px 12px;
}

/* line 40124, 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 40131, app/assets/stylesheets/application.scss */
.perk-doc-distraction-free .perk-doc-header {
  border-bottom-color: transparent;
}

/* line 40135, 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 40148, app/assets/stylesheets/application.scss */
  .perk-doc-outline {
    display: none;
  }
  /* line 40152, app/assets/stylesheets/application.scss */
  .perk-doc-crumb-drive,
.perk-doc-crumb-sep:nth-of-type(2) {
    display: none;
  }
  /* line 40157, app/assets/stylesheets/application.scss */
  .perk-doc-title-input {
    max-width: 140px;
    width: 30vw;
  }
  /* line 40162, app/assets/stylesheets/application.scss */
  .perk-doc-header-right .perk-doc-text-btn:not([data-doc-action="share"]) {
    display: none;
  }
  /* line 40166, app/assets/stylesheets/application.scss */
  .perk-doc-toolbar .perk-doc-tb-sep,
.perk-doc-toolbar .perk-doc-tb-color,
.perk-doc-toolbar .perk-doc-tb-font,
.perk-doc-toolbar .perk-doc-tb-zoom,
.perk-doc-toolbar .perk-doc-tb-mode,
.perk-doc-toolbar [data-tb-drop="spacing"],
.perk-doc-toolbar [data-doc-action="paint-format"],
.perk-doc-toolbar [data-doc-action="spellcheck"],
.perk-doc-toolbar [data-doc-action="print"],
.perk-doc-toolbar [data-doc-action="insert-table"],
.perk-doc-toolbar [data-doc-action="page-break"] {
    display: none;
  }
  /* line 40180, app/assets/stylesheets/application.scss */
  .perk-doc-share-btn span {
    display: none;
  }
  /* line 40184, app/assets/stylesheets/application.scss */
  .perk-doc-share-btn {
    width: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  /* line 40191, app/assets/stylesheets/application.scss */
  .perk-doc-page {
    width: min(816px, 100%);
    min-height: 80vh;
    box-shadow: none;
  }
  /* line 40197, 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 40203, app/assets/stylesheets/application.scss */
  .perk-doc-canvas {
    padding: 8px;
  }
  /* line 40207, app/assets/stylesheets/application.scss */
  .perk-doc-menubar {
    overflow-x: auto;
  }
}

/* line 40212, app/assets/stylesheets/application.scss */
.ai-drive-muted {
  color: #80868b;
  font-size: 12px;
}

/* line 40217, 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(0, 0, 0, 0.28);
  padding: 20px;
  backdrop-filter: blur(4px);
}

/* line 40230, app/assets/stylesheets/application.scss */
.ai-drive-actions-card,
.ai-drive-dialog {
  width: min(340px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

/* line 40240, app/assets/stylesheets/application.scss */
.ai-drive-actions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e8eaed;
}

/* line 40248, app/assets/stylesheets/application.scss */
.ai-drive-actions-head strong {
  display: block;
  font-size: 14px;
}

/* line 40253, app/assets/stylesheets/application.scss */
.ai-drive-actions-head span {
  font-size: 12px;
  color: #80868b;
}

/* line 40258, app/assets/stylesheets/application.scss */
#ai-drive-actions-thumb.ai-drive-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

/* line 40264, app/assets/stylesheets/application.scss */
#ai-drive-actions-thumb.ai-drive-thumb.has-image {
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* line 40269, 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 40283, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button:hover {
  background: #f8f9fa;
}

/* line 40287, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger {
  color: var(--perk-ink);
}

/* line 40291, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button i {
  width: 18px;
  color: #5f6368;
}

/* line 40296, app/assets/stylesheets/application.scss */
.ai-drive-actions-card > button.is-danger i {
  color: var(--perk-ink);
}

/* line 40300, app/assets/stylesheets/application.scss */
.ai-drive-dialog {
  padding: 18px;
}

/* line 40304, app/assets/stylesheets/application.scss */
.ai-drive-dialog h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* line 40309, 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 40317, 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 40327, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality {
  margin-bottom: 14px;
}

/* line 40331, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 40339, app/assets/stylesheets/application.scss */
.ai-drive-dialog-quality .ai-drive-dialog-input {
  margin-bottom: 0;
}

/* line 40343, app/assets/stylesheets/application.scss */
.ai-drive-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* line 40349, 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 40364, app/assets/stylesheets/application.scss */
.perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 40369, app/assets/stylesheets/application.scss */
  .ai-drive-futur-top {
    padding: 1rem 1.15rem 0.85rem;
  }
  /* line 40373, app/assets/stylesheets/application.scss */
  .ai-drive-home-layout {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  /* line 40378, app/assets/stylesheets/application.scss */
  .ai-drive-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 40383, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-body {
    flex-direction: column;
  }
  /* line 40387, 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 40394, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-chat {
    flex: 1 1 54%;
    max-width: none;
    box-shadow: none;
  }
  /* line 40400, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-browse {
    padding-bottom: 12px;
  }
  /* line 40404, app/assets/stylesheets/application.scss */
  .ai-drive.is-chat .ai-drive-list {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  }
  /* line 40408, app/assets/stylesheets/application.scss */
  .ai-drive-history {
    inset: 0;
    width: auto;
    border-right: 0;
  }
  /* line 40414, 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 40425, app/assets/stylesheets/application.scss */
  .ai-drive-futur-top {
    gap: 0.65rem;
  }
  /* line 40429, app/assets/stylesheets/application.scss */
  .ai-drive-futur-search-wrap {
    max-width: none;
  }
  /* line 40433, app/assets/stylesheets/application.scss */
  .ai-drive-tabs {
    max-width: 100%;
  }
  /* line 40437, app/assets/stylesheets/application.scss */
  .ai-drive-tab {
    min-width: 0;
    padding: 6px 12px;
    min-height: 32px;
    font-size: 14px;
  }
  /* line 40444, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar {
    flex-wrap: wrap;
  }
  /* line 40448, app/assets/stylesheets/application.scss */
  .ai-drive-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* —— Create PowerPoint (web) —— */
/* line 40455, 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 40466, app/assets/stylesheets/application.scss */
.create-ppt.hidden,
.create-ppt[hidden] {
  display: none !important;
}

/* line 40471, app/assets/stylesheets/application.scss */
.create-ppt-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 40479, 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 40489, app/assets/stylesheets/application.scss */
.create-ppt-shell:has(.create-ppt-result:not([hidden])) .create-ppt-progress-bar {
  display: none;
}

/* line 40493, app/assets/stylesheets/application.scss */
.create-ppt-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 40501, 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 40509, app/assets/stylesheets/application.scss */
.create-ppt-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
  white-space: nowrap;
}

/* line 40516, 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 40530, app/assets/stylesheets/application.scss */
.create-ppt-icon-btn:hover {
  background: #f1f3f4;
}

/* line 40534, app/assets/stylesheets/application.scss */
.create-ppt-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 40540, 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 40552, 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 40566, app/assets/stylesheets/application.scss */
.create-ppt-rail-step:hover {
  background: #f1f3f4;
}

/* line 40570, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current {
  background: #fce8e6;
  color: #202124;
}

/* line 40575, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done {
  color: #202124;
}

/* line 40579, 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 40593, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-current .create-ppt-rail-num {
  background: #c43e1c;
  color: #fff;
}

/* line 40598, app/assets/stylesheets/application.scss */
.create-ppt-rail-step.is-done .create-ppt-rail-num {
  background: #202124;
  color: #fff;
}

/* line 40603, app/assets/stylesheets/application.scss */
.create-ppt-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 40608, app/assets/stylesheets/application.scss */
.create-ppt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 40616, app/assets/stylesheets/application.scss */
.create-ppt-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 16px;
}

/* line 40622, app/assets/stylesheets/application.scss */
.create-ppt-panel {
  max-width: 860px;
}

/* line 40626, app/assets/stylesheets/application.scss */
.create-ppt-heading {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 40633, app/assets/stylesheets/application.scss */
.create-ppt-lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #5f6368;
  max-width: 52ch;
}

/* line 40640, app/assets/stylesheets/application.scss */
.create-ppt-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

/* line 40648, 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 40658, 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 40670, app/assets/stylesheets/application.scss */
.create-ppt-input:placeholder-shown {
  font-size: 13px;
}

/* line 40674, 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 40682, 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 40691, 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 40697, app/assets/stylesheets/application.scss */
.create-ppt-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5f6368;
}

/* line 40703, app/assets/stylesheets/application.scss */
.create-ppt-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

/* line 40709, app/assets/stylesheets/application.scss */
.create-ppt-chips-compact {
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
}

/* line 40713, app/assets/stylesheets/application.scss */
.create-ppt-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #e8eaed;
  border-radius: 11px;
  background: #f8f9fb;
  color: #202124;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 40729, app/assets/stylesheets/application.scss */
.create-ppt-chip i {
  color: #5f6368;
}

/* line 40733, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 40739, app/assets/stylesheets/application.scss */
.create-ppt-chip.is-selected i {
  color: #fff;
}

/* line 40743, app/assets/stylesheets/application.scss */
.create-ppt-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* line 40749, app/assets/stylesheets/application.scss */
.create-ppt-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #e8eaed;
  border-radius: 11px;
  background: #f8f9fb;
  text-align: left;
  cursor: pointer;
}

/* line 40762, app/assets/stylesheets/application.scss */
.create-ppt-row i {
  margin-top: 2px;
  color: #5f6368;
}

/* line 40767, app/assets/stylesheets/application.scss */
.create-ppt-row strong {
  display: block;
  font-size: 14px;
}

/* line 40772, app/assets/stylesheets/application.scss */
.create-ppt-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 40779, app/assets/stylesheets/application.scss */
.create-ppt-row.is-selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}

/* line 40785, 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 40790, app/assets/stylesheets/application.scss */
.create-ppt-custom-slides {
  margin-top: 12px;
  max-width: 200px;
}

/* line 40795, 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 40802, 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 40811, 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 40824, app/assets/stylesheets/application.scss */
.create-ppt-secondary-btn:hover {
  background: #e8eaed;
}

/* line 40828, 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 40840, app/assets/stylesheets/application.scss */
.create-ppt-ghost-btn:hover {
  background: #f1f3f4;
  color: #202124;
}

/* line 40845, 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 40858, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:hover {
  background: #000;
}

/* line 40862, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* line 40867, app/assets/stylesheets/application.scss */
.create-ppt-primary-btn-block {
  width: 100%;
}

/* line 40871, 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 40881, app/assets/stylesheets/application.scss */
.create-ppt-attachments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 40887, app/assets/stylesheets/application.scss */
.create-ppt-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f1f3f4;
}

/* line 40896, 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 40909, app/assets/stylesheets/application.scss */
.create-ppt-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 40915, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text {
  min-width: 0;
  flex: 1;
}

/* line 40920, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 40928, app/assets/stylesheets/application.scss */
.create-ppt-attachment-text span {
  font-size: 11px;
  color: #5f6368;
}

/* line 40933, app/assets/stylesheets/application.scss */
.create-ppt-toggle-card {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* line 40938, app/assets/stylesheets/application.scss */
.create-ppt-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

/* line 40945, app/assets/stylesheets/application.scss */
.create-ppt-toggle input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #202124;
}

/* line 40952, app/assets/stylesheets/application.scss */
.create-ppt-toggle strong {
  display: block;
  font-size: 14px;
}

/* line 40957, app/assets/stylesheets/application.scss */
.create-ppt-toggle small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
}

/* line 40964, app/assets/stylesheets/application.scss */
.create-ppt-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* line 40970, 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 40983, app/assets/stylesheets/application.scss */
.create-ppt-layout.is-selected {
  border-color: #202124;
}

/* line 40987, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview {
  height: 96px;
  border-radius: 12px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

/* line 40995, 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 41003, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-auto {
  background: #17191f;
}

/* line 41007, 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 41016, 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 41025, 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 41034, 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 41042, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-split-media {
  background: #f7f9ff;
}

/* line 41046, 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 41054, 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 41063, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-card-grid::before {
  left: 12px;
  top: 14px;
  width: 40%;
  height: 7px;
}

/* line 41070, 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 41080, 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 41089, 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 41097, 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 41106, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::before {
  left: 10px;
}

/* line 41110, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-comparison::after {
  right: 10px;
}

/* line 41114, 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 41123, 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 41131, app/assets/stylesheets/application.scss */
.create-ppt-layout-preview.is-bold-cover {
  background: #17191f;
}

/* line 41135, 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 41144, 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 41153, app/assets/stylesheets/application.scss */
.create-ppt-layout-meta strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* line 41160, 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 41168, 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 41177, app/assets/stylesheets/application.scss */
.create-ppt-review {
  margin: 0;
}

/* line 41181, 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 41189, app/assets/stylesheets/application.scss */
.create-ppt-review-row:last-child {
  border-bottom: 0;
}

/* line 41193, app/assets/stylesheets/application.scss */
.create-ppt-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #5f6368;
}

/* line 41199, 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 41207, 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 41217, app/assets/stylesheets/application.scss */
.create-ppt-footer-spacer {
  flex: 1;
}

/* line 41221, app/assets/stylesheets/application.scss */
.create-ppt-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 41229, app/assets/stylesheets/application.scss */
.create-ppt-result.hidden,
.create-ppt-result[hidden] {
  display: none !important;
}

/* line 41234, app/assets/stylesheets/application.scss */
.create-ppt-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e8eaed;
}

/* line 41239, 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 41249, app/assets/stylesheets/application.scss */
.create-ppt-name-field i {
  color: var(--perk-ink);
}

/* line 41253, app/assets/stylesheets/application.scss */
.create-ppt-name-field .create-ppt-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 41260, app/assets/stylesheets/application.scss */
.create-ppt-ext {
  color: #5f6368;
  font-size: 13px;
}

/* line 41265, 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 41274, app/assets/stylesheets/application.scss */
.create-ppt-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 41281, app/assets/stylesheets/application.scss */
.create-ppt-slides {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f1f3f4;
}

/* line 41290, app/assets/stylesheets/application.scss */
.create-ppt-slides.is-office-preview {
  padding: 0;
}

/* line 41294, app/assets/stylesheets/application.scss */
.create-ppt-office-frame {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #fff;
}

/* line 41302, 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 41315, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback i {
  font-size: 40px;
  color: var(--perk-ink);
}

/* line 41320, app/assets/stylesheets/application.scss */
.create-ppt-preview-fallback p {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
}

/* line 41327, 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 41336, 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 41347, app/assets/stylesheets/application.scss */
.create-ppt-overlay.hidden,
.create-ppt-overlay[hidden] {
  display: none !important;
}

/* line 41352, 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 41361, 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 41371, 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 41382, 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 41390, 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 41408, app/assets/stylesheets/application.scss */
.create-ppt-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 41414, app/assets/stylesheets/application.scss */
.create-ppt-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 41420, app/assets/stylesheets/application.scss */
.create-ppt-generating-note {
  margin-top: 4px !important;
}

/* line 41424, 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 41440, 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 41451, app/assets/stylesheets/application.scss */
.create-ppt-drive-picker.hidden,
.create-ppt-drive-picker[hidden] {
  display: none !important;
}

/* line 41456, 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 41466, 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 41474, app/assets/stylesheets/application.scss */
.create-ppt-drive-list {
  overflow-y: auto;
  padding: 6px;
}

/* line 41479, app/assets/stylesheets/application.scss */
.create-ppt-drive-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

/* line 41493, app/assets/stylesheets/application.scss */
.create-ppt-drive-item:hover {
  background: #f1f3f4;
}

/* line 41497, app/assets/stylesheets/application.scss */
.create-ppt-drive-item i {
  color: var(--perk-ink);
}

@media (max-width: 900px) {
  /* line 41502, app/assets/stylesheets/application.scss */
  .create-ppt-rail {
    display: none;
  }
  /* line 41506, app/assets/stylesheets/application.scss */
  .create-ppt-scroll {
    padding: 18px 16px 12px;
  }
  /* line 41510, app/assets/stylesheets/application.scss */
  .create-ppt-footer {
    padding: 12px 16px 16px;
  }
  /* line 41514, app/assets/stylesheets/application.scss */
  .create-ppt-heading {
    font-size: 22px;
  }
  /* line 41518, app/assets/stylesheets/application.scss */
  .create-ppt-result-body {
    grid-template-columns: 1fr;
  }
  /* line 41522, app/assets/stylesheets/application.scss */
  .create-ppt-office-frame {
    min-height: 360px;
  }
  /* line 41526, app/assets/stylesheets/application.scss */
  .create-ppt-result-actions {
    border-left: 0;
    border-top: 1px solid #e8eaed;
  }
  /* line 41531, app/assets/stylesheets/application.scss */
  .create-ppt-attach-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* line 41537, app/assets/stylesheets/application.scss */
  .create-ppt-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 41542, app/assets/stylesheets/application.scss */
  .create-ppt-chips {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Create Word document (web) —— */
/* line 41548, 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 41559, app/assets/stylesheets/application.scss */
.create-doc.hidden,
.create-doc[hidden] {
  display: none !important;
}

/* line 41564, app/assets/stylesheets/application.scss */
.create-doc-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 41572, 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 41582, app/assets/stylesheets/application.scss */
.create-doc-progress-bar.hidden,
.create-doc-progress-bar[hidden] {
  display: none !important;
}

/* line 41587, app/assets/stylesheets/application.scss */
.create-doc-rail.hidden,
.create-doc-rail[hidden] {
  display: none !important;
}

/* line 41592, app/assets/stylesheets/application.scss */
#create-document.is-entry-only .create-doc-shell {
  max-width: 520px;
  margin: 0 auto;
}

/* line 41597, app/assets/stylesheets/application.scss */
.create-doc-shell:has(.create-doc-result:not([hidden])) .create-doc-progress-bar {
  display: none;
}

/* line 41601, app/assets/stylesheets/application.scss */
.create-doc-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
}

/* line 41609, app/assets/stylesheets/application.scss */
.create-doc-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: #2b579a;
  transition: width 0.25s ease;
}

/* line 41617, app/assets/stylesheets/application.scss */
.create-doc-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: #667085;
  white-space: nowrap;
}

/* line 41624, 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 41637, app/assets/stylesheets/application.scss */
.create-doc-icon-btn:hover {
  background: #e8eaed;
}

/* line 41641, app/assets/stylesheets/application.scss */
.create-doc-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* line 41647, 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 41659, 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 41673, app/assets/stylesheets/application.scss */
.create-doc-rail-step:hover {
  background: #f5f7fa;
}

/* line 41677, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current {
  background: rgba(43, 87, 154, 0.08);
  color: #1e3f73;
}

/* line 41682, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-done {
  color: #2b579a;
}

/* line 41686, 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 41700, app/assets/stylesheets/application.scss */
.create-doc-rail-step.is-current .create-doc-rail-num {
  background: #2b579a;
  color: #fff;
}

/* line 41705, 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 41710, app/assets/stylesheets/application.scss */
.create-doc-rail-label {
  font-size: 13px;
  font-weight: 600;
}

/* line 41715, app/assets/stylesheets/application.scss */
.create-doc-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* line 41724, app/assets/stylesheets/application.scss */
.create-doc-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 32px 16px;
}

/* line 41731, app/assets/stylesheets/application.scss */
.create-doc-panel {
  max-width: 760px;
}

/* line 41735, 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 41743, 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 41751, app/assets/stylesheets/application.scss */
.create-doc-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

/* line 41759, app/assets/stylesheets/application.scss */
.create-doc-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 41765, app/assets/stylesheets/application.scss */
.create-doc-required {
  color: var(--perk-ink);
  font-weight: 600;
}

/* line 41770, 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 41780, 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 41792, app/assets/stylesheets/application.scss */
.create-doc-input:focus {
  outline: none;
  border-color: rgba(23, 25, 29, 0.22);
  box-shadow: none;
}

/* line 41798, app/assets/stylesheets/application.scss */
.create-doc-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #667085;
}

/* line 41804, app/assets/stylesheets/application.scss */
.create-doc-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* line 41810, app/assets/stylesheets/application.scss */
.create-doc-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* line 41824, app/assets/stylesheets/application.scss */
.create-doc-category:hover {
  border-color: #b8c7df;
}

/* line 41828, 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 41834, app/assets/stylesheets/application.scss */
.create-doc-category i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 87, 154, 0.1);
  color: #2b579a;
  margin-bottom: 3px;
}

/* line 41846, app/assets/stylesheets/application.scss */
.create-doc-category strong {
  font-size: 13px;
  color: #1b1f24;
}

/* line 41851, app/assets/stylesheets/application.scss */
.create-doc-category small {
  font-size: 12px;
  color: #667085;
  line-height: 1.35;
}

/* line 41857, app/assets/stylesheets/application.scss */
.create-doc-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* line 41863, app/assets/stylesheets/application.scss */
.create-doc-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 41876, app/assets/stylesheets/application.scss */
.create-doc-row i {
  margin-top: 2px;
  color: #2b579a;
  width: 17px;
  text-align: center;
}

/* line 41883, app/assets/stylesheets/application.scss */
.create-doc-row strong {
  display: block;
  font-size: 13px;
  color: #1b1f24;
}

/* line 41889, app/assets/stylesheets/application.scss */
.create-doc-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #667085;
  line-height: 1.35;
}

/* line 41897, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected {
  border-color: #2b579a;
  background: rgba(43, 87, 154, 0.06);
}

/* line 41902, app/assets/stylesheets/application.scss */
.create-doc-row.is-selected i,
.create-doc-row.is-selected small {
  color: #1e3f73;
}

/* line 41907, app/assets/stylesheets/application.scss */
.create-doc-tones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 41913, 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 41925, app/assets/stylesheets/application.scss */
.create-doc-tone.is-selected {
  border-color: #2b579a;
  background: #2b579a;
  color: #fff;
}

/* line 41931, app/assets/stylesheets/application.scss */
.create-doc-review {
  margin: 0;
}

/* line 41935, 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 41943, app/assets/stylesheets/application.scss */
.create-doc-review-row:last-child {
  border-bottom: 0;
}

/* line 41947, app/assets/stylesheets/application.scss */
.create-doc-review-row dt {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
}

/* line 41953, 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 41961, 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 41971, app/assets/stylesheets/application.scss */
.create-doc-footer-spacer {
  flex: 1;
}

/* line 41975, 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 41983, 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 41997, app/assets/stylesheets/application.scss */
.create-doc-secondary-btn:hover {
  background: #f8fafc;
}

/* line 42001, 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 42015, app/assets/stylesheets/application.scss */
.create-doc-ghost-btn:hover {
  background: #f1f3f4;
}

/* line 42019, 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 42033, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:hover {
  background: #234a84;
}

/* line 42037, app/assets/stylesheets/application.scss */
.create-doc-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 42042, app/assets/stylesheets/application.scss */
.create-doc-primary-btn-block {
  width: 100%;
}

/* line 42046, 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 42058, app/assets/stylesheets/application.scss */
.create-doc-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

/* line 42066, app/assets/stylesheets/application.scss */
.create-doc-result.hidden,
.create-doc-result[hidden] {
  display: none !important;
}

/* line 42071, app/assets/stylesheets/application.scss */
.create-doc-result-head {
  padding: 16px 20px 10px;
  border-bottom: 1px solid #e4e7ec;
}

/* line 42076, 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 42086, app/assets/stylesheets/application.scss */
.create-doc-name-field i {
  color: #2b579a;
}

/* line 42090, app/assets/stylesheets/application.scss */
.create-doc-name-field .create-doc-input {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* line 42097, app/assets/stylesheets/application.scss */
.create-doc-ext {
  color: #667085;
  font-size: 13px;
}

/* line 42102, 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 42111, app/assets/stylesheets/application.scss */
.create-doc-result-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 280px;
}

/* line 42118, 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 42126, 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 42138, 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 42148, app/assets/stylesheets/application.scss */
.create-doc-docx-mount {
  min-height: 520px;
}

/* line 42152, app/assets/stylesheets/application.scss */
.create-doc-docx-mount .docx-wrapper {
  background: transparent;
  padding: 0;
}

/* line 42157, 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 42162, app/assets/stylesheets/application.scss */
.create-doc-block {
  margin: 0 0 12px;
  line-height: 1.55;
  font-size: 15px;
}

/* line 42168, app/assets/stylesheets/application.scss */
.create-doc-block-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* line 42175, app/assets/stylesheets/application.scss */
.create-doc-block-paragraph {
  text-indent: 1.5em;
}

/* line 42179, app/assets/stylesheets/application.scss */
.create-doc-block-bullet {
  padding-left: 0.5em;
  text-indent: 0;
}

/* line 42184, app/assets/stylesheets/application.scss */
.create-doc-block-signature {
  margin-top: 28px;
  white-space: pre-wrap;
  min-height: 96px;
}

/* line 42190, 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 42197, app/assets/stylesheets/application.scss */
.create-doc-block-signature-party {
  margin-top: 0;
  min-height: 120px;
}

@media (max-width: 640px) {
  /* line 42203, app/assets/stylesheets/application.scss */
  .create-doc-signature-row {
    grid-template-columns: 1fr;
  }
}

/* line 42208, app/assets/stylesheets/application.scss */
.create-doc-block-spacer {
  height: 18px;
}

/* line 42212, 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 42221, 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 42232, app/assets/stylesheets/application.scss */
.create-doc-overlay.hidden,
.create-doc-overlay[hidden] {
  display: none !important;
}

/* line 42237, 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 42246, 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 42256, 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 42267, 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 42275, 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 42293, app/assets/stylesheets/application.scss */
.create-doc-generating-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

/* line 42299, app/assets/stylesheets/application.scss */
.create-doc-generating-card p {
  margin: 0;
  font-size: 13px;
  color: #667085;
}

/* line 42305, app/assets/stylesheets/application.scss */
.create-doc-generating-note {
  margin-top: 4px !important;
}

/* line 42309, 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 42326, app/assets/stylesheets/application.scss */
  .create-doc-rail {
    display: none;
  }
  /* line 42330, app/assets/stylesheets/application.scss */
  .create-doc-scroll {
    padding: 18px 16px 12px;
  }
  /* line 42334, app/assets/stylesheets/application.scss */
  .create-doc-footer {
    padding: 12px 16px 16px;
  }
  /* line 42338, app/assets/stylesheets/application.scss */
  .create-doc-heading {
    font-size: 22px;
  }
  /* line 42342, app/assets/stylesheets/application.scss */
  .create-doc-category-grid {
    grid-template-columns: 1fr;
  }
  /* line 42346, app/assets/stylesheets/application.scss */
  .create-doc-result-body {
    grid-template-columns: 1fr;
  }
  /* line 42350, app/assets/stylesheets/application.scss */
  .create-doc-result-actions {
    border-left: 0;
    border-top: 1px solid #e4e7ec;
  }
  /* line 42355, app/assets/stylesheets/application.scss */
  .create-doc-paper {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  /* line 42361, app/assets/stylesheets/application.scss */
  .create-doc-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  /* line 42366, app/assets/stylesheets/application.scss */
  .create-doc-tones {
    grid-template-columns: 1fr;
  }
}

/* —— PDF tools (web) —— */
/* line 42372, app/assets/stylesheets/application.scss */
.create-ppt-open-actions,
.create-doc-open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* line 42380, 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 42387, 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 42398, app/assets/stylesheets/application.scss */
.create-doc-drive-picker.hidden,
.create-doc-drive-picker[hidden] {
  display: none !important;
}

/* line 42403, 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 42413, 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 42421, app/assets/stylesheets/application.scss */
.create-doc-drive-list {
  overflow-y: auto;
  padding: 6px;
}

/* line 42426, app/assets/stylesheets/application.scss */
.create-doc-drive-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

/* line 42440, app/assets/stylesheets/application.scss */
.create-doc-drive-item:hover {
  background: #f1f3f4;
}

/* line 42444, 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 42456, app/assets/stylesheets/application.scss */
  .create-excel {
    position: fixed;
    z-index: 80;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* line 42464, app/assets/stylesheets/application.scss */
.create-excel.hidden,
.create-excel[hidden] {
  display: none !important;
}

/* line 42469, 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 42480, app/assets/stylesheets/application.scss */
.create-excel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

/* line 42487, app/assets/stylesheets/application.scss */
.create-excel-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #217346;
}

/* line 42494, app/assets/stylesheets/application.scss */
.create-excel-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  color: #5f6368;
}

/* line 42500, app/assets/stylesheets/application.scss */
.create-excel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* line 42506, app/assets/stylesheets/application.scss */
.create-excel-heading {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

/* line 42512, app/assets/stylesheets/application.scss */
.create-excel-lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #5f6368;
  line-height: 1.45;
}

/* line 42519, app/assets/stylesheets/application.scss */
.create-excel-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 42525, app/assets/stylesheets/application.scss */
.create-excel-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dadce0;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 42538, app/assets/stylesheets/application.scss */
.create-excel-row strong {
  display: block;
  font-size: 14px;
  color: #202124;
}

/* line 42544, app/assets/stylesheets/application.scss */
.create-excel-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 42552, app/assets/stylesheets/application.scss */
.create-excel-row.is-selected {
  border-color: #217346;
  background: rgba(33, 115, 70, 0.06);
}

/* line 42557, app/assets/stylesheets/application.scss */
.create-excel-row.is-selected small {
  color: #217346;
}

/* line 42561, app/assets/stylesheets/application.scss */
.create-excel-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f8f9fa;
}

/* line 42568, app/assets/stylesheets/application.scss */
.create-excel-open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* line 42574, app/assets/stylesheets/application.scss */
.create-excel-open-actions.hidden,
.create-excel-open-actions[hidden] {
  display: none !important;
}

/* line 42579, 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 42587, 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 42600, 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 42612, 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 42624, app/assets/stylesheets/application.scss */
.create-excel-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 42629, 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 42642, app/assets/stylesheets/application.scss */
.create-excel-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
}

/* line 42650, app/assets/stylesheets/application.scss */
.create-excel-footer-spacer {
  flex: 1;
}

/* line 42654, app/assets/stylesheets/application.scss */
.create-excel-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 42660, 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 42671, app/assets/stylesheets/application.scss */
.create-excel-drive-picker.hidden,
.create-excel-drive-picker[hidden] {
  display: none !important;
}

/* line 42676, 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 42686, 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 42694, app/assets/stylesheets/application.scss */
.create-excel-drive-list {
  overflow-y: auto;
  padding: 6px;
}

/* line 42699, app/assets/stylesheets/application.scss */
.create-excel-drive-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

/* line 42713, app/assets/stylesheets/application.scss */
.create-excel-drive-item:hover {
  background: #f1f3f4;
}

/* line 42717, 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 42729, app/assets/stylesheets/application.scss */
  .pdf-tools {
    position: fixed;
    z-index: 80;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* line 42737, app/assets/stylesheets/application.scss */
.pdf-tools.hidden,
.pdf-tools[hidden] {
  display: none !important;
}

/* line 42742, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy {
  cursor: progress;
}

/* line 42746, app/assets/stylesheets/application.scss */
.pdf-tools.is-busy .pdf-tools-btn.is-primary {
  opacity: 0.7;
  pointer-events: none;
}

/* line 42751, app/assets/stylesheets/application.scss */
.pdf-tools-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 42759, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* line 42766, app/assets/stylesheets/application.scss */
.pdf-tools-panel-nav .pdf-tools-segment {
  flex: 1;
  min-width: 0;
}

/* line 42771, 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 42785, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:hover:not(:disabled) {
  background: #f1f3f4;
}

/* line 42789, app/assets/stylesheets/application.scss */
.pdf-tools-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 42794, app/assets/stylesheets/application.scss */
.pdf-tools-panel {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 42800, app/assets/stylesheets/application.scss */
.pdf-tools-panel.hidden,
.pdf-tools-panel[hidden] {
  display: none !important;
}

/* line 42805, 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 42814, app/assets/stylesheets/application.scss */
.pdf-tools-hero {
  margin-bottom: 8px;
}

/* line 42818, 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 42831, app/assets/stylesheets/application.scss */
.pdf-tools-badge {
  width: 52px;
  height: 52px;
  font-size: 15px;
  margin-bottom: 14px;
}

/* line 42838, app/assets/stylesheets/application.scss */
.pdf-tools-badge-mini {
  width: 28px;
  height: 28px;
  font-size: 9px;
  border-radius: 6px;
  flex: 0 0 auto;
}

/* line 42846, app/assets/stylesheets/application.scss */
.pdf-tools-hero h3 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* line 42853, app/assets/stylesheets/application.scss */
.pdf-tools-hero p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.45;
  max-width: 42ch;
}

/* line 42861, 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 42876, app/assets/stylesheets/application.scss */
.pdf-tools-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 64, 67, 0.12);
}

/* line 42881, 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 42893, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-create {
  background: linear-gradient(145deg, #4285f4, #1a73e8);
}

/* line 42897, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-edit {
  background: linear-gradient(145deg, #fb8c00, #ef6c00);
}

/* line 42901, app/assets/stylesheets/application.scss */
.pdf-tools-card-icon.is-organize {
  background: linear-gradient(145deg, #8e24aa, #6a1b9a);
}

/* line 42905, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

/* line 42913, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 42918, app/assets/stylesheets/application.scss */
.pdf-tools-card-copy span {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.35;
}

/* line 42924, app/assets/stylesheets/application.scss */
.pdf-tools-card-chevron {
  color: #b0b3b8;
  font-size: 12px;
}

/* line 42929, 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 42939, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 42947, app/assets/stylesheets/application.scss */
.pdf-tools-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 42953, 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 42969, app/assets/stylesheets/application.scss */
.pdf-tools-btn:hover:not(:disabled) {
  background: #d2e3fc;
}

/* line 42973, app/assets/stylesheets/application.scss */
.pdf-tools-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 42978, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary {
  background: #1a73e8;
  color: #fff;
}

/* line 42983, app/assets/stylesheets/application.scss */
.pdf-tools-btn.is-primary:hover:not(:disabled) {
  background: #1765cc;
}

/* line 42987, app/assets/stylesheets/application.scss */
.pdf-tools-btn-block {
  width: 100%;
}

/* line 42991, app/assets/stylesheets/application.scss */
.pdf-tools-name-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 42997, app/assets/stylesheets/application.scss */
.pdf-tools-name-row label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 43003, 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 43015, 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 43022, 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 43034, app/assets/stylesheets/application.scss */
.pdf-tools-empty i {
  font-size: 42px;
  color: #b0b3b8;
  margin-bottom: 4px;
}

/* line 43040, app/assets/stylesheets/application.scss */
.pdf-tools-empty strong {
  font-size: 20px;
  color: #202124;
}

/* line 43045, app/assets/stylesheets/application.scss */
.pdf-tools-empty p {
  margin: 0 0 8px;
  max-width: 36ch;
  line-height: 1.45;
  font-size: 14px;
}

/* line 43052, 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 43060, 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 43067, 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 43076, app/assets/stylesheets/application.scss */
.pdf-tools-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

/* line 43082, 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 43095, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-dragging {
  opacity: 0.45;
}

/* line 43099, 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 43109, 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 43120, app/assets/stylesheets/application.scss */
.pdf-tools-page-num {
  font-size: 28px;
  font-weight: 750;
  color: #202124;
}

/* line 43126, app/assets/stylesheets/application.scss */
.pdf-tools-page-card > span {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
}

/* line 43132, 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 43150, 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 43157, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-selected .pdf-tools-check {
  color: #1a73e8;
}

/* line 43161, app/assets/stylesheets/application.scss */
.pdf-tools-page-card.is-add {
  cursor: pointer;
}

/* line 43165, 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 43180, app/assets/stylesheets/application.scss */
.pdf-tools-add-inner i {
  font-size: 28px;
}

/* line 43184, app/assets/stylesheets/application.scss */
.pdf-tools-edit-reading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 420px;
}

/* line 43191, 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 43200, 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 43210, 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 43219, 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 43231, 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 43237, 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 43247, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 43255, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 43262, app/assets/stylesheets/application.scss */
.pdf-tools-file-meta span {
  font-size: 12px;
  color: #80868b;
}

/* line 43267, app/assets/stylesheets/application.scss */
.pdf-tools-file-actions {
  display: flex;
  gap: 2px;
}

/* line 43272, 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 43283, app/assets/stylesheets/application.scss */
.pdf-tools-modal.hidden,
.pdf-tools-modal[hidden] {
  display: none !important;
}

/* line 43288, 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 43299, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-sm {
  width: min(380px, 100%);
}

/* line 43303, app/assets/stylesheets/application.scss */
.pdf-tools-modal-card-output {
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
}

/* line 43308, 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 43317, app/assets/stylesheets/application.scss */
.pdf-tools-output-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  background: #fff;
}

/* line 43326, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 43333, app/assets/stylesheets/application.scss */
.pdf-tools-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

/* line 43339, app/assets/stylesheets/application.scss */
.pdf-tools-output-icon {
  width: 58px;
  height: 58px;
  font-size: 16px;
  margin: 8px auto 0;
}

/* line 43346, app/assets/stylesheets/application.scss */
.pdf-tools-output-name {
  text-align: center;
  font-weight: 650;
  margin: 0 0 6px;
  word-break: break-word;
}

/* line 43353, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-message {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
}

/* line 43359, app/assets/stylesheets/application.scss */
.pdf-tools-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* line 43366, 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 43382, app/assets/stylesheets/application.scss */
.pdf-tools-toast.hidden,
.pdf-tools-toast[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  /* line 43388, app/assets/stylesheets/application.scss */
  .pdf-tools-modal {
    align-items: center;
  }
}

@media (max-width: 640px) {
  /* line 43394, app/assets/stylesheets/application.scss */
  .pdf-tools-home {
    padding: 18px 14px 28px;
  }
  /* line 43398, app/assets/stylesheets/application.scss */
  .pdf-tools-hero h3 {
    font-size: 24px;
  }
  /* line 43402, app/assets/stylesheets/application.scss */
  .pdf-tools-workflow {
    padding: 12px 12px 28px;
  }
  /* line 43406, app/assets/stylesheets/application.scss */
  .pdf-tools-preview-frame {
    min-height: 360px;
    height: 48vh;
  }
  /* line 43411, app/assets/stylesheets/application.scss */
  .pdf-tools-toolbar-left {
    width: 100%;
  }
  /* line 43415, app/assets/stylesheets/application.scss */
  .pdf-tools-btn {
    flex: 1 1 auto;
  }
}

/* line 43420, app/assets/stylesheets/application.scss */
.pdf-tools-scanner {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  background: #0f1115;
  color: #fff;
}

/* line 43429, app/assets/stylesheets/application.scss */
.pdf-tools-scanner.hidden,
.pdf-tools-scanner[hidden] {
  display: none !important;
}

/* line 43434, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* line 43442, 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 43451, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 43459, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap strong {
  font-size: 15px;
  font-weight: 700;
}

/* line 43464, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-title-wrap span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* line 43469, 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 43475, 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 43480, 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 43491, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* line 43498, 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 43507, 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 43516, 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 43524, 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 43532, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

/* line 43540, 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 43549, 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 43563, 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 43572, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumbs[hidden] {
  display: none !important;
}

/* line 43576, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
}

/* line 43582, 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 43591, 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 43608, 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 43618, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-footer .pdf-tools-btn {
  justify-self: start;
}

/* line 43622, 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 43635, 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 43646, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

/* line 43654, app/assets/stylesheets/application.scss */
.pdf-tools-scanner-shutter:active span {
  transform: scale(0.92);
  background: #e8f0fe;
}

@media (max-width: 900px) {
  /* line 43660, app/assets/stylesheets/application.scss */
  .pdf-tools-scanner {
    position: fixed;
    z-index: 90;
  }
}

/* line 43666, app/assets/stylesheets/application.scss */
body.pdf-tools-open .perk-workspace-center {
  position: relative;
}

/* —— AI Tutor (web) —— */
/* line 43671, app/assets/stylesheets/application.scss */
.ai-tutor {
  /* Apple hybrid tokens (inherits chrome accent) */
  --tutor-accent: #007aff;
  --tutor-accent-deep: #0066d6;
  --tutor-accent-soft: rgba(0, 122, 255, 0.12);
  --tutor-ink: #1d1d1f;
  --tutor-muted: #6e6e73;
  --tutor-line: rgba(60, 60, 67, 0.12);
  --tutor-surface: #FFFFFF;
  --tutor-wash: #f5f5f7;
  --tutor-outgoing: #007aff;
  --tutor-shadow: var(--perk-shadow-sm);
  --tutor-shadow-md: 0 8px 24px rgba(0, 122, 255, 0.16);
  --tutor-ease: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --tutor-gradient: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
  --tutor-radius: 16px;
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  background: radial-gradient(ellipse 58% 44% at 92% -4%, rgba(168, 152, 255, 0.32), transparent 62%), radial-gradient(ellipse 48% 38% at 4% 100%, rgba(140, 180, 255, 0.24), transparent 58%), radial-gradient(ellipse 40% 30% at 50% 40%, rgba(0, 122, 255, 0.05), transparent 70%), linear-gradient(180deg, #F7F6FF 0%, var(--tutor-wash) 46%, #F5F7FC 100%);
  color: var(--tutor-ink);
  color-scheme: light;
  height: 100%;
  min-height: calc(100vh - 80px);
}

/* line 43702, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open {
  background: radial-gradient(ellipse 50% 36% at 100% 0%, rgba(168, 152, 255, 0.14), transparent 60%), linear-gradient(180deg, #FBFBFF 0%, var(--tutor-wash) 100%);
}

/* line 43708, app/assets/stylesheets/application.scss */
.ai-tutor.hidden,
.ai-tutor[hidden] {
  display: none !important;
}

/* line 43713, app/assets/stylesheets/application.scss */
.ai-tutor-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

/* line 43721, app/assets/stylesheets/application.scss */
.ai-tutor-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 10px;
  background: transparent;
  border-bottom: 0;
  flex: 0 0 auto;
  min-height: 56px;
}

/* line 43732, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--tutor-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* line 43739, app/assets/stylesheets/application.scss */
.ai-tutor-title-wrap {
  flex: 1;
  min-width: 0;
}

/* line 43744, app/assets/stylesheets/application.scss */
.ai-tutor-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tutor-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 43755, app/assets/stylesheets/application.scss */
.ai-tutor-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--tutor-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 43765, app/assets/stylesheets/application.scss */
.ai-tutor-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 43777, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--tutor-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background var(--tutor-ease), color var(--tutor-ease), box-shadow var(--tutor-ease), transform var(--tutor-ease);
}

/* line 43792, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn:hover {
  background: var(--tutor-accent-soft);
  color: var(--tutor-accent-deep);
}

/* line 43797, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn.ai-tutor-back-btn {
  background: var(--tutor-surface);
  color: var(--tutor-ink);
  border: 1px solid var(--tutor-line);
  box-shadow: var(--tutor-shadow);
}

/* line 43804, app/assets/stylesheets/application.scss */
.ai-tutor-icon-btn.ai-tutor-back-btn:hover {
  background: var(--tutor-surface);
  color: var(--tutor-accent-deep);
  box-shadow: var(--tutor-shadow-md);
}

/* line 43810, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--tutor-line);
  background: var(--tutor-surface);
  color: var(--tutor-ink);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--tutor-shadow);
  transition: background var(--tutor-ease), border-color var(--tutor-ease), box-shadow var(--tutor-ease), color var(--tutor-ease);
}

/* line 43827, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn:hover {
  background: var(--tutor-surface);
  border-color: rgba(0, 122, 255, 0.28);
  color: var(--tutor-accent-deep);
  box-shadow: var(--tutor-shadow-md);
}

/* line 43834, app/assets/stylesheets/application.scss */
.ai-tutor-top-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* line 43842, app/assets/stylesheets/application.scss */
.ai-tutor-top-search {
  display: flex;
  align-items: center;
  height: 36px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.08);
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
  overflow: hidden;
}

/* line 43854, app/assets/stylesheets/application.scss */
.ai-tutor-top-search-input {
  width: 0;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #202124;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  transition: width 0.18s ease, opacity 0.18s ease, padding 0.18s ease;
}

/* line 43871, app/assets/stylesheets/application.scss */
.ai-tutor-top-search.is-open .ai-tutor-top-search-input {
  width: min(220px, 34vw);
  padding: 0 2px 0 14px;
  opacity: 1;
  pointer-events: auto;
}

/* line 43878, app/assets/stylesheets/application.scss */
.ai-tutor-top-search-input::placeholder {
  color: #9aa0a6;
}

/* line 43882, app/assets/stylesheets/application.scss */
.ai-tutor-search-btn {
  width: 34px;
  height: 34px;
  color: #202124;
}

/* line 43888, app/assets/stylesheets/application.scss */
.ai-tutor-top-search:hover,
.ai-tutor-top-search.is-open {
  border-color: rgba(23, 25, 29, 0.12);
  box-shadow: 0 2px 8px rgba(23, 25, 29, 0.08);
}

/* line 43894, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn.ai-tutor-browse-only {
  color: #202124;
  font-weight: 550;
}

/* line 43899, app/assets/stylesheets/application.scss */
.ai-tutor-text-btn.is-danger {
  color: var(--perk-ink);
  border-color: #f6aea9;
  background: #fff;
}

/* line 43905, app/assets/stylesheets/application.scss */
.ai-tutor-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--tutor-gradient);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.28);
  transition: filter var(--tutor-ease), box-shadow var(--tutor-ease), transform var(--tutor-ease);
}

/* line 43921, app/assets/stylesheets/application.scss */
.ai-tutor-primary-btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.34);
}

/* line 43926, app/assets/stylesheets/application.scss */
.ai-tutor-chat-only {
  display: none;
}

/* line 43930, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-chat-only {
  display: inline-flex;
}

/* line 43934, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-title-wrap {
  flex: 0 1 auto;
  max-width: min(240px, 28vw);
}

/* line 43939, app/assets/stylesheets/application.scss */
.ai-tutor-layout {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

/* line 43946, app/assets/stylesheets/application.scss */
.ai-tutor-browse {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: transparent;
}

/* line 43956, app/assets/stylesheets/application.scss */
.ai-tutor-browse.hidden,
.ai-tutor-browse[hidden] {
  display: none !important;
}

/* line 43961, app/assets/stylesheets/application.scss */
.ai-tutor-browse-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 22px 6px;
  flex: 0 0 auto;
}

/* line 43969, app/assets/stylesheets/application.scss */
.ai-tutor-browse-hero-copy {
  max-width: 42rem;
}

/* line 43973, app/assets/stylesheets/application.scss */
.ai-tutor-browse-heading {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--tutor-ink);
  line-height: 1.15;
}

/* line 43982, app/assets/stylesheets/application.scss */
.ai-tutor-browse-hint {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--tutor-muted);
  max-width: 36rem;
}

/* line 43991, app/assets/stylesheets/application.scss */
.ai-tutor-subject-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
  padding: 14px 18px 110px;
}

@media (min-width: 560px) {
  /* line 44003, app/assets/stylesheets/application.scss */
  .ai-tutor-subject-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 22px 120px;
  }
}

@media (min-width: 900px) {
  /* line 44011, app/assets/stylesheets/application.scss */
  .ai-tutor-subject-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  /* line 44017, app/assets/stylesheets/application.scss */
  .ai-tutor-subject-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* line 44022, app/assets/stylesheets/application.scss */
.ai-tutor-subject-list.hidden,
.ai-tutor-subject-list[hidden] {
  display: none !important;
}

/* line 44027, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card {
  --tutor-accent: #2e73d9;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--tutor-accent) 10%, transparent);
  background: linear-gradient(155deg, color-mix(in srgb, var(--tutor-accent) 18%, #ffffff) 0%, color-mix(in srgb, var(--tutor-accent) 7%, #fbfcff) 48%, #ffffff 100%);
  box-shadow: 0 10px 28px rgba(23, 25, 29, 0.05);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* line 44047, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(23, 25, 29, 0.08);
}

/* line 44052, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 1 1 auto;
  width: 100%;
  min-height: 168px;
  padding: 18px 18px 52px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

/* line 44068, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-icon,
.ai-tutor-subject-card-photo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

/* line 44080, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-icon {
  background: var(--tutor-accent);
  color: #fff;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--tutor-accent) 28%, transparent);
}

/* line 44086, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-icon .heroicon,
.ai-tutor-subject-card-icon .ai-tutor-subject-card-glyph,
.ai-tutor-subject-card-icon > i {
  color: #fff;
  stroke: #fff;
}

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

/* line 44100, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  width: 100%;
  padding-right: 8px;
}

/* line 44109, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #17191d;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 44121, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-text span {
  font-size: 12px;
  font-weight: 500;
  color: #8a9199;
  line-height: 1.2;
}

/* line 44128, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #3b82f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(23, 25, 29, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

/* line 44146, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-go:hover {
  transform: translateX(2px);
  color: #2563eb;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

/* line 44152, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-more {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #5f6368;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}

/* line 44170, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card:hover .ai-tutor-subject-card-more,
.ai-tutor-subject-card-more:focus-visible {
  opacity: 1;
}

/* line 44175, app/assets/stylesheets/application.scss */
.ai-tutor-subject-card-more:hover {
  background: #fff;
  color: #17191d;
}

/* line 44180, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-browse-only {
  display: none !important;
}

/* line 44184, app/assets/stylesheets/application.scss */
.ai-tutor-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 44196, 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-height: 0;
}

/* line 44212, 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 44219, app/assets/stylesheets/application.scss */
.ai-tutor-fab.is-filled:hover {
  background: #0f1114;
}

/* line 44223, app/assets/stylesheets/application.scss */
.ai-tutor-quick-add {
  padding: 10px 22px 22px;
  border-top: 1px solid rgba(23, 25, 29, 0.05);
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.45);
}

/* line 44230, app/assets/stylesheets/application.scss */
.ai-tutor-quick-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #80868b;
  margin-bottom: 8px;
}

/* line 44238, app/assets/stylesheets/application.scss */
.ai-tutor-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 44244, app/assets/stylesheets/application.scss */
.ai-tutor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--tutor-line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tutor-ink);
  cursor: pointer;
  box-shadow: var(--tutor-shadow);
  transition: background var(--tutor-ease), border-color var(--tutor-ease), box-shadow var(--tutor-ease), color var(--tutor-ease);
}

/* line 44260, 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 44272, app/assets/stylesheets/application.scss */
.ai-tutor-chip-glyph .heroicon,
.ai-tutor-chip-glyph > i {
  color: #fff;
  stroke: #fff;
}

/* line 44278, app/assets/stylesheets/application.scss */
.ai-tutor-chip:hover {
  background: var(--tutor-accent-soft);
  border-color: rgba(0, 122, 255, 0.28);
  color: var(--tutor-accent-deep);
  box-shadow: var(--tutor-shadow-md);
}

/* line 44285, app/assets/stylesheets/application.scss */
.ai-tutor-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex: 1;
  background: transparent;
}

/* line 44295, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-main {
  background: #fff;
}

/* line 44299, 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 44310, app/assets/stylesheets/application.scss */
.ai-tutor-empty.hidden,
.ai-tutor-empty[hidden] {
  display: none !important;
}

/* line 44315, 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 44327, app/assets/stylesheets/application.scss */
.ai-tutor-empty-icon .ai-tutor-subject-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

/* line 44333, app/assets/stylesheets/application.scss */
.ai-tutor-empty strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* line 44338, app/assets/stylesheets/application.scss */
.ai-tutor-empty p {
  margin: 0 0 12px;
  color: #5f6368;
  line-height: 1.5;
  font-size: 14px;
}

/* line 44345, app/assets/stylesheets/application.scss */
.ai-tutor-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  flex: 1;
}

/* line 44353, app/assets/stylesheets/application.scss */
.ai-tutor-chat.hidden,
.ai-tutor-chat[hidden] {
  display: none !important;
}

/* line 44358, 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 44367, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head {
  display: none;
}

/* line 44371, app/assets/stylesheets/application.scss */
.ai-tutor-chat-head-text {
  display: none;
}

/* line 44375, app/assets/stylesheets/application.scss */
.ai-tutor-chat-actions {
  display: none;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 12px;
  background: rgba(91, 106, 191, 0.05);
}

/* line 44385, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-chat-actions {
  display: inline-flex;
}

/* line 44389, app/assets/stylesheets/application.scss */
.ai-tutor-modes {
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 4px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--tutor-line);
  border-radius: 999px;
  box-shadow: var(--tutor-shadow);
  flex: 0 0 auto;
}

/* line 44404, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-modes {
  display: inline-flex;
}

/* line 44408, app/assets/stylesheets/application.scss */
.ai-tutor-mode {
  border: 0;
  background: transparent;
  color: var(--tutor-muted);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--tutor-ease), color var(--tutor-ease), box-shadow var(--tutor-ease);
}

/* line 44421, app/assets/stylesheets/application.scss */
.ai-tutor-mode:hover {
  color: var(--tutor-accent-deep);
  background: var(--tutor-accent-soft);
}

/* line 44426, app/assets/stylesheets/application.scss */
.ai-tutor-mode.is-active {
  background: var(--tutor-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.32);
}

/* line 44432, app/assets/stylesheets/application.scss */
.ai-tutor-workspace {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

/* line 44441, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(340px, 92%);
  z-index: 8;
  min-height: 0;
  overflow: auto;
  background: radial-gradient(240px 140px at 0% 0%, rgba(0, 122, 255, 0.1), transparent 60%), rgba(255, 255, 255, 0.96);
  padding: 14px 14px 18px;
  box-shadow: var(--tutor-shadow-md);
  border-right: 1px solid var(--tutor-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* line 44461, app/assets/stylesheets/application.scss */
.ai-tutor-lecture-pane > .ai-tutor-text-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

/* line 44467, app/assets/stylesheets/application.scss */
.ai-tutor.is-lecture-open .ai-tutor-lecture-pane,
.ai-tutor-lecture-pane.is-open {
  display: block;
}

/* line 44472, app/assets/stylesheets/application.scss */
.ai-tutor-side-panel {
  display: none;
  flex: 0 0 320px;
  width: 320px;
  max-width: 36vw;
  min-width: 280px;
  min-height: 0;
  overflow: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(250, 251, 255, 0.92) 100%);
  border-left: 1px solid var(--tutor-line);
  padding: 14px 14px 22px;
  scrollbar-width: thin;
}

/* line 44487, app/assets/stylesheets/application.scss */
.ai-tutor.is-subject-open .ai-tutor-side-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 44493, app/assets/stylesheets/application.scss */
.ai-tutor-side-mobile-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 44500, app/assets/stylesheets/application.scss */
.ai-tutor-side-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(220px 120px at 0% 0%, rgba(0, 122, 255, 0.08), transparent 60%), var(--tutor-surface);
  border: 1px solid rgba(0, 122, 255, 0.08);
  border-radius: var(--tutor-radius);
  padding: 14px;
  box-shadow: var(--tutor-shadow);
}

/* line 44513, app/assets/stylesheets/application.scss */
.ai-tutor-side-section.is-tools {
  gap: 14px;
}

/* line 44517, app/assets/stylesheets/application.scss */
.ai-tutor-side-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 44524, app/assets/stylesheets/application.scss */
.ai-tutor-side-title {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
  color: var(--tutor-ink);
  letter-spacing: -0.02em;
}

/* line 44532, app/assets/stylesheets/application.scss */
.ai-tutor-side-link {
  border: 0;
  background: var(--tutor-accent-soft);
  color: var(--tutor-accent-deep);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 999px;
  transition: background var(--tutor-ease), color var(--tutor-ease);
}

/* line 44544, app/assets/stylesheets/application.scss */
.ai-tutor-side-link:hover {
  background: rgba(0, 122, 255, 0.18);
  text-decoration: none;
}

/* line 44549, app/assets/stylesheets/application.scss */
.ai-tutor-tools-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 44555, app/assets/stylesheets/application.scss */
.ai-tutor-tools-group-label {
  margin: 0;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tutor-muted);
}

/* line 44564, app/assets/stylesheets/application.scss */
.ai-tutor-tools-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* line 44570, app/assets/stylesheets/application.scss */
.ai-tutor-tools-apps,
.ai-tutor-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 44577, app/assets/stylesheets/application.scss */
.ai-tutor-tools-apps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* line 44581, app/assets/stylesheets/application.scss */
.ai-tutor-tools-apps .ai-tutor-tool.is-app:nth-child(4),
.ai-tutor-tools-apps .ai-tutor-tool.is-app:nth-child(5) {
  grid-column: span 1;
}

/* line 44586, app/assets/stylesheets/application.scss */
.ai-tutor-tool {
  --tool-tint: var(--tutor-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 74px;
  padding: 10px 6px 8px;
  border: 1px solid var(--tutor-line);
  border-radius: 14px;
  background: rgba(250, 251, 255, 0.9);
  color: var(--tutor-ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background var(--tutor-ease), border-color var(--tutor-ease), transform 0.12s ease, box-shadow var(--tutor-ease);
}

/* line 44607, app/assets/stylesheets/application.scss */
.ai-tutor-tool.is-primary {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  min-height: 0;
  padding: 11px 12px;
  text-align: left;
  background: linear-gradient(155deg, color-mix(in srgb, var(--tool-tint) 10%, #fff) 0%, #fff 70%);
  border-color: color-mix(in srgb, var(--tool-tint) 18%, var(--tutor-line));
}

/* Hub-app color language: vivid from→to gradients, white glyph. */
/* line 44621, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="explain"] {
  --tool-tint: #f59e0b;
  --tool-from: #f59e0b;
  --tool-to: #fbbf24;
}

/* line 44626, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="practice"] {
  --tool-tint: #3b82f6;
  --tool-from: #3b82f6;
  --tool-to: #60a5fa;
}

/* line 44631, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="solve"] {
  --tool-tint: #7c5cfc;
  --tool-from: #7c5cfc;
  --tool-to: #a78bfa;
}

/* line 44636, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="check"] {
  --tool-tint: #16a34a;
  --tool-from: #16a34a;
  --tool-to: #4ade80;
}

/* line 44641, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="summarize"] {
  --tool-tint: #b8871c;
  --tool-from: #b8871c;
  --tool-to: #f2c94c;
}

/* line 44646, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="quiz"] {
  --tool-tint: #5b6abf;
  --tool-from: #5b6abf;
  --tool-to: #9e6bd6;
}

/* line 44651, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="flashcards"] {
  --tool-tint: #6d5efc;
  --tool-from: #6d5efc;
  --tool-to: #8b7cff;
}

/* line 44656, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="mindmap"] {
  --tool-tint: #ed6b7a;
  --tool-from: #ed6b7a;
  --tool-to: #f29b59;
}

/* line 44661, app/assets/stylesheets/application.scss */
.ai-tutor-tool[data-tool="notes"] {
  --tool-tint: #f5b400;
  --tool-from: #f5b400;
  --tool-to: #fbbf24;
}

/* line 44667, app/assets/stylesheets/application.scss */
.ai-tutor-tool-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 44674, app/assets/stylesheets/application.scss */
.ai-tutor-tool-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tutor-ink);
  line-height: 1.25;
}

/* line 44683, app/assets/stylesheets/application.scss */
.ai-tutor-tool.is-app .ai-tutor-tool-name {
  font-size: 11px;
  font-weight: 650;
}

/* line 44688, app/assets/stylesheets/application.scss */
.ai-tutor-tool-hint {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--tutor-muted);
  line-height: 1.3;
}

/* line 44696, app/assets/stylesheets/application.scss */
.ai-tutor-tool:hover {
  background: color-mix(in srgb, var(--tool-tint) 7%, #fff);
  border-color: color-mix(in srgb, var(--tool-tint) 26%, var(--tutor-line));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tool-tint) 18%, transparent);
}

/* line 44702, app/assets/stylesheets/application.scss */
.ai-tutor-tool:hover .ai-tutor-tool-icon {
  transform: translateY(-1px) scale(1.04);
  filter: brightness(1.05);
}

/* line 44707, app/assets/stylesheets/application.scss */
.ai-tutor-tool:active {
  transform: scale(0.985);
}

/* line 44711, app/assets/stylesheets/application.scss */
.ai-tutor-tool-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, var(--tool-from, var(--tool-tint, #007aff)), var(--tool-to, var(--tool-tint, #007aff)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 6px 14px color-mix(in srgb, var(--tool-tint, #007aff) 28%, transparent);
  transition: transform var(--tutor-ease), filter var(--tutor-ease), box-shadow var(--tutor-ease);
  -webkit-font-smoothing: antialiased;
}

/* line 44732, app/assets/stylesheets/application.scss */
.ai-tutor-tool.is-primary .ai-tutor-tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

/* line 44738, app/assets/stylesheets/application.scss */
.ai-tutor-tool.is-app .ai-tutor-tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

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

/* line 44755, app/assets/stylesheets/application.scss */
.ai-tutor-tool.is-app .ai-tutor-tool-icon .heroicon,
.ai-tutor-tool.is-app .ai-tutor-tool-icon .hub-app-glyph-icon,
.ai-tutor-tool.is-app .ai-tutor-tool-icon > i {
  width: 20px;
  height: 20px;
}

/* line 44762, app/assets/stylesheets/application.scss */
.ai-tutor-tool-icon > i.fas {
  font-size: 15px;
  line-height: 1;
  color: #fff;
}

/* line 44768, app/assets/stylesheets/application.scss */
.ai-tutor-roadmap-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 44774, app/assets/stylesheets/application.scss */
.ai-tutor-roadmap-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.1);
  overflow: hidden;
}

/* line 44781, app/assets/stylesheets/application.scss */
.ai-tutor-roadmap-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--tutor-gradient);
  box-shadow: 0 0 12px rgba(0, 122, 255, 0.35);
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* line 44789, app/assets/stylesheets/application.scss */
.ai-tutor-roadmap-caption {
  margin: 0;
  font-size: 12px;
  color: var(--tutor-muted);
  line-height: 1.35;
}

/* line 44796, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row.is-done .ai-tutor-concept-check {
  background: #34a853;
  color: #fff;
  border-color: #34a853;
}

/* line 44802, app/assets/stylesheets/application.scss */
.ai-tutor-concept-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #dadce0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 10px;
  color: transparent;
  background: #fff;
}

/* line 44817, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row.is-done .ai-tutor-concept-check::before {
  content: "✓";
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

/* line 44824, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 44832, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 44838, app/assets/stylesheets/application.scss */
.ai-tutor-pane-head strong {
  font-size: 13px;
}

/* line 44842, 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 44851, app/assets/stylesheets/application.scss */
.ai-tutor-notes-label {
  display: block;
  font-weight: 650;
  margin: 12px 0 6px;
}

/* line 44857, 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 44867, app/assets/stylesheets/application.scss */
.ai-tutor-notes-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* line 44873, app/assets/stylesheets/application.scss */
.ai-tutor-material-list,
.ai-tutor-concept-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 44880, app/assets/stylesheets/application.scss */
.ai-tutor-material-list.has-files {
  gap: 0;
  border: 1px solid rgba(23, 25, 29, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.03);
}

/* line 44889, app/assets/stylesheets/application.scss */
.ai-tutor-material-list .ai-tutor-pane-empty {
  margin: 0;
  padding: 2px 0 0;
}

/* line 44894, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(250, 251, 255, 0.95);
  border: 1px solid var(--tutor-line);
  font-size: 13px;
  transition: background var(--tutor-ease), border-color var(--tutor-ease), box-shadow var(--tutor-ease);
}

/* line 44906, app/assets/stylesheets/application.scss */
.ai-tutor-material {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid rgba(23, 25, 29, 0.06);
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background 0.15s ease;
}

/* line 44924, app/assets/stylesheets/application.scss */
.ai-tutor-material:last-child {
  border-bottom: 0;
}

/* line 44928, app/assets/stylesheets/application.scss */
.ai-tutor-material:hover,
.ai-tutor-material:focus-visible {
  background: rgba(91, 106, 191, 0.06);
  outline: 0;
}

/* line 44934, app/assets/stylesheets/application.scss */
.ai-tutor-material-icon,
.ai-tutor-material-thumb {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(91, 106, 191, 0.08);
  color: var(--tutor-file-color, #5f6368);
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.04);
}

/* line 44949, app/assets/stylesheets/application.scss */
.ai-tutor-material-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 44956, app/assets/stylesheets/application.scss */
.ai-tutor-material-text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 44964, app/assets/stylesheets/application.scss */
.ai-tutor-material-name {
  display: block;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  color: #17191d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 44975, app/assets/stylesheets/application.scss */
.ai-tutor-material-meta {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 44987, app/assets/stylesheets/application.scss */
.ai-tutor-material.is-busy .ai-tutor-material-meta {
  color: #5b6abf;
}

/* line 44991, app/assets/stylesheets/application.scss */
.ai-tutor-material-chevron {
  flex: 0 0 auto;
  color: #9aa0a6;
  display: inline-flex;
  opacity: 0.7;
  transition: color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

/* line 44999, app/assets/stylesheets/application.scss */
.ai-tutor-material:hover .ai-tutor-material-chevron,
.ai-tutor-material:focus-visible .ai-tutor-material-chevron {
  color: #5b6abf;
  opacity: 1;
  transform: translateX(1px);
}

/* line 45006, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row strong {
  display: block;
}

/* line 45010, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row.is-current {
  border-color: rgba(0, 122, 255, 0.35);
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(232, 240, 252, 0.7) 100%);
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.12);
}

/* line 45017, app/assets/stylesheets/application.scss */
.ai-tutor-concept-row span {
  color: var(--tutor-muted);
  font-size: 11px;
}

/* line 45022, 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;
  box-shadow: 0 0 0 3px rgba(218, 220, 224, 0.35);
}

/* line 45032, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-introduced {
  background: #fbbc04;
  box-shadow: 0 0 0 3px rgba(251, 188, 4, 0.22);
}

/* line 45033, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-developing {
  background: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.22);
}

/* line 45034, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-proficient {
  background: #34a853;
  box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.22);
}

/* line 45035, app/assets/stylesheets/application.scss */
.ai-tutor-concept-dot.band-mastered {
  background: #0b8043;
  box-shadow: 0 0 0 3px rgba(11, 128, 67, 0.22);
}

/* line 45037, app/assets/stylesheets/application.scss */
.ai-tutor-mastery-total {
  font-size: 12px;
  font-weight: 750;
  color: var(--tutor-accent);
  background: var(--tutor-accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

/* line 45046, app/assets/stylesheets/application.scss */
.ai-tutor-pane-toggle {
  display: inline-flex;
}

/* line 45050, app/assets/stylesheets/application.scss */
.ai-tutor-side-toggle {
  display: none;
}

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

/* line 45065, 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 45073, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-user {
  justify-content: flex-end;
}

/* line 45077, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot {
  justify-content: flex-start;
}

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

/* line 45088, 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 45097, 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 45109, 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 45118, 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 45127, app/assets/stylesheets/application.scss */
.ai-tutor-msg-row.is-bot .ai-tutor-msg {
  max-width: 100%;
}

/* line 45131, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-user {
  align-self: flex-end;
  background: var(--tutor-outgoing);
  color: var(--tutor-ink);
  font-weight: 400;
  border: 1px solid rgba(0, 122, 255, 0.1);
  box-shadow: var(--tutor-shadow);
}

/* line 45140, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-bot {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: var(--tutor-ink);
  padding: 2px 0 4px 2px;
  border-radius: 0;
  box-shadow: none;
}

/* line 45150, app/assets/stylesheets/application.scss */
.ai-tutor .atlas-msg-followups {
  gap: 8px;
  margin-top: 12px;
}

/* line 45155, app/assets/stylesheets/application.scss */
.ai-tutor .atlas-msg-followup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--tutor-line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--tutor-shadow);
  color: var(--tutor-accent-deep);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--tutor-ease), border-color var(--tutor-ease), box-shadow var(--tutor-ease), transform var(--tutor-ease);
}

/* line 45170, app/assets/stylesheets/application.scss */
.ai-tutor .atlas-msg-followup:hover,
.ai-tutor .atlas-msg-followup:focus-visible {
  background: var(--tutor-accent-soft);
  border-color: rgba(0, 122, 255, 0.28);
  box-shadow: var(--tutor-shadow-md);
  transform: translateY(-1px);
}

/* line 45178, app/assets/stylesheets/application.scss */
.ai-tutor .atlas-msg-followup:hover .atlas-msg-followup-label,
.ai-tutor .atlas-msg-followup:focus-visible .atlas-msg-followup-label {
  opacity: 1;
}

/* line 45183, app/assets/stylesheets/application.scss */
.ai-tutor .atlas-msg-followup-mark {
  opacity: 0.7;
  color: var(--tutor-accent);
}

/* line 45188, app/assets/stylesheets/application.scss */
.ai-tutor .atlas-msg-followup-label {
  text-decoration: none;
}

/* line 45192, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-pending {
  opacity: 0.7;
  font-style: italic;
}

/* line 45197, 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 45206, 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 45222, app/assets/stylesheets/application.scss */
.ai-tutor-msg-ai-action:hover,
.ai-tutor-msg-ai-action.is-active {
  color: var(--tutor-accent-deep);
  background: var(--tutor-accent-soft);
}

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

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

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

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

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

/* line 45285, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:first-child {
  margin-top: 0;
}

/* line 45289, app/assets/stylesheets/application.scss */
.ai-tutor-msg-text > *:last-child {
  margin-bottom: 0;
}

/* line 45293, app/assets/stylesheets/application.scss */
.ai-tutor-msg-image {
  display: block;
  max-width: min(240px, 72vw);
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: zoom-in;
  background: #f1f3f4;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* line 45308, app/assets/stylesheets/application.scss */
.ai-tutor-msg-image:hover {
  box-shadow: 0 4px 14px rgba(60, 64, 67, 0.16);
}

/* line 45312, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(280px, 78vw);
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid rgba(91, 106, 191, 0.14);
  border-radius: 14px;
  background: rgba(91, 106, 191, 0.06);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* line 45329, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-user .ai-tutor-msg-file {
  background: #fff;
  border-color: rgba(91, 106, 191, 0.16);
}

/* line 45334, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file:hover {
  background: rgba(91, 106, 191, 0.12);
  border-color: rgba(91, 106, 191, 0.28);
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.1);
}

/* line 45340, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-user .ai-tutor-msg-file:hover {
  background: #fff;
  border-color: rgba(91, 106, 191, 0.3);
}

/* line 45345, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--tutor-file-color, #5f6368);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

/* line 45358, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 45365, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file-name {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 45374, app/assets/stylesheets/application.scss */
.ai-tutor-msg-file-kind {
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  color: #6b7280;
  opacity: 0.92;
}

/* line 45382, app/assets/stylesheets/application.scss */
.ai-tutor-msg.is-user .ai-tutor-msg-file-kind {
  color: #6b7280;
  opacity: 0.92;
}

/* line 45387, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-bar {
  position: relative;
  padding: 0 0 8px;
  display: flex;
  gap: 8px;
}

/* line 45394, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-menu {
  position: absolute;
  left: 0;
  bottom: 44px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 122, 255, 0.1);
  border-radius: 14px;
  box-shadow: var(--tutor-shadow-md);
  padding: 6px;
  z-index: 5;
  min-width: 180px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* line 45409, 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: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--tutor-ink);
  font-weight: 550;
}

/* line 45423, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-menu button:hover {
  background: var(--tutor-accent-soft);
  color: var(--tutor-accent-deep);
}

/* line 45428, 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 45437, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-custom-label {
  font-size: 11px;
  font-weight: 650;
  color: #5f6b7a;
  margin: 4px 6px 0;
}

/* line 45444, 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 45454, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-confirm {
  margin: 4px 6px 2px !important;
  width: calc(100% - 12px) !important;
  text-align: center !important;
  background: var(--tutor-gradient) !important;
  color: #fff !important;
  font-weight: 650;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.28);
}

/* line 45464, app/assets/stylesheets/application.scss */
.ai-tutor-reminder-confirm:hover {
  filter: brightness(1.04);
}

/* line 45468, 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 45480, app/assets/stylesheets/application.scss */
.ai-tutor-attach-preview img {
  height: 56px;
  width: auto;
  border-radius: 8px;
}

/* line 45486, 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 45499, 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 45507, app/assets/stylesheets/application.scss */
.ai-tutor-form {
  padding: 0;
  background: transparent;
}

/* line 45512, app/assets/stylesheets/application.scss */
.ai-tutor-composer {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--tutor-line);
  border-radius: 24px;
  padding: 6px 6px 6px 8px;
  box-shadow: var(--tutor-shadow), 0 12px 28px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--tutor-ease), box-shadow var(--tutor-ease);
}

/* line 45528, app/assets/stylesheets/application.scss */
.ai-tutor-composer:focus-within {
  border-color: rgba(0, 122, 255, 0.35);
  box-shadow: var(--tutor-shadow-md), 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* line 45535, 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;
  color: var(--tutor-ink);
}

/* line 45546, app/assets/stylesheets/application.scss */
.ai-tutor-composer input::placeholder {
  color: var(--tutor-muted);
}

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

/* line 45557, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn {
  background: transparent;
  color: #5f6368;
}

/* line 45562, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn:hover {
  background: #f1f3f4;
  color: #3c4043;
}

/* line 45567, app/assets/stylesheets/application.scss */
.ai-tutor-mic-btn.is-recording {
  background: rgba(23, 25, 29, 0.08);
  color: var(--perk-ink);
}

/* line 45572, app/assets/stylesheets/application.scss */
.ai-tutor-send-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--tutor-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
  transition: filter var(--tutor-ease), box-shadow var(--tutor-ease), transform var(--tutor-ease);
}

/* line 45587, app/assets/stylesheets/application.scss */
.ai-tutor-send-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.42);
}

/* line 45592, 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 45605, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-composer {
  display: none;
}

/* line 45609, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-recording .ai-tutor-recording {
  display: flex;
}

/* line 45613, app/assets/stylesheets/application.scss */
.ai-tutor-recording.hidden {
  display: none !important;
}

/* line 45617, 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 45631, 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 45642, 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 45651, app/assets/stylesheets/application.scss */
.ai-tutor-form.is-transcribing {
  opacity: 0.85;
  pointer-events: none;
}

/* line 45656, 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 45670, app/assets/stylesheets/application.scss */
.ai-tutor-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0, 122, 255, 0.18);
  border-top-color: var(--tutor-accent);
  border-radius: 50%;
  animation: ai-tutor-spin 0.8s linear infinite;
}

@keyframes ai-tutor-spin {
  to {
    transform: rotate(360deg);
  }
}

/* line 45683, 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 45699, 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 45707, app/assets/stylesheets/application.scss */
.ai-tutor-history-list {
  overflow-y: auto;
  padding: 8px;
}

/* line 45712, 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 45725, app/assets/stylesheets/application.scss */
.ai-tutor-history-item:hover,
.ai-tutor-history-item.is-active {
  background: #e8f0fe;
}

/* line 45730, app/assets/stylesheets/application.scss */
.ai-tutor-history-item strong {
  font-size: 13px;
  font-weight: 300;
}

/* line 45735, app/assets/stylesheets/application.scss */
.ai-tutor-history-item span {
  font-size: 11px;
  color: #80868b;
}

/* line 45740, app/assets/stylesheets/application.scss */
.ai-tutor-muted {
  color: #80868b;
  font-size: 13px;
  padding: 12px;
  margin: 0;
}

/* line 45747, 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 45758, 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 45766, app/assets/stylesheets/application.scss */
.ai-tutor-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* line 45773, 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 45783, 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 45792, app/assets/stylesheets/application.scss */
.ai-tutor-field input:focus {
  outline: none;
  border-color: rgba(23, 25, 29, 0.2);
  box-shadow: none;
}

/* line 45798, app/assets/stylesheets/application.scss */
.ai-tutor-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

/* line 45804, 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 45818, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option .heroicon,
.ai-tutor-icon-option > i {
  color: #fff;
  stroke: #fff;
}

/* line 45824, app/assets/stylesheets/application.scss */
.ai-tutor-icon-option:hover {
  filter: brightness(1.06);
}

/* line 45828, 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 45835, app/assets/stylesheets/application.scss */
.ai-tutor-editor-error {
  color: var(--perk-ink);
  font-size: 13px;
  margin: 0 0 10px;
}

/* line 45841, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

/* line 45849, app/assets/stylesheets/application.scss */
.ai-tutor-editor-actions-right {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* line 45855, app/assets/stylesheets/application.scss */
body.ai-tutor-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 1100px) {
  /* line 45860, app/assets/stylesheets/application.scss */
  .ai-tutor-side-panel {
    flex-basis: 290px;
    width: 290px;
    min-width: 260px;
    max-width: 42vw;
  }
  /* line 45867, app/assets/stylesheets/application.scss */
  .ai-tutor-tools-primary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  /* line 45873, app/assets/stylesheets/application.scss */
  .ai-tutor-subtitle,
.ai-tutor-topbar .ai-tutor-text-btn span {
    display: none;
  }
  /* line 45878, app/assets/stylesheets/application.scss */
  .ai-tutor.is-subject-open .ai-tutor-title-wrap {
    max-width: min(160px, 32vw);
  }
  /* line 45882, app/assets/stylesheets/application.scss */
  .ai-tutor-modes {
    margin-left: auto;
    margin-right: 2px;
  }
  /* line 45887, app/assets/stylesheets/application.scss */
  .ai-tutor-mode {
    padding: 6px 10px;
    font-size: 12px;
  }
  /* line 45892, app/assets/stylesheets/application.scss */
  .ai-tutor-chat-actions .ai-tutor-icon-btn:nth-child(n + 4) {
    display: none;
  }
  /* line 45896, app/assets/stylesheets/application.scss */
  .ai-tutor-side-toggle {
    display: inline-flex;
  }
  /* line 45900, app/assets/stylesheets/application.scss */
  .ai-tutor.is-subject-open .ai-tutor-side-panel {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 94%);
    max-width: none;
    min-width: 0;
    z-index: 9;
    box-shadow: var(--tutor-shadow-md);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  /* line 45916, app/assets/stylesheets/application.scss */
  .ai-tutor.is-subject-open.is-side-open .ai-tutor-side-panel,
.ai-tutor-side-panel.is-open {
    display: flex;
  }
  /* line 45921, app/assets/stylesheets/application.scss */
  .ai-tutor-side-mobile-head {
    display: flex;
  }
}

@media (max-width: 640px) {
  /* line 45927, app/assets/stylesheets/application.scss */
  .ai-tutor-topbar {
    padding: 8px 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
  /* line 45933, app/assets/stylesheets/application.scss */
  .ai-tutor.is-subject-open .ai-tutor-title-wrap {
    flex: 1 1 auto;
    max-width: none;
  }
  /* line 45938, app/assets/stylesheets/application.scss */
  .ai-tutor.is-subject-open .ai-tutor-modes {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: stretch;
  }
  /* line 45945, app/assets/stylesheets/application.scss */
  .ai-tutor.is-subject-open .ai-tutor-mode {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
  }
  /* line 45951, app/assets/stylesheets/application.scss */
  .ai-tutor.is-subject-open .ai-tutor-chat-actions {
    margin-left: auto;
  }
  /* line 45955, app/assets/stylesheets/application.scss */
  .ai-tutor-messages {
    padding: 14px var(--hub-ai-chat-gutter) calc(132px + env(safe-area-inset-bottom, 0px));
  }
  /* line 45959, app/assets/stylesheets/application.scss */
  .ai-tutor-composer-dock {
    padding: 12px var(--hub-ai-chat-gutter) 0;
  }
  /* line 45963, app/assets/stylesheets/application.scss */
  .ai-tutor-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— File share modal (iOS Send-to look) —— */
/* line 45969, 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 45982, app/assets/stylesheets/application.scss */
.file-share-modal.hidden,
.file-share-modal[hidden] {
  display: none;
}

/* line 45987, 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 45999, 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 46008, app/assets/stylesheets/application.scss */
.file-share-head h3 {
  margin: 0;
  text-align: center;
  color: #111;
  font-size: 17px;
  font-weight: 700;
}

/* line 46016, 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 46028, app/assets/stylesheets/application.scss */
.file-share-done:hover {
  opacity: 0.75;
}

/* line 46032, app/assets/stylesheets/application.scss */
.file-share-head-spacer {
  justify-self: end;
  width: 1px;
  height: 1px;
}

/* line 46038, 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 46046, app/assets/stylesheets/application.scss */
.file-share-file-name:not([hidden]) {
  display: block;
}

/* line 46050, 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 46062, app/assets/stylesheets/application.scss */
.file-share-search i {
  color: #8e8e93;
  font-size: 14px;
}

/* line 46067, 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 46078, app/assets/stylesheets/application.scss */
.file-share-search input::placeholder {
  color: #8e8e93;
}

/* line 46082, 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 46093, app/assets/stylesheets/application.scss */
.file-share-empty {
  padding: 36px 16px;
  color: #8e8e93;
  font-size: 14px;
  text-align: center;
}

/* line 46100, 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 46113, app/assets/stylesheets/application.scss */
.file-share-person:last-child {
  border-bottom: 0;
}

/* line 46117, 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 46131, app/assets/stylesheets/application.scss */
.file-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* line 46138, app/assets/stylesheets/application.scss */
.file-share-person-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 46146, 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 46155, 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 46168, app/assets/stylesheets/application.scss */
.file-share-send:hover:not(:disabled) {
  background: #0073e0;
}

/* line 46172, app/assets/stylesheets/application.scss */
.file-share-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* line 46177, 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 46186, 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 46203, app/assets/stylesheets/application.scss */
.file-share-channel:hover {
  background: #f6f7f8;
}

/* line 46207, 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 46218, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-facebook {
  background: #1877f2;
}

/* line 46222, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-whatsapp {
  background: #25d366;
  border-radius: 50%;
}

/* line 46227, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-x {
  background: #111;
}

/* line 46231, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-email {
  background: #6b7280;
}

/* line 46235, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-copy {
  background: #111;
}

/* line 46239, app/assets/stylesheets/application.scss */
.file-share-channel-icon.is-apps {
  background: #2563eb;
}

/* line 46243, app/assets/stylesheets/application.scss */
.file-share-status {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 13px;
  color: #4b5563;
}

/* line 46250, app/assets/stylesheets/application.scss */
.file-share-status.is-ok {
  color: #0f766e;
}

/* line 46254, app/assets/stylesheets/application.scss */
.file-share-status.is-error {
  color: var(--perk-ink);
}

@media (min-width: 641px) {
  /* line 46259, app/assets/stylesheets/application.scss */
  .file-share-modal {
    align-items: center;
    padding: 24px;
  }
  /* line 46264, 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 46271, 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 46281, app/assets/stylesheets/application.scss */
.job-seeking.hidden,
.job-seeking[hidden] {
  display: none !important;
}

/* line 46286, app/assets/stylesheets/application.scss */
.job-seeking-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* line 46293, 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 46306, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn:hover {
  background: #e2e8f0;
}

/* line 46310, app/assets/stylesheets/application.scss */
.job-seeking-icon-btn.is-danger {
  color: var(--perk-ink);
}

/* line 46314, 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 46328, app/assets/stylesheets/application.scss */
.job-seeking-text-btn:hover {
  background: #e2e8f0;
}

/* line 46332, 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 46347, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:hover {
  background: #185a75;
}

/* line 46351, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 46356, app/assets/stylesheets/application.scss */
.job-seeking-primary-btn-block {
  width: 100%;
}

/* line 46360, 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 46375, 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 46390, app/assets/stylesheets/application.scss */
.job-seeking-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* line 46397, app/assets/stylesheets/application.scss */
.job-seeking-sidebar {
  border-right: 1px solid #e3e8ee;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 46405, 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 46413, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-head strong {
  font-size: 13px;
  color: #5f6b7a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 46420, app/assets/stylesheets/application.scss */
.job-seeking-sidebar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* line 46427, app/assets/stylesheets/application.scss */
.job-seeking-list {
  flex: 1;
  overflow: auto;
  padding: 4px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 46436, 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 46451, app/assets/stylesheets/application.scss */
.job-seeking-app:hover {
  background: #f3f6f9;
}

/* line 46455, app/assets/stylesheets/application.scss */
.job-seeking-app.is-active {
  background: rgba(31, 107, 140, 0.1);
}

/* line 46459, 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 46474, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.is-empty {
  font-size: 16px;
}

/* line 46478, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 46483, app/assets/stylesheets/application.scss */
.job-seeking-score-badge.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 46489, 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 46506, app/assets/stylesheets/application.scss */
.job-seeking-app-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 46513, 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 46521, app/assets/stylesheets/application.scss */
.job-seeking-app-text span {
  font-size: 12px;
  color: #5f6b7a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 46529, app/assets/stylesheets/application.scss */
.job-seeking-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 46536, 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 46547, 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 46559, app/assets/stylesheets/application.scss */
.job-seeking-empty strong {
  font-size: 18px;
  color: #12263a;
}

/* line 46564, app/assets/stylesheets/application.scss */
.job-seeking-empty p {
  margin: 0;
  max-width: 420px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.45;
}

/* line 46572, 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 46580, app/assets/stylesheets/application.scss */
.job-seeking-bottom-bar.hidden,
.job-seeking-bottom-bar[hidden] {
  display: none !important;
}

/* line 46585, app/assets/stylesheets/application.scss */
.job-seeking-detail {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 46592, app/assets/stylesheets/application.scss */
.job-seeking-detail.hidden,
.job-seeking-detail[hidden] {
  display: none !important;
}

/* line 46597, 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 46605, app/assets/stylesheets/application.scss */
.job-seeking-detail-identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 46612, 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 46625, app/assets/stylesheets/application.scss */
.job-seeking-detail-avatar.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 46630, app/assets/stylesheets/application.scss */
.job-seeking-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 46636, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 46643, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text strong {
  font-size: 22px;
  color: #12263a;
}

/* line 46648, app/assets/stylesheets/application.scss */
.job-seeking-detail-head-text span {
  font-size: 13px;
  color: #5f6b7a;
}

/* line 46653, app/assets/stylesheets/application.scss */
.job-seeking-detail-actions {
  display: flex;
  gap: 6px;
}

/* line 46658, 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 46668, app/assets/stylesheets/application.scss */
.job-seeking-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* line 46674, 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 46684, app/assets/stylesheets/application.scss */
.job-seeking-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f6b8c;
  font-size: 14px;
}

/* line 46692, app/assets/stylesheets/application.scss */
.job-seeking-muted {
  margin: 0;
  font-size: 13px;
  color: #5f6b7a;
}

/* line 46698, app/assets/stylesheets/application.scss */
.job-seeking-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 46704, 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 46718, app/assets/stylesheets/application.scss */
.job-seeking-chip:hover {
  background: #e2e8f0;
}

/* line 46722, app/assets/stylesheets/application.scss */
.job-seeking-field-label {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
}

/* line 46728, 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 46742, 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 46750, app/assets/stylesheets/application.scss */
.job-seeking-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

/* line 46757, app/assets/stylesheets/application.scss */
.job-seeking-error {
  margin: 0;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 46763, app/assets/stylesheets/application.scss */
.job-seeking-disclaimer {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 46769, app/assets/stylesheets/application.scss */
.job-seeking-score-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

/* line 46776, app/assets/stylesheets/application.scss */
.job-seeking-score-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* line 46782, app/assets/stylesheets/application.scss */
.job-seeking-score-big span {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

/* line 46788, app/assets/stylesheets/application.scss */
.job-seeking-score-big small {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
}

/* line 46794, 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 46803, app/assets/stylesheets/application.scss */
.job-seeking-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #243447;
}

/* line 46810, app/assets/stylesheets/application.scss */
.job-seeking-dims {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 46816, app/assets/stylesheets/application.scss */
.job-seeking-radar-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

/* line 46822, app/assets/stylesheets/application.scss */
.job-seeking-radar {
  width: min(100%, 300px);
  height: auto;
  display: block;
}

/* line 46828, app/assets/stylesheets/application.scss */
.job-seeking-radar-label {
  font-size: 10px;
  font-weight: 650;
  fill: #5f6b7a;
}

/* line 46834, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart {
  margin: 8px 0 4px;
}

/* line 46838, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-title {
  font-size: 12px;
  font-weight: 650;
  color: #5f6b7a;
  margin-bottom: 8px;
}

/* line 46845, app/assets/stylesheets/application.scss */
.job-seeking-bar-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 140px;
}

/* line 46852, 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 46862, app/assets/stylesheets/application.scss */
.job-seeking-bar-score {
  font-size: 11px;
  font-weight: 700;
  color: #1f6b8c;
  font-variant-numeric: tabular-nums;
}

/* line 46869, app/assets/stylesheets/application.scss */
.job-seeking-bar-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 4px 4px;
  display: block;
}

/* line 46876, 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 46885, app/assets/stylesheets/application.scss */
.job-seeking-tutor-cta {
  margin-top: 4px;
}

/* line 46889, app/assets/stylesheets/application.scss */
.job-seeking-dim-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}

/* line 46897, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar {
  height: 6px;
  border-radius: 999px;
  background: #e8eef3;
  overflow: hidden;
}

/* line 46904, app/assets/stylesheets/application.scss */
.job-seeking-dim-bar span {
  display: block;
  height: 100%;
  background: #1f6b8c;
}

/* line 46910, app/assets/stylesheets/application.scss */
.job-seeking-dim p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* line 46916, 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 46926, app/assets/stylesheets/application.scss */
.job-seeking-bullets li {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: normal;
}

/* line 46932, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green {
  list-style: disc;
}

/* line 46933, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange {
  list-style: disc;
}

/* line 46934, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent {
  list-style: disc;
}

/* line 46935, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple {
  list-style: disc;
}

/* line 46937, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-green li::marker {
  color: #0f9d58;
}

/* line 46938, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-orange li::marker {
  color: var(--perk-ink);
}

/* line 46939, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-accent li::marker {
  color: #1f6b8c;
}

/* line 46940, app/assets/stylesheets/application.scss */
.job-seeking-bullets.is-purple li::marker {
  color: #7b61ff;
}

/* line 46942, 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 46954, app/assets/stylesheets/application.scss */
.job-seeking-modal.hidden,
.job-seeking-modal[hidden] {
  display: none !important;
}

/* line 46959, 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 46970, app/assets/stylesheets/application.scss */
.job-seeking-create-card {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

/* line 46976, app/assets/stylesheets/application.scss */
.job-seeking-create-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 46983, 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 46997, app/assets/stylesheets/application.scss */
.job-seeking-create-icon.has-logo {
  background: #fff;
  border: 1px solid rgba(18, 38, 58, 0.08);
}

/* line 47002, app/assets/stylesheets/application.scss */
.job-seeking-create-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 47008, app/assets/stylesheets/application.scss */
.job-seeking-logo-picker {
  margin-top: 10px;
}

/* line 47012, 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 47020, app/assets/stylesheets/application.scss */
.job-seeking-logo-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

/* line 47027, 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 47039, app/assets/stylesheets/application.scss */
.job-seeking-logo-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 47046, app/assets/stylesheets/application.scss */
.job-seeking-logo-option.is-selected {
  border-color: #1f6b8c;
}

/* line 47050, app/assets/stylesheets/application.scss */
.job-seeking-logo-picker-head .job-seeking-spinner {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

/* line 47056, app/assets/stylesheets/application.scss */
.job-seeking-create-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 47063, app/assets/stylesheets/application.scss */
.job-seeking-create-copy strong {
  font-size: 17px;
  font-weight: 700;
  color: #12263a;
  letter-spacing: -0.01em;
}

/* line 47070, app/assets/stylesheets/application.scss */
.job-seeking-create-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #5f6b7a;
}

/* line 47077, app/assets/stylesheets/application.scss */
.job-seeking-create-fields {
  display: flex;
  flex-direction: column;
  padding: 4px 20px 8px;
}

/* line 47083, app/assets/stylesheets/application.scss */
.job-seeking-create-fields .job-seeking-field {
  padding: 12px 0;
  border-bottom: 1px solid #e8eef3;
}

/* line 47088, app/assets/stylesheets/application.scss */
.job-seeking-create-fields .job-seeking-field:last-child {
  border-bottom: 0;
}

/* line 47092, app/assets/stylesheets/application.scss */
.job-seeking-create-card .job-seeking-error {
  margin: 0 20px 4px;
}

/* line 47096, app/assets/stylesheets/application.scss */
.job-seeking-create-card .job-seeking-modal-head {
  padding: 18px 18px 12px 20px;
  align-items: flex-start;
}

/* line 47101, 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 47108, app/assets/stylesheets/application.scss */
.job-seeking-drive-card {
  width: min(100%, 520px);
  max-height: min(80vh, 640px);
}

/* line 47113, app/assets/stylesheets/application.scss */
.job-seeking-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 47120, app/assets/stylesheets/application.scss */
.job-seeking-modal-head strong {
  font-size: 16px;
  font-weight: 700;
  color: #12263a;
}

/* line 47126, app/assets/stylesheets/application.scss */
.job-seeking-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

/* line 47133, 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 47138, app/assets/stylesheets/application.scss */
.job-seeking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 47144, app/assets/stylesheets/application.scss */
.job-seeking-drive-list {
  overflow: auto;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 47152, 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 47166, app/assets/stylesheets/application.scss */
.job-seeking-drive-item:hover {
  background: #eef2f6;
}

/* line 47170, 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 47180, app/assets/stylesheets/application.scss */
.job-seeking-busy.hidden,
.job-seeking-busy[hidden] {
  display: none !important;
}

/* line 47185, 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 47196, 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 47209, app/assets/stylesheets/application.scss */
body.job-seeking-open .perk-workspace-center {
  position: relative;
}

@media (max-width: 900px) {
  /* line 47214, app/assets/stylesheets/application.scss */
  .job-seeking-layout {
    grid-template-columns: 1fr;
  }
  /* line 47218, app/assets/stylesheets/application.scss */
  .job-seeking-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
    max-height: 220px;
  }
  /* line 47224, app/assets/stylesheets/application.scss */
  .job-seeking-panels {
    grid-template-columns: 1fr;
  }
  /* line 47228, app/assets/stylesheets/application.scss */
  .job-seeking-text-btn span {
    display: none;
  }
}

/* —— Chat media lightbox (web) —— */
/* line 47234, app/assets/stylesheets/application.scss */
html.chat-media-viewer-open,
html.chat-media-viewer-open body {
  overflow: hidden;
}

/* line 47239, app/assets/stylesheets/application.scss */
.chat-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  color: #fff;
}

/* line 47251, app/assets/stylesheets/application.scss */
.chat-media-viewer.hidden {
  display: none !important;
}

/* line 47255, app/assets/stylesheets/application.scss */
.chat-media-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* line 47263, app/assets/stylesheets/application.scss */
.chat-media-viewer-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  height: calc(100vh - 48px);
  max-height: 820px;
  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);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

/* line 47282, app/assets/stylesheets/application.scss */
.chat-media-viewer-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* line 47290, app/assets/stylesheets/application.scss */
.chat-media-viewer-head-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

/* line 47298, app/assets/stylesheets/application.scss */
.chat-media-viewer-count {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

/* line 47304, app/assets/stylesheets/application.scss */
.chat-media-viewer-meta {
  font-size: 12px;
  opacity: 0.72;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 47313, app/assets/stylesheets/application.scss */
.chat-media-viewer-meta[hidden] {
  display: none !important;
}

/* line 47317, app/assets/stylesheets/application.scss */
.chat-media-viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

/* line 47324, app/assets/stylesheets/application.scss */
.chat-media-viewer-icon-btn,
.chat-media-viewer-nav,
.chat-media-viewer-video-btn,
.chat-media-viewer-thumb {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

/* line 47336, 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.1);
  color: #fff;
  font-size: 15px;
  transition: background 0.15s ease;
}

/* line 47349, app/assets/stylesheets/application.scss */
.chat-media-viewer-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* line 47353, app/assets/stylesheets/application.scss */
.chat-media-viewer-body {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-height: 0;
  flex: 1 1 auto;
}

/* line 47361, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav {
  align-self: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  transition: background 0.15s ease;
}

/* line 47376, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* line 47380, app/assets/stylesheets/application.scss */
.chat-media-viewer-nav[hidden] {
  display: none !important;
}

/* line 47384, app/assets/stylesheets/application.scss */
.chat-media-viewer-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
}

/* line 47394, app/assets/stylesheets/application.scss */
.chat-media-viewer-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 47403, app/assets/stylesheets/application.scss */
.chat-media-viewer-asset {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  background: #111;
  user-select: none;
  -webkit-user-drag: none;
}

/* line 47416, app/assets/stylesheets/application.scss */
.chat-media-viewer-video-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  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 47432, app/assets/stylesheets/application.scss */
.chat-media-viewer-video-bar.hidden,
.chat-media-viewer-video-bar[hidden] {
  display: none !important;
}

/* line 47437, 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 47448, app/assets/stylesheets/application.scss */
.chat-media-viewer-seek {
  flex: 1;
  min-width: 0;
  accent-color: #fff;
  height: 4px;
}

/* line 47455, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 54px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 0 0 auto;
}

/* line 47467, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip::-webkit-scrollbar {
  display: none;
}

/* line 47471, app/assets/stylesheets/application.scss */
.chat-media-viewer-filmstrip[hidden],
.chat-media-viewer-filmstrip:empty {
  display: none !important;
}

/* line 47476, 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 47487, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb.is-active {
  border-color: #2f6bff;
}

/* line 47491, app/assets/stylesheets/application.scss */
.chat-media-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 47498, 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 47509, app/assets/stylesheets/application.scss */
.hub-ask-chat-msg.is-media img,
.floating-ai-msg-media {
  cursor: zoom-in;
}

@media (max-width: 720px) {
  /* line 47515, app/assets/stylesheets/application.scss */
  .chat-media-viewer {
    padding: 12px;
  }
  /* line 47519, app/assets/stylesheets/application.scss */
  .chat-media-viewer-card {
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
    padding: 12px 12px 14px;
  }
  /* line 47526, app/assets/stylesheets/application.scss */
  .chat-media-viewer-body {
    gap: 8px;
  }
  /* line 47530, app/assets/stylesheets/application.scss */
  .chat-media-viewer-nav {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  /* line 47536, app/assets/stylesheets/application.scss */
  .chat-media-viewer-filmstrip {
    padding-left: 8px;
    padding-right: 8px;
  }
  /* line 47541, app/assets/stylesheets/application.scss */
  .chat-media-viewer-asset {
    border-radius: 14px;
  }
}

/* line 47546, 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 47559, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-restore {
  display: flex;
}

/* line 47563, app/assets/stylesheets/application.scss */
.perk-auth-form-pane.is-restoring .perk-auth-stage {
  visibility: hidden;
}

/* line 47567, 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 47576, 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 — Apple Calendar–inspired chrome (functions unchanged) */
/* line 47588, app/assets/stylesheets/application.scss */
.calendar-hub {
  --cal-accent: #FF3B30;
  --cal-accent-deep: #E0352B;
  --cal-accent-soft: rgba(255, 59, 48, 0.12);
  --cal-ink: #1D1D1F;
  --cal-muted: #8E8E93;
  --cal-line: rgba(60, 60, 67, 0.12);
  --cal-grid-line: rgba(60, 60, 67, 0.1);
  --cal-surface: #ffffff;
  --cal-wash: #F2F2F7;
  --cal-fill: #F2F2F7;
  --cal-sky: rgba(0, 122, 255, 0.06);
  --cal-event: #007AFF;
  --cal-today-wash: rgba(255, 59, 48, 0.04);
  --cal-radius: 12px;
  --cal-ease: 180ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --cal-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --cal-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--cal-wash);
  color: var(--cal-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* line 47620, 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 47626, app/assets/stylesheets/application.scss */
.calendar-hub.is-compose-only {
  background: transparent !important;
  pointer-events: none;
  overflow: visible;
  box-shadow: none;
}

/* line 47633, 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 47641, app/assets/stylesheets/application.scss */
.calendar-hub.is-compose-only .cal-sheet {
  pointer-events: auto;
}

/* line 47645, app/assets/stylesheets/application.scss */
.calendar-hub.is-compose-only #calendar-event-sheet {
  display: flex !important;
}

/* line 47649, app/assets/stylesheets/application.scss */
.calendar-hub-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

/* line 47656, app/assets/stylesheets/application.scss */
.calendar-hub-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  min-height: 0;
  padding: 18px 16px 20px;
  overflow: auto;
  border-right: 1px solid var(--cal-line);
  background: #FAFAFA;
}

/* line 47668, app/assets/stylesheets/application.scss */
.cal-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-width: 0;
  margin: 2px 0 4px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--cal-accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(255, 59, 48, 0.18);
  transition: background var(--cal-ease), box-shadow var(--cal-ease), filter var(--cal-ease);
}

/* line 47689, app/assets/stylesheets/application.scss */
.cal-create-btn:hover {
  background: var(--cal-accent-deep);
  box-shadow: none;
  transform: none;
  filter: none;
}

/* line 47696, app/assets/stylesheets/application.scss */
.cal-create-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* line 47706, app/assets/stylesheets/application.scss */
.calendar-hub-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 4px 4px;
}

/* line 47713, app/assets/stylesheets/application.scss */
.calendar-hub-mini-head {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 2px 4px;
}

/* line 47720, 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: var(--cal-ink);
}

/* line 47728, app/assets/stylesheets/application.scss */
.calendar-hub-mini-head .cal-icon-btn:hover {
  background: rgba(60, 60, 67, 0.08);
  color: var(--cal-ink);
}

/* line 47733, app/assets/stylesheets/application.scss */
.calendar-hub-mini-head strong {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cal-ink);
}

/* line 47742, app/assets/stylesheets/application.scss */
.calendar-hub-side-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}

/* line 47749, app/assets/stylesheets/application.scss */
.calendar-hub-side-head {
  display: flex;
  align-items: center;
  padding: 8px 8px 4px;
}

/* line 47755, 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 47763, app/assets/stylesheets/application.scss */
.calendar-hub-side-block.is-groups {
  gap: 6px;
  flex: 1;
  min-height: 0;
}

/* line 47769, app/assets/stylesheets/application.scss */
.calendar-hub-side-block.is-groups .calendar-hub-side-head {
  padding: 4px 6px 2px;
}

/* line 47773, app/assets/stylesheets/application.scss */
.calendar-hub-groups {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 47782, app/assets/stylesheets/application.scss */
.cal-group-card {
  margin: 0;
  border-radius: 12px;
  background: var(--cal-surface);
  box-shadow: inset 0 0 0 1px var(--cal-line);
  overflow: hidden;
  transition: box-shadow var(--cal-ease), background var(--cal-ease);
}

/* line 47791, app/assets/stylesheets/application.scss */
.cal-group-card.is-selected {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(60, 60, 67, 0.18);
  position: relative;
}

/* line 47797, app/assets/stylesheets/application.scss */
.cal-group-card.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 99px 99px 0;
  background: var(--cal-accent);
}

/* line 47808, app/assets/stylesheets/application.scss */
.cal-group-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

/* line 47822, app/assets/stylesheets/application.scss */
.cal-group-toggle:hover {
  background: rgba(32, 33, 36, 0.03);
}

/* line 47826, app/assets/stylesheets/application.scss */
.cal-group-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  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 47838, app/assets/stylesheets/application.scss */
.cal-group-avatar .heroicon,
.cal-group-avatar svg,
.cal-group-avatar i {
  color: #fff;
  stroke: #fff;
}

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

/* line 47851, app/assets/stylesheets/application.scss */
.cal-group-avatar.is-fallback {
  font-size: 12px;
}

/* line 47855, app/assets/stylesheets/application.scss */
.cal-group-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 47863, app/assets/stylesheets/application.scss */
.cal-group-copy strong {
  font-size: 13px;
  font-weight: 400;
  color: var(--cal-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 47872, app/assets/stylesheets/application.scss */
.cal-group-copy em {
  font-style: normal;
  font-size: 11px;
  color: var(--cal-muted);
}

/* line 47878, app/assets/stylesheets/application.scss */
.cal-group-chevron {
  color: var(--cal-muted);
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 47884, app/assets/stylesheets/application.scss */
.calendar-hub-group-members {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 6px 6px;
}

/* line 47891, app/assets/stylesheets/application.scss */
.cal-group-member {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

/* line 47906, app/assets/stylesheets/application.scss */
.cal-group-member:hover {
  background: rgba(32, 33, 36, 0.04);
}

/* line 47910, app/assets/stylesheets/application.scss */
.cal-group-member:not(.is-on) {
  opacity: 0.45;
}

/* line 47914, app/assets/stylesheets/application.scss */
.cal-member-avatar {
  width: 22px;
  height: 22px;
  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 47926, app/assets/stylesheets/application.scss */
.cal-member-avatar.is-xs {
  width: 18px;
  height: 18px;
  font-size: 8px;
}

/* line 47932, app/assets/stylesheets/application.scss */
.cal-member-avatar.is-sm {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

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

/* line 47944, app/assets/stylesheets/application.scss */
.cal-member-avatar.is-fallback {
  background: var(--cal-member-color, #1A73E8);
  color: #fff;
  font-weight: 700;
}

/* line 47950, app/assets/stylesheets/application.scss */
.cal-group-member-copy {
  flex: 1;
  min-width: 0;
}

/* line 47955, app/assets/stylesheets/application.scss */
.cal-group-member-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--cal-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 47965, app/assets/stylesheets/application.scss */
.cal-group-member-swatch,
.cal-legend-swatch {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* line 47973, 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 47979, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend[hidden] {
  display: none !important;
}

/* line 47983, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 47990, 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 47999, app/assets/stylesheets/application.scss */
.calendar-hub-group-legend-head .cal-group-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

/* line 48005, 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 48014, 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 48028, 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 48046, app/assets/stylesheets/application.scss */
.cal-legend-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 48052, app/assets/stylesheets/application.scss */
.cal-legend-item:hover {
  background: rgba(32, 33, 36, 0.06);
}

/* line 48056, app/assets/stylesheets/application.scss */
.cal-legend-item.is-off {
  opacity: 0.42;
  background: transparent;
}

/* line 48061, app/assets/stylesheets/application.scss */
.cal-legend-item .cal-member-avatar {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

/* line 48067, app/assets/stylesheets/application.scss */
.cal-text-btn.is-muted {
  color: var(--cal-muted);
  cursor: default;
  pointer-events: none;
}

/* line 48073, app/assets/stylesheets/application.scss */
.calendar-hub-compose-fallback {
  display: none;
}

/* line 48077, 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 48086, app/assets/stylesheets/application.scss */
.cal-sheet-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 48092, 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 48109, app/assets/stylesheets/application.scss */
.cal-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cal-fill);
  color: var(--cal-ink);
  border: 0;
  box-shadow: none;
  transition: background var(--cal-ease), color var(--cal-ease);
}

/* line 48123, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-icon-btn,
.calendar-hub-toolbar .cal-text-btn {
  border-color: var(--cal-line);
  color: var(--cal-ink);
}

/* line 48129, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-accent,
.cal-text-btn.is-accent {
  background: var(--cal-accent);
  color: #fff;
  border: 0;
  box-shadow: none;
}

/* line 48137, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-icon-btn.is-accent,
.calendar-hub-toolbar .cal-text-btn.is-accent {
  border-color: transparent;
  color: #fff;
  background: var(--cal-accent);
}

/* line 48144, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-accent:hover,
.cal-text-btn.is-accent:hover,
.calendar-hub-toolbar .cal-icon-btn.is-accent:hover {
  background: var(--cal-accent-deep);
  color: #fff;
}

/* line 48151, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-ai {
  background: #007AFF;
  border-color: transparent;
  color: #fff;
  box-shadow: none;
}

/* line 48158, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-ai:hover {
  background: #0066D6;
  color: #fff;
  filter: none;
  box-shadow: none;
}

/* line 48165, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-share {
  color: var(--cal-muted);
}

/* line 48169, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-icon-btn.is-share {
  color: #202124;
}

/* line 48173, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-share i {
  color: inherit;
}

/* line 48177, app/assets/stylesheets/application.scss */
.cal-primary-btn.is-share {
  background: var(--cal-accent);
  box-shadow: none;
}

/* line 48182, app/assets/stylesheets/application.scss */
.cal-primary-btn.is-share i {
  color: #fff;
}

/* line 48186, 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: rgba(60, 60, 67, 0.1);
  border-color: transparent;
  color: var(--cal-ink);
}

/* line 48197, app/assets/stylesheets/application.scss */
.cal-text-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cal-fill);
  border: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cal-ink);
}

/* line 48208, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .cal-text-btn {
  border-color: var(--cal-line);
  color: var(--cal-ink);
}

/* line 48213, app/assets/stylesheets/application.scss */
.cal-text-btn.is-accent {
  color: var(--cal-ink);
  background: #fff;
  border-color: #dadce0;
}

/* line 48219, 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: 10px;
  background: var(--cal-fill);
  border: 0;
  color: var(--cal-muted);
  box-shadow: none;
}

/* line 48234, app/assets/stylesheets/application.scss */
.calendar-hub-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 10px;
  background: #fff;
  flex: 0 0 auto;
}

/* line 48243, app/assets/stylesheets/application.scss */
.calendar-hub-search-panel.hidden,
.calendar-hub-search-panel[hidden] {
  display: none !important;
}

/* line 48248, app/assets/stylesheets/application.scss */
.calendar-hub-search-panel .cal-search {
  flex: 1 1 auto;
  max-width: none;
}

/* line 48253, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-active {
  background: var(--cal-ink, #17191d);
  color: #fff;
}

/* line 48258, 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 48266, 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 48276, app/assets/stylesheets/application.scss */
.cal-icon-btn.is-small {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

/* line 48282, 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 48291, app/assets/stylesheets/application.scss */
.calendar-hub-calendars li,
.calendar-hub-side-block li {
  margin: 0;
}

/* line 48296, 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 48307, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:hover,
.cal-event-row:hover {
  background: rgba(32, 33, 36, 0.04);
}

/* line 48312, 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 48322, 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 48330, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:not(.is-on) span {
  color: var(--cal-muted);
}

/* line 48334, app/assets/stylesheets/application.scss */
.cal-calendar-toggle:not(.is-on) i {
  opacity: 0.35;
}

/* line 48338, 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 48349, 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 48358, app/assets/stylesheets/application.scss */
.calendar-hub-side-block li span:not(.cal-group-avatar),
.cal-event-row span,
.calendar-hub-empty {
  color: var(--cal-muted);
  font-size: 12px;
}

/* line 48365, app/assets/stylesheets/application.scss */
.calendar-hub-empty {
  padding: 18px 8px;
  text-align: center;
  font-size: 14px;
}

/* line 48371, app/assets/stylesheets/application.scss */
.calendar-hub-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 10px 18px 14px;
  overflow: hidden;
  background: #fff;
}

/* line 48381, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 2px 12px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  border-bottom: 1px solid var(--cal-line);
}

/* line 48394, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar-nav {
  gap: 8px;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
}

/* line 48401, app/assets/stylesheets/application.scss */
.calendar-hub-shift {
  display: inline-flex;
  gap: 2px;
}

/* line 48406, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .calendar-hub-shift .cal-icon-btn {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--cal-ink);
}

/* line 48413, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar .calendar-hub-shift .cal-icon-btn:hover {
  background: rgba(60, 60, 67, 0.08);
  border-color: transparent;
  color: var(--cal-ink);
}

/* line 48419, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar-nav strong {
  min-width: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cal-ink);
}

/* line 48427, app/assets/stylesheets/application.scss */
.calendar-hub-toolbar-actions {
  flex: 0 1 auto;
  justify-content: flex-end;
}

/* line 48432, app/assets/stylesheets/application.scss */
.calendar-hub-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 48438, app/assets/stylesheets/application.scss */
.calendar-hub-view-menu {
  position: relative;
}

/* line 48442, app/assets/stylesheets/application.scss */
.calendar-hub-view-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--cal-fill);
  color: var(--cal-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background var(--cal-ease), color var(--cal-ease);
}

/* line 48461, app/assets/stylesheets/application.scss */
.calendar-hub-view-trigger::-webkit-details-marker {
  display: none;
}

/* line 48465, app/assets/stylesheets/application.scss */
.calendar-hub-view-trigger .heroicon,
.calendar-hub-view-trigger svg {
  width: 12px;
  height: 12px;
  opacity: 1;
  color: inherit;
  flex: 0 0 auto;
}

/* line 48474, app/assets/stylesheets/application.scss */
.calendar-hub-view-menu[open] .calendar-hub-view-trigger,
.calendar-hub-view-trigger.is-active {
  background: rgba(60, 60, 67, 0.12);
  border-color: transparent;
  color: var(--cal-ink);
}

/* line 48481, app/assets/stylesheets/application.scss */
.calendar-hub-view-trigger:hover {
  background: rgba(60, 60, 67, 0.1);
  border-color: transparent;
  color: var(--cal-ink);
}

/* line 48487, 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: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* line 48504, app/assets/stylesheets/application.scss */
.calendar-hub-view-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cal-ink);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

/* line 48518, app/assets/stylesheets/application.scss */
.calendar-hub-view-dropdown button:hover {
  background: rgba(60, 60, 67, 0.08);
  color: var(--cal-ink);
}

/* line 48523, app/assets/stylesheets/application.scss */
.calendar-hub-view-dropdown button.is-active {
  background: rgba(0, 122, 255, 0.1);
  color: #007AFF;
  font-weight: 500;
}

/* line 48529, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-btn {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--cal-fill);
  color: var(--cal-ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--cal-ease), color var(--cal-ease);
}

/* line 48541, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-btn:hover {
  background: rgba(60, 60, 67, 0.1);
  color: var(--cal-ink);
}

/* line 48546, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-btn.is-active {
  background: rgba(0, 122, 255, 0.1);
  border-color: transparent;
  color: #007AFF;
}

/* line 48552, app/assets/stylesheets/application.scss */
.calendar-hub-views {
  display: none;
}

/* line 48556, 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 48566, app/assets/stylesheets/application.scss */
.calendar-hub-views button:last-child {
  border-right: 0;
}

/* line 48570, app/assets/stylesheets/application.scss */
.calendar-hub-views button.is-active {
  background: #f1f3f4;
  color: var(--cal-ink);
  box-shadow: none;
}

/* line 48576, app/assets/stylesheets/application.scss */
.calendar-hub-chat-close {
  display: none;
}

/* line 48580, app/assets/stylesheets/application.scss */
.calendar-hub-error {
  margin: 8px 0 0;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 48586, 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 48603, 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 48608, 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 48613, 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 48619, 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: transparent;
}

/* line 48628, app/assets/stylesheets/application.scss */
.calendar-hub-month.is-expanded {
  gap: 10px;
}

/* line 48632, 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 48641, 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 48653, 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 48665, 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 48676, 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 48687, 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 48699, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays,
.calendar-hub-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* line 48705, app/assets/stylesheets/application.scss */
.calendar-hub-weekdays {
  flex: 0 0 auto;
  margin-bottom: 0;
  padding: 0 0 8px;
  color: var(--cal-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

/* line 48717, 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 48725, app/assets/stylesheets/application.scss */
.calendar-hub-grid {
  gap: 8px;
}

/* line 48729, 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 48740, app/assets/stylesheets/application.scss */
.calendar-hub-grid.is-mini {
  gap: 0;
}

/* line 48744, 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 48766, app/assets/stylesheets/application.scss */
.calendar-hub-cell:hover {
  transform: none;
  border-color: transparent;
  background: #f8f9fa;
  box-shadow: none;
}

/* line 48773, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-pad {
  cursor: default;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

/* line 48780, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-outside {
  opacity: 1;
  color: #C7C7CC;
}

/* line 48785, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-outside .calendar-hub-cell-date {
  color: #C7C7CC;
}

/* line 48789, 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 48794, 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 48806, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact:hover {
  background: transparent;
}

/* line 48810, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-compact.is-event {
  background: color-mix(in srgb, var(--cal-event) 12%, #fff);
}

/* line 48814, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-mini {
  height: 30px;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

/* line 48821, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-mini:hover .calendar-hub-cell-date {
  background: rgba(60, 60, 67, 0.08);
  color: var(--cal-ink);
}

/* line 48826, 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 48840, 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 48847, 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 48854, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-today .calendar-hub-cell-date {
  background: var(--cal-accent);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

/* line 48861, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-mini.is-today .calendar-hub-cell-date {
  box-shadow: none;
}

/* line 48865, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-selected:not(.is-today) .calendar-hub-cell-date {
  background: #1D1D1F;
  color: #fff;
  font-weight: 600;
}

/* line 48871, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-today:not(.has-photo) {
  border-color: transparent;
  background: transparent;
}

/* line 48876, app/assets/stylesheets/application.scss */
.calendar-hub-cell-dots {
  display: flex;
  justify-content: center;
  gap: 3px;
  min-height: 6px;
  width: 100%;
}

/* line 48884, app/assets/stylesheets/application.scss */
.calendar-hub-cell-dots i {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  display: inline-block;
}

/* Expanded month grid — centered day numbers, plain event lines. */
/* line 48892, 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 48904, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich:hover {
  background: rgba(60, 60, 67, 0.04);
}

/* line 48908, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-event {
  background: #fff;
  border-color: var(--cal-grid-line);
}

/* line 48913, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-outside {
  opacity: 1;
  color: #C7C7CC;
}

/* line 48918, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-outside .calendar-hub-cell-date {
  color: #C7C7CC;
}

/* line 48922, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-today {
  background: #fff;
}

/* line 48926, 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 48937, app/assets/stylesheets/application.scss */
.calendar-hub-cell.is-rich.is-today .calendar-hub-cell-date {
  width: 28px;
  min-width: 28px;
  padding: 0;
  background: var(--cal-accent);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

/* line 48947, app/assets/stylesheets/application.scss */
.calendar-hub-cell-photo,
.calendar-hub-cell.has-photo::after,
.calendar-hub-cell-count {
  display: none !important;
}

/* line 48953, 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 48966, 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 5px 1px 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--cal-ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}

/* line 48984, app/assets/stylesheets/application.scss */
.calendar-hub-cell-chip {
  cursor: pointer;
  background: color-mix(in srgb, var(--cal-color, var(--cal-event)) 14%, #fff);
  color: color-mix(in srgb, var(--cal-color, var(--cal-event)) 50%, var(--cal-ink));
  box-shadow: inset 3px 0 0 var(--cal-color, var(--cal-event));
}

/* line 48991, app/assets/stylesheets/application.scss */
.calendar-hub-cell-chip.is-mix {
  position: relative;
  box-shadow: none;
  padding-left: 11px;
}

/* line 48997, app/assets/stylesheets/application.scss */
.calendar-hub-cell-chip::before {
  content: none;
}

/* line 49001, app/assets/stylesheets/application.scss */
.calendar-hub-cell-chip.is-mix::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 99px;
  background: var(--cal-stripe, var(--cal-color, var(--cal-event)));
}

/* line 49012, app/assets/stylesheets/application.scss */
.calendar-hub-cell-more {
  color: var(--cal-muted);
  font-weight: 500;
  padding-left: 8px;
  background: transparent;
  box-shadow: none;
}

/* line 49020, 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 49028, app/assets/stylesheets/application.scss */
.calendar-hub-month-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

/* line 49035, app/assets/stylesheets/application.scss */
.calendar-hub-month-head h4 {
  flex: 1;
  margin: 0;
}

/* line 49040, 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 49048, 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 49059, 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 49070, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--cal-fill);
  color: var(--cal-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

/* line 49089, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn:hover {
  transform: none;
  background: rgba(60, 60, 67, 0.1);
}

/* line 49094, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-past-btn.is-on {
  background: rgba(0, 122, 255, 0.1);
  border-color: transparent;
  color: #007AFF;
  box-shadow: none;
}

/* line 49101, 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 49114, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cal-grid-line, #80868b);
}

/* line 49121, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-section.is-upcoming {
  color: #202124;
  margin-top: 16px;
}

/* line 49126, 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 49136, 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 49148, 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 49157, 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 49170, 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 49182, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today {
  border: 0;
  background: #fff;
}

/* line 49187, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-daynum {
  background: var(--cal-accent);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

/* line 49194, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-today .calendar-hub-agenda-datemeta {
  color: var(--cal-accent);
  font-weight: 600;
}

/* line 49199, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-past {
  opacity: 1;
  background: #fff;
}

/* line 49204, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-day.is-past .calendar-hub-agenda-daynum {
  background: transparent;
  color: #202124;
}

/* line 49209, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-events {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding-top: 2px;
}

/* line 49217, 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 49236, 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 49243, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-event.is-past {
  opacity: 0.55;
}

/* line 49247, 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 49252, 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 49262, 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 49271, 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 49282, app/assets/stylesheets/application.scss */
.calendar-hub-agenda-now {
  position: relative;
  height: 0;
  margin: 6px 0 8px;
  border-top: 1.5px solid var(--cal-accent);
}

/* line 49289, 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: var(--cal-accent);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.16);
}

/* line 49302, app/assets/stylesheets/application.scss */
.calendar-hub-year {
  display: none;
}

/* line 49306, 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 49317, app/assets/stylesheets/application.scss */
.calendar-hub-day-view {
  gap: 0;
}

/* line 49321, 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 49328, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-row {
  padding: 0 10px 2px;
}

/* line 49332, app/assets/stylesheets/application.scss */
.calendar-hub-week-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--cal-ink);
  cursor: pointer;
  transition: background var(--cal-ease);
}

/* line 49347, app/assets/stylesheets/application.scss */
.calendar-hub-week-head:hover {
  background: rgba(60, 60, 67, 0.06);
}

/* line 49351, app/assets/stylesheets/application.scss */
.calendar-hub-week-head span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--cal-muted);
}

/* line 49360, app/assets/stylesheets/application.scss */
.calendar-hub-week-head strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--cal-ink);
}

/* line 49372, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-today strong {
  background: var(--cal-accent);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

/* line 49379, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-today span {
  color: var(--cal-accent);
  font-weight: 600;
}

/* line 49384, app/assets/stylesheets/application.scss */
.calendar-hub-week-head.is-selected:not(.is-today) strong {
  background: #1D1D1F;
  color: #fff;
}

/* line 49389, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday {
  padding: 0 10px 6px;
  border-bottom: 1px solid var(--cal-grid-line);
  align-items: stretch;
}

/* line 49395, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday.is-day {
  padding: 0 10px 6px;
}

/* line 49399, app/assets/stylesheets/application.scss */
.calendar-hub-allday-label {
  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: var(--cal-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

/* line 49414, app/assets/stylesheets/application.scss */
.calendar-hub-week-gutter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 6px 0 0;
  color: var(--cal-muted);
  font-size: 13px;
  font-weight: 500;
}

/* line 49424, 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: var(--cal-muted);
  font-size: 11px;
  font-weight: 500;
}

/* line 49438, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-row.is-day {
  padding: 0 10px 2px;
  min-height: 28px;
}

/* line 49443, app/assets/stylesheets/application.scss */
.calendar-hub-week-head-spacer {
  min-height: 1px;
}

/* line 49447, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday-col {
  min-height: 24px;
  padding: 2px 4px;
  border-left: 1px solid var(--cal-grid-line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 49456, app/assets/stylesheets/application.scss */
.calendar-hub-week-allday-event {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  border-left: 3px solid var(--cal-color, var(--cal-event));
  background: color-mix(in srgb, var(--cal-color, var(--cal-event)) 16%, #fff);
  color: color-mix(in srgb, var(--cal-color, var(--cal-event)) 62%, var(--cal-ink));
  text-align: left;
  cursor: pointer;
  box-shadow: var(--cal-shadow);
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

/* line 49476, app/assets/stylesheets/application.scss */
.calendar-hub-week-block {
  display: flex;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  border-left: 0;
  background: color-mix(in srgb, var(--cal-color, var(--cal-event)) 16%, #fff);
  color: color-mix(in srgb, var(--cal-color, var(--cal-event)) 58%, var(--cal-ink));
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: filter var(--cal-ease), box-shadow var(--cal-ease);
}

/* line 49490, app/assets/stylesheets/application.scss */
.calendar-hub-week-block::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 99px;
  background: var(--cal-stripe, var(--cal-color, var(--cal-event)));
  pointer-events: none;
}

/* line 49502, app/assets/stylesheets/application.scss */
.calendar-hub-week-block:hover {
  transform: none;
  filter: brightness(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* line 49510, app/assets/stylesheets/application.scss */
.calendar-hub-week-block strong,
.calendar-hub-week-block span {
  color: inherit;
}

/* line 49515, 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: transparent;
  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 49533, 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 49546, 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: var(--cal-muted);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  line-height: 1;
  transform: translateY(-0.55em);
  white-space: nowrap;
}

/* line 49560, 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 49569, 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 49579, app/assets/stylesheets/application.scss */
.calendar-hub-week-col.is-today {
  background: var(--cal-today-wash);
}

/* line 49583, app/assets/stylesheets/application.scss */
.calendar-hub-week-col:first-child {
  border-left: 0;
}

/* line 49587, app/assets/stylesheets/application.scss */
.calendar-hub-week-col.is-day {
  border-left: 0;
}

/* line 49591, 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 49597, app/assets/stylesheets/application.scss */
.calendar-hub-day-view .calendar-hub-week-hours span {
  padding: 0 6px 0 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--cal-muted);
}

/* line 49604, app/assets/stylesheets/application.scss */
.calendar-hub-day-view .calendar-hub-week-block {
  border-radius: var(--cal-radius);
  padding: 6px 10px 6px 14px;
}

/* line 49609, 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 49621, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot:last-child {
  border-bottom: 0;
}

/* line 49625, app/assets/stylesheets/application.scss */
.calendar-hub-week-slot:hover {
  background: rgba(0, 122, 255, 0.06);
}

/* line 49629, app/assets/stylesheets/application.scss */
.calendar-hub-week-block {
  position: absolute;
  left: var(--cal-left, 2px);
  width: var(--cal-width, calc(100% - 4px));
  right: auto;
  z-index: 1;
  box-sizing: border-box;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 4px;
  min-height: 28px;
  padding: 8px 8px 6px 13px;
  font-size: 12px;
  line-height: 1.3;
  overflow: hidden;
}

/* line 49647, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 3px;
  min-width: 0;
}

/* line 49657, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-title {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

/* line 49664, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: color-mix(in srgb, var(--cal-color, var(--cal-event)) 72%, var(--cal-ink));
}

/* line 49675, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-icon .heroicon,
.calendar-hub-week-block-icon .calendar-hub-week-block-glyph,
.calendar-hub-week-block-icon i,
.calendar-hub-week-block-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

/* line 49684, app/assets/stylesheets/application.scss */
.calendar-hub-week-block strong,
.calendar-hub-week-block-time {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1.3;
}

/* line 49692, app/assets/stylesheets/application.scss */
.calendar-hub-week-block strong {
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--cal-color, var(--cal-event)) 42%, var(--cal-ink));
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* line 49703, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-time {
  flex: 0 0 auto;
  padding-left: 17px;
  /* align under title, past the leading icon */
  color: color-mix(in srgb, var(--cal-color, var(--cal-event)) 36%, var(--cal-muted));
  font-size: 11px;
  font-weight: 500;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 49716, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-video {
  display: inline-flex;
  flex: 0 0 auto;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-top: auto;
  color: color-mix(in srgb, var(--cal-color, var(--cal-event)) 48%, var(--cal-muted));
  opacity: 0.85;
}

/* line 49729, app/assets/stylesheets/application.scss */
.calendar-hub-week-block-video .heroicon,
.calendar-hub-week-block-video i,
.calendar-hub-week-block-video svg {
  width: 11px;
  height: 11px;
  display: block;
}

/* line 49737, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact {
  gap: 0;
  padding: 5px 6px 4px 12px;
  align-items: flex-start;
}

/* line 49743, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact .calendar-hub-week-block-time,
.calendar-hub-week-block.is-compact .calendar-hub-week-block-video,
.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 49750, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact .calendar-hub-week-block-time {
  padding-left: 0;
}

/* line 49754, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact .calendar-hub-week-block-title {
  align-items: flex-start;
}

/* line 49758, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-compact strong {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* line 49765, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-short {
  gap: 2px;
  padding: 6px 6px 5px 12px;
}

/* line 49770, app/assets/stylesheets/application.scss */
.calendar-hub-week-block.is-short .calendar-hub-week-block-time {
  -webkit-line-clamp: 1;
  white-space: nowrap;
  display: block;
}

/* line 49776, app/assets/stylesheets/application.scss */
.calendar-hub-now-line {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  height: 0;
  border-top: 1.5px solid var(--cal-accent);
  background: transparent;
  pointer-events: none;
}

/* line 49787, app/assets/stylesheets/application.scss */
.calendar-hub-now-line i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--cal-accent);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.16);
}

/* line 49800, app/assets/stylesheets/application.scss */
.calendar-hub-search-results li {
  border-bottom: 1px solid #f3f4f6;
}

/* line 49804, app/assets/stylesheets/application.scss */
.cal-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 49813, app/assets/stylesheets/application.scss */
.cal-sheet.hidden,
.cal-sheet[hidden] {
  display: none !important;
}

/* line 49818, app/assets/stylesheets/application.scss */
.cal-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

/* line 49828, 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 49845, app/assets/stylesheets/application.scss */
.cal-day-modal {
  align-items: center;
  padding: 24px 16px;
}

/* line 49850, app/assets/stylesheets/application.scss */
.cal-center-modal {
  align-items: center;
  align-items: safe center;
  justify-content: center;
  /* Clear hub tab bar (same idea as .perk-chat-popover-modal’s 72px top). */
  padding: calc(var(--perk-chrome-h, var(--hub-tabbar-h, 48px)) + 24px) 16px 24px;
  overflow: auto;
}

/* line 49859, 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: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  animation: cal-day-modal-in 0.2s ease;
}

/* line 49871, 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: 20px;
  padding: 18px 18px 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  animation: cal-day-modal-in 0.2s ease;
}

/* line 49887, app/assets/stylesheets/application.scss */
.cal-center-modal-card.is-form:has(.cal-event-composer),
.cal-sheet-card.is-form:has(.cal-event-composer) {
  /* Event composer — Apple Settings–style grouped form. */
  --cal-composer-ink: var(--cal-ink, #1D1D1F);
  --cal-composer-muted: var(--cal-muted, #8E8E93);
  --cal-composer-line: rgba(60, 60, 67, 0.12);
  --cal-composer-field: #F2F2F7;
  --cal-composer-accent: #007AFF;
  --cal-composer-accent-soft: rgba(0, 122, 255, 0.12);
  --cal-composer-ease: var(--cal-ease, 180ms cubic-bezier(0.25, 0.1, 0.25, 1));
  width: min(480px, 100%);
  max-width: 480px;
  /* Overlay top = chrome + 24, bottom = 24 → leave that slack for the card. */
  max-height: calc(100dvh - var(--perk-chrome-h, var(--hub-tabbar-h, 48px)) - 48px);
  padding: 0 0 12px;
  border-radius: 18px;
  border: 0;
  background: #F2F2F7;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  color: var(--cal-composer-ink);
  font-weight: 400;
  -webkit-overflow-scrolling: touch;
}

/* line 49911, app/assets/stylesheets/application.scss */
.cal-center-modal-card.is-form > *,
.cal-center-modal-card.is-share > * {
  flex-shrink: 0;
}

/* line 49916, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-sheet-handle {
  display: none;
}

/* line 49920, app/assets/stylesheets/application.scss */
.cal-day-modal-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* line 49927, app/assets/stylesheets/application.scss */
.cal-day-modal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--cal-accent);
}

/* line 49935, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-sheet-head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 49941, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-sheet-list {
  margin-top: 4px;
  padding-right: 2px;
}

/* line 49946, app/assets/stylesheets/application.scss */
.cal-day-modal-card .cal-event-row {
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #F2F2F7;
  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 49965, app/assets/stylesheets/application.scss */
.cal-sheet-card.is-expanded {
  height: 100%;
  border-radius: 0;
}

/* line 49970, app/assets/stylesheets/application.scss */
.cal-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
  cursor: grab;
  touch-action: none;
}

/* line 49978, app/assets/stylesheets/application.scss */
.cal-sheet-handle span {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: #d1d5db;
}

/* line 49985, app/assets/stylesheets/application.scss */
.cal-sheet-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

/* line 49990, 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 49996, app/assets/stylesheets/application.scss */
.cal-sheet-head.cal-event-view-head > :first-child {
  justify-self: start;
}

/* line 50000, app/assets/stylesheets/application.scss */
.cal-sheet-head.cal-event-view-head > strong {
  justify-self: center;
  text-align: center;
}

/* line 50005, app/assets/stylesheets/application.scss */
.cal-sheet-head.cal-event-view-head > :last-child:not(strong) {
  justify-self: end;
}

/* line 50009, app/assets/stylesheets/application.scss */
.cal-sheet-head strong,
.cal-sheet-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* line 50016, app/assets/stylesheets/application.scss */
.cal-head-spacer {
  width: 64px;
}

/* line 50020, app/assets/stylesheets/application.scss */
.cal-sheet-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

/* line 50026, app/assets/stylesheets/application.scss */
.cal-event-detail h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

/* line 50033, app/assets/stylesheets/application.scss */
.cal-event-detail p,
.cal-meta,
.cal-notes {
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 14px;
}

/* line 50041, app/assets/stylesheets/application.scss */
.cal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cal-ink, #1a1d24);
}

/* line 50048, app/assets/stylesheets/application.scss */
.cal-meta i {
  color: var(--cal-accent, #e85d4c);
  width: 16px;
  text-align: center;
}

/* line 50054, app/assets/stylesheets/application.scss */
.cal-event-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 50060, 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 50071, app/assets/stylesheets/application.scss */
.cal-event-composer label.cal-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #17191d;
  text-transform: none;
  letter-spacing: 0;
}

/* line 50083, app/assets/stylesheets/application.scss */
.cal-event-composer label.cal-composer-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #17191d;
  text-transform: none;
  letter-spacing: 0;
}

/* line 50093, app/assets/stylesheets/application.scss */
.cal-field-error {
  margin: 0;
  color: #e11d48;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

/* line 50103, app/assets/stylesheets/application.scss */
.cal-event-form label.is-invalid > input,
.cal-event-form label.is-invalid > textarea,
.cal-event-form label.is-invalid > select {
  border-color: #e11d48;
  background: #fff5f6;
}

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

/* Add Event composer — Apple Settings–style (aligned with Calendar --cal-*) */
/* line 50126, app/assets/stylesheets/application.scss */
.cal-composer-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--cal-composer-line, rgba(60, 60, 67, 0.12));
  background: rgba(242, 242, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* line 50139, app/assets/stylesheets/application.scss */
.cal-composer-toolbar > .cal-text-btn:first-child {
  justify-self: start;
}

/* line 50143, app/assets/stylesheets/application.scss */
.cal-composer-toolbar-title {
  margin: 0;
  text-align: center;
  font-size: 17px !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em;
  color: var(--cal-composer-ink, #1D1D1F);
  line-height: 1.2;
}

/* line 50153, app/assets/stylesheets/application.scss */
.cal-composer-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
  grid-column: 3;
}

/* line 50161, app/assets/stylesheets/application.scss */
.cal-composer-toolbar .cal-text-btn {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 8px 10px;
  min-height: 36px;
  font-weight: 400;
  color: #007AFF;
}

/* line 50171, app/assets/stylesheets/application.scss */
.cal-composer-toolbar .cal-text-btn:hover {
  background: rgba(0, 122, 255, 0.08);
  color: #007AFF;
}

/* line 50176, app/assets/stylesheets/application.scss */
.cal-composer-toolbar .cal-text-btn.is-accent {
  color: #007AFF;
  font-weight: 600;
  background: transparent;
}

/* line 50182, app/assets/stylesheets/application.scss */
.cal-composer-toolbar .cal-text-btn.is-accent:hover {
  background: rgba(0, 122, 255, 0.08);
}

/* line 50186, app/assets/stylesheets/application.scss */
.cal-composer-toolbar .cal-text-btn.is-accent:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  background: transparent;
}

/* line 50193, app/assets/stylesheets/application.scss */
.cal-composer-toolbar .cal-icon-btn {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* line 50199, app/assets/stylesheets/application.scss */
.cal-composer-toolbar .cal-icon-btn:hover {
  background: #f5f6f8;
}

/* line 50203, app/assets/stylesheets/application.scss */
.cal-event-form.cal-event-composer {
  display: grid;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 400;
}

/* line 50214, app/assets/stylesheets/application.scss */
.cal-event-composer label.cal-settings-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  flex-direction: unset;
  letter-spacing: 0;
  font-size: inherit;
  font-weight: 400;
  color: inherit;
  text-transform: none;
}

/* line 50227, app/assets/stylesheets/application.scss */
.cal-event-composer label.cal-settings-field {
  display: grid !important;
  gap: 8px !important;
  flex-direction: unset;
  letter-spacing: 0;
  font-size: inherit;
  font-weight: 400;
  color: inherit;
  text-transform: none;
}

/* line 50238, app/assets/stylesheets/application.scss */
.cal-settings-section {
  margin: 0 16px 12px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

/* line 50247, app/assets/stylesheets/application.scss */
.cal-settings-section > .cal-field-error {
  padding: 0 16px 8px;
}

/* line 50251, app/assets/stylesheets/application.scss */
.cal-settings-section.is-inset {
  margin: 0 16px 12px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

/* line 50261, app/assets/stylesheets/application.scss */
.cal-settings-section.is-inset .cal-settings-item {
  border-radius: 0;
  background: #fff;
}

/* line 50266, app/assets/stylesheets/application.scss */
.cal-settings-section.is-inset .cal-settings-item:hover {
  background: rgba(60, 60, 67, 0.04);
}

/* line 50270, app/assets/stylesheets/application.scss */
.cal-settings-field {
  display: grid !important;
  gap: 8px !important;
  margin: 0;
  padding: 12px 16px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  color: inherit;
}

/* line 50281, app/assets/stylesheets/application.scss */
.cal-settings-field.is-title {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* line 50286, app/assets/stylesheets/application.scss */
.cal-settings-section:first-child {
  margin-top: 8px;
  border-top: 0;
}

/* line 50291, app/assets/stylesheets/application.scss */
.cal-settings-field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cal-composer-muted, #8E8E93);
  text-transform: none;
  letter-spacing: 0;
}

/* line 50302, app/assets/stylesheets/application.scss */
.cal-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;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
  box-sizing: border-box;
  transition: background var(--cal-composer-ease, 180ms ease);
  box-shadow: inset 0 -0.5px 0 rgba(60, 60, 67, 0.18);
}

/* line 50325, app/assets/stylesheets/application.scss */
.cal-settings-item:last-child,
.cal-settings-section > .cal-settings-item:last-of-type {
  box-shadow: none;
}

/* line 50330, app/assets/stylesheets/application.scss */
.cal-settings-item:hover {
  background: rgba(60, 60, 67, 0.04);
  color: inherit;
}

/* line 50335, app/assets/stylesheets/application.scss */
.cal-settings-item.is-invalid {
  background: #fff5f6;
  box-shadow: inset 0 0 0 1px #e11d48;
}

/* line 50340, app/assets/stylesheets/application.scss */
.cal-settings-item.is-control {
  cursor: default;
}

/* line 50344, app/assets/stylesheets/application.scss */
.cal-settings-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #007AFF;
  color: #fff;
  font-size: 14px;
  flex: 0 0 auto;
}

/* line 50357, app/assets/stylesheets/application.scss */
.cal-settings-icon .heroicon,
.cal-settings-icon i,
.cal-settings-icon svg {
  width: 15px;
  height: 15px;
  display: block;
  line-height: 1;
  color: #fff;
  stroke: #fff;
}

/* line 50368, app/assets/stylesheets/application.scss */
.cal-settings-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 50375, app/assets/stylesheets/application.scss */
.cal-settings-copy strong {
  color: var(--cal-composer-ink, #1D1D1F);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

/* line 50382, app/assets/stylesheets/application.scss */
.cal-settings-copy small {
  color: var(--cal-composer-muted, #8E8E93);
  font-size: 12px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 50391, app/assets/stylesheets/application.scss */
.cal-settings-chevron {
  color: #C7C7CC;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

/* line 50398, app/assets/stylesheets/application.scss */
.cal-settings-control {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 160px;
}

/* line 50405, app/assets/stylesheets/application.scss */
.cal-settings-control .cal-select-inline {
  max-width: 160px;
  font-weight: 500;
  font-size: 13px;
  color: var(--cal-composer-muted, #8E8E93);
}

/* line 50412, app/assets/stylesheets/application.scss */
.cal-settings-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

/* line 50420, app/assets/stylesheets/application.scss */
.cal-settings-switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 50429, app/assets/stylesheets/application.scss */
.cal-settings-switch > span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #E9E9EB;
  transition: background var(--cal-composer-ease, 180ms ease);
}

/* line 50439, app/assets/stylesheets/application.scss */
.cal-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.18);
  transition: transform var(--cal-composer-ease, 180ms ease);
}

/* line 50452, app/assets/stylesheets/application.scss */
.cal-settings-switch input:checked + span {
  background: #34C759;
}

/* line 50456, app/assets/stylesheets/application.scss */
.cal-settings-switch input:checked + span::after {
  transform: translateX(20px);
}

/* line 50460, app/assets/stylesheets/application.scss */
.cal-settings-toggle .cal-settings-chevron {
  transition: transform var(--cal-composer-ease, 180ms ease);
}

/* line 50464, app/assets/stylesheets/application.scss */
.cal-settings-toggle.is-on .cal-settings-chevron {
  transform: rotate(180deg);
}

/* line 50468, app/assets/stylesheets/application.scss */
.cal-settings-toggle.is-on {
  background: rgba(0, 122, 255, 0.08);
}

/* line 50472, app/assets/stylesheets/application.scss */
.cal-settings-toggle.is-on .cal-settings-copy strong {
  color: #007AFF;
}

/* line 50476, app/assets/stylesheets/application.scss */
.cal-composer-title {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 14px 0 !important;
  background: transparent !important;
  color: var(--cal-composer-ink, #1D1D1F);
  font-size: 17px !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  outline: none;
  box-shadow: none !important;
  transition: color var(--cal-composer-ease, 180ms ease);
}

/* line 50492, app/assets/stylesheets/application.scss */
.cal-composer-title::placeholder {
  color: #8E8E93;
  font-weight: 400;
}

/* line 50497, app/assets/stylesheets/application.scss */
.cal-composer-title.is-invalid {
  color: #e11d48;
  box-shadow: inset 0 0 0 1px #e11d48 !important;
  background: #fff5f6 !important;
}

/* line 50503, app/assets/stylesheets/application.scss */
.cal-composer-title:focus {
  background: transparent !important;
  box-shadow: none !important;
}

/* line 50508, app/assets/stylesheets/application.scss */
.cal-add-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  min-height: 36px;
  background: #111827;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

/* line 50528, app/assets/stylesheets/application.scss */
.cal-add-btn .heroicon,
.cal-add-btn i,
.cal-add-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* line 50536, app/assets/stylesheets/application.scss */
.cal-add-btn:hover:not(:disabled) {
  background: #1f2937;
}

/* line 50540, app/assets/stylesheets/application.scss */
.cal-add-btn:disabled {
  background: rgba(23, 25, 29, 0.12);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: default;
}

/* line 50547, app/assets/stylesheets/application.scss */
.cal-composer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* line 50554, app/assets/stylesheets/application.scss */
.cal-composer-meta.is-extra {
  margin-top: 2px;
}

/* line 50558, app/assets/stylesheets/application.scss */
.cal-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 0;
  background: #f3f5fa;
  border-radius: 12px;
  padding: 8px 12px;
  min-height: 40px;
  font: inherit;
  font-size: 13px;
  color: #17191d;
  cursor: pointer;
  box-shadow: none;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  transition: background 0.15s ease;
}

/* line 50579, app/assets/stylesheets/application.scss */
.cal-chip:hover {
  background: #e8eaee;
}

/* line 50583, app/assets/stylesheets/application.scss */
.cal-chip.is-invalid {
  background: #fff5f6;
  box-shadow: inset 0 0 0 1px #e11d48;
}

/* line 50588, app/assets/stylesheets/application.scss */
.cal-chip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #5f6368;
}

/* line 50596, app/assets/stylesheets/application.scss */
.cal-chip-value {
  font-weight: 650;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 50603, app/assets/stylesheets/application.scss */
.cal-chip input[type="date"],
.cal-chip input[type="datetime-local"],
.cal-chip input[type="time"] {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  width: auto;
  min-width: 0;
  max-width: 168px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: inherit;
  text-transform: none;
  letter-spacing: 0;
}

/* line 50620, app/assets/stylesheets/application.scss */
.cal-chip-time .cal-chip-value {
  font-weight: 650;
  max-width: 180px;
}

/* Rounded in-app date/time picker — matches calendar mini + event composer */
/* line 50626, app/assets/stylesheets/application.scss */
.perk-dt-popover {
  position: fixed;
  z-index: 12000;
  width: min(300px, calc(100vw - 24px));
  animation: perk-dt-in 0.16s ease;
}

@keyframes perk-dt-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* line 50644, app/assets/stylesheets/application.scss */
.perk-dt-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.16);
  padding: 14px 14px 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* line 50657, app/assets/stylesheets/application.scss */
.perk-dt-kicker {
  margin: 0 0 8px;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #5f6368;
}

/* line 50666, app/assets/stylesheets/application.scss */
.perk-dt-time-label {
  flex: 0 0 auto;
}

/* line 50670, app/assets/stylesheets/application.scss */
.perk-dt-head {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  padding: 0 2px;
}

/* line 50679, app/assets/stylesheets/application.scss */
.perk-dt-head strong {
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #17191d;
}

/* line 50687, app/assets/stylesheets/application.scss */
.perk-dt-nav {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5f6368;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

/* line 50700, app/assets/stylesheets/application.scss */
.perk-dt-nav:hover {
  background: #f3f5fa;
  color: #17191d;
}

/* line 50705, app/assets/stylesheets/application.scss */
.perk-dt-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-bottom: 2px;
  padding: 0 0 4px;
}

/* line 50713, app/assets/stylesheets/application.scss */
.perk-dt-weekday {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa0a6;
  padding: 2px 0;
}

/* line 50723, app/assets/stylesheets/application.scss */
.perk-dt-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0;
}

/* line 50729, app/assets/stylesheets/application.scss */
.perk-dt-day {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #17191d;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

/* line 50745, app/assets/stylesheets/application.scss */
.perk-dt-day:hover {
  background: #f3f5fa;
}

/* line 50749, app/assets/stylesheets/application.scss */
.perk-dt-day.is-outside {
  color: #c0c4cc;
  font-weight: 400;
}

/* line 50754, app/assets/stylesheets/application.scss */
.perk-dt-day.is-outside:hover {
  background: #f8f9fa;
  color: #9aa0a6;
}

/* line 50759, app/assets/stylesheets/application.scss */
.perk-dt-day.is-today {
  background: #FF3B30;
  color: #fff;
  font-weight: 600;
}

/* line 50765, app/assets/stylesheets/application.scss */
.perk-dt-day.is-today:hover {
  background: #E0352B;
  color: #fff;
}

/* line 50770, app/assets/stylesheets/application.scss */
.perk-dt-day.is-selected {
  background: #007AFF;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

/* line 50777, app/assets/stylesheets/application.scss */
.perk-dt-day.is-selected:hover {
  background: #0066D6;
  color: #fff;
}

/* line 50782, app/assets/stylesheets/application.scss */
.perk-dt-day.is-selected.is-today {
  background: #FF3B30;
  box-shadow: none;
}

/* line 50787, app/assets/stylesheets/application.scss */
.perk-dt-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 12px;
  background: #f3f5fa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #5f6368;
}

/* line 50803, app/assets/stylesheets/application.scss */
.perk-dt-time select {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #17191d;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: 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");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 10px 7px;
  padding: 2px 18px 2px 4px;
  max-width: 120px;
}

/* line 50822, app/assets/stylesheets/application.scss */
.perk-dt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 2px;
}

/* line 50831, app/assets/stylesheets/application.scss */
.perk-dt-btn {
  border: 0;
  border-radius: 12px;
  min-height: 36px;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* line 50843, app/assets/stylesheets/application.scss */
.perk-dt-btn.is-ghost {
  background: transparent;
  color: #5f6368;
  padding-left: 10px;
  padding-right: 10px;
}

/* line 50850, app/assets/stylesheets/application.scss */
.perk-dt-btn.is-ghost:hover {
  background: #f3f5fa;
  color: #17191d;
}

/* line 50855, app/assets/stylesheets/application.scss */
.perk-dt-btn.is-accent {
  background: linear-gradient(145deg, #6b8cff 0%, #3d6bfd 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(61, 107, 253, 0.22);
}

/* line 50861, app/assets/stylesheets/application.scss */
.perk-dt-btn.is-accent:hover {
  background: linear-gradient(145deg, #5f82ff 0%, #2f57d9 100%);
}

/* line 50865, app/assets/stylesheets/application.scss */
.tw-date-chip {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

/* line 50874, app/assets/stylesheets/application.scss */
.tw-date-chip span {
  font-weight: 650;
}

/* line 50878, app/assets/stylesheets/application.scss */
.cal-chip input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #3d6bfd;
  cursor: pointer;
}

/* line 50886, app/assets/stylesheets/application.scss */
.cal-chip-check {
  gap: 10px;
}

/* line 50890, app/assets/stylesheets/application.scss */
.cal-chip-toggle {
  gap: 8px;
  padding: 8px 16px 8px 14px;
}

/* line 50895, app/assets/stylesheets/application.scss */
.cal-chip-toggle .heroicon,
.cal-chip-toggle i,
.cal-chip-toggle svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin: 0;
  display: block;
  transition: transform 0.18s ease;
}

/* line 50906, app/assets/stylesheets/application.scss */
.cal-chip-toggle.is-on {
  background: rgba(61, 107, 253, 0.12);
  color: #2f57d9;
}

/* line 50911, app/assets/stylesheets/application.scss */
.cal-chip-toggle.is-on .heroicon,
.cal-chip-toggle.is-on i,
.cal-chip-toggle.is-on svg {
  transform: rotate(180deg);
}

/* line 50917, app/assets/stylesheets/application.scss */
.cal-chip-select {
  padding-right: 12px;
  gap: 10px;
}

/* line 50922, app/assets/stylesheets/application.scss */
.cal-repeat-controls {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

/* line 50930, app/assets/stylesheets/application.scss */
.cal-chip-repeat {
  flex: 0 1 auto;
  min-width: 0;
}

/* line 50935, app/assets/stylesheets/application.scss */
.cal-repeat-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f5fa;
  box-sizing: border-box;
}

/* line 50948, app/assets/stylesheets/application.scss */
.cal-repeat-custom-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #5f6368;
}

/* line 50956, app/assets/stylesheets/application.scss */
.cal-repeat-custom-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 8px 4px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 50967, app/assets/stylesheets/application.scss */
.cal-repeat-count {
  width: 3.2rem;
  min-width: 3.2rem;
  max-width: 3.2rem;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
  padding: 4px 0 !important;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: inherit;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* line 50985, app/assets/stylesheets/application.scss */
.cal-repeat-count::-webkit-outer-spin-button,
.cal-repeat-count::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* line 50991, app/assets/stylesheets/application.scss */
.cal-repeat-controls .cal-select-inline {
  max-width: 11rem;
}

/* line 50995, app/assets/stylesheets/application.scss */
.cal-repeat-custom-stepper .cal-select-inline,
.cal-repeat-unit {
  max-width: 7rem;
  min-width: 0;
}

/* line 51001, app/assets/stylesheets/application.scss */
.cal-select-inline {
  border: 0 !important;
  background: transparent !important;
  padding: 2px 18px 2px 4px !important;
  max-width: 140px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #17191d;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: 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") !important;
  background-repeat: no-repeat !important;
  background-position: right 2px center !important;
  background-size: 10px 7px !important;
  text-align: left;
}

/* line 51021, app/assets/stylesheets/application.scss */
.cal-composer-avatar-stack {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* line 51027, app/assets/stylesheets/application.scss */
.cal-composer-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  margin-left: -6px;
  box-shadow: 0 0 0 2px #fff;
  background: #e8eaee;
  color: #5f6368;
  font-size: 10px;
  font-weight: 700;
}

/* line 51042, app/assets/stylesheets/application.scss */
.cal-composer-avatar:first-child {
  margin-left: 0;
}

/* line 51046, app/assets/stylesheets/application.scss */
.cal-composer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 51053, app/assets/stylesheets/application.scss */
.cal-composer-avatar.is-more {
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 9px;
}

/* line 51059, app/assets/stylesheets/application.scss */
.cal-composer-extra,
.cal-settings-extra {
  display: grid;
  gap: 0;
  padding: 0;
  border-top: 0;
}

/* line 51067, app/assets/stylesheets/application.scss */
.cal-composer-extra[hidden],
.cal-settings-extra[hidden] {
  display: none !important;
}

/* line 51072, app/assets/stylesheets/application.scss */
.cal-settings-extra > .cal-composer-photo {
  margin: 12px 16px 0;
}

/* line 51076, app/assets/stylesheets/application.scss */
.cal-settings-extra > .cal-event-photo-remove {
  margin: 6px 16px 0;
  justify-self: start;
}

/* line 51081, app/assets/stylesheets/application.scss */
.cal-settings-extra > .cal-composer-invitees {
  margin: 12px 16px 0;
}

/* line 51085, app/assets/stylesheets/application.scss */
.cal-settings-extra > .cal-settings-section.is-inset {
  margin: 12px 10px 0;
}

/* line 51089, app/assets/stylesheets/application.scss */
.cal-settings-extra > .cal-repeat-custom {
  margin: 8px 16px 0;
  background: var(--cal-composer-field, #F2F2F7);
}

/* line 51094, app/assets/stylesheets/application.scss */
.cal-settings-extra > .cal-settings-field {
  border-top: 1px solid var(--cal-composer-line, rgba(30, 36, 51, 0.08));
}

/* line 51098, app/assets/stylesheets/application.scss */
.cal-composer-photo {
  height: 140px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* line 51104, app/assets/stylesheets/application.scss */
.cal-composer-photo:not(:has(img)) .cal-event-photo-badge {
  display: none;
}

/* line 51108, app/assets/stylesheets/application.scss */
.cal-composer-invitees {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: var(--cal-composer-field, #F2F2F7);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(60, 60, 67, 0.04);
}

/* line 51118, app/assets/stylesheets/application.scss */
.cal-composer-invitees-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 51125, app/assets/stylesheets/application.scss */
.cal-composer-invitees-head strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--cal-composer-ink, #1D1D1F);
}

/* line 51131, app/assets/stylesheets/application.scss */
.cal-composer-field {
  display: grid !important;
  gap: 6px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

/* line 51139, app/assets/stylesheets/application.scss */
.cal-field-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #6b7280;
}

/* line 51147, app/assets/stylesheets/application.scss */
.cal-composer-field input,
.cal-composer-field textarea,
.cal-settings-field input,
.cal-settings-field textarea {
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--cal-composer-field, #F2F2F7) !important;
  padding: 13px 14px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--cal-composer-ink, #1D1D1F);
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.08) !important;
  transition: background var(--cal-composer-ease, 180ms ease), box-shadow var(--cal-composer-ease, 180ms ease);
}

/* line 51162, app/assets/stylesheets/application.scss */
.cal-composer-field input:focus,
.cal-composer-field textarea:focus,
.cal-settings-field input:focus,
.cal-settings-field textarea:focus {
  background: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(0, 122, 255, 0.35) !important;
  outline: none;
}

/* line 51171, app/assets/stylesheets/application.scss */
.cal-composer-field textarea,
.cal-settings-field textarea {
  resize: vertical;
  min-height: 2.6em;
  line-height: 1.4;
}

/* line 51178, app/assets/stylesheets/application.scss */
.cal-sheet-card.is-form:has(.cal-event-composer) .cal-sheet-actions,
.cal-center-modal-card.is-form:has(.cal-event-composer) .cal-sheet-actions {
  padding: 8px 16px 4px;
  border-top: 1px solid var(--cal-composer-line, rgba(30, 36, 51, 0.08));
}

/* line 51184, app/assets/stylesheets/application.scss */
.cal-center-modal:has(.cal-event-composer) .cal-sheet-backdrop,
.cal-sheet:has(.cal-event-composer) .cal-sheet-backdrop {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* line 51191, 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 51202, 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 51211, 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 51227, app/assets/stylesheets/application.scss */
.cal-ios-row:last-child {
  border-bottom: 0;
}

/* line 51231, app/assets/stylesheets/application.scss */
.cal-ios-row.is-stack {
  flex-direction: column !important;
  align-items: stretch;
}

/* line 51236, app/assets/stylesheets/application.scss */
.cal-ios-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 51243, app/assets/stylesheets/application.scss */
.cal-ios-row-main strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 51248, 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 51263, app/assets/stylesheets/application.scss */
.cal-ios-row.cal-check {
  justify-content: space-between;
}

/* line 51267, app/assets/stylesheets/application.scss */
.cal-ios-row.cal-check input[type="checkbox"] {
  width: 48px;
  height: 28px;
  accent-color: #34c759;
}

/* line 51273, app/assets/stylesheets/application.scss */
.cal-ios-empty {
  color: #8e8e93;
  font-size: 13px;
  font-weight: 500;
}

/* line 51279, app/assets/stylesheets/application.scss */
.cal-invitee-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 51285, 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 51300, app/assets/stylesheets/application.scss */
.cal-invitee-chip.is-static {
  cursor: default;
}

/* line 51304, app/assets/stylesheets/application.scss */
.cal-invitee-chip .cal-share-avatar {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

/* line 51310, app/assets/stylesheets/application.scss */
.cal-invitee-chip i {
  color: #8e8e93;
  font-size: 11px;
}

/* line 51315, app/assets/stylesheets/application.scss */
.cal-invitee-role {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #8e8e93;
}

/* line 51322, 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 51331, app/assets/stylesheets/application.scss */
.cal-guest-list {
  flex-direction: column;
  width: 100%;
}

/* line 51336, app/assets/stylesheets/application.scss */
.cal-guest-row,
.cal-proposal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* line 51344, app/assets/stylesheets/application.scss */
.cal-guest-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

/* line 51352, app/assets/stylesheets/application.scss */
.cal-guest-meta strong {
  font-size: 14px;
  font-weight: 650;
  color: #111;
}

/* line 51358, app/assets/stylesheets/application.scss */
.cal-guest-meta span {
  font-size: 12px;
  color: #8e8e93;
  font-weight: 500;
}

/* line 51364, app/assets/stylesheets/application.scss */
.cal-rsvp-pill {
  flex-shrink: 0;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2f2f7;
  color: #636366;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

/* line 51378, app/assets/stylesheets/application.scss */
.cal-rsvp-pill.is-accepted {
  background: #e7f6ee;
  color: #1f7a4d;
}

/* line 51383, app/assets/stylesheets/application.scss */
.cal-rsvp-pill.is-declined {
  background: #fdecec;
  color: #c0392b;
}

/* line 51388, app/assets/stylesheets/application.scss */
.cal-rsvp-pill.is-tentative,
.cal-rsvp-pill.is-proposed {
  background: #eef5ff;
  color: #1d4f91;
}

/* line 51394, app/assets/stylesheets/application.scss */
.cal-rsvp {
  margin-top: 12px;
}

/* line 51398, app/assets/stylesheets/application.scss */
.cal-rsvp-status {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: #3a3a3c;
}

/* line 51405, app/assets/stylesheets/application.scss */
.cal-rsvp-status.is-accepted {
  color: #2e9e6b;
}

/* line 51406, app/assets/stylesheets/application.scss */
.cal-rsvp-status.is-declined {
  color: #d94a4a;
}

/* line 51407, app/assets/stylesheets/application.scss */
.cal-rsvp-status.is-tentative,
.cal-rsvp-status.is-proposed {
  color: #2f74e6;
}

/* line 51410, 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 51425, 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 51432, 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 51439, 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 51448, app/assets/stylesheets/application.scss */
.cal-suggest-time {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin-top: 4px;
}

/* line 51457, app/assets/stylesheets/application.scss */
.cal-suggest-time .cal-suggest-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
}

/* line 51464, app/assets/stylesheets/application.scss */
.cal-text-btn.is-small {
  padding: 6px 10px;
  font-size: 12px;
}

/* line 51469, app/assets/stylesheets/application.scss */
.cal-friend-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}

/* line 51476, 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 51487, app/assets/stylesheets/application.scss */
.cal-friend-pick i {
  margin-left: auto;
  color: #c7c7cc;
}

/* line 51492, app/assets/stylesheets/application.scss */
.cal-friend-pick.is-on {
  background: #eef6ff;
}

/* line 51496, app/assets/stylesheets/application.scss */
.cal-friend-pick.is-on i {
  color: #007aff;
}

/* line 51500, app/assets/stylesheets/application.scss */
.cal-sheet-actions,
.cal-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* line 51508, 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 51520, app/assets/stylesheets/application.scss */
.cal-primary-btn {
  background: var(--cal-accent, #FF3B30);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

/* line 51527, 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 51540, app/assets/stylesheets/application.scss */
.cal-choice-overlay {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.42);
}

/* line 51551, app/assets/stylesheets/application.scss */
.cal-choice-card {
  width: min(100%, 360px);
  background: #fff;
  color: var(--perk-ink, #111);
  border-radius: 18px;
  padding: 20px 18px 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

/* line 51560, app/assets/stylesheets/application.scss */
.cal-choice-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

/* line 51567, app/assets/stylesheets/application.scss */
.cal-choice-card p {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* line 51575, app/assets/stylesheets/application.scss */
.cal-choice-card button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 8px;
  border: 0;
  border-top: 1px solid #f3f4f6;
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

/* line 51588, app/assets/stylesheets/application.scss */
.cal-choice-card button.is-danger {
  color: #d14343;
}

/* line 51592, app/assets/stylesheets/application.scss */
.cal-choice-card button.is-muted {
  color: #6b7280;
  font-weight: 500;
}

/* line 51597, app/assets/stylesheets/application.scss */
.cal-share-people-wrap {
  margin-top: 18px;
}

/* line 51601, 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 51611, app/assets/stylesheets/application.scss */
.cal-share-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

/* line 51617, 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 51632, app/assets/stylesheets/application.scss */
.cal-share-person:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 51637, 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 51649, app/assets/stylesheets/application.scss */
.cal-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 51655, app/assets/stylesheets/application.scss */
.cal-share-hint,
.cal-share-status {
  margin: 10px 0 0;
  font-size: 13px;
  color: #8e8e93;
}

/* line 51662, app/assets/stylesheets/application.scss */
.cal-share-status {
  color: #17191d;
  font-weight: 600;
}

/* line 51668, 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 51679, 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 51688, 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 51702, app/assets/stylesheets/application.scss */
.cal-event-photo.is-view {
  cursor: default;
  margin-bottom: 14px;
}

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

/* line 51714, 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 51726, app/assets/stylesheets/application.scss */
.cal-event-photo-empty i {
  font-size: 28px;
  opacity: 0.45;
  color: #17191d;
}

/* line 51732, 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 51748, app/assets/stylesheets/application.scss */
.cal-event-photo-remove {
  align-self: flex-start;
}

/* line 51752, app/assets/stylesheets/application.scss */
.cal-share-preview {
  margin: 4px 0 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f4f5f7;
}

/* line 51759, app/assets/stylesheets/application.scss */
.cal-share-preview.is-event {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 51765, 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 51778, 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 51786, 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 51794, app/assets/stylesheets/application.scss */
.cal-share-preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* line 51801, app/assets/stylesheets/application.scss */
.cal-share-preview-head .cal-share-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 14px;
}

/* line 51808, app/assets/stylesheets/application.scss */
.cal-share-preview-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  height: 56px;
}

/* line 51815, app/assets/stylesheets/application.scss */
.cal-share-preview-grid span {
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.16);
}

/* line 51820, 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 51825, app/assets/stylesheets/application.scss */
.cal-share-people-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 51831, app/assets/stylesheets/application.scss */
.cal-share-person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 2px;
}

/* line 51838, app/assets/stylesheets/application.scss */
.cal-share-person-row > .cal-share-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 14px;
}

/* line 51845, app/assets/stylesheets/application.scss */
.cal-share-person-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #17191d;
}

/* line 51853, 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 51866, app/assets/stylesheets/application.scss */
.cal-share-send.is-sent,
.cal-share-send:disabled {
  background: #e5e7eb;
  color: #8e8e93;
  cursor: default;
}

/* line 51873, app/assets/stylesheets/application.scss */
.cal-share-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* line 51878, app/assets/stylesheets/application.scss */
.perk-chats.is-calendar-open .perk-chats-main {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 51883, 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 51888, 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 51901, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-shell {
  grid-template-columns: 1fr;
  height: 100%;
}

/* line 51906, 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 51915, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-chat-close {
  display: inline-flex;
}

/* line 51919, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-main {
  padding: 10px 12px 16px;
  overflow: auto;
}

/* line 51924, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-toolbar {
  padding: 8px 10px;
  border-radius: 16px;
}

/* line 51929, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-board {
  padding: 10px;
  border-radius: 16px;
}

/* line 51934, 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 51942, app/assets/stylesheets/application.scss */
.calendar-hub.is-in-chat .calendar-hub-month.is-compact .calendar-hub-grid {
  gap: 2px;
}

/* line 51946, 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 51958, 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 51963, 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 51968, app/assets/stylesheets/application.scss */
  .calendar-hub-cell-chip {
    font-size: 10px;
    padding: 1px 2px;
  }
}

@media (max-width: 960px) {
  /* line 51975, app/assets/stylesheets/application.scss */
  .calendar-hub-shell {
    grid-template-columns: 1fr;
  }
  /* line 51979, app/assets/stylesheets/application.scss */
  .calendar-hub-aside {
    display: none;
  }
  /* line 51983, app/assets/stylesheets/application.scss */
  .calendar-hub-compose-fallback {
    display: inline-flex;
  }
  /* line 51987, app/assets/stylesheets/application.scss */
  .cal-search {
    max-width: none;
  }
  /* line 51991, app/assets/stylesheets/application.scss */
  .calendar-hub-toolbar-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  /* line 51997, app/assets/stylesheets/application.scss */
  .calendar-hub-main {
    padding: 8px 10px 12px;
  }
  /* line 52001, app/assets/stylesheets/application.scss */
  .calendar-hub-board {
    padding: 0;
    border-radius: 0;
  }
  /* line 52006, app/assets/stylesheets/application.scss */
  .calendar-hub-agenda-day {
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    gap: 12px;
  }
  /* line 52011, app/assets/stylesheets/application.scss */
  .calendar-hub-agenda-event {
    grid-template-columns: 10px minmax(72px, 96px) minmax(0, 1fr);
    column-gap: 10px;
  }
  /* line 52016, app/assets/stylesheets/application.scss */
  .cal-day-modal {
    align-items: flex-end;
    padding: 0;
  }
  /* line 52021, 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 52029, app/assets/stylesheets/application.scss */
  .cal-day-modal-card .cal-sheet-handle {
    display: flex;
  }
  /* line 52033, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich {
    padding: 4px 2px 6px;
    border-radius: 0;
  }
  /* line 52038, app/assets/stylesheets/application.scss */
  .calendar-hub-cell.is-rich .calendar-hub-cell-events {
    display: flex;
  }
  /* line 52042, 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 52047, app/assets/stylesheets/application.scss */
  .calendar-hub-cell-date {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  /* line 52053, app/assets/stylesheets/application.scss */
  .calendar-hub-week-scroll {
    border-radius: 0;
  }
  /* line 52057, app/assets/stylesheets/application.scss */
  .calendar-hub-week-block-time,
.calendar-hub-week-block-video {
    display: none;
  }
}

/* Companion hubs — Sleep Early, Drink Water, Focus, and the rest of last month's iOS apps */
/* line 52064, app/assets/stylesheets/application.scss */
.companion-hub {
  z-index: 28;
  background: #fff;
  color: #17191d;
  display: flex;
  flex-direction: column;
}

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

/* line 52077, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] {
  background: linear-gradient(180deg, #090e24 0%, #261a47 100%);
  color: #fff;
}

/* line 52082, app/assets/stylesheets/application.scss */
.companion-hub-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 52089, 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 52098, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-hub-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* line 52102, app/assets/stylesheets/application.scss */
.companion-hub-head strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 52108, 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 52118, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-icon-btn {
  background: rgba(255, 255, 255, 0.1);
}

/* line 52122, 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 52131, 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 52141, 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 52146, app/assets/stylesheets/application.scss */
.companion-hero-night strong,
.companion-timer {
  font-size: 28px;
  letter-spacing: -0.04em;
}

/* line 52152, app/assets/stylesheets/application.scss */
.companion-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin: 0;
}

/* line 52160, app/assets/stylesheets/application.scss */
.companion-primary,
.companion-ghost {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
}

/* line 52169, app/assets/stylesheets/application.scss */
.companion-primary {
  background: #17191d;
  color: #fff;
}

/* line 52174, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-primary {
  background: #fff;
  color: #17191d;
}

/* line 52179, app/assets/stylesheets/application.scss */
.companion-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(23, 25, 29, 0.12);
}

/* line 52185, app/assets/stylesheets/application.scss */
.companion-hub[data-app="sleep"] .companion-ghost {
  border-color: rgba(255, 255, 255, 0.2);
}

/* line 52189, 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 52199, 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 52205, app/assets/stylesheets/application.scss */
.companion-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* line 52212, app/assets/stylesheets/application.scss */
.companion-form-stack {
  flex-direction: column;
  align-items: stretch;
}

/* line 52217, app/assets/stylesheets/application.scss */
.companion-form .companion-input {
  flex: 1 1 140px;
}

/* line 52221, app/assets/stylesheets/application.scss */
.companion-chips,
.companion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 52228, 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 52238, app/assets/stylesheets/application.scss */
.companion-chip.is-on,
.companion-card-btn.is-on {
  background: #17191d;
  color: #fff;
  border-color: transparent;
}

/* line 52245, app/assets/stylesheets/application.scss */
.companion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 52254, 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 52263, app/assets/stylesheets/application.scss */
.companion-list li.is-empty,
.companion-empty {
  opacity: 0.65;
}

/* line 52268, app/assets/stylesheets/application.scss */
.companion-list button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

/* line 52275, 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 52286, app/assets/stylesheets/application.scss */
.companion-progress strong {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}

/* line 52292, app/assets/stylesheets/application.scss */
.sticky-grid,
.companion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

/* line 52299, 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 52307, app/assets/stylesheets/application.scss */
.sticky-card button {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 52316, app/assets/stylesheets/application.scss */
.companion-card-btn {
  text-align: left;
  border: 0;
  cursor: pointer;
  width: 100%;
}

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

/* line 52329, 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 52339, app/assets/stylesheets/application.scss */
.companion-map {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 16px;
}

/* line 52346, 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 52361, app/assets/stylesheets/application.scss */
.flash-card.is-flipped {
  background: #17191d;
  color: #fff;
}

/* line 52366, app/assets/stylesheets/application.scss */
.companion-status {
  font-size: 13px;
  opacity: 0.75;
}

/* line 52371, app/assets/stylesheets/application.scss */
.companion-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 720px) {
  /* line 52378, app/assets/stylesheets/application.scss */
  .kanban {
    grid-template-columns: 1fr;
  }
}

/* line 52383, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] {
  background: #fff;
}

/* line 52387, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] .companion-hub-head {
  display: none;
}

/* line 52391, app/assets/stylesheets/application.scss */
.companion-hub[data-app="workplace"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
  position: relative;
}

/* Chat → Add tasks: modal only (no Work space shell). Remounted on body. */
/* line 52399, app/assets/stylesheets/application.scss */
.companion-hub.is-compose-only {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1400;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  pointer-events: none;
  box-shadow: none;
  overflow: visible;
}

/* line 52411, app/assets/stylesheets/application.scss */
.companion-hub.is-compose-only .companion-hub-shell,
.companion-hub.is-compose-only .companion-hub-body {
  height: 100%;
  min-height: 0;
  background: transparent;
  pointer-events: none;
  overflow: visible;
}

/* line 52420, app/assets/stylesheets/application.scss */
.companion-hub.is-compose-only .companion-hub-head {
  display: none !important;
}

/* Never show Work space landing/team under the compose modal. */
/* line 52425, app/assets/stylesheets/application.scss */
.companion-hub.is-compose-only .companion-hub-body > :not(.tw-sheet-layer) {
  display: none !important;
}

/* line 52429, app/assets/stylesheets/application.scss */
.companion-hub.is-compose-only .tw-sheet-underlay {
  display: none !important;
}

/* line 52433, app/assets/stylesheets/application.scss */
.companion-hub.is-compose-only .tw-sheet-layer {
  pointer-events: auto;
  position: fixed;
  inset: 0;
  z-index: 1;
}

/* line 52442, app/assets/stylesheets/application.scss */
.companion-hub[data-app="wiki"] {
  background: #f5f5f7;
}

/* line 52446, app/assets/stylesheets/application.scss */
.companion-hub[data-app="wiki"] .companion-hub-head {
  display: none;
}

/* line 52450, app/assets/stylesheets/application.scss */
.companion-hub[data-app="wiki"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
  position: relative;
}

/* line 52457, app/assets/stylesheets/application.scss */
.wiki-app {
  --wiki-ink: #1d1d1f;
  --wiki-muted: #6e6e73;
  --wiki-faint: #86868b;
  --wiki-line: rgba(0, 0, 0, 0.06);
  --wiki-line-strong: rgba(0, 0, 0, 0.1);
  --wiki-soft: #f5f5f7;
  --wiki-soft-2: #efeff4;
  --wiki-surface: #ffffff;
  --wiki-accent: #0071e3;
  --wiki-accent-hover: #0077ed;
  --wiki-accent-soft: rgba(0, 113, 227, 0.08);
  --wiki-rail: #f3f7ff;
  --wiki-danger: #ff3b30;
  --wiki-radius: 12px;
  --wiki-radius-sm: 8px;
  --wiki-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  color: var(--wiki-ink);
  background: radial-gradient(90% 70% at 100% -8%, rgba(0, 113, 227, 0.12), transparent 48%), radial-gradient(70% 55% at 0% 0%, rgba(175, 82, 222, 0.08), transparent 46%), radial-gradient(60% 45% at 70% 100%, rgba(52, 199, 89, 0.07), transparent 50%), var(--wiki-soft);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

/* line 52489, app/assets/stylesheets/application.scss */
.wiki-app.is-home {
  overflow: hidden;
}

/* line 52493, app/assets/stylesheets/application.scss */
.wiki-app.is-workspace {
  flex-direction: row;
  background: var(--wiki-surface);
}

/* line 52498, app/assets/stylesheets/application.scss */
.wiki-top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.35rem 0.55rem;
  background: transparent;
}

/* line 52509, app/assets/stylesheets/application.scss */
.wiki-top.is-chrome {
  min-height: 3.1rem;
}

/* line 52513, app/assets/stylesheets/application.scss */
.wiki-top.is-command {
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--wiki-line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  overflow: visible;
}

/* line 52523, app/assets/stylesheets/application.scss */
.wiki-top-spacer {
  flex: 1;
}

/* line 52527, app/assets/stylesheets/application.scss */
.wiki-top-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

/* line 52534, app/assets/stylesheets/application.scss */
.wiki-top-brand.is-compact {
  align-items: center;
  flex: 0 0 auto;
}

/* line 52539, app/assets/stylesheets/application.scss */
.wiki-top-brand h1,
.wiki-home-intro h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--wiki-ink);
}

/* line 52549, app/assets/stylesheets/application.scss */
.wiki-top-brand.is-compact h1 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

/* line 52554, app/assets/stylesheets/application.scss */
.wiki-top-brand p,
.wiki-home-intro p {
  margin: 0.35rem 0 0;
  color: var(--wiki-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 400;
}

/* line 52563, app/assets/stylesheets/application.scss */
.wiki-home-intro {
  margin: 0.15rem 0 1.15rem;
}

/* line 52567, app/assets/stylesheets/application.scss */
.wiki-home-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

/* line 52576, app/assets/stylesheets/application.scss */
.wiki-home-lede {
  margin: 0;
  color: var(--wiki-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 28rem;
}

/* line 52584, app/assets/stylesheets/application.scss */
.wiki-brand-mark {
  display: none;
}

/* line 52588, app/assets/stylesheets/application.scss */
.wiki-top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* line 52596, app/assets/stylesheets/application.scss */
.wiki-btn {
  appearance: none;
  border: 1px solid transparent;
  background: var(--wiki-surface);
  color: var(--wiki-ink);
  border-radius: 980px;
  padding: 0.48rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 0 0 1px var(--wiki-line-strong);
}

/* line 52613, app/assets/stylesheets/application.scss */
.wiki-btn.is-compact {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

/* line 52618, app/assets/stylesheets/application.scss */
.wiki-btn.is-primary {
  background: var(--wiki-accent);
  border-color: var(--wiki-accent);
  color: #fff;
  box-shadow: none;
}

/* line 52625, app/assets/stylesheets/application.scss */
.wiki-btn.is-primary:hover {
  background: var(--wiki-accent-hover);
  border-color: var(--wiki-accent-hover);
}

/* line 52630, app/assets/stylesheets/application.scss */
.wiki-btn.is-soft {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  color: var(--wiki-ink);
}

/* line 52636, app/assets/stylesheets/application.scss */
.wiki-btn.is-soft:hover {
  background: rgba(0, 0, 0, 0.07);
}

/* line 52640, app/assets/stylesheets/application.scss */
.wiki-btn.is-ghost {
  background: transparent;
  box-shadow: none;
}

/* line 52645, app/assets/stylesheets/application.scss */
.wiki-btn.is-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 52649, app/assets/stylesheets/application.scss */
.wiki-btn.is-danger {
  border-color: rgba(255, 59, 48, 0.22);
  color: var(--wiki-danger);
  background: #fff5f5;
  box-shadow: none;
}

/* line 52656, app/assets/stylesheets/application.scss */
.wiki-btn:focus-visible,
.wiki-icon-btn:focus-visible,
.wiki-filter-pill:focus-visible,
.wiki-space-row-main:focus-visible,
.wiki-recent-row:focus-visible,
.wiki-text-link:focus-visible,
.wiki-search-hit:focus-visible,
.wiki-tree-item:focus-visible,
.wiki-page-tile:focus-visible,
.wiki-page-row:focus-visible,
.wiki-space-tile-main:focus-visible,
.wiki-continue-card:focus-visible,
.wiki-quick-action:focus-visible {
  outline: 2px solid var(--wiki-accent);
  outline-offset: 2px;
}

/* line 52673, app/assets/stylesheets/application.scss */
.wiki-icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wiki-muted);
  width: 2rem;
  height: 2rem;
  border-radius: var(--wiki-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

/* line 52688, app/assets/stylesheets/application.scss */
.wiki-icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--wiki-ink);
}

/* line 52693, app/assets/stylesheets/application.scss */
.wiki-banner {
  margin: 0 1rem 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--wiki-radius);
  background: var(--wiki-accent-soft);
  color: #003d99;
  font-size: 0.84rem;
  border: 1px solid rgba(0, 113, 227, 0.12);
}

/* line 52703, app/assets/stylesheets/application.scss */
.wiki-banner.is-offline {
  background: var(--wiki-accent-soft);
  color: #003d99;
}

/* line 52708, app/assets/stylesheets/application.scss */
.wiki-banner.is-error {
  background: #fff2f1;
  color: #9b1c1c;
  border-color: rgba(255, 59, 48, 0.22);
}

/* line 52714, app/assets/stylesheets/application.scss */
.wiki-workspace .wiki-banner,
.wiki-app.is-workspace .wiki-banner {
  margin: 0.75rem 1.1rem 0;
}

/* line 52719, app/assets/stylesheets/application.scss */
.wiki-text-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wiki-accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.15rem 0.1rem;
  overflow: visible;
}

/* line 52738, app/assets/stylesheets/application.scss */
.wiki-help,
.wiki-view-only,
.wiki-role-badge {
  color: var(--wiki-muted);
  font-size: 0.84rem;
}

/* line 52745, app/assets/stylesheets/application.scss */
.wiki-empty-mark {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: linear-gradient(145deg, #e8f1ff, #f3e9ff);
  color: var(--wiki-accent);
}

/* line 52757, app/assets/stylesheets/application.scss */
.wiki-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 1.1rem 0 0.35rem;
}

/* line 52765, app/assets/stylesheets/application.scss */
.wiki-empty.is-soft,
.wiki-empty.is-inline {
  padding: 0.85rem 0.25rem;
  color: var(--wiki-muted);
}

/* line 52771, app/assets/stylesheets/application.scss */
.wiki-empty-hero {
  text-align: center;
  max-width: 26rem;
  margin: 3.5rem auto 1rem;
  padding: 0.5rem;
}

/* line 52778, app/assets/stylesheets/application.scss */
.wiki-empty-hero h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  font-weight: 700;
}

/* line 52785, app/assets/stylesheets/application.scss */
.wiki-empty-hero p {
  margin: 0.55rem 0 0;
  color: var(--wiki-muted);
  line-height: 1.55;
}

/* line 52791, app/assets/stylesheets/application.scss */
.wiki-starter-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.35rem;
}

/* line 52799, app/assets/stylesheets/application.scss */
.wiki-starter-inline button {
  appearance: none;
  border: 0;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 980px;
  padding: 0.42rem 0.85rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wiki-ink);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

/* line 52813, app/assets/stylesheets/application.scss */
.wiki-starter-inline button:hover {
  background: var(--wiki-accent-soft);
  color: var(--wiki-accent);
}

/* line 52818, app/assets/stylesheets/application.scss */
.wiki-home-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.85rem 1rem 1.75rem;
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* line 52829, app/assets/stylesheets/application.scss */
.wiki-home-body.is-board {
  max-width: none;
  padding: 0.85rem 1rem 1.75rem;
}

/* line 52834, app/assets/stylesheets/application.scss */
.wiki-home-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1rem 1.15rem;
  align-items: start;
  width: 100%;
}

/* line 52842, app/assets/stylesheets/application.scss */
.wiki-home-main {
  min-width: 0;
}

/* line 52846, app/assets/stylesheets/application.scss */
.wiki-home-side {
  position: sticky;
  top: 0.5rem;
  display: grid;
  gap: 1rem;
  min-width: 0;
  overflow: visible;
}

/* line 52855, app/assets/stylesheets/application.scss */
.wiki-filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  margin: 0 0 1.35rem;
  padding: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(0, 0, 0, 0.045);
  border-radius: 10px;
  width: 100%;
}

/* line 52868, app/assets/stylesheets/application.scss */
.wiki-filter-row.is-tabs {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
  max-width: 100%;
}

/* line 52875, app/assets/stylesheets/application.scss */
.wiki-filter-row::-webkit-scrollbar {
  display: none;
}

/* line 52879, app/assets/stylesheets/application.scss */
.wiki-filter-pill {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wiki-muted);
  border-radius: 8px;
  padding: 0.42rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
  text-align: center;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

/* line 52895, app/assets/stylesheets/application.scss */
.wiki-filter-row:not(.is-tabs) .wiki-filter-pill {
  flex: 1 1 0;
}

/* line 52899, app/assets/stylesheets/application.scss */
.wiki-filter-pill:hover {
  color: var(--wiki-ink);
}

/* line 52903, app/assets/stylesheets/application.scss */
.wiki-filter-pill.is-on {
  background: #fff;
  color: var(--wiki-accent);
  box-shadow: 0 1px 2px rgba(0, 113, 227, 0.12), 0 0 0 1px rgba(0, 113, 227, 0.16);
}

/* line 52909, app/assets/stylesheets/application.scss */
.wiki-panel {
  margin-bottom: 1.75rem;
}

/* line 52913, app/assets/stylesheets/application.scss */
.wiki-panel.is-flush {
  margin-bottom: 0;
}

/* line 52917, app/assets/stylesheets/application.scss */
.wiki-panel-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  padding: 0;
  min-width: 0;
  width: 100%;
}

/* line 52927, app/assets/stylesheets/application.scss */
.wiki-panel-head h2,
.wiki-panel-head h3 {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--wiki-ink);
  flex: 0 1 auto;
  min-width: 0;
}

/* line 52939, app/assets/stylesheets/application.scss */
.wiki-section-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  flex: 0 0 auto;
}

/* line 52949, app/assets/stylesheets/application.scss */
.wiki-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 0.75rem;
  box-shadow: inset 0 0 0 1px var(--wiki-line-strong);
  transition: background 140ms ease, box-shadow 140ms ease;
}

/* line 52963, app/assets/stylesheets/application.scss */
.wiki-search-wrap.is-block {
  width: 100%;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
}

/* line 52970, app/assets/stylesheets/application.scss */
.wiki-search-wrap.is-command {
  flex: 1 1 auto;
  width: auto;
  max-width: 34rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
}

/* line 52979, app/assets/stylesheets/application.scss */
.wiki-search-wrap:focus-within {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.35), 0 0 0 3px rgba(0, 113, 227, 0.12);
}

/* line 52984, app/assets/stylesheets/application.scss */
.wiki-search-ico {
  color: var(--wiki-faint);
  display: inline-flex;
}

/* line 52989, app/assets/stylesheets/application.scss */
.wiki-home-search {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.5rem;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  color: var(--wiki-ink);
}

/* line 53001, app/assets/stylesheets/application.scss */
.wiki-search-kbd {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--wiki-faint);
  background: rgba(0, 0, 0, 0.045);
  border-radius: 6px;
  padding: 0.14rem 0.38rem;
}

/* line 53011, app/assets/stylesheets/application.scss */
.wiki-search-clear {
  appearance: none;
  border: 0;
  background: rgba(0, 0, 0, 0.05);
  color: var(--wiki-muted);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* line 53025, app/assets/stylesheets/application.scss */
.wiki-search-results {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--wiki-line);
  border-radius: 14px;
  box-shadow: var(--wiki-shadow);
  padding: 0.35rem;
  max-height: 20rem;
  overflow: auto;
}

/* line 53041, app/assets/stylesheets/application.scss */
.wiki-search-hit {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  text-align: left;
  padding: 0.6rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
}

/* line 53056, app/assets/stylesheets/application.scss */
.wiki-search-hit:hover,
.wiki-search-hit.is-active {
  background: rgba(0, 0, 0, 0.04);
}

/* line 53061, app/assets/stylesheets/application.scss */
.wiki-search-empty {
  padding: 0.9rem;
  color: var(--wiki-muted);
}

/* line 53066, app/assets/stylesheets/application.scss */
.wiki-search-empty strong {
  display: block;
  color: var(--wiki-ink);
  margin-bottom: 0.2rem;
}

/* line 53072, app/assets/stylesheets/application.scss */
.wiki-create-wrap {
  position: relative;
}

/* line 53076, app/assets/stylesheets/application.scss */
.wiki-create-home-menu,
.wiki-create-menu,
.wiki-space-menu,
.wiki-note-page-menu {
  position: absolute;
  z-index: 12;
  min-width: 228px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--wiki-line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 0.3rem;
  display: grid;
}

/* line 53092, app/assets/stylesheets/application.scss */
.wiki-create-home-menu {
  top: calc(100% + 0.35rem);
  right: 0;
}

/* line 53097, app/assets/stylesheets/application.scss */
.wiki-create-menu {
  top: calc(100% + 0.3rem);
  left: 0;
}

/* line 53102, app/assets/stylesheets/application.scss */
.wiki-create-home-menu button,
.wiki-create-menu button,
.wiki-space-menu button,
.wiki-note-page-menu button {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.58rem 0.65rem;
  border-radius: 10px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  color: var(--wiki-ink);
}

/* line 53123, app/assets/stylesheets/application.scss */
.wiki-create-menu button {
  grid-template-columns: auto 1fr;
}

/* line 53127, app/assets/stylesheets/application.scss */
.wiki-create-home-menu button:hover,
.wiki-create-menu button:hover,
.wiki-space-menu button:hover,
.wiki-note-page-menu button:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 53134, app/assets/stylesheets/application.scss */
.wiki-create-home-copy {
  display: grid;
  gap: 0.08rem;
}

/* line 53139, app/assets/stylesheets/application.scss */
.wiki-create-home-copy em {
  font-style: normal;
  color: var(--wiki-muted);
  font-size: 0.74rem;
  font-weight: 500;
}

/* line 53146, app/assets/stylesheets/application.scss */
.wiki-note-ico {
  --wiki-tone: #0071e3;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--wiki-tone) 16%, white);
  color: var(--wiki-tone);
}

/* line 53158, app/assets/stylesheets/application.scss */
.wiki-space-list,
.wiki-recent-list,
.wiki-page-list {
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  border: 1px solid var(--wiki-line);
  border-radius: 16px;
  padding: 0.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

/* line 53171, app/assets/stylesheets/application.scss */
.wiki-recent-list.is-side {
  background: rgba(255, 255, 255, 0.9);
}

/* line 53175, app/assets/stylesheets/application.scss */
.wiki-space-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

/* line 53181, app/assets/stylesheets/application.scss */
.wiki-space-tile {
  --wiki-tone: #0071e3;
  position: relative;
  display: grid;
  background: linear-gradient(160deg, color-mix(in srgb, var(--wiki-tone) 14%, white) 0%, #fff 58%);
  border: 1px solid color-mix(in srgb, var(--wiki-tone) 18%, rgba(0, 0, 0, 0.06));
  border-radius: 16px;
  overflow: visible;
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

/* line 53194, app/assets/stylesheets/application.scss */
.wiki-space-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: var(--wiki-tone);
  opacity: 1;
}

/* line 53204, app/assets/stylesheets/application.scss */
.wiki-space-tile:hover,
.wiki-space-tile.is-menu-open {
  border-color: color-mix(in srgb, var(--wiki-tone) 35%, rgba(0, 0, 0, 0.08));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--wiki-tone) 18%, transparent);
  transform: translateY(-1px);
}

/* line 53211, app/assets/stylesheets/application.scss */
.wiki-space-tile-main {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  display: grid;
  gap: 0.35rem;
  text-align: left;
  padding: 0.95rem 2.4rem 0.95rem 1rem;
  cursor: pointer;
  color: inherit;
  min-height: 7.25rem;
}

/* line 53225, app/assets/stylesheets/application.scss */
.wiki-space-tile-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.15rem;
}

/* line 53232, app/assets/stylesheets/application.scss */
.wiki-space-tile-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wiki-tone);
  letter-spacing: -0.01em;
}

/* line 53239, app/assets/stylesheets/application.scss */
.wiki-space-tile-main strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* line 53246, app/assets/stylesheets/application.scss */
.wiki-space-tile-desc {
  font-style: normal;
  color: var(--wiki-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 53257, app/assets/stylesheets/application.scss */
.wiki-space-tile-meta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.74rem;
  color: var(--wiki-faint);
}

/* line 53264, app/assets/stylesheets/application.scss */
.wiki-space-tile .wiki-space-more {
  position: absolute;
  top: 0.45rem;
  right: 0.35rem;
  opacity: 0;
}

/* line 53271, app/assets/stylesheets/application.scss */
.wiki-space-tile:hover .wiki-space-more,
.wiki-space-tile.is-menu-open .wiki-space-more {
  opacity: 1;
}

/* line 53276, app/assets/stylesheets/application.scss */
.wiki-space-tile .wiki-space-menu {
  top: 2.35rem;
  right: 0.4rem;
}

/* line 53281, app/assets/stylesheets/application.scss */
.wiki-continue-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

/* line 53291, app/assets/stylesheets/application.scss */
.wiki-continue-rail.is-stage {
  grid-auto-columns: minmax(150px, 1fr);
  margin-bottom: 1.25rem;
}

/* line 53296, app/assets/stylesheets/application.scss */
.wiki-continue-card {
  --wiki-tone: #0071e3;
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--wiki-tone) 16%, rgba(0, 0, 0, 0.06));
  background: linear-gradient(165deg, color-mix(in srgb, var(--wiki-tone) 12%, white) 0%, #fff 62%);
  border-radius: 14px;
  padding: 0.85rem 0.85rem 0.8rem;
  display: grid;
  gap: 0.35rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  min-height: 6.4rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

/* line 53313, app/assets/stylesheets/application.scss */
.wiki-continue-card:hover {
  border-color: color-mix(in srgb, var(--wiki-tone) 36%, rgba(0, 0, 0, 0.08));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--wiki-tone) 16%, transparent);
  transform: translateY(-1px);
}

/* line 53319, app/assets/stylesheets/application.scss */
.wiki-continue-ico {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--wiki-tone) 16%, white);
  color: var(--wiki-tone);
  font-size: 0.95rem;
}

/* line 53331, app/assets/stylesheets/application.scss */
.wiki-continue-card strong {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

/* line 53342, app/assets/stylesheets/application.scss */
.wiki-continue-card em {
  font-style: normal;
  color: var(--wiki-faint);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 53351, app/assets/stylesheets/application.scss */
.wiki-quick-actions {
  display: grid;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wiki-line);
  border-radius: 14px;
}

/* line 53360, app/assets/stylesheets/application.scss */
.wiki-quick-action {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  text-align: left;
  padding: 0.55rem 0.55rem;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--wiki-ink);
}

/* line 53378, app/assets/stylesheets/application.scss */
.wiki-quick-action:hover {
  background: rgba(0, 0, 0, 0.035);
}

/* line 53382, app/assets/stylesheets/application.scss */
.wiki-stage-board {
  display: grid;
  gap: 0.25rem;
}

/* line 53387, app/assets/stylesheets/application.scss */
.wiki-space-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-radius: 12px;
}

/* line 53395, app/assets/stylesheets/application.scss */
.wiki-space-row + .wiki-space-row,
.wiki-recent-row + .wiki-recent-row,
.wiki-page-row + .wiki-page-row {
  border-top: 1px solid transparent;
}

/* line 53401, app/assets/stylesheets/application.scss */
.wiki-space-row:hover,
.wiki-space-row.is-menu-open {
  background: rgba(0, 0, 0, 0.03);
}

/* line 53406, app/assets/stylesheets/application.scss */
.wiki-space-row-main {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  text-align: left;
  padding: 0.78rem 0.7rem;
  cursor: pointer;
  border-radius: 12px;
  color: inherit;
}

/* line 53422, app/assets/stylesheets/application.scss */
.wiki-space-glyph {
  --wiki-tone: #0071e3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--wiki-tone) 18%, white);
  color: var(--wiki-tone);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wiki-tone) 18%, transparent);
}

/* line 53435, app/assets/stylesheets/application.scss */
.wiki-space-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

/* line 53442, app/assets/stylesheets/application.scss */
.wiki-space-copy strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 53451, app/assets/stylesheets/application.scss */
.wiki-space-copy em {
  font-style: normal;
  color: var(--wiki-muted);
  font-size: 0.78rem;
}

/* line 53457, app/assets/stylesheets/application.scss */
.wiki-space-more {
  margin-right: 0.25rem;
  opacity: 0;
  transition: opacity 120ms ease;
}

/* line 53463, app/assets/stylesheets/application.scss */
.wiki-space-row:hover .wiki-space-more,
.wiki-space-row.is-menu-open .wiki-space-more {
  opacity: 1;
}

/* line 53468, app/assets/stylesheets/application.scss */
.wiki-space-menu {
  top: 2.55rem;
  right: 0.35rem;
}

/* line 53473, app/assets/stylesheets/application.scss */
.wiki-space-menu button.is-danger,
.wiki-note-page-menu button.is-danger {
  color: var(--wiki-danger);
}

/* line 53478, app/assets/stylesheets/application.scss */
.wiki-recent-row,
.wiki-page-row {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  text-align: left;
  padding: 0.68rem 0.65rem;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  color: inherit;
  transition: background 120ms ease;
}

/* line 53496, app/assets/stylesheets/application.scss */
.wiki-page-row {
  grid-template-columns: auto 1fr auto;
}

/* line 53500, app/assets/stylesheets/application.scss */
.wiki-recent-row:hover,
.wiki-page-row:hover {
  background: rgba(0, 0, 0, 0.035);
}

/* line 53505, app/assets/stylesheets/application.scss */
.wiki-recent-ico,
.wiki-page-row-ico {
  --wiki-tone: #0071e3;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--wiki-tone) 14%, white);
  color: var(--wiki-tone);
  font-size: 1rem;
  line-height: 1;
}

/* line 53520, app/assets/stylesheets/application.scss */
.wiki-recent-copy,
.wiki-page-row-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

/* line 53528, app/assets/stylesheets/application.scss */
.wiki-recent-copy strong,
.wiki-page-row-copy strong {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 53538, app/assets/stylesheets/application.scss */
.wiki-recent-copy em,
.wiki-page-row-copy em {
  font-style: normal;
  color: var(--wiki-muted);
  font-size: 0.75rem;
}

/* line 53545, app/assets/stylesheets/application.scss */
.wiki-page-row-chev {
  color: #c7c7cc;
  display: inline-flex;
}

/* line 53550, app/assets/stylesheets/application.scss */
.wiki-skeleton-stack,
.wiki-skeleton-row,
.wiki-skeleton-card {
  display: grid;
  gap: 0.55rem;
}

/* line 53557, app/assets/stylesheets/application.scss */
.wiki-skeleton-row,
.wiki-skeleton-card {
  height: 3.1rem;
  border-radius: 12px;
  background: linear-gradient(90deg, #ececef 0%, #f7f7f8 50%, #ececef 100%);
  background-size: 200% 100%;
  animation: wiki-shimmer 1.2s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  /* line 53572, app/assets/stylesheets/application.scss */
  .wiki-skeleton-row,
.wiki-skeleton-card,
.wiki-btn,
.wiki-filter-pill,
.wiki-tree-item,
.wiki-page-tile,
.wiki-page-row {
    animation: none !important;
    transition: none !important;
  }
}

/* Workspace rail + stage */
/* line 53585, app/assets/stylesheets/application.scss */
.wiki-rail {
  width: 268px;
  flex: 0 0 268px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--wiki-rail);
  border-right: 1px solid var(--wiki-line);
}

/* line 53595, app/assets/stylesheets/application.scss */
.wiki-rail-head {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.5rem 0.35rem;
}

/* line 53602, app/assets/stylesheets/application.scss */
.wiki-rail-title {
  flex: 1;
  min-width: 0;
  padding-top: 0.28rem;
}

/* line 53608, app/assets/stylesheets/application.scss */
.wiki-rail-title strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 53618, app/assets/stylesheets/application.scss */
.wiki-rail-title em {
  display: block;
  font-style: normal;
  color: var(--wiki-muted);
  font-size: 0.7rem;
  margin-top: 0.08rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 53629, app/assets/stylesheets/application.scss */
.wiki-rail-tools {
  display: grid;
  gap: 0.4rem;
  padding: 0.15rem 0.65rem 0.55rem;
}

/* line 53635, app/assets/stylesheets/application.scss */
.wiki-rail-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.045);
  border-radius: 9px;
  padding: 0.4rem 0.55rem;
  color: var(--wiki-faint);
}

/* line 53645, app/assets/stylesheets/application.scss */
.wiki-rail-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 0.82rem;
  color: var(--wiki-ink);
}

/* line 53655, app/assets/stylesheets/application.scss */
.wiki-create-wrap.is-rail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem;
  align-items: center;
}

/* line 53662, app/assets/stylesheets/application.scss */
.wiki-folder-crumb {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0.65rem 0.3rem;
  padding: 0.3rem 0.4rem;
  border-radius: 8px;
  color: var(--wiki-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

/* line 53679, app/assets/stylesheets/application.scss */
.wiki-folder-crumb:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--wiki-ink);
}

/* line 53684, app/assets/stylesheets/application.scss */
.wiki-rail-tree {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.1rem 0.4rem 0.75rem;
}

/* line 53691, app/assets/stylesheets/application.scss */
.wiki-tree-group {
  margin-bottom: 0.65rem;
}

/* line 53695, app/assets/stylesheets/application.scss */
.wiki-tree-group-label {
  display: block;
  padding: 0.4rem 0.55rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--wiki-faint);
}

/* line 53705, app/assets/stylesheets/application.scss */
.wiki-tree-item {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--wiki-ink);
  font: inherit;
  font-size: 0.84rem;
  transition: background 120ms ease, color 120ms ease;
}

/* line 53724, app/assets/stylesheets/application.scss */
.wiki-tree-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 53728, app/assets/stylesheets/application.scss */
.wiki-tree-item.is-on {
  background: rgba(0, 113, 227, 0.12);
  color: var(--wiki-accent);
  font-weight: 600;
}

/* line 53734, app/assets/stylesheets/application.scss */
.wiki-tree-ico,
.wiki-tree-emoji {
  width: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wiki-muted);
  font-size: 0.9rem;
}

/* line 53744, app/assets/stylesheets/application.scss */
.wiki-tree-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 53751, app/assets/stylesheets/application.scss */
.wiki-tree-lock {
  color: var(--wiki-muted);
  display: inline-flex;
}

/* line 53756, app/assets/stylesheets/application.scss */
.wiki-tree-empty {
  padding: 0.75rem 0.55rem;
  color: var(--wiki-muted);
  font-size: 0.82rem;
}

/* line 53762, app/assets/stylesheets/application.scss */
.wiki-rail-foot {
  border-top: 1px solid var(--wiki-line);
  padding: 0.4rem;
  display: grid;
  gap: 0.1rem;
}

/* line 53769, app/assets/stylesheets/application.scss */
.wiki-rail-link {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  text-align: left;
  padding: 0.48rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--wiki-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
}

/* line 53787, app/assets/stylesheets/application.scss */
.wiki-rail-link:hover,
.wiki-rail-link.is-on {
  background: rgba(0, 0, 0, 0.04);
  color: var(--wiki-ink);
}

/* line 53793, app/assets/stylesheets/application.scss */
.wiki-rail-link em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--wiki-faint);
}

/* line 53799, app/assets/stylesheets/application.scss */
.wiki-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--wiki-surface);
  position: relative;
}

/* line 53810, app/assets/stylesheets/application.scss */
.wiki-stage-empty,
.wiki-stage-home {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.25rem 1.15rem 1.75rem;
}

/* line 53818, app/assets/stylesheets/application.scss */
.wiki-stage-empty {
  display: grid;
  place-content: center;
  text-align: center;
  justify-items: center;
  max-width: none;
}

/* line 53826, app/assets/stylesheets/application.scss */
.wiki-stage-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wiki-faint);
  letter-spacing: -0.01em;
}

/* line 53834, app/assets/stylesheets/application.scss */
.wiki-stage-empty h2,
.wiki-stage-head h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  font-weight: 700;
}

/* line 53842, app/assets/stylesheets/application.scss */
.wiki-stage-empty p,
.wiki-stage-head p {
  margin: 0.45rem 0 0;
  color: var(--wiki-muted);
  line-height: 1.5;
  max-width: 36rem;
}

/* line 53850, app/assets/stylesheets/application.scss */
.wiki-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* line 53858, app/assets/stylesheets/application.scss */
.wiki-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
}

/* line 53864, app/assets/stylesheets/application.scss */
.wiki-page-tile {
  appearance: none;
  border: 1px solid var(--wiki-line);
  background: #fbfbfd;
  border-radius: 14px;
  padding: 0.95rem 0.9rem;
  display: grid;
  gap: 0.35rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 140ms ease, background 140ms ease;
}

/* line 53879, app/assets/stylesheets/application.scss */
.wiki-page-tile:hover {
  border-color: rgba(0, 0, 0, 0.12);
  background: #fff;
}

/* line 53884, app/assets/stylesheets/application.scss */
.wiki-page-tile-ico {
  font-size: 1.35rem;
  line-height: 1;
}

/* line 53889, app/assets/stylesheets/application.scss */
.wiki-page-tile strong {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 53896, app/assets/stylesheets/application.scss */
.wiki-page-tile em {
  font-style: normal;
  color: var(--wiki-muted);
  font-size: 0.74rem;
}

/* Modals */
/* line 53903, app/assets/stylesheets/application.scss */
.wiki-modal-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
}

/* line 53912, app/assets/stylesheets/application.scss */
.wiki-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

/* line 53920, app/assets/stylesheets/application.scss */
.wiki-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--wiki-line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

/* line 53932, app/assets/stylesheets/application.scss */
.wiki-modal.is-wide {
  width: min(100%, 32rem);
}

/* line 53936, app/assets/stylesheets/application.scss */
.wiki-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--wiki-line);
}

/* line 53945, app/assets/stylesheets/application.scss */
.wiki-modal-head h2,
.wiki-modal-head strong {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 53953, app/assets/stylesheets/application.scss */
.wiki-modal-body {
  padding: 1rem;
}

/* line 53957, app/assets/stylesheets/application.scss */
.wiki-new-space {
  display: grid;
  gap: 0.85rem;
}

/* line 53962, app/assets/stylesheets/application.scss */
.wiki-new-space label,
.wiki-kind-row {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wiki-muted);
}

/* line 53971, app/assets/stylesheets/application.scss */
.wiki-new-space input,
.wiki-new-space select,
.wiki-new-space textarea,
.wiki-email-invite input,
.wiki-member-row select {
  appearance: none;
  border: 1px solid var(--wiki-line-strong);
  background: #fff;
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--wiki-ink);
  width: 100%;
}

/* line 53987, app/assets/stylesheets/application.scss */
.wiki-new-space input:focus,
.wiki-new-space select:focus,
.wiki-new-space textarea:focus,
.wiki-email-invite input:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

/* line 53996, app/assets/stylesheets/application.scss */
.wiki-new-space textarea {
  resize: vertical;
  min-height: 6rem;
}

/* line 54001, app/assets/stylesheets/application.scss */
.wiki-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* Editor */
/* line 54009, app/assets/stylesheets/application.scss */
.wiki-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
  font-size: 0.8rem;
  color: var(--wiki-muted);
  overflow: hidden;
}

/* line 54020, app/assets/stylesheets/application.scss */
.wiki-breadcrumb button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wiki-muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 54035, app/assets/stylesheets/application.scss */
.wiki-breadcrumb button:hover {
  color: var(--wiki-ink);
}

/* line 54039, app/assets/stylesheets/application.scss */
.wiki-breadcrumb em {
  font-style: normal;
  color: var(--wiki-ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 54048, app/assets/stylesheets/application.scss */
.wiki-save {
  font-size: 0.74rem;
  color: var(--wiki-muted);
  white-space: nowrap;
}

/* line 54054, app/assets/stylesheets/application.scss */
.wiki-save.is-error {
  color: var(--wiki-danger);
}

/* line 54058, app/assets/stylesheets/application.scss */
.wiki-save.is-local {
  color: var(--wiki-accent);
}

/* line 54062, app/assets/stylesheets/application.scss */
.wiki-editor.is-workplace-note {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 18%);
}

/* line 54072, app/assets/stylesheets/application.scss */
.wiki-note-sheet-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--wiki-line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
}

/* line 54082, app/assets/stylesheets/application.scss */
.wiki-note-head-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

/* line 54089, app/assets/stylesheets/application.scss */
.wiki-note-page-menu-wrap {
  position: relative;
}

/* line 54093, app/assets/stylesheets/application.scss */
.wiki-note-page-menu {
  top: calc(100% + 0.3rem);
  right: 0;
}

/* line 54098, app/assets/stylesheets/application.scss */
.wiki-editor.is-workplace-note .tw-note-editor-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 54104, app/assets/stylesheets/application.scss */
.wiki-editor.is-workplace-note .tw-note-editor {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

/* Members + templates */
/* line 54111, app/assets/stylesheets/application.scss */
.wiki-members {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.35rem 1.6rem 2rem;
}

/* line 54118, app/assets/stylesheets/application.scss */
.wiki-notes-toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

/* line 54125, app/assets/stylesheets/application.scss */
.wiki-notes-toolbar h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

/* line 54131, app/assets/stylesheets/application.scss */
.wiki-member-list,
.wiki-friend-list {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--wiki-line);
  border-radius: 14px;
  padding: 0.2rem;
}

/* line 54141, app/assets/stylesheets/application.scss */
.wiki-member-row,
.wiki-friend-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid var(--wiki-line);
}

/* line 54151, app/assets/stylesheets/application.scss */
.wiki-member-row:last-child,
.wiki-friend-row:last-child {
  border-bottom: 0;
}

/* line 54156, app/assets/stylesheets/application.scss */
.wiki-friend-row {
  grid-template-columns: auto 1fr;
}

/* line 54160, app/assets/stylesheets/application.scss */
.wiki-member-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

/* line 54166, app/assets/stylesheets/application.scss */
.wiki-member-copy em {
  font-style: normal;
  color: var(--wiki-muted);
  font-size: 0.78rem;
}

/* line 54172, app/assets/stylesheets/application.scss */
.wiki-invite-block {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.7rem;
  padding: 1.05rem;
  border: 1px solid var(--wiki-line);
  border-radius: 14px;
  background: var(--wiki-soft);
}

/* line 54182, app/assets/stylesheets/application.scss */
.wiki-invite-block h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
}

/* line 54188, app/assets/stylesheets/application.scss */
.wiki-role-toggle {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.18rem;
  background: rgba(0, 0, 0, 0.045);
  border-radius: 10px;
  width: fit-content;
}

/* line 54197, app/assets/stylesheets/application.scss */
.wiki-chip {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--wiki-muted);
}

/* line 54210, app/assets/stylesheets/application.scss */
.wiki-chip.is-on {
  background: #fff;
  color: var(--wiki-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* line 54216, app/assets/stylesheets/application.scss */
.wiki-email-invite {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

/* line 54222, app/assets/stylesheets/application.scss */
.wiki-danger-zone {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wiki-line);
}

/* line 54228, app/assets/stylesheets/application.scss */
.wiki-avatar,
.wiki-avatars {
  display: inline-flex;
  align-items: center;
}

/* line 54234, app/assets/stylesheets/application.scss */
.wiki-avatars {
  gap: 0.15rem;
}

/* line 54238, app/assets/stylesheets/application.scss */
.wiki-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

/* line 54246, app/assets/stylesheets/application.scss */
.wiki-avatar.is-fallback {
  background: rgba(0, 0, 0, 0.06);
  color: var(--wiki-ink);
  font-size: 0.7rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

/* line 54255, app/assets/stylesheets/application.scss */
.wiki-tpl-host.tw-tpl {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.5rem 0.75rem 1.25rem;
}

/* line 54262, app/assets/stylesheets/application.scss */
.wiki-tpl-host .tw-tpl-layout {
  gap: 1rem;
}

@media (max-width: 980px) {
  /* line 54267, app/assets/stylesheets/application.scss */
  .wiki-home-board {
    grid-template-columns: 1fr;
  }
  /* line 54271, app/assets/stylesheets/application.scss */
  .wiki-home-side {
    position: static;
    grid-template-columns: 1fr;
  }
  /* line 54276, app/assets/stylesheets/application.scss */
  .wiki-space-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  /* line 54282, app/assets/stylesheets/application.scss */
  .wiki-app.is-workspace {
    flex-direction: column;
  }
  /* line 54286, app/assets/stylesheets/application.scss */
  .wiki-rail {
    width: 100%;
    flex: 0 0 auto;
    max-height: 42%;
    border-right: 0;
    border-bottom: 1px solid var(--wiki-line);
  }
  /* line 54294, app/assets/stylesheets/application.scss */
  .wiki-home-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  /* line 54299, app/assets/stylesheets/application.scss */
  .wiki-top {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* line 54304, app/assets/stylesheets/application.scss */
  .wiki-top.is-command {
    flex-wrap: wrap;
  }
  /* line 54308, app/assets/stylesheets/application.scss */
  .wiki-search-wrap.is-command {
    order: 3;
    max-width: none;
    width: 100%;
    flex: 1 1 100%;
  }
  /* line 54315, app/assets/stylesheets/application.scss */
  .wiki-home-intro h1 {
    font-size: 1.75rem;
  }
  /* line 54319, app/assets/stylesheets/application.scss */
  .wiki-home-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  /* line 54324, app/assets/stylesheets/application.scss */
  .wiki-filter-row.is-tabs {
    width: 100%;
  }
  /* line 54328, app/assets/stylesheets/application.scss */
  .wiki-filter-row.is-tabs .wiki-filter-pill {
    flex: 1 1 0;
  }
  /* line 54332, app/assets/stylesheets/application.scss */
  .wiki-search-wrap {
    width: 100%;
  }
  /* line 54336, app/assets/stylesheets/application.scss */
  .wiki-space-more,
.wiki-space-tile .wiki-space-more {
    opacity: 1;
  }
  /* line 54341, app/assets/stylesheets/application.scss */
  .wiki-stage-empty,
.wiki-stage-home {
    padding: 1.35rem 1.1rem;
  }
  /* line 54346, app/assets/stylesheets/application.scss */
  .wiki-editor.is-workplace-note .tw-note-editor {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

/* line 54352, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] {
  background: #fff;
}

/* line 54356, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] .companion-hub-head {
  display: none;
}

/* line 54360, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
  position: relative;
}

/* line 54367, app/assets/stylesheets/application.scss */
.companion-hub[data-app="brainstorm"] .companion-hub-body > .tw-app {
  height: 100%;
  min-height: 100%;
}

/* line 54372, app/assets/stylesheets/application.scss */
.tw-app.is-brainstorm-app .tw-brand-mark {
  color: #0f766e;
}

/* line 54376, app/assets/stylesheets/application.scss */
.tw-app.is-brainstorm-app .tw-brainstorm-toolbar {
  justify-content: flex-end;
}

/* line 54380, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] {
  background: #fff;
}

/* line 54384, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-head {
  display: none;
}

/* line 54388, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 54394, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] {
  background: var(--perk-canvas);
}

/* line 54398, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] .companion-hub-head {
  display: none;
}

/* line 54402, app/assets/stylesheets/application.scss */
.companion-hub[data-app="summarize"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 54408, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] {
  background: #fff;
}

/* line 54412, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-head {
  display: none;
}

/* line 54416, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-body {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

/* line 54422, app/assets/stylesheets/application.scss */
.companion-hub[data-app="flashcard"] .companion-hub-body > .fc-app {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 54427, app/assets/stylesheets/application.scss */
.companion-hub[data-app="email"] {
  background: var(--perk-canvas-wash, var(--perk-canvas, #f2f3f5));
}

/* line 54431, app/assets/stylesheets/application.scss */
.companion-hub[data-app="email"] .companion-hub-body {
  padding: 0;
  overflow: auto;
  gap: 0;
}

/* line 54437, app/assets/stylesheets/application.scss */
.companion-hub[data-app="email"] .companion-hub-body > .mh-app {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 54442, app/assets/stylesheets/application.scss */
.mh-app {
  --mh-ink: var(--perk-ink, #17191d);
  --mh-muted: var(--perk-muted, #666e79);
  --mh-line: var(--perk-line, #e5e7eb);
  --mh-field: var(--perk-field, #f4f5f7);
  --mh-surface: var(--perk-surface, #ffffff);
  --mh-radius: var(--perk-radius-lg, 18px);
  --mh-radius-sm: var(--perk-radius-sm, 12px);
  color: var(--mh-ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 22px 40px;
  box-sizing: border-box;
}

/* line 54461, app/assets/stylesheets/application.scss */
.mh-enter {
  animation: mh-rise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* line 54465, app/assets/stylesheets/application.scss */
.mh-enter-2 {
  animation-delay: 60ms;
}

/* line 54466, app/assets/stylesheets/application.scss */
.mh-enter-3 {
  animation-delay: 120ms;
}

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

@media (prefers-reduced-motion: reduce) {
  /* line 54480, app/assets/stylesheets/application.scss */
  .mh-enter,
.mh-enter-2,
.mh-enter-3,
.mh-provider {
    animation: none !important;
  }
}

/* line 54488, app/assets/stylesheets/application.scss */
.mh-brand {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--mh-ink);
}

/* line 54497, app/assets/stylesheets/application.scss */
.mh-brand.is-small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mh-muted);
  line-height: 1.2;
}

/* line 54506, app/assets/stylesheets/application.scss */
.mh-title {
  margin: 8px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

/* line 54514, app/assets/stylesheets/application.scss */
.mh-title.is-compact {
  margin-top: 4px;
  font-size: 1.2rem;
}

/* line 54519, app/assets/stylesheets/application.scss */
.mh-lede {
  margin: 10px 0 0;
  max-width: 42ch;
  color: var(--mh-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* line 54527, app/assets/stylesheets/application.scss */
.mh-lede.is-tight {
  max-width: none;
  font-size: 0.92rem;
}

/* line 54532, app/assets/stylesheets/application.scss */
.mh-hero {
  padding: 8px 2px 4px;
}

/* line 54536, app/assets/stylesheets/application.scss */
.mh-panel,
.mh-compose,
.mh-letter,
.mh-account {
  background: var(--mh-surface);
  border: 1px solid rgba(23, 25, 29, 0.06);
  border-radius: var(--mh-radius);
  box-shadow: var(--perk-shadow-sm, 0 8px 20px rgba(23, 25, 29, 0.06));
}

/* line 54546, app/assets/stylesheets/application.scss */
.mh-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
}

/* line 54553, app/assets/stylesheets/application.scss */
.mh-label {
  display: block;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mh-muted);
}

/* line 54563, app/assets/stylesheets/application.scss */
.mh-meta,
.mh-footnote {
  margin: 4px 0 0;
  color: var(--mh-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* line 54571, app/assets/stylesheets/application.scss */
.mh-email-row,
.mh-compose-actions,
.mh-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

/* line 54580, app/assets/stylesheets/application.scss */
.mh-email-row .mh-input {
  flex: 1 1 220px;
  min-width: 0;
}

/* line 54585, app/assets/stylesheets/application.scss */
.mh-email-row .mh-btn {
  flex: 0 0 auto;
}

/* line 54589, app/assets/stylesheets/application.scss */
.mh-input,
.mh-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--mh-line);
  background: var(--mh-surface);
  border-radius: var(--mh-radius-sm);
  padding: 12px 14px;
  color: var(--mh-ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

/* line 54602, app/assets/stylesheets/application.scss */
.mh-input:focus,
.mh-textarea:focus {
  outline: none;
  border-color: rgba(23, 25, 29, 0.35);
  box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.08);
}

/* line 54609, app/assets/stylesheets/application.scss */
.mh-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

/* line 54615, app/assets/stylesheets/application.scss */
.mh-textarea.is-short {
  min-height: 72px;
}

/* line 54619, app/assets/stylesheets/application.scss */
.mh-btn {
  appearance: none;
  border: 0;
  border-radius: var(--perk-radius-pill, 999px);
  padding: 11px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, opacity 140ms ease;
}

/* line 54630, app/assets/stylesheets/application.scss */
.mh-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 54635, app/assets/stylesheets/application.scss */
.mh-btn:not(:disabled):active {
  transform: translateY(1px);
}

/* line 54639, app/assets/stylesheets/application.scss */
.mh-btn-primary {
  background: var(--mh-ink);
  color: #fff;
}

/* line 54644, app/assets/stylesheets/application.scss */
.mh-btn-primary:not(:disabled):hover {
  background: var(--perk-ink-soft, #30343a);
}

/* line 54648, app/assets/stylesheets/application.scss */
.mh-btn-ghost {
  background: transparent;
  color: var(--mh-ink);
  border: 1px solid rgba(23, 25, 29, 0.14);
}

/* line 54654, app/assets/stylesheets/application.scss */
.mh-btn-ghost:hover {
  background: var(--mh-field);
}

/* line 54658, app/assets/stylesheets/application.scss */
.mh-link {
  appearance: none;
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 2px 0 0;
  color: var(--mh-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: rgba(23, 25, 29, 0.25);
  text-underline-offset: 3px;
  cursor: pointer;
}

/* line 54675, app/assets/stylesheets/application.scss */
.mh-link:hover {
  text-decoration-color: var(--mh-ink);
}

/* line 54679, app/assets/stylesheets/application.scss */
.mh-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mh-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* line 54688, app/assets/stylesheets/application.scss */
.mh-divider::before,
.mh-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--mh-line);
}

/* line 54696, app/assets/stylesheets/application.scss */
.mh-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 54702, app/assets/stylesheets/application.scss */
.mh-provider {
  --mh-stagger: 0;
  appearance: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  padding: 14px 14px 15px;
  border: 1px solid rgba(23, 25, 29, 0.08);
  border-radius: var(--mh-radius);
  background: var(--mh-surface);
  color: inherit;
  cursor: pointer;
  box-shadow: var(--perk-shadow-sm, 0 8px 20px rgba(23, 25, 29, 0.05));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: mh-rise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(140ms + (var(--mh-stagger) * 50ms));
}

/* line 54721, app/assets/stylesheets/application.scss */
.mh-provider:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 25, 29, 0.18);
  box-shadow: var(--perk-shadow-md, 0 14px 34px rgba(23, 25, 29, 0.08));
}

/* line 54727, app/assets/stylesheets/application.scss */
.mh-provider-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mh-field);
  color: var(--mh-ink);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* line 54741, app/assets/stylesheets/application.scss */
.mh-provider-mark.is-compact {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 0.82rem;
}

/* line 54748, app/assets/stylesheets/application.scss */
.mh-provider-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

/* line 54755, app/assets/stylesheets/application.scss */
.mh-provider-copy strong {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 54761, app/assets/stylesheets/application.scss */
.mh-provider-copy span {
  color: var(--mh-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

/* line 54767, app/assets/stylesheets/application.scss */
.mh-account {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  padding: 16px 18px;
}

/* line 54775, app/assets/stylesheets/application.scss */
.mh-account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* line 54782, app/assets/stylesheets/application.scss */
.mh-account-text {
  min-width: 0;
}

/* line 54786, app/assets/stylesheets/application.scss */
.mh-account-text strong {
  display: block;
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 54794, app/assets/stylesheets/application.scss */
.mh-account .mh-footnote {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--mh-line);
}

/* line 54801, app/assets/stylesheets/application.scss */
.mh-compose {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px 18px;
}

/* line 54808, app/assets/stylesheets/application.scss */
.mh-compose-head {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 4px;
}

/* line 54815, app/assets/stylesheets/application.scss */
.mh-fields,
.mh-reply {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 54822, app/assets/stylesheets/application.scss */
.mh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 54828, app/assets/stylesheets/application.scss */
.mh-reply {
  padding: 14px;
  border-radius: var(--mh-radius-sm);
  background: var(--mh-field);
}

/* line 54834, app/assets/stylesheets/application.scss */
.mh-status {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--mh-radius-sm);
  background: var(--mh-field);
  color: var(--mh-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* line 54844, app/assets/stylesheets/application.scss */
.mh-status.is-error {
  background: rgba(23, 25, 29, 0.06);
  color: var(--mh-ink);
}

/* line 54849, app/assets/stylesheets/application.scss */
.mh-letter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px 18px;
}

/* line 54856, app/assets/stylesheets/application.scss */
.mh-letter-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mh-line);
}

/* line 54864, app/assets/stylesheets/application.scss */
.mh-letter-meta {
  margin: 0;
  color: var(--mh-muted);
  font-size: 0.9rem;
}

/* line 54870, app/assets/stylesheets/application.scss */
.mh-letter-meta span {
  font-weight: 600;
  color: var(--mh-ink);
  margin-right: 6px;
}

/* line 54876, app/assets/stylesheets/application.scss */
.mh-letter-subject {
  margin: 2px 0 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

/* line 54884, app/assets/stylesheets/application.scss */
.mh-letter-body {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  line-height: 1.55;
  color: var(--mh-ink);
}

@media (max-width: 720px) {
  /* line 54894, app/assets/stylesheets/application.scss */
  .mh-app {
    padding: 16px 16px 32px;
    gap: 14px;
  }
  /* line 54899, app/assets/stylesheets/application.scss */
  .mh-provider-grid {
    grid-template-columns: 1fr;
  }
  /* line 54903, app/assets/stylesheets/application.scss */
  .mh-account {
    grid-template-columns: 1fr;
  }
  /* line 54907, app/assets/stylesheets/application.scss */
  .mh-account-actions {
    width: 100%;
  }
  /* line 54911, app/assets/stylesheets/application.scss */
  .mh-account-actions .mh-btn {
    flex: 1 1 auto;
  }
}

/* line 54916, app/assets/stylesheets/application.scss */
.companion-hub[data-app="image"] .companion-hub-body > .mm-app {
  flex: 1 1 auto;
  min-height: 0;
}

/* line 54921, 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 54937, app/assets/stylesheets/application.scss */
.mm-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  flex: 0 0 auto;
}

/* line 54945, app/assets/stylesheets/application.scss */
.mm-nav.is-canvas {
  border-bottom: 1px solid var(--mm-line);
}

/* line 54949, app/assets/stylesheets/application.scss */
.mm-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 54957, 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 54967, 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 54975, 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 54988, app/assets/stylesheets/application.scss */
.mm-icon.is-add {
  background: var(--mm-accent);
  color: #fff;
}

/* line 54993, app/assets/stylesheets/application.scss */
.mm-icon.is-quiet {
  color: #8e8e93;
}

/* line 54997, app/assets/stylesheets/application.scss */
.mm-icon:disabled,
.mm-text-btn:disabled,
.mm-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 55004, 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 55015, app/assets/stylesheets/application.scss */
.mm-ghost {
  color: var(--mm-ink);
  background: var(--mm-field);
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
}

/* line 55023, app/assets/stylesheets/application.scss */
.mm-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 12px;
}

/* line 55030, app/assets/stylesheets/application.scss */
.mm-search-panel .mm-search {
  flex: 1 1 auto;
  margin: 0;
}

/* line 55035, app/assets/stylesheets/application.scss */
.mm-icon.is-active {
  background: var(--mm-ink, #17191d);
  color: #fff;
}

/* line 55040, 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 55051, 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 55060, app/assets/stylesheets/application.scss */
.mm-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
  padding: 0 16px 28px;
}

/* line 55067, app/assets/stylesheets/application.scss */
.mm-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 55073, 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 55090, 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 55096, 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 55109, app/assets/stylesheets/application.scss */
.mm-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 55116, app/assets/stylesheets/application.scss */
.mm-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* line 55123, 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 55133, app/assets/stylesheets/application.scss */
.mm-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeaeb2;
  font-size: 12px;
}

/* line 55141, 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 55150, app/assets/stylesheets/application.scss */
.mm-card-go {
  color: #c7c7cc;
  font-size: 11px;
}

/* line 55155, 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 55166, 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 55178, app/assets/stylesheets/application.scss */
.mm-empty strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* line 55184, app/assets/stylesheets/application.scss */
.mm-empty p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 55191, 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 55206, app/assets/stylesheets/application.scss */
.mm-empty .mm-primary {
  margin-top: 6px;
  width: auto;
  min-width: 168px;
}

/* line 55212, app/assets/stylesheets/application.scss */
.mm-primary.is-danger {
  background: #17191d;
}

/* line 55216, app/assets/stylesheets/application.scss */
.mm-status {
  margin: 0 16px 10px;
  color: var(--mm-muted);
  font-size: 14px;
}

/* line 55222, app/assets/stylesheets/application.scss */
.mm-status.is-err {
  color: var(--perk-ink);
}

/* line 55226, app/assets/stylesheets/application.scss */
.mm-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 55235, app/assets/stylesheets/application.scss */
.mm-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.32);
}

/* line 55242, 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 55254, app/assets/stylesheets/application.scss */
.mm-confirm {
  padding: 22px 18px 24px;
  gap: 10px;
  text-align: center;
}

/* line 55260, app/assets/stylesheets/application.scss */
.mm-confirm strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

/* line 55266, app/assets/stylesheets/application.scss */
.mm-sheet-head {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  align-items: center;
  padding: 12px 14px 4px;
}

/* line 55273, app/assets/stylesheets/application.scss */
.mm-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* line 55279, app/assets/stylesheets/application.scss */
.mm-sheet-body {
  padding: 8px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 55286, app/assets/stylesheets/application.scss */
.mm-sheet-foot {
  padding: 0 18px 20px;
}

/* line 55290, app/assets/stylesheets/application.scss */
.mm-sheet-foot .mm-primary {
  width: 100%;
}

/* line 55294, app/assets/stylesheets/application.scss */
.mm-lead {
  margin: 0;
  color: var(--mm-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 55301, 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 55310, 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 55321, app/assets/stylesheets/application.scss */
.mm-textarea {
  resize: vertical;
  min-height: 120px;
  font-weight: 400;
  line-height: 1.45;
}

/* line 55328, 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 55339, app/assets/stylesheets/application.scss */
.mm-file span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 55347, 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 55357, app/assets/stylesheets/application.scss */
.mm-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 55363, app/assets/stylesheets/application.scss */
.mm-settings {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

/* line 55369, app/assets/stylesheets/application.scss */
.mm-chip-block {
  margin: 10px 0 2px;
}

/* line 55373, 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 55381, app/assets/stylesheets/application.scss */
.mm-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 55387, 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 55400, app/assets/stylesheets/application.scss */
.mm-choice:hover:not(:disabled) {
  background: #e8eaee;
}

/* line 55404, app/assets/stylesheets/application.scss */
.mm-choice.is-on {
  background: rgba(0, 138, 122, 0.14);
  color: #008a7a;
}

/* line 55409, app/assets/stylesheets/application.scss */
.mm-choice:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 55414, 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 55428, app/assets/stylesheets/application.scss */
.mm-ghost-btn:hover {
  background: var(--mm-field);
}

/* line 55432, 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 55442, app/assets/stylesheets/application.scss */
.mm-error-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 55448, 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 55459, 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 55469, 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 55480, app/assets/stylesheets/application.scss */
.mm-overlay-card strong {
  font-size: 16px;
  font-weight: 650;
}

/* line 55485, app/assets/stylesheets/application.scss */
.mm-phase {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mm-muted);
  font-size: 14px;
}

/* line 55494, app/assets/stylesheets/application.scss */
.mm-phase.is-on {
  color: var(--mm-ink);
  font-weight: 600;
}

/* line 55499, app/assets/stylesheets/application.scss */
.mm-drive {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 55508, 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 55519, app/assets/stylesheets/application.scss */
.mm-drive-list {
  overflow: auto;
  padding: 4px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 55527, 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 55542, app/assets/stylesheets/application.scss */
.mm-drive-row:hover {
  background: var(--mm-field);
}

/* line 55546, app/assets/stylesheets/application.scss */
.mm-drive-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 55552, app/assets/stylesheets/application.scss */
.mm-app.is-canvas {
  background: #f7f8fb;
}

/* line 55556, app/assets/stylesheets/application.scss */
.mm-canvas-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* line 55564, 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 55576, app/assets/stylesheets/application.scss */
.mm-stage.is-grabbing,
.mm-stage:active {
  cursor: grabbing;
}

/* line 55581, 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 55591, app/assets/stylesheets/application.scss */
.mm-edges {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}

/* line 55597, app/assets/stylesheets/application.scss */
.mm-nodes {
  position: absolute;
  left: 0;
  top: 0;
}

/* line 55603, 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 55618, 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 55632, 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 55641, app/assets/stylesheets/application.scss */
.mm-node.is-root .mm-node-badge {
  background: #fff;
  color: var(--mm-accent, #2563eb);
  border-color: #fff;
}

/* line 55647, 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 55653, app/assets/stylesheets/application.scss */
.mm-node.is-on.is-root {
  z-index: 3;
}

/* line 55657, 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 55673, app/assets/stylesheets/application.scss */
.mm-node-badge.is-folded {
  background: #111;
}

/* line 55677, 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 55697, app/assets/stylesheets/application.scss */
.mm-node.is-root .mm-node-add {
  background: #fff;
  color: var(--mm-accent, #008a7a);
  border-color: #fff;
}

/* line 55703, app/assets/stylesheets/application.scss */
.mm-node.is-empty .mm-node-hit {
  opacity: 0.55;
  font-style: italic;
}

/* line 55708, app/assets/stylesheets/application.scss */
.mm-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* line 55715, app/assets/stylesheets/application.scss */
.mm-dock-actions .mm-ghost-btn {
  padding: 8px 12px;
  font-size: 13px;
}

/* line 55720, app/assets/stylesheets/application.scss */
.mm-text-btn.is-accent {
  color: #008a7a;
  font-weight: 700;
}

/* line 55725, 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 55735, app/assets/stylesheets/application.scss */
.mm-confirm .mm-lead {
  margin: 0 0 12px;
}

/* line 55739, 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 55748, app/assets/stylesheets/application.scss */
  .mm-dock {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  /* line 55753, app/assets/stylesheets/application.scss */
  .mm-zoom {
    align-self: flex-end;
  }
}

/* line 55758, 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 55768, 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 55778, app/assets/stylesheets/application.scss */
.mm-dock-card strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* line 55785, 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 55792, app/assets/stylesheets/application.scss */
.mm-children {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  max-height: 132px;
  overflow: auto;
}

/* line 55801, 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 55816, app/assets/stylesheets/application.scss */
.mm-child i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* line 55823, app/assets/stylesheets/application.scss */
.mm-child span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 55830, 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 55843, app/assets/stylesheets/application.scss */
.mm-zoom .mm-icon {
  width: 32px;
  height: 32px;
}

/* line 55848, 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 55859, app/assets/stylesheets/application.scss */
  .mm-app:not(.is-canvas) .mm-nav,
.mm-search-panel,
.mm-search {
    max-width: 980px;
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
  /* line 55868, app/assets/stylesheets/application.scss */
  .mm-search-panel .mm-search {
    width: auto;
    max-width: none;
    margin: 0;
  }
  /* line 55874, app/assets/stylesheets/application.scss */
  .mm-search {
    margin-bottom: 16px;
  }
  /* line 55878, app/assets/stylesheets/application.scss */
  .mm-scroll {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px 36px;
  }
  /* line 55885, app/assets/stylesheets/application.scss */
  .mm-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  /* line 55889, app/assets/stylesheets/application.scss */
  .mm-status {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 32px);
  }
  /* line 55896, app/assets/stylesheets/application.scss */
  .mm-sheet {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  /* line 55902, 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 55911, app/assets/stylesheets/application.scss */
  .mm-canvas-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: minmax(0, 1fr);
  }
  /* line 55917, app/assets/stylesheets/application.scss */
  .mm-stage {
    grid-column: 1;
    grid-row: 1;
  }
  /* line 55922, 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 55934, app/assets/stylesheets/application.scss */
  .mm-dock-card {
    box-shadow: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  /* line 55941, app/assets/stylesheets/application.scss */
  .mm-children {
    max-height: none;
  }
  /* line 55945, app/assets/stylesheets/application.scss */
  .mm-zoom {
    box-shadow: none;
  }
  /* line 55949, app/assets/stylesheets/application.scss */
  .mm-zoom-label {
    padding: 8px 10px;
  }
}

/* line 55954, 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 55973, app/assets/stylesheets/application.scss */
.fc-app.is-grouped,
.fc-app.is-create,
.fc-app.is-deck {
  background: #f3f4f6;
}

/* line 55976, app/assets/stylesheets/application.scss */
.fc-app.is-study {
  background: #eef0f7;
}

/* line 55978, app/assets/stylesheets/application.scss */
.fc-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  flex: 0 0 auto;
}

/* line 55986, app/assets/stylesheets/application.scss */
.fc-nav.is-plain {
  justify-content: space-between;
}

/* line 55988, app/assets/stylesheets/application.scss */
.fc-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 55996, app/assets/stylesheets/application.scss */
.fc-nav-copy.is-center {
  text-align: center;
  align-items: center;
}

/* line 55998, app/assets/stylesheets/application.scss */
.fc-nav-copy strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* line 56005, 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 56013, app/assets/stylesheets/application.scss */
.fc-nav-spacer {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

/* line 56019, 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 56034, app/assets/stylesheets/application.scss */
.fc-round:hover,
.fc-more:hover {
  background: var(--fc-field);
}

/* line 56036, app/assets/stylesheets/application.scss */
.fc-round:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 56037, 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 56042, app/assets/stylesheets/application.scss */
.fc-round.is-accent:hover {
  filter: brightness(1.06);
}

/* line 56044, 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 56053, app/assets/stylesheets/application.scss */
.fc-text.is-accent {
  color: var(--fc-accent);
}

/* line 56054, app/assets/stylesheets/application.scss */
.fc-text.is-danger {
  color: var(--perk-ink);
}

/* line 56055, app/assets/stylesheets/application.scss */
.fc-text:disabled {
  opacity: 0.35;
}

/* line 56056, app/assets/stylesheets/application.scss */
.fc-text:hover {
  opacity: 0.8;
}

/* line 56058, app/assets/stylesheets/application.scss */
.fc-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 12px;
}

/* line 56065, app/assets/stylesheets/application.scss */
.fc-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

/* line 56071, 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 56085, app/assets/stylesheets/application.scss */
.fc-pill:hover,
.fc-choice:hover {
  background: #ececf2;
}

/* line 56087, app/assets/stylesheets/application.scss */
.fc-pill.is-on,
.fc-choice.is-on {
  background: var(--fc-accent);
  color: #fff;
}

/* line 56093, app/assets/stylesheets/application.scss */
.fc-chip {
  font-size: 12px;
  padding: 4px 10px;
  cursor: default;
  background: var(--fc-field);
}

/* line 56094, app/assets/stylesheets/application.scss */
.fc-chip.is-accent {
  background: rgba(64, 82, 181, 0.12);
  color: var(--fc-accent);
}

/* line 56095, app/assets/stylesheets/application.scss */
.fc-chip.is-map {
  background: rgba(0, 138, 122, 0.12);
  color: #008a7a;
}

/* line 56097, app/assets/stylesheets/application.scss */
.fc-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 8px;
}

/* line 56104, app/assets/stylesheets/application.scss */
.fc-search-panel .fc-search {
  flex: 1 1 auto;
}

/* line 56108, app/assets/stylesheets/application.scss */
.fc-round.is-active {
  background: #17191d;
  color: #fff;
}

/* line 56113, 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 56125, 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 56136, app/assets/stylesheets/application.scss */
.fc-search input {
  font-size: 15px;
}

/* line 56138, 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 56149, app/assets/stylesheets/application.scss */
.fc-textarea {
  min-height: 88px;
}

/* line 56151, app/assets/stylesheets/application.scss */
.fc-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

/* line 56157, app/assets/stylesheets/application.scss */
.fc-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 20px 28px;
}

/* line 56163, app/assets/stylesheets/application.scss */
.fc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 56169, 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 56183, app/assets/stylesheets/application.scss */
.fc-card:hover {
  border-color: rgba(64, 82, 181, 0.28);
}

/* line 56184, app/assets/stylesheets/application.scss */
.fc-card.is-menu {
  z-index: 3;
}

/* line 56186, 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 56201, 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 56210, 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 56220, app/assets/stylesheets/application.scss */
.fc-study-btn:hover {
  background: var(--fc-accent);
  color: #fff;
}

/* line 56222, app/assets/stylesheets/application.scss */
.fc-stack {
  width: 48px;
  height: 42px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* line 56231, 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 56240, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(1) {
  opacity: 0.32;
  left: 10px;
  top: 0;
}

/* line 56241, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(2) {
  opacity: 0.55;
  left: 5px;
  top: 5px;
}

/* line 56242, app/assets/stylesheets/application.scss */
.fc-stack i:nth-child(3) {
  opacity: 1;
  left: 0;
  top: 10px;
}

/* line 56244, app/assets/stylesheets/application.scss */
.fc-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 56245, app/assets/stylesheets/application.scss */
.fc-row-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* line 56246, app/assets/stylesheets/application.scss */
.fc-row-top strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* line 56252, app/assets/stylesheets/application.scss */
.fc-star {
  color: var(--perk-ink);
  font-size: 12px;
}

/* line 56253, app/assets/stylesheets/application.scss */
.fc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 56254, app/assets/stylesheets/application.scss */
.fc-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--fc-field);
  overflow: hidden;
}

/* line 56260, app/assets/stylesheets/application.scss */
.fc-progress span {
  display: block;
  height: 100%;
  background: var(--fc-accent);
  border-radius: inherit;
}

/* line 56266, app/assets/stylesheets/application.scss */
.fc-progress.is-study {
  margin: 0;
  height: 6px;
  background: rgba(64, 82, 181, 0.14);
}

/* line 56271, app/assets/stylesheets/application.scss */
.fc-row-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--fc-muted);
  font-size: 12px;
}

/* line 56278, app/assets/stylesheets/application.scss */
.fc-more-wrap {
  position: relative;
}

/* line 56279, app/assets/stylesheets/application.scss */
.fc-more {
  width: 36px;
  height: 36px;
  background: transparent;
  box-shadow: none;
}

/* line 56280, 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 56294, 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 56303, app/assets/stylesheets/application.scss */
.fc-menu button:hover {
  background: var(--fc-field);
}

/* line 56304, app/assets/stylesheets/application.scss */
.fc-menu .is-danger {
  color: var(--perk-ink);
}

/* line 56306, 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 56316, 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 56327, app/assets/stylesheets/application.scss */
.fc-empty strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

/* line 56328, app/assets/stylesheets/application.scss */
.fc-empty p,
.fc-lead {
  margin: 0;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 56330, app/assets/stylesheets/application.scss */
.fc-muted {
  margin: 8px 0 0;
  color: var(--fc-muted);
  font-size: 13px;
}

/* line 56331, app/assets/stylesheets/application.scss */
.fc-status {
  margin: 0 20px 12px;
  color: var(--fc-muted);
  font-size: 13px;
}

/* line 56332, app/assets/stylesheets/application.scss */
.fc-status.is-error {
  color: var(--perk-ink);
}

/* line 56334, 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 56347, 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 56348, app/assets/stylesheets/application.scss */
.fc-primary:hover {
  filter: brightness(1.05);
}

/* line 56349, app/assets/stylesheets/application.scss */
.fc-primary.is-danger {
  background: #17191d;
  box-shadow: none;
}

/* line 56350, app/assets/stylesheets/application.scss */
.fc-primary:disabled {
  opacity: 0.4;
  cursor: default;
  filter: none;
}

/* line 56351, app/assets/stylesheets/application.scss */
.fc-block {
  width: 100%;
}

/* line 56352, app/assets/stylesheets/application.scss */
.fc-ghost {
  background: #fff;
  color: var(--fc-ink);
  border: 1px solid var(--fc-line);
  box-shadow: none;
}

/* line 56358, app/assets/stylesheets/application.scss */
.fc-ghost:hover {
  background: var(--fc-field);
}

/* line 56359, app/assets/stylesheets/application.scss */
.fc-empty .fc-primary {
  width: auto;
  padding: 13px 22px;
}

/* line 56361, app/assets/stylesheets/application.scss */
.fc-create {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* line 56366, 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 56373, app/assets/stylesheets/application.scss */
.fc-create-grid,
.fc-deck-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

/* line 56380, 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 56389, 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 56398, app/assets/stylesheets/application.scss */
.fc-source strong {
  font-size: 15px;
  color: var(--fc-ink);
}

/* line 56399, app/assets/stylesheets/application.scss */
.fc-source p {
  margin: 0;
  font-size: 13px;
  color: var(--fc-muted);
}

/* line 56400, 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 56412, app/assets/stylesheets/application.scss */
.fc-upload {
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--fc-accent);
}

/* line 56413, app/assets/stylesheets/application.scss */
.fc-upload:hover {
  background: rgba(64, 82, 181, 0.06);
}

/* line 56414, app/assets/stylesheets/application.scss */
.fc-file button {
  border: 0;
  background: transparent;
  color: var(--fc-muted);
  cursor: pointer;
}

/* line 56415, 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 56416, app/assets/stylesheets/application.scss */
.fc-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 56417, app/assets/stylesheets/application.scss */
.fc-choice {
  background: var(--fc-field);
}

/* line 56418, 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 56428, app/assets/stylesheets/application.scss */
.fc-error p {
  margin: 0;
}

/* line 56429, app/assets/stylesheets/application.scss */
.fc-create-foot {
  padding-bottom: 8px;
}

/* line 56431, app/assets/stylesheets/application.scss */
.fc-deck-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* line 56432, app/assets/stylesheets/application.scss */
.fc-deck-head h1 {
  font-size: 24px;
}

/* line 56433, app/assets/stylesheets/application.scss */
.fc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* line 56434, app/assets/stylesheets/application.scss */
.fc-stat {
  text-align: center;
  padding: 14px 8px;
  background: var(--fc-field);
  border-radius: 14px;
}

/* line 56440, app/assets/stylesheets/application.scss */
.fc-stat strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 56441, app/assets/stylesheets/application.scss */
.fc-stat span {
  font-size: 12px;
  color: var(--fc-muted);
}

/* line 56442, app/assets/stylesheets/application.scss */
.fc-deck-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 56443, 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 56444, app/assets/stylesheets/application.scss */
.fc-preview {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 56445, app/assets/stylesheets/application.scss */
.fc-preview-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

/* line 56451, 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 56462, app/assets/stylesheets/application.scss */
.fc-preview-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 56464, 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 56473, 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 56482, app/assets/stylesheets/application.scss */
.fc-editor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 56487, 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 56488, app/assets/stylesheets/application.scss */
.fc-editor-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 56489, app/assets/stylesheets/application.scss */
.fc-editor-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 56496, 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 56506, app/assets/stylesheets/application.scss */
.fc-editor-bar .fc-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 56507, app/assets/stylesheets/application.scss */
.fc-editor-bar-actions {
  display: flex;
  gap: 8px;
}

/* line 56509, 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 56519, 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 56527, 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 56541, 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 56554, 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 56562, 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 56568, app/assets/stylesheets/application.scss */
.fc-face.is-back {
  align-items: flex-start;
  text-align: left;
  transform: rotateY(-90deg);
  opacity: 0;
}

/* line 56569, app/assets/stylesheets/application.scss */
.fc-face.is-back strong {
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.4rem);
}

/* line 56570, app/assets/stylesheets/application.scss */
.fc-face p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* line 56571, app/assets/stylesheets/application.scss */
.fc-face .fc-example {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fc-field);
  width: 100%;
}

/* line 56577, app/assets/stylesheets/application.scss */
.fc-face small {
  color: #9ca3af;
  font-size: 13px;
}

/* line 56578, app/assets/stylesheets/application.scss */
.fc-flip.is-flipped .is-front {
  transform: rotateY(90deg);
  opacity: 0;
}

/* line 56579, app/assets/stylesheets/application.scss */
.fc-flip.is-flipped .is-back {
  transform: rotateY(0);
  opacity: 1;
}

/* line 56580, app/assets/stylesheets/application.scss */
.fc-study-nav {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
}

/* line 56586, app/assets/stylesheets/application.scss */
.fc-keys {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--fc-muted);
}

/* line 56592, app/assets/stylesheets/application.scss */
.fc-grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 56593, app/assets/stylesheets/application.scss */
.fc-grade[hidden] {
  display: none;
}

/* line 56594, app/assets/stylesheets/application.scss */
.fc-again {
  color: var(--fc-again);
  background: rgba(23, 25, 29, 0.08);
}

/* line 56595, app/assets/stylesheets/application.scss */
.fc-learning {
  color: var(--fc-learn);
  background: rgba(217, 119, 6, 0.12);
}

/* line 56596, app/assets/stylesheets/application.scss */
.fc-gotit {
  color: #fff;
  background: var(--fc-ok);
}

/* line 56597, 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 56607, app/assets/stylesheets/application.scss */
.fc-complete h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* line 56608, app/assets/stylesheets/application.scss */
.fc-complete .fc-lead {
  text-align: center;
}

/* line 56609, 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 56610, 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 56617, app/assets/stylesheets/application.scss */
.fc-summary p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
}

/* line 56618, app/assets/stylesheets/application.scss */
.fc-summary p:last-child {
  margin: 0;
}

/* line 56620, 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 56633, app/assets/stylesheets/application.scss */
.fc-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* line 56634, app/assets/stylesheets/application.scss */
.fc-banner-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

/* line 56635, app/assets/stylesheets/application.scss */
.fc-banner-row .fc-primary,
.fc-banner-row .fc-ghost {
  min-height: 42px;
  width: auto;
}

/* line 56638, app/assets/stylesheets/application.scss */
.fc-sheet {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* line 56646, app/assets/stylesheets/application.scss */
.fc-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 24, 39, 0.36);
}

/* line 56647, 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 56658, app/assets/stylesheets/application.scss */
.fc-sheet-card strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* line 56659, app/assets/stylesheets/application.scss */
.fc-sheet-card p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 14px;
  line-height: 1.4;
}

/* line 56660, 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 56668, 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 56678, app/assets/stylesheets/application.scss */
.fc-overlay-card strong {
  font-size: 17px;
}

/* line 56679, app/assets/stylesheets/application.scss */
.fc-phase {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

/* line 56680, app/assets/stylesheets/application.scss */
.fc-phase .fa-check-circle {
  color: var(--fc-ok);
}

/* line 56681, app/assets/stylesheets/application.scss */
.fc-phase .fa-circle {
  color: #d1d5db;
}

@media (min-width: 760px) {
  /* line 56684, app/assets/stylesheets/application.scss */
  .fc-toolbar {
    flex-direction: row;
    align-items: center;
  }
  /* line 56688, app/assets/stylesheets/application.scss */
  .fc-search {
    flex: 1 1 auto;
  }
  /* line 56689, app/assets/stylesheets/application.scss */
  .fc-pills {
    flex: 0 0 auto;
    padding: 0;
  }
  /* line 56690, app/assets/stylesheets/application.scss */
  .fc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 56691, app/assets/stylesheets/application.scss */
  .fc-create-grid,
.fc-deck-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  }
  /* line 56693, app/assets/stylesheets/application.scss */
  .fc-settings {
    position: sticky;
    top: 8px;
  }
  /* line 56694, app/assets/stylesheets/application.scss */
  .fc-editor-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* line 56695, app/assets/stylesheets/application.scss */
  .fc-card-actions {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  /* line 56699, app/assets/stylesheets/application.scss */
  .fc-nav,
.fc-toolbar {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 56701, app/assets/stylesheets/application.scss */
  .fc-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 56702, app/assets/stylesheets/application.scss */
  .fc-study {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* line 56703, app/assets/stylesheets/application.scss */
  .fc-face {
    padding: 22px 18px;
  }
  /* line 56704, app/assets/stylesheets/application.scss */
  .fc-grade {
    grid-template-columns: 1fr;
  }
  /* line 56705, app/assets/stylesheets/application.scss */
  .fc-keys {
    display: none;
  }
  /* line 56706, app/assets/stylesheets/application.scss */
  .fc-sheet {
    align-items: end;
    place-items: stretch;
    padding: 0;
  }
  /* line 56707, app/assets/stylesheets/application.scss */
  .fc-sheet-card {
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding-bottom: 28px;
  }
  /* line 56712, app/assets/stylesheets/application.scss */
  .fc-banner {
    left: 12px;
    right: 12px;
  }
  /* line 56713, app/assets/stylesheets/application.scss */
  .fc-study-btn {
    padding: 6px 10px;
  }
}

/* line 56716, 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 56734, app/assets/stylesheets/application.scss */
.sz-app.is-compose,
.sz-app.is-result {
  background: var(--perk-canvas, #f2f3f5);
}

/* line 56739, 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 56750, app/assets/stylesheets/application.scss */
.sz-nav-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 56758, app/assets/stylesheets/application.scss */
.sz-nav-copy strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 56765, 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 56773, 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 56785, 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 56799, app/assets/stylesheets/application.scss */
.sz-icon:hover {
  background: #e8eaee;
}

/* line 56803, app/assets/stylesheets/application.scss */
.sz-icon-quiet {
  background: transparent;
  color: var(--sz-soft);
}

/* line 56808, 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 56824, app/assets/stylesheets/application.scss */
.sz-new:hover {
  background: #c47d1a;
}

/* line 56828, app/assets/stylesheets/application.scss */
.sz-workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* line 56835, app/assets/stylesheets/application.scss */
.sz-app.is-list > .sz-search-panel {
  width: min(920px, calc(100% - 32px));
  margin: 4px auto 8px;
}

/* line 56840, app/assets/stylesheets/application.scss */
.sz-app.is-list > .sz-status {
  width: min(920px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* line 56846, app/assets/stylesheets/application.scss */
.sz-app.is-list > .sz-nav {
  width: min(920px, 100%);
  margin: 0 auto;
  border-bottom: 0;
  background: transparent;
}

/* line 56853, app/assets/stylesheets/application.scss */
.sz-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 16px 28px;
}

/* line 56859, app/assets/stylesheets/application.scss */
.sz-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fff;
}

/* line 56867, app/assets/stylesheets/application.scss */
.sz-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 14px 8px;
}

/* line 56874, app/assets/stylesheets/application.scss */
.sz-search-panel .sz-search {
  flex: 1 1 auto;
  margin: 0;
}

/* line 56879, app/assets/stylesheets/application.scss */
.sz-icon.is-active {
  background: var(--sz-ink, #17191d);
  color: #fff;
}

/* line 56884, 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 56895, 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 56904, app/assets/stylesheets/application.scss */
.sz-rail .sz-scroll {
  padding: 4px 12px 20px;
}

/* line 56908, 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 56917, app/assets/stylesheets/application.scss */
.sz-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

/* line 56923, 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 56929, app/assets/stylesheets/application.scss */
.sz-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* line 56935, 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 56946, app/assets/stylesheets/application.scss */
.sz-card:hover {
  background: #fffdf8;
  border-color: rgba(217, 140, 33, 0.28);
}

/* line 56951, 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 56957, 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 56972, 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 56985, app/assets/stylesheets/application.scss */
.sz-card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

/* line 56992, app/assets/stylesheets/application.scss */
.sz-card-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* line 56998, app/assets/stylesheets/application.scss */
.sz-card-title strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* line 57005, app/assets/stylesheets/application.scss */
.sz-card-title i {
  color: var(--sz-accent);
  font-size: 11px;
}

/* line 57010, 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 57020, app/assets/stylesheets/application.scss */
.sz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 57026, 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 57035, app/assets/stylesheets/application.scss */
.sz-chip.is-on {
  background: var(--sz-accent-soft);
  color: var(--perk-ink);
}

/* line 57040, app/assets/stylesheets/application.scss */
.sz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--sz-soft);
}

/* line 57048, 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 57058, app/assets/stylesheets/application.scss */
.sz-more:hover {
  background: var(--sz-field);
  color: var(--sz-ink);
}

/* line 57063, 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 57076, app/assets/stylesheets/application.scss */
.sz-rail-empty {
  padding: 24px 8px;
}

/* line 57080, 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 57090, 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 57103, 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 57111, 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 57122, app/assets/stylesheets/application.scss */
.sz-primary.is-block {
  width: 100%;
  padding: 13px 18px;
  font-size: 16px;
  border-radius: 14px;
}

/* line 57129, app/assets/stylesheets/application.scss */
.sz-primary:hover {
  background: #c47d1a;
}

/* line 57133, app/assets/stylesheets/application.scss */
.sz-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 57138, app/assets/stylesheets/application.scss */
.sz-status {
  margin: 0 14px 8px;
  font-size: 13px;
  color: var(--sz-muted);
}

/* line 57144, app/assets/stylesheets/application.scss */
.sz-status.is-err {
  color: var(--perk-ink);
}

/* line 57148, app/assets/stylesheets/application.scss */
.sz-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
}

/* line 57156, 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 57166, app/assets/stylesheets/application.scss */
.sz-pane-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
}

/* line 57172, app/assets/stylesheets/application.scss */
.sz-pane-spacer {
  display: block;
}

/* line 57176, 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 57185, app/assets/stylesheets/application.scss */
.sz-text-btn.is-accent {
  font-weight: 650;
  color: var(--sz-accent);
  justify-self: end;
}

/* line 57191, app/assets/stylesheets/application.scss */
.sz-text-btn:disabled {
  opacity: 0.4;
}

/* line 57195, 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 57209, 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 57218, app/assets/stylesheets/application.scss */
.sz-lead {
  margin: 8px 0 0;
  color: var(--sz-muted);
  font-size: 15px;
  line-height: 1.45;
}

/* line 57225, app/assets/stylesheets/application.scss */
.sz-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 57231, 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 57246, 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 57254, 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 57264, app/assets/stylesheets/application.scss */
.sz-count {
  font-size: 12px;
  color: var(--sz-soft);
  line-height: 1.4;
}

/* line 57270, app/assets/stylesheets/application.scss */
.sz-count.is-ok {
  color: #3d8b4a;
}

/* line 57274, app/assets/stylesheets/application.scss */
.sz-length-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 57280, app/assets/stylesheets/application.scss */
.sz-source {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 57286, 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 57297, app/assets/stylesheets/application.scss */
.sz-file span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 57305, app/assets/stylesheets/application.scss */
.sz-file i:first-child {
  color: var(--sz-accent);
}

/* line 57309, app/assets/stylesheets/application.scss */
.sz-file button {
  border: 0;
  background: transparent;
  color: var(--sz-soft);
  cursor: pointer;
}

/* line 57316, app/assets/stylesheets/application.scss */
.sz-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 57322, 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 57336, app/assets/stylesheets/application.scss */
.sz-ghost:hover {
  background: var(--sz-field);
}

/* line 57340, 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 57352, app/assets/stylesheets/application.scss */
.sz-banner {
  padding: 12px 14px;
  border-radius: 12px;
}

/* line 57357, app/assets/stylesheets/application.scss */
.sz-banner.is-warn {
  background: rgba(255, 149, 0, 0.1);
}

/* line 57358, app/assets/stylesheets/application.scss */
.sz-banner.is-err {
  background: rgba(255, 59, 48, 0.08);
}

/* line 57360, app/assets/stylesheets/application.scss */
.sz-banner p {
  margin: 0 0 8px;
  font-size: 14px;
}

/* line 57362, app/assets/stylesheets/application.scss */
.sz-result-pane {
  background: #fff;
}

/* line 57366, 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 57378, app/assets/stylesheets/application.scss */
.sz-result-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 57384, app/assets/stylesheets/application.scss */
.sz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 57390, 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 57401, app/assets/stylesheets/application.scss */
.sz-pill.is-on {
  background: var(--sz-accent);
  color: #fff;
}

/* line 57406, app/assets/stylesheets/application.scss */
.sz-pill:disabled {
  opacity: 0.45;
}

/* line 57410, 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 57419, 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 57427, app/assets/stylesheets/application.scss */
.sz-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

/* line 57433, app/assets/stylesheets/application.scss */
.sz-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* line 57439, app/assets/stylesheets/application.scss */
.sz-point p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* line 57445, 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 57460, app/assets/stylesheets/application.scss */
.sz-concept strong {
  display: block;
  font-size: 15px;
}

/* line 57465, app/assets/stylesheets/application.scss */
.sz-concept p {
  margin: 4px 0 0;
  color: var(--sz-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* line 57472, app/assets/stylesheets/application.scss */
.sz-source-ref {
  padding-top: 4px;
}

/* line 57476, app/assets/stylesheets/application.scss */
.sz-source-ref p {
  margin: 6px 0 0;
  color: var(--sz-muted);
  font-size: 14px;
}

/* line 57482, app/assets/stylesheets/application.scss */
.sz-add-point {
  display: flex;
  gap: 8px;
}

/* line 57487, 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 57496, 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 57507, 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 57523, app/assets/stylesheets/application.scss */
.sz-bar button:hover {
  background: #eceef1;
}

/* line 57527, app/assets/stylesheets/application.scss */
.sz-bar button:disabled {
  opacity: 0.4;
}

/* line 57531, 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 57542, 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 57554, app/assets/stylesheets/application.scss */
.sz-overlay-card strong {
  font-size: 17px;
}

/* line 57558, app/assets/stylesheets/application.scss */
.sz-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* line 57565, app/assets/stylesheets/application.scss */
.sz-step .fa-check-circle {
  color: var(--sz-accent);
}

/* line 57566, app/assets/stylesheets/application.scss */
.sz-step .fa-circle {
  color: #c7c7cc;
}

/* line 57568, 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 57581, app/assets/stylesheets/application.scss */
.sz-sheet {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* line 57590, app/assets/stylesheets/application.scss */
.sz-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.36);
}

/* line 57597, 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 57608, 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 57621, app/assets/stylesheets/application.scss */
.sz-menu button:hover {
  background: var(--sz-field);
}

/* line 57625, app/assets/stylesheets/application.scss */
.sz-menu .is-danger {
  color: var(--perk-ink);
}

/* line 57627, 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 57638, app/assets/stylesheets/application.scss */
.sz-drive header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* line 57645, 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 57661, app/assets/stylesheets/application.scss */
.sz-drive-row:hover {
  color: var(--sz-accent);
}

@media (max-width: 899px) {
  /* line 57666, app/assets/stylesheets/application.scss */
  .sz-nav {
    padding: 10px 12px;
  }
  /* line 57670, app/assets/stylesheets/application.scss */
  .sz-new span {
    display: none;
  }
  /* line 57674, app/assets/stylesheets/application.scss */
  .sz-new {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
  /* line 57680, app/assets/stylesheets/application.scss */
  .sz-pane-body,
.sz-result {
    padding-left: 18px;
    padding-right: 18px;
  }
  /* line 57686, app/assets/stylesheets/application.scss */
  .sz-compose-intro h1,
.sz-result-head h1,
.sz-title-input {
    font-size: 24px;
  }
  /* line 57692, app/assets/stylesheets/application.scss */
  .sz-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (min-width: 760px) {
  /* line 57699, app/assets/stylesheets/application.scss */
  .sz-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 57703, app/assets/stylesheets/application.scss */
  .sz-shell {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 900px) {
  /* line 57710, app/assets/stylesheets/application.scss */
  .sz-sheet {
    align-items: center;
  }
  /* line 57714, app/assets/stylesheets/application.scss */
  .sz-drive,
.sz-menu {
    border-radius: 16px;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 57722, app/assets/stylesheets/application.scss */
  .sz-spinner {
    animation: none;
  }
}

/* line 57727, app/assets/stylesheets/application.scss */
.companion-hub-shell {
  position: relative;
}

/* —— Team work / Workplace (iOS function, professional web layout) —— */
/* line 57732, 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 57744, 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 57760, app/assets/stylesheets/application.scss */
.tw-landing :where(*) {
  font-weight: 500 !important;
}

/* line 57764, app/assets/stylesheets/application.scss */
.tw-landing-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* line 57773, 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-dcf9e5061921bb07d962776ce43f1ae6038a75e20d9fafd35f38918897fb9246.jpg) center center/cover no-repeat;
  transform: scale(1.02);
  pointer-events: none;
}

/* line 57783, 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 57797, 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 57811, app/assets/stylesheets/application.scss */
.tw-landing-me:hover,
.tw-landing-me:focus-visible {
  outline: none;
}

/* line 57816, 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 57821, 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 57833, 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 57844, 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 57858, 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 57870, app/assets/stylesheets/application.scss */
.tw-landing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 720px;
}

/* line 57879, 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 57889, 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 57906, app/assets/stylesheets/application.scss */
.tw-landing-group:hover,
.tw-landing-group:focus-visible {
  outline: none;
}

/* line 57911, 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 57916, app/assets/stylesheets/application.scss */
.tw-landing-group-art {
  --tw-group-radius: 22px;
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--tw-group-radius);
  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 57932, app/assets/stylesheets/application.scss */
.tw-landing-group-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* line 57939, 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 57948, 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 57961, 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 57970, 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 57992, 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 57997, 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 58007, app/assets/stylesheets/application.scss */
.tw-create-btn.is-on-hero {
  background: #fff;
  border-color: #fff;
  color: #202124;
}

/* line 58013, app/assets/stylesheets/application.scss */
.tw-create-btn.is-on-hero .tw-create-btn-icon {
  color: #202124;
}

/* line 58017, app/assets/stylesheets/application.scss */
.tw-create-btn.is-on-hero:hover {
  background: #f3f4f6;
  border-color: #f3f4f6;
}

/* line 58022, 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 58032, app/assets/stylesheets/application.scss */
.tw-landing .tw-icon:hover {
  transform: none;
  background: #f8f9fa;
}

/* line 58037, 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 58048, 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 58053, 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 58059, 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 58087, app/assets/stylesheets/application.scss */
.tw-app,
.tw-sheet,
.tw-cal,
.tw-sheet-layer,
.tw-main {
  /* Soft Futurism — aligned with Calendar (--cal-*) */
  --tw-ink: #1E2433;
  --tw-muted: #6B7285;
  --tw-field: #F3F5FB;
  --tw-line: rgba(30, 36, 51, 0.08);
  --tw-accent: #6C63FF;
  --tw-accent-deep: #5548E8;
  --tw-accent-soft: rgba(108, 99, 255, 0.12);
  --tw-canvas: #F8FAFF;
  --tw-card: #fff;
  --tw-sky: rgba(108, 99, 255, 0.06);
  --tw-radius: 12px;
  --tw-ease: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --tw-btn-h: 34px;
  --tw-shadow: 0 2px 8px rgba(30, 36, 51, 0.06);
  --tw-shadow-md: 0 8px 22px rgba(108, 99, 255, 0.18);
  --tw-weight-regular: 500;
  --tw-weight-medium: 600;
  --tw-weight-semibold: 700;
  --tw-weight-bold: 800;
  color: var(--tw-ink);
  font-weight: 500;
}

/* line 58116, 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 58124, app/assets/stylesheets/application.scss */
.tw-app {
  position: relative;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: radial-gradient(1100px 480px at 8% -10%, rgba(108, 99, 255, 0.07), transparent 55%), radial-gradient(900px 420px at 100% 0%, rgba(91, 140, 255, 0.05), transparent 52%), var(--tw-canvas, #F8FAFF);
  color: var(--tw-ink);
  font-family: var(--perk-font, "SF Pro Text", "Segoe UI", system-ui, sans-serif);
}

/* Member/settings rail removed — settings open from the group icon in the header. */
/* line 58138, app/assets/stylesheets/application.scss */
.tw-rail {
  display: none !important;
}

/* line 58142, app/assets/stylesheets/application.scss */
.tw-brand-mark.is-settings {
  cursor: pointer;
}

/* line 58146, app/assets/stylesheets/application.scss */
.tw-brand-mark.is-settings:hover {
  filter: brightness(0.97);
}

/* line 58150, 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 58166, app/assets/stylesheets/application.scss */
.tw-rail-members::-webkit-scrollbar {
  width: 4px;
}

/* line 58170, app/assets/stylesheets/application.scss */
.tw-rail-members::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.28);
}

/* line 58175, app/assets/stylesheets/application.scss */
.tw-rail-members .tw-member-face {
  margin-left: 0;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

/* line 58182, app/assets/stylesheets/application.scss */
.tw-rail-empty {
  display: block;
  width: 1px;
  height: 1px;
}

/* line 58188, 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 58198, app/assets/stylesheets/application.scss */
.tw-rail.is-productivity .tw-rail-foot {
  gap: 10px;
}

/* line 58202, app/assets/stylesheets/application.scss */
.tw-rail.is-productivity .tw-rail-btn.is-settings {
  color: var(--tw-ink);
}

/* line 58206, 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 58216, app/assets/stylesheets/application.scss */
.tw-rail-me:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.05);
}

/* line 58220, app/assets/stylesheets/application.scss */
.tw-rail-me.is-on {
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.22), 0 4px 12px rgba(30, 36, 51, 0.12);
  border-color: var(--tw-accent, #6C63FF);
}

/* line 58225, 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 58241, app/assets/stylesheets/application.scss */
.tw-rail-btn:hover,
.tw-rail-settings:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* line 58247, app/assets/stylesheets/application.scss */
.tw-rail-btn.is-bell.is-on,
.tw-icon.is-bell.is-on {
  border-color: rgba(108, 99, 255, 0.35);
  background: #fff;
  color: var(--tw-accent, #6C63FF);
}

/* line 58254, app/assets/stylesheets/application.scss */
.tw-icon.is-bell {
  position: relative;
}

/* line 58258, app/assets/stylesheets/application.scss */
.tw-icon.is-people {
  position: relative;
}

/* line 58262, app/assets/stylesheets/application.scss */
.tw-icon.is-people .tw-count-badge,
.tw-brand-mark.is-people .tw-count-badge {
  background: #e5e7eb;
  color: var(--tw-ink, #1a1d24);
  border-color: #fff;
}

/* line 58269, app/assets/stylesheets/application.scss */
.tw-count-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  box-sizing: border-box;
  pointer-events: none;
  transform: translate(50%, -50%);
}

/* line 58294, app/assets/stylesheets/application.scss */
.tw-landing-me-art,
.tw-team-menu-art {
  position: relative;
  display: inline-grid;
  place-items: center;
}

/* line 58301, app/assets/stylesheets/application.scss */
.tw-landing-me-art {
  transition: transform 0.18s ease;
}

/* line 58306, app/assets/stylesheets/application.scss */
.tw-landing-me-art .tw-count-badge {
  top: 14.65%;
  right: 14.65%;
  min-width: 22px;
  height: 22px;
  font-size: 12px;
  padding: 0 6px;
  transform: translate(50%, -50%);
}

/* line 58318, app/assets/stylesheets/application.scss */
.tw-landing-group-art .tw-count-badge {
  top: calc(var(--tw-group-radius, 22px) * 0.2929);
  right: calc(var(--tw-group-radius, 22px) * 0.2929);
  min-width: 22px;
  height: 22px;
  font-size: 12px;
  padding: 0 6px;
  transform: translate(50%, -50%);
}

/* line 58329, app/assets/stylesheets/application.scss */
.tw-team-menu-art .tw-count-badge {
  top: 14.65%;
  right: 14.65%;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  padding: 0 4px;
  transform: translate(50%, -50%);
}

/* line 58339, 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 58346, app/assets/stylesheets/application.scss */
.tw-sheet-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* line 58353, 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 58363, 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 58378, 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 58385, app/assets/stylesheets/application.scss */
.tw-inbox-row.is-unread {
  background: rgba(61, 107, 253, 0.06);
}

/* line 58389, app/assets/stylesheets/application.scss */
.tw-inbox-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: transparent;
}

/* line 58397, app/assets/stylesheets/application.scss */
.tw-inbox-row.is-unread .tw-inbox-dot {
  background: #ff3b30;
}

/* line 58401, app/assets/stylesheets/application.scss */
.tw-inbox-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 58408, app/assets/stylesheets/application.scss */
.tw-inbox-copy strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

/* line 58414, 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 58424, 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 58431, 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: 10px 10px 0;
}

/* line 58441, 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 58450, 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 58466, 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 58475, app/assets/stylesheets/application.scss */
.tw-brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #7B74FF 0%, #5B8CFF 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.22);
  font-size: 11px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* line 58495, app/assets/stylesheets/application.scss */
button.tw-brand-mark {
  cursor: pointer;
  overflow: visible;
}

/* line 58500, app/assets/stylesheets/application.scss */
button.tw-brand-mark:hover,
button.tw-brand-mark:focus-visible {
  filter: brightness(1.06);
}

/* line 58505, app/assets/stylesheets/application.scss */
button.tw-brand-mark:focus-visible {
  outline: 2px solid rgba(108, 99, 255, 0.45);
  outline-offset: 2px;
}

/* line 58510, 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 58517, app/assets/stylesheets/application.scss */
.tw-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* line 58525, app/assets/stylesheets/application.scss */
.tw-brand-mark.is-people .tw-count-badge {
  top: calc(8px * 0.2929);
  right: calc(8px * 0.2929);
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  padding: 0 4px;
  transform: translate(50%, -50%);
}

/* line 58536, app/assets/stylesheets/application.scss */
.tw-top-copy {
  flex: 1;
  min-width: 0;
}

/* line 58541, 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 58553, 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 58560, app/assets/stylesheets/application.scss */
.tw-top-copy > span {
  color: var(--tw-muted);
  font-size: 11px;
  line-height: 1.2;
}

/* line 58566, app/assets/stylesheets/application.scss */
.tw-team-menu {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 58572, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 6px 14px 6px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s ease;
}

/* line 58587, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger:hover,
.tw-team-menu-trigger.is-open {
  background: rgba(26, 29, 36, 0.05);
}

/* line 58592, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger .tw-top-copy strong {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

/* line 58601, app/assets/stylesheets/application.scss */
.tw-team-menu-name {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* line 58613, app/assets/stylesheets/application.scss */
.tw-team-menu-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 0;
  width: 14px;
  height: 14px;
  color: var(--tw-muted);
  transition: transform 0.18s ease, color 0.15s ease;
}

/* line 58625, app/assets/stylesheets/application.scss */
.tw-team-menu-caret .heroicon,
.tw-team-menu-caret svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* line 58632, app/assets/stylesheets/application.scss */
.tw-team-menu-trigger.is-open .tw-team-menu-caret {
  transform: rotate(180deg);
  color: var(--tw-accent-deep);
}

/* line 58637, 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 58652, app/assets/stylesheets/application.scss */
.tw-team-menu-list {
  display: grid;
  gap: 2px;
  max-height: 280px;
  overflow: auto;
  scrollbar-width: thin;
}

/* line 58660, 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 58680, app/assets/stylesheets/application.scss */
.tw-team-menu-item:hover {
  background: rgba(26, 29, 36, 0.05);
}

/* line 58684, app/assets/stylesheets/application.scss */
.tw-team-menu-item.is-on {
  background: var(--tw-accent-soft);
  color: var(--tw-accent-deep);
}

/* line 58689, 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 58698, app/assets/stylesheets/application.scss */
.tw-team-menu-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 58706, app/assets/stylesheets/application.scss */
.tw-team-menu-check {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--tw-accent);
}

/* line 58712, 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 58725, app/assets/stylesheets/application.scss */
.tw-team-menu-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* line 58732, app/assets/stylesheets/application.scss */
.tw-team-menu-art.is-add {
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-ink);
}

/* line 58737, app/assets/stylesheets/application.scss */
.tw-team-menu-art.is-avatar {
  background: #e8eaee;
  color: var(--tw-ink);
  font-size: 14px;
  font-weight: 650;
}

/* line 58744, 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 58748, app/assets/stylesheets/application.scss */
.tw-app.is-productivity .tw-tabs {
  max-width: min(100%, 520px);
}

/* line 58752, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded {
  padding-top: 0;
  gap: 12px;
}

/* line 58757, app/assets/stylesheets/application.scss */
.tw-perf-toolbar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  gap: 10px;
}

/* line 58764, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  margin-right: auto;
  padding: 0;
  background: transparent;
}

/* line 58776, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope {
  width: fit-content;
  max-width: 100%;
}

/* line 58781, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: min(280px, 55vw);
  margin: 0;
  padding: 8px 18px 8px 14px;
  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 58804, 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 58811, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger .tw-perf-scope-caret {
  flex: 0 0 auto;
  margin-left: 0;
  color: #000;
}

/* line 58817, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger.is-open .tw-perf-scope-caret {
  color: #000;
}

/* line 58821, app/assets/stylesheets/application.scss */
.tw-perf-toolbar .tw-perf-scope-trigger span {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 58829, app/assets/stylesheets/application.scss */
.tw-perf-toolbar-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* line 58836, 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 58844, app/assets/stylesheets/application.scss */
.tw-perf.is-embedded .tw-ops-kpis {
  gap: 8px;
}

/* line 58848, 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 58855, 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 58861, 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 58869, 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 58875, app/assets/stylesheets/application.scss */
.tw-perf-head.is-embedded {
  padding-left: 4px;
  padding-right: 4px;
}

/* line 58880, 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 58888, app/assets/stylesheets/application.scss */
.tw-ops {
  display: grid;
  gap: 12px;
  min-width: 0;
}

/* line 58894, app/assets/stylesheets/application.scss */
.tw-ops.is-empty {
  flex: 1 1 auto;
  min-height: 100%;
  place-items: center;
  align-content: center;
}

/* line 58901, 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 58910, app/assets/stylesheets/application.scss */
.tw-ops-empty strong {
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--tw-ink);
}

/* line 58916, app/assets/stylesheets/application.scss */
.tw-ops-empty p {
  margin: 0;
  color: var(--tw-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* line 58923, 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 58936, 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 58943, app/assets/stylesheets/application.scss */
.tw-ops-empty-add:focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 3px;
}

/* line 58948, 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: transparent;
  box-shadow: none;
  transition: transform 0.22s ease, opacity 0.18s ease;
  will-change: transform;
}

/* line 58964, app/assets/stylesheets/application.scss */
.tw-ops-switch.is-away {
  transform: translateY(calc(-100% - 10px));
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}

/* line 58971, 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 58985, app/assets/stylesheets/application.scss */
.tw-ops-switch-track.is-reordering {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* line 58990, app/assets/stylesheets/application.scss */
.tw-ops-switch-track::-webkit-scrollbar {
  display: none;
}

/* line 58994, 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: grab;
  flex: 0 0 auto;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.12s ease;
}

/* line 59012, app/assets/stylesheets/application.scss */
.tw-ops-chip.is-add {
  cursor: pointer;
}

/* line 59016, app/assets/stylesheets/application.scss */
.tw-ops-chip.is-dragging,
.tw-ops-chip.is-dragging:hover {
  opacity: 0.45;
  cursor: grabbing;
  transform: scale(0.98);
  box-shadow: 0 10px 22px rgba(26, 29, 36, 0.12);
  z-index: 2;
}

/* line 59025, app/assets/stylesheets/application.scss */
.tw-ops-switch-track.is-reordering .tw-ops-chip:not(.is-dragging):not(.is-add) {
  transition: transform 0.12s ease;
}

/* line 59029, app/assets/stylesheets/application.scss */
.tw-ops-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 29, 36, 0.06);
}

/* line 59034, app/assets/stylesheets/application.scss */
.tw-ops-chip:not(.is-on):not(.is-add) {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(26, 29, 36, 0.06);
  color: color-mix(in srgb, var(--tw-ink) 62%, var(--tw-muted));
}

/* line 59040, app/assets/stylesheets/application.scss */
.tw-ops-chip:not(.is-on):not(.is-add) .tw-ops-chip-art {
  filter: saturate(0.45) brightness(1.08);
  opacity: 0.62;
}

/* line 59045, app/assets/stylesheets/application.scss */
.tw-ops-chip:not(.is-on):not(.is-add) .tw-ops-chip-copy strong {
  color: color-mix(in srgb, var(--tw-ink) 68%, var(--tw-muted));
  font-weight: 500;
}

/* line 59050, app/assets/stylesheets/application.scss */
.tw-ops-chip:not(.is-on):not(.is-add):hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--tw-ink);
}

/* line 59055, app/assets/stylesheets/application.scss */
.tw-ops-chip:not(.is-on):not(.is-add):hover .tw-ops-chip-art {
  filter: saturate(0.7) brightness(1.04);
  opacity: 0.82;
}

/* line 59060, app/assets/stylesheets/application.scss */
.tw-ops-chip:not(.is-on):not(.is-add):hover .tw-ops-chip-copy strong {
  color: var(--tw-ink);
  font-weight: 550;
}

/* line 59065, 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 59071, 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 59084, 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 59091, 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 59104, 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 59113, app/assets/stylesheets/application.scss */
.tw-ops-chip-art .heroicon,
.tw-ops-chip-art i {
  width: 14px;
  height: 14px;
}

/* line 59119, 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 59126, app/assets/stylesheets/application.scss */
.tw-ops-chip-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

/* line 59132, 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 59141, 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 59151, app/assets/stylesheets/application.scss */
.tw-ops-chip.has-heat .tw-ops-chip-copy em {
  color: #8a4b12;
}

/* line 59155, 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 59175, 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 59185, app/assets/stylesheets/application.scss */
.tw-ops-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* line 59192, app/assets/stylesheets/application.scss */
.tw-ops-head-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

/* line 59198, app/assets/stylesheets/application.scss */
.tw-ops-head-copy strong {
  font-size: 24px;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

/* line 59204, 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 59212, app/assets/stylesheets/application.scss */
.tw-ops-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 59219, 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 59226, 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 59235, app/assets/stylesheets/application.scss */
.tw-ops-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

/* line 59241, 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 59256, 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 59261, app/assets/stylesheets/application.scss */
button.tw-ops-kpi:hover {
  background: #eef0f4;
}

/* line 59265, 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 59271, 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 59280, 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 59288, app/assets/stylesheets/application.scss */
.tw-ops-kpi.is-warn {
  background: #f4f4f5;
  border-color: rgba(26, 29, 36, 0.1);
}

/* line 59293, app/assets/stylesheets/application.scss */
.tw-ops-kpi.is-warn strong {
  color: #1a1d24;
}

/* line 59297, 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 59307, app/assets/stylesheets/application.scss */
.tw-ops-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

/* line 59314, app/assets/stylesheets/application.scss */
.tw-ops-panel-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 59320, 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 59327, 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 59333, 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 59341, 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 59357, app/assets/stylesheets/application.scss */
.tw-ops-focus {
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f8 100%);
}

/* line 59361, 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 59369, 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 59383, 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 59393, 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 59407, app/assets/stylesheets/application.scss */
.tw-ops-focus-row.is-blocked .tw-ops-focus-tag {
  background: #1a1d24;
  color: #fff;
}

/* line 59412, app/assets/stylesheets/application.scss */
.tw-ops-focus-row.is-overdue .tw-ops-focus-tag {
  background: #ece7df;
  color: #6a4d1d;
}

/* line 59417, app/assets/stylesheets/application.scss */
.tw-ops-focus-row.is-urgent .tw-ops-focus-tag {
  background: #7a3030;
  color: #fff;
}

/* line 59422, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c5c9d1;
  flex: 0 0 auto;
}

/* line 59430, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark.is-blocked {
  background: #1a1d24;
}

/* line 59434, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark.is-overdue {
  background: #b8860b;
}

/* line 59438, app/assets/stylesheets/application.scss */
.tw-ops-focus-mark.is-urgent {
  background: #7a3030;
}

/* line 59442, 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 59452, app/assets/stylesheets/application.scss */
.tw-ops-focus-meta em {
  font-style: normal;
}

/* line 59456, app/assets/stylesheets/application.scss */
.tw-ops-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
}

/* line 59462, 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 59471, app/assets/stylesheets/application.scss */
.tw-ops-load.is-heat {
  border-color: rgba(26, 29, 36, 0.12);
}

/* line 59475, 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 59482, app/assets/stylesheets/application.scss */
.tw-ops-load-who > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

/* line 59488, 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 59496, app/assets/stylesheets/application.scss */
.tw-ops-load-who span {
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 59502, app/assets/stylesheets/application.scss */
.tw-ops-load-who > em {
  font-style: normal;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

/* line 59509, 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 59519, app/assets/stylesheets/application.scss */
.tw-ops-load-track {
  height: 6px;
  border-radius: 999px;
  background: #e9ebf0;
  overflow: hidden;
}

/* line 59526, 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 59533, 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 59547, 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 59556, app/assets/stylesheets/application.scss */
.tw-ops-check.is-past > i {
  background: rgba(26, 29, 36, 0.28);
  box-shadow: none;
}

/* line 59561, app/assets/stylesheets/application.scss */
.tw-ops-check span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 59567, app/assets/stylesheets/application.scss */
.tw-ops-check strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

/* line 59572, app/assets/stylesheets/application.scss */
.tw-ops-check em {
  font-style: normal;
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 59579, 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 59593, 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 59604, app/assets/stylesheets/application.scss */
.tw-ops-work-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 59611, app/assets/stylesheets/application.scss */
.tw-ops-work-row.is-overdue {
  border-color: rgba(26, 29, 36, 0.14);
}

/* line 59615, app/assets/stylesheets/application.scss */
.tw-ops-muted {
  font-style: normal;
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 59622, 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 59630, app/assets/stylesheets/application.scss */
.tw-view-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: #eef0f4;
  gap: 4px;
}

/* line 59639, 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 59654, 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 59660, app/assets/stylesheets/application.scss */
.tw-ops-brief.is-board {
  gap: 14px;
}

/* line 59664, app/assets/stylesheets/application.scss */
.tw-ops-brief.is-board .tw-ops-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* line 59668, 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 59678, 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 59691, 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 59697, 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 59705, app/assets/stylesheets/application.scss */
.tw-kanban-col-head > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 59712, 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 59722, 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 59738, app/assets/stylesheets/application.scss */
.tw-kanban-col-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
}

/* line 59746, 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 59755, 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 59764, 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 59770, app/assets/stylesheets/application.scss */
.tw-kanban-card.is-busy {
  pointer-events: none;
  opacity: 0.7;
}

/* line 59775, app/assets/stylesheets/application.scss */
.tw-kanban-card.is-overdue {
  border-color: rgba(185, 28, 28, 0.22);
}

/* line 59779, app/assets/stylesheets/application.scss */
.tw-kanban-card-main {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  min-width: 0;
  position: relative;
}

/* line 59788, app/assets/stylesheets/application.scss */
.tw-kanban-card-hit {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

/* line 59795, 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 59807, app/assets/stylesheets/application.scss */
.tw-kanban-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 59814, app/assets/stylesheets/application.scss */
.tw-kanban-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
  margin-top: -2px;
}

/* line 59824, app/assets/stylesheets/application.scss */
.tw-kanban-card-aside {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  flex: 0 1 auto;
  min-width: 0;
  margin-right: auto;
}

/* line 59834, app/assets/stylesheets/application.scss */
.tw-kanban-card-reacts {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

/* line 59844, 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 59853, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-row {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

/* line 59859, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react {
  min-height: 24px;
  padding: 1px 4px;
  border-radius: 6px;
  font-size: 12px;
}

/* line 59866, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react.is-add {
  min-width: 24px;
}

/* line 59870, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-emoji {
  font-size: 14px;
}

/* line 59874, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-count {
  font-size: 11px;
}

/* line 59878, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react .heroicon,
.tw-kanban-card .tw-task-react svg {
  width: 14px;
  height: 14px;
}

/* line 59884, 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 59892, 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 59900, 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 59909, 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 59920, app/assets/stylesheets/application.scss */
.tw-kanban-card .tw-task-react-picker::after {
  top: auto;
  bottom: 100%;
  height: 10px;
}

/* line 59926, 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 59934, app/assets/stylesheets/application.scss */
.tw-kanban-due.is-overdue {
  color: #b91c1c;
}

/* line 59938, 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 59948, app/assets/stylesheets/application.scss */
.tw-kanban-repeat .heroicon,
.tw-kanban-repeat i {
  font-size: 11px;
}

/* line 59953, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-todo .tw-kanban-col-head strong {
  color: #5b3ea6;
  background: #f3efff;
}

/* line 59958, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-in_progress .tw-kanban-col-head strong {
  color: #1d4ed8;
  background: #eff6ff;
}

/* line 59963, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-blocked .tw-kanban-col-head strong {
  color: #000;
  background: #f3f4f6;
}

/* line 59968, app/assets/stylesheets/application.scss */
.tw-kanban-col.is-done .tw-kanban-col-head strong {
  color: #047857;
  background: #ecfdf5;
}

@media (max-width: 900px) {
  /* line 59974, app/assets/stylesheets/application.scss */
  .tw-kanban {
    grid-template-columns: repeat(4, minmax(200px, 72vw));
  }
  /* line 59978, app/assets/stylesheets/application.scss */
  .tw-ops-brief.is-board .tw-ops-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* line 59984, 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 59992, app/assets/stylesheets/application.scss */
  .tw-ops-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* line 59996, app/assets/stylesheets/application.scss */
  .tw-ops-split {
    grid-template-columns: 1fr;
  }
  /* line 60000, app/assets/stylesheets/application.scss */
  .tw-ops-focus-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  /* line 60004, app/assets/stylesheets/application.scss */
  .tw-ops-focus-meta {
    grid-column: 2;
  }
}

/* line 60009, app/assets/stylesheets/application.scss */
.tw-member-faces {
  display: none;
}

/* line 60013, 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 60032, app/assets/stylesheets/application.scss */
.tw-member-face:first-child {
  margin-left: 0;
}

/* line 60036, app/assets/stylesheets/application.scss */
.tw-member-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 60042, 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 60050, app/assets/stylesheets/application.scss */
.tw-member-face:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.04);
  z-index: 2;
}

/* line 60055, app/assets/stylesheets/application.scss */
.tw-member-face:disabled,
.tw-member-face.is-self {
  cursor: default;
  opacity: 0.92;
}

/* line 60061, app/assets/stylesheets/application.scss */
.tw-member-face.is-more {
  background: var(--tw-ink);
  color: #fff;
  font-size: 11px;
}

/* —— My performance (Team work) —— */
/* line 60068, app/assets/stylesheets/application.scss */
.tw-content.is-performance {
  gap: 12px;
}

/* line 60072, app/assets/stylesheets/application.scss */
.tw-perf {
  display: grid;
  gap: 14px;
  min-width: 0;
}

/* line 60078, 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 60089, app/assets/stylesheets/application.scss */
.tw-perf-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 60097, 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 60106, 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 60115, app/assets/stylesheets/application.scss */
.tw-perf-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 60121, 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 60131, app/assets/stylesheets/application.scss */
.tw-perf-copy span {
  font-size: 13px;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 60139, app/assets/stylesheets/application.scss */
.tw-perf-scope {
  position: relative;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}

/* line 60146, app/assets/stylesheets/application.scss */
.tw-perf-scope-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 16px 6px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

/* line 60166, app/assets/stylesheets/application.scss */
.tw-perf-scope-trigger span {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 60174, app/assets/stylesheets/application.scss */
.tw-perf-scope-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 0;
  width: 14px;
  height: 14px;
  color: var(--tw-muted, #6b7280);
  transition: transform 0.18s ease, color 0.15s ease;
}

/* line 60186, app/assets/stylesheets/application.scss */
.tw-perf-scope-caret .heroicon,
.tw-perf-scope-caret svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* line 60193, 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 60198, app/assets/stylesheets/application.scss */
.tw-perf-scope-panel {
  top: calc(100% + 6px);
  left: 0;
  width: min(280px, calc(100vw - 72px));
}

/* line 60204, app/assets/stylesheets/application.scss */
.tw-perf-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* line 60208, app/assets/stylesheets/application.scss */
.tw-perf-panel {
  gap: 12px;
}

/* line 60212, 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 60228, app/assets/stylesheets/application.scss */
.tw-perf-flow {
  display: flex;
  gap: 6px;
  min-height: 72px;
  align-items: stretch;
}

/* line 60235, 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 60250, 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 60259, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* line 60266, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg em {
  font-style: normal;
  font-size: 11px;
  opacity: 0.7;
}

/* line 60272, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-todo {
  background: #f3f4f6;
  color: #111;
}

/* line 60273, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-in_progress {
  background: #eef2f6;
  color: #1a1d24;
}

/* line 60274, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-blocked {
  background: #eceef1;
  color: #111;
}

/* line 60275, app/assets/stylesheets/application.scss */
.tw-perf-flow-seg.is-done {
  background: #e8ece8;
  color: #1a1d24;
}

/* line 60277, 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 60283, app/assets/stylesheets/application.scss */
.tw-perf-load {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f8fa;
}

/* line 60291, 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 60296, 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 60303, 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 60311, 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 60320, app/assets/stylesheets/application.scss */
.tw-perf-kpis.is-rich {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* line 60324, app/assets/stylesheets/application.scss */
.tw-perf-scope.is-static {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

/* line 60331, app/assets/stylesheets/application.scss */
.tw-perf-scope.is-static .tw-perf-scope-static {
  display: block;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 2px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--tw-ink, #1a1d24);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 60351, app/assets/stylesheets/application.scss */
.tw-perf-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

/* line 60358, app/assets/stylesheets/application.scss */
.tw-perf-activity-chart {
  display: grid;
  gap: 8px;
}

/* line 60363, app/assets/stylesheets/application.scss */
.tw-perf-activity-chart svg {
  width: 100%;
  height: 88px;
  display: block;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(79, 110, 247, 0.06), rgba(79, 110, 247, 0.01));
}

/* line 60371, app/assets/stylesheets/application.scss */
.tw-perf-activity-area {
  fill: rgba(79, 110, 247, 0.18);
}

/* line 60375, app/assets/stylesheets/application.scss */
.tw-perf-activity-line {
  stroke: #4f6ef7;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* line 60382, app/assets/stylesheets/application.scss */
.tw-perf-activity-labels {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: var(--tw-muted, #6b7280);
}

/* line 60390, app/assets/stylesheets/application.scss */
.tw-perf-sched-track {
  position: relative;
  min-height: 112px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(26, 29, 36, 0.04) 1px, transparent 1px) 0 0/14.28% 100%, #f6f7fa;
  overflow: hidden;
}

/* line 60400, app/assets/stylesheets/application.scss */
.tw-perf-sched-today {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #6f4cc7;
  z-index: 2;
}

/* line 60410, app/assets/stylesheets/application.scss */
.tw-perf-sched-bar {
  position: absolute;
  top: 14px;
  height: 28px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #5b7cfa;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

/* line 60428, app/assets/stylesheets/application.scss */
.tw-perf-sched-bar:nth-child(3) {
  top: 48px;
  background: #ed6b7a;
}

/* line 60429, app/assets/stylesheets/application.scss */
.tw-perf-sched-bar:nth-child(4) {
  top: 82px;
  background: #2f9e7b;
}

/* line 60430, app/assets/stylesheets/application.scss */
.tw-perf-sched-bar:nth-child(5) {
  top: 14px;
  background: #8b5cf6;
}

/* line 60431, app/assets/stylesheets/application.scss */
.tw-perf-sched-bar:nth-child(6) {
  top: 48px;
  background: #0ea5e9;
}

/* line 60432, app/assets/stylesheets/application.scss */
.tw-perf-sched-bar.is-blocked {
  background: #b45309;
}

/* line 60433, app/assets/stylesheets/application.scss */
.tw-perf-sched-bar.is-overdue {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

/* line 60435, app/assets/stylesheets/application.scss */
.tw-perf-work-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 128px;
  padding: 8px 4px 0;
  overflow-x: auto;
}

/* line 60444, app/assets/stylesheets/application.scss */
.tw-perf-work-col {
  display: grid;
  grid-template-rows: 88px auto;
  gap: 8px;
  justify-items: center;
  align-items: end;
  min-width: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 60458, app/assets/stylesheets/application.scss */
.tw-perf-work-bar {
  width: 18px;
  height: 88px;
  min-height: 88px;
  border-radius: 999px;
  background: #e8ebf2;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  flex: 0 0 auto;
}

/* line 60470, app/assets/stylesheets/application.scss */
.tw-perf-work-bar i {
  display: block;
  width: 100%;
  min-height: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #34d399, #059669);
}

/* line 60478, app/assets/stylesheets/application.scss */
.tw-perf-work-col.is-on .tw-perf-work-bar,
.tw-perf-work-col.is-heat .tw-perf-work-bar {
  box-shadow: 0 0 0 2px rgba(79, 110, 247, 0.28);
}

/* line 60483, app/assets/stylesheets/application.scss */
.tw-perf-work-col.is-heat .tw-perf-work-bar i {
  background: linear-gradient(180deg, #fbbf24, #ef4444);
}

/* line 60487, app/assets/stylesheets/application.scss */
.tw-perf-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

/* line 60493, app/assets/stylesheets/application.scss */
.tw-perf-box-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(26, 29, 36, 0.08);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 60505, app/assets/stylesheets/application.scss */
.tw-perf-box-card.is-on {
  border-color: rgba(79, 110, 247, 0.45);
  box-shadow: 0 0 0 2px rgba(79, 110, 247, 0.12);
}

/* line 60510, app/assets/stylesheets/application.scss */
.tw-perf-box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 60517, app/assets/stylesheets/application.scss */
.tw-perf-box-head > div {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 60524, app/assets/stylesheets/application.scss */
.tw-perf-box-head strong {
  font-size: 14px;
  font-weight: 650;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 60533, app/assets/stylesheets/application.scss */
.tw-perf-box-head span {
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
}

/* line 60538, app/assets/stylesheets/application.scss */
.tw-perf-ring.sm {
  min-width: 40px;
  height: 40px;
  font-size: 11px;
}

/* line 60544, app/assets/stylesheets/application.scss */
.tw-perf-box-effort {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
}

/* line 60551, app/assets/stylesheets/application.scss */
.tw-perf-box-effort strong {
  color: #111;
  font-weight: 650;
}

/* line 60556, app/assets/stylesheets/application.scss */
.tw-perf-box-warn {
  margin: 0;
  font-size: 12px;
  color: #b45309;
}

/* line 60562, app/assets/stylesheets/application.scss */
.tw-perf-box-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 60568, app/assets/stylesheets/application.scss */
.tw-perf-box-status {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef0f4;
  color: #111;
}

/* line 60578, app/assets/stylesheets/application.scss */
.tw-perf-box-status.is-todo {
  background: rgba(111, 76, 199, 0.12);
  color: #5b3f9e;
}

/* line 60579, app/assets/stylesheets/application.scss */
.tw-perf-box-status.is-in_progress {
  background: rgba(79, 110, 247, 0.12);
  color: #3554d4;
}

/* line 60580, app/assets/stylesheets/application.scss */
.tw-perf-box-status.is-blocked {
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
}

@media (max-width: 900px) {
  /* line 60583, app/assets/stylesheets/application.scss */
  .tw-perf-kpis.is-rich {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* line 60587, app/assets/stylesheets/application.scss */
  .tw-perf-split {
    grid-template-columns: 1fr;
  }
}

/* line 60592, app/assets/stylesheets/application.scss */
.tw-perf-projects {
  display: grid;
  gap: 12px;
}

/* line 60597, app/assets/stylesheets/application.scss */
.tw-perf-project {
  display: grid;
  gap: 6px;
}

/* line 60602, app/assets/stylesheets/application.scss */
.tw-perf-project-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

/* line 60610, 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 60621, app/assets/stylesheets/application.scss */
.tw-perf-project-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 60627, 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 60639, app/assets/stylesheets/application.scss */
.tw-perf-project-copy span {
  flex: 0 0 auto;
  font-size: 12px;
  color: #000;
}

/* line 60645, app/assets/stylesheets/application.scss */
.tw-perf-project-track {
  height: 8px;
  border-radius: 999px;
  background: #eef0f4;
  overflow: hidden;
}

/* line 60652, app/assets/stylesheets/application.scss */
.tw-perf-project-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* line 60658, app/assets/stylesheets/application.scss */
.tw-perf-project-warn {
  font-style: normal;
  font-size: 12px;
  color: #b91c1c;
}

/* —— Group Overview productivity (project-measurement dashboard) —— */
/* line 60665, app/assets/stylesheets/application.scss */
.tw-gop {
  gap: 14px;
}

/* line 60669, app/assets/stylesheets/application.scss */
.tw-gop-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

/* line 60675, app/assets/stylesheets/application.scss */
.tw-gop-kpis.is-ops {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* line 60679, app/assets/stylesheets/application.scss */
.tw-gop-kpi.is-warn strong {
  color: #b91c1c;
}

/* line 60683, app/assets/stylesheets/application.scss */
.tw-gop-kpi {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.08);
  min-width: 0;
}

/* line 60693, app/assets/stylesheets/application.scss */
.tw-gop-kpi em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted, #6b7280);
}

/* line 60700, app/assets/stylesheets/application.scss */
.tw-gop-kpi strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #111;
}

/* line 60708, app/assets/stylesheets/application.scss */
.tw-gop-kpi span {
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
  line-height: 1.35;
}

/* line 60714, app/assets/stylesheets/application.scss */
.tw-gop-kpi span b {
  color: #111;
  font-weight: 650;
}

/* line 60719, app/assets/stylesheets/application.scss */
.tw-gop-grid {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

/* line 60725, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-mid {
  grid-template-columns: 1.15fr 1fr 1fr 0.95fr 0.7fr;
}

/* line 60729, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-mid.is-ops {
  grid-template-columns: 1.15fr 1.1fr 0.9fr 1fr;
}

/* line 60733, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-charts {
  grid-template-columns: 1.2fr 1fr;
}

/* line 60737, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-actions {
  grid-template-columns: 1.35fr 1fr 0.9fr;
}

/* line 60741, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-bottom {
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
}

/* line 60745, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-bottom.is-ops {
  grid-template-columns: 1.25fr 0.9fr 0.9fr 0.85fr;
}

/* line 60749, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-bottom.is-personal {
  grid-template-columns: 1.2fr 1fr;
}

/* line 60753, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-latency {
  grid-template-columns: 0.95fr 1.15fr 1fr;
}

/* line 60757, app/assets/stylesheets/application.scss */
.tw-gop-grid.is-recent {
  grid-template-columns: 1fr;
}

/* line 60761, app/assets/stylesheets/application.scss */
.tw-gop-kpi.is-on {
  border-color: rgba(59, 91, 255, 0.35);
  box-shadow: 0 0 0 2px rgba(59, 91, 255, 0.12);
}

/* line 60766, app/assets/stylesheets/application.scss */
button.tw-gop-kpi {
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

/* line 60774, app/assets/stylesheets/application.scss */
.tw-pop-score {
  font-style: normal;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #059669;
}

/* line 60783, app/assets/stylesheets/application.scss */
.tw-pop-score.is-watch {
  color: #d97706;
}

/* line 60784, app/assets/stylesheets/application.scss */
.tw-pop-score.is-risk {
  color: #dc2626;
}

/* line 60785, app/assets/stylesheets/application.scss */
.tw-pop-score.is-steady {
  color: #2563eb;
}

/* line 60787, app/assets/stylesheets/application.scss */
.tw-pop-drivers {
  display: grid;
  gap: 10px;
}

/* line 60792, app/assets/stylesheets/application.scss */
.tw-pop-driver {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

/* line 60800, app/assets/stylesheets/application.scss */
.tw-pop-driver > span {
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 60808, app/assets/stylesheets/application.scss */
.tw-pop-driver > strong {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #111;
}

/* line 60815, app/assets/stylesheets/application.scss */
.tw-gop-panel {
  min-width: 0;
}

/* line 60819, app/assets/stylesheets/application.scss */
.tw-gop-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

/* line 60826, app/assets/stylesheets/application.scss */
.tw-gop-donut {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(26, 29, 36, 0.06);
}

/* line 60836, app/assets/stylesheets/application.scss */
.tw-gop-donut span {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0;
}

/* line 60847, app/assets/stylesheets/application.scss */
.tw-gop-donut b {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111;
}

/* line 60855, app/assets/stylesheets/application.scss */
.tw-gop-donut em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted, #6b7280);
}

/* line 60862, app/assets/stylesheets/application.scss */
.tw-gop-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

/* line 60870, app/assets/stylesheets/application.scss */
.tw-gop-legend li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #111;
}

/* line 60879, app/assets/stylesheets/application.scss */
.tw-gop-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #94a3b8;
}

/* line 60886, app/assets/stylesheets/application.scss */
.tw-gop-legend .is-completed i,
.tw-gop-legend .is-done i {
  background: #22c55e;
}

/* line 60888, app/assets/stylesheets/application.scss */
.tw-gop-legend .is-late_completed i {
  background: #eab308;
}

/* line 60889, app/assets/stylesheets/application.scss */
.tw-gop-legend .is-in_progress i {
  background: #3b82f6;
}

/* line 60890, app/assets/stylesheets/application.scss */
.tw-gop-legend .is-overdue i {
  background: #ef4444;
}

/* line 60891, app/assets/stylesheets/application.scss */
.tw-gop-legend .is-todo i {
  background: #94a3b8;
}

/* line 60892, app/assets/stylesheets/application.scss */
.tw-gop-legend .is-blocked i {
  background: #f59e0b;
}

/* line 60894, app/assets/stylesheets/application.scss */
.tw-gop-risk {
  display: grid;
  gap: 8px;
}

/* line 60899, app/assets/stylesheets/application.scss */
.tw-gop-risk-row {
  display: grid;
  grid-template-columns: minmax(72px, 96px) 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

/* line 60907, app/assets/stylesheets/application.scss */
.tw-gop-risk-row span {
  color: var(--tw-muted, #6b7280);
  font-weight: 600;
}

/* line 60912, app/assets/stylesheets/application.scss */
.tw-gop-risk-row strong {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #111;
}

/* line 60918, app/assets/stylesheets/application.scss */
.tw-gop-risk-track {
  height: 8px;
  border-radius: 999px;
  background: #eef0f4;
  overflow: hidden;
}

/* line 60925, app/assets/stylesheets/application.scss */
.tw-gop-risk-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  min-width: 0;
}

/* line 60932, app/assets/stylesheets/application.scss */
.tw-gop-legend strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* line 60937, app/assets/stylesheets/application.scss */
.tw-gop-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* line 60945, app/assets/stylesheets/application.scss */
.tw-gop-rank-row {
  display: grid;
  grid-template-columns: 18px auto 1fr auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

/* line 60953, app/assets/stylesheets/application.scss */
.tw-gop-rank-row > em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--tw-muted, #6b7280);
  text-align: center;
}

/* line 60961, app/assets/stylesheets/application.scss */
.tw-gop-rank-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

/* line 60967, app/assets/stylesheets/application.scss */
.tw-gop-rank-copy strong {
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 60975, app/assets/stylesheets/application.scss */
.tw-gop-rank-meta {
  font-size: 11px;
  color: var(--tw-muted, #6b7280);
  line-height: 1.3;
}

/* line 60981, app/assets/stylesheets/application.scss */
.tw-gop-rank-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #eef0f4;
  overflow: hidden;
}

/* line 60989, app/assets/stylesheets/application.scss */
.tw-gop-rank-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #059669);
}

/* line 60996, app/assets/stylesheets/application.scss */
.tw-gop-rank-track.is-overdue i,
.tw-gop-rank.is-overdue .tw-gop-rank-track i {
  background: linear-gradient(90deg, #fb7185, #ef4444);
}

/* line 61001, app/assets/stylesheets/application.scss */
.tw-gop-rank-row > b {
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #059669;
}

/* line 61008, app/assets/stylesheets/application.scss */
.tw-gop-rank-row.is-overdue > b,
.tw-gop-rank.is-overdue .tw-gop-rank-row > b {
  color: #dc2626;
}

/* line 61013, app/assets/stylesheets/application.scss */
.tw-gop-off {
  display: grid;
  gap: 14px;
}

/* line 61018, app/assets/stylesheets/application.scss */
.tw-gop-off-ring {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

/* line 61025, app/assets/stylesheets/application.scss */
.tw-gop-ring {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 750;
  color: #111;
  background: radial-gradient(circle at center, #fff 58%, transparent 59%), conic-gradient(#ef4444 calc(var(--tw-gop-pct, 0) * 1%), #e8eaee 0);
}

/* line 61040, app/assets/stylesheets/application.scss */
.tw-gop-off-ring.is-late .tw-gop-ring {
  background: radial-gradient(circle at center, #fff 58%, transparent 59%), conic-gradient(#eab308 calc(var(--tw-gop-pct, 0) * 1%), #e8eaee 0);
}

/* line 61046, app/assets/stylesheets/application.scss */
.tw-gop-off-ring strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: #111;
}

/* line 61053, app/assets/stylesheets/application.scss */
.tw-gop-off-ring span {
  display: block;
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
  line-height: 1.35;
}

/* line 61060, app/assets/stylesheets/application.scss */
.tw-gop-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
}

/* line 61066, app/assets/stylesheets/application.scss */
.tw-gop-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* line 61072, app/assets/stylesheets/application.scss */
.tw-gop-matrix-cell {
  display: grid;
  gap: 2px;
  place-content: center;
  min-height: 72px;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  background: #f5f6f8;
}

/* line 61083, app/assets/stylesheets/application.scss */
.tw-gop-matrix-cell em {
  font-style: normal;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: #111;
}

/* line 61091, app/assets/stylesheets/application.scss */
.tw-gop-matrix-cell span {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted, #6b7280);
  line-height: 1.25;
}

/* line 61098, app/assets/stylesheets/application.scss */
.tw-gop-matrix-cell.is-q1 {
  background: #fee2e2;
}

/* line 61099, app/assets/stylesheets/application.scss */
.tw-gop-matrix-cell.is-q2 {
  background: #dbeafe;
}

/* line 61100, app/assets/stylesheets/application.scss */
.tw-gop-matrix-cell.is-q3 {
  background: #ffedd5;
}

/* line 61101, app/assets/stylesheets/application.scss */
.tw-gop-matrix-cell.is-q4 {
  background: #f3f4f6;
}

/* line 61103, app/assets/stylesheets/application.scss */
.tw-gop-review-stat {
  display: grid;
  gap: 4px;
  padding: 8px 0 2px;
}

/* line 61109, app/assets/stylesheets/application.scss */
.tw-gop-review-stat strong {
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #111;
}

/* line 61117, app/assets/stylesheets/application.scss */
.tw-gop-review-stat span {
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
}

/* line 61122, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: flex-end;
}

/* line 61129, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend em {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  color: var(--tw-muted, #6b7280);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 61139, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend em::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
}

/* line 61147, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-overdue::before {
  background: #ef4444;
}

/* line 61148, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-completed::before {
  background: #22c55e;
}

/* line 61149, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-late::before {
  background: #eab308;
}

/* line 61150, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-progress::before,
.tw-gop-chart-legend .is-tasks::before {
  background: #3b82f6;
}

/* line 61152, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-total::before {
  background: #111;
  width: 10px;
  height: 2px;
  border-radius: 1px;
}

/* line 61159, app/assets/stylesheets/application.scss */
.tw-gop-daily,
.tw-gop-weekly {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 160px;
  overflow-x: auto;
  padding-top: 8px;
}

/* line 61169, app/assets/stylesheets/application.scss */
.tw-gop-day,
.tw-gop-week {
  flex: 1 1 0;
  min-width: 36px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

/* line 61178, app/assets/stylesheets/application.scss */
.tw-gop-day-bars,
.tw-gop-week-cluster {
  position: relative;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(180deg, transparent 0, transparent calc(100% - 1px), rgba(26, 29, 36, 0.08) calc(100% - 1px));
}

/* line 61191, app/assets/stylesheets/application.scss */
.tw-gop-day-bars i,
.tw-gop-week-cluster i {
  display: block;
  width: 10px;
  min-height: 0;
  border-radius: 4px 4px 0 0;
  background: #94a3b8;
}

/* line 61200, app/assets/stylesheets/application.scss */
.tw-gop-day-bars .is-overdue {
  background: #ef4444;
}

/* line 61201, app/assets/stylesheets/application.scss */
.tw-gop-day-bars .is-completed {
  background: #22c55e;
}

/* line 61202, app/assets/stylesheets/application.scss */
.tw-gop-day-bars .is-created,
.tw-gop-week-cluster .is-created {
  background: #94a3b8;
}

/* line 61204, app/assets/stylesheets/application.scss */
.tw-gop-day-bars.is-flow .is-completed,
.tw-gop-week-cluster.is-flow .is-completed {
  background: #22c55e;
}

/* line 61206, app/assets/stylesheets/application.scss */
.tw-gop-week-cluster .is-tasks {
  background: #3b82f6;
}

/* line 61207, app/assets/stylesheets/application.scss */
.tw-gop-week-cluster .is-progress {
  background: #111;
}

/* line 61208, app/assets/stylesheets/application.scss */
.tw-gop-week-cluster .is-completed {
  background: #22c55e;
}

/* line 61209, app/assets/stylesheets/application.scss */
.tw-gop-week-cluster .is-overdue {
  background: #f59e0b;
}

/* line 61211, app/assets/stylesheets/application.scss */
.tw-gop-day-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: #111;
  transform: translateY(50%);
}

/* line 61222, app/assets/stylesheets/application.scss */
.tw-gop-day > span,
.tw-gop-week > span {
  font-size: 10px;
  font-weight: 600;
  color: var(--tw-muted, #6b7280);
  white-space: nowrap;
}

/* line 61230, app/assets/stylesheets/application.scss */
.tw-gop-detail,
.tw-gop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* line 61239, app/assets/stylesheets/application.scss */
.tw-gop-detail-row {
  display: grid;
  grid-template-columns: auto minmax(72px, 120px) 1fr auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

/* line 61247, app/assets/stylesheets/application.scss */
.tw-gop-detail-row strong {
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 61255, app/assets/stylesheets/application.scss */
.tw-gop-detail-row > em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tw-muted, #6b7280);
}

/* line 61263, app/assets/stylesheets/application.scss */
.tw-gop-stack {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef0f4;
}

/* line 61271, app/assets/stylesheets/application.scss */
.tw-gop-stack i {
  display: block;
  height: 100%;
  min-width: 0;
}

/* line 61277, app/assets/stylesheets/application.scss */
.tw-gop-stack .is-completed {
  background: #22c55e;
}

/* line 61278, app/assets/stylesheets/application.scss */
.tw-gop-stack .is-late {
  background: #eab308;
}

/* line 61279, app/assets/stylesheets/application.scss */
.tw-gop-stack .is-overdue {
  background: #ef4444;
}

/* line 61280, app/assets/stylesheets/application.scss */
.tw-gop-stack .is-progress {
  background: #3b82f6;
}

/* line 61281, app/assets/stylesheets/application.scss */
.tw-gop-stack .is-blocked {
  background: #f59e0b;
}

/* line 61282, app/assets/stylesheets/application.scss */
.tw-gop-stack .is-todo {
  background: #94a3b8;
}

/* line 61284, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-created::before {
  background: #94a3b8;
}

/* line 61285, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-blocked::before {
  background: #f59e0b;
}

/* line 61286, app/assets/stylesheets/application.scss */
.tw-gop-chart-legend .is-todo::before {
  background: #94a3b8;
}

/* line 61288, app/assets/stylesheets/application.scss */
.tw-gop .tw-ops-focus-list,
.tw-gop .tw-ops-work-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

/* line 61296, app/assets/stylesheets/application.scss */
.tw-gop .tw-ops-focus-row,
.tw-gop .tw-ops-work-row {
  width: 100%;
}

/* line 61301, app/assets/stylesheets/application.scss */
.tw-gop-list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

/* line 61309, app/assets/stylesheets/application.scss */
.tw-gop-list-row > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 61315, app/assets/stylesheets/application.scss */
.tw-gop-list-row strong {
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 61323, app/assets/stylesheets/application.scss */
.tw-gop-list-row span {
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
}

/* line 61328, app/assets/stylesheets/application.scss */
.tw-gop-list-row > em {
  font-style: normal;
  font-size: 14px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #111;
}

@media (max-width: 1200px) {
  /* line 61337, app/assets/stylesheets/application.scss */
  .tw-gop-kpis.is-ops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* line 61341, app/assets/stylesheets/application.scss */
  .tw-gop-grid.is-mid,
.tw-gop-grid.is-mid.is-ops,
.tw-gop-grid.is-actions,
.tw-gop-grid.is-bottom.is-ops,
.tw-gop-grid.is-latency,
.tw-gop-grid.is-bottom.is-personal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 61350, app/assets/stylesheets/application.scss */
  .tw-gop-review,
.tw-gop-focus {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  /* line 61357, app/assets/stylesheets/application.scss */
  .tw-gop-kpis,
.tw-gop-kpis.is-ops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 61362, app/assets/stylesheets/application.scss */
  .tw-gop-grid.is-charts,
.tw-gop-grid.is-bottom,
.tw-gop-grid.is-bottom.is-ops,
.tw-gop-grid.is-bottom.is-personal,
.tw-gop-grid.is-latency,
.tw-gop-grid.is-actions,
.tw-gop-grid.is-mid,
.tw-gop-grid.is-mid.is-ops {
    grid-template-columns: 1fr;
  }
  /* line 61373, app/assets/stylesheets/application.scss */
  .tw-gop-review,
.tw-gop-focus {
    grid-column: auto;
  }
  /* line 61378, app/assets/stylesheets/application.scss */
  .tw-gop-detail-row {
    grid-template-columns: auto 1fr auto;
  }
  /* line 61382, app/assets/stylesheets/application.scss */
  .tw-gop-detail-row .tw-gop-stack {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  /* line 61388, app/assets/stylesheets/application.scss */
  .tw-perf-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 61392, app/assets/stylesheets/application.scss */
  .tw-perf-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  /* line 61397, app/assets/stylesheets/application.scss */
  .tw-perf-head {
    flex-wrap: wrap;
  }
}

/* line 61402, 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 61411, app/assets/stylesheets/application.scss */
.tw-top .tw-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

/* line 61417, app/assets/stylesheets/application.scss */
.tw-icon {
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  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;
  appearance: none;
  font: inherit;
  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 61438, app/assets/stylesheets/application.scss */
.tw-icon:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* line 61443, 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 61450, app/assets/stylesheets/application.scss */
.tw-icon.is-accent:hover {
  background: linear-gradient(145deg, #5f82ff 0%, var(--tw-accent-deep) 100%);
}

/* line 61454, app/assets/stylesheets/application.scss */
.tw-icon.sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d8dbe2;
}

/* line 61462, 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 61474, app/assets/stylesheets/application.scss */
.tw-desktop-only {
  display: inline-flex;
}

/* line 61478, app/assets/stylesheets/application.scss */
.tw-mobile-only {
  display: none;
}

/* line 61482, app/assets/stylesheets/application.scss */
.tw-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  margin: 0;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.03);
  border-bottom: 0;
  width: fit-content;
  max-width: 100%;
}

/* line 61494, 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 61506, app/assets/stylesheets/application.scss */
.tw-top .tw-tabs {
  justify-self: center;
  grid-column: 2;
}

/* line 61511, app/assets/stylesheets/application.scss */
.tw-top-brand {
  grid-column: 1;
}

/* line 61515, app/assets/stylesheets/application.scss */
.tw-top-actions {
  grid-column: 3;
}

/* line 61519, app/assets/stylesheets/application.scss */
.tw-task-toolbar .tw-filters {
  margin: 0;
}

/* line 61523, 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 61540, 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 61549, app/assets/stylesheets/application.scss */
.tw-tab.is-on {
  color: var(--tw-accent-deep, #5548E8);
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  box-shadow: none;
}

/* line 61555, 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 61570, app/assets/stylesheets/application.scss */
.tw-filter.is-on {
  color: var(--tw-accent-deep, #5548E8);
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 36, 51, 0.06);
}

/* line 61576, app/assets/stylesheets/application.scss */
.tw-content,
.tw-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 0 2px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

/* line 61587, app/assets/stylesheets/application.scss */
.tw-content.is-projects {
  padding: 0 2px 14px;
  overflow-x: hidden;
}

/* line 61592, app/assets/stylesheets/application.scss */
.tw-top + .tw-content.is-projects {
  margin-top: -8px;
}

/* line 61596, app/assets/stylesheets/application.scss */
.tw-content.is-projects > .tw-ops.is-empty {
  flex: 1 1 auto;
}

/* line 61600, app/assets/stylesheets/application.scss */
.tw-task-list,
.tw-note-list,
.tw-project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 61608, app/assets/stylesheets/application.scss */
.tw-task-list.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  align-items: stretch;
}

/* line 61615, app/assets/stylesheets/application.scss */
.tw-task-list.is-grid > .tw-task {
  height: 100%;
}

/* Narrow cards: keep the title on its own line so pills/tools cannot flex-shrink it away. */
/* line 61620, app/assets/stylesheets/application.scss */
.tw-task-list.is-grid .tw-task-title-row {
  flex-wrap: wrap;
  row-gap: 6px;
}

/* line 61625, app/assets/stylesheets/application.scss */
.tw-task-list.is-grid .tw-task-title-row .tw-task-title {
  flex: 1 1 100%;
  max-width: 100%;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: unset;
}

/* line 61636, 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 61641, app/assets/stylesheets/application.scss */
.tw-note-toolbar-row {
  align-items: center;
  gap: 8px;
}

/* line 61646, app/assets/stylesheets/application.scss */
.tw-note-create-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 61651, 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 61666, 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 61683, 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 61696, 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 61707, 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 61715, 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 61721, app/assets/stylesheets/application.scss */
.tw-note-create-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  border: 0;
  background: transparent;
  cursor: default;
}

/* line 61730, app/assets/stylesheets/application.scss */
.tw-note-breadcrumb {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted, #6b7280);
}

/* line 61737, 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 61746, 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 61756, app/assets/stylesheets/application.scss */
.tw-notes-view-toggle .tw-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

/* line 61762, 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 61768, 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 61783, app/assets/stylesheets/application.scss */
.tw-notes-view-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 25, 29, 0.08);
}

/* line 61788, app/assets/stylesheets/application.scss */
.tw-note-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 61794, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px 8px;
}

/* line 61800, app/assets/stylesheets/application.scss */
.tw-note-item {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

/* line 61807, app/assets/stylesheets/application.scss */
.tw-note-item.is-menu-open {
  z-index: 50;
}

/* line 61811, app/assets/stylesheets/application.scss */
.tw-note-item .tw-note {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  padding-right: 38px;
  border-radius: 14px;
  box-shadow: none;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

/* line 61822, app/assets/stylesheets/application.scss */
.tw-note.is-dragging {
  opacity: 0.55;
}

/* line 61826, app/assets/stylesheets/application.scss */
.tw-note-item.is-folder.is-drop-target .tw-note {
  border-color: color-mix(in srgb, #d97706 45%, transparent);
  background: color-mix(in srgb, #d97706 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #d97706 18%, transparent);
}

/* line 61832, app/assets/stylesheets/application.scss */
.tw-note-back.is-drop-target {
  outline: 2px solid color-mix(in srgb, #d97706 45%, transparent);
  outline-offset: 2px;
  background: color-mix(in srgb, #d97706 12%, #fff);
}

/* line 61838, app/assets/stylesheets/application.scss */
button.tw-note {
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

/* line 61848, app/assets/stylesheets/application.scss */
.tw-note-item .tw-note:hover {
  background: rgba(23, 25, 29, 0.04);
  transform: none;
  box-shadow: none;
}

/* line 61854, app/assets/stylesheets/application.scss */
.tw-note-item-more {
  position: absolute;
  top: 6px;
  right: 5px;
  z-index: 2;
  width: 26px;
  height: 26px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.92);
  transition: opacity 140ms ease;
}

/* line 61866, 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 61872, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-item {
  flex-direction: column;
}

/* line 61876, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 10px 6px 8px;
  border-radius: 14px;
}

/* line 61885, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-copy {
  width: 100%;
  justify-items: center;
}

/* line 61890, 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 61895, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-ico {
  width: 50px;
  height: 50px;
}

/* line 61900, app/assets/stylesheets/application.scss */
.tw-note-item-menu {
  position: absolute;
  top: 34px;
  right: 4px;
  left: auto;
  z-index: 45;
  min-width: 200px;
  max-width: min(240px, calc(100vw - 24px));
  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;
  box-sizing: border-box;
}

/* Grid cards are narrower than the menu; open toward content so the left rail cannot clip it. */
/* line 61919, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note-item-menu {
  right: auto;
  left: 0;
}

/* line 61924, 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 61941, 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 61948, app/assets/stylesheets/application.scss */
.tw-note-item-menu button.is-danger {
  color: #b42318;
}

/* line 61952, 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 61958, app/assets/stylesheets/application.scss */
.tw-note-item-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: transparent;
  cursor: default;
}

/* line 61967, 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 61976, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 61981, app/assets/stylesheets/application.scss */
.tw-note-presence[hidden] {
  display: none !important;
}

/* line 61985, app/assets/stylesheets/application.scss */
.tw-note-presence-avatars {
  display: flex;
}

/* line 61989, 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 62004, app/assets/stylesheets/application.scss */
.tw-note-presence-avatar:first-child {
  margin-left: 0;
}

/* line 62008, app/assets/stylesheets/application.scss */
.tw-note-presence-label {
  font-size: 12px;
  color: #4b5563;
  white-space: nowrap;
}

/* line 62014, app/assets/stylesheets/application.scss */
.tw-note-nested {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 29, 36, 0.08);
  display: grid;
  gap: 10px;
}

/* line 62022, app/assets/stylesheets/application.scss */
.tw-note-nested-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 62029, app/assets/stylesheets/application.scss */
.tw-note-nested-head strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 62035, app/assets/stylesheets/application.scss */
.tw-note-nested-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 62041, 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 62056, 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 62062, app/assets/stylesheets/application.scss */
.tw-note-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

/* line 62069, 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 62078, app/assets/stylesheets/application.scss */
.tw-note-lock,
.tw-note-pin {
  margin-left: 6px;
  font-size: 10px;
  color: var(--tw-muted, #6b7280);
}

/* line 62085, app/assets/stylesheets/application.scss */
.tw-note.is-folder .tw-note-ico {
  color: #fff;
}

/* line 62089, app/assets/stylesheets/application.scss */
.tw-note-back {
  flex: 0 0 auto;
}

/* line 62093, 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 62109, 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 62115, app/assets/stylesheets/application.scss */
.tw-tpl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

/* line 62122, app/assets/stylesheets/application.scss */
.tw-tpl-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 62128, app/assets/stylesheets/application.scss */
.tw-tpl-head-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

/* line 62135, app/assets/stylesheets/application.scss */
.tw-tpl-head-copy strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* line 62140, app/assets/stylesheets/application.scss */
.tw-tpl-head-copy span {
  font-size: 12px;
  color: var(--tw-muted, #6b7280);
}

/* line 62145, app/assets/stylesheets/application.scss */
.tw-tpl-search {
  width: 100%;
}

/* line 62149, app/assets/stylesheets/application.scss */
.tw-tpl-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 62155, 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 62167, app/assets/stylesheets/application.scss */
.tw-tpl-cat.is-on {
  background: var(--tw-accent-soft);
  border-color: transparent;
  color: var(--tw-accent);
}

/* line 62173, 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 62180, app/assets/stylesheets/application.scss */
.tw-tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
}

/* line 62186, 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 62202, 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 62213, 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 62220, 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 62221, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span:nth-child(2) {
  width: 78%;
}

/* line 62222, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span:nth-child(3) {
  width: 64%;
}

/* line 62223, app/assets/stylesheets/application.scss */
.tw-tpl-card-preview span:nth-child(4) {
  width: 52%;
}

/* line 62225, app/assets/stylesheets/application.scss */
.tw-tpl-card-body {
  display: grid;
  gap: 4px;
  padding: 12px;
}

/* line 62231, 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 62238, 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 62248, app/assets/stylesheets/application.scss */
.tw-tpl-emoji {
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}

/* line 62254, app/assets/stylesheets/application.scss */
.tw-tpl-card strong {
  font-size: 13px;
  letter-spacing: -0.01em;
}

/* line 62259, 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 62267, 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 62280, 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 62291, app/assets/stylesheets/application.scss */
.tw-tpl-preview-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* line 62297, app/assets/stylesheets/application.scss */
.tw-tpl-preview-head strong {
  display: block;
  font-size: 15px;
}

/* line 62302, 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 62313, 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 62320, 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 62326, app/assets/stylesheets/application.scss */
.tw-tpl-use {
  width: 100%;
  justify-content: center;
}

@media (max-width: 720px) {
  /* line 62332, app/assets/stylesheets/application.scss */
  .tw-tpl-layout {
    grid-template-columns: 1fr;
  }
  /* line 62336, app/assets/stylesheets/application.scss */
  .tw-tpl-preview {
    position: static;
  }
}

/* line 62341, 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.94);
  border-radius: var(--tw-radius, 12px);
  padding: 10px 12px;
  box-shadow: var(--tw-shadow, 0 2px 8px rgba(30, 36, 51, 0.06));
  border: 1px solid var(--tw-line, rgba(30, 36, 51, 0.08));
  transition: box-shadow var(--tw-ease, 180ms ease), transform var(--tw-ease, 180ms ease), border-color var(--tw-ease, 180ms ease);
}

/* line 62356, app/assets/stylesheets/application.scss */
.tw-task {
  --tw-task-accent: var(--tw-accent, #6C63FF);
  box-shadow: var(--tw-shadow, 0 2px 8px rgba(30, 36, 51, 0.06));
  border: 1px solid var(--tw-line, rgba(30, 36, 51, 0.08));
  border-left: 0;
}

/* line 62363, app/assets/stylesheets/application.scss */
.tw-task::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--tw-task-accent, var(--tw-accent, #6C63FF));
  pointer-events: none;
}

/* line 62375, app/assets/stylesheets/application.scss */
.tw-add-card {
  padding: 12px 14px;
}

/* line 62379, app/assets/stylesheets/application.scss */
.tw-composer {
  display: grid;
  gap: 8px;
}

/* line 62384, app/assets/stylesheets/application.scss */
.tw-task-composer {
  /* Soft Futurism — create task (Add button chrome stays on .tw-add-btn). */
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: radial-gradient(360px 160px at 0% 0%, rgba(108, 99, 255, 0.08), transparent 58%), radial-gradient(280px 140px at 100% 0%, rgba(91, 140, 255, 0.05), transparent 55%), rgba(255, 255, 255, 0.96);
  box-shadow: var(--tw-shadow, 0 2px 8px rgba(30, 36, 51, 0.06)), 0 8px 22px rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.1);
}

/* line 62399, app/assets/stylesheets/application.scss */
.tw-composer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--tw-muted);
}

/* line 62410, app/assets/stylesheets/application.scss */
.tw-composer-kicker .heroicon,
.tw-composer-kicker svg {
  width: 14px;
  height: 14px;
  color: var(--tw-accent, #6C63FF);
  flex: 0 0 auto;
}

/* line 62418, app/assets/stylesheets/application.scss */
.tw-composer-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 62425, app/assets/stylesheets/application.scss */
.tw-composer-primary .tw-voice-field {
  flex: 1;
  min-width: 0;
}

/* line 62430, app/assets/stylesheets/application.scss */
.tw-voice-field {
  position: relative;
  display: block;
  min-width: 0;
}

/* line 62436, app/assets/stylesheets/application.scss */
.tw-voice-field > .tw-input,
.tw-voice-field > input,
.tw-voice-field > textarea {
  width: 100%;
  padding-right: 40px;
}

/* line 62443, app/assets/stylesheets/application.scss */
.tw-voice-field.is-textarea > textarea,
.tw-voice-field.is-textarea .tw-detail-textarea {
  padding-bottom: 36px;
}

/* line 62448, 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 62465, app/assets/stylesheets/application.scss */
.tw-field-voice:hover {
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  color: var(--tw-accent, #6C63FF);
}

/* line 62470, app/assets/stylesheets/application.scss */
.tw-field-voice.is-recording {
  background: #fee2e2;
  color: #b91c1c;
}

/* line 62475, app/assets/stylesheets/application.scss */
.tw-field-voice .heroicon {
  width: 16px;
  height: 16px;
  display: block;
}

/* line 62481, app/assets/stylesheets/application.scss */
.tw-task-voice-status {
  margin: 0;
  min-height: 0;
  flex: 1;
  min-width: 0;
}

/* line 62488, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-task-voice-status {
  margin: -2px 0 2px;
}

/* line 62492, 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 62504, app/assets/stylesheets/application.scss */
.tw-composer-mark .heroicon,
.tw-composer-mark i {
  width: 16px;
  height: 16px;
}

/* line 62510, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-primary .tw-voice-field {
  border-radius: 14px;
}

/* line 62514, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-title {
  flex: 1;
  min-width: 0;
  padding: 10px 40px 10px 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--tw-ink, #1E2433);
  background: var(--tw-field, #F3F5FB);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.06);
  transition: background var(--tw-ease, 180ms ease), box-shadow var(--tw-ease, 180ms ease);
}

/* line 62528, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-title:focus {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(108, 99, 255, 0.35);
  outline: none;
}

/* line 62534, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-title::placeholder {
  color: #8B93A7;
  font-weight: 400;
}

/* line 62539, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-add-btn {
  border-radius: 999px;
  padding: 0 16px;
  min-height: 36px;
  background: linear-gradient(135deg, #7B74FF 0%, #5B8CFF 100%);
  box-shadow: var(--tw-shadow-md, 0 8px 22px rgba(108, 99, 255, 0.18));
  gap: 6px;
  transition: transform var(--tw-ease, 180ms ease), box-shadow var(--tw-ease, 180ms ease), filter var(--tw-ease, 180ms ease);
}

/* line 62549, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-add-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 10px 26px rgba(108, 99, 255, 0.28);
}

/* line 62555, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-add-btn:disabled {
  background: rgba(30, 36, 51, 0.12);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9);
  filter: none;
  transform: none;
}

/* line 62563, app/assets/stylesheets/application.scss */
.tw-composer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* line 62570, app/assets/stylesheets/application.scss */
.tw-composer-meta.is-extra {
  margin-top: 2px;
}

/* line 62574, app/assets/stylesheets/application.scss */
.tw-composer-extra {
  display: grid;
  gap: 12px;
  padding: 12px 2px 2px;
  border-top: 1px solid var(--tw-line, rgba(30, 36, 51, 0.08));
}

/* line 62581, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-field .tw-field-label,
.tw-task-composer .tw-composer-field .tw-group-settings-label,
.tw-task-composer .tw-detail-label {
  color: var(--tw-muted, #6B7285);
  font-weight: 500;
}

/* line 62588, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-objective,
.tw-task-composer .tw-composer-extra .tw-input:not(.tw-composer-title) {
  border-radius: 14px;
  background: var(--tw-field, #F3F5FB);
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.06);
  transition: background var(--tw-ease, 180ms ease), box-shadow var(--tw-ease, 180ms ease);
}

/* line 62596, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-objective:focus,
.tw-task-composer .tw-composer-extra .tw-input:not(.tw-composer-title):focus {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(108, 99, 255, 0.35);
  outline: none;
}

/* line 62603, app/assets/stylesheets/application.scss */
.tw-composer-extra[hidden] {
  display: none !important;
}

/* line 62607, app/assets/stylesheets/application.scss */
.tw-composer-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f3f4f6;
  color: var(--perk-ink);
  font-size: 13px;
  line-height: 1.35;
}

/* line 62620, app/assets/stylesheets/application.scss */
.tw-composer-error button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--tw-accent-deep, #3d6bfd);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

/* line 62631, app/assets/stylesheets/application.scss */
.tw-chip-toggle {
  gap: 8px;
  padding: 8px 16px 8px 14px;
}

/* line 62636, app/assets/stylesheets/application.scss */
.tw-chip-toggle .heroicon,
.tw-chip-toggle i,
.tw-chip-toggle svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin: 0;
  display: block;
  transition: transform 0.18s ease;
}

/* line 62647, app/assets/stylesheets/application.scss */
.tw-chip-toggle.is-on {
  background: var(--tw-accent-soft);
  color: var(--tw-accent-deep);
}

/* line 62652, app/assets/stylesheets/application.scss */
.tw-chip-toggle.is-on > .heroicon:last-child,
.tw-chip-toggle.is-on > i:last-child,
.tw-chip-toggle.is-on > svg:last-child {
  transform: rotate(180deg);
}

/* line 62658, app/assets/stylesheets/application.scss */
.tw-task-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

/* line 62665, app/assets/stylesheets/application.scss */
.tw-task-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

/* line 62674, app/assets/stylesheets/application.scss */
.tw-task-toolbar-row.is-main {
  gap: 10px 12px;
}

/* line 62678, app/assets/stylesheets/application.scss */
.tw-task-toolbar-row.is-main .tw-filters {
  flex: 0 0 auto;
}

/* line 62682, app/assets/stylesheets/application.scss */
.tw-task-toolbar-row.is-main .tw-task-count {
  margin-right: auto;
}

/* line 62686, app/assets/stylesheets/application.scss */
.tw-task-toolbar-row.is-controls {
  margin-top: 2px;
}

/* line 62690, app/assets/stylesheets/application.scss */
.tw-task-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* line 62700, app/assets/stylesheets/application.scss */
.tw-task-toolbar-row.is-main .tw-task-controls {
  flex: 1 1 220px;
  max-width: 100%;
}

/* line 62705, app/assets/stylesheets/application.scss */
.tw-task-controls .tw-task-search {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 280px;
  margin: 0;
  background: var(--tw-field, #F3F5FB);
  border: 0;
  border-radius: 999px;
  min-height: 32px;
  padding: 4px 12px;
}

/* line 62717, app/assets/stylesheets/application.scss */
.tw-task-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  border: 1px solid var(--tw-line, rgba(30, 36, 51, 0.08));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--tw-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 5px 11px;
  min-height: 32px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--tw-ease, 180ms ease), border-color var(--tw-ease, 180ms ease), color var(--tw-ease, 180ms ease);
}

/* line 62737, app/assets/stylesheets/application.scss */
.tw-task-ctrl .heroicon,
.tw-task-ctrl svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.75;
}

/* line 62745, app/assets/stylesheets/application.scss */
.tw-task-ctrl:hover,
.tw-task-ctrl.is-on,
.tw-task-ctrl[aria-expanded="true"] {
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  border-color: rgba(108, 99, 255, 0.22);
  color: var(--tw-accent-deep, #5548E8);
}

/* line 62753, app/assets/stylesheets/application.scss */
.tw-task-ctrl-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 40;
  min-width: 168px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--tw-line, rgba(30, 36, 51, 0.08));
  box-shadow: 0 12px 28px rgba(30, 36, 51, 0.12);
  display: grid;
  gap: 2px;
}

/* line 62768, app/assets/stylesheets/application.scss */
.tw-task-ctrl-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 62773, app/assets/stylesheets/application.scss */
.tw-task-ctrl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 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 62791, app/assets/stylesheets/application.scss */
.tw-task-ctrl-item:hover,
.tw-task-ctrl-item.is-on {
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  color: var(--tw-accent-deep, #5548E8);
}

/* line 62797, app/assets/stylesheets/application.scss */
.tw-task-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(30, 36, 51, 0.05);
  flex: 0 0 auto;
}

/* line 62807, app/assets/stylesheets/application.scss */
.tw-task-view-btn {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tw-muted);
  cursor: pointer;
}

/* line 62820, app/assets/stylesheets/application.scss */
.tw-task-view-btn .heroicon,
.tw-task-view-btn svg {
  width: 15px;
  height: 15px;
}

/* line 62826, app/assets/stylesheets/application.scss */
.tw-task-view-btn.is-on {
  background: #fff;
  color: var(--tw-accent-deep, #5548E8);
  box-shadow: 0 1px 2px rgba(30, 36, 51, 0.08);
}

/* line 62832, 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 62840, app/assets/stylesheets/application.scss */
.tw-composer-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 62846, app/assets/stylesheets/application.scss */
.tw-composer-content {
  resize: vertical;
  min-height: 2.6em;
  line-height: 1.4;
}

/* line 62852, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-composer-content {
  width: 100%;
  border-radius: 14px;
  background: var(--tw-field, #F3F5FB);
  padding: 12px 40px 36px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tw-ink, #1E2433);
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.06);
}

/* line 62863, app/assets/stylesheets/application.scss */
.tw-task:hover,
.tw-note:hover,
.tw-member:hover:not(:disabled) {
  border-color: rgba(108, 99, 255, 0.22);
  box-shadow: 0 8px 20px rgba(30, 36, 51, 0.08);
  transform: translateY(-1px);
}

/* line 62871, app/assets/stylesheets/application.scss */
.tw-task:hover {
  box-shadow: 0 4px 14px rgba(30, 36, 51, 0.08);
  transform: none;
  border-color: var(--tw-line, rgba(30, 36, 51, 0.08));
}

/* line 62877, app/assets/stylesheets/application.scss */
.tw-task.is-overdue {
  box-shadow: var(--tw-shadow, 0 2px 8px rgba(30, 36, 51, 0.06));
  border-color: rgba(185, 64, 64, 0.28);
}

/* line 62882, app/assets/stylesheets/application.scss */
.tw-task.is-overdue::before {
  background: #e11d48;
}

/* line 62886, app/assets/stylesheets/application.scss */
.tw-task.is-done {
  opacity: 0.72;
}

/* line 62890, 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 62905, app/assets/stylesheets/application.scss */
.tw-task {
  position: relative;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: 14px;
  overflow: visible;
  z-index: 0;
  cursor: pointer;
}

/* line 62916, 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 62926, app/assets/stylesheets/application.scss */
.tw-task-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 62934, app/assets/stylesheets/application.scss */
.tw-task-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

/* line 62941, app/assets/stylesheets/application.scss */
.tw-task-top .tw-task-main {
  flex: 1;
  min-width: 0;
}

/* line 62946, 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 62955, app/assets/stylesheets/application.scss */
.tw-task-foot .tw-task-meta {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
  gap: 8px;
}

/* line 62962, 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 62971, app/assets/stylesheets/application.scss */
.tw-task-foot .tw-task-reacts {
  flex: 0 0 auto;
  width: auto;
  margin-top: 0;
}

/* line 62977, 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 62984, app/assets/stylesheets/application.scss */
.tw-task-main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* line 62991, app/assets/stylesheets/application.scss */
.tw-task-side-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

/* line 62999, 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: 1;
  position: relative;
  z-index: 2;
}

/* line 63011, 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 63021, app/assets/stylesheets/application.scss */
.tw-task-pin-badge .heroicon {
  transform: rotate(35deg);
  fill: currentColor;
}

/* line 63026, app/assets/stylesheets/application.scss */
.tw-task-more-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 63031, 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 63044, app/assets/stylesheets/application.scss */
.tw-task-tool .heroicon,
.tw-task-tool svg {
  pointer-events: none;
  flex: 0 0 auto;
}

/* line 63050, 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 63056, app/assets/stylesheets/application.scss */
.tw-task-ask-ai:hover:not(:disabled),
.tw-task-ask-ai:focus-visible {
  color: var(--tw-accent-deep, #5548E8);
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
}

/* line 63062, app/assets/stylesheets/application.scss */
.tw-task-to-calendar:hover:not(:disabled),
.tw-task-to-calendar:focus-visible {
  color: var(--tw-accent-deep, #5548E8);
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
}

/* line 63068, app/assets/stylesheets/application.scss */
.tw-task-tool.is-on {
  color: #e11d48;
  background: transparent;
}

/* line 63073, app/assets/stylesheets/application.scss */
.tw-task-tool.is-on .heroicon {
  transform: rotate(35deg);
  fill: currentColor;
  color: #e11d48;
}

/* line 63079, app/assets/stylesheets/application.scss */
.tw-task-tool:disabled {
  opacity: 0.28;
  cursor: default;
}

/* line 63084, 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 63099, 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 63117, 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 63123, app/assets/stylesheets/application.scss */
.tw-task-more-item.is-on {
  color: #e11d48;
}

/* line 63127, app/assets/stylesheets/application.scss */
.tw-task-more-item.is-on .tw-task-more-ico {
  color: #e11d48;
}

/* line 63131, app/assets/stylesheets/application.scss */
.tw-task-more-item:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 63136, 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 63146, app/assets/stylesheets/application.scss */
.tw-task-more-ico .heroicon,
.tw-task-more-ico svg {
  pointer-events: none;
}

/* line 63151, 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 63162, 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 63171, app/assets/stylesheets/application.scss */
.tw-task-comments[hidden],
.tw-task-comments.is-empty {
  display: none;
}

/* line 63176, app/assets/stylesheets/application.scss */
.tw-task-comments.is-open {
  max-height: 280px;
  overflow: auto;
}

/* line 63181, app/assets/stylesheets/application.scss */
.tw-task-comment {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
}

/* line 63189, app/assets/stylesheets/application.scss */
.tw-task-comment-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 63196, app/assets/stylesheets/application.scss */
.tw-task-comment strong {
  font-size: 11px;
  font-weight: 650;
  color: var(--tw-ink);
}

/* line 63202, app/assets/stylesheets/application.scss */
.tw-task-comment span {
  color: var(--tw-muted);
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 63208, 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 63225, 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 63232, app/assets/stylesheets/application.scss */
.tw-task-comments.is-compose-only {
  background: transparent;
  padding: 0;
}

/* line 63237, app/assets/stylesheets/application.scss */
.tw-task-comments-empty {
  margin: 0;
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 63243, 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 63254, app/assets/stylesheets/application.scss */
.tw-task-reply {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
}

/* line 63261, 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 63271, 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 63282, app/assets/stylesheets/application.scss */
.tw-task-reply-send:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 63287, app/assets/stylesheets/application.scss */
.tw-task-reacts {
  margin-top: 0;
  width: 100%;
  display: grid;
  gap: 6px;
  justify-items: end;
  position: relative;
}

/* line 63296, 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 63304, 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 63320, app/assets/stylesheets/application.scss */
.tw-task-react .heroicon,
.tw-task-react svg,
.tw-task-react-icon {
  pointer-events: none;
}

/* line 63326, app/assets/stylesheets/application.scss */
.tw-task-react:hover {
  background: rgba(26, 29, 36, 0.06);
}

/* line 63330, app/assets/stylesheets/application.scss */
.tw-task-react.is-on,
.tw-task-react.is-open {
  background: transparent;
}

/* line 63335, 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 63340, app/assets/stylesheets/application.scss */
.tw-task-react.is-comment {
  color: var(--tw-muted);
}

/* line 63344, app/assets/stylesheets/application.scss */
.tw-task-react.is-comment:hover,
.tw-task-react.is-comment.is-open {
  color: var(--tw-ink);
}

/* line 63349, app/assets/stylesheets/application.scss */
.tw-task-react-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* line 63356, app/assets/stylesheets/application.scss */
.tw-task-react.is-add {
  min-width: 32px;
  justify-content: center;
  font-weight: 700;
  color: var(--tw-muted);
}

/* line 63363, 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 63370, 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 63377, app/assets/stylesheets/application.scss */
.tw-task-react-emoji {
  font-size: 18px;
  line-height: 1;
}

/* line 63382, app/assets/stylesheets/application.scss */
.tw-task-react-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--tw-muted);
  min-width: 0.7em;
}

/* line 63389, 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 63410, app/assets/stylesheets/application.scss */
.tw-task-react-picker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

/* line 63419, 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 63425, 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 63440, app/assets/stylesheets/application.scss */
.tw-task-react-pick:hover {
  background: rgba(26, 29, 36, 0.06);
}

/* —— Task comments overlay (Team work) —— */
/* line 63445, 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 63455, 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 63465, app/assets/stylesheets/application.scss */
.tw-cmt-head-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 63472, 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 63480, 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 63490, 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 63499, app/assets/stylesheets/application.scss */
.tw-cmt-body .tw-cmt-panel {
  z-index: 1;
}

/* line 63503, 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 63513, app/assets/stylesheets/application.scss */
.tw-cmt-task {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-right: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
  overflow: hidden;
  background: var(--tw-wash, #f8f9fa);
}

/* line 63524, app/assets/stylesheets/application.scss */
.tw-cmt-task-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  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;
  overflow: hidden;
}

/* line 63539, app/assets/stylesheets/application.scss */
.tw-cmt-task-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
}

/* line 63547, app/assets/stylesheets/application.scss */
.tw-cmt-task-top .tw-task-title-row {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 63552, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-task-tools {
  opacity: 1;
  flex: 0 0 auto;
  margin-top: -2px;
}

/* line 63558, 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 63564, 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 63580, app/assets/stylesheets/application.scss */
.tw-cmt-task-scroll {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 2px;
}

/* line 63593, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  flex: 0 0 auto;
}

/* line 63601, app/assets/stylesheets/application.scss */
.tw-cmt-task-block {
  display: grid;
  gap: 8px;
  min-width: 0;
}

/* line 63607, app/assets/stylesheets/application.scss */
.tw-cmt-task-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tw-ink, #111827);
}

/* line 63619, app/assets/stylesheets/application.scss */
.tw-cmt-task-label .perk-ico,
.tw-cmt-task-label svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.7;
}

/* line 63627, app/assets/stylesheets/application.scss */
.tw-cmt-task-copy {
  margin: 0;
  font-size: var(--tw-font-size-md, 15px);
  font-weight: var(--tw-weight-regular, 400);
  line-height: 1.55;
  color: var(--tw-muted, #5b616b);
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 63637, app/assets/stylesheets/application.scss */
.tw-cmt-task-muted,
.tw-cmt-task-value {
  margin: 0;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--tw-ink, #111827);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* line 63652, app/assets/stylesheets/application.scss */
.tw-cmt-task-muted {
  color: var(--tw-muted, #8b919a);
}

/* line 63656, app/assets/stylesheets/application.scss */
.tw-cmt-task-block > .tw-cmt-task-muted {
  text-align: left;
  white-space: normal;
}

/* line 63661, app/assets/stylesheets/application.scss */
.tw-cmt-task-value.is-overdue {
  color: #b42318;
  font-weight: 500;
}

/* line 63666, app/assets/stylesheets/application.scss */
.tw-cmt-task-people {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

/* line 63675, app/assets/stylesheets/application.scss */
.tw-cmt-task-people em {
  margin: 0;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--tw-ink, #111827);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 63686, app/assets/stylesheets/application.scss */
.tw-cmt-task-rows {
  margin: 0;
}

/* line 63690, app/assets/stylesheets/application.scss */
.tw-cmt-task-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 63696, app/assets/stylesheets/application.scss */
.tw-cmt-task-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--tw-line, rgba(26, 29, 36, 0.1));
  border-radius: 12px;
  background: #f7f8fa;
  color: var(--tw-ink, #111827);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

/* line 63714, app/assets/stylesheets/application.scss */
.tw-cmt-task-result:hover {
  background: #eef0f3;
}

/* line 63718, app/assets/stylesheets/application.scss */
.tw-cmt-task-result span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 63725, app/assets/stylesheets/application.scss */
.tw-cmt-task-actions {
  flex: 0 0 auto;
  display: flex;
  padding-top: 2px;
}

/* line 63731, app/assets/stylesheets/application.scss */
.tw-cmt-task-card .tw-cmt-task-actions .tw-secondary-btn,
.tw-cmt-task-card .tw-secondary-btn {
  margin-top: 0;
  align-self: stretch;
  width: 100%;
}

/* line 63738, app/assets/stylesheets/application.scss */
.tw-cmt-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: visible;
}

/* line 63747, 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 63756, 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 63763, 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 63777, 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 63789, 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 63809, app/assets/stylesheets/application.scss */
.tw-cmt-react-picker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 100%;
  height: 14px;
}

/* line 63819, 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 63829, app/assets/stylesheets/application.scss */
.tw-cmt-empty-icon {
  display: inline-flex;
  color: rgba(26, 29, 36, 0.28);
  margin-bottom: 2px;
}

/* line 63835, 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 63841, 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 63849, app/assets/stylesheets/application.scss */
.tw-cmt-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 63855, app/assets/stylesheets/application.scss */
.tw-cmt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* line 63861, 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 63867, 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 63882, app/assets/stylesheets/application.scss */
.tw-cmt-avatar img,
.tw-cmt-composer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 63889, app/assets/stylesheets/application.scss */
.tw-cmt-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}

/* line 63896, app/assets/stylesheets/application.scss */
.tw-cmt-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
}

/* line 63903, 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 63910, app/assets/stylesheets/application.scss */
.tw-cmt-meta span {
  font-size: 12px;
  font-weight: 400;
  color: var(--tw-muted);
}

/* line 63916, 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 63926, app/assets/stylesheets/application.scss */
.tw-cmt-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  position: relative;
}

/* line 63934, app/assets/stylesheets/application.scss */
.tw-cmt-reacts {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 63941, 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 63955, 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 63969, app/assets/stylesheets/application.scss */
.tw-cmt-react-add.is-seed.is-on {
  background: rgba(61, 107, 253, 0.12);
}

/* line 63973, app/assets/stylesheets/application.scss */
.tw-cmt-react-add .tw-cmt-react-emoji {
  font-size: 14px;
  line-height: 1;
}

/* line 63978, app/assets/stylesheets/application.scss */
.tw-cmt-react-add .tw-cmt-react-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted);
}

/* line 63984, 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 63992, 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 63999, 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 64006, 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 64021, app/assets/stylesheets/application.scss */
.tw-cmt-react-chip.is-on {
  background: rgba(61, 107, 253, 0.12);
}

/* line 64025, app/assets/stylesheets/application.scss */
.tw-cmt-react-chip .tw-cmt-react-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted);
}

/* line 64031, 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 64037, 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 64047, app/assets/stylesheets/application.scss */
.tw-cmt-react-pick:hover {
  background: rgba(26, 29, 36, 0.06);
}

/* line 64051, app/assets/stylesheets/application.scss */
.tw-cmt-reply {
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa0a8;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}

/* line 64064, app/assets/stylesheets/application.scss */
.tw-cmt-reply:hover {
  color: var(--tw-muted, #6b7280);
}

/* line 64068, app/assets/stylesheets/application.scss */
.tw-cmt-delete {
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa0a8;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}

/* line 64081, app/assets/stylesheets/application.scss */
.tw-cmt-delete:hover {
  color: #b91c1c;
}

/* line 64085, 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 64097, app/assets/stylesheets/application.scss */
.tw-cmt-composer-field {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: visible;
}

/* line 64104, 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 64122, app/assets/stylesheets/application.scss */
.tw-cmt-mentions .perk-mention-suggestions,
.tw-note-mentions .perk-mention-suggestions {
  margin: 0;
  max-height: 220px;
}

/* line 64128, 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 64139, 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 64143, 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 64156, 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 64165, app/assets/stylesheets/application.scss */
.tw-cmt-form {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: visible;
}

/* line 64173, app/assets/stylesheets/application.scss */
.tw-cmt-attach-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 64178, 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 64191, 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 64196, 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 64209, 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 64224, app/assets/stylesheets/application.scss */
.tw-cmt-attach-menu button:hover {
  background: var(--tw-field, #f3f4f6);
}

/* line 64228, app/assets/stylesheets/application.scss */
.tw-cmt-attach-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
}

/* line 64235, app/assets/stylesheets/application.scss */
.tw-cmt-attach-list.is-pending {
  padding: 0 2px;
}

/* line 64239, 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 64249, 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 64262, app/assets/stylesheets/application.scss */
.tw-cmt-attach-open:disabled {
  cursor: default;
}

/* line 64266, 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 64275, app/assets/stylesheets/application.scss */
.tw-cmt-attach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 64281, 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 64292, app/assets/stylesheets/application.scss */
.tw-cmt-attach-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

/* line 64298, 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 64307, app/assets/stylesheets/application.scss */
.tw-cmt-attach-copy em {
  font-size: 11px;
  font-style: normal;
  color: var(--tw-muted);
}

/* line 64313, 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 64328, 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 64345, 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 64350, 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 64364, app/assets/stylesheets/application.scss */
.tw-cmt-send:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 64369, app/assets/stylesheets/application.scss */
.tw-cmt-send:not(:disabled):hover {
  background: var(--tw-accent-deep, #2f54d0);
}

/* line 64373, app/assets/stylesheets/application.scss */
.tw-people-actions .tw-primary-btn {
  flex: 1;
}

/* line 64377, app/assets/stylesheets/application.scss */
.tw-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--tw-ink);
  outline: none;
}

/* line 64386, 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 64395, 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 64409, app/assets/stylesheets/application.scss */
.tw-search .heroicon,
.tw-search > svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.72;
}

/* line 64417, 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 64429, 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: linear-gradient(135deg, #7B74FF 0%, #5B8CFF 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--tw-shadow-md, 0 8px 22px rgba(108, 99, 255, 0.18));
}

/* line 64448, app/assets/stylesheets/application.scss */
.tw-add-btn:disabled {
  background: rgba(30, 36, 51, 0.18);
  box-shadow: none;
  cursor: default;
}

/* line 64454, app/assets/stylesheets/application.scss */
.tw-new-project,
.tw-new-note {
  width: 100%;
  border-radius: 14px;
}

/* line 64460, app/assets/stylesheets/application.scss */
.tw-new-note {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 64465, 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 64474, app/assets/stylesheets/application.scss */
.tw-panel-toolbar .tw-note-search {
  margin-right: auto;
}

/* line 64478, app/assets/stylesheets/application.scss */
.tw-note-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

/* line 64485, app/assets/stylesheets/application.scss */
.tw-note-search-panel .tw-note-search {
  flex: 1 1 auto;
  margin: 0;
}

/* line 64490, app/assets/stylesheets/application.scss */
.tw-icon.is-active {
  background: var(--tw-ink, #17191d);
  color: #fff;
  border-color: transparent;
}

/* line 64496, app/assets/stylesheets/application.scss */
.tw-panel-copy {
  display: none;
}

/* line 64500, 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 64516, 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 64524, 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 64530, app/assets/stylesheets/application.scss */
.tw-primary-btn:hover {
  background: linear-gradient(145deg, #5f82ff 0%, var(--tw-accent-deep) 100%);
}

/* line 64534, app/assets/stylesheets/application.scss */
.tw-secondary-btn {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 64539, app/assets/stylesheets/application.scss */
.tw-done-btn {
  min-width: 88px;
}

/* line 64543, app/assets/stylesheets/application.scss */
.tw-note-search {
  flex: 1;
  min-width: 140px;
  max-width: 280px;
}

/* line 64549, app/assets/stylesheets/application.scss */
.tw-tpl-search.tw-note-search,
.tw-tpl .tw-search {
  max-width: 320px;
}

/* line 64554, 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 64563, app/assets/stylesheets/application.scss */
.tw-project-title {
  min-width: 0;
  display: grid;
  gap: 8px;
}

/* line 64569, app/assets/stylesheets/application.scss */
.tw-project-title strong {
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

/* line 64575, app/assets/stylesheets/application.scss */
.tw-project-meta {
  color: var(--tw-muted);
  font-size: 13px;
}

/* line 64580, app/assets/stylesheets/application.scss */
.tw-project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 64587, 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 64600, app/assets/stylesheets/application.scss */
.tw-health.is-on_track {
  background: #ecfdf5;
  color: #047857;
}

/* line 64605, app/assets/stylesheets/application.scss */
.tw-health.is-at_risk,
.tw-health.is-overdue {
  background: #fef2f2;
  color: #b91c1c;
}

/* line 64611, app/assets/stylesheets/application.scss */
.tw-health.is-done {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 64616, 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 64624, 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 64633, app/assets/stylesheets/application.scss */
.tw-progress-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* line 64640, 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 64648, 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 64655, app/assets/stylesheets/application.scss */
.tw-progress-hero .tw-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

/* line 64662, 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 64671, app/assets/stylesheets/application.scss */
.tw-progress-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* line 64677, 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 64687, 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 64696, 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 64706, app/assets/stylesheets/application.scss */
.tw-metric.is-warn b {
  color: var(--perk-ink);
}

/* line 64710, 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 64723, app/assets/stylesheets/application.scss */
.tw-pipeline-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 64730, app/assets/stylesheets/application.scss */
.tw-pipeline-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 64736, app/assets/stylesheets/application.scss */
.tw-pipeline-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
}

/* line 64744, app/assets/stylesheets/application.scss */
.tw-pipeline-range {
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  color: var(--tw-muted);
}

/* line 64751, 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 64765, 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 64773, app/assets/stylesheets/application.scss */
.tw-pipeline-canvas {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 4px 8px 8px;
}

/* line 64780, app/assets/stylesheets/application.scss */
.tw-pipe-ms-band {
  position: relative;
  min-height: 120px;
}

/* line 64785, 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 64802, 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 64811, app/assets/stylesheets/application.scss */
.tw-pipe-ms ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

/* line 64819, app/assets/stylesheets/application.scss */
.tw-pipe-ms li {
  font-size: 10px;
  font-weight: 550;
  color: #000;
  line-height: 1.3;
}

/* line 64826, app/assets/stylesheets/application.scss */
.tw-pipe-ms li::before {
  content: "• ";
}

/* line 64830, app/assets/stylesheets/application.scss */
.tw-pipe-axis {
  position: relative;
  height: 44px;
  margin: 2px 0 4px;
}

/* line 64836, 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 64846, 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 64856, 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 64864, 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 64875, app/assets/stylesheets/application.scss */
.tw-pipe-tasks {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 40px;
  padding: 4px 0 8px;
}

/* line 64883, 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 64897, 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 64905, 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 64910, 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 64922, 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 64936, 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 64942, app/assets/stylesheets/application.scss */
.tw-pipe-empty {
  font-size: 13px;
  font-style: normal;
  color: var(--tw-muted);
  padding: 10px 4px;
}

/* line 64949, 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 64971, app/assets/stylesheets/application.scss */
.tw-pipe-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* line 64977, 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 64985, app/assets/stylesheets/application.scss */
.tw-pipe-card-meta {
  margin-top: 6px;
}

/* line 64989, 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 65004, 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 65013, app/assets/stylesheets/application.scss */
.tw-pipe-card-people.is-muted {
  gap: 6px;
}

/* line 65017, 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 65026, app/assets/stylesheets/application.scss */
.tw-pipe-card-dates i {
  margin-right: 4px;
  opacity: 0.7;
}

/* line 65031, 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 65042, 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 65051, 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 65061, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen-head strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

/* line 65068, 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 65077, app/assets/stylesheets/application.scss */
.tw-pipe-fullscreen .tw-pipeline-scroll {
  flex: 1;
  overflow: auto;
}

/* line 65082, app/assets/stylesheets/application.scss */
.tw-project-task-list {
  display: grid;
  gap: 8px;
}

/* line 65087, 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 65099, 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 65107, 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 65114, 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 65123, app/assets/stylesheets/application.scss */
.tw-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* line 65130, 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 65140, app/assets/stylesheets/application.scss */
.tw-color-swatch.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--swatch);
}

/* line 65144, app/assets/stylesheets/application.scss */
.tw-pro-label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--tw-muted);
}

/* Professional project modals */
/* line 65152, app/assets/stylesheets/application.scss */
.tw-sheet.is-pro {
  background: #fff;
}

/* line 65156, app/assets/stylesheets/application.scss */
.tw-pro-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px 0;
}

/* line 65163, app/assets/stylesheets/application.scss */
.tw-pro-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

/* line 65170, 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 65179, 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 65186, 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 65193, 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 65207, app/assets/stylesheets/application.scss */
.tw-pro-close:hover {
  background: #e8eaee;
}

/* line 65211, app/assets/stylesheets/application.scss */
.tw-pro-body {
  padding: 18px 22px 8px !important;
}

/* line 65215, app/assets/stylesheets/application.scss */
.tw-pro-fields {
  display: grid;
  gap: 16px;
}

/* line 65220, app/assets/stylesheets/application.scss */
.tw-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 65226, 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 65235, 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 65240, 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 65248, app/assets/stylesheets/application.scss */
.tw-pro-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

/* line 65256, app/assets/stylesheets/application.scss */
.tw-pro-section-head h4 {
  margin: 0;
}

/* line 65260, 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 65274, app/assets/stylesheets/application.scss */
.tw-pro-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* line 65281, 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 65295, app/assets/stylesheets/application.scss */
.tw-person-chip i {
  font-size: 10px;
  color: var(--tw-muted);
}

/* line 65300, app/assets/stylesheets/application.scss */
.tw-person-chip:hover {
  background: rgba(111, 76, 199, 0.18);
}

/* line 65304, 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 65314, 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 65322, 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 65327, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend i {
  margin-left: auto;
  color: var(--tw-muted);
}

/* line 65332, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend i.tw-check-off {
  color: #000;
  font-size: 0.95em;
}

/* line 65337, app/assets/stylesheets/application.scss */
.tw-pro-people .tw-friend.is-on i {
  color: var(--tw-accent);
}

/* line 65341, 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 65351, app/assets/stylesheets/application.scss */
.tw-pro-foot.has-destructive {
  flex-wrap: wrap;
}

/* line 65355, app/assets/stylesheets/application.scss */
.tw-pro-foot.has-destructive .tw-pro-danger {
  width: auto;
  margin-right: auto;
}

/* line 65360, 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 65372, app/assets/stylesheets/application.scss */
.tw-pro-ghost {
  background: #f3f4f6;
  color: var(--tw-ink);
}

/* line 65377, app/assets/stylesheets/application.scss */
.tw-pro-primary {
  background-color: #6f4cc7;
  background: var(--tw-accent, #6f4cc7);
  color: #fff;
  min-width: 112px;
}

/* line 65384, app/assets/stylesheets/application.scss */
.tw-pro-primary:hover {
  filter: brightness(0.96);
}

/* line 65388, app/assets/stylesheets/application.scss */
.tw-pro-danger {
  width: 100%;
  background: #f3f4f6;
  color: var(--perk-ink);
}

@media (max-width: 640px) {
  /* line 65395, app/assets/stylesheets/application.scss */
  .tw-pro-grid {
    grid-template-columns: 1fr;
  }
  /* line 65399, app/assets/stylesheets/application.scss */
  .tw-progress-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 65403, app/assets/stylesheets/application.scss */
  .tw-pipe-ms {
    max-width: 120px;
  }
  /* line 65407, app/assets/stylesheets/application.scss */
  .tw-pipe-month em {
    font-size: 9px;
    padding: 2px 6px;
  }
}

/* line 65413, app/assets/stylesheets/application.scss */
.tw-note-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 0;
}

/* line 65422, 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 65434, 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;
  flex: 1 1 auto;
  min-width: 0;
}

/* line 65449, app/assets/stylesheets/application.scss */
.tw-note-side-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px 0;
  margin-left: auto;
}

/* line 65458, app/assets/stylesheets/application.scss */
.tw-note-action-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(26, 29, 36, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(23, 25, 29, 0.04);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* line 65477, app/assets/stylesheets/application.scss */
.tw-note-action-btn .tw-tool-btn-icon,
.tw-note-action-btn .heroicon,
.tw-note-action-btn svg,
.tw-note-action-btn i {
  pointer-events: none;
  width: 18px;
  height: 18px;
  font-size: 16px;
}

/* line 65487, app/assets/stylesheets/application.scss */
.tw-note-action-btn:hover,
.tw-note-action-btn:focus-visible {
  background: #f8f9fb;
  color: #111827;
  border-color: rgba(26, 29, 36, 0.16);
}

/* line 65494, app/assets/stylesheets/application.scss */
.tw-note-action-btn.is-meeting {
  color: #9a3412;
}

/* line 65498, app/assets/stylesheets/application.scss */
.tw-note-action-btn.is-recording {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

/* line 65504, app/assets/stylesheets/application.scss */
.tw-note-action-btn.is-ai {
  color: var(--tw-accent);
}

/* line 65508, app/assets/stylesheets/application.scss */
.tw-note-action-btn.is-ai.is-on {
  background: color-mix(in srgb, var(--tw-accent) 10%, #fff);
  border-color: color-mix(in srgb, var(--tw-accent) 28%, #e5e7eb);
}

/* line 65513, app/assets/stylesheets/application.scss */
.tw-note-action-btn.is-busy,
.tw-note-action-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* line 65519, app/assets/stylesheets/application.scss */
.tw-fmt-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
}

/* line 65535, 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;
  width: 18px;
  height: 18px;
  font-size: 16px;
}

/* line 65546, 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 65553, app/assets/stylesheets/application.scss */
.tw-fmt-btn span,
.tw-fmt-glyph {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: inherit;
  line-height: 1;
}

/* line 65561, app/assets/stylesheets/application.scss */
.tw-fmt-sep {
  width: 1px;
  height: 18px;
  margin: 0 5px;
  background: #d8dbe2;
}

/* line 65568, app/assets/stylesheets/application.scss */
.tw-fmt-icon-wrap,
.tw-fmt-emoji-wrap {
  position: relative;
  display: inline-flex;
}

/* line 65574, app/assets/stylesheets/application.scss */
.tw-fmt-btn.is-icon-pick {
  width: auto;
  min-width: 34px;
  padding: 0 6px;
}

/* line 65580, app/assets/stylesheets/application.scss */
.tw-fmt-icon-face {
  font-size: 18px;
  line-height: 1;
}

/* line 65585, 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 65600, 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 65612, app/assets/stylesheets/application.scss */
.tw-fmt-pop button:hover,
.tw-fmt-pop button.is-on {
  background: var(--tw-accent-soft);
}

/* line 65617, 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 65627, 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 65634, 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 65641, app/assets/stylesheets/application.scss */
.tw-note-compose {
  position: relative;
  /* Grow with paper content so the comments block stays after the note,
     not mid-document under a viewport-sized flex child. */
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 56vh;
  width: 100%;
  overflow: visible;
}

/* line 65653, app/assets/stylesheets/application.scss */
.tw-note-compose .tw-note-body,
.tw-note-compose .tw-note-paper {
  flex: 0 0 auto !important;
  width: 100%;
  min-height: 56vh;
  height: auto;
  overflow: visible;
}

/* line 65662, 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 65681, app/assets/stylesheets/application.scss */
.tw-note-mentions .perk-mention-suggestions {
  margin: 0;
}

/* line 65685, 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 65695, app/assets/stylesheets/application.scss */
.tw-fmt-btn.tw-note-tool-btn.is-meeting {
  color: #9a3412;
}

/* line 65699, app/assets/stylesheets/application.scss */
.tw-fmt-btn.tw-note-tool-btn.is-recording {
  color: #b91c1c;
  background: #fef2f2;
}

/* line 65704, app/assets/stylesheets/application.scss */
.tw-fmt-btn.tw-note-tool-btn.is-ai {
  color: var(--tw-accent);
}

/* line 65708, 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 65714, 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 65730, app/assets/stylesheets/application.scss */
.tw-tool-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

/* line 65737, app/assets/stylesheets/application.scss */
.tw-tool-btn-icon .heroicon,
.tw-tool-btn .heroicon,
.tw-tool-btn i.fas {
  color: inherit;
  stroke: currentColor;
}

/* line 65744, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-meeting {
  background: #fff7ed;
  color: #9a3412;
}

/* line 65749, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-ai {
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 65754, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-recording {
  background: #fef2f2;
  color: #b91c1c;
  animation: none;
}

/* line 65760, app/assets/stylesheets/application.scss */
.tw-tool-btn.is-busy,
.tw-tool-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* line 65766, app/assets/stylesheets/application.scss */
.tw-ai-wrap {
  position: relative;
  display: inline-flex;
}

/* line 65771, 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 65787, 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 65799, app/assets/stylesheets/application.scss */
.tw-ai-menu button:hover {
  background: var(--tw-field);
}

/* line 65803, 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 65812, app/assets/stylesheets/application.scss */
.tw-voice-status {
  min-height: 0;
  margin: 0;
  font-size: 13px;
  color: var(--perk-ink);
  font-weight: 600;
}

/* line 65820, app/assets/stylesheets/application.scss */
.tw-voice-status[hidden] {
  display: none;
}

/* line 65824, 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 65839, app/assets/stylesheets/application.scss */
.tw-recording-bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  flex: 0 0 auto;
}

/* line 65847, 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 65851, 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 65861, app/assets/stylesheets/application.scss */
.tw-recording-bar-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 65869, 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 65877, 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 65883, 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 65891, app/assets/stylesheets/application.scss */
  .tw-recording-bar {
    flex-wrap: wrap;
    margin: 0 12px 10px;
  }
  /* line 65896, app/assets/stylesheets/application.scss */
  .tw-recording-bar-actions {
    width: 100%;
    justify-content: stretch;
  }
  /* line 65901, app/assets/stylesheets/application.scss */
  .tw-recording-bar-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* line 65907, 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 65920, app/assets/stylesheets/application.scss */
.tw-recording-bar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* line 65924, app/assets/stylesheets/application.scss */
.tw-recording-bar-btn.is-stop {
  background: #fee2e2;
  color: #991b1b;
}

/* line 65929, app/assets/stylesheets/application.scss */
.tw-recording-bar-btn.is-stop:hover {
  background: #fecaca;
}

/* line 65933, app/assets/stylesheets/application.scss */
.tw-note-editor {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0;
  background: #fff;
  position: relative;
}

/* line 65942, app/assets/stylesheets/application.scss */
.tw-note-doc {
  gap: 0;
  padding: 8px 4px 48px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  height: auto;
  min-height: 100%;
}

/* line 65952, app/assets/stylesheets/application.scss */
.tw-note-doc-head {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 65958, app/assets/stylesheets/application.scss */
.tw-note-icon-wrap {
  position: relative;
  width: fit-content;
}

/* line 65963, 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 65977, app/assets/stylesheets/application.scss */
.tw-note-icon:hover,
.tw-note-icon:focus-visible {
  background: #f4f5f7;
}

/* line 65982, 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 65997, 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 66007, app/assets/stylesheets/application.scss */
.tw-note-icon-menu button:hover {
  background: var(--tw-accent-soft);
}

/* line 66011, 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 66022, 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 66031, app/assets/stylesheets/application.scss */
.tw-note-prop {
  display: grid;
  gap: 4px;
  min-width: 0;
}

/* line 66037, app/assets/stylesheets/application.scss */
.tw-note-prop.is-wide {
  grid-column: 1 / -1;
}

/* line 66041, 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 66050, 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 66063, 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 66071, app/assets/stylesheets/application.scss */
.tw-note-prop-input.is-textarea {
  resize: vertical;
  min-height: 52px;
  line-height: 1.45;
}

/* line 66077, 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 66086, app/assets/stylesheets/application.scss */
.tw-note-prop-person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

/* line 66093, app/assets/stylesheets/application.scss */
.tw-note-prop-person em,
.tw-note-prop-empty {
  font-style: normal;
  color: #6b7280;
  font-size: 13px;
}

/* line 66100, 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 66114, app/assets/stylesheets/application.scss */
img.tw-note-avatar {
  background: #e5e7eb;
  color: transparent;
}

/* line 66119, app/assets/stylesheets/application.scss */
.tw-note-avatar.sm {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

/* line 66125, app/assets/stylesheets/application.scss */
.tw-note-attendee-wrap {
  position: relative;
}

/* line 66129, app/assets/stylesheets/application.scss */
.tw-note-attendees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 66136, 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 66151, app/assets/stylesheets/application.scss */
.tw-note-attendee.is-on {
  border-color: transparent;
  background: var(--tw-accent-soft);
  color: var(--tw-accent);
}

/* line 66157, app/assets/stylesheets/application.scss */
.tw-note-attendee.is-add {
  padding: 4px 10px;
  color: #4b5563;
  background: var(--tw-field);
}

/* line 66163, app/assets/stylesheets/application.scss */
.tw-note-attendee em {
  display: inline-flex;
  opacity: 0.7;
}

/* line 66168, 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 66186, 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 66203, app/assets/stylesheets/application.scss */
.tw-note-attendee-row:hover,
.tw-note-attendee-row.is-on {
  background: var(--tw-field);
}

/* line 66208, app/assets/stylesheets/application.scss */
.tw-note-attendee-row em {
  margin-left: auto;
  color: var(--tw-accent);
  display: inline-flex;
}

/* line 66214, 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 66224, 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 66230, app/assets/stylesheets/application.scss */
.tw-meeting-card.is-combined .tw-fmt-bar {
  background: var(--tw-field);
}

/* line 66234, app/assets/stylesheets/application.scss */
.tw-meeting-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* line 66242, 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 66250, 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 66262, app/assets/stylesheets/application.scss */
.tw-meeting-resume.is-live {
  background: #dc2626;
}

/* line 66266, 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 66275, 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 66290, 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 66296, app/assets/stylesheets/application.scss */
.tw-meeting-pane {
  display: grid;
  gap: 10px;
}

/* line 66301, app/assets/stylesheets/application.scss */
.tw-meeting-field {
  display: grid;
  gap: 6px;
}

/* line 66306, app/assets/stylesheets/application.scss */
.tw-meeting-field strong {
  font-size: 13px;
}

/* line 66310, 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 66322, 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 66332, app/assets/stylesheets/application.scss */
  .tw-note-props {
    grid-template-columns: 1fr 1fr;
  }
}

/* line 66337, 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 66346, app/assets/stylesheets/application.scss */
.tw-note-page-menu-wrap {
  position: relative;
  display: inline-flex;
  z-index: 50;
}

/* line 66352, app/assets/stylesheets/application.scss */
.tw-note-page-menu-wrap .tw-note-item-menu.is-editor {
  /* JS places with position:fixed so sheet overflow cannot clip items. */
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  overscroll-behavior: contain;
}

/* line 66360, app/assets/stylesheets/application.scss */
.tw-note-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 5;
}

/* line 66368, app/assets/stylesheets/application.scss */
.tw-note-tool {
  color: var(--tw-muted, #6b7280);
}

/* line 66372, app/assets/stylesheets/application.scss */
.tw-note-tool:hover:not(:disabled),
.tw-note-tool:focus-visible {
  color: var(--tw-ink, #111);
  background: rgba(26, 29, 36, 0.06);
}

/* line 66378, app/assets/stylesheets/application.scss */
.tw-note-ask-ai:hover:not(:disabled),
.tw-note-ask-ai:focus-visible {
  color: #0f766e;
  background: rgba(15, 118, 110, 0.1);
}

/* line 66384, app/assets/stylesheets/application.scss */
.tw-note-to-calendar:hover:not(:disabled),
.tw-note-to-calendar:focus-visible {
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.1);
}

/* line 66390, app/assets/stylesheets/application.scss */
.tw-note-comments-btn {
  position: relative;
}

/* line 66394, app/assets/stylesheets/application.scss */
.tw-note-comments-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--perk-accent, #2563eb);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* line 66410, app/assets/stylesheets/application.scss */
.tw-note-comments {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--tw-ink, #111) 8%, transparent);
  scroll-margin-top: 24px;
  background: #fff;
}

/* line 66422, app/assets/stylesheets/application.scss */
.tw-note-comments .tw-note-reacts {
  margin: 0 0 16px;
}

/* line 66426, app/assets/stylesheets/application.scss */
.tw-note-cmt-panel {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  border-radius: 16px;
  background: #f6f7f9;
  border: 1px solid color-mix(in srgb, var(--tw-ink, #111) 8%, transparent);
  overflow: visible;
}

/* line 66437, app/assets/stylesheets/application.scss */
.tw-note-cmt-scroll {
  flex: 0 1 auto;
  max-height: min(420px, 50vh);
  overflow: auto;
  padding: 4px 0;
}

/* line 66444, app/assets/stylesheets/application.scss */
.tw-note-cmt-panel .tw-cmt-composer {
  position: relative;
  bottom: auto;
  background: #fff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* line 66452, app/assets/stylesheets/application.scss */
.tw-cmt-edit {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}

/* line 66458, app/assets/stylesheets/application.scss */
.tw-cmt-edit-input {
  width: 100%;
}

/* line 66462, app/assets/stylesheets/application.scss */
.tw-cmt-edit-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* line 66468, app/assets/stylesheets/application.scss */
.tw-cmt-reply.is-accent {
  color: var(--perk-accent, #2563eb);
  font-weight: 600;
}

/* line 66473, app/assets/stylesheets/application.scss */
.tw-note-delete {
  color: #000;
}

/* line 66477, app/assets/stylesheets/application.scss */
.tw-note-delete:hover,
.tw-note-delete:focus-visible {
  color: var(--perk-ink);
  background: #fff1f0;
}

/* line 66483, 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 66498, app/assets/stylesheets/application.scss */
.tw-note-title::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

/* line 66503, app/assets/stylesheets/application.scss */
.tw-note-body,
.tw-note-paper {
  width: 100%;
  border: 0;
  outline: none;
  min-height: 56vh;
  height: auto;
  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;
  /* auto basis so long notes expand the compose area instead of
     overflowing over the comments section below */
  flex: 1 0 auto;
}

/* line 66521, app/assets/stylesheets/application.scss */
.tw-note-paper {
  padding: 12px 0 40px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* line 66529, app/assets/stylesheets/application.scss */
.tw-note-paper:focus-visible {
  outline: none;
  box-shadow: none;
}

/* line 66534, 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 66542, 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 66553, app/assets/stylesheets/application.scss */
.tw-note-paper h1 {
  font-size: 24px;
}

/* line 66557, app/assets/stylesheets/application.scss */
.tw-note-paper h2 {
  font-size: 19px;
}

/* line 66561, app/assets/stylesheets/application.scss */
.tw-note-paper h3 {
  font-size: 16px;
}

/* line 66565, app/assets/stylesheets/application.scss */
.tw-note-paper p,
.tw-note-paper li,
.tw-note-paper blockquote {
  margin: 0 0 10px;
}

/* line 66571, app/assets/stylesheets/application.scss */
.tw-note-paper p + p {
  margin-top: 2px;
}

/* line 66575, app/assets/stylesheets/application.scss */
.tw-note-paper ul,
.tw-note-paper ol {
  margin: 4px 0 14px;
  padding: 0;
  list-style: none;
}

/* line 66582, 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 66591, 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 66600, app/assets/stylesheets/application.scss */
.tw-note-paper ol {
  counter-reset: tw-note;
}

/* line 66604, app/assets/stylesheets/application.scss */
.tw-note-paper ol > li {
  counter-increment: tw-note;
}

/* line 66608, 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 66617, app/assets/stylesheets/application.scss */
.tw-note-paper .tw-note-checks > li::before {
  content: none;
}

/* line 66621, app/assets/stylesheets/application.scss */
.tw-note-check label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

/* line 66628, app/assets/stylesheets/application.scss */
.tw-note-check input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--tw-accent);
}

/* line 66633, 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 66641, 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 66649, 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 66656, app/assets/stylesheets/application.scss */
.tw-note-paper a.perk-inline-link {
  font-weight: 300;
}

/* line 66660, 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 66668, app/assets/stylesheets/application.scss */
.tw-note-paper strong {
  font-weight: 670;
  color: var(--tw-ink);
}

/* line 66673, 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;
  position: relative;
}

/* line 66685, app/assets/stylesheets/application.scss */
.tw-note-attach-handle {
  width: 14px;
  flex: 0 0 auto;
  align-self: stretch;
  margin: -2px 0;
  border-radius: 6px;
  cursor: grab;
  background: radial-gradient(circle, #c5cad3 1.15px, transparent 1.3px) 3px 4px/8px 8px repeat, radial-gradient(circle, #c5cad3 1.15px, transparent 1.3px) 7px 4px/8px 8px repeat;
  opacity: 0.7;
}

/* line 66698, app/assets/stylesheets/application.scss */
.tw-note-attach-handle:active {
  cursor: grabbing;
}

/* line 66702, app/assets/stylesheets/application.scss */
.tw-note-attach.is-dragging {
  opacity: 0.42;
}

/* line 66706, app/assets/stylesheets/application.scss */
.tw-note-attach.is-page {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  box-shadow: inset 0 0 0 1px #e4e9f0;
}

/* line 66711, app/assets/stylesheets/application.scss */
.tw-note-attach-icon.is-page {
  background: #eef3fb;
  font-size: 22px;
}

/* line 66716, app/assets/stylesheets/application.scss */
.tw-note-page-emoji {
  line-height: 1;
}

/* line 66720, app/assets/stylesheets/application.scss */
.tw-note-paper.is-reordering {
  cursor: grabbing;
}

/* line 66724, app/assets/stylesheets/application.scss */
.tw-note-paper.is-drop-before::before,
.tw-note-paper > .is-drop-after::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #3d6bfd;
  box-shadow: 0 0 0 3px rgba(61, 107, 253, 0.16);
}

/* line 66734, app/assets/stylesheets/application.scss */
.tw-note-paper.is-drop-before::before {
  margin: 0 0 10px;
}

/* line 66738, app/assets/stylesheets/application.scss */
.tw-note-paper > .is-drop-after::after {
  margin: 10px 0 0;
}

/* line 66742, 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 66757, 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 66771, app/assets/stylesheets/application.scss */
.tw-note-attach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 66777, app/assets/stylesheets/application.scss */
.tw-note-attach-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* line 66783, 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 66792, app/assets/stylesheets/application.scss */
.tw-note-attach-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 66798, 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 66808, app/assets/stylesheets/application.scss */
.tw-note-attach-remove:hover,
.tw-note-attach-remove:focus-visible {
  background: #fff1f0;
  color: var(--perk-ink);
}

/* line 66814, app/assets/stylesheets/application.scss */
.tw-note-attach.is-missing {
  opacity: 0.55;
}

/* line 66818, app/assets/stylesheets/application.scss */
.tw-note-ai-panel {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 40;
  width: min(320px, calc(100vw - 28px));
  max-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 29, 36, 0.1);
  box-shadow: 0 18px 40px rgba(23, 25, 29, 0.14);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

/* line 66837, app/assets/stylesheets/application.scss */
.tw-note-ai-panel.is-dragging {
  user-select: none;
  cursor: grabbing;
  box-shadow: 0 22px 48px rgba(23, 25, 29, 0.2);
}

/* line 66843, app/assets/stylesheets/application.scss */
.tw-note-ai-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: grab;
  touch-action: none;
}

/* line 66852, app/assets/stylesheets/application.scss */
.tw-note-ai-panel-head:active {
  cursor: grabbing;
}

/* line 66856, app/assets/stylesheets/application.scss */
.tw-note-ai-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tw-accent, #6f4cc7);
  min-width: 0;
}

/* line 66864, app/assets/stylesheets/application.scss */
.tw-note-ai-spark {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
}

/* line 66871, app/assets/stylesheets/application.scss */
.tw-note-ai-panel-title strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--tw-ink, #17191d);
}

/* line 66877, app/assets/stylesheets/application.scss */
.tw-note-ai-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 66890, app/assets/stylesheets/application.scss */
.tw-note-ai-close:hover,
.tw-note-ai-close:focus-visible {
  background: #f3f4f6;
  color: #111827;
}

/* line 66896, app/assets/stylesheets/application.scss */
.tw-note-ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 66902, app/assets/stylesheets/application.scss */
.tw-note-ai-quick button {
  border: 1px solid rgba(26, 29, 36, 0.1);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}

/* line 66914, app/assets/stylesheets/application.scss */
.tw-note-ai-quick button:hover,
.tw-note-ai-quick button:focus-visible {
  background: #fff;
  border-color: rgba(26, 29, 36, 0.18);
  color: #111827;
}

/* line 66921, app/assets/stylesheets/application.scss */
.tw-note-ai-quick button:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 66926, app/assets/stylesheets/application.scss */
.tw-note-ai-history {
  flex: 1 1 auto;
  min-height: 140px;
  max-height: 280px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px;
}

/* line 66937, app/assets/stylesheets/application.scss */
.tw-note-ai-empty {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
}

/* line 66944, app/assets/stylesheets/application.scss */
.tw-note-ai-msg {
  max-width: 92%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #1f2937;
}

/* line 66953, app/assets/stylesheets/application.scss */
.tw-note-ai-msg.is-user {
  align-self: flex-end;
  background: color-mix(in srgb, var(--tw-accent) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--tw-accent) 22%, #e5e7eb);
}

/* line 66959, app/assets/stylesheets/application.scss */
.tw-note-ai-msg.is-bot {
  align-self: flex-start;
  background: #f4f5f7;
  border: 1px solid #e8eaee;
}

/* line 66965, app/assets/stylesheets/application.scss */
.tw-note-ai-msg.is-pending {
  opacity: 0.85;
}

/* line 66969, app/assets/stylesheets/application.scss */
.tw-note-ai-compose {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 10px;
  min-height: 40px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.1);
}

/* line 66980, app/assets/stylesheets/application.scss */
.tw-note-ai-input {
  flex: 1;
  min-width: 0;
  height: 30px;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--tw-ink, #17191d);
}

/* line 66992, app/assets/stylesheets/application.scss */
.tw-note-ai-input.perk-doc-chat-input {
  height: 34px;
  font-size: 14px;
  line-height: 1.35;
}

/* line 66998, app/assets/stylesheets/application.scss */
.tw-note-ai-input::placeholder {
  color: #9aa0a8;
}

/* line 67002, app/assets/stylesheets/application.scss */
.tw-note-ai-send {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: var(--tw-accent, #6f4cc7);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 13px;
}

/* line 67017, app/assets/stylesheets/application.scss */
.tw-note-ai-send.perk-doc-chat-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6f4cc7;
  font-size: 15px;
  line-height: 1;
}

/* line 67026, app/assets/stylesheets/application.scss */
.tw-note-ai-send:disabled,
.tw-note-ai-send.is-busy {
  opacity: 0.7;
  cursor: default;
}

/* line 67032, app/assets/stylesheets/application.scss */
.tw-note-ctx-menu {
  position: absolute;
  z-index: 45;
  min-width: 188px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.12);
  box-shadow: 0 14px 30px rgba(23, 25, 29, 0.16);
  display: grid;
  gap: 2px;
}

/* line 67045, app/assets/stylesheets/application.scss */
.tw-note-ctx-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1a1d24;
  cursor: pointer;
}

/* line 67062, app/assets/stylesheets/application.scss */
.tw-note-ctx-menu button:hover,
.tw-note-ctx-menu button:focus-visible {
  background: #f3f4f6;
}

@media (max-width: 720px) {
  /* line 67068, app/assets/stylesheets/application.scss */
  .tw-note-toolbar {
    flex-wrap: wrap;
  }
  /* line 67072, app/assets/stylesheets/application.scss */
  .tw-note-side-tools {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
  /* line 67078, app/assets/stylesheets/application.scss */
  .tw-note-ai-panel {
    top: auto;
    bottom: 16px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: min(58vh, 480px);
  }
  /* line 67087, app/assets/stylesheets/application.scss */
  .tw-note-ai-panel[style*="left:"],
.perk-doc-chat.tw-note-ai-panel[style*="left:"] {
    left: auto;
    right: auto;
    bottom: auto;
    width: min(320px, calc(100vw - 28px));
  }
  /* line 67095, app/assets/stylesheets/application.scss */
  .perk-doc-chat.tw-note-ai-panel {
    top: auto;
    bottom: 16px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: min(58vh, 480px);
  }
}

/* line 67105, 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 67114, app/assets/stylesheets/application.scss */
.tw-assignee-wrap {
  position: relative;
  flex: 0 0 auto;
}

/* line 67119, 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 67129, 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 67141, app/assets/stylesheets/application.scss */
.tw-pro-charge .tw-charge {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

/* line 67149, app/assets/stylesheets/application.scss */
.tw-charge-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* line 67156, app/assets/stylesheets/application.scss */
.tw-charge-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 67162, app/assets/stylesheets/application.scss */
.tw-charge-head strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tw-ink);
}

/* line 67169, app/assets/stylesheets/application.scss */
.tw-charge-head span {
  font-size: 12px;
  font-weight: 500;
  color: var(--tw-muted);
  line-height: 1.35;
}

/* line 67176, 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 67191, app/assets/stylesheets/application.scss */
.tw-charge-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 67197, 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 67213, app/assets/stylesheets/application.scss */
.tw-charge-chip:hover {
  background: #eef0f4;
  border-color: rgba(26, 29, 36, 0.14);
}

/* line 67218, app/assets/stylesheets/application.scss */
.tw-charge-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 67224, 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 67235, app/assets/stylesheets/application.scss */
.tw-charge-chip .heroicon,
.tw-charge-chip i {
  width: 10px;
  height: 10px;
}

/* line 67241, 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 67252, 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 67268, app/assets/stylesheets/application.scss */
.tw-charge-row:hover {
  background: rgba(255, 255, 255, 0.88);
}

/* line 67272, 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 67277, 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 67285, app/assets/stylesheets/application.scss */
.tw-charge-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

/* line 67291, 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 67300, app/assets/stylesheets/application.scss */
.tw-charge-copy small {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted);
}

/* line 67306, app/assets/stylesheets/application.scss */
.tw-charge-check {
  display: inline-flex;
  color: #d1d5db;
}

/* line 67311, app/assets/stylesheets/application.scss */
.tw-charge-check.is-on {
  color: var(--tw-accent, #3d6bfd);
}

/* line 67315, app/assets/stylesheets/application.scss */
.tw-charge-check-off {
  opacity: 0.7;
}

/* line 67319, 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 67328, app/assets/stylesheets/application.scss */
.tw-charge-list > .tw-charge-empty {
  padding: 16px 12px;
  text-align: center;
}

/* line 67333, 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, border-color 0.15s ease;
}

/* line 67351, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-chip {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px var(--tw-line, rgba(30, 36, 51, 0.1));
  border-radius: 14px;
  min-height: 38px;
  padding: 7px 12px;
  gap: 7px;
  transition: background var(--tw-ease, 180ms ease), box-shadow var(--tw-ease, 180ms ease);
}

/* line 67361, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-chip > .heroicon,
.tw-task-composer .tw-chip > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--tw-accent, #6C63FF);
  opacity: 0.9;
}

/* line 67370, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-chip-toggle > .heroicon:last-child,
.tw-task-composer .tw-chip-toggle > svg:last-child {
  color: var(--tw-muted);
  opacity: 0.75;
}

/* line 67376, app/assets/stylesheets/application.scss */
.tw-chip:hover,
.tw-select:hover {
  background: #e8eaee;
}

/* line 67381, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-chip:hover {
  background: #f8f9fc;
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.14);
}

/* line 67386, app/assets/stylesheets/application.scss */
.tw-task-composer .tw-chip-toggle.is-on {
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  color: var(--tw-accent-deep, #5548E8);
  box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.18);
}

/* line 67392, 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 67400, app/assets/stylesheets/application.scss */
.tw-chip-value {
  font-weight: 650;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 67407, app/assets/stylesheets/application.scss */
.tw-chip-assignee {
  gap: 8px;
}

/* line 67411, app/assets/stylesheets/application.scss */
.tw-chip-select {
  padding-right: 12px;
  gap: 10px;
}

/* line 67416, 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;
  -webkit-appearance: none;
  appearance: none;
  background-image: 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");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px 7px;
  padding: 2px 18px 2px 4px;
}

/* line 67434, app/assets/stylesheets/application.scss */
.tw-chip input {
  border: 0;
  background: transparent;
  width: 124px;
  font: inherit;
  color: inherit;
}

/* line 67442, app/assets/stylesheets/application.scss */
.tw-avatar-stack {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* line 67448, 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 67455, app/assets/stylesheets/application.scss */
.tw-avatar-stack .tw-avatar:first-child,
.tw-avatar-stack .tw-avatar-fallback:first-child {
  margin-left: 0;
}

/* line 67460, 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 67478, app/assets/stylesheets/application.scss */
.tw-avatar-md {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

/* line 67484, app/assets/stylesheets/application.scss */
.tw-avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

/* line 67490, app/assets/stylesheets/application.scss */
.tw-avatar-more {
  background: var(--tw-field);
  color: var(--tw-muted);
  font-size: 10px;
}

/* line 67496, 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 67510, app/assets/stylesheets/application.scss */
.tw-status-pill.is-todo {
  background: #f3efff;
  color: #5b3ea6;
}

/* line 67515, app/assets/stylesheets/application.scss */
.tw-status-pill.is-in_progress {
  background: #eff6ff;
  color: #1d4ed8;
}

/* line 67520, app/assets/stylesheets/application.scss */
.tw-status-pill.is-blocked {
  background: #f3f4f6;
  color: #000;
}

/* line 67525, app/assets/stylesheets/application.scss */
.tw-status-pill.is-done {
  background: #ecfdf5;
  color: #047857;
}

/* line 67530, 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: #b8945a;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* line 67547, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-low {
  background: #6a9274;
  color: #fff;
}

/* line 67552, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-medium {
  background: #b8945a;
  color: #fff;
}

/* line 67557, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-high {
  background: #c06a6a;
  color: #fff;
}

/* line 67562, app/assets/stylesheets/application.scss */
.tw-priority-pill.is-urgent {
  background: #b04545;
  color: #fff;
}

/* line 67567, app/assets/stylesheets/application.scss */
.tw-task-title-row .tw-priority-pill,
.tw-kanban-card-main .tw-priority-pill {
  flex: 0 0 auto;
}

/* line 67572, 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 67580, app/assets/stylesheets/application.scss */
.tw-kanban-card-head .tw-task-title {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 67585, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-select-inline {
  max-width: 110px;
}

/* line 67589, app/assets/stylesheets/application.scss */
.tw-priority-select,
.tw-status-select {
  border-radius: 999px !important;
  -webkit-appearance: none;
  appearance: none;
}

/* line 67596, 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 67603, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select {
  border-radius: 999px !important;
  padding: 4px 18px 4px 10px;
  font-size: 12px;
}

/* Composer: soft pastel priority badges (mockup) */
/* line 67610, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-low {
  background: #e8f0e9 !important;
  color: #4a6b52 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67617, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-medium {
  background: #f3ebdb !important;
  color: #88734d !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67624, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-high {
  background: #f5e4e4 !important;
  color: #8b4545 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67631, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-urgent {
  background: #f5dcdc !important;
  color: #7a3030 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67638, 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: #6a9274 !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67647, 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: #b8945a !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67656, 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: #c06a6a !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67665, 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: #b04545 !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* line 67674, 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 67683, 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 67692, 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 67701, 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 67710, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-low {
  color: #4a6b52;
}

/* line 67711, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-medium {
  color: #88734d;
}

/* line 67712, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-high {
  color: #8b4545;
}

/* line 67713, app/assets/stylesheets/application.scss */
.tw-priority-select option.is-urgent {
  color: #7a3030;
}

/* line 67714, app/assets/stylesheets/application.scss */
.tw-status-select option.is-todo {
  color: #5b3ea6;
}

/* line 67715, app/assets/stylesheets/application.scss */
.tw-status-select option.is-in_progress {
  color: #1d4ed8;
}

/* line 67716, app/assets/stylesheets/application.scss */
.tw-status-select option.is-blocked {
  color: #17191d;
}

/* line 67717, app/assets/stylesheets/application.scss */
.tw-status-select option.is-done {
  color: #047857;
}

/* line 67719, 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 67725, app/assets/stylesheets/application.scss */
.tw-priority-select.is-low:focus,
.tw-group-settings-input.tw-priority-select.is-low:focus {
  background: #6a9274 !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 67732, app/assets/stylesheets/application.scss */
.tw-priority-select.is-medium:focus,
.tw-group-settings-input.tw-priority-select.is-medium:focus {
  background: #b8945a !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 67739, app/assets/stylesheets/application.scss */
.tw-priority-select.is-high:focus,
.tw-group-settings-input.tw-priority-select.is-high:focus {
  background: #c06a6a !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 67746, app/assets/stylesheets/application.scss */
.tw-priority-select.is-urgent:focus,
.tw-group-settings-input.tw-priority-select.is-urgent:focus {
  background: #b04545 !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(23, 25, 29, 0.22) !important;
  outline: none;
}

/* line 67754, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-low:focus {
  background: #e8f0e9 !important;
  color: #4a6b52 !important;
}

/* line 67758, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-medium:focus {
  background: #f3ebdb !important;
  color: #88734d !important;
}

/* line 67762, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-high:focus {
  background: #f5e4e4 !important;
  color: #8b4545 !important;
}

/* line 67766, app/assets/stylesheets/application.scss */
.tw-chip-priority .tw-priority-select.is-urgent:focus {
  background: #f5dcdc !important;
  color: #7a3030 !important;
}

/* line 67770, 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 67777, 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 67784, 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 67791, 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 67799, 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 67807, 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 67809, 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 67811, 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 67813, 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 67816, 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 67818, 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 67820, 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 67822, 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 67825, 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 67843, app/assets/stylesheets/application.scss */
.tw-check .heroicon,
.tw-check i {
  width: 11px;
  height: 11px;
  font-size: 11px;
  line-height: 1;
}

/* line 67851, app/assets/stylesheets/application.scss */
.tw-check:hover {
  border-color: #9aa3b2;
  background: #fff;
  color: #111;
  transform: scale(1.04);
}

/* line 67858, app/assets/stylesheets/application.scss */
.tw-check.is-done {
  border-color: #c7cdd8;
  background: #fff;
  color: #111;
}

/* line 67864, 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 67884, app/assets/stylesheets/application.scss */
.tw-task-result:hover {
  background: rgba(26, 29, 36, 0.08);
  color: var(--tw-ink);
}

/* line 67889, 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 67897, app/assets/stylesheets/application.scss */
.tw-task-result span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 67903, app/assets/stylesheets/application.scss */
.tw-pro-hint {
  margin: 0 0 8px;
  color: var(--tw-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* line 67910, app/assets/stylesheets/application.scss */
.tw-pro-error {
  margin: 6px 0 0;
  color: var(--perk-ink);
  font-size: 12px;
  font-weight: 600;
}

/* line 67917, 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 67921, 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 67935, app/assets/stylesheets/application.scss */
.tw-task-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 67942, 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 67950, app/assets/stylesheets/application.scss */
.tw-task-title-row .tw-status-pill {
  flex: 0 0 auto;
}

/* line 67954, 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 67968, app/assets/stylesheets/application.scss */
.tw-detail-field {
  display: grid;
  gap: 6px;
  position: relative;
}

/* line 67974, app/assets/stylesheets/application.scss */
.tw-detail-field.has-label {
  gap: 8px;
}

/* line 67978, app/assets/stylesheets/application.scss */
.tw-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
}

/* line 67986, 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 67993, 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 68002, app/assets/stylesheets/application.scss */
.tw-detail-field:not(.has-label) .tw-detail-toolbar {
  position: absolute;
  top: 6px;
  right: 6px;
}

/* line 68008, 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 68025, 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 68036, app/assets/stylesheets/application.scss */
.tw-detail-fmt-btn .heroicon,
.tw-detail-bullet-btn .heroicon {
  display: block;
  color: currentColor;
}

/* line 68042, 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 68051, app/assets/stylesheets/application.scss */
.tw-detail-fmt-btn:hover,
.tw-detail-bullet-btn:hover {
  background: #e4e7ee;
  color: #000;
}

/* line 68057, 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 68063, app/assets/stylesheets/application.scss */
.tw-detail-textarea {
  resize: vertical;
  min-height: 4.2em;
  line-height: 1.45;
  white-space: pre-wrap;
}

/* line 68070, app/assets/stylesheets/application.scss */
.tw-detail-field:not(.has-label) .tw-detail-textarea {
  padding-right: 104px;
}

/* line 68074, app/assets/stylesheets/application.scss */
.tw-link-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 68081, app/assets/stylesheets/application.scss */
.tw-link-attach {
  display: grid;
  gap: 8px;
}

/* line 68086, app/assets/stylesheets/application.scss */
.tw-link-attach.is-compact {
  margin-top: 2px;
  padding-top: 0;
}

/* line 68091, 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 68104, 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 68111, 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 68117, app/assets/stylesheets/application.scss */
.tw-link-attach-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 68125, app/assets/stylesheets/application.scss */
.tw-link-attach-head h4 {
  margin: 0;
  font-weight: 500;
}

/* line 68130, app/assets/stylesheets/application.scss */
.tw-result-list {
  display: grid;
  gap: 8px;
}

/* line 68135, app/assets/stylesheets/application.scss */
.tw-result-starter {
  display: grid;
  gap: 8px;
}

/* line 68140, app/assets/stylesheets/application.scss */
.tw-result-starter .tw-result-link-field {
  display: block;
  margin: 0;
}

/* line 68145, 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 68163, app/assets/stylesheets/application.scss */
.tw-result-drive-pick:hover {
  color: var(--tw-ink, #111);
  background: rgba(15, 23, 42, 0.05);
}

/* line 68168, app/assets/stylesheets/application.scss */
.tw-result-drive-pick svg,
.tw-result-drive-pick i {
  flex: 0 0 auto;
}

/* line 68173, 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 68180, app/assets/stylesheets/application.scss */
.tw-result-row.is-link .tw-result-link-field:has(.tw-result-open):has(.tw-result-remove) {
  grid-template-columns: 1fr auto auto;
}

/* line 68184, app/assets/stylesheets/application.scss */
button.tw-result-link-hit {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  color: #1a73e8;
}

/* line 68194, app/assets/stylesheets/application.scss */
button.tw-result-link-hit span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 68200, app/assets/stylesheets/application.scss */
button.tw-result-link-hit:hover {
  text-decoration: underline;
}

/* line 68204, app/assets/stylesheets/application.scss */
.tw-result-remove,
.tw-result-open,
.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 68219, app/assets/stylesheets/application.scss */
.tw-result-add:hover,
.tw-result-open:hover,
.tw-result-remove:hover {
  background: rgba(15, 23, 42, 0.09);
  color: var(--tw-ink);
}

/* line 68226, app/assets/stylesheets/application.scss */
.tw-result-add-wrap {
  position: relative;
}

/* line 68230, 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 68245, 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 68260, app/assets/stylesheets/application.scss */
.tw-result-add-item:hover {
  background: rgba(61, 107, 253, 0.08);
}

/* line 68264, app/assets/stylesheets/application.scss */
.tw-drive-attach {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

/* line 68270, 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 68279, 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 68288, app/assets/stylesheets/application.scss */
.tw-drive-picked span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 68294, app/assets/stylesheets/application.scss */
.tw-drive-clear {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* line 68303, app/assets/stylesheets/application.scss */
.tw-drive-picker {
  display: none;
}

/* line 68307, 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 68327, 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 68335, 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 68349, 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 68358, 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 68366, app/assets/stylesheets/application.scss */
.tw-drive-dialog-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 10px 14px 0;
}

/* line 68374, 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 68383, app/assets/stylesheets/application.scss */
.tw-drive-dialog-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 12px;
  min-width: 0;
}

/* line 68391, app/assets/stylesheets/application.scss */
.tw-drive-dialog-row.is-on {
  background: rgba(61, 107, 253, 0.1);
}

/* line 68395, 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 68412, app/assets/stylesheets/application.scss */
.tw-drive-dialog-item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 68420, app/assets/stylesheets/application.scss */
.tw-drive-dialog-item:hover {
  background: rgba(26, 29, 36, 0.04);
}

/* line 68424, 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 68437, app/assets/stylesheets/application.scss */
.tw-drive-dialog-open:hover {
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-ink);
}

/* line 68442, 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 68451, 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 68458, 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 68463, 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 68470, 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 68479, app/assets/stylesheets/application.scss */
.tw-nested-page-dialog {
  width: min(440px, calc(100vw - 28px));
  max-height: min(86vh, 640px);
}

/* line 68484, app/assets/stylesheets/application.scss */
.tw-nested-page-body {
  display: grid;
  gap: 16px;
  padding: 4px 18px 8px;
}

/* line 68490, app/assets/stylesheets/application.scss */
.tw-nested-page-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--tw-muted);
}

/* line 68497, app/assets/stylesheets/application.scss */
.tw-nested-page-field {
  display: grid;
  gap: 8px;
}

/* line 68502, app/assets/stylesheets/application.scss */
.tw-nested-page-field > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-ink);
}

/* line 68508, app/assets/stylesheets/application.scss */
.tw-nested-page-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 68514, app/assets/stylesheets/application.scss */
.tw-nested-page-icon {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f3f5f8;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 68527, app/assets/stylesheets/application.scss */
.tw-nested-page-icon:hover,
.tw-nested-page-icon:focus-visible {
  background: #e8edf7;
}

/* line 68532, app/assets/stylesheets/application.scss */
.tw-nested-page-icon.is-on {
  background: #dfe8ff;
  box-shadow: inset 0 0 0 1.5px #3d6bfd;
}

/* line 68537, 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 68548, app/assets/stylesheets/application.scss */
.tw-drive-crumb:hover {
  background: rgba(61, 107, 253, 0.08);
}

/* line 68552, app/assets/stylesheets/application.scss */
.tw-drive-crumb-sep {
  color: var(--tw-muted);
  font-size: 12px;
}

/* line 68557, app/assets/stylesheets/application.scss */
.tw-link-input,
.tw-link-input::placeholder {
  font-weight: 400 !important;
}

/* line 68562, app/assets/stylesheets/application.scss */
.tw-composer-field {
  display: grid;
  gap: 6px;
  position: relative;
}

/* line 68568, app/assets/stylesheets/application.scss */
.tw-field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--tw-ink);
  letter-spacing: -0.01em;
}

/* line 68575, 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 68585, app/assets/stylesheets/application.scss */
.tw-task-main strong,
.tw-task-main .tw-task-title {
  display: block;
  font-size: 15px;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
  color: var(--tw-ink);
}

/* line 68594, 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 68600, 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 68612, 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 68621, 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 68634, app/assets/stylesheets/application.scss */
.tw-task-meta em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 68640, 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 68654, 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 68662, app/assets/stylesheets/application.scss */
.tw-task-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 68668, 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 68674, app/assets/stylesheets/application.scss */
.tw-task-chip.is-muted {
  background: transparent;
  padding-left: 2px;
  padding-right: 2px;
}

/* line 68680, app/assets/stylesheets/application.scss */
.tw-task-meta em.is-overdue {
  color: var(--perk-ink);
  font-weight: 650;
}

/* line 68685, app/assets/stylesheets/application.scss */
.tw-task-people {
  gap: 8px !important;
}

/* line 68689, app/assets/stylesheets/application.scss */
.tw-task-people span {
  display: inline !important;
  color: var(--tw-muted);
  font-size: 12px;
}

/* line 68695, app/assets/stylesheets/application.scss */
.tw-note {
  width: 100%;
  gap: 11px;
  align-items: center;
}

/* line 68701, app/assets/stylesheets/application.scss */
.tw-note-ico {
  width: 42px;
  height: 42px;
  border-radius: 24%;
  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 6px 8px rgba(23, 25, 29, 0.1));
}

/* line 68715, app/assets/stylesheets/application.scss */
.tw-note:hover .tw-note-ico {
  filter: drop-shadow(0 8px 10px rgba(23, 25, 29, 0.12));
}

/* line 68719, 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 68730, app/assets/stylesheets/application.scss */
.tw-note-ico-glyph .heroicon,
.tw-note-ico-glyph i,
.tw-note-ico .heroicon {
  width: 18px;
  height: 18px;
  color: #fff;
  stroke: currentColor;
  flex-shrink: 0;
}

/* line 68740, app/assets/stylesheets/application.scss */
.tw-note.is-folder .tw-note-ico {
  color: #fff;
}

/* line 68744, app/assets/stylesheets/application.scss */
.tw-note-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

/* line 68751, 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;
  font-size: 12px;
}

/* line 68761, app/assets/stylesheets/application.scss */
.tw-note-updated {
  font-size: 12px !important;
}

/* line 68765, app/assets/stylesheets/application.scss */
.tw-note-chevron {
  color: #9ca3af !important;
  margin-left: auto;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

/* line 68773, app/assets/stylesheets/application.scss */
.tw-note i:first-child {
  color: inherit;
}

/* line 68777, app/assets/stylesheets/application.scss */
.tw-note i:last-child {
  color: #9ca3af;
  margin-left: auto;
}

/* line 68782, app/assets/stylesheets/application.scss */
.tw-note span {
  min-width: 0;
}

/* line 68786, app/assets/stylesheets/application.scss */
.tw-note strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* line 68794, app/assets/stylesheets/application.scss */
.tw-note-items.is-grid .tw-note strong {
  font-size: 12px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 68802, app/assets/stylesheets/application.scss */
.tw-project {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 68808, app/assets/stylesheets/application.scss */
.tw-project-head {
  align-items: flex-start;
  justify-content: space-between;
}

/* line 68813, app/assets/stylesheets/application.scss */
.tw-project-head strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* line 68818, app/assets/stylesheets/application.scss */
.tw-progress {
  display: grid;
  gap: 6px;
}

/* line 68823, 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 68831, app/assets/stylesheets/application.scss */
.tw-progress-meta strong {
  color: var(--tw-ink);
  font-size: 14px;
}

/* line 68836, app/assets/stylesheets/application.scss */
.tw-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

/* line 68843, 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 68851, 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 68862, app/assets/stylesheets/application.scss */
.tw-gantt-track {
  position: relative;
  display: block;
  height: 30px;
  background: #eceef2;
  border-radius: 8px;
  overflow: hidden;
}

/* line 68871, app/assets/stylesheets/application.scss */
.tw-gantt-bar {
  position: absolute;
  top: 9px;
  height: 12px;
  border-radius: 6px;
  background: var(--tw-accent);
}

/* line 68879, 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 68892, 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 68900, 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 68910, app/assets/stylesheets/application.scss */
.tw-project-actions {
  display: flex;
  gap: 4px;
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

/* line 68917, app/assets/stylesheets/application.scss */
.tw-project:hover .tw-project-actions,
.tw-project.is-expanded .tw-project-actions {
  opacity: 1;
}

/* line 68922, app/assets/stylesheets/application.scss */
.tw-project-task {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
}

/* line 68929, app/assets/stylesheets/application.scss */
.tw-project-task span {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}

/* line 68935, app/assets/stylesheets/application.scss */
.tw-project-task em {
  font-size: 11px;
}

/* line 68939, 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 68950, app/assets/stylesheets/application.scss */
.tw-text-btn.is-accent {
  color: var(--tw-accent);
}

/* line 68954, app/assets/stylesheets/application.scss */
.tw-sheet-head strong {
  flex: 1;
  text-align: center;
}

/* line 68959, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor {
  padding: 12px 16px;
  border-bottom: 1px solid #eceef2;
  background: #fff;
  position: relative;
  /* Keep the ··· menu above the sticky fmt/mic toolbar when they share the viewport. */
  z-index: 20;
}

/* line 68968, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy {
  text-align: left;
}

/* line 68972, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy strong {
  text-align: left;
}

/* line 68976, app/assets/stylesheets/application.scss */
.tw-sheet-head.is-editor .tw-top-copy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 68982, app/assets/stylesheets/application.scss */
.tw-sheet-layer {
  position: relative;
  min-height: 100%;
  height: 100%;
  z-index: 60;
}

/* line 68989, app/assets/stylesheets/application.scss */
.tw-sheet-layer.is-page {
  background: #fff;
}

/* line 68993, 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 69002, 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 69012, 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 69021, 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 69032, app/assets/stylesheets/application.scss */
.tw-cal,
.tw-cal * {
  font-weight: 500 !important;
}

/* line 69037, app/assets/stylesheets/application.scss */
.tw-photo {
  display: flex;
  justify-content: center;
}

/* line 69042, 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 69055, 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 69064, app/assets/stylesheets/application.scss */
.tw-photo-art > img {
  position: absolute;
  inset: 0;
}

/* line 69069, app/assets/stylesheets/application.scss */
.tw-photo-art > .heroicon,
.tw-photo-art > i {
  width: auto;
  height: auto;
  position: relative;
}

/* line 69076, 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 69093, app/assets/stylesheets/application.scss */
.tw-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 650;
  font-size: 13px;
}

/* line 69101, 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 69111, 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 69126, 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 69137, app/assets/stylesheets/application.scss */
button.tw-member:disabled,
button.tw-member.is-self {
  cursor: default;
}

/* line 69142, app/assets/stylesheets/application.scss */
.tw-member-chat {
  margin-left: auto;
  color: var(--tw-accent);
  opacity: 0.85;
}

/* line 69148, 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 69159, 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 69166, 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 69173, 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 69183, 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 69192, app/assets/stylesheets/application.scss */
.tw-settings-actions .tw-leave.is-danger {
  font-weight: 700;
}

/* line 69196, 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 69205, app/assets/stylesheets/application.scss */
.tw-settings-summary .tw-photo-art.is-static {
  cursor: default;
}

/* line 69209, 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 69219, 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 69226, app/assets/stylesheets/application.scss */
.tw-sheet.is-settings .tw-pro-copy strong {
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* line 69231, app/assets/stylesheets/application.scss */
.tw-sheet.is-settings .tw-pro-copy p {
  font-weight: 400;
}

/* line 69235, app/assets/stylesheets/application.scss */
.tw-sheet.is-settings .tw-pro-ghost,
.tw-sheet.is-settings .tw-pro-primary {
  font-weight: 400;
}

/* line 69240, 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 69248, app/assets/stylesheets/application.scss */
.tw-sheet.is-people .tw-create-team-selected {
  color: #000;
}

/* line 69252, 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 69259, app/assets/stylesheets/application.scss */
.tw-sheet.is-task {
  /* Soft Futurism — create/edit task modal (footer buttons keep .tw-pro-* chrome). */
  border: 1px solid rgba(108, 99, 255, 0.08);
  border-radius: 20px;
  background: radial-gradient(420px 200px at 0% 0%, rgba(108, 99, 255, 0.1), transparent 58%), radial-gradient(380px 180px at 100% 0%, rgba(91, 140, 255, 0.07), transparent 55%), #FFFFFF;
  box-shadow: 0 18px 48px rgba(30, 36, 51, 0.12), 0 8px 22px rgba(108, 99, 255, 0.1);
  overflow: hidden;
}

/* line 69273, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-head {
  border-bottom: 1px solid var(--tw-line, rgba(30, 36, 51, 0.08));
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-bottom: 14px;
}

/* line 69281, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-copy em {
  color: var(--tw-accent, #6C63FF);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* line 69287, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-group-settings-section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tw-muted, #6B7285);
}

/* line 69295, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-copy strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--tw-ink, #1E2433);
  line-height: 1.2;
}

/* line 69303, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-copy p {
  color: var(--tw-muted, #6B7285);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

/* line 69310, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-close {
  background: var(--tw-field, #F3F5FB);
  color: var(--tw-muted, #6B7285);
  border-radius: 12px;
}

/* line 69316, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-close:hover {
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  color: var(--tw-accent-deep, #5548E8);
}

/* line 69321, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-pro-foot {
  border-top-color: var(--tw-line, rgba(30, 36, 51, 0.08));
  background: rgba(255, 255, 255, 0.72);
}

/* line 69326, app/assets/stylesheets/application.scss */
.tw-task-settings {
  gap: 20px;
}

/* line 69330, app/assets/stylesheets/application.scss */
.tw-task-settings-menu {
  gap: 2px;
  padding: 4px;
  background: var(--tw-field, #F3F5FB);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.04);
}

/* line 69338, 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;
  border-radius: 12px;
  transition: background var(--tw-ease, 180ms ease);
}

/* line 69349, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row.is-control:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* line 69353, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  color: var(--tw-accent, #6C63FF);
}

/* line 69361, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-copy > span {
  font-size: 14px;
  font-weight: 500;
  color: var(--tw-ink, #1E2433);
}

/* line 69367, 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 69375, 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: 500 !important;
  text-align: right;
  color: var(--tw-ink, #1E2433) !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.08) !important;
}

/* Native select chevron needs extra right inset so it isn’t flush with the edge. */
/* line 69392, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-group-settings-input {
  -webkit-appearance: none;
  appearance: none;
  background-image: 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");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
  padding-right: 34px !important;
  padding-left: 12px !important;
}

/* line 69403, 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-color: inherit;
  background-image: 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='%23ffffff' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
  padding-right: 34px !important;
  padding-left: 14px !important;
}

/* line 69416, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-todo,
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-in_progress,
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-blocked,
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-done {
  background-image: 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='%235b616c' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E");
}

/* line 69423, app/assets/stylesheets/application.scss */
.tw-chip-repeat {
  flex: 0 1 auto;
  min-width: 0;
}

/* line 69428, app/assets/stylesheets/application.scss */
.tw-repeat-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--tw-field, #f3f5fa);
  box-sizing: border-box;
}

/* line 69441, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-repeat-custom {
  margin: 0 4px 4px;
  width: auto;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 69448, app/assets/stylesheets/application.scss */
.tw-repeat-custom-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--tw-muted, #5f6368);
}

/* line 69456, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-repeat-custom-label {
  font-size: 13px;
  font-weight: 500;
  color: #5b616c;
}

/* line 69462, app/assets/stylesheets/application.scss */
.tw-repeat-custom-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 8px 4px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 69473, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-repeat-custom-stepper {
  background: #f7f8fa;
  box-shadow: none;
}

/* line 69478, app/assets/stylesheets/application.scss */
.tw-repeat-custom-stepper .tw-repeat-interval-input,
.tw-repeat-interval-input {
  width: 3.2rem;
  min-width: 3.2rem;
  max-width: 3.2rem;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
  padding: 4px 0 !important;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: inherit;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* line 69497, app/assets/stylesheets/application.scss */
.tw-repeat-custom-stepper .tw-repeat-interval-input::-webkit-outer-spin-button,
.tw-repeat-custom-stepper .tw-repeat-interval-input::-webkit-inner-spin-button,
.tw-repeat-interval-input::-webkit-outer-spin-button,
.tw-repeat-interval-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* line 69505, app/assets/stylesheets/application.scss */
.tw-repeat-custom-stepper .tw-repeat-unit-select,
.tw-repeat-unit-select {
  max-width: 7rem;
  min-width: 0;
}

/* line 69511, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-low {
  background-color: #567a60 !important;
  color: #fff !important;
}

/* line 69512, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-medium {
  background-color: #8b7238 !important;
  color: #fff !important;
}

/* line 69513, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-high {
  background-color: #964f4f !important;
  color: #fff !important;
}

/* line 69514, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-priority-select.is-urgent {
  background-color: #7a3030 !important;
  color: #fff !important;
}

/* line 69515, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-todo {
  background-color: #f3efff !important;
  color: #5b3ea6 !important;
}

/* line 69516, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-in_progress {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
}

/* line 69517, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-blocked {
  background-color: #f3f4f6 !important;
  color: #17191d !important;
}

/* line 69518, app/assets/stylesheets/application.scss */
.tw-task-settings-menu .tw-group-settings-row-control select.tw-status-select.is-done {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
}

/* line 69520, app/assets/stylesheets/application.scss */
.tw-task-settings-creator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

/* line 69528, 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 69538, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-group-settings-field {
  gap: 8px;
}

/* line 69542, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-group-settings-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--tw-muted, #6B7285);
  letter-spacing: -0.01em;
}

/* line 69549, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-group-settings-label .heroicon,
.tw-task-settings .tw-group-settings-label svg {
  color: var(--tw-accent, #6C63FF);
}

/* line 69554, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-link-attach.is-settings {
  gap: 8px;
}

/* line 69558, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-link-attach .tw-result-list {
  display: grid;
  gap: 8px;
  padding: 0;
}

/* line 69564, 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: 500 !important;
  color: var(--tw-ink, #1E2433) !important;
  background: var(--tw-field, #F3F5FB) !important;
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.08) !important;
  transition: background var(--tw-ease, 180ms ease), box-shadow var(--tw-ease, 180ms ease);
}

/* line 69579, 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: 500 !important;
  color: var(--tw-ink, #1E2433) !important;
  background: var(--tw-field, #F3F5FB) !important;
  box-shadow: inset 0 0 0 1px rgba(30, 36, 51, 0.08) !important;
  transition: background var(--tw-ease, 180ms ease), box-shadow var(--tw-ease, 180ms ease);
}

/* line 69595, 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 69600, 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 69605, 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,
.tw-task-settings .tw-link-attach .tw-link-input:focus,
.tw-task-settings .tw-link-attach .tw-group-settings-input:focus {
  background: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(108, 99, 255, 0.35) !important;
  outline: none;
}

/* line 69615, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-task-voice-status {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--tw-accent-soft, rgba(108, 99, 255, 0.12));
  color: var(--tw-accent-deep, #5548E8);
  font-size: 13px;
  font-weight: 500;
}

/* line 69624, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-group-settings-section {
  gap: 10px;
}

/* line 69628, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-charge.is-embedded {
  padding: 10px;
  border-radius: 16px;
  background: var(--tw-field, #F3F5FB);
  box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.04);
}

/* line 69635, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-task-settings .tw-charge-list {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* line 69641, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-task-settings .tw-charge-row {
  background: rgba(255, 255, 255, 0.92);
  color: var(--tw-ink, #1E2433);
}

/* line 69646, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-task-settings .tw-charge-row:hover {
  background: #fff;
}

/* line 69650, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-task-settings .tw-charge-row.is-on {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(108, 99, 255, 0.28);
}

/* line 69655, app/assets/stylesheets/application.scss */
.tw-sheet.is-task .tw-task-settings .tw-charge-empty {
  color: var(--tw-muted, #6B7285);
}

/* line 69659, app/assets/stylesheets/application.scss */
.tw-task-settings-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

/* line 69665, app/assets/stylesheets/application.scss */
.tw-task-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
}

/* line 69672, 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 69682, app/assets/stylesheets/application.scss */
.tw-task-settings-cell-label {
  font-size: 12px;
  font-weight: 500;
  color: #000;
}

/* line 69688, app/assets/stylesheets/application.scss */
.tw-task-settings-cell .tw-group-settings-input {
  background: #f7f8fa !important;
  padding: 11px 12px !important;
}

/* line 69693, 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 69708, app/assets/stylesheets/application.scss */
.tw-task-settings-add:hover {
  background: #fafafa;
}

/* line 69712, 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 69721, app/assets/stylesheets/application.scss */
.tw-task-settings-charge-section .tw-charge.is-embedded {
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
}

/* line 69728, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-selected {
  margin: 0 0 8px;
}

/* line 69732, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-chip {
  background: #f7f8fa;
  color: #000;
  border: 0;
  box-shadow: none;
}

/* line 69739, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-chip:hover {
  background: #eef0f4;
}

/* line 69743, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-empty {
  margin: 0 0 8px;
  color: #000;
  font-size: 13px;
  font-weight: 400;
}

/* line 69750, 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 69762, 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 69780, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-row:hover {
  background: #eef0f4;
}

/* line 69784, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-row.is-on {
  box-shadow: none;
  background: #e8eaee;
}

/* line 69789, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-copy strong {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* line 69795, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-copy small {
  font-size: 12px;
  font-weight: 400;
  color: #000;
}

/* line 69801, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-check {
  color: #000;
}

/* line 69805, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-check.is-on {
  color: #000;
}

/* line 69809, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-charge-check-off {
  color: #c7cdd8;
}

/* line 69813, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-result-row {
  margin: 0;
}

/* line 69817, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-result-link-field {
  margin: 0;
  gap: 6px;
}

/* line 69822, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-result-remove,
.tw-task-settings .tw-result-open,
.tw-task-settings .tw-drive-clear {
  color: #000;
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #e8eaee;
}

/* line 69831, 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 69838, app/assets/stylesheets/application.scss */
.tw-task-settings .tw-pro-error {
  color: #000;
  font-weight: 400;
}

@media (max-width: 560px) {
  /* line 69844, app/assets/stylesheets/application.scss */
  .tw-task-settings-grid {
    grid-template-columns: 1fr;
  }
  /* line 69848, app/assets/stylesheets/application.scss */
  .tw-task-split {
    grid-template-columns: minmax(0, 1.6fr) minmax(84px, 1fr);
    gap: 10px;
  }
  /* line 69853, app/assets/stylesheets/application.scss */
  .tw-task-react {
    padding: 3px 6px;
  }
  /* line 69857, app/assets/stylesheets/application.scss */
  .tw-task-foot {
    flex-wrap: wrap;
    align-items: center;
  }
  /* line 69862, app/assets/stylesheets/application.scss */
  .tw-task-foot .tw-task-reacts {
    margin-left: auto;
  }
  /* line 69866, app/assets/stylesheets/application.scss */
  .tw-sheet.is-task-comments {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    border-radius: 0;
  }
  /* line 69874, app/assets/stylesheets/application.scss */
  .tw-cmt-split {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  /* line 69879, 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;
    overflow: hidden;
  }
  /* line 69886, app/assets/stylesheets/application.scss */
  .tw-cmt-panel {
    min-height: 50vh;
  }
}

/* line 69891, app/assets/stylesheets/application.scss */
.tw-pro-primary:disabled {
  opacity: 0.4;
  cursor: default;
  filter: none;
}

/* line 69897, app/assets/stylesheets/application.scss */
.tw-group-settings {
  display: grid;
  gap: 22px;
}

/* line 69902, 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 69911, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* line 69920, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar.is-static {
  cursor: default;
}

/* line 69924, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar-wrap {
  position: relative;
  display: inline-flex;
}

/* line 69929, 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 69943, app/assets/stylesheets/application.scss */
.tw-group-settings-avatar-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 69949, 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 69964, 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 69972, app/assets/stylesheets/application.scss */
.tw-group-settings-title {
  color: var(--tw-ink);
  font-size: 16px;
  font-weight: 500;
}

/* line 69978, app/assets/stylesheets/application.scss */
.tw-group-settings-field {
  display: grid;
  gap: 8px;
}

/* line 69983, 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 69992, app/assets/stylesheets/application.scss */
.tw-group-settings-label .heroicon {
  color: #000;
}

/* line 69996, 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 70005, 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 70010, app/assets/stylesheets/application.scss */
.tw-group-settings-section {
  display: grid;
  gap: 8px;
}

/* line 70015, 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 70025, app/assets/stylesheets/application.scss */
.tw-group-settings-list {
  display: grid;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #f7f8fa;
}

/* line 70033, app/assets/stylesheets/application.scss */
.tw-group-settings-list.is-picker {
  gap: 6px;
}

/* line 70037, 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 70056, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-pick {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

/* line 70060, app/assets/stylesheets/application.scss */
.tw-group-settings-row:hover {
  background: #fafafa;
}

/* line 70064, 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 70069, 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 70074, 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 70086, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-danger .tw-group-settings-row-icon {
  background: #f3f4f6;
}

/* line 70090, app/assets/stylesheets/application.scss */
.tw-group-settings-row-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 70097, app/assets/stylesheets/application.scss */
.tw-group-settings-row-copy > span {
  font-size: 14px;
  font-weight: 400;
  color: #111827;
  line-height: 1.3;
}

/* line 70104, app/assets/stylesheets/application.scss */
.tw-group-settings-row-copy small {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  line-height: 1.35;
}

/* line 70111, app/assets/stylesheets/application.scss */
.tw-group-settings-row-chevron {
  color: #d1d5db;
  display: inline-flex;
}

/* line 70116, 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 70125, 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 70134, app/assets/stylesheets/application.scss */
.tw-group-settings-row-check {
  color: #d1d5db;
  display: inline-flex;
}

/* line 70139, app/assets/stylesheets/application.scss */
.tw-group-settings-row-check.is-on {
  color: var(--tw-accent, #6f4cc7);
}

/* line 70143, app/assets/stylesheets/application.scss */
.tw-group-settings-check-off {
  opacity: 0.55;
}

/* line 70147, 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 70159, app/assets/stylesheets/application.scss */
.tw-create-team .tw-group-settings-hero {
  padding: 8px 8px 4px;
}

/* line 70163, app/assets/stylesheets/application.scss */
.tw-create-team .tw-group-settings-avatar-wrap {
  overflow: visible;
}

/* line 70167, app/assets/stylesheets/application.scss */
.tw-create-team-people-head {
  align-items: baseline;
}

/* line 70171, app/assets/stylesheets/application.scss */
.tw-create-team-people-head .tw-group-settings-section-label {
  margin: 0;
}

/* line 70175, app/assets/stylesheets/application.scss */
.tw-create-team-selected {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--tw-accent, #6f4cc7);
}

/* line 70182, app/assets/stylesheets/application.scss */
.tw-create-team-search {
  margin-bottom: 10px;
}

/* line 70186, 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 70195, 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 70207, app/assets/stylesheets/application.scss */
.tw-create-face:disabled,
.tw-create-face.is-self {
  cursor: default;
}

/* line 70212, 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 70227, 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 70236, app/assets/stylesheets/application.scss */
.tw-create-face:hover .tw-create-face-art {
  transform: translateY(-1px);
}

/* line 70240, 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 70247, 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 70254, app/assets/stylesheets/application.scss */
.tw-create-team .tw-group-settings-empty {
  margin-top: 8px;
}

/* line 70258, app/assets/stylesheets/application.scss */
.tw-group-settings-list .tw-group-settings-empty {
  background: transparent;
  padding: 14px 10px;
}

/* line 70263, 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 70269, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-self:hover {
  background: #fff;
}

/* line 70273, app/assets/stylesheets/application.scss */
.tw-people-settings .tw-group-settings-row.is-pick .tw-group-settings-row-chevron {
  color: #000;
  opacity: 1;
}

/* line 70278, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-member {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 6px;
  cursor: default;
}

/* line 70286, app/assets/stylesheets/application.scss */
.tw-group-settings-row.is-member:hover {
  background: #fff;
}

/* line 70290, 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 70307, app/assets/stylesheets/application.scss */
.tw-people-member-main:hover {
  background: rgba(26, 29, 36, 0.04);
}

/* line 70311, app/assets/stylesheets/application.scss */
.tw-people-member-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

/* line 70318, 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 70332, app/assets/stylesheets/application.scss */
.tw-people-member-action:hover {
  background: rgba(26, 29, 36, 0.06);
  color: var(--tw-ink, #111);
}

/* line 70337, app/assets/stylesheets/application.scss */
.tw-people-member-action.is-danger:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

/* line 70342, app/assets/stylesheets/application.scss */
.tw-member.is-selected {
  border-color: rgba(61, 107, 253, 0.35);
  background: var(--tw-accent-soft);
}

/* line 70347, app/assets/stylesheets/application.scss */
.tw-text-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 70352, app/assets/stylesheets/application.scss */
.tw-note-body {
  min-height: 42vh;
}

/* line 70356, app/assets/stylesheets/application.scss */
.tw-cal-shift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

/* line 70364, 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 70373, app/assets/stylesheets/application.scss */
.tw-cal-head-actions .tw-cal-shift-btn {
  flex: 0 0 auto;
}

/* line 70377, app/assets/stylesheets/application.scss */
.tw-cal-shift.is-inline .tw-cal-range {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

/* line 70383, 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 70393, 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 70403, app/assets/stylesheets/application.scss */
.tw-cal-head {
  background: #fff;
  border-bottom: 1px solid var(--tw-line);
}

/* line 70408, app/assets/stylesheets/application.scss */
.tw-cal-today-btn,
.tw-cal-create-btn {
  flex: 0 0 auto;
  min-height: 40px;
}

/* line 70414, 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 70423, app/assets/stylesheets/application.scss */
.tw-cal-toolbar {
  padding: 8px 16px 0;
}

/* line 70427, app/assets/stylesheets/application.scss */
.tw-cal-range {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: grid;
  gap: 2px;
}

/* line 70435, app/assets/stylesheets/application.scss */
.tw-cal-range strong {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--tw-ink);
}

/* line 70442, app/assets/stylesheets/application.scss */
.tw-cal-range span {
  font-size: 12px;
  color: var(--tw-muted);
}

/* line 70447, app/assets/stylesheets/application.scss */
.tw-week-board {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 12px 12px;
}

/* line 70455, 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 70466, app/assets/stylesheets/application.scss */
.tw-week-gutter {
  min-width: 0;
}

/* line 70470, 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 70484, app/assets/stylesheets/application.scss */
.tw-week-head:hover {
  background: rgba(26, 29, 36, 0.04);
}

/* line 70488, 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 70497, 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 70510, app/assets/stylesheets/application.scss */
.tw-week-head strong.is-today {
  background: var(--tw-accent);
  color: #fff;
}

/* line 70515, app/assets/stylesheets/application.scss */
.tw-week-head.is-selected:not(.is-today) strong {
  background: rgba(26, 29, 36, 0.08);
}

/* line 70519, 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 70532, 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 70544, 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 70558, 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 70564, 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 70579, app/assets/stylesheets/application.scss */
.tw-day-col:first-child {
  border-left: 0;
}

/* line 70583, app/assets/stylesheets/application.scss */
.tw-day-col.is-today {
  background-color: rgba(111, 76, 199, 0.03);
}

/* line 70587, app/assets/stylesheets/application.scss */
.tw-day-col.is-selected {
  background-color: rgba(61, 107, 253, 0.04);
}

/* line 70591, app/assets/stylesheets/application.scss */
.tw-day-track {
  position: relative;
  width: 100%;
}

/* line 70596, app/assets/stylesheets/application.scss */
.tw-event {
  --tw-event-color: #6f4cc7;
  --tw-event-stripe: var(--tw-event-color);
  position: absolute;
  left: 3px;
  right: 3px;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 1px;
  margin: 0;
  padding: 4px 6px 4px 10px;
  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 70621, app/assets/stylesheets/application.scss */
.tw-event::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 99px;
  background: var(--tw-event-stripe, var(--tw-event-color));
  pointer-events: none;
}

/* line 70633, 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 70642, 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 70651, app/assets/stylesheets/application.scss */
.tw-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px;
}

/* line 70658, 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 70674, app/assets/stylesheets/application.scss */
.tw-legend-item:hover {
  background: var(--tw-field);
}

/* line 70678, app/assets/stylesheets/application.scss */
.tw-legend-item.is-off {
  opacity: 0.42;
  background: transparent;
}

/* line 70683, 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 70691, 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 70701, app/assets/stylesheets/application.scss */
.tw-legend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* line 70708, app/assets/stylesheets/application.scss */
.tw-cal-composer-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
}

/* line 70717, 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 70725, 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 70735, 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 70744, app/assets/stylesheets/application.scss */
.tw-cal-composer-head strong {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

/* line 70750, app/assets/stylesheets/application.scss */
.tw-cal-composer-head .tw-text-btn:last-child {
  justify-self: end;
}

/* line 70754, app/assets/stylesheets/application.scss */
.tw-cal-composer-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

/* line 70760, app/assets/stylesheets/application.scss */
.tw-cal-selected {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  /* line 70767, app/assets/stylesheets/application.scss */
  .tw-cal-range span {
    display: none;
  }
  /* line 70771, app/assets/stylesheets/application.scss */
  .tw-cal-head-actions {
    gap: 6px;
  }
  /* line 70775, app/assets/stylesheets/application.scss */
  .tw-cal-shift.is-inline {
    max-width: min(200px, 36vw);
    gap: 2px;
  }
  /* line 70780, app/assets/stylesheets/application.scss */
  .tw-cal-shift.is-inline .tw-cal-range strong {
    font-size: 12px;
  }
  /* line 70784, 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 70792, app/assets/stylesheets/application.scss */
  .tw-week-heads,
.tw-week-scroll {
    min-width: 720px;
  }
  /* line 70797, app/assets/stylesheets/application.scss */
  .tw-week-board {
    overflow-x: auto;
  }
}

/* line 70802, 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 70814, app/assets/stylesheets/application.scss */
.tw-empty {
  padding: 28px 18px;
  text-align: center;
}

/* line 70819, app/assets/stylesheets/application.scss */
.tw-empty strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* line 70825, 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 70833, 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 70843, 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 70856, app/assets/stylesheets/application.scss */
  .tw-panel-toolbar .tw-primary-btn {
    width: auto;
  }
  /* line 70860, app/assets/stylesheets/application.scss */
  .tw-note-search {
    max-width: none;
    flex: 1 1 100%;
  }
  /* line 70865, app/assets/stylesheets/application.scss */
  .tw-filters {
    width: 100%;
  }
  /* line 70869, app/assets/stylesheets/application.scss */
  .tw-task-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  /* line 70875, app/assets/stylesheets/application.scss */
  .tw-task-toolbar-row.is-main,
.tw-task-toolbar-row.is-controls {
    flex-direction: column;
    align-items: stretch;
  }
  /* line 70881, app/assets/stylesheets/application.scss */
  .tw-task-toolbar-row.is-main .tw-task-count {
    margin-right: 0;
    order: -1;
  }
  /* line 70886, app/assets/stylesheets/application.scss */
  .tw-task-controls {
    width: 100%;
    justify-content: flex-start;
  }
  /* line 70891, app/assets/stylesheets/application.scss */
  .tw-task-toolbar-row.is-main .tw-task-controls {
    flex: 1 1 auto;
  }
  /* line 70895, app/assets/stylesheets/application.scss */
  .tw-task-controls .tw-task-search {
    flex: 1 1 100%;
    max-width: none;
  }
  /* line 70900, app/assets/stylesheets/application.scss */
  .tw-task-ctrl-value {
    display: none;
  }
  /* line 70904, app/assets/stylesheets/application.scss */
  .tw-task-view-toggle {
    align-self: flex-end;
  }
  /* line 70908, app/assets/stylesheets/application.scss */
  .tw-task-list.is-grid {
    grid-template-columns: 1fr;
  }
  /* line 70912, app/assets/stylesheets/application.scss */
  .tw-perf-toolbar {
    flex-wrap: wrap;
  }
  /* line 70916, app/assets/stylesheets/application.scss */
  .tw-perf-toolbar .tw-filters {
    width: fit-content;
    max-width: 100%;
    margin-right: 0;
  }
  /* line 70922, app/assets/stylesheets/application.scss */
  .tw-perf-toolbar-meta {
    width: 100%;
    justify-content: space-between;
  }
  /* line 70927, app/assets/stylesheets/application.scss */
  .tw-perf.is-embedded .tw-perf-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 70931, app/assets/stylesheets/application.scss */
  .tw-perf.is-embedded .tw-perf-kpis .tw-ops-kpi:last-child {
    grid-column: 1 / -1;
  }
  /* line 70935, app/assets/stylesheets/application.scss */
  .tw-task-toolbar .tw-filters {
    width: 100%;
  }
  /* line 70939, app/assets/stylesheets/application.scss */
  .tw-task-toolbar .tw-filter {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  /* line 70945, app/assets/stylesheets/application.scss */
  .tw-task-count {
    align-self: flex-end;
  }
  /* line 70949, app/assets/stylesheets/application.scss */
  .tw-composer-mark {
    display: none;
  }
  /* line 70953, app/assets/stylesheets/application.scss */
  .tw-top {
    gap: 4px;
  }
  /* line 70957, app/assets/stylesheets/application.scss */
  .tw-top-brand {
    max-width: 100%;
  }
  /* line 70961, app/assets/stylesheets/application.scss */
  .tw-team-menu-panel {
    width: min(300px, calc(100vw - 72px));
  }
  /* line 70965, app/assets/stylesheets/application.scss */
  .tw-member-faces {
    display: none;
  }
  /* line 70969, app/assets/stylesheets/application.scss */
  .tw-top .tw-tabs {
    max-width: 100%;
  }
  /* line 70973, app/assets/stylesheets/application.scss */
  .tw-top .tw-tab {
    min-width: 0;
    padding: 6px 12px;
    min-height: 32px;
    font-size: 14px;
  }
  /* line 70980, app/assets/stylesheets/application.scss */
  .tw-sheet.is-pro {
    border-radius: 0;
  }
  /* line 70984, app/assets/stylesheets/application.scss */
  .tw-pro-foot {
    position: sticky;
    bottom: 0;
    background: #fff;
  }
  /* line 70990, app/assets/stylesheets/application.scss */
  .tw-pipe-ms-band {
    min-height: 108px;
  }
}

@media (min-width: 900px) {
  /* line 70996, app/assets/stylesheets/application.scss */
  .tw-landing-stage-body {
    gap: 36px;
    padding: 80px 40px 48px;
  }
  /* line 71001, app/assets/stylesheets/application.scss */
  .tw-landing-groups {
    gap: 22px 28px;
    max-width: 860px;
  }
  /* line 71006, app/assets/stylesheets/application.scss */
  .tw-landing-group {
    width: 104px;
  }
  /* line 71010, app/assets/stylesheets/application.scss */
  .tw-landing-group-art {
    --tw-group-radius: 26px;
    width: 84px;
    height: 84px;
    border-radius: var(--tw-group-radius);
  }
  /* line 71017, app/assets/stylesheets/application.scss */
  .tw-app {
    display: flex;
    flex-direction: row;
    background: transparent;
    overflow: hidden;
  }
  /* line 71024, app/assets/stylesheets/application.scss */
  .tw-rail {
    display: none !important;
  }
  /* line 71028, app/assets/stylesheets/application.scss */
  .tw-main {
    min-width: 0;
    min-height: 0;
    padding: 14px 16px 0;
    background: transparent;
  }
  /* line 71035, app/assets/stylesheets/application.scss */
  .tw-mobile-only {
    display: none !important;
  }
  /* line 71039, app/assets/stylesheets/application.scss */
  .tw-desktop-only {
    display: inline-flex !important;
  }
  /* line 71043, app/assets/stylesheets/application.scss */
  .tw-top {
    padding: 4px 10px;
  }
  /* line 71047, app/assets/stylesheets/application.scss */
  .tw-top-copy strong {
    font-size: 13px;
    letter-spacing: -0.01em;
  }
  /* line 71052, app/assets/stylesheets/application.scss */
  .tw-top .tw-top-copy strong {
    font-size: 17px;
    letter-spacing: -0.02em;
  }
  /* line 71057, app/assets/stylesheets/application.scss */
  .tw-view-toggle-btn {
    font-size: 13px;
  }
  /* line 71061, app/assets/stylesheets/application.scss */
  .tw-top .tw-tabs {
    padding: 3px;
    gap: 3px;
  }
  /* line 71066, 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 71074, app/assets/stylesheets/application.scss */
  .tw-filters {
    max-width: none;
    width: fit-content;
  }
  /* line 71079, app/assets/stylesheets/application.scss */
  .tw-filter {
    flex: 0 0 auto;
    min-width: 68px;
    font-size: 13px;
    padding: 6px 12px;
    min-height: 30px;
  }
  /* line 71087, app/assets/stylesheets/application.scss */
  .tw-content {
    padding: 0 2px 28px;
    max-width: none;
    width: 100%;
  }
  /* line 71093, app/assets/stylesheets/application.scss */
  .tw-content.is-projects {
    max-width: none;
    padding: 0 2px 16px;
  }
  /* line 71098, app/assets/stylesheets/application.scss */
  .tw-add-card {
    padding: 14px 16px;
  }
  /* line 71102, app/assets/stylesheets/application.scss */
  .tw-task,
.tw-note,
.tw-project {
    padding: 14px 16px;
  }
  /* line 71108, app/assets/stylesheets/application.scss */
  .tw-pipeline {
    padding: 16px 16px 14px;
  }
  /* line 71112, app/assets/stylesheets/application.scss */
  .tw-pipe-ms-band {
    min-height: 140px;
  }
  /* line 71116, app/assets/stylesheets/application.scss */
  .tw-project-title strong {
    font-size: 26px;
  }
  /* line 71120, app/assets/stylesheets/application.scss */
  .tw-progress-top strong {
    font-size: 26px;
  }
  /* line 71124, app/assets/stylesheets/application.scss */
  .tw-project-actions .tw-icon.sm {
    width: 36px;
    height: 36px;
  }
  /* line 71129, 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 71137, 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 71145, 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 71150, app/assets/stylesheets/application.scss */
  .tw-sheet-layer {
    position: absolute;
    inset: 0;
    z-index: 80;
  }
  /* line 71156, app/assets/stylesheets/application.scss */
  .tw-sheet-underlay {
    opacity: 1;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
  }
  /* line 71163, app/assets/stylesheets/application.scss */
  .tw-sheet-backdrop {
    background: rgba(23, 25, 29, 0.36);
    z-index: 2;
  }
  /* line 71168, 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 71184, 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 71201, app/assets/stylesheets/application.scss */
  .tw-sheet-layer.is-page .tw-sheet-backdrop,
.tw-sheet-layer.is-page .tw-sheet-underlay {
    display: none;
  }
  /* line 71206, 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 71214, 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 71220, app/assets/stylesheets/application.scss */
  .tw-sheet-body {
    max-height: min(680px, calc(100vh - 160px));
  }
  /* line 71224, app/assets/stylesheets/application.scss */
  .tw-cal-body {
    padding-top: 10px;
  }
  /* line 71228, app/assets/stylesheets/application.scss */
  .tw-legend {
    padding: 0 20px;
  }
  /* line 71232, app/assets/stylesheets/application.scss */
  .tw-week-board {
    padding: 0 16px 16px;
  }
}

/* —— Memory Map (iOS parity, web-first layout) —— */
/* line 71238, 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 71258, app/assets/stylesheets/application.scss */
.map-hub.hidden,
.map-hub[hidden] {
  display: none !important;
}

/* line 71263, app/assets/stylesheets/application.scss */
.map-hub-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* line 71270, app/assets/stylesheets/application.scss */
.map-hub-canvas,
.map-hub-discover,
.map-hub-list {
  position: absolute;
  inset: 0;
}

/* line 71277, app/assets/stylesheets/application.scss */
.map-hub-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #d7e3d7;
}

/* line 71284, 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 71291, app/assets/stylesheets/application.scss */
.map-hub-canvas .maplibregl-ctrl-attrib {
  font-size: 10px;
  margin: 0 8px 8px;
}

/* line 71296, app/assets/stylesheets/application.scss */
.map-hub-canvas .maplibregl-ctrl-bottom-left {
  display: none;
}

/* line 71300, app/assets/stylesheets/application.scss */
button.map-pin,
button.map-cluster,
button.map-person-pin {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* line 71309, 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 71316, 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 71325, 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 71335, 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 71351, app/assets/stylesheets/application.scss */
.map-hub-chrome-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 71357, 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 71365, app/assets/stylesheets/application.scss */
.map-hub-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 71373, app/assets/stylesheets/application.scss */
.map-hub-titles strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 71380, 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 71388, 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 71398, 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 71405, 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 71417, app/assets/stylesheets/application.scss */
.map-circle-btn.is-filled {
  background: #fff;
}

/* line 71421, 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 71438, 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 71448, 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 71459, 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 71465, app/assets/stylesheets/application.scss */
.map-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eceef2;
}

/* line 71474, app/assets/stylesheets/application.scss */
.map-search.is-solid {
  background: var(--map-field);
}

/* line 71478, app/assets/stylesheets/application.scss */
.map-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: var(--map-ink);
}

/* line 71487, app/assets/stylesheets/application.scss */
.map-search i,
.map-search-clear {
  color: var(--map-muted);
}

/* line 71492, app/assets/stylesheets/application.scss */
.map-search-clear {
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* line 71498, 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 71513, app/assets/stylesheets/application.scss */
.map-hub-bottom[hidden] {
  display: none !important;
}

/* line 71517, 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 71528, app/assets/stylesheets/application.scss */
.map-hub-floats[hidden] {
  display: none !important;
}

/* line 71532, 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 71548, 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 71566, app/assets/stylesheets/application.scss */
.map-peek[hidden] {
  display: none !important;
}

/* line 71570, app/assets/stylesheets/application.scss */
.map-peek.is-expanded {
  padding-bottom: 14px;
}

/* line 71574, 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 71586, app/assets/stylesheets/application.scss */
.map-peek-head {
  display: none;
}

/* line 71590, app/assets/stylesheets/application.scss */
.map-peek-head strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* line 71596, 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 71605, app/assets/stylesheets/application.scss */
.map-lens-row::-webkit-scrollbar {
  display: none;
}

/* line 71609, 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 71621, app/assets/stylesheets/application.scss */
.map-lens.is-on {
  background: #fff;
  font-weight: 650;
  box-shadow: 0 0 0 1px var(--map-stroke);
}

/* line 71627, 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 71642, 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 71652, app/assets/stylesheets/application.scss */
.map-friends-filter span {
  font-size: 12px;
  color: var(--map-muted);
  flex: 0 0 auto;
}

/* line 71658, app/assets/stylesheets/application.scss */
.map-avatar-stack {
  display: inline-flex;
  flex: 0 0 auto;
}

/* line 71663, 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 71679, app/assets/stylesheets/application.scss */
.map-avatar-stack > :first-child {
  margin-left: 0;
}

/* line 71683, app/assets/stylesheets/application.scss */
.map-nearby-peek {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 2px 0 4px;
}

/* line 71691, 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 71702, 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 71718, app/assets/stylesheets/application.scss */
.map-place-row:hover,
.map-place-row.is-on {
  background: rgba(244, 245, 247, 0.95);
}

/* line 71723, 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 71737, app/assets/stylesheets/application.scss */
.map-place-thumb img,
.map-place-thumb.is-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 71744, app/assets/stylesheets/application.scss */
.map-place-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 71752, app/assets/stylesheets/application.scss */
.map-place-copy strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* line 71758, 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 71767, app/assets/stylesheets/application.scss */
.map-place-dist,
.map-muted,
.map-stats {
  font-size: 12px;
  color: var(--map-muted);
}

/* line 71774, 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 71785, 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 71794, app/assets/stylesheets/application.scss */
.map-city-strip::-webkit-scrollbar,
.map-trip-strip::-webkit-scrollbar {
  display: none;
}

/* line 71799, 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 71808, app/assets/stylesheets/application.scss */
.map-city-chip:hover,
.map-trip-card:hover {
  background: #ebecef;
  transform: translateY(-1px);
}

/* line 71814, app/assets/stylesheets/application.scss */
.map-city-chip {
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  white-space: nowrap;
}

/* line 71821, 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 71831, app/assets/stylesheets/application.scss */
.map-trip-card strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 71836, app/assets/stylesheets/application.scss */
.map-trip-card span {
  font-size: 11px;
  color: var(--map-muted);
}

/* line 71841, app/assets/stylesheets/application.scss */
.map-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  text-align: center;
}

/* line 71850, app/assets/stylesheets/application.scss */
.map-empty i {
  font-size: 24px;
  color: rgba(26, 28, 33, 0.32);
}

/* line 71855, app/assets/stylesheets/application.scss */
.map-empty strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 71860, app/assets/stylesheets/application.scss */
.map-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--map-muted);
  max-width: 28ch;
}

/* line 71867, 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 71881, app/assets/stylesheets/application.scss */
.map-primary:hover {
  background: #000;
  transform: translateY(-1px);
}

/* line 71886, app/assets/stylesheets/application.scss */
.map-primary:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* line 71892, 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 71902, app/assets/stylesheets/application.scss */
.map-sheet.hidden,
.map-sheet[hidden] {
  display: none !important;
}

/* line 71907, app/assets/stylesheets/application.scss */
.map-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 14, 18, 0.34);
  cursor: pointer;
}

/* line 71915, 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 71925, 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 71933, 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 71945, app/assets/stylesheets/application.scss */
.map-sheet-head strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 71951, 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 71961, 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 71969, 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 71978, app/assets/stylesheets/application.scss */
.map-welcome-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

/* line 71985, 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 71997, app/assets/stylesheets/application.scss */
.map-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

/* line 72004, 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 72016, app/assets/stylesheets/application.scss */
.map-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* line 72023, app/assets/stylesheets/application.scss */
.map-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

/* line 72030, 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 72046, app/assets/stylesheets/application.scss */
.map-action.is-danger {
  color: var(--perk-ink);
}

/* line 72050, app/assets/stylesheets/application.scss */
.map-review {
  font-size: 15px;
  line-height: 1.45;
  margin: 8px 0;
}

/* line 72056, app/assets/stylesheets/application.scss */
.map-guide-card {
  background: var(--map-field);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 8px;
}

/* line 72063, app/assets/stylesheets/application.scss */
.map-guide-card strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 4px;
}

/* line 72070, app/assets/stylesheets/application.scss */
.map-guide-card p {
  margin: 0;
  font-size: 13px;
  color: var(--map-muted);
}

/* line 72076, app/assets/stylesheets/application.scss */
.map-discover-label {
  font-size: 13px;
  color: var(--map-muted);
  display: block;
  margin-bottom: 6px;
}

/* line 72083, app/assets/stylesheets/application.scss */
.map-hub-discover section {
  margin-top: 22px;
}

/* line 72087, 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 72096, 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 72111, app/assets/stylesheets/application.scss */
.map-friend-pick.is-on {
  background: rgba(25, 115, 199, 0.08);
}

/* line 72115, app/assets/stylesheets/application.scss */
.map-friend-pick input {
  margin: 0;
}

/* line 72119, app/assets/stylesheets/application.scss */
.leaflet-div-icon {
  background: transparent;
  border: 0;
}

/* line 72124, app/assets/stylesheets/application.scss */
.map-pin,
.map-cluster,
.map-person-pin {
  background: transparent;
}

/* line 72130, 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 72143, app/assets/stylesheets/application.scss */
.map-pin-body {
  background: var(--pin, #383c46);
}

/* line 72147, 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 72151, app/assets/stylesheets/application.scss */
.map-pin-body img,
.map-person-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 72158, 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 72175, app/assets/stylesheets/application.scss */
.map-cluster-body {
  width: 36px;
  height: 36px;
  background: var(--map-accent);
  font-size: 13px;
  font-weight: 700;
}

/* line 72183, app/assets/stylesheets/application.scss */
.map-person-body {
  width: 40px;
  height: 40px;
  background: var(--map-accent);
  font-weight: 700;
}

@media (min-width: 960px) {
  /* line 72191, app/assets/stylesheets/application.scss */
  .map-hub {
    --map-chrome-pad: 16px;
  }
  /* line 72195, app/assets/stylesheets/application.scss */
  .map-hub-discover,
.map-hub-list {
    padding: 140px 28px 40px;
  }
  /* line 72200, app/assets/stylesheets/application.scss */
  .map-peek-body {
    max-height: 42vh;
  }
  /* line 72204, app/assets/stylesheets/application.scss */
  .map-sheet {
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  /* line 72210, 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 72217, app/assets/stylesheets/application.scss */
  .map-sheet-handle {
    display: none;
  }
}

@media (max-width: 959px) {
  /* line 72223, app/assets/stylesheets/application.scss */
  .map-hub-chrome-bar,
.map-peek {
    max-width: none;
  }
}

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

/* line 72251, app/assets/stylesheets/application.scss */
.focus-hub-shell,
.focus-hub-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 72259, 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 72269, app/assets/stylesheets/application.scss */
.focus-hub-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 72275, app/assets/stylesheets/application.scss */
.focus-hub-head strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* line 72281, 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 72292, 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 72306, app/assets/stylesheets/application.scss */
.focus-icon-spacer {
  visibility: hidden;
  pointer-events: none;
}

/* line 72311, app/assets/stylesheets/application.scss */
.focus-hub-body {
  overflow: auto;
  background: #fff;
}

/* line 72316, 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 72326, app/assets/stylesheets/application.scss */
.focus-block,
.focus-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 72333, app/assets/stylesheets/application.scss */
.focus-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--focus-field);
  border: 1px solid var(--focus-line);
}

/* line 72340, app/assets/stylesheets/application.scss */
.focus-card.is-mode {
  background: #fff;
}

/* line 72344, app/assets/stylesheets/application.scss */
.focus-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* line 72351, app/assets/stylesheets/application.scss */
.focus-card-head strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

/* line 72357, 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 72367, 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 72375, 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 72384, 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 72397, app/assets/stylesheets/application.scss */
.focus-capsule-btn.is-on {
  background: var(--focus-ink);
  color: #fff;
}

/* line 72402, app/assets/stylesheets/application.scss */
.focus-summary-grid,
.focus-habits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 72409, 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 72420, app/assets/stylesheets/application.scss */
.focus-stat-tile span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(23, 25, 29, 0.55);
}

/* line 72426, 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 72434, 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 72442, app/assets/stylesheets/application.scss */
.focus-stat-note.is-spacer {
  visibility: hidden;
}

/* line 72446, app/assets/stylesheets/application.scss */
.focus-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--focus-line);
  overflow: hidden;
  margin: 4px 0;
}

/* line 72454, app/assets/stylesheets/application.scss */
.focus-progress i {
  display: block;
  height: 100%;
  background: var(--focus-accent);
  border-radius: inherit;
}

/* line 72461, app/assets/stylesheets/application.scss */
.focus-day-dots {
  display: flex;
  gap: 4px;
  margin: 4px 0 8px;
}

/* line 72467, app/assets/stylesheets/application.scss */
.focus-day-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* line 72475, app/assets/stylesheets/application.scss */
.focus-day-dot i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--focus-line);
  display: block;
}

/* line 72483, 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 72488, 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 72495, 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 72508, 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 72518, app/assets/stylesheets/application.scss */
.focus-start,
.focus-end {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

/* line 72527, app/assets/stylesheets/application.scss */
.focus-start {
  background: var(--focus-accent);
  color: #fff;
}

/* line 72532, app/assets/stylesheets/application.scss */
.focus-end {
  background: var(--focus-danger);
  color: #fff;
}

/* line 72537, app/assets/stylesheets/application.scss */
.focus-live-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* line 72545, 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 72554, 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 72561, 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 72569, app/assets/stylesheets/application.scss */
.focus-away.is-warn {
  background: rgba(219, 71, 71, 0.1);
  border: 1px solid rgba(219, 71, 71, 0.22);
}

/* line 72574, app/assets/stylesheets/application.scss */
.focus-away strong {
  font-size: 13px;
}

/* line 72578, app/assets/stylesheets/application.scss */
.focus-away.is-warn strong {
  color: var(--focus-danger);
}

/* line 72582, 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 72589, app/assets/stylesheets/application.scss */
.focus-rules-wrap,
.focus-rules-section {
  width: 100%;
  text-align: left;
}

/* line 72595, app/assets/stylesheets/application.scss */
.focus-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 72604, app/assets/stylesheets/application.scss */
.focus-rules li {
  position: relative;
  padding: 10px 12px 10px 28px;
  border-radius: 12px;
  background: var(--focus-field);
  border: 1px solid var(--focus-line);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(23, 25, 29, 0.78);
}

/* line 72615, app/assets/stylesheets/application.scss */
.focus-rules li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--focus-accent);
}

/* line 72626, app/assets/stylesheets/application.scss */
.focus-rules li:last-child::before {
  background: #33bf73;
}

/* line 72630, app/assets/stylesheets/application.scss */
.focus-interrupted {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 36px 24px 16px;
}

/* line 72639, app/assets/stylesheets/application.scss */
.focus-interrupted-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(219, 71, 71, 0.12);
  color: var(--focus-danger);
  font-size: 24px;
  font-weight: 700;
}

/* line 72652, app/assets/stylesheets/application.scss */
.focus-interrupted h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 72659, app/assets/stylesheets/application.scss */
.focus-interrupted > strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--focus-accent);
  font-variant-numeric: tabular-nums;
}

/* line 72666, app/assets/stylesheets/application.scss */
.focus-interrupted > p {
  margin: 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(23, 25, 29, 0.7);
}

/* line 72674, app/assets/stylesheets/application.scss */
.focus-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* line 72684, app/assets/stylesheets/application.scss */
.focus-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.42);
}

/* line 72690, app/assets/stylesheets/application.scss */
.focus-gate-card {
  position: relative;
  width: min(100%, 380px);
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px 18px;
  box-shadow: 0 18px 48px rgba(17, 19, 24, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 72702, app/assets/stylesheets/application.scss */
.focus-gate-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--focus-accent, #2673eb);
}

/* line 72711, app/assets/stylesheets/application.scss */
.focus-gate-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #17191d;
}

/* line 72719, app/assets/stylesheets/application.scss */
.focus-gate-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(23, 25, 29, 0.68);
}

/* line 72726, app/assets/stylesheets/application.scss */
.focus-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* line 72733, app/assets/stylesheets/application.scss */
.focus-gate-secondary,
.focus-gate-danger {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* line 72744, app/assets/stylesheets/application.scss */
.focus-gate-secondary {
  background: #f4f5f7;
  color: #17191d;
}

/* line 72749, app/assets/stylesheets/application.scss */
.focus-gate-danger {
  background: #db4747;
  color: #fff;
}

/* line 72754, app/assets/stylesheets/application.scss */
.focus-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 72760, app/assets/stylesheets/application.scss */
.focus-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 168px;
  padding-top: 8px;
}

/* line 72768, 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 72777, app/assets/stylesheets/application.scss */
.focus-chart-bar.is-future {
  opacity: 0.18;
}

/* line 72781, 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 72793, 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 72803, app/assets/stylesheets/application.scss */
.focus-chart-typical i {
  width: 18px;
  height: 1.5px;
  background: rgba(23, 25, 29, 0.38);
  display: block;
}

/* line 72810, app/assets/stylesheets/application.scss */
.focus-empty-chart {
  text-align: center;
  padding: 36px 8px;
  margin: 0;
  font-size: 13px;
}

/* line 72817, app/assets/stylesheets/application.scss */
.focus-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 72826, app/assets/stylesheets/application.scss */
.focus-activity-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 12px;
}

/* line 72834, app/assets/stylesheets/application.scss */
.focus-activity-meta strong {
  font-weight: 600;
}

/* line 72838, app/assets/stylesheets/application.scss */
.focus-activity-meta span {
  color: rgba(23, 25, 29, 0.55);
  font-variant-numeric: tabular-nums;
}

/* line 72843, app/assets/stylesheets/application.scss */
.focus-activity-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

/* line 72850, app/assets/stylesheets/application.scss */
.focus-activity-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

/* line 72856, 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 72868, 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 72880, app/assets/stylesheets/application.scss */
.focus-ai-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 72888, app/assets/stylesheets/application.scss */
.focus-ai-copy strong {
  font-size: 15px;
  font-weight: 600;
}

/* line 72893, 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 72900, app/assets/stylesheets/application.scss */
.focus-ai-chevron {
  color: rgba(23, 25, 29, 0.28);
  font-size: 18px;
}

/* line 72905, app/assets/stylesheets/application.scss */
.focus-sheet {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
}

/* line 72912, 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 72921, app/assets/stylesheets/application.scss */
.focus-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* line 72927, 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 72936, app/assets/stylesheets/application.scss */
.focus-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* line 72945, app/assets/stylesheets/application.scss */
.focus-sheet-body h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}

/* line 72951, 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 72957, app/assets/stylesheets/application.scss */
.focus-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* line 72963, 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 72974, app/assets/stylesheets/application.scss */
.focus-preset.is-on {
  background: var(--focus-accent);
  border-color: transparent;
  color: #fff;
}

/* line 72980, 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 72994, app/assets/stylesheets/application.scss */
.focus-custom-toggle em {
  font-style: normal;
  color: rgba(23, 25, 29, 0.35);
}

/* line 72999, app/assets/stylesheets/application.scss */
.focus-custom-toggle.is-on em {
  color: var(--focus-accent);
}

/* line 73003, app/assets/stylesheets/application.scss */
.focus-custom-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* line 73010, 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 73020, 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 73031, app/assets/stylesheets/application.scss */
.focus-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  outline: none;
}

/* line 73039, app/assets/stylesheets/application.scss */
.focus-friend-list {
  display: flex;
  flex-direction: column;
}

/* line 73044, 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 73055, app/assets/stylesheets/application.scss */
.focus-friend-row:last-child {
  border-bottom: 0;
}

/* line 73059, 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 73072, app/assets/stylesheets/application.scss */
.focus-friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 73078, app/assets/stylesheets/application.scss */
.focus-friend-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 73086, app/assets/stylesheets/application.scss */
.focus-friend-meta strong {
  font-size: 14px;
  font-weight: 600;
}

/* line 73091, app/assets/stylesheets/application.scss */
.focus-friend-meta em {
  font-size: 12px;
  font-style: normal;
  color: rgba(23, 25, 29, 0.55);
}

/* line 73097, app/assets/stylesheets/application.scss */
.focus-check {
  color: rgba(23, 25, 29, 0.28);
}

/* line 73101, app/assets/stylesheets/application.scss */
.focus-friend-row.is-on .focus-check {
  color: var(--focus-accent);
}

/* line 73105, app/assets/stylesheets/application.scss */
.focus-session-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* line 73111, 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 73119, app/assets/stylesheets/application.scss */
.focus-session-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 73125, 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 73132, app/assets/stylesheets/application.scss */
.focus-session-row em.is-done {
  color: #30d158;
}

/* line 73136, app/assets/stylesheets/application.scss */
.focus-session-row em.is-break {
  color: var(--focus-danger);
}

/* line 73140, 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 73155, 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 73166, 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 73179, 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 73188, app/assets/stylesheets/application.scss */
.focus-achievement h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* line 73194, 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 73202, app/assets/stylesheets/application.scss */
.focus-achievement > p {
  margin: 0;
  font-size: 13px;
  opacity: 0.78;
  max-width: 260px;
  line-height: 1.4;
}

/* line 73210, app/assets/stylesheets/application.scss */
.focus-badge-brand {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

/* line 73217, app/assets/stylesheets/application.scss */
.focus-tier-pulse {
  background: linear-gradient(145deg, #1f5fc4, #3d8bfd 50%, #7eb6ff);
}

/* line 73218, app/assets/stylesheets/application.scss */
.focus-tier-flow {
  background: linear-gradient(145deg, #1847a0, #2673eb 40%, #6aa8ff);
}

/* line 73219, app/assets/stylesheets/application.scss */
.focus-tier-deep {
  background: linear-gradient(145deg, #12367a, #1e5fd0 45%, #4f8fff);
}

/* line 73220, app/assets/stylesheets/application.scss */
.focus-tier-marathon {
  background: linear-gradient(145deg, #0d2a5c, #1953b8 40%, #3f7ff0);
}

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

/* line 73242, app/assets/stylesheets/application.scss */
.sticky-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 10px 0 24px;
}

/* line 73250, app/assets/stylesheets/application.scss */
.sticky-hub-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

/* line 73257, app/assets/stylesheets/application.scss */
.sticky-hub-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* line 73265, app/assets/stylesheets/application.scss */
.sticky-hub-titles strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 73271, 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 73279, 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 73293, app/assets/stylesheets/application.scss */
.sticky-hub-circle.is-filled {
  background: var(--sticky-ink);
  color: #fff;
}

/* line 73298, app/assets/stylesheets/application.scss */
.sticky-hub-circle.is-active {
  background: var(--sticky-ink);
  color: #fff;
}

/* line 73303, app/assets/stylesheets/application.scss */
.sticky-hub-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 8px;
}

/* line 73310, app/assets/stylesheets/application.scss */
.sticky-hub-search-panel.hidden,
.sticky-hub-search-panel[hidden] {
  display: none !important;
}

/* line 73315, app/assets/stylesheets/application.scss */
.sticky-hub-search-panel .sticky-hub-search {
  flex: 1 1 auto;
  margin: 0;
}

/* line 73320, 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 73331, 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 73340, 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 73351, 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 73359, app/assets/stylesheets/application.scss */
.sticky-hub-card.is-left {
  transform: rotate(-1.4deg);
}

/* line 73360, app/assets/stylesheets/application.scss */
.sticky-hub-card.is-right {
  transform: rotate(1.6deg);
}

/* line 73362, app/assets/stylesheets/application.scss */
.sticky-hub-card:hover,
.sticky-hub-card:focus-within {
  transform: rotate(0deg) translateY(-2px);
  z-index: 1;
}

/* line 73368, 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 73382, app/assets/stylesheets/application.scss */
.sticky-hub-card-open header {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* line 73388, app/assets/stylesheets/application.scss */
.sticky-hub-card-open strong {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

/* line 73395, 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 73406, app/assets/stylesheets/application.scss */
.sticky-hub-widget-mark {
  font-size: 11px;
  color: rgba(23, 25, 29, 0.55);
}

/* line 73411, 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 73424, 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 73435, app/assets/stylesheets/application.scss */
.sticky-hub-empty i {
  font-size: 36px;
  color: var(--sticky-accent);
}

/* line 73440, app/assets/stylesheets/application.scss */
.sticky-hub-empty strong {
  font-size: 17px;
}

/* line 73444, 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 73452, 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 73463, 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 73472, app/assets/stylesheets/application.scss */
#sticky-hub-confirm.sticky-hub-sheet,
#sticky-hub-menu.sticky-hub-sheet {
  z-index: 5;
}

/* line 73477, app/assets/stylesheets/application.scss */
.sticky-hub-sheet.hidden,
.sticky-hub-sheet[hidden] {
  display: none !important;
}

/* line 73482, app/assets/stylesheets/application.scss */
.sticky-hub-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.28);
}

/* line 73489, 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 73500, app/assets/stylesheets/application.scss */
.sticky-hub-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 20px 28px;
}

/* line 73507, app/assets/stylesheets/application.scss */
.sticky-hub-editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 73513, app/assets/stylesheets/application.scss */
.sticky-hub-text-btn {
  border: 0;
  background: transparent;
  color: var(--sticky-ink);
  font-size: 16px;
  cursor: pointer;
}

/* line 73521, app/assets/stylesheets/application.scss */
.sticky-hub-text-btn.is-strong {
  font-weight: 600;
}

/* line 73525, 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 73533, app/assets/stylesheets/application.scss */
.sticky-hub-swatches {
  display: flex;
  gap: 10px;
}

/* line 73538, 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 73546, app/assets/stylesheets/application.scss */
.sticky-hub-swatch.is-on {
  border: 2px solid rgba(23, 25, 29, 0.85);
}

/* line 73550, 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 73559, app/assets/stylesheets/application.scss */
.sticky-hub-title-input {
  font-size: 20px;
  font-weight: 600;
}

/* line 73564, app/assets/stylesheets/application.scss */
.sticky-hub-body-input {
  font-size: 17px;
  line-height: 1.45;
  resize: vertical;
  min-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 73574, app/assets/stylesheets/application.scss */
.sticky-hub-body-input:empty::before {
  content: attr(data-placeholder);
  color: rgba(23, 25, 29, 0.38);
  pointer-events: none;
}

/* line 73580, app/assets/stylesheets/application.scss */
.sticky-hub-body-input ul,
.sticky-hub-body-input ol {
  margin: 0.35em 0;
  padding-left: 1.35em;
}

/* line 73586, app/assets/stylesheets/application.scss */
.sticky-hub-body-input li {
  margin: 0.15em 0;
}

/* line 73590, app/assets/stylesheets/application.scss */
.sticky-hub-body-input u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 73595, app/assets/stylesheets/application.scss */
.sticky-hub-body-input ul.sticky-note-checks,
.sticky-hub-body-input ul:has(> li input[type="checkbox"]) {
  list-style: none;
  padding-left: 0.15em;
}

/* line 73601, app/assets/stylesheets/application.scss */
.sticky-hub-body-input ul.sticky-note-checks > li,
.sticky-hub-body-input ul:has(> li input[type="checkbox"]) > li {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
}

/* line 73608, app/assets/stylesheets/application.scss */
.sticky-hub-body-input ul.sticky-note-checks label,
.sticky-hub-body-input ul:has(> li input[type="checkbox"]) label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4em;
  margin: 0;
  width: 100%;
}

/* line 73617, app/assets/stylesheets/application.scss */
.sticky-hub-body-input input[type="checkbox"] {
  margin: 0.2em 0 0;
  flex: 0 0 auto;
  accent-color: #1f2937;
}

/* line 73623, app/assets/stylesheets/application.scss */
.sticky-hub-body-input img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.55em 0;
  border-radius: 12px;
}

/* line 73631, app/assets/stylesheets/application.scss */
.sticky-hub-fmt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(23, 25, 29, 0.06);
}

/* line 73641, app/assets/stylesheets/application.scss */
.sticky-hub-fmt-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(23, 25, 29, 0.78);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* line 73658, app/assets/stylesheets/application.scss */
.sticky-hub-fmt-btn:hover,
.sticky-hub-fmt-btn:focus-visible {
  background: rgba(23, 25, 29, 0.08);
  color: rgba(23, 25, 29, 0.95);
}

/* line 73664, app/assets/stylesheets/application.scss */
.sticky-hub-fmt-btn .heroicon,
.sticky-hub-fmt-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* line 73671, app/assets/stylesheets/application.scss */
.sticky-hub-fmt-glyph {
  pointer-events: none;
  line-height: 1;
}

/* line 73676, app/assets/stylesheets/application.scss */
.sticky-hub-fmt-btn[data-fmt="italic"] .sticky-hub-fmt-glyph {
  font-style: italic;
  font-weight: 600;
}

/* line 73681, app/assets/stylesheets/application.scss */
.sticky-hub-fmt-btn[data-fmt="underline"] .sticky-hub-fmt-glyph {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 73686, app/assets/stylesheets/application.scss */
.sticky-hub-fmt-btn[data-fmt="strike"] .sticky-hub-fmt-glyph {
  text-decoration: line-through;
  font-weight: 600;
  font-size: 13px;
}

/* line 73692, app/assets/stylesheets/application.scss */
.sticky-hub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 73699, app/assets/stylesheets/application.scss */
.sticky-hub-toggle strong {
  display: block;
  font-size: 15px;
}

/* line 73704, app/assets/stylesheets/application.scss */
.sticky-hub-toggle small {
  color: rgba(23, 25, 29, 0.5);
  font-size: 12px;
}

/* line 73709, app/assets/stylesheets/application.scss */
.sticky-hub-toggle input {
  width: 46px;
  height: 28px;
  accent-color: var(--sticky-accent);
}

/* line 73715, 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 73724, 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 73735, app/assets/stylesheets/application.scss */
.sticky-hub-confirm-card strong {
  padding: 8px 8px 12px;
  font-size: 17px;
}

/* line 73740, 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 73747, app/assets/stylesheets/application.scss */
  .sticky-hub-sheet {
    align-items: center;
  }
  /* line 73751, app/assets/stylesheets/application.scss */
  .sticky-hub-sheet-card,
.sticky-hub-menu-card,
.sticky-hub-confirm-card {
    border-radius: 22px;
    margin-bottom: 0;
  }
}

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

/* line 73790, app/assets/stylesheets/application.scss */
.quiz-hub button,
.quiz-hub label.quiz-ghost {
  cursor: pointer;
}

/* line 73795, app/assets/stylesheets/application.scss */
.quiz-hub button:disabled {
  cursor: not-allowed;
}

/* line 73799, 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 73806, 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 73818, app/assets/stylesheets/application.scss */
.quiz-hub-body {
  position: relative;
}

/* line 73822, app/assets/stylesheets/application.scss */
.quiz-app,
.quiz-stage {
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
}

/* line 73829, app/assets/stylesheets/application.scss */
.quiz-stage {
  max-width: min(720px, 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* line 73837, app/assets/stylesheets/application.scss */
.quiz-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(16px, 3vw, 28px) 8px;
}

/* line 73844, app/assets/stylesheets/application.scss */
.quiz-titles {
  flex: 1;
  min-width: 0;
}

/* line 73849, app/assets/stylesheets/application.scss */
.quiz-titles strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 73856, 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 73866, 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 73881, app/assets/stylesheets/application.scss */
.quiz-circle:hover {
  background: var(--quiz-field);
}

/* line 73885, 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 73891, app/assets/stylesheets/application.scss */
.quiz-circle.is-filled:hover {
  background: #b52f5f;
}

/* line 73895, app/assets/stylesheets/application.scss */
.quiz-toolbar {
  padding: 4px clamp(16px, 3vw, 28px) 12px;
}

/* line 73899, app/assets/stylesheets/application.scss */
.quiz-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px clamp(16px, 3vw, 28px) 12px;
}

/* line 73906, app/assets/stylesheets/application.scss */
.quiz-search-panel .quiz-search {
  flex: 1 1 auto;
}

/* line 73910, app/assets/stylesheets/application.scss */
.quiz-circle.is-active {
  background: var(--quiz-ink, #17191d);
  color: #fff;
}

/* line 73915, 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 73926, 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 73936, app/assets/stylesheets/application.scss */
.quiz-status {
  margin: 0 clamp(16px, 3vw, 28px) 10px;
  color: var(--quiz-muted);
  font-size: 14px;
}

/* line 73942, app/assets/stylesheets/application.scss */
.quiz-status.is-error {
  color: var(--quiz-bad);
}

/* line 73946, 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 73955, app/assets/stylesheets/application.scss */
.quiz-review .quiz-scroll {
  display: flex;
  grid-template-columns: none;
}

/* line 73960, app/assets/stylesheets/application.scss */
.quiz-scroll.is-empty {
  display: flex;
}

/* line 73964, 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 73977, 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 73983, 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 73995, app/assets/stylesheets/application.scss */
.quiz-card-copy {
  flex: 1;
  min-width: 0;
}

/* line 74000, app/assets/stylesheets/application.scss */
.quiz-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* line 74006, app/assets/stylesheets/application.scss */
.quiz-card-text {
  flex: 1;
  min-width: 0;
}

/* line 74011, 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 74019, 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 74031, app/assets/stylesheets/application.scss */
.quiz-ring {
  width: 46px;
  height: 46px;
  flex: none;
}

/* line 74037, app/assets/stylesheets/application.scss */
.quiz-ring-track {
  fill: none;
  stroke: var(--quiz-field);
  stroke-width: 5;
}

/* line 74043, 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 74052, 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 74058, app/assets/stylesheets/application.scss */
.quiz-score-ring .quiz-ring-value {
  transform: rotate(-90deg);
}

/* line 74062, app/assets/stylesheets/application.scss */
.quiz-ring text {
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  fill: var(--quiz-ink);
}

/* line 74069, app/assets/stylesheets/application.scss */
.quiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* line 74076, 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 74088, app/assets/stylesheets/application.scss */
.quiz-chip {
  transition: background 0.12s ease, color 0.12s ease;
}

/* line 74092, app/assets/stylesheets/application.scss */
.quiz-chip:hover {
  background: #e8eaee;
}

/* line 74096, app/assets/stylesheets/application.scss */
.quiz-chips span.is-accent,
.quiz-chip.is-on {
  background: var(--quiz-soft);
  color: var(--quiz-accent);
}

/* line 74102, 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 74111, 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 74124, app/assets/stylesheets/application.scss */
.quiz-more:hover {
  background: rgba(217, 72, 72, 0.1);
  color: var(--quiz-bad);
}

/* line 74129, app/assets/stylesheets/application.scss */
.quiz-empty {
  margin: auto;
  text-align: center;
  padding: 40px 28px;
  max-width: 400px;
}

/* line 74136, 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 74148, app/assets/stylesheets/application.scss */
.quiz-empty strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* line 74155, app/assets/stylesheets/application.scss */
.quiz-empty p,
.quiz-lead,
.quiz-hint {
  color: var(--quiz-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* line 74163, app/assets/stylesheets/application.scss */
.quiz-empty p {
  margin: 8px 0 20px;
}

/* line 74167, 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 74181, app/assets/stylesheets/application.scss */
.quiz-cta,
.quiz-primary {
  background: var(--quiz-accent);
  color: #fff;
  width: 100%;
}

/* line 74188, app/assets/stylesheets/application.scss */
.quiz-cta:hover,
.quiz-primary:hover:not(:disabled) {
  background: #b52f5f;
}

/* line 74193, app/assets/stylesheets/application.scss */
.quiz-empty .quiz-cta {
  width: auto;
  min-width: 180px;
}

/* line 74198, app/assets/stylesheets/application.scss */
.quiz-primary:disabled,
.quiz-cta:disabled,
.quiz-secondary:disabled {
  opacity: 0.42;
}

/* line 74204, app/assets/stylesheets/application.scss */
.quiz-secondary {
  background: var(--quiz-field);
  color: var(--quiz-ink);
  width: 100%;
}

/* line 74210, app/assets/stylesheets/application.scss */
.quiz-secondary:hover:not(:disabled) {
  background: #e8eaee;
}

/* line 74214, 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 74225, 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 74241, app/assets/stylesheets/application.scss */
.quiz-ghost:hover {
  background: var(--quiz-field);
}

/* line 74245, 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 74255, app/assets/stylesheets/application.scss */
.quiz-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 29, 0.36);
  border: 0;
}

/* line 74262, 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 74277, app/assets/stylesheets/application.scss */
.quiz-create {
  width: min(640px, 100%);
}

/* line 74281, 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 74289, app/assets/stylesheets/application.scss */
.quiz-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 650;
}

/* line 74295, 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 74306, app/assets/stylesheets/application.scss */
.quiz-sheet-body {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 4px 0 12px;
}

/* line 74313, app/assets/stylesheets/application.scss */
.quiz-sheet-foot {
  flex: none;
  padding-top: 12px;
  border-top: 1px solid var(--quiz-line);
}

/* line 74319, app/assets/stylesheets/application.scss */
.quiz-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 74325, 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 74334, app/assets/stylesheets/application.scss */
.quiz-complete h1 {
  margin: 16px 0 4px;
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

/* line 74341, app/assets/stylesheets/application.scss */
.quiz-lead {
  margin: 0 0 12px;
}

/* line 74345, 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 74358, app/assets/stylesheets/application.scss */
.quiz-create textarea:focus {
  background: #fff;
  border-color: rgba(199, 56, 107, 0.35);
  outline: none;
}

/* line 74364, 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 74371, 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 74382, app/assets/stylesheets/application.scss */
.quiz-file i {
  color: var(--quiz-accent);
}

/* line 74386, 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 74395, app/assets/stylesheets/application.scss */
.quiz-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 74401, app/assets/stylesheets/application.scss */
.quiz-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 74407, app/assets/stylesheets/application.scss */
.quiz-settings {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

/* line 74413, app/assets/stylesheets/application.scss */
.quiz-chip-block {
  margin: 12px 0 4px;
}

/* line 74417, 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 74425, app/assets/stylesheets/application.scss */
.quiz-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
}

/* line 74432, app/assets/stylesheets/application.scss */
.quiz-stats div {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--quiz-field);
  min-width: 0;
}

/* line 74439, 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 74449, app/assets/stylesheets/application.scss */
.quiz-stats span {
  font-size: 12px;
  color: var(--quiz-muted);
}

/* line 74454, 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 74463, 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 74472, app/assets/stylesheets/application.scss */
.quiz-overlay-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

/* line 74478, 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 74487, app/assets/stylesheets/application.scss */
.quiz-phase.is-on,
.quiz-phase .fa-check-circle {
  color: var(--quiz-accent);
}

/* line 74492, 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 74502, app/assets/stylesheets/application.scss */
.quiz-error-box p {
  margin: 0 0 6px;
}

/* line 74506, 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 74517, 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 74529, app/assets/stylesheets/application.scss */
.quiz-confirm strong {
  font-size: 18px;
}

/* line 74533, app/assets/stylesheets/application.scss */
.quiz-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 74539, 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 74551, app/assets/stylesheets/application.scss */
.quiz-confirm button {
  text-align: center;
}

/* line 74555, app/assets/stylesheets/application.scss */
.quiz-confirm .is-danger {
  background: #f3f4f6;
  color: var(--quiz-bad);
}

/* line 74560, app/assets/stylesheets/application.scss */
.quiz-drive-card {
  width: min(480px, 100%);
}

/* line 74564, app/assets/stylesheets/application.scss */
.quiz-drive-list {
  overflow: auto;
  padding: 4px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 74572, app/assets/stylesheets/application.scss */
.quiz-drive-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--quiz-line);
}

/* line 74580, app/assets/stylesheets/application.scss */
.quiz-drive-row:hover {
  background: var(--quiz-field);
}

/* line 74584, app/assets/stylesheets/application.scss */
.quiz-take,
.quiz-complete,
.quiz-review {
  padding: 8px clamp(16px, 3vw, 28px) 24px;
  background: #fff;
}

/* line 74591, app/assets/stylesheets/application.scss */
.quiz-take-head {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 12px;
}

/* line 74598, app/assets/stylesheets/application.scss */
.quiz-take-count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 74605, app/assets/stylesheets/application.scss */
.quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--quiz-field);
  overflow: hidden;
  margin: 8px 0 18px;
}

/* line 74613, 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 74621, 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 74630, 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 74638, app/assets/stylesheets/application.scss */
.quiz-hint {
  margin: -8px 0 14px;
}

/* line 74642, app/assets/stylesheets/application.scss */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 74648, 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 74665, app/assets/stylesheets/application.scss */
.quiz-option:not(:disabled):hover {
  background: #e8eaee;
}

/* line 74669, app/assets/stylesheets/application.scss */
.quiz-option.is-on {
  background: var(--quiz-soft);
  border-color: rgba(199, 56, 107, 0.45);
}

/* line 74674, 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 74679, 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 74684, 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 74696, app/assets/stylesheets/application.scss */
.quiz-option.is-on .quiz-letter {
  background: var(--quiz-accent);
  color: #fff;
}

/* line 74701, app/assets/stylesheets/application.scss */
.quiz-option.is-right .quiz-letter {
  background: var(--quiz-ok);
  color: #fff;
}

/* line 74706, app/assets/stylesheets/application.scss */
.quiz-option.is-wrong .quiz-letter {
  background: var(--quiz-bad);
  color: #fff;
}

/* line 74711, app/assets/stylesheets/application.scss */
.quiz-option-text {
  flex: 1;
  padding-top: 3px;
}

/* line 74716, app/assets/stylesheets/application.scss */
.quiz-option i {
  color: rgba(23, 25, 29, 0.28);
  margin-top: 4px;
}

/* line 74721, app/assets/stylesheets/application.scss */
.quiz-option.is-on i {
  color: var(--quiz-accent);
}

/* line 74725, app/assets/stylesheets/application.scss */
.quiz-option.is-right i {
  color: var(--quiz-ok);
}

/* line 74729, app/assets/stylesheets/application.scss */
.quiz-option.is-wrong i {
  color: var(--quiz-bad);
}

/* line 74733, app/assets/stylesheets/application.scss */
.quiz-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--quiz-field);
}

/* line 74740, app/assets/stylesheets/application.scss */
.quiz-feedback.is-right {
  background: rgba(31, 157, 87, 0.1);
}

/* line 74744, app/assets/stylesheets/application.scss */
.quiz-feedback.is-wrong {
  background: rgba(196, 123, 18, 0.1);
}

/* line 74748, app/assets/stylesheets/application.scss */
.quiz-feedback strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

/* line 74754, app/assets/stylesheets/application.scss */
.quiz-feedback span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 74762, app/assets/stylesheets/application.scss */
.quiz-feedback p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

/* line 74768, app/assets/stylesheets/application.scss */
.quiz-feedback .is-right {
  color: var(--quiz-ok);
}

/* line 74769, app/assets/stylesheets/application.scss */
.quiz-feedback .is-wrong,
.quiz-review-card .is-wrong {
  color: var(--quiz-warn);
}

/* line 74771, app/assets/stylesheets/application.scss */
.quiz-review-card .is-right {
  color: var(--quiz-ok);
}

/* line 74773, app/assets/stylesheets/application.scss */
.quiz-take-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* line 74781, app/assets/stylesheets/application.scss */
.quiz-take-actions:has(.quiz-secondary) {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
}

/* line 74785, app/assets/stylesheets/application.scss */
.quiz-result-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px 4px;
}

/* line 74793, app/assets/stylesheets/application.scss */
.quiz-score-ring {
  width: 120px;
  height: 120px;
  margin-bottom: -88px;
}

/* line 74799, 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 74808, app/assets/stylesheets/application.scss */
.quiz-subscore {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--quiz-muted);
}

/* line 74814, 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 74823, app/assets/stylesheets/application.scss */
.quiz-complete {
  align-items: stretch;
  text-align: center;
}

/* line 74828, app/assets/stylesheets/application.scss */
.quiz-complete .quiz-stats {
  text-align: left;
}

/* line 74832, 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 74841, app/assets/stylesheets/application.scss */
.quiz-review .quiz-scroll {
  padding: 0 0 16px;
}

/* line 74845, app/assets/stylesheets/application.scss */
.quiz-review-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--quiz-field);
  border-left: 3px solid transparent;
}

/* line 74852, app/assets/stylesheets/application.scss */
.quiz-review-card.is-right {
  border-left-color: var(--quiz-ok);
}

/* line 74856, app/assets/stylesheets/application.scss */
.quiz-review-card.is-wrong {
  border-left-color: var(--quiz-warn);
}

/* line 74860, app/assets/stylesheets/application.scss */
.quiz-review-card span {
  font-size: 12px;
  font-weight: 650;
  color: var(--quiz-muted);
}

/* line 74866, app/assets/stylesheets/application.scss */
.quiz-review-card strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

/* line 74873, app/assets/stylesheets/application.scss */
.quiz-review-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(23, 25, 29, 0.72);
}

/* line 74879, app/assets/stylesheets/application.scss */
.quiz-explain {
  color: var(--quiz-muted) !important;
}

@container quiz-hub (min-width: 720px) {
  /* line 74884, app/assets/stylesheets/application.scss */
  .quiz-nav,
.quiz-toolbar {
    padding-left: 28px;
    padding-right: 28px;
  }
  /* line 74890, 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 74900, app/assets/stylesheets/application.scss */
  .quiz-sheet,
.quiz-drive {
    align-items: center;
  }
  /* line 74905, app/assets/stylesheets/application.scss */
  .quiz-sheet-card,
.quiz-confirm,
.quiz-drive-card {
    border-radius: 22px;
    max-height: 86vh;
    margin-bottom: 0;
  }
  /* line 74913, app/assets/stylesheets/application.scss */
  .quiz-settings {
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }
  /* line 74918, app/assets/stylesheets/application.scss */
  .quiz-sheet-actions {
    flex-direction: row;
  }
  /* line 74922, app/assets/stylesheets/application.scss */
  .quiz-sheet-actions .quiz-primary,
.quiz-sheet-actions .quiz-secondary {
    width: auto;
    flex: 1;
  }
  /* line 74928, app/assets/stylesheets/application.scss */
  .quiz-confirm-actions {
    flex-direction: row-reverse;
  }
  /* line 74932, app/assets/stylesheets/application.scss */
  .quiz-confirm-actions button {
    flex: 1;
  }
  /* line 74936, app/assets/stylesheets/application.scss */
  .quiz-take,
.quiz-complete,
.quiz-review {
    background: #f7f8fa;
  }
  /* line 74942, 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 74952, app/assets/stylesheets/application.scss */
  .quiz-review .quiz-stage {
    overflow: hidden;
  }
}

@container quiz-hub (min-width: 980px) {
  /* line 74958, 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[hidden] {
    display: none !important;
  }
  /* line 1277, app/assets/stylesheets/_market_hub.scss */
  .market-cats,
.market-tabs {
    flex-wrap: wrap;
    overflow: visible;
    padding: 12px 22px 14px;
  }
  /* line 1284, app/assets/stylesheets/_market_hub.scss */
  .market-hub-body {
    padding: 20px 22px 48px;
  }
  /* line 1288, app/assets/stylesheets/_market_hub.scss */
  .market-hero-copy strong {
    font-size: 32px;
    max-width: 22ch;
  }
  /* line 1293, app/assets/stylesheets/_market_hub.scss */
  .market-peek.is-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
  }
  /* line 1298, app/assets/stylesheets/_market_hub.scss */
  .market-sheet {
    align-items: center;
    padding: 24px;
  }
  /* line 1303, 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 1310, app/assets/stylesheets/_market_hub.scss */
  .market-sheet-card.is-detail,
.market-sheet-card.is-create {
    width: min(1040px, calc(100% - 32px));
  }
  /* line 1315, 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 1321, app/assets/stylesheets/_market_hub.scss */
  .market-sheet-body {
    padding: 18px 22px 32px;
  }
  /* line 1325, 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 1331, app/assets/stylesheets/_market_hub.scss */
  .market-create-body > .market-error {
    grid-column: 1 / -1;
  }
  /* line 1335, 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 1341, app/assets/stylesheets/_market_hub.scss */
  .market-detail-gallery {
    position: sticky;
    top: 0;
  }
  /* line 1346, app/assets/stylesheets/_market_hub.scss */
  .market-carousel {
    height: 360px;
  }
  /* line 1350, app/assets/stylesheets/_market_hub.scss */
  .market-source-row {
    grid-template-columns: 1fr 1fr;
  }
  /* line 1354, app/assets/stylesheets/_market_hub.scss */
  .market-preview-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    overflow: visible;
  }
  /* line 1360, app/assets/stylesheets/_market_hub.scss */
  .market-preview-tile,
.market-preview-add {
    width: auto;
  }
}

@media (max-width: 759px) {
  /* line 1367, 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 1379, app/assets/stylesheets/_market_hub.scss */
  .market-tool {
    width: 40px;
    padding: 0;
  }
  /* line 1384, app/assets/stylesheets/_market_hub.scss */
  .market-hub-head {
    flex-wrap: wrap;
  }
  /* line 1388, app/assets/stylesheets/_market_hub.scss */
  .market-search {
    flex: 1 1 100%;
    max-width: none;
    margin: 4px 0 0;
    order: 8;
  }
  /* line 1395, app/assets/stylesheets/_market_hub.scss */
  .market-search[hidden] {
    display: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  /* line 1401, app/assets/stylesheets/_market_hub.scss */
  .market-chip:hover:not(.is-on) {
    background: #eceef1;
  }
  /* line 1405, app/assets/stylesheets/_market_hub.scss */
  .market-row-btn:hover,
.market-sales-main:hover,
.market-wallet:hover,
.market-toggle:hover {
    background: #eceef1;
  }
  /* line 1412, app/assets/stylesheets/_market_hub.scss */
  .market-wallet.is-quiet:hover {
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 1418, 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-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 12px;
}

/* line 144, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-search-panel.hidden,
.pin-hub-search-panel[hidden] {
  display: none !important;
}

/* line 149, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-search-panel .pin-hub-search {
  flex: 1 1 auto;
  width: auto;
  margin: 0;
}

/* line 155, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle.is-active {
  background: var(--pin-ink);
  color: #fff;
}

/* line 160, 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 173, 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 183, 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 195, 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 211, 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 217, 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 230, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

/* line 237, 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 248, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 255, 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 264, 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 276, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty {
  flex: 1 1 auto;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 40px 24px;
}

/* line 283, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-empty-mark,
.pin-hub-stage-idle span {
  font-size: 36px;
  line-height: 1;
}

/* line 289, 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 297, 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 307, 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 316, 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 326, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-cta:hover {
  filter: brightness(1.08);
}

/* line 328, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-stage {
  position: relative;
  background: #efe7d8;
}

/* line 333, 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 341, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-back {
  display: inline-flex;
}

/* line 343, 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 359, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-board-actions {
  display: flex;
  gap: 8px;
}

/* line 364, 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 373, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas-wrap:active {
  cursor: grabbing;
}

/* line 377, 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 393, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-canvas.is-link-mode {
  cursor: crosshair;
}

/* line 397, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-strings {
  position: absolute;
  inset: 0;
  pointer-events: stroke;
  color: #db1f29;
  overflow: visible;
  z-index: 1;
}

/* line 406, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-string {
  pointer-events: stroke;
  cursor: pointer;
}

/* line 411, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-stage-idle {
  position: absolute;
  inset: 0;
  justify-content: center;
  pointer-events: none;
}

/* line 418, 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 431, 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 449, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-selected {
  outline: 2px solid rgba(219, 31, 41, 0.55);
  outline-offset: 3px;
}

/* line 454, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-link-from {
  outline: 2px solid #db1f29;
  outline-offset: 4px;
}

/* line 459, 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 464, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-photo {
  padding: 5%;
  background: #fff;
}

/* line 469, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin.is-clipping {
  background: #f4f1ea;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

/* line 474, 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 482, 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 498, 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 509, 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 518, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy.is-object {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* line 524, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-copy.is-clipping {
  gap: 6px;
}

/* line 528, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-news-tag {
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #db1f29;
}

/* line 535, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-pin-emoji {
  font-size: 2.2em;
  line-height: 1;
}

/* line 540, 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 548, 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 557, 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 571, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-handle.is-topRight,
.pin-hub-handle.is-bottomLeft {
  cursor: nesw-resize;
}

/* line 576, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-circle.is-on {
  background: #db1f29;
  color: #fff;
}

/* line 581, 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 597, 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 602, 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 618, 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 629, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-dock button:hover span {
  background: #ece6da;
}

/* line 633, 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 642, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-sheet.hidden,
.pin-hub-sheet[hidden] {
  display: none !important;
}

/* line 647, 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 655, 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 668, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 18px 0;
}

/* line 675, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* line 682, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form header strong {
  font-size: var(--text-title-3);
  letter-spacing: var(--text-title-tracking);
}

/* line 687, 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 695, 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 708, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-form textarea {
  resize: vertical;
  min-height: 96px;
}

/* line 713, 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 721, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-people {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow: auto;
}

/* line 729, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 736, 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 750, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 756, 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 766, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-share-empty {
  margin: 0;
  color: var(--pin-muted);
  font-size: var(--text-footnote);
}

/* line 772, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-text-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* line 777, 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 785, 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 794, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-menu-btn.is-danger {
  color: var(--perk-ink);
}

/* line 796, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-backdrop-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

/* line 802, 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 815, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* line 817, 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 827, 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 832, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 838, 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 848, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row label.is-on,
.pin-hub-emoji-row label:has(input:checked) {
  background: #ece4d4;
}

/* line 853, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row input {
  display: none;
}

/* line 854, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-emoji-row span {
  font-size: 18px;
}

/* line 856, app/assets/stylesheets/_pin_hub.scss */
.pin-hub-photo-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

/* line 863, 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 870, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-boards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 20px;
    padding-right: 20px;
  }
  /* line 876, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-titles strong {
    font-size: var(--text-title-2);
  }
}

@media (max-width: 860px) {
  /* line 882, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-canvas-wrap {
    padding: 4px 10px 96px;
  }
  /* line 886, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-dock {
    bottom: 12px;
    width: calc(100% - 24px);
    justify-content: space-around;
  }
  /* line 892, app/assets/stylesheets/_pin_hub.scss */
  .pin-hub-dock button {
    min-width: 0;
    flex: 1;
  }
}

/* line 3, app/assets/stylesheets/_crm_hub.scss */
.crm-hub {
  --crm-bg: #f7f7f5;
  --crm-surface: #ffffff;
  --crm-sunken: #f1f1ef;
  --crm-hover: rgba(55, 53, 47, 0.06);
  --crm-active: rgba(55, 53, 47, 0.1);
  --crm-line: rgba(55, 53, 47, 0.1);
  --crm-line-strong: rgba(55, 53, 47, 0.18);
  --crm-ink: #1f2328;
  --crm-ink-2: #4b5058;
  --crm-muted: #7c828b;
  --crm-accent: #3b5bfd;
  --crm-accent-soft: rgba(59, 91, 253, 0.1);
  --crm-accent-ink: #2440d6;
  --crm-green: #1f9d55;
  --crm-red: #e5484d;
  --crm-orange: #e8850c;
  --crm-blue: #0a84ff;
  --crm-purple: #8e4ec6;
  --crm-teal: #12a594;
  --crm-radius: 10px;
  --crm-radius-sm: 7px;
  --crm-shadow: 0 1px 2px rgba(15, 15, 15, 0.04), 0 2px 8px rgba(15, 15, 15, 0.04);
  --crm-shadow-lg: 0 12px 40px rgba(15, 15, 15, 0.16), 0 2px 6px rgba(15, 15, 15, 0.06);
  --crm-sidebar: 240px;
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  min-height: 0;
  overflow: hidden;
  color: var(--crm-ink);
  background: var(--crm-bg);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* line 39, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.hidden, .crm-hub[hidden] {
  display: none !important;
}

/* line 42, app/assets/stylesheets/_crm_hub.scss */
.crm-hub *, .crm-hub *::before, .crm-hub *::after {
  box-sizing: border-box;
}

/* line 43, app/assets/stylesheets/_crm_hub.scss */
.crm-hub button {
  font: inherit;
  color: inherit;
}

/* line 44, app/assets/stylesheets/_crm_hub.scss */
.crm-hub input, .crm-hub select, .crm-hub textarea {
  font: inherit;
}

/* line 45, app/assets/stylesheets/_crm_hub.scss */
.crm-hub h1, .crm-hub h2, .crm-hub h3, .crm-hub h4, .crm-hub p {
  margin: 0;
}

/* line 46, app/assets/stylesheets/_crm_hub.scss */
.crm-hub kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid var(--crm-line-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--crm-surface);
  color: var(--crm-muted);
  font: 600 10.5px/1 -apple-system, sans-serif;
}

/* line 51, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.is-collapsed {
  --crm-sidebar: 64px;
}

/* line 54, app/assets/stylesheets/_crm_hub.scss */
.crm-icon {
  flex: none;
  display: block;
}

/* line 55, app/assets/stylesheets/_crm_hub.scss */
.crm-muted {
  color: var(--crm-muted);
}

/* line 56, app/assets/stylesheets/_crm_hub.scss */
.crm-text-red {
  color: var(--crm-red) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 57, app/assets/stylesheets/_crm_hub.scss */
.crm-text-green {
  color: var(--crm-green) !important;
}

/* line 58, app/assets/stylesheets/_crm_hub.scss */
.crm-spacer {
  flex: 1;
}

/* line 59, app/assets/stylesheets/_crm_hub.scss */
.crm-pad {
  padding: 14px 16px;
}

/* line 60, app/assets/stylesheets/_crm_hub.scss */
.crm-count {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 99px;
  margin-left: 4px;
  background: var(--crm-sunken);
  color: var(--crm-muted);
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

/* line 63, app/assets/stylesheets/_crm_hub.scss */
.crm-count.is-red {
  background: rgba(229, 72, 77, 0.12);
  color: var(--crm-red);
}

/* ---------- Shell ---------- */
/* line 68, app/assets/stylesheets/_crm_hub.scss */
.crm-shell {
  display: grid;
  grid-template-columns: var(--crm-sidebar) minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  transition: grid-template-columns 0.18s ease;
}

/* line 77, app/assets/stylesheets/_crm_hub.scss */
.crm-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fbfbfa;
  border-right: 1px solid var(--crm-line);
}

/* line 85, app/assets/stylesheets/_crm_hub.scss */
.crm-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 10px;
}

/* line 87, app/assets/stylesheets/_crm_hub.scss */
.crm-brand .crm-brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #3b5bfd, #7a5cff);
  box-shadow: 0 2px 6px rgba(59, 91, 253, 0.35);
}

/* line 91, app/assets/stylesheets/_crm_hub.scss */
.crm-brand .crm-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

/* line 92, app/assets/stylesheets/_crm_hub.scss */
.crm-brand .crm-brand-text strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 93, app/assets/stylesheets/_crm_hub.scss */
.crm-brand .crm-brand-text span {
  font-size: 12px;
  color: var(--crm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 97, app/assets/stylesheets/_crm_hub.scss */
.crm-nav {
  flex: 1;
  overflow-y: auto;
  padding: 4px 8px 12px;
}

/* line 98, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-group {
  margin-top: 12px;
}

/* line 99, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-label {
  display: block;
  padding: 0 10px 4px;
  color: var(--crm-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 100, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--crm-ink-2);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

/* line 103, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-item:hover {
  background: var(--crm-hover);
  color: var(--crm-ink);
}

/* line 104, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-item.is-active {
  background: var(--crm-accent-soft);
  color: var(--crm-accent-ink);
  font-weight: 600;
}

/* line 104, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-item.is-active .crm-icon {
  color: var(--crm-accent);
}

/* line 105, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-item .crm-icon {
  color: var(--crm-muted);
}

/* line 106, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-item .crm-nav-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 108, app/assets/stylesheets/_crm_hub.scss */
.crm-nav-count {
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--crm-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* line 110, app/assets/stylesheets/_crm_hub.scss */
.crm-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--crm-line);
}

/* line 112, app/assets/stylesheets/_crm_hub.scss */
.crm-sidebar-foot .crm-sync {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--crm-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}

/* line 116, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.is-collapsed .crm-brand-text, .crm-hub.is-collapsed .crm-nav-label, .crm-hub.is-collapsed .crm-nav-text, .crm-hub.is-collapsed .crm-nav-count, .crm-hub.is-collapsed .crm-sync .crm-nav-text {
  display: none;
}

/* line 117, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.is-collapsed .crm-brand {
  flex-direction: column;
}

/* line 118, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.is-collapsed .crm-nav-item {
  justify-content: center;
  padding: 0;
}

/* line 119, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.is-collapsed .crm-nav-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--crm-line);
}

/* line 119, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.is-collapsed .crm-nav-group:first-child {
  border-top: 0;
}

/* line 120, app/assets/stylesheets/_crm_hub.scss */
.crm-hub.is-collapsed .crm-sidebar-foot {
  flex-direction: column;
}

/* line 123, app/assets/stylesheets/_crm_hub.scss */
.crm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--dot, var(--crm-muted));
}

/* line 125, app/assets/stylesheets/_crm_hub.scss */
.crm-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* line 126, app/assets/stylesheets/_crm_hub.scss */
.crm-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  flex: none;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--crm-line);
}

/* line 130, app/assets/stylesheets/_crm_hub.scss */
.crm-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  color: var(--crm-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
}

/* line 131, app/assets/stylesheets/_crm_hub.scss */
.crm-crumbs .crm-crumb {
  border: 0;
  background: none;
  padding: 2px 4px;
  border-radius: 5px;
  color: var(--crm-muted);
  cursor: default;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 132, app/assets/stylesheets/_crm_hub.scss */
.crm-crumbs .crm-crumb:is(button) {
  cursor: pointer;
}

/* line 132, app/assets/stylesheets/_crm_hub.scss */
.crm-crumbs .crm-crumb:is(button):hover {
  background: var(--crm-hover);
  color: var(--crm-ink);
}

/* line 133, app/assets/stylesheets/_crm_hub.scss */
.crm-crumbs .crm-crumb.is-current {
  color: var(--crm-ink);
  font-weight: 600;
}

/* line 136, app/assets/stylesheets/_crm_hub.scss */
.crm-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 38vw;
  max-width: 420px;
  height: 34px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--crm-line);
  border-radius: 8px;
  background: var(--crm-sunken);
  color: var(--crm-muted);
  cursor: pointer;
  font-size: 13px;
}

/* line 139, app/assets/stylesheets/_crm_hub.scss */
.crm-search-trigger span {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 140, app/assets/stylesheets/_crm_hub.scss */
.crm-search-trigger:hover {
  border-color: var(--crm-line-strong);
  background: #fff;
}

/* line 142, app/assets/stylesheets/_crm_hub.scss */
.crm-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* line 144, app/assets/stylesheets/_crm_hub.scss */
.crm-main-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 145, app/assets/stylesheets/_crm_hub.scss */
.crm-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px 64px;
}

/* line 146, app/assets/stylesheets/_crm_hub.scss */
.crm-page.is-wide {
  max-width: 1480px;
}

/* line 147, app/assets/stylesheets/_crm_hub.scss */
.crm-page.is-narrow {
  max-width: 860px;
}

/* line 148, app/assets/stylesheets/_crm_hub.scss */
.crm-page.is-record {
  max-width: 1480px;
  padding-top: 18px;
}

/* ---------- Buttons & inputs ---------- */
/* line 153, app/assets/stylesheets/_crm_hub.scss */
.crm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--crm-line-strong);
  border-radius: var(--crm-radius-sm);
  background: var(--crm-surface);
  color: var(--crm-ink);
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(15, 15, 15, 0.03);
  transition: background 0.12s, border-color 0.12s, box-shadow 0.12s, transform 0.06s;
}

/* line 158, app/assets/stylesheets/_crm_hub.scss */
.crm-btn:hover {
  background: #f7f7f6;
  border-color: rgba(55, 53, 47, 0.26);
}

/* line 159, app/assets/stylesheets/_crm_hub.scss */
.crm-btn:active {
  transform: translateY(1px);
}

/* line 160, app/assets/stylesheets/_crm_hub.scss */
.crm-btn:focus-visible {
  outline: 2px solid var(--crm-accent);
  outline-offset: 2px;
}

/* line 161, app/assets/stylesheets/_crm_hub.scss */
.crm-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* line 162, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-primary {
  background: var(--crm-accent);
  border-color: var(--crm-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(59, 91, 253, 0.35);
}

/* line 163, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-primary:hover {
  background: var(--crm-accent-ink);
  border-color: var(--crm-accent-ink);
}

/* line 164, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-success {
  background: var(--crm-green);
  border-color: var(--crm-green);
  color: #fff;
}

/* line 164, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-success:hover {
  filter: brightness(0.95);
  background: var(--crm-green);
}

/* line 165, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-danger {
  background: var(--crm-red);
  border-color: var(--crm-red);
  color: #fff;
}

/* line 165, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-danger:hover {
  filter: brightness(0.95);
  background: var(--crm-red);
}

/* line 166, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-danger-ghost {
  color: var(--crm-red);
}

/* line 166, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-danger-ghost:hover {
  background: rgba(229, 72, 77, 0.08);
  border-color: rgba(229, 72, 77, 0.4);
}

/* line 167, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-ghost {
  border-color: transparent;
  box-shadow: none;
  background: none;
  color: var(--crm-ink-2);
}

/* line 167, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-ghost:hover {
  background: var(--crm-hover);
}

/* line 167, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-ghost.is-on {
  background: var(--crm-accent-soft);
  color: var(--crm-accent-ink);
}

/* line 168, app/assets/stylesheets/_crm_hub.scss */
.crm-btn.is-small {
  height: 28px;
  padding: 0 9px;
  font-size: 12.5px;
}

/* line 170, app/assets/stylesheets/_crm_hub.scss */
.crm-split {
  display: flex;
  gap: 8px;
}

/* line 171, app/assets/stylesheets/_crm_hub.scss */
.crm-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--crm-ink-2);
  cursor: pointer;
}

/* line 174, app/assets/stylesheets/_crm_hub.scss */
.crm-icon-btn:hover {
  background: var(--crm-hover);
  color: var(--crm-ink);
}

/* line 175, app/assets/stylesheets/_crm_hub.scss */
.crm-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: none;
}

/* line 176, app/assets/stylesheets/_crm_hub.scss */
.crm-icon-btn.is-small {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

/* line 177, app/assets/stylesheets/_crm_hub.scss */
.crm-icon-btn.is-outline {
  border: 1px solid var(--crm-line-strong);
  width: 34px;
  height: 34px;
  background: #fff;
}

/* line 178, app/assets/stylesheets/_crm_hub.scss */
.crm-icon-btn.is-primary {
  background: var(--crm-accent);
  color: #fff;
}

/* line 178, app/assets/stylesheets/_crm_hub.scss */
.crm-icon-btn.is-primary:hover {
  background: var(--crm-accent-ink);
  color: #fff;
}

/* line 180, app/assets/stylesheets/_crm_hub.scss */
.crm-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--crm-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  box-shadow: 0 0 0 2px #fff;
}

/* line 181, app/assets/stylesheets/_crm_hub.scss */
.crm-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--crm-accent-ink);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}

/* line 183, app/assets/stylesheets/_crm_hub.scss */
.crm-link:hover {
  text-decoration: underline;
}

/* line 184, app/assets/stylesheets/_crm_hub.scss */
.crm-link.is-small {
  font-size: 12.5px;
}

/* line 186, app/assets/stylesheets/_crm_hub.scss */
.crm-link-plain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

/* line 187, app/assets/stylesheets/_crm_hub.scss */
.crm-link-plain strong {
  font-weight: 550;
  font-size: 13px;
}

/* line 187, app/assets/stylesheets/_crm_hub.scss */
.crm-link-plain small {
  font-size: 12px;
  color: var(--crm-muted);
}

/* line 190, app/assets/stylesheets/_crm_hub.scss */
.crm-input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--crm-line-strong);
  border-radius: var(--crm-radius-sm);
  background: #fff;
  color: var(--crm-ink);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}

/* line 193, app/assets/stylesheets/_crm_hub.scss */
.crm-input:focus {
  border-color: var(--crm-accent);
  box-shadow: 0 0 0 3px rgba(59, 91, 253, 0.15);
}

/* line 194, app/assets/stylesheets/_crm_hub.scss */
.crm-input:disabled {
  background: var(--crm-sunken);
  color: var(--crm-muted);
}

/* line 195, app/assets/stylesheets/_crm_hub.scss */
.crm-input::placeholder {
  color: #a5a9b0;
}

/* line 196, app/assets/stylesheets/_crm_hub.scss */
.crm-input.is-small {
  height: 28px;
  font-size: 12.5px;
}

/* line 197, app/assets/stylesheets/_crm_hub.scss */
.crm-input.is-bare {
  border: 0;
  box-shadow: none;
  padding: 8px 2px;
  height: auto;
}

/* line 197, app/assets/stylesheets/_crm_hub.scss */
.crm-input.is-bare:focus {
  box-shadow: none;
}

/* line 198, app/assets/stylesheets/_crm_hub.scss */
.crm-input.is-cell {
  height: 30px;
  border-color: transparent;
  background: transparent;
}

/* line 198, app/assets/stylesheets/_crm_hub.scss */
.crm-input.is-cell:hover {
  border-color: var(--crm-line);
}

/* line 198, app/assets/stylesheets/_crm_hub.scss */
.crm-input.is-cell:focus {
  background: #fff;
  border-color: var(--crm-accent);
}

/* line 199, app/assets/stylesheets/_crm_hub.scss */
.crm-input.is-num {
  text-align: right;
}

/* line 201, app/assets/stylesheets/_crm_hub.scss */
textarea.crm-input {
  height: auto;
  padding: 8px 10px;
  resize: vertical;
  line-height: 1.5;
}

/* line 202, app/assets/stylesheets/_crm_hub.scss */
.crm-input-affix {
  display: flex;
  align-items: stretch;
}

/* line 203, app/assets/stylesheets/_crm_hub.scss */
.crm-input-affix .crm-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* line 204, app/assets/stylesheets/_crm_hub.scss */
.crm-input-affix > span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--crm-line-strong);
  border-left: 0;
  border-radius: 0 var(--crm-radius-sm) var(--crm-radius-sm) 0;
  background: var(--crm-sunken);
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 205, app/assets/stylesheets/_crm_hub.scss */
.crm-input-affix.is-small .crm-input {
  height: 28px;
  width: 80px;
}

/* line 205, app/assets/stylesheets/_crm_hub.scss */
.crm-input-affix.is-small > span {
  padding: 0 8px;
}

/* line 207, app/assets/stylesheets/_crm_hub.scss */
.crm-label {
  display: block;
  margin-bottom: 5px;
  color: var(--crm-ink-2);
  font-size: 12.5px;
  font-weight: 600;
}

/* line 207, app/assets/stylesheets/_crm_hub.scss */
.crm-label em {
  color: var(--crm-red);
  font-style: normal;
  margin-left: 2px;
}

/* line 208, app/assets/stylesheets/_crm_hub.scss */
.crm-field {
  grid-column: span 2;
  min-width: 0;
}

/* line 208, app/assets/stylesheets/_crm_hub.scss */
.crm-field.is-half {
  grid-column: span 1;
}

/* line 209, app/assets/stylesheets/_crm_hub.scss */
.crm-field.has-error .crm-input {
  border-color: var(--crm-red);
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12);
}

/* line 211, app/assets/stylesheets/_crm_hub.scss */
.crm-field-error {
  display: block;
  margin-top: 4px;
  color: var(--crm-red);
  font-size: 12px;
}

/* line 212, app/assets/stylesheets/_crm_hub.scss */
.crm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

/* line 213, app/assets/stylesheets/_crm_hub.scss */
.crm-form-section {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

/* line 214, app/assets/stylesheets/_crm_hub.scss */
.crm-form-section legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--crm-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* line 216, app/assets/stylesheets/_crm_hub.scss */
.crm-check, .crm-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
  grid-column: span 2;
}

/* line 216, app/assets/stylesheets/_crm_hub.scss */
.crm-check input, .crm-radio input {
  accent-color: var(--crm-accent);
  width: 16px;
  height: 16px;
}

/* line 217, app/assets/stylesheets/_crm_hub.scss */
.crm-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

/* line 218, app/assets/stylesheets/_crm_hub.scss */
.crm-switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  z-index: 1;
}

/* line 219, app/assets/stylesheets/_crm_hub.scss */
.crm-switch span {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #d6d6d3;
  transition: background 0.15s;
}

/* line 220, app/assets/stylesheets/_crm_hub.scss */
.crm-switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

/* line 221, app/assets/stylesheets/_crm_hub.scss */
.crm-switch input:checked + span {
  background: var(--crm-green);
}

/* line 221, app/assets/stylesheets/_crm_hub.scss */
.crm-switch input:checked + span::after {
  transform: translateX(16px);
}

/* line 223, app/assets/stylesheets/_crm_hub.scss */
.crm-color {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--crm-line-strong);
  border-radius: 7px;
  background: none;
  cursor: pointer;
}

/* line 225, app/assets/stylesheets/_crm_hub.scss */
.crm-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border-radius: 9px;
  background: var(--crm-sunken);
}

/* line 226, app/assets/stylesheets/_crm_hub.scss */
.crm-seg .crm-seg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--crm-ink-2);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}

/* line 227, app/assets/stylesheets/_crm_hub.scss */
.crm-seg .crm-seg-item input {
  display: none;
}

/* line 228, app/assets/stylesheets/_crm_hub.scss */
.crm-seg .crm-seg-item:hover {
  color: var(--crm-ink);
}

/* line 229, app/assets/stylesheets/_crm_hub.scss */
.crm-seg .crm-seg-item.is-active, .crm-seg .crm-seg-item:has(input:checked) {
  background: #fff;
  color: var(--crm-ink);
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.1);
}

/* line 231, app/assets/stylesheets/_crm_hub.scss */
.crm-seg.is-compact .crm-seg-item {
  height: 28px;
  padding: 0 9px;
  font-size: 12.5px;
}

/* line 234, app/assets/stylesheets/_crm_hub.scss */
.crm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 235, app/assets/stylesheets/_crm_hub.scss */
.crm-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--crm-line);
  border-radius: 99px;
  background: #fff;
  color: var(--crm-ink-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

/* line 238, app/assets/stylesheets/_crm_hub.scss */
.crm-chip-btn small {
  color: var(--crm-muted);
  font-size: 11px;
}

/* line 239, app/assets/stylesheets/_crm_hub.scss */
.crm-chip-btn:hover {
  border-color: var(--crm-line-strong);
  color: var(--crm-ink);
}

/* line 240, app/assets/stylesheets/_crm_hub.scss */
.crm-chip-btn.is-on {
  border-color: var(--crm-accent);
  background: var(--crm-accent-soft);
  color: var(--crm-accent-ink);
}

/* line 240, app/assets/stylesheets/_crm_hub.scss */
.crm-chip-btn.is-on small {
  color: inherit;
}

/* line 242, app/assets/stylesheets/_crm_hub.scss */
.crm-chip {
  position: relative;
}

/* line 242, app/assets/stylesheets/_crm_hub.scss */
.crm-chip input {
  position: absolute;
  opacity: 0;
}

/* line 243, app/assets/stylesheets/_crm_hub.scss */
.crm-chip span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--crm-line-strong);
  border-radius: 99px;
  cursor: pointer;
  font-size: 13px;
}

/* line 244, app/assets/stylesheets/_crm_hub.scss */
.crm-chip input:checked + span {
  border-color: var(--crm-red);
  background: rgba(229, 72, 77, 0.08);
  color: var(--crm-red);
  font-weight: 600;
}

/* line 247, app/assets/stylesheets/_crm_hub.scss */
.crm-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: crm-spin 0.7s linear infinite;
}

@keyframes crm-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Pills, avatars, tiles ---------- */
/* line 252, app/assets/stylesheets/_crm_hub.scss */
.crm-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: middle;
}

/* line 254, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-gray {
  background: rgba(120, 119, 116, 0.12);
  color: #5d5c58;
}

/* line 255, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-blue {
  background: rgba(10, 132, 255, 0.12);
  color: #0866c6;
}

/* line 256, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-green {
  background: rgba(31, 157, 85, 0.12);
  color: #18794a;
}

/* line 257, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-red {
  background: rgba(229, 72, 77, 0.12);
  color: #c62a2f;
}

/* line 258, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-orange {
  background: rgba(232, 133, 12, 0.14);
  color: #a75d00;
}

/* line 259, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-purple {
  background: rgba(142, 78, 198, 0.12);
  color: #7a3cb0;
}

/* line 260, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-teal {
  background: rgba(18, 165, 148, 0.12);
  color: #0b7e70;
}

/* line 261, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-hot {
  background: rgba(229, 72, 77, 0.12);
  color: #c62a2f;
}

/* line 262, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-warm {
  background: rgba(232, 133, 12, 0.14);
  color: #a75d00;
}

/* line 263, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-cold {
  background: rgba(10, 132, 255, 0.12);
  color: #0866c6;
}

/* line 264, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-stage {
  background: color-mix(in srgb, var(--stage) 13%, transparent);
  color: color-mix(in srgb, var(--stage) 70%, #1f2328);
}

/* line 264, app/assets/stylesheets/_crm_hub.scss */
.crm-pill.is-stage .crm-dot {
  --dot: var(--stage);
  width: 7px;
  height: 7px;
}

/* line 266, app/assets/stylesheets/_crm_hub.scss */
.crm-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--crm-muted);
  border-radius: 6px;
}

/* line 266, app/assets/stylesheets/_crm_hub.scss */
.crm-pill-btn:hover .crm-pill {
  filter: brightness(0.96);
}

/* line 267, app/assets/stylesheets/_crm_hub.scss */
.crm-tag {
  display: inline-flex;
  height: 20px;
  padding: 0 7px;
  margin: 0 4px 2px 0;
  border-radius: 5px;
  background: var(--crm-sunken);
  color: var(--crm-ink-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

/* line 268, app/assets/stylesheets/_crm_hub.scss */
.crm-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* line 269, app/assets/stylesheets/_crm_hub.scss */
.crm-avatar.is-square {
  border-radius: 24%;
}

/* line 271, app/assets/stylesheets/_crm_hub.scss */
.crm-tile {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--crm-accent-soft);
  color: var(--crm-accent);
}

/* line 272, app/assets/stylesheets/_crm_hub.scss */
.crm-tile.is-sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

/* line 273, app/assets/stylesheets/_crm_hub.scss */
.crm-tile.is-lg {
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

/* line 274, app/assets/stylesheets/_crm_hub.scss */
.crm-tile.is-ticket {
  background: rgba(232, 133, 12, 0.12);
  color: var(--crm-orange);
}

/* line 276, app/assets/stylesheets/_crm_hub.scss */
.crm-prio {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--crm-muted);
}

/* line 277, app/assets/stylesheets/_crm_hub.scss */
.crm-prio.is-high {
  background: var(--crm-red);
}

/* line 277, app/assets/stylesheets/_crm_hub.scss */
.crm-prio.is-medium {
  background: var(--crm-orange);
}

/* line 277, app/assets/stylesheets/_crm_hub.scss */
.crm-prio.is-low {
  background: #b8bcc2;
}

/* ---------- Page header, tabs, toolbar ---------- */
/* line 282, app/assets/stylesheets/_crm_hub.scss */
.crm-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* line 283, app/assets/stylesheets/_crm_hub.scss */
.crm-page-head h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 284, app/assets/stylesheets/_crm_hub.scss */
.crm-page-head p {
  margin-top: 3px;
  color: var(--crm-muted);
  font-size: 13.5px;
}

/* line 286, app/assets/stylesheets/_crm_hub.scss */
.crm-page-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

/* line 287, app/assets/stylesheets/_crm_hub.scss */
.crm-page-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--crm-line);
  color: var(--crm-accent);
  box-shadow: var(--crm-shadow);
}

/* line 288, app/assets/stylesheets/_crm_hub.scss */
.crm-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 290, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--crm-line);
  overflow-x: auto;
  scrollbar-width: none;
}

/* line 291, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs .crm-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--crm-muted);
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
}

/* line 292, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs .crm-tab span {
  padding: 1px 6px;
  border-radius: 99px;
  background: var(--crm-sunken);
  font-size: 11.5px;
}

/* line 293, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs .crm-tab:hover {
  color: var(--crm-ink);
}

/* line 294, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs .crm-tab.is-active {
  color: var(--crm-ink);
}

/* line 294, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs .crm-tab.is-active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--crm-accent);
}

/* line 294, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs .crm-tab.is-active span {
  background: var(--crm-accent-soft);
  color: var(--crm-accent-ink);
}

/* line 295, app/assets/stylesheets/_crm_hub.scss */
.crm-tabs .crm-tab.is-alert span {
  background: rgba(229, 72, 77, 0.14);
  color: var(--crm-red);
}

/* line 298, app/assets/stylesheets/_crm_hub.scss */
.crm-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* line 299, app/assets/stylesheets/_crm_hub.scss */
.crm-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
  max-width: 100%;
}

/* line 300, app/assets/stylesheets/_crm_hub.scss */
.crm-search .crm-icon {
  position: absolute;
  left: 10px;
  color: var(--crm-muted);
  pointer-events: none;
}

/* line 301, app/assets/stylesheets/_crm_hub.scss */
.crm-search input {
  width: 100%;
  height: 32px;
  padding: 0 10px 0 32px;
  border: 1px solid var(--crm-line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  outline: none;
}

/* line 302, app/assets/stylesheets/_crm_hub.scss */
.crm-search input:focus {
  border-color: var(--crm-accent);
  box-shadow: 0 0 0 3px rgba(59, 91, 253, 0.15);
}

/* line 304, app/assets/stylesheets/_crm_hub.scss */
.crm-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(59, 91, 253, 0.3);
  border-radius: 99px;
  background: var(--crm-accent-soft);
  color: var(--crm-accent-ink);
  font-size: 12.5px;
  cursor: pointer;
}

/* line 305, app/assets/stylesheets/_crm_hub.scss */
.crm-filter-chip strong {
  font-weight: 650;
}

/* line 305, app/assets/stylesheets/_crm_hub.scss */
.crm-filter-chip:hover {
  background: rgba(59, 91, 253, 0.16);
}

/* line 307, app/assets/stylesheets/_crm_hub.scss */
.crm-mini-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--crm-accent);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

/* line 309, app/assets/stylesheets/_crm_hub.scss */
.crm-bulkbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #1f2328;
  color: #fff;
  box-shadow: var(--crm-shadow-lg);
  font-size: 13px;
}

/* line 310, app/assets/stylesheets/_crm_hub.scss */
.crm-bulkbar .crm-link {
  color: #9db0ff;
}

/* line 311, app/assets/stylesheets/_crm_hub.scss */
.crm-bulkbar .crm-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* line 311, app/assets/stylesheets/_crm_hub.scss */
.crm-bulkbar .crm-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* line 311, app/assets/stylesheets/_crm_hub.scss */
.crm-bulkbar .crm-btn.is-danger-ghost {
  color: #ff8b8e;
}

/* line 312, app/assets/stylesheets/_crm_hub.scss */
.crm-bulkbar .crm-icon-btn {
  color: #fff;
}

/* line 312, app/assets/stylesheets/_crm_hub.scss */
.crm-bulkbar .crm-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Tables ---------- */
/* line 317, app/assets/stylesheets/_crm_hub.scss */
.crm-table-wrap {
  overflow: auto;
  border: 1px solid var(--crm-line);
  border-radius: var(--crm-radius);
  background: #fff;
  box-shadow: var(--crm-shadow);
}

/* line 318, app/assets/stylesheets/_crm_hub.scss */
.crm-table-wrap.is-flat {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* line 320, app/assets/stylesheets/_crm_hub.scss */
.crm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}

/* line 321, app/assets/stylesheets/_crm_hub.scss */
.crm-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 38px;
  padding: 0 12px;
  background: #fafaf9;
  border-bottom: 1px solid var(--crm-line);
  color: var(--crm-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

/* line 322, app/assets/stylesheets/_crm_hub.scss */
.crm-table th.is-right {
  text-align: right;
}

/* line 322, app/assets/stylesheets/_crm_hub.scss */
.crm-table th.is-right .crm-th-btn {
  justify-content: flex-end;
}

/* line 323, app/assets/stylesheets/_crm_hub.scss */
.crm-table td {
  height: 48px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--crm-line);
  vertical-align: middle;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--crm-ink);
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 324, app/assets/stylesheets/_crm_hub.scss */
.crm-table td.is-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* line 325, app/assets/stylesheets/_crm_hub.scss */
.crm-table tbody tr:last-child td {
  border-bottom: 0;
}

/* line 326, app/assets/stylesheets/_crm_hub.scss */
.crm-table .crm-row {
  cursor: pointer;
  transition: background 0.08s;
}

/* line 327, app/assets/stylesheets/_crm_hub.scss */
.crm-table .crm-row:hover td {
  background: #fafaf8;
}

/* line 328, app/assets/stylesheets/_crm_hub.scss */
.crm-table .crm-row.is-selected td {
  background: rgba(59, 91, 253, 0.05);
}

/* line 330, app/assets/stylesheets/_crm_hub.scss */
.crm-table input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--crm-accent);
  cursor: pointer;
}

/* line 331, app/assets/stylesheets/_crm_hub.scss */
.crm-table.is-report td {
  height: 42px;
}

/* line 332, app/assets/stylesheets/_crm_hub.scss */
.crm-table.is-report tr.is-strong td {
  background: #fafaf9;
  font-weight: 650;
}

/* line 333, app/assets/stylesheets/_crm_hub.scss */
.crm-table.is-quote td {
  height: 44px;
  padding: 4px 8px;
}

/* line 335, app/assets/stylesheets/_crm_hub.scss */
.crm-th-check, .crm-td-check {
  width: 40px;
  padding-right: 0 !important;
}

/* line 336, app/assets/stylesheets/_crm_hub.scss */
.crm-th-menu, .crm-td-menu {
  width: 44px;
  text-align: right;
}

/* line 337, app/assets/stylesheets/_crm_hub.scss */
.crm-td-menu .crm-icon-btn {
  opacity: 0;
}

/* line 337, app/assets/stylesheets/_crm_hub.scss */
.crm-row:hover .crm-td-menu .crm-icon-btn {
  opacity: 1;
}

/* line 338, app/assets/stylesheets/_crm_hub.scss */
.crm-th-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* line 339, app/assets/stylesheets/_crm_hub.scss */
.crm-th-btn:hover, .crm-th-btn.is-sorted {
  color: var(--crm-ink);
}

/* line 340, app/assets/stylesheets/_crm_hub.scss */
.crm-cell-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 341, app/assets/stylesheets/_crm_hub.scss */
.crm-cell-main > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

/* line 342, app/assets/stylesheets/_crm_hub.scss */
.crm-cell-main strong {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 343, app/assets/stylesheets/_crm_hub.scss */
.crm-cell-main span:not(.crm-avatar):not(.crm-tile):not(.crm-prio) {
  color: var(--crm-muted);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 345, app/assets/stylesheets/_crm_hub.scss */
.crm-table-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--crm-muted);
}

/* line 346, app/assets/stylesheets/_crm_hub.scss */
.crm-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 347, app/assets/stylesheets/_crm_hub.scss */
.crm-pager > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 348, app/assets/stylesheets/_crm_hub.scss */
.crm-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 348, app/assets/stylesheets/_crm_hub.scss */
.crm-score b {
  font-size: 12.5px;
  min-width: 20px;
}

/* line 349, app/assets/stylesheets/_crm_hub.scss */
.crm-score .crm-score-bar {
  width: 56px;
  height: 6px;
  border-radius: 99px;
  background: var(--crm-sunken);
  overflow: hidden;
}

/* line 349, app/assets/stylesheets/_crm_hub.scss */
.crm-score .crm-score-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--crm-blue);
}

/* line 350, app/assets/stylesheets/_crm_hub.scss */
.crm-score.is-warm i {
  background: var(--crm-orange);
}

/* line 350, app/assets/stylesheets/_crm_hub.scss */
.crm-score.is-hot i {
  background: var(--crm-red);
}

/* ---------- Panels ---------- */
/* line 355, app/assets/stylesheets/_crm_hub.scss */
.crm-panel {
  min-width: 0;
  margin-bottom: 14px;
  border: 1px solid var(--crm-line);
  border-radius: var(--crm-radius);
  background: var(--crm-surface);
  box-shadow: var(--crm-shadow);
}

/* line 356, app/assets/stylesheets/_crm_hub.scss */
.crm-panel.is-flush {
  overflow: hidden;
}

/* line 357, app/assets/stylesheets/_crm_hub.scss */
.crm-panel.is-chart svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  padding: 0 12px 10px;
}

/* line 359, app/assets/stylesheets/_crm_hub.scss */
.crm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--crm-line);
}

/* line 360, app/assets/stylesheets/_crm_hub.scss */
.crm-panel-head > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 361, app/assets/stylesheets/_crm_hub.scss */
.crm-panel-head strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 362, app/assets/stylesheets/_crm_hub.scss */
.crm-panel-head .crm-muted {
  font-size: 12.5px;
  font-weight: 400;
}

/* line 364, app/assets/stylesheets/_crm_hub.scss */
.crm-panel-head.crm-pad {
  padding: 12px 16px;
}

/* ---------- Dashboard ---------- */
/* line 368, app/assets/stylesheets/_crm_hub.scss */
.crm-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

/* line 369, app/assets/stylesheets/_crm_hub.scss */
.crm-kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--crm-line);
  border-radius: var(--crm-radius);
  background: #fff;
  box-shadow: var(--crm-shadow);
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

/* line 370, app/assets/stylesheets/_crm_hub.scss */
.crm-kpi:hover {
  border-color: var(--crm-line-strong);
  box-shadow: 0 6px 20px rgba(15, 15, 15, 0.08);
  transform: translateY(-1px);
}

/* line 371, app/assets/stylesheets/_crm_hub.scss */
.crm-kpi strong {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* line 373, app/assets/stylesheets/_crm_hub.scss */
.crm-kpi-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  color: var(--crm-ink-2);
  font-size: 13px;
  font-weight: 550;
}

/* line 373, app/assets/stylesheets/_crm_hub.scss */
.crm-kpi-head .crm-kpi-info {
  margin-left: auto;
  color: #b5b9bf;
}

/* line 374, app/assets/stylesheets/_crm_hub.scss */
.crm-kpi-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--crm-accent-soft);
  color: var(--crm-accent);
}

/* line 375, app/assets/stylesheets/_crm_hub.scss */
.crm-kpi-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 376, app/assets/stylesheets/_crm_hub.scss */
.crm-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 5px;
  font-weight: 650;
}

/* line 377, app/assets/stylesheets/_crm_hub.scss */
.crm-delta.is-up {
  background: rgba(31, 157, 85, 0.1);
  color: var(--crm-green);
}

/* line 377, app/assets/stylesheets/_crm_hub.scss */
.crm-delta.is-down {
  background: rgba(229, 72, 77, 0.1);
  color: var(--crm-red);
}

/* line 377, app/assets/stylesheets/_crm_hub.scss */
.crm-delta.is-flat {
  background: var(--crm-sunken);
  color: var(--crm-muted);
}

/* line 379, app/assets/stylesheets/_crm_hub.scss */
.crm-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0 14px;
}

/* line 380, app/assets/stylesheets/_crm_hub.scss */
.crm-dash-grid > .crm-panel:nth-child(3), .crm-dash-grid > .crm-panel:nth-child(4) {
  grid-column: span 1;
}

@media (min-width: 1200px) {
  /* line 383, app/assets/stylesheets/_crm_hub.scss */
  .crm-dash-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* line 384, app/assets/stylesheets/_crm_hub.scss */
  .crm-dash-grid > .crm-panel.is-chart {
    grid-column: span 2;
  }
}

/* line 386, app/assets/stylesheets/_crm_hub.scss */
.crm-legend {
  display: flex;
  gap: 12px;
  color: var(--crm-muted);
  font-size: 12px;
  flex-direction: row !important;
}

/* line 387, app/assets/stylesheets/_crm_hub.scss */
.crm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 387, app/assets/stylesheets/_crm_hub.scss */
.crm-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--crm-accent);
}

/* line 387, app/assets/stylesheets/_crm_hub.scss */
.crm-legend i.is-secondary {
  background: #c7d0ff;
}

/* line 388, app/assets/stylesheets/_crm_hub.scss */
.crm-chart-grid {
  stroke: var(--crm-line);
  stroke-width: 1;
}

/* line 389, app/assets/stylesheets/_crm_hub.scss */
.crm-chart-axis {
  fill: var(--crm-muted);
  font-size: 11px;
}

/* line 389, app/assets/stylesheets/_crm_hub.scss */
.crm-chart-axis.is-target {
  fill: var(--crm-green);
  font-weight: 600;
}

/* line 390, app/assets/stylesheets/_crm_hub.scss */
.crm-chart-bar {
  fill: var(--crm-accent);
}

/* line 390, app/assets/stylesheets/_crm_hub.scss */
.crm-chart-bar.is-secondary {
  fill: #c7d0ff;
}

/* line 390, app/assets/stylesheets/_crm_hub.scss */
.crm-chart-bar:hover {
  opacity: 0.85;
}

/* line 391, app/assets/stylesheets/_crm_hub.scss */
.crm-chart-target {
  stroke: var(--crm-green);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

/* line 392, app/assets/stylesheets/_crm_hub.scss */
.crm-donut-track {
  stroke: var(--crm-sunken);
}

/* line 393, app/assets/stylesheets/_crm_hub.scss */
.crm-donut-center {
  font-size: 22px;
  font-weight: 700;
  fill: var(--crm-ink);
}

/* line 394, app/assets/stylesheets/_crm_hub.scss */
.crm-ring-text {
  font-size: 13px;
  font-weight: 700;
  fill: var(--crm-ink);
}

/* line 395, app/assets/stylesheets/_crm_hub.scss */
.crm-target {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  flex-wrap: wrap;
}

/* line 396, app/assets/stylesheets/_crm_hub.scss */
.crm-target-rows {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 397, app/assets/stylesheets/_crm_hub.scss */
.crm-target-rows div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

/* line 397, app/assets/stylesheets/_crm_hub.scss */
.crm-target-rows div span {
  color: var(--crm-muted);
}

/* line 397, app/assets/stylesheets/_crm_hub.scss */
.crm-target-rows div strong {
  font-variant-numeric: tabular-nums;
}

/* line 398, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 14px;
}

/* line 399, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 10px;
  padding: 5px 4px;
  border: 0;
  border-radius: 6px;
  background: none;
  text-align: left;
  font-size: 13px;
}

/* line 400, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-row:is(button) {
  cursor: pointer;
}

/* line 400, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-row:is(button):hover {
  background: var(--crm-hover);
}

/* line 401, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--crm-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 402, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-bar {
  height: 10px;
  border-radius: 99px;
  background: var(--crm-sunken);
  overflow: hidden;
}

/* line 403, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--stage, var(--crm-accent));
  transition: width 0.4s ease;
}

/* line 404, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-val {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* line 404, app/assets/stylesheets/_crm_hub.scss */
.crm-funnel-val small {
  color: var(--crm-muted);
  font-weight: 500;
}

/* line 405, app/assets/stylesheets/_crm_hub.scss */
.crm-donut-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  flex-wrap: wrap;
}

/* line 406, app/assets/stylesheets/_crm_hub.scss */
.crm-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
  font-size: 13px;
}

/* line 407, app/assets/stylesheets/_crm_hub.scss */
.crm-donut-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 407, app/assets/stylesheets/_crm_hub.scss */
.crm-donut-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

/* line 407, app/assets/stylesheets/_crm_hub.scss */
.crm-donut-legend b {
  margin-left: auto;
  font-weight: 650;
}

/* line 409, app/assets/stylesheets/_crm_hub.scss */
.crm-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
  border: 1px solid var(--crm-line);
  border-radius: var(--crm-radius);
  background: #fff;
  box-shadow: var(--crm-shadow);
  overflow: hidden;
}

/* line 410, app/assets/stylesheets/_crm_hub.scss */
.crm-summary-strip > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-left: 1px solid var(--crm-line);
}

/* line 410, app/assets/stylesheets/_crm_hub.scss */
.crm-summary-strip > div:first-child {
  border-left: 0;
}

/* line 411, app/assets/stylesheets/_crm_hub.scss */
.crm-summary-strip > div span {
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 411, app/assets/stylesheets/_crm_hub.scss */
.crm-summary-strip > div strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* line 411, app/assets/stylesheets/_crm_hub.scss */
.crm-summary-strip > div small {
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 412, app/assets/stylesheets/_crm_hub.scss */
.crm-summary-strip > div.is-alert strong {
  color: var(--crm-red);
}

/* ---------- Tasks ---------- */
/* line 417, app/assets/stylesheets/_crm_hub.scss */
.crm-tasks {
  padding: 4px 0;
}

/* line 417, app/assets/stylesheets/_crm_hub.scss */
.crm-tasks.is-compact .crm-task {
  padding: 7px 14px;
}

/* line 418, app/assets/stylesheets/_crm_hub.scss */
.crm-task-group {
  padding: 12px 16px 4px;
  color: var(--crm-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 419, app/assets/stylesheets/_crm_hub.scss */
.crm-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--crm-line);
}

/* line 419, app/assets/stylesheets/_crm_hub.scss */
.crm-task:last-child {
  border-bottom: 0;
}

/* line 420, app/assets/stylesheets/_crm_hub.scss */
.crm-task:hover {
  background: #fafaf8;
}

/* line 421, app/assets/stylesheets/_crm_hub.scss */
.crm-task.is-done .crm-task-main strong {
  color: var(--crm-muted);
  text-decoration: line-through;
}

/* line 422, app/assets/stylesheets/_crm_hub.scss */
.crm-task.is-overdue .crm-task-type {
  background: rgba(229, 72, 77, 0.1);
  color: var(--crm-red);
}

/* line 424, app/assets/stylesheets/_crm_hub.scss */
.crm-task-type {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  background: var(--crm-sunken);
  color: var(--crm-ink-2);
}

/* line 425, app/assets/stylesheets/_crm_hub.scss */
.crm-task-type.is-call {
  color: var(--crm-green);
}

/* line 425, app/assets/stylesheets/_crm_hub.scss */
.crm-task-type.is-meeting {
  color: var(--crm-purple);
}

/* line 425, app/assets/stylesheets/_crm_hub.scss */
.crm-task-type.is-email {
  color: var(--crm-blue);
}

/* line 425, app/assets/stylesheets/_crm_hub.scss */
.crm-task-type.is-demo {
  color: var(--crm-teal);
}

/* line 425, app/assets/stylesheets/_crm_hub.scss */
.crm-task-type.is-follow_up {
  color: var(--crm-orange);
}

/* line 426, app/assets/stylesheets/_crm_hub.scss */
.crm-task-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 427, app/assets/stylesheets/_crm_hub.scss */
.crm-task-main strong {
  font-weight: 550;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 428, app/assets/stylesheets/_crm_hub.scss */
.crm-task-main span {
  color: var(--crm-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 429, app/assets/stylesheets/_crm_hub.scss */
.crm-task-main:hover strong {
  color: var(--crm-accent-ink);
}

/* line 430, app/assets/stylesheets/_crm_hub.scss */
.crm-task-due {
  flex: none;
  color: var(--crm-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* line 431, app/assets/stylesheets/_crm_hub.scss */
.crm-check-round {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  border: 1.5px solid #b9bdc3;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.12s;
}

/* line 432, app/assets/stylesheets/_crm_hub.scss */
.crm-check-round:hover {
  border-color: var(--crm-green);
}

/* line 433, app/assets/stylesheets/_crm_hub.scss */
.crm-check-round:checked {
  border-color: var(--crm-green);
  background: var(--crm-green);
}

/* line 433, app/assets/stylesheets/_crm_hub.scss */
.crm-check-round:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Kanban board ---------- */
/* line 438, app/assets/stylesheets/_crm_hub.scss */
.crm-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(268px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  min-height: 420px;
}

/* line 439, app/assets/stylesheets/_crm_hub.scss */
.crm-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 12px;
  background: #efefed;
  transition: background 0.12s, box-shadow 0.12s;
}

/* line 440, app/assets/stylesheets/_crm_hub.scss */
.crm-col.is-drop-target {
  background: rgba(59, 91, 253, 0.1);
  box-shadow: inset 0 0 0 2px rgba(59, 91, 253, 0.45);
}

/* line 441, app/assets/stylesheets/_crm_hub.scss */
.crm-col.is-won .crm-col-head {
  background: rgba(31, 157, 85, 0.08);
}

/* line 441, app/assets/stylesheets/_crm_hub.scss */
.crm-col.is-lost .crm-col-head {
  background: rgba(229, 72, 77, 0.06);
}

/* line 443, app/assets/stylesheets/_crm_hub.scss */
.crm-col-head {
  padding: 10px 12px;
  border-radius: 12px 12px 0 0;
  border-top: 3px solid var(--stage);
}

/* line 444, app/assets/stylesheets/_crm_hub.scss */
.crm-col-head div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 444, app/assets/stylesheets/_crm_hub.scss */
.crm-col-head div strong {
  font-size: 13.5px;
}

/* line 444, app/assets/stylesheets/_crm_hub.scss */
.crm-col-head div span {
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--crm-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 445, app/assets/stylesheets/_crm_hub.scss */
.crm-col-head small {
  color: var(--crm-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* line 447, app/assets/stylesheets/_crm_hub.scss */
.crm-col-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 4px 8px 8px;
  min-height: 80px;
}

/* line 448, app/assets/stylesheets/_crm_hub.scss */
.crm-col-empty {
  display: grid;
  place-items: center;
  height: 70px;
  border: 1.5px dashed var(--crm-line-strong);
  border-radius: 10px;
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 449, app/assets/stylesheets/_crm_hub.scss */
.crm-col-add {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 8px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--crm-muted);
  font-size: 13px;
  cursor: pointer;
}

/* line 449, app/assets/stylesheets/_crm_hub.scss */
.crm-col-add:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--crm-ink);
}

/* line 450, app/assets/stylesheets/_crm_hub.scss */
.crm-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid var(--crm-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.06);
  cursor: grab;
  transition: box-shadow 0.12s, transform 0.12s, opacity 0.12s;
}

/* line 451, app/assets/stylesheets/_crm_hub.scss */
.crm-card:hover {
  box-shadow: 0 4px 14px rgba(15, 15, 15, 0.1);
}

/* line 452, app/assets/stylesheets/_crm_hub.scss */
.crm-card:active {
  cursor: grabbing;
}

/* line 453, app/assets/stylesheets/_crm_hub.scss */
.crm-card.is-dragging {
  opacity: 0.4;
  transform: rotate(1.5deg);
}

/* line 454, app/assets/stylesheets/_crm_hub.scss */
.crm-card.is-late {
  border-left: 3px solid var(--crm-red);
}

/* line 455, app/assets/stylesheets/_crm_hub.scss */
.crm-card:focus-visible {
  outline: 2px solid var(--crm-accent);
}

/* line 457, app/assets/stylesheets/_crm_hub.scss */
.crm-card-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* line 457, app/assets/stylesheets/_crm_hub.scss */
.crm-card-top .crm-prio {
  margin-top: 6px;
}

/* line 457, app/assets/stylesheets/_crm_hub.scss */
.crm-card-top strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

/* line 458, app/assets/stylesheets/_crm_hub.scss */
.crm-card-company {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--crm-ink-2);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 459, app/assets/stylesheets/_crm_hub.scss */
.crm-card-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* line 459, app/assets/stylesheets/_crm_hub.scss */
.crm-card-value small {
  color: var(--crm-muted);
  font-size: 12px;
  font-weight: 600;
}

/* line 460, app/assets/stylesheets/_crm_hub.scss */
.crm-card-next {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--crm-sunken);
  color: var(--crm-ink-2);
  font-size: 12px;
}

/* line 461, app/assets/stylesheets/_crm_hub.scss */
.crm-card-next span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 462, app/assets/stylesheets/_crm_hub.scss */
.crm-card-next.is-late {
  background: rgba(229, 72, 77, 0.08);
  color: var(--crm-red);
}

/* line 463, app/assets/stylesheets/_crm_hub.scss */
.crm-card-next.is-none {
  background: rgba(232, 133, 12, 0.08);
  color: #a75d00;
}

/* line 464, app/assets/stylesheets/_crm_hub.scss */
.crm-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 464, app/assets/stylesheets/_crm_hub.scss */
.crm-card-foot span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Record page ---------- */
/* line 468, app/assets/stylesheets/_crm_hub.scss */
.crm-record-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* line 469, app/assets/stylesheets/_crm_hub.scss */
.crm-record-head > .crm-icon-btn:first-child {
  align-self: flex-start;
  margin-top: 10px;
}

/* line 470, app/assets/stylesheets/_crm_hub.scss */
.crm-record-title {
  flex: 1;
  min-width: 240px;
}

/* line 471, app/assets/stylesheets/_crm_hub.scss */
.crm-record-title h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 473, app/assets/stylesheets/_crm_hub.scss */
.crm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--crm-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* line 474, app/assets/stylesheets/_crm_hub.scss */
.crm-record-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  color: var(--crm-ink-2);
  font-size: 13.5px;
}

/* line 475, app/assets/stylesheets/_crm_hub.scss */
.crm-head-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--crm-ink);
  font-variant-numeric: tabular-nums;
}

/* line 476, app/assets/stylesheets/_crm_hub.scss */
.crm-record-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 478, app/assets/stylesheets/_crm_hub.scss */
.crm-path {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
  overflow-x: auto;
}

/* line 479, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  min-width: 104px;
  height: 36px;
  padding: 0 18px;
  border: 0;
  background: #e8e8e5;
  color: var(--crm-ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
}

/* line 481, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step:first-child {
  border-radius: 8px 0 0 8px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

/* line 482, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step:last-child {
  border-radius: 0 8px 8px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%);
}

/* line 483, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step:hover {
  background: #dcdcd8;
}

/* line 484, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step.is-done {
  background: color-mix(in srgb, var(--stage, var(--crm-green)) 18%, #fff);
  color: color-mix(in srgb, var(--stage, var(--crm-green)) 75%, #000);
}

/* line 485, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step.is-current {
  background: var(--stage, var(--crm-accent));
  color: #fff;
}

/* line 486, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step.is-close {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--crm-line-strong);
  color: var(--crm-green);
}

/* line 487, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step.is-closed {
  cursor: default;
}

/* line 487, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step.is-closed.is-won {
  background: var(--crm-green);
  color: #fff;
}

/* line 487, app/assets/stylesheets/_crm_hub.scss */
.crm-path-step.is-closed.is-lost {
  background: var(--crm-red);
  color: #fff;
}

/* line 489, app/assets/stylesheets/_crm_hub.scss */
.crm-path-meta {
  margin-bottom: 16px;
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 489, app/assets/stylesheets/_crm_hub.scss */
.crm-path-meta strong {
  color: var(--crm-ink-2);
}

/* line 491, app/assets/stylesheets/_crm_hub.scss */
.crm-record-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

/* line 492, app/assets/stylesheets/_crm_hub.scss */
.crm-record-side, .crm-record-rail {
  position: sticky;
  top: 0;
  min-width: 0;
}

/* line 494, app/assets/stylesheets/_crm_hub.scss */
.crm-props {
  padding: 6px 0;
}

/* line 495, app/assets/stylesheets/_crm_hub.scss */
.crm-prop {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 2px 8px 2px 14px;
  min-height: 34px;
}

/* line 496, app/assets/stylesheets/_crm_hub.scss */
.crm-prop.is-system {
  align-items: center;
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 497, app/assets/stylesheets/_crm_hub.scss */
.crm-prop.is-editing {
  padding-top: 4px;
  padding-bottom: 6px;
}

/* line 499, app/assets/stylesheets/_crm_hub.scss */
.crm-prop-label {
  padding-top: 7px;
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 500, app/assets/stylesheets/_crm_hub.scss */
.crm-prop-value {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  width: 100%;
  padding: 5px 24px 5px 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 13.5px;
  text-align: left;
  cursor: text;
  word-break: break-word;
}

/* line 501, app/assets/stylesheets/_crm_hub.scss */
.crm-prop-value i {
  position: absolute;
  right: 6px;
  top: 8px;
  color: var(--crm-muted);
  opacity: 0;
}

/* line 502, app/assets/stylesheets/_crm_hub.scss */
.crm-prop-value:hover {
  background: var(--crm-hover);
}

/* line 502, app/assets/stylesheets/_crm_hub.scss */
.crm-prop-value:hover i {
  opacity: 1;
}

/* line 504, app/assets/stylesheets/_crm_hub.scss */
.crm-prop-static {
  padding: 6px;
  font-size: 13.5px;
}

/* line 505, app/assets/stylesheets/_crm_hub.scss */
.crm-prop-text {
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 13.5px;
}

/* line 506, app/assets/stylesheets/_crm_hub.scss */
.crm-inline-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 507, app/assets/stylesheets/_crm_hub.scss */
.crm-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

/* line 509, app/assets/stylesheets/_crm_hub.scss */
.crm-health {
  padding: 14px;
}

/* line 510, app/assets/stylesheets/_crm_hub.scss */
.crm-health-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* line 510, app/assets/stylesheets/_crm_hub.scss */
.crm-health-top div {
  display: flex;
  flex-direction: column;
}

/* line 510, app/assets/stylesheets/_crm_hub.scss */
.crm-health-top span {
  font-size: 12px;
}

/* line 510, app/assets/stylesheets/_crm_hub.scss */
.crm-health-top strong {
  font-size: 16px;
}

/* line 511, app/assets/stylesheets/_crm_hub.scss */
.crm-health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 512, app/assets/stylesheets/_crm_hub.scss */
.crm-health-grid > div {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--crm-sunken);
}

/* line 512, app/assets/stylesheets/_crm_hub.scss */
.crm-health-grid > div span {
  color: var(--crm-muted);
  font-size: 11.5px;
}

/* line 512, app/assets/stylesheets/_crm_hub.scss */
.crm-health-grid > div strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

/* line 513, app/assets/stylesheets/_crm_hub.scss */
.crm-health-grid.is-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* line 515, app/assets/stylesheets/_crm_hub.scss */
.crm-sla {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border-left: 4px solid var(--crm-blue);
}

/* line 516, app/assets/stylesheets/_crm_hub.scss */
.crm-sla strong {
  font-size: 16px;
}

/* line 516, app/assets/stylesheets/_crm_hub.scss */
.crm-sla small {
  color: var(--crm-muted);
}

/* line 517, app/assets/stylesheets/_crm_hub.scss */
.crm-sla.is-red {
  border-left-color: var(--crm-red);
}

/* line 517, app/assets/stylesheets/_crm_hub.scss */
.crm-sla.is-red strong {
  color: var(--crm-red);
}

/* line 517, app/assets/stylesheets/_crm_hub.scss */
.crm-sla.is-orange {
  border-left-color: var(--crm-orange);
}

/* line 517, app/assets/stylesheets/_crm_hub.scss */
.crm-sla.is-green {
  border-left-color: var(--crm-green);
}

/* line 519, app/assets/stylesheets/_crm_hub.scss */
.crm-related-list {
  padding: 4px;
}

/* line 520, app/assets/stylesheets/_crm_hub.scss */
.crm-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 521, app/assets/stylesheets/_crm_hub.scss */
.crm-related-item > span:not(.crm-avatar):not(.crm-tile):not(.crm-related-right) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

/* line 522, app/assets/stylesheets/_crm_hub.scss */
.crm-related-item > span:not(.crm-avatar):not(.crm-tile):not(.crm-related-right) strong {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 523, app/assets/stylesheets/_crm_hub.scss */
.crm-related-item > span:not(.crm-avatar):not(.crm-tile):not(.crm-related-right) small {
  color: var(--crm-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 524, app/assets/stylesheets/_crm_hub.scss */
.crm-related-item:hover {
  background: var(--crm-hover);
}

/* line 525, app/assets/stylesheets/_crm_hub.scss */
.crm-related-item.is-task {
  cursor: default;
}

/* line 527, app/assets/stylesheets/_crm_hub.scss */
.crm-related-right {
  flex: none;
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 528, app/assets/stylesheets/_crm_hub.scss */
.crm-related-empty {
  padding: 14px 16px;
  color: var(--crm-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 529, app/assets/stylesheets/_crm_hub.scss */
.crm-related-more {
  display: block;
  padding: 0 14px 12px;
}

/* Lead qualification */
/* line 532, app/assets/stylesheets/_crm_hub.scss */
.crm-qual-body {
  display: flex;
  gap: 18px;
  padding: 16px;
  flex-wrap: wrap;
}

/* line 533, app/assets/stylesheets/_crm_hub.scss */
.crm-qual-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* line 533, app/assets/stylesheets/_crm_hub.scss */
.crm-qual-score small {
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 534, app/assets/stylesheets/_crm_hub.scss */
.crm-bant {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 260px;
}

/* line 535, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--crm-line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

/* line 536, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-btn strong {
  display: block;
  font-size: 13.5px;
}

/* line 536, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-btn small {
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 537, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-btn:hover {
  border-color: var(--crm-line-strong);
}

/* line 538, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-btn.is-on {
  border-color: rgba(31, 157, 85, 0.45);
  background: rgba(31, 157, 85, 0.05);
}

/* line 538, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-btn.is-on .crm-bant-check {
  background: var(--crm-green);
  border-color: var(--crm-green);
  color: #fff;
}

/* line 540, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1.5px solid #b9bdc3;
  border-radius: 6px;
}

/* line 541, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* line 542, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-item {
  display: flex;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--crm-line);
  border-radius: 8px;
  cursor: pointer;
}

/* line 542, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-item input {
  accent-color: var(--crm-green);
  margin-top: 3px;
}

/* line 542, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-item strong {
  display: block;
  font-size: 13px;
}

/* line 542, app/assets/stylesheets/_crm_hub.scss */
.crm-bant-item small {
  color: var(--crm-muted);
  font-size: 11.5px;
}

/* line 543, app/assets/stylesheets/_crm_hub.scss */
.crm-qual-cta, .crm-converted {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(59, 91, 253, 0.07);
  color: var(--crm-accent-ink);
  font-size: 13px;
  flex-wrap: wrap;
}

/* line 543, app/assets/stylesheets/_crm_hub.scss */
.crm-qual-cta span, .crm-converted span {
  flex: 1;
}

/* line 544, app/assets/stylesheets/_crm_hub.scss */
.crm-converted {
  background: rgba(31, 157, 85, 0.08);
  color: var(--crm-green);
}

/* line 544, app/assets/stylesheets/_crm_hub.scss */
.crm-converted span {
  flex: none;
}

/* line 546, app/assets/stylesheets/_crm_hub.scss */
.crm-insights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

/* line 547, app/assets/stylesheets/_crm_hub.scss */
.crm-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 133, 12, 0.3);
  border-radius: 9px;
  background: rgba(232, 133, 12, 0.06);
  color: #8a4d00;
  font-size: 13px;
}

/* line 547, app/assets/stylesheets/_crm_hub.scss */
.crm-insight span {
  flex: 1;
}

/* Composer + timeline */
/* line 550, app/assets/stylesheets/_crm_hub.scss */
.crm-composer {
  margin-bottom: 14px;
  padding: 4px 14px 10px;
  border: 1px solid var(--crm-line);
  border-radius: var(--crm-radius);
  background: #fff;
  box-shadow: var(--crm-shadow);
}

/* line 551, app/assets/stylesheets/_crm_hub.scss */
.crm-composer:focus-within {
  border-color: rgba(59, 91, 253, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 91, 253, 0.1);
}

/* line 552, app/assets/stylesheets/_crm_hub.scss */
.crm-composer input.crm-input.is-bare {
  font-weight: 600;
  border-bottom: 1px solid var(--crm-line);
  border-radius: 0;
}

/* line 554, app/assets/stylesheets/_crm_hub.scss */
.crm-composer-tabs {
  display: flex;
  gap: 2px;
  margin: 0 -6px;
  padding: 6px 0;
  border-bottom: 1px solid var(--crm-line);
  overflow-x: auto;
}

/* line 555, app/assets/stylesheets/_crm_hub.scss */
.crm-composer-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--crm-muted);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  white-space: nowrap;
}

/* line 556, app/assets/stylesheets/_crm_hub.scss */
.crm-composer-tab:hover {
  background: var(--crm-hover);
  color: var(--crm-ink);
}

/* line 556, app/assets/stylesheets/_crm_hub.scss */
.crm-composer-tab.is-active {
  background: var(--crm-accent-soft);
  color: var(--crm-accent-ink);
}

/* line 557, app/assets/stylesheets/_crm_hub.scss */
.crm-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  font-size: 12.5px;
}

/* line 558, app/assets/stylesheets/_crm_hub.scss */
.crm-inline-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--crm-muted);
}

/* line 558, app/assets/stylesheets/_crm_hub.scss */
.crm-inline-label .crm-input {
  width: auto;
}

/* line 560, app/assets/stylesheets/_crm_hub.scss */
.crm-timeline {
  min-width: 0;
}

/* line 561, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

/* line 562, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-section {
  margin-bottom: 18px;
}

/* line 563, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-heading {
  display: block;
  margin: 0 0 8px 2px;
  color: var(--crm-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* line 564, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 0 0 14px 0;
}

/* line 565, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--crm-line-strong);
}

/* line 566, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item:last-child::before {
  display: none;
}

/* line 567, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item.is-done .crm-tl-title {
  color: var(--crm-muted);
}

/* line 568, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item.is-overdue .crm-tl-icon {
  background: rgba(229, 72, 77, 0.12);
  color: var(--crm-red);
}

/* line 569, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item.is-call .crm-tl-icon {
  color: var(--crm-green);
}

/* line 569, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item.is-meeting .crm-tl-icon {
  color: var(--crm-purple);
}

/* line 569, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item.is-email .crm-tl-icon {
  color: var(--crm-blue);
}

/* line 569, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-item.is-note .crm-tl-icon {
  color: #b08800;
  background: #fff6d6;
}

/* line 571, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border: 1px solid var(--crm-line);
  border-radius: 50%;
  background: #fff;
  color: var(--crm-ink-2);
}

/* line 572, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-icon.is-dot {
  width: 31px;
  height: 20px;
  border: 0;
  background: none;
}

/* line 572, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-icon.is-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9ccd1;
  box-shadow: 0 0 0 3px var(--crm-bg);
}

/* line 573, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-body {
  flex: 1;
  min-width: 0;
  padding: 7px 12px 9px;
  border: 1px solid var(--crm-line);
  border-radius: 10px;
  background: #fff;
}

/* line 574, app/assets/stylesheets/_crm_hub.scss */
.is-change .crm-tl-body {
  padding: 0;
  border: 0;
  background: none;
}

/* line 576, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* line 577, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-title {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 577, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-title:hover {
  color: var(--crm-accent-ink);
}

/* line 578, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-when {
  flex: none;
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 579, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-change {
  flex: 1;
  color: var(--crm-ink-2);
  font-size: 13px;
}

/* line 579, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-change strong {
  color: var(--crm-ink);
  font-weight: 600;
}

/* line 580, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-text {
  margin-top: 4px;
  color: var(--crm-ink-2);
  font-size: 13.5px;
  white-space: pre-wrap;
  line-height: 1.5;
}

/* line 581, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-meta {
  display: block;
  margin-top: 4px;
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 582, app/assets/stylesheets/_crm_hub.scss */
.crm-tl-empty {
  padding: 18px;
  border: 1px dashed var(--crm-line-strong);
  border-radius: 10px;
  color: var(--crm-muted);
  text-align: center;
  font-size: 13px;
}

/* Quote builder */
/* line 585, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-add {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--crm-line);
  background: #fcfcfb;
}

/* line 585, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-add > .crm-btn {
  align-self: flex-start;
}

/* line 586, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 587, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  padding: 14px;
  border-top: 1px solid var(--crm-line);
}

/* line 588, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

/* line 589, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals > div, .crm-quote-totals .crm-quote-adj {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* line 590, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals span {
  color: var(--crm-ink-2);
}

/* line 591, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals .is-sub {
  margin-top: -6px;
  font-size: 12.5px;
}

/* line 591, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals .is-sub span {
  color: var(--crm-muted);
}

/* line 592, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals .is-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 2px solid var(--crm-ink);
}

/* line 592, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals .is-total strong {
  font-size: 20px;
  letter-spacing: -0.01em;
}

/* line 592, app/assets/stylesheets/_crm_hub.scss */
.crm-quote-totals .is-total span {
  color: var(--crm-ink);
  font-weight: 650;
}

/* line 594, app/assets/stylesheets/_crm_hub.scss */
.crm-filter-label {
  color: var(--crm-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 596, app/assets/stylesheets/_crm_hub.scss */
.crm-activity-detail {
  display: grid;
  gap: 14px;
}

/* ---------- Calendar ---------- */
/* line 600, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--crm-line);
  flex-wrap: wrap;
}

/* line 601, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-head strong {
  font-size: 16px;
  min-width: 150px;
}

/* line 601, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-head > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 601, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-head .crm-muted {
  margin-left: auto;
  font-size: 12px;
}

/* line 602, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-dows {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--crm-line);
}

/* line 602, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-dows span {
  padding: 6px 10px;
  color: var(--crm-muted);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 603, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: minmax(112px, auto);
}

/* line 604, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4px 6px 6px;
  border-right: 1px solid var(--crm-line);
  border-bottom: 1px solid var(--crm-line);
  transition: background 0.1s;
}

/* line 605, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-cell:nth-child(7n) {
  border-right: 0;
}

/* line 606, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-cell.is-other {
  background: #fafaf9;
}

/* line 606, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-cell.is-other .crm-cal-date span {
  color: #b5b9bf;
}

/* line 607, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-cell.is-today .crm-cal-date span {
  background: var(--crm-red);
  color: #fff;
}

/* line 608, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-cell.is-drop-target {
  background: rgba(59, 91, 253, 0.08);
}

/* line 609, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-cell:hover .crm-cal-add {
  opacity: 1;
}

/* line 611, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

/* line 612, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-date span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 4px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
}

/* line 613, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-add {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--crm-muted);
  cursor: pointer;
  opacity: 0;
}

/* line 613, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-add:hover {
  background: var(--crm-hover);
}

/* line 614, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

/* line 615, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item {
  display: block;
  width: 100%;
  padding: 2px 6px;
  border: 0;
  border-left: 3px solid var(--crm-accent);
  border-radius: 4px;
  background: var(--crm-accent-soft);
  color: var(--crm-ink);
  font-size: 11.5px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: grab;
}

/* line 616, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item b {
  font-weight: 650;
  margin-right: 4px;
}

/* line 617, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item.is-call {
  border-left-color: var(--crm-green);
  background: rgba(31, 157, 85, 0.1);
}

/* line 617, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item.is-meeting {
  border-left-color: var(--crm-purple);
  background: rgba(142, 78, 198, 0.1);
}

/* line 618, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item.is-email {
  border-left-color: var(--crm-blue);
  background: rgba(10, 132, 255, 0.1);
}

/* line 618, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item.is-follow_up {
  border-left-color: var(--crm-orange);
  background: rgba(232, 133, 12, 0.1);
}

/* line 619, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item.is-done {
  opacity: 0.55;
  text-decoration: line-through;
}

/* line 620, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-item.is-dragging {
  opacity: 0.3;
}

/* line 622, app/assets/stylesheets/_crm_hub.scss */
.crm-cal-more {
  color: var(--crm-muted);
  font-size: 11px;
  padding-left: 4px;
}

/* ---------- Work / reports / settings ---------- */
/* line 626, app/assets/stylesheets/_crm_hub.scss */
.crm-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 0 14px;
}

/* line 627, app/assets/stylesheets/_crm_hub.scss */
.crm-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

/* line 627, app/assets/stylesheets/_crm_hub.scss */
.crm-report-grid .is-span2 {
  grid-column: span 2;
}

/* line 628, app/assets/stylesheets/_crm_hub.scss */
.crm-att {
  display: inline-block;
  width: 70px;
  height: 6px;
  margin-right: 8px;
  border-radius: 99px;
  background: var(--crm-sunken);
  vertical-align: middle;
  overflow: hidden;
}

/* line 629, app/assets/stylesheets/_crm_hub.scss */
.crm-att i {
  display: block;
  height: 100%;
  background: var(--crm-red);
}

/* line 629, app/assets/stylesheets/_crm_hub.scss */
.crm-att i.is-mid {
  background: var(--crm-orange);
}

/* line 629, app/assets/stylesheets/_crm_hub.scss */
.crm-att i.is-good {
  background: var(--crm-green);
}

/* line 630, app/assets/stylesheets/_crm_hub.scss */
.crm-spark {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding: 16px;
}

/* line 631, app/assets/stylesheets/_crm_hub.scss */
.crm-spark .crm-spark-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
}

/* line 632, app/assets/stylesheets/_crm_hub.scss */
.crm-spark .crm-spark-col i {
  width: 100%;
  max-width: 34px;
  min-height: 2px;
  border-radius: 5px 5px 2px 2px;
  background: var(--crm-accent);
}

/* line 633, app/assets/stylesheets/_crm_hub.scss */
.crm-spark .crm-spark-col span {
  color: var(--crm-muted);
  font-size: 10.5px;
  white-space: nowrap;
}

/* line 635, app/assets/stylesheets/_crm_hub.scss */
.crm-settings {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* line 636, app/assets/stylesheets/_crm_hub.scss */
.crm-settings-nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 637, app/assets/stylesheets/_crm_hub.scss */
.crm-settings-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--crm-ink-2);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

/* line 638, app/assets/stylesheets/_crm_hub.scss */
.crm-settings-link:hover {
  background: var(--crm-hover);
}

/* line 638, app/assets/stylesheets/_crm_hub.scss */
.crm-settings-link.is-active {
  background: #fff;
  color: var(--crm-ink);
  font-weight: 600;
  box-shadow: var(--crm-shadow);
}

/* line 639, app/assets/stylesheets/_crm_hub.scss */
.crm-stage-list {
  padding: 6px 0;
}

/* line 640, app/assets/stylesheets/_crm_hub.scss */
.crm-stage-row {
  display: grid;
  grid-template-columns: 56px 34px minmax(0, 1fr) 110px 70px 34px;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-bottom: 1px solid var(--crm-line);
}

/* line 641, app/assets/stylesheets/_crm_hub.scss */
.crm-stage-row:last-child {
  border-bottom: 0;
}

/* line 641, app/assets/stylesheets/_crm_hub.scss */
.crm-stage-row.is-closed {
  background: #fcfcfb;
}

/* line 641, app/assets/stylesheets/_crm_hub.scss */
.crm-stage-row .crm-muted {
  font-size: 12.5px;
}

/* line 642, app/assets/stylesheets/_crm_hub.scss */
.crm-stage-move {
  display: flex;
  gap: 2px;
}

/* line 643, app/assets/stylesheets/_crm_hub.scss */
.crm-storage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* line 643, app/assets/stylesheets/_crm_hub.scss */
.crm-storage .crm-sync {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 643, app/assets/stylesheets/_crm_hub.scss */
.crm-storage p {
  font-size: 13px;
}

/* line 644, app/assets/stylesheets/_crm_hub.scss */
.crm-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 13px;
}

/* line 644, app/assets/stylesheets/_crm_hub.scss */
.crm-shortcuts span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 644, app/assets/stylesheets/_crm_hub.scss */
.crm-shortcuts kbd {
  margin-right: 2px;
}

/* ---------- Welcome / empty / skeleton ---------- */
/* line 648, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome {
  max-width: 760px;
  margin: 32px auto;
  text-align: center;
}

/* line 649, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome h1 {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* line 650, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome > p {
  margin: 8px auto 0;
  max-width: 520px;
  color: var(--crm-muted);
  font-size: 15px;
}

/* line 652, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-mark {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #3b5bfd, #7a5cff);
  box-shadow: 0 10px 30px rgba(59, 91, 253, 0.35);
}

/* line 653, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 28px;
  flex-wrap: wrap;
}

/* line 654, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

/* line 655, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--crm-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--crm-shadow);
  cursor: pointer;
  text-align: left;
}

/* line 656, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-step strong {
  font-size: 13.5px;
}

/* line 656, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-step span:last-child {
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 657, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-step:hover {
  border-color: rgba(59, 91, 253, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 15, 15, 0.08);
}

/* line 658, app/assets/stylesheets/_crm_hub.scss */
.crm-welcome-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 660, app/assets/stylesheets/_crm_hub.scss */
.crm-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 56px 20px;
  border: 1px dashed var(--crm-line-strong);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

/* line 661, app/assets/stylesheets/_crm_hub.scss */
.crm-empty strong {
  margin-top: 6px;
  font-size: 16px;
}

/* line 661, app/assets/stylesheets/_crm_hub.scss */
.crm-empty p {
  max-width: 420px;
  color: var(--crm-muted);
}

/* line 663, app/assets/stylesheets/_crm_hub.scss */
.crm-empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--crm-accent-soft);
  color: var(--crm-accent);
}

/* line 664, app/assets/stylesheets/_crm_hub.scss */
.crm-empty-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* line 666, app/assets/stylesheets/_crm_hub.scss */
.crm-skel-head, .crm-skel-cards span, .crm-skel-row span {
  border-radius: 8px;
  background: linear-gradient(90deg, #ececea 25%, #f5f5f3 50%, #ececea 75%);
  background-size: 200% 100%;
  animation: crm-shimmer 1.2s ease-in-out infinite;
}

/* line 667, app/assets/stylesheets/_crm_hub.scss */
.crm-skel-head {
  width: 260px;
  height: 30px;
  margin-bottom: 18px;
}

/* line 668, app/assets/stylesheets/_crm_hub.scss */
.crm-skel-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

/* line 668, app/assets/stylesheets/_crm_hub.scss */
.crm-skel-cards span {
  height: 104px;
  border-radius: 10px;
}

/* line 669, app/assets/stylesheets/_crm_hub.scss */
.crm-skel-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

/* line 669, app/assets/stylesheets/_crm_hub.scss */
.crm-skel-row span {
  height: 40px;
}

@keyframes crm-shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Layer: popovers, drawer, modal, cmdk, toast ---------- */
/* line 674, app/assets/stylesheets/_crm_hub.scss */
.crm-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

/* line 674, app/assets/stylesheets/_crm_hub.scss */
.crm-layer > * {
  pointer-events: auto;
}

/* line 676, app/assets/stylesheets/_crm_hub.scss */
.crm-popover {
  position: absolute;
  z-index: 40;
  min-width: 220px;
  max-width: 360px;
  max-height: 70vh;
  overflow: auto;
  padding: 4px;
  border: 1px solid var(--crm-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--crm-shadow-lg);
  animation: crm-pop 0.12s ease;
}

/* line 677, app/assets/stylesheets/_crm_hub.scss */
.crm-popover.is-alerts {
  width: 360px;
}

/* line 677, app/assets/stylesheets/_crm_hub.scss */
.crm-popover.is-filter, .crm-popover.is-bulk-set {
  width: 340px;
}

@keyframes crm-pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

/* line 680, app/assets/stylesheets/_crm_hub.scss */
.crm-pop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 6px;
}

/* line 680, app/assets/stylesheets/_crm_hub.scss */
.crm-pop-head strong {
  font-size: 13.5px;
}

/* line 680, app/assets/stylesheets/_crm_hub.scss */
.crm-pop-head span {
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 681, app/assets/stylesheets/_crm_hub.scss */
.crm-pop-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  color: var(--crm-muted);
  font-size: 13px;
}

/* line 682, app/assets/stylesheets/_crm_hub.scss */
.crm-menu {
  display: flex;
  flex-direction: column;
}

/* line 683, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--crm-ink);
  font-size: 13.5px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

/* line 684, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item .crm-icon {
  color: var(--crm-muted);
}

/* line 684, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item small {
  margin-left: auto;
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 685, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item span {
  flex: 1;
}

/* line 685, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item:hover {
  background: var(--crm-hover);
}

/* line 686, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item.is-danger {
  color: var(--crm-red);
}

/* line 686, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item.is-danger .crm-icon {
  color: var(--crm-red);
}

/* line 687, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item.is-active {
  background: var(--crm-accent-soft);
}

/* line 688, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-item.is-check input {
  accent-color: var(--crm-accent);
}

/* line 690, app/assets/stylesheets/_crm_hub.scss */
.crm-menu-sep {
  height: 1px;
  margin: 4px 6px;
  background: var(--crm-line);
}

/* line 691, app/assets/stylesheets/_crm_hub.scss */
.crm-filter-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 10px 12px;
}

/* line 692, app/assets/stylesheets/_crm_hub.scss */
.crm-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 693, app/assets/stylesheets/_crm_hub.scss */
.crm-alerts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px;
}

/* line 694, app/assets/stylesheets/_crm_hub.scss */
.crm-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 695, app/assets/stylesheets/_crm_hub.scss */
.crm-alert:hover {
  background: var(--crm-hover);
}

/* line 696, app/assets/stylesheets/_crm_hub.scss */
.crm-alert .crm-alert-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background: var(--crm-sunken);
}

/* line 697, app/assets/stylesheets/_crm_hub.scss */
.crm-alert .crm-alert-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 697, app/assets/stylesheets/_crm_hub.scss */
.crm-alert .crm-alert-body strong {
  font-size: 13px;
  font-weight: 600;
}

/* line 697, app/assets/stylesheets/_crm_hub.scss */
.crm-alert .crm-alert-body span {
  color: var(--crm-muted);
  font-size: 12px;
}

/* line 698, app/assets/stylesheets/_crm_hub.scss */
.crm-alert.is-red .crm-alert-icon {
  background: rgba(229, 72, 77, 0.1);
  color: var(--crm-red);
}

/* line 699, app/assets/stylesheets/_crm_hub.scss */
.crm-alert.is-orange .crm-alert-icon {
  background: rgba(232, 133, 12, 0.12);
  color: var(--crm-orange);
}

/* line 700, app/assets/stylesheets/_crm_hub.scss */
.crm-alert.is-blue .crm-alert-icon {
  background: rgba(10, 132, 255, 0.1);
  color: var(--crm-blue);
}

/* line 703, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.18);
  animation: crm-fade 0.15s ease;
}

/* line 704, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 15, 15, 0.14);
  animation: crm-slide 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes crm-fade {
  from {
    opacity: 0;
  }
}

@keyframes crm-slide {
  from {
    transform: translateX(32px);
    opacity: 0;
  }
}

/* line 707, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--crm-line);
}

/* line 708, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-head > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* line 708, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-head > div strong {
  font-size: 16px;
}

/* line 708, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-head > div span {
  color: var(--crm-muted);
  font-size: 12.5px;
}

/* line 709, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--crm-accent-soft);
  color: var(--crm-accent);
}

/* line 710, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

/* line 711, app/assets/stylesheets/_crm_hub.scss */
.crm-drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--crm-line);
  background: #fcfcfb;
}

/* line 713, app/assets/stylesheets/_crm_hub.scss */
.crm-modal-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 15, 15, 0.28);
  animation: crm-fade 0.15s ease;
}

/* line 714, app/assets/stylesheets/_crm_hub.scss */
.crm-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  max-height: calc(100% - 40px);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--crm-shadow-lg);
  animation: crm-pop 0.16s ease;
}

/* line 715, app/assets/stylesheets/_crm_hub.scss */
.crm-modal.is-import, .crm-modal.is-convert {
  max-width: 640px;
}

/* line 716, app/assets/stylesheets/_crm_hub.scss */
.crm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 8px;
}

/* line 716, app/assets/stylesheets/_crm_hub.scss */
.crm-modal-head strong {
  font-size: 17px;
  font-weight: 700;
}

/* line 717, app/assets/stylesheets/_crm_hub.scss */
.crm-modal-body {
  padding: 8px 18px 16px;
  overflow-y: auto;
}

/* line 718, app/assets/stylesheets/_crm_hub.scss */
.crm-modal-text {
  color: var(--crm-ink-2);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 8px;
}

/* line 719, app/assets/stylesheets/_crm_hub.scss */
.crm-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--crm-line);
}

/* line 720, app/assets/stylesheets/_crm_hub.scss */
.crm-convert {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 721, app/assets/stylesheets/_crm_hub.scss */
.crm-convert section {
  padding: 12px 14px;
  border: 1px solid var(--crm-line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 722, app/assets/stylesheets/_crm_hub.scss */
.crm-convert h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

/* line 722, app/assets/stylesheets/_crm_hub.scss */
.crm-convert p {
  color: var(--crm-muted);
  font-size: 13px;
}

/* line 723, app/assets/stylesheets/_crm_hub.scss */
.crm-import-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
  font-size: 13px;
}

/* line 724, app/assets/stylesheets/_crm_hub.scss */
.crm-map-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

/* line 725, app/assets/stylesheets/_crm_hub.scss */
.crm-map-table th {
  padding: 6px;
  color: var(--crm-muted);
  font-size: 11.5px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 726, app/assets/stylesheets/_crm_hub.scss */
.crm-map-table td {
  padding: 4px 6px;
  border-top: 1px solid var(--crm-line);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 726, app/assets/stylesheets/_crm_hub.scss */
.crm-map-table .crm-input {
  height: 30px;
}

/* line 728, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  padding: 10vh 16px 16px;
  background: rgba(15, 15, 15, 0.24);
  animation: crm-fade 0.12s ease;
}

/* line 729, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: 70vh;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--crm-shadow-lg);
  animation: crm-pop 0.14s ease;
}

/* line 730, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--crm-line);
  color: var(--crm-muted);
}

/* line 731, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-input input {
  flex: 1;
  height: 54px;
  border: 0;
  outline: none;
  background: none;
  color: var(--crm-ink);
  font-size: 16px;
}

/* line 732, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

/* line 733, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-group {
  padding: 8px 10px 4px;
  color: var(--crm-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 734, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 735, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-item.is-active, .crm-cmdk-item:hover {
  background: var(--crm-accent-soft);
}

/* line 736, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-item .crm-cmdk-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--crm-sunken);
  color: var(--crm-ink-2);
}

/* line 737, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-item .crm-cmdk-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* line 737, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-item .crm-cmdk-text strong {
  font-size: 13.5px;
  font-weight: 600;
}

/* line 737, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-item .crm-cmdk-text span {
  color: var(--crm-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 738, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-item .crm-cmdk-kind {
  color: var(--crm-muted);
  font-size: 11.5px;
}

/* line 740, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-foot {
  display: flex;
  gap: 16px;
  padding: 8px 14px;
  border-top: 1px solid var(--crm-line);
  background: #fafaf9;
  color: var(--crm-muted);
  font-size: 11.5px;
}

/* line 740, app/assets/stylesheets/_crm_hub.scss */
.crm-cmdk-foot span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 742, app/assets/stylesheets/_crm_hub.scss */
.crm-toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 10px 12px 10px 14px;
  border-radius: 10px;
  background: #1f2328;
  color: #fff;
  font-size: 13.5px;
  box-shadow: var(--crm-shadow-lg);
  transform: translateX(-50%);
  animation: crm-toast 0.2s ease;
}

/* line 743, app/assets/stylesheets/_crm_hub.scss */
.crm-toast[hidden] {
  display: none;
}

/* line 744, app/assets/stylesheets/_crm_hub.scss */
.crm-toast .crm-icon {
  color: #4cd17f;
}

/* line 744, app/assets/stylesheets/_crm_hub.scss */
.crm-toast.is-error .crm-icon {
  color: #ff8b8e;
}

/* line 745, app/assets/stylesheets/_crm_hub.scss */
.crm-toast button {
  margin-left: 6px;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* line 745, app/assets/stylesheets/_crm_hub.scss */
.crm-toast button:hover {
  background: rgba(255, 255, 255, 0.24);
}

@keyframes crm-toast {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  /* line 752, app/assets/stylesheets/_crm_hub.scss */
  .crm-record-grid {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  /* line 753, app/assets/stylesheets/_crm_hub.scss */
  .crm-record-grid .crm-record-rail {
    grid-column: 1 / -1;
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0 14px;
  }
  /* line 754, app/assets/stylesheets/_crm_hub.scss */
  .crm-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  /* line 757, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub {
    --crm-sidebar: 64px;
  }
  /* line 758, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub .crm-brand-text, .crm-hub .crm-nav-label, .crm-hub .crm-nav-text, .crm-hub .crm-nav-count {
    display: none;
  }
  /* line 759, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub .crm-nav-item {
    justify-content: center;
    padding: 0;
  }
  /* line 760, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub .crm-brand {
    flex-direction: column;
  }
  /* line 761, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub .crm-sidebar-foot {
    flex-direction: column;
  }
  /* line 762, app/assets/stylesheets/_crm_hub.scss */
  .crm-record-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 762, app/assets/stylesheets/_crm_hub.scss */
  .crm-record-grid .crm-record-side {
    position: static;
  }
  /* line 763, app/assets/stylesheets/_crm_hub.scss */
  .crm-dash-grid, .crm-report-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 763, app/assets/stylesheets/_crm_hub.scss */
  .crm-dash-grid > *, .crm-report-grid > * {
    grid-column: auto !important;
  }
  /* line 763, app/assets/stylesheets/_crm_hub.scss */
  .crm-dash-grid .is-span2, .crm-report-grid .is-span2 {
    grid-column: auto;
  }
  /* line 764, app/assets/stylesheets/_crm_hub.scss */
  .crm-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 765, app/assets/stylesheets/_crm_hub.scss */
  .crm-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 765, app/assets/stylesheets/_crm_hub.scss */
  .crm-summary-strip > div:nth-child(3) {
    border-left: 0;
  }
  /* line 765, app/assets/stylesheets/_crm_hub.scss */
  .crm-summary-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--crm-line);
  }
  /* line 766, app/assets/stylesheets/_crm_hub.scss */
  .crm-welcome-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 767, app/assets/stylesheets/_crm_hub.scss */
  .crm-settings {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 767, app/assets/stylesheets/_crm_hub.scss */
  .crm-settings .crm-settings-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }
  /* line 768, app/assets/stylesheets/_crm_hub.scss */
  .crm-quote-bottom {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 769, app/assets/stylesheets/_crm_hub.scss */
  .crm-search-trigger span {
    display: none;
  }
  /* line 769, app/assets/stylesheets/_crm_hub.scss */
  .crm-search-trigger {
    width: auto;
  }
  /* line 770, app/assets/stylesheets/_crm_hub.scss */
  .crm-crumbs {
    display: none;
  }
  /* line 771, app/assets/stylesheets/_crm_hub.scss */
  .crm-topbar {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  /* line 774, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub {
    --crm-sidebar: 52px;
  }
  /* line 775, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub .crm-brand-mark {
    display: none;
  }
  /* line 776, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub .crm-nav {
    padding: 2px 4px 10px;
  }
  /* line 777, app/assets/stylesheets/_crm_hub.scss */
  .crm-topbar {
    padding: 0 12px;
  }
  /* line 778, app/assets/stylesheets/_crm_hub.scss */
  .crm-page {
    padding: 16px 16px 48px;
  }
  /* line 779, app/assets/stylesheets/_crm_hub.scss */
  .crm-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 780, app/assets/stylesheets/_crm_hub.scss */
  .crm-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 780, app/assets/stylesheets/_crm_hub.scss */
  .crm-form-grid .crm-field.is-half {
    grid-column: span 2;
  }
  /* line 781, app/assets/stylesheets/_crm_hub.scss */
  .crm-bant, .crm-bant-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 782, app/assets/stylesheets/_crm_hub.scss */
  .crm-stage-row {
    grid-template-columns: 34px minmax(0, 1fr) 90px 34px;
  }
  /* line 782, app/assets/stylesheets/_crm_hub.scss */
  .crm-stage-row .crm-stage-move, .crm-stage-row .crm-muted {
    display: none;
  }
  /* line 783, app/assets/stylesheets/_crm_hub.scss */
  .crm-cal-grid {
    grid-auto-rows: minmax(70px, auto);
  }
  /* line 783, app/assets/stylesheets/_crm_hub.scss */
  .crm-cal-item b {
    display: none;
  }
  /* line 784, app/assets/stylesheets/_crm_hub.scss */
  .crm-work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 785, app/assets/stylesheets/_crm_hub.scss */
  .crm-welcome-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 789, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub *, .crm-hub *::before, .crm-hub *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  /* line 793, app/assets/stylesheets/_crm_hub.scss */
  .crm-sidebar, .crm-topbar, .crm-page-actions, .crm-tabs {
    display: none !important;
  }
  /* line 794, app/assets/stylesheets/_crm_hub.scss */
  .crm-hub {
    position: static;
  }
  /* line 795, app/assets/stylesheets/_crm_hub.scss */
  .crm-main-scroll {
    overflow: visible;
  }
}

/* Perk Knowledge — enterprise wiki (wiki_hub.js / wiki_kb_views.js).
   All selectors are prefixed `kb-` so the legacy `.wiki-*` rules don't interfere. */
/* line 4, app/assets/stylesheets/_wiki_kb.scss */
.companion-hub[data-app="wiki"] {
  background: #fafaf9;
}

/* line 8, app/assets/stylesheets/_wiki_kb.scss */
.kb-app {
  --kb-bg: #fafaf9;
  --kb-side: #f7f7f5;
  --kb-surface: #ffffff;
  --kb-ink: #1c1d22;
  --kb-ink-2: #3f4350;
  --kb-muted: #6b6f7b;
  --kb-faint: #9a9da8;
  --kb-line: #e8e8e5;
  --kb-line-2: #f0f0ed;
  --kb-hover: rgba(28, 29, 34, 0.05);
  --kb-primary: #3f3dc8;
  --kb-primary-ink: #ffffff;
  --kb-primary-soft: #eef0ff;
  --kb-accent: #6d5ce7;
  --kb-danger: #d92d20;
  --kb-radius: 12px;
  --kb-radius-sm: 8px;
  --kb-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --kb-shadow-pop: 0 12px 32px rgba(16, 24, 40, 0.14), 0 2px 6px rgba(16, 24, 40, 0.08);
  --kb-side-w: 264px;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: var(--kb-side-w) minmax(0, 1fr);
  background: var(--kb-bg);
  color: var(--kb-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* line 42, app/assets/stylesheets/_wiki_kb.scss */
.kb-app kbd {
  font: 500 11px/1 Inter, sans-serif;
  padding: 3px 5px;
  border: 1px solid var(--kb-line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--kb-surface);
  color: var(--kb-muted);
}

/* line 52, app/assets/stylesheets/_wiki_kb.scss */
.kb-app.is-nav-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

/* line 53, app/assets/stylesheets/_wiki_kb.scss */
.kb-app.is-nav-collapsed .kb-side {
  visibility: hidden;
}

/* Element resets use :where() so they carry element-level specificity only:
   they beat the app's global element rules (declared earlier, e.g.
   `p, li, label, td, th { font-size: 1rem }`) but yield to every .kb-* class. */
/* line 59, app/assets/stylesheets/_wiki_kb.scss */
:where(.kb-app) *, :where(.kb-app) *::before, :where(.kb-app) *::after {
  box-sizing: border-box;
}

/* line 60, app/assets/stylesheets/_wiki_kb.scss */
:where(.kb-app) button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* line 61, app/assets/stylesheets/_wiki_kb.scss */
:where(.kb-app) input, :where(.kb-app) select, :where(.kb-app) textarea {
  font: inherit;
  color: inherit;
}

/* line 62, app/assets/stylesheets/_wiki_kb.scss */
:where(.kb-app) :focus-visible {
  outline: 2px solid var(--kb-primary);
  outline-offset: 2px;
}

/* line 63, app/assets/stylesheets/_wiki_kb.scss */
:where(.kb-app) h1, :where(.kb-app) h2, :where(.kb-app) h3, :where(.kb-app) h4, :where(.kb-app) p {
  margin: 0;
}

/* line 64, app/assets/stylesheets/_wiki_kb.scss */
:where(.kb-app) p, :where(.kb-app) li, :where(.kb-app) label, :where(.kb-app) td,
:where(.kb-app) th, :where(.kb-app) dd, :where(.kb-app) dt {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
}

/* line 71, app/assets/stylesheets/_wiki_kb.scss */
.kb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* line 72, app/assets/stylesheets/_wiki_kb.scss */
.kb-muted {
  color: var(--kb-muted);
  font-size: 13px;
}

/* line 73, app/assets/stylesheets/_wiki_kb.scss */
.kb-muted.is-xs {
  font-size: 11.5px;
  margin-top: 6px;
}

/* ───────── buttons ───────── */
/* line 77, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--kb-radius-sm);
  border: 1px solid transparent;
  font-weight: 550;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
}

/* line 91, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-sm {
  height: 30px;
  padding: 0 11px;
  font-size: 13px;
}

/* line 92, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-block {
  width: 100%;
}

/* line 93, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-primary {
  background: var(--kb-primary);
  color: var(--kb-primary-ink);
  box-shadow: 0 1px 2px rgba(63, 61, 200, 0.25);
}

/* line 94, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-primary:hover {
  background: #3533b1;
}

/* line 95, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-soft {
  background: var(--kb-primary-soft);
  color: var(--kb-primary);
}

/* line 96, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-soft:hover {
  background: #e2e5ff;
}

/* line 97, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-ghost {
  background: var(--kb-surface);
  border-color: var(--kb-line);
  color: var(--kb-ink-2);
}

/* line 98, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-ghost:hover {
  background: #f5f5f3;
}

/* line 99, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn.is-danger {
  background: var(--kb-danger);
  color: #fff;
}

/* line 100, app/assets/stylesheets/_wiki_kb.scss */
.kb-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* line 103, app/assets/stylesheets/_wiki_kb.scss */
.kb-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--kb-radius-sm);
  background: transparent;
  color: var(--kb-muted);
  flex: none;
}

/* line 115, app/assets/stylesheets/_wiki_kb.scss */
.kb-icon-btn:hover, .kb-icon-btn.is-on {
  background: var(--kb-hover);
  color: var(--kb-ink);
}

/* line 116, app/assets/stylesheets/_wiki_kb.scss */
.kb-icon-btn.is-danger:hover {
  color: var(--kb-danger);
  background: #fef3f2;
}

/* line 117, app/assets/stylesheets/_wiki_kb.scss */
.kb-icon-btn.kb-star-btn.is-on {
  color: #e0a100;
}

/* line 118, app/assets/stylesheets/_wiki_kb.scss */
.kb-icon-btn.kb-star-btn.is-on svg {
  fill: currentColor;
}

/* line 121, app/assets/stylesheets/_wiki_kb.scss */
.kb-dot-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--kb-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
}

/* line 136, app/assets/stylesheets/_wiki_kb.scss */
.kb-mini-btn {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--kb-faint);
}

/* line 145, app/assets/stylesheets/_wiki_kb.scss */
.kb-mini-btn:hover {
  background: var(--kb-hover);
  color: var(--kb-ink);
}

/* line 148, app/assets/stylesheets/_wiki_kb.scss */
.kb-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--kb-primary);
  font-weight: 550;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 158, app/assets/stylesheets/_wiki_kb.scss */
.kb-link:hover {
  text-decoration: underline;
}

/* line 159, app/assets/stylesheets/_wiki_kb.scss */
.kb-link.is-danger {
  color: var(--kb-faint);
}

/* line 160, app/assets/stylesheets/_wiki_kb.scss */
.kb-link.is-danger:hover {
  color: var(--kb-danger);
}

/* line 163, app/assets/stylesheets/_wiki_kb.scss */
.kb-chip {
  border: 1px solid var(--kb-line);
  background: var(--kb-surface);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--kb-ink-2);
}

/* line 170, app/assets/stylesheets/_wiki_kb.scss */
.kb-chip:hover {
  border-color: #c9c9c4;
}

/* line 171, app/assets/stylesheets/_wiki_kb.scss */
.kb-chip.is-on {
  background: var(--kb-ink);
  border-color: var(--kb-ink);
  color: #fff;
}

/* ───────── sidebar ───────── */
/* line 176, app/assets/stylesheets/_wiki_kb.scss */
.kb-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--kb-side);
  border-right: 1px solid var(--kb-line);
  overflow: hidden;
}

/* line 185, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 10px 16px;
}

/* line 192, app/assets/stylesheets/_wiki_kb.scss */
.kb-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3f3dc8, #7c6cf0);
  color: #fff;
  flex: none;
}

/* line 203, app/assets/stylesheets/_wiki_kb.scss */
.kb-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

/* line 208, app/assets/stylesheets/_wiki_kb.scss */
.kb-brand-copy strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 209, app/assets/stylesheets/_wiki_kb.scss */
.kb-brand-copy em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--kb-muted);
}

/* line 212, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 8px;
  height: 34px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius-sm);
  background: var(--kb-surface);
  color: var(--kb-faint);
  text-align: left;
}

/* line 224, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-search span {
  flex: 1;
  font-size: 13px;
}

/* line 225, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-search:hover {
  border-color: #d4d4cf;
}

/* line 228, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 8px 16px;
}

/* line 235, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-group {
  margin-top: 2px;
}

/* line 236, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-group + .kb-nav-group {
  margin-top: 14px;
}

/* line 238, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 4px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kb-faint);
}

/* line 250, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--kb-ink-2);
  text-align: left;
  font-size: 13.5px;
}

/* line 264, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-item:hover {
  background: var(--kb-hover);
}

/* line 265, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-item.is-on {
  background: #ebebe7;
  color: var(--kb-ink);
  font-weight: 600;
}

/* line 266, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-item.is-on .kb-nav-ico {
  color: var(--kb-primary);
}

/* line 269, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-ico {
  display: grid;
  place-items: center;
  color: var(--kb-muted);
}

/* line 270, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 271, app/assets/stylesheets/_wiki_kb.scss */
.kb-nav-badge {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #fff4e5;
  color: #b45309;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

/* line 282, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-hint {
  padding: 4px 8px;
  font-size: 12.5px;
  color: var(--kb-faint);
}

/* line 284, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-row {
  display: flex;
  align-items: center;
  height: 30px;
  padding-left: calc(var(--kb-depth, 0) * 14px);
  border-radius: 7px;
}

/* line 291, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-row:hover {
  background: var(--kb-hover);
}

/* line 292, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-row:hover .kb-tree-add {
  opacity: 1;
}

/* line 293, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-row.is-on {
  background: #ebebe7;
}

/* line 294, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-row.is-on .kb-tree-label {
  font-weight: 600;
  color: var(--kb-ink);
}

/* line 297, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-space.is-on > .kb-tree-row {
  background: #ebebe7;
}

/* line 298, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-space.is-on > .kb-tree-row .kb-tree-label {
  font-weight: 600;
}

/* line 300, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-caret {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--kb-faint);
  flex: none;
  margin-left: 2px;
}

/* line 311, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-caret svg {
  transition: transform 0.15s;
}

/* line 312, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-caret.is-open svg {
  transform: rotate(90deg);
}

/* line 313, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-caret:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--kb-ink);
}

/* line 314, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-caret.is-leaf {
  pointer-events: none;
}

/* line 317, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 0 4px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--kb-ink-2);
  font-size: 13.5px;
}

/* line 332, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 333, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-emoji {
  width: 18px;
  text-align: center;
  font-size: 14px;
  flex: none;
}

/* line 334, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-lock {
  color: var(--kb-faint);
  display: grid;
}

/* line 335, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-add {
  opacity: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--kb-muted);
  flex: none;
}

/* line 347, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-add:hover {
  background: rgba(0, 0, 0, 0.07);
  color: var(--kb-ink);
}

/* line 348, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-add:focus-visible {
  opacity: 1;
}

/* line 350, app/assets/stylesheets/_wiki_kb.scss */
.kb-tree-empty {
  padding: 4px 0 6px 44px;
  font-size: 12.5px;
  color: var(--kb-faint);
}

/* line 352, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-top: 1px solid var(--kb-line);
}

/* line 360, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-me {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* line 365, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-me strong {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 366, app/assets/stylesheets/_wiki_kb.scss */
.kb-side-me em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--kb-muted);
}

/* line 369, app/assets/stylesheets/_wiki_kb.scss */
.kb-scrim {
  display: none;
}

/* ───────── avatars, glyphs, pills ───────── */
/* line 373, app/assets/stylesheets/_wiki_kb.scss */
.kb-avatar {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--kb-tone, #4f46e5) 16%, #fff);
  color: var(--kb-tone, #4f46e5);
  font-size: 11.5px;
  font-weight: 700;
  object-fit: cover;
  flex: none;
}

/* line 386, app/assets/stylesheets/_wiki_kb.scss */
.kb-avatar.is-sm {
  width: 26px;
  height: 26px;
  font-size: 10.5px;
}

/* line 387, app/assets/stylesheets/_wiki_kb.scss */
.kb-avatar.is-xs {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

/* line 390, app/assets/stylesheets/_wiki_kb.scss */
.kb-avatar-stack {
  display: flex;
}

/* line 392, app/assets/stylesheets/_wiki_kb.scss */
.kb-avatar-stack .kb-avatar {
  box-shadow: 0 0 0 2px var(--kb-bg);
}

/* line 393, app/assets/stylesheets/_wiki_kb.scss */
.kb-avatar-stack .kb-avatar + .kb-avatar {
  margin-left: -7px;
}

/* line 396, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-glyph {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--kb-tone) 13%, #fff);
  color: var(--kb-tone);
  font-size: 15px;
  font-weight: 700;
  flex: none;
}

/* line 408, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-glyph.is-xs {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 11.5px;
}

/* line 409, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-glyph.is-sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 18px;
}

/* line 410, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-glyph.is-md {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 22px;
}

/* line 411, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-glyph.is-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 34px;
  box-shadow: 0 0 0 4px var(--kb-bg);
}

/* line 414, app/assets/stylesheets/_wiki_kb.scss */
.kb-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--kb-tone) 11%, #fff);
  color: color-mix(in srgb, var(--kb-tone) 85%, #000);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* line 426, app/assets/stylesheets/_wiki_kb.scss */
.kb-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kb-tone);
}

/* line 427, app/assets/stylesheets/_wiki_kb.scss */
.kb-status.is-compact {
  height: 22px;
  padding: 0 8px;
  font-size: 11.5px;
}

/* line 430, app/assets/stylesheets/_wiki_kb.scss */
.kb-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f1f1ee;
  color: var(--kb-ink-2);
  font-size: 12px;
  white-space: nowrap;
}

/* line 441, app/assets/stylesheets/_wiki_kb.scss */
.kb-tag button {
  border: 0;
  background: none;
  padding: 0 0 0 2px;
  color: var(--kb-faint);
  font-size: 14px;
  line-height: 1;
}

/* line 442, app/assets/stylesheets/_wiki_kb.scss */
.kb-tag button:hover {
  color: var(--kb-danger);
}

/* line 443, app/assets/stylesheets/_wiki_kb.scss */
.kb-tag.is-more {
  color: var(--kb-muted);
}

/* line 445, app/assets/stylesheets/_wiki_kb.scss */
.kb-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* line 447, app/assets/stylesheets/_wiki_kb.scss */
.kb-role {
  font-size: 11.5px;
  color: var(--kb-muted);
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f1ee;
  text-transform: capitalize;
  white-space: nowrap;
}

/* line 457, app/assets/stylesheets/_wiki_kb.scss */
.kb-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #efefec;
  color: var(--kb-muted);
  font-size: 11.5px;
  font-weight: 650;
}

/* ───────── main / topbar ───────── */
/* line 472, app/assets/stylesheets/_wiki_kb.scss */
.kb-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* line 480, app/assets/stylesheets/_wiki_kb.scss */
.kb-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 12px 0 20px;
  border-bottom: 1px solid var(--kb-line-2);
  background: rgba(250, 250, 249, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  flex: none;
  z-index: 3;
}

/* line 493, app/assets/stylesheets/_wiki_kb.scss */
.kb-crumbs {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  white-space: nowrap;
}

/* line 503, app/assets/stylesheets/_wiki_kb.scss */
.kb-crumb {
  border: 0;
  background: transparent;
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--kb-muted);
  font-size: 13.5px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 513, app/assets/stylesheets/_wiki_kb.scss */
.kb-crumb:hover {
  background: var(--kb-hover);
  color: var(--kb-ink);
}

/* line 514, app/assets/stylesheets/_wiki_kb.scss */
.kb-crumb.is-current {
  color: var(--kb-ink);
  font-weight: 600;
}

/* line 516, app/assets/stylesheets/_wiki_kb.scss */
.kb-crumb-sep {
  color: #c8c8c3;
}

/* line 518, app/assets/stylesheets/_wiki_kb.scss */
.kb-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

/* line 520, app/assets/stylesheets/_wiki_kb.scss */
.kb-save {
  font-size: 12px;
  color: var(--kb-faint);
  margin-right: 6px;
}

/* line 524, app/assets/stylesheets/_wiki_kb.scss */
.kb-save[data-state="error"] {
  color: var(--kb-danger);
  font-weight: 600;
}

/* line 525, app/assets/stylesheets/_wiki_kb.scss */
.kb-save[data-state="dirty"] {
  color: #b45309;
}

/* line 528, app/assets/stylesheets/_wiki_kb.scss */
.kb-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 20px 0;
  padding: 9px 12px;
  border-radius: var(--kb-radius-sm);
  font-size: 13px;
}

/* line 536, app/assets/stylesheets/_wiki_kb.scss */
.kb-banner.is-offline {
  background: #fff7e6;
  color: #8a5a00;
}

/* line 537, app/assets/stylesheets/_wiki_kb.scss */
.kb-banner.is-error {
  background: #fef3f2;
  color: #b42318;
}

/* line 538, app/assets/stylesheets/_wiki_kb.scss */
.kb-banner button {
  margin-left: auto;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* line 541, app/assets/stylesheets/_wiki_kb.scss */
.kb-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* line 543, app/assets/stylesheets/_wiki_kb.scss */
.kb-page-pad {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 32px 64px;
}

/* line 547, app/assets/stylesheets/_wiki_kb.scss */
.kb-page-pad.is-narrow {
  max-width: 780px;
}

/* line 548, app/assets/stylesheets/_wiki_kb.scss */
.kb-page-pad.is-wide {
  max-width: 1320px;
}

/* line 549, app/assets/stylesheets/_wiki_kb.scss */
.kb-page-pad.is-space {
  padding-top: 0;
}

/* line 552, app/assets/stylesheets/_wiki_kb.scss */
.kb-view-head {
  margin-bottom: 20px;
}

/* line 554, app/assets/stylesheets/_wiki_kb.scss */
.kb-view-head h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 555, app/assets/stylesheets/_wiki_kb.scss */
.kb-view-head p {
  margin-top: 4px;
  color: var(--kb-muted);
  font-size: 14px;
}

/* line 556, app/assets/stylesheets/_wiki_kb.scss */
.kb-view-head.is-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* line 559, app/assets/stylesheets/_wiki_kb.scss */
.kb-section {
  margin-top: 28px;
}

/* line 560, app/assets/stylesheets/_wiki_kb.scss */
.kb-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

/* line 565, app/assets/stylesheets/_wiki_kb.scss */
.kb-section-head h2 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* line 567, app/assets/stylesheets/_wiki_kb.scss */
.kb-section-action {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 569, app/assets/stylesheets/_wiki_kb.scss */
.kb-card {
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  box-shadow: var(--kb-shadow);
}

/* line 574, app/assets/stylesheets/_wiki_kb.scss */
.kb-card.kb-section {
  padding: 16px 18px;
}

/* ───────── home ───────── */
/* line 579, app/assets/stylesheets/_wiki_kb.scss */
.kb-hero {
  display: grid;
  gap: 18px;
  padding: 28px 28px 24px;
  border-radius: 16px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(124, 108, 240, 0.16), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(56, 189, 248, 0.12), transparent 60%), var(--kb-surface);
  border: 1px solid var(--kb-line);
}

/* line 591, app/assets/stylesheets/_wiki_kb.scss */
.kb-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--kb-primary);
  text-transform: capitalize;
}

/* line 592, app/assets/stylesheets/_wiki_kb.scss */
.kb-hero-copy h1 {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

/* line 593, app/assets/stylesheets/_wiki_kb.scss */
.kb-hero-sub {
  margin-top: 4px;
  color: var(--kb-muted);
}

/* line 595, app/assets/stylesheets/_wiki_kb.scss */
.kb-hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  height: 46px;
  padding: 0 12px 0 16px;
  border: 1px solid var(--kb-line);
  border-radius: 12px;
  background: var(--kb-surface);
  color: var(--kb-faint);
  box-shadow: var(--kb-shadow);
  text-align: left;
}

/* line 608, app/assets/stylesheets/_wiki_kb.scss */
.kb-hero-search span {
  flex: 1;
  font-size: 14.5px;
}

/* line 609, app/assets/stylesheets/_wiki_kb.scss */
.kb-hero-search:hover {
  border-color: #c9c9f0;
  box-shadow: 0 0 0 4px rgba(63, 61, 200, 0.08);
}

/* line 612, app/assets/stylesheets/_wiki_kb.scss */
.kb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 614, app/assets/stylesheets/_wiki_kb.scss */
.kb-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

/* line 620, app/assets/stylesheets/_wiki_kb.scss */
.kb-quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: var(--kb-surface);
  text-align: left;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}

/* line 632, app/assets/stylesheets/_wiki_kb.scss */
.kb-quick-card strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 633, app/assets/stylesheets/_wiki_kb.scss */
.kb-quick-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--kb-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 634, app/assets/stylesheets/_wiki_kb.scss */
.kb-quick-card:hover {
  border-color: #d6d6d1;
  box-shadow: var(--kb-shadow);
  transform: translateY(-1px);
}

/* line 637, app/assets/stylesheets/_wiki_kb.scss */
.kb-quick-emoji {
  font-size: 22px;
  line-height: 1;
}

/* line 638, app/assets/stylesheets/_wiki_kb.scss */
.kb-quick-hint {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--kb-faint);
}

/* line 640, app/assets/stylesheets/_wiki_kb.scss */
.kb-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  margin-top: 28px;
  align-items: start;
}

/* line 646, app/assets/stylesheets/_wiki_kb.scss */
.kb-home-grid > .kb-section, .kb-home-grid .kb-home-side > .kb-section {
  margin-top: 0;
}

/* line 649, app/assets/stylesheets/_wiki_kb.scss */
.kb-home-side {
  display: grid;
  gap: 16px;
}

/* line 650, app/assets/stylesheets/_wiki_kb.scss */
.kb-home-grid > *, .kb-space-cols > *, .kb-tpl-layout > *, .kb-chart-grid > *, .kb-doc-layout > * {
  min-width: 0;
}

/* line 652, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending {
  display: grid;
  gap: 2px;
}

/* line 653, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  color: var(--kb-ink-2);
}

/* line 664, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending-row span:nth-child(2) {
  flex: 1;
}

/* line 665, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending-row strong {
  font-size: 14px;
}

/* line 666, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending-row:hover {
  background: var(--kb-hover);
}

/* line 667, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending-row[data-zero] {
  color: var(--kb-faint);
}

/* line 668, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending-row[data-zero] strong {
  color: var(--kb-faint);
  font-weight: 500;
}

/* line 670, app/assets/stylesheets/_wiki_kb.scss */
.kb-pending-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--kb-tone) 12%, #fff);
  color: var(--kb-tone);
}

/* line 680, app/assets/stylesheets/_wiki_kb.scss */
.kb-onboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

/* line 681, app/assets/stylesheets/_wiki_kb.scss */
.kb-onboard-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px dashed #d4d4cf;
  border-radius: var(--kb-radius);
  background: var(--kb-surface);
  text-align: left;
}

/* line 689, app/assets/stylesheets/_wiki_kb.scss */
.kb-onboard-card strong {
  font-size: 15px;
}

/* line 690, app/assets/stylesheets/_wiki_kb.scss */
.kb-onboard-card em {
  font-style: normal;
  color: var(--kb-muted);
  font-size: 13px;
}

/* line 691, app/assets/stylesheets/_wiki_kb.scss */
.kb-onboard-card:hover {
  border-color: var(--kb-primary);
  border-style: solid;
}

/* ───────── tables & lists ───────── */
/* line 696, app/assets/stylesheets/_wiki_kb.scss */
.kb-table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
}

/* line 698, app/assets/stylesheets/_wiki_kb.scss */
.kb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

/* line 703, app/assets/stylesheets/_wiki_kb.scss */
.kb-table th {
  padding: 8px 10px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--kb-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--kb-line);
  white-space: nowrap;
}

/* line 714, app/assets/stylesheets/_wiki_kb.scss */
.kb-table td {
  padding: 10px;
  border-bottom: 1px solid var(--kb-line-2);
  vertical-align: middle;
  white-space: nowrap;
}

/* line 720, app/assets/stylesheets/_wiki_kb.scss */
.kb-table tbody tr:last-child td {
  border-bottom: 0;
}

/* line 721, app/assets/stylesheets/_wiki_kb.scss */
.kb-table.is-compact td {
  padding: 8px 10px;
}

/* line 722, app/assets/stylesheets/_wiki_kb.scss */
.kb-table.is-matrix td:not(:first-child), .kb-table.is-matrix th:not(:first-child) {
  text-align: center;
}

/* line 725, app/assets/stylesheets/_wiki_kb.scss */
.kb-row {
  cursor: pointer;
}

/* line 725, app/assets/stylesheets/_wiki_kb.scss */
.kb-row:hover td {
  background: #fafaf8;
}

/* line 725, app/assets/stylesheets/_wiki_kb.scss */
.kb-row:focus-visible {
  outline-offset: -2px;
}

/* line 727, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 460px;
}

/* line 728, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-emoji {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex: none;
}

/* line 729, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-name {
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 730, app/assets/stylesheets/_wiki_kb.scss */
.kb-lock {
  color: var(--kb-faint);
  display: grid;
}

/* line 731, app/assets/stylesheets/_wiki_kb.scss */
.kb-due, .kb-is-due {
  color: #b45309;
}

/* line 732, app/assets/stylesheets/_wiki_kb.scss */
.kb-due {
  font-size: 11px;
  font-weight: 650;
  padding: 1px 6px;
  border-radius: 5px;
  background: #fff4e5;
}

/* line 733, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-cell, .kb-person-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--kb-ink-2);
}

/* line 734, app/assets/stylesheets/_wiki_kb.scss */
.kb-col-when {
  color: var(--kb-muted);
}

/* line 735, app/assets/stylesheets/_wiki_kb.scss */
.kb-col-act {
  width: 36px;
  text-align: right;
}

/* line 737, app/assets/stylesheets/_wiki_kb.scss */
.kb-star {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #cfcfca;
}

/* line 746, app/assets/stylesheets/_wiki_kb.scss */
.kb-star:hover {
  background: var(--kb-hover);
  color: #e0a100;
}

/* line 747, app/assets/stylesheets/_wiki_kb.scss */
.kb-star.is-on {
  color: #e0a100;
}

/* line 747, app/assets/stylesheets/_wiki_kb.scss */
.kb-star.is-on svg {
  fill: currentColor;
}

/* line 750, app/assets/stylesheets/_wiki_kb.scss */
.kb-list {
  display: grid;
  gap: 1px;
}

/* line 751, app/assets/stylesheets/_wiki_kb.scss */
.kb-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  min-width: 0;
}

/* line 761, app/assets/stylesheets/_wiki_kb.scss */
.kb-list-row:hover:not(.is-static) {
  background: var(--kb-hover);
}

/* line 763, app/assets/stylesheets/_wiki_kb.scss */
.kb-list-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* line 768, app/assets/stylesheets/_wiki_kb.scss */
.kb-list-copy strong {
  font-size: 13.5px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 769, app/assets/stylesheets/_wiki_kb.scss */
.kb-list-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--kb-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 770, app/assets/stylesheets/_wiki_kb.scss */
.kb-list-copy q {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--kb-ink-2);
  quotes: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 772, app/assets/stylesheets/_wiki_kb.scss */
.kb-list-chev {
  color: #cfcfca;
  display: grid;
}

/* line 774, app/assets/stylesheets/_wiki_kb.scss */
.kb-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 40px 20px;
  text-align: center;
}

/* line 780, app/assets/stylesheets/_wiki_kb.scss */
.kb-empty strong {
  font-size: 15px;
}

/* line 781, app/assets/stylesheets/_wiki_kb.scss */
.kb-empty p {
  color: var(--kb-muted);
  font-size: 13.5px;
  max-width: 380px;
}

/* line 783, app/assets/stylesheets/_wiki_kb.scss */
.kb-empty-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border-radius: 13px;
  background: var(--kb-primary-soft);
  color: var(--kb-primary);
}

/* line 793, app/assets/stylesheets/_wiki_kb.scss */
.kb-empty-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* line 795, app/assets/stylesheets/_wiki_kb.scss */
.kb-skeleton {
  display: grid;
  gap: 10px;
  padding: 8px 0;
}

/* line 799, app/assets/stylesheets/_wiki_kb.scss */
.kb-skeleton span {
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, #efefec 25%, #f6f6f3 50%, #efefec 75%);
  background-size: 200% 100%;
  animation: kb-shimmer 1.2s infinite linear;
}

/* line 806, app/assets/stylesheets/_wiki_kb.scss */
.kb-skeleton span:nth-child(2n) {
  width: 82%;
}

@keyframes kb-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* ───────── toolbar controls ───────── */
/* line 812, app/assets/stylesheets/_wiki_kb.scss */
.kb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

/* line 819, app/assets/stylesheets/_wiki_kb.scss */
.kb-toolbar-spacer {
  flex: 1;
}

/* line 821, app/assets/stylesheets/_wiki_kb.scss */
.kb-field-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  width: 280px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius-sm);
  background: var(--kb-surface);
  color: var(--kb-faint);
}

/* line 833, app/assets/stylesheets/_wiki_kb.scss */
.kb-field-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--kb-ink);
  font-size: 13.5px;
}

/* line 834, app/assets/stylesheets/_wiki_kb.scss */
.kb-field-search:focus-within {
  border-color: #a9a8ea;
  box-shadow: 0 0 0 3px rgba(63, 61, 200, 0.1);
}

/* line 835, app/assets/stylesheets/_wiki_kb.scss */
.kb-field-search.is-sm {
  height: 30px;
  width: 200px;
}

/* line 838, app/assets/stylesheets/_wiki_kb.scss */
.kb-select-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 4px 0 10px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius-sm);
  background: var(--kb-surface);
  color: var(--kb-muted);
  font-size: 13px;
}

/* line 849, app/assets/stylesheets/_wiki_kb.scss */
.kb-select-inline select {
  border: 0;
  background: transparent;
  color: var(--kb-ink);
  font-size: 13px;
  outline: 0;
  padding: 0 4px;
}

/* line 852, app/assets/stylesheets/_wiki_kb.scss */
.kb-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--kb-ink-2);
}

/* line 858, app/assets/stylesheets/_wiki_kb.scss */
.kb-check input {
  accent-color: var(--kb-primary);
}

/* line 859, app/assets/stylesheets/_wiki_kb.scss */
.kb-check.is-sm {
  font-size: 12.5px;
  margin: 8px 0;
}

/* line 862, app/assets/stylesheets/_wiki_kb.scss */
.kb-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 9px;
  background: #efefec;
}

/* line 867, app/assets/stylesheets/_wiki_kb.scss */
.kb-seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--kb-muted);
  font-size: 13px;
  font-weight: 550;
}

/* line 880, app/assets/stylesheets/_wiki_kb.scss */
.kb-seg button.is-on {
  background: var(--kb-surface);
  color: var(--kb-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* line 881, app/assets/stylesheets/_wiki_kb.scss */
.kb-seg.is-icons button {
  padding: 0 8px;
}

/* line 884, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--kb-line);
  overflow-x: auto;
}

/* line 890, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--kb-muted);
  font-weight: 550;
  white-space: nowrap;
}

/* line 904, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs button:hover {
  color: var(--kb-ink);
}

/* line 905, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs button.is-on {
  color: var(--kb-ink);
  border-bottom-color: var(--kb-primary);
}

/* line 906, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs button.is-on .kb-count {
  background: var(--kb-primary-soft);
  color: var(--kb-primary);
}

/* line 908, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs.is-pills {
  border-bottom: 0;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 909, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs.is-pills button {
  height: 32px;
  border: 1px solid var(--kb-line);
  border-radius: 999px;
  margin: 0;
  background: var(--kb-surface);
}

/* line 910, app/assets/stylesheets/_wiki_kb.scss */
.kb-tabs.is-pills button.is-on {
  background: var(--kb-ink);
  border-color: var(--kb-ink);
  color: #fff;
}

/* line 913, app/assets/stylesheets/_wiki_kb.scss */
.kb-result-count {
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--kb-muted);
}

/* ───────── spaces ───────── */
/* line 917, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

/* line 921, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-grid.is-list {
  grid-template-columns: 1fr;
  gap: 8px;
}

/* line 924, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: var(--kb-surface);
  text-align: left;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}

/* line 934, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card:hover {
  border-color: #d6d6d1;
  box-shadow: var(--kb-shadow);
  transform: translateY(-1px);
}

/* line 936, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card.is-list {
  flex-direction: row;
  align-items: center;
  transform: none;
}

/* line 937, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card.is-list .kb-space-card-top {
  flex: none;
}

/* line 938, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card.is-list .kb-access {
  display: none;
}

/* line 939, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card.is-list .kb-space-card-body {
  flex: 1;
  min-width: 0;
}

/* line 940, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card.is-list .kb-space-card-body em {
  -webkit-line-clamp: 1;
}

/* line 941, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card.is-list .kb-space-card-meta {
  border-top: 0;
  padding-top: 0;
  flex: none;
}

/* line 944, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* line 945, app/assets/stylesheets/_wiki_kb.scss */
.kb-access {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef7f2;
  color: #067647;
  font-size: 11.5px;
  font-weight: 600;
}

/* line 955, app/assets/stylesheets/_wiki_kb.scss */
.kb-access.is-private {
  background: #f2f2f0;
  color: var(--kb-muted);
}

/* line 957, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card-body {
  display: grid;
  gap: 3px;
}

/* line 960, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card-body strong {
  font-size: 15px;
  font-weight: 650;
}

/* line 961, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card-body em {
  font-style: normal;
  color: var(--kb-muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

/* line 963, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--kb-line-2);
  font-size: 12px;
  color: var(--kb-muted);
}

/* line 974, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-cover {
  height: 120px;
  background: radial-gradient(80% 160% at 85% 0%, color-mix(in srgb, var(--kb-tone) 40%, transparent), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--kb-tone) 18%, #fff), color-mix(in srgb, var(--kb-tone) 6%, #fff));
}

/* line 981, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: -32px;
}

/* line 986, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-head h1 {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* line 987, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-head p {
  margin-top: 3px;
  color: var(--kb-muted);
}

/* line 988, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-head .kb-avatar-stack {
  margin-left: auto;
  padding-bottom: 6px;
}

/* line 990, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-head-copy {
  min-width: 0;
  padding-bottom: 2px;
}

/* line 991, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--kb-muted);
}

/* line 999, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-facts > span, .kb-space-facts > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 1001, app/assets/stylesheets/_wiki_kb.scss */
.kb-facts-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--kb-muted);
  font-size: 12.5px;
}

/* line 1001, app/assets/stylesheets/_wiki_kb.scss */
.kb-facts-link:hover {
  color: var(--kb-primary);
}

/* line 1003, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  margin-top: 24px;
  align-items: start;
}

/* line 1009, app/assets/stylesheets/_wiki_kb.scss */
.kb-space-cols > .kb-section {
  margin-top: 0;
}

/* line 1012, app/assets/stylesheets/_wiki_kb.scss */
.kb-otree {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--kb-line-2);
}

/* line 1017, app/assets/stylesheets/_wiki_kb.scss */
.kb-otree.is-root {
  padding-left: 0;
  border-left: 0;
}

/* line 1018, app/assets/stylesheets/_wiki_kb.scss */
.kb-otree button {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  color: var(--kb-ink-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* line 1034, app/assets/stylesheets/_wiki_kb.scss */
.kb-otree button:hover {
  background: var(--kb-hover);
}

/* line 1036, app/assets/stylesheets/_wiki_kb.scss */
.kb-archived-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
}

/* settings */
/* line 1040, app/assets/stylesheets/_wiki_kb.scss */
.kb-settings-body {
  padding: 20px 22px;
}

/* line 1041, app/assets/stylesheets/_wiki_kb.scss */
.kb-members h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 10px;
  font-size: 14px;
  font-weight: 650;
}

/* line 1042, app/assets/stylesheets/_wiki_kb.scss */
.kb-members h3:first-child {
  margin-top: 0;
}

/* line 1043, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-list {
  display: grid;
  gap: 2px;
}

/* line 1043, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-list.is-compact {
  margin-bottom: 6px;
}

/* line 1044, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--kb-line-2);
}

/* line 1050, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-row select {
  height: 30px;
  border: 1px solid var(--kb-line);
  border-radius: 7px;
  background: var(--kb-surface);
  padding: 0 6px;
  font-size: 13px;
}

/* line 1052, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* line 1057, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-copy strong {
  font-size: 13.5px;
  font-weight: 550;
}

/* line 1057, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-copy strong em {
  font-style: normal;
  color: var(--kb-faint);
  font-weight: 400;
}

/* line 1058, app/assets/stylesheets/_wiki_kb.scss */
.kb-member-copy > em {
  font-style: normal;
  font-size: 12px;
  color: var(--kb-muted);
}

/* line 1060, app/assets/stylesheets/_wiki_kb.scss */
.kb-friend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px;
  margin: 10px 0;
  max-height: 220px;
  overflow: auto;
}

/* line 1061, app/assets/stylesheets/_wiki_kb.scss */
.kb-friend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 13px;
}

/* line 1061, app/assets/stylesheets/_wiki_kb.scss */
.kb-friend-row:hover {
  background: var(--kb-hover);
}

/* line 1061, app/assets/stylesheets/_wiki_kb.scss */
.kb-friend-row input {
  accent-color: var(--kb-primary);
}

/* line 1062, app/assets/stylesheets/_wiki_kb.scss */
.kb-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* line 1062, app/assets/stylesheets/_wiki_kb.scss */
.kb-inline-form input {
  flex: 1;
  min-width: 200px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--kb-line);
  border-radius: 7px;
}

/* line 1063, app/assets/stylesheets/_wiki_kb.scss */
.kb-yes {
  color: #059669;
  display: inline-grid;
}

/* line 1064, app/assets/stylesheets/_wiki_kb.scss */
.kb-no {
  color: var(--kb-faint);
}

/* line 1065, app/assets/stylesheets/_wiki_kb.scss */
.kb-danger-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #fecdca;
  border-radius: 10px;
  background: #fffbfa;
}

/* line 1073, app/assets/stylesheets/_wiki_kb.scss */
.kb-danger-row > div {
  flex: 1;
}

/* line 1074, app/assets/stylesheets/_wiki_kb.scss */
.kb-danger-row p {
  color: var(--kb-muted);
  font-size: 13px;
  margin-top: 2px;
}

/* ───────── board ───────── */
/* line 1079, app/assets/stylesheets/_wiki_kb.scss */
.kb-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

/* line 1087, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-col {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 10px;
  border-radius: var(--kb-radius);
  background: #f3f3f0;
}

/* line 1094, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-col header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 10px;
}

/* line 1096, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

/* line 1097, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--kb-line);
  border-radius: 10px;
  background: var(--kb-surface);
  text-align: left;
  box-shadow: var(--kb-shadow);
}

/* line 1106, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-card strong {
  font-size: 13.5px;
  font-weight: 600;
}

/* line 1107, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--kb-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 1108, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-card:hover {
  border-color: #cfcfca;
}

/* line 1110, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--kb-muted);
}

/* line 1111, app/assets/stylesheets/_wiki_kb.scss */
.kb-board-empty {
  padding: 16px 4px;
  text-align: center;
  font-size: 12.5px;
  color: var(--kb-faint);
}

/* ───────── templates ───────── */
/* line 1115, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

/* line 1116, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

/* line 1117, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-card {
  display: grid;
  gap: 4px;
  padding: 10px 10px 14px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: var(--kb-surface);
  text-align: left;
}

/* line 1125, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-card strong {
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 4px 0;
}

/* line 1126, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--kb-muted);
  padding: 0 4px;
}

/* line 1127, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-card:hover {
  border-color: #d6d6d1;
  box-shadow: var(--kb-shadow);
}

/* line 1128, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-card.is-on {
  border-color: var(--kb-primary);
  box-shadow: 0 0 0 3px rgba(63, 61, 200, 0.12);
}

/* line 1130, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-thumb {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: end;
  height: 92px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(160deg, #f6f6ff, #f4f4f1);
}

/* line 1139, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-thumb i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #e2e2ec;
}

/* line 1140, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-thumb i:nth-child(3) {
  width: 70%;
}

/* line 1141, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-thumb i:nth-child(4) {
  width: 45%;
}

/* line 1143, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-emoji {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 24px;
}

/* line 1144, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-group {
  margin: 4px 4px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--kb-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 1145, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-preview {
  position: sticky;
  top: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
}

/* line 1146, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-preview-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* line 1146, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-preview-head strong {
  display: block;
  font-size: 15px;
}

/* line 1146, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-preview-head em {
  font-style: normal;
  color: var(--kb-muted);
  font-size: 12.5px;
}

/* line 1147, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-preview-body {
  max-height: 360px;
  overflow: auto;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fafaf8;
  font-size: 13px;
  pointer-events: none;
}

/* ───────── reviews ───────── */
/* line 1151, app/assets/stylesheets/_wiki_kb.scss */
.kb-lifecycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

/* line 1152, app/assets/stylesheets/_wiki_kb.scss */
.kb-lifecycle-arrow {
  color: var(--kb-faint);
  display: grid;
}

/* line 1153, app/assets/stylesheets/_wiki_kb.scss */
.kb-lifecycle-alt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: var(--kb-muted);
  font-size: 12.5px;
}

/* line 1154, app/assets/stylesheets/_wiki_kb.scss */
.kb-review-list {
  display: grid;
}

/* line 1155, app/assets/stylesheets/_wiki_kb.scss */
.kb-review-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--kb-line-2);
}

/* line 1161, app/assets/stylesheets/_wiki_kb.scss */
.kb-review-row:last-child {
  border-bottom: 0;
}

/* line 1163, app/assets/stylesheets/_wiki_kb.scss */
.kb-review-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  text-align: left;
  padding: 4px 0;
}

/* line 1164, app/assets/stylesheets/_wiki_kb.scss */
.kb-review-actions {
  display: flex;
  gap: 6px;
  flex: none;
}

/* ───────── AI ───────── */
/* line 1168, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-head {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 0 22px;
  text-align: center;
}

/* line 1174, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-head h1 {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* line 1175, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-head p {
  color: var(--kb-muted);
  max-width: 520px;
}

/* line 1177, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3f3dc8, #a78bfa);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 88, 230, 0.3);
}

/* line 1187, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--kb-line);
  border-radius: 14px;
  background: var(--kb-surface);
  box-shadow: var(--kb-shadow);
}

/* line 1196, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-form textarea {
  flex: 1;
  min-height: 44px;
  border: 0;
  outline: 0;
  resize: vertical;
  font-size: 15px;
  padding: 6px 0;
  background: transparent;
}

/* line 1197, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-form:focus-within {
  border-color: #a9a8ea;
  box-shadow: 0 0 0 4px rgba(63, 61, 200, 0.1);
}

/* line 1199, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-suggest {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

/* line 1200, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-sources {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

/* line 1201, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-source {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: var(--kb-surface);
  text-align: left;
}

/* line 1211, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-source:hover {
  border-color: #cfcfca;
}

/* line 1212, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-source .kb-list-copy strong, .kb-ai-source .kb-list-copy em {
  white-space: normal;
}

/* line 1214, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--kb-primary-soft);
  color: var(--kb-primary);
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

/* line 1226, app/assets/stylesheets/_wiki_kb.scss */
.kb-ai-cta {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin-top: 16px;
}

/* ───────── analytics ───────── */
/* line 1230, app/assets/stylesheets/_wiki_kb.scss */
.kb-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

/* line 1231, app/assets/stylesheets/_wiki_kb.scss */
.kb-kpi {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: var(--kb-surface);
  box-shadow: var(--kb-shadow);
  border-top: 3px solid var(--kb-tone);
}

/* line 1240, app/assets/stylesheets/_wiki_kb.scss */
.kb-kpi span {
  font-size: 12.5px;
  color: var(--kb-muted);
  font-weight: 550;
}

/* line 1241, app/assets/stylesheets/_wiki_kb.scss */
.kb-kpi strong {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* line 1242, app/assets/stylesheets/_wiki_kb.scss */
.kb-kpi em {
  font-style: normal;
  font-size: 12px;
  color: var(--kb-faint);
}

/* line 1244, app/assets/stylesheets/_wiki_kb.scss */
.kb-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

/* line 1245, app/assets/stylesheets/_wiki_kb.scss */
.kb-chart {
  padding: 16px 18px;
}

/* line 1246, app/assets/stylesheets/_wiki_kb.scss */
.kb-cols {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding-top: 16px;
}

/* line 1247, app/assets/stylesheets/_wiki_kb.scss */
.kb-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

/* line 1255, app/assets/stylesheets/_wiki_kb.scss */
.kb-col i {
  display: block;
  width: 100%;
  max-width: 34px;
  min-height: 2px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6d5ce7, #3f3dc8);
}

/* line 1256, app/assets/stylesheets/_wiki_kb.scss */
.kb-col em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--kb-faint);
  white-space: nowrap;
}

/* line 1258, app/assets/stylesheets/_wiki_kb.scss */
.kb-col-val {
  font-size: 11px;
  color: var(--kb-muted);
  font-weight: 600;
}

/* line 1259, app/assets/stylesheets/_wiki_kb.scss */
.kb-stack {
  display: flex;
  height: 14px;
  gap: 2px;
  border-radius: 7px;
  overflow: hidden;
  margin: 14px 0 16px;
}

/* line 1266, app/assets/stylesheets/_wiki_kb.scss */
.kb-stack i {
  background: var(--kb-tone);
  min-width: 4px;
}

/* line 1268, app/assets/stylesheets/_wiki_kb.scss */
.kb-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

/* line 1274, app/assets/stylesheets/_wiki_kb.scss */
.kb-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

/* line 1275, app/assets/stylesheets/_wiki_kb.scss */
.kb-legend li i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--kb-tone);
}

/* line 1276, app/assets/stylesheets/_wiki_kb.scss */
.kb-legend li strong {
  margin-left: auto;
}

/* line 1278, app/assets/stylesheets/_wiki_kb.scss */
.kb-bars {
  display: grid;
  gap: 8px;
}

/* line 1279, app/assets/stylesheets/_wiki_kb.scss */
.kb-bar {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 2px 0;
  text-align: left;
  font-size: 13px;
}

/* line 1289, app/assets/stylesheets/_wiki_kb.scss */
.kb-bar strong {
  text-align: right;
}

/* line 1290, app/assets/stylesheets/_wiki_kb.scss */
.kb-bar:hover .kb-bar-label {
  color: var(--kb-primary);
}

/* line 1292, app/assets/stylesheets/_wiki_kb.scss */
.kb-bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--kb-ink-2);
}

/* line 1293, app/assets/stylesheets/_wiki_kb.scss */
.kb-bar-track {
  height: 10px;
  border-radius: 5px;
  background: #f1f1ee;
  overflow: hidden;
}

/* line 1293, app/assets/stylesheets/_wiki_kb.scss */
.kb-bar-track i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #3f3dc8, #8b7cf6);
}

/* ───────── page / editor ───────── */
/* line 1297, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* line 1302, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-layout.has-panel {
  grid-template-columns: minmax(0, 1fr) 320px;
}

/* line 1305, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-scroll {
  background: var(--kb-surface);
}

/* line 1307, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 9px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--kb-line-2);
}

/* line 1318, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow > span {
  flex: 1;
  min-width: 200px;
}

/* line 1319, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow.is-draft {
  background: #f8f8f6;
  color: var(--kb-ink-2);
}

/* line 1320, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow.is-review {
  background: #fff8eb;
  color: #8a4b00;
}

/* line 1321, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow.is-changes {
  background: #fef3f2;
  color: #b42318;
}

/* line 1322, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow.is-due {
  background: #eef0ff;
  color: #3730a3;
}

/* line 1323, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow.is-archived {
  background: #f2f2f0;
  color: var(--kb-muted);
}

/* line 1326, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 56px 120px;
}

/* line 1332, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-icon-wrap {
  position: relative;
  display: inline-block;
}

/* line 1333, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-icon {
  border: 0;
  background: transparent;
  font-size: 54px;
  line-height: 1;
  padding: 6px;
  margin-left: -6px;
  border-radius: 12px;
}

/* line 1341, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-icon:hover:not(:disabled) {
  background: var(--kb-hover);
}

/* line 1342, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-icon:disabled {
  cursor: default;
}

/* line 1345, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-title {
  display: block;
  width: 100%;
  margin: 8px 0 14px;
  border: 0;
  outline: 0;
  resize: none;
  overflow: hidden;
  background: transparent;
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--kb-ink);
}

/* line 1359, app/assets/stylesheets/_wiki_kb.scss */
.kb-doc-title::placeholder {
  color: #d0d0cb;
}

/* line 1362, app/assets/stylesheets/_wiki_kb.scss */
.kb-props {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--kb-line-2);
}

/* line 1369, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  font-size: 13.5px;
}

/* line 1376, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-k {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--kb-muted);
}

/* line 1376, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-k svg {
  color: var(--kb-faint);
}

/* line 1377, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-v {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

/* line 1383, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-v input, .kb-prop-v select {
  height: 30px;
  max-width: 100%;
  padding: 0 8px;
  margin-left: -8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  outline: 0;
  font-size: 13.5px;
}

/* line 1394, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-v input:hover:not(:disabled), .kb-prop-v select:hover:not(:disabled) {
  background: var(--kb-hover);
}

/* line 1395, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-v input:focus, .kb-prop-v select:focus {
  border-color: #a9a8ea;
  background: var(--kb-surface);
}

/* line 1396, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-v input:disabled, .kb-prop-v select:disabled {
  color: var(--kb-ink-2);
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
}

/* line 1397, app/assets/stylesheets/_wiki_kb.scss */
.kb-prop-v input::placeholder {
  color: var(--kb-faint);
}

/* line 1399, app/assets/stylesheets/_wiki_kb.scss */
.kb-tag-edit input {
  width: 110px;
  margin-left: 0;
}

/* line 1401, app/assets/stylesheets/_wiki_kb.scss */
.kb-fmtbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px;
  margin: 0 -8px 10px;
  padding: 4px;
  border: 1px solid var(--kb-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

/* line 1416, app/assets/stylesheets/_wiki_kb.scss */
.kb-flow + .kb-doc .kb-fmtbar {
  top: 44px;
}

/* line 1417, app/assets/stylesheets/_wiki_kb.scss */
.kb-fmt {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--kb-ink-2);
  font-size: 13px;
  font-weight: 600;
}

/* line 1429, app/assets/stylesheets/_wiki_kb.scss */
.kb-fmt:hover {
  background: var(--kb-hover);
  color: var(--kb-ink);
}

/* line 1431, app/assets/stylesheets/_wiki_kb.scss */
.kb-fmt-sep {
  width: 1px;
  height: 18px;
  margin: 0 4px;
  background: var(--kb-line);
}

/* line 1432, app/assets/stylesheets/_wiki_kb.scss */
.kb-fmt-hint {
  margin-left: auto;
  padding: 0 8px;
  font-size: 12px;
  color: var(--kb-faint);
}

/* line 1434, app/assets/stylesheets/_wiki_kb.scss */
.kb-readonly-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--kb-muted);
}

/* line 1436, app/assets/stylesheets/_wiki_kb.scss */
.kb-paper.tw-note-paper {
  min-height: 320px;
  padding: 4px 0 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.7;
  color: #23252b;
  outline: 0;
}

/* line 1446, app/assets/stylesheets/_wiki_kb.scss */
.kb-paper.tw-note-paper h1 {
  font-size: 28px;
  margin: 28px 0 6px;
  letter-spacing: -0.02em;
}

/* line 1447, app/assets/stylesheets/_wiki_kb.scss */
.kb-paper.tw-note-paper h2 {
  font-size: 22px;
  margin: 24px 0 4px;
  letter-spacing: -0.015em;
}

/* line 1448, app/assets/stylesheets/_wiki_kb.scss */
.kb-paper.tw-note-paper h3 {
  font-size: 18px;
  margin: 18px 0 2px;
}

/* line 1449, app/assets/stylesheets/_wiki_kb.scss */
.kb-paper.tw-note-paper a {
  color: var(--kb-primary);
}

/* line 1450, app/assets/stylesheets/_wiki_kb.scss */
.kb-paper.tw-note-paper code {
  background: #f2f2ef;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.9em;
}

/* line 1451, app/assets/stylesheets/_wiki_kb.scss */
.kb-paper.tw-note-paper .tw-note-attach.is-page {
  cursor: pointer;
}

/* line 1454, app/assets/stylesheets/_wiki_kb.scss */
.kb-children {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--kb-line-2);
}

/* right panel */
/* line 1458, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--kb-line);
  background: #fcfcfb;
}

/* line 1465, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 8px 0;
  border-bottom: 1px solid var(--kb-line);
}

/* line 1471, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel-tabs button[role="tab"] {
  height: 34px;
  padding: 0 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--kb-muted);
  font-size: 13px;
  font-weight: 550;
}

/* line 1481, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel-tabs button.is-on[role="tab"] {
  color: var(--kb-ink);
  border-bottom-color: var(--kb-primary);
}

/* line 1482, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel-tabs .kb-icon-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
}

/* line 1484, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px 24px;
}

/* line 1485, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel-h {
  margin: 16px 0 8px;
  font-size: 11.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kb-faint);
}

/* line 1485, app/assets/stylesheets/_wiki_kb.scss */
.kb-panel-h:first-child {
  margin-top: 0;
}

/* line 1487, app/assets/stylesheets/_wiki_kb.scss */
.kb-toc {
  display: grid;
  border-left: 1px solid var(--kb-line);
}

/* line 1490, app/assets/stylesheets/_wiki_kb.scss */
.kb-toc button {
  border: 0;
  background: none;
  padding: 5px 8px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  text-align: left;
  font-size: 13px;
  color: var(--kb-ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 1503, app/assets/stylesheets/_wiki_kb.scss */
.kb-toc button:hover {
  color: var(--kb-primary);
  border-left-color: var(--kb-primary);
}

/* line 1504, app/assets/stylesheets/_wiki_kb.scss */
.kb-toc .is-l2 {
  padding-left: 20px;
}

/* line 1505, app/assets/stylesheets/_wiki_kb.scss */
.kb-toc .is-l3 {
  padding-left: 32px;
  font-size: 12.5px;
  color: var(--kb-muted);
}

/* line 1508, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment-form {
  display: grid;
  gap: 8px;
  justify-items: end;
}

/* line 1512, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment-form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--kb-line);
  border-radius: 9px;
  resize: vertical;
  font-size: 13.5px;
  background: var(--kb-surface);
  outline: 0;
}

/* line 1513, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment-form textarea:focus {
  border-color: #a9a8ea;
  box-shadow: 0 0 0 3px rgba(63, 61, 200, 0.1);
}

/* line 1515, app/assets/stylesheets/_wiki_kb.scss */
.kb-comments {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

/* line 1516, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment {
  padding: 10px 12px;
  border: 1px solid var(--kb-line);
  border-radius: 10px;
  background: var(--kb-surface);
}

/* line 1521, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
}

/* line 1521, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment header time {
  color: var(--kb-faint);
}

/* line 1521, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment header .kb-link:first-of-type {
  margin-left: auto;
}

/* line 1522, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment p {
  margin-top: 6px;
  font-size: 13.5px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* line 1523, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment.is-resolved {
  opacity: 0.6;
}

/* line 1524, app/assets/stylesheets/_wiki_kb.scss */
.kb-comment.is-reply {
  margin-top: 8px;
  padding: 8px 0 0 10px;
  border: 0;
  border-left: 2px solid var(--kb-line);
  border-radius: 0;
}

/* line 1526, app/assets/stylesheets/_wiki_kb.scss */
.kb-reply {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

/* line 1526, app/assets/stylesheets/_wiki_kb.scss */
.kb-reply input {
  flex: 1;
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--kb-line);
  border-radius: 7px;
  font-size: 13px;
  outline: 0;
}

/* line 1528, app/assets/stylesheets/_wiki_kb.scss */
.kb-versions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

/* line 1533, app/assets/stylesheets/_wiki_kb.scss */
.kb-versions button {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 7px 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
}

/* line 1534, app/assets/stylesheets/_wiki_kb.scss */
.kb-versions button:hover {
  background: var(--kb-hover);
}

/* line 1536, app/assets/stylesheets/_wiki_kb.scss */
.kb-version-dot {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  border: 2px solid #c8c8c3;
  flex: none;
}

/* line 1536, app/assets/stylesheets/_wiki_kb.scss */
.kb-version-dot.is-latest {
  border-color: var(--kb-primary);
  background: var(--kb-primary);
}

/* line 1537, app/assets/stylesheets/_wiki_kb.scss */
.kb-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

/* line 1544, app/assets/stylesheets/_wiki_kb.scss */
.kb-activity time {
  display: block;
  color: var(--kb-faint);
  font-size: 12px;
}

/* line 1545, app/assets/stylesheets/_wiki_kb.scss */
.kb-activity q {
  display: block;
  margin-top: 3px;
  color: var(--kb-muted);
}

/* line 1547, app/assets/stylesheets/_wiki_kb.scss */
.kb-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--kb-line-2);
  font-size: 13px;
}

/* line 1547, app/assets/stylesheets/_wiki_kb.scss */
.kb-info-row span {
  color: var(--kb-muted);
}

/* line 1547, app/assets/stylesheets/_wiki_kb.scss */
.kb-info-row strong {
  font-weight: 550;
  text-align: right;
}

/* ───────── overlays ───────── */
/* line 1551, app/assets/stylesheets/_wiki_kb.scss */
.kb-pop {
  position: absolute;
  z-index: 30;
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  border-radius: 12px;
  box-shadow: var(--kb-shadow-pop);
}

/* line 1559, app/assets/stylesheets/_wiki_kb.scss */
.kb-menu-wrap {
  position: relative;
}

/* line 1560, app/assets/stylesheets/_wiki_kb.scss */
.kb-menu {
  top: calc(100% + 6px);
  right: 0;
  width: 248px;
  padding: 6px;
}

/* line 1565, app/assets/stylesheets/_wiki_kb.scss */
.kb-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  text-align: left;
  font-size: 13.5px;
  color: var(--kb-ink-2);
}

/* line 1566, app/assets/stylesheets/_wiki_kb.scss */
.kb-menu button svg {
  color: var(--kb-muted);
}

/* line 1567, app/assets/stylesheets/_wiki_kb.scss */
.kb-menu button:hover {
  background: var(--kb-hover);
  color: var(--kb-ink);
}

/* line 1568, app/assets/stylesheets/_wiki_kb.scss */
.kb-menu button.is-danger, .kb-menu button.is-danger svg {
  color: var(--kb-danger);
}

/* line 1569, app/assets/stylesheets/_wiki_kb.scss */
.kb-menu hr {
  border: 0;
  border-top: 1px solid var(--kb-line-2);
  margin: 5px 0;
}

/* line 1571, app/assets/stylesheets/_wiki_kb.scss */
.kb-emoji-pop {
  top: calc(100% + 4px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 40px);
  gap: 2px;
  padding: 8px;
}

/* line 1578, app/assets/stylesheets/_wiki_kb.scss */
.kb-emoji-pop button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 22px;
}

/* line 1579, app/assets/stylesheets/_wiki_kb.scss */
.kb-emoji-pop button:hover, .kb-emoji-pop button.is-on {
  background: var(--kb-primary-soft);
}

/* line 1582, app/assets/stylesheets/_wiki_kb.scss */
.kb-slash {
  width: 300px;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
}

/* line 1587, app/assets/stylesheets/_wiki_kb.scss */
.kb-slash button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
}

/* line 1588, app/assets/stylesheets/_wiki_kb.scss */
.kb-slash button.is-active, .kb-slash button:hover {
  background: var(--kb-primary-soft);
}

/* line 1589, app/assets/stylesheets/_wiki_kb.scss */
.kb-slash code {
  font-size: 11px;
  color: var(--kb-faint);
}

/* line 1591, app/assets/stylesheets/_wiki_kb.scss */
.kb-slash-h {
  padding: 4px 8px 6px;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kb-faint);
}

/* line 1592, app/assets/stylesheets/_wiki_kb.scss */
.kb-slash-glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--kb-line);
  border-radius: 8px;
  background: #fafaf8;
  font-size: 13px;
  font-weight: 700;
  color: var(--kb-ink-2);
  flex: none;
}

/* line 1594, app/assets/stylesheets/_wiki_kb.scss */
.kb-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 10vh 16px 16px;
  overflow-y: auto;
}

/* line 1604, app/assets/stylesheets/_wiki_kb.scss */
.kb-overlay-bg {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(20, 21, 26, 0.32);
  backdrop-filter: blur(2px);
  cursor: default;
}

/* line 1606, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette, .kb-modal {
  position: relative;
  width: 640px;
  max-width: 100%;
  background: var(--kb-surface);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.24);
  overflow: hidden;
  animation: kb-pop-in 0.14s ease-out;
}

@keyframes kb-pop-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* line 1618, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 56px;
  border-bottom: 1px solid var(--kb-line);
  color: var(--kb-faint);
}

/* line 1626, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
  color: var(--kb-ink);
  background: transparent;
}

/* line 1628, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 0;
}

/* line 1628, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-filters .kb-chip {
  padding: 4px 10px;
  font-size: 12.5px;
}

/* line 1629, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-list {
  max-height: 52vh;
  overflow-y: auto;
  padding: 8px;
}

/* line 1630, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  text-align: left;
}

/* line 1640, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-hit.is-active {
  background: var(--kb-primary-soft);
}

/* line 1642, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f4f4f1;
  font-size: 15px;
  color: var(--kb-muted);
  flex: none;
}

/* line 1643, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-type {
  font-size: 11.5px;
  color: var(--kb-faint);
}

/* line 1644, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-empty {
  padding: 28px;
  text-align: center;
  color: var(--kb-muted);
}

/* line 1645, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 9px 16px;
  border-top: 1px solid var(--kb-line-2);
  background: #fafaf8;
  font-size: 12px;
  color: var(--kb-faint);
}

/* line 1645, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-foot kbd {
  margin-right: 2px;
}

/* line 1645, app/assets/stylesheets/_wiki_kb.scss */
.kb-palette-foot span:last-child {
  margin-left: auto;
}

/* line 1647, app/assets/stylesheets/_wiki_kb.scss */
.kb-modal {
  width: 520px;
}

/* line 1647, app/assets/stylesheets/_wiki_kb.scss */
.kb-modal.is-wide {
  width: 760px;
}

/* line 1648, app/assets/stylesheets/_wiki_kb.scss */
.kb-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 6px;
}

/* line 1654, app/assets/stylesheets/_wiki_kb.scss */
.kb-modal-head strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

/* line 1655, app/assets/stylesheets/_wiki_kb.scss */
.kb-modal-head em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--kb-muted);
}

/* line 1657, app/assets/stylesheets/_wiki_kb.scss */
.kb-modal-body {
  padding: 10px 20px 20px;
  max-height: 76vh;
  overflow-y: auto;
}

/* line 1659, app/assets/stylesheets/_wiki_kb.scss */
.kb-form {
  display: grid;
  gap: 14px;
}

/* line 1660, app/assets/stylesheets/_wiki_kb.scss */
.kb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 1661, app/assets/stylesheets/_wiki_kb.scss */
.kb-form-row {
  display: grid;
  gap: 6px;
}

/* line 1664, app/assets/stylesheets/_wiki_kb.scss */
.kb-form-row > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--kb-ink-2);
}

/* line 1665, app/assets/stylesheets/_wiki_kb.scss */
.kb-form-row input:not([type="radio"]):not([type="checkbox"]), .kb-form-row select, .kb-form-row textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--kb-line);
  border-radius: 9px;
  background: var(--kb-surface);
  font-size: 14px;
  outline: 0;
}

/* line 1675, app/assets/stylesheets/_wiki_kb.scss */
.kb-form-row input:focus, .kb-form-row select:focus, .kb-form-row textarea:focus {
  border-color: #a9a8ea;
  box-shadow: 0 0 0 3px rgba(63, 61, 200, 0.1);
}

/* line 1677, app/assets/stylesheets/_wiki_kb.scss */
.kb-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* line 1679, app/assets/stylesheets/_wiki_kb.scss */
.kb-emoji-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* line 1683, app/assets/stylesheets/_wiki_kb.scss */
.kb-emoji-grid button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--kb-line);
  border-radius: 9px;
  background: var(--kb-surface);
  font-size: 19px;
}

/* line 1684, app/assets/stylesheets/_wiki_kb.scss */
.kb-emoji-grid button:hover {
  border-color: #c9c9c4;
}

/* line 1685, app/assets/stylesheets/_wiki_kb.scss */
.kb-emoji-grid button.is-on {
  border-color: var(--kb-primary);
  background: var(--kb-primary-soft);
  box-shadow: 0 0 0 2px rgba(63, 61, 200, 0.15);
}

/* line 1688, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* line 1692, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards label {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--kb-line);
  border-radius: 10px;
  cursor: pointer;
}

/* line 1700, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards label svg {
  color: var(--kb-muted);
}

/* line 1701, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards label strong {
  font-size: 13.5px;
}

/* line 1702, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards label em {
  font-style: normal;
  font-size: 12px;
  color: var(--kb-muted);
}

/* line 1704, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards label.is-on {
  border-color: var(--kb-primary);
  background: #f8f8ff;
}

/* line 1704, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards label.is-on svg {
  color: var(--kb-primary);
}

/* line 1705, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* line 1706, app/assets/stylesheets/_wiki_kb.scss */
.kb-radio-cards label:focus-within {
  box-shadow: 0 0 0 3px rgba(63, 61, 200, 0.15);
}

/* line 1709, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-pick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}

/* line 1715, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-pick label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--kb-line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 12.5px;
}

/* line 1725, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-pick label .kb-quick-emoji {
  font-size: 17px;
}

/* line 1726, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-pick label strong {
  font-weight: 550;
  line-height: 1.25;
}

/* line 1728, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-pick label.is-on {
  border-color: var(--kb-primary);
  background: #f8f8ff;
}

/* line 1729, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* line 1730, app/assets/stylesheets/_wiki_kb.scss */
.kb-tpl-pick label:focus-within {
  box-shadow: 0 0 0 3px rgba(63, 61, 200, 0.15);
}

/* line 1733, app/assets/stylesheets/_wiki_kb.scss */
.kb-share-link {
  display: flex;
  gap: 8px;
}

/* line 1736, app/assets/stylesheets/_wiki_kb.scss */
.kb-share-link input {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--kb-line);
  border-radius: 8px;
  background: #fafaf8;
  font-size: 12.5px;
  color: var(--kb-muted);
}

/* line 1739, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 13px;
}

/* line 1740, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-add {
  color: #067647;
}

/* line 1741, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-del {
  color: #b42318;
}

/* line 1742, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff {
  max-height: 50vh;
  overflow: auto;
  border: 1px solid var(--kb-line);
  border-radius: 10px;
  font-size: 12.5px;
  margin-bottom: 14px;
}

/* line 1750, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line {
  display: flex;
  gap: 8px;
  padding: 1px 10px;
}

/* line 1754, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line span {
  width: 12px;
  color: var(--kb-faint);
  flex: none;
}

/* line 1755, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line code {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* line 1756, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line.is-add {
  background: #ecfdf3;
}

/* line 1756, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line.is-add span {
  color: #067647;
}

/* line 1757, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line.is-del {
  background: #fef3f2;
}

/* line 1757, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line.is-del code {
  text-decoration: line-through;
  color: #b42318;
}

/* line 1757, app/assets/stylesheets/_wiki_kb.scss */
.kb-diff-line.is-del span {
  color: #b42318;
}

/* line 1760, app/assets/stylesheets/_wiki_kb.scss */
.kb-toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #1c1d22;
  color: #fff;
  font-size: 13.5px;
  box-shadow: var(--kb-shadow-pop);
  animation: kb-pop-in 0.16s ease-out;
}

/* line 1776, app/assets/stylesheets/_wiki_kb.scss */
.kb-toast button {
  border: 0;
  background: none;
  color: #a5b4fc;
  font-weight: 650;
}

/* ───────── responsive ───────── */
/* line 1781, app/assets/stylesheets/_wiki_kb.scss */
.kb-only-mobile {
  display: none;
}

@media (max-width: 1500px) {
  /* line 1784, app/assets/stylesheets/_wiki_kb.scss */
  .kb-home-grid .kb-col-space {
    display: none;
  }
}

@media (max-width: 1180px) {
  /* line 1788, app/assets/stylesheets/_wiki_kb.scss */
  .kb-home-grid, .kb-space-cols {
    grid-template-columns: 1fr;
  }
  /* line 1789, app/assets/stylesheets/_wiki_kb.scss */
  .kb-tpl-layout {
    grid-template-columns: 1fr;
  }
  /* line 1790, app/assets/stylesheets/_wiki_kb.scss */
  .kb-tpl-preview {
    position: static;
  }
  /* line 1791, app/assets/stylesheets/_wiki_kb.scss */
  .kb-doc-layout.has-panel {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  /* line 1792, app/assets/stylesheets/_wiki_kb.scss */
  .kb-doc {
    padding: 32px 36px 100px;
  }
}

@media (max-width: 900px) {
  /* line 1796, app/assets/stylesheets/_wiki_kb.scss */
  .kb-app, .kb-app.is-nav-collapsed {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 1797, app/assets/stylesheets/_wiki_kb.scss */
  .kb-side {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    width: 280px;
    max-width: 86%;
    transform: translateX(-102%);
    transition: transform 0.2s ease;
    box-shadow: var(--kb-shadow-pop);
    visibility: visible !important;
  }
  /* line 1810, app/assets/stylesheets/_wiki_kb.scss */
  .kb-app.is-mobile-nav .kb-side {
    transform: none;
  }
  /* line 1811, app/assets/stylesheets/_wiki_kb.scss */
  .kb-app.is-mobile-nav .kb-scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 34;
    border: 0;
    background: rgba(20, 21, 26, 0.3);
  }
  /* line 1812, app/assets/stylesheets/_wiki_kb.scss */
  .kb-only-mobile {
    display: inline-grid;
  }
  /* line 1813, app/assets/stylesheets/_wiki_kb.scss */
  .kb-only-desktop, [data-kb-desktop] {
    display: none;
  }
  /* line 1814, app/assets/stylesheets/_wiki_kb.scss */
  .kb-doc-layout.has-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 1815, app/assets/stylesheets/_wiki_kb.scss */
  .kb-doc-layout.has-panel .kb-panel {
    position: absolute;
    top: 52px;
    right: 0;
    bottom: 0;
    z-index: 20;
    width: 320px;
    max-width: 92%;
    box-shadow: var(--kb-shadow-pop);
  }
  /* line 1825, app/assets/stylesheets/_wiki_kb.scss */
  .kb-chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* line 1829, app/assets/stylesheets/_wiki_kb.scss */
  .kb-top {
    padding: 0 8px 0 12px;
  }
  /* line 1830, app/assets/stylesheets/_wiki_kb.scss */
  .kb-page-pad {
    padding: 20px 16px 56px;
  }
  /* line 1831, app/assets/stylesheets/_wiki_kb.scss */
  .kb-hero {
    padding: 20px 16px;
  }
  /* line 1832, app/assets/stylesheets/_wiki_kb.scss */
  .kb-hero-copy h1 {
    font-size: 23px;
  }
  /* line 1833, app/assets/stylesheets/_wiki_kb.scss */
  .kb-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  /* line 1834, app/assets/stylesheets/_wiki_kb.scss */
  .kb-quick-card {
    min-height: 92px;
    padding: 12px;
  }
  /* line 1835, app/assets/stylesheets/_wiki_kb.scss */
  .kb-hero-search kbd {
    display: none;
  }
  /* line 1836, app/assets/stylesheets/_wiki_kb.scss */
  .kb-hide-sm, .kb-hide-sm + span {
    display: none;
  }
  /* line 1837, app/assets/stylesheets/_wiki_kb.scss */
  .kb-btn.is-sm span {
    display: none;
  }
  /* line 1838, app/assets/stylesheets/_wiki_kb.scss */
  .kb-btn.is-sm {
    padding: 0 9px;
  }
  /* line 1839, app/assets/stylesheets/_wiki_kb.scss */
  .kb-col-space, .kb-col-person {
    display: none;
  }
  /* line 1840, app/assets/stylesheets/_wiki_kb.scss */
  .kb-doc {
    padding: 24px 16px 80px;
  }
  /* line 1841, app/assets/stylesheets/_wiki_kb.scss */
  .kb-doc-title {
    font-size: 28px;
  }
  /* line 1842, app/assets/stylesheets/_wiki_kb.scss */
  .kb-prop {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  /* line 1843, app/assets/stylesheets/_wiki_kb.scss */
  .kb-fmt-hint {
    display: none;
  }
  /* line 1844, app/assets/stylesheets/_wiki_kb.scss */
  .kb-form-grid, .kb-radio-cards {
    grid-template-columns: 1fr;
  }
  /* line 1845, app/assets/stylesheets/_wiki_kb.scss */
  .kb-field-search {
    width: 100%;
  }
  /* line 1846, app/assets/stylesheets/_wiki_kb.scss */
  .kb-space-head {
    flex-wrap: wrap;
  }
  /* line 1847, app/assets/stylesheets/_wiki_kb.scss */
  .kb-space-head .kb-avatar-stack {
    display: none;
  }
  /* line 1848, app/assets/stylesheets/_wiki_kb.scss */
  .kb-review-row {
    flex-wrap: wrap;
  }
  /* line 1849, app/assets/stylesheets/_wiki_kb.scss */
  .kb-review-actions {
    width: 100%;
    justify-content: flex-end;
  }
  /* line 1850, app/assets/stylesheets/_wiki_kb.scss */
  .kb-crumb {
    max-width: 130px;
  }
  /* line 1851, app/assets/stylesheets/_wiki_kb.scss */
  .kb-overlay {
    padding-top: 16px;
  }
}

/* Perk Knowledge — Notion-style layer (block editor `nb-*`, databases `kb-db*`,
   and a calmer token set for the whole `kb-` UI). Loaded after _wiki_kb.scss. */
/* line 4, app/assets/stylesheets/_wiki_notion.scss */
.kb-app {
  --kb-bg: #ffffff;
  --kb-side: #f8f8f7;
  --kb-surface: #ffffff;
  --kb-ink: #37352f;
  --kb-ink-2: #37352f;
  --kb-muted: #787774;
  --kb-faint: #9b9a97;
  --kb-line: rgba(55, 53, 47, 0.09);
  --kb-line-2: rgba(55, 53, 47, 0.06);
  --kb-hover: rgba(55, 53, 47, 0.06);
  --kb-primary: #2383e2;
  --kb-primary-soft: rgba(35, 131, 226, 0.1);
  --kb-radius: 10px;
  --kb-radius-sm: 6px;
  --kb-shadow: none;
  --kb-shadow-pop: rgba(15, 15, 15, 0.05) 0 0 0 1px, rgba(15, 15, 15, 0.1) 0 3px 6px, rgba(15, 15, 15, 0.2) 0 9px 24px;
  --kb-side-w: 248px;
  --nb-ink: #37352f;
  --nb-faint: rgba(55, 53, 47, 0.35);
  --nb-hover: rgba(55, 53, 47, 0.08);
  --nb-blue: #2383e2;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif;
  font-size: 14px;
  color: var(--kb-ink);
}

/* ───────── buttons ───────── */
/* line 33, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-btn.is-primary,
.kb-app .kb-btn.is-blue {
  background: var(--nb-blue);
  color: #fff;
  box-shadow: none;
}

/* line 39, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-btn.is-primary:hover,
.kb-app .kb-btn.is-blue:hover {
  background: #0077d4;
}

/* line 41, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-btn.is-soft {
  background: var(--kb-primary-soft);
  color: var(--nb-blue);
}

/* line 42, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-btn.is-ghost {
  border-color: var(--kb-line);
}

/* line 43, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-btn.is-text {
  background: transparent;
  color: var(--kb-ink);
  font-weight: 500;
  padding: 0 8px;
}

/* line 48, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-btn.is-text:hover {
  background: var(--kb-hover);
}

/* line 50, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-btn {
  border-radius: 6px;
  font-weight: 500;
}

/* line 51, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #91918e;
}

/* line 52, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-icon-btn.is-sm {
  width: 24px;
  height: 24px;
}

/* line 53, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-icon-btn:hover,
.kb-app .kb-icon-btn.is-on {
  background: var(--kb-hover);
  color: var(--kb-ink);
}

/* line 56, app/assets/stylesheets/_wiki_notion.scss */
.kb-split-btn {
  display: inline-flex;
}

/* line 58, app/assets/stylesheets/_wiki_notion.scss */
.kb-split-btn .kb-btn {
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
}

/* line 59, app/assets/stylesheets/_wiki_notion.scss */
.kb-split-btn .kb-btn.is-caret {
  border-radius: 0 6px 6px 0;
  padding: 0 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

/* ───────── sidebar ───────── */
/* line 64, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-side {
  background: var(--kb-side);
  border-right: 1px solid var(--kb-line-2);
}

/* line 65, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-side-head {
  gap: 2px;
  padding: 8px 8px 6px 8px;
}

/* line 67, app/assets/stylesheets/_wiki_notion.scss */
.kb-ws {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

/* line 79, app/assets/stylesheets/_wiki_notion.scss */
.kb-ws:hover {
  background: var(--kb-hover);
}

/* line 81, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ff7a45, #e8590c);
  font-size: 12px;
  font-weight: 700;
}

/* line 89, app/assets/stylesheets/_wiki_notion.scss */
.kb-ws-name {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 91, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-side-search {
  margin: 2px 8px 10px;
  height: 32px;
  border-radius: 8px;
  border-color: rgba(55, 53, 47, 0.12);
  background: #fff;
  color: #91918e;
}

/* line 98, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-side-search span {
  font-size: 14px;
}

/* line 101, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-side-scroll {
  padding: 0 8px 14px;
}

/* line 102, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-group + .kb-nav-group {
  margin-top: 18px;
}

/* line 103, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-heading {
  padding: 0 8px 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #91918e;
  min-height: 24px;
}

/* line 112, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-item {
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  color: #5f5e5b;
  font-size: 14px;
  font-weight: 500;
}

/* line 119, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-item.is-on {
  background: rgba(55, 53, 47, 0.08);
  color: var(--kb-ink);
  font-weight: 600;
}

/* line 120, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-item.is-on .kb-nav-ico {
  color: var(--kb-ink);
}

/* line 121, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-item.is-muted {
  color: #91918e;
  font-weight: 400;
}

/* line 123, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-ico {
  color: #91918e;
}

/* line 124, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-nav-badge {
  background: #eb5757;
  color: #fff;
}

/* line 126, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-tree-row {
  height: 30px;
  padding-left: calc(var(--kb-depth, 0) * 12px);
  border-radius: 6px;
}

/* line 130, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-tree-row.is-on {
  background: rgba(55, 53, 47, 0.08);
}

/* line 131, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-tree-row.is-on .kb-tree-label {
  font-weight: 600;
  color: var(--kb-ink);
}

/* line 132, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-tree-row.is-view .kb-tree-label {
  font-weight: 500;
}

/* line 134, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-tree-main {
  color: #5f5e5b;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
}

/* line 135, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-tree-caret.is-leaf {
  visibility: hidden;
}

/* line 136, app/assets/stylesheets/_wiki_notion.scss */
.kb-tree-dot {
  width: 20px;
  margin-left: 2px;
  text-align: center;
  color: #91918e;
  flex: none;
}

/* line 137, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-tree-empty {
  padding-left: calc(var(--kb-depth, 0) * 12px + 34px);
}

/* line 138, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-side-foot {
  border-top: 0;
  padding: 8px 12px 10px;
}

/* ───────── topbar ───────── */
/* line 142, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-top {
  height: 45px;
  padding: 0 10px 0 12px;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.92);
}

/* line 148, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 6px;
  border-radius: 6px;
  color: var(--kb-ink);
  font-size: 14px;
}

/* line 157, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-crumb.is-current {
  font-weight: 500;
}

/* line 159, app/assets/stylesheets/_wiki_notion.scss */
.kb-crumb-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 160, app/assets/stylesheets/_wiki_notion.scss */
.kb-crumb-ico {
  font-size: 15px;
  line-height: 1;
}

/* line 161, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-crumb-sep {
  color: rgba(55, 53, 47, 0.3);
  margin: 0 1px;
}

/* line 162, app/assets/stylesheets/_wiki_notion.scss */
.kb-edited {
  font-size: 14px;
  color: #91918e;
  margin-right: 6px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  /* line 163, app/assets/stylesheets/_wiki_notion.scss */
  .kb-edited {
    display: none;
  }
}

/* ───────── generic surfaces ───────── */
/* line 167, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-card {
  border: 1px solid var(--kb-line);
  box-shadow: none;
  border-radius: 10px;
}

/* line 168, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-hero {
  background: transparent;
  border: 0;
  padding: 36px 0 10px;
  justify-items: center;
  text-align: center;
}

/* line 174, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-hero .kb-hero-copy h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 175, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-hero .kb-eyebrow {
  color: #91918e;
  font-weight: 500;
}

/* line 177, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-hero-search {
  width: 100%;
  max-width: 560px;
  border-radius: 10px;
  box-shadow: rgba(15, 15, 15, 0.06) 0 0 0 1px, rgba(15, 15, 15, 0.06) 0 2px 6px;
  border: 0;
}

/* line 178, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-hero-actions {
  justify-content: center;
}

/* line 179, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-quick-card {
  border: 0;
  border-radius: 14px;
  box-shadow: rgba(15, 15, 15, 0.05) 0 0 0 1px, rgba(15, 15, 15, 0.05) 0 2px 4px;
  padding-top: 0;
  overflow: hidden;
}

/* line 185, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-quick-card::before {
  content: "";
  display: block;
  height: 38px;
  margin: 0 -14px 4px;
  background: #f1f1ef;
}

/* line 192, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-quick-card .kb-quick-emoji {
  margin-top: -26px;
}

/* line 194, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-status {
  border-radius: 4px;
}

/* line 195, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-table th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
  color: #91918e;
}

/* ───────── document ───────── */
/* line 199, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc-scroll {
  background: #fff;
}

/* line 200, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc {
  max-width: 900px;
  padding: 64px 96px 30vh;
}

/* line 203, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc.is-wide {
  max-width: none;
}

/* line 204, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc.is-db {
  padding: 40px 96px 96px;
}

/* line 206, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc-icon {
  font-size: 72px;
  margin-left: -4px;
  padding: 4px;
  border-radius: 8px;
}

/* line 211, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc-icon.is-db {
  font-size: 40px;
}

/* line 213, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc-title {
  margin: 4px 0 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--kb-ink);
}

/* line 220, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc-title::placeholder {
  color: rgba(55, 53, 47, 0.18);
}

/* line 222, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-doc.is-db .kb-doc-title {
  font-size: 32px;
}

/* line 224, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-props {
  gap: 0;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--kb-line);
}

/* line 230, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-prop {
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 34px;
  font-size: 14px;
}

/* line 231, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-prop-k {
  color: #91918e;
  gap: 6px;
}

/* line 232, app/assets/stylesheets/_wiki_notion.scss */
.kb-prop-ico {
  display: inline-grid;
  place-items: center;
  width: 18px;
  font-size: 13px;
  color: #91918e;
  flex: none;
}

/* line 233, app/assets/stylesheets/_wiki_notion.scss */
.kb-prop-btn {
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  margin-left: -8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  text-align: left;
  color: var(--kb-ink);
}

/* line 243, app/assets/stylesheets/_wiki_notion.scss */
.kb-prop-btn:hover:not(:disabled) {
  background: var(--kb-hover);
}

/* line 244, app/assets/stylesheets/_wiki_notion.scss */
.kb-prop-btn:disabled {
  cursor: default;
}

/* line 246, app/assets/stylesheets/_wiki_notion.scss */
.kb-empty-val {
  color: rgba(55, 53, 47, 0.35);
}

/* line 248, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-flow {
  font-size: 14px;
  border-bottom: 0;
}

/* line 250, app/assets/stylesheets/_wiki_notion.scss */
.kb-children {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--kb-line-2);
}

/* line 251, app/assets/stylesheets/_wiki_notion.scss */
.kb-children-h {
  font-size: 12px;
  color: #91918e;
  margin-bottom: 4px;
}

/* ───────── block editor ───────── */
/* line 255, app/assets/stylesheets/_wiki_notion.scss */
.kb-editor {
  position: relative;
}

/* line 257, app/assets/stylesheets/_wiki_notion.scss */
.nb-editor {
  position: relative;
  margin-left: -58px;
  padding-left: 58px;
  color: var(--nb-ink);
  font-size: 16px;
  line-height: 1.5;
}

/* line 266, app/assets/stylesheets/_wiki_notion.scss */
.nb-list {
  display: flex;
  flex-direction: column;
}

/* line 268, app/assets/stylesheets/_wiki_notion.scss */
.nb-block {
  position: relative;
  display: flex;
  margin: 1px 0;
  padding-left: calc(var(--nb-indent, 0) * 26px);
  border-radius: 4px;
  outline: none;
}

/* line 275, app/assets/stylesheets/_wiki_notion.scss */
.nb-block.is-selected {
  background: rgba(35, 131, 226, 0.14);
}

/* line 276, app/assets/stylesheets/_wiki_notion.scss */
.nb-block.is-dragging {
  opacity: 0.35;
}

/* line 277, app/assets/stylesheets/_wiki_notion.scss */
.nb-block.is-drop-before {
  box-shadow: 0 -3px 0 rgba(35, 131, 226, 0.45);
}

/* line 278, app/assets/stylesheets/_wiki_notion.scss */
.nb-block.is-drop-after {
  box-shadow: 0 3px 0 rgba(35, 131, 226, 0.45);
}

/* line 279, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading1"] {
  margin-top: 28px;
}

/* line 280, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading2"] {
  margin-top: 20px;
}

/* line 281, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading3"] {
  margin-top: 14px;
}

/* line 282, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="divider"], .nb-block[data-type="image"], .nb-block[data-type="bookmark"], .nb-block[data-type="page"], .nb-block[data-type="page_link"], .nb-block[data-type="database"] {
  cursor: default;
}

/* line 284, app/assets/stylesheets/_wiki_notion.scss */
.nb-block:first-child {
  margin-top: 0;
}

/* line 286, app/assets/stylesheets/_wiki_notion.scss */
.nb-gutter {
  position: absolute;
  top: 3px;
  left: calc(var(--nb-indent, 0) * 26px - 50px);
  display: flex;
  gap: 1px;
  opacity: 0;
  transition: opacity 0.12s;
}

/* line 294, app/assets/stylesheets/_wiki_notion.scss */
.nb-gutter button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(55, 53, 47, 0.35);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* line 308, app/assets/stylesheets/_wiki_notion.scss */
.nb-gutter button[data-nb="handle"] {
  width: 18px;
  font-size: 13px;
  letter-spacing: -3px;
  cursor: grab;
}

/* line 309, app/assets/stylesheets/_wiki_notion.scss */
.nb-gutter button:hover {
  background: var(--nb-hover);
  color: rgba(55, 53, 47, 0.6);
}

/* line 311, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading1"] > .nb-gutter {
  top: 12px;
}

/* line 312, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading2"] > .nb-gutter {
  top: 8px;
}

/* line 313, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading3"] > .nb-gutter {
  top: 5px;
}

/* line 314, app/assets/stylesheets/_wiki_notion.scss */
.nb-block:hover > .nb-gutter,
.nb-block:focus-within > .nb-gutter {
  opacity: 1;
}

/* line 317, app/assets/stylesheets/_wiki_notion.scss */
.nb-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
}

/* line 319, app/assets/stylesheets/_wiki_notion.scss */
.nb-text {
  flex: 1;
  min-width: 1px;
  padding: 3px 2px;
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
  caret-color: var(--nb-ink);
}

/* line 327, app/assets/stylesheets/_wiki_notion.scss */
.nb-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.4);
  text-underline-offset: 2px;
}

/* line 328, app/assets/stylesheets/_wiki_notion.scss */
.nb-text code {
  padding: 0.2em 0.4em;
  border-radius: 4px;
  background: rgba(135, 131, 120, 0.15);
  color: #eb5757;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 85%;
}

/* line 329, app/assets/stylesheets/_wiki_notion.scss */
.nb-text strong {
  font-weight: 600;
}

/* line 331, app/assets/stylesheets/_wiki_notion.scss */
.nb-text.is-empty::before,
.nb-detail.is-empty::before {
  content: attr(data-ph);
  color: var(--nb-faint);
  pointer-events: none;
}

/* line 337, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="paragraph"] .nb-text.is-empty:not(:focus)::before,
.nb-detail.is-empty:not(:focus)::before {
  content: none;
}

/* line 339, app/assets/stylesheets/_wiki_notion.scss */
.nb-editor.is-readonly .nb-text.is-empty::before {
  content: none;
}

/* line 341, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading1"] .nb-text {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}

/* line 342, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading2"] .nb-text {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

/* line 343, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="heading3"] .nb-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

/* line 345, app/assets/stylesheets/_wiki_notion.scss */
.nb-marker {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 24px;
  min-height: 30px;
  padding-top: 3px;
  margin-right: 2px;
  flex: none;
  user-select: none;
}

/* line 356, app/assets/stylesheets/_wiki_notion.scss */
.nb-bullet {
  font-size: 22px;
  line-height: 21px;
}

/* line 357, app/assets/stylesheets/_wiki_notion.scss */
.nb-num {
  font-variant-numeric: tabular-nums;
}

/* line 358, app/assets/stylesheets/_wiki_notion.scss */
.nb-check {
  width: 16px;
  height: 16px;
  margin: 4px 0 0;
  accent-color: var(--nb-blue);
  cursor: pointer;
}

/* line 365, app/assets/stylesheets/_wiki_notion.scss */
.nb-text.is-done {
  color: rgba(55, 53, 47, 0.65);
  text-decoration: line-through;
  text-decoration-color: rgba(55, 53, 47, 0.4);
}

/* line 367, app/assets/stylesheets/_wiki_notion.scss */
.nb-toggle {
  border: 0;
  background: transparent;
  color: var(--nb-ink);
  font-size: 11px;
  cursor: pointer;
  border-radius: 4px;
  padding-top: 7px;
  transition: transform 0.15s;
}

/* line 376, app/assets/stylesheets/_wiki_notion.scss */
.nb-toggle:hover {
  background: var(--nb-hover);
}

/* line 377, app/assets/stylesheets/_wiki_notion.scss */
.nb-toggle.is-open {
  transform: rotate(90deg);
}

/* line 379, app/assets/stylesheets/_wiki_notion.scss */
.nb-toggle-body {
  flex: 1;
  min-width: 0;
}

/* line 380, app/assets/stylesheets/_wiki_notion.scss */
.nb-detail {
  padding: 3px 2px 3px 2px;
  outline: none;
  white-space: pre-wrap;
  min-height: 30px;
  color: var(--nb-ink);
}

/* line 382, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="quote"] .nb-body {
  border-left: 3px solid currentColor;
  padding-left: 14px;
  margin: 4px 0;
}

/* line 383, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="quote"] .nb-text {
  font-size: 18px;
}

/* line 385, app/assets/stylesheets/_wiki_notion.scss */
.nb-block[data-type="callout"] .nb-body {
  padding: 16px 16px 16px 12px;
  margin: 4px 0;
  border-radius: 4px;
  background: #f1f1ef;
}

/* line 391, app/assets/stylesheets/_wiki_notion.scss */
.nb-callout-icon {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}

/* line 402, app/assets/stylesheets/_wiki_notion.scss */
.nb-callout-icon:hover:not(:disabled) {
  background: var(--nb-hover);
}

/* line 405, app/assets/stylesheets/_wiki_notion.scss */
.nb-code-wrap {
  flex: 1;
  min-width: 0;
  margin: 4px 0;
  border-radius: 4px;
  background: #f7f6f3;
}

/* line 406, app/assets/stylesheets/_wiki_notion.scss */
.nb-code-bar {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 0;
  font-size: 12px;
  color: #91918e;
}

/* line 412, app/assets/stylesheets/_wiki_notion.scss */
.nb-code-bar select, .nb-code-bar button {
  border: 0;
  background: transparent;
  color: #91918e;
  font-size: 12px;
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
}

/* line 413, app/assets/stylesheets/_wiki_notion.scss */
.nb-code-bar select:hover, .nb-code-bar button:hover {
  background: var(--nb-hover);
}

/* line 415, app/assets/stylesheets/_wiki_notion.scss */
.nb-text.nb-code {
  padding: 12px 20px 20px;
  font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
  overflow-x: auto;
  tab-size: 2;
}

/* line 425, app/assets/stylesheets/_wiki_notion.scss */
.nb-divider {
  flex: 1;
  padding: 11px 2px;
}

/* line 425, app/assets/stylesheets/_wiki_notion.scss */
.nb-divider hr {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(55, 53, 47, 0.16);
}

/* line 427, app/assets/stylesheets/_wiki_notion.scss */
.nb-page {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--nb-ink);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

/* line 441, app/assets/stylesheets/_wiki_notion.scss */
.nb-page:hover {
  background: var(--nb-hover);
}

/* line 442, app/assets/stylesheets/_wiki_notion.scss */
.nb-page.is-missing {
  color: var(--nb-faint);
}

/* line 444, app/assets/stylesheets/_wiki_notion.scss */
.nb-page-icon {
  font-size: 18px;
  line-height: 1;
}

/* line 445, app/assets/stylesheets/_wiki_notion.scss */
.nb-page-title {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.25);
  text-underline-offset: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 454, app/assets/stylesheets/_wiki_notion.scss */
.nb-page-arrow {
  color: var(--nb-faint);
  font-size: 13px;
}

/* line 456, app/assets/stylesheets/_wiki_notion.scss */
.nb-image {
  flex: 1;
  margin: 6px 0;
}

/* line 456, app/assets/stylesheets/_wiki_notion.scss */
.nb-image img {
  display: block;
  max-width: 100%;
  border-radius: 4px;
}

/* line 456, app/assets/stylesheets/_wiki_notion.scss */
.nb-image figcaption {
  margin-top: 6px;
  font-size: 14px;
  color: #91918e;
}

/* line 457, app/assets/stylesheets/_wiki_notion.scss */
.nb-bookmark {
  flex: 1;
  display: grid;
  gap: 2px;
  margin: 4px 0;
  padding: 12px 14px;
  border: 1px solid rgba(55, 53, 47, 0.16);
  border-radius: 4px;
  color: var(--nb-ink);
  text-decoration: none;
}

/* line 467, app/assets/stylesheets/_wiki_notion.scss */
.nb-bookmark strong {
  font-size: 14px;
  font-weight: 500;
}

/* line 468, app/assets/stylesheets/_wiki_notion.scss */
.nb-bookmark em {
  font-style: normal;
  font-size: 12px;
  color: #91918e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 469, app/assets/stylesheets/_wiki_notion.scss */
.nb-bookmark:hover {
  background: rgba(55, 53, 47, 0.03);
}

/* line 471, app/assets/stylesheets/_wiki_notion.scss */
.nb-embed-empty {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 4px;
  background: #f2f1ee;
  color: #91918e;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

/* line 485, app/assets/stylesheets/_wiki_notion.scss */
.nb-embed-empty:hover {
  background: #eae9e6;
}

/* line 488, app/assets/stylesheets/_wiki_notion.scss */
.nb-tail {
  min-height: 140px;
  cursor: text;
}

/* editor popovers */
/* line 492, app/assets/stylesheets/_wiki_notion.scss */
.nb-pop {
  position: absolute;
  z-index: 40;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--kb-shadow-pop);
  font-size: 14px;
  animation: kb-pop-in 0.12s ease-out;
}

/* line 502, app/assets/stylesheets/_wiki_notion.scss */
.nb-pop-h {
  padding: 6px 8px 4px;
  font-size: 12px;
  font-weight: 500;
  color: #91918e;
}

/* line 503, app/assets/stylesheets/_wiki_notion.scss */
.nb-pop-empty {
  padding: 10px;
  color: #91918e;
}

/* line 505, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash {
  width: 324px;
  max-height: 340px;
  overflow-y: auto;
}

/* line 509, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

/* line 521, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash button.is-active, .nb-slash button:hover {
  background: var(--nb-hover);
}

/* line 523, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash-glyph {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(55, 53, 47, 0.12);
  border-radius: 6px;
  background: #fff;
  color: var(--nb-ink);
  font-size: 16px;
  font-weight: 600;
  flex: none;
}

/* line 535, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash-glyph.is-sm {
  width: 22px;
  height: 22px;
  font-size: 11px;
  border-radius: 4px;
}

/* line 537, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 537, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash-copy strong {
  font-size: 14px;
  font-weight: 500;
}

/* line 537, app/assets/stylesheets/_wiki_notion.scss */
.nb-slash-copy em {
  font-style: normal;
  font-size: 12px;
  color: #91918e;
}

/* line 539, app/assets/stylesheets/_wiki_notion.scss */
.nb-menu {
  width: 260px;
  max-height: 420px;
  overflow-y: auto;
}

/* line 543, app/assets/stylesheets/_wiki_notion.scss */
.nb-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}

/* line 556, app/assets/stylesheets/_wiki_notion.scss */
.nb-menu button > span:first-child:not(.nb-slash-glyph) {
  width: 18px;
  text-align: center;
  color: #91918e;
}

/* line 557, app/assets/stylesheets/_wiki_notion.scss */
.nb-menu button kbd {
  margin-left: auto;
  border: 0;
  background: none;
  color: #91918e;
  padding: 0;
}

/* line 559, app/assets/stylesheets/_wiki_notion.scss */
.nb-menu button:hover {
  background: var(--nb-hover);
}

/* line 562, app/assets/stylesheets/_wiki_notion.scss */
.nb-toolbar {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  white-space: nowrap;
}

/* line 568, app/assets/stylesheets/_wiki_notion.scss */
.nb-toolbar button {
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--nb-ink);
  font-size: 14px;
  cursor: pointer;
}

/* line 578, app/assets/stylesheets/_wiki_notion.scss */
.nb-toolbar button:hover {
  background: var(--nb-hover);
}

/* line 579, app/assets/stylesheets/_wiki_notion.scss */
.nb-toolbar button.is-ai {
  color: #9065b0;
  font-weight: 500;
}

/* line 581, app/assets/stylesheets/_wiki_notion.scss */
.nb-toolbar i {
  width: 1px;
  height: 20px;
  margin: 0 3px;
  background: rgba(55, 53, 47, 0.09);
}

/* ───────── databases ───────── */
/* line 586, app/assets/stylesheets/_wiki_notion.scss */
.kb-db {
  margin-top: 6px;
}

/* line 587, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--kb-line);
}

/* line 596, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}

/* line 597, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #91918e;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

/* line 611, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-tab:hover {
  background: var(--kb-hover);
}

/* line 612, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-tab.is-on {
  background: rgba(55, 53, 47, 0.06);
  color: var(--kb-ink);
  font-weight: 600;
}

/* line 614, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

/* line 615, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(55, 53, 47, 0.04);
  color: #91918e;
}

/* line 624, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-search input {
  width: 160px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

/* line 625, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-search button {
  border: 0;
  background: none;
  color: #91918e;
  font-size: 16px;
  cursor: pointer;
}

/* line 627, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0 2px;
}

/* line 628, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 4px 0 10px;
  border-radius: 999px;
  background: rgba(35, 131, 226, 0.07);
  color: var(--nb-blue);
  font-size: 13px;
}

/* line 638, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-chip button {
  border: 0;
  background: none;
  color: inherit;
  font-size: 15px;
  padding: 0 4px;
  cursor: pointer;
}

/* line 639, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-chip.is-sort {
  background: rgba(55, 53, 47, 0.06);
  color: var(--kb-ink);
}

/* line 642, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-wrap {
  position: relative;
  overflow-x: auto;
  margin: 0 -96px;
  padding: 0 96px 8px;
}

/* line 643, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 14px;
}

/* line 647, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt th, .kb-dbt td {
  border-bottom: 1px solid var(--kb-line);
  white-space: nowrap;
}

/* line 648, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt th + th, .kb-dbt td + td {
  border-left: 1px solid var(--kb-line);
}

/* line 649, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt th {
  height: 34px;
  padding: 0;
  font-weight: 400;
  text-align: left;
}

/* line 650, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt th:last-child, .kb-dbt td:last-child {
  border-left: 0;
}

/* line 651, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt td {
  height: 34px;
  padding: 0 8px;
  vertical-align: middle;
}

/* line 653, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-head {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 140px;
  height: 34px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #91918e;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

/* line 667, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-head:hover:not(:disabled) {
  background: var(--kb-hover);
}

/* line 668, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-head:disabled {
  cursor: default;
}

/* line 670, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-title {
  position: relative;
  min-width: 300px;
}

/* line 671, app/assets/stylesheets/_wiki_notion.scss */
th.kb-dbt-title .kb-dbt-head {
  min-width: 300px;
}

/* line 672, app/assets/stylesheets/_wiki_notion.scss */
td.kb-dbt-title {
  padding-right: 76px;
}

/* line 673, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-add {
  width: 40px;
  text-align: center;
}

/* line 674, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--kb-ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* line 689, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-name.is-untitled {
  color: rgba(55, 53, 47, 0.35);
  font-weight: 500;
}

/* line 691, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-title-input {
  width: 100%;
  height: 28px;
  padding: 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--kb-ink);
}

/* line 692, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-open {
  position: absolute;
  top: 50%;
  right: 8px;
  display: none;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid var(--kb-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: rgba(15, 15, 15, 0.06) 0 1px 2px;
  color: #787774;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: translateY(-50%);
  cursor: pointer;
}

/* line 711, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-open:hover {
  background: #f7f7f5;
}

/* line 713, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-row:hover .kb-dbt-open {
  display: inline-flex;
}

/* line 714, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-gutter {
  position: absolute;
  top: 50%;
  left: -52px;
  display: flex;
  gap: 1px;
  opacity: 0;
  transform: translateY(-50%);
}

/* line 722, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-gutter button {
  width: 22px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(55, 53, 47, 0.35);
  font-size: 15px;
  cursor: pointer;
}

/* line 723, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-gutter button:last-child {
  font-size: 12px;
  letter-spacing: -3px;
}

/* line 724, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-gutter button:hover {
  background: var(--nb-hover);
  color: rgba(55, 53, 47, 0.65);
}

/* line 726, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-row:hover .kb-dbt-gutter {
  opacity: 1;
}

/* line 727, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-row:hover td {
  background: rgba(55, 53, 47, 0.016);
}

/* line 728, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-cell {
  cursor: pointer;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 728, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-cell:hover {
  background: rgba(55, 53, 47, 0.03) !important;
}

/* line 729, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-cell.is-created_by, .kb-dbt-cell.is-created_time, .kb-dbt-cell.is-last_edited {
  cursor: default;
}

/* line 730, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-new {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid var(--kb-line);
  background: transparent;
  color: #91918e;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

/* line 744, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-new:hover {
  background: var(--kb-hover);
}

/* line 746, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-empty {
  padding: 14px 8px;
  color: #91918e;
  font-size: 14px;
  border-bottom: 1px solid var(--kb-line);
}

/* line 747, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-count {
  padding: 8px;
  font-size: 12px;
  color: #91918e;
  text-align: right;
}

/* line 747, app/assets/stylesheets/_wiki_notion.scss */
.kb-dbt-count strong {
  color: var(--kb-ink);
  font-weight: 500;
  margin-left: 4px;
}

/* line 749, app/assets/stylesheets/_wiki_notion.scss */
.kb-opts, .kb-people {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  overflow: hidden;
}

/* line 750, app/assets/stylesheets/_wiki_notion.scss */
.kb-opt {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 3px;
  background: var(--kb-opt-bg);
  color: var(--kb-opt-fg);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

/* line 762, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-check {
  width: 16px;
  height: 16px;
  accent-color: var(--nb-blue);
  pointer-events: none;
}

/* line 763, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-url {
  color: var(--kb-ink);
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.3);
}

/* line 764, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-num {
  display: block;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* line 766, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-pop {
  position: absolute;
  z-index: 45;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  padding: 6px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--kb-shadow-pop);
}

/* line 777, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-pop.is-field {
  padding: 4px;
}

/* line 779, app/assets/stylesheets/_wiki_notion.scss */
.kb-app .kb-db-pop .kb-pop-h {
  padding: 6px 8px 4px;
  font-size: 12px;
  color: #91918e;
  font-weight: 500;
}

/* line 780, app/assets/stylesheets/_wiki_notion.scss */
.kb-pop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 30px;
  padding: 3px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--kb-ink);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

/* line 794, app/assets/stylesheets/_wiki_notion.scss */
.kb-pop-item kbd {
  margin-left: auto;
  border: 0;
  background: none;
  color: #91918e;
  padding: 0;
}

/* line 795, app/assets/stylesheets/_wiki_notion.scss */
.kb-pop-item:hover {
  background: var(--kb-hover);
}

/* line 796, app/assets/stylesheets/_wiki_notion.scss */
.kb-pop-item.is-muted {
  color: #91918e;
}

/* line 797, app/assets/stylesheets/_wiki_notion.scss */
.kb-pop-item.is-danger {
  color: #eb5757;
}

/* line 798, app/assets/stylesheets/_wiki_notion.scss */
.kb-pop-item:disabled {
  opacity: 0.5;
  cursor: default;
}

/* line 800, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-pop-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: rgba(242, 241, 238, 0.7);
}

/* line 810, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-pop-input input {
  flex: 1;
  min-width: 80px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

/* line 812, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-pop-field {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--kb-line);
  border-radius: 6px;
  background: rgba(242, 241, 238, 0.6);
  font-size: 14px;
  outline: 0;
}

/* line 821, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-pop-field:focus {
  border-color: rgba(35, 131, 226, 0.6);
  box-shadow: 0 0 0 3px rgba(35, 131, 226, 0.15);
}

/* line 823, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-form {
  display: grid;
  gap: 6px;
  padding: 2px;
}

/* line 827, app/assets/stylesheets/_wiki_notion.scss */
.kb-db-form select, .kb-db-form input:not([type="radio"]) {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--kb-line);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}

/* line 830, app/assets/stylesheets/_wiki_notion.scss */
.kb-board.is-db {
  grid-auto-columns: 264px;
  margin-top: 10px;
}

/* line 833, app/assets/stylesheets/_wiki_notion.scss */
.kb-board.is-db .kb-board-col {
  background: transparent;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.12s;
}

/* line 834, app/assets/stylesheets/_wiki_notion.scss */
.kb-board.is-db .kb-board-col.is-drop {
  background: rgba(35, 131, 226, 0.06);
}

/* line 835, app/assets/stylesheets/_wiki_notion.scss */
.kb-board.is-db .kb-board-col header {
  justify-content: flex-start;
  gap: 8px;
  padding: 2px 4px 8px;
}

/* line 836, app/assets/stylesheets/_wiki_notion.scss */
.kb-board.is-db .kb-board-card {
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(15, 15, 15, 0.07) 0 0 0 1px, rgba(15, 15, 15, 0.05) 0 2px 4px;
  cursor: pointer;
}

/* line 841, app/assets/stylesheets/_wiki_notion.scss */
.kb-board.is-db .kb-board-card.is-dragging {
  opacity: 0.4;
}

/* line 842, app/assets/stylesheets/_wiki_notion.scss */
.kb-board.is-db .kb-board-card:hover {
  background: #fbfbfa;
}

/* line 845, app/assets/stylesheets/_wiki_notion.scss */
.kb-board-prop {
  display: block;
  font-size: 13px;
  color: #787774;
}

/* line 846, app/assets/stylesheets/_wiki_notion.scss */
.kb-board-new {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #91918e;
  font-size: 14px;
  cursor: pointer;
}

/* line 859, app/assets/stylesheets/_wiki_notion.scss */
.kb-board-new:hover {
  background: var(--kb-hover);
}

/* ───────── responsive ───────── */
@media (max-width: 1180px) {
  /* line 865, app/assets/stylesheets/_wiki_notion.scss */
  .kb-app .kb-doc {
    padding: 48px 56px 30vh;
  }
  /* line 866, app/assets/stylesheets/_wiki_notion.scss */
  .kb-app .kb-doc.is-db {
    padding: 32px 56px 80px;
  }
  /* line 867, app/assets/stylesheets/_wiki_notion.scss */
  .kb-dbt-wrap {
    margin: 0 -56px;
    padding: 0 56px 8px;
  }
}

@media (max-width: 640px) {
  /* line 871, app/assets/stylesheets/_wiki_notion.scss */
  .kb-app .kb-doc {
    padding: 28px 20px 40vh;
  }
  /* line 872, app/assets/stylesheets/_wiki_notion.scss */
  .kb-app .kb-doc.is-db {
    padding: 24px 16px 64px;
  }
  /* line 873, app/assets/stylesheets/_wiki_notion.scss */
  .kb-app .kb-doc-title {
    font-size: 30px;
  }
  /* line 874, app/assets/stylesheets/_wiki_notion.scss */
  .kb-app .kb-doc-icon {
    font-size: 52px;
  }
  /* line 875, app/assets/stylesheets/_wiki_notion.scss */
  .kb-dbt-wrap {
    margin: 0 -16px;
    padding: 0 16px 8px;
  }
  /* line 876, app/assets/stylesheets/_wiki_notion.scss */
  .kb-dbt-title {
    min-width: 220px;
  }
  /* line 877, app/assets/stylesheets/_wiki_notion.scss */
  th.kb-dbt-title .kb-dbt-head {
    min-width: 220px;
  }
  /* line 878, app/assets/stylesheets/_wiki_notion.scss */
  .kb-db-tools .kb-icon-btn[data-kind="settings"] {
    display: none;
  }
  /* line 879, app/assets/stylesheets/_wiki_notion.scss */
  .nb-editor {
    margin-left: -22px;
    padding-left: 22px;
  }
  /* line 880, app/assets/stylesheets/_wiki_notion.scss */
  .nb-gutter {
    left: calc(var(--nb-indent, 0) * 26px - 24px);
  }
  /* line 880, app/assets/stylesheets/_wiki_notion.scss */
  .nb-gutter button[data-nb="add"] {
    display: none;
  }
  /* line 881, app/assets/stylesheets/_wiki_notion.scss */
  .kb-app .kb-prop {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

/* Perk Drive — Notion-style layer. Loaded after the base `.ai-drive-*` rules in
   application.scss; every selector is prefixed with `.ai-drive` so it outranks
   the base rule it restyles without touching markup or JS hooks. */
/* line 5, app/assets/stylesheets/_drive_notion.scss */
.ai-drive {
  --drive-ink: #37352f;
  --drive-muted: #787774;
  --drive-faint: #9b9a97;
  --drive-line: rgba(55, 53, 47, 0.09);
  --drive-line-2: rgba(55, 53, 47, 0.16);
  --drive-hover: rgba(55, 53, 47, 0.06);
  --drive-press: rgba(55, 53, 47, 0.1);
  --drive-soft: #f7f7f5;
  --drive-surface: #ffffff;
  --drive-accent: #2383e2;
  --drive-focus: #2383e2;
  --drive-blue: #2383e2;
  --drive-radius: 6px;
  --drive-radius-sm: 4px;
  background: #ffffff;
  color: var(--drive-ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif;
  font-size: 14px;
}

/* ───────── top bar: quiet, flat, like a Notion page header ───────── */
/* line 28, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-futur-top {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--drive-line);
  padding: 0.55rem 1.25rem;
  gap: 0.75rem;
}

/* line 37, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--drive-radius-sm);
  background: var(--drive-soft);
  color: var(--drive-ink);
  box-shadow: inset 0 0 0 1px var(--drive-line);
}

/* line 46, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-futur-brand-copy h1,
.ai-drive .ai-drive-app-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--drive-ink);
}

/* line 54, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-futur-brand-copy p {
  font-size: 0.75rem;
  color: var(--drive-faint);
}

/* search: Notion's soft grey field */
/* line 60, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-futur-search-wrap {
  background: var(--drive-hover);
  border: 0;
  border-radius: var(--drive-radius);
  box-shadow: none;
  min-height: 30px;
}

/* line 68, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-futur-search-wrap:focus-within {
  background: #ffffff;
  box-shadow: rgba(35, 131, 226, 0.57) 0 0 0 1px inset, rgba(35, 131, 226, 0.35) 0 0 0 2px;
}

/* line 73, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-futur-search {
  font-size: 0.875rem;
  color: var(--drive-ink);
  background: transparent;
}

/* line 79, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-futur-search::placeholder {
  color: var(--drive-faint);
}

/* line 80, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-search-ico {
  color: var(--drive-faint);
}

/* line 82, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-search-kbd {
  background: transparent;
  border: 1px solid var(--drive-line-2);
  border-radius: 4px;
  color: var(--drive-faint);
  font-size: 0.7rem;
  box-shadow: none;
}

/* ───────── buttons ───────── */
/* line 93, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-btn {
  height: 28px;
  min-height: 28px;
  padding: 0 0.6rem;
  border-radius: var(--drive-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: none;
  transition: background 100ms ease;
}

/* line 104, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-btn.is-primary {
  background: var(--drive-blue);
  color: #ffffff;
  border: 0;
}

/* line 110, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-btn.is-primary:hover {
  background: #0077d4;
}

/* line 112, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-btn.is-ghost {
  background: transparent;
  border: 0;
  color: var(--drive-ink);
}

/* line 118, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-btn.is-ghost:hover {
  background: var(--drive-hover);
}

/* line 119, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-btn.is-ghost:active {
  background: var(--drive-press);
}

/* line 121, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--drive-radius-sm);
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--drive-faint);
}

/* line 131, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-icon-btn:hover {
  background: var(--drive-hover);
  color: var(--drive-ink);
}

/* tabs: Notion database view tabs */
/* line 137, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-tabs {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 0.15rem;
  box-shadow: none;
}

/* line 145, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-tab {
  height: 28px;
  padding: 0 0.55rem;
  border-radius: var(--drive-radius-sm);
  background: transparent;
  color: var(--drive-muted);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: none;
}

/* line 156, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-tab:hover {
  background: var(--drive-hover);
  color: var(--drive-ink);
}

/* line 161, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-tab.is-active {
  background: transparent;
  color: var(--drive-ink);
  box-shadow: none;
}

/* line 167, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-tab.is-active::after {
  left: 0.4rem;
  right: 0.4rem;
  bottom: -0.6rem;
  height: 2px;
  border-radius: 0;
  background: var(--drive-ink);
}

/* ───────── page body ───────── */
/* line 178, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-home-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 1.5rem 2.5rem 2.5rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* filters: Notion's small grey chips */
/* line 188, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-filter-row {
  gap: 0.35rem;
  padding: 0 0 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--drive-line);
}

/* line 195, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-filter-pill {
  height: 24px;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--drive-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: none;
}

/* line 207, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-filter-pill:hover {
  background: var(--drive-hover);
  color: var(--drive-ink);
}

/* line 212, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-filter-pill.is-on {
  background: rgba(35, 131, 226, 0.1);
  color: var(--drive-blue);
}

/* line 217, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-breadcrumb {
  font-size: 0.875rem;
  color: var(--drive-muted);
}

/* ───────── gallery (grid) ───────── */
/* line 224, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-sections > .ai-drive-list + .ai-drive-list {
  margin-top: 1.25rem;
}

/* line 228, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem;
}

/* line 233, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item {
  border-radius: var(--drive-radius);
  border: 0;
  background: #ffffff;
  box-shadow: rgba(15, 15, 15, 0.1) 0 0 0 1px, rgba(15, 15, 15, 0.06) 0 2px 4px;
  transition: background 100ms ease;
}

/* line 241, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item:hover {
  background: #fbfbfa;
  box-shadow: rgba(15, 15, 15, 0.1) 0 0 0 1px, rgba(15, 15, 15, 0.08) 0 2px 6px;
}

/* line 246, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item:active {
  background: var(--drive-soft);
}

/* card layout: cover on top, title row underneath (Notion gallery card) */
/* line 249, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item.is-file .ai-drive-item-main {
  padding: 0;
  gap: 0;
}

/* line 254, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item.is-file .ai-drive-item-preview {
  order: -1;
  border-radius: 0;
  background: var(--drive-soft);
  border-bottom: 1px solid var(--drive-line);
  aspect-ratio: 16 / 10;
}

/* line 262, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-thumb,
.ai-drive .ai-drive-thumb.has-image {
  background: var(--drive-soft);
}

/* line 267, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item.is-file .ai-drive-item-head {
  padding: 0.6rem 0.75rem 0.15rem;
}

/* line 271, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item.is-file .ai-drive-item-foot {
  padding: 0 0.75rem 0.65rem;
}

/* line 275, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--drive-ink);
  letter-spacing: 0;
}

/* line 282, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item-opened,
.ai-drive .ai-drive-item-text span,
.ai-drive .ai-drive-item-kind,
.ai-drive .ai-drive-item-edited {
  font-size: 0.75rem;
  color: var(--drive-faint);
}

/* folders: compact one-line tiles */
/* line 291, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item.is-folder {
  box-shadow: rgba(15, 15, 15, 0.1) 0 0 0 1px;
}

/* line 295, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item.is-folder .ai-drive-item-main {
  padding: 0.55rem 2.25rem 0.55rem 0.7rem;
}

/* line 299, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item-icon,
.ai-drive .ai-drive-item-icon.is-folder {
  background: transparent;
  box-shadow: none;
}

/* line 305, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item-more {
  top: 0.4rem;
  right: 0.4rem;
  width: 24px;
  height: 24px;
  border-radius: var(--drive-radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--drive-faint);
  opacity: 0;
  box-shadow: rgba(15, 15, 15, 0.1) 0 0 0 1px;
  transition: opacity 100ms ease;
}

/* line 318, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-item:hover .ai-drive-item-more,
.ai-drive .ai-drive-item-more:focus-visible {
  opacity: 1;
  background: #ffffff;
  color: var(--drive-ink);
}

/* ───────── list view: Notion table rows ───────── */
/* line 327, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list {
  gap: 0;
  border-top: 1px solid var(--drive-line);
}

/* line 332, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-bottom: 1px solid var(--drive-line);
}

/* line 339, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item,
.ai-drive .ai-drive-list.is-list .ai-drive-item.is-folder {
  align-self: stretch;
  width: 100%;
}

/* line 345, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item.is-folder .ai-drive-item-main {
  padding: 0.4rem 0.5rem;
}

/* plain glyphs instead of tinted tiles, like Notion page icons */
/* line 350, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item-icon,
.ai-drive .ai-drive-list.is-list .ai-drive-item-icon.is-folder,
.ai-drive .ai-drive-list.is-list .ai-drive-item:hover .ai-drive-item-icon {
  background: transparent;
  box-shadow: none;
  border: 0;
}

/* line 358, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item:hover {
  background: var(--drive-hover);
}

/* line 359, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item:active {
  background: var(--drive-press);
}

/* line 361, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item.is-file .ai-drive-item-main,
.ai-drive .ai-drive-list.is-list .ai-drive-item-main {
  padding: 0.4rem 0.5rem;
  gap: 0.6rem;
}

/* line 367, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item.is-file .ai-drive-item-head {
  padding: 0;
}

/* line 371, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item-text strong,
.ai-drive .ai-drive-list.is-list .ai-drive-item.is-folder .ai-drive-item-text strong {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--drive-ink);
}

/* line 378, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item-more {
  opacity: 0;
  background: transparent;
  box-shadow: none;
}

/* line 384, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-list.is-list .ai-drive-item:hover .ai-drive-item-more {
  opacity: 1;
}

/* touch devices can't hover: keep the menu reachable */
@media (hover: none) {
  /* line 388, app/assets/stylesheets/_drive_notion.scss */
  .ai-drive .ai-drive-item-more,
.ai-drive .ai-drive-list.is-list .ai-drive-item-more {
    opacity: 1;
  }
}

/* ───────── empty state, footer chips ───────── */
/* line 394, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-empty {
  border: 0;
  background: transparent;
  color: var(--drive-muted);
}

/* line 400, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-empty strong {
  color: var(--drive-ink);
  font-weight: 600;
}

/* line 402, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-chip {
  border: 1px solid var(--drive-line-2);
  border-radius: var(--drive-radius-sm);
  background: #ffffff;
  color: var(--drive-ink);
  box-shadow: none;
  font-size: 0.8125rem;
}

/* line 411, app/assets/stylesheets/_drive_notion.scss */
.ai-drive .ai-drive-chip:hover {
  background: var(--drive-hover);
}

@media (max-width: 720px) {
  /* line 414, app/assets/stylesheets/_drive_notion.scss */
  .ai-drive .ai-drive-home-layout {
    padding: 1rem 16px 1.5rem;
  }
  /* line 415, app/assets/stylesheets/_drive_notion.scss */
  .ai-drive .ai-drive-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.65rem;
  }
}

/* Perk Workplace — Notion-style layer (entrance, team shell, tasks, projects, notes).
   Every selector is scoped to the hub root so base `tw-*` rules are overridden
   without touching them. Loaded after _wiki_notion.scss / _drive_notion.scss. */
/* line 8, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app), .tw-landing.is-notion {
  --nt-bg: #ffffff;
  --nt-side: #fbfbfa;
  --nt-ink: #37352f;
  --nt-muted: #787774;
  --nt-faint: #9b9a97;
  --nt-line: rgba(55, 53, 47, 0.09);
  --nt-line-2: rgba(55, 53, 47, 0.16);
  --nt-hover: rgba(55, 53, 47, 0.06);
  --nt-band: #f1f1ef;
  --nt-blue: #2383e2;
  --nt-shadow-pop: rgba(15, 15, 15, 0.05) 0 0 0 1px, rgba(15, 15, 15, 0.1) 0 3px 6px, rgba(15, 15, 15, 0.2) 0 9px 24px;
  /* Notion tag palette (background / text) */
  --nt-gray-bg: #e3e2e0;
  --nt-gray-ink: #32302c;
  --nt-orange-bg: #fadec9;
  --nt-orange-ink: #49290e;
  --nt-yellow-bg: #fdecc8;
  --nt-yellow-ink: #402c1b;
  --nt-green-bg: #dbeddb;
  --nt-green-ink: #1c3829;
  --nt-blue-bg: #d3e5ef;
  --nt-blue-ink: #183347;
  --nt-purple-bg: #e8deee;
  --nt-purple-ink: #412454;
  --nt-red-bg: #ffe2dd;
  --nt-red-ink: #5d1715;
  --tw-ink: #37352f;
  --tw-muted: #787774;
  --tw-line: rgba(55, 53, 47, 0.09);
  --tw-canvas: #ffffff;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif;
  color: var(--nt-ink);
}

/* ───────── shared primitives ───────── */
/* line 38, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-title, .tw-landing.is-notion .tw-landing-title {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nt-ink);
  overflow-wrap: anywhere;
}

/* line 48, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-band, .tw-landing.is-notion .tw-nt-band {
  margin: 22px 0 6px;
  padding: 6px 4px;
  background: var(--nt-band);
  border-radius: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--nt-ink);
  text-transform: none;
  text-shadow: none;
}

/* line 62, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick, .tw-landing.is-notion .tw-nt-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 6px;
}

/* line 69, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick-btn, .tw-landing.is-notion .tw-nt-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px 0 9px;
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  color: var(--nt-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
  transition: background 0.12s ease;
}

/* line 85, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick-btn svg, .tw-landing.is-notion .tw-nt-quick-btn svg, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick-btn i, .tw-landing.is-notion .tw-nt-quick-btn i {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 999px;
  background: var(--nt-ink);
  color: #fff;
  font-size: 9px;
  flex: 0 0 auto;
}

/* line 95, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick-btn:hover, .tw-landing.is-notion .tw-nt-quick-btn:hover {
  background: var(--nt-hover);
}

/* line 98, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-priority-pill,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tag, .tw-landing.is-notion .tw-nt-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 7px;
  border-radius: 4px;
  border: 0;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
  background: var(--nt-gray-bg);
  color: var(--nt-gray-ink);
  box-shadow: none;
}

/* line 116, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-filters,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-view-toggle,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-views, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-tabs {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--nt-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-x: auto;
  scrollbar-width: none;
}

/* line 129, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-filters::-webkit-scrollbar,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-view-toggle::-webkit-scrollbar,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-views::-webkit-scrollbar, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-tabs::-webkit-scrollbar {
  display: none;
}

/* line 132, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-filter,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-view-toggle-btn,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-view, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top .tw-tab,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 8px;
  margin: 0;
  border: 0;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: var(--nt-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

/* line 150, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-filter:hover,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-view-toggle-btn:hover,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-view:hover,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-tab:hover {
  background: var(--nt-hover);
  color: var(--nt-ink);
}

/* line 151, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-filter,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-view-toggle-btn,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-nt-view,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-tab {
  background: transparent;
  color: var(--nt-ink);
  box-shadow: none;
}

/* line 155, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-filter::after,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-view-toggle-btn::after,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-nt-view::after,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .is-on.tw-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--nt-ink);
  border-radius: 1px;
}

/* ───────── entrance / landing ───────── */
/* line 170, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion {
  background: var(--nt-bg);
  color: var(--nt-ink);
}

/* line 175, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion :where(*) {
  font-weight: inherit !important;
}

/* line 177, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-stage-bg {
  display: none;
}

/* line 179, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-stage-body {
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 48px 56px;
  gap: 0;
  overflow: auto;
}

/* line 189, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-title {
  font-weight: 700 !important;
}

/* line 191, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-nt-quick-btn {
  font-weight: 500 !important;
}

/* line 193, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-section {
  display: block;
  max-width: none;
  width: 100%;
}

/* line 198, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-nt-band {
  font-weight: 600 !important;
}

/* line 200, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  text-align: left;
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
  transition: background 0.12s ease;
}

/* line 215, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me:hover {
  background: var(--nt-side);
}

/* line 216, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me:hover .tw-landing-me-art {
  transform: none;
}

/* line 218, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me-avatar {
  width: 40px;
  height: 40px;
  box-shadow: none;
}

/* line 223, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me-avatar.is-fallback {
  font-size: 16px;
  background: var(--nt-gray-bg);
  color: var(--nt-ink);
}

/* line 228, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me-art .tw-count-badge {
  min-width: 18px;
  height: 18px;
  font-size: 11px;
  padding: 0 5px;
}

/* line 229, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

/* line 230, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me-name {
  max-width: none;
  color: var(--nt-ink);
  font-size: 14px;
  font-weight: 600 !important;
  text-shadow: none;
}

/* line 237, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-me-sub {
  font-style: normal;
  font-size: 12px;
  color: var(--nt-muted);
}

/* line 243, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  max-width: none;
  margin-top: 10px;
  justify-content: stretch;
}

/* line 252, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 72px auto auto;
  align-items: start;
  justify-items: start;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 0 0 14px;
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  color: var(--nt-ink);
  text-align: left;
  overflow: hidden;
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
  transition: background 0.12s ease;
}

/* line 258, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group > * {
  grid-column: 1;
}

/* line 272, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group:hover {
  background: var(--nt-side);
}

/* line 273, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group:hover .tw-landing-group-art {
  transform: none;
}

/* line 275, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group-cover {
  grid-row: 1;
  width: 100%;
  height: 72px;
  opacity: 0.32;
}

/* line 281, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group-art {
  --tw-group-radius: 8px;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  margin: 0 0 -18px 14px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 0 0 3px var(--nt-bg);
}

/* line 291, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group-art svg, .tw-landing.is-notion .tw-landing-group-art i {
  width: 18px;
  height: 18px;
  font-size: 16px;
}

/* line 293, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group-name {
  grid-row: 2;
  margin-top: 22px;
  padding: 0 14px;
  color: var(--nt-ink);
  font-size: 14px;
  font-weight: 600 !important;
  text-shadow: none;
}

/* line 302, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group-meta {
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px;
}

/* line 309, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group.is-add {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
  border-style: dashed;
  box-shadow: none;
  color: var(--nt-muted);
}

/* line 320, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group.is-add .tw-landing-group-art {
  grid-row: auto;
  margin: 0;
  align-self: center;
  background: var(--nt-hover);
  color: var(--nt-muted);
  backdrop-filter: none;
  box-shadow: none;
}

/* line 329, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-group.is-add .tw-landing-group-name {
  grid-row: auto;
  margin: 0;
  padding: 0;
  color: var(--nt-muted);
  text-align: center;
}

/* line 331, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-landing-hint {
  margin-top: 14px;
  max-width: none;
  text-align: left;
  color: var(--nt-muted);
}

/* line 337, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-spinner.is-on-hero {
  margin: 24px 0;
  border-color: var(--nt-line-2);
  border-top-color: var(--nt-ink);
}

/* line 341, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-nt-tag.is-blue {
  background: var(--nt-blue-bg);
  color: var(--nt-blue-ink);
}

/* line 342, app/assets/stylesheets/_workplace_notion.scss */
.tw-landing.is-notion .tw-nt-tag.is-red {
  background: var(--nt-red-bg);
  color: var(--nt-red-ink);
}

/* ───────── team shell ("groups") ───────── */
/* line 348, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) {
  background: var(--nt-bg);
  /* header bar → flat Notion top bar */
  /* page frame */
  /* navigation card */
  /* ───────── shared controls inside panels ───────── */
  /* pills: Notion tags (status gets a leading dot) */
  /* ───────── tasks ───────── */
  /* table head / foot */
  /* rows */
  /* desktop list: cells carry status/due/people/project — hide duplicates */
  /* gallery cards (grid view) */
  /* ───────── projects ───────── */
  /* ───────── notes ───────── */
}

/* line 352, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-main {
  background: transparent;
}

/* line 355, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top {
  margin-bottom: 0;
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid var(--nt-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  backdrop-filter: none;
}

/* line 365, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top-copy strong {
  color: var(--nt-ink);
  font-size: 14px;
  font-weight: 600;
}

/* line 366, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-icon {
  color: #91918e;
  border-radius: 6px;
}

/* line 367, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-icon:hover {
  background: var(--nt-hover);
  color: var(--nt-ink);
}

/* line 368, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-brand-mark {
  border-radius: 6px;
  box-shadow: none;
}

/* line 369, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-team-menu-trigger {
  border-radius: 6px;
}

/* line 370, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-team-menu-trigger:hover,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-team-menu-trigger.is-open {
  background: var(--nt-hover);
}

/* line 372, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-team-menu-panel {
  border-radius: 8px;
  border: 0;
  box-shadow: var(--nt-shadow-pop);
}

/* line 374, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-tabs {
  border-bottom: 0;
  margin: 0;
}

/* line 379, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top .tw-tab,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-tab {
  height: 32px;
}

/* line 382, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-content {
  padding: 0;
  gap: 0;
}

/* line 386, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top + .tw-content.is-projects {
  margin-top: 0;
}

/* line 389, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-page {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 40px 56px 24px;
  min-height: 100%;
}

/* line 400, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-main {
  min-width: 0;
}

/* line 405, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* line 411, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-page.is-performance .tw-nt-panel {
  gap: 12px;
}

/* line 412, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-panel > .tw-ops.is-empty {
  flex: 1 1 auto;
}

/* line 415, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav {
  position: sticky;
  top: 20px;
  margin-top: 4px;
  padding: 14px 10px 12px;
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  box-shadow: rgba(15, 15, 15, 0.03) 0 1px 2px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  scrollbar-width: thin;
}

/* line 428, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 6px 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--nt-line);
}

/* line 435, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-title strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nt-ink);
}

/* line 443, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-title em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 14px;
  color: var(--nt-muted);
  text-decoration: underline;
  text-decoration-color: var(--nt-line-2);
  text-underline-offset: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

/* line 458, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-compass {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--nt-ink);
  color: #fff;
  flex: 0 0 auto;
}

/* line 468, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-compass svg {
  width: 12px;
  height: 12px;
}

/* line 470, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-group {
  padding: 4px 0 8px;
}

/* line 472, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-group + .tw-nt-nav-group {
  border-top: 1px solid var(--nt-line);
  padding-top: 8px;
}

/* line 474, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--nt-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* line 490, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-head:hover {
  background: var(--nt-hover);
}

/* line 492, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-caret {
  display: inline-grid;
  place-items: center;
  width: 14px;
  color: var(--nt-ink);
  transition: transform 0.15s ease;
}

/* line 498, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-caret svg {
  width: 11px;
  height: 11px;
}

/* line 500, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-group.is-collapsed .tw-nt-nav-caret {
  transform: rotate(-90deg);
}

/* line 501, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-group.is-collapsed .tw-nt-nav-items {
  display: none;
}

/* line 502, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-items {
  display: grid;
  gap: 1px;
  padding: 2px 0 0 22px;
}

/* line 507, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 28px;
  padding: 3px 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--nt-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

/* line 523, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-item > span:not(.tw-nt-nav-ico) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--nt-line-2);
  text-underline-offset: 3px;
}

/* line 532, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-item:hover {
  background: var(--nt-hover);
}

/* line 533, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-item.is-on {
  background: rgba(35, 131, 226, 0.08);
}

/* line 534, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-item.is-on > span:not(.tw-nt-nav-ico) {
  text-decoration-color: currentColor;
}

/* line 535, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-item.is-add {
  color: var(--nt-muted);
}

/* line 536, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-item.is-add > span:not(.tw-nt-nav-ico) {
  text-decoration: none;
}

/* line 538, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-ico {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--tw-nt-tone, var(--nt-faint));
  color: #fff;
  flex: 0 0 auto;
}

/* line 547, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-ico svg, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-ico i {
  width: 11px;
  height: 11px;
  font-size: 10px;
}

/* line 549, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eb5757;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* line 566, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-panel-toolbar {
  gap: 8px;
  margin: 0;
}

/* line 575, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ghost-btn,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-primary-btn,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-ctrl {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--nt-line-2);
  background: var(--nt-bg);
  color: var(--nt-ink);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}

/* line 587, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ghost-btn:hover,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-primary-btn:hover,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-ctrl:hover {
  background: var(--nt-hover);
}

/* line 589, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-primary-btn {
  background: var(--nt-blue);
  border-color: var(--nt-blue);
  color: #fff;
}

/* line 593, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-primary-btn:hover {
  background: #0077d4;
}

/* line 595, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-ctrl.is-on {
  background: rgba(35, 131, 226, 0.08);
  color: var(--nt-blue);
  border-color: rgba(35, 131, 226, 0.3);
}

/* line 596, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-ctrl-menu,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-create-menu,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-actions-menu {
  border: 0;
  border-radius: 8px;
  box-shadow: var(--nt-shadow-pop);
}

/* line 603, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-search {
  height: 28px;
  border-radius: 6px;
  background: rgba(242, 241, 238, 0.6);
  border: 1px solid transparent;
  box-shadow: none;
}

/* line 609, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-search:focus-within {
  background: var(--nt-bg);
  border-color: var(--nt-line-2);
}

/* line 611, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-view-toggle,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-notes-view-btn {
  border-radius: 6px;
  border: 1px solid var(--nt-line-2);
  background: var(--nt-bg);
  box-shadow: none;
}

/* line 618, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-view-btn {
  border-radius: 4px;
  color: var(--nt-muted);
  box-shadow: none;
}

/* line 619, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-view-btn.is-on {
  background: var(--nt-hover);
  color: var(--nt-ink);
  box-shadow: none;
}

/* line 625, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill {
  border-radius: 999px;
  padding: 0 8px 0 7px;
}

/* line 628, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
  flex: 0 0 auto;
}

/* line 637, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill.is-todo {
  background: var(--nt-gray-bg);
  color: var(--nt-gray-ink);
}

/* line 638, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill.is-in_progress {
  background: var(--nt-blue-bg);
  color: var(--nt-blue-ink);
}

/* line 639, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill.is-in_progress::before {
  background: #2383e2;
  opacity: 1;
}

/* line 640, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill.is-blocked {
  background: var(--nt-red-bg);
  color: var(--nt-red-ink);
}

/* line 641, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill.is-blocked::before {
  background: #e03e3e;
  opacity: 1;
}

/* line 642, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill.is-done {
  background: var(--nt-green-bg);
  color: var(--nt-green-ink);
}

/* line 643, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-status-pill.is-done::before {
  background: #0f7b6c;
  opacity: 1;
}

/* line 646, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-priority-pill.is-low {
  background: var(--nt-gray-bg);
  color: var(--nt-gray-ink);
}

/* line 647, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-priority-pill.is-medium {
  background: var(--nt-yellow-bg);
  color: var(--nt-yellow-ink);
}

/* line 648, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-priority-pill.is-high {
  background: var(--nt-orange-bg);
  color: var(--nt-orange-ink);
}

/* line 649, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-priority-pill.is-urgent {
  background: var(--nt-red-bg);
  color: var(--nt-red-ink);
}

/* line 652, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tag.is-health-on_track {
  background: var(--nt-blue-bg);
  color: var(--nt-blue-ink);
}

/* line 653, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tag.is-health-at_risk {
  background: var(--nt-yellow-bg);
  color: var(--nt-yellow-ink);
}

/* line 654, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tag.is-health-overdue {
  background: var(--nt-red-bg);
  color: var(--nt-red-ink);
}

/* line 655, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tag.is-health-done {
  background: var(--nt-green-bg);
  color: var(--nt-green-ink);
}

/* line 656, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tag[class*="is-health-"] {
  border-radius: 999px;
}

/* line 658, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tag[class*="is-health-"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.6;
}

/* line 661, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-overdue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 7px 0 5px;
  border-radius: 4px;
  background: var(--nt-red-bg);
  color: #c4332b;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

/* line 675, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-overdue::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  box-sizing: border-box;
  flex: 0 0 auto;
}

/* line 686, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--nt-ink);
}

/* line 693, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-progress-bar {
  position: relative;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: rgba(55, 53, 47, 0.12);
  overflow: hidden;
}

/* line 700, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-progress-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: #448361;
}

/* line 710, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-add-card.tw-composer {
  padding: 10px 12px;
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  box-shadow: none;
}

/* line 717, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-composer-kicker {
  color: var(--nt-muted);
}

/* line 718, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-composer .tw-input,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-composer-title {
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

/* line 724, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-chip {
  height: 26px;
  border-radius: 4px;
  border: 0;
  background: transparent;
  color: var(--nt-muted);
  box-shadow: none;
}

/* line 731, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-chip:hover {
  background: var(--nt-hover);
  color: var(--nt-ink);
}

/* line 733, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-chip.is-on {
  background: var(--nt-hover);
  color: var(--nt-ink);
}

/* line 734, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-add-btn {
  border-radius: 6px;
  background: var(--nt-blue);
  color: #fff;
  box-shadow: none;
}

/* line 739, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-add-btn:disabled {
  background: rgba(35, 131, 226, 0.35);
}

/* line 742, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-toolbar {
  margin-top: 10px;
}

/* line 743, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-toolbar-row.is-main {
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid var(--nt-line);
}

/* line 748, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-toolbar .tw-filters {
  border-bottom: 0;
  margin: 0;
}

/* line 749, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-count {
  color: var(--nt-faint);
  font-size: 12px;
  align-self: center;
}

/* line 750, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-controls {
  align-self: center;
  padding-bottom: 3px;
}

/* line 751, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-view-toggle {
  align-self: center;
  margin-bottom: 3px;
}

/* line 754, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-thead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 34px;
  padding: 0 0 0 4px;
  border-bottom: 1px solid var(--nt-line);
  color: var(--nt-muted);
  font-size: 14px;
}

/* line 764, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

/* line 771, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th svg, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th i {
  width: 14px;
  height: 14px;
  color: var(--nt-faint);
  flex: 0 0 auto;
}

/* line 773, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th.is-name {
  padding-left: 34px;
}

/* line 774, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th-aa {
  font-weight: 500;
  color: var(--nt-faint);
  font-size: 13px;
}

/* line 775, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th-cells,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cells {
  display: grid;
  grid-template-columns: 112px 206px 132px 156px;
  align-items: center;
}

/* line 781, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th-cells .tw-nt-th {
  padding: 0 8px;
  border-left: 1px solid var(--nt-line);
  height: 34px;
}

/* line 782, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tfoot {
  display: flex;
  gap: 24px;
  padding: 8px 4px 0 38px;
  color: var(--nt-faint);
}

/* line 787, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tfoot span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

/* line 788, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tfoot small {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* line 789, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tfoot b {
  color: var(--nt-ink);
  font-size: 14px;
  font-weight: 500;
}

/* line 793, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list {
  gap: 0;
  padding: 0;
}

/* line 797, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 6px;
  margin: 0;
  padding: 4px 0 4px 4px;
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid var(--nt-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

/* line 811, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task::before, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task::after {
  display: none;
}

/* line 812, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task:hover {
  background: rgba(55, 53, 47, 0.03);
  box-shadow: none;
  transform: none;
}

/* line 813, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task > .tw-check {
  align-self: center;
  margin: 0;
}

/* line 814, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-body {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
}

/* line 823, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-top {
  flex: 1 1 auto;
  min-width: 0;
}

/* line 824, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-foot {
  position: absolute;
  right: 112px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 14px);
  z-index: 2;
}

/* line 834, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task:hover .tw-task-foot, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task:focus-within .tw-task-foot,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-foot:has(.is-picker-open) {
  display: flex;
}

/* line 837, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title-row {
  min-width: 0;
  flex-wrap: nowrap;
}

/* line 838, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title-row .tw-priority-pill {
  flex: 0 0 auto;
}

/* line 839, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-tools {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 18px);
  z-index: 2;
}

/* line 848, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-top {
  align-items: center;
  gap: 6px;
}

/* line 849, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title-row {
  gap: 6px;
}

/* line 850, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title {
  color: var(--nt-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--nt-line-2);
  text-underline-offset: 3px;
}

/* line 858, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title.is-done {
  color: var(--nt-faint);
  text-decoration: line-through;
}

/* line 859, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-objective,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-content {
  color: var(--nt-muted);
  font-size: 12px;
}

/* line 861, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-foot {
  gap: 6px;
  min-height: 0;
}

/* line 862, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-meta.is-empty {
  display: none;
}

/* line 863, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-tools {
  opacity: 0;
  transition: opacity 0.12s ease;
}

/* line 864, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task:hover .tw-task-tools, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task:focus-within .tw-task-tools {
  opacity: 1;
}

/* line 867, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cells {
  align-self: stretch;
  color: var(--nt-ink);
  font-size: 14px;
}

/* line 872, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 100%;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
}

/* line 881, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell svg, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell i {
  width: 14px;
  height: 14px;
  color: var(--nt-muted);
  flex: 0 0 auto;
}

/* line 883, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell-text,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell-date {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 885, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell.is-project .tw-task-cell-text {
  text-decoration: underline;
  text-decoration-color: var(--nt-line-2);
  text-underline-offset: 3px;
}

/* line 890, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell-empty {
  color: var(--nt-faint);
}

/* line 891, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell .tw-avatar-stack .tw-avatar {
  width: 20px;
  height: 20px;
  font-size: 10px;
}

/* line 895, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title-row .tw-status-pill,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-meta .tw-task-due,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-meta .tw-task-people,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-meta .tw-task-project,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-meta .tw-task-chip.is-muted {
  display: none !important;
}

/* line 901, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-chip {
  height: 22px;
  border-radius: 4px;
  border: 0;
  background: transparent;
  color: var(--nt-muted);
  font-size: 12px;
  box-shadow: none;
}

/* line 910, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-chip.is-overdue {
  color: #c4332b;
}

/* line 911, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-result {
  background: var(--nt-hover);
  color: var(--nt-ink);
}

/* line 914, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  padding-top: 10px;
}

/* line 920, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-grid > .tw-task {
  margin: 0;
  padding: 12px 12px 10px;
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
}

/* line 927, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-grid > .tw-task::before, .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-grid > .tw-task::after {
  display: none;
}

/* line 928, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-grid > .tw-task:hover {
  background: var(--nt-side);
  transform: none;
  box-shadow: rgba(15, 15, 15, 0.06) 0 1px 3px;
}

/* line 929, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-grid > .tw-task .tw-task-title {
  color: var(--nt-ink);
  font-weight: 500;
  font-size: 14px;
}

/* line 932, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-check {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1.5px solid rgba(55, 53, 47, 0.35);
  background: var(--nt-bg);
  box-shadow: none;
}

/* line 939, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-check.is-done {
  background: var(--nt-blue);
  border-color: var(--nt-blue);
  color: #fff;
}

/* line 940, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-check i {
  font-size: 9px;
}

/* line 945, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops {
  gap: 10px;
}

/* line 946, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-empty {
  margin: 10px 2px 0;
  color: var(--nt-faint);
  font-size: 14px;
}

/* line 947, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch {
  position: static;
  padding: 10px 0 4px;
  margin: 0;
  background: transparent;
  transform: none;
}

/* line 954, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch.is-away {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* line 955, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 0;
  margin: 0;
}

/* line 963, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch > .tw-ops-chip.is-add {
  align-self: flex-start;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  border-style: dashed;
}

/* line 972, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  gap: 10px 8px;
  min-width: 0;
  max-width: none;
  padding: 12px 12px 14px;
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  color: var(--nt-ink);
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
}

/* line 986, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip:hover {
  transform: none;
  background: var(--nt-side);
  box-shadow: rgba(15, 15, 15, 0.06) 0 1px 3px;
}

/* line 987, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip.is-on {
  border-color: rgba(35, 131, 226, 0.55);
  box-shadow: 0 0 0 1px rgba(35, 131, 226, 0.35);
}

/* line 989, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip:not(.is-on):not(.is-add) {
  background: var(--nt-bg);
  border-color: var(--nt-line-2);
  color: var(--nt-ink);
}

/* line 993, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip:not(.is-on):not(.is-add) .tw-ops-chip-art {
  filter: none;
  opacity: 1;
}

/* line 994, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip:not(.is-on):not(.is-add) .tw-ops-chip-copy strong {
  color: var(--nt-ink);
  font-weight: 600;
}

/* line 995, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip:not(.is-on):not(.is-add):hover {
  background: var(--nt-side);
}

/* line 997, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-art {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 11px;
  box-shadow: none;
}

/* line 1005, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-copy strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--nt-ink);
}

/* line 1006, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-copy em {
  display: none;
}

/* line 1008, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-heat {
  top: 8px;
  right: 8px;
}

/* line 1009, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-card {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 8px;
  font-size: 12px;
  color: var(--nt-ink);
}

/* line 1017, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-people {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

/* line 1022, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-people > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 1023, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-people .tw-avatar {
  width: 18px;
  height: 18px;
  font-size: 9px;
}

/* line 1025, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-days {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 1029, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-days::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--nt-faint);
}

/* line 1030, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-days.is-late {
  color: #c4332b;
  font-weight: 500;
}

/* line 1031, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-days.is-late::before {
  background: #e03e3e;
}

/* line 1033, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-date {
  color: var(--nt-faint);
}

/* line 1034, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-chip-date::before {
  content: "@";
}

/* line 1036, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-hero,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-panel,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-card,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-kanban-col {
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  box-shadow: none;
}

/* line 1045, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-kanban-col {
  background: var(--nt-side);
}

/* line 1046, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-kanban-card {
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
}

/* line 1054, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-page.is-performance .tw-gop-kpi,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-page.is-performance .tw-gop-card {
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
}

/* line 1065, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-toolbar-row {
  justify-content: flex-start;
}

/* line 1066, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-toolbar-row .tw-note-create-wrap {
  margin-left: auto;
}

/* line 1067, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-section {
  margin: 0;
}

/* line 1068, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-section-title {
  margin: 16px 0 4px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--nt-line);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--nt-ink);
}

/* line 1079, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-list {
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* line 1086, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-list .tw-note-item {
  border: 0;
  border-bottom: 1px solid var(--nt-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* line 1092, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-list .tw-note-item:hover {
  background: rgba(55, 53, 47, 0.03);
}

/* line 1094, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-list .tw-note {
  min-height: 40px;
  padding: 6px 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* line 1101, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-ico {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--tw-note-tone, var(--nt-faint));
  color: #fff;
  box-shadow: none;
}

/* line 1109, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-copy strong {
  color: var(--nt-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--nt-line-2);
  text-underline-offset: 3px;
}

/* line 1117, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-copy .tw-note-preview {
  color: var(--nt-muted) !important;
  font-weight: 400;
}

/* line 1118, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-chevron {
  color: var(--nt-faint);
}

/* line 1119, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-updated {
  color: var(--nt-faint);
  font-size: 12px;
}

/* line 1120, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* line 1125, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-item {
  border: 1px solid var(--nt-line-2);
  border-radius: 6px;
  background: var(--nt-bg);
  box-shadow: rgba(15, 15, 15, 0.04) 0 1px 2px;
}

/* line 1130, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-item:hover {
  background: var(--nt-side);
  transform: none;
}

/* line 1132, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note {
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  min-height: 112px;
  padding: 14px 14px 12px;
  background: transparent;
  box-shadow: none;
  border-radius: 6px;
}

/* line 1142, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-copy {
  justify-items: start;
  gap: 4px;
}

/* line 1143, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-ico {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

/* line 1144, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-preview {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  font-style: normal;
  font-size: 12px;
}

/* line 1155, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-copy {
  min-width: 0;
  width: 100%;
}

/* line 1156, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-updated {
  display: block !important;
  font-style: normal;
}

/* line 1157, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-item-more {
  position: absolute;
  top: 8px;
  right: 8px;
}

/* line 1158, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid .tw-note-item {
  position: relative;
}

/* line 1159, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-copy em {
  font-style: normal;
}

/* line 1160, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch > .tw-ops-chip.is-add {
  border: 1px dashed var(--nt-line-2);
  background: var(--nt-bg);
}

/* line 1161, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-breadcrumb {
  color: var(--nt-muted);
}

/* line 1163, app/assets/stylesheets/_workplace_notion.scss */
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-empty,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-empty-state {
  border: 1px dashed var(--nt-line-2);
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}

/* ───────── tablet / phone ───────── */
@media (max-width: 1180px) {
  /* line 1176, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-th-cells,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cells {
    grid-template-columns: 104px 190px 112px 128px;
  }
}

@media (max-width: 1024px) {
  /* line 1183, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 24px 24px 48px;
  }
  /* line 1188, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  /* line 1194, app/assets/stylesheets/_workplace_notion.scss */
  .tw-landing.is-notion .tw-landing-stage-body {
    padding: 28px 16px 40px;
  }
  /* line 1195, app/assets/stylesheets/_workplace_notion.scss */
  .tw-landing.is-notion .tw-landing-title {
    font-size: 30px;
    margin-bottom: 14px;
  }
  /* line 1196, app/assets/stylesheets/_workplace_notion.scss */
  .tw-landing.is-notion .tw-landing-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  /* line 1197, app/assets/stylesheets/_workplace_notion.scss */
  .tw-landing.is-notion .tw-landing-me {
    max-width: none;
  }
  /* line 1200, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) {
    /* phone list: no column grid; status + due move under the title */
  }
  /* line 1201, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px 8px 0;
  }
  /* line 1205, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top .tw-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    width: 100%;
    justify-content: space-between;
  }
  /* line 1212, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top .tw-tab {
    flex: 1 1 0;
    justify-content: center;
    padding: 0 6px;
  }
  /* line 1213, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-top-actions {
    grid-column: 2;
    grid-row: 1;
  }
  /* line 1215, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-page {
    padding: 18px 16px 40px;
  }
  /* line 1216, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-title {
    font-size: 30px;
    margin-bottom: 12px;
  }
  /* line 1217, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
  }
  /* line 1223, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick::-webkit-scrollbar {
    display: none;
  }
  /* line 1225, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-quick-btn {
    flex: 0 0 auto;
  }
  /* line 1226, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-band {
    margin-top: 16px;
    font-size: 16px;
  }
  /* line 1229, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-thead {
    display: none;
  }
  /* line 1230, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: start;
    gap: 4px 6px;
    padding: 10px 0 10px 2px;
  }
  /* line 1235, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task > .tw-check {
    grid-row: 1;
    margin-top: 3px;
  }
  /* line 1236, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-body {
    display: contents;
  }
  /* line 1237, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-top {
    grid-column: 2 / 4;
    grid-row: 1;
    align-items: flex-start;
  }
  /* line 1238, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title-row {
    flex-wrap: wrap;
  }
  /* line 1239, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  /* line 1240, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-foot {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-self: center;
    position: static;
    transform: none;
    padding: 0;
    background: none;
  }
  /* line 1250, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-list > .tw-task .tw-task-tools {
    opacity: 1;
    position: static;
    transform: none;
    padding: 0;
    background: none;
    flex: 0 0 auto;
  }
  /* line 1252, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cells {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 2px 0 0;
  }
  /* line 1260, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell {
    height: auto;
    padding: 0;
  }
  /* line 1261, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell.is-people .tw-task-cell-text,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell.is-project svg,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell-empty {
    display: none;
  }
  /* line 1264, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell.is-project {
    color: var(--nt-muted);
    font-size: 12px;
  }
  /* line 1265, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-cell.is-due .tw-task-cell-date {
    font-size: 12px;
    color: var(--nt-muted);
  }
  /* line 1266, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-nt-tfoot {
    padding-left: 32px;
  }
  /* line 1268, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-toolbar-row.is-main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    border-bottom: 0;
    padding-bottom: 6px;
  }
  /* line 1276, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-toolbar .tw-filters {
    order: -1;
    width: 100%;
    border-bottom: 1px solid var(--nt-line);
  }
  /* line 1277, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-controls {
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
  }
  /* line 1278, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-controls .tw-task-search {
    flex: 1 1 100%;
  }
  /* line 1279, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-view-toggle {
    margin: 0 0 0 auto;
  }
  /* line 1280, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-count {
    order: 3;
    flex: 1 1 100%;
    align-self: auto;
  }
  /* line 1281, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-composer-meta {
    flex-wrap: wrap;
    gap: 4px;
  }
  /* line 1282, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-composer-meta > * {
    width: auto;
    flex: 0 0 auto;
  }
  /* line 1283, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch {
    flex-direction: column;
  }
  /* line 1284, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch-track {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 1285, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-ops-switch > .tw-ops-chip.is-add {
    width: 100%;
    min-width: 0;
    height: 36px;
  }
  /* line 1286, app/assets/stylesheets/_workplace_notion.scss */
  .tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-task-list.is-grid,
.tw-app[data-teamwork-hub]:not(.is-brainstorm-app) .tw-note-items.is-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
}

/* line 4, app/assets/stylesheets/_erp_hub.scss */
.erp-hub {
  --erp-bg: #f7f7f5;
  --erp-surface: #ffffff;
  --erp-sunken: #f1f1ef;
  --erp-hover: rgba(55, 53, 47, 0.06);
  --erp-active: rgba(55, 53, 47, 0.1);
  --erp-line: rgba(55, 53, 47, 0.1);
  --erp-line-strong: rgba(55, 53, 47, 0.18);
  --erp-ink: #1f2328;
  --erp-ink-2: #4b5058;
  --erp-muted: #7c828b;
  --erp-accent: #0f766e;
  --erp-accent-2: #14b8a6;
  --erp-accent-soft: rgba(15, 118, 110, 0.1);
  --erp-accent-ink: #0b5d57;
  --erp-secondary: #c2c7d0;
  --erp-green: #1f9d55;
  --erp-red: #e5484d;
  --erp-orange: #e8850c;
  --erp-blue: #0a84ff;
  --erp-purple: #8e4ec6;
  --erp-teal: #12a594;
  --erp-radius: 10px;
  --erp-radius-sm: 7px;
  --erp-shadow: 0 1px 2px rgba(15, 15, 15, 0.04), 0 2px 8px rgba(15, 15, 15, 0.04);
  --erp-shadow-lg: 0 12px 40px rgba(15, 15, 15, 0.16), 0 2px 6px rgba(15, 15, 15, 0.06);
  --erp-sidebar: 248px;
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  min-height: 0;
  overflow: hidden;
  color: var(--erp-ink);
  background: var(--erp-bg);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* line 42, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.hidden, .erp-hub[hidden] {
  display: none !important;
}

/* line 45, app/assets/stylesheets/_erp_hub.scss */
.erp-hub *, .erp-hub *::before, .erp-hub *::after {
  box-sizing: border-box;
}

/* line 46, app/assets/stylesheets/_erp_hub.scss */
.erp-hub button {
  font: inherit;
  color: inherit;
}

/* line 47, app/assets/stylesheets/_erp_hub.scss */
.erp-hub input, .erp-hub select, .erp-hub textarea {
  font: inherit;
  color: inherit;
}

/* line 48, app/assets/stylesheets/_erp_hub.scss */
.erp-hub h1, .erp-hub h2, .erp-hub h3, .erp-hub h4, .erp-hub p {
  margin: 0;
}

/* line 49, app/assets/stylesheets/_erp_hub.scss */
.erp-hub kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid var(--erp-line-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--erp-surface);
  color: var(--erp-muted);
  font: 600 10.5px/1 -apple-system, sans-serif;
}

/* line 54, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.is-collapsed {
  --erp-sidebar: 64px;
}

/* line 55, app/assets/stylesheets/_erp_hub.scss */
.erp-hub .crm-icon {
  flex: none;
  display: block;
}

/* line 56, app/assets/stylesheets/_erp_hub.scss */
.erp-hub .is-spin {
  animation: erp-spin 0.9s linear infinite;
}

@keyframes erp-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes erp-pulse {
  50% {
    opacity: 0.55;
  }
}

@keyframes erp-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes erp-slide {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}

/* line 64, app/assets/stylesheets/_erp_hub.scss */
.erp-muted {
  color: var(--erp-muted);
}

/* line 65, app/assets/stylesheets/_erp_hub.scss */
.erp-text-red {
  color: var(--erp-red) !important;
}

/* line 66, app/assets/stylesheets/_erp_hub.scss */
.erp-text-green {
  color: var(--erp-green) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 67, app/assets/stylesheets/_erp_hub.scss */
.erp-spacer {
  flex: 1;
}

/* line 68, app/assets/stylesheets/_erp_hub.scss */
.erp-pad {
  padding: 14px 16px;
}

/* line 69, app/assets/stylesheets/_erp_hub.scss */
.erp-nowrap {
  white-space: nowrap;
}

/* line 70, app/assets/stylesheets/_erp_hub.scss */
.erp-pre {
  white-space: pre-wrap;
}

/* line 71, app/assets/stylesheets/_erp_hub.scss */
.erp-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* line 72, app/assets/stylesheets/_erp_hub.scss */
.erp-num.is-red {
  color: var(--erp-red);
  font-weight: 600;
}

/* line 73, app/assets/stylesheets/_erp_hub.scss */
.erp-num.is-green {
  color: var(--erp-green);
  font-weight: 600;
}

/* line 74, app/assets/stylesheets/_erp_hub.scss */
.erp-num.is-orange {
  color: var(--erp-orange);
  font-weight: 600;
}

/* line 76, app/assets/stylesheets/_erp_hub.scss */
.erp-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--dot, var(--erp-muted));
}

/* line 77, app/assets/stylesheets/_erp_hub.scss */
.erp-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--erp-accent-ink);
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

/* line 78, app/assets/stylesheets/_erp_hub.scss */
.erp-link:hover {
  text-decoration: underline;
}

/* line 79, app/assets/stylesheets/_erp_hub.scss */
.erp-link.is-sm {
  font-size: 12.5px;
}

/* line 81, app/assets/stylesheets/_erp_hub.scss */
.erp-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 12px;
}

/* line 81, app/assets/stylesheets/_erp_hub.scss */
.erp-stars span {
  color: var(--erp-line-strong);
}

/* ---------- Shell ---------- */
/* line 85, app/assets/stylesheets/_erp_hub.scss */
.erp-shell {
  display: grid;
  grid-template-columns: var(--erp-sidebar) minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  transition: grid-template-columns 0.18s ease;
}

/* line 87, app/assets/stylesheets/_erp_hub.scss */
.erp-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fbfbfa;
  border-right: 1px solid var(--erp-line);
}

/* line 89, app/assets/stylesheets/_erp_hub.scss */
.erp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 8px;
}

/* line 91, app/assets/stylesheets/_erp_hub.scss */
.erp-brand .erp-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
  border: 0;
  background: none;
  padding: 4px 6px;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
}

/* line 92, app/assets/stylesheets/_erp_hub.scss */
.erp-brand .erp-brand-text:hover {
  background: var(--erp-hover);
}

/* line 93, app/assets/stylesheets/_erp_hub.scss */
.erp-brand .erp-brand-text strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 94, app/assets/stylesheets/_erp_hub.scss */
.erp-brand .erp-brand-text span {
  font-size: 12px;
  color: var(--erp-muted);
  white-space: nowrap;
}

/* line 97, app/assets/stylesheets/_erp_hub.scss */
.erp-brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, var(--erp-accent), var(--erp-accent-2));
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.35);
}

/* line 100, app/assets/stylesheets/_erp_hub.scss */
.erp-brand-mark.is-xl {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 18px;
}

/* line 103, app/assets/stylesheets/_erp_hub.scss */
.erp-nav {
  flex: 1;
  overflow-y: auto;
  padding: 2px 8px 12px;
  scrollbar-width: thin;
}

/* line 104, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-group {
  margin-top: 12px;
}

/* line 105, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-label {
  display: block;
  padding: 0 10px 4px;
  color: var(--erp-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* line 106, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--erp-ink-2);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

/* line 109, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-item:hover {
  background: var(--erp-hover);
  color: var(--erp-ink);
}

/* line 110, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-item.is-active {
  background: var(--erp-accent-soft);
  color: var(--erp-accent-ink);
  font-weight: 600;
}

/* line 110, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-item.is-active .crm-icon {
  color: var(--erp-accent);
}

/* line 111, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-item .crm-icon {
  color: var(--erp-muted);
}

/* line 112, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-item .erp-nav-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 114, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-count {
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--erp-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* line 115, app/assets/stylesheets/_erp_hub.scss */
.erp-nav-count.is-accent {
  background: var(--erp-accent);
}

/* line 117, app/assets/stylesheets/_erp_hub.scss */
.erp-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--erp-line);
}

/* line 119, app/assets/stylesheets/_erp_hub.scss */
.erp-sidebar-foot .erp-sync {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--erp-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}

/* line 122, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.is-collapsed .erp-brand-text, .erp-hub.is-collapsed .erp-nav-label, .erp-hub.is-collapsed .erp-nav-text, .erp-hub.is-collapsed .erp-nav-count, .erp-hub.is-collapsed .erp-sync .erp-nav-text {
  display: none;
}

/* line 123, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.is-collapsed .erp-brand {
  flex-direction: column;
}

/* line 124, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.is-collapsed .erp-nav-item {
  justify-content: center;
  padding: 0;
}

/* line 125, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.is-collapsed .erp-nav-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--erp-line);
}

/* line 125, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.is-collapsed .erp-nav-group:first-child {
  border-top: 0;
}

/* line 126, app/assets/stylesheets/_erp_hub.scss */
.erp-hub.is-collapsed .erp-sidebar-foot {
  flex-direction: column;
}

/* line 129, app/assets/stylesheets/_erp_hub.scss */
.erp-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* line 130, app/assets/stylesheets/_erp_hub.scss */
.erp-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  flex: none;
  padding: 0 16px 0 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--erp-line);
}

/* line 134, app/assets/stylesheets/_erp_hub.scss */
.erp-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  color: var(--erp-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
}

/* line 135, app/assets/stylesheets/_erp_hub.scss */
.erp-crumbs .erp-crumb {
  border: 0;
  background: none;
  padding: 2px 4px;
  border-radius: 5px;
  color: var(--erp-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 136, app/assets/stylesheets/_erp_hub.scss */
.erp-crumbs .erp-crumb:is(button) {
  cursor: pointer;
}

/* line 136, app/assets/stylesheets/_erp_hub.scss */
.erp-crumbs .erp-crumb:is(button):hover {
  background: var(--erp-hover);
  color: var(--erp-ink);
}

/* line 137, app/assets/stylesheets/_erp_hub.scss */
.erp-crumbs .erp-crumb.is-current {
  color: var(--erp-ink);
  font-weight: 600;
}

/* line 140, app/assets/stylesheets/_erp_hub.scss */
.erp-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 38vw;
  max-width: 440px;
  height: 34px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--erp-line);
  border-radius: 8px;
  background: var(--erp-sunken);
  color: var(--erp-muted);
  cursor: pointer;
  font-size: 13px;
}

/* line 143, app/assets/stylesheets/_erp_hub.scss */
.erp-search-trigger span {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 144, app/assets/stylesheets/_erp_hub.scss */
.erp-search-trigger:hover {
  border-color: var(--erp-line-strong);
  background: #fff;
}

/* line 146, app/assets/stylesheets/_erp_hub.scss */
.erp-topbar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 147, app/assets/stylesheets/_erp_hub.scss */
.erp-me {
  margin-left: 6px;
  display: inline-flex;
}

/* line 148, app/assets/stylesheets/_erp_hub.scss */
.erp-main-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scroll-behavior: smooth;
}

/* line 149, app/assets/stylesheets/_erp_hub.scss */
.erp-view {
  min-height: 100%;
}

/* ---------- Buttons ---------- */
/* line 153, app/assets/stylesheets/_erp_hub.scss */
.erp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--erp-line-strong);
  border-radius: var(--erp-radius-sm);
  background: var(--erp-surface);
  color: var(--erp-ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(15, 15, 15, 0.03);
  transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
}

/* line 157, app/assets/stylesheets/_erp_hub.scss */
.erp-btn:hover {
  background: #fafafa;
  border-color: rgba(55, 53, 47, 0.28);
}

/* line 158, app/assets/stylesheets/_erp_hub.scss */
.erp-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* line 159, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-primary {
  background: var(--erp-accent);
  border-color: var(--erp-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 118, 110, 0.35);
}

/* line 160, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-primary:hover {
  background: var(--erp-accent-ink);
}

/* line 161, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-danger {
  color: var(--erp-red);
  border-color: rgba(229, 72, 77, 0.35);
}

/* line 161, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-danger:hover {
  background: rgba(229, 72, 77, 0.06);
}

/* line 162, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-primary.is-danger, .erp-btn.is-danger.is-solid {
  background: var(--erp-red);
  color: #fff;
}

/* line 163, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-good {
  color: var(--erp-green);
  border-color: rgba(31, 157, 85, 0.35);
}

/* line 163, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-good:hover {
  background: rgba(31, 157, 85, 0.07);
}

/* line 164, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-ghost {
  border-color: transparent;
  background: none;
  box-shadow: none;
}

/* line 164, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-ghost:hover {
  background: var(--erp-hover);
}

/* line 165, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-sm {
  height: 28px;
  padding: 0 9px;
  font-size: 12.5px;
}

/* line 166, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-lg {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* line 167, app/assets/stylesheets/_erp_hub.scss */
.erp-btn.is-on {
  border-color: var(--erp-accent);
  color: var(--erp-accent-ink);
  background: var(--erp-accent-soft);
}

/* line 169, app/assets/stylesheets/_erp_hub.scss */
.erp-modal .erp-btn.is-danger:not(.is-ghost) {
  background: var(--erp-red);
  color: #fff;
  border-color: var(--erp-red);
}

/* line 170, app/assets/stylesheets/_erp_hub.scss */
.erp-chip-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--erp-accent);
  color: #fff;
  font-size: 11px;
}

/* line 171, app/assets/stylesheets/_erp_hub.scss */
.erp-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--erp-ink-2);
  cursor: pointer;
}

/* line 173, app/assets/stylesheets/_erp_hub.scss */
.erp-icon-btn:hover {
  background: var(--erp-hover);
  color: var(--erp-ink);
}

/* line 174, app/assets/stylesheets/_erp_hub.scss */
.erp-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 175, app/assets/stylesheets/_erp_hub.scss */
.erp-icon-btn.is-sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

/* line 176, app/assets/stylesheets/_erp_hub.scss */
.erp-icon-btn.is-good:hover {
  color: var(--erp-green);
  background: rgba(31, 157, 85, 0.1);
}

/* line 177, app/assets/stylesheets/_erp_hub.scss */
.erp-icon-btn.is-bad:hover {
  color: var(--erp-red);
  background: rgba(229, 72, 77, 0.1);
}

/* line 179, app/assets/stylesheets/_erp_hub.scss */
.erp-badge {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--erp-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

/* line 180, app/assets/stylesheets/_erp_hub.scss */
.erp-badge.is-accent {
  background: var(--erp-accent);
}

/* line 182, app/assets/stylesheets/_erp_hub.scss */
.erp-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: var(--erp-sunken);
  border: 1px solid var(--erp-line);
}

/* line 184, app/assets/stylesheets/_erp_hub.scss */
.erp-seg button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--erp-muted);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

/* line 185, app/assets/stylesheets/_erp_hub.scss */
.erp-seg button:hover {
  color: var(--erp-ink);
}

/* line 186, app/assets/stylesheets/_erp_hub.scss */
.erp-seg button.is-active {
  background: #fff;
  color: var(--erp-ink);
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.1);
}

/* ---------- Pills, avatars ---------- */
/* line 192, app/assets/stylesheets/_erp_hub.scss */
.erp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 21px;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(124, 130, 139, 0.12);
  color: #555b64;
}

/* line 195, app/assets/stylesheets/_erp_hub.scss */
.erp-pill.is-green {
  background: rgba(31, 157, 85, 0.12);
  color: #17803f;
}

/* line 196, app/assets/stylesheets/_erp_hub.scss */
.erp-pill.is-red {
  background: rgba(229, 72, 77, 0.12);
  color: #c4282d;
}

/* line 197, app/assets/stylesheets/_erp_hub.scss */
.erp-pill.is-orange {
  background: rgba(232, 133, 12, 0.13);
  color: #b06106;
}

/* line 198, app/assets/stylesheets/_erp_hub.scss */
.erp-pill.is-blue {
  background: rgba(10, 132, 255, 0.11);
  color: #0866c6;
}

/* line 199, app/assets/stylesheets/_erp_hub.scss */
.erp-pill.is-purple {
  background: rgba(142, 78, 198, 0.12);
  color: #7438a8;
}

/* line 200, app/assets/stylesheets/_erp_hub.scss */
.erp-pill.is-teal {
  background: rgba(18, 165, 148, 0.12);
  color: #0d7f72;
}

/* line 201, app/assets/stylesheets/_erp_hub.scss */
.erp-pill.is-struck {
  text-decoration: line-through;
  opacity: 0.75;
}

/* line 203, app/assets/stylesheets/_erp_hub.scss */
.erp-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* line 204, app/assets/stylesheets/_erp_hub.scss */
.erp-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* line 205, app/assets/stylesheets/_erp_hub.scss */
.erp-delta.is-up {
  color: var(--erp-green);
}

/* line 206, app/assets/stylesheets/_erp_hub.scss */
.erp-delta.is-down {
  color: var(--erp-red);
}

/* line 207, app/assets/stylesheets/_erp_hub.scss */
.erp-delta.is-flat {
  color: var(--erp-muted);
  font-weight: 500;
}

/* line 209, app/assets/stylesheets/_erp_hub.scss */
.erp-progress {
  display: inline-block;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--erp-sunken);
  overflow: hidden;
  vertical-align: middle;
}

/* line 210, app/assets/stylesheets/_erp_hub.scss */
.erp-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--erp-accent);
}

/* line 211, app/assets/stylesheets/_erp_hub.scss */
.erp-progress.is-orange > span {
  background: var(--erp-orange);
}

/* line 212, app/assets/stylesheets/_erp_hub.scss */
.erp-progress.is-red > span {
  background: var(--erp-red);
}

/* line 214, app/assets/stylesheets/_erp_hub.scss */
.erp-progress-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 140px;
}

/* line 215, app/assets/stylesheets/_erp_hub.scss */
.erp-progress-cell em {
  font-style: normal;
  font-size: 12px;
  color: var(--erp-muted);
  min-width: 34px;
  text-align: right;
}

/* ---------- Page ---------- */
/* line 220, app/assets/stylesheets/_erp_hub.scss */
.erp-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px 28px 64px;
}

/* line 221, app/assets/stylesheets/_erp_hub.scss */
.erp-view.is-entering .erp-page {
  animation: erp-in 0.2s ease;
}

/* line 222, app/assets/stylesheets/_erp_hub.scss */
.erp-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* line 223, app/assets/stylesheets/_erp_hub.scss */
.erp-page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* line 224, app/assets/stylesheets/_erp_hub.scss */
.erp-page-title h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 225, app/assets/stylesheets/_erp_hub.scss */
.erp-page-title p {
  color: var(--erp-muted);
  font-size: 13px;
  margin-top: 2px;
}

/* line 227, app/assets/stylesheets/_erp_hub.scss */
.erp-title-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--erp-accent-soft);
  color: var(--erp-accent);
}

/* line 228, app/assets/stylesheets/_erp_hub.scss */
.erp-title-icon.is-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

/* line 230, app/assets/stylesheets/_erp_hub.scss */
.erp-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 232, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

/* line 233, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs .erp-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--erp-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

/* line 234, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs .erp-tab span {
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--erp-sunken);
  color: var(--erp-muted);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

/* line 235, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs .erp-tab:hover {
  background: var(--erp-hover);
  color: var(--erp-ink);
}

/* line 236, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs .erp-tab.is-active {
  background: var(--erp-surface);
  color: var(--erp-ink);
  box-shadow: 0 0 0 1px var(--erp-line), 0 1px 2px rgba(15, 15, 15, 0.05);
}

/* line 237, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs .erp-tab.is-active span {
  background: var(--erp-accent-soft);
  color: var(--erp-accent-ink);
}

/* line 239, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs.is-underline {
  gap: 0;
  border-bottom: 1px solid var(--erp-line);
  margin-bottom: 16px;
}

/* line 240, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs.is-underline .erp-tab {
  height: 38px;
  border-radius: 0;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

/* line 241, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs.is-underline .erp-tab:hover {
  background: none;
}

/* line 242, app/assets/stylesheets/_erp_hub.scss */
.erp-tabs.is-underline .erp-tab.is-active {
  box-shadow: none;
  background: none;
  border-bottom-color: var(--erp-accent);
  color: var(--erp-ink);
}

/* line 246, app/assets/stylesheets/_erp_hub.scss */
.erp-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* line 247, app/assets/stylesheets/_erp_hub.scss */
.erp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  max-width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--erp-line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--erp-muted);
}

/* line 248, app/assets/stylesheets/_erp_hub.scss */
.erp-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 13px;
}

/* line 249, app/assets/stylesheets/_erp_hub.scss */
.erp-search:focus-within {
  border-color: var(--erp-accent);
  box-shadow: 0 0 0 3px var(--erp-accent-soft);
}

/* line 251, app/assets/stylesheets/_erp_hub.scss */
.erp-bulkbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: #1f2328;
  color: #fff;
  animation: erp-in 0.15s ease;
}

/* line 252, app/assets/stylesheets/_erp_hub.scss */
.erp-bulkbar strong {
  font-size: 13px;
}

/* line 253, app/assets/stylesheets/_erp_hub.scss */
.erp-bulkbar .erp-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

/* line 254, app/assets/stylesheets/_erp_hub.scss */
.erp-bulkbar .erp-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* line 255, app/assets/stylesheets/_erp_hub.scss */
.erp-bulkbar .erp-btn.is-danger {
  color: #ff9b9e;
}

/* line 256, app/assets/stylesheets/_erp_hub.scss */
.erp-bulkbar .erp-btn.is-ghost {
  background: none;
  border-color: transparent;
}

/* ---------- Cards & grids ---------- */
/* line 262, app/assets/stylesheets/_erp_hub.scss */
.erp-card {
  background: var(--erp-surface);
  border: 1px solid var(--erp-line);
  border-radius: var(--erp-radius);
  box-shadow: var(--erp-shadow);
  min-width: 0;
  margin-bottom: 16px;
}

/* line 263, app/assets/stylesheets/_erp_hub.scss */
.erp-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 6px;
}

/* line 264, app/assets/stylesheets/_erp_hub.scss */
.erp-card-head h3 {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.005em;
}

/* line 265, app/assets/stylesheets/_erp_hub.scss */
.erp-card-head p {
  font-size: 12px;
  color: var(--erp-muted);
  margin-top: 2px;
}

/* line 267, app/assets/stylesheets/_erp_hub.scss */
.erp-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* line 268, app/assets/stylesheets/_erp_hub.scss */
.erp-card-body {
  padding: 6px 16px 14px;
  min-width: 0;
}

/* line 269, app/assets/stylesheets/_erp_hub.scss */
.erp-grid-2, .erp-grid-3 {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

/* line 269, app/assets/stylesheets/_erp_hub.scss */
.erp-grid-2 > .erp-card, .erp-grid-3 > .erp-card {
  margin-bottom: 0;
}

/* line 270, app/assets/stylesheets/_erp_hub.scss */
.erp-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* line 270, app/assets/stylesheets/_erp_hub.scss */
.erp-grid-2.is-wide-left {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
}

/* line 271, app/assets/stylesheets/_erp_hub.scss */
.erp-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* line 273, app/assets/stylesheets/_erp_hub.scss */
.erp-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

/* line 274, app/assets/stylesheets/_erp_hub.scss */
.erp-kpis.is-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* line 275, app/assets/stylesheets/_erp_hub.scss */
.erp-kpis.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* line 277, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--erp-line);
  border-radius: var(--erp-radius);
  background: var(--erp-surface);
  box-shadow: var(--erp-shadow);
  text-align: left;
}

/* line 278, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi:is(button) {
  cursor: pointer;
  transition: border-color 0.12s, transform 0.12s;
}

/* line 278, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi:is(button):hover {
  border-color: var(--erp-line-strong);
  transform: translateY(-1px);
}

/* line 279, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi .erp-kpi-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--erp-muted);
  font-size: 12.5px;
  font-weight: 500;
}

/* line 279, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi .erp-kpi-label .crm-icon {
  opacity: 0.6;
}

/* line 280, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi .erp-kpi-value {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 281, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi .erp-kpi-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}

/* line 282, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi.is-red .erp-kpi-value {
  color: var(--erp-red);
}

/* line 283, app/assets/stylesheets/_erp_hub.scss */
.erp-kpi.is-orange .erp-kpi-value {
  color: var(--erp-orange);
}

/* line 285, app/assets/stylesheets/_erp_hub.scss */
.erp-spark {
  flex: none;
  max-width: 55%;
  height: auto;
}

/* line 286, app/assets/stylesheets/_erp_hub.scss */
.erp-menu-btn {
  display: none !important;
}

/* line 288, app/assets/stylesheets/_erp_hub.scss */
.erp-insights {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: var(--erp-radius);
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.07), rgba(20, 184, 166, 0.03));
  color: var(--erp-accent-ink);
}

/* line 290, app/assets/stylesheets/_erp_hub.scss */
.erp-insights > .crm-icon {
  margin-top: 2px;
}

/* line 291, app/assets/stylesheets/_erp_hub.scss */
.erp-insights > div {
  flex: 1;
  min-width: 0;
}

/* line 292, app/assets/stylesheets/_erp_hub.scss */
.erp-insights strong {
  font-size: 13px;
}

/* line 293, app/assets/stylesheets/_erp_hub.scss */
.erp-insights ul {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

/* line 294, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--erp-ink);
  font-size: 13px;
}

/* line 295, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li .crm-icon {
  margin-top: 2px;
}

/* line 296, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li[role="button"] {
  cursor: pointer;
}

/* line 296, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li[role="button"]:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* line 297, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li.is-red .crm-icon {
  color: var(--erp-red);
}

/* line 297, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li.is-orange .crm-icon {
  color: var(--erp-orange);
}

/* line 298, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li.is-green .crm-icon {
  color: var(--erp-green);
}

/* line 298, app/assets/stylesheets/_erp_hub.scss */
.erp-insights li.is-blue .crm-icon {
  color: var(--erp-blue);
}

/* line 300, app/assets/stylesheets/_erp_hub.scss */
.erp-insights small {
  font-size: 11.5px;
}

/* ---------- Charts ---------- */
/* line 305, app/assets/stylesheets/_erp_hub.scss */
.erp-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* line 306, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-grid {
  stroke: var(--erp-line);
  stroke-width: 1;
}

/* line 307, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-zero {
  stroke: var(--erp-line-strong);
  stroke-dasharray: 3 3;
}

/* line 308, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-axis {
  fill: var(--erp-muted);
  font-size: 11px;
}

/* line 309, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-bar {
  fill: var(--erp-accent);
  transition: opacity 0.12s;
}

/* line 309, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-bar:hover {
  opacity: 0.8;
}

/* line 309, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-bar.is-secondary {
  fill: var(--erp-secondary);
}

/* line 310, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-line {
  fill: none;
  stroke: var(--erp-accent);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* line 310, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-line.is-secondary {
  stroke: var(--erp-secondary);
  stroke-dasharray: 4 3;
}

/* line 311, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-area {
  fill: var(--erp-accent);
  opacity: 0.08;
}

/* line 312, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-dot {
  fill: #fff;
  stroke: var(--erp-accent);
  stroke-width: 2;
}

/* line 313, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-legend {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--erp-muted);
}

/* line 314, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 315, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--erp-accent);
}

/* line 315, app/assets/stylesheets/_erp_hub.scss */
.erp-chart-legend i.is-secondary {
  background: var(--erp-secondary);
}

/* line 317, app/assets/stylesheets/_erp_hub.scss */
.erp-donut-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* line 318, app/assets/stylesheets/_erp_hub.scss */
.erp-donut-track {
  stroke: var(--erp-sunken);
}

/* line 319, app/assets/stylesheets/_erp_hub.scss */
.erp-donut-center {
  font-size: 15px;
  font-weight: 700;
  fill: var(--erp-ink);
}

/* line 320, app/assets/stylesheets/_erp_hub.scss */
.erp-donut-sub {
  font-size: 10.5px;
  fill: var(--erp-muted);
}

/* line 321, app/assets/stylesheets/_erp_hub.scss */
.erp-legend {
  flex: 1;
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

/* line 322, app/assets/stylesheets/_erp_hub.scss */
.erp-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

/* line 323, app/assets/stylesheets/_erp_hub.scss */
.erp-legend .erp-legend-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--erp-ink-2);
}

/* line 324, app/assets/stylesheets/_erp_hub.scss */
.erp-legend .erp-legend-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* line 324, app/assets/stylesheets/_erp_hub.scss */
.erp-legend .erp-legend-value em {
  font-style: normal;
  color: var(--erp-muted);
  font-weight: 500;
  margin-left: 6px;
}

/* line 326, app/assets/stylesheets/_erp_hub.scss */
.erp-rank {
  display: grid;
  gap: 8px;
}

/* line 327, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 2px 4px;
  border-radius: 6px;
  font-size: 13px;
}

/* line 328, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row[role="button"] {
  cursor: pointer;
}

/* line 328, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row[role="button"]:hover {
  background: var(--erp-hover);
}

/* line 329, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row .erp-rank-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 329, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row .erp-rank-label small {
  display: block;
  color: var(--erp-muted);
  font-size: 11.5px;
}

/* line 330, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row .erp-rank-bar {
  height: 8px;
  border-radius: 99px;
  background: var(--erp-sunken);
  overflow: hidden;
}

/* line 330, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row .erp-rank-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--erp-accent), var(--erp-accent-2));
}

/* line 331, app/assets/stylesheets/_erp_hub.scss */
.erp-rank-row .erp-rank-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 12.5px;
}

/* line 333, app/assets/stylesheets/_erp_hub.scss */
.erp-aging {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: end;
  padding-top: 6px;
}

/* line 334, app/assets/stylesheets/_erp_hub.scss */
.erp-aging .erp-aging-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

/* line 335, app/assets/stylesheets/_erp_hub.scss */
.erp-aging .erp-aging-col strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* line 336, app/assets/stylesheets/_erp_hub.scss */
.erp-aging .erp-aging-col em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--erp-muted);
}

/* line 338, app/assets/stylesheets/_erp_hub.scss */
.erp-aging .erp-aging-bar {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 110px;
  border-radius: 6px;
  background: var(--erp-sunken);
}

/* line 339, app/assets/stylesheets/_erp_hub.scss */
.erp-aging .erp-aging-bar span {
  display: block;
  width: 100%;
  border-radius: 6px;
  background: var(--c);
}

/* line 341, app/assets/stylesheets/_erp_hub.scss */
.erp-funnel {
  display: grid;
  gap: 6px;
}

/* line 342, app/assets/stylesheets/_erp_hub.scss */
.erp-funnel > div {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12.5px;
  overflow: hidden;
  background: var(--erp-sunken);
}

/* line 343, app/assets/stylesheets/_erp_hub.scss */
.erp-funnel > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--c);
  opacity: 0.18;
  border-radius: inherit;
}

/* line 344, app/assets/stylesheets/_erp_hub.scss */
.erp-funnel > div span, .erp-funnel > div strong {
  position: relative;
}

/* ---------- Lists inside cards ---------- */
/* line 350, app/assets/stylesheets/_erp_hub.scss */
.erp-list {
  display: grid;
  gap: 2px;
  margin: 0 -8px;
}

/* line 351, app/assets/stylesheets/_erp_hub.scss */
.erp-list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  width: 100%;
}

/* line 352, app/assets/stylesheets/_erp_hub.scss */
.erp-list-row.is-btn {
  cursor: pointer;
}

/* line 353, app/assets/stylesheets/_erp_hub.scss */
.erp-list-row:hover {
  background: var(--erp-hover);
}

/* line 354, app/assets/stylesheets/_erp_hub.scss */
.erp-list-row .erp-num {
  font-size: 12.5px;
  font-weight: 600;
}

/* line 356, app/assets/stylesheets/_erp_hub.scss */
.erp-list-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

/* line 357, app/assets/stylesheets/_erp_hub.scss */
.erp-list-main > .crm-icon {
  color: var(--erp-muted);
}

/* line 358, app/assets/stylesheets/_erp_hub.scss */
.erp-list-main > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 359, app/assets/stylesheets/_erp_hub.scss */
.erp-list-main strong {
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 360, app/assets/stylesheets/_erp_hub.scss */
.erp-list-main small {
  font-size: 11.5px;
  color: var(--erp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 362, app/assets/stylesheets/_erp_hub.scss */
.erp-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
}

/* line 363, app/assets/stylesheets/_erp_hub.scss */
.erp-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--erp-line);
  border-radius: 9px;
  background: none;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

/* line 364, app/assets/stylesheets/_erp_hub.scss */
.erp-person:hover {
  border-color: var(--erp-line-strong);
  background: var(--erp-hover);
}

/* line 365, app/assets/stylesheets/_erp_hub.scss */
.erp-person span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 366, app/assets/stylesheets/_erp_hub.scss */
.erp-person strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 367, app/assets/stylesheets/_erp_hub.scss */
.erp-person small {
  font-size: 11.5px;
  color: var(--erp-muted);
}

/* ---------- Tables ---------- */
/* line 372, app/assets/stylesheets/_erp_hub.scss */
.erp-table-wrap {
  overflow: auto;
  border: 1px solid var(--erp-line);
  border-radius: var(--erp-radius);
  background: var(--erp-surface);
  box-shadow: var(--erp-shadow);
}

/* line 373, app/assets/stylesheets/_erp_hub.scss */
.erp-table-wrap.is-flat {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  margin: 0 -16px;
  width: calc(100% + 32px);
}

/* line 375, app/assets/stylesheets/_erp_hub.scss */
.erp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

/* line 376, app/assets/stylesheets/_erp_hub.scss */
.erp-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 36px;
  padding: 0 12px;
  background: #fafaf9;
  border-bottom: 1px solid var(--erp-line);
  color: var(--erp-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

/* line 377, app/assets/stylesheets/_erp_hub.scss */
.erp-table td {
  height: 44px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--erp-line);
  vertical-align: middle;
  white-space: nowrap;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 378, app/assets/stylesheets/_erp_hub.scss */
.erp-table td small {
  display: block;
  color: var(--erp-muted);
  font-size: 11.5px;
}

/* line 380, app/assets/stylesheets/_erp_hub.scss */
.erp-table .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* line 381, app/assets/stylesheets/_erp_hub.scss */
.erp-table tbody tr {
  transition: background 0.08s;
}

/* line 382, app/assets/stylesheets/_erp_hub.scss */
.erp-table tbody tr[data-act], .erp-table tbody tr.is-click {
  cursor: pointer;
}

/* line 382, app/assets/stylesheets/_erp_hub.scss */
.erp-table tbody tr[data-act]:hover td, .erp-table tbody tr.is-click:hover td {
  background: #fafaf9;
}

/* line 383, app/assets/stylesheets/_erp_hub.scss */
.erp-table tbody tr.is-selected td {
  background: rgba(15, 118, 110, 0.05);
}

/* line 384, app/assets/stylesheets/_erp_hub.scss */
.erp-table tbody tr.is-future td {
  color: var(--erp-muted);
}

/* line 385, app/assets/stylesheets/_erp_hub.scss */
.erp-table tbody tr:last-child td {
  border-bottom: 0;
}

/* line 386, app/assets/stylesheets/_erp_hub.scss */
.erp-table tfoot td {
  height: 36px;
  border-top: 1px solid var(--erp-line);
  border-bottom: 0;
  color: var(--erp-ink-2);
  font-weight: 500;
}

/* line 387, app/assets/stylesheets/_erp_hub.scss */
.erp-table tfoot tr.is-total td, .erp-table tr.is-total td {
  font-weight: 700;
  color: var(--erp-ink);
  border-top: 2px solid var(--erp-line-strong);
}

/* line 388, app/assets/stylesheets/_erp_hub.scss */
.erp-table tr.is-section td {
  height: 32px;
  background: #fafaf9;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--erp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 389, app/assets/stylesheets/_erp_hub.scss */
.erp-table tr.is-sub td {
  font-weight: 650;
}

/* line 390, app/assets/stylesheets/_erp_hub.scss */
.erp-table .erp-indent {
  padding-left: 14px;
  display: inline-block;
}

/* line 391, app/assets/stylesheets/_erp_hub.scss */
.erp-table .erp-td-check {
  width: 36px;
  padding: 0 0 0 14px;
}

/* line 391, app/assets/stylesheets/_erp_hub.scss */
.erp-table .erp-td-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--erp-accent);
  cursor: pointer;
}

/* line 392, app/assets/stylesheets/_erp_hub.scss */
.erp-table .erp-td-menu {
  width: 40px;
  padding: 0 6px;
  text-align: right;
}

/* line 393, app/assets/stylesheets/_erp_hub.scss */
.erp-table td.is-primary {
  font-weight: 550;
}

/* line 394, app/assets/stylesheets/_erp_hub.scss */
.erp-table .erp-cell-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 395, app/assets/stylesheets/_erp_hub.scss */
.erp-table .erp-overdue {
  display: block;
  font-size: 11px;
  color: var(--erp-red);
}

/* line 396, app/assets/stylesheets/_erp_hub.scss */
.erp-table.is-lines td {
  height: 38px;
}

/* line 397, app/assets/stylesheets/_erp_hub.scss */
.erp-table.is-lines tbody tr:last-child td {
  border-bottom: 1px solid var(--erp-line);
}

/* line 399, app/assets/stylesheets/_erp_hub.scss */
.erp-th {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* line 400, app/assets/stylesheets/_erp_hub.scss */
.erp-th:hover, .erp-th.is-active {
  color: var(--erp-ink);
}

/* line 402, app/assets/stylesheets/_erp_hub.scss */
.erp-table-wrap.is-compact .erp-table td {
  height: 34px;
  padding-top: 3px;
  padding-bottom: 3px;
}

/* line 403, app/assets/stylesheets/_erp_hub.scss */
.is-statement .erp-table td {
  white-space: normal;
}

/* line 404, app/assets/stylesheets/_erp_hub.scss */
.erp-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  font-size: 12.5px;
  color: var(--erp-muted);
}

/* line 405, app/assets/stylesheets/_erp_hub.scss */
.erp-pager select {
  height: 26px;
  border: 1px solid var(--erp-line-strong);
  border-radius: 6px;
  background: #fff;
  padding: 0 4px;
  margin-left: 4px;
}

/* ---------- Boards ---------- */
/* line 410, app/assets/stylesheets/_erp_hub.scss */
.erp-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  align-items: start;
}

/* line 411, app/assets/stylesheets/_erp_hub.scss */
.erp-lane {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  border-radius: var(--erp-radius);
  background: var(--erp-sunken);
  border: 1px solid transparent;
  transition: border-color 0.12s, background 0.12s;
}

/* line 412, app/assets/stylesheets/_erp_hub.scss */
.erp-lane header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 6px;
}

/* line 412, app/assets/stylesheets/_erp_hub.scss */
.erp-lane header em {
  font-style: normal;
  color: var(--erp-muted);
  font-size: 12px;
  flex: 1;
}

/* line 413, app/assets/stylesheets/_erp_hub.scss */
.erp-lane.is-over {
  border-color: var(--erp-accent);
  background: var(--erp-accent-soft);
}

/* line 415, app/assets/stylesheets/_erp_hub.scss */
.erp-lane-body {
  display: grid;
  gap: 8px;
  padding: 4px 8px 10px;
}

/* line 416, app/assets/stylesheets/_erp_hub.scss */
.erp-lane-empty {
  padding: 18px;
  text-align: center;
  color: var(--erp-muted);
  font-size: 12px;
  border: 1px dashed var(--erp-line-strong);
  border-radius: 8px;
}

/* line 417, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--erp-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--erp-shadow);
  cursor: grab;
}

/* line 418, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard:hover {
  border-color: var(--erp-line-strong);
}

/* line 419, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard.is-dragging {
  opacity: 0.45;
}

/* line 420, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard strong {
  font-size: 13px;
  font-weight: 600;
}

/* line 421, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard .erp-bcard-sub {
  display: block;
  font-size: 12px;
  color: var(--erp-muted);
}

/* line 422, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard .erp-bcard-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* line 423, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard footer {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
}

/* line 424, app/assets/stylesheets/_erp_hub.scss */
.erp-bcard footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 426, app/assets/stylesheets/_erp_hub.scss */
.erp-mini-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

/* line 427, app/assets/stylesheets/_erp_hub.scss */
.erp-mini-lane {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 8px;
  border-radius: 8px;
  background: var(--erp-sunken);
}

/* line 428, app/assets/stylesheets/_erp_hub.scss */
.erp-mini-lane > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 428, app/assets/stylesheets/_erp_hub.scss */
.erp-mini-lane > span em {
  font-style: normal;
  color: var(--erp-muted);
  font-size: 12px;
}

/* line 430, app/assets/stylesheets/_erp_hub.scss */
.erp-mini-card {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--erp-line);
  border-radius: 7px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

/* line 431, app/assets/stylesheets/_erp_hub.scss */
.erp-mini-card small {
  font-weight: 400;
  color: var(--erp-muted);
  font-size: 11.5px;
}

/* line 432, app/assets/stylesheets/_erp_hub.scss */
.erp-mini-card:hover {
  border-color: var(--erp-line-strong);
}

/* ---------- Record detail ---------- */
/* line 437, app/assets/stylesheets/_erp_hub.scss */
.erp-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 1px solid var(--erp-line);
  border-radius: var(--erp-radius);
  background: var(--erp-surface);
  box-shadow: var(--erp-shadow);
  flex-wrap: wrap;
}

/* line 438, app/assets/stylesheets/_erp_hub.scss */
.erp-record-id {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

/* line 439, app/assets/stylesheets/_erp_hub.scss */
.erp-record-id h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 441, app/assets/stylesheets/_erp_hub.scss */
.erp-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--erp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

/* line 442, app/assets/stylesheets/_erp_hub.scss */
.erp-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
  color: var(--erp-muted);
  font-size: 12.5px;
}

/* line 443, app/assets/stylesheets/_erp_hub.scss */
.erp-record-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 445, app/assets/stylesheets/_erp_hub.scss */
.erp-stepper-wrap {
  padding: 12px 18px;
  margin-bottom: 6px;
  border: 1px solid var(--erp-line);
  border-radius: var(--erp-radius);
  background: var(--erp-surface);
}

/* line 446, app/assets/stylesheets/_erp_hub.scss */
.erp-stepper-wrap .erp-callout {
  margin-top: 10px;
}

/* line 448, app/assets/stylesheets/_erp_hub.scss */
.erp-stepper {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

/* line 449, app/assets/stylesheets/_erp_hub.scss */
.erp-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 120px;
  padding-right: 14px;
  font-size: 12.5px;
  color: var(--erp-muted);
  white-space: nowrap;
}

/* line 450, app/assets/stylesheets/_erp_hub.scss */
.erp-step::after {
  content: "";
  flex: 1;
  height: 2px;
  min-width: 14px;
  border-radius: 2px;
  background: var(--erp-line-strong);
}

/* line 451, app/assets/stylesheets/_erp_hub.scss */
.erp-step:last-child::after, .erp-step.is-terminal::after {
  display: none;
}

/* line 452, app/assets/stylesheets/_erp_hub.scss */
.erp-step .erp-step-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--erp-line-strong);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* line 453, app/assets/stylesheets/_erp_hub.scss */
.erp-step.is-done {
  color: var(--erp-ink-2);
}

/* line 453, app/assets/stylesheets/_erp_hub.scss */
.erp-step.is-done::after {
  background: var(--erp-accent);
}

/* line 453, app/assets/stylesheets/_erp_hub.scss */
.erp-step.is-done .erp-step-dot {
  background: var(--erp-accent);
  border-color: var(--erp-accent);
  color: #fff;
}

/* line 454, app/assets/stylesheets/_erp_hub.scss */
.erp-step.is-current {
  color: var(--erp-ink);
  font-weight: 650;
}

/* line 454, app/assets/stylesheets/_erp_hub.scss */
.erp-step.is-current .erp-step-dot {
  border-color: var(--erp-accent);
  color: var(--erp-accent);
  box-shadow: 0 0 0 4px var(--erp-accent-soft);
}

/* line 455, app/assets/stylesheets/_erp_hub.scss */
.erp-step.is-terminal {
  flex: none;
  min-width: 0;
}

/* line 457, app/assets/stylesheets/_erp_hub.scss */
.erp-record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

/* line 458, app/assets/stylesheets/_erp_hub.scss */
.erp-record-side {
  position: sticky;
  top: 0;
}

/* line 459, app/assets/stylesheets/_erp_hub.scss */
.erp-dl-section + .erp-dl-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--erp-line);
}

/* line 460, app/assets/stylesheets/_erp_hub.scss */
.erp-dl-section h4 {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--erp-muted);
  margin-bottom: 8px;
}

/* line 462, app/assets/stylesheets/_erp_hub.scss */
.erp-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
}

/* line 463, app/assets/stylesheets/_erp_hub.scss */
.erp-dl > div {
  min-width: 0;
}

/* line 463, app/assets/stylesheets/_erp_hub.scss */
.erp-dl > div.is-wide {
  grid-column: 1 / -1;
}

/* line 464, app/assets/stylesheets/_erp_hub.scss */
.erp-dl dt {
  font-size: 12px;
  color: var(--erp-muted);
  margin-bottom: 2px;
}

/* line 465, app/assets/stylesheets/_erp_hub.scss */
.erp-dl dd {
  margin: 0;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

/* line 467, app/assets/stylesheets/_erp_hub.scss */
.erp-sum {
  display: grid;
  gap: 8px;
}

/* line 468, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--erp-ink-2);
}

/* line 469, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row strong {
  font-weight: 600;
  color: var(--erp-ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 469, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row strong em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
}

/* line 470, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row.is-total {
  padding-top: 8px;
  border-top: 1px solid var(--erp-line);
}

/* line 470, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row.is-total strong {
  font-size: 16px;
}

/* line 471, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row.is-due strong {
  color: var(--erp-red);
}

/* line 472, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row.is-bar strong {
  flex: 1;
  max-width: 190px;
}

/* line 472, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row.is-bar strong .erp-progress {
  flex: 1;
}

/* line 472, app/assets/stylesheets/_erp_hub.scss */
.erp-sum-row.is-bar strong em {
  color: var(--erp-muted);
}

/* line 474, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-group + .erp-rel-group {
  margin-top: 10px;
}

/* line 475, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--erp-muted);
  margin-bottom: 4px;
}

/* line 475, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-label em {
  font-style: normal;
  font-weight: 600;
}

/* line 476, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-list {
  display: grid;
  gap: 2px;
  margin: 0 -8px;
}

/* line 477, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: none;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

/* line 478, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-row:hover {
  background: var(--erp-hover);
}

/* line 479, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-row > .crm-icon {
  color: var(--erp-muted);
}

/* line 480, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-row .erp-rel-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 481, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-row .erp-rel-title small {
  display: block;
  font-weight: 400;
  color: var(--erp-muted);
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 482, app/assets/stylesheets/_erp_hub.scss */
.erp-rel-row .erp-num {
  font-size: 12.5px;
}

/* line 484, app/assets/stylesheets/_erp_hub.scss */
.erp-comment {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0 14px;
}

/* line 485, app/assets/stylesheets/_erp_hub.scss */
.erp-comment textarea {
  flex: 1;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--erp-line-strong);
  border-radius: 8px;
  resize: vertical;
  outline: 0;
}

/* line 486, app/assets/stylesheets/_erp_hub.scss */
.erp-comment textarea:focus {
  border-color: var(--erp-accent);
  box-shadow: 0 0 0 3px var(--erp-accent-soft);
}

/* line 488, app/assets/stylesheets/_erp_hub.scss */
.erp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

/* line 489, app/assets/stylesheets/_erp_hub.scss */
.erp-tl-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  border-top: 1px solid var(--erp-line);
}

/* line 490, app/assets/stylesheets/_erp_hub.scss */
.erp-tl-item p {
  color: var(--erp-ink-2);
}

/* line 491, app/assets/stylesheets/_erp_hub.scss */
.erp-tl-item blockquote {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--erp-sunken);
  white-space: pre-wrap;
}

/* line 493, app/assets/stylesheets/_erp_hub.scss */
.erp-tl-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--erp-sunken);
  color: var(--erp-muted);
}

/* line 494, app/assets/stylesheets/_erp_hub.scss */
.erp-changes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

/* line 495, app/assets/stylesheets/_erp_hub.scss */
.erp-change {
  display: inline-flex;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--erp-sunken);
  font-size: 12px;
  color: var(--erp-ink-2);
}

/* line 495, app/assets/stylesheets/_erp_hub.scss */
.erp-change em {
  font-style: normal;
  color: var(--erp-muted);
}

/* line 496, app/assets/stylesheets/_erp_hub.scss */
.erp-callout {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.07);
  color: #0b5aa8;
  font-size: 12.5px;
  margin-top: 10px;
}

/* line 497, app/assets/stylesheets/_erp_hub.scss */
.erp-callout.is-red {
  background: rgba(229, 72, 77, 0.08);
  color: #b4232a;
  margin: 0 0 12px;
}

/* line 498, app/assets/stylesheets/_erp_hub.scss */
.erp-callout .crm-icon {
  margin-top: 1px;
}

/* ---------- Org chart ---------- */
/* line 503, app/assets/stylesheets/_erp_hub.scss */
.erp-org-scroll {
  overflow: auto;
  padding: 8px 0 24px;
}

/* line 504, app/assets/stylesheets/_erp_hub.scss */
.erp-org, .erp-org ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* line 505, app/assets/stylesheets/_erp_hub.scss */
.erp-org ul {
  position: relative;
  padding-top: 22px;
}

/* line 506, app/assets/stylesheets/_erp_hub.scss */
.erp-org ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 11px;
  border-left: 1.5px solid var(--erp-line-strong);
}

/* line 508, app/assets/stylesheets/_erp_hub.scss */
.erp-org li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 8px 0;
}

/* line 509, app/assets/stylesheets/_erp_hub.scss */
.erp-org li::before, .erp-org li::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 50%;
  border-top: 1.5px solid var(--erp-line-strong);
}

/* line 510, app/assets/stylesheets/_erp_hub.scss */
.erp-org li::before {
  right: 50%;
}

/* line 510, app/assets/stylesheets/_erp_hub.scss */
.erp-org li::after {
  left: 50%;
}

/* line 511, app/assets/stylesheets/_erp_hub.scss */
.erp-org li::after {
  border-left: 1.5px solid var(--erp-line-strong);
  height: 11px;
}

/* line 512, app/assets/stylesheets/_erp_hub.scss */
.erp-org li:first-child::before, .erp-org li:last-child::after {
  border: 0;
}

/* line 513, app/assets/stylesheets/_erp_hub.scss */
.erp-org li:last-child::before {
  border-right: 1.5px solid var(--erp-line-strong);
  height: 11px;
  border-top-right-radius: 6px;
}

/* line 514, app/assets/stylesheets/_erp_hub.scss */
.erp-org li:first-child::after {
  border-top-left-radius: 6px;
}

/* line 515, app/assets/stylesheets/_erp_hub.scss */
.erp-org li:only-child::before, .erp-org li:only-child::after {
  display: none;
}

/* line 516, app/assets/stylesheets/_erp_hub.scss */
.erp-org li:only-child {
  padding-top: 11px;
}

/* line 518, app/assets/stylesheets/_erp_hub.scss */
.erp-org > li {
  padding-top: 0;
}

/* line 518, app/assets/stylesheets/_erp_hub.scss */
.erp-org > li::before, .erp-org > li::after {
  display: none;
}

/* line 519, app/assets/stylesheets/_erp_hub.scss */
.erp-org-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 210px;
  padding: 10px 12px;
  border: 1px solid var(--erp-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--erp-shadow);
  text-align: left;
  cursor: pointer;
}

/* line 520, app/assets/stylesheets/_erp_hub.scss */
.erp-org-node:hover {
  border-color: var(--erp-accent);
}

/* line 521, app/assets/stylesheets/_erp_hub.scss */
.erp-org-node > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 522, app/assets/stylesheets/_erp_hub.scss */
.erp-org-node strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 523, app/assets/stylesheets/_erp_hub.scss */
.erp-org-node small {
  font-size: 11.5px;
  color: var(--erp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 524, app/assets/stylesheets/_erp_hub.scss */
.erp-org-node em {
  font-style: normal;
  font-size: 11px;
  color: var(--erp-accent-ink);
}

/* line 525, app/assets/stylesheets/_erp_hub.scss */
.erp-org-node i {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--erp-ink);
  color: #fff;
  font: 600 10.5px/18px -apple-system, sans-serif;
  text-align: center;
}

/* ---------- Reports & settings ---------- */
/* line 530, app/assets/stylesheets/_erp_hub.scss */
.erp-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* line 531, app/assets/stylesheets/_erp_hub.scss */
.erp-report-group {
  padding: 14px;
  margin: 0;
}

/* line 531, app/assets/stylesheets/_erp_hub.scss */
.erp-report-group h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 4px 8px;
}

/* line 532, app/assets/stylesheets/_erp_hub.scss */
.erp-report-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 7px;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 13.5px;
}

/* line 533, app/assets/stylesheets/_erp_hub.scss */
.erp-report-link span {
  flex: 1;
}

/* line 533, app/assets/stylesheets/_erp_hub.scss */
.erp-report-link .crm-icon {
  color: var(--erp-muted);
}

/* line 534, app/assets/stylesheets/_erp_hub.scss */
.erp-report-link:hover {
  background: var(--erp-hover);
}

/* line 534, app/assets/stylesheets/_erp_hub.scss */
.erp-report-link:hover .crm-icon:first-child {
  color: var(--erp-accent);
}

/* line 536, app/assets/stylesheets/_erp_hub.scss */
.erp-settings {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* line 537, app/assets/stylesheets/_erp_hub.scss */
.erp-settings-nav {
  display: grid;
  gap: 2px;
  position: sticky;
  top: 0;
}

/* line 538, app/assets/stylesheets/_erp_hub.scss */
.erp-settings-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--erp-ink-2);
  text-align: left;
  cursor: pointer;
}

/* line 539, app/assets/stylesheets/_erp_hub.scss */
.erp-settings-nav button:hover {
  background: var(--erp-hover);
}

/* line 540, app/assets/stylesheets/_erp_hub.scss */
.erp-settings-nav button.is-active {
  background: var(--erp-surface);
  color: var(--erp-ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--erp-line);
}

/* line 542, app/assets/stylesheets/_erp_hub.scss */
.erp-modules {
  display: grid;
  gap: 8px;
}

/* line 543, app/assets/stylesheets/_erp_hub.scss */
.erp-module {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--erp-line);
  border-radius: 10px;
  cursor: pointer;
}

/* line 544, app/assets/stylesheets/_erp_hub.scss */
.erp-module > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* line 545, app/assets/stylesheets/_erp_hub.scss */
.erp-module small {
  color: var(--erp-muted);
  font-size: 12px;
}

/* line 547, app/assets/stylesheets/_erp_hub.scss */
.erp-switch {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 99px;
  background: var(--erp-line-strong);
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  flex: none;
}

/* line 548, app/assets/stylesheets/_erp_hub.scss */
.erp-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

/* line 549, app/assets/stylesheets/_erp_hub.scss */
.erp-switch:checked {
  background: var(--erp-accent);
}

/* line 549, app/assets/stylesheets/_erp_hub.scss */
.erp-switch:checked::after {
  transform: translateX(16px);
}

/* line 551, app/assets/stylesheets/_erp_hub.scss */
.erp-rules {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--erp-ink-2);
}

/* line 552, app/assets/stylesheets/_erp_hub.scss */
.erp-rules li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* line 552, app/assets/stylesheets/_erp_hub.scss */
.erp-rules li .crm-icon {
  color: var(--erp-green);
  margin-top: 2px;
}

/* line 553, app/assets/stylesheets/_erp_hub.scss */
.erp-subhead {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--erp-muted);
  margin: 16px 0 6px;
}

/* line 554, app/assets/stylesheets/_erp_hub.scss */
.erp-storage {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
  background: var(--erp-sunken);
  margin-bottom: 14px;
}

/* line 555, app/assets/stylesheets/_erp_hub.scss */
.erp-storage p {
  color: var(--erp-muted);
  font-size: 12.5px;
}

/* line 556, app/assets/stylesheets/_erp_hub.scss */
.erp-storage.is-api .crm-icon {
  color: var(--erp-green);
}

/* line 556, app/assets/stylesheets/_erp_hub.scss */
.erp-storage.is-local .crm-icon {
  color: var(--erp-orange);
}

/* line 558, app/assets/stylesheets/_erp_hub.scss */
.erp-data-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* ---------- Welcome & empty ---------- */
/* line 562, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome {
  max-width: 860px;
  margin: 40px auto;
  text-align: center;
}

/* line 563, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome h1 {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* line 564, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome > p {
  max-width: 600px;
  margin: 10px auto 22px;
  color: var(--erp-ink-2);
  font-size: 15px;
}

/* line 566, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* line 567, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome-mods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

/* line 568, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome-mods > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  padding: 12px 14px;
  border: 1px solid var(--erp-line);
  border-radius: 10px;
  background: #fff;
}

/* line 569, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome-mods > div .crm-icon {
  grid-row: span 2;
  color: var(--erp-accent);
  margin-top: 2px;
}

/* line 570, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome-mods > div strong {
  font-size: 13.5px;
}

/* line 570, app/assets/stylesheets/_erp_hub.scss */
.erp-welcome-mods > div span {
  font-size: 12px;
  color: var(--erp-muted);
}

/* line 572, app/assets/stylesheets/_erp_hub.scss */
.erp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 16px;
  text-align: center;
  color: var(--erp-ink-2);
}

/* line 573, app/assets/stylesheets/_erp_hub.scss */
.erp-empty strong {
  font-size: 14px;
  color: var(--erp-ink);
}

/* line 574, app/assets/stylesheets/_erp_hub.scss */
.erp-empty p {
  max-width: 380px;
  font-size: 13px;
  color: var(--erp-muted);
}

/* line 576, app/assets/stylesheets/_erp_hub.scss */
.erp-empty-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--erp-sunken);
  color: var(--erp-muted);
  margin-bottom: 4px;
}

/* line 577, app/assets/stylesheets/_erp_hub.scss */
.erp-empty-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* line 578, app/assets/stylesheets/_erp_hub.scss */
.erp-skel-head, .erp-skel-cards span, .erp-skel-row span {
  background: var(--erp-sunken);
  border-radius: 8px;
  animation: erp-pulse 1.2s ease-in-out infinite;
}

/* line 579, app/assets/stylesheets/_erp_hub.scss */
.erp-skel-head {
  height: 40px;
  width: 40%;
  margin-bottom: 18px;
}

/* line 580, app/assets/stylesheets/_erp_hub.scss */
.erp-skel-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

/* line 580, app/assets/stylesheets/_erp_hub.scss */
.erp-skel-cards span {
  height: 96px;
}

/* line 581, app/assets/stylesheets/_erp_hub.scss */
.erp-skel-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

/* line 581, app/assets/stylesheets/_erp_hub.scss */
.erp-skel-row span {
  height: 18px;
}

/* ---------- Layer: drawer, modal, popover, cmdk, toast ---------- */
/* line 585, app/assets/stylesheets/_erp_hub.scss */
.erp-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 60;
}

/* line 585, app/assets/stylesheets/_erp_hub.scss */
.erp-layer > * {
  pointer-events: auto;
}

/* line 586, app/assets/stylesheets/_erp_hub.scss */
.erp-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.22);
  animation: erp-in 0.15s ease;
}

/* line 586, app/assets/stylesheets/_erp_hub.scss */
.erp-scrim.is-modal {
  background: rgba(15, 15, 15, 0.3);
}

/* line 587, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 560px;
  max-width: 100%;
  background: var(--erp-surface);
  box-shadow: var(--erp-shadow-lg);
  animation: erp-slide 0.18s ease;
}

/* line 588, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer.is-wide {
  width: 880px;
}

/* line 590, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--erp-line);
}

/* line 591, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer-head > div {
  flex: 1;
  min-width: 0;
}

/* line 591, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer-head h2 {
  font-size: 16px;
  font-weight: 700;
}

/* line 591, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer-head p {
  font-size: 12.5px;
  color: var(--erp-muted);
}

/* line 593, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 24px;
}

/* line 594, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--erp-line);
  background: #fbfbfa;
}

/* line 594, app/assets/stylesheets/_erp_hub.scss */
.erp-drawer-foot .erp-muted {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12.5px;
}

/* line 595, app/assets/stylesheets/_erp_hub.scss */
.erp-fieldset {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}

/* line 596, app/assets/stylesheets/_erp_hub.scss */
.erp-fieldset legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--erp-muted);
}

/* line 598, app/assets/stylesheets/_erp_hub.scss */
.erp-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

/* line 599, app/assets/stylesheets/_erp_hub.scss */
.erp-field {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

/* line 600, app/assets/stylesheets/_erp_hub.scss */
.erp-field.is-half {
  grid-column: span 1;
}

/* line 601, app/assets/stylesheets/_erp_hub.scss */
.erp-field.is-check {
  justify-content: flex-end;
}

/* line 602, app/assets/stylesheets/_erp_hub.scss */
.erp-field > label {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--erp-ink-2);
}

/* line 603, app/assets/stylesheets/_erp_hub.scss */
.erp-field input:not([type="checkbox"]), .erp-field select, .erp-field textarea {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--erp-line-strong);
  border-radius: 8px;
  background: #fff;
  outline: 0;
  font-size: 13.5px;
  transition: border-color 0.12s, box-shadow 0.12s;
}

/* line 605, app/assets/stylesheets/_erp_hub.scss */
.erp-field input:not([type="checkbox"]):focus, .erp-field select:focus, .erp-field textarea:focus {
  border-color: var(--erp-accent);
  box-shadow: 0 0 0 3px var(--erp-accent-soft);
}

/* line 607, app/assets/stylesheets/_erp_hub.scss */
.erp-field textarea {
  height: auto;
  min-height: 70px;
  padding: 8px 10px;
  resize: vertical;
}

/* line 608, app/assets/stylesheets/_erp_hub.scss */
.erp-field.has-error input, .erp-field.has-error select, .erp-field.has-error textarea {
  border-color: var(--erp-red);
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.1);
}

/* line 610, app/assets/stylesheets/_erp_hub.scss */
.erp-req {
  color: var(--erp-red);
  margin-left: 2px;
}

/* line 611, app/assets/stylesheets/_erp_hub.scss */
.erp-hint {
  font-size: 11.5px;
  color: var(--erp-muted);
}

/* line 612, app/assets/stylesheets/_erp_hub.scss */
.erp-field-error {
  font-size: 12px;
  color: var(--erp-red);
}

/* line 613, app/assets/stylesheets/_erp_hub.scss */
.erp-input-affix {
  display: flex;
  align-items: center;
  border: 1px solid var(--erp-line-strong);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

/* line 614, app/assets/stylesheets/_erp_hub.scss */
.erp-input-affix input:not([type="checkbox"]) {
  border: 0 !important;
  box-shadow: none !important;
}

/* line 615, app/assets/stylesheets/_erp_hub.scss */
.erp-input-affix span {
  padding: 0 10px;
  color: var(--erp-muted);
  font-size: 12px;
  background: var(--erp-sunken);
  align-self: stretch;
  display: grid;
  place-items: center;
}

/* line 616, app/assets/stylesheets/_erp_hub.scss */
.erp-input-affix:focus-within {
  border-color: var(--erp-accent);
  box-shadow: 0 0 0 3px var(--erp-accent-soft);
}

/* line 618, app/assets/stylesheets/_erp_hub.scss */
.erp-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

/* line 618, app/assets/stylesheets/_erp_hub.scss */
.erp-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--erp-accent);
}

/* line 619, app/assets/stylesheets/_erp_hub.scss */
.erp-le {
  display: grid;
  gap: 8px;
}

/* line 620, app/assets/stylesheets/_erp_hub.scss */
.erp-le table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

/* line 621, app/assets/stylesheets/_erp_hub.scss */
.erp-le th {
  padding: 0 6px 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--erp-muted);
  text-align: left;
  white-space: nowrap;
}

/* line 622, app/assets/stylesheets/_erp_hub.scss */
.erp-le td {
  padding: 4px 4px;
  vertical-align: top;
  border-top: 1px solid var(--erp-line);
}

/* line 623, app/assets/stylesheets/_erp_hub.scss */
.erp-le td.is-num, .erp-le th.is-num {
  text-align: right;
  white-space: nowrap;
  padding-top: 10px;
  font-variant-numeric: tabular-nums;
}

/* line 624, app/assets/stylesheets/_erp_hub.scss */
.erp-le input, .erp-le select {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--erp-line);
  border-radius: 7px;
  background: #fff;
  outline: 0;
  font-size: 13px;
}

/* line 625, app/assets/stylesheets/_erp_hub.scss */
.erp-le input:focus, .erp-le select:focus {
  border-color: var(--erp-accent);
  box-shadow: 0 0 0 3px var(--erp-accent-soft);
}

/* line 626, app/assets/stylesheets/_erp_hub.scss */
.erp-le input[type="number"] {
  min-width: 72px;
  text-align: right;
}

/* line 627, app/assets/stylesheets/_erp_hub.scss */
.erp-le .erp-le-product {
  min-width: 260px;
  display: grid;
  gap: 4px;
}

/* line 628, app/assets/stylesheets/_erp_hub.scss */
.erp-le > .erp-btn {
  justify-self: start;
}

/* line 630, app/assets/stylesheets/_erp_hub.scss */
.erp-le-totals {
  justify-self: end;
  min-width: 280px;
}

/* line 631, app/assets/stylesheets/_erp_hub.scss */
.erp-le-totals dl {
  margin: 0;
  display: grid;
  gap: 4px;
}

/* line 632, app/assets/stylesheets/_erp_hub.scss */
.erp-le-totals div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

/* line 633, app/assets/stylesheets/_erp_hub.scss */
.erp-le-totals dt {
  color: var(--erp-muted);
}

/* line 633, app/assets/stylesheets/_erp_hub.scss */
.erp-le-totals dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 634, app/assets/stylesheets/_erp_hub.scss */
.erp-le-totals .is-total {
  padding-top: 6px;
  border-top: 1px solid var(--erp-line);
  font-weight: 700;
  font-size: 15px;
}

/* line 634, app/assets/stylesheets/_erp_hub.scss */
.erp-le-totals .is-total dt {
  color: var(--erp-ink);
}

/* line 637, app/assets/stylesheets/_erp_hub.scss */
.erp-modal-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 2;
}

/* line 638, app/assets/stylesheets/_erp_hub.scss */
.erp-modal {
  position: relative;
  width: 460px;
  max-width: 100%;
  max-height: 90%;
  overflow: auto;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--erp-shadow-lg);
  animation: erp-in 0.16s ease;
}

/* line 639, app/assets/stylesheets/_erp_hub.scss */
.erp-modal h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* line 640, app/assets/stylesheets/_erp_hub.scss */
.erp-modal > p, .erp-modal form > p {
  color: var(--erp-ink-2);
  font-size: 13.5px;
  margin-bottom: 14px;
}

/* line 641, app/assets/stylesheets/_erp_hub.scss */
.erp-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

/* line 642, app/assets/stylesheets/_erp_hub.scss */
.erp-modal .erp-fields {
  margin-top: 4px;
}

/* line 644, app/assets/stylesheets/_erp_hub.scss */
.erp-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px;
  border: 1.5px dashed var(--erp-line-strong);
  border-radius: 10px;
  color: var(--erp-muted);
  cursor: pointer;
  margin-bottom: 12px;
}

/* line 645, app/assets/stylesheets/_erp_hub.scss */
.erp-dropzone:hover {
  border-color: var(--erp-accent);
  color: var(--erp-accent-ink);
}

/* line 646, app/assets/stylesheets/_erp_hub.scss */
.erp-import-map {
  display: grid;
  gap: 6px;
  max-height: 240px;
  overflow: auto;
  margin-bottom: 8px;
}

/* line 647, app/assets/stylesheets/_erp_hub.scss */
.erp-import-map > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

/* line 648, app/assets/stylesheets/_erp_hub.scss */
.erp-import-map select {
  height: 30px;
  border: 1px solid var(--erp-line-strong);
  border-radius: 7px;
  background: #fff;
  padding: 0 6px;
}

/* line 651, app/assets/stylesheets/_erp_hub.scss */
.erp-popover {
  position: absolute;
  z-index: 5;
  min-width: 220px;
  max-width: 360px;
  max-height: 70vh;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--erp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--erp-shadow-lg);
  animation: erp-in 0.12s ease;
}

/* line 652, app/assets/stylesheets/_erp_hub.scss */
.erp-popover.is-alerts {
  width: 380px;
}

/* line 652, app/assets/stylesheets/_erp_hub.scss */
.erp-popover.is-quick-create {
  width: 420px;
}

/* line 652, app/assets/stylesheets/_erp_hub.scss */
.erp-popover.is-help {
  width: 300px;
}

/* line 654, app/assets/stylesheets/_erp_hub.scss */
.erp-pop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 6px;
}

/* line 654, app/assets/stylesheets/_erp_hub.scss */
.erp-pop-head strong {
  font-size: 13px;
}

/* line 654, app/assets/stylesheets/_erp_hub.scss */
.erp-pop-head span {
  font-size: 12px;
  color: var(--erp-muted);
}

/* line 655, app/assets/stylesheets/_erp_hub.scss */
.erp-pop-foot {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--erp-muted);
  border-top: 1px solid var(--erp-line);
  margin-top: 6px;
}

/* line 656, app/assets/stylesheets/_erp_hub.scss */
.erp-menu {
  display: grid;
  gap: 1px;
}

/* line 656, app/assets/stylesheets/_erp_hub.scss */
.erp-menu.is-grid {
  grid-template-columns: 1fr 1fr;
}

/* line 657, app/assets/stylesheets/_erp_hub.scss */
.erp-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* line 658, app/assets/stylesheets/_erp_hub.scss */
.erp-menu-item .crm-icon {
  color: var(--erp-muted);
}

/* line 659, app/assets/stylesheets/_erp_hub.scss */
.erp-menu-item:hover {
  background: var(--erp-hover);
}

/* line 659, app/assets/stylesheets/_erp_hub.scss */
.erp-menu-item:hover .crm-icon {
  color: var(--erp-accent);
}

/* line 660, app/assets/stylesheets/_erp_hub.scss */
.erp-menu-item.is-danger {
  color: var(--erp-red);
}

/* line 660, app/assets/stylesheets/_erp_hub.scss */
.erp-menu-item.is-danger .crm-icon {
  color: var(--erp-red);
}

/* line 662, app/assets/stylesheets/_erp_hub.scss */
.erp-alerts {
  display: grid;
  gap: 1px;
}

/* line 663, app/assets/stylesheets/_erp_hub.scss */
.erp-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 664, app/assets/stylesheets/_erp_hub.scss */
.erp-alert:hover {
  background: var(--erp-hover);
}

/* line 665, app/assets/stylesheets/_erp_hub.scss */
.erp-alert > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 666, app/assets/stylesheets/_erp_hub.scss */
.erp-alert strong {
  font-size: 12.5px;
  font-weight: 600;
}

/* line 666, app/assets/stylesheets/_erp_hub.scss */
.erp-alert small {
  font-size: 11.5px;
  color: var(--erp-muted);
}

/* line 667, app/assets/stylesheets/_erp_hub.scss */
.erp-alert .crm-icon {
  margin-top: 2px;
}

/* line 668, app/assets/stylesheets/_erp_hub.scss */
.erp-alert.is-red .crm-icon {
  color: var(--erp-red);
}

/* line 668, app/assets/stylesheets/_erp_hub.scss */
.erp-alert.is-orange .crm-icon {
  color: var(--erp-orange);
}

/* line 668, app/assets/stylesheets/_erp_hub.scss */
.erp-alert.is-blue .crm-icon {
  color: var(--erp-blue);
}

/* line 670, app/assets/stylesheets/_erp_hub.scss */
.erp-filters {
  display: grid;
  gap: 10px;
  padding: 4px 10px 10px;
}

/* line 671, app/assets/stylesheets/_erp_hub.scss */
.erp-filter-group {
  display: grid;
  gap: 4px;
}

/* line 671, app/assets/stylesheets/_erp_hub.scss */
.erp-filter-group > span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--erp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 672, app/assets/stylesheets/_erp_hub.scss */
.erp-shortcuts {
  list-style: none;
  margin: 0;
  padding: 4px 10px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

/* line 673, app/assets/stylesheets/_erp_hub.scss */
.erp-shortcuts li {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 673, app/assets/stylesheets/_erp_hub.scss */
.erp-shortcuts li span {
  margin-left: 6px;
  color: var(--erp-ink-2);
}

/* line 675, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 16px 16px;
  background: rgba(15, 15, 15, 0.25);
  z-index: 6;
  animation: erp-in 0.12s ease;
}

/* line 676, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk {
  width: 640px;
  max-width: 100%;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--erp-shadow-lg);
  overflow: hidden;
}

/* line 677, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 54px;
  border-bottom: 1px solid var(--erp-line);
  color: var(--erp-muted);
}

/* line 678, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-input input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 16px;
  color: var(--erp-ink);
  background: none;
}

/* line 679, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-list {
  max-height: 420px;
  overflow-y: auto;
  padding: 6px;
}

/* line 680, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-head {
  display: block;
  padding: 8px 10px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--erp-muted);
}

/* line 681, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 682, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-item > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 683, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-item strong {
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 684, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-item small {
  font-size: 12px;
  color: var(--erp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 685, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-item .crm-icon {
  color: var(--erp-muted);
}

/* line 686, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-item:hover, .erp-cmdk-item.is-active {
  background: var(--erp-accent-soft);
}

/* line 686, app/assets/stylesheets/_erp_hub.scss */
.erp-cmdk-item:hover .crm-icon, .erp-cmdk-item.is-active .crm-icon {
  color: var(--erp-accent);
}

/* line 689, app/assets/stylesheets/_erp_hub.scss */
.erp-toast {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  padding: 10px 10px 10px 14px;
  border-radius: 10px;
  background: #1f2328;
  color: #fff;
  font-size: 13px;
  box-shadow: var(--erp-shadow-lg);
  transform: translateX(-50%);
  animation: erp-in 0.16s ease;
}

/* line 690, app/assets/stylesheets/_erp_hub.scss */
.erp-toast[hidden] {
  display: none;
}

/* line 691, app/assets/stylesheets/_erp_hub.scss */
.erp-toast > .crm-icon {
  color: #5eead4;
}

/* line 691, app/assets/stylesheets/_erp_hub.scss */
.erp-toast.is-error > .crm-icon {
  color: #ff9b9e;
}

/* line 692, app/assets/stylesheets/_erp_hub.scss */
.erp-toast span {
  flex: 1;
}

/* line 693, app/assets/stylesheets/_erp_hub.scss */
.erp-toast button {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* line 693, app/assets/stylesheets/_erp_hub.scss */
.erp-toast button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* line 694, app/assets/stylesheets/_erp_hub.scss */
.erp-toast .erp-toast-x {
  background: none;
  padding: 0 4px;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  /* line 700, app/assets/stylesheets/_erp_hub.scss */
  .erp-kpis, .erp-kpis.is-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* line 701, app/assets/stylesheets/_erp_hub.scss */
  .erp-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 702, app/assets/stylesheets/_erp_hub.scss */
  .erp-record-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 1024px) {
  /* line 705, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub {
    --erp-sidebar: 64px;
  }
  /* line 706, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub .erp-brand-text, .erp-hub .erp-nav-label, .erp-hub .erp-nav-text, .erp-hub .erp-nav-count {
    display: none;
  }
  /* line 707, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub .erp-nav-item {
    justify-content: center;
    padding: 0;
  }
  /* line 708, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub .erp-brand {
    flex-direction: column;
  }
  /* line 709, app/assets/stylesheets/_erp_hub.scss */
  .erp-grid-2, .erp-grid-2.is-wide-left, .erp-grid-3, .erp-record-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 710, app/assets/stylesheets/_erp_hub.scss */
  .erp-record-side {
    position: static;
  }
  /* line 711, app/assets/stylesheets/_erp_hub.scss */
  .erp-search-trigger span {
    display: none;
  }
  /* line 712, app/assets/stylesheets/_erp_hub.scss */
  .erp-search-trigger {
    width: auto;
  }
  /* line 713, app/assets/stylesheets/_erp_hub.scss */
  .erp-welcome-mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  /* line 716, app/assets/stylesheets/_erp_hub.scss */
  .erp-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 717, app/assets/stylesheets/_erp_hub.scss */
  .erp-sidebar {
    display: none;
  }
  /* line 718, app/assets/stylesheets/_erp_hub.scss */
  .erp-menu-btn {
    display: inline-grid !important;
  }
  /* line 719, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub.is-nav-open .erp-sidebar {
    display: flex;
    position: absolute;
    inset: 0 auto 0 0;
    width: 272px;
    z-index: 50;
    box-shadow: var(--erp-shadow-lg);
    animation: erp-in 0.15s ease;
  }
  /* line 720, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub.is-nav-open .erp-sidebar .erp-brand-text, .erp-hub.is-nav-open .erp-sidebar .erp-nav-label, .erp-hub.is-nav-open .erp-sidebar .erp-nav-text, .erp-hub.is-nav-open .erp-sidebar .erp-nav-count {
    display: revert;
  }
  /* line 721, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub.is-nav-open .erp-sidebar .erp-brand-text {
    display: flex;
  }
  /* line 722, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub.is-nav-open .erp-sidebar .erp-nav-item {
    justify-content: flex-start;
    padding: 0 10px;
  }
  /* line 723, app/assets/stylesheets/_erp_hub.scss */
  .erp-hub.is-nav-open .erp-sidebar .erp-brand {
    flex-direction: row;
  }
  /* line 725, app/assets/stylesheets/_erp_hub.scss */
  .erp-page {
    padding: 16px 16px 56px;
  }
  /* line 726, app/assets/stylesheets/_erp_hub.scss */
  .erp-kpis, .erp-kpis.is-5, .erp-kpis.is-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 727, app/assets/stylesheets/_erp_hub.scss */
  .erp-crumbs {
    display: none;
  }
  /* line 728, app/assets/stylesheets/_erp_hub.scss */
  .erp-search-trigger {
    flex: 1;
  }
  /* line 729, app/assets/stylesheets/_erp_hub.scss */
  .erp-topbar {
    padding: 0 10px;
  }
  /* line 730, app/assets/stylesheets/_erp_hub.scss */
  .erp-topbar-actions .erp-btn span, .erp-me {
    display: none;
  }
  /* line 731, app/assets/stylesheets/_erp_hub.scss */
  .erp-fields, .erp-dl {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 732, app/assets/stylesheets/_erp_hub.scss */
  .erp-field.is-half {
    grid-column: 1 / -1;
  }
  /* line 733, app/assets/stylesheets/_erp_hub.scss */
  .erp-settings {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 734, app/assets/stylesheets/_erp_hub.scss */
  .erp-mini-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 735, app/assets/stylesheets/_erp_hub.scss */
  .erp-welcome-mods {
    grid-template-columns: minmax(0, 1fr);
  }
  /* line 736, app/assets/stylesheets/_erp_hub.scss */
  .erp-menu.is-grid {
    grid-template-columns: 1fr;
  }
  /* line 737, app/assets/stylesheets/_erp_hub.scss */
  .erp-popover.is-quick-create, .erp-popover.is-alerts {
    width: 320px;
  }
}

/* line 4, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub {
  --hrm-bg: #f7f7f5;
  --hrm-surface: #ffffff;
  --hrm-sunken: #f1f1ef;
  --hrm-hover: rgba(55, 53, 47, 0.06);
  --hrm-active: rgba(55, 53, 47, 0.1);
  --hrm-line: rgba(55, 53, 47, 0.1);
  --hrm-line-strong: rgba(55, 53, 47, 0.18);
  --hrm-ink: #1f2328;
  --hrm-ink-2: #4b5058;
  --hrm-muted: #7c828b;
  --hrm-accent: #0f7b6c;
  --hrm-accent-2: #12a594;
  --hrm-accent-soft: rgba(15, 123, 108, 0.1);
  --hrm-accent-ink: #0b5f54;
  --hrm-green: #1f9d55;
  --hrm-red: #e5484d;
  --hrm-orange: #e8850c;
  --hrm-blue: #0a84ff;
  --hrm-purple: #8e4ec6;
  --hrm-teal: #12a594;
  --hrm-radius: 10px;
  --hrm-radius-sm: 7px;
  --hrm-shadow: 0 1px 2px rgba(15, 15, 15, 0.04), 0 2px 8px rgba(15, 15, 15, 0.04);
  --hrm-shadow-lg: 0 12px 40px rgba(15, 15, 15, 0.16), 0 2px 6px rgba(15, 15, 15, 0.06);
  --hrm-sidebar: 244px;
  position: absolute;
  inset: 0;
  z-index: 42;
  display: flex;
  min-height: 0;
  overflow: hidden;
  color: var(--hrm-ink);
  background: var(--hrm-bg);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* line 41, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.hidden, .hrm-hub[hidden] {
  display: none !important;
}

/* line 42, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub *, .hrm-hub *::before, .hrm-hub *::after {
  box-sizing: border-box;
}

/* line 43, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub button {
  font: inherit;
  color: inherit;
}

/* line 44, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub input, .hrm-hub select, .hrm-hub textarea {
  font: inherit;
  color: inherit;
}

/* line 45, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub h1, .hrm-hub h2, .hrm-hub h3, .hrm-hub h4, .hrm-hub p, .hrm-hub ul, .hrm-hub ol, .hrm-hub dl, .hrm-hub dd, .hrm-hub blockquote {
  margin: 0;
}

/* line 46, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub ul, .hrm-hub ol {
  padding: 0;
  list-style: none;
}

/* line 47, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid var(--hrm-line-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--hrm-surface);
  color: var(--hrm-muted);
  font: 600 10.5px/1 -apple-system, sans-serif;
}

/* line 52, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.is-collapsed {
  --hrm-sidebar: 64px;
}

/* line 53, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub .crm-icon {
  flex: none;
  display: block;
}

/* line 56, app/assets/stylesheets/_hrm_hub.scss */
.hrm-muted {
  color: var(--hrm-muted);
}

/* line 57, app/assets/stylesheets/_hrm_hub.scss */
.hrm-text-red {
  color: var(--hrm-red) !important;
}

/* line 58, app/assets/stylesheets/_hrm_hub.scss */
.hrm-text-green {
  color: var(--hrm-green) !important;
}

/* line 59, app/assets/stylesheets/_hrm_hub.scss */
.hrm-text-orange {
  color: var(--hrm-orange) !important;
}

/* line 60, app/assets/stylesheets/_hrm_hub.scss */
.hrm-spacer {
  flex: 1;
}

/* line 61, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pad {
  padding: 12px 14px;
}

/* line 62, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mono {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 12.5px;
  color: var(--hrm-ink-2);
}

/* line 63, app/assets/stylesheets/_hrm_hub.scss */
.hrm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--dot, var(--hrm-muted));
  vertical-align: middle;
}

/* line 64, app/assets/stylesheets/_hrm_hub.scss */
.hrm-eyebrow {
  display: block;
  color: var(--hrm-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

/* line 65, app/assets/stylesheets/_hrm_hub.scss */
.hrm-section-title {
  margin: 22px 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 66, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sub-title {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--hrm-muted);
}

/* line 67, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hint-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--hrm-muted);
  font-size: 12.5px;
}

/* line 68, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cell-sub {
  display: block;
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 69, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cell-strong {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 70, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cell-clip {
  display: inline-block;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* ---------- Shell ---------- */
/* line 74, app/assets/stylesheets/_hrm_hub.scss */
.hrm-shell {
  display: grid;
  grid-template-columns: var(--hrm-sidebar) minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  transition: grid-template-columns 0.18s ease;
}

/* line 81, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fbfbfa;
  border-right: 1px solid var(--hrm-line);
}

/* line 82, app/assets/stylesheets/_hrm_hub.scss */
.hrm-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 10px;
}

/* line 84, app/assets/stylesheets/_hrm_hub.scss */
.hrm-brand .hrm-brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #0f7b6c, #12a594 60%, #3fc1ad);
  box-shadow: 0 2px 6px rgba(15, 123, 108, 0.35);
}

/* line 85, app/assets/stylesheets/_hrm_hub.scss */
.hrm-brand .hrm-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

/* line 86, app/assets/stylesheets/_hrm_hub.scss */
.hrm-brand .hrm-brand-text strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 87, app/assets/stylesheets/_hrm_hub.scss */
.hrm-brand .hrm-brand-text span {
  font-size: 11px;
  color: var(--hrm-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 90, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav {
  flex: 1;
  overflow-y: auto;
  padding: 2px 8px 12px;
}

/* line 91, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-group {
  margin-top: 10px;
}

/* line 91, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-group:first-child {
  margin-top: 2px;
}

/* line 92, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-label {
  display: block;
  padding: 0 10px 4px;
  color: var(--hrm-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* line 93, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--hrm-ink-2);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

/* line 96, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-item:hover {
  background: var(--hrm-hover);
  color: var(--hrm-ink);
}

/* line 97, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-item.is-active {
  background: var(--hrm-accent-soft);
  color: var(--hrm-accent-ink);
  font-weight: 600;
}

/* line 97, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-item.is-active .crm-icon {
  color: var(--hrm-accent);
}

/* line 98, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-item .crm-icon {
  color: var(--hrm-muted);
}

/* line 99, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-item .hrm-nav-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 101, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nav-count {
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--hrm-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* line 102, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--hrm-line);
}

/* line 103, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sidebar-foot .hrm-sync {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--hrm-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}

/* line 106, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.is-collapsed .hrm-brand-text, .hrm-hub.is-collapsed .hrm-nav-label, .hrm-hub.is-collapsed .hrm-nav-text, .hrm-hub.is-collapsed .hrm-nav-count {
  display: none;
}

/* line 107, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.is-collapsed .hrm-brand {
  flex-direction: column;
}

/* line 108, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.is-collapsed .hrm-nav-item {
  justify-content: center;
  padding: 0;
}

/* line 109, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.is-collapsed .hrm-nav-group {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--hrm-line);
}

/* line 109, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.is-collapsed .hrm-nav-group:first-child {
  border-top: 0;
}

/* line 110, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hub.is-collapsed .hrm-sidebar-foot {
  flex-direction: column;
}

/* line 113, app/assets/stylesheets/_hrm_hub.scss */
.hrm-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* line 114, app/assets/stylesheets/_hrm_hub.scss */
.hrm-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  flex: none;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--hrm-line);
}

/* line 118, app/assets/stylesheets/_hrm_hub.scss */
.hrm-crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  color: var(--hrm-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
}

/* line 119, app/assets/stylesheets/_hrm_hub.scss */
.hrm-crumbs .hrm-crumb {
  border: 0;
  background: none;
  padding: 2px 4px;
  border-radius: 5px;
  color: var(--hrm-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 120, app/assets/stylesheets/_hrm_hub.scss */
.hrm-crumbs .hrm-crumb:is(button) {
  cursor: pointer;
}

/* line 120, app/assets/stylesheets/_hrm_hub.scss */
.hrm-crumbs .hrm-crumb:is(button):hover {
  background: var(--hrm-hover);
  color: var(--hrm-ink);
}

/* line 121, app/assets/stylesheets/_hrm_hub.scss */
.hrm-crumbs .hrm-crumb.is-current {
  color: var(--hrm-ink);
  font-weight: 600;
}

/* line 124, app/assets/stylesheets/_hrm_hub.scss */
.hrm-entity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--hrm-line);
  border-radius: 8px;
  background: var(--hrm-surface);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* line 124, app/assets/stylesheets/_hrm_hub.scss */
.hrm-entity:hover {
  border-color: var(--hrm-line-strong);
}

/* line 125, app/assets/stylesheets/_hrm_hub.scss */
.hrm-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 34vw;
  max-width: 380px;
  height: 32px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--hrm-line);
  border-radius: 8px;
  background: var(--hrm-sunken);
  color: var(--hrm-muted);
  cursor: pointer;
  font-size: 13px;
}

/* line 128, app/assets/stylesheets/_hrm_hub.scss */
.hrm-search-trigger span {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 129, app/assets/stylesheets/_hrm_hub.scss */
.hrm-search-trigger:hover {
  border-color: var(--hrm-line-strong);
  background: #fff;
}

/* line 131, app/assets/stylesheets/_hrm_hub.scss */
.hrm-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 132, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(142, 78, 198, 0.25);
  background: linear-gradient(135deg, rgba(142, 78, 198, 0.08), rgba(15, 123, 108, 0.08));
  color: #6b3fa0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 135, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-trigger:hover, .hrm-ai-trigger.is-active {
  background: linear-gradient(135deg, rgba(142, 78, 198, 0.16), rgba(15, 123, 108, 0.14));
}

/* line 137, app/assets/stylesheets/_hrm_hub.scss */
.hrm-me {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 6px 0 3px;
  border: 0;
  border-radius: 99px;
  background: none;
  cursor: pointer;
}

/* line 137, app/assets/stylesheets/_hrm_hub.scss */
.hrm-me:hover {
  background: var(--hrm-hover);
}

/* line 138, app/assets/stylesheets/_hrm_hub.scss */
.hrm-me .hrm-me-role {
  font-size: 12px;
  color: var(--hrm-ink-2);
  font-weight: 500;
  white-space: nowrap;
}

/* line 140, app/assets/stylesheets/_hrm_hub.scss */
.hrm-main-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 141, app/assets/stylesheets/_hrm_hub.scss */
.hrm-view {
  padding: 22px 28px 60px;
  max-width: 1480px;
  margin: 0 auto;
}

/* line 142, app/assets/stylesheets/_hrm_hub.scss */
.hrm-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Buttons ---------- */
/* line 146, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: var(--hrm-radius-sm);
  background: var(--hrm-surface);
  color: var(--hrm-ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(15, 15, 15, 0.03);
}

/* line 150, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn:hover {
  background: var(--hrm-sunken);
}

/* line 151, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* line 152, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-primary {
  border-color: transparent;
  background: var(--hrm-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 123, 108, 0.3);
}

/* line 152, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-primary:hover {
  background: var(--hrm-accent-ink);
}

/* line 153, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--hrm-ink-2);
}

/* line 153, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-ghost:hover {
  background: var(--hrm-hover);
  color: var(--hrm-ink);
}

/* line 154, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-danger {
  border-color: transparent;
  background: var(--hrm-red);
  color: #fff;
}

/* line 154, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-danger:hover {
  background: #c93a3f;
}

/* line 155, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-danger-ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--hrm-red);
}

/* line 155, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-danger-ghost:hover {
  background: rgba(229, 72, 77, 0.08);
}

/* line 156, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn.is-sm {
  height: 28px;
  padding: 0 10px;
  font-size: 12.5px;
}

/* line 158, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--hrm-ink-2);
  cursor: pointer;
}

/* line 161, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn:hover {
  background: var(--hrm-hover);
  color: var(--hrm-ink);
}

/* line 162, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* line 163, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn.is-xs {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* line 164, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn.is-approve {
  color: var(--hrm-green);
}

/* line 164, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn.is-approve:hover {
  background: rgba(31, 157, 85, 0.1);
}

/* line 165, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn.is-reject {
  color: var(--hrm-red);
}

/* line 165, app/assets/stylesheets/_hrm_hub.scss */
.hrm-icon-btn.is-reject:hover {
  background: rgba(229, 72, 77, 0.1);
}

/* line 167, app/assets/stylesheets/_hrm_hub.scss */
.hrm-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--hrm-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

/* line 168, app/assets/stylesheets/_hrm_hub.scss */
.hrm-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--hrm-accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 168, app/assets/stylesheets/_hrm_hub.scss */
.hrm-link:hover {
  text-decoration: underline;
}

/* line 169, app/assets/stylesheets/_hrm_hub.scss */
.hrm-link-plain {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* line 169, app/assets/stylesheets/_hrm_hub.scss */
.hrm-link-plain:hover {
  color: var(--hrm-accent);
  text-decoration: underline;
}

/* line 170, app/assets/stylesheets/_hrm_hub.scss */
.hrm-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  color: var(--hrm-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 2px 4px;
  margin-bottom: -8px;
}

/* line 170, app/assets/stylesheets/_hrm_hub.scss */
.hrm-back:hover {
  color: var(--hrm-ink);
}

/* line 171, app/assets/stylesheets/_hrm_hub.scss */
.hrm-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ---------- Page head, tabs, segmented ---------- */
/* line 175, app/assets/stylesheets/_hrm_hub.scss */
.hrm-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* line 176, app/assets/stylesheets/_hrm_hub.scss */
.hrm-page-head h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* line 177, app/assets/stylesheets/_hrm_hub.scss */
.hrm-page-head p {
  margin-top: 4px;
  color: var(--hrm-muted);
  font-size: 13.5px;
  max-width: 720px;
}

/* line 179, app/assets/stylesheets/_hrm_hub.scss */
.hrm-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 180, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--hrm-line);
  overflow-x: auto;
  scrollbar-width: none;
}

/* line 181, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--hrm-muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

/* line 182, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tab:hover {
  color: var(--hrm-ink);
}

/* line 183, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tab.is-active {
  color: var(--hrm-ink);
  font-weight: 600;
}

/* line 183, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tab.is-active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--hrm-accent);
}

/* line 185, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tab-count {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* line 186, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tab-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 187, app/assets/stylesheets/_hrm_hub.scss */
.hrm-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: var(--hrm-sunken);
  border: 1px solid var(--hrm-line);
}

/* line 188, app/assets/stylesheets/_hrm_hub.scss */
.hrm-seg button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--hrm-ink-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

/* line 189, app/assets/stylesheets/_hrm_hub.scss */
.hrm-seg button:hover {
  color: var(--hrm-ink);
}

/* line 189, app/assets/stylesheets/_hrm_hub.scss */
.hrm-seg button.is-active {
  background: var(--hrm-surface);
  color: var(--hrm-ink);
  box-shadow: var(--hrm-shadow);
}

/* line 189, app/assets/stylesheets/_hrm_hub.scss */
.hrm-seg button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* line 192, app/assets/stylesheets/_hrm_hub.scss */
.hrm-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 8px 0 10px;
  border: 1px dashed var(--hrm-line-strong);
  border-radius: 7px;
  background: var(--hrm-surface);
  font-size: 12.5px;
  color: var(--hrm-ink-2);
  white-space: nowrap;
}

/* line 193, app/assets/stylesheets/_hrm_hub.scss */
.hrm-filter span {
  pointer-events: none;
}

/* line 194, app/assets/stylesheets/_hrm_hub.scss */
.hrm-filter select {
  appearance: none;
  border: 0;
  background: none;
  padding: 0 2px;
  max-width: 170px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hrm-ink);
  cursor: pointer;
  outline: none;
}

/* line 195, app/assets/stylesheets/_hrm_hub.scss */
.hrm-filter.is-active {
  border-style: solid;
  border-color: rgba(15, 123, 108, 0.35);
  background: var(--hrm-accent-soft);
}

/* line 196, app/assets/stylesheets/_hrm_hub.scss */
.hrm-filter .crm-icon {
  color: var(--hrm-muted);
  pointer-events: none;
}

/* ---------- Cards, KPIs, grids ---------- */
/* line 201, app/assets/stylesheets/_hrm_hub.scss */
.hrm-card {
  background: var(--hrm-surface);
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  box-shadow: var(--hrm-shadow);
  min-width: 0;
}

/* line 202, app/assets/stylesheets/_hrm_hub.scss */
.hrm-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 0;
}

/* line 203, app/assets/stylesheets/_hrm_hub.scss */
.hrm-card-head h3 {
  font-size: 14px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 203, app/assets/stylesheets/_hrm_hub.scss */
.hrm-card-head h3 .crm-icon {
  color: var(--hrm-muted);
}

/* line 204, app/assets/stylesheets/_hrm_hub.scss */
.hrm-card-head p {
  color: var(--hrm-muted);
  font-size: 12.5px;
  margin-top: 2px;
}

/* line 206, app/assets/stylesheets/_hrm_hub.scss */
.hrm-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* line 207, app/assets/stylesheets/_hrm_hub.scss */
.hrm-card-body {
  padding: 12px 16px 16px;
  min-width: 0;
  overflow-x: auto;
}

/* line 208, app/assets/stylesheets/_hrm_hub.scss */
.hrm-grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* line 209, app/assets/stylesheets/_hrm_hub.scss */
.hrm-grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* line 209, app/assets/stylesheets/_hrm_hub.scss */
.hrm-grid-3 .is-span-2 {
  grid-column: span 2;
}

/* line 210, app/assets/stylesheets/_hrm_hub.scss */
.hrm-grid-4 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* line 211, app/assets/stylesheets/_hrm_hub.scss */
.hrm-grid-attn {
  display: grid;
  gap: 16px;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: start;
}

/* line 212, app/assets/stylesheets/_hrm_hub.scss */
.hrm-grid-notif {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

/* line 213, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* line 215, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

/* line 216, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
  text-align: left;
  min-width: 0;
}

/* line 217, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi.is-clickable {
  cursor: pointer;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}

/* line 217, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi.is-clickable:hover {
  border-color: rgba(15, 123, 108, 0.35);
  box-shadow: 0 4px 14px rgba(15, 15, 15, 0.07);
  transform: translateY(-1px);
}

/* line 218, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi.is-attention {
  border-color: rgba(232, 133, 12, 0.35);
  background: linear-gradient(180deg, rgba(232, 133, 12, 0.05), #fff 60%);
}

/* line 219, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi.is-selected {
  border-color: var(--hrm-accent);
  box-shadow: 0 0 0 3px var(--hrm-accent-soft);
}

/* line 221, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

/* line 222, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hrm-muted);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 223, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 224, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  min-height: 22px;
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 224, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kpi-foot span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 225, app/assets/stylesheets/_hrm_hub.scss */
.hrm-delta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* line 226, app/assets/stylesheets/_hrm_hub.scss */
.hrm-delta.is-up {
  background: rgba(31, 157, 85, 0.1);
  color: var(--hrm-green);
}

/* line 227, app/assets/stylesheets/_hrm_hub.scss */
.hrm-delta.is-down {
  background: rgba(229, 72, 77, 0.1);
  color: var(--hrm-red);
}

/* line 228, app/assets/stylesheets/_hrm_hub.scss */
.hrm-delta.is-flat {
  background: var(--hrm-sunken);
  color: var(--hrm-muted);
}

/* line 230, app/assets/stylesheets/_hrm_hub.scss */
.hrm-spark {
  flex: none;
}

/* line 230, app/assets/stylesheets/_hrm_hub.scss */
.hrm-spark polyline {
  stroke: var(--hrm-accent-2);
}

/* line 230, app/assets/stylesheets/_hrm_hub.scss */
.hrm-spark.is-bad polyline {
  stroke: var(--hrm-red);
}

/* line 232, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* line 233, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--hrm-radius);
  border: 1px solid var(--hrm-line);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
  border-left: 3px solid var(--tone, var(--hrm-accent));
}

/* line 234, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight p {
  font-size: 13px;
  color: var(--hrm-ink-2);
  flex: 1;
}

/* line 235, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight .hrm-link {
  align-self: flex-start;
  font-size: 12.5px;
}

/* line 236, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight.is-orange {
  --tone: var(--hrm-orange);
}

/* line 236, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight.is-red {
  --tone: var(--hrm-red);
}

/* line 236, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight.is-purple {
  --tone: var(--hrm-purple);
}

/* line 236, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight.is-blue {
  --tone: var(--hrm-blue);
}

/* line 236, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight.is-green {
  --tone: var(--hrm-green);
}

/* line 238, app/assets/stylesheets/_hrm_hub.scss */
.hrm-insight-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tone, #0f7b6c) 12%, transparent);
  color: var(--tone, var(--hrm-accent));
}

/* ---------- Charts ---------- */
/* line 242, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chart {
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}

/* line 243, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chart-grid {
  stroke: var(--hrm-line);
  stroke-width: 1;
}

/* line 244, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chart-axis {
  fill: var(--hrm-muted);
  font-size: 11px;
}

/* line 245, app/assets/stylesheets/_hrm_hub.scss */
.hrm-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
  color: var(--hrm-ink-2);
}

/* line 245, app/assets/stylesheets/_hrm_hub.scss */
.hrm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 246, app/assets/stylesheets/_hrm_hub.scss */
.hrm-legend-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--hrm-muted);
}

/* line 247, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 248, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

/* line 249, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar.is-clickable {
  cursor: pointer;
  border-radius: 6px;
}

/* line 249, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar.is-clickable:hover .hrm-hbar-label {
  color: var(--hrm-accent);
}

/* line 251, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--hrm-ink-2);
}

/* line 252, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar-track {
  height: 8px;
  border-radius: 99px;
  background: var(--hrm-sunken);
  overflow: hidden;
}

/* line 252, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar-track span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--hrm-accent-2);
}

/* line 253, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* line 253, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hbar-value small {
  display: block;
  font-weight: 500;
  color: var(--hrm-orange);
  font-size: 11px;
}

/* line 254, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* line 255, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-track {
  stroke: var(--hrm-sunken);
}

/* line 256, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-center {
  font-size: 20px;
  font-weight: 700;
  fill: var(--hrm-ink);
}

/* line 257, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-sub {
  font-size: 11px;
  fill: var(--hrm-muted);
}

/* line 258, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-legend {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
}

/* line 259, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-legend div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 40px;
  gap: 8px;
  align-items: center;
}

/* line 260, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hrm-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 261, app/assets/stylesheets/_hrm_hub.scss */
.hrm-donut-legend em {
  font-style: normal;
  color: var(--hrm-muted);
  text-align: right;
}

/* line 263, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ring {
  flex: none;
}

/* line 264, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ring-text {
  font-size: 12px;
  font-weight: 700;
  fill: var(--hrm-ink);
}

/* line 265, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--hrm-sunken);
  overflow: hidden;
  flex: 1;
  min-width: 40px;
}

/* line 266, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--hrm-accent-2);
}

/* line 267, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress span.is-green {
  background: var(--hrm-green);
}

/* line 267, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress span.is-orange {
  background: var(--hrm-orange);
}

/* line 267, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress span.is-red {
  background: var(--hrm-red);
}

/* line 267, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress span.is-accent {
  background: var(--hrm-accent-2);
}

/* line 269, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress.is-thin {
  height: 5px;
}

/* line 271, app/assets/stylesheets/_hrm_hub.scss */
.hrm-progress-label {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 272, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stars {
  color: #d8d8d4;
  letter-spacing: 1px;
  font-size: 13px;
  white-space: nowrap;
}

/* line 272, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stars .is-on {
  color: #f5a524;
}

/* ---------- Pills, chips, avatars ---------- */
/* line 276, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 21px;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg);
  color: var(--fg);
  --bg: #eeeeec;
  --fg: #5b6068;
}

/* line 278, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pill.is-green {
  --bg: rgba(31, 157, 85, 0.12);
  --fg: #18804a;
}

/* line 279, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pill.is-red {
  --bg: rgba(229, 72, 77, 0.12);
  --fg: #c63237;
}

/* line 280, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pill.is-orange {
  --bg: rgba(232, 133, 12, 0.13);
  --fg: #b0640a;
}

/* line 281, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pill.is-blue {
  --bg: rgba(10, 132, 255, 0.11);
  --fg: #0868cc;
}

/* line 282, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pill.is-purple {
  --bg: rgba(142, 78, 198, 0.12);
  --fg: #7a3db0;
}

/* line 283, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pill.is-teal {
  --bg: rgba(18, 165, 148, 0.12);
  --fg: #0e8578;
}

/* line 285, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 286, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chip.is-btn {
  border: 1px solid var(--hrm-line);
  cursor: pointer;
}

/* line 286, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chip.is-btn:hover {
  border-color: var(--hrm-accent);
  color: var(--hrm-accent);
}

/* line 288, app/assets/stylesheets/_hrm_hub.scss */
.hrm-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.06));
}

/* line 290, app/assets/stylesheets/_hrm_hub.scss */
.hrm-avatar.is-square {
  border-radius: 8px;
}

/* line 292, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  max-width: 100%;
}

/* line 293, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

/* line 294, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person strong {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 295, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person small {
  color: var(--hrm-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 296, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person:hover strong {
  color: var(--hrm-accent);
}

/* line 298, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person-static {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* line 298, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person-static span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

/* line 298, app/assets/stylesheets/_hrm_hub.scss */
.hrm-person-static small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 299, app/assets/stylesheets/_hrm_hub.scss */
.hrm-masked {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hrm-muted);
  letter-spacing: 1px;
}

/* line 300, app/assets/stylesheets/_hrm_hub.scss */
.hrm-days-left {
  display: inline-block;
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(232, 133, 12, 0.13);
  color: #b0640a;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Data table ---------- */
/* line 304, app/assets/stylesheets/_hrm_hub.scss */
.hrm-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 305, app/assets/stylesheets/_hrm_hub.scss */
.hrm-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  width: 240px;
  padding: 0 10px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 7px;
  background: var(--hrm-surface);
  color: var(--hrm-muted);
}

/* line 306, app/assets/stylesheets/_hrm_hub.scss */
.hrm-search input {
  border: 0;
  outline: none;
  background: none;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--hrm-ink);
}

/* line 307, app/assets/stylesheets/_hrm_hub.scss */
.hrm-search:focus-within {
  border-color: var(--hrm-accent);
  box-shadow: 0 0 0 3px var(--hrm-accent-soft);
}

/* line 309, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drafts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(232, 133, 12, 0.06);
  border: 1px dashed rgba(232, 133, 12, 0.35);
  font-size: 12.5px;
  color: #8a5a10;
}

/* line 310, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1f2328;
  color: #fff;
}

/* line 311, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar strong {
  font-size: 13px;
}

/* line 311, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar .hrm-link {
  color: #7ee0cf;
}

/* line 312, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar .hrm-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* line 312, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar .hrm-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* line 312, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar .hrm-btn.is-danger-ghost {
  color: #ff8a8e;
  background: transparent;
}

/* line 313, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar .hrm-icon-btn {
  color: #fff;
}

/* line 313, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bulkbar .hrm-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* line 315, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table-wrap {
  overflow: auto;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
}

/* line 316, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

/* line 317, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 36px;
  padding: 0 12px;
  background: #fafaf9;
  border-bottom: 1px solid var(--hrm-line);
  color: var(--hrm-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

/* line 318, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table td {
  height: 46px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--hrm-line);
  vertical-align: middle;
  white-space: nowrap;
}

/* line 319, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table tbody tr:last-child td {
  border-bottom: 0;
}

/* line 320, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table tbody tr.is-clickable {
  cursor: pointer;
}

/* line 321, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table tbody tr:hover td {
  background: #fafaf9;
}

/* line 322, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table tbody tr.is-selected td {
  background: rgba(15, 123, 108, 0.05);
}

/* line 323, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table tbody tr.is-past td {
  color: var(--hrm-muted);
}

/* line 324, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table tr.is-total td {
  font-weight: 700;
  background: #fafaf9;
}

/* line 325, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table .is-right {
  text-align: right;
}

/* line 325, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table .is-center {
  text-align: center;
}

/* line 326, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table.is-plain th {
  position: static;
  background: none;
  padding: 0 8px;
  height: 32px;
}

/* line 326, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table.is-plain td {
  padding: 6px 8px;
  height: 40px;
}

/* line 328, app/assets/stylesheets/_hrm_hub.scss */
.hrm-table-wrap.is-compact .hrm-table td {
  height: 38px;
}

/* line 329, app/assets/stylesheets/_hrm_hub.scss */
.hrm-th-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* line 329, app/assets/stylesheets/_hrm_hub.scss */
.hrm-th-sort:hover, .hrm-th-sort.is-sorted {
  color: var(--hrm-ink);
}

/* line 330, app/assets/stylesheets/_hrm_hub.scss */
.hrm-th-check, .hrm-td-check {
  width: 36px;
  padding-right: 0 !important;
}

/* line 330, app/assets/stylesheets/_hrm_hub.scss */
.hrm-th-check input, .hrm-td-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--hrm-accent);
  cursor: pointer;
}

/* line 331, app/assets/stylesheets/_hrm_hub.scss */
.hrm-row-actions {
  display: inline-flex;
  gap: 2px;
}

/* line 332, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pager {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hrm-muted);
  font-size: 12.5px;
  padding: 0 4px;
}

/* line 333, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pager-size select {
  border: 1px solid var(--hrm-line);
  border-radius: 6px;
  background: #fff;
  padding: 2px 4px;
  margin-left: 4px;
}

/* line 334, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stage {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

/* line 334, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stage small {
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 334, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stage small .is-done {
  color: var(--hrm-green);
}

/* line 334, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stage small .is-current {
  color: var(--hrm-ink);
  font-weight: 600;
}

/* ---------- Empty state ---------- */
/* line 338, app/assets/stylesheets/_hrm_hub.scss */
.hrm-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 40px 16px;
  text-align: center;
}

/* line 339, app/assets/stylesheets/_hrm_hub.scss */
.hrm-empty strong {
  font-size: 15px;
}

/* line 339, app/assets/stylesheets/_hrm_hub.scss */
.hrm-empty p {
  max-width: 380px;
  color: var(--hrm-muted);
  font-size: 13px;
}

/* line 341, app/assets/stylesheets/_hrm_hub.scss */
.hrm-empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: var(--hrm-accent-soft);
  color: var(--hrm-accent);
}

/* line 342, app/assets/stylesheets/_hrm_hub.scss */
.hrm-empty-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ---------- Mini lists, timelines, dl ---------- */
/* line 346, app/assets/stylesheets/_hrm_hub.scss */
.hrm-dl {
  display: grid;
  gap: 0;
}

/* line 346, app/assets/stylesheets/_hrm_hub.scss */
.hrm-dl div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 346, app/assets/stylesheets/_hrm_hub.scss */
.hrm-dl div:last-child {
  border-bottom: 0;
}

/* line 346, app/assets/stylesheets/_hrm_hub.scss */
.hrm-dl dt {
  color: var(--hrm-muted);
  font-size: 12.5px;
}

/* line 346, app/assets/stylesheets/_hrm_hub.scss */
.hrm-dl dd {
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* line 347, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list {
  display: flex;
  flex-direction: column;
}

/* line 348, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list li > button, .hrm-mini-list .hrm-mini-li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 4px;
  border: 0;
  border-radius: 7px;
  background: none;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

/* line 349, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list li > button > span, .hrm-mini-list .hrm-mini-li > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

/* line 350, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list li > button strong, .hrm-mini-list .hrm-mini-li strong {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 351, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list li > button small, .hrm-mini-list .hrm-mini-li small {
  color: var(--hrm-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 352, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list li > button em, .hrm-mini-list .hrm-mini-li em {
  font-style: normal;
  color: var(--hrm-muted);
  font-size: 12px;
  white-space: nowrap;
}

/* line 354, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list li > button:hover {
  background: var(--hrm-hover);
}

/* line 355, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-list .hrm-mini-li {
  cursor: default;
}

/* line 357, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-empty {
  padding: 6px 0;
  font-size: 13px;
}

/* line 358, app/assets/stylesheets/_hrm_hub.scss */
.hrm-more {
  margin-top: 4px;
  color: var(--hrm-muted);
  font-size: 12px;
  padding-left: 4px;
}

/* line 359, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* line 359, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-stat div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

/* line 359, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-stat small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 360, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 7px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
}

/* line 361, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check-dot {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--hrm-line-strong);
  border-radius: 50%;
  flex: none;
}

/* line 362, app/assets/stylesheets/_hrm_hub.scss */
.hrm-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}

/* line 363, app/assets/stylesheets/_hrm_hub.scss */
.hrm-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--hrm-line-strong);
}

/* line 364, app/assets/stylesheets/_hrm_hub.scss */
.hrm-timeline li {
  position: relative;
  font-size: 13px;
}

/* line 364, app/assets/stylesheets/_hrm_hub.scss */
.hrm-timeline li p {
  color: var(--hrm-ink-2);
  margin-top: 2px;
}

/* line 364, app/assets/stylesheets/_hrm_hub.scss */
.hrm-timeline li small {
  display: block;
  color: var(--hrm-muted);
  font-size: 11.5px;
  margin-top: 2px;
}

/* line 365, app/assets/stylesheets/_hrm_hub.scss */
.hrm-timeline.is-rich {
  padding-left: 32px;
}

/* line 365, app/assets/stylesheets/_hrm_hub.scss */
.hrm-timeline.is-rich::before {
  left: 12px;
}

/* line 367, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tl-dot {
  position: absolute;
  left: -17px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hrm-surface);
  border: 2px solid var(--hrm-accent-2);
}

/* line 368, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tl-dot.is-rejected {
  border-color: var(--hrm-red);
}

/* line 368, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tl-dot.is-requested {
  border-color: var(--hrm-blue);
}

/* line 368, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tl-dot.is-cancelled {
  border-color: var(--hrm-muted);
}

/* line 370, app/assets/stylesheets/_hrm_hub.scss */
.hrm-tl-icon {
  position: absolute;
  left: -32px;
  top: -1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
  box-shadow: 0 0 0 3px var(--hrm-surface);
}

/* line 371, app/assets/stylesheets/_hrm_hub.scss */
.hrm-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 371, app/assets/stylesheets/_hrm_hub.scss */
.hrm-events li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

/* line 371, app/assets/stylesheets/_hrm_hub.scss */
.hrm-events li .crm-icon {
  color: var(--hrm-muted);
}

/* line 372, app/assets/stylesheets/_hrm_hub.scss */
.hrm-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 40px;
  flex: none;
  border-radius: 8px;
  background: var(--hrm-sunken);
  line-height: 1.05;
}

/* line 372, app/assets/stylesheets/_hrm_hub.scss */
.hrm-event-date strong {
  font-size: 15px;
}

/* line 372, app/assets/stylesheets/_hrm_hub.scss */
.hrm-event-date small {
  font-size: 10.5px;
  color: var(--hrm-muted);
  text-transform: uppercase;
}

/* line 373, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* line 373, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stat-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: var(--hrm-sunken);
}

/* line 373, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stat-row strong {
  font-size: 17px;
}

/* line 373, app/assets/stylesheets/_hrm_hub.scss */
.hrm-stat-row small {
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 374, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.07);
  border: 1px solid rgba(10, 132, 255, 0.18);
  color: #0b5aa8;
  font-size: 12.5px;
}

/* ---------- Hero, self-service ---------- */
/* line 378, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--hrm-line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(18, 165, 148, 0.14), transparent 55%), radial-gradient(90% 120% at 100% 0%, rgba(142, 78, 198, 0.1), transparent 50%), var(--hrm-surface);
}

/* line 380, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hero h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 380, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hero p {
  color: var(--hrm-muted);
  margin-top: 2px;
}

/* line 382, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hero-who {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

/* line 383, app/assets/stylesheets/_hrm_hub.scss */
.hrm-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 104px);
  gap: 8px;
}

/* line 384, app/assets/stylesheets/_hrm_hub.scss */
.hrm-quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 74px;
  border: 1px solid var(--hrm-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
  color: var(--hrm-ink-2);
  cursor: pointer;
}

/* line 385, app/assets/stylesheets/_hrm_hub.scss */
.hrm-quick .crm-icon {
  color: var(--hrm-accent);
}

/* line 385, app/assets/stylesheets/_hrm_hub.scss */
.hrm-quick:hover {
  border-color: rgba(15, 123, 108, 0.35);
  color: var(--hrm-ink);
  box-shadow: var(--hrm-shadow);
}

/* line 387, app/assets/stylesheets/_hrm_hub.scss */
.hrm-balances {
  display: grid;
  gap: 10px;
}

/* line 388, app/assets/stylesheets/_hrm_hub.scss */
.hrm-balance {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 388, app/assets/stylesheets/_hrm_hub.scss */
.hrm-balance div {
  display: flex;
  flex-direction: column;
}

/* line 388, app/assets/stylesheets/_hrm_hub.scss */
.hrm-balance strong {
  font-size: 13px;
}

/* line 388, app/assets/stylesheets/_hrm_hub.scss */
.hrm-balance small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 389, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-post {
  padding: 10px 0;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 389, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-post:last-child {
  border-bottom: 0;
}

/* line 389, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-post strong {
  display: block;
  font-size: 13.5px;
}

/* line 389, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-post p {
  color: var(--hrm-ink-2);
  font-size: 13px;
  margin: 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 389, app/assets/stylesheets/_hrm_hub.scss */
.hrm-mini-post small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 390, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hrm-orange);
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- Clock widget ---------- */
/* line 394, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(155deg, #0f7b6c, #0b5f54 70%);
  box-shadow: 0 8px 24px rgba(15, 123, 108, 0.25);
}

/* line 395, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock.is-working {
  background: linear-gradient(155deg, #1f6feb, #1446a8 75%);
  box-shadow: 0 8px 24px rgba(31, 111, 235, 0.25);
}

/* line 396, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock.is-break {
  background: linear-gradient(155deg, #c26a07, #8f4b02 75%);
}

/* line 397, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock.is-done {
  background: linear-gradient(155deg, #3b414a, #22262b 75%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* line 398, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock .hrm-muted {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

/* line 399, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock .hrm-btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}

/* line 399, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock .hrm-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* line 399, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock .hrm-btn.is-ghost {
  background: transparent;
  border-color: transparent;
}

/* line 401, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 402, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}

/* line 403, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ee0cf;
  box-shadow: 0 0 0 0 rgba(126, 224, 207, 0.7);
  animation: hrm-pulse 1.8s infinite;
}

@keyframes hrm-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* line 405, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-time {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* line 406, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* line 406, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-grid div {
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
}

/* line 406, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-grid span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

/* line 406, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-grid strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

/* line 407, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 408, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  color: #0b5f54;
}

/* line 409, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-btn.is-out {
  color: #c63237;
}

/* line 409, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-btn.is-done {
  opacity: 0.7;
  cursor: default;
  color: #3b414a;
}

/* line 409, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

/* line 411, app/assets/stylesheets/_hrm_hub.scss */
.hrm-clock-verify {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Overview: requests ---------- */
/* line 415, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 416, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 416, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-row:hover {
  background: var(--hrm-hover);
}

/* line 417, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

/* line 417, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-main strong {
  font-size: 13px;
}

/* line 417, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-main small {
  color: var(--hrm-ink-2);
  font-size: 12.5px;
}

/* line 417, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-main em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 418, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
}

/* line 419, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-icon.is-teal {
  background: rgba(18, 165, 148, 0.12);
  color: #0e8578;
}

/* line 419, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-icon.is-orange {
  background: rgba(232, 133, 12, 0.13);
  color: #b0640a;
}

/* line 419, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-icon.is-blue {
  background: rgba(10, 132, 255, 0.11);
  color: #0868cc;
}

/* line 420, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-icon.is-purple {
  background: rgba(142, 78, 198, 0.12);
  color: #7a3db0;
}

/* line 420, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-icon.is-red {
  background: rgba(229, 72, 77, 0.12);
  color: #c63237;
}

/* line 420, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-icon.is-green {
  background: rgba(31, 157, 85, 0.12);
  color: #18804a;
}

/* line 422, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-type {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* line 422, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-type span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

/* line 423, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* line 423, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-head div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* line 423, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req-head small {
  color: var(--hrm-muted);
}

/* line 424, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 4px 0 16px;
}

/* line 424, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: 12px;
  color: var(--hrm-muted);
}

/* line 425, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--hrm-line-strong);
  z-index: 0;
}

/* line 426, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li.is-done {
  color: var(--hrm-ink);
}

/* line 426, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li.is-done::before {
  background: var(--hrm-green);
}

/* line 426, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li.is-done .hrm-chain-dot {
  background: var(--hrm-green);
  border-color: var(--hrm-green);
  color: #fff;
}

/* line 427, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li.is-current {
  color: var(--hrm-ink);
  font-weight: 600;
}

/* line 427, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li.is-current .hrm-chain-dot {
  border-color: var(--hrm-accent);
  box-shadow: 0 0 0 4px var(--hrm-accent-soft);
}

/* line 428, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain li.is-rejected .hrm-chain-dot {
  background: var(--hrm-red);
  border-color: var(--hrm-red);
  color: #fff;
}

/* line 431, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--hrm-line-strong);
  background: var(--hrm-surface);
}

/* line 432, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain-label {
  display: flex;
  flex-direction: column;
}

/* line 432, app/assets/stylesheets/_hrm_hub.scss */
.hrm-chain-label small {
  font-weight: 400;
  color: var(--hrm-muted);
  font-size: 11px;
}

/* line 433, app/assets/stylesheets/_hrm_hub.scss */
.hrm-comment-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* line 433, app/assets/stylesheets/_hrm_hub.scss */
.hrm-comment-form input {
  flex: 1;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 7px;
  outline: none;
}

/* line 433, app/assets/stylesheets/_hrm_hub.scss */
.hrm-comment-form input:focus {
  border-color: var(--hrm-accent);
}

/* ---------- Profile ---------- */
/* line 437, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--hrm-line);
  background: linear-gradient(180deg, rgba(18, 165, 148, 0.07), transparent 70%), var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
}

/* line 438, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-id {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

/* line 438, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-id > div {
  min-width: 0;
}

/* line 438, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-id p {
  color: var(--hrm-ink-2);
  margin-top: 2px;
}

/* line 439, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* line 439, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-name h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 440, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--hrm-ink-2);
}

/* line 440, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-meta a, .hrm-profile-meta span, .hrm-profile-meta button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

/* line 440, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-meta .crm-icon {
  color: var(--hrm-muted);
}

/* line 441, app/assets/stylesheets/_hrm_hub.scss */
.hrm-profile-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 442, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 443, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-track {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(232, 133, 12, 0.35), rgba(18, 165, 148, 0.45) 50%, rgba(142, 78, 198, 0.4));
}

/* line 444, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-track > span {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 18px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--hrm-ink);
  box-shadow: 0 0 0 2px #fff;
}

/* line 445, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-track.is-row {
  flex: 1;
  height: 8px;
}

/* line 445, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-track.is-row i {
  position: absolute;
  top: -3px;
  width: 12px;
  height: 14px;
  margin-left: -6px;
  border-radius: 4px;
  background: var(--hrm-ink);
  opacity: 0.75;
  border: 2px solid #fff;
  cursor: pointer;
}

/* line 445, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-track.is-row i:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* line 447, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--hrm-muted);
}

/* line 447, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-labels strong {
  color: var(--hrm-ink);
}

/* line 448, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0;
}

/* line 449, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

/* line 449, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-row span {
  font-weight: 600;
}

/* line 449, app/assets/stylesheets/_hrm_hub.scss */
.hrm-band-row em {
  font-style: normal;
  color: var(--hrm-muted);
  text-align: right;
}

/* ---------- Org chart ---------- */
/* line 453, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 454, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hint-inline:empty {
  display: none;
}

/* line 455, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-canvas {
  overflow: auto;
  padding: 24px 12px 40px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background-color: #fbfbfa;
  background-image: radial-gradient(rgba(55, 53, 47, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  min-height: 420px;
}

/* line 456, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org {
  display: inline-block;
  min-width: 100%;
  transform-origin: top center;
  text-align: center;
}

/* line 457, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org ul {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  position: relative;
}

/* line 458, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org > ul {
  padding-top: 0;
}

/* line 459, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li {
  position: relative;
  padding: 22px 6px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* line 460, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li::before, .hrm-org li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 22px;
  border-top: 1.5px solid var(--hrm-line-strong);
}

/* line 461, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li::after {
  right: auto;
  left: 50%;
  border-left: 1.5px solid var(--hrm-line-strong);
}

/* line 462, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li:only-child::before, .hrm-org li:only-child::after {
  display: none;
}

/* line 463, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li:only-child {
  padding-top: 22px;
}

/* line 464, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li:first-child::before, .hrm-org li:last-child::after {
  border: 0 none;
}

/* line 465, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li:last-child::before {
  border-right: 1.5px solid var(--hrm-line-strong);
  border-radius: 0 6px 0 0;
}

/* line 466, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li:first-child::after {
  border-radius: 6px 0 0 0;
}

/* line 468, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org > ul > li {
  padding-top: 0;
}

/* line 468, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org > ul > li::before, .hrm-org > ul > li::after {
  display: none;
}

/* line 469, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 22px;
  border-left: 1.5px solid var(--hrm-line-strong);
}

/* line 470, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org li:only-child::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  width: 0;
  height: 22px;
  border: 0;
  border-left: 1.5px solid var(--hrm-line-strong);
}

/* line 471, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org > ul > li:only-child::before {
  display: none;
}

/* line 473, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  transition: box-shadow 0.12s;
}

/* line 474, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-node.is-drop .hrm-org-card {
  border-color: var(--hrm-accent);
  box-shadow: 0 0 0 4px var(--hrm-accent-soft);
}

/* line 475, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-node.is-dragging {
  opacity: 0.4;
}

/* line 477, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 210px;
  padding: 10px 12px;
  border: 1px solid var(--hrm-line);
  border-top: 3px solid var(--dept);
  border-radius: 10px;
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
  text-align: left;
  cursor: pointer;
}

/* line 478, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-card span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

/* line 479, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-card strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 480, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-card small {
  font-size: 11.5px;
  color: var(--hrm-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 481, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-card em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-style: normal;
  font-size: 11px;
  color: var(--hrm-muted);
  white-space: nowrap;
  overflow: hidden;
}

/* line 482, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-card:hover {
  border-color: var(--hrm-line-strong);
  box-shadow: 0 6px 18px rgba(15, 15, 15, 0.08);
}

/* line 484, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-toggle {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 20px;
  padding: 0 7px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 99px;
  background: var(--hrm-surface);
  font-size: 11px;
  font-weight: 600;
  color: var(--hrm-ink-2);
  cursor: pointer;
}

/* line 484, app/assets/stylesheets/_hrm_hub.scss */
.hrm-org-toggle:hover {
  border-color: var(--hrm-accent);
  color: var(--hrm-accent);
}

/* ---------- Contracts radar & vault ---------- */
/* line 488, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

/* line 489, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 9px;
  background: var(--hrm-sunken);
}

/* line 489, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar-col strong {
  font-size: 22px;
  line-height: 1.1;
}

/* line 490, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar-label {
  font-size: 12px;
  color: var(--hrm-muted);
  font-weight: 600;
}

/* line 491, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: var(--hrm-surface);
  font-size: 12px;
  cursor: pointer;
  text-align: left;
}

/* line 491, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar-item span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 491, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar-item em {
  font-style: normal;
  font-weight: 700;
  color: var(--hrm-orange);
}

/* line 491, app/assets/stylesheets/_hrm_hub.scss */
.hrm-radar-item:hover {
  box-shadow: var(--hrm-shadow);
}

/* line 492, app/assets/stylesheets/_hrm_hub.scss */
.hrm-vault {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

/* line 493, app/assets/stylesheets/_hrm_hub.scss */
.hrm-vault-tree {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  position: sticky;
  top: 0;
}

/* line 494, app/assets/stylesheets/_hrm_hub.scss */
.hrm-folder {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 13px;
  color: var(--hrm-ink-2);
  cursor: pointer;
  text-align: left;
}

/* line 495, app/assets/stylesheets/_hrm_hub.scss */
.hrm-folder span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 495, app/assets/stylesheets/_hrm_hub.scss */
.hrm-folder em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 496, app/assets/stylesheets/_hrm_hub.scss */
.hrm-folder .crm-icon {
  color: #c69026;
}

/* line 496, app/assets/stylesheets/_hrm_hub.scss */
.hrm-folder:hover {
  background: var(--hrm-hover);
}

/* line 496, app/assets/stylesheets/_hrm_hub.scss */
.hrm-folder.is-active {
  background: var(--hrm-accent-soft);
  color: var(--hrm-accent-ink);
  font-weight: 600;
}

/* line 497, app/assets/stylesheets/_hrm_hub.scss */
.hrm-folder.is-sub {
  padding-left: 26px;
}

/* line 499, app/assets/stylesheets/_hrm_hub.scss */
.hrm-vault-note {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 6px;
  background: var(--hrm-sunken);
  color: var(--hrm-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

/* line 499, app/assets/stylesheets/_hrm_hub.scss */
.hrm-vault-note .crm-icon {
  flex: none;
  margin-top: 1px;
}

/* line 500, app/assets/stylesheets/_hrm_hub.scss */
.hrm-vault-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  border-radius: var(--hrm-radius);
}

/* line 500, app/assets/stylesheets/_hrm_hub.scss */
.hrm-vault-main.is-drop {
  outline: 2px dashed var(--hrm-accent);
  outline-offset: 4px;
}

/* line 501, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* line 501, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file .crm-icon {
  color: var(--hrm-red);
}

/* line 502, app/assets/stylesheets/_hrm_hub.scss */
.hrm-preview-img {
  max-width: 100%;
  border-radius: 8px;
}

/* line 503, app/assets/stylesheets/_hrm_hub.scss */
.hrm-preview-frame {
  width: 100%;
  height: 60vh;
  border: 1px solid var(--hrm-line);
  border-radius: 8px;
}

/* line 504, app/assets/stylesheets/_hrm_hub.scss */
.hrm-preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--hrm-muted);
}

/* line 504, app/assets/stylesheets/_hrm_hub.scss */
.hrm-preview-empty .hrm-dl {
  width: 100%;
  text-align: left;
}

/* ---------- Lifecycle plans ---------- */
/* line 508, app/assets/stylesheets/_hrm_hub.scss */
.hrm-plan-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 509, app/assets/stylesheets/_hrm_hub.scss */
.hrm-plan {
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
  overflow: hidden;
}

/* line 510, app/assets/stylesheets/_hrm_hub.scss */
.hrm-plan-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hrm-line);
  background: #fcfcfb;
}

/* line 511, app/assets/stylesheets/_hrm_hub.scss */
.hrm-plan-when {
  font-size: 12.5px;
  color: var(--hrm-ink-2);
}

/* line 512, app/assets/stylesheets/_hrm_hub.scss */
.hrm-plan-progress {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 512, app/assets/stylesheets/_hrm_hub.scss */
.hrm-plan-progress .hrm-progress-label {
  margin: 0;
  white-space: nowrap;
}

/* line 513, app/assets/stylesheets/_hrm_hub.scss */
.hrm-plan-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 514, app/assets/stylesheets/_hrm_hub.scss */
.hrm-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* line 514, app/assets/stylesheets/_hrm_hub.scss */
.hrm-phases.is-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* line 515, app/assets/stylesheets/_hrm_hub.scss */
.hrm-phase {
  padding: 10px 12px 12px;
  border-right: 1px solid var(--hrm-line);
}

/* line 515, app/assets/stylesheets/_hrm_hub.scss */
.hrm-phase:last-child {
  border-right: 0;
}

/* line 515, app/assets/stylesheets/_hrm_hub.scss */
.hrm-phase h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hrm-muted);
  margin-bottom: 6px;
}

/* line 516, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task {
  display: flex;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12.5px;
}

/* line 517, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task input {
  margin-top: 2px;
  accent-color: var(--hrm-accent);
}

/* line 518, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

/* line 518, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task small {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 518, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task small em {
  font-style: normal;
}

/* line 519, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task .hrm-chip {
  height: 18px;
  font-size: 11px;
  padding: 0 6px;
}

/* line 520, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task:hover {
  background: var(--hrm-hover);
}

/* line 521, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task.is-done strong {
  text-decoration: line-through;
  color: var(--hrm-muted);
  font-weight: 500;
}

/* line 522, app/assets/stylesheets/_hrm_hub.scss */
.hrm-task.is-late {
  background: rgba(229, 72, 77, 0.04);
}

/* line 524, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 524, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

/* line 524, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check-list li span {
  flex: 1;
}

/* line 524, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check-list li em {
  font-style: normal;
  color: var(--hrm-muted);
  font-size: 12px;
}

/* ---------- Attendance timesheet / leave calendar / shifts ---------- */
/* line 528, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 529, app/assets/stylesheets/_hrm_hub.scss */
.hrm-date-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 7px;
  background: #fff;
}

/* line 529, app/assets/stylesheets/_hrm_hub.scss */
.hrm-date-pick input {
  border: 0;
  outline: none;
  background: none;
  font-size: 12.5px;
}

/* line 530, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-wrap {
  overflow: auto;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
}

/* line 531, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

/* line 532, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts th {
  height: 40px;
  padding: 0 4px;
  background: #fafaf9;
  border-bottom: 1px solid var(--hrm-line);
  color: var(--hrm-muted);
  font-weight: 600;
  text-align: center;
  min-width: 30px;
}

/* line 532, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts th small {
  display: block;
  font-size: 10px;
  font-weight: 500;
}

/* line 532, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts th.is-weekend {
  background: #f3f3f1;
}

/* line 532, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts th.is-today {
  color: var(--hrm-accent);
}

/* line 533, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts td {
  height: 40px;
  border-bottom: 1px solid var(--hrm-line);
  padding: 0 8px;
  white-space: nowrap;
}

/* line 534, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts .hrm-ts-name {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 220px;
  padding: 0 12px;
  text-align: left;
  background: var(--hrm-surface);
  border-right: 1px solid var(--hrm-line);
}

/* line 535, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts thead .hrm-ts-name {
  background: #fafaf9;
}

/* line 537, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell {
  text-align: center;
  font-weight: 700;
  padding: 0 !important;
  min-width: 30px;
}

/* line 538, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell.is-present {
  color: var(--hrm-green);
}

/* line 538, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell.is-late {
  color: var(--hrm-orange);
  background: rgba(232, 133, 12, 0.07);
}

/* line 538, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell.is-absent {
  color: var(--hrm-red);
  background: rgba(229, 72, 77, 0.07);
}

/* line 539, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell.is-leave {
  color: #0e8578;
  background: rgba(18, 165, 148, 0.09);
}

/* line 539, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell.is-remote {
  color: var(--hrm-blue);
}

/* line 539, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell.is-holiday {
  color: var(--hrm-purple);
  background: rgba(142, 78, 198, 0.07);
}

/* line 539, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ts-cell.is-weekend {
  background: #f6f6f4;
}

/* line 541, app/assets/stylesheets/_hrm_hub.scss */
.hrm-legend-inline .hrm-ts-cell {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* line 542, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal {
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  overflow: hidden;
  box-shadow: var(--hrm-shadow);
}

/* line 543, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #fafaf9;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 543, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-head span {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hrm-muted);
}

/* line 544, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* line 545, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-cell {
  min-height: 112px;
  padding: 6px;
  border-right: 1px solid var(--hrm-line);
  border-bottom: 1px solid var(--hrm-line);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

/* line 546, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-cell:nth-child(7n) {
  border-right: 0;
}

/* line 546, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-cell.is-out {
  background: #fbfbfa;
}

/* line 546, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-cell.is-out .hrm-cal-day span {
  color: #b8bcc2;
}

/* line 546, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-cell.is-weekend {
  background: #fafaf8;
}

/* line 547, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-cell.is-today .hrm-cal-day span {
  background: var(--hrm-accent);
  color: #fff;
}

/* line 547, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-cell.is-thin {
  background: rgba(229, 72, 77, 0.04);
}

/* line 549, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 549, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-day span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

/* line 549, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-day em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--hrm-muted);
}

/* line 550, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-hol {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  color: var(--hrm-purple);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 551, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-chip {
  display: block;
  width: 100%;
  height: 20px;
  padding: 0 6px;
  border: 0;
  border-left: 3px solid var(--chip);
  border-radius: 4px;
  background: color-mix(in srgb, var(--chip) 13%, #fff);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* line 552, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-chip.is-pending {
  background: repeating-linear-gradient(135deg, #fff, #fff 4px, #f1f1ef 4px, #f1f1ef 8px);
  border-left-style: dashed;
}

/* line 553, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-chip.is-legend {
  display: inline-block;
  width: auto;
  --chip: #7c828b;
}

/* line 555, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-more {
  font-size: 11px;
  color: var(--hrm-muted);
  padding-left: 4px;
}

/* line 556, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cal-warn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--hrm-red);
}

/* line 557, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bal-cell strong {
  font-size: 14px;
}

/* line 557, app/assets/stylesheets/_hrm_hub.scss */
.hrm-bal-cell small {
  color: var(--hrm-muted);
}

/* line 558, app/assets/stylesheets/_hrm_hub.scss */
.hrm-leave-calc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding: 10px;
  border-radius: 9px;
  background: var(--hrm-sunken);
}

/* line 559, app/assets/stylesheets/_hrm_hub.scss */
.hrm-leave-calc div {
  display: flex;
  flex-direction: column;
}

/* line 559, app/assets/stylesheets/_hrm_hub.scss */
.hrm-leave-calc span {
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 559, app/assets/stylesheets/_hrm_hub.scss */
.hrm-leave-calc strong {
  font-size: 18px;
}

/* line 559, app/assets/stylesheets/_hrm_hub.scss */
.hrm-leave-calc small {
  grid-column: 1 / -1;
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 561, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 12px;
}

/* line 562, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh th {
  height: 40px;
  padding: 0 6px;
  background: #fafaf9;
  border-bottom: 1px solid var(--hrm-line);
  color: var(--hrm-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* line 562, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh th strong {
  color: var(--hrm-ink);
}

/* line 562, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh th.is-weekend {
  background: #f3f3f1;
}

/* line 562, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh th.is-today {
  color: var(--hrm-accent);
}

/* line 563, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh td {
  height: 54px;
  padding: 4px;
  border-bottom: 1px solid var(--hrm-line);
  border-right: 1px solid var(--hrm-line);
  vertical-align: middle;
  min-width: 104px;
}

/* line 564, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh .hrm-sh-name {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 210px;
  padding: 0 12px;
  text-align: left;
  background: var(--hrm-surface);
  border-right: 1px solid var(--hrm-line);
}

/* line 565, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh thead .hrm-sh-name, .hrm-sh tfoot .hrm-sh-name {
  background: #fafaf9;
}

/* line 566, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh tfoot td {
  height: 40px;
  background: #fafaf9;
}

/* line 566, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh tfoot td em {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-style: normal;
  font-size: 10.5px;
  color: var(--hrm-red);
  font-weight: 700;
}

/* line 566, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh tfoot td.is-under {
  background: rgba(229, 72, 77, 0.05);
}

/* line 568, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-cell.is-weekend {
  background: #fbfbfa;
}

/* line 568, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-cell.is-today {
  background: rgba(15, 123, 108, 0.04);
}

/* line 568, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-cell.is-drop {
  background: var(--hrm-accent-soft);
  outline: 2px dashed var(--hrm-accent);
  outline-offset: -3px;
}

/* line 569, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 4px 7px;
  border: 0;
  border-left: 3px solid var(--chip);
  border-radius: 6px;
  background: color-mix(in srgb, var(--chip) 12%, #fff);
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
  position: relative;
}

/* line 570, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-chip strong {
  font-size: 12px;
}

/* line 570, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-chip small {
  font-size: 10.5px;
  color: var(--hrm-ink-2);
}

/* line 571, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-chip > .crm-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  color: var(--hrm-red);
}

/* line 572, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-chip.is-warn {
  box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.5);
}

/* line 573, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-chip.is-palette {
  display: inline-flex;
  flex-direction: row;
  width: auto;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  cursor: grab;
}

/* line 574, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-chip:hover {
  filter: brightness(0.97);
}

/* line 576, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-add {
  display: grid;
  place-items: center;
  width: 100%;
  height: 40px;
  border: 1px dashed transparent;
  border-radius: 6px;
  background: none;
  color: transparent;
  cursor: pointer;
}

/* line 576, app/assets/stylesheets/_hrm_hub.scss */
td:hover > .hrm-sh-add {
  border-color: var(--hrm-line-strong);
  color: var(--hrm-muted);
}

/* line 577, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-leave {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #0e8578;
  font-weight: 600;
}

/* line 578, app/assets/stylesheets/_hrm_hub.scss */
.hrm-sh-palette {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}

/* line 579, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cov {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-right: 3px;
  border-radius: 4px;
  background: var(--chip);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------- Payroll ---------- */
/* line 583, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pay-run {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 584, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pay-run-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 584, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pay-run-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 17px;
}

/* line 584, app/assets/stylesheets/_hrm_hub.scss */
.hrm-pay-run-head h3 .hrm-muted {
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 585, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
}

/* line 586, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 587, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--hrm-line-strong);
}

/* line 588, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--hrm-line-strong);
  background: var(--hrm-surface);
  font-weight: 700;
  font-size: 12px;
}

/* line 589, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li em {
  font-style: normal;
}

/* line 590, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li.is-done {
  color: var(--hrm-ink);
}

/* line 590, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li.is-done::before {
  background: var(--hrm-accent-2);
}

/* line 590, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li.is-done span {
  background: var(--hrm-accent-2);
  border-color: var(--hrm-accent-2);
  color: #fff;
}

/* line 591, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li.is-current {
  color: var(--hrm-ink);
  font-weight: 700;
}

/* line 591, app/assets/stylesheets/_hrm_hub.scss */
.hrm-steps li.is-current span {
  border-color: var(--hrm-accent);
  color: var(--hrm-accent);
  box-shadow: 0 0 0 4px var(--hrm-accent-soft);
}

/* line 594, app/assets/stylesheets/_hrm_hub.scss */
.hrm-issues {
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(232, 133, 12, 0.07);
  border: 1px solid rgba(232, 133, 12, 0.25);
  font-size: 12.5px;
  color: #8a5a10;
}

/* line 595, app/assets/stylesheets/_hrm_hub.scss */
.hrm-issues strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 595, app/assets/stylesheets/_hrm_hub.scss */
.hrm-issues ul {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 16px;
}

/* line 595, app/assets/stylesheets/_hrm_hub.scss */
.hrm-issues li::before {
  content: "• ";
}

/* line 597, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip {
  border: 1px solid var(--hrm-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

/* line 598, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip header {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f7b6c, #12a594);
  color: #fff;
}

/* line 598, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip header div {
  display: flex;
  flex-direction: column;
}

/* line 598, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip header small {
  opacity: 0.85;
  font-size: 12px;
}

/* line 598, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip header .is-right {
  text-align: right;
}

/* line 599, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--hrm-sunken);
}

/* line 599, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip footer span {
  font-weight: 600;
}

/* line 599, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip footer strong {
  font-size: 22px;
  color: var(--hrm-accent-ink);
}

/* line 600, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

/* line 600, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip table th {
  text-align: left;
  padding: 8px 0;
  color: var(--hrm-muted);
  font-size: 12px;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 600, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip table td {
  padding: 6px 0;
  border-bottom: 1px dashed var(--hrm-line);
}

/* line 600, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip table .is-right {
  text-align: right;
}

/* line 600, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip table .is-total td {
  font-weight: 700;
  border-bottom: 0;
  padding-top: 10px;
}

/* line 602, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip-who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 602, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip-who span {
  display: block;
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 602, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip-who strong {
  font-size: 13px;
}

/* line 603, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 4px 16px 14px;
}

/* line 604, app/assets/stylesheets/_hrm_hub.scss */
.hrm-payslip-note {
  padding: 8px 16px 12px;
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* ---------- Benefits, courses, okrs, succession ---------- */
/* line 608, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefits, .hrm-courses {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

/* line 609, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
  border-top: 3px solid var(--chip, var(--hrm-accent));
}

/* line 610, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 610, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit header div {
  display: flex;
  flex-direction: column;
}

/* line 610, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit header small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 611, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit footer {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 611, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit .hrm-dl div {
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 5px 0;
}

/* line 612, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit.is-new {
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1.5px dashed var(--hrm-line-strong);
  box-shadow: none;
  color: var(--hrm-muted);
  cursor: pointer;
  font-weight: 600;
}

/* line 612, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit.is-new:hover {
  color: var(--hrm-accent);
  border-color: var(--hrm-accent);
}

/* line 614, app/assets/stylesheets/_hrm_hub.scss */
.hrm-benefit-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--chip) 14%, #fff);
  color: var(--chip);
}

/* line 615, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
  overflow: hidden;
}

/* line 616, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course footer {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 14px 14px;
}

/* line 617, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course.is-new {
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 200px;
  border: 1.5px dashed var(--hrm-line-strong);
  box-shadow: none;
  color: var(--hrm-muted);
  background: none;
  cursor: pointer;
  font-weight: 600;
}

/* line 617, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course.is-new:hover {
  color: var(--hrm-accent);
  border-color: var(--hrm-accent);
}

/* line 619, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--chip), color-mix(in srgb, var(--chip) 60%, #000));
}

/* line 620, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course-band span {
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
}

/* line 620, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course-band .is-draft {
  background: rgba(0, 0, 0, 0.25);
}

/* line 622, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  flex: 1;
}

/* line 622, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course-body strong {
  font-size: 14px;
}

/* line 622, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course-body small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 622, app/assets/stylesheets/_hrm_hub.scss */
.hrm-course-body .hrm-progress {
  flex: none;
}

/* line 623, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okrs {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* line 624, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
}

/* line 625, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr header {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 625, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr h4 {
  font-size: 14.5px;
  line-height: 1.3;
}

/* line 626, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

/* line 626, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  font-size: 12.5px;
}

/* line 626, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr li > span {
  grid-column: 1 / -1;
}

/* line 626, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr li .hrm-progress {
  align-self: center;
}

/* line 626, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr li .hrm-progress-label {
  margin: 0;
  grid-column: 1;
}

/* line 626, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr li .hrm-link {
  grid-column: 2;
  grid-row: 2 / span 2;
  font-size: 12px;
}

/* line 627, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr.is-new {
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--hrm-line-strong);
  box-shadow: none;
  color: var(--hrm-muted);
  background: none;
  cursor: pointer;
  font-weight: 600;
  min-height: 160px;
}

/* line 627, app/assets/stylesheets/_hrm_hub.scss */
.hrm-okr.is-new:hover {
  color: var(--hrm-accent);
  border-color: var(--hrm-accent);
}

/* line 629, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(220px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
}

/* line 629, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle h3 {
  font-size: 17px;
}

/* line 630, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle-steps {
  display: flex;
  gap: 8px;
}

/* line 630, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle-steps div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 76px;
  padding: 8px;
  border-radius: 8px;
  background: var(--hrm-sunken);
}

/* line 630, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle-steps strong {
  font-size: 18px;
}

/* line 630, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle-steps small {
  font-size: 11px;
  color: var(--hrm-muted);
  white-space: nowrap;
}

/* line 631, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle-prog {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 631, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle-prog .hrm-progress {
  flex: 1;
}

/* line 631, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cycle-prog .hrm-progress-label {
  margin: 0;
  white-space: nowrap;
}

/* line 632, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scale {
  display: inline-flex;
  gap: 4px;
}

/* line 632, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scale label {
  cursor: pointer;
}

/* line 632, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* line 633, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scale span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 7px;
  font-weight: 600;
  font-size: 13px;
  background: #fff;
}

/* line 634, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scale input:checked + span {
  background: var(--hrm-accent);
  border-color: var(--hrm-accent);
  color: #fff;
}

/* line 634, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scale input:disabled + span {
  opacity: 0.6;
  cursor: default;
}

/* line 634, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scale label:hover span {
  border-color: var(--hrm-accent);
}

/* line 636, app/assets/stylesheets/_hrm_hub.scss */
.hrm-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

/* line 636, app/assets/stylesheets/_hrm_hub.scss */
.hrm-comp-grid div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

/* line 637, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ninebox {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0 0 22px 22px;
}

/* line 638, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-y {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
  font-size: 11px;
  color: var(--hrm-muted);
  font-weight: 600;
}

/* line 639, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-x {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--hrm-muted);
  font-weight: 600;
}

/* line 640, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell {
  position: relative;
  min-height: 104px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--hrm-sunken);
}

/* line 641, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell strong {
  font-size: 12px;
}

/* line 641, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell em {
  position: absolute;
  top: 6px;
  right: 10px;
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: rgba(31, 35, 40, 0.25);
}

/* line 642, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell div {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 8px;
}

/* line 642, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell div button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* line 642, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell div small {
  font-size: 11px;
  color: var(--hrm-muted);
  align-self: center;
}

/* line 643, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell.is-high-high {
  background: rgba(31, 157, 85, 0.14);
}

/* line 643, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell.is-high-medium, .hrm-nb-cell.is-medium-high {
  background: rgba(31, 157, 85, 0.08);
}

/* line 644, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell.is-low-low {
  background: rgba(229, 72, 77, 0.1);
}

/* line 644, app/assets/stylesheets/_hrm_hub.scss */
.hrm-nb-cell.is-high-low, .hrm-nb-cell.is-low-high {
  background: rgba(10, 132, 255, 0.07);
}

/* line 646, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ladder {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}

/* line 647, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rung {
  flex: 1;
  min-width: 132px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  border-radius: 9px;
  border: 1px solid var(--hrm-line);
  background: linear-gradient(180deg, rgba(18, 165, 148, 0.06), transparent);
}

/* line 648, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rung strong {
  font-size: 13px;
}

/* line 648, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rung small {
  font-size: 11.5px;
  color: var(--hrm-ink-2);
}

/* line 648, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rung em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--hrm-accent);
  font-weight: 600;
}

/* line 648, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rung p {
  font-size: 11.5px;
  color: var(--hrm-muted);
  line-height: 1.35;
}

/* line 650, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rung-step {
  align-self: flex-start;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--hrm-ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

/* line 651, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rung-arrow {
  display: grid;
  place-items: center;
  color: var(--hrm-muted);
}

/* line 652, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

/* line 653, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
}

/* line 654, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* line 655, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 655, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

/* line 655, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ-card li > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 655, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ-card li small {
  color: var(--hrm-muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 655, app/assets/stylesheets/_hrm_hub.scss */
.hrm-succ-card li select {
  height: 28px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
}

/* ---------- Kanban ---------- */
/* line 660, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kanban {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 240px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

/* line 660, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kanban.is-tasks {
  grid-auto-columns: minmax(220px, 1fr);
}

/* line 661, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcol {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border-radius: var(--hrm-radius);
  background: var(--hrm-sunken);
  border: 1px solid transparent;
}

/* line 662, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcol header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 6px;
  font-size: 12.5px;
  font-weight: 600;
}

/* line 662, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcol header span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* line 662, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcol header em {
  font-style: normal;
  color: var(--hrm-muted);
}

/* line 663, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcol.is-drop {
  border-color: var(--hrm-accent);
  background: var(--hrm-accent-soft);
}

/* line 665, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcol-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 8px 10px;
  flex: 1;
}

/* line 666, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcol-empty {
  padding: 18px 8px;
  text-align: center;
  color: #b4b8be;
  font-size: 12px;
  border: 1.5px dashed rgba(55, 53, 47, 0.12);
  border-radius: 8px;
}

/* line 667, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--hrm-line);
  border-radius: 9px;
  background: var(--hrm-surface);
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.05);
  text-align: left;
  cursor: pointer;
}

/* line 668, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard:hover {
  border-color: var(--hrm-line-strong);
  box-shadow: 0 4px 12px rgba(15, 15, 15, 0.08);
}

/* line 668, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard.is-dragging {
  opacity: 0.4;
}

/* line 670, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 670, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard-top span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

/* line 670, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard-top strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 670, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard-top small {
  font-size: 11.5px;
  color: var(--hrm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 671, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/* line 672, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

/* line 673, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 674, app/assets/stylesheets/_hrm_hub.scss */
.hrm-fit {
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
}

/* line 674, app/assets/stylesheets/_hrm_hub.scss */
.hrm-fit.is-high {
  background: rgba(31, 157, 85, 0.12);
  color: #18804a;
}

/* line 674, app/assets/stylesheets/_hrm_hub.scss */
.hrm-fit.is-mid {
  background: rgba(232, 133, 12, 0.13);
  color: #b0640a;
}

/* line 674, app/assets/stylesheets/_hrm_hub.scss */
.hrm-fit.is-low {
  background: var(--hrm-sunken);
  color: var(--hrm-muted);
}

/* line 675, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-box {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(142, 78, 198, 0.22);
  background: linear-gradient(135deg, rgba(142, 78, 198, 0.06), rgba(15, 123, 108, 0.05));
}

/* line 676, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-box header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: #6b3fa0;
  margin-bottom: 10px;
}

/* line 676, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-box header .hrm-muted {
  font-weight: 500;
}

/* line 677, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-box ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--hrm-ink-2);
}

/* line 677, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-box ul li {
  margin: 3px 0;
}

/* line 677, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-box small {
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 679, app/assets/stylesheets/_hrm_hub.scss */
.hrm-fit-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* line 679, app/assets/stylesheets/_hrm_hub.scss */
.hrm-fit-row p {
  font-size: 12.5px;
  margin-bottom: 6px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

/* line 680, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-suggest {
  font-size: 12.5px;
  margin-top: 10px;
}

/* line 681, app/assets/stylesheets/_hrm_hub.scss */
.hrm-iv {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--hrm-line);
  font-size: 13px;
}

/* line 681, app/assets/stylesheets/_hrm_hub.scss */
.hrm-iv > div {
  flex: 1;
}

/* line 681, app/assets/stylesheets/_hrm_hub.scss */
.hrm-iv p {
  color: var(--hrm-ink-2);
  margin-top: 2px;
}

/* ---------- Engagement ---------- */
/* line 685, app/assets/stylesheets/_hrm_hub.scss */
.hrm-feed-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

/* line 686, app/assets/stylesheets/_hrm_hub.scss */
.hrm-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

/* line 687, app/assets/stylesheets/_hrm_hub.scss */
.hrm-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  color: var(--hrm-muted);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--hrm-shadow);
}

/* line 687, app/assets/stylesheets/_hrm_hub.scss */
.hrm-composer:hover {
  border-color: var(--hrm-line-strong);
}

/* line 688, app/assets/stylesheets/_hrm_hub.scss */
.hrm-post {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow);
}

/* line 689, app/assets/stylesheets/_hrm_hub.scss */
.hrm-post header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 689, app/assets/stylesheets/_hrm_hub.scss */
.hrm-post header div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* line 689, app/assets/stylesheets/_hrm_hub.scss */
.hrm-post header small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 690, app/assets/stylesheets/_hrm_hub.scss */
.hrm-post h4 {
  font-size: 15px;
}

/* line 690, app/assets/stylesheets/_hrm_hub.scss */
.hrm-post p {
  color: var(--hrm-ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}

/* line 692, app/assets/stylesheets/_hrm_hub.scss */
.hrm-reacts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 693, app/assets/stylesheets/_hrm_hub.scss */
.hrm-react {
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--hrm-line);
  border-radius: 99px;
  background: var(--hrm-surface);
  font-size: 12.5px;
  cursor: pointer;
}

/* line 694, app/assets/stylesheets/_hrm_hub.scss */
.hrm-react.is-mine {
  border-color: var(--hrm-accent);
  background: var(--hrm-accent-soft);
}

/* line 694, app/assets/stylesheets/_hrm_hub.scss */
.hrm-react.is-add {
  opacity: 0.55;
}

/* line 694, app/assets/stylesheets/_hrm_hub.scss */
.hrm-react.is-add:hover {
  opacity: 1;
}

/* line 694, app/assets/stylesheets/_hrm_hub.scss */
.hrm-react:hover {
  border-color: var(--hrm-line-strong);
}

/* line 696, app/assets/stylesheets/_hrm_hub.scss */
.hrm-comment {
  display: flex;
  gap: 8px;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--hrm-sunken);
}

/* line 696, app/assets/stylesheets/_hrm_hub.scss */
.hrm-comment small {
  display: block;
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 697, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kudos {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--hrm-radius);
  border: 1px solid rgba(232, 133, 12, 0.2);
  background: linear-gradient(135deg, rgba(245, 165, 36, 0.08), #fff 55%);
  box-shadow: var(--hrm-shadow);
}

/* line 698, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kudos blockquote {
  font-size: 14px;
  color: var(--hrm-ink);
  padding-left: 10px;
  border-left: 3px solid #f5a524;
}

/* line 698, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kudos small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 700, app/assets/stylesheets/_hrm_hub.scss */
.hrm-kudos-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 6px;
  border-radius: 99px;
  background: #fff3dc;
  color: #a05f00;
  font-size: 12px;
  font-weight: 700;
}

/* line 701, app/assets/stylesheets/_hrm_hub.scss */
.hrm-board {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 701, app/assets/stylesheets/_hrm_hub.scss */
.hrm-board li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

/* line 701, app/assets/stylesheets/_hrm_hub.scss */
.hrm-board li span:not(.hrm-board-rank):not(.hrm-avatar) {
  flex: 1;
}

/* line 701, app/assets/stylesheets/_hrm_hub.scss */
.hrm-board li strong {
  color: var(--hrm-accent);
}

/* line 702, app/assets/stylesheets/_hrm_hub.scss */
.hrm-board-rank {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--hrm-sunken);
  font-size: 11.5px;
  font-weight: 700;
}

/* line 702, app/assets/stylesheets/_hrm_hub.scss */
li:first-child .hrm-board-rank {
  background: #f5a524;
  color: #fff;
}

/* line 703, app/assets/stylesheets/_hrm_hub.scss */
.hrm-survey-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

/* line 703, app/assets/stylesheets/_hrm_hub.scss */
.hrm-survey-top div {
  display: flex;
  flex-direction: column;
}

/* line 703, app/assets/stylesheets/_hrm_hub.scss */
.hrm-survey-top strong {
  font-size: 20px;
}

/* line 703, app/assets/stylesheets/_hrm_hub.scss */
.hrm-survey-top small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* ---------- Report builder, roles, settings ---------- */
/* line 707, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rb {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

/* line 708, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rb-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

/* line 709, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rb-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 710, app/assets/stylesheets/_hrm_hub.scss */
.hrm-rb-main .hrm-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 711, app/assets/stylesheets/_hrm_hub.scss */
.hrm-roles {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}

/* line 712, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

/* line 713, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 714, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 714, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role strong {
  font-size: 13px;
}

/* line 714, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role small {
  color: var(--hrm-muted);
  font-size: 11.5px;
  line-height: 1.3;
}

/* line 715, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role .crm-icon {
  margin-top: 2px;
  color: var(--hrm-muted);
}

/* line 715, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role:hover {
  background: var(--hrm-hover);
}

/* line 715, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role.is-active {
  background: var(--hrm-accent-soft);
}

/* line 715, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role.is-active .crm-icon {
  color: var(--hrm-accent);
}

/* line 717, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role-matrix .hrm-table-wrap {
  border: 0;
  box-shadow: none;
  border-radius: 0 0 var(--hrm-radius) var(--hrm-radius);
  margin-top: 12px;
}

/* line 718, app/assets/stylesheets/_hrm_hub.scss */
.hrm-perm input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--hrm-accent);
  cursor: pointer;
}

/* line 718, app/assets/stylesheets/_hrm_hub.scss */
.hrm-perm select {
  height: 28px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 12.5px;
}

/* line 718, app/assets/stylesheets/_hrm_hub.scss */
.hrm-perm td {
  height: 40px;
}

/* line 719, app/assets/stylesheets/_hrm_hub.scss */
.hrm-role-detail {
  padding: 6px 14px 14px;
}

/* line 720, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

/* line 721, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 0;
}

/* line 722, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: 13px;
  color: var(--hrm-ink-2);
  cursor: pointer;
  text-align: left;
}

/* line 723, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-nav button:hover {
  background: var(--hrm-hover);
}

/* line 723, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-nav button.is-active {
  background: var(--hrm-surface);
  color: var(--hrm-ink);
  font-weight: 600;
  box-shadow: var(--hrm-shadow);
}

/* line 723, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-nav button.is-active .crm-icon {
  color: var(--hrm-accent);
}

/* line 723, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-nav button .crm-icon {
  color: var(--hrm-muted);
}

/* line 726, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* line 727, app/assets/stylesheets/_hrm_hub.scss */
.hrm-settings-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--hrm-line);
}

/* line 728, app/assets/stylesheets/_hrm_hub.scss */
.hrm-edit-table input:not([type="checkbox"]) {
  width: 100%;
  max-width: 180px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 6px;
}

/* line 728, app/assets/stylesheets/_hrm_hub.scss */
.hrm-edit-table input[type="checkbox"] {
  accent-color: var(--hrm-accent);
  width: 16px;
  height: 16px;
}

/* line 729, app/assets/stylesheets/_hrm_hub.scss */
.hrm-inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* line 729, app/assets/stylesheets/_hrm_hub.scss */
.hrm-inline-form input {
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 7px;
}

/* line 730, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

/* line 731, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 9px;
  background: var(--hrm-sunken);
}

/* line 732, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* line 733, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-chain {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 733, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-chain .crm-icon {
  color: var(--hrm-muted);
}

/* line 734, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-chain select {
  height: 26px;
  border: 1px dashed var(--hrm-line-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: var(--hrm-muted);
}

/* line 736, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 4px 0 10px;
  border-radius: 6px;
  background: var(--hrm-surface);
  border: 1px solid var(--hrm-line);
  font-size: 12.5px;
  font-weight: 500;
}

/* line 737, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-step button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--hrm-muted);
  cursor: pointer;
}

/* line 737, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-step button:hover {
  background: var(--hrm-hover);
  color: var(--hrm-red);
}

/* line 737, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-step button:disabled {
  visibility: hidden;
}

/* line 738, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wf-step.is-start {
  padding-right: 10px;
  background: var(--hrm-ink);
  color: #fff;
  border-color: transparent;
}

/* line 740, app/assets/stylesheets/_hrm_hub.scss */
.hrm-integrations {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* line 741, app/assets/stylesheets/_hrm_hub.scss */
.hrm-integration {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hrm-line);
  border-radius: var(--hrm-radius);
  background: var(--hrm-surface);
}

/* line 741, app/assets/stylesheets/_hrm_hub.scss */
.hrm-integration > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 741, app/assets/stylesheets/_hrm_hub.scss */
.hrm-integration small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 742, app/assets/stylesheets/_hrm_hub.scss */
.hrm-int-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
}

/* line 743, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-list {
  display: flex;
  flex-direction: column;
  padding: 6px;
}

/* line 744, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 744, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-row .hrm-notif {
  flex: 1;
}

/* ---------- Forms ---------- */
/* line 748, app/assets/stylesheets/_hrm_hub.scss */
.hrm-form-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 14px 16px;
}

/* line 749, app/assets/stylesheets/_hrm_hub.scss */
.hrm-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

/* line 750, app/assets/stylesheets/_hrm_hub.scss */
.hrm-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hrm-ink-2);
}

/* line 751, app/assets/stylesheets/_hrm_hub.scss */
.hrm-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .hrm-field select, .hrm-field textarea {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 7px;
  background: #fff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}

/* line 752, app/assets/stylesheets/_hrm_hub.scss */
.hrm-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus, .hrm-field select:focus, .hrm-field textarea:focus {
  border-color: var(--hrm-accent);
  box-shadow: 0 0 0 3px var(--hrm-accent-soft);
}

/* line 752, app/assets/stylesheets/_hrm_hub.scss */
.hrm-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):disabled, .hrm-field select:disabled, .hrm-field textarea:disabled {
  background: var(--hrm-sunken);
  color: var(--hrm-muted);
}

/* line 754, app/assets/stylesheets/_hrm_hub.scss */
.hrm-field textarea {
  height: auto;
  padding: 8px 10px;
  resize: vertical;
  line-height: 1.45;
}

/* line 755, app/assets/stylesheets/_hrm_hub.scss */
.hrm-field.has-error input, .hrm-field.has-error select, .hrm-field.has-error textarea {
  border-color: var(--hrm-red);
}

/* line 757, app/assets/stylesheets/_hrm_hub.scss */
.hrm-req {
  color: var(--hrm-red);
  margin-left: 2px;
}

/* line 758, app/assets/stylesheets/_hrm_hub.scss */
.hrm-error {
  color: var(--hrm-red);
  font-size: 12px;
}

/* line 759, app/assets/stylesheets/_hrm_hub.scss */
.hrm-hint {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 760, app/assets/stylesheets/_hrm_hub.scss */
.hrm-readonly {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
  font-size: 13.5px;
}

/* line 761, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
}

/* line 762, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--hrm-accent);
  flex: none;
}

/* line 762, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check small {
  color: var(--hrm-muted);
  font-size: 12px;
  margin-left: auto;
}

/* line 763, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check.is-toggle input {
  appearance: none;
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 99px;
  background: #d5d6d2;
  transition: background 0.15s;
  cursor: pointer;
}

/* line 764, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check.is-toggle input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

/* line 765, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check.is-toggle input:checked {
  background: var(--hrm-accent);
}

/* line 765, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check.is-toggle input:checked::after {
  transform: translateX(14px);
}

/* line 769, app/assets/stylesheets/_hrm_hub.scss */
.hrm-check-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* line 770, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1.5px dashed var(--hrm-line-strong);
  border-radius: 8px;
  background: #fcfcfb;
  color: var(--hrm-muted);
  font-size: 13px;
  cursor: pointer;
}

/* line 771, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* line 772, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file:hover {
  border-color: var(--hrm-accent);
  color: var(--hrm-accent);
}

/* line 773, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file.is-large {
  padding: 22px;
  gap: 14px;
}

/* line 773, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file.is-large span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 773, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file.is-large strong {
  color: var(--hrm-ink);
}

/* line 773, app/assets/stylesheets/_hrm_hub.scss */
.hrm-file.is-large small {
  font-size: 12px;
}

/* line 775, app/assets/stylesheets/_hrm_hub.scss */
label.hrm-file .crm-icon {
  color: inherit;
}

/* line 776, app/assets/stylesheets/_hrm_hub.scss */
.hrm-autosave {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--hrm-muted);
}

/* line 776, app/assets/stylesheets/_hrm_hub.scss */
.hrm-autosave .crm-icon {
  color: var(--hrm-green);
}

/* line 777, app/assets/stylesheets/_hrm_hub.scss */
.hrm-import {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 778, app/assets/stylesheets/_hrm_hub.scss */
.hrm-import-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

/* line 779, app/assets/stylesheets/_hrm_hub.scss */
.hrm-error-list {
  color: var(--hrm-red);
  font-size: 12.5px;
  list-style: disc;
  padding-left: 18px;
}

/* line 780, app/assets/stylesheets/_hrm_hub.scss */
.hrm-enroll-tools {
  margin-bottom: 10px;
  font-size: 13px;
}

/* line 781, app/assets/stylesheets/_hrm_hub.scss */
.hrm-enroll-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 12px;
  max-height: 50vh;
  overflow: auto;
}

/* line 781, app/assets/stylesheets/_hrm_hub.scss */
.hrm-enroll-grid .hrm-check small {
  margin-left: 0;
}

/* line 781, app/assets/stylesheets/_hrm_hub.scss */
.hrm-enroll-grid .hrm-check span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 782, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* line 782, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-head p {
  color: var(--hrm-muted);
  font-size: 12.5px;
}

/* line 783, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

/* line 784, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps li {
  flex: 1;
}

/* line 784, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: var(--hrm-sunken);
  font-size: 12px;
  color: var(--hrm-muted);
  white-space: nowrap;
  cursor: default;
}

/* line 785, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps button span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  font-size: 10.5px;
  font-weight: 700;
  flex: none;
}

/* line 787, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps .is-done button {
  cursor: pointer;
  color: var(--hrm-accent-ink);
  background: var(--hrm-accent-soft);
}

/* line 787, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps .is-done button span {
  background: var(--hrm-accent);
  color: #fff;
}

/* line 788, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps .is-current button {
  background: var(--hrm-ink);
  color: #fff;
  font-weight: 600;
}

/* line 788, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-steps .is-current button span {
  color: var(--hrm-ink);
}

/* line 790, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--hrm-accent-soft);
}

/* line 790, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-summary div {
  display: flex;
  flex-direction: column;
}

/* line 790, app/assets/stylesheets/_hrm_hub.scss */
.hrm-wiz-summary small {
  color: var(--hrm-ink-2);
}

/* line 791, app/assets/stylesheets/_hrm_hub.scss */
.hrm-confirm-text {
  font-size: 13.5px;
  color: var(--hrm-ink-2);
  margin-bottom: 12px;
}

/* ---------- Layers: scrim, modal, drawer, popover, palette, toast ---------- */
/* line 795, app/assets/stylesheets/_hrm_hub.scss */
.hrm-layer {
  position: absolute;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

/* line 795, app/assets/stylesheets/_hrm_hub.scss */
.hrm-layer > * {
  pointer-events: auto;
}

/* line 796, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.32);
  animation: hrm-fade 0.12s ease;
}

/* line 796, app/assets/stylesheets/_hrm_hub.scss */
.hrm-scrim.is-light {
  background: rgba(15, 15, 15, 0.12);
}

@keyframes hrm-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hrm-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes hrm-slide {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* line 800, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  width: 600px;
  max-width: 94%;
  max-height: 90%;
  border-radius: 14px;
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow-lg);
  animation: hrm-pop 0.16s ease;
  overflow: hidden;
}

/* line 801, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal.is-sm {
  width: 440px;
}

/* line 801, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal.is-lg {
  width: 820px;
}

/* line 803, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

/* line 804, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal-head, .hrm-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 805, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal-head h2, .hrm-drawer-head h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 805, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal-head p, .hrm-drawer-head p {
  color: var(--hrm-muted);
  font-size: 12.5px;
  margin-top: 2px;
}

/* line 807, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal-body, .hrm-drawer-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px 18px;
}

/* line 808, app/assets/stylesheets/_hrm_hub.scss */
.hrm-modal-foot, .hrm-drawer-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-top: 1px solid var(--hrm-line);
  background: #fbfbfa;
}

/* line 809, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 520px;
  max-width: 100%;
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow-lg);
  animation: hrm-slide 0.16s ease;
}

/* line 809, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer.is-wide {
  width: 660px;
}

/* line 810, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 811, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer-section {
  padding-top: 14px;
}

/* line 812, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer-person {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* line 812, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer-person div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

/* line 812, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer-person h2 {
  font-size: 17px;
}

/* line 812, app/assets/stylesheets/_hrm_hub.scss */
.hrm-drawer-person p {
  color: var(--hrm-muted);
  font-size: 12.5px;
}

/* line 813, app/assets/stylesheets/_hrm_hub.scss */
.hrm-popover {
  position: absolute;
  z-index: 80;
  min-width: 220px;
  max-width: 360px;
  border: 1px solid var(--hrm-line);
  border-radius: 10px;
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow-lg);
  animation: hrm-fade 0.1s ease;
}

/* line 814, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu {
  display: flex;
  flex-direction: column;
  padding: 6px;
  max-height: 70vh;
  overflow: auto;
}

/* line 814, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu.is-wide {
  min-width: 300px;
}

/* line 814, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu.is-notif {
  width: 360px;
  padding: 0;
}

/* line 815, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-label {
  display: block;
  padding: 8px 8px 4px;
  color: var(--hrm-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* line 816, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 32px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

/* line 817, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 817, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item > span small {
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 818, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item .crm-icon {
  color: var(--hrm-muted);
}

/* line 818, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item:hover {
  background: var(--hrm-hover);
}

/* line 818, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item.is-active {
  color: var(--hrm-accent-ink);
  font-weight: 600;
}

/* line 818, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item.is-active .crm-icon {
  color: var(--hrm-accent);
}

/* line 819, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item.is-danger {
  color: var(--hrm-red);
}

/* line 819, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-item.is-danger .crm-icon {
  color: var(--hrm-red);
}

/* line 821, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* line 821, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-row .hrm-menu-item {
  flex: 1;
}

/* line 822, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* line 822, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-check input {
  accent-color: var(--hrm-accent);
}

/* line 822, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-check:hover {
  background: var(--hrm-hover);
}

/* line 823, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-sep {
  height: 1px;
  margin: 6px 4px;
  background: var(--hrm-line);
}

/* line 824, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 825, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-foot {
  padding: 10px;
  border: 0;
  border-top: 1px solid var(--hrm-line);
  background: #fbfbfa;
  color: var(--hrm-accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* line 825, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-foot:hover {
  background: var(--hrm-sunken);
}

/* line 826, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-form {
  display: flex;
  gap: 6px;
  padding: 4px;
}

/* line 826, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-form input {
  flex: 1;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 6px;
  outline: none;
}

/* line 827, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 827, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-profile div {
  display: flex;
  flex-direction: column;
}

/* line 827, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-profile small {
  color: var(--hrm-muted);
  font-size: 12px;
}

/* line 828, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 8px 8px;
  font-size: 11.5px;
  color: var(--hrm-muted);
}

/* line 828, app/assets/stylesheets/_hrm_hub.scss */
.hrm-menu-keys span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* line 829, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--hrm-line);
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 830, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif:hover {
  background: var(--hrm-hover);
}

/* line 830, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif.is-unread {
  background: rgba(15, 123, 108, 0.04);
}

/* line 830, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif.is-unread .hrm-notif-text strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--hrm-accent);
  vertical-align: middle;
}

/* line 832, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
}

/* line 833, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-icon.is-approval {
  background: rgba(232, 133, 12, 0.13);
  color: #b0640a;
}

/* line 833, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-icon.is-contract {
  background: rgba(10, 132, 255, 0.11);
  color: #0868cc;
}

/* line 833, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-icon.is-payroll {
  background: rgba(31, 157, 85, 0.12);
  color: #18804a;
}

/* line 833, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-icon.is-mention {
  background: rgba(142, 78, 198, 0.12);
  color: #7a3db0;
}

/* line 835, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

/* line 835, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-text strong {
  font-size: 13px;
}

/* line 835, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-text small {
  color: var(--hrm-ink-2);
  font-size: 12.5px;
}

/* line 835, app/assets/stylesheets/_hrm_hub.scss */
.hrm-notif-text em {
  font-style: normal;
  color: var(--hrm-muted);
  font-size: 11.5px;
  margin-top: 2px;
}

/* line 836, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  width: 640px;
  max-width: 94%;
  border-radius: 14px;
  background: var(--hrm-surface);
  box-shadow: var(--hrm-shadow-lg);
  overflow: hidden;
  animation: hrm-fade 0.12s ease;
}

/* line 837, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hrm-line);
  color: var(--hrm-muted);
}

/* line 837, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-input input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 16px;
  color: var(--hrm-ink);
  background: none;
}

/* line 838, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-list {
  max-height: 420px;
  overflow: auto;
  padding: 6px;
}

/* line 839, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* line 840, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-item > span:not(.hrm-avatar):not(.hrm-cmdk-icon) {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* line 840, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-item > span:not(.hrm-avatar):not(.hrm-cmdk-icon) strong {
  font-size: 13.5px;
}

/* line 840, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-item > span:not(.hrm-avatar):not(.hrm-cmdk-icon) small {
  color: var(--hrm-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 841, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-item em {
  font-style: normal;
  font-size: 11px;
  color: var(--hrm-muted);
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--hrm-sunken);
}

/* line 842, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-item:hover, .hrm-cmdk-item.is-active {
  background: var(--hrm-accent-soft);
}

/* line 844, app/assets/stylesheets/_hrm_hub.scss */
.hrm-cmdk-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--hrm-sunken);
  color: var(--hrm-ink-2);
  flex: none;
}

/* line 845, app/assets/stylesheets/_hrm_hub.scss */
.hrm-toast {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #1f2328;
  color: #fff;
  font-size: 13px;
  box-shadow: var(--hrm-shadow-lg);
  animation: hrm-fade 0.15s ease;
}

/* line 846, app/assets/stylesheets/_hrm_hub.scss */
.hrm-toast[hidden] {
  display: none;
}

/* line 846, app/assets/stylesheets/_hrm_hub.scss */
.hrm-toast .crm-icon {
  color: #7ee0cf;
}

/* line 846, app/assets/stylesheets/_hrm_hub.scss */
.hrm-toast.is-warn .crm-icon {
  color: #ffb44d;
}

/* line 846, app/assets/stylesheets/_hrm_hub.scss */
.hrm-toast.is-error .crm-icon {
  color: #ff8a8e;
}

/* line 847, app/assets/stylesheets/_hrm_hub.scss */
.hrm-toast button {
  border: 0;
  background: none;
  color: #7ee0cf;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0 0 6px;
}

/* ---------- AI assistant panel ---------- */
/* line 852, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai {
  display: flex;
  flex-direction: column;
  width: 380px;
  min-height: 0;
  border-left: 1px solid var(--hrm-line);
  background: var(--hrm-surface);
}

/* line 852, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai[hidden] {
  display: none;
}

/* line 853, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--hrm-line);
}

/* line 854, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-head div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 854, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-head strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b3fa0;
}

/* line 854, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-head small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hrm-muted);
  font-size: 11.5px;
}

/* line 856, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-log {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 857, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: auto 0;
  text-align: center;
  color: var(--hrm-muted);
}

/* line 857, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-welcome .crm-icon {
  color: #8e4ec6;
}

/* line 858, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-msg {
  max-width: 92%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

/* line 859, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-msg.is-user {
  align-self: flex-end;
  background: var(--hrm-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* line 860, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-msg.is-ai {
  align-self: flex-start;
  background: var(--hrm-sunken);
  border-bottom-left-radius: 4px;
}

/* line 860, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-msg.is-ai ul {
  list-style: disc;
  padding-left: 18px;
  margin: 6px 0;
}

/* line 860, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-msg.is-ai p {
  margin: 6px 0 0;
}

/* line 860, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-msg.is-ai .hrm-link {
  margin-top: 6px;
}

/* line 862, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
}

/* line 862, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-suggest button {
  padding: 5px 10px;
  border: 1px solid rgba(142, 78, 198, 0.25);
  border-radius: 99px;
  background: rgba(142, 78, 198, 0.05);
  color: #6b3fa0;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
}

/* line 862, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-suggest button:hover {
  background: rgba(142, 78, 198, 0.12);
}

/* line 863, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-form {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--hrm-line);
}

/* line 863, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-form input {
  flex: 1;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hrm-line-strong);
  border-radius: 99px;
  outline: none;
}

/* line 863, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-form input:focus {
  border-color: #8e4ec6;
}

/* line 863, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-form .hrm-btn {
  border-radius: 99px;
  width: 34px;
  padding: 0;
  height: 34px;
}

/* line 864, app/assets/stylesheets/_hrm_hub.scss */
.hrm-ai-foot {
  padding: 0 14px 12px;
  color: var(--hrm-muted);
  font-size: 11px;
}

/* ---------- Documents / print ---------- */
/* line 868, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hrm-ink);
}

/* line 868, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc h1 {
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.04em;
}

/* line 868, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc h3 {
  margin: 16px 0 6px;
  font-size: 14px;
}

/* line 868, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc ul {
  list-style: disc;
  padding-left: 20px;
}

/* line 868, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc p {
  margin: 6px 0;
}

/* line 869, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc-sub {
  text-align: center;
  color: var(--hrm-muted);
}

/* line 870, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc-sign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
  text-align: center;
}

/* line 870, app/assets/stylesheets/_hrm_hub.scss */
.hrm-doc-sign div {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* line 871, app/assets/stylesheets/_hrm_hub.scss */
.hrm-print .hrm-org {
  transform: none !important;
}

/* ---------- Host integration & responsive ---------- */
/* line 875, app/assets/stylesheets/_hrm_hub.scss */
body.hrm-hub-open {
  overflow: hidden;
}

@media (max-width: 1280px) {
  /* line 878, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 879, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-roles {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  /* line 879, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-roles .hrm-role-detail {
    grid-column: 1 / -1;
  }
  /* line 880, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-hero {
    grid-template-columns: 1fr;
  }
  /* line 881, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-quick-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  /* line 882, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-ai {
    width: 340px;
  }
}

@media (max-width: 1080px) {
  /* line 885, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 885, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-grid-3 .is-span-2 {
    grid-column: span 2;
  }
  /* line 886, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-feed-wrap, .hrm-grid-notif, .hrm-grid-attn {
    grid-template-columns: 1fr;
  }
  /* line 887, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-cycle {
    grid-template-columns: 1fr;
  }
  /* line 888, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-phases, .hrm-phases.is-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 889, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-search-trigger span, .hrm-me-role {
    display: none;
  }
  /* line 890, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-search-trigger {
    width: auto;
  }
  /* line 891, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-shell {
    grid-template-columns: var(--hrm-sidebar) minmax(0, 1fr);
  }
  /* line 892, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-ai {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    box-shadow: var(--hrm-shadow-lg);
  }
}

@media (max-width: 820px) {
  /* line 895, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-hub {
    --hrm-sidebar: 64px;
  }
  /* line 895, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-hub .hrm-brand-text, .hrm-hub .hrm-nav-label, .hrm-hub .hrm-nav-text, .hrm-hub .hrm-nav-count, .hrm-hub .hrm-sync .hrm-nav-text {
    display: none;
  }
  /* line 895, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-hub .hrm-nav-item {
    justify-content: center;
    padding: 0;
  }
  /* line 896, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-view {
    padding: 16px 16px 48px;
  }
  /* line 897, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-grid-2, .hrm-grid-3, .hrm-grid-4, .hrm-vault, .hrm-rb, .hrm-roles, .hrm-settings {
    grid-template-columns: 1fr;
  }
  /* line 897, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-grid-2 .is-span-2, .hrm-grid-3 .is-span-2, .hrm-grid-4 .is-span-2, .hrm-vault .is-span-2, .hrm-rb .is-span-2, .hrm-roles .is-span-2, .hrm-settings .is-span-2 {
    grid-column: auto;
  }
  /* line 898, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 899, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-radar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 900, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-steps em {
    display: none;
  }
  /* line 901, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-entity span, .hrm-ai-trigger span {
    display: none;
  }
  /* line 902, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-form-grid {
    grid-template-columns: 1fr;
  }
  /* line 902, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-form-grid > * {
    grid-column: auto !important;
  }
  /* line 903, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-payslip-cols, .hrm-payslip-who {
    grid-template-columns: 1fr;
  }
  /* line 904, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-hbar {
    grid-template-columns: 100px minmax(0, 1fr) auto;
  }
  /* line 905, app/assets/stylesheets/_hrm_hub.scss */
  .hrm-ai {
    width: 100%;
  }
}

/* ---------- Loading skeleton ---------- */
/* line 910, app/assets/stylesheets/_hrm_hub.scss */
.hrm-skel {
  border-radius: 10px;
  background: linear-gradient(90deg, #efefed 25%, #f6f6f4 50%, #efefed 75%);
  background-size: 200% 100%;
  animation: hrm-shimmer 1.2s infinite;
}

/* line 911, app/assets/stylesheets/_hrm_hub.scss */
.hrm-skel.is-head {
  height: 56px;
  width: 320px;
}

/* line 911, app/assets/stylesheets/_hrm_hub.scss */
.hrm-skel.is-card {
  height: 98px;
}

/* line 911, app/assets/stylesheets/_hrm_hub.scss */
.hrm-skel.is-row {
  height: 44px;
  margin-top: 8px;
}

@keyframes hrm-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

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

/* line 74997, app/assets/stylesheets/application.scss */
.occasion-hub-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 75004, app/assets/stylesheets/application.scss */
.occasion-hub-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

/* line 75011, app/assets/stylesheets/application.scss */
.occasion-hub-head strong {
  flex: 1;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* line 75018, app/assets/stylesheets/application.scss */
.occ-head-actions {
  display: flex;
  gap: 8px;
}

/* line 75023, 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 75033, app/assets/stylesheets/application.scss */
.occ-icon-btn.is-on,
.occ-icon-btn.is-accent {
  background: var(--occ-accent);
  color: #fff;
}

/* line 75039, app/assets/stylesheets/application.scss */
.occ-search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 8px;
}

/* line 75046, app/assets/stylesheets/application.scss */
.occ-search-panel.hidden,
.occ-search-panel[hidden] {
  display: none !important;
}

/* line 75051, app/assets/stylesheets/application.scss */
.occ-search-panel .occ-search {
  flex: 1 1 auto;
  margin: 0;
}

/* line 75056, 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 75067, app/assets/stylesheets/application.scss */
.occ-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--occ-ink);
  outline: none;
}

/* line 75076, app/assets/stylesheets/application.scss */
.occasion-hub-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 75082, app/assets/stylesheets/application.scss */
.occ-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 16px 28px;
}

/* line 75089, 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 75100, 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 75113, app/assets/stylesheets/application.scss */
.occ-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--occ-soft);
  font-size: 22px;
}

/* line 75121, app/assets/stylesheets/application.scss */
.occ-empty strong {
  font-size: 19px;
  font-weight: 600;
}

/* line 75126, 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 75136, app/assets/stylesheets/application.scss */
.occ-cta,
.occ-ghost,
.occ-danger,
.occ-chips button {
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

/* line 75145, app/assets/stylesheets/application.scss */
.occ-cta {
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--occ-accent);
  color: #fff;
}

/* line 75153, app/assets/stylesheets/application.scss */
.occ-cta-block,
.occ-ghost,
.occ-danger {
  width: 100%;
  padding: 14px 12px;
  border-radius: 14px;
}

/* line 75161, app/assets/stylesheets/application.scss */
.occ-ghost {
  background: var(--occ-surface);
  color: var(--occ-ink);
}

/* line 75166, app/assets/stylesheets/application.scss */
.occ-danger {
  background: transparent;
  color: var(--perk-ink);
}

/* line 75171, 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 75184, app/assets/stylesheets/application.scss */
.occ-focus {
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--occ-tint) 10%, #fff);
}

/* line 75190, app/assets/stylesheets/application.scss */
.occ-row {
  padding: 12px;
  border-radius: 16px;
}

/* line 75195, app/assets/stylesheets/application.scss */
.occ-focus-copy,
.occ-row-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 75204, app/assets/stylesheets/application.scss */
.occ-focus-copy strong,
.occ-row-copy strong,
.occ-hero strong {
  font-size: 16px;
  font-weight: 600;
}

/* line 75211, app/assets/stylesheets/application.scss */
.occ-count {
  text-align: right;
}

/* line 75215, app/assets/stylesheets/application.scss */
.occ-count b {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--occ-tint);
}

/* line 75222, 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 75231, app/assets/stylesheets/application.scss */
.occ-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 75237, app/assets/stylesheets/application.scss */
.occ-section h3 {
  margin: 0;
  text-transform: none;
}

/* line 75242, app/assets/stylesheets/application.scss */
.occ-when {
  font-size: 12px;
  font-weight: 600;
}

/* line 75247, app/assets/stylesheets/application.scss */
.occ-when.is-today {
  color: var(--occ-tint);
}

/* line 75251, app/assets/stylesheets/application.scss */
.occ-cal {
  padding: 8px 12px 24px;
}

/* line 75255, app/assets/stylesheets/application.scss */
.occ-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* line 75262, app/assets/stylesheets/application.scss */
.occ-cal-head strong {
  font-size: 19px;
}

/* line 75266, app/assets/stylesheets/application.scss */
.occ-cal-week,
.occ-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
}

/* line 75273, 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 75281, 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 75293, app/assets/stylesheets/application.scss */
.occ-cal-cell.is-today span:first-child {
  color: var(--occ-accent);
  font-weight: 700;
}

/* line 75298, app/assets/stylesheets/application.scss */
.occ-cal-cell.has-event span:first-child {
  font-weight: 700;
}

/* line 75302, app/assets/stylesheets/application.scss */
.occ-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(23, 25, 29, 0.12);
}

/* line 75309, 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 75322, app/assets/stylesheets/application.scss */
.occ-file.lg {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

/* line 75328, 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 75341, 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 75352, 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 75361, app/assets/stylesheets/application.scss */
.occ-confirm-card {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

/* line 75369, 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 75381, app/assets/stylesheets/application.scss */
.occ-sheet-bar strong {
  text-align: center;
}

/* line 75385, app/assets/stylesheets/application.scss */
.occ-sheet-bar .occ-text-btn:last-child {
  justify-self: end;
}

/* line 75389, app/assets/stylesheets/application.scss */
.occ-text-btn {
  border: 0;
  background: transparent;
  color: var(--occ-ink);
  font-size: 16px;
  cursor: pointer;
}

/* line 75397, app/assets/stylesheets/application.scss */
.occ-text-btn.is-accent {
  color: var(--occ-accent);
  font-weight: 600;
}

/* line 75402, app/assets/stylesheets/application.scss */
.occ-form,
.occ-detail,
.occ-day-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 20px 28px;
}

/* line 75411, app/assets/stylesheets/application.scss */
.occ-form label,
.occ-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

/* line 75420, app/assets/stylesheets/application.scss */
.occ-toggle {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* line 75426, app/assets/stylesheets/application.scss */
.occ-toggle input {
  width: 48px;
  height: 30px;
  accent-color: var(--occ-accent);
}

/* line 75432, 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 75443, app/assets/stylesheets/application.scss */
.occ-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
}

/* line 75449, 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 75464, app/assets/stylesheets/application.scss */
.occ-type.is-on {
  background: var(--occ-tint, var(--occ-accent));
  color: #fff;
}

/* line 75469, 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 75478, app/assets/stylesheets/application.scss */
.occ-hero-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* line 75484, app/assets/stylesheets/application.scss */
.occ-hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

/* line 75491, app/assets/stylesheets/application.scss */
.occ-hero-meta b {
  color: var(--occ-tint);
  font-size: 15px;
}

/* line 75496, app/assets/stylesheets/application.scss */
.occ-hero-meta span {
  display: flex;
  gap: 10px;
  color: var(--occ-muted);
  font-size: 12px;
}

/* line 75503, app/assets/stylesheets/application.scss */
.occ-notes {
  padding: 16px;
  border-radius: 16px;
  background: var(--occ-surface);
}

/* line 75509, app/assets/stylesheets/application.scss */
.occ-notes p {
  margin: 8px 0 0;
  color: var(--occ-muted);
}

/* line 75514, app/assets/stylesheets/application.scss */
.occ-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* line 75520, app/assets/stylesheets/application.scss */
.occ-chips button {
  padding: 12px;
  border-radius: 14px;
  background: var(--occ-surface);
  color: var(--occ-ink);
}

/* line 75527, app/assets/stylesheets/application.scss */
.occ-error {
  margin: 0;
  color: var(--perk-ink);
  font-size: 13px;
}

/* line 75533, 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 75542, app/assets/stylesheets/application.scss */
.occ-chevron {
  color: #c4c4c6;
  font-size: 12px;
}

@keyframes occ-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 760px) {
  /* line 75552, app/assets/stylesheets/application.scss */
  .occ-sheet,
.occ-confirm {
    align-items: center;
  }
  /* line 75557, app/assets/stylesheets/application.scss */
  .occ-sheet-card,
.occ-confirm-card {
    border-radius: 22px;
  }
}

@media (min-width: 760px) {
  /* line 75564, app/assets/stylesheets/application.scss */
  .market-sheet {
    align-items: center;
  }
  /* line 75568, app/assets/stylesheets/application.scss */
  .market-sheet-card {
    border-radius: 22px;
  }
}

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

/* line 75605, app/assets/stylesheets/application.scss */
.nutrition-hub-shell,
.nutrition-hub-body,
.nutrition-stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

/* line 75614, 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 75624, app/assets/stylesheets/application.scss */
.nutrition-hub-titles {
  flex: 1;
  min-width: 0;
}

/* line 75629, 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 75637, 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 75648, 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 75665, app/assets/stylesheets/application.scss */
.nutrition-circle-btn:hover,
.nutrition-icon-btn:hover {
  background: var(--nutrition-soft);
  color: var(--nutrition-accent-ink);
}

/* line 75671, 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 75685, app/assets/stylesheets/application.scss */
.nutrition-hub-body {
  flex: 1;
  overflow: hidden;
}

/* line 75690, 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 75701, 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 75714, 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 75720, app/assets/stylesheets/application.scss */
.nutrition-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* line 75726, 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 75735, app/assets/stylesheets/application.scss */
.nutrition-today,
.nutrition-week,
.nutrition-weight {
  display: grid;
  gap: 16px;
}

/* line 75742, 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 75753, 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 75764, 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 75774, 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 75783, app/assets/stylesheets/application.scss */
.nutrition-dash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 75790, 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 75799, app/assets/stylesheets/application.scss */
.nutrition-kcal {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

/* line 75807, 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 75815, app/assets/stylesheets/application.scss */
.nutrition-kcal span,
.nutrition-remain {
  margin: 0;
  font-size: 14px;
  color: var(--nutrition-muted);
}

/* line 75822, app/assets/stylesheets/application.scss */
.nutrition-remain {
  margin-top: 8px;
  font-weight: 600;
}

/* line 75827, app/assets/stylesheets/application.scss */
.nutrition-remain.is-over {
  color: var(--nutrition-over);
}

/* line 75831, app/assets/stylesheets/application.scss */
.nutrition-ring-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

/* line 75838, app/assets/stylesheets/application.scss */
.nutrition-ring {
  width: 88px;
  height: 88px;
  display: block;
}

/* line 75844, 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 75855, app/assets/stylesheets/application.scss */
.nutrition-macros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-top: 18px;
}

/* line 75862, app/assets/stylesheets/application.scss */
.nutrition-macro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* line 75869, app/assets/stylesheets/application.scss */
.nutrition-macro-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

/* line 75876, app/assets/stylesheets/application.scss */
.nutrition-macro span {
  font-size: 12px;
  font-weight: 600;
  color: var(--nutrition-muted);
}

/* line 75882, app/assets/stylesheets/application.scss */
.nutrition-macro strong {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* line 75888, app/assets/stylesheets/application.scss */
.nutrition-macro strong em {
  font-style: normal;
  font-weight: 500;
  color: var(--nutrition-muted);
}

/* line 75894, app/assets/stylesheets/application.scss */
.nutrition-macro-track {
  height: 6px;
  border-radius: 99px;
  background: var(--nutrition-field);
  overflow: hidden;
}

/* line 75901, app/assets/stylesheets/application.scss */
.nutrition-macro-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--nutrition-accent);
}

/* line 75908, app/assets/stylesheets/application.scss */
.nutrition-macro.is-protein .nutrition-macro-track i {
  background: var(--nutrition-protein);
}

/* line 75909, app/assets/stylesheets/application.scss */
.nutrition-macro.is-carbs .nutrition-macro-track i {
  background: var(--nutrition-carbs);
}

/* line 75910, app/assets/stylesheets/application.scss */
.nutrition-macro.is-fat .nutrition-macro-track i {
  background: var(--nutrition-fat);
}

/* line 75911, app/assets/stylesheets/application.scss */
.nutrition-macro.is-fiber .nutrition-macro-track i {
  background: var(--nutrition-fiber);
}

/* line 75913, app/assets/stylesheets/application.scss */
.nutrition-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* line 75919, 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 75936, 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 75947, app/assets/stylesheets/application.scss */
.nutrition-action.is-primary {
  background: var(--nutrition-accent);
  border-color: transparent;
  color: #fff;
}

/* line 75953, app/assets/stylesheets/application.scss */
.nutrition-action.is-primary i {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* line 75958, app/assets/stylesheets/application.scss */
.nutrition-action:hover {
  transform: translateY(-1px);
}

/* line 75962, 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 75969, app/assets/stylesheets/application.scss */
.nutrition-coach-title {
  margin: 0 0 8px;
  color: var(--nutrition-accent-ink);
  font-size: 13px;
  font-weight: 700;
}

/* line 75976, app/assets/stylesheets/application.scss */
.nutrition-coach p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* line 75982, app/assets/stylesheets/application.scss */
.nutrition-diary-head,
.nutrition-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

/* line 75990, app/assets/stylesheets/application.scss */
.nutrition-diary-head h2,
.nutrition-row-head h2 {
  margin: 0;
}

/* line 75995, 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 76003, app/assets/stylesheets/application.scss */
.nutrition-meal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
}

/* line 76010, 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 76021, app/assets/stylesheets/application.scss */
.nutrition-meal-head strong {
  flex: 1;
  font-size: 14px;
  font-weight: 650;
}

/* line 76027, 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 76035, 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 76048, 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 76057, 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 76069, app/assets/stylesheets/application.scss */
.nutrition-meal-main strong,
.nutrition-food-row strong {
  font-size: 14px;
  font-weight: 650;
}

/* line 76075, 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 76082, 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 76090, app/assets/stylesheets/application.scss */
.nutrition-food-row em.is-warn {
  color: var(--perk-ink);
}

/* line 76094, 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 76106, 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 76119, app/assets/stylesheets/application.scss */
.nutrition-hub-body > .nutrition-setup {
  flex: 1;
}

/* line 76123, 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 76132, app/assets/stylesheets/application.scss */
.nutrition-setup .nutrition-primary {
  width: auto;
  min-width: 200px;
  padding-inline: 28px;
}

/* line 76138, 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 76148, 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 76159, 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 76173, app/assets/stylesheets/application.scss */
.nutrition-primary {
  background: var(--nutrition-accent);
  color: #fff;
}

/* line 76178, 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 76186, app/assets/stylesheets/application.scss */
.nutrition-primary.is-inline,
.nutrition-text-btn {
  width: auto;
}

/* line 76191, app/assets/stylesheets/application.scss */
.nutrition-secondary {
  background: var(--nutrition-paper);
  border: 1px solid var(--nutrition-line);
}

/* line 76196, app/assets/stylesheets/application.scss */
.nutrition-danger {
  background: #17191d;
  color: #fff;
}

/* line 76201, app/assets/stylesheets/application.scss */
.nutrition-primary:disabled,
.nutrition-text-btn:disabled,
.nutrition-secondary:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: none;
}

/* line 76209, app/assets/stylesheets/application.scss */
.nutrition-error {
  color: var(--perk-ink);
  font-size: 13px;
  font-weight: 550;
}

/* line 76215, app/assets/stylesheets/application.scss */
.nutrition-error.nutrition-pad {
  padding: 0;
}

/* line 76219, app/assets/stylesheets/application.scss */
.nutrition-weight-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 76225, app/assets/stylesheets/application.scss */
.nutrition-weight-form .nutrition-field {
  flex: 1;
}

/* line 76229, app/assets/stylesheets/application.scss */
.nutrition-weight-form .nutrition-primary {
  flex: 0 0 auto;
  padding-inline: 20px;
}

/* line 76234, 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 76244, 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 76251, app/assets/stylesheets/application.scss */
.nutrition-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* line 76259, app/assets/stylesheets/application.scss */
.nutrition-pair {
  display: grid;
  gap: 10px;
}

/* line 76264, 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 76275, app/assets/stylesheets/application.scss */
.nutrition-bars.is-short {
  height: 132px;
}

/* line 76279, 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 76287, 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 76297, 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 76306, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-under {
  background: rgba(46, 158, 122, 0.42);
}

/* line 76307, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-over {
  background: var(--nutrition-over);
}

/* line 76308, app/assets/stylesheets/application.scss */
.nutrition-bar i.is-empty {
  background: var(--nutrition-line);
}

/* line 76310, app/assets/stylesheets/application.scss */
.nutrition-bar span {
  font-size: 11px;
  font-weight: 600;
  color: var(--nutrition-muted);
}

/* line 76316, 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 76326, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 120px;
}

/* line 76333, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-p,
.nutrition-legend span.is-p {
  background: var(--nutrition-protein);
}

/* line 76335, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-c,
.nutrition-legend span.is-c {
  background: var(--nutrition-carbs);
}

/* line 76337, app/assets/stylesheets/application.scss */
.nutrition-grouped-cols i.is-f,
.nutrition-legend span.is-f {
  background: var(--nutrition-fat);
}

/* line 76340, 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 76351, app/assets/stylesheets/application.scss */
.nutrition-legend span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 4px;
}

/* line 76359, app/assets/stylesheets/application.scss */
.nutrition-trend {
  position: relative;
  height: 180px;
  margin-top: 14px;
}

/* line 76365, app/assets/stylesheets/application.scss */
.nutrition-trend svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* line 76372, app/assets/stylesheets/application.scss */
.nutrition-weight-list {
  display: flex;
  flex-direction: column;
}

/* line 76377, 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 76387, app/assets/stylesheets/application.scss */
.nutrition-weight-row:first-child {
  border-top: 0;
}

/* line 76391, app/assets/stylesheets/application.scss */
.nutrition-weight-row span {
  color: var(--nutrition-muted);
  font-size: 13px;
}

/* line 76396, app/assets/stylesheets/application.scss */
.nutrition-sheet {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* line 76405, app/assets/stylesheets/application.scss */
.nutrition-sheet.hidden,
.nutrition-sheet[hidden] {
  display: none !important;
}

/* line 76410, app/assets/stylesheets/application.scss */
.nutrition-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.36);
}

/* line 76417, 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 76428, 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 76436, app/assets/stylesheets/application.scss */
.nutrition-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* line 76443, 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 76453, app/assets/stylesheets/application.scss */
.nutrition-text-btn.is-strong {
  font-weight: 700;
  justify-self: end;
}

/* line 76458, app/assets/stylesheets/application.scss */
.nutrition-sheet-body {
  overflow: auto;
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 76466, app/assets/stylesheets/application.scss */
.nutrition-scan-actions {
  display: grid;
  gap: 10px;
  width: min(360px, 100%);
}

/* line 76472, 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 76485, app/assets/stylesheets/application.scss */
.nutrition-food-row .is-accent,
.is-accent {
  color: var(--nutrition-accent-ink);
  font-weight: 600;
}

/* line 76491, app/assets/stylesheets/application.scss */
.nutrition-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 76497, 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 76507, app/assets/stylesheets/application.scss */
.nutrition-chip.is-on {
  background: var(--nutrition-accent);
  color: #fff;
}

/* line 76512, app/assets/stylesheets/application.scss */
.nutrition-progress {
  width: 100%;
  height: 6px;
  accent-color: var(--nutrition-accent);
}

/* line 76518, app/assets/stylesheets/application.scss */
.nutrition-steps {
  display: flex;
  gap: 6px;
}

/* line 76523, app/assets/stylesheets/application.scss */
.nutrition-steps i {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--nutrition-line);
}

/* line 76530, app/assets/stylesheets/application.scss */
.nutrition-steps i.is-on {
  background: var(--nutrition-accent);
}

/* line 76534, app/assets/stylesheets/application.scss */
.nutrition-onboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

/* line 76542, app/assets/stylesheets/application.scss */
.nutrition-dl {
  display: grid;
  gap: 0;
}

/* line 76547, 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 76556, app/assets/stylesheets/application.scss */
.nutrition-dl div:first-child {
  border-top: 0;
  padding-top: 0;
}

/* line 76561, app/assets/stylesheets/application.scss */
.nutrition-dl dt {
  color: var(--nutrition-muted);
  font-weight: 550;
}

/* line 76566, app/assets/stylesheets/application.scss */
.nutrition-dl dd {
  margin: 0;
  font-weight: 650;
}

/* line 76571, app/assets/stylesheets/application.scss */
.nutrition-kcal-total {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 76577, 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 76587, app/assets/stylesheets/application.scss */
  .nutrition-macros {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* line 76591, app/assets/stylesheets/application.scss */
  .nutrition-pair,
.nutrition-scan-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 820px) {
  /* line 76598, app/assets/stylesheets/application.scss */
  .nutrition-today {
    grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 1fr);
    align-items: start;
  }
  /* line 76603, app/assets/stylesheets/application.scss */
  .nutrition-week-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
  }
  /* line 76609, app/assets/stylesheets/application.scss */
  .nutrition-week-grid .nutrition-chart-card:first-child {
    grid-column: 1 / -1;
  }
  /* line 76613, 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 76620, app/assets/stylesheets/application.scss */
  .nutrition-week-grid {
    grid-template-columns: 1.15fr 1fr 0.85fr;
  }
  /* line 76624, app/assets/stylesheets/application.scss */
  .nutrition-week-grid .nutrition-chart-card:first-child {
    grid-column: auto;
  }
}

@media (min-width: 760px) {
  /* line 76630, app/assets/stylesheets/application.scss */
  .nutrition-sheet {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  /* line 76636, app/assets/stylesheets/application.scss */
  .nutrition-sheet-card {
    width: min(540px, 92vw);
    border-radius: 22px;
    max-height: 86vh;
  }
}

/* ── E2EE recovery PIN modal ─────────────────────────────────────────── */
/* line 76653, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-modal {
  position: fixed;
  inset: 0;
  /* Must sit above every chat layer (.floating-ai 900, chat sidebar 1500,
     companion overlays 1400) so the passcode sheet is never covered. */
  z-index: 2147483000;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 20px;
}

/* line 76665, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

/* line 76671, 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 76682, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 76689, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-body {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

/* line 76696, 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 76706, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 76712, 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 76721, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-boxes {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* line 76727, 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 76742, 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 76747, 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 76755, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-status.is-error {
  color: var(--perk-ink);
}

/* line 76759, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

/* line 76766, 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 76781, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* line 76786, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-btn-primary {
  background: #111827;
  color: #fff;
}

/* line 76791, app/assets/stylesheets/application.scss */
.perk-e2ee-pin-btn-secondary {
  background: transparent;
  color: #374151;
}

@media (max-width: 480px) {
  /* line 76797, app/assets/stylesheets/application.scss */
  .perk-e2ee-pin-digit {
    height: 48px;
    font-size: 20px;
  }
}

/* --- Workplace Brainstorm --- */
/* line 76804, app/assets/stylesheets/application.scss */
.tw-brainstorm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 2px 28px;
  min-height: 100%;
}

/* line 76812, 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 76824, 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 76833, 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 76840, app/assets/stylesheets/application.scss */
.tw-brainstorm-toolbar-copy span,
.tw-brainstorm-detail-title span {
  font-size: 0.85rem;
  color: #6b7280;
}

/* line 76846, app/assets/stylesheets/application.scss */
.tw-brainstorm-list,
.tw-brainstorm-idea-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 720px) {
  /* line 76853, app/assets/stylesheets/application.scss */
  .tw-brainstorm-idea-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* line 76858, 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 76872, app/assets/stylesheets/application.scss */
.tw-brainstorm-card {
  padding: 14px;
  cursor: pointer;
}

/* line 76877, 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 76884, 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 76896, 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 76905, 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 76912, 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 76919, 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 76929, app/assets/stylesheets/application.scss */
.tw-brainstorm-card-chevron {
  align-self: center;
  color: #9ca3af;
}

/* line 76934, app/assets/stylesheets/application.scss */
.tw-brainstorm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

/* line 76941, 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 76950, app/assets/stylesheets/application.scss */
.tw-brainstorm-check {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

/* line 76956, app/assets/stylesheets/application.scss */
.tw-brainstorm-subtabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

/* line 76963, 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 76976, app/assets/stylesheets/application.scss */
.tw-brainstorm-subtab.is-on {
  background: #111827;
  color: #fff;
}

/* line 76981, app/assets/stylesheets/application.scss */
.tw-brainstorm-add {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* line 76987, app/assets/stylesheets/application.scss */
.tw-brainstorm-add .tw-input {
  flex: 1;
}

/* line 76991, 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 77004, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 8px 8px 0;
}

/* line 77011, 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 77027, app/assets/stylesheets/application.scss */
.tw-brainstorm-more-menu {
  top: 52px;
  right: 12px;
}

/* line 77032, 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 77043, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-menu button:hover,
.tw-brainstorm-more-menu button:hover {
  background: #f3f4f6;
}

/* line 77048, app/assets/stylesheets/application.scss */
.tw-brainstorm-idea-menu .is-danger,
.tw-brainstorm-more-menu .is-danger {
  color: #b91c1c;
}

/* line 77053, 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 77064, 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 77073, 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 77082, 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 77092, app/assets/stylesheets/application.scss */
.tw-brainstorm-group header {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 77098, app/assets/stylesheets/application.scss */
.tw-brainstorm-group header strong {
  flex: 1;
}

/* line 77102, app/assets/stylesheets/application.scss */
.tw-brainstorm-group-idea {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f9fafb;
  font-size: 0.9rem;
}

/* line 77109, app/assets/stylesheets/application.scss */
.tw-brainstorm-outcome {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 77115, app/assets/stylesheets/application.scss */
.tw-brainstorm-outcome-lead {
  margin: 0;
  color: #6b7280;
  font-size: 0.92rem;
}

/* line 77121, 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 77136, app/assets/stylesheets/application.scss */
.tw-brainstorm-outcome-selected ul {
  margin: 0;
  padding-left: 18px;
}

/* line 77141, app/assets/stylesheets/application.scss */
.tw-brainstorm-task-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

/* line 77148, 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 77165, app/assets/stylesheets/application.scss */
.tw-brainstorm-ai-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 77171, app/assets/stylesheets/application.scss */
.tw-brainstorm-ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 77177, 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 77187, app/assets/stylesheets/application.scss */
.tw-brainstorm-ai-error {
  color: #b91c1c;
  font-size: 0.9rem;
}

/* line 77192, app/assets/stylesheets/application.scss */
.tw-brainstorm-detail-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  /* line 77199, app/assets/stylesheets/application.scss */
  .tw-brainstorm-add {
    flex-direction: column;
    align-items: stretch;
  }
  /* line 77204, 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;
  }
}

/* ===== Apps rail: App Store–style catalog (sidebar + search + categories) ===== */
/* line 77215, app/assets/stylesheets/application.scss */
.perk-workspace.is-apps-launcher .hub-home-stage,
.perk-workspace.is-apps-launcher .hub-home-lower {
  max-width: 1240px;
}

/* line 77220, app/assets/stylesheets/application.scss */
.hub-apps-board.app-store {
  --as-text: #1d1d1f;
  --as-muted: #6e6e73;
  --as-faint: #8e8e93;
  --as-accent: #007aff;
  --as-pill: #eef1f6;
  --as-card: #fff;
  --as-line: rgba(0, 0, 0, 0.07);
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 0 8px 40px;
  color: var(--as-text);
}

/* line 77236, app/assets/stylesheets/application.scss */
.app-store-side {
  position: sticky;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0;
}

/* line 77245, app/assets/stylesheets/application.scss */
.app-store-brand {
  margin: 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--as-text);
}

/* line 77253, app/assets/stylesheets/application.scss */
.app-store-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}

/* line 77260, app/assets/stylesheets/application.scss */
.app-store-search-icon {
  position: absolute;
  left: 11px;
  color: var(--as-faint);
  pointer-events: none;
}

/* line 77267, app/assets/stylesheets/application.scss */
:where(.app-store) .app-store-search-input {
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0 12px 0 34px;
  border: 1px solid var(--as-line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: var(--as-text);
  outline: none;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* line 77282, app/assets/stylesheets/application.scss */
:where(.app-store) .app-store-search-input:focus {
  border-color: var(--as-accent);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

/* line 77287, app/assets/stylesheets/application.scss */
.app-store-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 77293, app/assets/stylesheets/application.scss */
.app-store-nav-heading {
  margin: 14px 8px 4px;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--as-muted);
}

/* line 77300, app/assets/stylesheets/application.scss */
.app-store-nav-item {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 7px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--as-text);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

/* line 77318, app/assets/stylesheets/application.scss */
.app-store-nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* line 77322, app/assets/stylesheets/application.scss */
.app-store-nav-item.is-active {
  background: rgba(0, 0, 0, 0.075);
  font-weight: 600;
}

/* line 77327, app/assets/stylesheets/application.scss */
.app-store-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--cat-color, var(--as-accent));
  flex: 0 0 auto;
}

/* line 77336, app/assets/stylesheets/application.scss */
.app-store-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 77343, app/assets/stylesheets/application.scss */
.app-store-main {
  min-width: 0;
}

/* line 77347, app/assets/stylesheets/application.scss */
.app-store-view {
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: hub-home-fade-up 0.35s ease both;
}

/* line 77354, app/assets/stylesheets/application.scss */
.app-store-view[hidden] {
  display: none;
}

/* line 77358, app/assets/stylesheets/application.scss */
.app-store-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 77364, app/assets/stylesheets/application.scss */
.app-store-section-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 77370, app/assets/stylesheets/application.scss */
.app-store-section-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

/* line 77384, app/assets/stylesheets/application.scss */
.app-store-section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--as-text);
}

/* line 77393, app/assets/stylesheets/application.scss */
.app-store-chev {
  color: var(--as-faint);
  transition: transform 0.15s ease;
}

/* line 77398, app/assets/stylesheets/application.scss */
.app-store-section-link:hover .app-store-chev {
  transform: translateX(2px);
}

/* line 77402, app/assets/stylesheets/application.scss */
:where(.app-store) .app-store-section-sub {
  margin: 0;
  font-size: 15px;
  color: var(--as-muted);
}

/* line 77408, app/assets/stylesheets/application.scss */
.app-store-rows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px 32px;
}

/* line 77414, app/assets/stylesheets/application.scss */
.app-store-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* line 77421, app/assets/stylesheets/application.scss */
.app-store-row[hidden] {
  display: none;
}

/* line 77425, app/assets/stylesheets/application.scss */
.app-store-row-main {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

/* line 77441, app/assets/stylesheets/application.scss */
.app-store-icon.hub-app-icon {
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* line 77446, app/assets/stylesheets/application.scss */
.app-store-icon--md.hub-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 15px;
}

/* line 77452, app/assets/stylesheets/application.scss */
.app-store-icon--lg.hub-app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

/* line 77458, app/assets/stylesheets/application.scss */
.app-store-icon .hub-app-glyph .hub-app-glyph-icon {
  width: auto;
  height: auto;
}

/* line 77463, app/assets/stylesheets/application.scss */
.app-store-icon--md .hub-app-glyph .hub-app-glyph-icon {
  width: 28px;
  height: 28px;
}

/* line 77464, app/assets/stylesheets/application.scss */
.app-store-icon--lg .hub-app-glyph .hub-app-glyph-icon {
  width: 36px;
  height: 36px;
}

/* line 77465, app/assets/stylesheets/application.scss */
.app-store-icon--md .hub-app-mark {
  font-size: 28px;
}

/* line 77466, app/assets/stylesheets/application.scss */
.app-store-icon--lg .hub-app-mark {
  font-size: 34px;
}

/* line 77468, app/assets/stylesheets/application.scss */
.app-store-row-main:hover .app-store-icon {
  filter: brightness(1.05);
}

/* line 77472, app/assets/stylesheets/application.scss */
.app-store-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* line 77479, app/assets/stylesheets/application.scss */
.app-store-row-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--as-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 77489, app/assets/stylesheets/application.scss */
.app-store-row-sub {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--as-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 77499, app/assets/stylesheets/application.scss */
.app-store-row-cat {
  font-size: 12px;
  color: var(--as-faint);
}

/* line 77504, app/assets/stylesheets/application.scss */
.app-store-row-actions {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* line 77511, app/assets/stylesheets/application.scss */
.app-store-get {
  appearance: none;
  min-width: 72px;
  margin: 0;
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--as-pill);
  color: var(--as-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

/* line 77527, app/assets/stylesheets/application.scss */
.app-store-get:hover {
  background: var(--as-accent);
  color: #fff;
}

/* Add-to-Home-dock toggle: tucked on the Open pill's corner, shown on hover / when docked. */
/* line 77533, app/assets/stylesheets/application.scss */
.app-store .app-store-dock.hub-app-dock-toggle {
  top: -9px;
  right: -9px;
  width: 20px;
  height: 20px;
}

/* line 77540, app/assets/stylesheets/application.scss */
.app-store-row .hub-app-dock-toggle,
.app-store-card .hub-app-dock-toggle {
  opacity: 0;
}

/* line 77545, app/assets/stylesheets/application.scss */
.app-store-row:hover .hub-app-dock-toggle,
.app-store-row:focus-within .hub-app-dock-toggle {
  opacity: 1;
  transform: scale(1);
}

/* line 77551, app/assets/stylesheets/application.scss */
.app-store-row.is-docked .hub-app-dock-toggle {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* Top picks — ranked cards */
/* line 77558, app/assets/stylesheets/application.scss */
.app-store-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 16px;
}

/* line 77564, app/assets/stylesheets/application.scss */
.app-store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 14px 18px;
  border-radius: 22px;
  background: var(--as-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* line 77577, app/assets/stylesheets/application.scss */
.app-store-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* line 77582, app/assets/stylesheets/application.scss */
.app-store-card-rank {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 22px;
  font-weight: 500;
  color: var(--as-faint);
}

/* line 77591, app/assets/stylesheets/application.scss */
.app-store-card-main {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

/* line 77607, app/assets/stylesheets/application.scss */
.app-store-card-main .app-store-icon {
  margin-bottom: 8px;
}

/* line 77611, app/assets/stylesheets/application.scss */
.app-store-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--as-text);
}

/* line 77617, app/assets/stylesheets/application.scss */
.app-store-card-sub {
  min-height: 2.7em;
  font-size: 13px;
  line-height: 1.35;
  color: var(--as-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 77628, app/assets/stylesheets/application.scss */
.app-store-card .hub-app-dock-toggle {
  top: 10px;
  right: 10px;
}

/* line 77633, app/assets/stylesheets/application.scss */
.app-store-card:hover .hub-app-dock-toggle,
.app-store-card:focus-within .hub-app-dock-toggle {
  opacity: 1;
  transform: scale(1);
}

/* Category hero */
/* line 77640, app/assets/stylesheets/application.scss */
.app-store-cat-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* line 77646, app/assets/stylesheets/application.scss */
.app-store-cat-hero-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--cat-color) 12%, #fff);
  color: var(--cat-color);
  flex: 0 0 auto;
}

/* line 77657, app/assets/stylesheets/application.scss */
.app-store-cat-hero-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--as-text);
}

/* line 77665, app/assets/stylesheets/application.scss */
:where(.app-store) .app-store-cat-hero-sub {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--as-muted);
}

/* line 77671, app/assets/stylesheets/application.scss */
:where(.app-store) .app-store-empty {
  margin: 24px 0;
  font-size: 15px;
  color: var(--as-muted);
}

/* Narrow: sidebar collapses into a search bar + horizontal category chips. */
@media (max-width: 860px) {
  /* line 77679, app/assets/stylesheets/application.scss */
  .hub-apps-board.app-store {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 32px;
  }
  /* line 77685, app/assets/stylesheets/application.scss */
  .app-store-side {
    position: static;
    gap: 12px;
    padding: 0;
  }
  /* Clear the floating chat-history menu button (top-left of the hub). */
  /* line 77692, app/assets/stylesheets/application.scss */
  .app-store-brand {
    margin: 0 2px;
    padding-top: 44px;
    font-size: 28px;
  }
  /* line 77698, app/assets/stylesheets/application.scss */
  .app-store-nav {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  /* line 77706, app/assets/stylesheets/application.scss */
  .app-store-nav::-webkit-scrollbar {
    display: none;
  }
  /* line 77710, app/assets/stylesheets/application.scss */
  .app-store-nav-heading {
    display: none;
  }
  /* line 77714, app/assets/stylesheets/application.scss */
  .app-store-nav-item {
    width: auto;
    flex: 0 0 auto;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--as-line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
  }
  /* line 77725, app/assets/stylesheets/application.scss */
  .app-store-nav-item.is-active {
    background: var(--as-text);
    border-color: var(--as-text);
    color: #fff;
  }
  /* line 77731, app/assets/stylesheets/application.scss */
  .app-store-nav-item.is-active .app-store-nav-icon {
    color: #fff;
  }
  /* line 77735, app/assets/stylesheets/application.scss */
  .app-store-nav-icon,
.app-store-nav-icon svg {
    width: 16px;
    height: 16px;
  }
  /* line 77741, app/assets/stylesheets/application.scss */
  .app-store-rows {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  /* line 77746, app/assets/stylesheets/application.scss */
  .app-store-icon--md.hub-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  /* line 77752, app/assets/stylesheets/application.scss */
  .app-store-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 10px;
  }
  /* line 77759, app/assets/stylesheets/application.scss */
  .app-store-card {
    flex: 0 0 168px;
    scroll-snap-align: start;
  }
}
