/* 银行账户管理原型复刻样式，仅由账户管理路由模板使用。 */
.ba-replica-main .index_top,
.ba-replica-main .main_left,
.ba-replica-main .index_local,
.ba-replica-main .show_prompt,
.ba-replica-main .hide_prompt {
    display: none !important;
}

.ba-replica-main .main_con {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 1280px;
    background: #f4f7fb;
}

.ba-replica-main .main_right,
.ba-replica-main .main_right_col {
    margin-left: 0 !important;
    min-height: 100vh !important;
    padding: 0 !important;
    background: #f4f7fb;
    overflow: hidden;
}

.ba-prototype-app {
    position: relative;
    min-width: 1280px;
    height: 100vh;
    min-height: 900px;
    overflow: hidden;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #16233f;
    background: #f4f7fb;
    letter-spacing: 0;
}

.ba-prototype-app,
.ba-prototype-app * {
    box-sizing: border-box;
}

.ba-prototype-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(90deg, #051832 0%, #08244c 55%, #061a36 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

.ba-prototype-topbar .brand {
    min-width: 292px;
    font-size: 0;
    font-weight: 800;
    white-space: nowrap;
}

.ba-prototype-topbar .brand::after {
    content: "中石油专属保险 | 银企直联";
    font-size: 22px;
    letter-spacing: 0;
}

.ba-prototype-topbar .module {
    height: 40px;
    min-width: 128px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 4px;
    background: rgba(255,255,255,.92);
    color: #172848;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    font-weight: 700;
}

.ba-prototype-topbar .module::after {
    content: "总公司  ▾";
    font-size: 15px;
}

.ba-prototype-topbar::before {
    content: "上海分公司";
    height: 40px;
    min-width: 144px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 4px;
    background: rgba(255,255,255,.12);
    color: #dbe8ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    order: 3;
}

.ba-prototype-topbar::after {
    content: "搜索菜单、账户、用途编码        🔍";
    width: 430px;
    height: 38px;
    margin-left: 58px;
    border-radius: 4px;
    background: rgba(255,255,255,.14);
    color: #d5e3f7;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    font-size: 15px;
    order: 4;
}

.ba-prototype-topbar .user {
    margin-left: auto;
    font-size: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    order: 5;
}

.ba-prototype-topbar .user::after {
    content: "🔔 12   ? 帮助   ● 资金管理员⌄";
    font-size: 15px;
    font-weight: 700;
}

.ba-prototype-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 270px;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.ba-prototype-brand small {
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.34);
    font-size: 20px;
    font-weight: 700;
}

.ba-prototype-org {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 4px;
    background: rgba(255,255,255,.1);
    font-size: 14px;
}

.ba-prototype-search {
    width: 430px;
    margin-left: auto;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.14);
    color: #dbe8ff;
}

.ba-prototype-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #eaf2ff;
    background: transparent;
}

.ba-prototype-search input::placeholder {
    color: #c8d5e8;
}

.ba-prototype-top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    white-space: nowrap;
}

.ba-prototype-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: -7px;
    border-radius: 12px;
    background: #ef3755;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.ba-prototype-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.ba-prototype-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e7eef8;
    color: #143866;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ba-prototype-sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    z-index: 40;
    width: 232px;
    padding: 18px 10px;
    color: #dceaff;
    background: linear-gradient(180deg, #09284c 0%, #061b37 100%);
    box-shadow: inset -1px 0 0 rgba(255,255,255,.05);
}

.ba-prototype-menu-section {
    margin: 6px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ba-prototype-menu-item {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-radius: 4px;
    color: #dceaff;
    text-decoration: none;
    font-size: 15px;
}

.ba-prototype-menu-item:hover,
.ba-prototype-menu-item:focus {
    color: #fff;
    text-decoration: none;
}

.ba-prototype-menu-item.is-active {
    background: #0757d5;
    color: #fff;
}

.ba-prototype-menu-item.is-child {
    height: 36px;
    margin-left: 24px;
    padding-left: 13px;
    font-size: 14px;
}

.ba-prototype-menu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #93b7f6;
}

.ba-prototype-menu-count {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    border-radius: 12px;
    background: #ee3554;
    color: #fff;
    text-align: center;
    line-height: 22px;
    font-size: 12px;
    font-weight: 700;
}

.ba-prototype-collapse {
    position: absolute;
    left: 18px;
    bottom: 28px;
    color: #dceaff;
    font-size: 15px;
}

.ba-prototype-main {
    position: absolute;
    top: 64px;
    left: 232px;
    right: 0;
    bottom: 0;
    overflow: hidden;
    padding: 18px 18px 70px;
    background: #f4f7fb;
}

.ba-prototype-breadcrumb {
    margin: 0 0 9px;
    color: #667792;
    font-size: 14px;
}

.ba-prototype-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    margin-bottom: 10px;
}

.ba-prototype-title-row h1 {
    margin: 0;
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    color: #14213d;
}

.ba-prototype-workspace {
    display: grid;
    grid-template-columns: minmax(760px, 1fr) 274px;
    gap: 12px;
    height: calc(100vh - 137px);
    min-height: 730px;
}

.ba-prototype-workspace.no-aside {
    grid-template-columns: 1fr;
}

.ba-prototype-content,
.ba-prototype-aside,
.ba-prototype-card,
.ba-prototype-modal,
.ba-prototype-drawer {
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(18, 41, 76, .03);
}

.ba-prototype-content {
    min-width: 0;
    overflow: hidden;
}

.ba-prototype-scroll {
    height: 100%;
    overflow: auto;
    padding: 12px;
}

.ba-prototype-aside {
    overflow: hidden;
    padding: 14px;
}

.ba-prototype-aside h2,
.ba-prototype-card-title {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 24px;
    color: #14213d;
    font-weight: 700;
}

.ba-prototype-section {
    margin-bottom: 10px;
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fff;
}

.ba-prototype-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-bottom: 1px solid #eef2f7;
    font-size: 16px;
    font-weight: 700;
    color: #14213d;
}

.ba-prototype-section-body {
    padding: 12px 14px;
}

.ba-prototype-filter {
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fff;
}

.ba-prototype-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px 26px;
}

.ba-prototype-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px 28px;
}

.ba-prototype-form-grid.three {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.ba-prototype-form-grid.two-col,
.ba-prototype-form-grid.two {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.ba-prototype-field label {
    display: block;
    margin: 0 0 6px;
    color: #263a5a;
    font-weight: 700;
    font-size: 13px;
}

.ba-prototype-field .required {
    color: #ec3b55;
}

.ba-prototype-input,
.ba-prototype-select,
.ba-prototype-textarea {
    width: 100%;
    height: 34px;
    border: 1px solid #cfd9e8;
    border-radius: 4px;
    padding: 0 11px;
    color: #22324e;
    background: #fff;
    font-size: 13px;
}

.ba-prototype-textarea {
    height: 48px;
    padding-top: 8px;
    resize: none;
}

.ba-prototype-input.is-error,
.ba-prototype-select.is-error {
    border-color: #ff6b7a;
    background: #fffafa;
}

.ba-prototype-help-error {
    margin-top: 5px;
    color: #e53b53;
    font-size: 12px;
}

.ba-prototype-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.ba-prototype-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 10px;
    border-bottom: 1px solid #e5ebf4;
    background: #fff;
}

.ba-prototype-toolbar .spacer,
.ba-prototype-title-row .spacer {
    flex: 1;
}

.ba-prototype-btn {
    height: 32px;
    min-width: 72px;
    border: 1px solid #c8d4e5;
    border-radius: 4px;
    padding: 0 14px;
    color: #24405f;
    background: #fff;
    font-weight: 700;
    font-size: 13px;
}

.ba-prototype-btn.primary {
    border-color: #0757d5;
    color: #fff;
    background: #0757d5;
}

.ba-prototype-btn.danger {
    border-color: #ff8d9b;
    color: #e7354f;
    background: #fff5f6;
}

.ba-prototype-btn.success {
    border-color: #19a363;
    color: #fff;
    background: #19a363;
}

.ba-prototype-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
    color: #25334d;
}

.ba-prototype-table th,
.ba-prototype-table td {
    height: 42px;
    border: 1px solid #e1e7f0;
    padding: 7px 8px;
    vertical-align: middle;
    word-break: break-word;
}

.ba-prototype-table th {
    background: #f5f8fc;
    color: #263a5a;
    font-weight: 700;
}

.ba-prototype-table tr.is-selected td {
    background: #edf5ff;
}

.ba-prototype-link {
    color: #0757d5;
    font-weight: 700;
    text-decoration: none;
    margin-right: 8px;
}

.ba-prototype-status,
.ba-prototype-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 24px;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
}

.ba-prototype-status.ok,
.ba-prototype-tag.green {
    color: #138144;
    background: #e8f7ee;
    border: 1px solid #bce7cd;
}

.ba-prototype-status.warn,
.ba-prototype-tag.orange {
    color: #d66b00;
    background: #fff3e4;
    border: 1px solid #ffd2a6;
}

.ba-prototype-status.error,
.ba-prototype-tag.red {
    color: #df3049;
    background: #fff1f3;
    border: 1px solid #ffc9d0;
}

.ba-prototype-status.pending {
    color: #52647f;
    background: #f2f5f9;
    border: 1px solid #d5deeb;
}

.ba-prototype-tag.blue {
    color: #0757d5;
    background: #eef5ff;
    border: 1px solid #c8defd;
}

.ba-prototype-tag.gray {
    color: #617188;
    background: #f2f5f9;
    border: 1px solid #dce4f0;
}

.ba-prototype-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    height: 54px;
    padding: 0 12px;
    border-top: 1px solid #e5ebf4;
    color: #52647f;
    background: #fff;
}

.ba-prototype-page-box {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfd9e8;
    border-radius: 4px;
    background: #fff;
}

.ba-prototype-page-box.active {
    border-color: #0757d5;
    color: #fff;
    background: #0757d5;
}

.ba-prototype-tip {
    margin-bottom: 10px;
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #f8fbff;
    padding: 10px 12px;
    color: #40516e;
    font-size: 13px;
}

.ba-prototype-tip.warn {
    border-color: #ffd0a0;
    background: #fff8ef;
    color: #b95b00;
}

.ba-prototype-tip.error {
    border-color: #ffbbc4;
    background: #fff3f5;
    color: #d83149;
}

.ba-prototype-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ba-prototype-side-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
    color: #40516e;
    font-size: 13px;
}

.ba-prototype-side-list strong {
    color: #16233f;
}

.ba-prototype-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.ba-prototype-kpi {
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fff;
    padding: 12px;
}

.ba-prototype-kpi .num {
    display: block;
    margin: 4px 0;
    font-size: 24px;
    font-weight: 700;
    color: #0757d5;
}

.ba-prototype-kpi .label {
    color: #65758e;
    font-size: 12px;
}

.ba-prototype-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 12px;
    list-style: none;
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fff;
}

.ba-prototype-stepper span {
    min-width: 112px;
    height: 30px;
    border: 1px solid #d5deeb;
    border-radius: 4px;
    background: #f8fafc;
    color: #52647f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ba-prototype-stepper span.active {
    border-color: #0757d5;
    background: #eef5ff;
    color: #0757d5;
}

.ba-prototype-stepper li {
    position: relative;
    min-height: 68px;
    padding-left: 42px;
    color: #52647f;
}

.ba-prototype-stepper li::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #cfd9e8;
    background: #fff;
    text-align: center;
    line-height: 24px;
    color: #75839a;
    font-weight: 700;
}

.ba-prototype-stepper li::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 27px;
    bottom: 6px;
    border-left: 1px solid #dce4f0;
}

.ba-prototype-stepper li:last-child::after {
    display: none;
}

.ba-prototype-stepper li.active::before {
    border-color: #0757d5;
    color: #fff;
    background: #0757d5;
}

.ba-prototype-stepper b {
    display: block;
    margin-bottom: 4px;
    color: #16233f;
}

.ba-prototype-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ba-prototype-check-list li {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 8px;
    align-items: center;
    min-height: 34px;
    border-bottom: 1px solid #eef2f7;
    color: #40516e;
}

.ba-prototype-check-list .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #9fb0c7;
}

.ba-prototype-check-list .dot.ok {
    border-color: #19a363;
    background: #19a363;
}

.ba-prototype-check-list .dot.error {
    border-color: #e73750;
    background: #e73750;
}

.ba-prototype-upload {
    height: 58px;
    border: 1px dashed #c8d4e5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #617188;
    background: #fbfdff;
}

.ba-prototype-upload b {
    color: #40516e;
    font-weight: 700;
}

.ba-prototype-gl-preview {
    min-height: 52px;
    border: 1px solid #c8d4e5;
    border-radius: 4px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #0757d5;
    font-size: 22px;
    font-weight: 800;
}

.ba-prototype-footer {
    position: fixed;
    left: 232px;
    right: 0;
    bottom: 0;
    z-index: 45;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 24px;
    border-top: 1px solid #dce4f0;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -2px 8px rgba(18, 41, 76, .06);
}

.ba-prototype-footer .hint {
    margin-right: auto;
    color: #63758f;
}

.ba-prototype-drawer-mask {
    position: fixed;
    top: 64px;
    left: 232px;
    right: 0;
    bottom: 0;
    background: rgba(14, 31, 55, .42);
}

.ba-prototype-drawer {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: 640px;
    z-index: 46;
    border-radius: 0;
}

.ba-prototype-modal-wrap {
    position: fixed;
    top: 64px;
    left: 232px;
    right: 0;
    bottom: 0;
    z-index: 46;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 31, 55, .26);
}

.ba-prototype-modal {
    width: 600px;
    padding: 18px;
}

.ba-prototype-tabs {
    display: flex;
    gap: 24px;
    height: 42px;
    border-bottom: 1px solid #e5ebf4;
}

.ba-prototype-tab {
    padding: 0 2px;
    border-bottom: 3px solid transparent;
    color: #52647f;
    font-weight: 700;
    line-height: 39px;
}

.ba-prototype-tab.active {
    color: #0757d5;
    border-bottom-color: #0757d5;
}

.ba-purpose-freeze .ba-prototype-topbar {
    height: 58px;
    color: #172848;
    background: #fff;
    box-shadow: 0 1px 8px rgba(18, 41, 76, .12);
}

.ba-purpose-freeze .ba-prototype-topbar .brand::after {
    color: #101f36;
}

.ba-purpose-freeze .ba-prototype-topbar .module {
    background: transparent;
    border: 0;
    border-bottom: 3px solid #0757d5;
    border-radius: 0;
    color: #0757d5;
}

.ba-purpose-freeze .ba-prototype-topbar .module::after {
    content: "账户管理⌄";
}

.ba-purpose-freeze .ba-prototype-topbar::before {
    content: "首页";
    min-width: 96px;
    order: 1;
    background: transparent;
    color: #24344d;
    border: 0;
}

.ba-purpose-freeze .ba-prototype-topbar::after {
    content: "交易管理⌄      对账管理⌄      报表中心⌄      系统管理";
    width: 520px;
    margin-left: 8px;
    order: 3;
    background: transparent;
    color: #24344d;
}

.ba-purpose-freeze .ba-prototype-topbar .user::after {
    color: #24344d;
}

.ba-purpose-freeze .ba-prototype-sidebar {
    top: 58px;
    width: 208px;
    color: #24344d;
    background: #f7faff;
    border-right: 1px solid #dce4f0;
    box-shadow: none;
}

.ba-purpose-freeze .ba-prototype-sidebar a,
.ba-purpose-freeze .ba-prototype-sidebar .group-title {
    color: #24344d;
}

.ba-purpose-freeze .ba-prototype-main {
    top: 58px;
    left: 208px;
    background: #f1f6fd;
}

.ba-purpose-freeze .ba-prototype-footer {
    left: 208px;
}

.ba-purpose-freeze .ba-prototype-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 80;
    width: 700px;
    max-width: 700px;
    max-height: 802px;
    padding: 18px 24px 22px;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 20px 60px rgba(13, 36, 68, .22);
}

.ba-purpose-freeze .ba-prototype-modal h2 {
    text-align: center;
}

.ba-purpose-freeze .ba-freeze-underlay {
    opacity: .74;
    filter: blur(.2px);
}

.ba-prototype-freeze-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 10px 0 14px;
    border-bottom: 1px solid #dce4f0;
}

.ba-prototype-freeze-tabs span {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52647f;
    font-weight: 700;
}

.ba-prototype-freeze-tabs span.active {
    color: #0757d5;
    border-bottom: 3px solid #0757d5;
}

.ba-prototype-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ba-prototype-timeline li {
    position: relative;
    min-height: 62px;
    padding-left: 28px;
    color: #52647f;
    font-size: 13px;
}

.ba-prototype-timeline li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0757d5;
}

.ba-prototype-timeline li::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 18px;
    bottom: 4px;
    border-left: 1px solid #dce4f0;
}

.ba-prototype-timeline li:last-child::after {
    display: none;
}

.ba-prototype-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.ba-prototype-summary-item {
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fbfdff;
}

.ba-prototype-summary-item span {
    display: block;
    color: #667792;
    font-size: 12px;
}

.ba-prototype-summary-item b {
    display: block;
    margin-top: 5px;
    color: #16233f;
}

.ba-prototype-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ba-prototype-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ba-prototype-underlay {
    height: calc(100vh - 204px);
    min-height: 680px;
    padding: 12px;
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.ba-purpose-drawer .ba-prototype-underlay,
.ba-element-drawer .ba-prototype-underlay {
    opacity: .64;
}

.ba-purpose-drawer .ba-prototype-drawer-mask,
.ba-element-drawer .ba-prototype-drawer-mask {
    background: rgba(10, 29, 52, .36);
}

.ba-purpose-drawer .ba-prototype-drawer,
.ba-element-drawer .ba-prototype-drawer {
    width: 1056px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #cbd7e7;
    box-shadow: -10px 0 26px rgba(17, 39, 72, .14);
}

.ba-prototype-drawer-head {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid #e1e8f2;
}

.ba-prototype-drawer-head h1 {
    margin: 0;
    font-size: 20px;
    color: #14213d;
}

.ba-prototype-drawer-body {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(620px, 1fr) 270px;
    gap: 12px;
    padding: 12px;
    overflow: hidden;
}

.ba-prototype-drawer-form {
    min-width: 0;
    height: 100%;
    overflow: auto;
}

.ba-prototype-drawer-form .ba-prototype-textarea {
    height: 62px;
}

.ba-prototype-rule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 10px;
}

.ba-prototype-rule-card,
.ba-prototype-impact-card,
.ba-prototype-review-checklist {
    padding: 10px 12px;
    border: 1px solid #dce4f0;
    border-radius: 4px;
    background: #fbfdff;
}

.ba-prototype-rule-card b,
.ba-prototype-impact-card b,
.ba-prototype-review-checklist b {
    display: block;
    margin-bottom: 6px;
    color: #14213d;
}

.ba-prototype-rule-card span,
.ba-prototype-impact-card span,
.ba-prototype-review-checklist span {
    color: #61728b;
    font-size: 12px;
}

.ba-prototype-review-checklist {
    margin-bottom: 10px;
}

.ba-purpose-drawer .ba-prototype-footer,
.ba-element-drawer .ba-prototype-footer {
    left: auto;
    width: 1056px;
    border-left: 1px solid #dce4f0;
}

.ba-prototype-audit-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 10px;
}

.ba-prototype-audit-layout .ba-prototype-card {
    min-width: 0;
}

.ba-prototype-evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ba-prototype-evidence-grid .ba-prototype-section {
    margin-bottom: 0;
}

.ba-prototype-progress-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ba-prototype-progress {
    width: 80px;
    height: 8px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f7;
}

.ba-prototype-progress i {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: #18a663;
}

.ba-prototype-check-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 270px;
    gap: 10px;
}

.ba-prototype-check-layout .ba-prototype-card {
    min-width: 0;
}

.ba-prototype-check-list strong {
    color: #14213d;
}

.ba-prototype-check-list small {
    color: #697a92;
}

.ba-prototype-approval-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 288px;
    gap: 10px;
}

.ba-prototype-approval-table td,
.ba-prototype-approval-table th {
    height: 38px;
}

.ba-prototype-mini-tabs {
    display: flex;
    height: 38px;
    border-bottom: 1px solid #e1e8f2;
    background: #fff;
}

.ba-prototype-mini-tabs span {
    min-width: 112px;
    padding: 0 16px;
    border-right: 1px solid #e8edf5;
    line-height: 38px;
    text-align: center;
    color: #52647f;
    font-weight: 700;
}

.ba-prototype-mini-tabs span.active {
    color: #0757d5;
    border-bottom: 3px solid #0757d5;
}
