/*
 * AHA WEB Design Tokens
 *
 * This file only defines shared custom properties. Existing page selectors do
 * not consume these tokens yet, so loading this file must not change the UI.
 */

:root {
    /* Layout */
    --aha-container-wide: 1400px;
    --aha-gutter-pc: 32px;
    --aha-gutter-tablet: 24px;
    --aha-gutter-mobile: 16px;

    /* Typography: desktop scale */
    --aha-font-sans: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --aha-font-family-base: var(--aha-font-sans);
    --aha-font-size-page-title: 54px;
    --aha-font-size-section-title: 44px;
    --aha-font-size-sub-title: 30px;
    --aha-font-size-card-title: 24px;
    --aha-font-size-body: 20px;
    --aha-font-size-small: 14px;
    --aha-font-size-eyebrow: 12px;
    --aha-font-size-caption: 11px;
    --aha-line-height-title: 1.08;
    --aha-line-height-page-title: 1.1;
    --aha-line-height-section-title: 1.2;
    --aha-line-height-sub-title: 1.3;
    --aha-line-height-card-title: 1.35;
    --aha-line-height-body: 1.72;
    --aha-line-height-small: 1.6;
    --aha-letter-spacing-title: -0.05em;
    --aha-letter-spacing-page-title: -0.04em;
    --aha-letter-spacing-section-title: -0.035em;
    --aha-letter-spacing-sub-title: -0.03em;
    --aha-letter-spacing-card-title: -0.025em;
    --aha-letter-spacing-body: -0.025em;
    --aha-letter-spacing-label: 0.08em;
    --aha-font-weight-regular: 400;
    --aha-font-weight-medium: 500;
    --aha-font-weight-semibold: 700;
    --aha-font-weight-bold: 700;
    --aha-font-weight-extrabold: 800;

    /* Typography: responsive reference values */
    --aha-font-size-page-title-tablet: 56px;
    --aha-font-size-section-title-tablet: 40px;
    --aha-font-size-sub-title-tablet: 28px;
    --aha-font-size-card-title-tablet: 23px;
    --aha-font-size-body-tablet: 20px;
    --aha-font-size-page-title-mobile: 44px;
    --aha-line-height-page-title-mobile: 1.12;
    --aha-font-size-section-title-mobile: 34px;
    --aha-font-size-sub-title-mobile: 26px;
    --aha-font-size-card-title-mobile: 22px;
    --aha-line-height-section-title-mobile: 1.22;
    --aha-font-size-body-mobile: 18px;
    --aha-font-size-small-mobile: 13px;
    --aha-font-size-eyebrow-mobile: 11px;
    --aha-font-size-caption-mobile: 10px;

    /* Spacing: section scale by viewport class */
    --aha-space-section-lg-pc: 120px;
    --aha-space-section-md-pc: 96px;
    --aha-space-section-sm-pc: 64px;
    --aha-space-section-lg-tablet: 96px;
    --aha-space-section-md-tablet: 80px;
    --aha-space-section-sm-tablet: 56px;
    --aha-space-section-lg-mobile: 80px;
    --aha-space-section-md-mobile: 64px;
    --aha-space-section-sm-mobile: 48px;
    --aha-space-section-lg: var(--aha-space-section-lg-pc);
    --aha-space-section-md: var(--aha-space-section-md-pc);
    --aha-space-section-sm: var(--aha-space-section-sm-pc);

    /* Color: dark is the default theme */
    --aha-color-background: #0c0c0d;
    --aha-color-background-elevated: #151517;
    --aha-color-surface: #1b1b1e;
    --aha-color-text: #ffffff;
    --aha-color-text-muted: #a6a6ad;
    --aha-color-line: rgba(255, 255, 255, 0.16);
    --aha-color-line-strong: rgba(255, 255, 255, 0.28);
    --aha-primary: #4f2fc1;
    --aha-primary-hover: #7875ff;
    --aha-primary-soft: #f0eeff;
    --aha-color-point-purple: var(--aha-primary);
    --aha-color-point-purple-strong: var(--aha-primary-hover);
    --aha-color-point-purple-soft: var(--aha-primary-soft);
    --aha-color-subpage-background: #fbfaff;
    --aha-color-subpage-header: #ffffff;

    /* Component */
    --aha-button-height-sm: 38px;
    --aha-button-height-md: 46px;
    --aha-button-height-lg: 54px;
    --aha-radius-sm: 4px;
    --aha-radius-md: 12px;
    --aha-radius-lg: 18px;
    --aha-radius-pill: 9999px;
    --aha-form-background: #ffffff;
    --aha-form-text: #1b1820;
    --aha-form-muted: #77727f;
    --aha-form-border: rgba(24, 20, 31, 0.14);
    --aha-form-focus-ring: rgba(79, 47, 193, 0.12);
    --aha-form-radius: 6px;
    --aha-form-control-height: 58px;
    --aha-form-control-height-mobile: 54px;
    --aha-form-label-size: 16px;
    --aha-form-label-weight: 800;
    --aha-form-control-font-size: 17px;
    --aha-form-control-font-size-mobile: 16px;
    --aha-form-textarea-font-size: 18px;
    --aha-form-helper-size: 14px;
    --aha-form-helper-weight: 450;
    --aha-form-file-size: 15px;
    --aha-form-action-height: 56px;
    --aha-form-action-width: 160px;
    --aha-form-action-gap: 12px;
    --aha-form-action-font-size: 16px;
    --aha-form-action-font-weight: 800;
    --aha-page-end-space: 150px;
    --aha-page-end-space-tablet: 116px;
    --aha-page-end-space-mobile: 70px;
    --aha-form-group-radius: 8px;
    --aha-border-width: 1px;
    --aha-transition-fast: 160ms;
    --aha-transition-base: 240ms;
    --aha-transition-slow: 500ms;
    --aha-easing-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
    --aha-easing-emphasized: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
    font-family: var(--aha-font-sans);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* Board administrator exposure order */
.aha-board-order-field {
  margin-bottom: 20px;
}

.aha-board-order-field label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--aha-form-label-size);
  font-weight: var(--aha-form-label-weight);
}

.aha-board-order-field input[type="number"] {
  width: 100%;
  max-width: 220px;
  height: var(--aha-form-control-height) !important;
  border-radius: 0 !important;
}

.aha-board-order-field p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .aha-board-order-field input[type="number"] {
    height: var(--aha-form-control-height-mobile) !important;
  }
}

/* Global responsive line-break utilities. */
br.pcbr {
    display: inline !important;
}

br.mobr {
    display: none !important;
}

@media (max-width: 768px) {
    br.pcbr {
        display: none !important;
    }

    br.mobr {
        display: inline !important;
    }
}

body.aha-light-theme {
    --aha-color-background: #ffffff;
    --aha-color-background-elevated: #f7f7f8;
    --aha-color-surface: #f1f1f3;
    --aha-color-text: #111114;
    --aha-color-text-muted: #66666e;
    --aha-color-line: rgba(17, 17, 20, 0.14);
    --aha-color-line-strong: rgba(17, 17, 20, 0.24);
    --aha-color-point-purple: var(--aha-primary);
    --aha-color-point-purple-strong: var(--aha-primary-hover);
    --aha-color-point-purple-soft: var(--aha-primary-soft);
}

@media (max-width: 1100px) {
    :root {
        --aha-space-section-lg: var(--aha-space-section-lg-tablet);
        --aha-space-section-md: var(--aha-space-section-md-tablet);
        --aha-space-section-sm: var(--aha-space-section-sm-tablet);
        --aha-page-end-space: var(--aha-page-end-space-tablet);
    }
}

@media (max-width: 768px) {
    :root {
        --aha-space-section-lg: var(--aha-space-section-lg-mobile);
        --aha-space-section-md: var(--aha-space-section-md-mobile);
        --aha-space-section-sm: var(--aha-space-section-sm-mobile);
        --aha-page-end-space: var(--aha-page-end-space-mobile);
    }
}

/* Shared title include always owns its typography, independent of skin IDs. */
:is(
    #bo_gall.aha-work,
    #aha_faq.aha-faq,
    #aha_board.aha-board-list,
    #aha_webzine.aha-wz-list
) {
    --aha-font-size-page-title: 54px;
}

.aha-sub-title-page .aha-sub-title__eyebrow {
    color: var(--aha-primary) !important;
    font-family: var(--aha-font-family-base) !important;
}
.aha-sub-title-page .aha-sub-title__heading {
    margin: 0 !important;
    color: #222 !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-page-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-page-title) !important;
    letter-spacing: var(--aha-letter-spacing-page-title) !important;
}
@media (min-width: 769px) and (max-width: 1100px) {
    .aha-sub-title-page .aha-sub-title__heading { font-size: var(--aha-font-size-page-title-tablet) !important; }
}
@media (max-width: 768px) {
    .aha-sub-title-page .aha-sub-title__heading { font-size: var(--aha-font-size-page-title-mobile) !important; line-height: var(--aha-line-height-page-title-mobile) !important; }
}

/* Shared board/subpage title stage */
.aha-sub-title-page {
    padding-top: 96px !important;
    background: transparent;
}

.aha-sub-title-stage {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 36px !important;
    width: 100%;
    margin: 0 0 52px !important;
    padding: 0 !important;
    border: 0 !important;
}

.aha-sub-title-stage::before,
.aha-sub-title-stage::after {
    content: none !important;
    display: none !important;
}

.aha-sub-title {
    min-width: 0;
    color: #222;
    font-family: var(--aha-font-family-base);
}

:is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__eyebrow {
    display: block !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: var(--aha-primary) !important;
    font-size: var(--aha-font-size-eyebrow) !important;
    font-weight: var(--aha-font-weight-extrabold) !important;
    line-height: 1 !important;
    letter-spacing: var(--aha-letter-spacing-label) !important;
}

:is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__eyebrow::before,
:is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__eyebrow::after {
    content: none !important;
    display: none !important;
}

:is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__heading {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #222 !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-page-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-page-title) !important;
    letter-spacing: var(--aha-letter-spacing-page-title) !important;
    word-break: keep-all;
}

:is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__description {
    max-width: 760px;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    color: #68646f !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: 18px !important;
    font-weight: var(--aha-font-weight-regular) !important;
    line-height: 1.7 !important;
    letter-spacing: var(--aha-letter-spacing-body) !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .aha-sub-title-page { padding-top: 80px !important; }
    .aha-sub-title-stage { margin-bottom: 44px !important; }

    :is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__heading {
        font-size: var(--aha-font-size-page-title-tablet) !important;
    }

    :is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__description {
        font-size: 17px !important;
    }
}

@media (max-width: 768px) {
    .aha-sub-title-page { padding-top: 64px !important; }
    .aha-sub-title-stage { margin-bottom: 36px !important; }
    :is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__eyebrow { margin-bottom: 12px !important; }

    :is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__heading {
        font-size: var(--aha-font-size-page-title-mobile) !important;
        line-height: var(--aha-line-height-page-title-mobile) !important;
    }

    :is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba) .aha-sub-title .aha-sub-title__description {
        margin-top: 14px !important;
        font-size: 16px !important;
    }
}

/*
 * Subpage outer containers
 *
 * Full-bleed page/section backgrounds remain untouched. Only their content
 * wrappers participate in the shared container system. HOME and ABOUT do not
 * match any selector in this group.
 */
@media (min-width: 1101px) {
    :where(
        .aha-subpage-container,
        .aha-price-inner,
        #aha_faq.aha-faq:not(.aha-editorial-list-page),
        .aha-inquiry-page,
        .aha-inquiry-admin-view,
        .aha-board-list:not(.aha-editorial-list-page),
        #bo_list,
        #bo_gall:not(.aha-work):not(.aha-editorial-list-page),
        #bo_v,
        #bo_w:not(:has(.aha-write-head))
    ):not(#aha-system-specificity):not(#aha-system-specificity-2) {
        width: 100% !important;
        max-width: var(--aha-container-wide) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: var(--aha-gutter-pc) !important;
        padding-right: var(--aha-gutter-pc) !important;
        box-sizing: border-box;
    }

    #bo_gall.aha-work:not(.aha-editorial-list-page) > :where(
        .aha-work__head,
        .aha-filter,
        .aha-admin-top,
        form
    ):not(#aha-system-specificity):not(#aha-system-specificity-2) {
        width: 100% !important;
        max-width: var(--aha-container-wide) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: var(--aha-gutter-pc) !important;
        padding-right: var(--aha-gutter-pc) !important;
        box-sizing: border-box;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    :where(
        .aha-subpage-container,
        .aha-price-inner,
        #aha_faq.aha-faq:not(.aha-editorial-list-page),
        .aha-inquiry-page,
        .aha-inquiry-admin-view,
        .aha-board-list:not(.aha-editorial-list-page),
        #bo_list,
        #bo_gall:not(.aha-work):not(.aha-editorial-list-page),
        #bo_v,
        #bo_w:not(:has(.aha-write-head))
    ):not(#aha-system-specificity):not(#aha-system-specificity-2),
    #bo_gall.aha-work:not(.aha-editorial-list-page) > :where(
        .aha-work__head,
        .aha-filter,
        .aha-admin-top,
        form
    ):not(#aha-system-specificity):not(#aha-system-specificity-2) {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: var(--aha-gutter-tablet) !important;
        padding-right: var(--aha-gutter-tablet) !important;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    :where(
        .aha-subpage-container,
        .aha-price-inner,
        #aha_faq.aha-faq:not(.aha-editorial-list-page),
        .aha-inquiry-page,
        .aha-inquiry-admin-view,
        .aha-board-list:not(.aha-editorial-list-page),
        #bo_list,
        #bo_gall:not(.aha-work):not(.aha-editorial-list-page),
        #bo_v,
        #bo_w:not(:has(.aha-write-head))
    ):not(#aha-system-specificity):not(#aha-system-specificity-2),
    #bo_gall.aha-work:not(.aha-editorial-list-page) > :where(
        .aha-work__head,
        .aha-filter,
        .aha-admin-top,
        form
    ):not(#aha-system-specificity):not(#aha-system-specificity-2) {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: var(--aha-gutter-mobile) !important;
        padding-right: var(--aha-gutter-mobile) !important;
        box-sizing: border-box;
    }
}

/* Page titles: established subpage hero/list/view headings only. */
:where(
    .aha-price-heading,
    #bo_v.aha-faq-view .aha-view-header h1,
    .aha-inquiry-head h2,
    .aha-board-list .aha-board-title h2,
    .aha-board .aha-write-head h2,
    .aha-inquiry-admin-view .aha-inquiry-admin-head h1,
    .aha-board-system-head h1
):not(#aha-page-title-specificity):not(#aha-page-title-specificity-2) {
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-page-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-page-title) !important;
    letter-spacing: var(--aha-letter-spacing-page-title) !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    :where(
        .aha-price-heading,
        #bo_v.aha-faq-view .aha-view-header h1,
        .aha-inquiry-head h2,
        .aha-board-list .aha-board-title h2,
        .aha-board .aha-write-head h2,
        .aha-inquiry-admin-view .aha-inquiry-admin-head h1,
        .aha-board-system-head h1
    ):not(#aha-page-title-specificity):not(#aha-page-title-specificity-2) {
        font-size: var(--aha-font-size-page-title-tablet) !important;
    }
}

@media (max-width: 768px) {
    :where(
        .aha-price-heading,
        #bo_v.aha-faq-view .aha-view-header h1,
        .aha-inquiry-head h2,
        .aha-board-list .aha-board-title h2,
        .aha-board .aha-write-head h2,
        .aha-inquiry-admin-view .aha-inquiry-admin-head h1,
        .aha-board-system-head h1
    ):not(#aha-page-title-specificity):not(#aha-page-title-specificity-2) {
        font-size: var(--aha-font-size-page-title-mobile) !important;
        line-height: var(--aha-line-height-page-title-mobile) !important;
    }
}

/* Shared title-stage rhythm for legacy general board skins. */
.aha-board-system-head {
    width: 100%;
    margin: 0 0 52px;
    padding: var(--aha-space-section-md) 0 0;
    text-align: left;
}

.aha-board-system-head h1 {
    margin: 0;
}

.aha-board-system-eyebrow {
    display: block;
    margin: 0 0 16px;
    color: var(--aha-primary);
    font-size: var(--aha-font-size-eyebrow);
    font-weight: var(--aha-font-weight-extrabold);
    line-height: 1;
    letter-spacing: var(--aha-letter-spacing-label);
}

@media (min-width: 769px) and (max-width: 1100px) {
    .aha-board-system-head {
        margin-bottom: 44px;
        padding-top: var(--aha-space-section-md);
    }
}

@media (max-width: 768px) {
    .aha-board-system-head {
        margin-bottom: 36px;
        padding-top: var(--aha-space-section-md);
    }

    .aha-board-system-eyebrow {
        margin-bottom: 12px;
        font-size: var(--aha-font-size-eyebrow-mobile);
    }
}

/* Section titles: established non-hero section headings only. */
:where(
    .aha-price-common-title,
    .aha-price-custom-title,
    .aha-price-guide-title,
    .aha-footer-intro h2
):not(#aha-section-title-specificity):not(#aha-section-title-specificity-2) {
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-section-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-section-title) !important;
    letter-spacing: var(--aha-letter-spacing-section-title) !important;
}

/* Sub titles: content-group headings and level-two editorial headings. */
:where(
    .aha-inquiry-section-title h3,
    .aha-related .aha-section-head h2,
    .aha-sub-wrap #bo_v_title,
    .aha-sub-wrap #bo_v_title .bo_v_tit,
    #bo_v_con h2,
    .aha-layer-project__content h2
):not(#aha-sub-title-specificity):not(#aha-sub-title-specificity-2) {
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-sub-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-sub-title) !important;
    letter-spacing: var(--aha-letter-spacing-sub-title) !important;
}

/* Card titles: service/item headings and lower-level editorial headings. */
:where(
    .aha-price-common-item h3,
    .aha-process-step h3,
    #bo_v_con h3,
    #bo_v_con h4,
    .aha-layer-project__content h3,
    .aha-layer-project__content h4
):not(#aha-card-title-specificity):not(#aha-card-title-specificity-2) {
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-card-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-card-title) !important;
    letter-spacing: var(--aha-letter-spacing-card-title) !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    :where(
        .aha-price-common-title,
        .aha-price-custom-title,
        .aha-price-guide-title,
        .aha-footer-intro h2
    ):not(#aha-section-title-specificity):not(#aha-section-title-specificity-2) {
        font-size: var(--aha-font-size-section-title-tablet) !important;
    }

    :where(
        .aha-inquiry-section-title h3,
        .aha-related .aha-section-head h2,
        .aha-sub-wrap #bo_v_title,
        .aha-sub-wrap #bo_v_title .bo_v_tit,
        #bo_v_con h2,
        .aha-layer-project__content h2
    ):not(#aha-sub-title-specificity):not(#aha-sub-title-specificity-2) {
        font-size: var(--aha-font-size-sub-title-tablet) !important;
    }

    :where(
        .aha-price-common-item h3,
        .aha-process-step h3,
        #bo_v_con h3,
        #bo_v_con h4,
        .aha-layer-project__content h3,
        .aha-layer-project__content h4
    ):not(#aha-card-title-specificity):not(#aha-card-title-specificity-2) {
        font-size: var(--aha-font-size-card-title-tablet) !important;
    }
}

@media (max-width: 768px) {
    :where(
        .aha-price-common-title,
        .aha-price-custom-title,
        .aha-price-guide-title,
        .aha-footer-intro h2
    ):not(#aha-section-title-specificity):not(#aha-section-title-specificity-2) {
        font-size: var(--aha-font-size-section-title-mobile) !important;
        line-height: var(--aha-line-height-section-title-mobile) !important;
    }

    :where(
        .aha-inquiry-section-title h3,
        .aha-related .aha-section-head h2,
        .aha-sub-wrap #bo_v_title,
        .aha-sub-wrap #bo_v_title .bo_v_tit,
        #bo_v_con h2,
        .aha-layer-project__content h2
    ):not(#aha-sub-title-specificity):not(#aha-sub-title-specificity-2) {
        font-size: var(--aha-font-size-sub-title-mobile) !important;
    }

    :where(
        .aha-price-common-item h3,
        .aha-process-step h3,
        #bo_v_con h3,
        #bo_v_con h4,
        .aha-layer-project__content h3,
        .aha-layer-project__content h4
    ):not(#aha-card-title-specificity):not(#aha-card-title-specificity-2) {
        font-size: var(--aha-font-size-card-title-mobile) !important;
    }
}

/*
 * Body typography
 *
 * These selectors are limited to established body-copy components. Headings,
 * labels, metadata, captions, buttons and motion-specific copy remain under
 * their existing page/component typography.
 */
:where(
    .aha-price-copy,
    .aha-price-plan-desc,
    .aha-price-card-copy,
    .aha-price-card-list li,
    .aha-price-common-desc,
    .aha-price-common-item p,
    .aha-price-custom-desc,
    .aha-price-guide-text,
    .aha-inquiry-head > p,
    .aha-inquiry-admin-message > div,
    .aha-work__intro,
    .aha-card__overlay-copy p,
    .aha-footer-intro p,
    .aha-portfolio-desc,
    .aha-process-desc
):not(#aha-body-specificity):not(#aha-body-specificity-2) {
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-body) !important;
    font-weight: var(--aha-font-weight-regular) !important;
    line-height: var(--aha-line-height-body) !important;
    letter-spacing: var(--aha-letter-spacing-body) !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    :where(
        .aha-price-copy,
        .aha-price-plan-desc,
        .aha-price-card-copy,
        .aha-price-card-list li,
        .aha-price-common-desc,
        .aha-price-common-item p,
        .aha-price-custom-desc,
        .aha-price-guide-text,
        .aha-inquiry-head > p,
        .aha-inquiry-admin-message > div,
        .aha-work__intro,
        .aha-card__overlay-copy p,
        .aha-footer-intro p,
        .aha-portfolio-desc,
        .aha-process-desc
    ):not(#aha-body-specificity):not(#aha-body-specificity-2) {
        font-size: var(--aha-font-size-body-tablet) !important;
    }
}

@media (max-width: 768px) {
    :where(
        .aha-price-copy,
        .aha-price-plan-desc,
        .aha-price-card-copy,
        .aha-price-card-list li,
        .aha-price-common-desc,
        .aha-price-common-item p,
        .aha-price-custom-desc,
        .aha-price-guide-text,
        .aha-inquiry-head > p,
        .aha-inquiry-admin-message > div,
        .aha-work__intro,
        .aha-card__overlay-copy p,
        .aha-footer-intro p,
        .aha-portfolio-desc,
        .aha-process-desc
    ):not(#aha-body-specificity):not(#aha-body-specificity-2) {
        font-size: var(--aha-font-size-body-mobile) !important;
    }
}

/*
 * General board write form
 *
 * WORK keeps its dedicated full-bleed/editorial form through .aha-write-head.
 * Only the visual shell of legacy general-board fields is normalized here.
 */
.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) {
    padding-top: 0 !important;
    color: var(--aha-form-text);
    background: transparent;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) > form,
.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .form_01,
.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .btn_confirm {
    width: 100%;
    max-width: var(--aha-container-wide);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .write_div {
    position: relative;
    margin: 0 0 18px;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) label:not(.sound_only):not(.lb_icon):not(.chk_box label):not(.bo_v_option label):not(.file_del label) {
    color: var(--aha-form-text);
    font-size: var(--aha-form-label-size);
    font-weight: var(--aha-form-label-weight);
    line-height: 1.45;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) label strong {
    color: var(--aha-primary);
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .aha-write-field-label {
    display: block;
    margin: 0 0 9px;
    color: var(--aha-form-text);
    font-size: var(--aha-form-label-size);
    font-weight: var(--aha-form-label-weight);
    line-height: 1.35;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
    .frm_input,
    select,
    textarea,
    .filebox .fileName,
    .bo_w_flie .file_wr
) {
    width: 100%;
    min-height: var(--aha-form-control-height);
    padding: 0 16px;
    border: 1px solid var(--aha-form-border) !important;
    border-radius: 0 !important;
    color: var(--aha-form-text) !important;
    background: var(--aha-form-background) !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-form-control-font-size) !important;
    font-weight: var(--aha-font-weight-medium) !important;
    box-shadow: none;
    box-sizing: border-box;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) textarea {
    min-height: 240px;
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 1.7;
    font-size: var(--aha-form-textarea-font-size) !important;
    font-weight: var(--aha-font-weight-regular) !important;
    resize: vertical;
}

@media (max-width: 768px) {
    .aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
        input.frm_input,
        select,
        .filebox .fileName,
        .bo_w_flie .file_wr
    ) {
        min-height: var(--aha-form-control-height-mobile);
    }
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
    .frm_input,
    select,
    textarea
):focus {
    outline: 0;
    border-color: var(--aha-primary) !important;
    box-shadow: 0 0 0 3px var(--aha-form-focus-ring) !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
    .frm_input,
    textarea
)::placeholder {
    color: var(--aha-form-muted) !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
    .wr_content,
    .smarteditor2,
    .cke,
    .cke_chrome
) {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--aha-form-border) !important;
    border-radius: 8px;
    background: var(--aha-form-background);
    box-shadow: none !important;
    box-sizing: border-box;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .wr_content {
    overflow: hidden;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .wr_content :where(
    textarea,
    iframe,
    .smarteditor2,
    .se2_multy,
    .se2_inputarea,
    .cke,
    .cke_chrome
) {
    max-width: 100%;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .wr_content > textarea {
    border-radius: 0 !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .wr_content :where(
    .se2_tool,
    .cke_top,
    .cke_bottom
) {
    border-color: var(--aha-form-border) !important;
    background: #f8f8f9 !important;
    box-shadow: none !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
    .bo_v_option,
    .bo_w_flie,
    .btn_confirm,
    hr
) {
    border-color: var(--aha-form-border) !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .filebox .btn_file {
    color: var(--aha-primary);
    border-color: var(--aha-primary);
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
    .bo_v_option,
    .bo_w_select,
    .bo_w_flie
) {
    padding: 18px;
    border: 1px solid var(--aha-form-border) !important;
    border-radius: 8px;
    background: #fff;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) input[type="checkbox"],
.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) input[type="radio"] {
    accent-color: var(--aha-primary);
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) #btn_autosave,
.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(.btn_cancel, .btn_b01) {
    border: 1px solid var(--aha-form-border) !important;
    color: var(--aha-form-text) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) #btn_autosave:hover,
.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(.btn_cancel, .btn_b01):hover {
    background: var(--aha-primary-soft) !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .btn_submit {
    border-color: var(--aha-primary) !important;
    color: #fff !important;
    background: var(--aha-primary) !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .btn_submit:hover {
    border-color: var(--aha-primary-hover) !important;
    background: var(--aha-primary-hover) !important;
}

.aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) :where(
    #captcha,
    #captcha_audio,
    #captcha_key
) {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) > form,
    .aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .form_01,
    .aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) .btn_confirm {
        max-width: none;
    }

    .aha-sub-wrap #bo_w:not(:has(.aha-write-head)):not(#aha-form-specificity):not(#aha-form-specificity-2) textarea {
        min-height: 200px;
    }
}

/*
 * Button shape
 *
 * Only the corner shape is normalized. Size, spacing, color, border, state
 * and motion continue to come from the existing component/page styles.
 */
:where(
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    button[type="submit"],
    a.btn,
    .btn,
    .btn_submit,
    .btn_cancel,
    .btn_admin,
    .btn_b01,
    .btn_b02,
    .btn_b03,
    .btn_frmline,
    .btn_close,
    .btn_back,
    .btn01,
    .btn02,
    .aha-btn,
    a.aha-header-contact,
    a.aha-footer-cta,
    a.aha-contact-link,
    a.aha-price-cta-link,
    a.aha-inquiry-submit,
    a.aha-inquiry-cancel,
    .aha-admin-top a,
    .aha-card__admin a,
    a.aha-layer-project__live,
    .ahx-editorial-foot > a,
    .aha-theme-toggle,
    .aha-modal__close,
    .aha-search-open,
    .aha-search-close,
    .aha-faq-search-btn,
    .aha-faq-search-close,
    .aha-faq-toggle-btn,
    .aha-inquiry-submit,
    .aha-agent-btn,
    .aha-agent-close,
    .aha-agent-submit,
    .aha-consult-close,
    .aha-consult-submit,
    .aha-quick-btn,
    .aha-mobile-top-floating,
    .ahx-rail-btn,
    .ahx-roll-toggle,
    .ahx-scroll-cue,
    .js-aha-item-delete,
    .btn_more_opt,
    .btn_more_add,
    .more_btn,
    .sch_btn,
    .sch_submit,
    .bo_sch_cls,
    .autosave_close,
    .closer_btn,
    .connect-close,
    .menu_close,
    .hd_closer,
    .bst_sl,
    .lt_page_prev,
    .lt_page_next,
    .sctrl_play,
    .sctrl_stop,
    .sit_qty_minus,
    .sit_qty_plus,
    .pg_page,
    .pg_current,
    #aha_faq .aha-faq-search-bar button
):not(#aha-button-specificity):not(#aha-button-specificity-2) {
    border-radius: var(--aha-radius-pill) !important;
}

/* Final board design-system cascade */
.aha-sub-wrap,
.aha-sub-wrap :is(#aha_board, #aha_faq, #aha_webzine, #aha_webzine_write, #bo_list, #bo_gall, #bo_v, #bo_w, .aha-ba, .aha-ba-write, .aha-ba-view) {
    background-color: var(--aha-color-subpage-background);
}

.aha-sub-wrap :is(#bo_v_title .bo_v_tit, .aha-view-head h1, .aha-faq-view .aha-view-header h1, .aha-wz-view-head h1, .aha-ba-view__head h1, .aha-board-entry-head .bo_v_tit) {
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-sub-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-sub-title) !important;
    letter-spacing: var(--aha-letter-spacing-sub-title) !important;
}

/* FAQ/INQUIRY view headings are post titles, not the representative page title. */
.aha-sub-wrap #bo_v.aha-faq-view .aha-view-header h1:not(#aha-post-title-specificity):not(#aha-post-title-specificity-2):not(#aha-post-title-specificity-3),
.aha-sub-wrap #aha_board.aha-inquiry-admin-view .aha-inquiry-admin-head h1:not(#aha-post-title-specificity):not(#aha-post-title-specificity-2):not(#aha-post-title-specificity-3) {
    font-size: var(--aha-font-size-sub-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-sub-title) !important;
    letter-spacing: var(--aha-letter-spacing-sub-title) !important;
}

.aha-sub-wrap :is(#bo_v_title, #bo_v_atc, #bo_v_file, #bo_v_link, #bo_vc, .bo_v_nb, .aha-view-head, .aha-wz-view-head) {
    border-color: var(--aha-color-line) !important;
}

.aha-sub-wrap :is(#bo_cate_on, .pg_current):not(#aha_faq *) {
    border-color: var(--aha-primary) !important;
    background-color: var(--aha-primary) !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .aha-sub-wrap :is(#bo_v_title .bo_v_tit, .aha-view-head h1, .aha-faq-view .aha-view-header h1, .aha-wz-view-head h1, .aha-ba-view__head h1, .aha-board-entry-head .bo_v_tit) {
        font-size: var(--aha-font-size-sub-title-tablet) !important;
    }
    .aha-sub-wrap #bo_v.aha-faq-view .aha-view-header h1:not(#aha-post-title-specificity):not(#aha-post-title-specificity-2):not(#aha-post-title-specificity-3),
    .aha-sub-wrap #aha_board.aha-inquiry-admin-view .aha-inquiry-admin-head h1:not(#aha-post-title-specificity):not(#aha-post-title-specificity-2):not(#aha-post-title-specificity-3) {
        font-size: var(--aha-font-size-sub-title-tablet) !important;
    }
}

@media (max-width: 768px) {
    .aha-sub-wrap :is(#bo_v_title .bo_v_tit, .aha-view-head h1, .aha-faq-view .aha-view-header h1, .aha-wz-view-head h1, .aha-ba-view__head h1, .aha-board-entry-head .bo_v_tit) {
        font-size: var(--aha-font-size-sub-title-mobile) !important;
    }
    .aha-sub-wrap #bo_v.aha-faq-view .aha-view-header h1:not(#aha-post-title-specificity):not(#aha-post-title-specificity-2):not(#aha-post-title-specificity-3),
    .aha-sub-wrap #aha_board.aha-inquiry-admin-view .aha-inquiry-admin-head h1:not(#aha-post-title-specificity):not(#aha-post-title-specificity-2):not(#aha-post-title-specificity-3) {
        font-size: var(--aha-font-size-sub-title-mobile) !important;
    }
}

/* Final shared-title specificity layer for every real board skin. */
.aha-sub-wrap .aha-sub-title-page .aha-sub-title__eyebrow {
    color: var(--aha-primary) !important;
}
.aha-sub-wrap .aha-sub-title-page .aha-sub-title__heading {
    margin: 0 !important;
    color: #222 !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-font-size-page-title) !important;
    font-weight: var(--aha-font-weight-semibold) !important;
    line-height: var(--aha-line-height-page-title) !important;
    letter-spacing: var(--aha-letter-spacing-page-title) !important;
}
@media (min-width: 769px) and (max-width: 1100px) {
    .aha-sub-wrap .aha-sub-title-page .aha-sub-title__heading { font-size: var(--aha-font-size-page-title-tablet) !important; }
}
@media (max-width: 768px) {
    .aha-sub-wrap .aha-sub-title-page .aha-sub-title__heading { font-size: var(--aha-font-size-page-title-mobile) !important; line-height: var(--aha-line-height-page-title-mobile) !important; }
}

/* Shared WRITE typography: sourced from the WORK project editor. */
.aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) :is(.aha-write-field-label, .aha-field > label, .aha-ba-form__row > label, .aha-ba-form__upload > label:first-child, .aha-wz-field > label, .aha-wz-file-row > label, .aha-inquiry-field > label, .aha-inquiry-file-row > label) {
    font-size: var(--aha-form-label-size) !important;
    font-weight: var(--aha-form-label-weight) !important;
    line-height: 1.35 !important;
}

.aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) :is(input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], .frm_input, .aha-input, select, option) {
    min-height: var(--aha-form-control-height) !important;
    border-radius: 0 !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-form-control-font-size) !important;
    font-weight: 500 !important;
}

.aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) textarea:not(.cke_source) {
    border-radius: 0 !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-form-textarea-font-size) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

.aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) :is(input, textarea)::placeholder {
    color: var(--aha-form-muted) !important;
    font: inherit;
    opacity: 1;
}

.aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) :is(.wr_content, .smarteditor2, .cke, .cke_chrome, .aha-wz-form-card) {
    border-radius: var(--aha-form-group-radius) !important;
}

.aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) input[type="file"] {
    max-width: 100%;
    min-height: var(--aha-form-control-height) !important;
    border-radius: 0 !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-form-file-size) !important;
}

.aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) :is(.frm_info, .aha-wz-help, .aha-wz-counter, .aha-inquiry-help, .aha-ba-form__upload span, .file_del, #char_count_desc, #char_count_wrap, .aha-board-order-field p) {
    font-size: var(--aha-form-helper-size) !important;
    font-weight: var(--aha-form-helper-weight) !important;
    line-height: 1.6 !important;
}

/* WRITE action groups only; VIEW controls remain untouched. */
.aha-sub-wrap :is(#bo_w, #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-action-specificity):not(#aha-write-action-specificity-2) :is(.btn_confirm, .aha-write-actions, .aha-ba-write__actions, .aha-wz-write-actions, .aha-inquiry-actions) {
    width: min(100%, calc((var(--aha-form-action-width) * 2) + var(--aha-form-action-gap))) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    float: none !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--aha-form-action-gap) !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.aha-sub-wrap :is(#bo_w, #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-action-specificity):not(#aha-write-action-specificity-2) :is(.btn_confirm, .aha-write-actions, .aha-ba-write__actions, .aha-wz-write-actions, .aha-inquiry-actions) > :is(a, button, input[type="submit"]) {
    flex: 1 1 0 !important;
    width: var(--aha-form-action-width) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: var(--aha-form-action-height) !important;
    margin: 0 !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
    display: inline-flex !important;
    float: none !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    font-family: var(--aha-font-family-base) !important;
    font-size: var(--aha-form-action-font-size) !important;
    font-weight: var(--aha-form-action-font-weight) !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    border-radius: 0 !important;
}

/* One page-end gap source; remove duplicated skin-level bottom padding. */
.aha-sub-wrap {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: var(--aha-page-end-space);
    box-sizing: border-box;
}

/* PRICE owns its visible end gap on the final CTA section. */
.aha-sub-wrap:has(> #container > .aha-price) {
    padding-bottom: 0;
}

.aha-sub-wrap > #container {
    min-height: 0 !important;
}

.aha-sub-wrap > #container > :is(#aha_board.aha-board, #aha_faq.aha-faq, #aha_webzine, #aha_webzine_view, #aha_webzine_write, .aha-ba, .aha-ba-write, .aha-ba-view, #bo_list, #bo_gall, #bo_v, #bo_w):not(#aha-page-end-specificity):not(#aha-page-end-specificity-2) {
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) :is(input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], .frm_input, .aha-input, select, option) {
        min-height: var(--aha-form-control-height-mobile) !important;
        font-size: var(--aha-form-control-font-size-mobile) !important;
    }

    .aha-sub-wrap :is(#bo_w:not(:has(.aha-write-head)), #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-system-specificity):not(#aha-write-system-specificity-2) input[type="file"] {
        min-height: var(--aha-form-control-height-mobile) !important;
    }

    .aha-sub-wrap :is(#bo_w, #aha_board.aha-board-write, .aha-ba-write, #aha_webzine_write, #aha_board.aha-inquiry-page):not(#aha-write-action-specificity):not(#aha-write-action-specificity-2) :is(.btn_confirm, .aha-write-actions, .aha-ba-write__actions, .aha-wz-write-actions, .aha-inquiry-actions) {
        width: min(100%, 360px) !important;
    }
}
