:root {
  --green: #5f7f3f;
  --green-dark: #3f5f2d;
  --brown: #6c4a2f;
  --cream: #fffaf0;
  --bg: #f7f5ed;
  --text: #2f2f2f;
  --muted: #777;
  --line: #e8e1d2;
  --danger: #b94a48;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(80, 64, 40, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
}

a { color: inherit; }

.app-shell {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--cream);
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.02);
}

.page {
  padding: 18px 18px 112px;
}

.page.no-nav {
  padding-bottom: 28px;
}

.hero {
  padding: 0;
  background: var(--cream);
}

.hero-image {
  width: 100%;
  display: block;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-content {
  padding: 22px 18px 18px;
}

.logo-text {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 8px;
}

.catch {
  font-size: 30px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--brown);
  letter-spacing: 0.03em;
}

.lead {
  font-size: 15px;
  line-height: 1.85;
  color: #4c4c4c;
  margin: 0;
}

.actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--green-dark);
  border-color: #c9d6b7;
}

.btn-light {
  background: #f3ead9;
  color: var(--brown);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.section-title {
  font-size: 20px;
  margin: 0 0 14px;
  color: var(--brown);
}

.small-title {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--green-dark);
}

.form {
  display: grid;
  gap: 22px;
}

.field label,
.label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #554635;
  margin-bottom: 10px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #d9cfbd;
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(95, 127, 63, 0.15);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.role-card {
  border: 1px solid #d9cfbd;
  border-radius: 18px;
  padding: 13px;
  background: #fff;
  cursor: pointer;
}

.role-card input {
  width: auto;
  margin-right: 6px;
}

.role-card strong {
  display: block;
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 4px;
}

.role-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.notice-box {
  border-radius: 16px;
  background: #fff7e8;
  border: 1px solid #ead8b7;
  padding: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: #594634;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.6;
}

.check-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.message {
  min-height: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--danger);
}

.message.success { color: var(--green-dark); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  max-width: 520px;
  margin: 0 auto;
}

.topbar h1 {
  margin: 0;
  font-size: 18px;
  color: var(--brown);
}

.home-grid {
  display: grid;
  gap: 14px;
}

.status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.status-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  min-height: 84px;
  padding: 16px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.98);
  border-top: 1px solid #e6e2d8;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  z-index: 1000;
  box-shadow: 0 -8px 20px rgba(0,0,0,.06);
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #7d7d7d;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.bottom-nav .icon {
  display: block;
  font-size: 21px;
  margin-bottom: 4px;
}

.bottom-nav a.active {
  color: var(--green-dark);
}

.link-row {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.link-row a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.hidden { display: none !important; }

@media (min-width: 760px) {
  body { background: #e9eadf; }
  .app-shell { min-height: 100vh; }
}

.toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.product-list,
.my-product-list {
  display: grid;
  gap: 13px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-link {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0;
  text-decoration: none;
}

.product-thumb {
  width: 108px;
  height: 132px;
  object-fit: cover;
  background: #efe6d6;
}

.product-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--brown);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

.product-body {
  padding: 12px 13px;
  min-width: 0;
}

.product-body h2 {
  font-size: 17px;
  margin: 8px 0 8px;
  color: var(--brown);
}

.product-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 3px 9px;
  background: #f1eadc;
  color: #6a563e;
  font-size: 11px;
  font-weight: 700;
}

.badge-open { background: #e8f1df; color: var(--green-dark); }
.badge-closed { background: #ede7f6; color: #5c4a82; }
.badge-canceled { background: #f6e7e2; color: #9a4a38; }

.product-line {
  margin: 3px 0;
  font-size: 14px;
  color: #3f3f3f;
  font-weight: 700;
}

.product-sub {
  margin: 3px 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.product-actions {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

.mini-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 38px;
  border: 1px solid #cbd7bd;
  background: #fff;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.mini-btn.danger {
  border-color: #e1b7ad;
  color: #9a4a38;
}

.muted-card {
  color: var(--muted);
  line-height: 1.7;
}

.detail-image {
  width: 100%;
  min-height: 240px;
  max-height: 360px;
  object-fit: cover;
  display: block;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: var(--shadow);
  background: #efe6d6;
}

.detail-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-weight: 700;
}

.detail-card {
  margin-top: 16px;
}

.detail-title {
  font-size: 26px;
  color: var(--brown);
  margin: 12px 0 14px;
  line-height: 1.3;
}

.detail-list {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 9px 12px;
  margin: 0 0 16px;
  font-size: 14px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 700;
}

.detail-list dd {
  margin: 0;
  color: var(--text);
}

.detail-description {
  line-height: 1.8;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
}

.form-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin: 9px 0 0;
}

.field:has(.form-note) {
  margin-bottom: 6px;
}

@media (max-width: 380px) {
  .product-link { grid-template-columns: 96px 1fr; }
  .product-thumb { width: 96px; height: 126px; }
  .detail-list { grid-template-columns: 1fr; gap: 3px; }
  .detail-list dt { margin-top: 8px; }
}

/* 2026-07-03 update: form height alignment and edit controls */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select {
  height: 48px;
  line-height: 1.2;
}

input[type="date"] {
  min-height: 48px;
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}

.mini-btn.edit {
  background: #fff7e8;
  color: var(--brown);
  border-color: #ead8b7;
}

/* 2026-07-03 fix: normalize date input height on mobile browsers */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 48px !important;
  min-height: 0 !important;
  line-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #d9cfbd;
  border-radius: 14px;
  background-color: #fff;
  font-size: 16px;
}

input[type="date"]::-webkit-date-and-time-value {
  min-height: 0;
  height: 48px;
  line-height: 48px;
  text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  margin: 0;
  padding: 0;
}

/* 2026-07-03 fix: date input width alignment */
.field {
  min-width: 0;
}

input[type="date"] {
  box-sizing: border-box !important;
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: 100% !important;
  max-width: 100% !important;
  min-inline-size: 0 !important;
  min-width: 0 !important;
  display: block !important;
  margin: 0 !important;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-date-and-time-value {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* 2026-07-03 stage3: inquiries and chat */
.inquiry-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.inquiry-box textarea,
.chat-form textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

.message-list {
  display: grid;
  gap: 12px;
}

.inquiry-card {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  text-decoration: none;
}

.inquiry-card img,
.inquiry-thumb {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  object-fit: cover;
  background: #f1eadc;
}

.inquiry-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
}

.inquiry-main {
  min-width: 0;
}

.inquiry-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.inquiry-head strong {
  font-size: 15px;
  color: var(--brown);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inquiry-latest {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.unread-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #cf5a42;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.back-link {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.chat-header-card {
  margin-bottom: 12px;
}

.compact-actions {
  margin-top: 10px;
}

.chat-thread {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.chat-row {
  display: flex;
}

.chat-row.mine {
  justify-content: flex-end;
}

.chat-row.other {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.chat-row.mine .chat-bubble {
  background: #e8f1df;
  border-color: #d4e2c5;
}

.chat-sender {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.chat-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.chat-time {
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}

.chat-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.small-notice {
  font-size: 12px;
  margin-top: 12px;
}


.bottom-nav a {
  position: relative;
}

.nav-unread-dot {
  position: absolute;
  top: 3px;
  right: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #cf5a42;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(207, 90, 66, .28);
}

.bottom-nav a.has-unread {
  color: var(--green-dark);
}

.unread-notice-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #f3d7b7;
  color: #6a4a25;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(112, 80, 43, .08);
}

.unread-notice-card .notice-icon {
  font-size: 18px;
}

.unread-notice-card strong {
  margin-left: auto;
  background: #cf5a42;
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
}


/* 2026-07-03 stage3 update: product summary on chat screen */
.chat-product-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.chat-product-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  background: #efe6d6;
  display: block;
}

.chat-product-image-empty {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-weight: 700;
}

.chat-product-list {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 7px 10px;
  margin: 12px 0 0;
  font-size: 14px;
}

.chat-product-list dt {
  color: var(--muted);
  font-weight: 700;
}

.chat-product-list dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.partner-info-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf0;
}

.partner-info-box h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--brown);
}

@media (max-width: 380px) {
  .chat-product-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .chat-product-list dt {
    margin-top: 7px;
  }
}


.deal-status-box {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff4d8;
  border: 1px solid #f0d596;
  color: #6c4a00;
  font-weight: 800;
  text-align: center;
}

.deal-action-box {
  margin: 10px 0 14px;
  padding: 14px;
  border-radius: 18px;
  background: #fffaf0;
  border: 1px solid #f0dfba;
}

.chat-row.system {
  justify-content: center;
  margin: 12px 0;
}

.system-message {
  width: 100%;
  background: #fffaf0;
  border: 1px solid #ead8b4;
  border-radius: 16px;
  padding: 12px;
  color: #5e4b2d;
  font-size: 13px;
  line-height: 1.7;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 3000;
}

.modal-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.modal-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}


/* 2026-07-04 fix: registration form note spacing */
.register-page .form-note {
  margin-top: 10px;
  margin-bottom: 2px;
}

.register-page .field {
  min-width: 0;
}

/* 管理者画面 */
.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.admin-tab {
  border: 1px solid #d8dfce;
  background: #f8faf5;
  color: #56634a;
  border-radius: 999px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
}

.admin-tab.active {
  background: #5f7f3d;
  color: #fff;
  border-color: #5f7f3d;
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.admin-card {
  border: 1px solid #e7eadf;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(60, 80, 40, 0.06);
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.admin-card-head strong {
  font-size: 16px;
  color: #24301f;
}

.admin-sub {
  margin-top: 4px;
  color: #747c68;
  font-size: 12px;
  line-height: 1.5;
}

.admin-detail-list {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 6px 10px;
  margin: 10px 0 12px;
  font-size: 13px;
  line-height: 1.55;
}

.admin-detail-list dt {
  color: #7b806f;
  font-weight: 700;
}

.admin-detail-list dd {
  margin: 0;
  color: #34402c;
  word-break: break-word;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-loading {
  padding: 14px;
  border-radius: 14px;
}

.deal-action-box {
  margin: 12px 0 14px;
  padding: 12px 0 0;
  border: 0;
  background: transparent;
}

.deal-action-box .btn {
  width: 100%;
}

.deal-action-box .form-note {
  margin-top: 8px;
  text-align: center;
}


/* 管理者の商品一覧：画像表示 */
.admin-product-card {
  overflow: hidden;
  padding: 0;
}

.admin-product-card .admin-card-head,
.admin-product-card .admin-detail-list,
.admin-product-card .admin-actions {
  margin-left: 14px;
  margin-right: 14px;
}

.admin-product-card .admin-card-head {
  margin-top: 14px;
}

.admin-product-card .admin-actions {
  margin-bottom: 14px;
}

.admin-product-image {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: cover;
  background: #f2f5ec;
}

.admin-product-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71805e;
  font-weight: 700;
  letter-spacing: .08em;
}


/* ===== トップページ導入文 ===== */
.hero-lead-main {
  margin-top: 16px;
}

/* ===== PWA・ホーム画面追加案内 ===== */
.pwa-install-card {
  position: relative;
  margin-top: 30px;
  margin-bottom: 24px;
  border-color: #dfe8d5;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ef 100%);
}

.pwa-install-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pwa-install-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(69, 77, 47, 0.14);
  flex: 0 0 auto;
}

.pwa-install-card .small-title {
  margin: 0 0 4px;
}

.pwa-install-body {
  margin-top: 14px;
  color: #555;
  font-size: 14px;
  line-height: 1.75;
}

.pwa-steps {
  margin: 8px 0 0;
  padding-left: 1.4em;
}

.pwa-steps li + li {
  margin-top: 4px;
}

.pwa-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f2eadc;
  color: #6b4a2f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.pwa-close:active {
  transform: scale(0.97);
}


.hero-content .actions + .pwa-install-card {
  margin-top: 32px;
}

.pwa-install-card .btn {
  justify-content: center;
  text-align: center;
}


/* ===== 通知設定 ===== */
.notification-card {
  border: 1px solid rgba(95, 138, 61, 0.22);
  background: linear-gradient(180deg, #fffef9 0%, #fff9ec 100%);
}

.notification-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.notification-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef6e8;
  font-size: 22px;
  flex: 0 0 auto;
}

.notification-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin: 12px 0;
  font-weight: 700;
}

.notification-actions {
  margin-top: 16px;
}

.notification-actions .btn {
  width: 100%;
  justify-content: center;
}

.notification-help {
  margin-top: 14px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: #fffaf0;
  border: 1px solid #ead9b8;
}

.notification-help h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #5a3d1a;
}

.notification-help ol {
  margin: 0;
  padding-left: 1.35em;
}

.notification-help li {
  margin: 0 0 7px;
  line-height: 1.65;
  font-size: 14px;
}

.notification-help .form-note {
  margin-top: 10px;
}


.notification-tech-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f7f3;
  border: 1px solid #e8e2d7;
  font-size: 14px;
}

/* stage10: notification/profile/account adjustments */
.notification-card-minimal .notification-card-head.minimal {
  align-items: flex-start;
}
.notification-card-minimal .notification-status-row.minimal {
  margin-top: 16px;
}
.compact-help {
  margin-top: 12px;
  border: 1px solid rgba(95, 138, 61, .22);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,.55);
}
.compact-help summary {
  cursor: pointer;
  font-weight: 700;
  color: #5f8a3d;
}
.public-profile-card .compact-form .field {
  margin-bottom: 20px;
}
.public-profile-card textarea,
.account-delete-card textarea {
  line-height: 1.7;
}
.public-profile-list dd {
  line-height: 1.7;
}
.account-delete-card {
  border-color: rgba(170, 80, 65, .22);
}
.withdraw-details {
  margin-top: 16px;
}
.danger-summary {
  cursor: pointer;
  font-weight: 800;
  color: #a14d3d;
  padding: 14px 0;
}
.withdraw-box {
  margin-top: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #fff8f3;
  border: 1px solid rgba(170, 80, 65, .25);
}
.withdraw-box input {
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0 12px;
}
.btn-danger {
  background: #a14d3d;
  color: #fff;
  border-color: #a14d3d;
}
.btn-danger:hover {
  opacity: .94;
}
.partner-info-box .form-note {
  margin-top: 12px;
}


/* Producer products page */
.producer-products-head .actions {
  margin-top: 18px;
}
.producer-products-card {
  padding-top: 22px;
}
.producer-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.producer-tab {
  border: 2px solid #d8e2cc;
  background: #fffefa;
  color: #5b6d4a;
  border-radius: 999px;
  padding: 14px 10px;
  font-weight: 800;
  font-size: 16px;
}
.producer-tab.active {
  background: #5f8a3d;
  border-color: #5f8a3d;
  color: #fff;
}
.compact-title {
  margin-bottom: 14px;
}
.compact-toolbar {
  margin-top: 14px;
  margin-bottom: 18px;
}
.past-products-details {
  margin-top: 20px;
  border-top: 1px solid #eee8dc;
  padding-top: 18px;
}
.past-products-details > summary {
  cursor: pointer;
  font-weight: 800;
  color: #6a472e;
  list-style: none;
  border: 2px solid #d8e2cc;
  background: #fffefa;
  border-radius: 18px;
  padding: 14px 18px;
}
.past-products-details > summary::-webkit-details-marker {
  display: none;
}
.past-products-details > summary::after {
  content: '＋';
  float: right;
  color: #5f8a3d;
}
.past-products-details[open] > summary::after {
  content: '－';
}
.past-product-list {
  margin-top: 18px;
}
@media (max-width: 520px) {
  .producer-tabs {
    gap: 10px;
  }
  .producer-tab {
    font-size: 15px;
    padding: 13px 8px;
  }
}
