@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #e9e8e3;
  --surface: #f7f7f3;
  --surface-2: #efefeb;
  --ink: #292927;
  --muted: #74746f;
  --line: #d7d7d1;
  --mint: #9edec8;
  --mint-strong: #76cdb2;
  --mint-soft: #c8eee2;
  --yellow: #f3d887;
  --red: #ee9e9a;
  --blue: #9bc9ee;
  --shadow-dark: rgba(123, 123, 116, 0.34);
  --shadow-light: rgba(255, 255, 255, 0.92);
  --shadow: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
  --shadow-sm: 6px 6px 12px rgba(128, 128, 120, 0.29), -6px -6px 12px rgba(255, 255, 255, 0.88);
  --shadow-inset: inset 4px 4px 8px rgba(125, 125, 118, 0.25), inset -4px -4px 8px rgba(255, 255, 255, 0.9);
  --radius: 22px;
  --focus-ring: 0 0 0 4px rgba(117, 208, 175, 0.36), 0 0 16px rgba(117, 208, 175, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(132, 132, 126, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 132, 126, 0.065) 1px, transparent 1px),
    var(--bg);
  background-size: 24px 24px;
  font-family: "Inter", system-ui, sans-serif;
  min-height: 100vh;
}
html { color-scheme: light; }
button, input, select, textarea { font: inherit; color-scheme: light; }
button { cursor: pointer; }
.shell { max-width: 1540px; margin: auto; padding: 24px; }

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 14px;
  z-index: 30;
  background: rgba(239, 239, 235, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  border-radius: 24px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.site-heading { min-width: 0; flex: 1; }
.site-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -1.4px;
  font-weight: 800;
  color: #30302e;
}
.site-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 720px;
}
.site-title.editable,
.site-subtitle.editable {
  outline: none;
  border-radius: 12px;
  padding: 4px 8px;
  margin-left: -8px;
  box-shadow: var(--shadow-inset);
  background: #e7e7e2;
  cursor: text;
}
.site-title.editable:focus,
.site-subtitle.editable:focus {
  box-shadow: var(--shadow-inset), 0 0 0 4px rgba(117, 208, 175, 0.3);
}
.header-save-hint {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 800;
  color: #2a5f4d;
}
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.toolbar-simple { grid-template-columns: minmax(240px, 1fr) auto; }

.btn {
  border: 1px solid rgba(210, 210, 203, 0.9);
  background: linear-gradient(145deg, #f8f8f4, #e2e2dd);
  color: var(--ink);
  padding: 10px 15px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #bcebdc, #8ed4bd);
  box-shadow: 0 0 0 3px rgba(158, 222, 200, 0.25), 7px 7px 14px rgba(109, 131, 123, 0.32), -6px -6px 13px rgba(255, 255, 255, 0.96);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-inset); }
.btn.primary {
  background: linear-gradient(145deg, #b8ead9, #87cfb7);
  color: #214d40;
  border-color: #a9dfce;
  box-shadow: 0 0 12px rgba(117, 212, 180, 0.28), var(--shadow-sm);
}
.btn.active {
  background: linear-gradient(145deg, #b7e8d8, #80ccb3);
  color: #205744;
  border-color: #9cdac5;
  box-shadow: 0 0 0 3px rgba(117, 212, 180, 0.22), var(--shadow-inset);
}
.btn:focus-visible,
.chip:focus-visible,
.icon-btn:focus-visible,
.open-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-sm);
}

.hero {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr;
  gap: 22px;
  margin: 30px 0 24px;
}
.hero-main,
.hero-side {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-main {
  min-height: 290px;
  padding: 38px;
  background: linear-gradient(145deg, #f7f7f3, #e2e2dd);
  overflow: hidden;
}
.hero-main::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}
.hero-main::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -45px;
  top: -75px;
  background: linear-gradient(145deg, #b9eadb, #87d2ba);
  box-shadow: inset 10px 10px 20px rgba(92, 154, 133, 0.22), inset -10px -10px 20px rgba(232, 255, 248, 0.86), 0 0 24px rgba(116, 211, 179, 0.28);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(145deg, #c5eee2, #91d4be);
  border: 1px solid #d7f5eb;
  padding: 8px 13px;
  border-radius: 999px;
  color: #285b4b;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
h1 {
  color: #30302e;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin: 25px 0 16px;
  max-width: 760px;
  position: relative;
  z-index: 2;
  font-weight: 800;
}
.hero-main p {
  color: #65655f;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 2;
}
.hero-side {
  background: linear-gradient(145deg, #f4f4f0, #deded8);
  color: var(--ink);
  padding: 29px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
}
.sync-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #5f625e;
  background: #e9e9e4;
  padding: 10px 13px;
  border-radius: 15px;
  box-shadow: var(--shadow-inset);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #75d0af;
  box-shadow: 0 0 0 5px rgba(117, 208, 175, 0.18), 0 0 14px rgba(117, 208, 175, 0.8);
  flex-shrink: 0;
}
.dot.error { background: var(--red); box-shadow: 0 0 0 5px rgba(238, 158, 154, 0.18), 0 0 14px rgba(238, 158, 154, 0.8); }
.hero-side .number { font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -4px; text-shadow: 1px 1px white; }
.hero-side small { color: #797974; }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.mini {
  padding: 14px;
  border-radius: 17px;
  background: linear-gradient(145deg, #f4f4f0, #deded8);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}
.mini b { font-size: 20px; display: block; }
.mini span { font-size: 11px; color: #74746f; }

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 13px;
  margin: 24px 0 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e6e6e1;
  border: 1px solid #cecec8;
  border-radius: 18px;
  padding: 0 15px;
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(158, 222, 200, 0.16);
}
.search:focus-within { box-shadow: var(--shadow-inset), var(--focus-ring); }
.search input { border: 0; background: transparent; width: 100%; padding: 14px 0; outline: none; color: var(--ink); }
select {
  border: 1px solid #d0d0ca;
  background: linear-gradient(145deg, #f6f6f2, #e0e0db);
  padding: 0 16px;
  border-radius: 17px;
  color: var(--ink);
  outline: none;
  box-shadow: var(--shadow-sm);
  min-height: 48px;
  color-scheme: light;
}
select option {
  background: #f4f4ef;
  color: #30302e;
}
select:focus-visible { box-shadow: var(--focus-ring), var(--shadow-sm); }

.chips-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 3px 18px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  flex: 1;
  min-width: 0;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.chip-add-btn {
  flex: 0 0 auto;
  margin-top: 5px;
  white-space: nowrap;
}
.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.chip {
  white-space: nowrap;
  border: 1px solid #d0d0ca;
  background: linear-gradient(145deg, #f7f7f3, #dfdfda);
  padding: 11px 16px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: #5e5e59;
  box-shadow: var(--shadow-sm);
  transition: 0.18s;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip:hover { transform: translateY(-2px); }
.chip.active,
.chip-item.active .chip {
  background: linear-gradient(145deg, #b9ebda, #84cfb6);
  border-color: #9edbc7;
  color: #225644;
  box-shadow: 0 0 0 3px rgba(117, 208, 175, 0.22), var(--shadow-inset);
}
.chip-edit-controls {
  display: none;
  gap: 4px;
  align-items: center;
}
.editing .chip-edit-controls { display: inline-flex; }
.chip-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  font-size: 12px;
}
.section-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 14px 3px 18px; }
.section-title h2 { font-size: 31px; margin: 0; letter-spacing: -1.2px; font-weight: 800; }
.section-title p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.card {
  min-height: 235px;
  background: linear-gradient(145deg, #f8f8f4, #dfdfda);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 25px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 28px rgba(117, 117, 110, 0.34), -13px -13px 28px rgba(255, 255, 255, 0.95), 0 0 0 3px rgba(158, 222, 200, 0.22);
}
.card::before {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--cardColor, #9edec8);
  opacity: 0.17;
  right: -45px;
  top: -55px;
  box-shadow: inset 10px 10px 20px rgba(100, 100, 95, 0.16), inset -10px -10px 20px rgba(255, 255, 255, 0.75);
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; position: relative; z-index: 1; }
.icon {
  width: 53px;
  height: 53px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--cardColor, #9edec8) 68%, white),
    color-mix(in srgb, var(--cardColor, #9edec8) 88%, #b5b5ae));
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 6px 6px 12px rgba(114, 114, 107, 0.28), -5px -5px 11px rgba(255, 255, 255, 0.96), 0 0 13px color-mix(in srgb, var(--cardColor, #9edec8) 35%, transparent);
}
.badge {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  background: linear-gradient(145deg, #c9efdf, #9ed9c5);
  color: #2f6a55;
  border: 1px solid #d7f5e9;
  box-shadow: 3px 3px 7px rgba(116, 116, 109, 0.22), -3px -3px 7px rgba(255, 255, 255, 0.9);
}
.badge.offline { background: linear-gradient(145deg, #e8e8e3, #cfcfc9); color: #777; }
.badge.beta { background: linear-gradient(145deg, #f8e8ac, #e6c96d); color: #7f631b; }
.badge.dev { background: linear-gradient(145deg, #c5dff5, #9bc9ee); color: #2f5678; }
.badge.maint { background: linear-gradient(145deg, #f7e8b0, #e6ca77); color: #70591c; }
.card h3 {
  font-size: 18px;
  margin: 19px 0 8px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.58;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(158, 158, 151, 0.24);
}
.category { font-size: 11px; color: var(--muted); font-weight: 700; }
.open-btn {
  border: 1px solid #cfcfc9;
  background: linear-gradient(145deg, #f7f7f3, #deded9);
  font-weight: 800;
  color: #33332f;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border-radius: 13px;
  box-shadow: 4px 4px 8px rgba(119, 119, 112, 0.25), -4px -4px 8px rgba(255, 255, 255, 0.9);
}
.open-btn:hover {
  background: linear-gradient(145deg, #b9ead9, #86cfb6);
  color: #245744;
  box-shadow: 0 0 0 3px rgba(117, 208, 175, 0.22), var(--shadow-sm);
}
.edit-controls { display: none; gap: 7px; }
.editing .edit-controls { display: flex; }
.editing .open-btn { display: none; }
.icon-btn {
  border: 1px solid #cdcdc7;
  background: linear-gradient(145deg, #f7f7f3, #deded9);
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 4px 4px 8px rgba(119, 119, 112, 0.25), -4px -4px 8px rgba(255, 255, 255, 0.9);
}
.icon-btn:active { box-shadow: var(--shadow-inset); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 65px 20px;
  background: linear-gradient(145deg, #f7f7f3, #deded9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 25px;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.footer {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 38px 10px 18px;
  line-height: 1.6;
}
.footer div + div { margin-top: 2px; }

dialog {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 27px;
  padding: 0;
  max-width: 690px;
  width: calc(100% - 28px);
  background: linear-gradient(145deg, #f7f7f3, #deded9);
  box-shadow: 22px 22px 50px rgba(90, 90, 85, 0.42), -18px -18px 45px rgba(255, 255, 255, 0.85);
}
dialog::backdrop { background: rgba(58, 58, 54, 0.45); backdrop-filter: blur(6px); }
.modal-head {
  padding: 21px 23px;
  border-bottom: 1px solid rgba(144, 144, 138, 0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h3 { margin: 0; font-size: 25px; font-weight: 800; }
.modal-body { padding: 21px 23px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; color: #60605b; }
label.full,
.form-grid .full { grid-column: 1 / -1; }
input, textarea, select.field {
  width: 100%;
  border: 1px solid #cdcdc7;
  background: #e7e7e2;
  border-radius: 14px;
  padding: 12px 13px;
  outline: none;
  color: var(--ink);
  box-shadow: var(--shadow-inset);
  color-scheme: light;
}
input:focus, textarea:focus, select.field:focus,
input:focus-visible, textarea:focus-visible, select.field:focus-visible {
  box-shadow: var(--shadow-inset), var(--focus-ring);
}
textarea { min-height: 96px; resize: vertical; }

.pick-field {
  display: grid;
  gap: 8px;
}
.pick-label {
  font-size: 12px;
  font-weight: 800;
  color: #60605b;
}
.pick-hint {
  margin: -2px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.pick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #ecece7;
  border: 1px solid #d5d5cf;
  box-shadow: var(--shadow-inset);
}
.pick-chip {
  appearance: none;
  border: 1px solid #cfd0ca;
  background: linear-gradient(145deg, #f8f8f4, #e3e3de);
  color: #3a3a36;
  border-radius: 14px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-align: left;
}
.pick-chip:hover { transform: translateY(-1px); }
.pick-chip:active { transform: translateY(0); box-shadow: var(--shadow-inset); }
.pick-chip.active {
  background: linear-gradient(145deg, #b9ebda, #84cfb6);
  border-color: #8ed4bd;
  color: #1f4f3f;
  box-shadow: 0 0 0 3px rgba(117, 208, 175, 0.28), var(--shadow-inset);
}
.pick-chip-icon { font-size: 16px; line-height: 1; }
.pick-grid-status .pick-chip { flex: 1 1 calc(50% - 10px); justify-content: center; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 23px 23px; }
.notice {
  padding: 13px 15px;
  background: linear-gradient(145deg, #f7e8b0, #e6ca77);
  border: 1px solid #f3dfa0;
  border-radius: 15px;
  color: #70591c;
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
}
.notice.info {
  background: linear-gradient(145deg, #c8eee2, #9edec8);
  border-color: #b8e5d4;
  color: #285b4b;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(145deg, #bee9da, #89cfb7);
  color: #245441;
  padding: 13px 17px;
  border: 1px solid #d6f5e9;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(117, 208, 175, 0.35), var(--shadow-sm);
  transition: 0.25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error {
  background: linear-gradient(145deg, #f5c4c1, #ee9e9a);
  border-color: #f0b0ad;
  color: #6b3330;
}
.skeleton {
  min-height: 235px;
  border-radius: 25px;
  background: linear-gradient(100deg, #deded9 25%, #f4f4ef 38%, #deded9 63%);
  background-size: 400% 100%;
  animation: shine 1.4s infinite;
  box-shadow: var(--shadow);
}
@keyframes shine { 0% { background-position: 100%; } 100% { background-position: 0; } }

.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(58, 58, 54, 0.45);
  backdrop-filter: blur(6px);
}
.login-overlay[hidden] { display: none !important; }
.login-panel {
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 27px;
  background: linear-gradient(145deg, #f7f7f3, #deded9);
  box-shadow: 22px 22px 50px rgba(90, 90, 85, 0.42), -18px -18px 45px rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.google-login-btn {
  width: 100%;
  margin: 8px 0 12px;
  min-height: 48px;
  font-size: 14px;
}
.google-btn-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 10px;
  min-height: 44px;
}
.login-hint {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.login-error {
  margin-top: 12px;
  background: linear-gradient(145deg, #f8d4d1, #ee9e9a) !important;
  border-color: #e8b0ac !important;
  color: #6d2f2b !important;
  white-space: pre-line;
}
.admin-chip {
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: 15px;
  background: linear-gradient(145deg, #c5eee2, #91d4be);
  color: #285b4b;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.notice.info {
  background: linear-gradient(145deg, #d8f3ea, #b7e5d4);
  border: 1px solid #c7ecdd;
  color: #2a5f4d;
}

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .site-header { align-items: stretch; flex-direction: column; }
  .actions { justify-content: flex-start; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar,
  .toolbar-simple { grid-template-columns: 1fr; }
  .search { grid-column: auto; }
}
@media (max-width: 560px) {
  .shell { padding: 12px; }
  .site-header { top: 7px; padding: 14px 16px; }
  .site-title { font-size: 28px; letter-spacing: -1px; }
  .grid { grid-template-columns: 1fr; }
  .toolbar,
  .toolbar-simple { grid-template-columns: 1fr; }
  select { min-height: 47px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full,
  .form-grid .full { grid-column: auto; }
  .card { min-height: 215px; }
  .section-title h2 { font-size: 27px; }
  .chips { padding-bottom: 14px; mask-image: linear-gradient(90deg, #000 78%, transparent); }
  .chip { min-height: 46px; font-size: 14px; padding: 12px 18px; }
  .pick-grid { padding: 10px; gap: 8px; }
  .pick-chip { width: 100%; min-height: 48px; }
  .pick-grid-status .pick-chip { flex: 1 1 100%; }
  dialog {
    width: min(100vw - 16px, 760px);
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }
  .modal-body { padding: 16px; }
  .modal-actions { padding: 0 16px 16px; }
}
