@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#1a2923;--forest:#123e32;--green:#d5f579;--paper:#fafaf5;--line:#dedfd5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px "DM Sans",sans-serif}h1,h2,h3,.brand{font-family:Manrope,sans-serif}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button,select{border:1px solid var(--line);background:white;color:inherit;border-radius:10px;padding:10px 14px;font-weight:700}button:hover{filter:brightness(.93)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4c8539;outline-offset:3px}a{color:inherit}.wrap{width:min(1220px,calc(100% - 56px));margin:auto}header{background:#fff;border-bottom:1px solid var(--line)}.top{display:flex;align-items:center;gap:26px;padding:16px 0}.brand{font-size:26px;letter-spacing:-1.3px;font-weight:800;text-decoration:none;white-space:nowrap}.brand span:first-child{display:inline-grid;place-items:center;background:var(--forest);color:var(--green);width:34px;height:34px;border-radius:10px}.dot{color:#538243}.search{background:#f4f5ed;border:1px solid var(--line);border-radius:12px;display:flex;gap:10px;padding:8px 12px;flex:1}.search span{font-size:23px;line-height:1}.search input{width:100%;border:0;background:transparent;color:inherit}nav,.actions,.filters{display:flex;flex-wrap:wrap;gap:8px}nav button,footer button{border:0}.primary{background:var(--green);color:#173024;border-color:transparent}.demo{padding:16px 0;font-size:12px;font-weight:800;letter-spacing:.09em;display:flex;gap:14px;align-items:center}.demo span{font-size:13px;letter-spacing:0;font-weight:500;color:#526259}.hero{background:var(--forest);border-radius:24px;overflow:hidden;display:grid;grid-template-columns:1.04fr 1fr;color:white;min-height:378px}.hero>div:first-child{padding:37px 42px 42px}.hero-photo{background:#30564a url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1100&q=85') center 56%/cover}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;color:#456357;margin:0 0 10px}.hero .eyebrow,.hero h1 span{color:var(--green)}h1{font-size:clamp(47px,6.3vw,84px);letter-spacing:-.075em;line-height:.99;margin:15px 0}h2{font-size:36px;letter-spacing:-.05em;margin:0}.hero p:not(.eyebrow){color:#e3ece3;max-width:330px}.actions{margin-top:24px}.outline{background:transparent;color:white;border-color:#9cb1a6}.trust{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:#f1f3e8;border-radius:16px;margin:18px 0 34px}.trust div{padding:15px 20px}.trust div+div{border-left:1px solid var(--line)}.trust span{display:block;font-size:14px;color:#526259;margin-top:5px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:17px}.filters button[aria-pressed=true]{background:var(--forest);color:#fff;border-color:var(--forest)}#count{font-size:14px;color:#526259}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{border:1px solid var(--line);border-radius:16px;background:white;overflow:hidden;position:relative}.card-content{padding:13px}.card img,.placeholder{display:block;width:100%;aspect-ratio:1.35;object-fit:cover;background:#edf0e4}.placeholder{display:grid;place-items:center;color:#526259}.card h3{margin:2px 0 5px;font-size:17px}.card p{margin:3px 0;font-size:14px;color:#526259}.price{font-size:22px;color:var(--forest);font-weight:800}.card button.open{width:100%;padding:0;text-align:left;background:none;border:0}.save{position:absolute;right:9px;top:9px;border-radius:50%;width:42px;height:42px;padding:0;font-size:22px}.save[aria-pressed=true]{color:#a72f4e}footer{border-top:1px solid var(--line);margin-top:35px!important;padding:20px 0;display:flex;gap:16px;align-items:center;flex-wrap:wrap}footer span{color:#526259}dialog{width:min(570px,calc(100% - 24px));max-height:calc(100% - 24px);border:0;border-radius:22px;padding:17px 23px 25px;color:var(--ink)}dialog::backdrop{background:#142a22ad}.dialog-top{text-align:right}dialog h2{font-size:29px}dialog img{width:100%;max-height:210px;object-fit:cover;border-radius:10px}#panel label{display:grid;gap:5px;margin:12px 0;font-weight:700}#panel input,#panel textarea{width:100%;border:1px solid #adb8aa;border-radius:8px;padding:9px}#panel form button{margin-top:8px}.record{padding:12px;margin:11px 0;background:#eff3e8;border-radius:10px;overflow-wrap:anywhere}.record button{margin:5px 5px 0 0}.warning{background:#fff2d3;border-radius:10px;padding:10px}.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}#notice{position:fixed;bottom:12px;right:15px;z-index:3;background:var(--forest);color:white;border-radius:8px;padding:10px 14px}#notice:empty{display:none}@media(max-width:850px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.top{gap:12px;flex-wrap:wrap}.search{order:3;flex-basis:100%}nav{margin-left:auto}}@media(max-width:600px){.wrap{width:calc(100% - 24px)}.hero{grid-template-columns:1fr}.hero>div:first-child{padding:24px}.hero-photo{height:165px}.trust div{padding:10px}.trust b{font-size:14px}.trust span{font-size:13px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.top nav button{padding:7px}.brand{font-size:22px}.section-head h2{font-size:28px}}
.pilot main { max-width: 850px; padding-bottom: 2rem; }
.pilot .record { margin-block: .8rem; padding: 1rem; }
.pilot .record p { margin-block: .6rem; }
.pilot form label { display: grid; gap: .35rem; margin-bottom: .65rem; max-width: 34rem; }
.pilot input, .pilot textarea {
  width: 100%; min-width: 0; padding: .65rem; color: var(--ink);
  background: white; border: 1px solid var(--line); border-radius: 8px;
}
.pilot textarea { min-height: 5rem; resize: vertical; }
.pilot img { max-width: 100%; height: auto; border-radius: 8px; }
.pilot details { margin-block: 1rem; }
.pilot summary { cursor: pointer; }
.pilot details form, .pilot #enrollment-result { margin-block: .75rem; }
.pilot .market-filters { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: .6rem; align-items: end; }
.pilot .market-filters select { width: 100%; min-width: 0; }
.pilot form .acceptance-check { display: flex; align-items: start; gap: .5rem; }
.pilot form .acceptance-check[hidden] { display: none; }
.pilot .acceptance-check input { width: auto; flex: none; }
@media (max-width: 630px) {
  .pilot .market-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* FindTwirl marketplace */
body.pilot { background: #f7f7f1; color: #172d25; font-family: system-ui, sans-serif; }
.pilot h1, .pilot h2, .pilot h3, .pilot .brand { font-family: inherit; }
.pilot h1 { letter-spacing: -.075em; }
.pilot main { max-width: 1160px; padding-block: 24px 50px; }
.pilot .top { justify-content: flex-end; gap: 8px; }
.pilot .top .brand { margin-right: auto; }
.pilot button { min-height: 42px; }
.pilot .primary { background: #d8f478; color: #173024; }
.pilot .record { background: white; border: 1px solid #e2e6da; border-radius: 16px; }
.pilot [hidden] { display: none !important; }
.market-entry {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  max-width: 940px; margin: 0 auto; border: 1px solid #dde5d9;
  background: white; overflow: hidden; border-radius: 22px;
}
.market-entry-photo { background: #4d6152 url('/sample-camera.jpg') center / cover; }
.market-entry-content { padding: clamp(18px, 4vw, 40px); }
.market-entry h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.14; letter-spacing: -.045em; margin: 0 0 8px; }
.market-entry-description, .market-entry form p { color: #4b6055; line-height: 1.45; }
.market-entry-description { margin: 0 0 18px; }
.market-entry form { margin-top: 16px; }
.market-entry form label { margin: 0 0 5px; font-weight: 650; }
.market-entry form input { margin-bottom: 12px; min-height: 44px; }
.market-entry form .primary { width: 100%; }
.market-entry form p { margin: 10px 0; font-size: .875rem; }
.market-entry summary { color: #204d3d; font-weight: 650; }
.market-entry #enrollment-result { overflow-wrap: anywhere; }
.market-entry #demo-sign-in { background: #edf4e8; border-radius: 12px; padding: 12px; }
.market-entry #demo-sign-in p:first-child { margin: 0 0 9px; }
.market-entry #demo-sign-in details { margin: 10px 0 0; }
.demo-account-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pilot .demo-account-actions button { min-height: 44px; padding: 8px; }
.pilot #status:not(:empty), .pilot [role=alert]:not(:empty) { margin-block: 10px; padding: 8px 12px; border-radius: 8px; background: #fff0d5; color: #672d18; }
.pilot .section-head { align-items: center; }
.pilot .section-head h2 { font-size: clamp(22px, 4vw, 32px); }
.pilot .market-home #section-title { font-size: .9rem; letter-spacing: 0; color: #56655d; }
.pilot nav[aria-label="Trade room shortcuts"] { gap: 8px; margin-bottom: 22px; }
.pilot nav[aria-label="Trade room shortcuts"] button { border: 1px solid #dde4d7; }
.pilot nav[aria-label="Trade room shortcuts"] button:nth-child(3) { background: #d8f478; }
.market-catalog { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #dde4d7; }
.market-catalog h3 { font-size: clamp(28px, 5vw, 48px); letter-spacing: -.055em; margin: 0 0 14px; line-height: 1.06; }
.pilot .market-filters { grid-template-columns: repeat(4,minmax(0,1fr)); background: white; border: 1px solid #dfe6db; padding: 12px; border-radius: 14px; }
.pilot .market-filters label { margin: 0; font-size: .77rem; max-width: none; }
.pilot .market-filters label:first-child { grid-column: 1 / -1; }
.pilot .market-filters select { font-size: .86rem; padding-inline: 8px; min-height: 42px; }
.pilot .market-count { color: #56655d; font-size: .86rem; }
.market-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.market-tile { position: relative; overflow: hidden; background: white; border: 1px solid #e1e6db; border-radius: 16px; min-width: 0; }
.market-tile-photo { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #e7ede1; color: #56655d; }
.pilot .market-tile-photo img, .pilot .market-tile-photo .listing-photo { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.pilot .market-tile-photo .listing-photo { display: grid; place-items: center; }
.market-tile-body { padding: 11px 12px 13px; }
.market-price { color: #153d30; font-weight: 850; font-size: clamp(19px, 3vw, 26px); letter-spacing: -.045em; }
.pilot .market-tile-link { display: block; min-height: 0; padding: 3px 0; border: 0; border-radius: 4px; background: transparent; font-size: .93rem; text-align: left; overflow-wrap: anywhere; }
.market-tile-link::after { content: ''; position: absolute; inset: 0; }
.market-tile-link:focus-visible::after { border-radius: 15px; box-shadow: inset 0 0 0 3px #4c8539; }
.market-tile-body p { margin: 4px 0 0; color: #52645a; font-size: .77rem; }
.pilot .market-tile-save {
  position: absolute; z-index: 1; top: 8px; right: 8px;
  display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 1px solid #dde5dc; border-radius: 50%; background: #fff;
  color: #153d30; font-size: 0; box-shadow: 0 2px 7px #18372924;
}
.pilot .market-tile-save::before { content: '♡'; font: 700 24px/1 system-ui, sans-serif; }
.pilot .market-tile-save[aria-pressed="true"]::before { content: '♥'; }
.pilot .market-tile-save[aria-pressed="true"] { color: #a1284b; }
.pilot .market-tile-photo button { position: relative; z-index: 1; }
.listing-detail { max-width: 760px; }
.listing-detail-media { border-radius: 14px; overflow: hidden; background: #e7ede1; margin-bottom: 16px; }
.pilot .listing-detail-media img { display: block; width: 100%; max-height: 495px; object-fit: contain; }
.pilot .listing-detail-media .listing-photo { margin: 0; }
.pilot #safety-heading { margin-top: 30px; font-size: 1.25rem; letter-spacing: -.02em; }
@media (max-width: 760px) {
  .pilot main { padding-top: 14px; }
  .pilot .top { flex-wrap: wrap; }
  .market-entry { grid-template-columns: 1fr; border-radius: 20px; }
  .market-entry-photo { display: none; }
  .market-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .pilot .market-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 10px; }
}
@media (max-width: 430px) {
  .pilot .top { gap: 6px; }
  .pilot .top button { padding-inline: 8px; font-size: .75rem; }
  .pilot nav[aria-label="Trade room shortcuts"] button { padding-inline: 9px; font-size: .78rem; }
}
.pilot .market-filters { display: block; }
.pilot .market-filter-options { margin: 9px 0 0; }
.market-filter-options summary { font-size: .85rem; font-weight: 700; padding: 5px 0; }
.market-filter-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; align-items: end; padding-top: 10px; }
.pilot .market-filter-fields label:first-child { grid-column: auto; }
@media (max-width:760px) { .market-filter-fields { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.market-account-tools nav { margin-top: 12px; }
.market-account-tools nav button { border: 1px solid #dde4d7; }
.pilot #simulation-banner { font-size: .8rem; margin: 0 0 12px; padding: 8px 10px; }
@media (max-width: 760px) {
  .pilot:has(.market-home) main { padding-bottom: 105px; }
  .pilot .top { align-items: center; gap: 4px; padding: 9px 0; }
  .pilot .top .brand { font-size: 20px; }
  .pilot .top .brand span:first-child { width: 27px; height: 27px; }
  .pilot .top button { border: 0; min-height: 40px; padding-inline: 4px; font-size: .75rem; }
  .pilot .market-home .section-head { margin-bottom: 9px; }
  .pilot .market-home #refresh { padding: 4px 9px; min-height: 32px; font-size: .77rem; }
  .pilot .market-home nav[aria-label="Trade room shortcuts"] {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; margin: 0;
    justify-content: center; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #dae3d7; background: #fcfdf9;
    box-shadow: 0 -6px 22px #19372914;
  }
  .pilot .market-home nav[aria-label="Trade room shortcuts"] button { flex: 1; max-width: 160px; min-height: 44px; }
}

.pilot .listing-detail { max-width: 100%; padding: clamp(12px,2vw,22px); }
.listing-detail-info { min-width: 0; }
.listing-detail-info .market-price { font-size: clamp(28px,4vw,46px); line-height: 1.12; }
.pilot .listing-detail-info .listing-condition { color: #405b4d; font-weight: 700; margin-top: 6px; }
.listing-description { color: #293f34; line-height: 1.55; white-space: pre-line; }
.pilot .listing-detail-info .primary { padding-inline: 14px; }
.pilot .listing-detail-info details { margin-block: 14px 0; }
@media (min-width: 761px) {
  .pilot .listing-detail:has(> .listing-detail-media) { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(18px,4vw,48px); align-items: start; }
  .pilot .listing-detail > .listing-detail-media { margin: 0; }
}

.pilot .conversation-item { border-color: #d8e4d9; }
.pilot .conversation-safety { background: #fff1d7; color: #573d21; border-radius: 12px; padding: 10px 13px; font-size: .88rem; }
.pilot .conversation-offer { background: #edf4e6; border-color: #d5e5ce; }
.message-thread { display: grid; gap: 8px; margin: 20px 0; }
.message-thread:empty { display: none; }
.pilot .message-bubble { max-width: min(85%, 34rem); width: fit-content; margin: 0; }
.pilot .message-bubble b { font-size: .77rem; color: #486055; }
.pilot .message-bubble p { white-space: pre-wrap; }
.pilot .message-own { justify-self: end; background: #e6f3d8; border-bottom-right-radius: 4px; }
.pilot .message-other { border-bottom-left-radius: 4px; }
.pilot .message-offer { justify-self: center; text-align: center; background: #f1f2e9; }
.pilot .message-bubble button { min-height: 32px; font-size: .75rem; padding: 4px 8px; }

.checkout-layout { display: grid; gap: 14px; align-items: start; margin-top: 12px; }
.pilot .checkout-layout > .record { margin: 0; }
.pilot .checkout-layout h3 { font-size: 1.15rem; margin: 0 0 12px; letter-spacing: -.02em; }
.pilot .checkout-summary .market-price { display: inline-block; font-size: clamp(29px,4vw,43px); }

.pilot .checkout-summary .listing-detail-media img { max-height: 250px; }
.pilot .checkout-controls .primary { width: 100%; margin-inline: 0; }
.pilot .checkout-controls label { font-size: .9rem; }
@media (min-width: 761px) {
  .checkout-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

.sell-form { display: grid; gap: 20px; align-items: start; }
.listing-upload { background: #eef3e8; border: 1px dashed #9fb59d; border-radius: 14px; padding: 14px; min-width: 0; }
.listing-upload h4 { margin: 0 0 12px; }
.listing-upload p { color: #405b4d; font-size: .86rem; }
.pilot .listing-upload img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.listing-fields { min-width: 0; }
.pilot .listing-fields label { max-width: none; }
.pilot .listing-fields > button { width: 100%; }
@media (min-width: 761px) {
  .sell-form { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); }
}

.order-card-header { display: flex; gap: 8px 14px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.order-state { background: #edf2e8; color: #355343; border-radius: 999px; padding: 5px 10px; font-size: .8rem; font-weight: 700; }
.order-state-held { background: #fff0d5; color: #672d18; }
.pilot .order-card > p { line-height: 1.45; }

.pilot .market-home nav[aria-label="Trade room shortcuts"] button:nth-child(3):not([aria-pressed="true"]) { background: #fff; }
.pilot .market-home nav[aria-label="Trade room shortcuts"] button[aria-pressed="true"] { background: #d8f478; border-color: #b6d566; }
.pilot .market-account-tools { margin: 0 0 14px; font-size: .85rem; color: #405b4d; }

.pilot .market-categories { flex-wrap: nowrap; overflow-x: auto; padding: 6px 2px 8px; margin: 7px 0 0; }
.pilot .market-categories button { flex: none; min-height: 36px; border: 1px solid #dce5d7; border-radius: 999px; padding: 6px 12px; font-size: .8rem; }
.pilot .market-categories button[aria-pressed="true"] { background: #173b30; color: #fff; border-color: #173b30; }

.pilot .listing-report-action { display: block; border: 0; background: transparent; padding-inline: 0; color: #69432d; font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; }

.market-tile-method { display: inline-block; margin-top: 8px; background: #edf1e8; color: #405b4d; padding: 3px 7px; border-radius: 6px; font-size: .72rem; font-weight: 650; }

.pilot .conversation-inbox-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; }
.pilot .conversation-inbox-item > p, .pilot .conversation-inbox-item > button { grid-column: 1 / -1; }
.pilot .conversation-inbox-item > p { color: #405b4d; font-size: .82rem; margin: 0; }
.pilot .conversation-inbox-item > button { justify-self: start; margin: 0; }

.sample-item-photo { position: relative; width: 100%; height: 100%; }
.sample-item-photo > span { position: absolute; left: 8px; bottom: 8px; border-radius: 6px; padding: 3px 6px; color: #fff; background: #183b30e8; font-size: .7rem; font-weight: 650; pointer-events: none; }

.item-photo-dialog { width: min(1050px, calc(100% - 20px)); padding: 12px; }
.item-photo-dialog button { display: block; margin: 0 0 8px auto; }
.pilot .item-photo-dialog img { display: block; width: 100%; max-height: 77vh; object-fit: contain; background: #edf0e4; }

.pilot .registration-panel { max-width: 520px; margin-inline: auto; padding: clamp(18px, 4vw, 34px); }
.registration-panel h1 { font-size: clamp(29px, 5vw, 42px); line-height: 1.12; margin-top: 0; }
.registration-panel input { margin-bottom: 10px; }
.registration-panel button { display: block; margin-top: 8px; }

.guest-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pilot .guest-heading h1 { font-size: clamp(28px, 5vw, 52px); letter-spacing: -.05em; line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
.guest-button { display: inline-grid; place-items: center; min-height: 44px; padding: 7px 12px; border: 1px solid #dce4d8; border-radius: 10px; background: white; text-decoration: none; font-weight: 700; font-size: .875rem; }
.guest-search { display: flex; gap: 8px; margin: 0 0 12px; }
.guest-search button { flex-shrink: 0; }
.guest-search input { font-size: 1rem; }
#guest-controls { margin-bottom: 12px; }
.pilot .market-tile-link:is(a) { color: inherit; font-weight: 700; text-decoration: none; }
.pilot .market-tile-save.guest-save { font-size: 24px; line-height: 1; text-decoration: none; }
.pilot .market-tile-save.guest-save::before { content: none; }
.pilot .guest-listing-detail { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.guest-detail-photo { background: #edf1e8; border-radius: 12px; overflow: hidden; min-height: 90px; display: grid; place-items: center; }
.pilot .guest-detail-photo img { display: block; width: 100%; max-height: 440px; object-fit: contain; }
.guest-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .pilot .guest-listing-detail { grid-template-columns: 1fr; gap: 12px; }
}

.promotion-label { display: inline-block; margin: 6px 6px 0 0; padding: 3px 7px; border-radius: 6px; background: #fff0c2; color: #5b3800; font-size: .75rem; font-weight: 750; }
.guest-listing-detail .promotion-label { display: table; margin-bottom: 8px; }
