/* Fish Request Matching - independent visual layer, scoped to .fm */

.fm-global-nav{--fm-line:#d8e5dc;background:#fff;border-bottom:1px solid var(--fm-line);position:relative;z-index:3}.fm-global-nav__inner{width:min(1120px,calc(100% - 32px));margin:0 auto;display:flex;align-items:center;gap:8px;min-height:58px;overflow-x:auto;white-space:nowrap;padding:7px 0;box-sizing:border-box}.fm-global-nav__link{display:inline-flex;align-items:center;padding:9px 11px;border-radius:999px;color:#345443;text-decoration:none;font-size:.85rem;font-weight:750;flex:0 0 auto}.fm-global-nav__link:hover{background:#edf4ef;text-decoration:none}.fm-global-nav__welcome{margin-left:auto;color:#68776d;font-size:.82rem;flex:0 0 auto}.fm-global-nav__button{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;background:#174b37;color:#fff;text-decoration:none;font-size:.86rem;font-weight:850;flex:0 0 auto}.fm-global-nav__button:hover{filter:brightness(1.1);text-decoration:none}@media(max-width:600px){.fm-global-nav__inner{width:calc(100% - 24px);gap:4px;min-height:54px}.fm-global-nav__link{padding:8px 9px;font-size:.8rem}.fm-global-nav__welcome{display:none}.fm-global-nav__button{padding:9px 13px;font-size:.82rem}}
.fm-page{--fm-green:#174b37;--fm-deep:#102f25;--fm-mint:#eaf3ed;--fm-line:#d8e5dc;--fm-gold:#d2a84e;--fm-ink:#20342a;--fm-muted:#68776d;color:var(--fm-ink);background:#f6f8f5;min-height:60vh;padding:0 0 4rem;font-family:inherit}
.fm-wrap{width:min(1120px,calc(100% - 32px));margin:0 auto}
.fm-hero{background:linear-gradient(135deg,#102f25 0%,#1c5a40 62%,#3b7856 100%);color:#fff;padding:clamp(42px,7vw,82px) 0 58px;position:relative;overflow:hidden}
.fm-hero:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-120px;top:-160px;box-shadow:0 0 0 42px rgba(255,255,255,.035),0 0 0 84px rgba(255,255,255,.025)}
.fm-eyebrow{font-size:.76rem;letter-spacing:.16em;font-weight:800;color:#e9d08e;margin:0 0 14px}
.fm-hero h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.28;margin:0 0 18px;color:#fff;max-width:780px}
.fm-hero p{line-height:1.9;color:rgba(255,255,255,.88);max-width:730px;margin:0 0 24px}
.fm-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fm-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 20px;background:var(--fm-green);color:#fff;text-decoration:none;font-weight:800;font-size:.94rem;cursor:pointer;transition:.18s}
.fm-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
.fm-btn--gold{background:#e3c16f;color:#21352a}.fm-btn--light{background:#fff;color:var(--fm-green)}.fm-btn--line{background:transparent;color:var(--fm-green);border:1px solid var(--fm-line)}.fm-btn--small{padding:8px 13px;font-size:.84rem}.fm-btn:focus-visible,.fm-page a:focus-visible,.fm-page input:focus-visible,.fm-page select:focus-visible,.fm-page textarea:focus-visible{outline:3px solid #d4a841;outline-offset:2px}
.fm-section{padding:34px 0}.fm-section--white{background:#fff}.fm-section-title{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 0 18px}.fm-section-title h2{font-size:clamp(1.35rem,2.8vw,1.85rem);margin:0;color:var(--fm-deep)}.fm-section-title p{margin:5px 0 0;color:var(--fm-muted);font-size:.9rem}
.fm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fm-card{background:#fff;border:1px solid var(--fm-line);border-radius:16px;padding:19px;box-shadow:0 5px 18px rgba(20,55,37,.045);min-width:0}.fm-card h3{font-size:1.06rem;line-height:1.5;margin:8px 0;color:var(--fm-deep)}.fm-card p{line-height:1.75;margin:6px 0;color:#4d5d52;font-size:.92rem}.fm-card a{color:inherit;text-decoration:none}.fm-card a:hover{text-decoration:underline}.fm-tag{display:inline-flex;align-items:center;border-radius:99px;background:var(--fm-mint);color:#286146;font-size:.75rem;font-weight:800;padding:4px 9px}.fm-meta{display:flex;flex-wrap:wrap;gap:7px 12px;color:var(--fm-muted);font-size:.82rem;margin:12px 0}.fm-price{font-size:1.14rem;font-weight:900;color:var(--fm-green)}.fm-empty{padding:28px;border:1px dashed #c7d6cc;border-radius:14px;color:var(--fm-muted);text-align:center;background:#fff}.fm-notice{padding:13px 16px;border-radius:12px;background:#fff8e8;border:1px solid #eedcae;color:#66511f;line-height:1.75;font-size:.88rem;margin:16px 0}.fm-flash{padding:13px 16px;border-radius:12px;margin:18px auto 0;font-weight:700}.fm-flash.success{background:#e8f5eb;color:#1d6338;border:1px solid #bfe0c8}.fm-flash.error{background:#fff0ed;color:#8a3022;border:1px solid #f0c9c1}
.fm-page-head{padding:34px 0 22px}.fm-page-head h1{margin:0 0 8px;color:var(--fm-deep);font-size:clamp(1.7rem,4vw,2.3rem)}.fm-page-head p{margin:0;color:var(--fm-muted);line-height:1.8}
.fm-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.fm-main{min-width:0}.fm-side{display:grid;gap:14px}.fm-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end;background:#fff;border:1px solid var(--fm-line);border-radius:14px;padding:14px;margin:18px 0}.fm-field{display:grid;gap:6px;margin:0 0 14px}.fm-field label{font-size:.87rem;font-weight:800;color:#30483a}.fm-field input,.fm-field select,.fm-field textarea,.fm-filter input,.fm-filter select{width:100%;box-sizing:border-box;border:1px solid #ccd9d0;border-radius:9px;padding:11px 12px;font:inherit;font-size:.94rem;background:#fff;color:#20342a}.fm-field textarea{min-height:110px;resize:vertical;line-height:1.65}.fm-field small{font-size:.78rem;color:var(--fm-muted);line-height:1.55}.fm-form{background:#fff;border:1px solid var(--fm-line);border-radius:16px;padding:clamp(18px,3vw,28px)}.fm-form h2{color:var(--fm-deep);margin:0 0 18px;font-size:1.3rem}.fm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.fm-field--full{grid-column:1/-1}.fm-form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}.fm-detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:18px;align-items:start}.fm-detail-panel{background:#fff;border:1px solid var(--fm-line);border-radius:16px;padding:22px}.fm-detail-panel h2{font-size:1.15rem;color:var(--fm-deep);margin:0 0 14px}.fm-data{display:grid;grid-template-columns:130px 1fr;border-top:1px solid #e8eee9}.fm-data dt,.fm-data dd{margin:0;padding:10px 0;border-bottom:1px solid #e8eee9;font-size:.9rem;line-height:1.65}.fm-data dt{color:var(--fm-muted);font-weight:700}.fm-data dd{font-weight:650;overflow-wrap:anywhere}.fm-offer{background:#fff;border:1px solid var(--fm-line);border-radius:14px;padding:17px;margin:12px 0}.fm-offer h3{margin:0 0 8px;color:var(--fm-deep)}.fm-offer p{margin:7px 0;color:#506156;font-size:.9rem;line-height:1.7}.fm-message{padding:12px 14px;border-radius:12px;background:#f0f5f1;margin:10px 0;max-width:85%}.fm-message.mine{margin-left:auto;background:#e3f1e6}.fm-message strong{font-size:.8rem;color:#53665a}.fm-message p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.fm-message time{font-size:.72rem;color:#76847a}.fm-inline{display:inline}.fm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.fm-stat{padding:17px;background:#edf4ef;border-radius:13px}.fm-stat strong{display:block;font-size:1.5rem;color:var(--fm-green)}.fm-stat span{font-size:.78rem;color:var(--fm-muted)}.fm-step{display:grid;grid-template-columns:42px 1fr;gap:13px;margin:14px 0;padding:15px;background:#fff;border:1px solid var(--fm-line);border-radius:13px}.fm-step b{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--fm-green);color:#fff}.fm-step h3{margin:1px 0 5px;font-size:1rem;color:var(--fm-deep)}.fm-step p{margin:0;color:#59685e;line-height:1.7;font-size:.9rem}.fm-footer-note{font-size:.8rem;color:var(--fm-muted);line-height:1.7;margin-top:20px}
@media(max-width:850px){.fm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-layout{grid-template-columns:1fr}.fm-side{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-detail-grid{grid-template-columns:1fr}}
@media(max-width:600px){.fm-wrap{width:calc(100% - 24px)}.fm-hero{padding:38px 0 44px}.fm-grid{grid-template-columns:1fr}.fm-filter{grid-template-columns:1fr 1fr}.fm-filter .fm-btn{grid-column:1/-1;width:100%}.fm-form-grid{grid-template-columns:1fr}.fm-field--full{grid-column:auto}.fm-side{grid-template-columns:1fr}.fm-data{grid-template-columns:105px 1fr}.fm-stats{grid-template-columns:1fr 1fr}.fm-btn{width:100%;box-sizing:border-box}.fm-actions .fm-btn{width:auto;flex:1}.fm-detail-panel{padding:17px}}

/* ================================================================
   Fish Market brand shell
   - Independent identity from the Kansai Bass Fishing Institute.
   - Shared application/server, separate navigation and footer.
   - Comfortable typography and generous touch targets.
   ================================================================ */
.fish-market-site {
  background: #f4f7f4;
  color: #20342a;
  scroll-behavior: smooth;
}
.fish-market-site .fm-skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2100;
  padding: 11px 16px;
  border-radius: 10px;
  color: #fff;
  background: #102f25;
  font-weight: 800;
  text-decoration: none;
}
.fish-market-site .fm-skip-link:focus { top: 8px; }

.fm-global-nav {
  --fm-line: #d8e5dc;
  position: relative;
  z-index: 20;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid #d8e5dc;
  box-shadow: 0 3px 12px rgba(18, 48, 34, .045);
}
.fm-global-nav__inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  padding: 9px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: visible;
  white-space: normal;
}
.fm-global-nav__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: #183f2d;
  text-decoration: none;
}
.fm-global-nav__brand:hover { text-decoration: none; }
.fm-global-nav__brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: #174b37;
  font-weight: 900;
  font-size: 20px;
}
.fm-global-nav__brand-text { display: grid; gap: 2px; line-height: 1.25; }
.fm-global-nav__brand-text strong { font-size: .98rem; font-weight: 900; }
.fm-global-nav__brand-text small { color: #68776d; font-size: .68rem; font-weight: 650; }
.fm-global-nav__primary,
.fm-global-nav__account {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.fm-global-nav__primary { flex: 1 1 auto; }
.fm-global-nav__account { flex: 0 0 auto; margin-left: auto; }
.fm-global-nav__link,
.fm-global-nav__button,
.fm-global-nav__mypage {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  padding: 10px 15px;
  border: 1px solid #dce7df;
  border-radius: 12px;
  color: #294a38;
  background: #fff;
  text-decoration: none;
  font-size: .91rem;
  line-height: 1.35;
  font-weight: 850;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.fm-global-nav__link:hover,
.fm-global-nav__link.is-active {
  border-color: #b9d0c0;
  background: #edf5ef;
  color: #174b37;
  text-decoration: none;
}
.fm-global-nav__button,
.fm-global-nav__mypage {
  border-color: #174b37;
  background: #174b37;
  color: #fff;
}
.fm-global-nav__button:hover,
.fm-global-nav__mypage:hover,
.fm-global-nav__button.is-active,
.fm-global-nav__mypage.is-active {
  background: #103c2b;
  border-color: #103c2b;
  color: #fff;
  text-decoration: none;
}
.fm-global-nav__button { padding-inline: 19px; }
.fm-nav-icon { font-size: 1.05rem; line-height: 1; }
.fm-nav-count {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 99px;
  color: #fff;
  background: #b84b35;
  font-size: .72rem;
  line-height: 1;
  font-weight: 900;
}

.fm-page {
  --fm-green: #174b37;
  --fm-deep: #102f25;
  --fm-mint: #eaf3ed;
  --fm-line: #d8e5dc;
  --fm-gold: #d2a84e;
  --fm-ink: #20342a;
  --fm-muted: #5e7064;
  background: #f4f7f4;
  color: #20342a;
  font-size: 16px;
  line-height: 1.7;
}
.fm-wrap { width: min(1160px, calc(100% - 40px)); }
.fm-page-head {
  padding: 34px 0 18px;
}
.fm-page-head .fm-eyebrow { display: none; }
.fm-page-head h1 {
  margin: 0 0 7px;
  color: #153d2b;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.fm-page-head p {
  max-width: 780px;
  color: #5b6d61;
  font-size: .98rem;
  line-height: 1.8;
}
.fm-section { padding: 27px 0; }
.fm-section-title { align-items: center; margin-bottom: 17px; }
.fm-section-title h2 {
  color: #153d2b;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.4;
}
.fm-section-title p { color: #5e7064; font-size: .91rem; }
.fm-card,
.fm-detail-panel,
.fm-form,
.fm-offer {
  border-color: #dce7df;
  border-radius: 18px;
  box-shadow: 0 4px 17px rgba(18, 48, 34, .055);
}
.fm-card { padding: 21px; }
.fm-card h2, .fm-card h3,
.fm-detail-panel h2 { color: #153d2b; }
.fm-card p { color: #506257; line-height: 1.8; }
.fm-tag { padding: 5px 10px; font-size: .78rem; }
.fm-meta { line-height: 1.7; }
.fm-btn {
  min-height: 46px;
  box-sizing: border-box;
  padding: 12px 19px;
  border-radius: 12px;
  font-size: .94rem;
  line-height: 1.4;
  font-weight: 850;
  text-align: center;
}
.fm-btn--small { min-height: 40px; padding: 9px 13px; }
.fm-actions { gap: 10px; }
.fm-btn--line { border-color: #cbd9d0; background: #fff; color: #234a35; }
.fm-btn:focus-visible,
.fm-page a:focus-visible,
.fm-page button:focus-visible,
.fm-page summary:focus-visible,
.fm-page input:focus-visible,
.fm-page select:focus-visible,
.fm-page textarea:focus-visible {
  outline: 3px solid #d2a84e;
  outline-offset: 3px;
}
.fm-field { gap: 7px; margin-bottom: 16px; }
.fm-field label { color: #263f30; font-size: .95rem; line-height: 1.55; }
.fm-field input,
.fm-field select,
.fm-field textarea,
.fm-filter input,
.fm-filter select {
  min-height: 48px;
  border: 1px solid #c7d6cc;
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 16px;
  line-height: 1.4;
}
.fm-field textarea { min-height: 120px; }
.fm-field small,
.fm-page small { color: #617468; line-height: 1.65; }
.fm-form { padding: clamp(20px, 3vw, 32px); }
.fm-form h2 { font-size: 1.35rem; margin-bottom: 18px; }
.fm-form-actions { gap: 12px; margin-top: 22px; }
.fm-form-actions .fm-btn { min-width: 180px; }
.fm-notice {
  padding: 16px 18px;
  border-radius: 14px;
  line-height: 1.8;
  font-size: .92rem;
}
.fm-empty { padding: 32px 22px; border-radius: 16px; line-height: 1.8; }
.fm-detail-panel { padding: clamp(18px, 2.5vw, 25px); }
.fm-detail-grid { gap: 18px; }
.fm-data dt, .fm-data dd { padding: 12px 0; line-height: 1.7; }
.fm-message { line-height: 1.75; }
.fm-step { padding: 18px; border-radius: 15px; }
.fm-step p { line-height: 1.8; }

/* Home page: make the two user journeys obvious before showing extra features. */
.fm-hero--simple {
  padding: clamp(32px, 5.2vw, 58px) 0 40px;
  background: linear-gradient(135deg, #103326 0%, #1d5a40 64%, #367451 100%);
}
.fm-hero--simple:after { opacity: .55; }
.fm-hero--simple h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.3;
}
.fm-hero--simple p { max-width: 760px; font-size: 1.02rem; }
.fm-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 27px 0 0;
}
.fm-path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-height: 225px;
  padding: clamp(19px, 3vw, 26px);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
.fm-path-card--buyer { background: #fff; color: #183c2b; }
.fm-path-card--seller { background: rgba(255,255,255,.12); color: #fff; }
.fm-path-card__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.fm-path-card h2 { margin: 0; font-size: clamp(1.18rem, 2.5vw, 1.55rem); line-height: 1.4; color: inherit; }
.fm-path-card p { margin: 0 0 auto; font-size: .92rem; line-height: 1.75; color: inherit; opacity: .9; }
.fm-path-card .fm-btn { margin-top: 8px; width: 100%; }
.fm-path-card--buyer .fm-btn { background: #174b37; color: #fff; }
.fm-path-card--seller .fm-btn { background: #fff; color: #174b37; }
.fm-hero-footnote { margin: 20px 0 0 !important; font-size: .8rem !important; color: rgba(255,255,255,.76) !important; }
.fm-how-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.fm-how-card { padding: 19px; border: 1px solid #dce7df; border-radius: 16px; background: #fff; }
.fm-how-card__num { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #eaf3ed; color: #174b37; font-weight: 900; }
.fm-how-card h3 { margin: 11px 0 5px; color: #153d2b; font-size: 1.02rem; }
.fm-how-card p { margin: 0; color: #5b6d61; font-size: .9rem; line-height: 1.75; }

/* Search: keep the first decision simple; less-used filters stay tucked away. */
.fm-search-panel {
  margin: 20px 0 22px;
  padding: 18px;
  border: 1px solid #dce7df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 17px rgba(18,48,34,.045);
}
.fm-search-basic { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 12px; align-items: end; }
.fm-search-basic .fm-field { margin: 0; }
.fm-search-basic .fm-btn { min-width: 155px; }
.fm-search-advanced { margin-top: 13px; border-top: 1px solid #edf1ee; padding-top: 12px; }
.fm-search-advanced summary {
  width: fit-content;
  padding: 8px 2px;
  color: #27543a;
  font-size: .9rem;
  font-weight: 850;
  cursor: pointer;
}
.fm-search-advanced .fm-filter-advanced-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  padding-top: 12px;
}
.fm-search-advanced .fm-field { margin: 0; }
.fm-search-save { margin: 16px 0; }
.fm-search-save .fm-field { max-width: 580px; }
.fm-search-save .fm-btn { margin-top: 10px; }
.fm-request-card { display: flex; flex-direction: column; align-items: flex-start; }
.fm-request-card .fm-card-main { width: 100%; flex: 1 1 auto; }
.fm-request-card .fm-card-action { margin-top: 14px; }

/* Multi-part forms: separate required basics from optional detail. */
.fm-form-intro {
  margin: -3px 0 20px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f1f6f2;
  color: #496052;
  font-size: .9rem;
  line-height: 1.7;
}
.fm-form-section {
  min-width: 0;
  margin: 0;
  padding: 18px 0 5px;
  border: 0;
  border-top: 1px solid #e6eee8;
}
.fm-form-section legend {
  padding: 0 10px 0 0;
  color: #173f2c;
  font-size: 1.12rem;
  font-weight: 900;
}
.fm-form-section > p { margin: 0 0 14px; color: #607267; font-size: .88rem; }
.fm-optional-fields {
  margin: 20px 0 4px;
  border: 1px solid #dce7df;
  border-radius: 14px;
  background: #fbfdfb;
}
.fm-optional-fields summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #24533a;
  font-weight: 850;
  cursor: pointer;
}
.fm-optional-fields[open] { padding: 0 16px 12px; }
.fm-optional-fields[open] summary { margin: 0 -16px 14px; border-bottom: 1px solid #e6eee8; }

/* Request detail: jump links make the long transaction page easier to navigate. */
.fm-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 20px;
}
.fm-anchor-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid #d5e2d9;
  border-radius: 10px;
  background: #fff;
  color: #24533a;
  font-size: .87rem;
  font-weight: 850;
  text-decoration: none;
}
.fm-anchor-nav a:hover { background: #edf5ef; text-decoration: none; }
.fm-detail-panel h1 { overflow-wrap: anywhere; }
.fm-page details:not(.fm-optional-fields):not(.fm-search-advanced) {
  border-radius: 12px;
}
.fm-page details > summary {
  padding: 9px 0;
  color: #24533a;
  font-weight: 850;
  cursor: pointer;
}

/* Member dashboard: make the next action prominent, tools secondary. */
.fm-welcome-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 6px 0 20px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(120deg, #eaf3ed, #f7faf7);
  border: 1px solid #d4e3d9;
}
.fm-welcome-panel h2 { margin: 0 0 4px; color: #153d2b; font-size: 1.2rem; }
.fm-welcome-panel p { margin: 0; color: #5b6d61; font-size: .91rem; }
.fm-welcome-panel .fm-actions { flex: 0 0 auto; }
.fm-dashboard-tools-title { margin: 6px 0 12px; color: #294b37; font-size: 1.03rem; font-weight: 900; }
.fm-dashboard-account-grid .fm-card,
.fm-dashboard-tools-grid .fm-card { height: 100%; box-sizing: border-box; }
.fm-dashboard-tools-grid .fm-card { background: #fbfdfb; box-shadow: none; }

/* General page flow, admin tools, notifications and compact screens. */
.fm-page table { width: 100%; border-collapse: collapse; }
.fm-page form { min-width: 0; }
.fm-page button, .fm-page input, .fm-page select, .fm-page textarea { font-family: inherit; }
.fm-page input[type="checkbox"], .fm-page input[type="radio"] { width: 20px; height: 20px; flex: 0 0 auto; accent-color: #174b37; }
.fm-page input[type="file"] { max-width: 100%; min-height: 44px; }
.fm-page img { max-width: 100%; }
.fm-page a { text-underline-offset: 3px; }
.fm-page .fm-section + .fm-section { border-top: 1px solid #e8eee9; }
.fm-page .fm-card form { margin-top: 10px; }
.fm-page .fm-card select { max-width: 100%; }
.fm-page .fm-stats { gap: 10px; }
.fm-page .fm-stat { border: 1px solid #dce7df; background: #f2f7f3; }
.fm-page .fm-stat strong { line-height: 1.2; }
.fm-page .fm-flash { max-width: 100%; box-sizing: border-box; }
.fm-page .fm-grid { align-items: stretch; }
.fm-page .fm-empty a { font-weight: 850; }

@media (max-width: 900px) {
  .fm-global-nav__inner { gap: 12px; width: min(100% - 28px, 1160px); }
  .fm-global-nav__brand { min-width: 174px; }
  .fm-global-nav__link, .fm-global-nav__button, .fm-global-nav__mypage { padding-inline: 11px; font-size: .86rem; }
  .fm-search-advanced .fm-filter-advanced-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .fish-market-site .site-header { height: 66px; min-height: 66px; }
  .fish-market-site .site-logo { max-width: calc(100% - 98px); font-size: 14px; line-height: 1.35; }
  .fish-market-site .menu-button { margin-right: max(10px, env(safe-area-inset-right)); padding: 9px 11px; }
  .fm-global-nav__inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 9px 10px;
    width: calc(100% - 24px);
    min-height: 0;
    padding: 11px 0 12px;
  }
  .fm-global-nav__brand { grid-column: 1 / -1; min-width: 0; padding-bottom: 3px; }
  .fm-global-nav__brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 18px; }
  .fm-global-nav__brand-text strong { font-size: .94rem; }
  .fm-global-nav__brand-text small { font-size: .66rem; }
  .fm-global-nav__primary,
  .fm-global-nav__account {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
    width: 100%;
    margin: 0;
  }
  .fm-global-nav__link,
  .fm-global-nav__button,
  .fm-global-nav__mypage {
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 8px 6px;
    border-radius: 11px;
    white-space: normal;
    text-align: center;
    font-size: .82rem;
    line-height: 1.35;
  }
  .fm-nav-count { min-width: 18px; height: 18px; font-size: .67rem; }
  .fm-wrap { width: calc(100% - 24px); }
  .fm-page-head { padding: 25px 0 14px; }
  .fm-page-head h1 { font-size: 1.75rem; }
  .fm-page-head p { font-size: .92rem; }
  .fm-hero--simple { padding: 34px 0 32px; }
  .fm-hero--simple h1 { font-size: clamp(1.8rem, 7.4vw, 2.45rem); }
  .fm-paths { grid-template-columns: 1fr; gap: 11px; margin-top: 20px; }
  .fm-path-card { min-height: 0; padding: 19px; }
  .fm-path-card p { margin-bottom: 4px; }
  .fm-how-grid { grid-template-columns: 1fr; }
  .fm-search-panel { padding: 14px; }
  .fm-search-basic { grid-template-columns: 1fr; gap: 10px; }
  .fm-search-basic .fm-btn { width: 100%; }
  .fm-search-advanced .fm-filter-advanced-grid { grid-template-columns: 1fr 1fr; }
  .fm-welcome-panel { display: block; padding: 18px; }
  .fm-welcome-panel .fm-actions { margin-top: 13px; }
  .fm-welcome-panel .fm-actions .fm-btn { width: 100%; }
  .fm-form-actions .fm-btn { min-width: 0; }
}
@media (max-width: 520px) {
  .fm-global-nav__inner { gap: 8px; }
  .fm-global-nav__primary,
  .fm-global-nav__account { gap: 6px; }
  .fm-global-nav__link,
  .fm-global-nav__button,
  .fm-global-nav__mypage { min-height: 47px; font-size: .78rem; }
  .fm-search-advanced .fm-filter-advanced-grid { grid-template-columns: 1fr; }
  .fm-stats { grid-template-columns: 1fr 1fr; }
  .fm-data { grid-template-columns: 104px minmax(0,1fr); }
  .fm-data dt, .fm-data dd { font-size: .84rem; }
  .fm-card { padding: 17px; }
  .fm-detail-panel { padding: 16px; }
  .fm-btn { width: 100%; }
  .fm-actions .fm-btn { width: auto; flex: 1 1 100%; }
  .fm-form-actions { display: grid; grid-template-columns: 1fr; }
  .fm-form-actions .fm-btn { width: 100%; }
  .fm-page .fm-card .fm-actions { display: grid; grid-template-columns: 1fr; }
  .fm-anchor-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fm-anchor-nav a { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fish-market-site { scroll-behavior: auto; }
  .fm-global-nav__link,
  .fm-global-nav__button,
  .fm-global-nav__mypage { transition: none; }
}


/* Active-deal dashboard and participant-only handover appointment UI */
.fm-active-deals { margin: 24px 0 30px; }
.fm-active-deals .fm-section-title { align-items: center; }
.fm-deal-count { display:inline-flex; align-items:center; justify-content:center; min-width:2.6rem; min-height:2.6rem; padding:0 10px; border-radius:999px; color:#174b32; background:#e8f3eb; font-weight:900; }
.fm-deal-list { display:grid; grid-template-columns:1fr; gap:14px; }
.fm-deal-card { min-width:0; padding:20px; border:1px solid #d9e6dc; border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(27,65,43,.06); }
.fm-deal-card__top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.fm-deal-card__species { margin-left:8px; color:#315944; font-size:.86rem; font-weight:850; }
.fm-deal-status { display:inline-flex; padding:6px 10px; border-radius:999px; background:#fff5df; color:#795414; font-size:.78rem; font-weight:850; }
.fm-deal-card h3 { margin:12px 0 8px; color:#183d2a; font-size:1.12rem; line-height:1.5; }
.fm-deal-card h3 a { color:inherit; text-decoration:none; }
.fm-deal-card h3 a:hover { text-decoration:underline; }
.fm-deal-card__meta { display:flex; flex-wrap:wrap; gap:8px 18px; color:#64756a; font-size:.84rem; }
.fm-deal-card__meta strong { color:#294a38; }
.fm-deal-progress { display:flex; align-items:flex-start; gap:5px; margin:20px 0 16px; }
.fm-deal-progress__step { display:flex; flex:0 0 auto; flex-direction:column; align-items:center; gap:5px; min-width:56px; color:#8a9a8e; text-align:center; }
.fm-deal-progress__step span { display:grid; width:27px; height:27px; place-items:center; border:2px solid #d6e0d8; border-radius:50%; background:#fff; font-size:.72rem; font-weight:900; }
.fm-deal-progress__step small { font-size:.67rem; line-height:1.25; }
.fm-deal-progress__step.is-done { color:#24583a; }
.fm-deal-progress__step.is-done span { border-color:#39845a; background:#e8f3eb; color:#1d603a; }
.fm-deal-progress > i { display:block; flex:1 1 20px; height:3px; margin-top:12px; border-radius:5px; background:#e1e8e2; }
.fm-deal-progress > i.is-done { background:#39845a; }
.fm-deal-next { display:flex; flex-wrap:wrap; gap:5px 12px; padding:12px 14px; border-radius:12px; background:#f1f6f2; }
.fm-deal-next span { color:#64756a; font-size:.78rem; }
.fm-deal-next strong { color:#1c5836; font-size:.9rem; }
.fm-deal-appointment { margin:10px 0 0; color:#4d6454; font-size:.84rem; line-height:1.6; }
.fm-deal-card__actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.fm-active-deals-empty { text-align:left; }
.fm-active-deals-empty p { margin:7px 0 14px; }
.fm-handover-panel { margin:18px 0; padding:20px; border:1px solid #d6e5d9; border-radius:16px; background:linear-gradient(180deg,#f8fbf8 0%,#fff 100%); }
.fm-handover-panel h3 { margin:4px 0 8px; color:#1c4930; font-size:1.12rem; }
.fm-handover-panel > p:not(.fm-eyebrow) { color:#53675a; font-size:.88rem; line-height:1.75; }
.fm-handover-plan { display:grid; gap:10px; margin:14px 0; padding:15px; border:1px solid #dce7df; border-radius:13px; background:#fff; }
.fm-handover-plan > div { display:grid; grid-template-columns:minmax(100px, .32fr) minmax(0,1fr); gap:8px; align-items:start; }
.fm-handover-plan > div > span { color:#6d7d71; font-size:.8rem; }
.fm-handover-plan strong { color:#263f30; overflow-wrap:anywhere; }
.fm-handover-plan p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.fm-handover-confirmed,.fm-handover-waiting,.fm-handover-empty { padding:12px 14px; border-radius:11px; background:#eef6ef; color:#28553a; line-height:1.65; }
.fm-handover-confirmed { display:flex!important; flex-direction:column; gap:3px!important; }
.fm-handover-confirmed small { color:#557360; }
.fm-handover-waiting { background:#fff6e4; color:#795414; }
.fm-handover-empty { margin:14px 0; background:#f2f6f3; color:#516458; }
.fm-handover-confirm-form { margin:12px 0; }
.fm-handover-edit { margin:14px 0; padding:12px 14px; border:1px solid #dfe8e1; border-radius:12px; background:#fff; }
.fm-handover-edit summary { cursor:pointer; color:#28553a; font-weight:850; }
.fm-handover-complete-form { margin-top:12px; }
@media(max-width:600px) {
  .fm-deal-card { padding:16px; }
  .fm-deal-progress { gap:2px; margin:17px 0 14px; }
  .fm-deal-progress__step { min-width:48px; }
  .fm-deal-progress__step small { font-size:.61rem; }
  .fm-deal-progress__step span { width:25px; height:25px; }
  .fm-deal-progress > i { margin-top:11px; }
  .fm-deal-card__actions { display:grid; grid-template-columns:1fr; }
  .fm-deal-card__actions .fm-btn { width:100%; }
  .fm-handover-panel { padding:15px; }
  .fm-handover-plan > div { grid-template-columns:1fr; gap:3px; }
}

.fm-deal-progress__step.is-current { color:#173f2a; font-weight:900; }
.fm-deal-progress__step.is-current span { border-color:#1f6b43; background:#1f6b43; color:#fff; box-shadow:0 0 0 4px rgba(31,107,67,.13); }
.fm-deal-progress__step.is-current small { color:#173f2a; font-weight:850; }

.fm-handover-history { margin:14px 0 18px; padding:13px 15px; border:1px solid #dfe8e1; border-radius:13px; background:#fff; }
.fm-handover-history summary { cursor:pointer; color:#28553a; font-weight:850; line-height:1.6; }
.fm-handover-history ol { display:grid; gap:12px; margin:14px 0 0; padding-left:22px; }
.fm-handover-history li { padding:12px; border:1px solid #e3eae5; border-radius:11px; background:#f9fbf9; }
.fm-handover-history__top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; margin-bottom:8px; color:#244a32; }
.fm-handover-history__top span { color:#66796b; font-size:.78rem; }
.fm-handover-history .fm-data { margin:0; }
.fm-handover-history-error { margin:14px 0; }

.fm-handover-privacy-confirm { display:flex; align-items:flex-start; gap:10px; margin:12px 0; padding:12px 13px; border:1px solid #d9e6dc; border-radius:11px; background:#f6faf7; color:#31513d; font-size:.88rem; line-height:1.65; }
.fm-handover-privacy-confirm input { flex:0 0 auto; width:18px; height:18px; margin:2px 0 0; accent-color:#236b43; }
.fm-handover-privacy-confirm span { min-width:0; }


/* -------------------------------------------------------------------------
   Fish Market usability refresh - clear hierarchy, touch targets and flow.
   Existing feature classes and all form actions remain intact.
   ------------------------------------------------------------------------- */
.fm-page {
  --fm-ink: #1d3025;
  --fm-muted: #4e6255;
  --fm-line: #d3e0d7;
  color: var(--fm-ink);
  font-size: 16px;
  line-height: 1.75;
}
.fm-page p { line-height: 1.78; }
.fm-page h1, .fm-page h2, .fm-page h3 { line-height: 1.42; letter-spacing: -.012em; }
.fm-page a { text-underline-offset: 4px; }
.fm-page .fm-meta, .fm-page small { color: #506458; font-size: .88rem; line-height: 1.7; }
.fm-page-head { padding-top: 30px; }
.fm-page-head h1 { max-width: 900px; }
.fm-page-head > p:not(.fm-eyebrow) { max-width: 760px; }
.fm-section-title p { max-width: 760px; }

/* Navigation has only two primary actions; account tools stay visually quieter. */
.fm-global-nav { border-bottom: 1px solid #cfddd4; box-shadow: 0 2px 7px rgba(20,48,32,.035); }
.fm-global-nav__brand-text small { font-size: .72rem; }
.fm-global-nav__link { color: #294b38; }
.fm-global-nav__button, .fm-global-nav__mypage { box-shadow: 0 2px 0 rgba(7,39,23,.10); }
.fm-global-nav__link:focus-visible, .fm-global-nav__button:focus-visible, .fm-global-nav__mypage:focus-visible { outline: 3px solid #d2a84e; outline-offset: 3px; }

/* Larger, explicit controls: especially helpful on phones and tablets. */
.fm-page .fm-btn,
.fm-global-nav__link, .fm-global-nav__button, .fm-global-nav__mypage {
  min-height: 48px;
  box-sizing: border-box;
}
.fm-page .fm-btn { padding: 13px 18px; border-radius: 12px; font-size: .97rem; font-weight: 850; }
.fm-page .fm-btn--small { min-height: 44px; padding: 10px 14px; font-size: .9rem; }
.fm-page .fm-btn--gold { background: #f0d27f; color: #26351f; border: 1px solid #d5b65f; }
.fm-page .fm-btn--gold:hover { background: #e9c66a; }
.fm-page .fm-btn:disabled, .fm-page button:disabled { cursor: not-allowed; opacity: .55; }
.fm-page .fm-field { gap: 8px; margin-bottom: 19px; }
.fm-page .fm-field label { color: #203d2c; font-size: 1rem; font-weight: 850; }
.fm-page .fm-field input,
.fm-page .fm-field select,
.fm-page .fm-field textarea,
.fm-page .fm-filter input,
.fm-page .fm-filter select {
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #b9cbbf;
  border-radius: 11px;
  background: #fff;
  color: #1d3025;
  font-size: 16px;
}
.fm-page .fm-field textarea { min-height: 136px; }
.fm-page .fm-field input::placeholder,
.fm-page .fm-field textarea::placeholder { color: #77877c; opacity: 1; }
.fm-page .fm-field input[readonly] {
  background: #f0f4f1;
  color: #40584a;
  border-color: #d2ddd5;
  cursor: default;
}
.fm-page input[type="checkbox"], .fm-page input[type="radio"] { width: 22px; height: 22px; }
.fm-page .fm-form { padding: clamp(20px, 3vw, 34px); }
.fm-page .fm-form h2 { margin-bottom: 20px; }
.fm-page .fm-form-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
.fm-page .fm-form-actions .fm-btn { min-width: 0; }
.fm-page .fm-btn--primary-wide { width: 100%; min-height: 54px; font-size: 1.02rem; }
.fm-page .fm-notice { border: 1px solid #d8e5dc; background: #f6faf7; color: #2e4b38; }
.fm-page .fm-empty { border: 1px dashed #b8cbbd; background: #fbfdfb; }
.fm-page details > summary { min-height: 44px; display: flex; align-items: center; }



/* Deal forms that are secondary after the first successful submission stay collapsed. */
.fm-deal-shipping-shared {
  display:grid;
  gap:5px;
  margin:14px 0 10px;
  padding:13px 15px;
  border:1px solid #c9dfce;
  border-radius:12px;
  background:#f1f8f2;
  color:#245238;
}
.fm-deal-shipping-shared strong { font-size:.96rem; }
.fm-deal-shipping-shared p { margin:0; color:#536b59; font-size:.88rem; line-height:1.65; }
.fm-deal-edit-disclosure {
  margin:10px 0 14px;
  padding:12px 15px;
  border:1px solid #dce7df;
  border-radius:12px;
  background:#fbfdfb;
}
.fm-deal-edit-disclosure > summary {
  display:flex;
  min-height:44px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  color:#24533a;
  font-weight:850;
  list-style:none;
}
.fm-deal-edit-disclosure > summary::-webkit-details-marker { display:none; }
.fm-deal-edit-disclosure > summary::after {
  content:"";
  display:block;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border-radius:50%;
  background-color:#edf5ef;
  background-image:linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor);
  background-position:center;
  background-repeat:no-repeat;
  background-size:12px 2px,2px 12px;
  color:#24533a;
}
.fm-deal-edit-disclosure[open] > summary::after {
  background-image:linear-gradient(currentColor,currentColor);
}
.fm-deal-edit-disclosure > form { margin-top:12px; }
.fm-deal-edit-disclosure > p { margin:8px 0 12px; color:#53675a; font-size:.9rem; line-height:1.7; }
.fm-deal-edit-warning {
  margin:12px 0;
  padding:11px 13px;
  border-left:4px solid #b68a38;
  border-radius:7px;
  background:#fff8e9;
  color:#70551f;
  font-size:.86rem;
  line-height:1.7;
}
.fm-shipping-area-consent { display:flex; gap:9px; align-items:flex-start; margin:12px 0; color:#405748; font-size:.9rem; line-height:1.7; }
.fm-shipping-area-consent input { flex:0 0 auto; width:20px; height:20px; margin-top:2px; }
.fm-deal-first-share-form { margin-top:14px; }
@media(max-width:600px) {
  .fm-deal-edit-disclosure { padding:10px 12px; }
  .fm-deal-edit-disclosure > summary { align-items:flex-start; }
}

/* First-time user paths and dashboard shortcuts are large, obvious targets. */
.fm-path-card { min-height: 245px; }
.fm-path-card h2 { font-size: clamp(1.25rem, 2.6vw, 1.62rem); }
.fm-path-card .fm-btn { min-height: 54px; font-size: 1rem; }
.fm-dashboard-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.fm-dashboard-shortcut {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  min-width: 0; min-height: 176px; padding: 19px;
  border: 1px solid #d5e2d9; border-radius: 16px; background: #fff;
  color: #203b2b; text-decoration: none; box-shadow: 0 4px 16px rgba(18,48,34,.045);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fm-dashboard-shortcut:hover { border-color: #8eae98; box-shadow: 0 7px 20px rgba(18,48,34,.09); transform: translateY(-1px); text-decoration: none; }
.fm-dashboard-shortcut span { color: #63776a; font-size: .84rem; font-weight: 800; }
.fm-dashboard-shortcut strong { color: #173e2a; font-size: 1.08rem; }
.fm-dashboard-shortcut b { color: #174b37; font-size: 1.32rem; }
.fm-dashboard-shortcut small { color: #506458; font-size: .86rem; }
.fm-dashboard-shortcut em { margin-top: auto; color: #174b37; font-style: normal; font-weight: 900; }
.fm-dashboard-tools-title { padding-top: 8px; }

/* Transaction flow: current status, next action and full amount are shown first. */
.fm-deal-flow {
  margin: 0 0 24px; padding: clamp(18px,3vw,25px);
  border: 1px solid #cbded0; border-radius: 17px;
  background: linear-gradient(180deg,#f0f7f2 0%,#fff 100%);
}
.fm-deal-flow__heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
.fm-deal-flow__heading h2 { margin: 2px 0 0; color:#153d2b; font-size:1.35rem; }
.fm-deal-flow__status { display:inline-flex; align-items:center; min-height:35px; padding:6px 12px; border-radius:999px; background:#174b37; color:#fff; font-size:.88rem; font-weight:900; }
.fm-deal-flow__steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; list-style:none; margin:22px 0 19px; padding:0; }
.fm-deal-flow__steps li { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:82px; padding:10px 7px; border:1px solid #d8e3db; border-radius:12px; background:#fff; color:#6b7b70; text-align:center; }
.fm-deal-flow__steps li b { display:grid; place-items:center; width:30px; height:30px; border:2px solid #c9d6cd; border-radius:50%; background:#fff; color:#5e7064; }
.fm-deal-flow__steps li span { font-size:.86rem; font-weight:850; line-height:1.35; }
.fm-deal-flow__steps li.is-done { border-color:#b8d4c0; background:#f0f7f2; color:#26583b; }
.fm-deal-flow__steps li.is-done b { border-color:#3c8a5a; background:#e2f1e6; color:#1d603a; }
.fm-deal-flow__steps li.is-current { border:2px solid #1e6b42; background:#fff; color:#153d2b; box-shadow:0 0 0 3px rgba(31,107,67,.10); }
.fm-deal-flow__steps li.is-current b { border-color:#1e6b42; background:#1e6b42; color:#fff; }
.fm-deal-next { display:flex; flex-direction:column; gap:4px; padding:16px 18px; border:1px solid #a8c9b2; border-left:5px solid #1e6b42; border-radius:12px; background:#edf7ef; }
.fm-deal-next span { color:#345b42; font-size:.85rem; font-weight:850; }
.fm-deal-next strong { color:#143f29; font-size:1.08rem; line-height:1.6; }
.fm-deal-next--done { background:#f3f7f4; border-left-color:#718b79; }
.fm-deal-flow__waiting { margin:12px 0 0; color:#765919; font-weight:750; }
.fm-deal-condition-title { margin-top:22px !important; }
.fm-deal-money-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0 7px; }
.fm-deal-money-summary > div { display:flex; flex-direction:column; gap:5px; min-width:0; padding:14px; border:1px solid #dce7df; border-radius:12px; background:#fbfdfb; }
.fm-deal-money-summary span { color:#5a6e60; font-size:.84rem; font-weight:800; }
.fm-deal-money-summary strong { color:#1c432c; font-size:1.08rem; overflow-wrap:anywhere; }
.fm-deal-money-summary .fm-deal-money-summary__total { border-color:#b6d2bd; background:#eff7f1; }
.fm-deal-money-summary__total strong { color:#174b37; font-size:1.28rem; }
.fm-deal-payment-note { margin:8px 0 18px; padding:12px 14px; border-radius:11px; background:#f7f8f5; color:#405748; font-size:.9rem; }
.fm-action-instruction { margin:17px 0 12px; padding:16px 18px; border:1px solid #cbded0; border-left:5px solid #1e6b42; border-radius:12px; background:#f2f8f3; }
.fm-action-instruction strong { display:block; margin-bottom:5px; color:#174b37; font-size:1.04rem; }
.fm-action-instruction p { margin:0; color:#425d4a; font-size:.93rem; }
.fm-deal-section .fm-form { box-shadow:none; }
.fm-deal-section .fm-actions { align-items:stretch; }
.fm-deal-section .fm-actions .fm-btn { min-width:190px; }
.fm-deal-section form { max-width:760px; }
.fm-deal-section .fm-handover-panel { border-color:#cbded0; }
.fm-deal-section .fm-handover-panel h3 { font-size:1.2rem; }
.fm-deal-section .fm-handover-edit > summary { color:#174b37; }
.fm-message-partner { margin:14px 0; padding:12px 14px; border-radius:11px; background:#eff6f1; color:#304e3a; }
.fm-password-control { display:grid; gap:8px; }
.fm-password-toggle { justify-self:start; min-height:40px; padding:8px 13px; border:1px solid #cbd9d0; border-radius:9px; background:#f7faf7; color:#234a35; font:inherit; font-size:.88rem; font-weight:800; cursor:pointer; }
.fm-password-toggle:focus-visible { outline:3px solid #d2a84e; outline-offset:3px; }
.fm-password-control input { width:100%; }
.fm-signup-privacy-note, .fm-account-help { margin:16px 0; padding:14px 16px; border:1px solid #dce7df; border-radius:12px; background:#f6faf7; color:#365340; font-size:.92rem; line-height:1.75; }

@media (max-width: 760px) {
  .fm-dashboard-shortcuts { grid-template-columns:1fr; }
  .fm-dashboard-shortcut { min-height:0; }
  .fm-deal-flow { padding:16px; }
  .fm-deal-flow__steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fm-deal-flow__steps li { min-height:76px; }
  .fm-deal-money-summary { grid-template-columns:1fr 1fr; }
  .fm-deal-money-summary__total { grid-column:1/-1; }
  .fm-page .fm-form-actions { grid-template-columns:1fr; }
  .fm-deal-section .fm-actions { display:grid; grid-template-columns:1fr; }
  .fm-deal-section .fm-actions .fm-btn { width:100%; }
}
@media (max-width: 520px) {
  .fm-page-head { padding-top:22px; }
  .fm-path-card { min-height:0; }
  .fm-deal-flow__heading { align-items:flex-start; }
  .fm-deal-flow__heading h2 { font-size:1.18rem; }
  .fm-deal-flow__steps { gap:7px; margin:17px 0; }
  .fm-deal-flow__steps li { min-height:70px; padding:8px 5px; }
  .fm-deal-flow__steps li span { font-size:.8rem; }
  .fm-deal-next strong { font-size:1rem; }
  .fm-deal-money-summary { grid-template-columns:1fr; }
  .fm-deal-money-summary__total { grid-column:auto; }
  .fm-page .fm-btn, .fm-page .fm-btn--small { width:100%; }
  .fm-page .fm-actions .fm-btn { width:100%; }
  .fm-page .fm-section { padding:22px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-dashboard-shortcut { transition:none; }
  .fm-dashboard-shortcut:hover { transform:none; }
}

/* ================================================================
   Accessible release pass - calm layout, larger type and controls.
   Tuned for first-time visitors and people who are not comfortable
   with smartphones. Existing components and page structure remain.
   ================================================================ */
.fish-market-site {
  color: #1d3026;
  background: #f5f7f5;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
.fm-page {
  font-size: 17px;
  line-height: 1.82;
  letter-spacing: .005em;
}
.fm-wrap {
  width: min(1080px, calc(100% - 44px));
}
.fm-page-head {
  padding: 36px 0 24px;
}
.fm-page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.32;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}
.fm-page-head p {
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.85;
}
.fm-section {
  padding-top: 42px;
  padding-bottom: 42px;
}
.fm-section-title {
  align-items: flex-start;
  margin-bottom: 24px;
}
.fm-section-title h2 {
  font-size: clamp(1.35rem, 2.7vw, 1.8rem);
  line-height: 1.45;
}
.fm-section-title p {
  font-size: .98rem;
  line-height: 1.8;
}
.fm-card,
.fm-detail-panel,
.fm-form,
.fm-offer {
  border-radius: 19px;
  border-color: #d4e0d7;
  box-shadow: 0 5px 20px rgba(17, 48, 31, .055);
}
.fm-card {
  padding: 24px;
}
.fm-card h3 {
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 12px 0 10px;
}
.fm-card p {
  font-size: .98rem;
  line-height: 1.85;
}
.fm-page .fm-card a:not(.fm-btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.fm-meta {
  gap: 9px 16px;
  font-size: .9rem;
  line-height: 1.7;
}
.fm-tag {
  font-size: .84rem;
  padding: 6px 11px;
}
.fm-btn {
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.45;
  box-shadow: none;
}
.fm-btn--small {
  min-height: 46px;
  padding: 11px 15px;
  font-size: .92rem;
}
.fm-btn--primary-wide {
  width: 100%;
  justify-content: center;
}
.fm-btn--danger {
  color: #fff;
  background: #9d342b;
  border: 1px solid #9d342b;
}
.fm-btn--danger:hover {
  color: #fff;
  background: #812820;
  border-color: #812820;
}
.fm-form {
  padding: clamp(22px, 3.5vw, 34px);
}
.fm-form h2 {
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.fm-form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.fm-field {
  gap: 9px;
  margin-bottom: 21px;
}
.fm-field label {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #203b2b;
}
.fm-field input,
.fm-field select,
.fm-field textarea,
.fm-filter input,
.fm-filter select {
  min-height: 54px;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 2px solid #c5d4c9;
  border-radius: 12px;
  background: #fff;
  color: #17291f;
  font-size: 1.02rem;
  line-height: 1.5;
}
.fm-field textarea {
  min-height: 132px;
  line-height: 1.75;
}
.fm-field input::placeholder,
.fm-field textarea::placeholder,
.fm-filter input::placeholder {
  color: #77857b;
  opacity: 1;
}
.fm-field small,
.fm-help-note,
.fm-meta,
.fm-footer-note {
  font-size: .88rem;
  line-height: 1.8;
}
.fm-filter {
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
}
.fm-notice,
.fm-flash {
  padding: 17px 19px;
  border-radius: 14px;
  font-size: .98rem;
  line-height: 1.85;
}
.fm-empty {
  padding: 34px 24px;
  border-radius: 17px;
  font-size: 1rem;
  line-height: 1.85;
}
.fm-data {
  grid-template-columns: minmax(120px,  .42fr) minmax(0, 1fr);
}
.fm-data dt,
.fm-data dd {
  padding: 13px 0;
  font-size: .98rem;
  line-height: 1.75;
}
.fm-message {
  padding: 15px 17px;
  border-radius: 15px;
  font-size: 1rem;
  line-height: 1.8;
}
.fm-message p {
  line-height: 1.85;
}
.fm-step {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  margin: 18px 0;
  padding: 19px;
  border-radius: 16px;
}
.fm-step b {
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
}
.fm-step h3 {
  font-size: 1.1rem;
}
.fm-step p {
  font-size: .98rem;
  line-height: 1.85;
}
.fm-page input[type="checkbox"],
.fm-page input[type="radio"] {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  accent-color: #17603e;
}
.fm-page button:disabled,
.fm-page input:disabled {
  opacity: .65;
  cursor: wait;
}
.fm-page :focus-visible,
.fm-global-nav a:focus-visible {
  outline: 3px solid #d49a25;
  outline-offset: 4px;
}
.fm-global-nav__inner {
  width: min(1080px, calc(100% - 44px));
  gap: 12px;
  padding: 12px 0;
}
.fm-global-nav__brand {
  min-width: 205px;
}
.fm-global-nav__link,
.fm-global-nav__button,
.fm-global-nav__mypage {
  min-height: 49px;
  padding: 12px 15px;
  font-size: .94rem;
}
.fm-global-nav__brand-text strong {
  font-size: 1.03rem;
}
.fm-global-nav__brand-text small {
  font-size: .72rem;
}
.fm-auth-wrap {
  width: min(700px, calc(100% - 44px));
  padding-bottom: 30px;
}
.fm-auth-card {
  margin: 8px 0 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #d5e2d9;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 6px 22px rgba(17, 48, 31, .055);
}
.fm-auth-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #e9f4ec;
  color: #17583a;
  font-size: 2rem;
  font-weight: 900;
}
.fm-auth-card h2 {
  margin: 0 0 10px;
  color: #173f2b;
  font-size: 1.45rem;
  line-height: 1.45;
}
.fm-auth-card p {
  font-size: 1rem;
  line-height: 1.85;
}
.fm-auth-email {
  display: inline-block;
  margin: 12px auto;
  padding: 9px 14px;
  border-radius: 10px;
  background: #f1f5f2;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.fm-simple-steps {
  display: inline-block;
  margin: 16px auto 0;
  padding-left: 1.5em;
  text-align: left;
  line-height: 2;
}
.fm-login-help,
.fm-auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  margin-top: 19px;
  font-size: .95rem;
  line-height: 1.7;
}
.fm-help-note {
  margin: 14px 0 0;
  color: #596b60;
}
.fm-check-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid #dce5df;
  border-radius: 13px;
  background: #f8faf8;
  font-size: .97rem;
  line-height: 1.8;
}
.fm-check-row input {
  margin-top: 3px;
}
.fm-notice--warning {
  color: #5b3b13;
  background: #fff8e9;
  border: 1px solid #ead5a5;
}
.fm-account-close-section {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #ead6d3;
  border-radius: 18px;
  background: #fffafa;
}
.fm-form--compact {
  box-shadow: none;
}
.fm-verification-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 22px;
  padding: 18px 20px;
  border: 2px solid #dfbd70;
  border-radius: 16px;
  background: #fff9e9;
  color: #4d3917;
}
.fm-verification-banner strong {
  font-size: 1.08rem;
}
.fm-verification-banner p {
  margin: 4px 0 0;
  font-size: .94rem;
}
.fm-verification-banner form {
  flex: 0 0 auto;
}
@media (max-width: 820px) {
  .fm-global-nav__inner {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 28px);
    gap: 10px;
    overflow: visible;
    white-space: normal;
  }
  .fm-global-nav__brand {
    width: 100%;
    min-width: 0;
  }
  .fm-global-nav__primary,
  .fm-global-nav__account {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    width: 100%;
    margin-left: 0;
    gap: 8px;
  }
  .fm-global-nav__primary > *,
  .fm-global-nav__account > * {
    flex: 1 1 auto;
  }
  .fm-layout,
  .fm-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .fm-wrap,
  .fm-auth-wrap {
    width: calc(100% - 28px);
  }
  .fm-page {
    font-size: 16.5px;
  }
  .fm-page-head {
    padding: 28px 0 20px;
  }
  .fm-page-head h1 {
    font-size: 1.85rem;
  }
  .fm-section {
    padding: 30px 0;
  }
  .fm-section-title {
    display: block;
  }
  .fm-section-title > a,
  .fm-section-title > .fm-btn {
    display: inline-flex;
    margin-top: 13px;
  }
  .fm-grid,
  .fm-stats,
  .fm-filter {
    grid-template-columns: minmax(0, 1fr);
  }
  .fm-card,
  .fm-detail-panel,
  .fm-offer {
    padding: 20px;
  }
  .fm-form {
    padding: 21px 17px;
  }
  .fm-btn,
  .fm-btn--small {
    min-height: 52px;
    width: 100%;
    box-sizing: border-box;
    font-size: .98rem;
  }
  .fm-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .fm-actions form,
  .fm-actions form button {
    width: 100%;
  }
  .fm-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .fm-data {
    grid-template-columns: minmax(0, 1fr);
  }
  .fm-data dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }
  .fm-data dd {
    padding-top: 2px;
  }
  .fm-global-nav__inner {
    width: calc(100% - 24px);
    padding: 10px 0;
  }
  .fm-global-nav__primary > *,
  .fm-global-nav__account > * {
    flex: 1 1 calc(50% - 8px);
    white-space: normal;
    text-align: center;
  }
  .fm-global-nav__link,
  .fm-global-nav__button,
  .fm-global-nav__mypage {
    min-height: 48px;
    padding: 10px 9px;
    font-size: .88rem;
  }
  .fm-verification-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .fm-account-close-section {
    padding: 20px 16px;
  }
  .fm-login-help,
  .fm-auth-links {
    display: grid;
    gap: 12px;
  }
  .fm-message {
    max-width: 94%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fish-market-site,
  .fm-btn,
  .fm-global-nav__link,
  .fm-global-nav__button {
    scroll-behavior: auto;
    transition: none;
  }
}


/* Quiet anti-bot honeypot: hidden from people and assistive technology. */
.fm-honeypot { position:absolute !important; left:-10000px !important; top:auto !important; width:1px !important; height:1px !important; overflow:hidden !important; opacity:0 !important; pointer-events:none !important; }

/* Final readability pass: fewer dense blocks, clearer grouping and calmer whitespace. */
.fish-market-site { font-size:17px; line-height:1.8; }
.fm-wrap { max-width:1160px; }
.fm-page-head { margin-bottom:26px; }
.fm-page-head h1 { margin:5px 0 12px; font-size:clamp(1.75rem,4vw,2.35rem); line-height:1.35; letter-spacing:.01em; }
.fm-page-head > p:not(.fm-eyebrow) { font-size:1rem; line-height:1.85; color:#53675a; }
.fm-section { padding-top:28px; padding-bottom:28px; }
.fm-section-title { margin-bottom:18px; gap:14px; }
.fm-section-title h2 { font-size:clamp(1.28rem,2.8vw,1.62rem); line-height:1.4; }
.fm-section-title p { margin-top:6px; font-size:.94rem; line-height:1.75; }
.fm-card, .fm-detail-panel, .fm-offer { padding:clamp(19px,2.8vw,27px); border-radius:17px; }
.fm-card h2, .fm-detail-panel h2 { line-height:1.45; }
.fm-card p, .fm-card li, .fm-detail-panel p { line-height:1.85; }
.fm-card + .fm-card { margin-top:16px; }
.fm-meta { row-gap:8px; column-gap:16px; line-height:1.65; }
.fm-help-note, .fm-field small { font-size:.88rem; line-height:1.75; }
.fm-page .fm-field { margin-bottom:22px; }
.fm-page .fm-field label { line-height:1.55; }
.fm-page .fm-field input, .fm-page .fm-field select, .fm-page .fm-field textarea { min-height:56px; border-width:1.5px; }
.fm-page .fm-field textarea { min-height:150px; }
.fm-page .fm-btn, .fm-page .fm-btn--small { min-height:54px; }
.fm-page .fm-btn--small { min-height:48px; }
.fm-page .fm-actions { gap:12px; margin-top:24px; }
.fm-page .fm-notice { padding:17px 19px; border-radius:14px; line-height:1.85; }
.fm-page .fm-empty { padding:25px; border-radius:16px; line-height:1.8; }
.fm-page .fm-empty strong { font-size:1.08rem; }
.fm-page .fm-form { border-radius:18px; }
.fm-page .fm-form > p { line-height:1.8; }
.fm-page .fm-data dt, .fm-page .fm-data dd { padding:13px 8px 13px 0; font-size:.96rem; line-height:1.75; }
.fm-page .fm-step { padding:19px; gap:16px; }
.fm-page .fm-step p { font-size:.96rem; line-height:1.85; }
.fm-page .fm-step h3 { font-size:1.08rem; }
.fm-page a { text-underline-offset:3px; }
.fm-page a:not(.fm-btn) { text-decoration-thickness:1px; }
.fm-page .fm-check-row { min-height:52px; gap:12px; padding:12px 14px; line-height:1.7; }
.fm-page .fm-form-grid { grid-template-columns:1fr; }
.fm-page .fm-field--full { grid-column:auto; }
@media (max-width:760px) {
  .fish-market-site { font-size:16px; }
  .fm-section { padding-top:22px; padding-bottom:22px; }
  .fm-page-head { margin-bottom:20px; }
  .fm-page .fm-card, .fm-page .fm-detail-panel, .fm-page .fm-offer { padding:18px; }
  .fm-page .fm-actions { display:grid; grid-template-columns:1fr; }
  .fm-page .fm-actions .fm-btn { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .fm-page *, .fm-global-nav * { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

.fm-more-tools { margin:10px 0 24px; border:1px solid #d5e2d9; border-radius:16px; background:#fff; overflow:hidden; }
.fm-more-tools > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:13px 18px; cursor:pointer; color:#1d4932; list-style:none; }
.fm-more-tools > summary::-webkit-details-marker { display:none; }
.fm-more-tools > summary::after { content:""; display:block; width:30px; height:30px; flex:0 0 30px; border-radius:50%; background-color:#edf5ef; background-image:linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor); background-position:center; background-repeat:no-repeat; background-size:14px 2px,2px 14px; color:#1d4932; }
.fm-more-tools[open] > summary::after { background-image:linear-gradient(currentColor,currentColor); }
.fm-more-tools > summary span { margin-left:auto; color:#63766a; font-size:.88rem; text-align:right; }
.fm-more-tools > summary:focus-visible { outline:3px solid #d2a84e; outline-offset:-3px; }
@media(max-width:600px) { .fm-more-tools > summary { align-items:flex-start; flex-wrap:wrap; } .fm-more-tools > summary span { order:3; width:100%; margin:0; text-align:left; } }


/* ================================================================
   Independent Fish Market site shell
   ================================================================ */
.fish-market-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f4f7f4;
  color: #20342a;
  font-size: 16px;
  line-height: 1.8;
}
.fm-site-header { position: relative; z-index: 100; flex: 0 0 auto; }
.fm-global-nav { background: #fff; border-bottom: 1px solid #dce7df; box-shadow: 0 3px 14px rgba(18,48,34,.055); }
.fm-global-nav__inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}
.fm-global-nav__brand { min-width: 218px; flex: 0 0 auto; }
.fm-global-nav__brand-mark { width: 46px; height: 46px; border-radius: 14px; font-size: 21px; }
.fm-global-nav__brand-text strong { font-size: 1.02rem; letter-spacing: .01em; }
.fm-global-nav__brand-text small { font-size: .72rem; }
.fm-global-nav__primary, .fm-global-nav__account { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fm-global-nav__primary { flex: 1 1 auto; }
.fm-global-nav__account { flex: 0 0 auto; margin-left: auto; }
.fm-global-nav__link, .fm-global-nav__button, .fm-global-nav__mypage {
  min-height: 48px; padding: 11px 14px; border-radius: 12px; font-size: .9rem;
}
.fm-global-nav__button, .fm-global-nav__mypage { font-weight: 900; }
.fm-site-footer {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 42px max(20px, env(safe-area-inset-left)) 0;
  background: #102f25;
  color: #edf5ef;
}
.fm-site-footer__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(2, minmax(170px, .8fr));
  gap: clamp(24px, 4vw, 58px);
  padding-bottom: 34px;
}
.fm-site-footer__brand { max-width: 390px; }
.fm-site-footer__logo { display: inline-block; color: #fff; font-size: 1.22rem; font-weight: 900; text-decoration: none; }
.fm-site-footer__brand p { margin: 10px 0 18px; color: #cadbd0; font-size: .92rem; line-height: 1.8; }
.fm-site-footer__contact { display: inline-flex; align-items: center; min-height: 46px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.5); border-radius: 11px; color: #fff; font-weight: 800; text-decoration: none; }
.fm-site-footer__contact:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.fm-site-footer__group { display: grid; align-content: start; gap: 9px; }
.fm-site-footer__group h2 { margin: 0 0 5px; color: #e7d59d; font-size: .94rem; font-weight: 900; }
.fm-site-footer__group a { color: #e5eee8; font-size: .9rem; line-height: 1.65; text-decoration: none; text-underline-offset: 3px; }
.fm-site-footer__group a:hover { color: #fff; text-decoration: underline; }
.fm-site-footer__bottom {
  width: min(1160px, 100%);
  min-height: 62px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.17);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #bdcfc3;
}
.fm-site-footer__bottom p { margin: 0; font-size: .82rem; }
.fm-site-footer__bottom-copy { display: grid; gap: 4px; }
.fm-site-footer__bottom .fm-site-footer__sister { color: #9daf9f; font-size: .7rem; line-height: 1.4; }
.fm-site-footer__bottom .fm-site-footer__sister a { color: #b9cbbd; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fm-site-footer__bottom a { color: #e7d59d; font-size: .85rem; text-decoration: none; }
.fm-site-footer__bottom a:hover { text-decoration: underline; }
.fm-page { flex: 1 0 auto; }
.fm-error-page { display: flex; align-items: center; padding: clamp(34px, 7vw, 80px) 0; }
.fm-error-wrap { display: grid; place-items: center; }
.fm-error-card { width: min(680px, 100%); padding: clamp(26px, 5vw, 46px); border: 1px solid #dce7df; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 12px 36px rgba(18,48,34,.07); }
.fm-error-code { margin: 0 0 10px; color: #738378; font-size: .82rem; font-weight: 900; letter-spacing: .16em; }
.fm-error-symbol { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #edf5ef; color: #174b37; font-size: 2rem; font-weight: 900; }
.fm-error-card h1 { margin: 0 0 12px; color: #153d2b; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.4; }
.fm-error-message { max-width: 510px; margin: 0 auto; color: #596b60; line-height: 1.9; }
.fm-error-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 25px; }
.fm-error-actions .fm-btn { min-height: 54px; }
.fm-error-help { margin: 24px 0 7px; color: #68776d; font-size: .85rem; }
.fm-error-id { display: inline-block; padding: 6px 11px; border-radius: 8px; background: #f1f5f2; color: #365442; font-size: .92rem; letter-spacing: .08em; }
@media (max-width: 900px) {
  .fm-global-nav__inner { width: min(100% - 28px, 1160px); gap: 10px; }
  .fm-global-nav__brand { min-width: 190px; }
  .fm-global-nav__link, .fm-global-nav__button, .fm-global-nav__mypage { padding-inline: 10px; font-size: .85rem; }
}
@media (max-width: 760px) {
  .fm-global-nav__inner { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; width: calc(100% - 24px); min-height: 0; padding: 12px 0; }
  .fm-global-nav__brand { min-width: 0; padding-bottom: 2px; }
  .fm-global-nav__brand-mark { width: 40px; height: 40px; }
  .fm-global-nav__primary, .fm-global-nav__account { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; margin: 0; }
  .fm-global-nav__link, .fm-global-nav__button, .fm-global-nav__mypage { width: 100%; min-width: 0; min-height: 50px; padding: 9px 7px; white-space: normal; text-align: center; font-size: .86rem; }
  .fm-site-footer { padding: 30px 14px 0; }
  .fm-site-footer__inner { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .fm-site-footer__brand { grid-column: 1 / -1; max-width: none; }
  .fm-site-footer__bottom { min-height: 64px; }
}
@media (max-width: 520px) {
  .fm-site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .fm-site-footer__brand { grid-column: auto; }
  .fm-site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; gap: 5px; }
  .fm-error-actions { grid-template-columns: 1fr; }
  .fm-error-card { padding: 26px 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-site-header *, .fm-site-footer * { transition: none !important; }
}


/* Stage 3A4: keep quote / cancellation editing secondary to the current next action. */
.fm-deal-disclosure-copy {
  display:flex;
  flex:1 1 auto;
  min-width:0;
  flex-direction:column;
  gap:3px;
}
.fm-deal-disclosure-copy strong {
  color:inherit;
  font-size:.96rem;
  line-height:1.45;
}
.fm-deal-disclosure-copy small {
  color:#66776b;
  font-size:.82rem;
  font-weight:600;
  line-height:1.45;
}
.fm-deal-quote-location {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:6px 14px;
  margin:12px 0;
  padding:11px 14px;
  border:1px solid #dce8df;
  border-radius:11px;
  background:#f8fbf8;
}
.fm-deal-quote-location span {
  color:#607267;
  font-size:.84rem;
  font-weight:750;
}
.fm-deal-quote-location strong {
  color:#1c4930;
  font-size:.94rem;
}
.fm-deal-quote-requested {
  margin:12px 0;
  border-color:#ead7a9 !important;
  background:#fff9eb !important;
  color:#6d531d !important;
}
.fm-deal-shipping-quote-disclosure {
  margin-top:12px;
}
.fm-deal-shipping-quote-disclosure > summary::after {
  background:#edf5ef;
}
.fm-deal-secondary-actions {
  margin-top:24px;
  padding-top:17px;
  border-top:1px solid #e5ebe6;
}
.fm-deal-secondary-actions > h3 {
  margin:0 0 10px;
  color:#65756a;
  font-size:.9rem;
  font-weight:850;
  letter-spacing:.02em;
}
.fm-deal-cancel-disclosure {
  border-color:#e8dfce;
  background:#fffdf9;
}
.fm-deal-cancel-disclosure > summary {
  color:#745a2c;
}
.fm-deal-cancel-disclosure > summary::after {
  background:#f7f0df;
  color:#795f31;
}
.fm-deal-cancel-disclosure > p {
  padding:10px 12px;
  border-left:3px solid #c39a4b;
  border-radius:6px;
  background:#fff8e9;
}
.fm-deal-cancel-disclosure .fm-form {
  padding:16px;
  border:1px solid #eee5d4;
  border-radius:12px;
  background:#fff;
}
.fm-offer-already-sent {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  margin-top:12px;
  padding:13px 15px;
  border:1px solid #cfe0d2;
  border-radius:12px;
  background:#f3f8f4;
  color:#285239;
  line-height:1.65;
}
.fm-offer-already-sent strong {
  color:#1d4f32;
  font-size:.96rem;
}
.fm-offer-already-sent span {
  color:#52675a;
  font-size:.87rem;
}
.fm-offer-already-sent a {
  font-size:.88rem;
  font-weight:800;
}
.fm-offer-already-sent-panel {
  margin-top:18px;
}
@media(max-width:600px) {
  .fm-deal-quote-location { align-items:flex-start; flex-direction:column; }
  .fm-deal-cancel-disclosure .fm-form { padding:13px; }
}

/* Stage 3A5: compact delivery sharing, issue reporting, and receipt-review guidance. */
.fm-deal-delivery-shared,
.fm-deal-review-submitted,
.fm-deal-review-waiting {
  display:grid;
  gap:6px;
  margin:14px 0 10px;
  padding:14px 16px;
  border:1px solid #cfe0d3;
  border-radius:13px;
  background:#f3f8f4;
  color:#285239;
}
.fm-deal-delivery-shared strong,
.fm-deal-review-submitted strong,
.fm-deal-review-waiting strong {
  font-size:.96rem;
  line-height:1.5;
}
.fm-deal-delivery-shared p,
.fm-deal-review-submitted p,
.fm-deal-review-waiting p {
  margin:0;
  color:#536b5a;
  font-size:.88rem;
  line-height:1.7;
}
.fm-deal-delivery-consent {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:2px 0 16px;
  color:#405748;
  font-size:.9rem;
  line-height:1.75;
}
.fm-deal-delivery-consent input {
  flex:0 0 auto;
  width:19px;
  height:19px;
  margin-top:3px;
}
.fm-deal-delivery-disclosure,
.fm-deal-issue-disclosure {
  margin-top:12px;
}
.fm-deal-delivery-disclosure > .fm-form,
.fm-deal-issue-disclosure > .fm-form {
  padding:16px;
  border:1px solid #e3ebe5;
  border-radius:12px;
  background:#fff;
}
.fm-deal-issue-section {
  padding-top:14px;
}
.fm-deal-issue-disclosure {
  background:#fafcfb;
}
.fm-deal-issue-disclosure > p {
  padding:10px 12px;
  border-left:3px solid #b8cbbd;
  border-radius:6px;
  background:#f2f6f3;
}
.fm-deal-review-section {
  margin-top:24px;
  padding:22px 0;
  border-top:1px solid #e5ebe6;
}
.fm-deal-review-prompt {
  margin-bottom:14px;
  padding:19px 20px;
  border:1px solid #e7d6a9;
  border-left:5px solid #bd9140;
  border-radius:14px;
  background:#fff9ec;
  color:#59451d;
}
.fm-deal-review-prompt .fm-eyebrow {
  margin:0 0 5px;
  color:#8a6b2c;
  font-size:.73rem;
  font-weight:850;
  letter-spacing:.08em;
}
.fm-deal-review-prompt h3 {
  margin:0 0 8px;
  color:#4e3b17;
  font-size:1.18rem;
  line-height:1.5;
}
.fm-deal-review-prompt p {
  margin:7px 0 0;
  color:#66532c;
  font-size:.9rem;
  line-height:1.8;
}
.fm-deal-review-prompt .fm-deal-review-payment-note {
  margin-top:12px;
  padding:10px 12px;
  border-radius:9px;
  background:rgba(255,255,255,.7);
  color:#76633a;
  font-size:.82rem;
}
.fm-deal-review-form {
  margin-top:12px;
}
.fm-deal-review-form .fm-btn {
  min-height:48px;
}
.fm-deal-review-secondary-title {
  margin:20px 0 10px;
  color:var(--fm-deep);
  font-size:1rem;
}
@media(max-width:600px) {
  .fm-deal-review-prompt { padding:16px; }
  .fm-deal-delivery-disclosure > .fm-form,
  .fm-deal-issue-disclosure > .fm-form { padding:13px; }
}


/* Stage 3A6: clearer deal controls, amount hierarchy, and caution notes. */
.fm-deal-method-disclosure {
  margin-top:12px;
}
.fm-deal-method-disclosure > form {
  padding:16px;
  border:1px solid #e3ebe5;
  border-radius:12px;
  background:#fff;
}
.fm-deal-money-summary .fm-deal-money-summary__total {
  position:relative;
  justify-content:center;
  gap:8px;
  padding:18px 20px;
  border:2px solid #c89a3d;
  background:linear-gradient(135deg,#fff9e9 0%,#fff0c9 100%);
  box-shadow:0 7px 18px rgba(126,91,24,.12);
}
.fm-deal-money-summary .fm-deal-money-summary__total span {
  color:#77551c;
  font-size:.9rem;
  font-weight:900;
}
.fm-deal-money-summary .fm-deal-money-summary__total strong {
  color:#143d29;
  font-size:clamp(1.45rem,2.5vw,1.85rem);
  line-height:1.3;
  letter-spacing:.01em;
}
.fm-deal-footnotes {
  display:grid;
  gap:7px;
  margin:12px 0 18px;
  padding:12px 15px;
  border:1px solid #e1e8e2;
  border-radius:11px;
  background:#f8faf8;
}
.fm-deal-footnotes p {
  display:grid;
  grid-template-columns:1.4em minmax(0,1fr);
  gap:5px;
  margin:0;
  color:#536258;
  font-size:.84rem;
  line-height:1.75;
}
.fm-deal-footnotes p > strong {
  color:#758579;
  font-size:1rem;
}
.fm-deal-shipping-shared {
  border-color:#e7d6a9;
  background:#fff9ec;
  color:#654c1e;
}
.fm-deal-shipping-shared strong { color:#654c1e; }
.fm-deal-shipping-shared p { color:#6f603e; }
.fm-deal-delivery-shared--warning {
  border-color:#e7d6a9;
  background:#fff9ec;
  color:#654c1e;
}
.fm-deal-delivery-shared--warning strong { color:#654c1e; }
.fm-deal-delivery-shared--warning p { color:#6f603e; }
.fm-deal-private-data-warning {
  border-color:#e7d6a9 !important;
  background:#fff8e8 !important;
  color:#654c1e !important;
}
.fm-deal-private-data-warning strong { margin-right:3px; }
.fm-deal-review-prompt .fm-deal-review-payment-note {
  border-left:3px solid #8aa894;
  background:#f3f7f3;
  color:#45604d;
}
@media(max-width:600px) {
  .fm-deal-money-summary .fm-deal-money-summary__total { padding:17px; }
  .fm-deal-footnotes { padding:11px 12px; }
  .fm-deal-footnotes p { font-size:.82rem; }
  .fm-deal-method-disclosure > form { padding:13px; }
}


/* Admin navigation: compact jump links that remain available while scrolling. */
.fm-admin-toc {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 26px;
  padding: 12px;
  border: 1px solid #dce7df;
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 5px 18px rgba(25,55,37,.08);
}
.fm-admin-toc strong {
  flex: 1 0 100%;
  color: #244a35;
  font-size: .92rem;
}
.fm-admin-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #d7e3da;
  border-radius: 999px;
  background: #f7faf7;
  color: #244a35;
  font-size: .86rem;
  font-weight: 650;
  text-decoration: none;
}
.fm-admin-toc a:hover, .fm-admin-toc a:focus-visible {
  background: #eaf3ec;
  border-color: #9db7a4;
  outline-offset: 2px;
}
.fm-page .fm-section[id^="admin-"] { scroll-margin-top: 150px; }
@media (max-width: 680px) {
  .fm-admin-toc { position: relative; top: auto; gap: 6px; padding: 10px; }
  .fm-admin-toc a { min-height: 34px; padding: 6px 10px; font-size: .82rem; }
  .fm-page .fm-section[id^="admin-"] { scroll-margin-top: 16px; }
}

/* Delivery guide tables: clear row/column alignment and strong visual separators. */
.fm-delivery-guide .fm-table-hint {
  margin: 8px 0 7px;
  color: #5b6d61;
  font-size: .82rem;
  line-height: 1.6;
}
.fm-delivery-guide .fm-table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 0 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #b8c9bd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 9px rgba(20, 55, 37, .055);
  -webkit-overflow-scrolling: touch;
}
.fm-delivery-guide .fm-table-scroll:focus-visible {
  outline: 3px solid #d2a84e;
  outline-offset: 3px;
}
.fm-delivery-guide .fm-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  color: #263b2f;
  font-size: .9rem;
  line-height: 1.65;
}
.fm-delivery-guide .fm-table th,
.fm-delivery-guide .fm-table td {
  box-sizing: border-box;
  padding: 13px 12px;
  border: 0;
  border-right: 1px solid #cbd8ce;
  border-bottom: 1px solid #cbd8ce;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
.fm-delivery-guide .fm-table thead th {
  background: #e8f1eb;
  color: #173f2e;
  font-size: .86rem;
  font-weight: 850;
  text-align: center;
  border-bottom: 2px solid #a9bdae;
}
.fm-delivery-guide .fm-table tbody th {
  background: #f1f6f2;
  color: #244a35;
  font-weight: 850;
}
.fm-delivery-guide .fm-table tbody tr:nth-child(even) td {
  background: #fafcfb;
}
.fm-delivery-guide .fm-table tbody tr:nth-child(even) th {
  background: #eaf2ec;
}
.fm-delivery-guide .fm-table tbody tr:hover td {
  background: #f0f6f1;
}
.fm-delivery-guide .fm-table tbody tr:hover th {
  background: #e2eee5;
}
.fm-delivery-guide .fm-table tr > :last-child { border-right: 0; }
.fm-delivery-guide .fm-table tbody tr:last-child > * { border-bottom: 0; }
.fm-delivery-guide .fm-table--carrier { min-width: 760px; }
.fm-delivery-guide .fm-table--carrier tbody td:nth-child(2),
.fm-delivery-guide .fm-table--carrier tbody td:nth-child(3) { text-align: center; }
.fm-delivery-guide .fm-table--osaka { min-width: 560px; }
.fm-delivery-guide .fm-table--osaka th,
.fm-delivery-guide .fm-table--osaka td { text-align: center; }
.fm-delivery-guide .fm-table--osaka tbody th { text-align: center; }
.fm-delivery-guide .fm-table--osaka td strong {
  color: #174b37;
  font-size: .98rem;
  white-space: nowrap;
}
.fm-delivery-guide .fm-table--box { min-width: 700px; }
.fm-delivery-guide .fm-table--box tbody th,
.fm-delivery-guide .fm-table--box tbody td:nth-child(2),
.fm-delivery-guide .fm-table--box tbody td:nth-child(3) { text-align: center; }
@media (max-width: 680px) {
  .fm-delivery-guide .fm-table { font-size: .86rem; }
  .fm-delivery-guide .fm-table th,
  .fm-delivery-guide .fm-table td { padding: 11px 10px; }
  .fm-delivery-guide .fm-table thead th { font-size: .82rem; }
  .fm-delivery-guide .fm-table-hint { font-size: .8rem; }
}

/* First-time fish shipping assistant */
.fm-shipping-assistant {
  margin: 22px 0;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #cbded0;
  border-radius: 16px;
  background: #f7faf7;
}
.fm-shipping-assistant > h3 { margin: 4px 0 8px; color: #174b37; font-size: 1.3rem; line-height: 1.45; }
.fm-shipping-assistant > p { line-height: 1.8; }
.fm-shipping-assistant h4 { margin: 22px 0 10px; color: #174b37; font-size: 1.04rem; }
.fm-shipping-assistant__trade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.fm-shipping-assistant__trade > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #d7e3da;
  border-radius: 10px;
  background: #fff;
}
.fm-shipping-assistant__trade span,
.fm-shipping-assistant__candidate > span { display: block; color: #5b7062; font-size: .8rem; }
.fm-shipping-assistant__trade strong { display: block; margin-top: 4px; color: #173f2e; line-height: 1.45; overflow-wrap: anywhere; }
.fm-shipping-assistant__candidate {
  margin: 14px 0;
  padding: 14px 16px;
  border-left: 4px solid #1e6b42;
  border-radius: 9px;
  background: #edf5ef;
}
.fm-shipping-assistant__candidate strong { display: block; margin: 5px 0; color: #174b37; line-height: 1.65; }
.fm-shipping-assistant__candidate small { display: block; color: #52695a; line-height: 1.65; }
.fm-shipping-assistant__recommend-carrier { margin: 8px 0; color: #214c35; line-height: 1.65; }
.fm-shipping-assistant__recommend-carrier strong { display: inline; margin: 0; }
.fm-shipping-advisor-action {
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid #bfd5c5;
  border-radius: 10px;
  background: #f3f8f4;
}
.fm-shipping-advisor-action > strong { display: block; color: #174b37; }
.fm-shipping-advisor-action p { margin: 5px 0 10px; color: #52695a; font-size: .86rem; line-height: 1.65; }
.fm-shipping-advisor-action button { width: 100%; }
.fm-shipping-assistant__checklist { margin: 10px 0; padding-left: 1.35rem; line-height: 1.9; }
.fm-shipping-assistant__checklist li { margin: 5px 0; padding-left: 2px; }
.fm-shipping-calculator {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #d3dfd6;
  border-radius: 12px;
  background: #fff;
}
.fm-shipping-calculator__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.fm-shipping-calculator__fields .fm-field { min-width: 0; }
.fm-shipping-calculator__fields label { display: block; min-height: 2.8em; font-size: .86rem; line-height: 1.45; font-weight: 750; }
.fm-shipping-calculator__fields input { width: 100%; min-width: 0; }
.fm-shipping-calculator__hint { margin: 10px 0; color: #586b5d; font-size: .82rem; line-height: 1.65; }
.fm-shipping-calculator__result {
  padding: 13px 14px;
  border-radius: 9px;
  background: #eef4f0;
  color: #1e3f2b;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: .9rem;
}

/* Pre-payment quote builder and immutable shipping quote snapshot */
.fm-shipping-quote-calculator .fm-shipping-calculator__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fm-shipping-quote-calculator select,
.fm-shipping-quote-calculator input { width: 100%; min-width: 0; }
.fm-shipping-quote-estimate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #d6e3d9;
  border-radius: 10px;
  background: #f7faf7;
}
.fm-shipping-quote-estimate > div { min-width: 0; }
.fm-shipping-quote-estimate span { display: block; color: #586b5d; font-size: .8rem; line-height: 1.5; }
.fm-shipping-quote-estimate strong { display: block; margin-top: 4px; color: #174b37; font-size: 1.1rem; overflow-wrap: anywhere; }
.fm-shipping-quote-estimate button { grid-column: 1 / -1; width: 100%; }
.fm-deal-shipping-quote-snapshot {
  margin: 16px 0; padding: 16px; border: 1px solid #cbded0; border-radius: 12px; background: #f7faf7;
}
.fm-deal-shipping-quote-snapshot h3 { margin: 0 0 10px; color: #174b37; font-size: 1.05rem; }
.fm-deal-shipping-quote-snapshot .fm-data { margin: 0; }
.fm-deal-shipping-quote-snapshot p { margin: 10px 0 0; color: #53685a; font-size: .88rem; line-height: 1.7; }
.fm-deal-shipping-quote-snapshot--locked { background: #fff; border-color: #a9c8b2; }
@media (max-width: 720px) {
  .fm-shipping-assistant__trade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-shipping-calculator__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-shipping-quote-calculator .fm-shipping-calculator__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-shipping-calculator__fields label { min-height: 0; }
}
@media (max-width: 380px) {
  .fm-shipping-calculator__fields,
  .fm-shipping-quote-calculator .fm-shipping-calculator__fields { grid-template-columns: 1fr; }
  .fm-shipping-quote-estimate { grid-template-columns: 1fr; }
  .fm-shipping-quote-estimate button { grid-column: auto; }
}



/* Beginner-first fish shipment guide */
.fm-shipping-guide-start {
  margin: 18px 0 24px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid #cbded0;
  border-radius: 16px;
  background: #f4f8f5;
}
.fm-shipping-guide-start h2 { margin: 0 0 14px; color: #174b37; font-size: 1.16rem; }
.fm-shipping-guide-start__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fm-shipping-guide-start__steps a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid #d5e1d8;
  border-radius: 10px;
  background: #fff;
  color: #194831;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.45;
}
.fm-shipping-guide-start__steps a:hover { border-color: #8eae98; background: #f9fcfa; }
.fm-shipping-guide-start__steps b {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #174b37;
  color: #fff;
}
.fm-shipping-material-grid,
.fm-shipping-pickup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.fm-shipping-material-card {
  position: relative;
  min-width: 0;
  padding: 17px;
  border: 1px solid #d6e1d9;
  border-radius: 13px;
  background: #fff;
}
.fm-shipping-material-card__number {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 50%;
  background: #e9f2ec;
  color: #174b37;
  font-weight: 850;
}
.fm-shipping-material-card h3 { margin: 0 0 7px; color: #174b37; font-size: 1.04rem; }
.fm-shipping-material-card p { margin: 7px 0; line-height: 1.75; }
.fm-shipping-material-card small { display: block; margin-top: 8px; color: #5c6d62; line-height: 1.65; }
.fm-shipping-pickup-grid .fm-card { min-width: 0; }
.fm-shipping-pickup-grid ol { padding-left: 1.4rem; line-height: 1.8; }
.fm-shipping-pickup-grid li { margin: 5px 0; }
.fm-shipping-assistant__detail {
  margin: 9px 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.fm-shipping-assistant__detail p { margin: 5px 0 0; white-space: pre-wrap; }
.fm-shipping-assistant__candidate { scroll-margin-top: 90px; }
.fm-shipping-calculator { scroll-margin-top: 90px; }
@media (max-width: 720px) {
  .fm-shipping-guide-start__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-shipping-material-grid,
  .fm-shipping-pickup-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .fm-shipping-guide-start__steps { grid-template-columns: 1fr; }
}


/* Fish Market admin refresh: clearer hierarchy, search toolbar and compact records. */
.fm-admin-layout .fm-admin-toolbar {
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,1.3fr) auto;
  align-items:end; gap:14px; margin:18px 0 14px; padding:16px 18px;
  border:1px solid #dbe7df; border-radius:16px; background:#f7faf7;
  box-shadow:0 4px 14px rgba(25,55,37,.06);
}
.fm-admin-layout .fm-admin-view-state { display:flex; align-items:center; gap:12px; min-width:0; }
.fm-admin-layout .fm-admin-view-state strong { display:block; color:#1e4934; font-size:1rem; }
.fm-admin-layout .fm-admin-view-state small { display:block; margin-top:3px; color:#617267; font-size:.78rem; line-height:1.5; }
.fm-admin-layout .fm-admin-live-dot { width:11px; height:11px; flex:0 0 11px; border-radius:50%; background:#24844f; box-shadow:0 0 0 4px #e0f1e5; }
.fm-admin-layout .fm-admin-live-dot.is-test { background:#b47a20; box-shadow:0 0 0 4px #f8edda; }
.fm-admin-layout .fm-admin-search { display:block; margin:0; }
.fm-admin-layout .fm-admin-search span { display:block; margin-bottom:5px; color:#435a4b; font-size:.78rem; font-weight:800; }
.fm-admin-layout .fm-admin-search input { width:100%; min-height:42px; padding:9px 12px; border:1px solid #cbd9cf; border-radius:10px; background:white; }
.fm-admin-layout .fm-admin-archive-note { margin:12px 0 18px; border-left:5px solid #b47a20; }
.fm-admin-layout .fm-admin-toc { top:8px; }
.fm-admin-layout .fm-admin-toc a { white-space:nowrap; }
.fm-admin-layout .fm-section { margin:20px 0; padding:20px; border:1px solid #e0e8e2; border-radius:18px; background:#fff; box-shadow:0 5px 18px rgba(23,52,35,.045); }
.fm-admin-layout .fm-section-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.fm-admin-layout .fm-section-title h2 { margin:0; font-size:1.25rem; color:#214b36; }
.fm-admin-layout .fm-section-title p { max-width:900px; margin:5px 0 0; color:#66746b; font-size:.86rem; line-height:1.65; }
.fm-admin-layout .fm-admin-toggle { flex:0 0 auto; min-height:35px; padding:6px 12px; border:1px solid #cad9ce; border-radius:999px; background:#f7faf7; color:#28513a; font-weight:800; cursor:pointer; }
.fm-admin-layout .fm-admin-toggle:hover { background:#edf5ef; }
.fm-admin-layout .fm-admin-panel-content[hidden] { display:none !important; }
.fm-admin-layout .fm-admin-overview > .fm-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.fm-admin-layout .fm-admin-overview .fm-card { min-height:115px; padding:16px; border-radius:14px; background:linear-gradient(180deg,#fff,#f8fbf8); }
.fm-admin-layout .fm-admin-overview .fm-card h3 { margin:7px 0 2px; font-size:1.8rem; line-height:1.1; color:#1e4934; }
.fm-admin-layout section.fm-section:not(.fm-admin-overview) .fm-admin-panel-content > .fm-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.fm-admin-layout .fm-admin-record { min-width:0; padding:17px; border:1px solid #e0e8e2; border-radius:14px; box-shadow:none; }
.fm-admin-layout .fm-admin-record h3 { margin:8px 0 10px; font-size:1.04rem; line-height:1.45; color:#243f30; overflow-wrap:anywhere; }
.fm-admin-layout .fm-admin-record p { margin:7px 0; line-height:1.6; overflow-wrap:anywhere; }
.fm-admin-layout .fm-admin-record .fm-meta { gap:8px 14px; }
.fm-admin-layout .fm-admin-record form { padding:10px 0 0; }
.fm-admin-layout .fm-admin-record select,
.fm-admin-layout .fm-admin-record input,
.fm-admin-layout .fm-admin-record textarea { max-width:100%; }
.fm-admin-layout .fm-admin-record .fm-btn { min-height:38px; }
.fm-admin-layout .fm-admin-record[hidden] { display:none !important; }
.fm-admin-layout .fm-admin-empty-search { margin-top:10px; }
.fm-admin-test-view .fm-admin-record form,
.fm-admin-test-view .fm-admin-record > form,
.fm-admin-test-view .fm-admin-record form button { display:none !important; }
@media(max-width:900px) {
  .fm-admin-layout .fm-admin-toolbar { grid-template-columns:1fr 1fr; }
  .fm-admin-layout .fm-admin-toolbar > a { justify-self:start; }
  .fm-admin-layout .fm-admin-overview > .fm-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:680px) {
  .fm-admin-layout .fm-admin-toolbar { grid-template-columns:1fr; padding:13px; }
  .fm-admin-layout .fm-admin-toc { position:relative; top:auto; }
  .fm-admin-layout .fm-section { padding:14px; margin:14px 0; border-radius:14px; }
  .fm-admin-layout section.fm-section:not(.fm-admin-overview) .fm-admin-panel-content > .fm-grid,
  .fm-admin-layout .fm-admin-overview > .fm-grid { grid-template-columns:1fr; }
  .fm-admin-layout .fm-section-title { align-items:flex-start; }
  .fm-admin-layout .fm-section-title h2 { font-size:1.12rem; }
  .fm-admin-layout .fm-admin-toggle { min-height:32px; padding:5px 9px; font-size:.8rem; }
}

/* Seller payout request and clearer operator task queue (2026-11-11). */
.fm-payout-request-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d8e6dc;
  border-radius: 14px;
  background: #f8fbf8;
}
.fm-payout-request-panel h3 { margin: 0 0 4px; color: #214b36; font-size: 1.08rem; }
.fm-payout-request-panel .fm-section-title { margin-bottom: 10px; }
.fm-payout-request-panel .fm-section-title p:last-child { margin-bottom: 0; }
.fm-payout-request-panel .fm-meta { color: #65756a; font-size: .82rem; line-height: 1.6; }
.fm-payout-request-status {
  margin: 12px 0;
  padding: 13px 15px;
  border: 1px solid #d4e1d7;
  border-radius: 11px;
  background: #fff;
}
.fm-payout-request-status strong { color: #214b36; }
.fm-payout-request-status p { margin: 6px 0 0; }
.fm-payout-request-history { margin-top: 13px; border-top: 1px solid #dce6df; padding-top: 11px; }
.fm-payout-request-history summary { cursor: pointer; font-weight: 800; color: #315a40; }
.fm-payout-request-history ul { list-style: none; margin: 9px 0 0; padding: 0; }
.fm-payout-request-history li { display: flex; flex-wrap: wrap; gap: 5px 14px; padding: 9px 0; border-top: 1px solid #e4ece6; font-size: .84rem; }
.fm-payout-request-history li span { color: #66766b; }
.fm-admin-next-actions {
  margin: 18px 0 20px;
  padding: 19px;
  border: 1px solid #dbe6de;
  border-radius: 17px;
  background: linear-gradient(180deg, #fbfdfb, #f4f8f5);
}
.fm-admin-next-actions__head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:13px; }
.fm-admin-next-actions__head h2 { margin:0; color:#214b36; font-size:1.25rem; }
.fm-admin-next-actions__head p { margin:4px 0 0; color:#647368; font-size:.84rem; }
.fm-admin-todo-total { flex:0 0 auto; min-width:72px; padding:8px 12px; border-radius:12px; background:#e8f0ea; text-align:center; }
.fm-admin-todo-total strong { display:block; color:#214b36; font-size:1.55rem; line-height:1.2; }
.fm-admin-todo-total small { color:#5e7064; font-size:.72rem; }
.fm-admin-task-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.fm-admin-task {
  display:flex; flex-direction:column; gap:3px; min-width:0; padding:13px 14px;
  border:1px solid #dbe6de; border-radius:12px; background:#fff; color:#294734; text-decoration:none;
}
.fm-admin-task:hover,.fm-admin-task:focus-visible { border-color:#8fae98; background:#f8fbf8; }
.fm-admin-task strong { color:#214b36; font-size:1.45rem; line-height:1.2; }
.fm-admin-task span { font-weight:800; }
.fm-admin-task small { color:#6a786e; font-size:.77rem; line-height:1.45; }
.fm-admin-task.is-priority { border-left:4px solid #b47a20; }
.fm-admin-all-clear { padding:14px 16px; border:1px solid #d9e5dc; border-radius:11px; background:#fff; }
.fm-admin-all-clear strong { color:#214b36; }
.fm-admin-all-clear p { margin:5px 0 0; color:#65746a; font-size:.84rem; }
.fm-payout-admin-actions { display:flex; flex-wrap:wrap; gap:7px; }
.fm-payout-admin-actions .fm-btn { flex:1 1 145px; }
@media (max-width: 720px) {
  .fm-admin-next-actions { padding:14px; }
  .fm-admin-task-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fm-admin-next-actions__head h2 { font-size:1.12rem; }
  .fm-payout-request-panel { padding:14px; }
  .fm-payout-admin-actions { display:grid; grid-template-columns:1fr 1fr; }
  .fm-payout-admin-actions .fm-btn { min-width:0; padding-left:8px; padding-right:8px; font-size:.82rem; }
}
@media (max-width: 420px) {
  .fm-admin-task-grid { grid-template-columns:1fr; }
  .fm-admin-task { flex-direction:row; align-items:center; flex-wrap:wrap; gap:5px 10px; }
  .fm-admin-task strong { min-width:28px; }
  .fm-admin-task small { flex-basis:100%; margin-left:38px; }
  .fm-payout-admin-actions { grid-template-columns:1fr; }
}


/* Cross-brand operator navigation: visible without mixing authentication roles. */
.fm-admin-layout .fm-admin-toolbar .fm-admin-brand-switcher { grid-column:1 / -1; }
.fm-admin-brand-switcher { display:flex; flex-wrap:wrap; align-items:center; gap:8px; flex-basis:100%; margin-top:4px; padding-top:11px; border-top:1px solid #dce6df; }
.fm-admin-brand-switcher strong { margin-right:3px; color:#5f7065; font-size:.78rem; }
.fm-admin-brand-switcher a { display:inline-flex; align-items:center; min-height:34px; padding:7px 11px; border:1px solid #cad8cd; border-radius:8px; background:#fff; color:#285238; font-size:.8rem; font-weight:800; text-decoration:none; }
.fm-admin-brand-switcher a:hover,.fm-admin-brand-switcher a:focus-visible { background:#edf5ef; border-color:#8eae98; }
.fm-admin-brand-switcher--subpage { margin:0 0 16px; padding:12px 14px; border:1px solid #dce6df; border-radius:12px; background:#f8fbf8; }
@media(max-width:700px){.fm-admin-brand-switcher{align-items:stretch}.fm-admin-brand-switcher a{flex:1 1 100%}}

/* Fish Market member dashboard: compact collapsible history sections. */
.fm-mypage-collapsible {
  margin: 18px 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dbe6de;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(23, 52, 35, .045);
}
.fm-mypage-collapse-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 16px 19px;
  cursor: pointer;
  list-style: none;
}
.fm-mypage-collapse-summary::-webkit-details-marker { display: none; }
.fm-mypage-collapse-summary::marker { content: ""; }
.fm-mypage-collapse-summary:focus-visible { outline: 3px solid #9bc5a7; outline-offset: -3px; }
.fm-mypage-collapse-heading { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 3px; }
.fm-mypage-collapse-heading .fm-eyebrow { margin: 0; }
.fm-mypage-collapse-heading > strong { color: #1d4931; font-size: 1.08rem; }
.fm-mypage-collapse-heading > small { color: #65766a; font-size: .8rem; line-height: 1.45; }
.fm-mypage-count {
  flex: 0 0 auto;
  min-width: 56px;
  padding: 7px 11px;
  border: 1px solid #d2e2d6;
  border-radius: 999px;
  background: #eff6f0;
  color: #245237;
  font-size: .85rem;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.fm-mypage-collapse-summary::after {
  content: "+";
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #d7e2da;
  border-radius: 50%;
  color: #315d40;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.fm-mypage-collapsible[open] > .fm-mypage-collapse-summary { border-bottom: 1px solid #e7eee8; background: #f8fbf8; }
.fm-mypage-collapsible[open] > .fm-mypage-collapse-summary::after { content: "−"; }
.fm-mypage-collapse-content { padding: 17px 19px 19px; }
.fm-mypage-collapse-content > .fm-grid { margin-top: 0; }
.fm-mypage-logout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 8px;
  padding: 18px 20px;
  border: 1px solid #dce5df;
  border-radius: 14px;
  background: #f8faf8;
}
.fm-mypage-logout-footer > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.fm-mypage-logout-footer > div strong { color: #344b3a; font-size: .95rem; }
.fm-mypage-logout-footer > div small { color: #65746a; font-size: .78rem; line-height: 1.55; }
.fm-mypage-logout-button { min-width: 130px; border-color: #c8d4cc; color: #334b39; background: #fff; }
.fm-mypage-logout-button:hover,.fm-mypage-logout-button:focus-visible { border-color: #9aaca0; background: #f0f5f1; }
.fm-dashboard-anchor-nav { flex-wrap: wrap; }
@media (max-width: 680px) {
  .fm-mypage-collapse-summary { min-height: 68px; gap: 9px; padding: 14px; }
  .fm-mypage-collapse-heading > strong { font-size: 1rem; }
  .fm-mypage-collapse-heading > small { font-size: .74rem; }
  .fm-mypage-count { min-width: 47px; padding: 6px 8px; font-size: .78rem; }
  .fm-mypage-collapse-summary::after { flex-basis: 26px; width: 26px; height: 26px; }
  .fm-mypage-collapse-content { padding: 13px; }
  .fm-mypage-logout-footer { align-items: stretch; flex-direction: column; margin-top: 22px; padding: 15px; }
  .fm-mypage-logout-footer form,.fm-mypage-logout-button { width: 100%; }
}
