/* ==========================================================================
   Organizer primitives shared with the rest of the app (.org-*)
   The tokens, pills, chips and badges that the account menu, the primary nav and
   share options draw on every page. organizer.scss imports this first; pages
   outside the organizer tools link only this file.
   ========================================================================== */
/* ---- Tokens and wash palettes ----------------------------------------------
   One navy ink at four strengths. Wash classes set the variables that callouts,
   modals, icon tiles, badges, status dots and the active sidebar item read.
   ---- */
/* Wash palettes: one set of variables per feature color. */
.is-blue {
  --org-wash-tint: #e8f3fd;
  --org-wash-ink: #0b5ea8;
  --org-wash-color: var(--color-primary); }

.is-green {
  --org-wash-tint: #e6f6ee;
  --org-wash-ink: #067a45;
  --org-wash-color: var(--color-giving); }

.is-meals {
  --org-wash-tint: #e8edfb;
  --org-wash-ink: #0030b9;
  --org-wash-color: var(--color-meals); }

.is-orange {
  --org-wash-tint: #fdeee6;
  --org-wash-ink: #b8420f;
  --org-wash-color: var(--color-todos); }

.is-plum {
  --org-wash-tint: #f7e9ef;
  --org-wash-ink: #7c2c50;
  --org-wash-color: var(--color-updates); }

.is-amber {
  --org-wash-tint: #fff3d6;
  --org-wash-ink: #8a5a00;
  --org-wash-color: #e3a008; }

.is-muted {
  --org-wash-tint: #eef1f6;
  --org-wash-ink: rgba(13, 27, 62, 0.6);
  --org-wash-color: rgba(13, 27, 62, 0.5); }

/* ---- Pills, links and kebab ------------------------------------------------
   Every action is icon + label. Ghost for secondary, primary once per page.
   ---- */
/* Pills: every action is icon + label. Ghost for secondary, primary once per page. */
.org-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "FTPolar-Medium", sans-serif;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
  .org-pill i {
    font-size: 13.5px; }
  .org-pill:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px; }

.org-pill-ghost {
  border-color: rgba(13, 27, 62, 0.14);
  background: #fff;
  color: #0d1b3e; }
  .org-pill-ghost:hover, .org-pill-ghost:focus {
    background: rgba(13, 27, 62, 0.04);
    color: #0d1b3e; }

.org-pill-primary {
  background: var(--color-primary);
  color: #fff; }
  .org-pill-primary:hover, .org-pill-primary:focus {
    background: #0d6ed0;
    color: #fff; }

.org-pill-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  gap: 6px; }
  .org-pill-sm i {
    font-size: 12px; }

.org-pill-block {
  display: flex;
  width: 100%;
  height: 48px;
  font-size: 15px; }

.org-icon-pill {
  width: 40px;
  padding: 0; }

/* Account + organizer pages (body.app-buttons), and the account menu anywhere: buttons in caps, primary on the home gradient. */
.app-buttons :is(.org-pill, .btn):not(.btn-link, .btn-close, .nav-account-bare),
.user-menu .org-pill {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px; }

.app-buttons :is(.org-pill-sm, .btn-sm):not(.btn-link),
.user-menu .org-pill-sm {
  font-size: 12px; }

.app-buttons .org-pill-block {
  font-size: 14px; }

.app-buttons :is(.org-pill-primary, .btn-primary):not(.org-shimmer),
.user-menu .org-pill-primary {
  border-color: transparent;
  background-image: linear-gradient(90deg, #86c2f6, #188aec);
  background-origin: border-box;
  box-shadow: 0 10px 22px -12px rgba(24, 138, 236, 0.9);
  color: #fff; }
  .app-buttons :is(.org-pill-primary, .btn-primary):not(.org-shimmer):hover, .app-buttons :is(.org-pill-primary, .btn-primary):not(.org-shimmer):focus,
  .user-menu .org-pill-primary:hover,
  .user-menu .org-pill-primary:focus {
    background-image: linear-gradient(90deg, #6fb4f2, #0d6ed0);
    box-shadow: 0 14px 28px -12px rgba(24, 138, 236, 0.95);
    color: #fff; }

/* Copy actions flip to the green wash once the clipboard has the text. */
.org-pill.is-done {
  border-color: transparent;
  background: var(--org-wash-tint);
  color: var(--org-wash-ink); }

/* Quiet text action: icon + label, no chrome. */
.org-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: rgba(13, 27, 62, 0.6);
  font-family: "FTPolar-Medium", sans-serif;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap; }
  .org-link i {
    font-size: 13px; }
  .org-link:hover, .org-link:focus {
    color: #0d1b3e; }
  .org-link.is-sm {
    height: auto;
    padding: 0;
    font-size: 13.5px; }

/* Kebab / icon-only quiet button. */
.org-kebab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(13, 27, 62, 0.45);
  font-size: 15px;
  cursor: pointer; }
  .org-kebab:hover, .org-kebab:focus {
    background: rgba(13, 27, 62, 0.06);
    color: #0d1b3e; }

/* ---- Chips and badges ------------------------------------------------------
   Light grey filter chips with an optional status dot; amber count badges mean "waiting on you".
   ---- */
/* Chips: light grey fill, optional amber count. */
.org-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; }

.org-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef1f6;
  color: #0d1b3e;
  font-family: "FTPolar-Medium", sans-serif;
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap; }
  .org-chip:hover {
    color: #0d1b3e;
    background: #e4e9f1; }
  .org-chip.is-active {
    background: #0d1b3e;
    color: #fff; }

/* Chip dot: the status color inside a filter chip. */
.org-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--org-wash-color, rgba(13, 27, 62, 0.5)); }

.org-chip .org-chip-dot {
  margin-right: -1px; }

/* Dashed chip: a suggestion you tap to add, not a filter. */
.org-chip.is-dashed {
  border: 1px dashed rgba(13, 27, 62, 0.22);
  background: #fff;
  color: rgba(13, 27, 62, 0.72);
  cursor: pointer; }
  .org-chip.is-dashed i {
    font-size: 11px; }
  .org-chip.is-dashed:hover {
    border-color: rgba(13, 27, 62, 0.4);
    background: #fff;
    color: #0d1b3e; }

.org-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff3d6;
  color: #8a5a00;
  font-family: "FTPolar-Medium", sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1; }

.org-badge.is-ink {
  background: #0d1b3e;
  color: #fff; }

.org-chip .org-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 12px; }
