/* Admin Projects Styles - matching existing design patterns */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
}

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-outline {
  background-color: transparent;
  color: #6b7280;
  border-color: #d1d5db;
}

.btn-outline:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  line-height: 1;
}

/* Progress bar styles */
.progress-bar-bg {
  background-color: #e5e7eb;
  border-radius: 9999px;
  height: 0.625rem;
}

.progress-bar-fill {
  background-color: #3b82f6;
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge-completed {
  background-color: #dcfce7;
  color: #166534;
}

.status-badge-in-progress {
  background-color: #fef3c7;
  color: #92400e;
}

.status-badge-step {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-badge-task {
  background-color: #dcfdf4;
  color: #065f46;
}

/* Action step and task cards */
.admin-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background-color: white;
  transition: all 0.2s;
}

.admin-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Reorder controls */
.reorder-controls {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reorder-controls .btn-xs {
  width: 1.5rem;
  height: 1.5rem;
  justify-content: center;
  padding: 0;
}

/* Form improvements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 4rem;
}

/* Table improvements */
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.admin-table thead {
  background-color: #f9fafb;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.admin-table tbody tr:hover {
  background-color: #f9fafb;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* User assignment section */
.user-assignment-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: white;
  min-width: 200px;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .admin-card {
    padding: 1rem;
  }
  
  .user-assignment-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .user-select {
    min-width: auto;
  }
}

/* Error states */
.error-message {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.error-message h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.error-message ul {
  list-style-type: disc;
  list-style-position: inside;
  margin-top: 0.5rem;
}

.error-message li {
  margin-bottom: 0.25rem;
}
#users-table tr td {
  text-align: center;
}
/* Advisory Board Calendar */

.advisory-week-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-left: 4px solid transparent;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.advisory-week-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

.advisory-week-current {
  background: #eff6ff;
  border-left-color: #3b82f6;
  border-color: #bfdbfe;
}

.advisory-week-current:hover {
  border-color: #93c5fd;
}

.advisory-week-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.advisory-week-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.advisory-week-description {
  font-size: 0.875rem;
  color: #6b7280;
}

.advisory-week-date {
  font-size: 1.25rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  flex-shrink: 0;
}

.advisory-week-current .advisory-week-date {
  color: #2563eb;
}

/* Responsive */
@media (max-width: 640px) {
  .advisory-week-row {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .advisory-week-date {
    font-size: 1rem;
  }
}
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/* Override for button-styled links to ensure proper text color */
.bg-blue-600,
.bg-green-600,
.bg-purple-600,
.bg-gray-600,
.bg-indigo-600 {
  color: white !important;
}

.bg-blue-600:hover,
.bg-green-600:hover,
.bg-purple-600:hover,
.bg-gray-600:hover,
.bg-indigo-600:hover {
  color: white !important;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
  display: none;
}
  body {
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    background-image: radial-gradient(circle at 0% 0%, #FF8FBA 0%, #FFB6D9 25%, #FFF1F8 50%, #F0F7FF 75%, #E6F0FF 100%);
    color: #1E0E3E;
    font-feature-settings: "cv01", "cv02", "cv03", "cv04", "ss01", "ss02";
}

  h1, h2, h3, h4, h5, h6 {
  font-family: "Cal Sans", "Clash Display", system-ui, sans-serif;
  font-weight: 700;
    font-feature-settings: "cv01", "cv02", "cv03", "cv04", "ss01", "ss02";
}
.pointer-events-none {
  pointer-events: none;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-right-2 {
  right: -0.5rem;
}
.-right-20 {
  right: -5rem;
}
.-top-2 {
  top: -0.5rem;
}
.-top-20 {
  top: -5rem;
}
.bottom-20 {
  bottom: 5rem;
}
.bottom-6 {
  bottom: 1.5rem;
}
.bottom-full {
  bottom: 100%;
}
.left-0 {
  left: 0px;
}
.right-0 {
  right: 0px;
}
.right-6 {
  right: 1.5rem;
}
.top-1\/2 {
  top: 50%;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-50 {
  z-index: 50;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-4 {
  grid-column: span 4 / span 4;
}
.col-span-6 {
  grid-column: span 6 / span 6;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-24 {
  margin-bottom: 6rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-4 {
  margin-left: 1rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2.0rem;
}
.mt-auto {
  margin-top: auto;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.aspect-\[21\/9\] {
  aspect-ratio: 21/9;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.h-0 {
  height: 0px;
}
.h-10 {
  height: 2.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-24 {
  height: 6rem;
}
.h-3 {
  height: 0.75rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-52 {
  height: 13rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-\[2px\] {
  height: 2px;
}
.h-\[72px\] {
  height: 72px;
}
.h-full {
  height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}
.w-0 {
  width: 0px;
}
.w-10 {
  width: 2.5rem;
}
.w-16 {
  width: 4rem;
}
.w-24 {
  width: 6rem;
}
.w-3 {
  width: 0.75rem;
}
.w-4 {
  width: 1rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-52 {
  width: 13rem;
}
.w-6 {
  width: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.w-\[280px\] {
  width: 280px;
}
.w-\[72px\] {
  width: 72px;
}
.w-full {
  width: 100%;
}
.max-w-7xl {
  max-width: 80rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-grow {
  flex-grow: 1;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-\[-25\%\] {
  --tw-translate-x: -25%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-\[25\%\] {
  --tw-translate-y: 25%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-rotate-90 {
  --tw-rotate: -90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-pointer {
  cursor: pointer;
}
.resize {
  resize: both;
}
.grid-cols-10 {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-rows-3 {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-stretch {
  align-items: stretch;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-4 {
  border-width: 4px;
}
.border-b-\[20px\] {
  border-bottom-width: 20px;
}
.border-l-\[32px\] {
  border-left-width: 32px;
}
.border-t-2 {
  border-top-width: 2px;
}
.border-t-\[20px\] {
  border-top-width: 20px;
}
.border-b-transparent {
  border-bottom-color: transparent;
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-black\/60 {
  --tw-gradient-from: rgb(0 0 0 / 0.6) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.fill-current {
  fill: currentColor;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-12 {
  padding: 3rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-16 {
  padding-left: 4rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.font-display {
  font-family: "Cal Sans", "Clash Display", system-ui, sans-serif;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-\[\#1D2D35\] {
  --tw-text-opacity: 1;
  color: rgb(29 45 53 / var(--tw-text-opacity));
}
.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.line-through {
  text-decoration-line: line-through;
}
.opacity-80 {
  opacity: 0.8;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-2xl {
  --tw-backdrop-blur: blur(40px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism */
.glass {
  --tw-backdrop-blur: blur(40px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.glass-card {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  --tw-backdrop-blur: blur(40px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.glass-card:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.2);
}

/* Custom animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.animate-pulse-soft {
  animation: pulse-soft 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Progress bar animation */
.progress-stripes {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
  0% { background-position: 1rem 0; }
  100% { background-position: 0 0; }
}

/* Custom utilities */
.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(30, 14, 62, 0.1);
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(30, 14, 62, 0.15);
}

.text-gradient {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  --tw-gradient-from: #FF3366 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 51 102 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #6366F1 var(--tw-gradient-to-position);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Interactive states */
.hover-lift {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.2);
}

.press-effect:active {
  transform: translateY(-2px);
  transition: all 0.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.hover\:-translate-y-1:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-translate-y-2:hover {
  --tw-translate-y: -0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-\[1\.02\]:hover {
  --tw-scale-x: 1.02;
  --tw-scale-y: 1.02;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:transform:hover {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.group:hover .group-hover\:translate-x-2 {
  --tw-translate-x: 0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
#blogs-table a {
	font-weight: 600;
	text-decoration: underline;
}

#blog-content {
	background: #fafafa;
	border: 2px solid #efefef;
	padding: 20px;
}

#blog-content ul, 
#blog-content ol {
	margin: unset;
	padding: unset;
	list-style: unset;
	padding-left: 40px;
	margin: 20px 0 20px 0;
}

#blog-content ul ul,
#blog-content ol ol,
#blog-content ul ol,
#blog-content ol ul {
	margin-top: 0;
}

#blog-content blockquote {
	border-left: 4px solid #000;
	margin: 20px auto;
	padding: 8px 0px 8px 10px;
	background: #ececec;
}

.blog-content table,
.blog-content th,
.blog-content td {
  border: 1px solid #000;
}

.blog-content th {
  background: #666;
  color: #fff;
  padding: 10px 16px;
}

.blog-content table {
  margin: 16px 0;
}

/* New Blog Tool Styles (inspired by radar tool) */

.blog-instructions {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 2px solid #93c5fd;
}

.instruction-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.instruction-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e40af;
}

.instruction-content p {
  margin: 0;
  color: #1e3a8a;
  line-height: 1.6;
}

.blog-input-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.blog-input-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.blog-keyword-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.blog-keyword-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.blog-write-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.blog-write-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.blog-write-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.blog-error-message {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 6px;
  font-size: 0.875rem;
}

.blog-list-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.blog-list-section h2 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.blog-list {
  min-height: 200px;
}

.blog-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.blog-row:hover {
  background: #f9fafb;
}

.blog-row:last-child {
  border-bottom: none;
}

.blog-icon {
  width: 60px;
  height: 60px;
  margin-right: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-placeholder {
  color: #9ca3af;
}

.icon-completed {
  color: #10b981;
  background: #d1fae5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-info {
  flex: 1;
  min-width: 0;
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.blog-link {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.blog-keyword {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.blog-date {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0;
}

.blog-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
  justify-content: flex-end;
}

.status-container {
  display: flex;
  justify-content: flex-end;
}

.status-text {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  text-transform: capitalize;
}

.status-text.pending {
  background: #fef3c7;
  color: #92400e;
}

.status-text.processing {
  background: #dbeafe;
  color: #1e40af;
}

.status-text.completed {
  background: #d1fae5;
  color: #065f46;
}

.status-text.failed {
  background: #fee2e2;
  color: #991b1b;
}

.remove-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.blog-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.empty-state-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.blog-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.blog-empty-state p {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Loading states */
.blog-form.loading .blog-write-btn {
  opacity: 0.6;
  cursor: not-allowed;
}

.blog-form.loading .blog-keyword-input {
  opacity: 0.6;
}

/* Blog show page styles */
.blog-content-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.blog-meta {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #3b82f6;
}

.blog-meta p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}

.blog-meta strong {
  color: #374151;
  font-weight: 600;
}

.blog-content {
  line-height: 1.7;
  color: #374151;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-content h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.blog-content h2 {
  font-size: 2.0rem;
}

.blog-content h3 {
  font-size: 1.5rem;
}

.blog-content p {
  margin-bottom: 1rem;
}

.blog-content ul,
.blog-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
  list-style: disc !important;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 4px solid #3b82f6;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  font-style: italic;
}

.blog-content code {
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
}

.blog-content pre {
  background: #f1f5f9;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.blog-content pre code {
  background: none;
  padding: 0;
}

/* Blog status states for show page */
.blog-pending,
.blog-processing,
.blog-failed {
  text-align: center;
  padding: 3rem 2rem;
}

.pending-icon,
.processing-icon,
.failed-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.pending-icon {
  color: #f59e0b;
}

.processing-icon {
  color: #3b82f6;
}

.failed-icon {
  color: #ef4444;
}

.blog-pending h3,
.blog-processing h3,
.blog-failed h3 {
  margin-bottom: 1rem;
  color: #374151;
}

.blog-pending p,
.blog-processing p,
.blog-failed p {
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
}

/* Instant Yes Email Start Screen */

.instant-yes-start-screen {
  background: white;
  padding: 4rem 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.start-icon {
  width: 80px;
  height: 80px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.start-icon svg {
  color: #3b82f6;
}

.start-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.start-description {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 400px;
}

.start-button {
  background: #3b82f6;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.start-button:hover {
  background: #2563eb;
}

/* Instant Yes Email Wizard Styles */

.instant-yes-wizard-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}

.instant-yes-form {
  max-width: 1000px;
  margin: 0 auto;
}

.wizard-progress {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.progress-text {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  text-align: center;
  font-weight: 500;
}

.progress-bar {
  background: #e5e7eb;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.progress-fill {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  height: 100%;
  transition: width 0.3s ease;
}

.wizard-step {
  margin-bottom: 2rem;
}

.wizard-step[style*="display: none"] {
  display: none !important;
}

.wizard-step-two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.wizard-instructions {
  /* Left column - contains question and input */
}

.wizard-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1rem 0;
  text-align: left;
}

.wizard-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.wizard-example {
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #065f46;
  line-height: 1.5;
}

.wizard-example strong {
  color: #047857;
  display: block;
  margin-bottom: 0.25rem;
}

.wizard-input-column {
  /* Right column - contains description and example */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wizard-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.wizard-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.wizard-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  resize: vertical;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.wizard-textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.wizard-navigation {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.wizard-back-btn,
.wizard-next-btn {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
}

.wizard-back-btn {
  background: #f3f4f6;
  color: #374151;
}

.wizard-back-btn:hover {
  background: #e5e7eb;
}

.wizard-next-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  margin-left: auto;
}

.wizard-next-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.wizard-next-btn:disabled,
.wizard-back-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wizard-error-message {
  background: #fee2e2;
  color: #b91c1c;
  padding: 0.875rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
}

/* Instant Yes Email List Styles */

.instant-yes-list-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.instant-yes-list-section h2 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.instant-yes-list {
  min-height: 200px;
}

.instant-yes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.instant-yes-row:hover {
  background: #f9fafb;
}

.instant-yes-row:last-child {
  border-bottom: none;
}

.email-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.instant-yes-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.instant-yes-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.instant-yes-empty-state p {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Email show page styles */

.email-flow-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  overflow-x: hidden;
}

.email-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.email-flow-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.instant-yes-content-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.answers-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.answers-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.5rem 0;
}

.answer-grid {
  display: grid;
  gap: 1.5rem;
}

.answer-item {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: 8px;
  border-left: 4px solid #10b981;
}

.answer-item strong {
  display: block;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.answer-item p {
  margin: 0;
  color: #111827;
  line-height: 1.6;
}

.variations-section {
  margin-bottom: 3rem;
}

.variations-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.5rem 0;
}

.variations-grid {
  display: grid;
  gap: 1.25rem;
}

.variation-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s;
}

.variation-card:hover {
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.variation-content {
  flex: 1;
}

.variation-content p {
  margin: 0;
  color: #111827;
  line-height: 1.6;
  font-weight: 500;
}

.email-body-text {
  white-space: pre-wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: #111827;
  line-height: 1.7;
}

.copy-btn {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.625rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #10b981;
  border-color: #10b981;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.copy-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.copy-btn.copy-error {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

.copy-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.email-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
}

.email-pending,
.email-processing,
.email-failed {
  text-align: center;
  padding: 4rem 2rem;
}

.email-pending h3,
.email-processing h3,
.email-failed h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #374151;
}

.email-pending p,
.email-processing p,
.email-failed p {
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Email info styles (matching blog pattern) */
.email-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.email-link {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.email-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.email-client {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.email-date {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0;
}

.email-status {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  min-width: 150px;
  justify-content: flex-end;
}

/* Button styles */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

/* Icon animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 2s linear infinite;
}

/* Rewrite Modal */
.rewrite-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rewrite-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.rewrite-modal-content {
  position: relative;
  background: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  max-width: 400px;
  z-index: 10000;
}

.modal-spinner {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #3b82f6;
}

.rewrite-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.rewrite-modal-content p {
  color: #6b7280;
  margin: 0;
  font-size: 1rem;
}

/* Web Analytics Styles */
.web-analytics-content {
  max-width: 900px;
  margin: 0 auto;
}

.analytics-not-connected {
  text-align: center;
  padding: 4rem 2rem;
}

.not-connected-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: #9ca3af;
}

.analytics-not-connected h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.connect-description {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.setup-instructions {
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: left;
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
}

.setup-instructions h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.setup-instructions ol {
  padding-left: 1.5rem;
  color: #374151;
}

.setup-instructions li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.analytics-connected-section {
  padding: 2rem;
}

.connection-status {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
}

.status-badge.connected {
  background: #d1fae5;
  color: #065f46;
}

.connected-property {
  font-weight: 600;
  color: #111827;
  margin: 0;
  flex: 1;
}

.connected-date {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.analytics-data-section {
  margin-bottom: 2rem;
}

.analytics-data-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #111827;
}

.analytics-metric-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #3b82f6;
}

.metric-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.metric-period {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.metric-value {
  text-align: center;
  padding: 2rem 0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-number {
  font-size: 4rem;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
}

.metric-error {
  color: #ef4444;
  font-weight: 600;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  color: #9ca3af;
}

.fetch-data-btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.analytics-actions {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
}

/* API Activation Notice */
.api-activation-notice {
  text-align: left;
  padding: 2rem;
  background: #fef3c7;
  border: 2px solid #fbbf24;
  border-radius: 8px;
}

.api-activation-notice h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.api-activation-notice p {
  font-size: 1rem;
  color: #78350f;
  margin-bottom: 1rem;
}

.activation-steps {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  list-style-position: inside;
}

.activation-steps li {
  font-size: 0.95rem;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.activation-steps li:last-child {
  border-bottom: none;
}

.activation-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
}

/* Property Selection Styles */
.property-selection-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.selection-instruction {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
  text-align: center;
}

.properties-list {
  display: grid;
  gap: 1rem;
}

.property-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}

.property-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.property-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #111827;
}

.property-account {
  color: #6b7280;
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
}

.property-id {
  color: #9ca3af;
  margin: 0;
  font-size: 0.75rem;
  font-family: monospace;
}

.no-properties {
  text-align: center;
  padding: 3rem 2rem;
}

.no-properties p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Blog Save buttons */
.btn-blog-save {
  background: #3b82f6;
  color: white;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.btn-blog-save:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-blog-save svg {
  vertical-align: middle;
}

/* Print styles for Save PDF */
@media print {
  body * {
    visibility: hidden;
  }

  #blogContent, #blogContent * {
    visibility: visible;
  }

  #blogContent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 40px;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .blog-input-container {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-write-btn {
    margin-top: 0.5rem;
  }

  .blog-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .blog-status {
    width: 100%;
    justify-content: space-between;
  }

  .blog-input-section,
  .blog-content-section {
    padding: 1.5rem;
  }

  .blog-list-section h2 {
    padding: 1rem 1.5rem;
  }

  .blog-row {
    padding: 1rem 1.5rem;
  }

  .instant-yes-wizard-section,
  .instant-yes-content-section {
    padding: 1.5rem;
  }

  .instant-yes-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .email-status {
    width: 100%;
  }

  .wizard-question {
    font-size: 1.25rem;
  }

  .wizard-step-two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .wizard-instructions {
    padding-right: 0;
  }

  .variation-card {
    flex-direction: column;
  }

  .email-flow-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
/* app/assets/stylesheets/calendar.css */

.calendar-container {
  min-height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding-right: 2px;
  min-width: 0; /* Important for preventing expansion */
}

.calendar-container > div {
  display: grid;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr 1fr 1fr 60px; /* Sunday and Saturday thinner */
  width: 100%;
  gap: 8px;
  /*max-width: 1400px;*/
  margin: 0 auto;
  margin-bottom: 80px;
}

.calendar-day {
  height: 360px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevents content from expanding the container */
  transition: all 0.3s ease;
}

.calendar-day-number {
  font-weight: 600;
/*
  font-size: 14px;
  margin-bottom: 8px;
  color: #374151;
*/
  pointer-events: none; /* Prevent interfering with drag */
  color: rgba(0, 0, 0, 0.15);
  font-style: italic;
  font-size: 32px;
  left: 16px;
  margin: 0;
}

.calendar-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding: 4px 2px 4px 0;
  min-width: 0;
}

/* Header row for day names */
.calendar-header-day {
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  color: #6b7280;
  background: transparent;
  border: none;
  min-height: auto;
  height: auto;
}

/* Weekend header styling */
.calendar-header-day.weekend {
  padding: 12px 4px;
  font-size: 14px;
}

/* Weekend day styling */
.calendar-day.weekend {
  padding: 6px 4px;
  background: #f6f6f6;
}

/* Current date highlighting */
.calendar-day.current-date {
  background: rgba(255, 255, 0, 0.1) !important;
}

.calendar-day.weekend .calendar-day-number {
  text-align: center;
  margin-bottom: 6px;
}

/* Task and event cards */
.task-card {
  font-size: 18px;
  line-height: 1.4;
  cursor: move;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  margin-bottom: 2px;
  user-select: none;
  position: relative;
  overflow: visible;
  color: white;
  grid-template-columns: unset !important;
  background: white;
  border-radius: 6px;
  padding: 6px; /* Reduced padding for more space */
  line-height: 1.3; /* Tighter line height */
  /*cursor: move;*/
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  margin-bottom: 2px;
  user-select: none;
  position: relative;
  min-width: 0;
  overflow: visible;
}

/* TODO: BUG: THis is a bug. .content is a different class but this task-card has a child class for a "content" type of card and it adds a margin-bottom*/
.task-card.content {
	margin-bottom: unset !important;
}


.task-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.event-card {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  user-select: none;
}

/* Drag and Drop States */
.dragging .calendar-day {
  transition: all 0.2s ease;
}

.drop-zone-active {
  background-color: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.6) !important;
  border-width: 2px !important;
  box-shadow: 
    0 0 0 4px rgba(59, 130, 246, 0.1),
    0 4px 12px rgba(59, 130, 246, 0.15) !important;
  /* Remove any transform: scale() */
}

.drop-zone-active .drop-indicator {
  /*display: flex !important;*/
  display: none !important;
}

.task-card.dragging {
  opacity: 0.5;
  transform: scale(0.95) rotate(5deg);
  z-index: 1000;
}

.drop-indicator {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent; /* Remove grey background */
  border: 1px solid rgba(59, 130, 246, 0.6);
  border-radius: 6px;
  pointer-events: none;
}

.drop-indicator span {
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Drag handle */
.drag-handle {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  color: #9ca3af;
}

.task-card:hover .drag-handle {
  opacity: 1;
}

/* Loading state */
.calendar-day.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 10;
}

/* Scrollbar styling */
.calendar-content::-webkit-scrollbar {
  width: 4px;
}

.calendar-content::-webkit-scrollbar-track {
  background: transparent;
}
.calendar-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.calendar-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Prevent text selection during drag */
.dragging * {
  user-select: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .calendar-day {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .calendar-grid {
    gap: 4px;
  }
  
  .calendar-day {
    height: 160px;
    padding: 6px;
  }
  
  .task-card {
    padding: 6px;
    font-size: 11px;
  }
}

/* Success animation for dropped card */
.task-card.just-dropped {
  animation: dropSuccess 0.6s ease-out;
}

@keyframes dropSuccess {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(1deg) scale(1.02); }
  50% { transform: rotate(-1deg) scale(1.02); }
  75% { transform: rotate(0.5deg); }
  100% { transform: rotate(0deg) scale(1); }
}

.task-card .font-medium {
/*
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
*/
}

.task-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

/* Task title styling - full width */
.task-title {
  font-weight: 600;
  pointer-events: none;
  overflow: hidden;
  display: -webkit-box;
  /*-webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  word-break: break-word;
  order: 1; /* Ensure it's always first */
}

/* Task details styling - always below title */
.task-details {
  font-size: 14px;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  order: 2; /* Ensure it's always second */
}

/* Default styling */
.task-card {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* Track color classes - these take precedence over category colors */
.task-card.track-color-1 {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.task-card.track-color-2 {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.task-card.track-color-3 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.task-card.track-color-4 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.task-card.track-color-5 {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.task-card.track-color-6 {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
}

.task-card.track-color-7 {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.task-card.track-color-8 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.task-card.track-color-9 {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.task-card.track-color-10 {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* Category-specific gradients (fallback for non-track tasks) */
.task-card.strategy {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.task-card.campaigns {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.task-card.content {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.task-card.analytics {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.task-card.operations {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Adjust complete button for white text */
.task-card .complete-form button {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.task-card .complete-form button:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* End Task Card Colors */

/* For a darker overlay */
.bg-black.bg-opacity { 
  background-color: rgba(0, 0, 0, 0.4); 
}

/* For a blur effect */
.modal-overlay {
  backdrop-filter: blur(2px);
}

/* Track task highlighting animation */
.track-task-highlight {
  animation: trackTaskPulse 2s ease-in-out;
  border: 2px solid #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

@keyframes trackTaskPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.login-card.card {
	padding: 4rem;
	max-width: 800px;
	margin: auto;
}

.login-card h2,
.login-card form {
	max-width: 600px;
	margin: auto;
}

.login-card h2 {
	font-size: 2.2rem;
	text-align: center;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 2px solid #000;
}

.login-card input[type=text],
.login-card input[type=email],
.login-card input[type=password] {
	background: #f0f0f0;
	border: 1px solid #dedede;
	border-radius: 8px;
}
/* app/assets/stylesheets/email_flows.css */

/* ==========================================================================
   Email Flow Layout
   ========================================================================== */

.email-flow-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.email-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

.email-flow-header h1 {
  color: #333;
  font-size: 2rem;
  margin: 0;
}

.email-flow-canvas {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 40px;
  min-height: 400px;
  position: relative;
}

.flow-steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.empty-flow {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.2rem;
}

/* ==========================================================================
   Email Steps
   ========================================================================== */

.email-step {
  background: white;
  border: 2px solid #007bff;
  border-radius: 8px;
  padding: 16px;
  min-width: 280px;
  max-width: 320px;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  position: relative;
}

.email-step:hover:not(.dragging) {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.email-step-delay {
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}

.email-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.email-step-name {
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
}

.email-step-body {
  color: #666;
}

.email-step-subject {
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-style: italic;
}

.email-step-meta {
  font-size: 0.8rem;
  color: #999;
}


/* ==========================================================================
   Drag and Drop (SortableJS)
   ========================================================================== */

.sortable-chosen {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.4;
}

/* Hide the connection line that comes after the ghost element during drag */
.sortable-ghost + .connection-line {
  display: none;
}

.sortable-drag {
  cursor: grabbing;
}


/* Wobble animation after drop */
.email-step.wobble {
  animation: wobble 0.6s ease-in-out;
}

@keyframes wobble {
  0% { transform: scale(1.0) rotate(0deg); }
  15% { transform: scale(1.0) rotate(-2deg); }
  30% { transform: scale(1.0) rotate(2deg); }
  45% { transform: scale(1.0) rotate(-1deg); }
  60% { transform: scale(1.0) rotate(1deg); }
  75% { transform: scale(1.0) rotate(-0.5deg); }
  100% { transform: scale(1.0) rotate(0deg); }
}

/* ==========================================================================
   Connection Lines
   ========================================================================== */

.connection-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 10px 0;
  width: 100%;
  min-height: 60px;
  padding: 10px 0;
}

.line {
  width: 3px;
  height: 40px;
  background: #007bff;
  position: relative;
}

.line::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #007bff;
}

.add-step-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  width: 100px;
  height: 28px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  white-space: nowrap;
}

.connection-line:hover .add-step-btn {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1.05);
}

.add-step-btn:hover {
  background: #218838;
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal.show {
  display: block;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
}

.modal-lg {
  max-width: 800px;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.modal-header .close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.modal-header .close:hover {
  color: #333;
}

.modal-body {
  padding: 1rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.text-muted {
  color: #6c757d;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  font-weight: 500;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #545b62;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

.btn-success:hover:not(:disabled) {
  background-color: #218838;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .email-flow-container {
    padding: 15px;
  }
  
  .email-flow-canvas {
    padding: 20px;
  }
  
  .email-step {
    min-width: 240px;
    max-width: 280px;
  }
  
  .add-step-btn {
    right: -30px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .modal-dialog {
    margin: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .email-flow-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .email-step {
    min-width: 200px;
    max-width: 240px;
  }
}

/* ==========================================================================
   Template Management Styles
   ========================================================================== */

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.template-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.template-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.template-name {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.template-name:hover {
  text-decoration: underline;
}

.template-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.template-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

.template-tags {
  margin-bottom: 15px;
}

.template-tags h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #333;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.template-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #666;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.step-count {
  font-weight: 500;
}

/* Template Form Styles */
.template-form {
  max-width: 600px;
  margin: 20px auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.template-info-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr 1fr;
  gap: 15px;
  align-items: end;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.calendar-month {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  padding: 0 15px;
}

/* ==========================================================================
   Task Template Specific Styles
   ========================================================================== */

.task-template {
  border-color: #17a2b8; /* Different color for task templates */
}

.task-template.anchor {
  border-color: #ffc107; /* Gold color for anchor */
  border-width: 3px; /* Thicker border for anchor */
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3); /* Gold shadow */
}

.task-template.anchor:hover:not(.dragging) {
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4); /* Enhanced gold shadow on hover */
}

.anchor-pin {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ffc107;
  color: #333;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 10;
}

.task-template-delay {
  background: #d1ecf1;
  color: #0c5460;
}

.task-template-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 4px;
  color: #666;
}

.task-template-meta .estimated-time {
  font-weight: 500;
  color: #28a745;
}

.task-template-meta .frequency {
  font-style: italic;
  color: #6c757d;
}

/* Template Info Display */
.template-info {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.template-info h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 1.1rem;
}

.template-info .template-description p {
  margin: 0;
  line-height: 1.5;
}

.template-stats {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

/* Read-only Flow Styles */
.email-flow-canvas.readonly {
  pointer-events: none;
}

.email-step.readonly {
  cursor: default;
}

.email-step.readonly:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.connection-line.readonly .add-step-btn {
  display: none;
}

.email-step-preview {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
}

/* Alert Styles */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.alert-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.alert h4 {
  margin-bottom: 10px;
}

.alert ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .header-actions {
    flex-direction: column;
  }
  
  .modal-lg {
    max-width: 95%;
    margin: 1rem;
  }
}

/* Template Chooser Modal Styles */
.template-card.clickable {
  cursor: pointer;
  margin-bottom: 15px;
}

.template-card.clickable:hover {
  border-color: #007bff;
}

#templatesContainer {
  max-height: 60vh;
  overflow-y: auto;
}

.text-center {
  text-align: center;
}
/* Home Page Styles */

.home-video-section {
}

.home-video-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}

.video-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.loom-embed-wrapper {
  width: 80%;
  max-width: 900px;
  position: relative;
  padding-bottom: 45%; /* 16:9 aspect ratio (9/16 = 0.5625, but 80% width so 45%) */
  height: 0;
  overflow: hidden;
}

.loom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
  margin: 1rem 0 3rem 0;
}

.home-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.home-calendar-card,
.home-action-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s;
  min-width: 280px;
  flex: 1;
  max-width: 350px;
}

.home-calendar-card:hover,
.home-action-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.calendar-icon,
.action-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.calendar-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

.action-icon.slack-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.action-icon.tools-icon {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
}

.action-icon.playbooks-icon {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #3730a3;
}

.calendar-icon.office-hours-icon {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  color: #6b21a8;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem 0;
}

.card-date {
  font-size: 1.125rem;
  color: #374151;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.card-description {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.add-calendar-btn,
.action-card-btn {
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  margin-top: auto;
}

.add-calendar-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.add-calendar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.action-card-btn.slack-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.action-card-btn.slack-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.action-card-btn.tools-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.action-card-btn.tools-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.action-card-btn.playbooks-btn {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
}

.action-card-btn.playbooks-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.add-calendar-btn.office-hours-btn {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  color: white;
}

.add-calendar-btn.office-hours-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* Office Hours Red Theme */
.calendar-icon.office-hours-icon-red {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.add-calendar-btn.office-hours-btn-red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.add-calendar-btn.office-hours-btn-red:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Win Card Styles */
.action-icon.win-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
  color: #92400e;
}

.action-card-btn.win-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.action-card-btn.win-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.win-progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.win-progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.win-progress-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1rem 0;
}

.win-stats-text {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0 0 1rem 0;
}

/* Calendar Modal Styles */

.calendar-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-modal.hidden {
  display: none;
}

.calendar-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.calendar-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 10000;
}

.calendar-modal-content.wide {
  max-width: 750px;
}

.calendar-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.calendar-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.calendar-modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.calendar-modal-subtitle {
  color: #6b7280;
  text-align: center;
  margin: 0 0 2rem 0;
}

.calendar-options {
  display: grid;
  gap: 1rem;
}

.calendar-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.calendar-option:hover {
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.calendar-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-icon {
  background: #f8fafc;
}

.outlook-icon {
  background: #dbeafe;
  color: #0078d4;
}

.office365-icon {
  background: #fee2e2;
  color: #dc2626;
}

.apple-icon {
  background: #f3f4f6;
  color: #374151;
}

.calendar-option-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

/* Office Hours Options */

.office-hours-options {
  text-align: center;
}

.office-hours-options.hidden {
  display: none;
}

.office-hours-note {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.office-hours-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.office-hours-day-btn {
  display: block;
  padding: 0.875rem 1rem;
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  text-align: center;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.2s;
}

.office-hours-day-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f3f4f6;
}

.dashboard-welcome h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
}

.dashboard-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
}

.win-vault-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
  color: #92400e;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.win-vault-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(252, 211, 77, 0.3);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Dashboard Cards (shared) */
.dashboard-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
}

.dashboard-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dashboard-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* Daily Bonus Card */
.daily-bonus-card {
  border-color: #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.daily-bonus-icon {
  background: #fcd34d;
  color: #92400e;
}

.weekday-dots {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.weekday-dot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.weekday-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s;
}

.weekday-dot.active {
  background: #10b981;
  border-color: #059669;
  color: white;
}

.weekday-dot.today:not(.active) {
  border-color: #fcd34d;
  background: #fef3c7;
}

.weekday-dot.future {
  background: #f9fafb;
  border-color: #e5e7eb;
}

.weekday-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
}

.streak-info {
  margin-top: 0.75rem;
}

.prize-earned {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #10b981;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.prize-progress {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prize-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(146, 64, 14, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.prize-progress-fill {
  height: 100%;
  background: #92400e;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.prize-progress-text {
  font-size: 0.75rem;
  color: #92400e;
  text-align: center;
}

/* Weekly Focus Card */
.weekly-focus-card {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}

.weekly-focus-icon {
  background: #8b5cf6;
  color: white;
}

.weekly-focus-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.weekly-focus-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.focus-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.focus-status-badge.completed {
  background: #d1fae5;
  color: #065f46;
}

.focus-status-badge.in-progress {
  background: #dbeafe;
  color: #1e40af;
}

.focus-win-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0.5rem 0 0.25rem 0;
}

.focus-win-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.focus-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}

.focus-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.focus-meta-item svg {
  color: #8b5cf6;
}

.focus-actions {
  margin-top: 1rem;
}

.focus-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.focus-btn.primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.focus-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.focus-btn.secondary {
  background: white;
  color: #8b5cf6;
  border: 2px solid #8b5cf6;
}

.focus-btn.secondary:hover {
  background: #f5f3ff;
}

/* Next Move Card */
.next-move-card {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.next-move-icon {
  background: #3b82f6;
  color: white;
}

.active-win-content,
.suggested-win-content,
.no-wins-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.win-pillar-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.win-pillar-badge.pillar-productivity {
  background: #dbeafe;
  color: #1e40af;
}

.win-pillar-badge.pillar-performance {
  background: #d1fae5;
  color: #065f46;
}

.win-pillar-badge.pillar-promotion {
  background: #e9d5ff;
  color: #6b21a8;
}

.win-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.current-step-name {
  font-size: 0.875rem;
  color: #374151;
  margin: 0 0 1rem 0;
}

.win-progress-section {
  margin-bottom: 0.75rem;
}

.win-progress-section .win-progress-bar {
  margin-bottom: 0.25rem;
}

.win-progress-section .win-progress-text {
  margin: 0;
  font-size: 0.75rem;
}

.win-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.time-estimate {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.next-move-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  transition: all 0.2s;
  margin-top: auto;
}

.next-move-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.no-wins-content {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
}

.no-wins-message {
  color: #6b7280;
  margin: 0 0 1rem 0;
}

/* Activity Ticker Card */
.activity-ticker-card {
  border-color: #a855f7;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.activity-icon {
  background: #a855f7;
  color: white;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 200px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.activity-pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.375rem;
  flex-shrink: 0;
}

.activity-pillar-dot.pillar-productivity {
  background: #3b82f6;
}

.activity-pillar-dot.pillar-performance {
  background: #10b981;
}

.activity-pillar-dot.pillar-promotion {
  background: #a855f7;
}

.activity-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

.activity-message {
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.4;
}

.activity-time {
  font-size: 0.6875rem;
  color: #9ca3af;
}

.activity-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Full-Width Video Section */
.home-video-full-width {
  margin-bottom: 2rem;
}

.home-video-full-wrapper {
  position: relative;
  padding-bottom: 50%; /* 16:9 centered with max-width */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.home-video-full-wrapper .loom-embed-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}

.home-video-full-wrapper .loom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.home-video-full-footer {
  text-align: center;
  padding-top: 0.5rem;
}

/* Group Calendar Button */
.group-calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}

.group-calendar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  color: white;
}

/* Hero 2-Column Grid (legacy) */
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

/* Hero Card Shared Styles */
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon.next-thing-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.hero-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.hero-card-date {
  font-size: 0.875rem;
  color: #6b7280;
  margin-left: auto;
}

/* Hero Video Card */
.hero-video-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #93c5fd;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-video-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.hero-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.hero-video-wrapper .loom-embed-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}

.hero-video-wrapper .loom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.hero-video-footer {
  text-align: center;
  margin-top: auto;
}

.hero-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 600;
}

.hero-video-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Your Next Thing Card */
.your-next-thing-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 2px solid #c4b5fd;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.your-next-thing-card:hover {
  border-color: #8b5cf6;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.next-thing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.next-thing-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.next-thing-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.next-thing-status.in-progress {
  background: #dbeafe;
  color: #1e40af;
}

.next-thing-status.completed {
  background: #d1fae5;
  color: #065f46;
}

.next-thing-status.focus {
  background: #f3e8ff;
  color: #6b21a8;
}

.next-thing-name {
  font-size: 1.6875rem;
  font-weight: 700;
  color: #111827;
  margin: 0.5rem 0 0.25rem 0;
}

.next-thing-description {
  font-size: 1.2rem;
  color: #374151;
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}

.next-thing-meta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.next-thing-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.next-thing-meta .meta-item svg {
  color: #8b5cf6;
}

.next-thing-progress {
  margin-bottom: 1rem;
}

.progress-bar-container {
  width: 100%;
  height: 26px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 1.1rem;
  color: #6b7280;
  display: block;
  text-align: center;
}

.next-thing-actions {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  justify-content: center;
}

.next-thing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  transition: all 0.2s;
}

.next-thing-btn.primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.next-thing-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.next-thing-btn.secondary {
  background: white;
  color: #8b5cf6;
  border: 2px solid #8b5cf6;
}

.next-thing-btn.secondary:hover {
  background: #f5f3ff;
}

/* Empty State */
.next-thing-content.empty-state {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
}

.empty-icon {
  margin-bottom: 1rem;
}

.empty-text {
  color: #6b7280;
  font-size: 0.9375rem;
  margin: 0 0 1rem 0;
}

/* Responsive design */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-video-full-wrapper {
    border-radius: 8px;
  }

  .home-video-full-wrapper .loom-video {
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  /* Dashboard responsive */
  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .dashboard-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dashboard-welcome h1 {
    font-size: 1.5rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-item {
    padding: 0 0.75rem;
  }

  .dashboard-grid {
    gap: 1rem;
  }

  /* Home page responsive */
  .loom-embed-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* Full 16:9 on mobile */
  }

  .home-cards-container {
    flex-direction: column;
  }

  .home-calendar-card,
  .home-action-card {
    max-width: 100%;
  }

  /* Calendar modal responsive */
  .calendar-modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }

  .calendar-modal-title {
    font-size: 1.5rem;
  }

  .calendar-option {
    padding: 0.875rem 1rem;
  }

  .calendar-option-icon {
    width: 40px;
    height: 40px;
  }

  .calendar-option-name {
    font-size: 0.9375rem;
  }
}
/* ICP Tool Styles */

/* ===== LAYOUT & CONTAINER ===== */
.icp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== HEADERS ===== */
.icp-header,
.quiz-header,
.test-header,
.content-header {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.header-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

.icp-meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.industry-tag,
.job-title-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

.industry-tag {
  background: #dbeafe;
  color: #1e40af;
}

.job-title-tag {
  background: #d1fae5;
  color: #065f46;
}

/* ===== BUTTONS ===== */
.icp-container .btn,
.quiz-content .btn,
.question-navigation .btn,
input[type="submit"].btn,
button.btn,
.btn {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.75rem 1.5rem !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  font-size: 0.875rem !important;
  margin: 0 !important;
}

.icp-container .btn-primary,
.quiz-content .btn-primary,
.question-navigation .btn-primary,
input[type="submit"].btn-primary,
button.btn-primary,
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: white !important;
  border: none !important;
}

.icp-container .btn-primary:hover,
.quiz-content .btn-primary:hover,
.question-navigation .btn-primary:hover,
input[type="submit"].btn-primary:hover,
button.btn-primary:hover,
.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.btn-primary-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.btn-primary-large:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.icp-container .btn-secondary,
.quiz-content .btn-secondary,
.question-navigation .btn-secondary,
input[type="submit"].btn-secondary,
button.btn-secondary,
.btn-secondary {
  background: #f9fafb !important;
  color: #374151 !important;
  border: 1px solid #d1d5db !important;
}

.icp-container .btn-secondary:hover,
.quiz-content .btn-secondary:hover,
.question-navigation .btn-secondary:hover,
input[type="submit"].btn-secondary:hover,
button.btn-secondary:hover,
.btn-secondary:hover {
  background: #f3f4f6 !important;
  border-color: #9ca3af !important;
}

.btn-secondary.small {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* ===== WELCOME PAGE ===== */
.welcome-content {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.welcome-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.welcome-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.welcome-content p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* ===== QUIZ INTERFACE ===== */
.icp-container .quiz-content,
.quiz-content {
  background: white !important;
  padding: 2rem !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 2rem !important;
}

.icp-container .progress-bar-container {
  margin-bottom: 2rem !important;
}

.icp-container .progress-info,
.progress-info {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1rem !important;
}

.icp-container .progress-text {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.icp-container .question-count,
.question-count {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}

.icp-container .progress-bar,
.progress-bar {
  width: 100% !important;
  height: 8px !important;
  background: #f3f4f6 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.icp-container .progress-fill,
.progress-fill {
  height: 100% !important;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  transition: width 0.3s ease !important;
  border-radius: 4px !important;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}

.step-circle.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.step-circle.completed {
  background: #10b981;
  color: white;
}

.step-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

/* Question Form */
.question-form {
  max-width: 600px;
  margin: 0 auto;
}

.question-content {
  margin-bottom: 2rem;
}

.question-number {
  font-size: 0.875rem;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 1rem;
}

.question-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.question-input {
  width: 100%;
  margin-bottom: 1rem;
}

.icp-container .form-input,
.icp-container .form-textarea,
.icp-container .form-select,
.quiz-content .form-input,
.quiz-content .form-textarea,
.quiz-content .form-select,
.form-input,
.form-textarea,
.form-select {
  width: 100% !important;
  padding: 1rem 1.5rem !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: border-color 0.2s !important;
  font-family: inherit !important;
  background: white !important;
  box-sizing: border-box !important;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #fef2f2;
  border-radius: 6px;
  border-left: 4px solid #ef4444;
}

.question-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.nav-spacer {
  flex: 1;
}

/* Quiz Completion */
.quiz-completed {
  text-align: center;
  padding: 3rem 2rem;
}

.completion-icon {
  width: 80px;
  height: 80px;
  background: #10b981;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.completion-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.quiz-completed h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.quiz-completed p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* ===== ICP GRID ===== */
.icp-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.grid-header {
  text-align: center;
  margin-bottom: 2rem;
}

.grid-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.grid-subtitle {
  color: #6b7280;
  margin: 0;
}

/* Accordion Styles */
.attributes-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.accordion-item {
  background: white;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.wants {
  border-left: 4px solid #3b82f6;
}

.accordion-item.aspirations {
  border-left: 4px solid #10b981;
}

.accordion-item.frustrations {
  border-left: 4px solid #f59e0b;
}

.accordion-item.fears {
  border-left: 4px solid #ef4444;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f9fafb;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background: #f3f4f6;
}

.accordion-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.accordion-title p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.accordion-icon {
  flex-shrink: 0;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.is-open .accordion-content {
  max-height: 2000px;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Two column grid for attributes */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.section-header {
  margin-bottom: 1rem;
}

.section-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.section-header p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.attributes-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.two-column-grid.attributes-list {
  display: grid;
}

.attribute-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
}

.attribute-item:hover {
  background: #f8fafc;
  border-color: #3b82f6;
}

.attribute-checkbox {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.checkmark {
  position: relative;
  flex-shrink: 0;
}

.attribute-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #374151;
}

.saved-attribute {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.saved-attribute:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.saved-attribute .checkmark-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.saved-attribute span {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.4;
  flex-grow: 1;
}

.delete-attribute-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
  z-index: 10;
}

.saved-attribute:hover .delete-attribute-btn {
  opacity: 1;
  transform: scale(1);
}

.delete-attribute-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.delete-attribute-btn svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Grid Actions */
.grid-actions,
.saved-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 2rem;
}

.selection-info,
.icp-summary {
  color: #6b7280;
  font-size: 0.875rem;
}

.icp-summary strong {
  color: #1f2937;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 1rem;
}

/* ===== CONTENT IDEAS ===== */
.content-body {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.content-cell {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.cell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cell-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.refresh-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.refresh-btn svg {
  color: #6b7280;
}

.copy-all-btn,
.copy-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-all-btn:hover,
.copy-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.copy-all-btn svg,
.copy-btn svg {
  color: #6b7280;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.item-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #374151;
}

.copy-btn {
  padding: 0.25rem;
  flex-shrink: 0;
}

/* Buyer's Journey */
.buyers-journey {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.buyers-journey h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  text-align: center;
}

.journey-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
}

.journey-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.stage-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.stage-card:nth-child(2) {
  border-left-color: #10b981;
}

.stage-card:nth-child(3) {
  border-left-color: #f59e0b;
}

.stage-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.stage-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.stage-content {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* No Content State */
.no-content-state {
  text-align: center;
  padding: 4rem 2rem;
}

.no-content-icon {
  width: 80px;
  height: 80px;
  background: #f3f4f6;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.no-content-icon svg {
  width: 40px;
  height: 40px;
  color: #9ca3af;
}

.no-content-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.no-content-state p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* ===== CHAT INTERFACE ===== */
.test-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.chat-section,
.validation-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.section-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.section-header h2 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* Chat Container */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 500px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  max-width: 85%;
}

.user-message {
  align-self: flex-end;
}

.assistant-message {
  align-self: flex-start;
}

.message-content {
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
}

.user-message .message-content {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.message-text {
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.message-time {
  font-size: 0.75rem;
  opacity: 0.7;
}

.user-message .message-time {
  color: rgba(255, 255, 255, 0.8);
}

.assistant-message .message-time {
  color: #6b7280;
}

/* Chat Input */
.chat-input-container {
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
}

.chat-form .input-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  min-height: 80px;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  resize: none;
  font-family: inherit;
  font-size: 0.875rem;
}

.chat-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.send-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
}

.send-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.send-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.input-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.typing-dots {
  display: flex;
  gap: 0.25rem;
}

.typing-dots span {
  width: 4px;
  height: 4px;
  background: #6b7280;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== VALIDATION INTERFACE ===== */
.validation-container {
  padding: 1.5rem;
}

.validation-input {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.validation-results {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.validation-result {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  min-width: 80px;
}

.score-excellent {
  background: #d1fae5;
  color: #065f46;
}

.score-good {
  background: #dbeafe;
  color: #1e40af;
}

.score-fair {
  background: #fef3c7;
  color: #92400e;
}

.score-poor {
  background: #fee2e2;
  color: #991b1b;
}

.score-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.score-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-category {
  flex: 1;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.result-feedback,
.result-suggestions {
  margin-bottom: 1.5rem;
}

.result-feedback:last-child,
.result-suggestions:last-child {
  margin-bottom: 0;
}

.result-feedback h4,
.result-suggestions h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.result-feedback p {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.result-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-suggestions li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
  padding-left: 1rem;
}

.result-suggestions li:before {
  content: "•";
  color: #3b82f6;
  position: absolute;
  left: 0;
}

.result-suggestions li:last-child {
  border-bottom: none;
}

.validation-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

.validation-error svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Recent Validations */
.recent-validations {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.recent-validations h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.validations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.validation-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s;
  cursor: pointer;
}

.validation-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.validation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.validation-score {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.validation-meta {
  flex: 1;
}

.validation-type {
  font-size: 0.75rem;
  color: #3b82f6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.validation-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.validation-preview {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ===== UTILITIES ===== */
.loading-spinner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-overlay .loading-spinner {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-overlay .loading-spinner svg {
  width: 32px;
  height: 32px;
  color: #3b82f6;
}

.loading-overlay .loading-spinner svg.animate-spin {
  animation: spin 1s linear infinite !important;
  transform-origin: center;
}

/* Ensure the spinner animation works properly */
.loading-overlay svg.animate-spin {
  animation: spin 1s linear infinite !important;
  transform-origin: center;
}

.loading-overlay .loading-spinner span {
  color: #374151;
  font-weight: 500;
}

.autosave-indicator {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
}

.copy-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .test-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .content-ideas-grid {
    grid-template-columns: 1fr;
  }
  
  .journey-stages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .icp-container {
    padding: 0.5rem;
  }
  
  .icp-header,
  .quiz-header,
  .test-header,
  .content-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
  }
  
  /* Accordion responsive */
  .two-column-grid {
    grid-template-columns: 1fr;
  }
  
  .accordion-header {
    padding: 1rem;
  }
  
  .accordion-item.is-open .accordion-content {
    padding: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid-actions,
  .saved-actions {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .action-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .chat-container {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .welcome-content {
    padding: 2rem 1.5rem;
  }
  
  .welcome-content h1 {
    font-size: 2rem;
  }
  
  .welcome-content p {
    font-size: 1rem;
  }
  
  .header-content h1 {
    font-size: 1.5rem;
  }
  
  .question-title {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  
  .btn-primary-large {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Animation utilities */
.animate-spin {
  animation: spin 1s linear infinite !important;
  transform-origin: center;
}

.animate-pulse-vertical {
  animation: pulse-vertical 2s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-vertical {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* Custom scrollbar for chat */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ===== VALIDATE PAGE STYLES ===== */
.validate-header {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  background: white;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid transparent;
}

.tab-btn:first-child {
  border-radius: 12px 0 0 0;
}

.tab-btn:last-child {
  border-radius: 0 12px 0 0;
}

.tab-btn:hover {
  background: #f9fafb;
  color: #374151;
}

.tab-btn.active {
  background: #f3f4f6;
  color: #1f2937;
  border-bottom-color: #3b82f6;
}

.tab-btn.active svg {
  color: #3b82f6;
}

/* Tab Content */
.tab-content {
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.tab-pane {
  padding: 2rem;
}

.tab-pane:not(.active) {
  display: none;
}

.validate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.validation-inputs,
.validation-feedback {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Feedback Grid Layout */
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.feedback-section,
.suggestions-section {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

/* Grid header spans both columns */
.grid-header {
  grid-column: 1 / -1;
  margin-bottom: 2rem;
}

/* Thinking hats items in 2-column grid */
.thinking-hats-section {
  grid-column: 1 / -1;
}

.thinking-hats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.thinking-hat-section {
  margin-bottom: 0;
}

/* Thinking Hat List Styles */
.thinking-hat-list {
  list-style: disc !important;
  list-style-type: disc !important;
  padding: 0;
  margin: 0;
}

.thinking-hat-item {
  list-style-type: disc !important;
  display: list-item !important;
  margin-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Fallback for existing thinking-hat-section ul li selector */
.thinking-hat-section ul li {
  list-style-type: disc !important;
  display: list-item !important;
  margin-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Responsive design for feedback grid */
@media (max-width: 768px) {
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.validation-inputs .section-header,
.validation-feedback .section-header {
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.validation-form-container {
  padding: 1.5rem;
}

.validation-form .form-group {
  margin-bottom: 1.5rem;
}

.validation-form .form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.validation-form .form-textarea,
.validation-form .form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.validation-form .form-textarea:focus,
.validation-form .form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.validation-form .form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* No Feedback State */
.no-feedback-state {
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-state {
  max-width: 300px;
  margin: 0 auto;
}

.empty-icon {
  width: 4rem;
  height: 4rem;
  color: #9ca3af;
  margin: 0 auto 1rem;
}

.empty-state h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
}

.empty-state p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* Validation Results */
.validation-results {
  padding: 1.5rem;
}

.validation-score-section {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.score-display {
  margin-bottom: 1rem;
}

.score-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.score-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

/* Score Colors */
.score-excellent .score-number { color: #059669; }
.score-good .score-number { color: #3b82f6; }
.score-average .score-number { color: #f59e0b; }
.score-poor .score-number { color: #ef4444; }
.score-very-poor .score-number { color: #dc2626; }

.feedback-section,
.strengths-section,
.weaknesses-section,
.suggestions-section {
  margin-bottom: 1.5rem;
}

.feedback-section h3,
.strengths-section h3,
.weaknesses-section h3,
.suggestions-section h3 {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.75rem 0;
}

.feedback-text {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.strengths-list,
.weaknesses-list,
.suggestions-list {
  list-style-type: disc;
  padding: 0;
  margin: 0;
}

.strength-item,
.weakness-item,
.suggestion-item {
  /*padding: 0.75rem;*/
  background: #f8fafc;
  border-radius: 6px;
  margin-left: 2.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.strength-item {
  /*border-left: 3px solid #10b981;*/
}

.weakness-item {
  /*border-left: 3px solid #f59e0b;*/
}

.suggestion-item {
  /*border-left: 3px solid #3b82f6;*/
}

/* Recent Validations Section */
.recent-validations-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.recent-validations-section .section-header {
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.validations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.validation-card {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.validation-card:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.validation-card .validation-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.validation-card .validation-score {
  background: white;
  border-radius: 6px;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  min-width: 3rem;
  text-align: center;
}

.validation-card .validation-meta {
  flex: 1;
}

.validation-card .validation-type {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.validation-card .validation-date {
  color: #6b7280;
  font-size: 0.75rem;
}

.validation-card .validation-preview {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-spinner {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loading-spinner span {
  color: #6b7280;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .validate-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .validations-grid {
    grid-template-columns: 1fr;
  }
  
  .validate-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  /* Tab responsive design */
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  
  .tab-pane {
    padding: 1rem;
  }
  
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .thinking-hats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
}
.job-listing strong {
  font-size: 1.4rem;
}

.job-listing-company {
  display: inline-flex;
  align-items: center;
}

.job-listing-company, .job-listing-company strong {
  font-size: 0.8rem;
}

.job-listing-company > div {
}

.job-listing a {
  color: rgba(128, 128, 255, 0.9);
}

.job-listing a svg {
  max-width: 16px;
  display: inline;
  margin-right: 8px;
}

.job-listing > div:nth-child(3) div {
  font-size: 0.8rem;
  border-bottom: 1px solid #efefef;
  padding: 8px 8px 8px 8px;
}

.job-listing > div:nth-child(3) div svg {
  max-width: 16px;
  float: left;
  margin-right: 8px;
}

.job-listings .filters .filter-controls {
  width: 80%;
}

.job-listings .filters .filter-controls > div {
  float: left;
}

.job-listings .filters .filter-controls > div label {
  display: block;
}

.job-listings .filters .filter-apply {
  width: 20%;
  text-align: center;
  vertical-align: middle;
}

.input-container {
  position: relative;
  width: 300px; /* Adjust width as necessary */
}

.job-listings .filters .search-box {
  width: 100%;
  padding: 8px 30px 8px 10px !important; /* Padding accounts for the icon */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.clear-icon {
  position: absolute;
  right: 10px;
  top: 35%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
  display: none; /* Initially hidden */
  color: #888;
}





.job-listings .filters {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #efefef;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    margin: 20px auto;
}

.job-listings .filters form {
    display: flex;
    flex-direction: column;
}

.job-listings .filters label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.job-listings .filters .form-control {
    padding: 8px 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.job-listings .filters .form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.job-listings .filters .z-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: fit-content;
    align-self: flex-start;
}

.job-listings .filters .z-button:hover {
    background-color: #0056b3;
}

.job-listings .filters a {
    margin-top: 10px;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
}

.job-listings .filters a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .job-listings .filters form {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .job-listings .filters .mb-3, .filters .form-group {
        flex-basis: calc(50% - 20px);
        margin-right: 20px;
    }

    .job-listings .filters .mb-3:last-child, .filters .form-group:last-child {
        margin-right: 0;
    }
}

/* ============================================
   LAUNCHPAD V2 DESIGN SYSTEM — Full Rewrite
   Fixed sidebar + forest/gold aesthetic
   Scoped under body.lp-v2
   ============================================ */

/* --- Design Tokens --- */
body.lp-v2 {
  --gold: #e6c05a;
  --gold-dark: #b8922e;
  --gold-subtle: #fdf8ea;
  --gold-glow: rgba(230, 192, 90, 0.15);
  --gold-hover: #d4af4a;
  --gold-light: #faf3dc;
  --forest: #1a3a2a;
  --forest-deep: #0f2a1e;
  --forest-light: #2a5a3a;
  --cream: #faf8f2;
  --cream-dark: #f3f0e8;
  --warm-100: #f0ede5;
  --warm-200: #e4e0d7;
  --text-primary: #141210;
  --text-secondary: #635e55;
  --text-muted: #9e9890;
  --v2-border: #e3ded5;
  --v2-border-light: #ece8e0;
  --v2-surface: #ffffff;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(20, 18, 16, 0.08);

  --v2-radius-sm: 13px;
  --v2-radius-md: 20px;
  --v2-radius-lg: 20px;
  --v2-radius-pill: 100px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --v2-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --v2-font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --v2-font-display: 'DM Serif Display', Georgia, serif;

  --sidebar-width: 270px;
}

/* --- Base --- */
body.lp-v2 {
  background: var(--cream);
  font-family: var(--v2-font);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* Hide the topbar on V2 pages */
body.lp-v2 .topbar {
  display: none;
}

/* Hide the floating menu panel on V2 pages (sidebar replaces it) */
body.lp-v2 .menu-panel,
body.lp-v2 .menu-backdrop {
  display: none;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */

body.lp-v2 .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 50%, #1e4a34 100%);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
  padding: 28px 0;
}

/* Gold ambient glow — larger and more visible */
body.lp-v2 .sidebar::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(230, 192, 90, 0.12) 0%, rgba(230, 192, 90, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

/* Logo */
body.lp-v2 .sidebar-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 44px;
  padding: 0 26px;
  position: relative;
  z-index: 1;
}

body.lp-v2 .sidebar-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 21px;
  font-family: var(--v2-font-display);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(230, 192, 90, 0.25);
}

body.lp-v2 .sidebar-logo-text {
  font-family: var(--v2-font);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.4px;
}

/* Nav Links */
body.lp-v2 .sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}

body.lp-v2 .sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 24px;
  border-radius: 13px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

body.lp-v2 .sidebar-link:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

body.lp-v2 .sidebar-link.active {
  color: var(--gold);
  background: rgba(230, 192, 90, 0.1);
  border: 1px solid rgba(230, 192, 90, 0.12);
  font-weight: 600;
}

body.lp-v2 .sidebar-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke-width: 2;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.3s var(--ease-spring);
}

body.lp-v2 .sidebar-link:hover .sidebar-icon {
  opacity: 0.8;
  transform: scale(1.12) rotate(-3deg);
}

body.lp-v2 .sidebar-link.active .sidebar-icon {
  opacity: 1;
}

body.lp-v2 .sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 12px 4px;
}

/* User Section */
body.lp-v2 .sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  margin: 0 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  z-index: 1;
}

body.lp-v2 .sidebar-user:hover {
  background: rgba(255, 255, 255, 0.05);
}

body.lp-v2 .sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(230, 192, 90, 0.2);
}

body.lp-v2 .sidebar-user-info {
  display: flex;
  flex-direction: column;
}

body.lp-v2 .sidebar-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

body.lp-v2 .sidebar-user-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

body.lp-v2 .sidebar-footer {
  padding: 4px 32px 0;
  position: relative;
  z-index: 1;
}

body.lp-v2 .sidebar-signout {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.15s;
}

body.lp-v2 .sidebar-signout:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

body.lp-v2 .main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

body.lp-v2 .page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 36px 100px;
}

/* Shared main-content override for pages still using it */
body.lp-v2 .main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 36px 100px;
}

/* ============================================
   OVERLINE LABEL
   ============================================ */
body.lp-v2 .v2-overline {
  display: block;
  font-family: var(--v2-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}

/* ============================================
   BUTTONS
   ============================================ */
body.lp-v2 .btn-primary,
body.lp-v2 .win-modal-submit {
  background: var(--forest-deep);
  color: #fff;
  border: none;
  border-radius: var(--v2-radius-pill);
  font-family: var(--v2-font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.2s var(--v2-ease);
}

body.lp-v2 .btn-primary:hover,
body.lp-v2 .win-modal-submit:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   GREETING SECTION
   ============================================ */

body.lp-v2 .greeting {
  margin-bottom: 40px;
  position: relative;
}

/* Radial glow behind greeting */
body.lp-v2 .greeting::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -60px;
  width: 320px;
  height: 200px;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body.lp-v2 .g-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

body.lp-v2 .g-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230, 192, 90, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(230, 192, 90, 0); }
}

body.lp-v2 .g-title {
  font-family: var(--v2-font-display);
  font-size: 44px;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

body.lp-v2 .g-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

body.lp-v2 .g-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Waving Hand Animation */
body.lp-v2 .wave {
  display: inline-block;
  animation: wave 2.5s ease-in-out infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* ============================================
   STATUS CARDS
   ============================================ */

body.lp-v2 .status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

body.lp-v2 .sc {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: 20px;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--v2-ease);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* Gold gradient bar at BOTTOM that animates via scaleX */
body.lp-v2 .sc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}

body.lp-v2 .sc:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

body.lp-v2 .sc:hover::after {
  transform: scaleX(1);
}

body.lp-v2 .sc-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: uppercase;
}

body.lp-v2 .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .status-dot--gold {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 192, 90, 0.2);
}

body.lp-v2 .status-dot--green {
  background: #4a9d6e;
  box-shadow: 0 0 0 3px rgba(74, 157, 110, 0.2);
}

body.lp-v2 .status-dot--blue {
  background: #5b8fd9;
  box-shadow: 0 0 0 3px rgba(91, 143, 217, 0.2);
}

body.lp-v2 .sc-val {
  font-family: var(--v2-font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

body.lp-v2 .sc-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

body.lp-v2 .sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-subtle);
  background: var(--forest-deep);
  border-radius: var(--v2-radius-pill);
  text-decoration: none;
  width: fit-content;
  transition: all 0.2s ease;
}

body.lp-v2 .sc-link:hover {
  background: var(--forest);
  transform: translateY(-1px);
}

/* ============================================
   RECOMMENDATIONS CARD
   ============================================ */

body.lp-v2 .reco-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .reco-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--v2-border-light);
}

body.lp-v2 .reco-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.lp-v2 .reco-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

body.lp-v2 .reco-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

body.lp-v2 .reco-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--forest-deep);
  background: var(--gold);
  border-radius: var(--v2-radius-pill);
}

body.lp-v2 .reco-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--v2-font);
  color: var(--forest-deep);
  background: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--v2-ease);
}

body.lp-v2 .reco-view-all:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 192, 90, 0.3);
}

body.lp-v2 .reco-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.lp-v2 .reco-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--v2-radius-sm);
  background: var(--cream);
  border: 1px solid var(--v2-border-light);
  text-decoration: none;
  transition: all 0.25s var(--v2-ease);
}

body.lp-v2 .reco-item:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
  transform: translateX(4px);
}

body.lp-v2 .reco-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .reco-dot--fix { background: #e24b4a; }
body.lp-v2 .reco-dot--optimize { background: var(--gold); }
body.lp-v2 .reco-dot--info { background: #5b8fd9; }
body.lp-v2 .reco-dot--warning { background: #e5a843; }
body.lp-v2 .reco-dot--success { background: #4a9d6e; }

body.lp-v2 .reco-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

body.lp-v2 .reco-action {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
  background: var(--gold-subtle);
  color: var(--gold-dark);
}

/* Pill-shaped category badges on recommendation items (v13 style) */
body.lp-v2 .reco-badge-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}

body.lp-v2 .reco-badge-pill--fix {
  background: #fce8e4;
  color: #9a2c2c;
}

body.lp-v2 .reco-badge-pill--optimize {
  background: #e0f2e4;
  color: var(--forest);
}

body.lp-v2 .reco-badge-pill--info {
  background: var(--gold-subtle);
  color: var(--gold-dark);
}

body.lp-v2 .reco-arrow {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s var(--v2-ease);
}

body.lp-v2 .reco-item:hover .reco-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold-dark);
}

/* ============================================
   ACTION TILES
   ============================================ */

body.lp-v2 .sh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

body.lp-v2 .sh-emoji {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

body.lp-v2 .sh-title {
  font-family: var(--v2-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

body.lp-v2 .actions-2x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

body.lp-v2 .act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 24px 22px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: 20px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--v2-ease);
}

body.lp-v2 .act:hover {
  background: var(--cream-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

body.lp-v2 .act-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--cream);
  border-radius: 16px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}

body.lp-v2 .act--gold .act-icon { background: linear-gradient(135deg, var(--gold-subtle), #f5e6a3); }
body.lp-v2 .act--green .act-icon { background: linear-gradient(135deg, #e8f5ea, #b8dcc0); }
body.lp-v2 .act--blue .act-icon { background: linear-gradient(135deg, #e8f0fc, #b8cef0); }
body.lp-v2 .act--red .act-icon { background: linear-gradient(135deg, #fce8e6, #f0c4be); }

body.lp-v2 .act:hover .act-icon {
  transform: scale(1.12) rotate(-3deg);
}

body.lp-v2 .act-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

body.lp-v2 .act-label {
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
}

body.lp-v2 .act-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

body.lp-v2 .act-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text-muted);
  position: absolute;
  bottom: 18px;
  right: 18px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.3s var(--ease-spring);
}

body.lp-v2 .act:hover .act-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: var(--forest-deep);
  color: var(--gold);
}

/* ============================================
   WIN LOG SECTION (Home Page)
   ============================================ */

body.lp-v2 .log {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

body.lp-v2 .log-head {
  padding: 28px 30px 0;
}

/* Win input overrides inside log card */
body.lp-v2 .log .win-input-row {
  margin: 18px 30px 0;
}

body.lp-v2 .log .win-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  border-radius: 16px;
  padding: 6px 6px 6px 24px;
  border: 2px solid var(--v2-border);
  transition: all 0.25s;
}

body.lp-v2 .log .win-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-glow);
  background: var(--v2-surface);
}

body.lp-v2 .log .win-input-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  font-family: var(--v2-font);
  color: var(--text-primary);
  outline: none;
  padding: 14px 0;
  resize: none;
  box-shadow: none;
}

body.lp-v2 .log .win-input-field:focus {
  outline: none;
  box-shadow: none;
}

body.lp-v2 .log .win-log-btn {
  background: var(--forest-deep);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--v2-font);
  cursor: pointer;
  transition: all 0.2s;
}

body.lp-v2 .log .win-log-btn:hover {
  background: var(--forest);
  transform: scale(1.03);
}

body.lp-v2 .log .win-input-wrap:focus-within .win-log-btn:not(:disabled) {
  color: #fff;
}

/* Log Timeline */
body.lp-v2 .log-timeline {
  margin-top: 22px;
  border-top: 1px solid var(--v2-border);
  padding: 20px 30px 18px;
}

body.lp-v2 .lt-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

body.lp-v2 .lt-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  cursor: pointer;
}

body.lp-v2 .lt-item:last-child {
  padding-bottom: 4px;
}

body.lp-v2 .lt-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14px;
  flex-shrink: 0;
  padding-top: 5px;
}

body.lp-v2 .lt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  transition: transform 0.2s;
}

body.lp-v2 .lt-item:hover .lt-dot {
  transform: scale(1.25);
}

body.lp-v2 .lt-line {
  width: 2px;
  flex: 1;
  background: var(--v2-border);
  margin-top: 6px;
  min-height: 14px;
}

body.lp-v2 .lt-item:last-child .lt-line {
  display: none;
}

body.lp-v2 .lt-body {
  flex: 1;
}

body.lp-v2 .lt-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 2px;
}

body.lp-v2 .lt-time {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   WIN INPUT (shared)
   ============================================ */
body.lp-v2 .win-input-wrap {
  background: var(--cream);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
}

body.lp-v2 .win-input-field {
  font-family: var(--v2-font);
  font-size: 1.2rem;
  background: transparent;
  color: var(--text-primary);
}

body.lp-v2 .win-input-field::placeholder {
  color: var(--text-muted);
}

body.lp-v2 .win-input-field:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--gold);
  border-radius: var(--v2-radius-sm);
}

body.lp-v2 .win-log-btn {
  background: var(--forest-deep);
  color: var(--gold);
  border: none;
  font-family: var(--v2-font);
  font-weight: 600;
  border-radius: var(--v2-radius-pill);
}

body.lp-v2 .win-log-btn:hover {
  background: var(--forest);
}

/* ============================================
   PAGE HEADER (Measure page)
   ============================================ */
body.lp-v2 .page-title {
  font-family: var(--v2-font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
}

body.lp-v2 .page-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

body.lp-v2 .page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

body.lp-v2 .page-header-left {
  flex: 1;
}

body.lp-v2 .page-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* ============================================
   MEASURE PAGE
   ============================================ */

body.lp-v2 .measure-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 24px;
}

body.lp-v2 .measure-card-header {
  margin-bottom: 20px;
}

body.lp-v2 .measure-card-title {
  font-family: var(--v2-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

body.lp-v2 .measure-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Traffic Stats */
body.lp-v2 .measure-traffic-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

body.lp-v2 .measure-stat {
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--v2-border-light);
  border-radius: var(--v2-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--v2-ease);
}

body.lp-v2 .measure-stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}

body.lp-v2 .measure-stat:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

body.lp-v2 .measure-stat:hover::after {
  transform: scaleX(1);
}

body.lp-v2 .measure-stat-value {
  font-family: var(--v2-font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
}

body.lp-v2 .measure-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Status Grid */
body.lp-v2 .measure-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

body.lp-v2 .measure-status-heading {
  font-family: var(--v2-font);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--v2-border-light);
}

body.lp-v2 .measure-status-good { color: #3d8b5e; border-color: #3d8b5e; }
body.lp-v2 .measure-status-attention { color: #c4873b; border-color: #c4873b; }

body.lp-v2 .measure-status-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-light);
  border-radius: var(--v2-radius-sm);
  margin-bottom: 10px;
  transition: all 0.25s var(--v2-ease);
}

body.lp-v2 .measure-status-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

body.lp-v2 .measure-status-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

body.lp-v2 .measure-status-item-good .measure-status-item-icon {
  background: #e8f5ee;
  color: #3d8b5e;
}

body.lp-v2 .measure-status-item-attention .measure-status-item-icon {
  background: #fef3e2;
  color: #c4873b;
}

body.lp-v2 .measure-status-item-info .measure-status-item-icon {
  background: var(--gold-subtle);
  color: var(--gold-dark);
}

body.lp-v2 .measure-status-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

body.lp-v2 .measure-status-item-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Measure Nav Grid */
body.lp-v2 .measure-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

body.lp-v2 .measure-nav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--v2-ease);
}

body.lp-v2 .measure-nav-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}

body.lp-v2 .measure-nav-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

body.lp-v2 .measure-nav-card:hover::after {
  transform: scaleX(1);
}

body.lp-v2 .measure-nav-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--cream);
  border-radius: var(--v2-radius-sm);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}

body.lp-v2 .measure-nav-card:hover .measure-nav-icon {
  transform: scale(1.12) rotate(-3deg);
}

body.lp-v2 .measure-nav-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

body.lp-v2 .measure-nav-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Empty State */
body.lp-v2 .measure-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .measure-empty-state h3 {
  font-family: var(--v2-font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 16px 0 8px;
}

body.lp-v2 .measure-empty-state p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

body.lp-v2 .measure-empty-mini {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-muted);
}

/* Scanning Interstitial */
body.lp-v2 .measure-scanning-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  box-shadow: var(--shadow-md);
}

body.lp-v2 .measure-scanning-title {
  font-family: var(--v2-font-display);
}

body.lp-v2 .measure-progress-fill {
  background: var(--gold);
}

/* Chart container */
body.lp-v2 .measure-chart-container {
  border-radius: var(--v2-radius-sm);
}

/* ============================================
   PAGESPEED PAGE
   ============================================ */

/* Score circles */
body.lp-v2 .measure-score-circle {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--v2-radius-sm);
  min-width: 100px;
}
body.lp-v2 .measure-score-number {
  display: block;
  font-family: var(--v2-font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
}
body.lp-v2 .measure-score-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
body.lp-v2 .score-excellent { background: #e8f5ee; color: #3d8b5e; }
body.lp-v2 .score-average   { background: #fef6e4; color: #b8922e; }
body.lp-v2 .score-poor      { background: #fef2f2; color: #c24a4a; }
body.lp-v2 .score-none      { background: var(--cream-dark); color: var(--text-muted); }

/* Scores grid */
body.lp-v2 .ps-scores-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Metric tiles */
body.lp-v2 .ps-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
body.lp-v2 .ps-metric-tile {
  text-align: center;
  padding: 14px 12px;
  background: var(--cream);
  border: 1px solid var(--v2-border-light);
  border-radius: var(--v2-radius-sm);
}
body.lp-v2 .ps-metric-name {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
body.lp-v2 .ps-metric-value {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-top: 4px;
}
body.lp-v2 .ps-metric-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.35;
}

/* Tab buttons */
body.lp-v2 .ps-tab-btn {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 7px 18px;
  border-radius: var(--v2-radius-pill);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--v2-font);
  transition: all 0.2s var(--v2-ease);
}
body.lp-v2 .ps-tab-btn:hover {
  border-color: var(--gold);
  background: var(--cream-dark);
}
body.lp-v2 .ps-tab-btn.active {
  background: var(--forest-deep);
  color: var(--gold);
  border-color: var(--forest-deep);
}

/* Opportunities & diagnostics accordions */
body.lp-v2 .ps-accordion {
  border: 1px solid var(--v2-border-light);
  border-radius: var(--v2-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
body.lp-v2 .ps-accordion summary {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.15s;
}
body.lp-v2 .ps-accordion summary:hover {
  background: var(--cream);
}
body.lp-v2 .ps-accordion-body {
  padding: 8px 16px 16px;
  border-top: 1px solid var(--v2-border-light);
}
body.lp-v2 .ps-accordion-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 10px;
}
body.lp-v2 .ps-accordion table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
body.lp-v2 .ps-accordion td {
  padding: 5px 0;
  border-bottom: 1px solid var(--v2-border-light);
  color: var(--text-secondary);
}
body.lp-v2 .ps-accordion td:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--text-muted);
  padding-left: 12px;
}

/* Impact pills */
body.lp-v2 .ps-impact-high   { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: var(--v2-radius-pill); background: #fef2f2; color: #c24a4a; }
body.lp-v2 .ps-impact-medium { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: var(--v2-radius-pill); background: #fef6e4; color: #b8922e; }
body.lp-v2 .ps-impact-low    { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: var(--v2-radius-pill); background: #e8f5ee; color: #3d8b5e; }

/* SEO audit checklist */
body.lp-v2 .ps-audit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--cream);
  border: 1px solid var(--v2-border-light);
  border-radius: var(--v2-radius-sm);
  font-size: 14px;
  color: var(--text-primary);
}

/* AI recommendations — V2 overrides */
body.lp-v2 .rec-progress-bar {
  background: var(--gold);
}
body.lp-v2 .rec-impact-high   { background: #fef2f2; color: #c24a4a; }
body.lp-v2 .rec-impact-medium { background: #fef6e4; color: #b8922e; }
body.lp-v2 .rec-impact-low    { background: #e8f5ee; color: #3d8b5e; }

/* Rating colors */
body.lp-v2 .rating-good                { color: #3d8b5e; }
body.lp-v2 .rating-needs-improvement   { color: #b8922e; }
body.lp-v2 .rating-poor                { color: #c24a4a; }
body.lp-v2 .rating-none                { color: var(--text-muted); }

/* ============================================
   PAGESPEED — REDESIGNED (Radial)
   ============================================ */

/* Shared card base for pagespeed sections (matches mockup .card) */
body.lp-v2 .ps-card {
  background: #fff;
  border: 1px solid #e3ded5;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
  margin-bottom: 28px;
  transition: border-color 0.25s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
}
body.lp-v2 .ps-card:hover {
  border-color: #e6c05a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.04);
}

/* Score Hero */
body.lp-v2 .ps-score-hero {
  padding: 32px 0 32px 32px;
  overflow: hidden;
}
body.lp-v2 .ps-score-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: stretch;
}
body.lp-v2 .ps-hero-divider {
  width: 1px;
  background: #e3ded5;
  align-self: stretch;
  margin: -32px 0;
}
body.lp-v2 .ps-ring-col {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 20px;
}
body.lp-v2 .ps-ring-container {
  position: relative; width: 140px; height: 140px; margin: 0 auto 16px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.4s ease;
}
body.lp-v2 .ps-ring-container svg { transform: rotate(-90deg); }
body.lp-v2 .ps-ring-col:hover .ps-ring-container {
  transform: scale(1.06);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.12));
}
body.lp-v2 .ps-ring-score {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
body.lp-v2 .ps-ring-number {
  font-family: 'DM Serif Display', serif;
  font-size: 40px; font-weight: 700; line-height: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.lp-v2 .ps-ring-col:hover .ps-ring-number {
  transform: scale(1.15);
}
body.lp-v2 .ps-ring-of-100 {
  font-size: 11px; color: var(--text-muted); margin-top: 2px;
}
body.lp-v2 .ps-ring-label {
  font-size: 23px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px;
}
body.lp-v2 .ps-ring-time {
  font-size: 20px; color: var(--text-secondary); margin-bottom: 8px;
}
body.lp-v2 .ps-ring-change {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
}
body.lp-v2 .ps-ring-change.up { background: #e0f2e4; color: #34a853; }
body.lp-v2 .ps-ring-change.down { background: #fce8e4; color: #e04040; }
body.lp-v2 .ps-ring-change.flat { background: #f0ede5; color: var(--text-muted); }

/* Status column — gradient fills the entire right side of the card */
body.lp-v2 .ps-status-col {
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 36px;
  margin: -32px 0;
  background: linear-gradient(135deg, #fdf8ea 0%, rgba(230,192,90,0.12) 100%);
  min-height: 240px;
  position: relative;
}
body.lp-v2 .ps-status-scan-pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; align-self: flex-start;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(230,192,90,0.4);
  font-size: 12px; font-weight: 600;
  color: var(--gold-dark);
  backdrop-filter: blur(4px);
}
body.lp-v2 .ps-status-scan-pill svg { opacity: 0.8; }
body.lp-v2 .ps-status-emoji { font-size: 32px; margin-bottom: 10px; }
body.lp-v2 .ps-status-title {
  font-family: 'DM Serif Display', serif; font-size: 20px;
  font-weight: 400; color: var(--text-primary); margin-bottom: 6px;
}
body.lp-v2 .ps-status-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.5;
}

/* Ring animation */
@keyframes psRingDraw { from { stroke-dasharray: 0 339.29; } }
body.lp-v2 .ps-ring-arc { animation: psRingDraw 1.2s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }

/* Speed Over Time chart */
body.lp-v2 .ps-chart-card { padding: 28px; }
body.lp-v2 .ps-chart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
body.lp-v2 .ps-chart-title-area {
  display: flex; align-items: center; gap: 16px;
}
body.lp-v2 .ps-chart-emoji {
  width: 44px; height: 44px; border-radius: 13px;
  background: #fdf8ea; display: flex;
  align-items: center; justify-content: center; font-size: 22px;
}
body.lp-v2 .ps-chart-title { font-size: 18px; font-weight: 700; }

body.lp-v2 .ps-tabs-pill {
  display: flex; gap: 4px; background: #f0ede5;
  padding: 4px; border-radius: 13px; width: fit-content;
}
body.lp-v2 .ps-tab-pill {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 8px 18px; cursor: pointer; transition: all 0.15s;
  border-radius: 10px; background: none; border: none;
  font-family: 'DM Sans', sans-serif;
}
body.lp-v2 .ps-tab-pill:hover { color: var(--text-primary); }
body.lp-v2 .ps-tab-pill.active {
  color: var(--text-primary); background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
}

body.lp-v2 .ps-chart-legend {
  display: flex; gap: 20px; margin-bottom: 20px;
}
body.lp-v2 .ps-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
body.lp-v2 .ps-legend-line { width: 20px; height: 3px; border-radius: 2px; }
body.lp-v2 .ps-legend-line.desktop { background: #1a3a2a; }
body.lp-v2 .ps-legend-line.mobile { background: #e6c05a; }

body.lp-v2 .ps-chart-wrap { width: 100%; }
body.lp-v2 .ps-chart-wrap svg { display: block; width: 100%; height: auto; }

/* Improvements section */
body.lp-v2 .ps-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 6px; margin-top: 12px;
}
body.lp-v2 .ps-section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; font-weight: 400;
}
body.lp-v2 .ps-section-badge {
  display: inline-flex; align-items: center;
  background: #f0ede5; color: var(--text-secondary);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
}

/* Savings bar */
body.lp-v2 .ps-savings-bar {
  background: linear-gradient(135deg, #0f2a1e 0%, #1a4a2e 50%, #1e5a36 100%);
  border-radius: 16px; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 20px; margin-top: 16px;
  position: relative; overflow: hidden;
}
body.lp-v2 .ps-savings-bar::before {
  content: ''; position: absolute; top: -20px; right: 10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(52,168,83,0.15) 0%, transparent 65%);
  pointer-events: none;
}
body.lp-v2 .ps-savings-bar::after {
  content: ''; position: absolute; bottom: -30px; left: 20%;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(230,192,90,0.1) 0%, transparent 65%);
  pointer-events: none;
}
body.lp-v2 .ps-savings-left {
  font-size: 16px; font-weight: 700; color: #fff; position: relative; z-index: 1;
}
body.lp-v2 .ps-savings-right {
  font-size: 14px; font-weight: 600; color: #34a853;
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 6px;
}
body.lp-v2 .ps-savings-glow {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #34a853;
  box-shadow: 0 0 8px rgba(52,168,83,0.6);
  animation: pulse 2s ease-in-out infinite;
}

/* Improvement cards */
body.lp-v2 .ps-improvement-list {
  display: flex; flex-direction: column; gap: 0; margin-bottom: 28px;
}
body.lp-v2 .ps-improvement-card {
  background: #fff;
  border: 1px solid #e3ded5;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
  overflow: hidden;
  transition: border-color 0.25s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
  margin-bottom: 0;
}
body.lp-v2 .ps-improvement-card:hover {
  border-color: #e6c05a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.04);
}
/* Stack cards without double borders */
body.lp-v2 .ps-improvement-card + .ps-improvement-card {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
body.lp-v2 .ps-improvement-card:not(:last-child) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
body.lp-v2 .ps-improvement-card:first-child {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
body.lp-v2 .ps-improvement-card:last-child {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

body.lp-v2 .ps-improvement-header {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; cursor: pointer; user-select: none;
  transition: background 0.15s ease;
}
body.lp-v2 .ps-improvement-header:hover { background: #fdfcfa; }

body.lp-v2 .ps-priority-circle {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
body.lp-v2 .priority-circle--green { background: #34a853; }
body.lp-v2 .priority-circle--gold { background: #b8922e; }
body.lp-v2 .priority-circle--red { background: #e04040; }

body.lp-v2 .ps-improvement-title {
  flex: 1; font-size: 15px; font-weight: 600; color: var(--text-primary);
}

body.lp-v2 .ps-improvement-pills {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
body.lp-v2 .ps-points-pill {
  padding: 3px 10px; font-size: 11px; font-weight: 700;
  background: #e0f2e4; color: #34a853;
  border-radius: 100px; display: inline-flex; align-items: center;
}

body.lp-v2 .ps-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform 0.3s ease; color: var(--text-muted);
}
body.lp-v2 .ps-improvement-card.open .ps-chevron { transform: rotate(180deg); }

body.lp-v2 .ps-improvement-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px 0 66px; font-size: 16px;
}
body.lp-v2 .ps-improvement-card.open .ps-improvement-body {
  max-height: 800px; padding: 0 20px 20px 66px;
}

body.lp-v2 .ps-improvement-desc {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 14px;
}

body.lp-v2 .ps-affected-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px;
}
body.lp-v2 .ps-affected-table { width: 100%; border-collapse: collapse; }
body.lp-v2 .ps-affected-table tr { border-bottom: 1px solid var(--v2-surface-alt); }
body.lp-v2 .ps-affected-table tr:last-child { border-bottom: none; }
body.lp-v2 .ps-affected-table td { padding: 6px 0; font-size: 14px; }
body.lp-v2 .ps-affected-url {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px; color: var(--text-muted);
  max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.lp-v2 .ps-affected-bytes {
  text-align: right; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); white-space: nowrap;
}

body.lp-v2 .ps-action-row {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  flex-wrap: wrap; margin-top: 14px;
}
body.lp-v2 .ps-btn-guide {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 100px; font-size: 15px;
  font-weight: 600; border: none; cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none; line-height: 1.3;
  background: #141210; color: #fff;
}
body.lp-v2 .ps-btn-guide:hover {
  background: #000; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
body.lp-v2 .ps-btn-guide-arrow {
  transition: transform 0.2s;
}
body.lp-v2 .ps-btn-guide:hover .ps-btn-guide-arrow {
  transform: translateX(3px);
}

/* CTA Banner */
body.lp-v2 .ps-cta-banner {
  display: flex; align-items: center; gap: 20px;
  border-radius: 20px; padding: 28px 32px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #b8922e 0%, #e6c05a 50%, #d4af4a 100%);
  box-shadow: 0 4px 20px rgba(230,192,90,0.2);
}
body.lp-v2 .ps-cta-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(230,192,90,0.35);
}
body.lp-v2 .ps-cta-banner::before {
  content: ''; position: absolute; pointer-events: none;
  top: -30px; right: 5%; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
}
body.lp-v2 .ps-cta-num {
  font-family: 'DM Serif Display', serif; font-size: 56px;
  letter-spacing: -2px; line-height: 1; position: relative; flex-shrink: 0;
  color: #0f2a1e;
}
body.lp-v2 .ps-cta-body { flex: 1; position: relative; }
body.lp-v2 .ps-cta-title {
  font-size: 20px; font-weight: 700; margin-bottom: 4px; color: #0f2a1e;
}
body.lp-v2 .ps-cta-desc {
  font-size: 14px; color: rgba(15,42,30,0.6);
}
body.lp-v2 .ps-cta-btn {
  padding: 12px 28px; border-radius: var(--v2-radius-pill);
  border: 2px solid rgba(15,42,30,0.2); background: rgba(15,42,30,0.1);
  color: #0f2a1e; font-family: 'DM Sans', sans-serif; font-size: 14px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: all 0.2s;
}
body.lp-v2 .ps-cta-btn:hover {
  background: rgba(15,42,30,0.15); border-color: rgba(15,42,30,0.35);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 800px) {
  body.lp-v2 .ps-score-hero { padding: 32px; }
  body.lp-v2 .ps-score-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  body.lp-v2 .ps-hero-divider { width: 100%; height: 1px; }
  body.lp-v2 .ps-status-col { margin: 0; border-radius: 13px; padding: 24px 28px; }
  body.lp-v2 .ps-chart-header { flex-direction: column; align-items: flex-start; }
  body.lp-v2 .ps-improvement-header { flex-wrap: wrap; }
  body.lp-v2 .ps-improvement-body { padding-left: 20px !important; }
  body.lp-v2 .ps-cta-banner { flex-direction: column; text-align: center; }
}

/* ============================================
   WINS PAGE
   ============================================ */

/* Header */
body.lp-v2 .win-log-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 24px;
}

body.lp-v2 .win-log-header .v2-overline {
  flex-basis: 100%;
  margin-bottom: 0;
}

body.lp-v2 .win-log-header h1 {
  font-family: var(--v2-font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
}

/* Stats Row */
body.lp-v2 .win-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

body.lp-v2 .win-stat-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--v2-ease);
}

/* Gold bar at bottom with scaleX animation */
body.lp-v2 .win-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}

body.lp-v2 .win-stat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

body.lp-v2 .win-stat-card:hover::after {
  transform: scaleX(1);
}

body.lp-v2 .win-stat-value {
  font-family: var(--v2-font-display);
  font-size: 1.75rem;
  color: var(--text-primary);
  line-height: 1;
}

body.lp-v2 .win-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
}

body.lp-v2 .win-stat-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Filter Row */
body.lp-v2 .win-filter-row {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

body.lp-v2 .win-filter-separator {
  width: 1px;
  height: 24px;
  background: var(--v2-border);
  margin: 0 4px;
}

/* Period Pills */
body.lp-v2 .win-period-pill {
  padding: 6px 16px;
  border-radius: var(--v2-radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--v2-border);
  background: transparent;
  transition: all 0.2s var(--v2-ease);
}

body.lp-v2 .win-period-pill:hover {
  background: var(--cream-dark);
  border-color: var(--gold);
  color: var(--text-primary);
}

body.lp-v2 .win-period-pill.active {
  background: var(--forest-deep);
  color: var(--gold);
  border-color: var(--forest-deep);
  font-weight: 600;
}

/* Category Filter Pills */
body.lp-v2 .win-category-pill-filter {
  padding: 5px 14px;
  border-radius: var(--v2-radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--v2-border);
  transition: all 0.2s var(--v2-ease);
}

body.lp-v2 .win-category-pill-filter:hover {
  border-color: var(--cat-color, var(--gold));
  background: var(--cream-dark);
}

body.lp-v2 .win-category-pill-filter.active {
  background: var(--cat-color, var(--gold));
  color: #fff;
  border-color: var(--cat-color, var(--gold));
}

/* Search */
body.lp-v2 .win-search-input {
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-pill);
  padding: 6px 16px;
  font-family: var(--v2-font);
  font-size: 1.2rem;
  background: var(--cream);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.lp-v2 .win-search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

body.lp-v2 .win-search-input::placeholder {
  color: var(--text-muted);
}

/* Win List */
body.lp-v2 .win-list {
  margin-bottom: 28px;
}

body.lp-v2 .win-date-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0 10px;
}

body.lp-v2 .win-date-label {
  font-family: var(--v2-font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  white-space: nowrap;
}

body.lp-v2 .win-date-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

body.lp-v2 .win-date-line {
  flex: 1;
  height: 1px;
  background: var(--v2-border);
}

/* Win List Items */
body.lp-v2 .win-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--v2-ease);
}

body.lp-v2 .win-list-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

body.lp-v2 .win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

body.lp-v2 .win-list-headline {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
}

body.lp-v2 .win-list-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

body.lp-v2 .win-list-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

body.lp-v2 .win-category-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--v2-radius-pill);
}

body.lp-v2 .win-report-badge {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 2px 8px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-pill);
}

body.lp-v2 .win-edit-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s, color 0.15s;
}

body.lp-v2 .win-list-item:hover .win-edit-link {
  opacity: 1;
}

body.lp-v2 .win-edit-link:hover {
  color: var(--gold-dark);
}

/* Empty State */
body.lp-v2 .win-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
}

body.lp-v2 .win-empty-state a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* AI Insights Card */
body.lp-v2 .win-insights-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .win-insights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

body.lp-v2 .win-insights-header > span:first-child {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

body.lp-v2 .win-insights-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

body.lp-v2 .win-insight-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

body.lp-v2 .win-insight-bar-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  width: 100px;
  flex-shrink: 0;
}

body.lp-v2 .win-insight-bar-track {
  flex: 1;
  height: 8px;
  background: var(--cream-dark);
  border-radius: var(--v2-radius-pill);
  overflow: hidden;
}

body.lp-v2 .win-insight-bar-fill {
  height: 100%;
  border-radius: var(--v2-radius-pill);
  transition: width 0.5s var(--v2-ease);
}

body.lp-v2 .win-insight-bar-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  width: 30px;
  text-align: right;
}

body.lp-v2 .win-insights-text {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   WIN MODAL
   ============================================ */
body.lp-v2 .win-modal-backdrop {
  background: rgba(20, 18, 16, 0.45);
  backdrop-filter: blur(4px);
}

body.lp-v2 .win-modal {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--v2-font);
}

body.lp-v2 .win-modal-header h3 {
  font-family: var(--v2-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
}

body.lp-v2 .win-modal-close {
  color: var(--text-muted);
}

body.lp-v2 .win-modal-close:hover {
  color: var(--text-primary);
}

body.lp-v2 .win-modal-headline,
body.lp-v2 .win-modal-note {
  font-family: var(--v2-font);
  font-size: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  color: var(--text-primary);
  padding: 14px 16px;
}

body.lp-v2 .win-modal-headline:focus,
body.lp-v2 .win-modal-note:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

body.lp-v2 .win-modal-headline::placeholder,
body.lp-v2 .win-modal-note::placeholder {
  color: var(--text-muted);
}

body.lp-v2 .win-modal-categories-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

body.lp-v2 .win-category-input {
  font-family: var(--v2-font);
  font-size: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  color: var(--text-primary);
}

body.lp-v2 .win-category-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

body.lp-v2 .win-category-dropdown {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  box-shadow: var(--shadow-md);
}

body.lp-v2 .win-category-option:hover {
  background: var(--cream);
}

body.lp-v2 .win-modal-footer {
  border-top: 1px solid var(--v2-border-light);
}

/* Coaching Section */
body.lp-v2 .win-coaching-header {
  color: var(--gold-dark);
}

body.lp-v2 .win-coaching-title {
  font-weight: 600;
  color: var(--text-primary);
}

body.lp-v2 .win-coaching-subtitle {
  color: var(--text-secondary);
}

body.lp-v2 .win-coaching-keep {
  color: var(--text-muted);
  font-family: var(--v2-font);
}

body.lp-v2 .win-coaching-keep:hover {
  color: var(--text-primary);
}

/* Celebration */
body.lp-v2 .win-celebration {
  background: var(--gold-subtle);
  border-color: var(--gold);
}

body.lp-v2 .win-celebration-icon {
  color: var(--gold);
}

body.lp-v2 .win-celebration-message {
  color: var(--text-primary);
  font-weight: 600;
}

body.lp-v2 .win-celebration-sub {
  color: var(--text-secondary);
}

/* Duplicate Warning */
body.lp-v2 .win-duplicate-warning {
  background: #fef3e2;
  border-color: #e5a843;
  border-radius: var(--v2-radius-sm);
}

body.lp-v2 .win-dup-btn {
  background: var(--forest-deep);
  color: var(--gold);
  border-radius: var(--v2-radius-pill);
  font-family: var(--v2-font);
  font-weight: 600;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
body.lp-v2 .flash-messages {
  margin-left: var(--sidebar-width);
}

body.lp-v2 .flash-notice {
  background: #e8f5ee;
  color: #2a5a3a;
  border: 1px solid #b5dcc5;
  border-radius: var(--v2-radius-sm);
}

body.lp-v2 .flash-alert {
  background: #fef3e2;
  color: #8b5a1a;
  border: 1px solid #e5cfa0;
  border-radius: var(--v2-radius-sm);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  body.lp-v2 {
    --sidebar-width: 220px;
  }

  body.lp-v2 .page {
    padding: 40px 28px 60px;
  }
}

@media (max-width: 768px) {
  body.lp-v2 .sidebar {
    display: none;
  }

  body.lp-v2 .main {
    margin-left: 0;
  }

  body.lp-v2 .flash-messages {
    margin-left: 0;
  }

  /* Show topbar and menu on mobile */
  body.lp-v2 .topbar {
    display: grid;
    background: var(--cream);
    border-bottom: 1px solid var(--v2-border);
  }

  body.lp-v2 .menu-panel,
  body.lp-v2 .menu-backdrop {
    display: block;
  }

  body.lp-v2 .logo-trigger {
    color: var(--forest);
  }

  body.lp-v2 .logo-icon {
    background: var(--forest);
    color: var(--gold);
  }

  body.lp-v2 .user-pill {
    background: var(--cream-dark);
    border-color: var(--v2-border);
  }

  body.lp-v2 .user-avatar {
    background: var(--forest);
    color: var(--gold);
  }

  body.lp-v2 .menu-panel {
    background: var(--cream);
    border-color: var(--v2-border);
  }

  body.lp-v2 .menu-nav-card {
    background: var(--v2-surface);
    border-color: var(--v2-border);
    border-radius: var(--v2-radius-sm);
  }

  body.lp-v2 .menu-nav-card:hover {
    border-color: var(--gold);
  }

  body.lp-v2 .menu-nav-card.active {
    border-color: var(--gold);
    background: var(--gold-subtle);
  }

  body.lp-v2 .page {
    padding: 32px 16px 60px;
  }

  body.lp-v2 .g-title {
    font-size: 2rem;
  }

  body.lp-v2 .status-row {
    grid-template-columns: 1fr;
  }

  body.lp-v2 .actions-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  body.lp-v2 .win-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  body.lp-v2 .measure-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.lp-v2 .measure-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body.lp-v2 .g-title {
    font-size: 1.75rem;
  }

  body.lp-v2 .win-stats-row {
    grid-template-columns: 1fr 1fr;
  }

  body.lp-v2 .measure-nav-grid {
    grid-template-columns: 1fr;
  }

  body.lp-v2 .win-log-header h1 {
    font-size: 1.75rem;
  }

  body.lp-v2 .page-title {
    font-size: 1.75rem;
  }
}

/* ============================================
   WELCOME / ONBOARDING PAGES (V2 overrides)
   ============================================ */

/* --- Hide sidebar on welcome flow, show topbar instead --- */
body.lp-v2.welcome-flow .sidebar {
  display: none;
}

body.lp-v2.welcome-flow .main {
  margin-left: 0;
}

/* --- Welcome Top Bar --- */
.welcome-topbar {
  background: linear-gradient(90deg, var(--forest-deep) 0%, var(--forest) 40%, #1e4a34 100%);
}

.welcome-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 18px 32px;
}

/* Welcome page container — narrower, centered */
body.lp-v2 .welcome-page {
  max-width: 680px;
}

/* --- Progress Bar --- */
body.lp-v2.welcome-flow .quiz-progress-bar {
  position: static;
  height: 4px;
  background: var(--warm-100);
  border: none;
  border-radius: 0;
}

body.lp-v2 .quiz-progress-bar {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: 4px;
  background: var(--warm-100);
  border: none;
  border-radius: 0;
  z-index: 50;
}

body.lp-v2 .quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 0 2px 2px 0;
  transition: width 0.4s var(--v2-ease);
}

/* --- Step Tabs --- */
body.lp-v2 .welcome-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-100);
  border-radius: var(--v2-radius-pill);
  padding: 5px;
  margin-bottom: 32px;
}

body.lp-v2 .welcome-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--v2-radius-pill);
  font-family: var(--v2-font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s var(--v2-ease);
  border: none;
  background: transparent;
}

body.lp-v2 .welcome-tab:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.5);
}

body.lp-v2 .welcome-tab.active {
  background: var(--forest-light);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .welcome-tab.completed {
  color: var(--forest-light);
  font-weight: 600;
}

body.lp-v2 .welcome-tab.completed svg {
  stroke: var(--forest-light);
}

body.lp-v2 .welcome-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(230, 192, 90, 0.4);
}

/* --- Quiz Card --- */
body.lp-v2 .quiz-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
  font-family: var(--v2-font);
}

body.lp-v2 .quiz-question {
  font-family: var(--v2-font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.15;
}

body.lp-v2 .quiz-helper {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Input Fields --- */
body.lp-v2 .input-field {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  background: var(--cream);
  font-family: var(--v2-font);
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

body.lp-v2 .input-field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
  background: var(--v2-surface);
}

body.lp-v2 .input-field::placeholder {
  color: var(--text-muted);
}

body.lp-v2 .input-section {
  margin: 20px 0;
}

body.lp-v2 .multi-text-field + .multi-text-field {
  margin-top: 10px;
}

/* --- Buttons --- */
body.lp-v2 .welcome-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

body.lp-v2 .welcome-actions .btn-primary {
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--v2-radius-sm);
}

body.lp-v2 .welcome-skip-link {
  font-family: var(--v2-font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

body.lp-v2 .welcome-skip-link:hover {
  color: var(--text-secondary);
}

/* --- Site Banner (analytics step) --- */
body.lp-v2 .welcome-site-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-light);
  border-radius: var(--v2-radius-sm);
  margin-bottom: 20px;
  font-family: var(--v2-font);
  font-size: 0.9rem;
  color: var(--text-primary);
}

body.lp-v2 .welcome-site-banner svg {
  color: var(--gold-dark);
  flex-shrink: 0;
}

body.lp-v2 .welcome-change-link {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
}

body.lp-v2 .welcome-change-link:hover {
  text-decoration: underline;
}

/* --- Connected Badge --- */
body.lp-v2 .welcome-connected-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #e8f5ee;
  color: var(--forest);
  border: 1px solid #b5dcc5;
  border-radius: var(--v2-radius-sm);
  font-family: var(--v2-font);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 16px 0;
}

body.lp-v2 .welcome-connected-badge svg {
  color: var(--forest-light);
}

/* --- Info Boxes (linkedin/competitors benefits) --- */
body.lp-v2 .welcome-info-box {
  background: var(--cream);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  padding: 18px 20px;
  margin-top: 20px;
  font-family: var(--v2-font);
}

body.lp-v2 .welcome-info-box strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

body.lp-v2 .welcome-info-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.lp-v2 .welcome-info-box li {
  position: relative;
  padding-left: 22px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

body.lp-v2 .welcome-info-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* --- Focus Cards (objective selection) --- */
body.lp-v2 .welcome-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

body.lp-v2 .welcome-focus-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--v2-ease);
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .welcome-focus-card:hover {
  border-color: var(--forest-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

body.lp-v2 .welcome-focus-card.selected {
  background: #e8f5ee;
  border-color: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(42, 90, 58, 0.1);
}

body.lp-v2 .welcome-focus-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--gold-subtle), #f5e6a3);
  border-radius: 13px;
}

body.lp-v2 .welcome-focus-title {
  font-family: var(--v2-font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

body.lp-v2 .welcome-focus-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: left;
}

body.lp-v2 .welcome-focus-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--warm-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--v2-ease);
}

body.lp-v2 .welcome-focus-check svg {
  stroke: var(--warm-200);
}

body.lp-v2 .welcome-focus-card.selected .welcome-focus-check {
  background: var(--forest-light);
}

body.lp-v2 .welcome-focus-card.selected .welcome-focus-check svg {
  stroke: #fff;
}

/* --- Welcome Responsive --- */
@media (max-width: 768px) {
  .welcome-topbar-inner {
    padding: 14px 16px;
  }

  body.lp-v2 .quiz-progress-bar {
    left: 0;
  }

  body.lp-v2 .welcome-tabs {
    flex-wrap: wrap;
  }

  body.lp-v2 .welcome-tab {
    font-size: 0.75rem;
    padding: 7px 10px;
  }

  body.lp-v2 .welcome-focus-grid {
    grid-template-columns: 1fr;
  }

  body.lp-v2 .quiz-card {
    padding: 24px 20px;
  }
}

/* ═══════════════════════════════════════════════
   Channel Strategy Page (mockup-5 design)
   ═══════════════════════════════════════════════ */

/* ── Page header ── */
body.lp-v2 .ch-page-header { margin-bottom: 36px; }

body.lp-v2 .ch-plan-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34a853;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.15s;
}

body.lp-v2 .ch-plan-label:hover { color: #2d8f47; }

body.lp-v2 .ch-plan-arrow {
  transition: transform 0.2s;
}

body.lp-v2 .ch-plan-label:hover .ch-plan-arrow {
  transform: translateX(-3px);
}

body.lp-v2 .ch-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34a853;
  box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.5);
  animation: ch-pulse 2s infinite;
}

@keyframes ch-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

body.lp-v2 .ch-page-title {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: #141210;
  line-height: 1.15;
  margin-bottom: 6px;
}

body.lp-v2 .ch-page-subtitle {
  font-size: 15px;
  color: #635e55;
}

/* ── Cards ── */
body.lp-v2 .ch-card {
  background: #ffffff;
  border: 1px solid #e3ded5;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
}

/* ── Capacity overview ── */
body.lp-v2 .ch-capacity-card {
  padding: 28px;
  margin-bottom: 20px;
}

body.lp-v2 .ch-capacity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

body.lp-v2 .ch-capacity-header-label {
  font-size: 16px;
  font-weight: 700;
  color: #141210;
}

body.lp-v2 .ch-capacity-header-value {
  font-size: 16px;
  font-weight: 700;
  color: #1a3a2a;
}

/* Stacked bar */
body.lp-v2 .ch-stacked-bar-track {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  background: #f0ede5;
  overflow: hidden;
  display: flex;
}

body.lp-v2 .ch-stacked-bar-segment {
  height: 100%;
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 0;
}

/* Legend */
body.lp-v2 .ch-capacity-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}

body.lp-v2 .ch-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #141210;
}

body.lp-v2 .ch-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .ch-legend-count {
  font-weight: 400;
  color: #9e9890;
  margin-left: 2px;
}

/* Coaching pill */
body.lp-v2 .ch-coaching-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  background: #fdf8ea;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #b8922e;
}

/* ── Channel rows ── */
body.lp-v2 .ch-channels-card {
  margin-bottom: 20px;
  overflow: hidden;
}

body.lp-v2 .ch-channel-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #e3ded5;
  transition: background 0.15s, opacity 0.2s;
}

body.lp-v2 .ch-channel-row:last-child {
  border-bottom: none;
}

body.lp-v2 .ch-channel-row:hover {
  background: #faf8f2;
}

/* Disabled (off) row */
body.lp-v2 .ch-channel-row--disabled {
  opacity: 0.4;
}

body.lp-v2 .ch-channel-row--disabled .ch-channel-slider-wrap {
  pointer-events: none;
}

/* Left group */
body.lp-v2 .ch-channel-info {
  flex-shrink: 0;
  width: 160px;
}

body.lp-v2 .ch-channel-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

body.lp-v2 .ch-channel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .ch-channel-name {
  font-size: 15px;
  font-weight: 600;
  color: #141210;
}

/* Frequency badge pill */
body.lp-v2 .ch-freq-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
  margin-left: 20px;
  background: #fdf8ea;
  color: #b8922e;
  border: 1px solid #f5e6a3;
}

body.lp-v2 .ch-freq-badge--off {
  background: #f0ede5;
  color: #9e9890;
  border-color: #e4e0d7;
}

/* Center: slider area */
body.lp-v2 .ch-channel-slider-wrap {
  flex: 1;
  min-width: 0;
}

/* Range input styling */
body.lp-v2 .ch-channel-slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #f0ede5;
  outline: none;
  cursor: pointer;
}

body.lp-v2 .ch-channel-slider-wrap input[type="range"]:disabled {
  cursor: default;
  opacity: 0.5;
}

body.lp-v2 .ch-channel-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--ch-color, #1a3a2a);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  cursor: grab;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.lp-v2 .ch-channel-slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
}

body.lp-v2 .ch-channel-slider-wrap input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

body.lp-v2 .ch-channel-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--ch-color, #1a3a2a);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  cursor: grab;
}

body.lp-v2 .ch-channel-slider-wrap input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: #f0ede5;
  border: none;
}

body.lp-v2 .ch-tick-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 2px;
}

body.lp-v2 .ch-tick-labels span {
  font-size: 14px;
  color: #9e9890;
  text-align: center;
  width: 0;
  display: flex;
  justify-content: center;
}

body.lp-v2 .ch-tick-labels span:first-child { justify-content: flex-start; }
body.lp-v2 .ch-tick-labels span:last-child  { justify-content: flex-end; }

/* Right: toggle switch */
body.lp-v2 .ch-toggle {
  width: 44px;
  height: 26px;
  background: #141210;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

body.lp-v2 .ch-toggle--on {
  background: #34a853;
}

body.lp-v2 .ch-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

body.lp-v2 .ch-toggle--on .ch-toggle-knob {
  transform: translateX(18px);
}

/* ── Auto-save toast (component library style) ── */
body.lp-v2 .ch-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

body.lp-v2 .ch-toast-container.ch-toast--show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.lp-v2 .ch-toast {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e3ded5;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  max-width: 360px;
}

body.lp-v2 .ch-toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .ch-toast-dot.success { background: #34a853; }
body.lp-v2 .ch-toast-dot.error { background: #dc3545; }

body.lp-v2 .ch-toast-body { flex: 1; }

body.lp-v2 .ch-toast-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

body.lp-v2 .ch-toast-desc {
  font-size: 13px;
  color: #9e9890;
}

body.lp-v2 .ch-toast-close {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #9e9890;
  transition: all 0.1s;
  flex-shrink: 0;
}

body.lp-v2 .ch-toast-close:hover {
  background: #f0ede5;
  color: #1a1a1a;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  body.lp-v2 .ch-page-title { font-size: 28px; }
  body.lp-v2 .ch-channel-row { flex-wrap: wrap; gap: 12px; padding: 16px 18px; }
  body.lp-v2 .ch-channel-info { width: auto; flex: 1; }
  body.lp-v2 .ch-channel-slider-wrap { width: 100%; flex: unset; order: 3; }
  body.lp-v2 .ch-toggle { order: 2; }
  body.lp-v2 .ch-capacity-header { flex-direction: column; gap: 4px; align-items: flex-start; }
}

/* ── Back navigation demo layout (temporary — remove after picking one) ── */
body.lp-v2 .ch-back-demos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

body.lp-v2 .ch-back-demo-block {
  background: #ffffff;
  border: 1px solid #e3ded5;
  border-radius: 14px;
  padding: 20px;
}

body.lp-v2 .ch-back-demo-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #0f2a1e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  margin-right: 8px;
}

body.lp-v2 .ch-back-demo-label {
  font-size: 13px;
  font-weight: 600;
  color: #9e9890;
}

body.lp-v2 .ch-back-demo-preview {
  margin-top: 16px;
}

/* ── 1. Breadcrumb trail ── */
body.lp-v2 .ch-back-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

body.lp-v2 .ch-back-breadcrumb a {
  color: #6b665c;
  text-decoration: none;
  transition: color 0.15s;
}

body.lp-v2 .ch-back-breadcrumb a:hover { color: #0f2a1e; }

body.lp-v2 .ch-breadcrumb-sep { color: #c8c3b8; font-size: 13px; }

body.lp-v2 .ch-breadcrumb-current { color: #1a1a1a; font-weight: 600; }

/* ── 2. Arrow + text link ── */
body.lp-v2 .ch-back-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b665c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

body.lp-v2 .ch-back-arrow-link:hover { color: #0f2a1e; }

body.lp-v2 .ch-back-arrow-link svg { transition: transform 0.2s; }

body.lp-v2 .ch-back-arrow-link:hover svg { transform: translateX(-3px); }

/* ── 3. Pill button (Basecamp-style) ── */
body.lp-v2 .ch-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  background: #f0ede5;
  color: #6b665c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: background 0.15s, color 0.15s;
}

body.lp-v2 .ch-back-pill:hover { background: #e3ded5; color: #0f2a1e; }

body.lp-v2 .ch-back-pill svg { transition: transform 0.2s; }

body.lp-v2 .ch-back-pill:hover svg { transform: translateX(-2px); }

/* ── 4. Ghost button ── */
body.lp-v2 .ch-back-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px 7px 12px;
  border-radius: 10px;
  border: 1px solid #e3ded5;
  background: transparent;
  color: #6b665c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

body.lp-v2 .ch-back-ghost:hover {
  border-color: #c8c3b8;
  background: #f9f7f2;
  color: #0f2a1e;
}

/* ── 5. Icon circle ── */
body.lp-v2 .ch-back-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e3ded5;
  background: #ffffff;
  color: #6b665c;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.2s;
}

body.lp-v2 .ch-back-circle:hover {
  border-color: #c8c3b8;
  color: #0f2a1e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body.lp-v2 .ch-back-circle svg { transition: transform 0.2s; }

body.lp-v2 .ch-back-circle:hover svg { transform: translateX(-2px); }

/* ── 6. Context label ── */
body.lp-v2 .ch-back-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b665c;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

body.lp-v2 .ch-back-context:hover { color: #0f2a1e; }

body.lp-v2 .ch-back-context-section { font-weight: 600; }

body.lp-v2 .ch-back-context-divider { color: #c8c3b8; }

body.lp-v2 .ch-back-context-page { color: #9e9890; font-weight: 400; }

body.lp-v2 .ch-back-context svg { transition: transform 0.2s; }

body.lp-v2 .ch-back-context:hover svg { transform: translateX(-2px); }

/* ── 7. Floating badge ── */
body.lp-v2 .ch-back-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px 5px 8px;
  border-radius: 8px;
  background: #0f2a1e;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.15s;
}

body.lp-v2 .ch-back-badge:hover {
  background: #1a3f2e;
  transform: translateX(-2px);
}

/* ── 8. Underline minimal ── */
body.lp-v2 .ch-back-underline {
  color: #9e9890;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

body.lp-v2 .ch-back-underline:hover {
  color: #0f2a1e;
  border-bottom-color: #0f2a1e;
}

/* ── 9. Dog-ear page corner ── */
body.lp-v2 .ch-back-dogear {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
}

body.lp-v2 .ch-back-dogear::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3ded5 50%, transparent 50%);
  transition: width 0.3s ease, height 0.3s ease;
}

body.lp-v2 .ch-back-dogear:hover::before {
  width: 72px;
  height: 72px;
}

body.lp-v2 .ch-back-dogear::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-style: solid;
  border-width: 28px;
  border-color: #0f2a1e #0f2a1e transparent transparent;
  transform: rotate(-90deg);
  transition: border-width 0.3s ease;
}

body.lp-v2 .ch-back-dogear:hover::after {
  border-width: 36px;
}

body.lp-v2 .ch-dogear-text {
  position: absolute;
  top: 12px;
  left: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  transform: rotate(-45deg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  transition: top 0.3s, left 0.3s, font-size 0.3s;
}

body.lp-v2 .ch-back-dogear:hover .ch-dogear-text {
  top: 16px;
  left: 8px;
  font-size: 11px;
}

/* ── 10. Keyboard keycap ── */
body.lp-v2 .ch-back-keycap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #6b665c;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}

body.lp-v2 .ch-back-keycap:hover { color: #0f2a1e; }

body.lp-v2 .ch-keycap-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f0ede5 100%);
  border: 1px solid #d4cfc6;
  border-bottom-width: 3px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #6b665c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: transform 0.1s, border-bottom-width 0.1s, box-shadow 0.1s;
}

body.lp-v2 .ch-back-keycap:hover .ch-keycap-key {
  transform: translateY(1px);
  border-bottom-width: 1px;
  box-shadow: none;
}

body.lp-v2 .ch-keycap-label { transition: color 0.15s; }

/* ── 11. Bookmark ribbon ── */
body.lp-v2 .ch-back-ribbon {
  position: absolute;
  top: -4px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: top 0.25s ease;
}

body.lp-v2 .ch-back-ribbon:hover { top: 0px; }

body.lp-v2 .ch-ribbon-text {
  background: #0f2a1e;
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 10px 8px;
  width: 38px;
  text-align: center;
}

body.lp-v2 .ch-ribbon-tail {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 19px 12px 19px;
  border-color: #0f2a1e #0f2a1e transparent #0f2a1e;
}

body.lp-v2 .ch-back-ribbon:hover .ch-ribbon-text {
  background: #1a3f2e;
}

body.lp-v2 .ch-back-ribbon:hover .ch-ribbon-tail {
  border-color: #1a3f2e #1a3f2e transparent #1a3f2e;
}

/* ── 12. Folder tab ── */
body.lp-v2 .ch-back-tab {
  position: absolute;
  top: 50%;
  left: -2px;
  transform: translateY(-50%) translateX(-100%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 8px 12px;
  background: #f0ede5;
  color: #6b665c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px 0 0 8px;
  border: 1px solid #e3ded5;
  border-right: none;
  transition: transform 0.2s ease, background 0.15s, color 0.15s;
}

body.lp-v2 .ch-back-tab:hover {
  transform: translateY(-50%) translateX(calc(-100% - 4px));
  background: #e3ded5;
  color: #0f2a1e;
}

/* ============================================
   PLAN OVERVIEW PAGE
   ============================================ */

/* Scroll-margin for anchor sections */
body.lp-v2 [id^="sec-"] { scroll-margin-top: 24px; }

/* --- Plan overview layout (page-nav + page) --- */
body.lp-v2 .plan-overview-layout {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

body.lp-v2 .plan-overview-inner {
  display: flex;
  align-items: stretch;
  max-width: 1140px;
  width: 100%;
  margin-left: -240px;
}

/* --- Page Nav (sticky left) --- */
body.lp-v2 .plan-page-nav {
  width: 240px;
  flex-shrink: 0;
  position: relative;
}

body.lp-v2 .plan-page-nav-inner {
  position: sticky;
  top: 48px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

body.lp-v2 .plan-page-nav-inner a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  transition: all 0.15s var(--v2-ease);
  text-align: right;
  justify-content: flex-end;
}

body.lp-v2 .plan-page-nav-inner a:hover {
  color: var(--text-primary);
  background: rgba(26, 58, 42, 0.04);
}

body.lp-v2 .plan-page-nav-inner a.nav-active {
  color: var(--gold-dark);
  background: var(--gold-subtle);
}

body.lp-v2 .plan-page-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 8px 16px 8px;
  margin-bottom: 4px;
  text-align: right;
}

/* --- Plan page content area --- */
body.lp-v2 .plan-page {
  width: 100%;
  max-width: 900px;
  padding: 48px 24px 100px 24px;
}

/* --- Greeting / Page Header --- */
body.lp-v2 .plan-greeting {
  margin-bottom: 36px;
  position: relative;
}

body.lp-v2 .plan-greeting::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -20px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

/* --- Section Headers --- */
body.lp-v2 .plan-sh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

body.lp-v2 .plan-sh-emoji {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid var(--v2-border);
  transition: transform 0.35s var(--ease-spring);
  background: linear-gradient(135deg, var(--gold-subtle), var(--gold-light));
}

body.lp-v2 .plan-sh:hover .plan-sh-emoji {
  transform: scale(1.08) rotate(-3deg);
}

body.lp-v2 .plan-sh h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* --- Shared card --- */
body.lp-v2 .plan-card {
  background: var(--v2-surface);
  border-radius: var(--v2-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--v2-border);
  overflow: hidden;
  transition: all 0.3s var(--v2-ease);
}

/* --- Badge --- */
body.lp-v2 .plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: var(--v2-radius-pill);
}

body.lp-v2 .plan-badge-gold {
  background: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid var(--gold-light);
}

body.lp-v2 .plan-badge-green {
  background: #e0f2e4;
  color: var(--forest);
}

body.lp-v2 .plan-badge-neutral {
  background: var(--warm-100);
  color: var(--text-secondary);
}

/* --- Progress bar --- */
body.lp-v2 .plan-progress-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--warm-100);
  overflow: hidden;
  width: 100%;
}

body.lp-v2 .plan-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition: width 0.5s var(--v2-ease);
}

body.lp-v2 .plan-progress-fill.green {
  background: linear-gradient(90deg, #34a853, #2d8c47);
}

/* --- Buttons --- */
body.lp-v2 .plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--v2-font);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--v2-ease);
  text-decoration: none;
  white-space: nowrap;
}

body.lp-v2 .plan-btn-md {
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 11px;
}

body.lp-v2 .plan-btn-sm {
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 8px;
}

body.lp-v2 .plan-btn-primary {
  background: var(--forest-deep);
  color: #fff;
}

body.lp-v2 .plan-btn-primary:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

body.lp-v2 .plan-btn-ghost {
  background: rgba(26, 58, 42, 0.06);
  color: var(--forest);
}

body.lp-v2 .plan-btn-ghost:hover {
  background: rgba(26, 58, 42, 0.12);
}

/* ============================
   FOUNDATION CARD
   ============================ */
body.lp-v2 .foundation-card { margin-bottom: 28px; }

body.lp-v2 .foundation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--v2-border);
}

body.lp-v2 .foundation-header h3 {
  font-size: 16px;
  font-weight: 700;
}

body.lp-v2 .foundation-progress {
  padding: 14px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--v2-border);
}

body.lp-v2 .foundation-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

body.lp-v2 .foundation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

body.lp-v2 .foundation-cell {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--v2-border);
  cursor: pointer;
  transition: background 0.2s var(--v2-ease);
  background: var(--v2-surface);
  text-decoration: none;
  color: inherit;
}

body.lp-v2 .foundation-cell:last-child { border-right: none; }
body.lp-v2 .foundation-cell:hover:not(.f-disabled) { filter: brightness(0.97); }

body.lp-v2 .foundation-cell.f-todo { background: var(--gold-subtle); }
body.lp-v2 .foundation-cell.f-in-progress { background: var(--gold-subtle); }
body.lp-v2 .foundation-cell.f-done { background: #e0f2e4; }
body.lp-v2 .foundation-cell.f-disabled {
  background: var(--warm-100);
  cursor: default;
}

body.lp-v2 .foundation-cell.f-disabled .foundation-cell-label,
body.lp-v2 .foundation-cell.f-disabled .foundation-cell-sublabel {
  color: var(--text-muted);
}

body.lp-v2 .foundation-cell-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.lp-v2 .circle-status {
  width: 10px;
  height: 10px;
  border: 2px solid var(--v2-border);
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .circle-status.done {
  background: #34a853;
  border-color: #34a853;
  box-shadow: 0 0 6px rgba(52, 168, 83, 0.3);
}

body.lp-v2 .circle-status.in-progress {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 6px rgba(230, 192, 90, 0.3);
}

body.lp-v2 .circle-status.disabled-circle {
  border-color: var(--warm-200);
}

body.lp-v2 .foundation-cell-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

body.lp-v2 .foundation-cell-sublabel {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

body.lp-v2 .foundation-cell .plan-btn {
  align-self: flex-start;
  margin-top: auto;
}

body.lp-v2 .foundation-cell.f-done .foundation-cell-label {
  color: var(--forest);
  font-weight: 600;
}

body.lp-v2 .foundation-cell.f-done .foundation-cell-sublabel {
  color: var(--forest);
  opacity: 0.7;
}

/* ============================
   EMPTY STATE
   ============================ */
body.lp-v2 .plan-empty-state {
  padding: 48px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

body.lp-v2 .plan-empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--warm-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
}

body.lp-v2 .plan-empty-state-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

body.lp-v2 .plan-empty-state-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 380px;
}

body.lp-v2 .plan-empty-state .plan-btn {
  margin-top: 8px;
}

/* Key Dates — horizontal empty state */
body.lp-v2 .kd-empty {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 26px;
}

body.lp-v2 .kd-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--warm-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

body.lp-v2 .kd-empty:hover .kd-empty-icon {
  transform: scale(1.1) rotate(-8deg);
}

body.lp-v2 .kd-empty-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.lp-v2 .kd-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

body.lp-v2 .kd-empty-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 420px;
}

body.lp-v2 .kd-empty-body .plan-btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* Empty state card headers */
body.lp-v2 .plan-empty-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--v2-border);
}

body.lp-v2 .plan-empty-header h3 {
  font-size: 16px;
  font-weight: 700;
}

/* Briefing empty state tabs */
body.lp-v2 .plan-tabs-pill {
  display: flex;
  gap: 6px;
  background: var(--warm-100);
  padding: 4px;
  border-radius: var(--v2-radius-sm);
  width: fit-content;
}

body.lp-v2 .plan-tab-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 20px;
  cursor: default;
  border-radius: 10px;
  background: none;
  border: none;
  font-family: var(--v2-font);
}

body.lp-v2 .plan-tab-pill.active {
  color: var(--text-primary);
  background: var(--v2-surface);
  box-shadow: var(--shadow-sm);
}

/* Pipeline empty header */
body.lp-v2 .plan-pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--v2-border);
}

body.lp-v2 .plan-pipeline-title {
  font-size: 16px;
  font-weight: 700;
}

/* ============================
   STRATEGY ACTION TILES
   ============================ */
body.lp-v2 .strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

body.lp-v2 .action-tile {
  background: var(--v2-surface);
  border-radius: var(--v2-radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--v2-border);
  cursor: pointer;
  transition: all 0.3s var(--v2-ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

body.lp-v2 .action-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.3s;
}

body.lp-v2 .action-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold);
}

body.lp-v2 .action-tile:hover::before { opacity: 1; }

body.lp-v2 .at-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
  border: 1px solid var(--v2-border);
}

body.lp-v2 .action-tile:hover .at-icon {
  transform: scale(1.12) rotate(-3deg);
}

body.lp-v2 .at-icon.gold-bg {
  background: linear-gradient(135deg, var(--gold-subtle), var(--gold-light));
}

body.lp-v2 .at-icon.green-bg {
  background: linear-gradient(135deg, #e8f5ea, #b8dcc0);
}

body.lp-v2 .at-icon.blue-bg {
  background: linear-gradient(135deg, #e8f0fc, #b8cef0);
}

body.lp-v2 .at-body {
  flex: 1;
  padding-top: 2px;
}

body.lp-v2 .at-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}

body.lp-v2 .at-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

body.lp-v2 .at-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--warm-100);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.3s var(--v2-ease);
}

body.lp-v2 .action-tile:hover .at-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================
   KEY DATES — Coming Up Grid + Modal + Datepicker
   ============================ */

/* --- Coming Up card --- */
body.lp-v2 .coming-up-card { margin-bottom: 28px; }

body.lp-v2 .coming-up-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--v2-border);
}

body.lp-v2 .coming-up-header h3 {
  font-size: 16px;
  font-weight: 700;
}

/* --- 4-column grid with divider lines --- */
body.lp-v2 .coming-up-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

body.lp-v2 .coming-up-item {
  padding: 24px 22px;
  border-right: 1px solid var(--v2-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s var(--v2-ease);
}

body.lp-v2 .coming-up-item:last-child { border-right: none; }
body.lp-v2 .coming-up-item:hover { background: var(--cream); }

body.lp-v2 .cu-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

body.lp-v2 .cu-date-number {
  font-family: var(--v2-font-display);
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--text-primary);
}

body.lp-v2 .cu-date-month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

body.lp-v2 .cu-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

body.lp-v2 .cu-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--v2-radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid var(--gold-light);
}

body.lp-v2 .cu-badge.far {
  background: var(--warm-100);
  color: var(--text-secondary);
  border: 1px solid var(--v2-border);
}

/* --- CTA cell (last column) --- */
body.lp-v2 .coming-up-cta {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s var(--v2-ease);
  border-left: 1px dashed var(--v2-border);
}

body.lp-v2 .coming-up-cta:hover { background: var(--cream); }

body.lp-v2 .cu-cta-count {
  font-family: var(--v2-font-display);
  font-size: 28px;
  color: var(--text-muted);
  line-height: 1;
}

body.lp-v2 .cu-cta-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* --- Custom select (event type dropdown) --- */
body.lp-v2 .kd-select {
  position: relative;
  width: 100%;
}

body.lp-v2 .kd-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--v2-font);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--cream);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  gap: 10px;
  box-sizing: border-box;
}

body.lp-v2 .kd-select-trigger:hover {
  border-color: var(--gold);
}

body.lp-v2 .kd-select-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s var(--v2-ease);
  flex-shrink: 0;
}

body.lp-v2 .kd-select.open .kd-select-arrow {
  transform: rotate(180deg);
}

body.lp-v2 .kd-select.open .kd-select-trigger {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
  border-radius: var(--v2-radius-sm) var(--v2-radius-sm) 0 0;
}

body.lp-v2 .kd-select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--v2-surface);
  border: 1px solid var(--gold);
  border-top: 1px solid var(--v2-border);
  border-radius: 0 0 var(--v2-radius-sm) var(--v2-radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 240px;
  overflow-y: auto;
}

body.lp-v2 .kd-select.open .kd-select-options {
  display: block;
}

body.lp-v2 .kd-select-option {
  padding: 12px 18px;
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.1s;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.lp-v2 .kd-select-option:hover {
  background: var(--gold-subtle);
  color: var(--forest);
}

body.lp-v2 .kd-select-option.selected {
  background: var(--gold-subtle);
  color: var(--forest);
  font-weight: 700;
}

body.lp-v2 .kd-select-option.selected::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: auto;
}

/* --- Delete link in footer --- */
body.lp-v2 .kd-delete-link {
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
}

body.lp-v2 .kd-delete-link:hover { color: #c0392b; }

/* --- Delete confirmation overlay (inside modal) --- */
body.lp-v2 .kd-delete-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  border-radius: var(--v2-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

body.lp-v2 .kd-delete-overlay.hidden { display: none; }

body.lp-v2 .kd-delete-dialog {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 32px 36px;
  text-align: center;
  max-width: 320px;
  width: 100%;
}

body.lp-v2 .kd-delete-dialog-title {
  font-family: var(--v2-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

body.lp-v2 .kd-delete-dialog-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

body.lp-v2 .kd-delete-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.lp-v2 .kd-delete-dialog-btn {
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
}

body.lp-v2 .kd-delete-dialog-danger {
  background: #c0392b;
  color: #fff;
}

body.lp-v2 .kd-delete-dialog-danger:hover {
  background: #a93226;
}

body.lp-v2 .kd-delete-dialog-keep {
  background: var(--warm-100);
  color: var(--text-secondary);
}

body.lp-v2 .kd-delete-dialog-keep:hover {
  background: var(--warm-200);
  color: var(--text-primary);
}

/* --- Key date modal --- */
body.lp-v2 .kd-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

body.lp-v2 .kd-modal-backdrop.hidden { display: none; }

body.lp-v2 .kd-modal {
  position: relative;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  font-family: var(--v2-font);
}

body.lp-v2 .kd-modal-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px 0;
}

body.lp-v2 .kd-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

body.lp-v2 .kd-modal-close:hover {
  color: var(--text-primary);
  background: var(--warm-100);
}

body.lp-v2 .kd-modal-body {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.lp-v2 .kd-modal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.lp-v2 .kd-modal-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

body.lp-v2 .kd-modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* --- Custom Datepicker --- */
body.lp-v2 .kd-datepicker {
  background: var(--cream);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  padding: 16px;
}

body.lp-v2 .kd-dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

body.lp-v2 .kd-dp-title {
  font-family: var(--v2-font);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

body.lp-v2 .kd-dp-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--v2-border);
  background: var(--v2-surface);
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

body.lp-v2 .kd-dp-arrow:hover {
  background: var(--warm-100);
  border-color: var(--warm-200);
}

body.lp-v2 .kd-dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

body.lp-v2 .kd-dp-dayname {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0;
}

body.lp-v2 .kd-dp-cell {
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
  line-height: 20px;
}

body.lp-v2 .kd-dp-cell:hover:not(.kd-dp-empty):not(.kd-dp-past) {
  background: var(--warm-100);
}

body.lp-v2 .kd-dp-empty {
  cursor: default;
}

body.lp-v2 .kd-dp-past {
  color: var(--text-muted);
  opacity: 0.4;
  cursor: default;
}

body.lp-v2 .kd-dp-today {
  background: var(--gold-subtle);
  box-shadow: inset 0 0 0 1px var(--gold-light);
}

body.lp-v2 .kd-dp-selected {
  background: var(--forest-deep) !important;
  color: #fff !important;
  font-weight: 700;
}

/* ============================
   PLAN OVERVIEW RESPONSIVE
   ============================ */
@media (max-width: 1100px) {
  body.lp-v2 .plan-page-nav { display: none; }
  body.lp-v2 .plan-overview-inner { margin-left: 0; justify-content: center; }
}

@media (max-width: 900px) {
  body.lp-v2 .foundation-grid { grid-template-columns: repeat(2, 1fr); }
  body.lp-v2 .foundation-cell:nth-child(2) { border-right: none; }
  body.lp-v2 .foundation-cell:nth-child(1),
  body.lp-v2 .foundation-cell:nth-child(2) { border-bottom: 1px solid var(--v2-border); }
  body.lp-v2 .coming-up-grid { grid-template-columns: repeat(2, 1fr); }
  body.lp-v2 .strategy-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════
   PUBLISH PAGE
   ════════════════════════════════════════════════════ */

/* Channel colors */
body.lp-v2 {
  --ch-blog: #34a853;
  --ch-linkedin: #0077b5;
  --ch-newsletter: #e6c05a;
  --ch-webinar: #f59e0b;
  --ch-podcast: #8b5cf6;
}

/* Layout */
body.lp-v2 .publish-layout {
  min-height: 100vh;
  background: var(--cream);
}

body.lp-v2 .publish-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 36px 120px;
}

/* Header row */
body.lp-v2 .pub-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
}

/* Pill tabs — large, colorful */
body.lp-v2 .pub-tabs {
  display: flex;
  gap: 6px;
  background: var(--warm-100, #f0ede5);
  padding: 5px;
  border-radius: var(--v2-radius-md);
  flex-shrink: 0;
}

body.lp-v2 .pub-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 15px;
  background: none;
  font-family: var(--v2-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

body.lp-v2 .pub-tab:hover {
  color: var(--text-primary);
}

body.lp-v2 .pub-tab.active {
  color: var(--forest-deep);
  background: var(--v2-surface);
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .pub-tab svg {
  opacity: 0.5;
  transition: opacity 0.2s;
}

body.lp-v2 .pub-tab.active svg {
  opacity: 1;
}

/* Tab views */
body.lp-v2 .pub-view {
  display: none;
  animation: pubFadeUp 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.lp-v2 .pub-view.active {
  display: block;
}

@keyframes pubFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Pipeline Briefing Card ── */
body.lp-v2 .pub-briefing {
  display: flex;
  gap: 32px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-light);
  border-radius: var(--v2-radius-sm);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .pub-briefing-left {
  flex: 1;
  min-width: 0;
}

body.lp-v2 .pub-briefing-headline {
  font-family: var(--v2-font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
  margin: 0 0 8px;
  font-weight: 400;
}

body.lp-v2 .pub-briefing-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.lp-v2 .pub-briefing-details li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 3px 0;
}

body.lp-v2 .pub-briefing-details li::before {
  content: "\2022";
  color: var(--text-muted);
  margin-right: 8px;
}

body.lp-v2 .pub-briefing-right {
  flex: 1;
  min-width: 0;
}

body.lp-v2 .pub-cadence-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

body.lp-v2 .pub-cadence-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

body.lp-v2 .pub-cadence-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  width: 120px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.lp-v2 .pub-cadence-bar {
  flex: 1;
  height: 8px;
  background: var(--warm-100);
  border-radius: 4px;
  overflow: hidden;
}

body.lp-v2 .pub-cadence-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s var(--v2-ease);
  min-width: 2px;
}

body.lp-v2 .pub-cadence-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

body.lp-v2 .pub-cadence-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

body.lp-v2 .pub-cadence-empty a {
  color: var(--forest-light);
  text-decoration: underline;
}

@media (max-width: 700px) {
  body.lp-v2 .pub-briefing {
    flex-direction: column;
    gap: 20px;
  }
}

/* ── Kanban Board ── */
body.lp-v2 .pub-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

body.lp-v2 .kb-col {
  background: var(--warm-100, #f0ede5);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  padding: 16px;
}

body.lp-v2 .kb-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--v2-border);
}

body.lp-v2 .kb-col-header-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 22px;
  width: 100%;
}

body.lp-v2 .kb-col-title {
  font-size: 22px;
  font-weight: 700;
}

body.lp-v2 .kb-col-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--v2-radius-pill);
  background: var(--v2-surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--v2-border);
}

body.lp-v2 .kb-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

/* Kanban card */
body.lp-v2 .kc {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  padding: 14px;
  cursor: grab;
  transition: all 0.2s var(--v2-ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

body.lp-v2 .kc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

body.lp-v2 .kc:active {
  cursor: grabbing;
}

body.lp-v2 .kc.kc--dragging {
  opacity: 0.4;
  transform: scale(0.95);
}

body.lp-v2 .kc-title {
  font-size: 1.0rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

body.lp-v2 .kc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.lp-v2 .kc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--v2-radius-pill);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.lp-v2 .kc-badge--blog { background: rgba(52,168,83,0.1); color: #1e7a3a; }
body.lp-v2 .kc-badge--linkedin { background: rgba(0,119,181,0.1); color: #005a8c; }
body.lp-v2 .kc-badge--newsletter { background: rgba(230,192,90,0.15); color: var(--gold-dark); }
body.lp-v2 .kc-badge--webinar { background: rgba(245,158,11,0.1); color: #b45309; }
body.lp-v2 .kc-badge--podcast { background: rgba(139,92,246,0.1); color: #6d28d9; }

body.lp-v2 .kc-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

body.lp-v2 .kc-date {
  font-size: 12px;
  color: var(--text-muted);
}

body.lp-v2 .kc-ai {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--v2-radius-pill);
  background: rgba(139,92,246,0.1);
  color: #6d28d9;
}

/* ── Freshness indicator (4-state) ── */
body.lp-v2 .kc-freshness {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 1;
  margin-left: auto;
  white-space: nowrap;
}

body.lp-v2 .kc-freshness--dormant { color: rgba(154,152,144,0.28); }
body.lp-v2 .kc-freshness--aging   { color: rgba(154,152,144,0.60); }

body.lp-v2 .kc-freshness--warning {
  color: #8B6A2A;
}
body.lp-v2 .kc-freshness--warning::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C49A3A;
  flex-shrink: 0;
}

body.lp-v2 .kc-freshness--stale {
  color: #A84848;
  font-weight: 500;
}
body.lp-v2 .kc-freshness--stale::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #A84848;
  flex-shrink: 0;
}

/* Stale card background gradient */
body.lp-v2 .kc[data-freshness="stale"] {
  background: linear-gradient(135deg, #fffbeb 0%, var(--v2-surface) 40%);
}

/* Stale bar at card bottom */
body.lp-v2 .kc-stale-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 14px;
  margin: 8px -14px -14px;
  background: var(--gold-subtle);
  border-top: 0.5px solid var(--gold);
}

body.lp-v2 .kc-stale-bar:hover {
  background: var(--gold-light);
}

body.lp-v2 .kc-stale-bar-text {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.3;
  min-width: 0;
}

body.lp-v2 .kc-stale-bar-arrow {
  font-size: 12px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ── Channel filter pills ── */
body.lp-v2 .kb-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

body.lp-v2 .kb-filter-all {
  padding: 7px 16px;
  border-radius: var(--v2-radius-pill);
  border: 1.5px solid var(--gold);
  background: var(--gold-subtle);
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  cursor: pointer;
  transition: all 0.2s var(--v2-ease);
}

body.lp-v2 .kb-filter-all:hover {
  background: var(--gold-light);
}

body.lp-v2 .kb-filter-all.active {
  background: var(--gold);
  color: var(--forest-deep);
}

body.lp-v2 .kb-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--v2-radius-pill);
  border: 1.5px solid var(--v2-border);
  background: var(--v2-surface);
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--v2-ease);
}

body.lp-v2 .kb-filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .kb-filter:hover:not(.active) {
  border-color: var(--warm-200);
  background: var(--warm-100);
}

body.lp-v2 .kb-filter.active {
  border-color: var(--ch-color);
  background: color-mix(in srgb, var(--ch-color) 8%, white);
  color: var(--text-primary);
}

/* Kanban drop target highlight */
body.lp-v2 .kb-col.kb-col--drag-over {
  background: var(--gold-subtle);
  border-color: var(--gold);
}

/* Kanban drop indicator line */
body.lp-v2 .kb-drop-indicator {
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 4px 0;
  pointer-events: none;
  box-shadow: 0 0 6px var(--gold-glow);
}

/* Ghost card add button */
body.lp-v2 .kb-add-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: 2px dashed var(--v2-border);
  border-radius: var(--v2-radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--v2-font);
  font-size: 1.0rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
body.lp-v2 .kb-add-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-subtle);
}

/* ── Detail form (replaces kanban) ── */
body.lp-v2 .pub-detail {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .pub-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v2-border);
}

body.lp-v2 .pub-detail-header-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

body.lp-v2 .pub-done-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  border-radius: 11px;
  border: none;
  background: var(--forest-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
body.lp-v2 .pub-done-btn:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

body.lp-v2 .pub-detail-delete-footer {
  text-align: center;
  padding-top: 20px;
}

body.lp-v2 .pub-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

body.lp-v2 .pub-field {
  margin-bottom: 20px;
}

body.lp-v2 .pub-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

body.lp-v2 .pub-field input[type="text"],
body.lp-v2 .pub-field input[type="url"],
body.lp-v2 .pub-field input[type="date"],
body.lp-v2 .pub-field textarea,
body.lp-v2 .pub-field select {
  width: 100%;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--v2-font);
  font-size: 1.2rem;
  background: var(--v2-surface);
  outline: none;
  transition: border-color 0.2s;
}

body.lp-v2 .pub-field input:focus,
body.lp-v2 .pub-field textarea:focus,
body.lp-v2 .pub-field select:focus {
  border-color: var(--gold);
}

body.lp-v2 .pub-field textarea {
  min-height: 80px;
  resize: vertical;
}

/* Draft link smart display */
body.lp-v2 .draft-link-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 2px dashed var(--v2-border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 1.0rem;
  cursor: pointer;
  transition: all 0.2s;
}
body.lp-v2 .draft-link-empty:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-subtle);
}

body.lp-v2 .draft-link-filled {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  background: var(--v2-surface);
}
body.lp-v2 .draft-link-url {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 1.0rem;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.lp-v2 .draft-link-url:hover { text-decoration: underline; }

body.lp-v2 .draft-link-actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

body.lp-v2 .draft-link-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--v2-border);
  background: var(--v2-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
  padding: 0;
}
body.lp-v2 .draft-link-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

body.lp-v2 .draft-link-edit {
  display: flex;
  gap: 8px;
  align-items: center;
}
body.lp-v2 .draft-link-edit input {
  flex: 1;
}
body.lp-v2 .draft-link-done-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--v2-border);
  background: var(--v2-surface);
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
body.lp-v2 .draft-link-done-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Attachment drop zone stub */
body.lp-v2 .pub-dropzone {
  border: 2px dashed var(--v2-border);
  border-radius: var(--v2-radius-sm);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

body.lp-v2 .pub-dropzone:hover,
body.lp-v2 .pub-dropzone--active {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

/* File list below dropzone */
body.lp-v2 .pub-file-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
body.lp-v2 .pub-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--cream);
  border: 1px solid var(--v2-border-light);
  border-radius: 8px;
  font-size: 13px;
}
body.lp-v2 .pub-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
  text-decoration: none;
}
body.lp-v2 .pub-file-name:hover {
  color: var(--gold-dark);
}
body.lp-v2 .pub-file-size {
  color: var(--text-muted);
  font-size: 11px;
  white-space: nowrap;
}
body.lp-v2 .pub-file-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.15s;
}
body.lp-v2 .pub-file-remove:hover {
  color: #c0392b;
}

/* Divider in right column above actions */
body.lp-v2 .pub-detail-divider {
  border: none;
  border-top: 1px solid var(--v2-border);
  margin: 20px 0 0;
}

/* Detail sidebar actions */
body.lp-v2 .pub-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

body.lp-v2 .pub-btn-advance {
  width: 100%;
  padding: 12px 24px;
  border-radius: var(--v2-radius-pill);
  border: none;
  background: var(--forest);
  color: white;
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

body.lp-v2 .pub-btn-advance:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

body.lp-v2 .pub-link-delete {
  display: inline-block;
  font-family: var(--v2-font);
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
  text-align: center;
  width: 100%;
}

body.lp-v2 .pub-link-delete:hover {
  color: #e04040;
  text-decoration: underline;
}

/* Kanban / detail transition animations */

/* scaleUp — used for opening detail */
@keyframes pubEnter5 { from { opacity:0; transform:scale(0.8); } to { opacity:1; transform:scale(1); } }
@keyframes pubExit5  { from { opacity:1; transform:scale(1); } to { opacity:0; transform:scale(1.05); } }

/* scaleSlide — used for closing detail */
@keyframes pubEnter9 { from { opacity:0; transform:scale(0.92) translateY(15px); } to { opacity:1; transform:scale(1) translateY(0); } }
@keyframes pubExit9  { from { opacity:1; transform:scale(1) translateY(0); } to { opacity:0; transform:scale(0.92) translateY(-15px); } }

/* Animation classes — set dynamically by JS */
body.lp-v2 .pub-detail.pub-detail--entering { animation-duration: 0.3s; animation-timing-function: ease; animation-fill-mode: forwards; }
body.lp-v2 .pub-kanban.pub-kanban--exiting { animation-duration: 0.2s; animation-timing-function: ease; animation-fill-mode: forwards; pointer-events: none; }
body.lp-v2 .pub-kanban.pub-kanban--entering { animation-duration: 0.3s; animation-timing-function: ease; animation-fill-mode: forwards; }
body.lp-v2 .pub-detail.pub-detail--exiting { animation-duration: 0.2s; animation-timing-function: ease; animation-fill-mode: forwards; pointer-events: none; }

/* Detail body */
body.lp-v2 .pub-detail-body {
  /* no max-width — uses 2-column grid */
}

/* Styled stage select (reuse kd-select pattern) */
body.lp-v2 .pub-stage-select {
  position: relative;
  display: inline-block;
  width: 100%;
}

body.lp-v2 .pub-stage-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  background: var(--v2-surface);
  font-family: var(--v2-font);
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
body.lp-v2 .pub-stage-trigger:hover { border-color: var(--gold); }
body.lp-v2 .pub-stage-select.open .pub-stage-trigger { border-color: var(--gold); }

body.lp-v2 .pub-stage-arrow {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}
body.lp-v2 .pub-stage-select.open .pub-stage-arrow {
  transform: rotate(180deg);
}

body.lp-v2 .pub-stage-options {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  z-index: 20;
  overflow: hidden;
}
body.lp-v2 .pub-stage-select.open .pub-stage-options { display: block; }

body.lp-v2 .pub-stage-option {
  padding: 10px 14px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.15s;
}
body.lp-v2 .pub-stage-option:hover { background: var(--gold-subtle); }
body.lp-v2 .pub-stage-option.selected {
  font-weight: 700;
  color: var(--gold-dark);
}

/* Styled channel select (same pattern as stage select, with colored dots) */
body.lp-v2 .pub-channel-select {
  position: relative;
  display: inline-block;
  width: 100%;
}

body.lp-v2 .pub-channel-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  background: var(--v2-surface);
  font-family: var(--v2-font);
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
body.lp-v2 .pub-channel-trigger:hover { border-color: var(--gold); }
body.lp-v2 .pub-channel-select.open .pub-channel-trigger { border-color: var(--gold); }

body.lp-v2 .pub-channel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .pub-channel-arrow {
  width: 14px; height: 14px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}
body.lp-v2 .pub-channel-select.open .pub-channel-arrow {
  transform: rotate(180deg);
}

body.lp-v2 .pub-channel-options {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  z-index: 20;
  overflow: hidden;
}
body.lp-v2 .pub-channel-select.open .pub-channel-options { display: block; }

body.lp-v2 .pub-channel-option {
  padding: 10px 14px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.lp-v2 .pub-channel-option:hover { background: var(--gold-subtle); }
body.lp-v2 .pub-channel-option.selected {
  font-weight: 700;
  color: var(--gold-dark);
}

body.lp-v2 .pub-channel-opt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Delete confirmation overlay (inside detail) */
body.lp-v2 .pub-delete-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  border-radius: var(--v2-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
body.lp-v2 .pub-delete-overlay.hidden { display: none; }

body.lp-v2 .pub-delete-dialog {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 32px 36px;
  text-align: center;
  max-width: 320px;
  width: 100%;
}

body.lp-v2 .pub-delete-dialog-title {
  font-family: var(--v2-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

body.lp-v2 .pub-delete-dialog-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

body.lp-v2 .pub-delete-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.lp-v2 .pub-delete-dialog-btn {
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
}

body.lp-v2 .pub-delete-dialog-danger {
  background: #c0392b;
  color: #fff;
}
body.lp-v2 .pub-delete-dialog-danger:hover { background: #a93226; }

body.lp-v2 .pub-delete-dialog-keep {
  background: var(--warm-100);
  color: var(--text-secondary);
}
body.lp-v2 .pub-delete-dialog-keep:hover {
  background: var(--warm-200);
  color: var(--text-primary);
}

/* Schedule button — large CTA for review stage */
body.lp-v2 .pub-schedule-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 20px 28px;
  margin-top: 20px;
  border: 2px solid var(--forest);
  border-radius: var(--v2-radius-sm);
  background: var(--forest);
  color: #fff;
  font-family: var(--v2-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s var(--v2-ease);
  box-shadow: var(--shadow-md);
}

body.lp-v2 .pub-schedule-btn:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

body.lp-v2 .pub-schedule-btn:active {
  transform: translateY(0);
}

body.lp-v2 .pub-schedule-btn.hidden {
  display: none;
}

/* Approve flow date picker container */
body.lp-v2 .pub-approve-section {
  margin-top: 20px;
  padding: 20px;
  background: var(--gold-subtle);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
}
body.lp-v2 .pub-approve-section.hidden { display: none; }

body.lp-v2 .pub-approve-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

body.lp-v2 .pub-approve-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

body.lp-v2 .pub-approve-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

body.lp-v2 .pub-approve-confirm {
  padding: 10px 24px;
  border-radius: var(--v2-radius-pill);
  border: none;
  background: var(--forest);
  color: white;
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
body.lp-v2 .pub-approve-confirm:hover { background: var(--forest-deep); }
body.lp-v2 .pub-approve-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body.lp-v2 .pub-approve-cancel {
  padding: 10px 24px;
  border-radius: var(--v2-radius-pill);
  border: 1px solid var(--v2-border);
  background: none;
  color: var(--text-muted);
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
body.lp-v2 .pub-approve-cancel:hover { border-color: var(--gold); color: var(--text-secondary); }

/* pub-detail needs position:relative for delete overlay */
body.lp-v2 .pub-detail { position: relative; }

/* ── Schedule Calendar ── */
body.lp-v2 .two-month-cal {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

body.lp-v2 .two-month-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

body.lp-v2 .month-block {
  padding: 0;
}

body.lp-v2 .month-block:first-child {
  border-right: 1px solid var(--v2-border);
}

body.lp-v2 .month-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 12px;
  position: relative;
}

body.lp-v2 .month-name {
  font-family: var(--v2-font-display);
  font-size: 18px;
  letter-spacing: -0.3px;
}

body.lp-v2 .month-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--v2-border);
  background: var(--v2-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
  position: absolute;
}

body.lp-v2 .month-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-subtle);
}

body.lp-v2 .month-nav-btn--left { left: 16px; }
body.lp-v2 .month-nav-btn--right { right: 16px; }

body.lp-v2 .month-hdr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--v2-border);
  border-top: 1px solid var(--v2-border);
}

body.lp-v2 .month-hdr-cell {
  padding: 8px 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

body.lp-v2 .month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

body.lp-v2 .day-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  border-bottom: 1px solid var(--v2-border);
  border-right: 1px solid var(--v2-border);
}

body.lp-v2 .day-cell:nth-child(7n) {
  border-right: none;
}

body.lp-v2 .month-grid .day-cell:nth-last-child(-n+7) {
  border-bottom: none;
}

body.lp-v2 .day-cell:hover {
  background: var(--gold-subtle);
}

body.lp-v2 .day-cell.selected {
  background: var(--gold-subtle);
  box-shadow: inset 0 0 0 2px var(--gold);
  border-radius: 4px;
}

body.lp-v2 .day-cell.other {
  opacity: 0.3;
  pointer-events: none;
}

body.lp-v2 .day-cell.today .day-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 700;
}

body.lp-v2 .day-cell.has-key-date {
  background: var(--gold-subtle);
}

body.lp-v2 .day-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

body.lp-v2 .day-indicators {
  display: flex;
  gap: 3px;
}

body.lp-v2 .day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

body.lp-v2 .day-key-date {
  font-size: 8px;
}

/* Event panel */
body.lp-v2 .event-panel {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

body.lp-v2 .event-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--v2-border);
  background: var(--cream);
}

body.lp-v2 .ep-date {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

body.lp-v2 .ep-add-btn {
  padding: 6px 16px;
  border-radius: var(--v2-radius-pill);
  border: 1.5px solid var(--v2-border);
  background: var(--v2-surface);
  font-family: var(--v2-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

body.lp-v2 .ep-add-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-subtle);
}

body.lp-v2 .event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.lp-v2 .event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--v2-border);
  transition: background 0.15s;
  cursor: pointer;
}

body.lp-v2 .event-item:last-child {
  border-bottom: none;
}

body.lp-v2 .event-item:hover {
  background: var(--gold-subtle);
}

body.lp-v2 .ev-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  width: 70px;
  flex-shrink: 0;
}

body.lp-v2 .ev-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.lp-v2 .ev-body {
  flex: 1;
}

body.lp-v2 .ev-title {
  font-size: 14px;
  font-weight: 600;
}

body.lp-v2 .ev-channel {
  font-size: 12px;
  color: var(--text-muted);
}

body.lp-v2 .ev-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--v2-radius-pill);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.lp-v2 .ep-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Key date banner */
body.lp-v2 .key-date-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--v2-border);
}

/* ── Create Tab ── */
body.lp-v2 .pub-create-sh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

body.lp-v2 .pub-create-sh-emoji {
  font-size: 22px;
}

body.lp-v2 .pub-create-sh-title {
  font-family: var(--v2-font-display);
  font-size: 22px;
  letter-spacing: -0.3px;
}

body.lp-v2 .pub-create-sh-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
}

body.lp-v2 .create-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

body.lp-v2 .cd-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

body.lp-v2 .cd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

body.lp-v2 .cd-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

body.lp-v2 .cd-card:hover::after {
  transform: scaleX(1);
}

body.lp-v2 .cd-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
  transition: transform 0.3s;
}

body.lp-v2 .cd-card:hover .cd-icon {
  transform: scale(1.15) rotate(-5deg);
}

body.lp-v2 .cd-icon--scratch {
  background: linear-gradient(135deg, rgba(52,168,83,0.12), rgba(66,133,244,0.12));
}

body.lp-v2 .cd-icon--repurpose {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(230,192,90,0.12));
}

body.lp-v2 .cd-label {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}

body.lp-v2 .cd-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

body.lp-v2 .cd-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
}

body.lp-v2 .cd-card:hover .cd-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Repurpose table */
body.lp-v2 .pub-table-wrap {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

body.lp-v2 .pub-table {
  width: 100%;
  border-collapse: collapse;
}

body.lp-v2 .pub-table thead {
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  color: var(--v2-surface);
}

body.lp-v2 .pub-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.lp-v2 .pub-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--v2-border);
  font-size: 14px;
}

body.lp-v2 .pub-table tr:last-child td {
  border-bottom: none;
}

body.lp-v2 .pub-table tbody tr {
  transition: background 0.15s;
  cursor: pointer;
}

body.lp-v2 .pub-table tbody tr:hover {
  background: var(--gold-subtle);
}

body.lp-v2 .td-title {
  font-weight: 600;
}

body.lp-v2 .td-sub {
  font-size: 12px;
  color: var(--text-muted);
}

body.lp-v2 .td-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--v2-radius-pill);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.lp-v2 .td-badge--blog { background: rgba(52,168,83,0.1); color: #1e7a3a; }
body.lp-v2 .td-badge--linkedin { background: rgba(0,119,181,0.1); color: #005a8c; }
body.lp-v2 .td-badge--newsletter { background: rgba(230,192,90,0.15); color: var(--gold-dark); }
body.lp-v2 .td-badge--webinar { background: rgba(245,158,11,0.1); color: #b45309; }
body.lp-v2 .td-badge--podcast { background: rgba(139,92,246,0.1); color: #6d28d9; }

body.lp-v2 .td-targets {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

body.lp-v2 .td-target {
  padding: 3px 10px;
  border-radius: var(--v2-radius-pill);
  border: 1px solid var(--v2-border);
  background: var(--v2-surface);
  font-family: var(--v2-font);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

body.lp-v2 .td-target:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
  color: var(--gold-dark);
}

body.lp-v2 .td-arrow {
  color: var(--text-muted);
  transition: transform 0.2s;
}

body.lp-v2 .pub-table tbody tr:hover .td-arrow {
  transform: translateX(3px);
  color: var(--gold-dark);
}

/* ── Publish Responsive ── */
@media (max-width: 900px) {
  body.lp-v2 .pub-header-row { flex-direction: column; gap: 16px; }
  body.lp-v2 .pub-kanban { grid-template-columns: 1fr; }
  body.lp-v2 .two-month-grid { grid-template-columns: 1fr; }
  body.lp-v2 .month-block:first-child { border-right: none; border-bottom: 1px solid var(--v2-border); }
  body.lp-v2 .pub-detail-grid { grid-template-columns: 1fr; }
  body.lp-v2 .create-duo { grid-template-columns: 1fr; }
}
/* Newsletter Styles */

.newsletter-editor {
  min-height: 100vh;
  background-color: #f7fafc;
}

.newsletter-version-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.newsletter-version-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.newsletter-content {
  line-height: 1.6;
  height: fit-content !important;
}

.newsletter-content p {
  margin-bottom: 1rem;
}

.newsletter-content p:last-child {
  margin-bottom: 0;
}

/* Edit mode styles */
.edit-mode textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 1000px;
}

.edit-mode input[type="text"],
.edit-mode textarea {
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.edit-mode input[type="text"]:focus,
.edit-mode textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Flash message animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.flash-message {
  animation: slideIn 0.3s ease-out;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .newsletter-version-card {
    margin-bottom: 1rem;
  }
  
  /* Stack versions vertically on mobile */
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Loading indicator styles */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Newsletter editor specific styles */
#newsletter-editor div.prose p {
	margin-bottom: 20px;
}

/* Markdown content styles */
.markdown-content h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.markdown-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
}

.markdown-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.markdown-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.markdown-content ul, .markdown-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.markdown-content li {
  margin-bottom: 0.25rem;
}

.markdown-content strong {
  font-weight: bold;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
}

.markdown-content pre {
  background-color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.markdown-content blockquote {
  border-left: 4px solid #d1d5db;
  padding-left: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #6b7280;
}

.newsletter-container-body,
.newsletter-container-body .newsletter-content,
.newsletter-container-body .edit-mode,
.newsletter-container-body .edit-mode textarea {
  height: 100%;
}

.newsletter-final-preview {
  max-height: calc(100vh - 300px);
  overflow: auto;
}

.subject-lines-container {
  height: fit-content;
}

/* Subject line selection styles */
.subject-line-item.selected {
  background-color: #eff6ff !important;
  border-left: 4px solid #3b82f6 !important;
}


.subject-line-item.max-reached:not(.selected) {
  opacity: 0.5;
  cursor: not-allowed;
}

.subject-line-item.max-reached:not(.selected):hover {
  background-color: #f9fafb !important;
}

/* Icon hover effects */
.edit-subject-icon:hover {
  background-color: #eff6ff !important;
}

.delete-subject-icon:hover {
  background-color: #fef2f2 !important;
}

/* Edit mode styling */
.subject-line-item .edit-mode {
  margin-top: 8px;
}

.subject-line-item .edit-mode input {
  font-size: 14px;
}

/* Selection counter styling */
#selection-counter {
  color: #3b82f6;
}

/* Transition effects */
.subject-line-item {
  transition: all 0.2s ease;
}
/* Quarter Calendar Styles */

/* Week Row */
.quarter-week-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.quarter-week-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

/* Status Indicators */
.week-status-indicator {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.week-status-future {
  background: #e5e7eb;
}

.week-status-completed {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.week-status-current {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.week-status-available {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

/* Pillar Badges */
.pillar-badge-blue {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.pillar-badge-green {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background-color: #d1fae5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.pillar-badge-purple {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background-color: #e9d5ff;
  color: #6b21a8;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.pillar-badge-gray {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background-color: #f3f4f6;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Action Buttons */
.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: #e5e7eb;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: not-allowed;
  white-space: nowrap;
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-get-started:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-completed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-completed:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .quarter-week-row {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .quarter-week-row .flex-1 {
    order: 2;
    width: 100%;
    margin-top: 0.5rem;
  }

  .quarter-week-row .flex-shrink-0 {
    order: 3;
    width: 100%;
    margin-top: 0.75rem;
  }

  .quarter-week-row .flex-shrink-0 a,
  .quarter-week-row .flex-shrink-0 span {
    width: 100%;
    justify-content: center;
  }
}
/* Radar Competitor Tracking Styles */

.radar-input-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.radar-input-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.radar-url-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.radar-url-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.radar-scan-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.radar-scan-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.radar-scan-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.radar-error-message {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 6px;
  font-size: 0.875rem;
}

.radar-competitors-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.radar-competitors-section h2 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.radar-competitors-list {
  min-height: 200px;
}

.radar-competitor-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.radar-competitor-row:hover {
  background: #f9fafb;
}

.radar-competitor-row:last-child {
  border-bottom: none;
}

.competitor-screenshot {
  width: 300px;
  height: 168px;
  margin-right: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.competitor-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-placeholder {
  color: #9ca3af;
}

.competitor-info {
  flex: 1;
  min-width: 0;
}

.competitor-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.competitor-url {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  word-break: break-all;
}

.competitor-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
  justify-content: flex-end;
}

.radar-competitor-row .progress-container {
  flex: 1;
  max-width: 150px;
}

.radar-competitor-row .progress-bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.radar-competitor-row .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.radar-competitor-row .progress-fill.in-queue {
  background: linear-gradient(90deg, #6b7280 0%, #4b5563 100%);
}

.radar-competitor-row .progress-fill.processing {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.radar-competitor-row .progress-fill.failed {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.status-text {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.radar-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.empty-state-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.radar-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.radar-empty-state p {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
}

/* Loading states */
.radar-form.loading .radar-scan-btn {
  opacity: 0.6;
  cursor: not-allowed;
}

.radar-form.loading .radar-url-input {
  opacity: 0.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .radar-input-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .radar-scan-btn {
    margin-top: 0.5rem;
  }
  
  .radar-competitor-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .competitor-status {
    width: 100%;
    justify-content: space-between;
  }
}
#order-success {
}

#order-success img {
	display: block;
	margin: auto;
}
/* Social Slicer Styles */

/* Idea Card Animations */
.idea-card {
  transition: all 0.2s ease-in-out;
}

.idea-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.idea-card.selected {
  border-color: #3b82f6 !important;
  background-color: rgba(59, 130, 246, 0.1) !important;
}

/* Character Counter Styling */
.char-counter {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Post Content Textarea */
.social-slicer-post-textarea {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* Loading Spinner */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast Animation */
.toast-enter {
  animation: toast-slide-in 0.3s ease-out forwards;
}

.toast-exit {
  animation: toast-slide-out 0.3s ease-in forwards;
}

@keyframes toast-slide-in {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100px);
    opacity: 0;
  }
}

/* Filter Button Active State */
.filter-button-active {
  background-color: #3b82f6 !important;
  color: white !important;
}

/* Responsive Grid for Ideas */
@media (max-width: 768px) {
  .ideas-grid {
    grid-template-columns: 1fr;
  }
}

/* Post Card Improvements */
.post-card {
  transition: box-shadow 0.2s ease-in-out;
}

.post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Copy Button Feedback */
.copy-button-success {
  background-color: #10b981 !important;
}

/* Error Message Styling */
.error-banner {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

/* Loading State Overlay */
.loading-overlay {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

/* Smooth Scroll Behavior */
.social-slicer-container {
  scroll-behavior: smooth;
}

/* Checkbox Custom Styling */
input[type="checkbox"]:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

/* Textarea Focus State */
textarea:focus {
  outline: none;
  ring: 2px;
  ring-color: #3b82f6;
  border-color: transparent;
}

/* Empty State */
.empty-state {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.empty-state:hover {
  opacity: 1;
}

/* Export Button Icon Animation */
.export-button svg {
  transition: transform 0.2s ease;
}

.export-button:hover svg {
  transform: translateY(2px);
}

/* Character Count Badge */
.char-count-badge {
  font-variant-numeric: tabular-nums;
  min-width: 80px;
  text-align: center;
}

/* Post Meta Info */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .social-slicer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .filter-buttons {
    flex-wrap: wrap;
  }

  .post-actions {
    flex-direction: column;
    width: 100%;
  }

  .post-actions button {
    width: 100%;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #00AD6A;
  --color-primary-hover: #00C77A;
  --color-secondary: #283C46;
  --color-secondary-hover: #334956;
  --color-background: #F5F3F0;
  --color-header: #1D2D35;
  --color-border: #3D4D56;
  --color-text-primary: #1D2D35;
  --color-text-secondary: #66757F;
  --color-text-muted: #98A4AE;
  --color-accent-background: #E5F5EF;
  --color-accent-heart: #FF5A6E;
  --color-accent-success: #00AD6A;
  --color-accent-warning: #FFB800;
  --color-accent-info: #3D4D56;
  --shadow-card: 0 2px 0 rgba(40, 60, 70, 0.1);
  --shadow-card-hover: 0 4px 0 rgba(40, 60, 70, 0.1);
  --shadow-button: 0 2px 0 #008F57;
  --shadow-button-hover: 0 4px 0 #008F57;
  --shadow-button-secondary: 0 2px 0 #1D2D35;
  --shadow-button-secondary-hover: 0 4px 0 #1D2D35;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--color-background);
  color: var(--color-text-primary);
}

.header {
  background: var(--color-header);
  padding: 2rem;
  color: white;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  border: 4px solid var(--color-border);
  position: relative;
}

.badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--color-accent-success);
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-background);
  font-weight: bold;
}

.stats {
  display: flex;
  gap: 1rem;
}

.stat-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-secondary);
  border-radius: 0.75rem;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
  box-shadow: var(--shadow-button-secondary);
}

.stat-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-secondary-hover);
}

.main {
  padding: 3rem 0;
  padding-top: 0;
}

.card {
  background: white;
  border-radius: 1rem;
  padding: 1rem 2rem 2rem 2rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 11/8.5;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.title {
  font-size: 3.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.card.lesson-overview .title {
  /*
  text-align: center;
  */
}

.tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent-background);
  border-radius: 9999px;
  color: var(--color-accent-info);
}

.lesson-overview-tags {
  display: grid;
  grid-template-columns: 6fr 4fr;
  grid-template-columns: 3fr 7fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.button.full-width-btn {
  display: block;
  width: 100%;
  text-align: center;
}

.lesson-overview-hero-description {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
}

.content {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.description ul.list {
  margin-top: 2rem;
}

/*
.description ul {
  list-style-type: disc;
  margin-left: 1rem;
  margin-top: 2rem;
}

.description ul li {
  color: var(--color-text-secondary);
}
*/

.description strong {
  color: var(--color-text-primary);
  font-weight: bold;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-button);
  transition: all 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-button-hover);
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
}

.list li::before {
  content: "•";
  margin-right: 0.5rem;
  color: var(--color-accent-info);
}

.divider {
  position: relative;
  text-align: center;
  margin: 3rem 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(29, 45, 53, 0.2);
}

.divider span {
  position: relative;
  background: var(--color-accent-background);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  color: var(--color-text-primary);
}

.grid {
  display: grid;
}

.grid-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}

.grid-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.grid-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.grid-card-content {
  padding: 1.5rem;
}

.grid-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  color: var(--color-text-primary);
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 6rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: var(--shadow-card-hover);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 1.25rem solid transparent;
  border-left: 2rem solid var(--color-primary);
  border-bottom: 1.25rem solid transparent;
  margin-left: 0.5rem;
}

.feature-card {
  background: var(--color-accent-background);
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-accent-info);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.header-content h1 {
  color: #fff;
  margin-bottom: 0;
}

.header-content .user-info p {
  color: rgb(102, 117, 127);
}

.header-content .stats button span {
  color: #fff;
}

.header-content #nav-links {
  text-align: center;
}

.header-content #nav-links a {
  display: inline-block;
  margin: 0 20px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
  font-size: 1.4rem;
  /*
  border-bottom: 2px solid transparent;
  border: 2px solid transparent;
  */
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
}

.header-content #nav-links a:hover {
  display: inline-block;
  margin: 0 20px;
  color: rgba(255, 255, 255, 1);
  font-weight: bold;
  font-size: 1.4rem;
  /*
  border-bottom: 2px solid #fff;
  border: 2px solid #fff;
  */
  background-color: var(--color-primary);
  color: #fff;
  transition: all 0.2s;
}

.lesson-overview {
  margin-bottom: 2rem;
}

.key-takeaways {
  margin-bottom: 2rem;
}

#weekly-update-video {
  box-shadow: unset !important;
}

.video-container {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 6rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 1.25rem solid transparent;
  border-left: 2rem solid var(--color-primary);
  border-bottom: 1.25rem solid transparent;
  margin-left: 0.5rem;
}

.checkbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-accent-background);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-text-primary);
  font-weight: 500;
}

.checkbox-item:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
  color: white;
}

.checkbox {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid currentColor;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.checkbox-item:hover .checkbox {
  border-color: white;
}

/* Progress bar styles */
.progress {
  position: relative;
  height: 2rem;
  margin: 3rem 0;
}

.progress-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 0.5rem;
  background: var(--color-accent-background);
  border-radius: 0.25rem;
  width: 100%;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: var(--color-primary);
  border-radius: 0.25rem;
  transition: width 0.3s ease;
}

.progress-dots {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.dot {
  width: 2rem;
  height: 2rem;
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}


.col-span-2 {
    grid-column: span 2 / span 2;
}

.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.w-full {
	width: 100%;
}

.h-full {
	height: 100%;
}

.overflow-hidden {
	overflow: hidden;
}

.text-2xl {
	font-size: 1.5rem;
	line-height: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Cal Sans", "Clash Display", system-ui, sans-serif;
    font-weight: 700;
    font-feature-settings: "cv01", "cv02", "cv03", "cv04", "ss01", "ss02";
}

.flex-grow {
    flex-grow: 1;
}

.ml-4 {
    margin-left: 1rem;
}

.border-t-2 {
    border-top-width: 2px;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.h-2 {
    height: 0.5rem;
}

.top-1\/2 {
    top: 50%;
}

.right-0 {
    right: 0px;
}

.left-0 {
    left: 0px;
}

.absolute {
    position: absolute;
}

.inset-0 {
    inset: 0px;
}

.duration-300 {
    transition-duration: 300ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
}

.lesson-steps-bar {
}

.lesson-steps-bar .step-complete {
    background: rgb(0, 173, 106);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
    border-radius: 50%;
    align-items: center;
    display: flex;
    position: absolute;
    height: 2rem;
    width: 2rem;
}

.lesson-steps-bar .step-complete svg {
	width: 100%;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.relative {
	position: relative;
}

.justify-center {
    justify-content: center;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.pl-4 {
  padding-left: 1rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

button.checked {
	background: rgb(0, 173, 106);
	color: rgb(255, 255, 255);
	text-decoration-line: line-through;
}

button.checked > div {
	background: rgb(255, 255, 255);
}

button.checked svg {
	color: rgb(0, 0, 0);
}

button.unchecked {
	background: rgb(229, 245, 239);
	color: rgb(29, 45, 53);
	text-decoration-line: unset;
}

button.unchecked > div {
	background: transparent;
}

button.unchecked svg {
	color: rgb(29, 45, 53);
}

.align-right {
	text-align: right;
}

.instant-yes-wizard-section .wizard-progress .progress-text {
  display: block !important;
}

.instant-yes-wizard-section .wizard-progress .progress-bar {
  position: relative;
}
trix-editor {
	min-height: 500px !important;
}

trix-editor.lesson-description {
	min-height: unset !important;
	max-height: 200px !important;
}

trix-editor ul {
	list-style: unset;
	margin: 0 2rem;
}

trix-editor a {
	text-decoration: underline;
}
/* Base styles */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: var(--gray-900);
}

.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: white;
}

/* Navigation */
nav {
  border-bottom: 1px solid var(--gray-200);
}

.max-w-7xl {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .max-w-7xl {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .max-w-7xl {
    padding: 0 2rem;
  }
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.h-16 {
  height: 4rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-button:hover {
  color: var(--gray-700);
}

.nav-button.active {
  color: var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
}

.nav-button i {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* Main Content */
main {
  padding-top: 6rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Wins Page */
.trophy-icon {
  width: 4rem;
  height: 4rem;
  color: var(--blue-600);
  margin: 0 auto 1rem;
}

.wins-textarea {
  width: 100%;
  height: 16rem;
  padding: 1rem;
  font-size: 1.125rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  resize: none;
  transition: border-color 0.2s;
}

.wins-textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

.record-button {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
  background-color: var(--blue-600);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.record-button:hover {
  background-color: var(--blue-700);
}

/* Settings Page */
.time-picker-container {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.time-picker-container:hover,
.time-picker-container:focus-within {
  border-color: var(--blue-500);
}

.time-picker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  background-color: var(--gray-50);
  border-right: 2px solid var(--gray-200);
}

.time-picker-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-500);
}

.time-picker {
  flex: 1;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-700);
  border: none;
  background: white;
  cursor: pointer;
  appearance: none;
}

.time-picker:focus {
  outline: none;
}

.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
  pointer-events: none;
}

.save-button {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
  background-color: var(--blue-600);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.save-button:hover {
  background-color: var(--blue-700);
}

/* Wins Log */
.win-entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.win-entry:first-child {
  padding-top: 0;
}

.win-entry:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.win-day-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
}

.win-day {
  padding-top: 0.25rem;
}

.day-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-800);
  background-color: var(--blue-100);
  border-radius: 9999px;
}

.win-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.win-item {
  display: flex;
  gap: 0.5rem;
}

.bullet {
  margin-top: 0.5rem;
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--gray-400);
  border-radius: 9999px;
  flex-shrink: 0;
}

.win-item p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.week-section {
  border-bottom: 1px solid var(--gray-200);
}

.week-section:last-child {
  border-bottom: none;
}

.week-header {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.week-header:hover {
  background-color: var(--gray-50);
}

.week-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.week-arrow {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.week-section.expanded .week-arrow {
  transform: rotate(90deg);
}

/* Week content styles */
.week-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--gray-50);
}

.week-section.expanded .week-content {
  display: block;
}

/* Utility Classes */
.hidden {
  display: none;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.p-6 {
  padding: 1.5rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem* calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem* var(--tw-space-y-reverse));
}
/* Wins System Styles */

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  border: 1px solid #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  background: #e5e7eb;
  color: #9ca3af;
  text-decoration: none;
  border: none;
  cursor: not-allowed;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Pillar Badge Colors - Static classes for Tailwind compilation */
.pillar-badge-blue {
  background-color: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

.pillar-badge-green {
  background-color: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.pillar-badge-purple {
  background-color: rgba(168, 85, 247, 0.15);
  color: #9333ea;
}

/* Pillar Icon Backgrounds */
.pillar-icon-blue {
  background-color: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

.pillar-icon-green {
  background-color: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.pillar-icon-purple {
  background-color: rgba(168, 85, 247, 0.15);
  color: #9333ea;
}

/* Progress Bar */
.win-progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.win-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.win-progress-fill-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.win-progress-fill-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.win-progress-fill-purple {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

/* Stats Cards */
.win-stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.win-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}

.win-stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Step Cards */
.win-step-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
}

.win-step-card:hover {
  background: #f3f4f6;
}

/* Tool Cards */
.win-tool-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.win-tool-card:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

/* Tip Box */
.win-tip-box {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
}

/* Locked Box */
.win-locked-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
}

/* Filter Tabs */
.win-filter-tab {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 9999px;
  color: #6b7280;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.win-filter-tab:hover {
  color: #374151;
  background: #f3f4f6;
}

.win-filter-tab.active {
  background: #3b82f6;
  color: white;
}

/* Filter Bar */
.win-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}

.win-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.win-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.win-filter-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.win-filter-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem 1.25rem;
  min-width: 140px;
}

.win-filter-select:hover {
  border-color: #9ca3af;
}

.win-filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.win-active-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.win-filter-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #3b82f6;
  background: #eff6ff;
  border-radius: 9999px;
}

.win-clear-filters {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.win-clear-filters:hover {
  color: #374151;
}

/* Responsive Filter Bar */
@media (max-width: 640px) {
  .win-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .win-filter-controls {
    flex-direction: column;
  }

  .win-filter-group {
    width: 100%;
  }

  .win-filter-select {
    width: 100%;
  }

  .win-active-filters {
    justify-content: flex-start;
  }
}

/* Completed Win Card */
.win-completed-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.win-completed-card:hover {
  background: #f3f4f6;
}

/* Form Inputs */
.win-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.win-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.win-input::placeholder {
  color: #9ca3af;
}

.win-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #111827;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.win-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Difficulty Rating */
.win-difficulty-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.win-difficulty-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f3f4f6;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  transition: all 0.2s;
}

.win-difficulty-option input:checked + .win-difficulty-circle {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  color: #2563eb;
}

.win-difficulty-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Step Dot Colors */
.pillar-dot-blue-active {
  background-color: #3b82f6;
}

.pillar-dot-blue-completed {
  background-color: rgba(59, 130, 246, 0.5);
}

.pillar-dot-green-active {
  background-color: #22c55e;
}

.pillar-dot-green-completed {
  background-color: rgba(34, 197, 94, 0.5);
}

.pillar-dot-purple-active {
  background-color: #a855f7;
}

.pillar-dot-purple-completed {
  background-color: rgba(168, 85, 247, 0.5);
}

/* ==========================================
   WIN VAULT ENHANCED STYLES
   ========================================== */

/* Impact Card */
.vault-impact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.impact-stat-box {
  transition: transform 0.2s, box-shadow 0.2s;
}

.impact-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Streak Card */
.vault-streak-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 249, 195, 0.3) 100%);
}

/* Streak Milestone Badges */
.streak-milestone {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}

.milestone-bronze {
  background: linear-gradient(135deg, #92400e 0%, #78350f 100%);
  color: #fef3c7;
}

.milestone-silver {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: #f9fafb;
}

.milestone-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
}

.milestone-platinum {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #faf5ff;
}

/* Progress bar colors for milestones */
.milestone-progress-bronze {
  background: linear-gradient(135deg, #92400e 0%, #78350f 100%);
}

.milestone-progress-silver {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.milestone-progress-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.milestone-progress-platinum {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
}

/* Prize Entries Card */
.vault-prize-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 243, 199, 0.3) 100%);
}

/* Weekday Login Dots */
.weekday-dots {
  display: flex;
  gap: 0.5rem;
}

.weekday-dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  color: #9ca3af;
  transition: all 0.2s;
}

.weekday-dot.dot-logged {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: #16a34a;
  color: white;
}

.weekday-dot.dot-today {
  border-color: #3b82f6;
  border-width: 2px;
  border-style: dashed;
  color: #3b82f6;
}

.weekday-dot.dot-future {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #d1d5db;
}

/* Collections Grid */
.vault-collections {
  background: rgba(255, 255, 255, 0.95);
}

.collection-card {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s, transform 0.2s;
}

.collection-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.collection-blue {
  border-left: 4px solid #3b82f6;
}

.collection-green {
  border-left: 4px solid #22c55e;
}

.collection-purple {
  border-left: 4px solid #a855f7;
}

/* Expandable collection details */
.collection-details summary {
  list-style: none;
}

.collection-details summary::-webkit-details-marker {
  display: none;
}

.collection-details[open] .details-arrow {
  transform: rotate(90deg);
}

/* Recent Wins */
.vault-recent-wins {
  background: rgba(255, 255, 255, 0.95);
}

.recent-win-card {
  transition: box-shadow 0.2s, transform 0.2s;
}

.recent-win-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

/* ==========================================
   CELEBRATION FLOW STYLES
   ========================================== */

/* Celebration Container */
.celebration-container {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Win Library Card Styles */
.win-library-card {
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.win-library-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Completed Win Card - subtle green styling */
.win-library-card.win-completed {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #bbf7d0;
}

.win-library-card.win-completed:hover {
  border-color: #86efac;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

/* Big angled checkmark badge for completed wins */
.win-completed-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 56px;
  height: 56px;
  color: #22c55e;
  transform: rotate(-5deg);
  filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
  z-index: 10;
  transition: transform 0.2s ease;
}

.win-library-card.win-completed:hover .win-completed-badge {
  transform: rotate(12deg);
}

.win-completed-badge svg {
  width: 100%;
  height: 100%;
}

/* Admin-locked card styling - slate/blue-gray */
.win-library-card.win-admin-locked {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #94a3b8;
}

.win-library-card.win-admin-locked:hover {
  border-color: #64748b;
  box-shadow: 0 8px 20px rgba(100, 116, 139, 0.15);
  transform: translateY(-2px);
}

/* Big angled lock badge for admin-locked wins */
.win-admin-locked-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 56px;
  height: 56px;
  color: #64748b;
  transform: rotate(-5deg);
  filter: drop-shadow(0 2px 4px rgba(100, 116, 139, 0.4));
  z-index: 10;
  transition: transform 0.2s ease;
}

.win-library-card.win-admin-locked:hover .win-admin-locked-badge {
  transform: rotate(12deg);
}

.win-admin-locked-badge svg {
  width: 100%;
  height: 100%;
}

/* Celebration Screen */
.celebration-screen {
  position: relative;
  overflow: hidden;
}

/* Confetti Container */
#confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

/* Confetti Pieces */
.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  opacity: 0;
  animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg) scale(0);
    opacity: 0;
  }
}

/* Make some confetti pieces different shapes */
.confetti-piece:nth-child(odd) {
  width: 8px;
  height: 12px;
  border-radius: 2px;
}

.confetti-piece:nth-child(3n) {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.confetti-piece:nth-child(5n) {
  width: 12px;
  height: 8px;
  border-radius: 1px;
}

/* Celebration Bounce Animation */
.celebration-bounce {
  animation: celebration-bounce 1s ease-in-out infinite;
}

@keyframes celebration-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Celebration Badge */
.celebration-badge {
  position: relative;
  overflow: hidden;
}

/* Shine Effect */
.celebration-shine {
  position: relative;
  overflow: hidden;
}

.celebration-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 60%
  );
  animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Pulse Animation for celebration elements */
.celebration-pulse {
  animation: celebration-pulse 2s ease-in-out infinite;
}

@keyframes celebration-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Screen Transition Animation */
.celebration-screen {
  animation: screen-fade-in 0.5s ease-out;
}

@keyframes screen-fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Beat Average Trophy Animation */
.trophy-bounce {
  display: inline-block;
  animation: trophy-bounce 0.6s ease-out;
}

@keyframes trophy-bounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Recommended Win Card Hover */
.recommended-win-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.recommended-win-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Celebration Stats */
.celebration-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #4b5563;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .celebration-bounce {
    animation: celebration-bounce 1.5s ease-in-out infinite;
  }

  .celebration-badge .text-6xl {
    font-size: 3rem;
  }

  #confetti-container .confetti-piece {
    width: 8px;
    height: 8px;
  }
}

/* ==========================================
   BADGES STYLES
   ========================================== */

/* Badge tier colors */
.badge-tier-1 {
  /* Bronze */
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
  color: #92400e;
}

.badge-tier-2 {
  /* Silver */
  background: linear-gradient(135deg, #f3f4f6 0%, #d1d5db 100%);
  color: #4b5563;
}

.badge-tier-3 {
  /* Gold */
  background: linear-gradient(135deg, #fef9c3 0%, #fbbf24 100%);
  color: #78350f;
}

.badge-tier-4 {
  /* Platinum */
  background: linear-gradient(135deg, #f3e8ff 0%, #c084fc 100%);
  color: #6b21a8;
}

.badge-tier-5 {
  /* Diamond */
  background: linear-gradient(135deg, #cffafe 0%, #22d3ee 100%);
  color: #0e7490;
}

/* Badge icon container */
.badge-icon {
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-item:hover .badge-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge tooltip */
.badge-tooltip {
  pointer-events: none;
}

.badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111827;
}

/* Badge animation for newly earned */
.badge-new {
  animation: badge-pop 0.5s ease-out;
}

@keyframes badge-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Badge shimmer effect for high tier badges */
.badge-tier-4 .badge-icon,
.badge-tier-5 .badge-icon {
  position: relative;
  overflow: hidden;
}

.badge-tier-4 .badge-icon::after,
.badge-tier-5 .badge-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%
  );
  animation: badge-shimmer 3s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Badge Detail Cards (for /badges page) */
.badge-detail-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.badge-detail-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.badge-detail-card.unearned {
  background: #f9fafb;
}

.badge-detail-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-detail-icon.badge-unearned {
  background: #e5e7eb;
  color: #9ca3af;
}

.badge-detail-content {
  flex: 1;
  min-width: 0;
}

.badge-detail-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.badge-detail-name {
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
}

.badge-tier-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.badge-tier-label.tier-1 {
  background: #fef3c7;
  color: #92400e;
}

.badge-tier-label.tier-2 {
  background: #f3f4f6;
  color: #4b5563;
}

.badge-tier-label.tier-3 {
  background: #fef9c3;
  color: #78350f;
}

.badge-tier-label.tier-4 {
  background: #f3e8ff;
  color: #6b21a8;
}

.badge-tier-label.tier-5 {
  background: #cffafe;
  color: #0e7490;
}

.badge-detail-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.badge-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.badge-earned-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-source {
  color: #6b7280;
  font-style: italic;
}

.badge-detail-criteria {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.badge-detail-criteria .criteria-label {
  color: #9ca3af;
}

.badge-detail-criteria .criteria-text {
  color: #374151;
  font-weight: 500;
}

.badge-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-progress-bar {
  flex: 1;
  height: 0.375rem;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.badge-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.badge-progress-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  min-width: 3rem;
  text-align: right;
}

/* ==========================================
   WIN PROGRESS BAR ANIMATION
   ========================================== */

/* Shimmer animation for progress bar */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.animate-shimmer {
  animation: shimmer 2s infinite;
}

/* Progress bar fill animation on page load */
@keyframes progress-fill {
  0% {
    width: var(--progress-start, 0%);
  }
  100% {
    width: var(--progress-width);
  }
}

.progress-fill-animate {
  animation: progress-fill 1.2s ease-out forwards;
}

/* Dot pop animation when progress bar crosses it */
@keyframes dot-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

.dot-pop {
  animation: dot-pop 0.3s ease-out;
}

/* ==========================================
   STEP CALLOUT STYLES (Dashboard card style)
   ========================================== */

/* Base callout - matches .dashboard-card exactly */
.callout-note,
.callout-code,
.callout-tip {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* Reset prose interference */
.prose .callout-note,
.prose .callout-code,
.prose .callout-tip {
  max-width: none;
}

/* Shared header: icon + title in one row */
.callout-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.callout-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-emoji {
  font-size: 1.25rem;
  line-height: 1;
}

.callout-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* Shared body: message text below header */
.callout-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

/* ---- NOTE CALLOUT (blue, like next-move-card) ---- */
.callout-note {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.callout-note .callout-icon-wrapper {
  background: #3b82f6;
}

/* ---- CODE/PROMPT CALLOUT (gray/neutral) ---- */
.callout-code {
  border-color: #d1d5db;
  background: #f9fafb;
  position: relative;
}

.callout-code .callout-icon-wrapper {
  background: #6b7280;
}

.callout-code-copy {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.callout-code-copy:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

.callout-code-content {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  color: #111827;
}

/* ---- TIP CALLOUT (yellow, like daily-bonus-card) ---- */
.callout-tip {
  border-color: #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.callout-tip .callout-icon-wrapper {
  background: #fcd34d;
}

.callout-tip .callout-body {
  color: #92400e;
}

/* ---- SCREENSHOT CALLOUT with Lightbox ---- */
.callout-screenshot {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.callout-screenshot:hover {
  border-color: #3b82f6;
}

.callout-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
}

.prose .callout-screenshot {
  max-width: none;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: lightbox-fade-in 0.2s ease;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Full-size image in lightbox */
.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

/* Reset some default styles */
* {
    /*
     margin: 0;
    padding: 0;
    */
    box-sizing: border-box;
    font-family: Inter, Open Sans, sans-serif;
    /*font-size: 1.1rem;*/
}

a {
	border: 0;
}

h1 {
	font-size: 2rem;
	margin-bottom: 20px;
}

h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

label {
	font-weight: bold;
	margin: 10px 0;
}

div.field {
	margin-bottom: 20px;
}

input[type=text], input[type=email], input[type=password] {
	padding: 10px;
	width: 100%;
	font-size: 1.4rem;
}

form input[type=submit] {
	/*
	margin-top: 20px;
	margin-bottom: 20px;
	max-width: fit-content;
	font-weight: bold;
	padding: 10px 20px;
	background: #000;
	color: #fff;
	border: 0;
	*/
	cursor: pointer;
}

#header-row {
	background: #000;
}

/* Style the full-width rows */
.full-width-row {
    padding: 20px 0; /* Adjust the padding as needed */
}

/* Centered section with fixed width */
.centered-section {
	background: #fff;
    max-width: 1200px;
    margin: 0 auto; /* Center the section horizontally */
    padding: 20px; /* Add padding as needed */
    background-color: #ffffff;
}

/* Make the layout responsive */
@media screen and (max-width: 1200px) {
    .centered-section {
        width: 90%; /* Adjust the width as needed for smaller screens */
    }
}

.header-right button {
	background: transparent;
	border: 0;
	cursor: pointer;
	color: #aeaeae;
	text-decoration: none;
}


#header {
    max-width: 1200px;
    margin: 0 auto; /* Center the header horizontally */
    padding: 20px; /* Add padding as needed */
    display: flex; /* Use flexbox to split into two horizontal sections */
    justify-content: space-between; /* Space between the two sections */
	background: #000;
	color: #fff;
	text-align: center;
}

#header img {
	max-width: 300px;
}

/* Additional responsive styles can be added for smaller screens */

.admin_lesson {
	display: block;
	padding: 20px;
}

/* Container for the lesson grid */
.lesson-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the gap between lessons as needed */
    justify-content: center; /* Center the lessons horizontally */
}

.lesson-grid * {
  text-decoration: none;	
}

.pl-4 {
  padding-left: 1rem;
}

/* Style for each lesson box */
.lesson-box {
    width: 300px;
    height: 200px;
    border: 1px solid #ddd; /* Add borders as desired */
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content vertically */
    text-align: center; /* Center text horizontally */
}

.lesson-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
}

/* Style for lesson images */
.lesson-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* Maintain image aspect ratio and cover the box */
}

/* Style for lesson captions */
.lesson-title {
	font-weight: bold;
	font-size: 14px;
    margin-top: 10px; /* Adjust spacing between image and caption */
}

.pagination {
	text-align: center;
	font-size: 1.6rem;
}

.pagination .pagination * {
    padding: 0px 0.8rem;
}

#lesson-description {
	margin: 20px 0;
	padding: 20px 40px;
	background: #f0f0f0;
}

#sign-out-footer {
	display: block;
	margin: auto;
	text-align: center;
}

input[type=text],
input[type=email],
input[type=password],
select,
textarea {
	background: #f0f0f0;
	border: 1px solid #dedede;
	border-radius: 8px;
}

select,
textarea {
	font-size: 1.4rem;
	padding: 10px;
}

textarea {
	font-size: 1.1rem;
	display: block;
	width: 100%;
}

select {
}

blockquote {
	padding: 10px;
	border-left: 4px solid green;
	background: rgba(195, 225, 193, 0.5);
	margin: 10px 0;
}

/* Fix for button visibility - override inherit color for colored buttons */
/*
a[class*="bg-blue-600"],
a[class*="bg-green-600"],
a[class*="bg-purple-600"],
a[class*="bg-gray-600"],
a[class*="bg-indigo-600"] {
	color: white !important;
	background-color: inherit !important;
}

a[class*="bg-blue-600"]:hover,
a[class*="bg-green-600"]:hover,
a[class*="bg-purple-600"]:hover,
a[class*="bg-gray-600"]:hover,
a[class*="bg-indigo-600"]:hover {
	color: white !important;
}
*/

/* Additional more specific override for coaching calls buttons */
.coaching-calls a.bg-green-600 {
	color: white !important;
}

/* More specific selectors to override Tailwind classes */
.coaching-calls .media-button {
  padding: 12px 16px !important;
  font-size: 14px !important;
  color: white;
  justify-content: center;
}

.coaching-calls .media-button.video-button {
  background: #2563eb !important;
  margin-right: 10px;
}
.coaching-calls .media-button.audio-button {
  background: #16a34a !important;
  margin-left: 10px;
}
.coaching-calls .media-button.highlights-button {
  background: #9333ea;
}

.coaching-calls .media-button svg {
  margin-right: 10px !important;
}

.job-details-button {
  background: #2563eb !important;
}
.job-apply-button {
  background: #16a34a !important;
}

div.pagination a, 
div.pagination em {
    margin-left: 10px;
    margin-right: 10px;
}

#six-proj-title {
  font-size: 2.8rem;
  font-weight: 800;
}

.six-proj-pad {
  padding: 24px;
}

.six-proj-progress {
  background: #f6f6f6;
  border-radius: 0 0.75rem 0 0;
  border-left: 1px solid #e0e0e0;
}

#six-proj-progress-steps > div {
  margin-bottom: 16px;
}

.six-proj-progress-icon {
  width: 32px;
  height: 32px;
}

.six-proj-progress-icon.completed {
  background: #9fcf75;
  /*border: 1px solid #76945C;*/
}
.six-proj-progress-icon.current {
  background: #7B78E0;
  /*border: 1px solid #585697;*/
}

.six-proj-progress-icon svg {
  width: 26px;
  height: 26px;
}

.six-proj-progress div.connector {
  margin-left: 1px !important;
  border-width: 1px;
  margin-top: 4px;
  height: 16px;
}

.six-proj-progress span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.six-proj-shadow {
  box-shadow: 4px 4px 17.8px rgba(0, 0, 0,  0.11);
}

#six-proj-main,
#six-proj-side {
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
}

#six-proj-main > div:first-child {
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}

#six-proj-main > div:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
  margin-top: 0;
  border-top: 1px solid #e0e0e0;
}

/* Fix for single child (no project state) - override first-child rule */
#six-proj-main > div:only-child {
  border-radius: 0.75rem;
  margin-bottom: 0;
  margin-top: 0;
  border-top: none;
}

#nav-bar {
  background: #2563EB;
  border-radius: 0.75rem;
}

#nav-bar a {
  font-size: 1.6rem !important;
}

#six-proj-resources, 
#six-proj-support {
  position: relative;
  border: 1px solid #e0e0e0;

  /* tweakable ribbon vars */
  --ribbon-color: #2d3eff;
  --ribbon-right: 35px;  /* distance from right edge */
  --ribbon-width: 19px;
  --ribbon-height: 33px;
  --notch-depth: 10px;
}

#six-proj-resources .text-xl.font-bold, 
#six-proj-support .text-xl.font-bold {
  font-size: 1.6rem;
}

#six-proj-support .font-bold {
  font-size: 1rem;
}

/* Bookmark ribbon */
#six-proj-resources::before,
#six-proj-support::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--ribbon-right);
  width: var(--ribbon-width);
  height: var(--ribbon-height);
  background: var(--ribbon-color);
  border-radius: 0 0 3px 3px;

  background: #3333cc;
}

#six-proj-support::before {
  background: #ff4c4c !important;
}

/* the “cut-out” notch */
#six-proj-resources::after,
#six-proj-support::after {
  content: "";
  position: absolute;
  right: var(--ribbon-right);
  top: calc(var(--ribbon-height) - var(--notch-depth));
  width: 0; height: 0;
  border-left: calc(var(--ribbon-width) / 2) solid transparent;
  border-right: calc(var(--ribbon-width) / 2) solid transparent;
  border-bottom: var(--notch-depth) solid #fff; /* match .card background */
}

#six-proj-support a > div {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

#six-proj-support a > div:hover {
  transform: translateY(-4px) scale(1.05) rotate(2deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

#six-proj-support a:first-child > div:hover {
  transform: translateY(-4px) scale(1.05) rotate(-2deg);
}

#six-proj-resources a {
  border-bottom: 1px solid #dadada;
  padding-bottom: 20px;
  font-weight: 400;
}

#six-proj-resources a svg {
  color: #2D34FF;
}

#six-proj-resources a svg, 
#six-proj-resources a span {
  transition: transform 0.2s ease;
}

#six-proj-resources a:hover svg {
  transform: scale(1.1) rotate(-15deg);
}

#six-proj-resources a:hover span {
  transform: scale(1.025);
}

/* Custom layout classes for 60/40 split */
@media (min-width: 1024px) {
  .custom-sixty-percent {
    width: 60%;
  }
  .custom-forty-percent {
    width: 40%;
  }
}

.emoji-btn {
  font-size: 2.8rem !important;
}

#xp-count {
  font-size: 2.4rem;
}

.six-proj-task.current {
  background: rgba(37, 99, 235, 0.05);
}

.six-proj-checkbox {
  width: 32px;
  height: 32px;
  box-shadow: inset 2.38px 2.38px 3.8px rgba(0, 0, 0, 0.11);
  cursor: pointer;
}

.six-proj-checkbox svg {
  width: 24px;
  height: 24px;
}

.six-proj-task.completed {
  background: rgba(169, 206, 127, 0.05);
}

.six-proj-task.completed .six-proj-checkbox {
  box-shadow: unset;
  background: #9fcf75;
  /*border: 1px solid #76945C;*/
}

.line-through strong {
  color: unset;
}

.text-gray-500 strong {
  /*color: unset;*/
}

#six-proj-step-desc {
  font-size: 1.2rem;
  line-height: 1.8rem;
}

body {
  background: #f5f5f5;
}

/* New Lessons Layout Styles */
.lessons-layout {
  display: flex;
  min-height: 600px;
  background: transparent;
}

/* Left Sidebar */
.lessons-sidebar {
  width: 20%;
  min-width: 250px;
  position: sticky;
  top: 0;
  height: fit-content;
  max-height: 80vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(229, 229, 229, 0.5);
  border-radius: 8px;
  margin-right: 2rem;
}

.lessons-sidebar-content {
  padding: 2rem 1.5rem;
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

.category-button {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-button:hover {
  background: #e9ecef;
  border-color: #dae0e5;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-button.active {
  background: #007bff;
  border-color: #007bff;
  color: white;
  box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.category-button.active:hover {
  background: #0056b3;
  border-color: #0056b3;
}

.lesson-count {
  float: right;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Scrollable Right Content */
.lessons-content {
  flex: 1;
  min-width: 0;
}

.lessons-header {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
}

.lessons-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.lessons-count {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

/* Lessons List */
.lessons-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lesson-row {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  box-shadow: 0px 3px 20px 4px #eee;
  min-height: 232px;
  display: flex;
}

.lesson-row:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(229, 229, 229, 0.8);
}

.lesson-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  align-items: stretch;
  flex: 1;
}

.lesson-thumbnail-container {
  flex-shrink: 0;
  width: 300px;
  height: 232px;
  margin-right: 2rem;
}

.lesson-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 16px 0 0 16px;
  background-color: #f8f9fa;
}

.lesson-thumbnail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  color: #adb5bd;
}

.lesson-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.lesson-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.lesson-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.lesson-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.lesson-category {
  background: #e3f2fd;
  color: #1565c0;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.lesson-price {
  background: #e8f5e8;
  color: #2e7d32;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* No Lessons State */
.no-lessons {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(229, 229, 229, 0.5);
}

.no-lessons-icon {
  width: 64px;
  height: 64px;
  color: #adb5bd;
  margin: 0 auto 1.5rem;
}

.no-lessons h3 {
  font-size: 1.5rem;
  color: #495057;
  margin-bottom: 0.75rem;
}

.no-lessons p {
  font-size: 1rem;
  color: #6c757d;
  margin: 0;
}

/* Pagination */
.lessons-pagination {
  margin-top: 3rem;
  text-align: center;
}

.lessons-pagination .pagination {
  display: inline-flex;
  gap: 0.5rem;
}

.lessons-pagination .pagination a,
.lessons-pagination .pagination em {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(229, 229, 229, 0.5);
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  font-style: normal;
  transition: all 0.3s ease;
}

.lessons-pagination .pagination a:hover {
  background: #e9ecef;
  border-color: #dae0e5;
}

.lessons-pagination .pagination em {
  background: #007bff;
  border-color: #007bff;
  color: white;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .lessons-sidebar {
    width: 25%;
    min-width: 200px;
  }
  
  .lesson-thumbnail-container {
    width: 160px;
    height: 100px;
    margin-right: 1.5rem;
  }
  
  .lesson-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .lessons-layout {
    flex-direction: column;
  }
  
  .lessons-sidebar {
    width: 100%;
    position: relative;
    height: auto;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .lesson-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .lesson-thumbnail-container {
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .lessons-header {
    padding: 1.5rem;
  }
  
  .lessons-header h1 {
    font-size: 2rem;
  }
}

/* Search Container */
.search-container {
  margin-bottom: 1.5rem;
}

.search-form {
  position: relative;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  background: #fafafa !important;
  color: #000 !important;
  font-size: 1rem;
}

.search-input::placeholder {
  color: rgba(0, 0, 0, 0.3) !important;
}

.search-submit-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.search-submit-button:hover {
  color: rgba(255, 255, 255, 0.8);
}

.search-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Current Search Display */
.current-search-display {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-label {
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.875rem;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
}

.search-query-text {
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.875rem;
}

.search-clear-link {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.25rem;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.search-clear-link:hover {
  color: #2563EB;
  border-bottom: 1px solid rgba(37, 99, 235, 1.0);
}

.search-clear-icon {
  width: 1rem;
  height: 1rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}
