/* ============================================================
   小镇企业网 tx600.com - 全站样式（简约博客风格）
   ============================================================ */

:root {
  --brand: #e8641a;
  --brand-dark: #c74f0e;
  --brand-soft: #fdeee1;
  --accent: #e08a2e;
  --accent-soft: #fdf3e6;
  --ink: #1f2933;
  --ink-2: #3d4b57;
  --muted: #8a8178;
  --line: #ede7e0;
  --line-strong: #ddd4cb;
  --bg: #faf7f4;
  --card: #ffffff;
  --danger: #d3455b;
  --danger-soft: #fdeef0;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(31, 41, 51, 0.04), 0 6px 18px rgba(31, 41, 51, 0.05);
  --shadow-hover: 0 4px 10px rgba(31, 41, 51, 0.07), 0 14px 30px rgba(31, 41, 51, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 .8em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------------------------------------------------------- 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.4;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-danger { border-color: var(--danger); color: var(--danger); background: #fff; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-small { padding: 5px 10px; font-size: 13px; }
.btn-fav { border-color: var(--line-strong); color: var(--ink-2); }
.btn-fav.is-on { background: var(--accent-soft); border-color: var(--accent); color: #a5620f; }

.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font-size: 13px; cursor: pointer; font-family: inherit; }
.link-btn:hover { text-decoration: underline; }

/* ---------------------------------------------------------- 徽标 */

.badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
  line-height: 1.6;
}
.badge-owner { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------------------------------------------------------- 线下办理说明块 */

.notice-box { position: relative; padding: 20px 18px 14px; }
.card.notice-box { padding: 22px 20px 16px; }
.notice-flag {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
  border-radius: 20px;
  font-weight: 600;
}
.notice-text { font-size: 16px; color: var(--ink); margin: 0 0 6px; }
.notice-sub { font-size: 13.5px; color: var(--ink-2); margin: 0 0 10px; }
.notice-contact { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

.chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  background: #f6f1ea;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.7;
}
.chip:hover { background: var(--brand-soft); color: var(--brand-dark); }
.chip-region { background: var(--brand-soft); color: var(--brand-dark); }
.chip-quiet { background: #f6f1ea; color: var(--muted); }

.status { font-size: 12.5px; padding: 1px 8px; border-radius: 4px; }
.status-0 { background: var(--accent-soft); color: #a5620f; }
.status-1 { background: var(--brand-soft); color: var(--brand-dark); }
.status-2, .status-3 { background: #f2ece5; color: var(--muted); }

/* ---------------------------------------------------------- 头部 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo { width: 38px; height: 38px; flex: 0 0 38px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; letter-spacing: .3px; }
.brand-text small { color: var(--muted); font-size: 11.5px; letter-spacing: .5px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.site-nav a {
  position: relative;
  padding: 6px 11px;
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.site-nav a:hover { background: #f6f1ea; }
.site-nav a.is-active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }

/* 登录 / 免费注册 固定在头部最右侧 */
.header-user { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.user-menu { position: relative; }
.user-menu summary {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 5px; border-radius: 20px;
  cursor: pointer; list-style: none; border: 1px solid var(--line);
}
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover { border-color: var(--brand); }
.user-name { font-size: 14px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.avatar-text { display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 14px; }
.avatar-lg { width: 54px; height: 54px; font-size: 22px; }

.user-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 168px; padding: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-hover); z-index: 60;
}
.user-menu-panel a, .user-menu-panel button {
  display: block; width: 100%; text-align: left;
  padding: 8px 10px; border: 0; border-radius: 6px;
  background: none; color: var(--ink-2); font-size: 14px;
  font-family: inherit; cursor: pointer;
}
.user-menu-panel a:hover, .user-menu-panel button:hover { background: var(--brand-soft); color: var(--brand-dark); }

.nav-toggle { display: none; width: 40px; height: 34px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; }
.nav-toggle span { display: block; height: 2px; margin: 3px 8px; background: var(--ink-2); }

/* ---------------------------------------------------------- 提示条 */

.flash {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 14px 0 0; padding: 11px 15px;
  border-radius: var(--radius); font-size: 14px;
}
.flash button { background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; opacity: .6; }
.flash-success { background: var(--brand-soft); color: #96551a; border: 1px solid #f4dcc2; }
.flash-error { background: var(--danger-soft); color: #a02a3d; border: 1px solid #f6d3d8; }
.flash-info { background: #eef4fb; color: #2b547e; border: 1px solid #d6e4f3; }

/* ---------------------------------------------------------- 首页 hero */

.hero {
  background: linear-gradient(160deg, #c74f0e 0%, #e8641a 55%, #f5852f 100%);
  color: #fff; padding: 46px 0 40px;
}
.hero-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1 1 420px; }
.hero-text h1 { font-size: 30px; color: #fff; margin-bottom: 10px; }
.hero-text > p { color: rgba(255, 255, 255, .88); font-size: 16px; margin-bottom: 20px; }
.hero-search { display: flex; max-width: 520px; }
.hero-search input {
  flex: 1; padding: 13px 16px; border: 0; border-radius: 9px 0 0 9px;
  font-size: 15px; font-family: inherit; outline: none;
}
.hero-search .btn { border-radius: 0 9px 9px 0; padding: 0 22px; font-size: 15px; }
/* 热门行业：只是辅助提示，主入口是下方「按行业找商家」模块，所以这里刻意压低视觉权重 */
.hero-hot { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.hero-hot a { color: rgba(255, 255, 255, .8); margin-right: 10px; border-bottom: 0; }
.hero-hot a:hover { color: #fff; border-bottom: 1px dashed rgba(255,255,255,.6); }

/* ---------------------------------------------------------- 布局 */

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 30px; padding: 28px 18px 46px; align-items: start; }
.layout-wide { padding: 22px 0 46px; }
/* 首页没有右侧栏，整宽展示 */
.page-body { padding: 28px 18px 46px; max-width: var(--max); margin: 0 auto; }
.main-col { min-width: 0; }
.sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }

.section-title {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 17px; margin: 0 0 14px; padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.section-title small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.flame { font-size: 16px; }
.more { font-size: 13px; font-weight: 400; margin-left: auto; }

/* ---------------------------------------------------------- 信息流卡片 */

.post-list { display: flex; flex-direction: column; gap: 14px; }

.post-card {
  display: flex; gap: 16px; padding: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); transition: all .18s ease;
}
.post-card:hover { box-shadow: var(--shadow-hover); border-color: #ecdccb; transform: translateY(-2px); }

.post-cover {
  position: relative; flex: 0 0 148px; height: 106px; border-radius: 9px;
  overflow: hidden; background: #f5efe7;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, #dfeee7, #c9e2d6);
  color: #e8641a; font-size: 34px; font-weight: 700;
}
.cover-ph-lg { font-size: 64px; }

.post-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.post-title { font-size: 17px; margin: 0 0 6px; overflow-wrap: anywhere; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--brand); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
/* 摘要/标题可能是没有空格的长串（连续数字、网址等），窄屏下要能强制断行，
   否则会把卡片和整个文档撑宽，出现横向滚动条 */
.post-summary { color: var(--ink-2); font-size: 14px; margin: 0 0 10px; overflow-wrap: anywhere; }
.post-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px;
}
.post-stats { display: flex; gap: 12px; }

/* ---------------------------------------------------------- 侧边栏部件 */

.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.widget-title { font-size: 15px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

.rank-list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
.rank-no {
  flex: 0 0 19px; height: 19px; display: grid; place-items: center;
  background: #f2ece5; color: var(--muted); border-radius: 4px; font-size: 12px; font-weight: 700;
}
.rank-1 { background: #fdeaea; color: #c0392b; }
.rank-2 { background: #fdf1e2; color: #c07d1e; }
.rank-3 { background: #eef4fb; color: #3a7bbf; }
.rank-list a { flex: 1; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list a:hover { color: var(--brand); }
.rank-list em { font-style: normal; font-size: 12px; color: var(--muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  padding: 4px 10px; background: #f4f7f6; border-radius: 20px;
  font-size: 13px; color: var(--ink-2);
}
.tag-cloud a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.tag-cloud i { font-style: normal; color: var(--muted); font-size: 11.5px; }

/* ---------------------------------------------------------- 分页 */

.pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 26px 0 0; }
.pagination a, .pagination span {
  min-width: 34px; padding: 6px 10px; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 7px;
  font-size: 14px; color: var(--ink-2); background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .disabled { color: #c3cbd2; background: #fafbfb; }
.pagination .gap { border: 0; background: none; }
.page-info { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------- 面包屑 / 页头 */

.breadcrumbs { padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep { margin: 0 6px; color: #c8d0d6; }
.breadcrumbs .current { color: var(--ink-2); }

.page-head { padding: 18px 0 16px; }
.page-head h1 { font-size: 25px; margin-bottom: 6px; }
.page-head p { color: var(--muted); font-size: 14px; margin: 0; max-width: 780px; }
.page-head-sm { padding-top: 0; }
.page-head-sm h1 { font-size: 21px; }
.cat-icon-inline { font-size: 24px; }

/* 页面底部的提示 / 返回按钮块（企业商家共用） */
.page-note {
  margin-top: 26px; padding: 18px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.page-note p { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; }
.page-note-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------------------------------------------------------- 关于本站 */

.about-blocks { display: flex; flex-direction: column; gap: 16px; }
.about-lead { margin: 0 0 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.about-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

/* ---------------------------------------------------------- 企业商家（筛选 + 列表） */

.biz-filter {
  padding: 16px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.biz-search { display: flex; gap: 10px; margin-bottom: 12px; }
.biz-search input {
  flex: 1; min-width: 0; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  font-size: 15px; font-family: inherit; outline: none; background: #fff;
}
.biz-search input:focus { border-color: var(--brand); }
.biz-search .btn { padding: 0 22px; font-size: 15px; }
.biz-selects { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.biz-total { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.biz-total strong { font-size: 15px; color: var(--brand); }

.subcat-block { margin-bottom: 26px; }
.subcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.subcat-card {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 13px; background: #fff; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; color: var(--ink-2);
}
.subcat-card:hover { border-color: var(--brand); color: var(--brand); }
.subcat-card.is-active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); font-weight: 600; }
.subcat-count { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------- 筛选条 */

.filter-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px;
  padding: 14px; margin-bottom: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.filter-field { display: flex; flex-direction: column; gap: 4px; }
.filter-field label { font-size: 12px; color: var(--muted); }
.filter-field select, .filter-field input {
  padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 7px;
  font-size: 14px; font-family: inherit; outline: none; background: #fff; min-width: 130px;
}
.filter-field select:focus, .filter-field input:focus { border-color: var(--brand); }
.filter-field-kw input { min-width: 200px; }
.filter-actions { display: flex; gap: 8px; }
.filter-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.filter-active em { font-style: normal; background: var(--brand-soft); color: var(--brand-dark); padding: 2px 9px; border-radius: 20px; }
.filter-count { margin-left: auto; }

/* ---------------------------------------------------------- 详情页 */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.card-title { font-size: 16.5px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.card-title small { font-weight: 400; font-size: 12.5px; color: var(--muted); }

/* 企业详情：顶部信息块（企业名称 / 所属行业 / 所在地区 / 操作） */
.biz-detail { display: flex; flex-direction: column; gap: 16px; }
.biz-head {
  padding: 20px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.biz-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 24px; margin: 0 0 10px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.biz-summary { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }

.contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 24px; }
.contact-list li { display: flex; gap: 12px; font-size: 14px; padding: 5px 0; }
.contact-list .label { flex: 0 0 74px; color: var(--muted); }
.contact-list .value { color: var(--ink); word-break: break-all; }
.contact-tip { margin: 12px 0 0; font-size: 13px; color: #a5620f; background: var(--accent-soft); padding: 9px 12px; border-radius: 8px; }
.link-login { font-size: 13px; margin-left: 6px; }
.scope-box { background: #fdf7f0; border-left: 3px solid var(--brand); padding: 9px 13px; border-radius: 0 8px 8px 0; margin-bottom: 12px; font-size: 14px; }
.rich-text { overflow-wrap: anywhere; }
.rich-text p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.85; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.gallery-item { display: block; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); background: #f5efe7; }
.gallery-item img { width: 100%; height: 118px; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.message-form { margin-bottom: 20px; }
.message-form textarea, .reply-form textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line-strong);
  border-radius: 9px; font-family: inherit; font-size: 14px; resize: vertical; outline: none;
}
.message-form textarea:focus, .reply-form textarea:focus { border-color: var(--brand); }
.message-form-foot { display: flex; gap: 10px; margin-top: 9px; }
.message-form-foot input { flex: 1; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-family: inherit; font-size: 14px; outline: none; }

.login-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: #fdf7f0; border: 1px dashed var(--line-strong); border-radius: 10px; margin-bottom: 18px; }
.login-cta p { margin: 0; color: var(--ink-2); font-size: 14px; }

.message-list { display: flex; flex-direction: column; gap: 16px; }
.message-item { display: flex; gap: 12px; padding-bottom: 15px; border-bottom: 1px dashed var(--line); }
.message-item:last-child { border-bottom: 0; padding-bottom: 0; }
.message-avatar {
  flex: 0 0 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: #f5efe7; color: var(--brand-dark); font-weight: 700;
}
.message-item.is-owner .message-avatar { background: var(--brand); color: #fff; }
.message-body { flex: 1; min-width: 0; }
.message-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.message-head time { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.message-content { margin: 5px 0 6px; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.message-content-inline { margin: 4px 0; color: var(--ink-2); font-size: 14px; }
.message-foot { display: flex; align-items: center; gap: 14px; }
.message-contact { font-size: 12.5px; color: var(--muted); }
.reply-list { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--brand-soft); display: flex; flex-direction: column; gap: 12px; }
.reply-item .message-head time { margin-left: auto; }
.reply-form { margin-top: 10px; }
.reply-form textarea { font-size: 13.5px; }
.reply-form .btn { margin-top: 7px; }

/* ---------------------------------------------------------- 表单 */

.form .field { margin-bottom: 16px; }
.form .field > label, .form .field > .label-row > label { display: block; margin-bottom: 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.form .field > label em { color: var(--danger); font-style: normal; }
.form input[type="text"], .form input[type="password"], .form input[type="number"],
.form input[type="search"], .form select, .form textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; color: var(--ink);
  outline: none; background: #fff; transition: border-color .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form input.is-error, .form select.is-error, .form textarea.is-error { border-color: var(--danger); }
.form textarea { resize: vertical; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* 字段标题行：label 在左，辅助按钮（如「AI 帮我写」）在右 */
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.form .field > .label-row > label { margin-bottom: 0; }
.label-row .btn-small { flex-shrink: 0; }
.field-error { display: block; margin-top: 5px; font-size: 12.5px; color: var(--danger); }
.field-hint { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.form-actions { display: flex; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
.form-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.form-company .card-title:not(:first-child) { margin-top: 26px; }
.checkbox { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.checkbox input { width: auto; }
/* 发布前的真实性承诺：文案较长，顶端对齐更好读 */
.promise-check { align-items: flex-start; line-height: 1.65; margin: 2px 0 0; }
.promise-check input { margin-top: 3px; }
.promise-check span { color: var(--ink-2); }

/* 两步发布流程指示：① 完善企业资料 → ② 发布企业信息 */
.publish-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 8px 0 2px; font-size: 13px; color: var(--muted); }
.publish-flow .flow-step { display: inline-flex; align-items: center; gap: 7px; }
.publish-flow .flow-no { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #f3ede5; color: var(--muted); font-size: 12px; font-weight: 600; }
.publish-flow .is-done .flow-no { background: var(--brand-soft); color: var(--brand-dark); }
.publish-flow .is-current { color: var(--ink); font-weight: 600; }
.publish-flow .is-current .flow-no { background: var(--brand); color: #fff; }
.publish-flow .flow-sep { margin: 0 10px; color: var(--line-strong); }

/* 「完善企业资料」页顶部的资料完整度：数字 + 进度条 + 缺项标签 */
.profile-progress .progress-track { height: 8px; margin: 9px 0 3px; border-radius: 6px; background: #f3ede5; overflow: hidden; }
.profile-progress .progress-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), #f5852f); min-width: 6px; }
.profile-progress .progress-fill.is-full { background: linear-gradient(90deg, #f5852f, #f5a15c); }
.miss-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.miss-chips .chip { background: var(--accent-soft); color: #a5620f; }

/* 「自己写一条信息」这类可选表单：默认收起，点标题展开 */
.form-collapse > summary { cursor: pointer; list-style: none; }
.form-collapse > summary::-webkit-details-marker { display: none; }
.form-collapse > summary::before { content: '▸ '; color: var(--muted); }
.form-collapse[open] > summary::before { content: '▾ '; }
.form-collapse[open] > summary { margin-bottom: 8px; }

.alert { padding: 11px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--danger-soft); color: #a02a3d; border: 1px solid #f6d3d8; }
.alert-info { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #f2d6b8; }

.cover-preview { margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.cover-preview img { width: 120px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
/* 上传规则说明块 */
.upload-rules {
  margin-bottom: 18px;
  padding: 13px 16px;
  background: #fdf7f0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--ink-2);
}
.upload-rules strong { display: block; margin-bottom: 6px; font-size: 14px; color: var(--ink); }
.upload-rules ul { display: flex; flex-direction: column; gap: 3px; }
.upload-rules li { padding-left: 14px; position: relative; line-height: 1.6; }
.upload-rules li::before { content: "·"; position: absolute; left: 3px; color: var(--brand); font-weight: 700; }
.upload-rules b { color: var(--brand-dark); }

/* 文件输入框错误态 */
input[type="file"].is-error { border-color: var(--danger); }
.album-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.album-item { position: relative; display: block; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #f6f1ea; }
.album-item img { display: block; width: 100%; height: 86px; object-fit: cover; }

/* 已上传图片右上角的「×」：点一下标记删除（保存后生效），再点一下撤销。
   用 label 包住隐藏的复选框，所以不依赖 JavaScript 也能切换。 */
.img-x {
  position: absolute; top: 5px; right: 5px; z-index: 2;
  width: 24px; height: 24px; display: grid; place-items: center;
  cursor: pointer; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 15px; line-height: 1;
}
.img-x:hover { background: rgba(0, 0, 0, .78); }
.img-x input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.img-x .img-x-undo { display: none; }
/* 标记删除后：图片置灰、按钮变成「撤销」、右下角提示保存后生效 */
[data-existing-image]:has(input[type="checkbox"]:checked) img { opacity: .3; filter: grayscale(1); }
[data-existing-image]:has(input[type="checkbox"]:checked) .img-x-icon { display: none; }
[data-existing-image]:has(input[type="checkbox"]:checked) .img-x-undo { display: block; }
[data-existing-image]:has(input[type="checkbox"]:checked) .img-x { background: #b93a3a; }
.img-x-mark {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  display: none; padding: 1px 8px; border-radius: 20px;
  background: rgba(185, 58, 58, .9); color: #fff; font-size: 11.5px; white-space: nowrap;
}
[data-existing-image]:has(input[type="checkbox"]:checked) .img-x-mark { display: block; }
/* 封面预览也支持同样的「×」（图片在左侧，按钮吸附在图片右上角） */
.cover-preview { position: relative; }
.cover-preview .img-x-mark { bottom: 2px; left: 74px; transform: translateX(-50%); }

/* 选完文件后的小图预览（发布 / 编辑页的封面与相册、个人中心的头像） */
.file-preview {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px; margin-top: 12px;
}
.file-preview .preview-item {
  position: relative; border: 1px solid var(--line); border-radius: 9px;
  overflow: hidden; background: #f6f1ea;
}
.file-preview .preview-item img { display: block; width: 100%; height: 86px; object-fit: cover; }
.file-preview .preview-del {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 15px; line-height: 1;
}
.file-preview .preview-del:hover { background: rgba(0, 0, 0, .75); }
.file-preview .preview-hint { grid-column: 1 / -1; margin: 0; }

/* ---------------------------------------------------------- 登录注册 */

.auth-wrap { display: flex; justify-content: center; padding: 44px 0 60px; }
.auth-card { width: 100%; max-width: 470px; padding: 30px; }
.auth-card h1 { font-size: 23px; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.auth-tip { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.auth-tip code { background: #f6f1ea; padding: 1px 5px; border-radius: 4px; }

/* ---------------------------------------------------------- 个人中心 */

.user-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 26px; padding: 26px 0 50px; align-items: start; }
.user-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.user-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.user-card-avatar { margin-bottom: 4px; }
.user-card strong { font-size: 15px; }
.user-nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 7px; display: flex; flex-direction: column; }
.user-nav a, .user-logout button {
  display: block; width: 100%; text-align: left;
  padding: 9px 13px; border: 0; border-radius: 8px; background: none;
  color: var(--ink-2); font-size: 14.5px; font-family: inherit; cursor: pointer;
}
.user-nav a:hover, .user-logout button:hover { background: #f4f7f6; }
.user-nav a.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.user-nav-label {
  padding: 10px 13px 3px; font-size: 12px; color: var(--muted); letter-spacing: .05em;
}
.user-nav-label:not(:first-of-type) { margin-top: 6px; border-top: 1px dashed var(--line); }
.user-logout { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); }
.user-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; text-align: center; }
.stat-card strong { display: block; font-size: 23px; color: var(--brand); }
.stat-card span { font-size: 12.5px; color: var(--muted); }

.tabs { display: flex; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
.tabs a { padding: 6px 14px; border-radius: 7px; font-size: 14px; color: var(--ink-2); }
.tabs a.is-active { background: var(--brand); color: #fff; }

.row-list { display: flex; flex-direction: column; }
.row-list-card { gap: 10px; }
.row-list-card li { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 15px; }
.row-list:not(.row-list-card) li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.row-list:not(.row-list-card) li:last-child { border-bottom: 0; }
.row-thumb { flex: 0 0 88px; height: 64px; border-radius: 8px; overflow: hidden; background: #f5efe7; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-title { font-size: 15.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.row-title a { color: var(--brand); font-weight: 400; }
.row-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-actions { display: flex; align-items: center; gap: 7px; }
.row-actions-col { flex-direction: column; align-items: stretch; }
.row-actions-col .btn, .row-actions-col form { width: 100%; }
.row-thumb-lg { flex: 0 0 132px; height: 96px; }
.card-extra { margin: -8px 0 6px; padding-left: 16px; }

/* 「企业商家」概览卡：封面缩略 + 状态/数据 + 常用操作（个人中心与企业商家页共用） */
.biz-brief { display: flex; gap: 16px; align-items: flex-start; }
.biz-brief-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.biz-brief .row-actions-col { flex: 0 0 132px; }
.biz-next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

/* 企业相册管理：第一张的「封面」角标 */
.album-item { position: relative; }
.album-cover-flag {
  position: absolute; left: 6px; bottom: 6px; z-index: 2;
  padding: 1px 7px; border-radius: 6px;
  background: rgba(23, 64, 47, .82); color: #fff; font-size: 11.5px; line-height: 1.5;
  pointer-events: none;
}

/* ---------------------------------------------------------- 首页区块（行业/地区导航、发布引导） */

/* ---------------------------------------------------------- 行业配图卡片（首页「按行业找商家」） */

/* 12 个行业：桌面 6 列（正好两行）、中屏 4 列、手机 2 列。
   用固定列数而非 auto-fill —— 12 这个数字配 auto-fill 会排出 7+5 这种不齐的布局 */
.cat-tile-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cat-tile-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(135deg, #fef7f1, #f9e2cd);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cat-tile-fallback { font-size: 42px; line-height: 1; color: var(--brand); }
.cat-tile-img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
}
.cat-tile:hover .cat-tile-media { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-tile-name { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); text-align: center; }
.cat-tile:hover .cat-tile-name { color: var(--brand); font-weight: 600; }

.home-block { margin-top: 30px; }
.home-block .section-title .more { margin-left: auto; }

/* ---------------------------------------------------------- 空态 / 错误页 */

.empty { text-align: center; padding: 46px 20px; background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty p { color: var(--muted); margin-bottom: 14px; }
.empty-sm { padding: 26px 16px; }

.error-page { text-align: center; padding: 70px 20px 90px; }
.error-code { font-size: 76px; font-weight: 800; color: #dbe4e0; line-height: 1; }
.error-page h1 { font-size: 22px; margin: 12px 0 8px; }
.error-page p { color: var(--muted); margin-bottom: 22px; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------- 图片灯箱 */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 22, 28, .9);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  touch-action: none;
}
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 34px; line-height: 1; background: none; border: 0; cursor: pointer; }
/* 左右翻页箭头 + 张数提示（手机上两侧箭头收窄一点） */
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0;
  color: #fff; font-size: 26px; line-height: 1;
  background: rgba(255, 255, 255, .16); border: 0; border-radius: 50%; cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-count {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: #fff; font-size: 13.5px; background: rgba(255, 255, 255, .16);
  padding: 4px 12px; border-radius: 20px;
}
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-count { bottom: 14px; }
}

/* 列表卡片上的相册小图（有几张显示几张，点开可翻页看大图） */
.card-album { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.card-album a {
  display: block; width: 62px; height: 62px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #f5efe7;
}
.card-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card-album a:hover img { transform: scale(1.08); }
@media (max-width: 560px) {
  .card-album a { width: 54px; height: 54px; }
}

/* 强调文案：额度不足、临近到期等需要标红的地方 */
.text-danger { color: var(--danger); }
/* 正向提示：额度增加等 */
.text-success { color: var(--brand-dark); }

/* ---------------------------------------------------------- 发布额度与签到 */

.quota-box { display: flex; flex-direction: column; gap: 6px; }
.quota-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.quota-line .link-btn { margin-left: auto; }
.quota-num { font-size: 24px; line-height: 1.2; color: var(--brand-dark); }

/* 明细表格（额度变更记录等） */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }

/* 已到期下架：与草稿区分开 */
.status-4 { background: var(--danger-soft); color: var(--danger); }

/* ---------------------------------------------------------- 弹窗提示 */

.modal {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(15, 22, 28, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 22px 20px 16px;
  width: 100%; max-width: 430px; box-shadow: 0 14px 44px rgba(15, 22, 28, .24);
}
.modal-title { font-size: 17px; margin: 0 0 12px; }
.modal-body { font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.modal-body p { margin: 0 0 9px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ---------------------------------------------------------- 页脚 */

.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 20px; padding: 36px 0 20px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 26px; padding-bottom: 24px; }
.footer-col h4 { font-size: 14.5px; margin-bottom: 10px; }
.footer-col p, .footer-col a { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.footer-col a:hover { color: var(--brand); }
.footer-brand-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.footer-brand-head h4 { margin: 0; font-size: 15px; color: var(--ink); }
.footer-logo { width: 28px; height: 28px; flex: 0 0 28px; display: block; }
.footer-domain strong { color: var(--brand); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer-note { margin-left: auto; }

/* ---------------------------------------------------------- 首页区块（企业信息列表 / 平台价值 / 常见问题） */

/* 第一个板块紧跟 hero，不再额外撑一段顶部留白 */
.main-col > .home-block:first-child { margin-top: 0; }

/* ---------------------------------------------------------- 平台价值清单 */

.value-block { margin: 0 0 26px; }
.value-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.value-list li { position: relative; padding-left: 32px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
/* 圆底 + 纯 CSS 对勾（不依赖字体是否含 ✓ 字形） */
.value-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; background: var(--brand); border-radius: 50%;
}
.value-list li::after {
  content: ""; position: absolute; left: 8.5px; top: 7px;
  width: 5px; height: 10px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* ---------------------------------------------------------- 常见问题（首页短问答） */

.faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.faq-item { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq-item dt { position: relative; padding-left: 21px; margin-bottom: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.faq-item dd { position: relative; padding-left: 21px; margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.faq-item dt::before,
.faq-item dd::before { position: absolute; left: 0; top: 0; font-size: 13px; font-weight: 700; }
.faq-item dt::before { content: "Q"; color: var(--brand); }
.faq-item dd::before { content: "A"; color: var(--muted); }

/* ---------------------------------------------------------- 响应式 */

@media (max-width: 1000px) {
  .layout, .layout-wide { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .user-layout { grid-template-columns: 1fr; }
  .user-side { position: static; }
  .user-nav { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .user-nav a { width: auto; }
  .user-nav-label { display: none; }
  .user-logout { border: 0; margin: 0; padding: 0; }
  .cat-tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px; box-shadow: var(--shadow-hover);
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { gap: 10px; }
  .brand-text small { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .post-card { flex-direction: column; }
  .post-cover { flex: 0 0 auto; width: 100%; height: 160px; }
  .hero { padding: 32px 0 30px; }
  .hero-text h1 { font-size: 24px; }
  .user-menu-panel { right: -10px; }
}

@media (max-width: 640px) {
  .cat-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .biz-search { flex-direction: column; align-items: stretch; }
  .biz-search .btn { padding: 11px 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .filter-field, .filter-field select, .filter-field input, .filter-field-kw input { width: 100%; min-width: 0; }
  .filter-actions { width: 100%; }
  .filter-actions .btn { flex: 1; }
  .row-list-card li { flex-direction: column; align-items: flex-start; }
  .row-actions { width: 100%; }
  .biz-brief { flex-direction: column; }
  .biz-brief .row-actions-col { flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; width: 100%; }
  .biz-brief .row-actions-col .btn, .biz-brief .row-actions-col form { width: auto; }
}
