/**
 * 发布页 V2 表单样式（对齐设计图）
 */
body.fabu-v2-page {
    background: #fdf5ef;
    padding-bottom: 32px;
}

.fabu-v2-page .tc-v2-header {
    position: relative;
}

.fabu-v2-page .tc-v2-header__rt {
    width: auto;
    min-width: 44px;
    padding-right: 2px;
}

.fabu-v2-header__preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    color: #fff !important;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.fabu-v2-form-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.fabu-v2-main {
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -14px;
    padding: 8px 16px 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -2px 12px rgba(255, 102, 0, 0.06);
}

.fabu-v2-page .edit-form {
    background: transparent;
    padding: 0;
}

.fabu-v2-page .edit-item {
    background: transparent;
    padding: 0;
    margin: 0;
}

.fabu-v2-form {
    padding-top: 4px;
}

.fabu-v2-field {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
}

.fabu-v2-field + .fabu-v2-field {
    border-top: 1px solid #f3f3f3;
}

.fabu-v2-field__label {
    flex-shrink: 0;
    width: 92px;
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.35;
    color: #1a1a1a;
    font-weight: 500;
}

.fabu-v2-req {
    color: #ff4d4f;
    font-style: normal;
    margin-right: 2px;
}

.fabu-v2-field__body {
    flex: 1;
    min-width: 0;
    position: relative;
}

.fabu-v2-field__box {
    background: #fff3eb;
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 20px;
}

.fabu-v2-field__box input,
.fabu-v2-field__box select,
.fabu-v2-field__box textarea {
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}

.fabu-v2-field__box input::placeholder,
.fabu-v2-field__box textarea::placeholder {
    color: #d8b59a;
}

.fabu-v2-field__box textarea {
    min-height: 72px;
    resize: vertical;
}

.fabu-v2-field__suffix {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tc-v2-orange, #ff6600);
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}

.fabu-v2-field--picker .fabu-v2-field__box {
    padding-right: 28px;
}

.fabu-v2-field--block {
    display: block;
    padding: 14px 0;
}

.fabu-v2-field--block .fabu-v2-field__label {
    width: auto;
    padding-top: 0;
    margin-bottom: 10px;
}

.fabu-v2-field--block .fabu-v2-field__body {
    width: 100%;
}

.fabu-v2-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fabu-v2-tags__list input[type=checkbox] {
    display: none;
}

.fabu-v2-tags__list label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #f0d4bf;
    border-radius: 16px;
    background: #fff7f0;
    color: #8a5a3a;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.fabu-v2-tags__list input[type=checkbox]:checked + label {
    border-color: var(--tc-v2-orange, #ff6600);
    background: var(--tc-v2-orange, #ff6600);
    color: #fff;
}

.fabu-v2-tags__tip {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.fabu-v2-photos ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.fabu-v2-photos .pic-upload-btn img {
    width: 72px;
    height: 72px;
}

.fabu-v2-page .fabu-v2-extra {
    padding: 12px 0 0;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

.fabu-v2-page .fabu-v2-extra a {
    color: var(--tc-v2-orange, #ff6600);
}

.fabu-v2-page .btn-group-block {
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.fabu-v2-page .btn-group-block .id_fabu_btn,
.fabu-v2-page .btn-group-block .fabu-v2-submit-btn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, var(--tc-v2-orange, #ff6600) 0%, var(--tc-v2-orange-dark, #ff8533) 100%);
    color: #fff !important;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.28);
}

.fabu-v2-page .btn-group-block .id_fabu_msg,
.fabu-v2-page .btn-group-block br + * {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.fabu-v2-page .edit-item > .input-control:not(.fabu-v2-item) {
    display: none;
}

.fabu-v2-page .input-majia {
    display: none;
}

/* 两级类目：左右栏弹层（招聘/求职等） */
.fabu-v2-cate-trigger-box {
    cursor: pointer;
    min-height: 22px;
}

.fabu-v2-cate-trigger-box #fabu_v2_cate_text {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    word-break: break-all;
}

.fabu-v2-cate-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.45);
}

.fabu-v2-cate-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10051;
    max-width: 640px;
    margin: 0 auto;
    height: 72vh;
    max-height: 560px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.fabu-v2-cate-panel__hd {
    position: relative;
    flex-shrink: 0;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.fabu-v2-cate-panel__title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.fabu-v2-cate-panel__close {
    position: absolute;
    right: 12px;
    top: 0;
    width: 40px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 26px;
    color: #999;
    text-decoration: none;
}

.fabu-v2-cate-panel__bd {
    flex: 1;
    display: flex;
    min-height: 0;
    background: #fff;
}

.fabu-v2-cate-panel__left {
    width: 34%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #f5f5f5;
}

.fabu-v2-cate-panel__right {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.fabu-v2-cate-panel__litem {
    padding: 14px 12px;
    font-size: 14px;
    line-height: 1.35;
    color: #666;
    word-break: break-all;
}

.fabu-v2-cate-panel__litem.on {
    background: #fff;
    color: #222;
    font-weight: 600;
}

.fabu-v2-cate-panel__ritem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.35;
    color: #333;
    border-bottom: 1px solid #f7f7f7;
}

.fabu-v2-cate-panel__rname {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
    word-break: break-all;
}

.fabu-v2-cate-panel__check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.fabu-v2-cate-panel__ritem.on {
    color: var(--tc-v2-orange, #ff6600);
}

.fabu-v2-cate-panel__ritem.on .fabu-v2-cate-panel__check {
    background: no-repeat center / 16px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff6600' d='M9.2 16.6L4.8 12.2l1.4-1.4 3 3 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E");
}

.fabu-v2-cate-panel__empty {
    padding: 28px 16px;
    font-size: 13px;
    color: #999;
    text-align: center;
}
