@layer components {
  .fresh-v2 {
    --v2-ink: #171a19;
    --v2-muted: #747a77;
    --v2-line: #e5e9e7;
    --v2-soft: #f5f7f6;
    --v2-green: #b8f5cf;
    min-height: 100vh;
    background: #fff;
    color: var(--v2-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .fresh-v2, .fresh-v2 * { box-sizing: border-box; }
  .fresh-v2 button, .fresh-v2 input { font: inherit; }
  .fresh-v2 button { color: inherit; cursor: pointer; }
  .fresh-v2 a, .fresh-v2 button { -webkit-tap-highlight-color: transparent; }
  .fresh-v2 svg { width: 19px; height: 19px; stroke-width: 1.8; }
  .fresh-v2 [hidden] { display: none !important; }
  .fresh-v2-header { height: 66px; position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--v2-line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
  .fresh-v2-header-inner { width: min(1120px,100%); height: 100%; margin: auto; padding: 0 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .fresh-v2-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--v2-ink); text-decoration: none; }
  .fresh-v2-brand > span { width: 26px; height: 26px; display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; transform: rotate(-7deg); }
  .fresh-v2-brand > span i { border-radius: 4px 2px 2px 4px; background: var(--v2-ink); }
  .fresh-v2-brand > span i:nth-child(2) { border-radius: 2px; background: #65d990; }
  .fresh-v2-brand > span i:last-child { border-radius: 2px 4px 4px 2px; background: var(--v2-green); }
  .fresh-v2-brand b { font-size: 15px; letter-spacing: -.02em; }
  .fresh-v2-header nav { display: none; }
  .fresh-v2-new { min-height: 36px; padding: 0 13px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--v2-ink); color: white; font-size: 12px; font-weight: 750; text-decoration: none; }
  .fresh-v2-new svg { width: 15px; height: 15px; }
  .fresh-v2 .fresh-v2-save { min-height: 44px; padding: 8px 13px; border: 1px solid var(--v2-line); border-radius: 9px; background: var(--v2-soft); color: var(--v2-ink); font-family: inherit; font-size: 14px; font-weight: 600; }
  .fresh-v2-section-label { min-height: 25px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .fresh-v2-section-label h2 { margin: 0; font-size: 13px; font-weight: 750; letter-spacing: -.01em; }
  .fresh-v2-section-label > span { color: #959b98; font-size: 11px; }

  .fresh-v2-find-main { width: min(1120px,100%); margin: auto; padding: 42px 20px 70px; }
  .fresh-v2-hero > p:first-child { margin: 0 0 10px; color: var(--v2-muted); font-size: 12px; }
  .fresh-v2-hero h1 { margin: 0; font-size: 42px; line-height: 1; letter-spacing: -.055em; font-weight: 650; }
  .fresh-v2-search { height: 58px; margin-top: 28px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--v2-ink); border-radius: 16px; transition: box-shadow .15s,border-color .15s; }
  .fresh-v2-search:focus-within { border-color: #287b4c; box-shadow: 0 0 0 4px rgba(184,245,207,.65); }
  .fresh-v2-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; }
  .fresh-v2-search input::placeholder { color: #999f9c; }
  .fresh-v2-search kbd { display: none; }
  .fresh-v2-search button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--v2-soft); }
  .fresh-v2-search button svg { width: 14px; height: 14px; }
  .fresh-v2-search-help { margin: 8px 2px 0; color: #969c99; font-size: 11px; }
  .fresh-v2-browse { margin-top: 40px; }
  .fresh-v2-tags { padding-bottom: 29px; border-bottom: 1px solid var(--v2-line); }
  .fresh-v2-tag-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
  .fresh-v2-tag-list button { min-height: 32px; padding: 0 13px; border: 1px solid var(--v2-line); border-radius: 999px; background: white; color: #59605c; font-size: 12px; font-weight: 650; }
  .fresh-v2-tag-list button.active { border-color: var(--v2-ink); background: var(--v2-ink); color: white; }
  .fresh-v2-more-tags { display: contents; }
  .fresh-v2-tag-list .fresh-v2-show-tags { border-style: dashed; color: var(--v2-ink); }
  .fresh-v2-tags > p { margin: 13px 0 0; color: #929895; font-size: 11px; line-height: 1.45; }
  .fresh-v2-results { margin-top: 30px; }
  .fresh-v2-result-list { margin-top: 7px; border-top: 1px solid var(--v2-line); }
  .fresh-v2-result { min-height: 94px; display: grid; grid-template-columns: 47px minmax(0,1fr) auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--v2-line); color: var(--v2-ink); text-decoration: none; }
  .fresh-v2-result-icon { width: 45px; height: 48px; display: grid; place-items: center; border-radius: 14px; }
  .fresh-v2-result-icon.mint { background: #d9f8e5; }.fresh-v2-result-icon.blue { background: #e2edff; }.fresh-v2-result-icon.peach { background: #ffebdc; }.fresh-v2-result-icon.lilac { background: #eee8ff; }
  .fresh-v2-result-icon svg { width: 19px; height: 19px; }
  .fresh-v2-result-copy { min-width: 0; }
  .fresh-v2-result-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; letter-spacing: -.015em; }
  .fresh-v2-result-copy small { margin-top: 3px; display: block; color: var(--v2-muted); font-size: 12px; }
  .fresh-v2-result-copy > span { margin-top: 7px; display: flex; gap: 5px; }
  .fresh-v2-result-copy em { padding: 2px 7px; border-radius: 999px; background: var(--v2-soft); color: #656b68; font-size: 10px; font-style: normal; font-weight: 650; }
  .fresh-v2-open { color: #9aa09d; }
  .fresh-v2-open > span { display: none; }
  .fresh-v2-open svg { width: 16px; height: 16px; }
  .fresh-v2-empty { padding: 54px 15px; text-align: center; }
  .fresh-v2-empty > span { width: 52px; height: 52px; margin: auto; display: grid; place-items: center; border-radius: 50%; background: var(--v2-soft); }
  .fresh-v2-empty h2 { margin: 15px 0 5px; font-size: 18px; }.fresh-v2-empty p { margin: 0; color: var(--v2-muted); font-size: 12px; }
  .fresh-v2-empty button { margin-top: 17px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--v2-ink); background: transparent; font-size: 12px; font-weight: 700; }

  .fresh-v2-create-main { width: min(1120px,100%); margin: auto; padding: 34px 20px 80px; }
  .fresh-v2-create-heading { padding-bottom: 31px; display: grid; grid-template-columns: 49px 1fr; align-items: center; gap: 14px; border-bottom: 1px solid var(--v2-line); }
  .fresh-v2-create-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--v2-green); }
  .fresh-v2-create-mark svg { width: 21px; height: 21px; }
  .fresh-v2-create-heading p { margin: 0 0 3px; color: var(--v2-muted); font-size: 11px; font-weight: 650; }
  .fresh-v2-create-heading input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 25px; font-weight: 650; letter-spacing: -.04em; }
  .fresh-v2-create-heading div > span { margin-top: 3px; display: block; color: var(--v2-muted); font-size: 12px; }
  .fresh-v2-templates { padding: 28px 0; border-bottom: 1px solid var(--v2-line); }
  .fresh-v2-templates > p { margin: 7px 0 15px; color: var(--v2-muted); font-size: 11px; }
  .fresh-v2-template-list { display: grid; grid-template-columns: repeat(4,minmax(128px,1fr)); gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .fresh-v2-template-list::-webkit-scrollbar { display: none; }
  .fresh-v2-template-list > button { min-width: 135px; min-height: 84px; padding: 12px; display: grid; grid-template-columns: 25px 1fr; align-items: start; gap: 6px; border: 1px solid var(--v2-line); border-radius: 13px; background: white; text-align: left; }
  .fresh-v2-template-list > button.active { border-color: var(--v2-ink); box-shadow: inset 0 0 0 1px var(--v2-ink); }
  .fresh-v2-template-list > button > svg { width: 18px; height: 18px; }
  .fresh-v2-template-list > button > svg:last-child { display: none; }
  .fresh-v2-template-list > button.active > svg:last-child { grid-area: 1/2; justify-self: end; display: block; width: 14px; height: 14px; }
  .fresh-v2-template-list span { min-width: 0; display: block; }.fresh-v2-template-list b,.fresh-v2-template-list small { display: block; }
  .fresh-v2-template-list b { font-size: 12px; }.fresh-v2-template-list small { margin-top: 4px; color: #929895; font-size: 10px; line-height: 1.3; }
  .fresh-v2-editor { padding-top: 30px; }
  .fresh-v2-edit-tags { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
  .fresh-v2-edit-tags > button { min-height: 32px; padding: 0 10px 0 13px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--v2-line); border-radius: 999px; background: white; font-size: 12px; font-weight: 650; }
  .fresh-v2-edit-tags > button.active { border-color: var(--v2-ink); background: var(--v2-ink); color: white; }
  .fresh-v2-edit-tags > button svg { width: 12px; height: 12px; }
  .fresh-v2-edit-tags > .fresh-v2-add-tag { border-style: dashed; background: white; color: var(--v2-ink); }
  .fresh-v2-tag-composer { min-height: 34px; padding: 3px 3px 3px 10px; display: inline-flex; border: 1px solid var(--v2-ink); border-radius: 999px; }
  .fresh-v2-tag-composer input { width: 88px; border: 0; outline: 0; font-size: 12px; }.fresh-v2-tag-composer button { padding: 0 9px; border: 0; border-radius: 999px; background: var(--v2-green); font-size: 11px; font-weight: 700; }
  .fresh-v2-builder { margin-top: 34px; }
  .fresh-v2-builder-help { margin: 4px 0 12px; color: var(--v2-muted); font-size: 11px; }
  .fresh-v2-builder-list { border-top: 1px solid var(--v2-line); }
  .fresh-v2-builder-row { min-height: 66px; display: grid; grid-template-columns: 24px minmax(0,1fr) 30px; align-items: center; gap: 8px; border-bottom: 1px solid var(--v2-line); }
  .fresh-v2-drag,.fresh-v2-remove { width: 30px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: #abb1ae; }.fresh-v2-drag { width: 24px; cursor: grab; }
  .fresh-v2-drag svg,.fresh-v2-remove svg { width: 16px; height: 16px; }
  .fresh-v2-builder-row input { width: 100%; padding: 2px 0; display: block; border: 0; outline: 0; background: transparent; font-size: 14px; font-weight: 650; }
  .fresh-v2-builder-row small { margin-top: 3px; display: block; color: #959b98; font-size: 11px; }
  .fresh-v2-add-item { width: 100%; min-height: 53px; padding: 0 2px; display: flex; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid var(--v2-line); background: transparent; font-size: 13px; font-weight: 700; text-align: left; }.fresh-v2-add-item svg { width: 16px; height: 16px; }
  .fresh-v2-item-composer { margin-top: 12px; padding: 16px; border: 1px solid var(--v2-line); border-radius: 14px; background: var(--v2-soft); }
  .fresh-v2-item-composer label > span,.fresh-v2-item-composer > div > span { margin-bottom: 7px; display: block; color: var(--v2-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
  .fresh-v2-item-composer label input { width: 100%; height: 40px; padding: 0 11px; border: 1px solid #d7dcd9; border-radius: 8px; outline: 0; background: white; font-size: 13px; }
  .fresh-v2-item-composer > div { margin-top: 13px; }.fresh-v2-item-composer > div button { min-height: 30px; margin: 0 4px 5px 0; padding: 0 10px; border: 1px solid #d7dcd9; border-radius: 999px; background: white; font-size: 11px; }.fresh-v2-item-composer > div button.active { border-color: var(--v2-ink); background: var(--v2-ink); color: white; }
  .fresh-v2-item-composer footer { margin-top: 13px; display: flex; justify-content: flex-end; gap: 7px; }.fresh-v2-item-composer footer button { min-height: 34px; padding: 0 13px; border: 1px solid #d7dcd9; border-radius: 8px; background: white; font-size: 11px; font-weight: 700; }.fresh-v2-item-composer footer button:last-child { border-color: var(--v2-ink); background: var(--v2-ink); color: white; }
  .fresh-v2-options { margin-top: 30px; border-top: 1px solid var(--v2-line); }
  .fresh-v2-options > button { width: 100%; min-height: 62px; padding: 0 2px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--v2-line); background: transparent; text-align: left; }.fresh-v2-options button > span { display: grid; grid-template-columns: 22px 1fr; align-items: center; column-gap: 8px; }.fresh-v2-options button b { font-size: 12px; }.fresh-v2-options button small { grid-column: 2; margin-top: 3px; color: var(--v2-muted); font-size: 10px; }.fresh-v2-options svg { width: 16px; height: 16px; color: #979d9a; }.fresh-v2-options span svg { color: var(--v2-ink); }
  .fresh-v2-create-button { width: 100%; min-height: 52px; margin-top: 27px; border: 0; border-radius: 14px; background: var(--v2-ink); color: white !important; font-size: 13px; font-weight: 750; }.fresh-v2-create-button.done { background: #237044; }
  .fresh-v2-toast { min-height: 42px; padding: 0 15px; position: fixed; z-index: 20; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--v2-ink); color: white; box-shadow: 0 8px 30px rgba(23,26,25,.16); font-size: 12px; font-weight: 700; }.fresh-v2-toast svg { width: 15px; height: 15px; }

  @media (min-width: 800px) {
    .fresh-v2-header { height: 72px; }
    .fresh-v2-header-inner { grid-template-columns: 1fr auto 1fr; padding: 0; }
    .fresh-v2-header nav { display: flex; align-items: center; gap: 6px; }
    .fresh-v2-header nav a { padding: 9px 13px; border-radius: 999px; color: var(--v2-muted); font-size: 13px; font-weight: 650; text-decoration: none; }
    .fresh-v2-header nav a.active { background: var(--v2-soft); color: var(--v2-ink); }
    .fresh-v2-new,.fresh-v2-save { justify-self: end; }
    .fresh-v2-new { min-height: 40px; padding: 0 16px; font-size: 13px; }
    .fresh-v2-find-main { padding: 72px 0 90px; }
    .fresh-v2-hero { max-width: 760px; }
    .fresh-v2-hero h1 { font-size: 64px; }
    .fresh-v2-hero > p:first-child { font-size: 13px; }
    .fresh-v2-search { height: 64px; margin-top: 34px; padding: 0 17px; border-radius: 18px; }
    .fresh-v2-search input { font-size: 18px; }
    .fresh-v2-search kbd { display: inline-block; padding: 3px 7px; border: 1px solid var(--v2-line); border-radius: 5px; background: var(--v2-soft); color: #8d9490; font-size: 11px; font-family: inherit; }
    .fresh-v2-browse { margin-top: 64px; display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: start; gap: 70px; }
    .fresh-v2-tags { padding: 0; position: sticky; top: 105px; border: 0; }
    .fresh-v2-tag-list { display: grid; gap: 2px; }
    .fresh-v2-tag-list button { min-height: 36px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; text-align: left; }
    .fresh-v2-tag-list button.active { background: var(--v2-soft); color: var(--v2-ink); }
    .fresh-v2-tag-list .fresh-v2-show-tags { border: 0; }
    .fresh-v2-results { margin-top: 0; }
    .fresh-v2-result { min-height: 101px; grid-template-columns: 52px minmax(0,1fr) auto; gap: 16px; }
    .fresh-v2-result-icon { width: 50px; height: 52px; }
    .fresh-v2-result-copy strong { font-size: 16px; }
    .fresh-v2-open { display: flex; align-items: center; gap: 7px; color: var(--v2-muted); font-size: 11px; font-weight: 650; }.fresh-v2-open > span { display: inline; }
    .fresh-v2-create-main { padding: 60px 0 100px; }
    .fresh-v2-create-heading { padding: 0 0 43px; grid-template-columns: 58px 1fr; gap: 18px; }
    .fresh-v2-create-mark { width: 58px; height: 58px; border-radius: 17px; }.fresh-v2-create-heading input { max-width: 680px; font-size: 35px; }.fresh-v2-create-heading div > span { font-size: 13px; }
    .fresh-v2-create-grid { padding-top: 45px; display: grid; grid-template-columns: 270px minmax(0,1fr); align-items: start; gap: 90px; }
    .fresh-v2-templates { padding: 0; position: sticky; top: 110px; border: 0; }
    .fresh-v2-template-list { grid-template-columns: 1fr; gap: 7px; overflow: visible; }
    .fresh-v2-template-list > button { min-width: 0; min-height: 64px; grid-template-columns: 28px 1fr 16px; align-items: center; }
    .fresh-v2-template-list > button.active > svg:last-child { grid-area: auto; }
    .fresh-v2-editor { padding: 0; }
    .fresh-v2-tag-editor { padding-bottom: 6px; }
    .fresh-v2-builder { margin-top: 40px; }
  }
}

@layer components {
  .fresh-v2-tag-composer { min-height: 44px; padding-left: 12px; }
  .fresh-v2-tag-composer input { width: 112px; font-size: 16px; }
  .fresh-v2-tag-composer button { padding: 0 14px; }
  .fresh-v2-create .fresh-v2-builder-row input { min-height: 44px; padding: 8px; font-size: 16px; }
  .fresh-v2-create .fresh-v2-remove { min-width: 40px; min-height: 44px; }
  .fresh-v2-create .fresh-v2-builder-row { grid-template-columns: 24px minmax(0,1fr) 44px; }
}

@layer components {
  .fresh-v2 .starter-field { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 13px; color: var(--v2-muted); }
  .fresh-v2 .starter-field select { min-width: 0; max-width: min(72%,24rem); min-height: 44px; padding: 0 8px; background: white; color: var(--v2-ink); border: 0; border-bottom: 1px solid var(--v2-line); border-radius: 0; font: inherit; font-size: 16px; }
  .fresh-v2 .item-entry { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; align-items: center; margin: 14px 0 26px; }
  .fresh-v2 .item-entry :is(input,select,button) { min-width: 0; min-height: 44px; border: 1px solid var(--v2-line); border-radius: 8px; padding: 8px 12px; color: var(--v2-ink); background: white; font: inherit; font-size: 16px; }
  .fresh-v2 .item-entry button { border-color: transparent; background: var(--v2-green); font-size: 14px; font-weight: 650; }
  .fresh-v2 .item-entry button:disabled { color: var(--v2-muted); background: var(--v2-soft); cursor: default; }
  .fresh-v2 .item-entry [role=alert] { grid-column: 1/-1; }
  .fresh-v2-create .fresh-v2-create-main { max-width: 720px; }
  .fresh-v2-create .fresh-v2-create-grid { display: block; padding-top: 24px; }
  .fresh-v2-create .fresh-v2-editor { padding: 0; }
  .fresh-v2-create .fresh-v2-builder { margin-top: 0; }
  @media (max-width: 520px) {
    .fresh-v2 .item-entry { grid-template-columns: minmax(0,1fr) auto; }
    .fresh-v2 .item-entry input { grid-column: 1/-1; }
  }
}

@layer components {
.fresh-v2 .link-field { display: grid; gap: 4px; color: var(--v2-muted); font-size: 13px; }
.fresh-v2 .link-entry { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
.link-entry > input,.link-entry .link-field { grid-column: 1/-1; }
@media(min-width: 640px) {
  .fresh-v2 .link-entry { grid-template-columns: minmax(0,1fr) auto auto; }
  .link-entry .link-field { grid-column: 1; }
}
  .fresh-v2-builder-row a { display:block; overflow-wrap:anywhere; font-size:13px; }
}
