/* ============ GLOBAL ============ */
[hidden] { display: none !important; }

/* ============ DESIGN TOKENS ============ */
:root,
[data-theme='light'] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-timer: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --color-bg: #f5f7f8;
  --color-surface: #ffffff;
  --color-text: #0f2330;
  --color-text-muted: #5a6b76;
  --color-border: #d8e0e5;
  --color-border-strong: #b8c4cc;
  --color-primary: #0d7c8c;
  --color-primary-hover: #095e6c;
  --color-primary-soft: #d6eef1;
  --color-short: #2e7d6b;
  --color-short-soft: #d4ebe3;
  --color-long: #6b4e9a;
  --color-long-soft: #e3daf0;
  --color-error: #b91c1c;

  --shadow-sm: 0 1px 2px rgba(15, 35, 48, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 35, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 35, 48, 0.14);

  --accent: var(--color-primary);
  --accent-soft: var(--color-primary-soft);
}

[data-theme='dark'] {
  --color-bg: #0a1620;
  --color-surface: #122230;
  --color-text: #e8f1f5;
  --color-text-muted: #8aa0ac;
  --color-border: #1f3344;
  --color-border-strong: #2d4658;
  --color-primary: #38bcd1;
  --color-primary-hover: #5dd1e3;
  --color-primary-soft: #0d3a44;
  --color-short: #4ade80;
  --color-short-soft: #0e3527;
  --color-long: #c4a3ff;
  --color-long-soft: #2a1e44;
  --color-error: #f87171;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a1620;
    --color-surface: #122230;
    --color-text: #e8f1f5;
    --color-text-muted: #8aa0ac;
    --color-border: #1f3344;
    --color-border-strong: #2d4658;
    --color-primary: #38bcd1;
    --color-primary-hover: #5dd1e3;
    --color-primary-soft: #0d3a44;
    --color-short: #4ade80;
    --color-short-soft: #0e3527;
    --color-long: #c4a3ff;
    --color-long-soft: #2a1e44;
    --color-error: #f87171;
  }
}

/* Mode-driven accent variables */
body[data-mode='focus'] { --accent: var(--color-primary); --accent-soft: var(--color-primary-soft); }
body[data-mode='short'] { --accent: var(--color-short); --accent-soft: var(--color-short-soft); }
body[data-mode='long']  { --accent: var(--color-long);  --accent-soft: var(--color-long-soft); }

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  transition: background 0.4s ease;
}

h1, h2, h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-weight: 700;
  font-size: var(--text-lg);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo svg { color: var(--accent); transition: color 0.4s; }

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background 0.15s, color 0.15s;
}
.theme-toggle:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.theme-toggle .icon-moon { display: none; }
[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
[data-theme='dark'] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: block; }
}

/* ============ TIMER SECTION ============ */
.timer-section {
  padding-top: var(--space-10);
  padding-bottom: var(--space-8);
  text-align: center;
}

/* Goal card */
.goal-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto var(--space-6);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
}
.goal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.goal-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.goal-label svg { color: var(--accent); flex: none; }
.goal-progress {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}
.goal-progress.complete {
  color: var(--accent);
  font-weight: 600;
}
.goal-input {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 52px;
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.goal-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.75;
}
.goal-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.goal-done {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.goal-done svg { color: var(--accent); flex: none; }
.goal-clear {
  margin-left: auto;
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.goal-clear:hover {
  background: var(--accent);
  color: white;
}

/* Mode tabs */
.mode-tabs {
  display: inline-flex;
  gap: var(--space-1);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: var(--space-1);
  margin: 0 auto var(--space-8);
  box-shadow: var(--shadow-sm);
}
.mode-tab {
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s;
}
.mode-tab.active {
  background: var(--accent);
  color: white;
}
.mode-tab:hover:not(.active) { color: var(--color-text); }

/* Timer circle */
.timer-wrap {
  position: relative;
  width: min(360px, 80vw);
  margin: 0 auto var(--space-8);
  aspect-ratio: 1;
}
.ring {
  width: 100%;
  height: 100%;
  transition: filter 0.4s;
}
.ring-track {
  stroke: var(--color-border);
}
.ring-progress {
  stroke: var(--accent);
  stroke-dasharray: 678.58; /* 2 * PI * 108 */
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.95s linear, stroke 0.4s;
}
.timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}
.time {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-timer);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 1;
}
.mode-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Controls */
.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.btn-primary {
  padding: var(--space-3) var(--space-10);
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent);
}
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-primary:active { transform: scale(0.98); }
body[data-mode='short'] .btn-primary:hover { background: color-mix(in srgb, var(--color-short) 80%, black); }
body[data-mode='long'] .btn-primary:hover { background: color-mix(in srgb, var(--color-long) 80%, black); }

.btn-ghost {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sessions */
.session-track { text-align: center; }
.dots {
  display: inline-flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.dot-item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border-strong);
  transition: background 0.3s, transform 0.3s;
}
.dot-item.complete {
  background: var(--accent);
}
.dot-item.current {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.session-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ============ SETTINGS ============ */
.settings {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-8);
}
.settings summary {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  list-style: none;
  user-select: none;
}
.settings summary::-webkit-details-marker { display: none; }
.settings summary svg { color: var(--color-text-muted); }
.settings[open] summary { margin-bottom: var(--space-4); }
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.settings-grid label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.settings-grid input {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
}
.settings-grid input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.settings-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  cursor: pointer;
}
.check input { width: 16px; height: 16px; accent-color: var(--accent); }

/* ============ SOUND PANEL ============ */
.sound-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-8);
}
.sound-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.sound-head h3 {
  font-size: var(--text-base);
  margin: 0 0 var(--space-1);
}
.sound-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.volume-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
}
.volume-wrap input[type="range"] {
  width: 100px;
  accent-color: var(--accent);
  cursor: pointer;
}
.sound-group-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.sound-group-label:not(:first-of-type) {
  margin-top: var(--space-4);
}
.hint-text {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  opacity: 0.8;
}
.sound-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.sound-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.clear-sounds {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.clear-sounds:hover {
  color: var(--color-error);
  background: color-mix(in srgb, var(--color-error) 8%, transparent);
}
.sound-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-2);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: all 0.15s;
  min-height: 64px;
}
.sound-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.sound-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.sound-btn.active:hover { color: white; }
.sound-btn.loading {
  opacity: 0.7;
  position: relative;
}
.sound-btn.loading::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.sound-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.sound-name { line-height: 1.2; text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
@media (max-width: 540px) {
  .sound-options { grid-template-columns: repeat(2, 1fr); }
}

/* ============ FAQ ============ */
.faq-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-16);
}
.faq-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
  text-align: center;
}
.faq-section details {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}
.faq-section summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--accent);
  font-weight: 400;
  margin-left: var(--space-3);
  transition: transform 0.2s;
}
.faq-section details[open] summary::after { content: '−'; }
.faq-section details p {
  margin: var(--space-3) 0 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.site-footer .dot { margin: 0 var(--space-2); }

/* Mobile */
@media (max-width: 540px) {
  .settings-grid { grid-template-columns: 1fr 1fr; }
  .mode-tab { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); }
  .btn-primary { padding: var(--space-3) var(--space-8); }
}

.site-footer .footer-sub {
  font-size: 12.5px;
  margin-top: 6px;
  opacity: 0.75;
}

/* ============================================================
   Detachable sticky-note goal card
   ============================================================ */

/* Float / close button (lives inside .goal-row) */
.goal-float-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  margin-left: var(--space-2);
  flex: none;
}
.goal-float-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.goal-float-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.goal-float-btn .icon-close { display: none; }
.goal-card.detached .goal-float-btn .icon-detach { display: none; }
.goal-card.detached .goal-float-btn .icon-close { display: inline-flex; }

/* Drag handle (only shown when detached) */
.goal-handle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px 8px;
  margin: -4px -4px 4px;
  cursor: grab;
  user-select: none;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
}
.goal-handle:active { cursor: grabbing; }
.goal-handle-grip {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.goal-handle-grip i {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0.55;
}
.goal-card.detached .goal-handle { display: flex; }

/* Resize grip (only shown when detached, hidden on mobile) */
.goal-resize {
  display: none;
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 18px;
  height: 18px;
  cursor: nwse-resize;
  color: var(--color-text-muted);
  opacity: 0.6;
  align-items: center;
  justify-content: center;
}
.goal-card.detached .goal-resize { display: inline-flex; }
.goal-resize:hover { opacity: 1; color: var(--accent); }

/* Placeholder that holds the layout space when detached */
.goal-placeholder {
  max-width: 520px;
  margin: 0 auto var(--space-6);
  visibility: hidden;
}

/* Floating sticky-note state */
.goal-card.detached {
  position: fixed;
  top: var(--goal-top, 100px);
  left: var(--goal-left, 50%);
  width: var(--goal-w, 260px);
  height: var(--goal-h, 260px);
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: 0;
  padding: 4px var(--space-3) var(--space-3);
  z-index: 90;
  background: var(--color-surface);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.06),
    0 12px 32px rgba(0,0,0,0.18),
    0 2px 6px rgba(0,0,0,0.08);
  border-color: color-mix(in srgb, var(--accent) 22%, var(--color-border));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: goal-pop 180ms ease-out;
}

@keyframes goal-pop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Make the textarea fill the available space inside the floating note */
.goal-card.detached .goal-input {
  flex: 1;
  resize: none;
  min-height: 0;
  height: 100%;
}
.goal-card.detached .goal-row {
  margin-bottom: 6px;
  flex-wrap: wrap;
  row-gap: 4px;
}
.goal-card.detached .goal-label {
  flex: 1 1 100%;
  font-size: 0.85rem;
}
.goal-card.detached .goal-progress {
  font-size: 0.72rem;
  order: 2;
}
.goal-card.detached .goal-float-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  background: var(--color-surface);
  margin-left: 0;
}
.goal-card.detached .goal-done {
  font-size: 0.78rem;
  padding: 6px 10px;
  margin-top: 8px;
}

/* Dragging visual */
.goal-card.detached.dragging {
  cursor: grabbing;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.08),
    0 22px 44px rgba(0,0,0,0.26),
    0 4px 10px rgba(0,0,0,0.10);
}
.goal-card.detached.dragging .goal-handle { cursor: grabbing; }

/* Mobile: lock to bottom strip, no drag, no resize */
@media (max-width: 600px) {
  .goal-card.detached {
    top: auto !important;
    left: 12px !important;
    right: 12px;
    bottom: 12px;
    width: auto !important;
    height: auto !important;
    max-height: 45vh;
  }
  /* On mobile the note is docked to the bottom strip, drag and resize are off.
     Hide the drag handle entirely. */
  .goal-card.detached .goal-handle { display: none !important; }
  .goal-card.detached .goal-resize { display: none !important; }
  .goal-card.detached .goal-input {
    min-height: 80px;
  }
}
