.briz-board-list,
.briz-form-shell,
.briz-view-shell {
    margin-bottom: 24px;
}

.briz-board-top,
.briz-form-panel,
.briz-view-panel {
    background: #fff;
    border: 1px solid rgba(19, 33, 43, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(16, 33, 43, 0.06);
}

.briz-board-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    margin-bottom: 14px;
}

.briz-board-copy h2,
.briz-form-header h2,
.briz-view-header h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.briz-board-copy p,
.briz-form-header p,
.briz-view-header p {
    margin: 10px 0 0;
    color: #62727b;
    line-height: 1.7;
}

.briz-board-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.briz-write-btn,
.briz-board-actions button,
.btn_confirm .btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #126c84, #0a7d68);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.briz-board-actions .btn_bo_sch,
.btn_confirm .btn_cancel {
    background: #eef4f6;
    color: #12313f;
}

.briz-board-search {
    display: none;
    margin-bottom: 14px;
}

.briz-board-search.is-open {
    display: block;
}

.briz-board-search form {
    display: grid;
    grid-template-columns: 180px 1fr 96px;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(19, 33, 43, 0.08);
    border-radius: 18px;
}

.briz-board-search select,
.briz-board-search input,
.briz-field input,
.briz-field select,
.briz-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7e1e5;
    border-radius: 14px;
    padding: 0 14px;
    background: #fff;
}

.briz-classified-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.briz-classified-card {
    display: block;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(19, 33, 43, 0.08);
    color: #10202a;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(16, 33, 43, 0.05);
}

.briz-card-top,
.briz-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.briz-card-top strong,
.briz-card-title {
    font-size: 19px;
    letter-spacing: -0.03em;
}

.briz-card-top span,
.briz-card-footer span,
.briz-card-body {
    color: #63747d;
}

.briz-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 12px;
}

.briz-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #edf7f6;
    color: #0d6c67;
    font-size: 12px;
    font-weight: 700;
}

.briz-chip.soft {
    background: #f3f5f8;
    color: #56656f;
}

.briz-card-body {
    margin-top: 10px;
    line-height: 1.75;
    min-height: 88px;
}

.briz-form-panel,
.briz-view-panel {
    padding: 24px;
}

.briz-field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.briz-field.full {
    margin-top: 18px;
}

.briz-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #233741;
}

.briz-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 10px;
}

.briz-summary-card {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5fafb, #eef7f4);
    border: 1px solid rgba(18, 108, 132, 0.10);
}

.briz-summary-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a7d68;
}

.briz-summary-card strong {
    font-size: 18px;
    letter-spacing: -0.03em;
}

#bo_v_con {
    margin-top: 18px;
    color: #334155;
    line-height: 1.85;
}

#bo_v_img {
    margin-top: 18px;
}

#bo_v_img img {
    border-radius: 16px;
}

.briz-view-shell #bo_v_top {
    margin-top: 22px;
}

.briz-view-shell .btn_bo_user {
    justify-content: flex-start;
}

@media all and (max-width: 991px) {
    .briz-classified-grid,
    .briz-field-grid,
    .briz-summary-grid {
        grid-template-columns: 1fr;
    }

    .briz-board-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .briz-board-search form {
        grid-template-columns: 1fr;
    }
}

/* Preserved live form/view helpers */
#bo_v_con {
    margin-top: 18px;
    color: #334155;
    line-height: 1.85;
}

#bo_v_img {
    margin-top: 18px;
}

#bo_v_img img {
    border-radius: 16px;
}

.briz-view-shell #bo_v_top {
    margin-top: 22px;
}

.briz-view-shell .btn_bo_user {
    justify-content: flex-start;
}

.briz-region-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.briz-region-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f4f8fa;
    border: 1px solid #d9e2e6;
    color: #42535d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.briz-region-filter a.is-active {
    background: #123246;
    border-color: #123246;
    color: #fff;
}

.briz-chip.region {
    background: #edf8f4;
    color: #0b7c66;
}

.briz-form-shell {
    margin: 12px 0 24px;
}

.briz-form-panel {
    background: #fff;
    border: 1px solid rgba(16, 32, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(16, 33, 43, 0.06);
    padding: 24px;
}

.briz-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.briz-form-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.briz-form-header p {
    margin: 0;
    color: #5b6c74;
    line-height: 1.7;
}

.briz-form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #edf8f4;
    color: #0b7c66;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.required-mark {
    color: #d14343;
    font-weight: 700;
}

.briz-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.briz-field.full {
    margin-bottom: 16px;
}

.briz-field label {
    display: block;
    margin-bottom: 8px;
    color: #10202a;
    font-weight: 700;
}

.briz-field input[type="text"],
.briz-field input[type="date"],
.briz-field select,
.briz-field input[type="file"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d9e2e6;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    color: #10202a;
    box-sizing: border-box;
}

.briz-field input[type="file"] {
    padding-top: 10px;
    padding-bottom: 10px;
}

.briz-field input:focus,
.briz-field select:focus {
    outline: none;
    border-color: #0b7c66;
    box-shadow: 0 0 0 3px rgba(11, 124, 102, 0.12);
}

.briz-form-note {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7fafb;
    color: #5d6b73;
    line-height: 1.7;
    font-size: 13px;
}

.file_del {
    display: block;
    margin-top: 8px;
    color: #5d6b73;
    font-size: 13px;
}

@media all and (max-width: 991px) {
    .briz-form-panel {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .briz-form-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .briz-form-header h2 {
        font-size: 24px;
    }

    .briz-field-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


/* Briz-Classified typeset scale */
.briz-card-title {
	font-size:16px !important;
	font-weight:500 !important;
	line-height:1.5 !important;
}

.briz-card-body {
	font-size:16px !important;
	line-height:1.6 !important;
}

.briz-card-top,
.briz-card-footer {
	font-size:14px !important;
	line-height:1.5 !important;
}

.briz-chip {
	font-size:12px !important;
	font-weight:600 !important;
}


/* yellow_all directory table */
.briz-directory-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid rgba(19, 33, 43, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(16, 33, 43, 0.04);
}

.briz-directory-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    color: #10202a;
    font-size: 14px;
}

.briz-directory-table th,
.briz-directory-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e8eef1;
    text-align: left;
    vertical-align: middle;
    line-height: 1.45;
}

.briz-directory-table th {
    background: #f5f8fa;
    color: #2f424d;
    font-weight: 800;
    white-space: nowrap;
}

.briz-directory-table tr:last-child td {
    border-bottom: 0;
}

.briz-directory-table a {
    color: #0d5d75;
    font-weight: 700;
    text-decoration: none;
}

.briz-dir-category {
    width: 130px;
    color: #0b7c66;
    font-weight: 800;
    white-space: nowrap;
}

.briz-dir-name {
    min-width: 220px;
    font-weight: 800;
}

.briz-dir-address {
    min-width: 180px;
    color: #52636c;
}

.briz-dir-empty {
    text-align: center;
    color: #63747d;
}

@media all and (max-width: 767px) {
    .briz-directory-table {
        min-width: 760px;
        font-size: 13px;
    }

    .briz-directory-table th,
    .briz-directory-table td {
        padding: 10px 11px;
    }
}


.briz-directory-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
}

.briz-directory-controls label {
    font-size: 13px;
    font-weight: 800;
    color: #2f424d;
}

.briz-directory-controls select {
    min-height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid #d9e2e6;
    border-radius: 8px;
    background: #fff;
    color: #1f333d;
    font-weight: 700;
}

.briz-dir-sort-link {
    color: #2f424d;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.briz-dir-sort-link::after {
    content: " ↕";
    color: #78909b;
    font-size: 12px;
}


.briz-dir-sort-link {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.briz-dir-sort-link.is-desc::after {
    content: " ↓";
}


.briz-directory-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
}

.briz-directory-pages a,
.briz-directory-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 8px;
    border: 1px solid #d9e2e6;
    background: #fff;
    color: #2f424d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.briz-directory-pages a.is-active {
    background: #123246;
    border-color: #123246;
    color: #fff;
}


/* yellow_all table width refinement */
.briz-directory-table-wrap {
    width: 100%;
}

.briz-directory-table {
    min-width: 0;
    table-layout: fixed;
}

.briz-directory-table th:nth-child(1),
.briz-directory-table td:nth-child(1) {
    width: 24%;
}

.briz-directory-table th:nth-child(2),
.briz-directory-table td:nth-child(2) {
    width: 42%;
}

.briz-directory-table th:nth-child(3),
.briz-directory-table td:nth-child(3) {
    width: 16%;
}

.briz-directory-table th:nth-child(4),
.briz-directory-table td:nth-child(4) {
    width: 18%;
}

.briz-dir-name {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

@media all and (max-width: 767px) {
    .briz-directory-table {
        min-width: 680px;
    }
}


/* yellow_all no-sort header cleanup */
.briz-directory-table th {
    cursor: default;
}


/* yellow_all directory controls */
.briz-directory-controls {
    display: grid;
    grid-template-columns: minmax(130px, 0.8fr) minmax(130px, 0.8fr) minmax(220px, 1.4fr) auto auto;
    gap: 10px;
    align-items: end;
    margin: 0 0 12px;
}

.briz-directory-controls label {
    display: grid;
    gap: 5px;
    margin: 0;
}

.briz-directory-controls label span {
    font-size: 13px;
    font-weight: 800;
    color: #2f424d;
}

.briz-directory-controls select,
.briz-directory-controls input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d9e2e6;
    border-radius: 8px;
    background: #fff;
    color: #1f333d;
    padding: 0 12px;
    font-weight: 700;
}

.briz-directory-controls button,
.briz-directory-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #123246;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.briz-directory-reset {
    background: #eef4f6;
    color: #243946;
}

.briz-directory-result-meta {
    margin: 0 0 8px;
    color: #52636c;
    font-size: 13px;
    font-weight: 700;
}

#briz-directory-app.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

@media all and (max-width: 767px) {
    .briz-directory-controls {
        grid-template-columns: 1fr;
    }
}
