:root {
  --primary: #18bc9c;
  --primary-form: #39b883;
  --bg: #f5f5f5;
  --text: #333;
  --muted: #666;
  --light: #999;
  --danger: #eb0909;
  --warning: #ff7900;
  --order-red: #ff0000;
  --card-radius: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; border: none; outline: none; background: none; }
img { display: block; max-width: 100%; }

.page {
  min-height: 100vh;
  padding-bottom: calc(75px + var(--safe-bottom));
  background: var(--bg);
}

.page--form {
  padding-bottom: 20px;
}

/* ========== Banner / Slider ========== */
.banner {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  margin-bottom: 15px;
}

.banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.banner-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.banner-dots span.active {
  background: #fff;
}

.form-banner {
  width: 100%;
}

.form-banner img {
  width: 100%;
  height: auto;
  min-height: 142px;
  object-fit: cover;
}

/* ========== Content ========== */
.content {
  margin: 0 15px;
}

.card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 10px;
  margin-bottom: 15px;
}

/* ========== Search (企业认证) ========== */
.search-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.search-title img {
  width: 22px;
  height: 22px;
}

.search-title span {
  font-size: 16px;
  font-weight: 500;
}

.search-bar {
  display: flex;
  align-items: center;
  height: 42px;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--primary);
  border-right: none;
  border-radius: 25px 0 0 25px;
  background: #fff;
}

.search-input-wrap .icon-search {
  color: var(--primary);
  font-size: 18px;
  margin-right: 6px;
  flex-shrink: 0;
}

.search-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 100%;
  font-size: 14px;
  color: var(--text);
}

.search-input-wrap input::placeholder {
  color: #bbb;
}

.search-btn {
  width: 78px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  border: 1px solid var(--primary);
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 4px;
}

.search-total {
  margin: 10px 0 5px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.search-total em {
  font-style: normal;
  color: var(--primary);
  margin: 0 2px;
}

/* ========== 税务登记 ========== */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}

.section-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.section-head .line {
  width: 28px;
  height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--primary);
}

.action-btn {
  display: block;
  width: 100%;
  padding: 13px 10px;
  border-radius: 25px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  text-align: center;
  box-shadow: 1px 5px 10px 0 #ccc;
  cursor: pointer;
}

.stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 30px 0 20px;
}

.stats-item {
  flex: 1;
  text-align: center;
}

.stats-num {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
}

.stats-num em {
  font-style: normal;
  color: var(--primary);
  font-weight: 500;
}

.stats-desc {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.stats-line {
  width: 1px;
  height: 28px;
  background: #e5e5e5;
}

.why-content {
  margin-top: 8px;
}

.why-content img {
  width: 100%;
  border-radius: 4px;
}

/* ========== 最新公告 ========== */
.article-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
}

.article-head .title {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.article-head .more {
  font-size: 12px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 1px 10px;
  line-height: 1.6;
}

.article-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 2px;
  cursor: pointer;
}

.article-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.article-tag {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 3px;
  padding: 0 4px;
  line-height: 1.5;
}

.article-name {
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-date {
  flex-shrink: 0;
  margin-left: 10px;
  font-size: 12px;
  color: var(--light);
}

/* ========== 温馨提示 ========== */
.tip-title {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 6px;
}

.tip-desc {
  color: var(--primary);
  font-size: 12px;
  line-height: 1.6;
}

/* ========== 清空缓存 / Footer ========== */
.cache-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 14px 15px;
  margin: 0 0 0;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.cache-row .arrow {
  color: var(--muted);
  font-size: 16px;
}

.copyright {
  text-align: center;
  padding: 15px 12px;
  color: #a7a7a7;
  font-size: 12px;
}

/* ========== Tabbar ========== */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  height: calc(50px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.04);
}

.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #707070;
  font-size: 12px;
}

.tabbar-item img {
  width: 24px;
  height: 24px;
}

.tabbar-item.active {
  color: var(--primary);
}

/* ========== Form page ========== */
.form-card {
  margin: -30px 15px 15px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 12px;
  padding: 16px 14px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.page--post-v2 {
  background: #f5f5f5;
}

.post-wrap {
  margin: -36px 12px 10px;
  position: relative;
  z-index: 2;
}

.block-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 14px 6px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.block-title i {
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--primary-form);
  display: inline-block;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.info-row:last-of-type {
  border-bottom: none;
}

.info-label {
  color: #666;
  flex-shrink: 0;
}

.info-value {
  color: #333;
  text-align: right;
  word-break: break-all;
}

.info-value--accent {
  color: var(--primary-form);
  font-weight: 500;
}

.page--post-v2 .form-field {
  margin-bottom: 14px;
}

.page--post-v2 .form-field label {
  display: block;
  color: var(--primary-form);
  font-size: 13px;
  margin-bottom: 6px;
}

.page--post-v2 .form-field input,
.page--post-v2 .form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  background: #fafafa;
  resize: none;
}

.page--post-v2 .form-field input:focus,
.page--post-v2 .form-field textarea:focus {
  border-color: var(--primary-form);
  background: #fff;
}

.page--post-v2 .form-field input::placeholder,
.page--post-v2 .form-field textarea::placeholder {
  color: #bbb;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  margin: 8px 0 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
}

.service-item.selected {
  border-color: var(--primary-form);
  background: rgba(57, 184, 131, 0.04);
}

.service-name {
  font-size: 15px;
  color: #333;
}

.service-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ccc;
  position: relative;
  flex-shrink: 0;
}

.service-item.selected .service-check {
  border-color: var(--primary-form);
  background: var(--primary-form);
}

.service-item.selected .service-check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.page--post-v2 .form-submit {
  display: block;
  width: 100%;
  margin: 8px 0 10px;
  padding: 13px 10px;
  border-radius: 25px;
  background: var(--primary-form);
  color: #fff;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
}

/* ========== Search result page ========== */
.search-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}

.search-topbar {
  background: #fff;
  padding: 10px 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.back-link {
  display: inline-block;
  color: #333;
  font-size: 15px;
  margin-bottom: 8px;
}

.search-top-input {
  display: flex;
  align-items: center;
  height: 36px;
  border: 1px solid var(--primary);
  border-radius: 18px;
  overflow: hidden;
  padding-left: 10px;
}

.search-top-input .icon-search {
  color: var(--primary);
  margin-right: 6px;
}

.search-top-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  font-size: 14px;
}

.search-top-input button {
  height: 100%;
  padding: 0 14px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.search-status {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 40px 16px 16px;
  min-height: 40px;
}

.search-status--loading {
  padding: 56px 16px 24px;
}

.search-status--error,
.search-status--empty {
  padding: 56px 16px 24px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: searchEmptyIn 0.35s ease;
}

.search-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  font-size: 34px;
  line-height: 64px;
  text-align: center;
  animation: searchShake 1.6s ease-in-out infinite;
}

.search-status--empty .search-empty-icon {
  background: rgba(153, 153, 153, 0.12);
  color: #999;
  animation: searchPulse 1.4s ease-in-out infinite;
}

.search-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: #e74c3c;
  letter-spacing: 1px;
  animation: searchPulse 1.4s ease-in-out infinite;
}

.search-status--empty .search-empty-title {
  color: #666;
}

.search-empty-desc {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  max-width: 280px;
}

@keyframes searchEmptyIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes searchShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

.search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.search-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(24, 188, 156, 0.2);
  border-top-color: #18bc9c;
  border-radius: 50%;
  animation: searchSpin 0.8s linear infinite;
}

.search-loading-text {
  font-size: 18px;
  font-weight: 600;
  color: #18bc9c;
  letter-spacing: 1px;
  animation: searchPulse 1.2s ease-in-out infinite;
}

.search-loading-dots {
  display: flex;
  gap: 8px;
  height: 10px;
  align-items: center;
}

.search-loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18bc9c;
  animation: searchDot 1.2s ease-in-out infinite;
}

.search-loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.search-loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes searchSpin {
  to { transform: rotate(360deg); }
}

@keyframes searchPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes searchDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40% { transform: scale(1.15); opacity: 1; }
}

.search-list {
  padding: 8px 12px;
}

.result-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.result-name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  flex: 1;
}

.result-status {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary-form);
}

.result-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.result-meta {
  display: flex;
  gap: 28px;
  flex: 1;
}

.result-meta-item .k {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.result-meta-item .v {
  font-size: 14px;
  color: #333;
}

.result-btn {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--primary-form);
  border-radius: 6px;
  color: var(--primary-form);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  line-height: 30px;
}

.form-lead {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.form-lead-title {
  color: var(--primary-form);
  font-size: 16px;
  font-weight: 500;
}

.form-lead-dot {
  width: 18px;
  height: 3px;
  margin-left: 2px;
  margin-top: 14px;
  background: #9b59b6;
  border-radius: 2px;
}

.form-field {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  color: var(--primary-form);
  font-size: 14px;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--primary-form);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #bbb;
}

.form-field textarea {
  min-height: 42px;
}

.form-submit {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 13px 10px;
  border-radius: 25px;
  background: var(--primary-form);
  color: #fff;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}

/* ========== Order page ========== */
.order-page {
  min-height: 100vh;
  background: #fff;
  padding: 15px;
}

.order-search {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid var(--order-red);
  border-radius: 20px;
  overflow: hidden;
  padding-left: 10px;
}

.order-search .icon-search {
  color: var(--order-red);
  font-size: 18px;
  margin-right: 6px;
}

.order-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  font-size: 14px;
}

.order-search input::placeholder {
  color: #bbb;
}

.order-search .btn {
  width: 64px;
  height: 100%;
  background: var(--order-red);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.order-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
}

.order-empty img {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  opacity: 0.85;
}

.order-empty p {
  color: var(--light);
  font-size: 14px;
}

/* ========== Modals / Popup ========== */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-mask.show {
  display: flex;
}

.modal-box {
  width: 84%;
  max-width: 340px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 32px;
  text-align: center;
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal-phone {
  font-size: 14px;
  margin-bottom: 12px;
}

.modal-phone em {
  font-style: normal;
  color: var(--primary);
}

.modal-qrcode {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.modal-tips {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-btn {
  display: block;
  width: 100%;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  background: var(--warning);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.modal-btn--danger {
  background: var(--danger);
}

.modal-input {
  width: 100%;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 12px;
  margin: 12px 0 16px;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  z-index: 300;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 80%;
  text-align: center;
}

.toast.show {
  opacity: 1;
}

/* Bottom popup - 选择业务 */
.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(0, 0, 0, 0.45);
  display: none;
}

.popup-mask.show {
  display: block;
}

.popup-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 18px 16px calc(16px + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.popup-sheet.show {
  transform: translateY(0);
}

.popup-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.popup-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  color: #999;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}

.option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.option-name {
  font-size: 15px;
  color: var(--text);
}

.option-price {
  font-size: 15px;
  color: var(--danger);
  margin-top: 4px;
}

.option-radio {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 50%;
  position: relative;
}

.option-item.selected .option-radio {
  border-color: var(--primary-form);
  background: var(--primary-form);
}

.option-item.selected .option-radio::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.popup-confirm {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 13px 10px;
  border-radius: 25px;
  background: var(--primary-form);
  color: #fff;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}

/* Article detail */
.article-page {
  background: #fff;
  min-height: 100vh;
  padding: 16px 15px 30px;
}

.article-page h1 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 12px;
  color: var(--light);
  margin-bottom: 16px;
}

.article-body img {
  width: 100%;
}

.icon-search {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon-arrow::before { content: "›"; font-size: 20px; font-weight: 300; }
.icon-close::before { content: "×"; font-size: 24px; line-height: 28px; }

.modal-btn--ghost {
  background: #f2f2f2;
  color: #666;
}

.company-box {
  width: 90%;
  max-width: 360px;
  padding: 18px 16px 16px;
  text-align: left;
  max-height: 80vh;
  overflow: auto;
}

.company-list {
  font-size: 13px;
  line-height: 1.7;
  color: #333;
  margin: 4px 0 14px;
}

.company-row {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.company-row .label {
  flex: 0 0 84px;
  color: #999;
}

.company-row .value {
  flex: 1;
  word-break: break-all;
  color: #333;
}

.company-actions {
  display: flex;
  gap: 10px;
}

.company-actions .modal-btn {
  flex: 1;
}

.search-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

@media (min-width: 480px) {
  body {
    background: #e8e8e8;
  }
  .page, .order-page, .article-page {
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
  }
  .tabbar, .popup-sheet {
    max-width: 420px;
    left: 50%;
    transform: translateX(-50%);
  }
  .popup-sheet {
    transform: translate(-50%, 100%);
  }
  .popup-sheet.show {
    transform: translate(-50%, 0);
  }
}
