.habit-main {
  --surface: #f2f2f2;
  --surface2: #f2f2f2;
  --border: #e8e8e8;
  --border2: #e8e8e8;
  --shadow: 4px 4px 10px rgba(165, 165, 165, 0.18), -4px -4px 10px rgba(242, 242, 242, 0.92);
  --text: #151923;
  --text2: #5e6d84;
  --text3: #7a889d;
  --accent: #3563ff;
  --accent2: #18b56a;
  --mint: #18b56a;
  --ink: #15376f;
  --warn: #18b56a;
  --danger: #3563ff;
  --secondary-mint: #18b56a;
  --mono: "Poppins", sans-serif;
  font-family: "Poppins", sans-serif;
  color: var(--text);
}

.habit-main .page-header {
  margin-bottom: 16px;
}

.habit-main .page-tag {
  margin-bottom: 8px;
  color: var(--text3);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.habit-main .page-title {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.habit-main .page-title span {
  color: var(--accent);
}

.habit-main .page-desc {
  max-width: 760px;
  margin-top: 10px;
  color: var(--text2);
}

.habit-main .harbour-grid {
  align-items: start;
}

.habit-main .harbour-sidebar,
.habit-main .harbour-view {
  display: grid;
  gap: 12px;
  align-content: start;
}

.habit-main :is(.harbour-card, .mother-container) {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #f2f2f2;
  box-shadow: var(--shadow);
}

.habit-main .harbour-card-content {
  display: grid;
  gap: 10px;
}

.habit-main .harbour-card-header h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
}

.habit-main .small-note {
  margin: 0;
  color: var(--text3);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.habit-main .form-group {
  display: grid;
  gap: 6px;
}

.habit-main .form-label {
  color: var(--text3);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.habit-main .primary-btn {
  margin-top: 4px;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

.habit-main .harbour-stats {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.habit-main .harbour-stats .stat-item {
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface2);
}

.habit-main .harbour-stats .stat-value {
  font-size: 0.92rem;
  line-height: 1;
}

.habit-main .harbour-stats .stat-label {
  font-size: 0.62rem;
  line-height: 1.15;
}

.habit-main .info-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text2);
  font-size: 0.82rem;
}

.habit-main .guide-list li {
  color: var(--text2);
  font-size: 0.88rem;
}

.habit-main .guide-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.habit-main .guide-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.habit-main .harbour-header {
  margin-bottom: 0;
}

.habit-main .mother-container {
  display: grid;
  gap: 9px;
}

.habit-main .current-date {
  margin-top: 2px;
  color: var(--text3);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.habit-main .harbour-controls {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.habit-main .mode-toggle {
  display: inline-flex;
  gap: 8px;
}

.habit-main .weekly-review-banner {
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  background: #f2f2f2;
  padding: 10px;
}

.habit-main .review-content {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 8px;
}

.habit-main .close-review {
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: #ece8e4;
  color: var(--text2);
  padding: 6px 8px;
  cursor: pointer;
}

.habit-main .boats-container {
  display: grid;
  gap: 9px;
}

.habit-main .habit-boat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.habit-main .boat-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  color: #f7f7f8;
  font-size: 1.2rem;
}

.habit-main .freeze-indicator {
  position: absolute;
  right: -6px;
  bottom: -6px;
  font-size: 0.9rem;
}

.habit-main .boat-info {
  display: grid;
  gap: 6px;
}

.habit-main .boat-name {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 700;
}

.habit-main .progress-bar-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.habit-main .progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e3e3e3;
  overflow: hidden;
}

.habit-main .progress-fill {
  height: 100%;
  border-radius: inherit;
  background: #000000;
}

.habit-main .streak-number {
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
}

.habit-main .streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #f2f2f2;
  border-radius: 999px;
  background: #f2f2f2;
  color: #5e6d84;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 7px;
}

.habit-main .streak-badge.freeze {
  border-color: #f2f2f2;
  background: #f2f2f2;
  color: #3563ff;
}

.habit-main .boat-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.habit-main .boat-actions button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: #f2f2f2;
  color: var(--text2);
  cursor: pointer;
}

.habit-main .boat-actions button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.habit-main .boat-check,
.habit-main .boat-customize,
.habit-main .boat-details,
.habit-main .boat-delete {
  border-color: var(--border2) !important;
  background: #f2f2f2 !important;
  color: #000000 !important;
}

.habit-main .empty-harbour {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  border: 1px dashed var(--border2);
  border-radius: 12px;
  background: #f2f2f2;
  text-align: center;
  padding: 24px 18px;
}

.habit-main .empty-illustration {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text3);
  font-size: 1.5rem;
}

.habit-main .empty-harbour p {
  margin: 0;
  max-width: 320px;
  color: var(--text2);
}

.habit-main .habit-modal-content,
.habit-main .details-modal-content,
.habit-main .customize-modal-content,
.habit-main .weekly-modal-content,
.habit-main .celebration-content {
  border-radius: 12px;
  background: #f2f2f2;
}

.habit-main .modal.active {
  display: flex !important;
}

.habit-main .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.habit-main .modal-head h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.habit-main .close-modal-btn {
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: #f2f2f2;
  color: var(--text2);
  padding: 6px 9px;
  font-size: 0.8rem;
  cursor: pointer;
}

.habit-main .checkin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.habit-main .checkin-copy p {
  margin: 0 0 8px;
}

.habit-main .habit-name {
  color: var(--text2);
  font-size: 0.86rem;
}

.habit-main .details-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.habit-main .details-summary p {
  margin: 0;
}

.habit-main .details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.habit-main .details-grid .stat-item {
  display: grid;
  gap: 4px;
}

.habit-main .details-grid .stat-value {
  font-size: 0.9rem;
  line-height: 1.2;
}

.habit-main .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.habit-main .btn-ghost {
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: #f2f2f2;
  color: var(--text2);
  cursor: pointer;
}

.habit-main .customize-layout {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 0.66fr);
  gap: 10px;
}

.habit-main .preview-panel {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f2f2f2;
}

.habit-main .preview-boat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  color: #f6f6f7;
  font-size: 1.7rem;
}

.habit-main .unlock-note {
  margin: 0;
  text-align: center;
  color: var(--text3);
  font-size: 0.77rem;
}

.habit-main .customize-options {
  display: grid;
  gap: 10px;
}

.habit-main .option-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface2);
  padding: 10px;
}

.habit-main .option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.habit-main .option-head h4 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
}

.habit-main .unlock-hint {
  color: var(--text3);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
}

.habit-main .color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.habit-main .color-option {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.habit-main .color-option.selected {
  border-color: #f2f2f2;
}

.habit-main .flag-grid,
.habit-main .hull-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.habit-main .flag-option,
.habit-main .hull-option {
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: #f2f2f2;
  color: var(--text2);
  font-size: 0.8rem;
  padding: 8px;
  text-align: center;
  cursor: pointer;
}

.habit-main .flag-option.selected,
.habit-main .hull-option.selected {
  border-color: #f2f2f2;
  background: #e7e2dc;
  color: var(--text);
  font-weight: 600;
}

.habit-main .summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.habit-main .summary-stat {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface2);
  padding: 9px;
  text-align: center;
}

.habit-main .summary-stat .value {
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
}

.habit-main .summary-stat .label {
  color: var(--text3);
  font-size: 0.74rem;
}

.habit-main .week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.habit-main .week-day {
  display: grid;
  gap: 5px;
  justify-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface2);
  color: var(--text3);
  font-size: 0.75rem;
  padding: 7px 4px;
}

.habit-main .week-day.completed {
  border-color: #f2f2f2;
  background: #f2f2f2;
  color: #1f5d2c;
}

.habit-main .insight-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface2);
  padding: 10px;
}

.habit-main .insight-card h4 {
  margin: 4px 0;
}

.habit-main .insight-card p {
  margin: 0;
  color: var(--text2);
  font-size: 0.86rem;
}

.habit-main .celebration-overlay .modal-content {
  text-align: center;
}

.habit-main .celebration-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #ece8e4;
  color: var(--accent2);
  font-size: 1.55rem;
}

.habit-main .celebration-content h3 {
  margin: 0 0 6px;
}

.habit-main .celebration-content p {
  margin: 0;
}

.habit-main .celebration-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.habit-main .celebration-badges span {
  border: 1px solid #f2f2f2;
  border-radius: 999px;
  background: #f2f2f2;
  color: var(--text2);
  font-family: var(--mono);
  font-size: 0.67rem;
  padding: 3px 8px;
}

.notification {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 220;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  background: #1f1f1f;
  color: #f4f4f4;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  padding: 9px 11px;
  font-size: 0.84rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification.info {
  border-color: #f2f2f2;
}

@media (max-width: 1180px) {
  .habit-main .harbour-controls {
    justify-items: start;
  }
}

@media (max-width: 900px) {
  .habit-main .habit-boat {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .habit-main .boat-actions {
    grid-column: 1 / -1;
  }

  .habit-main .customize-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .habit-main .summary-stats {
    grid-template-columns: 1fr;
  }

  .habit-main .checkin-stats {
    grid-template-columns: 1fr;
  }

  .habit-main .review-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .habit-main .review-content .review-btn,
  .habit-main .review-content .close-review {
    width: 100%;
    justify-content: center;
  }

  .habit-main .week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .notification {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/* themh visual refresh for Streak Harbour */
body.home-page.tool-harbour {
  background:
    radial-gradient(circle at top, rgba(53, 99, 255, 0.08), transparent 28%),
    radial-gradient(circle at 18% 0%, rgba(28, 184, 109, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7ff 56%, #eef4ff 100%);
  color: #151923;
  font-family: "Inter", sans-serif;
}

body.home-page.tool-harbour .site-frame {
  width: min(1380px, calc(100% - 28px));
  margin: 14px auto;
  border: 1px solid #d7e1f0;
  border-radius: 28px;
  background: rgba(242, 242, 242, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

body.home-page.tool-harbour .topbar {
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #f2f2f2;
  background: rgba(242, 242, 242, 0.82);
}

body.home-page.tool-harbour .brand {
  color: #15376f;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

body.home-page.tool-harbour .main-nav a {
  color: #6c7a92;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.home-page.tool-harbour .main-nav a.active,
body.home-page.tool-harbour .main-nav a:hover {
  color: #3563ff;
}

body.home-page.tool-harbour .menu-toggle {
  border: 1px solid #d5e0ef;
  background: #3563ff;
  color: #f2f2f2;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

body.home-page.tool-harbour .topbar-btn,
body.home-page.tool-harbour .btn,
body.home-page.tool-harbour .action-btn,
body.home-page.tool-harbour .primary-btn,
body.home-page.tool-harbour .review-btn,
body.home-page.tool-harbour .close-modal-btn {
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.home-page.tool-harbour .topbar-btn {
  background: #18b56a;
  color: #f2f2f2;
  border: 0;
}

body.home-page.tool-harbour .tool-page {
  padding: 56px 20px 28px;
}

body.home-page.tool-harbour .habit-main {
  --surface: #f2f2f2;
  --surface2: #f2f2f2;
  --border: #e8e8e8;
  --border2: #e8e8e8;
  --text: #151923;
  --text2: #5e6d84;
  --text3: #7a879b;
  --accent: #3563ff;
  --accent2: #2346d5;
  --mint: #18b56a;
  --ink: #164a8c;
  --warn: #18b56a;
  --danger: #3563ff;
  --secondary-mint: #18b56a;
  --shadow: 4px 4px 10px rgba(165, 165, 165, 0.18), -4px -4px 10px rgba(242, 242, 242, 0.92);
  --mono: "Poppins", sans-serif;
  font-family: "Poppins", sans-serif;
  color: var(--text);
}

body.home-page.tool-harbour .habit-main .page-header {
  margin-bottom: 12px;
}

body.home-page.tool-harbour .habit-main .page-tag {
  color: #5d6d85;
  letter-spacing: 0.18em;
}

body.home-page.tool-harbour .habit-main .page-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: #151923;
}

body.home-page.tool-harbour .habit-main .page-title span {
  color: #3563ff;
}

body.home-page.tool-harbour .habit-main .page-desc {
  max-width: 42rem;
  color: #5e6d84;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

body.home-page.tool-harbour .habit-main .harbour-grid {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 18px;
}

body.home-page.tool-harbour .habit-main .harbour-sidebar,
body.home-page.tool-harbour .habit-main .harbour-view {
  gap: 16px;
}

body.home-page.tool-harbour .habit-main .harbour-view {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home-page.tool-harbour .habit-main .harbour-header {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.home-page.tool-harbour .habit-main .harbour-header .harbour-stats {
  margin-top: 8px;
}

body.home-page.tool-harbour .habit-main .harbour-controls {
  justify-items: end;
}

body.home-page.tool-harbour .habit-main .harbour-card,
body.home-page.tool-harbour .habit-main .weekly-review-banner,
body.home-page.tool-harbour .habit-main .habit-boat,
body.home-page.tool-harbour .habit-main .empty-harbour,
body.home-page.tool-harbour .habit-main .modal-content,
body.home-page.tool-harbour .habit-main .preview-panel,
body.home-page.tool-harbour .habit-main .option-block,
body.home-page.tool-harbour .habit-main .summary-stat,
body.home-page.tool-harbour .habit-main .week-day,
body.home-page.tool-harbour .habit-main .insight-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #f2f2f2;
  box-shadow: var(--shadow);
}

body.home-page.tool-harbour .habit-main .harbour-card,
body.home-page.tool-harbour .habit-main .weekly-review-banner,
body.home-page.tool-harbour .habit-main .empty-harbour {
  padding: 18px;
}

body.home-page.tool-harbour .habit-main .harbour-card-header h3,
body.home-page.tool-harbour .habit-main .harbour-header h2,
body.home-page.tool-harbour .habit-main .modal-head h3 {
  font-family: "Inter", sans-serif;
  color: #151923;
  letter-spacing: -0.05em;
}

body.home-page.tool-harbour .habit-main .form-input,
body.home-page.tool-harbour .habit-main textarea {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f2f2f2;
  color: var(--text);
  box-shadow: var(--shadow);
}

body.home-page.tool-harbour .habit-main .form-input:focus,
body.home-page.tool-harbour .habit-main textarea:focus {
  border-color: #f2f2f2;
  outline: none;
  box-shadow: var(--shadow);
}

body.home-page.tool-harbour .habit-main .action-btn,
body.home-page.tool-harbour .habit-main .primary-btn,
body.home-page.tool-harbour .habit-main .review-btn,
body.home-page.tool-harbour .habit-main .btn-primary {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000000;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}

body.home-page.tool-harbour .habit-main .action-btn:hover,
body.home-page.tool-harbour .habit-main .primary-btn:hover,
body.home-page.tool-harbour .habit-main .review-btn:hover,
body.home-page.tool-harbour .habit-main .btn-primary:hover {
  text-decoration: underline;
  filter: none;
}

body.home-page.tool-harbour .habit-main .action-btn:last-child,
body.home-page.tool-harbour .habit-main .btn-ghost,
body.home-page.tool-harbour .habit-main .close-review {
  background: transparent;
  color: #000000;
  border-color: transparent;
  box-shadow: none;
}

body.home-page.tool-harbour .habit-main .streak-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(242, 242, 242, 0.78);
}

body.home-page.tool-harbour .habit-main .streak-badge.today {
  border-color: #f2f2f2;
  background: rgba(53, 99, 255, 0.1);
  color: #2346d5;
}

body.home-page.tool-harbour .habit-main .streak-badge.freeze {
  border-color: #f2f2f2;
  background: rgba(24, 181, 106, 0.1);
  color: #12824a;
}

body.home-page.tool-harbour .habit-main .progress-bar {
  background: #e3e3e3;
}

body.home-page.tool-harbour .habit-main .progress-fill {
  background: #000000;
}

body.home-page.tool-harbour .habit-main .boat-check,
body.home-page.tool-harbour .habit-main .boat-customize,
body.home-page.tool-harbour .habit-main .boat-delete {
  background: #f2f2f2 !important;
  border-color: var(--border2) !important;
  color: #000000 !important;
}

body.home-page.tool-harbour .habit-main .habit-boat {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 14px 16px;
}

body.home-page.tool-harbour .habit-main .action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.home-page.tool-harbour .habit-main .action-btn {
  min-height: 0;
  padding: 0;
}

body.home-page.tool-harbour .habit-main .boat-icon,
body.home-page.tool-harbour .habit-main .preview-boat,
body.home-page.tool-harbour .habit-main .celebration-icon-wrap {
  border: 1px solid #f2f2f2;
  background: radial-gradient(circle at 35% 30%, #f2f2f2 0%, #eef4ff 70%, #dfeaff 100%);
}

body.home-page.tool-harbour .habit-main .notification {
  border-radius: 999px;
  background: #151923;
}

body.home-page.tool-harbour .site-footer {
  background: transparent;
}

body.home-page.tool-harbour .site-footer .footer-main,
body.home-page.tool-harbour .site-footer .footer-meta {
  border-color: #f2f2f2;
}

@media (max-width: 960px) {
  body.home-page.tool-harbour .habit-main .harbour-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.home-page.tool-harbour .site-frame {
    width: min(100% - 20px, 1380px);
    border-radius: 24px;
  }

  body.home-page.tool-harbour .topbar {
    padding: 14px 14px;
  }

  body.home-page.tool-harbour .tool-page {
    padding: 18px 14px 22px;
  }

  body.home-page.tool-harbour .habit-main .page-title {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  body.home-page.tool-harbour .habit-main .harbour-card,
  body.home-page.tool-harbour .habit-main .weekly-review-banner,
  body.home-page.tool-harbour .habit-main .empty-harbour,
  body.home-page.tool-harbour .habit-main .modal-content {
    border-radius: 20px;
  }
}

