/* Proposal cards, voting controls, and planner sheet styles. */

/* =========================================================================
   Picks, proposals, hangouts
   ========================================================================= */

.pick-list,
.proposal-list,
.idea-pick-list {
  display: grid;
  gap: 12px;
}

.pick-card,
.proposal-card,
.hangout-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.proposal-card {
  gap: 14px;
}

.proposal-board-summary {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.proposal-board-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  gap: 6px;
}

.proposal-board-stat {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 6px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  text-align: center;
}

.proposal-board-stat strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.proposal-board-stat span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proposal-next-action {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.proposal-timing-strip {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent-soft) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
}

.proposal-timing-strip strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.proposal-timing-strip span {
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

.proposal-timing-strip .proposal-timing-kicker {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.proposal-lock-hint {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px dashed color-mix(in srgb, var(--line-strong) 70%, var(--accent));
  color: var(--ink-mute);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.pick-actions,
.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.proposal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  margin-top: 2px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface) 86%, var(--accent-soft));
  border: 1px solid var(--line);
}

.proposal-actions::-webkit-scrollbar {
  display: none;
}

@media (min-width: 720px) {
  .proposal-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.proposal-actions .button,
.proposal-actions .proposal-lock-hint {
  width: 100%;
  min-width: 0;
}

.proposal-finalize-action,
.proposal-lock-hint {
  grid-column: 1 / -1;
}

.proposal-cancel-action {
  grid-column: 1 / -1;
  min-height: 32px !important;
  color: var(--ink-mute) !important;
  border: 0 !important;
  background: transparent !important;
}

.proposal-action-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.proposal-card-identity-hit {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: var(--r-md);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-card-identity-hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.proposal-card-identity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ink-mute);
}

.proposal-card-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.proposal-card-copy strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

.proposal-section {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.proposal-section-label {
  margin: 0;
  padding: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.proposal-empty-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.proposal-empty-hint strong {
  font-weight: 600;
  color: var(--ink-soft);
}

.proposal-binary-votes {
  display: flex;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent);
}

.proposal-binary-votes .vote-pill {
  flex: 1;
  margin: 0;
  min-height: 44px;
  padding: 10px 8px;
  border: none;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 120ms ease, color 120ms ease;
}

.proposal-binary-votes .vote-pill + .vote-pill {
  border-left: 1px solid var(--line);
}

.proposal-binary-votes .vote-pill.active {
  border-color: transparent;
  background: color-mix(in srgb, var(--accent-soft) 88%, var(--surface));
  color: var(--accent-deep);
}

.modal-sheet.sheet-tall.proposal-focus-sheet {
  /* sheet-tall zeroes default modal padding; keep safe-area so the title isn’t clipped under the notch */
  box-sizing: border-box;
  width: min(640px, calc(100% - 24px));
  margin: 10px auto 0;
  overflow-x: hidden;
  padding: calc(20px + env(safe-area-inset-top, 0px)) clamp(18px, 5vw, 28px)
    calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.proposal-focus-header {
  position: relative;
  padding: 2px 54px 14px 2px;
}

.proposal-focus-header .icon-button {
  position: absolute;
  top: 0;
  right: 0;
}

.proposal-focus-header .sheet-head-copy {
  gap: 6px;
  min-width: 0;
}

.proposal-focus-header .sheet-head-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
}

.proposal-focus-header .subtle-copy {
  max-width: 100%;
  font-size: 0.82rem;
  line-height: 1.3;
}

.proposal-focus-body {
  margin-top: 2px;
  padding-bottom: 10px;
}

.proposal-focus-body .proposal-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 16px;
}

.proposal-focus-body .proposal-card-head {
  padding: 0 2px 2px;
}

.proposal-focus-body .proposal-card-identity > .idea-thumb {
  display: none;
}

.proposal-focus-body .proposal-card-copy strong {
  font-size: 1.2rem;
}

.proposal-inline-action {
  flex: 0 0 auto;
  min-height: 40px;
  align-self: flex-start;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-slot-strip {
  display: grid;
  gap: 6px;
}

.proposal-slot-strip-compact {
  gap: 8px;
}

.proposal-slot-compact {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.proposal-slot-compact:has(.proposal-slot-remove) {
  padding-right: 40px;
}

.proposal-slot-compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.proposal-slot-compact-when strong {
  display: block;
  font-size: 0.84rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}

.proposal-slot-compact-when span {
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.proposal-slot-compact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.proposal-slot-compact:has(.proposal-slot-remove) .proposal-slot-compact-badges {
  margin-right: 28px;
}

.proposal-signal-pill {
  font-size: 0.6rem;
  padding: 3px 7px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-mute);
  max-width: 160px;
  line-height: 1.2;
  text-align: right;
}

.proposal-slot-pill-likes {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink-mute);
  white-space: nowrap;
}

.proposal-slot-pill-likes.is-hot {
  color: var(--accent-deep);
}

.proposal-slot-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.proposal-slot-remove::before {
  content: none;
}

.proposal-pref-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
}

.proposal-pref-strip-binary {
  max-width: 220px;
  gap: 6px;
}

.proposal-pref-chip {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 6px 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-pref-chip.active {
  background: color-mix(in srgb, var(--accent-soft) 88%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}

.proposal-pref-chip-label {
  line-height: 1.1;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.proposal-pref-chip-count {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.9;
}

.proposal-leader-hint {
  margin: 2px 0 4px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent-soft) 40%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}

.proposal-leader-hint-inner {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.proposal-option-row-compact {
  position: relative;
  padding: 9px 40px 9px 10px !important;
  gap: 7px !important;
}

.proposal-option-row-compact .proposal-option-toolbar {
  gap: 6px;
}

.proposal-option-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-option-open-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.proposal-option-open strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.25;
}

.proposal-option-source {
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
  color: var(--accent-deep);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
}

.proposal-option-open-cue {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 1rem;
}

.proposal-option-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.proposal-signal-line {
  display: block;
  font-size: 0.7rem;
  margin-top: 2px;
  color: var(--ink-mute);
}

.proposal-option-tally-line {
  font-size: 0.72rem;
}

.proposal-tally-readonly {
  font-size: 0.72rem;
}

.proposal-slot-list {
  display: grid;
  gap: 6px;
}

.proposal-slot-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.proposal-slot-button:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.proposal-slot-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.proposal-slot-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 0.78rem;
  color: var(--ink-mute);
}

.proposal-slot-selected-mark {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1;
}

.proposal-slot-button.active .proposal-slot-selected-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.proposal-slot-pill {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.proposal-slot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.proposal-slot-when {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.proposal-slot-when strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.88rem;
}

.proposal-slot-when span {
  font-size: 0.74rem;
  color: var(--ink-mute);
}

.proposal-slot-likes {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-mute);
  white-space: nowrap;
}

.proposal-slot-likes.is-hot {
  color: var(--accent-deep);
}

.proposal-slot-mod {
  display: flex;
  justify-content: flex-end;
}

.proposal-options-list {
  display: grid;
  gap: 8px;
}

.proposal-option-group {
  display: grid;
  gap: 8px;
}

.proposal-option-group-label {
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--ink-mute);
}

.proposal-category-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 70%, transparent), transparent),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
}

.proposal-category-glyph {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 700;
}

.proposal-category-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.proposal-category-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.proposal-category-copy span {
  font-size: 0.68rem;
  color: var(--ink-mute);
}

.proposal-vote-shape-hint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.proposal-option-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.proposal-option-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.proposal-option-main strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.25;
}

.proposal-option-tally {
  font-size: 0.74rem;
}

.proposal-option-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

@media (min-width: 480px) {
  .proposal-option-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .proposal-option-toolbar {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    max-width: min(320px, 48vw);
  }

  .proposal-option-toolbar .proposal-binary-votes {
    flex: 1;
    min-width: 0;
  }
}

.proposal-mini-votes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proposal-reschedule-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid color-mix(in srgb, var(--line) 70%, var(--accent));
  background: color-mix(in srgb, var(--surface-2) 82%, var(--accent-soft));
}

.proposal-reschedule-summary {
  font-size: 0.84rem;
  line-height: 1.35;
}

.proposal-reschedule-row .proposal-inline-action {
  justify-self: end;
}

.proposal-notes {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hangout-title-block {
  display: grid;
  gap: 4px;
}

.hangout-title-block strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
}

/* =========================================================================
   Voting
   ========================================================================= */

.vote-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.vote-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.vote-button:hover {
  border-color: var(--ink-faint);
  color: var(--ink);
}

.vote-button.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.vote-button.active.love {
  background: var(--love);
  border-color: var(--love);
  color: #fff;
}

.vote-button.active.yes {
  background: var(--yes);
  border-color: var(--yes);
  color: #fff;
}

.vote-button.active.maybe {
  background: var(--maybe);
  border-color: var(--maybe);
  color: #fff;
}

.vote-button.active.pass {
  background: var(--ink-mute);
  border-color: var(--ink-mute);
  color: var(--bg);
}

.vote-button-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

.vote-button.active .vote-button-count {
  color: currentColor;
}

.vote-summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.vote-people {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.vote-people-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================================
   Planner sheet
   ========================================================================= */

.planner-stack {
  display: grid;
  gap: 14px;
}

.planner-simple-sheet { width: min(620px, calc(100vw - 16px)); }
.planner-simple-form { min-height: 0; }
.planner-simple-stack { display: grid; padding: 14px 14px 4px; gap: 14px; overflow-y: auto; }
.planner-simple-section { display: grid; gap: 10px; padding: 13px; border: 1px solid #deded7; border-radius: 16px; background: #fbfaf6; }
.planner-simple-section > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.planner-simple-section > header > span { display: flex; align-items: center; gap: 8px; }
.planner-simple-section > header > span > small { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #2f62e9; background: #edf2ff; font-size: 10px; font-weight: 800; }
.planner-simple-section > header strong { font: 700 22px/1 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.planner-simple-section > header em { color: #777973; font-size: 10px; font-style: normal; }
.planner-entity-list { display: grid; max-height: 210px; overflow-y: auto; border-top: 1px solid #deded7; }
.planner-entity-option { display: grid; min-height: 58px; padding: 7px 2px; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid #deded7; color: #171713; background: transparent; text-align: left; }
.planner-entity-option > .ph:first-child { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #315143; background: #e6eee8; font-size: 16px; }
.planner-entity-option > span { display: grid; min-width: 0; gap: 2px; }
.planner-entity-option strong, .planner-entity-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.planner-entity-option strong { font-size: 12px; }
.planner-entity-option small { color: #777973; font-size: 9px; }
.planner-entity-option > .ph:last-child { color: #8a8c86; font-size: 19px; }
.planner-entity-option.active { color: #2f62e9; }
.planner-entity-option.active > .ph:last-child { color: #2f62e9; }
.planner-other-option, .planner-simple-notes { display: grid; gap: 5px; }
.planner-other-option > span, .planner-simple-notes > span { font-size: 10px; font-weight: 750; }
.planner-other-option textarea, .planner-simple-notes input { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #d9d9d2; border-radius: 12px; color: #171713; background: #fff; font-size: 16px; line-height: 1.35; resize: vertical; }
.planner-other-option > small, .planner-simple-note, .planner-simple-disclosure-body > small { margin: 0; color: #777973; font-size: 9px; }
.planner-weekend-shortcut { display: grid; min-height: 58px; padding: 8px 10px; grid-template-columns: 34px minmax(0, 1fr) 24px; align-items: center; gap: 9px; border: 1px solid #cfd7eb; border-radius: 13px; color: #171713; background: #f6f8ff; text-align: left; }
.planner-weekend-shortcut > .ph:first-child { color: #2f62e9; font-size: 18px; }
.planner-weekend-shortcut > span { display: grid; gap: 2px; }
.planner-weekend-shortcut strong { font-size: 12px; }
.planner-weekend-shortcut small { color: #6f716b; font-size: 9px; }
.planner-weekend-shortcut > .ph:last-child { color: #2f62e9; font-size: 18px; }
.planner-selected-slots { display: flex; padding-bottom: 2px; gap: 7px; overflow-x: auto; }
.planner-selected-slots > button { display: flex; min-height: 44px; padding: 6px 9px; align-items: center; gap: 8px; flex: 0 0 auto; border: 1px solid #cfd7eb; border-radius: 11px; color: #2f62e9; background: #edf2ff; }
.planner-selected-slots > button > span { display: grid; gap: 1px; text-align: left; }
.planner-selected-slots strong { font-size: 10px; }
.planner-selected-slots small { color: #5e6f9e; font-size: 8px; }
.planner-simple-disclosure { border-top: 1px solid #deded7; }
.planner-simple-disclosure > summary { display: flex; min-height: 40px; align-items: center; justify-content: space-between; color: #555752; font-size: 10px; font-weight: 700; list-style: none; cursor: pointer; }
.planner-simple-disclosure > summary::-webkit-details-marker { display: none; }
.planner-simple-disclosure[open] > summary .ph { transform: rotate(180deg); }
.planner-simple-disclosure-body { display: grid; padding: 5px 0 8px; gap: 9px; }
.planner-simple-disclosure-body label { display: grid; gap: 4px; color: #74766f; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.planner-simple-disclosure-body input { width: 100%; min-height: 44px; padding: 0 9px; border: 1px solid #d9d9d2; border-radius: 11px; background: #fff; font-size: 16px; }
.planner-simple-disclosure-body > button { min-height: 42px; border: 0; border-radius: 11px; color: #fff; background: #171713; font-size: 11px; font-weight: 740; }
.planner-simple-empty { padding: 16px 0; color: #777973; font-size: 11px; text-align: center; }
.planner-simple-notes { margin: 0 1px; }
.planner-simple-notes > span { display: flex; align-items: center; justify-content: space-between; }
.planner-simple-notes > span small { color: #777973; font-size: 9px; font-weight: 500; }
.planner-group-expectation { display: flex; min-height: 56px; padding: 10px 11px; align-items: center; gap: 9px; border-radius: 13px; color: #315143; background: #e9f0ea; }
.planner-group-expectation > .ph { font-size: 19px; }
.planner-group-expectation > span { display: grid; gap: 2px; }
.planner-group-expectation strong { font-size: 11px; }
.planner-group-expectation small { color: #587062; font-size: 9px; }

.proposal-composer-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.proposal-composer-step {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.proposal-composer-step span {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.proposal-composer-step strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.proposal-composer-step.active {
  background: color-mix(in srgb, var(--accent-soft) 74%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.proposal-composer-step.active strong {
  color: var(--accent-deep);
}

.planner-block {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.planner-summary {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  color: var(--accent-deep);
  font-size: 0.9rem;
}

.planner-proposal-summary {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.planner-proposal-copy {
  display: grid;
  gap: 2px;
}

.planner-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.planner-hint strong {
  font-weight: 600;
  color: var(--ink-soft);
}

.proposal-mode-guide {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.proposal-mode-guide::-webkit-scrollbar {
  display: none;
}

.proposal-mode-guide span {
  flex: 0 0 auto;
  max-width: min(78vw, 220px);
  min-height: 34px;
  padding: 7px 10px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.25;
}

.proposal-mode-guide strong {
  color: var(--ink);
  font-weight: 700;
}

.proposal-date-range-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.proposal-date-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 400px) {
  .proposal-date-range-row {
    grid-template-columns: 1fr;
  }
}

.proposal-quick-slots-inline {
  padding: 0;
  background: transparent;
  border: none;
}

.planner-advanced-disclosure {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  overflow: hidden;
}

.planner-advanced-summary {
  cursor: pointer;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  list-style: none;
}

.planner-advanced-summary::-webkit-details-marker {
  display: none;
}

.planner-advanced-body {
  border-top: 1px solid var(--line);
  border-radius: 0;
  margin: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.proposal-quick-slots {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--line) 80%, var(--accent));
}

.proposal-quick-slots-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.proposal-quick-slots-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proposal-quick-chip {
  flex: 0 0 auto;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-custom-slot-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--line) 65%, var(--accent));
}

.proposal-custom-slot-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 400px) {
  .proposal-custom-slot-times {
    grid-template-columns: 1fr;
  }
}

.planner-field-tight {
  gap: 5px;
}

.planner-field-tight label {
  font-size: 0.72rem;
}

.proposal-idea-pick-list {
  display: grid;
  gap: 12px;
}

.proposal-cat-block {
  display: grid;
  gap: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.proposal-cat-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 10px 10px 6px;
  background: var(--surface-2);
}

.proposal-cat-chevron {
  flex: 0 0 auto;
  width: 2rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.proposal-cat-chevron.placeholder {
  display: inline-block;
  width: 2rem;
  visibility: hidden;
}

.proposal-cat-head-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.proposal-cat-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.25;
}

.proposal-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proposal-planner-list-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 4px 0 10px;
}

.proposal-cat-pick-note {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--ink-mute);
}

.proposal-mode-btn {
  flex: 1 1 40%;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-mode-btn.active {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.proposal-idea-specifics-nested {
  padding: 4px 10px 10px 36px;
  gap: 6px;
  background: var(--surface);
}

.proposal-mode-hint-inlist {
  margin: 4px 0 8px;
  font-size: 0.78rem;
}

.proposal-idea-toggle.muted {
  opacity: 0.55;
  cursor: default;
}

.proposal-idea-toggle.excluded {
  border-style: dashed;
  opacity: 0.75;
}

.proposal-idea-toggle.excluded .proposal-idea-toggle-title {
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--ink-mute) 75%, transparent);
}

.proposal-idea-pick-group {
  display: grid;
  gap: 8px;
}

.proposal-idea-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  color: var(--ink);
  transition: border-color 140ms ease, background-color 140ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.proposal-idea-toggle:hover {
  border-color: var(--line-strong);
}

.proposal-idea-toggle.active {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: var(--accent-soft);
}

.proposal-idea-toggle-nested {
  margin-left: 8px;
  padding: 8px 10px;
  font-size: 0.92rem;
}

.proposal-idea-check {
  flex: 0 0 auto;
  width: 1.25rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.proposal-idea-toggle-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.proposal-idea-toggle-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
}

.proposal-idea-toggle-sub {
  font-size: 0.72rem;
}

.proposal-idea-specifics {
  display: grid;
  gap: 6px;
  padding-left: 4px;
}

/* Late mobile override formerly colocated with global responsive rules. */
@media (max-width: 480px) {
  .proposal-card {
    padding: 14px;
    gap: 12px;
  }
}
