@charset "utf-8";

:root {
    --aha-board-primary: var(--aha-primary);
    --aha-board-primary-dark: var(--aha-primary-hover);
    --aha-board-text: #111827;
    --aha-board-muted: #667085;
    --aha-board-line: #e5e7eb;
    --aha-board-soft: #f7f7fb;
    --aha-board-danger: #dc2626;
}

/* AHA brand accent is shared across board presets. */
.aha-board,
.aha-board.theme-medical,
.aha-board.theme-commerce,
.aha-board.theme-church {
    --aha-board-primary: var(--aha-primary);
    --aha-board-primary-dark: var(--aha-primary-hover);
}

/* NOTICE editorial LIST: sticky visual at left, native-flow list at right. */
#aha_board.aha-board-list{
    padding:120px 0 120px!important;
}
#aha_board.aha-board-list .aha-board-head{margin-bottom:76px!important}
#aha_board.aha-board-list .aha-notice-layout{
    display:grid;
    grid-template-columns:minmax(300px,2fr) minmax(0,3fr);
    gap:clamp(64px,5vw,80px);
    align-items:start;
}
#aha_board.aha-board-list .aha-notice-main{min-width:0}
#aha_board.aha-board-list .aha-notice-visual{
    position:sticky;
    top:112px;
    min-width:0;
    aspect-ratio:4/5;
    overflow:hidden;
    border-radius:4px;
    background:var(--aha-primary-soft);
}
#aha_board.aha-board-list .aha-notice-visual__media{
    width:100%;
    height:100%;
}
#aha_board.aha-board-list .aha-list-table-wrap{border-top:1px solid var(--aha-board-line)}
#aha_board.aha-board-list .aha-list-table th{height:54px;background:transparent;color:var(--aha-board-muted)}
#aha_board.aha-board-list .aha-list-table td{height:82px;background:transparent}
#aha_board.aha-board-list .aha-list-table .aha-subject>a{font-size:17px;line-height:1.5}
#aha_board.aha-board-list .aha-list-table .aha-num,
#aha_board.aha-board-list .aha-list-table .aha-name,
#aha_board.aha-board-list .aha-list-table .aha-hit{color:#9a96a0}

@media(min-width:769px) and (max-width:1100px){
    #aha_board.aha-board-list{padding:88px 0 100px!important}
    #aha_board.aha-board-list .aha-notice-layout{grid-template-columns:1fr;gap:48px}
    #aha_board.aha-board-list .aha-notice-visual{position:static;aspect-ratio:16/8;max-height:380px}
    #aha_board.aha-board-list .aha-board-head{margin-bottom:68px!important}
}
@media(max-width:768px){
    #aha_board.aha-board-list{padding:64px 0 80px!important}
    #aha_board.aha-board-list .aha-notice-layout{grid-template-columns:1fr;gap:36px}
    #aha_board.aha-board-list .aha-notice-visual{position:static;aspect-ratio:4/3;max-height:360px}
    #aha_board.aha-board-list .aha-list-table td{height:auto}
    #aha_board.aha-board-list .aha-board-head{margin-bottom:52px!important}
}

@media(max-width:768px){
    #aha_board.aha-board-list .aha-notice-layout{
        display:flex;
        flex-direction:column;
        gap:32px;
    }

    #aha_board.aha-board-list .aha-notice-visual{
        order:0;
        width:100%;
        height:auto;
        max-height:none;
        aspect-ratio:4/3;
        overflow:hidden;
    }

    #aha_board.aha-board-list .aha-notice-visual__media{
        width:100%;
        height:100%;
    }

    #aha_board.aha-board-view{
        padding-top:48px;
    }

    #aha_board.aha-board-view > .aha-sub-title-stage{
        margin-bottom:24px !important;
    }

    #aha_board.aha-board-view .aha-view-head{
        padding-top:30px;
        padding-bottom:30px;
    }
}


/* Final WRITE editor shell: one neutral outer border, no stacked dark lines. */
#aha_board.aha-board-write .aha-editor-wrap{
    width:100%;max-width:100%;overflow:hidden;border:1px solid var(--aha-board-line)!important;border-radius:8px;background:#fff;box-shadow:none!important
}
#aha_board.aha-board-write .aha-editor-wrap :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_board.aha-board-write input[type="checkbox"],#aha_board.aha-board-write input[type="radio"]{accent-color:var(--aha-primary)}
#aha_board.aha-board-write :where(.aha-input,.aha-select,.aha-textarea,.aha-file-input){min-height:58px;border-radius:6px}

/* AHA fixed-light subpage system */
.aha-sub-wrap,
.aha-sub-wrap #container {
    background: var(--aha-color-subpage-background);
}

.aha-board-list,
.aha-board-view,
.aha-board-write {
    padding-top: 96px;
    padding-bottom: 120px;
}

#aha_board.aha-board-write {
    width: 100%;
    max-width: var(--aha-container-wide);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--aha-gutter-pc);
    padding-right: var(--aha-gutter-pc);
}

#aha_board.aha-board-view {
    width: 100%;
    max-width: var(--aha-container-wide);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--aha-gutter-pc);
    padding-right: var(--aha-gutter-pc);
}

#aha_board.aha-board-view > :is(
    .aha-view-head,
    .aha-attachment,
    .aha-view-content,
    .aha-reaction,
    .aha-prev-next,
    .aha-view-actions,
    .aha-comments
) {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#aha_board.aha-board-write #fwrite {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.aha-board-head,
.aha-write-head {
    margin-bottom: 52px !important;
}

.aha-list-table-wrap,
.aha-view-head,
.aha-comments {
    border-top-color: var(--aha-board-line) !important;
    border-top-width: 1px !important;
}

.aha-editor-wrap,
.aha-editor-wrap :where(.cke, .cke_chrome, .smarteditor2),
.aha-write-options,
.aha-file-field {
    border-color: var(--aha-board-line) !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .aha-board-list,
    .aha-board-view,
    .aha-board-write { padding-top: 80px; }

    .aha-board-head,
    .aha-write-head { margin-bottom: 44px !important; }

    #aha_board.aha-board-write {
        padding-left: var(--aha-gutter-tablet);
        padding-right: var(--aha-gutter-tablet);
    }

    #aha_board.aha-board-view {
        padding-left: var(--aha-gutter-tablet);
        padding-right: var(--aha-gutter-tablet);
    }
}

@media (max-width: 768px) {
    .aha-board-list,
    .aha-board-view,
    .aha-board-write {
        padding-top: 64px;
        padding-bottom: 80px;
    }

    .aha-board-head,
    .aha-write-head { margin-bottom: 36px !important; }

    #aha_board.aha-board-write {
        padding-left: var(--aha-gutter-mobile);
        padding-right: var(--aha-gutter-mobile);
    }

    #aha_board.aha-board-view {
        max-width: 100%;
        padding-left: var(--aha-gutter-mobile);
        padding-right: var(--aha-gutter-mobile);
    }
}

.aha-board,
.aha-board * {
    box-sizing: border-box;
}

.aha-board {
    width: 100%;
    color: var(--aha-board-text);
    font-family:var(--aha-font-sans);
}

.aha-board a {
    color: inherit;
    text-decoration: none;
}

.aha-board button,
.aha-board input,
.aha-board select,
.aha-board textarea {
    font: inherit;
}

.aha-board-head,
.aha-write-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.aha-board-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--aha-board-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.aha-board-title h2,
.aha-write-head h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.aha-board-title p,
.aha-write-head p {
    margin: 12px 0 0;
    color: var(--aha-board-muted);
    font-size: 15px;
}

.aha-category {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.aha-category a {
    padding: 9px 15px;
    border: 1px solid var(--aha-board-line);
    border-radius: 999px;
    color: var(--aha-board-muted);
    background: #fff;
    font-size: 13px;
}

.aha-category a.active,
.aha-category a:hover {
    color: #fff;
    border-color: var(--aha-board-primary);
    background: var(--aha-board-primary);
}

.aha-list-table-wrap {
    overflow: hidden;
    border-top: 2px solid var(--aha-board-text);
}

.aha-list-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.aha-list-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.aha-list-table .col-num { width: 100px; }
.aha-list-table .col-name { width: 130px; }
.aha-list-table .col-date { width: 120px; }
.aha-list-table .col-hit { width: 90px; }

.aha-list-table th {
    height: 62px;
    padding: 0 15px;
    border-bottom: 1px solid var(--aha-board-line);
    color: #344054;
    background: #fafafa;
    font-size: 14px;
    font-weight: 700;
}

.aha-list-table td {
    height: 74px;
    padding: 0 15px;
    border-bottom: 1px solid var(--aha-board-line);
    color: #475467;
    text-align: center;
    font-size: 14px;
}

.aha-list-table tbody tr {
    transition: background .2s ease;
}

.aha-list-table tbody tr:hover {
    background: #faf9ff;
}

.aha-list-table .aha-subject {
    text-align: left;
}

.aha-list-table .aha-subject > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    color: var(--aha-board-text);
    font-size: 16px;
    font-weight: 650;
}

.aha-list-table .aha-subject > a:hover {
    color: var(--aha-board-primary);
}

.aha-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.aha-badge.notice {
    color: #fff;
    background: var(--aha-board-primary);
}

.aha-badge.new {
    min-width: auto;
    color: var(--aha-board-primary);
    background: var(--aha-primary-soft);
}

.aha-comment-count {
    color: var(--aha-board-primary);
    font-size: 12px;
}

.aha-mobile-meta {
    display: none;
}

.aha-empty {
    height: 180px !important;
    color: var(--aha-board-muted) !important;
}

.aha-list-actions,
.aha-view-actions,
.aha-write-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 26px;
}

.aha-list-actions > div,
.aha-view-actions > div {
    display: flex;
    gap: 8px;
}

.aha-btn {
    min-width: 96px;
    height: 46px;
    padding: 0 18px;
    border: 1px solid var(--aha-board-line);
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--aha-board-text);
    background: #fff;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: .2s ease;
}

.aha-btn:hover {
    transform: translateY(-2px);
}

.aha-btn.primary {
    color: #fff;
    border-color: var(--aha-board-primary);
    background: var(--aha-board-primary);
    box-shadow: 0 9px 24px rgba(91,61,245,.18);
}

.aha-btn.primary:hover {
    background: var(--aha-board-primary-dark);
}

.aha-btn.ghost {
    background: #fff;
}

.aha-btn.danger {
    color: var(--aha-board-danger);
    border-color: #fecaca;
    background: #fff;
}

.aha-pagination {
    margin-top: 40px;
    text-align: center;
}

.aha-pagination .pg_wrap {
    display: inline-block;
}

.aha-pagination .pg_page,
.aha-pagination .pg_current {
    min-width: 38px;
    height: 38px;
    margin: 0 3px;
    padding: 0 11px;
    border: 1px solid var(--aha-board-line);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475467;
    background: #fff;
}

.aha-pagination .pg_current {
    color: #fff;
    border-color: var(--aha-board-primary);
    background: var(--aha-board-primary);
}

.aha-search-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.aha-search-dim {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,.58);
}

.aha-search-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(540px, calc(100% - 32px));
    padding: 36px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
    transform: translate(-50%, -50%);
}

.aha-search-panel h3 {
    margin: 0 0 22px;
    font-size: 24px;
}

.aha-search-close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
}

.aha-search-form {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
}

.aha-search-form select,
.aha-input,
.aha-select,
.aha-search-input input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--aha-board-line);
    border-radius: 11px;
    color: var(--aha-board-text);
    background: #fff;
    outline: none;
}

.aha-search-form select:focus,
.aha-input:focus,
.aha-select:focus,
.aha-search-input input:focus,
.aha-comment-write textarea:focus {
    border-color: var(--aha-board-primary);
    box-shadow: 0 0 0 3px rgba(91,61,245,.1);
}

.aha-search-input {
    position: relative;
}

.aha-search-input input {
    padding-right: 50px;
}

.aha-search-input button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--aha-board-primary);
    cursor: pointer;
}

/* VIEW */
.aha-view-head {
    padding: 44px 38px;
    border-top: 3px solid var(--aha-board-text);
    border-bottom: 1px solid var(--aha-board-line);
    text-align: center;
}

.aha-view-category {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--aha-board-primary);
    background: var(--aha-primary-soft);
    font-size: 12px;
    font-weight: 800;
}

.aha-view-head h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.4;
    letter-spacing: -.035em;
}

.aha-view-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    color: var(--aha-board-muted);
    font-size: 13px;
}

.aha-view-meta i {
    margin-right: 6px;
}

.aha-attachment {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid var(--aha-board-line);
    border-radius: 14px;
    background: var(--aha-board-soft);
}

.aha-attachment h3 {
    margin: 0 0 12px;
    font-size: 14px;
}

.aha-attachment ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aha-attachment li + li {
    margin-top: 7px;
}

.aha-attachment a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475467;
    font-size: 13px;
}

.aha-attachment a span {
    flex: 1;
}

.aha-attachment a em {
    color: #98a2b3;
    font-style: normal;
}

.aha-view-content {
    min-height: 320px;
    padding: 54px 30px;
    border-bottom: 1px solid var(--aha-board-line);
    color: #344054;
    font-size: 16px;
    line-height: 1.85;
}

.aha-view-content img {
    max-width: 100%;
    height: auto;
}

.aha-view-content :is(table, iframe, video) {
    max-width: 100%;
}

.aha-reaction {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
}

.aha-reaction-btn {
    min-width: 120px;
    height: 46px;
    padding: 0 15px;
    border: 1px solid var(--aha-board-line);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
}

.aha-prev-next {
    border-top: 1px solid var(--aha-board-line);
}

.aha-prev-next a {
    min-height: 64px;
    padding: 0 18px;
    border-bottom: 1px solid var(--aha-board-line);
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 15px;
}

.aha-prev-next span {
    color: var(--aha-board-muted);
    font-size: 13px;
}

.aha-prev-next strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}

/* WRITE */
.aha-write-head {
    display: block;
}

.aha-write-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.aha-write-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475467;
    font-size: 13px;
}

.aha-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.aha-field {
    margin-bottom: 22px;
}

.aha-field > label {
    display: block;
    margin-bottom: 9px;
    color: #344054;
    font-size: 14px;
    font-weight: 750;
}

.aha-field > label strong {
    color: var(--aha-board-primary);
}

.aha-editor-wrap {
    border-radius: 12px;
    overflow: hidden;
}

.aha-file-input {
    width: 100%;
    min-height: 50px;
    padding: 11px;
    border: 1px solid var(--aha-board-line);
    border-radius: 11px;
    background: #fff;
}

.aha-file-existing {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--aha-board-muted);
    font-size: 13px;
}

.aha-write-actions {
    justify-content: flex-end;
    padding-top: 14px;
}

/* COMMENTS */
.aha-comments {
    margin-top: 60px;
    padding-top: 35px;
    border-top: 2px solid var(--aha-board-text);
}

.aha-comments-head h3,
.aha-comment-write h3 {
    margin: 0;
    font-size: 20px;
}

.aha-comments-head strong {
    color: var(--aha-board-primary);
}

.aha-comment-list {
    margin-top: 18px;
}

.aha-comment-item {
    padding: 24px 4px;
    border-bottom: 1px solid var(--aha-board-line);
}

.aha-comment-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.aha-comment-top strong {
    font-size: 14px;
}

.aha-comment-top span {
    color: var(--aha-board-muted);
    font-size: 12px;
}

.aha-comment-content {
    margin-top: 15px;
    color: #475467;
    font-size: 14px;
    line-height: 1.7;
}

.aha-comment-actions {
    margin-top: 12px;
    display: flex;
    gap: 12px;
}

.aha-comment-actions a {
    color: var(--aha-board-muted);
    font-size: 12px;
}

.aha-comment-empty {
    padding: 45px 0;
    color: var(--aha-board-muted);
    text-align: center;
}

.aha-comment-write {
    margin-top: 30px;
    padding: 24px;
    border-radius: 16px;
    background: var(--aha-board-soft);
}

.aha-comment-write textarea {
    width: 100%;
    min-height: 130px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--aha-board-line);
    border-radius: 12px;
    resize: vertical;
    outline: none;
}

.aha-comment-form-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
}

.aha-comment-user-fields {
    display: flex;
    gap: 8px;
}

.aha-comment-user-fields .aha-input {
    width: 170px;
}

.aha-comment-limit {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    color: var(--aha-board-muted);
    font-size: 12px;
}

/* THEME PRESETS */
.aha-board.theme-medical {
    --aha-board-primary: #0ba3d7;
    --aha-board-primary-dark: #087ca5;
}

.aha-board.theme-commerce {
    --aha-board-primary: var(--aha-primary);
    --aha-board-primary-dark: var(--aha-primary-hover);
}

.aha-board.theme-church {
    --aha-board-primary: #2d8b57;
    --aha-board-primary-dark: #20663f;
}

@media (max-width: 767px) {
    .aha-board-head,
    .aha-write-head {
        margin-bottom: 28px;
    }

    .aha-board-title h2,
    .aha-write-head h2 {
        font-size: 30px;
    }

    .aha-board-title p,
    .aha-write-head p {
        font-size: 13px;
    }

    .aha-list-table-wrap {
        overflow: visible;
        border-top: 2px solid var(--aha-board-text);
    }

    .aha-list-table,
    .aha-list-table tbody,
    .aha-list-table tr,
    .aha-list-table td {
        display: block;
        width: 100%;
    }

    .aha-list-table colgroup,
    .aha-list-table thead,
    .aha-list-table .aha-name,
    .aha-list-table .aha-date,
    .aha-list-table .aha-hit {
        display: none;
    }

    .aha-list-table tr {
        position: relative;
        padding: 20px 10px 18px;
        border-bottom: 1px solid var(--aha-board-line);
    }

    .aha-list-table td {
        height: auto;
        padding: 0;
        border: 0;
        text-align: left;
    }

    .aha-list-table .aha-num {
        margin-bottom: 9px;
        color: var(--aha-board-muted);
        font-size: 12px;
    }

    .aha-list-table .aha-subject > a {
        display: flex;
        flex-wrap: wrap;
        font-size: 16px;
        line-height: 1.55;
    }

    .aha-mobile-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 10px;
        color: var(--aha-board-muted);
        font-size: 12px;
    }

    .aha-admin-actions {
        display: none !important;
    }

    .aha-list-actions {
        justify-content: flex-end;
    }

    .aha-pagination .pg_page,
    .aha-pagination .pg_current {
        min-width: 34px;
        height: 34px;
        margin: 0 1px;
        padding: 0 9px;
        border-radius: 9px;
        font-size: 12px;
    }

    .aha-search-panel {
        padding: 28px 20px;
    }

    .aha-search-form {
        grid-template-columns: 1fr;
    }

    .aha-view-head {
        padding: 34px 18px;
    }

    .aha-view-head h1 {
        font-size: 27px;
    }

    .aha-view-meta {
        gap: 12px;
    }

    .aha-view-content {
        padding: 40px 6px;
        font-size: 15px;
    }

    .aha-prev-next a {
        grid-template-columns: 58px 1fr;
    }

    .aha-view-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .aha-view-actions > div {
        width: 100%;
    }

    .aha-view-actions .aha-btn {
        flex: 1;
    }

    .aha-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .aha-comment-form-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .aha-comment-user-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .aha-comment-user-fields .aha-input {
        width: 100%;
    }

    .aha-comment-form-bottom .aha-btn {
        width: 100%;
    }
}

/* Final preset override: all AHA-owned accents use the shared brand tokens. */
.aha-board,
.aha-board.theme-medical,
.aha-board.theme-commerce,
.aha-board.theme-church {
    --aha-board-primary: var(--aha-primary);
    --aha-board-primary-dark: var(--aha-primary-hover);
}

@media(max-width:768px){
    #aha_board.aha-board-view{padding-top:48px}
    #aha_board.aha-board-view > .aha-sub-title-stage{margin-bottom:24px!important}
    #aha_board.aha-board-view .aha-view-head{padding-top:30px;padding-bottom:30px}
}

@media(max-width:768px){
    #aha_board.aha-board-list .aha-board-head{display:block!important}
    #aha_board.aha-board-list .aha-search-open{display:flex;margin:26px 0 0 auto!important}
    #aha_board.aha-board-list .aha-notice-layout{display:flex;width:100%;min-width:0;flex-direction:column;gap:32px}
    #aha_board.aha-board-list .aha-notice-main{order:1;width:100%;min-width:0}
    #aha_board.aha-board-list .aha-notice-visual{order:2;width:100%;min-width:0;margin:0}
    #aha_board.aha-board-list .aha-list-table-wrap{width:100%;min-width:0;margin:0}
}

.aha-board-controls{display:flex;align-items:center;justify-content:flex-end;width:100%;min-width:0;margin:0 0 24px}

/* NOTICE VIEW: share the Board Hero outer axis; keep the reading column centered. */
#aha_board.aha-board-view{box-sizing:border-box;width:min(1560px,calc(100% - 96px));max-width:none;margin-inline:auto;padding-right:0;padding-left:0}
#aha_board.aha-board-view .aha-view-head{padding-right:0;padding-left:0}
#aha_board.aha-board-view > .aha-view-content{max-width:1040px;margin-inline:auto}
@media (min-width:769px) and (max-width:1100px){#aha_board.aha-board-view{width:calc(100% - 48px)}}
@media(max-width:768px){#aha_board.aha-board-view{width:calc(100% - 32px)}#aha_board.aha-board-view > .aha-view-content{max-width:100%}}

/* NOTICE DETAIL PC: one reading/action axis inside the existing editorial outer. */
@media(min-width:769px){
    #aha_board.aha-board-view{padding-bottom:0}
    #aha_board.aha-board-view > .aha-view-head{width:100%;max-width:var(--aha-container-wide);margin-right:auto;margin-left:auto}
    #aha_board.aha-board-view > :is(.aha-attachment,.aha-view-content,.aha-reaction,.aha-prev-next,.aha-view-actions,.aha-comments){width:100%;max-width:1040px;margin-right:auto;margin-left:auto}
    #aha_board.aha-board-view > .aha-view-content{min-height:300px;padding:48px 0}
    #aha_board.aha-board-view > .aha-view-actions{justify-content:center}
}

/* NOTICE DETAIL PC: mirror the INSIGHT post-header composition. */
@media(min-width:1101px){
    #aha_board.aha-board-view > .aha-view-head{box-sizing:border-box;margin-bottom:52px;padding:0 var(--aha-gutter-pc);border-top:0;border-bottom:0;text-align:center}
    #aha_board.aha-board-view .aha-view-head h1{max-width:100%;margin-right:auto;margin-left:auto}
    #aha_board.aha-board-view .aha-view-head::after{position:relative;left:50%;display:block;width:min(1560px,calc(100vw - 96px));height:1px;margin:28px auto 0;transform:translateX(-50%);background:var(--aha-board-line);content:""}
    #aha_board.aha-board-view .aha-view-meta{justify-content:center;align-items:center;gap:8px;margin-top:24px;text-align:center}
    #aha_board.aha-board-view > .aha-view-content{position:relative;border-bottom:0;text-align:center!important}
    #aha_board.aha-board-view > .aha-view-content :where(p,div,h1,h2,h3,h4,h5,h6,blockquote,li){text-align:center!important}
    #aha_board.aha-board-view > .aha-prev-next{border-top:0}
}

#aha_board.aha-board-view > .aha-view-content{text-align:center}
#aha_board.aha-board-view > .aha-view-actions{align-items:center;justify-content:center;flex-direction:row;flex-wrap:wrap;gap:8px;margin-top:34px}
#aha_board.aha-board-view > .aha-view-actions .aha-btn{flex:0 0 auto}

/* NOTICE DETAIL: mirror the INSIGHT previous/next frame. */
#aha_board.aha-board-view > .aha-prev-next{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;max-width:none;margin-right:auto;margin-left:auto;border-top:1px solid var(--aha-board-line);border-bottom:1px solid var(--aha-board-line)}
#aha_board.aha-board-view > .aha-prev-next a{display:block;min-width:0;padding:26px 12px;border-bottom:0;color:var(--aha-board-text);text-decoration:none}
#aha_board.aha-board-view > .aha-prev-next .is-next{text-align:right;border-left:1px solid var(--aha-board-line)}
#aha_board.aha-board-view > .aha-prev-next span{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:var(--aha-board-muted);font-size:13px;font-weight:600;letter-spacing:.07em}
#aha_board.aha-board-view > .aha-prev-next .is-next span{justify-content:flex-end}
#aha_board.aha-board-view > .aha-prev-next svg{width:17px;height:17px;flex:none;stroke:currentColor;transition:transform .18s ease}
#aha_board.aha-board-view > .aha-prev-next strong{display:block;overflow:hidden;color:var(--aha-board-text);font-size:16px;font-weight:600;line-height:1.45;white-space:nowrap;text-overflow:ellipsis}
#aha_board.aha-board-view > .aha-prev-next a[href]:hover span,
#aha_board.aha-board-view > .aha-prev-next a[href]:hover strong{color:var(--aha-primary)}
#aha_board.aha-board-view > .aha-prev-next .is-empty{pointer-events:none}

@media(max-width:768px){
    #aha_board.aha-board-view > .aha-prev-next{grid-template-columns:1fr}
    #aha_board.aha-board-view > .aha-prev-next a{padding:22px 8px}
    #aha_board.aha-board-view > .aha-prev-next .is-next{text-align:left;border-top:1px solid var(--aha-board-line);border-left:0}
    #aha_board.aha-board-view > .aha-prev-next .is-next span{justify-content:flex-start}
    #aha_board.aha-board-view > .aha-prev-next strong{font-size:15px;white-space:normal;text-overflow:clip}
}

/* Shared NOTICE / INSIGHT post metadata. */
.aha-board-post-meta{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;color:#5f5a66;font-family:var(--aha-font-sans);font-size:13px;font-weight:400;line-height:1.5;letter-spacing:0}
.aha-board-post-meta>span{display:inline-flex;align-items:center;gap:6px;color:inherit;font:inherit;white-space:nowrap}
.aha-board-post-meta :is(a,b,time){color:inherit;font:inherit}
.aha-board-post-meta i{margin:0;color:inherit;font-size:14px}
@media(max-width:768px){.aha-board-post-meta{gap:10px 12px;font-size:13px}}

/* NOTICE DETAIL: one frame-width line above the post header. */
#aha_board.aha-board-view > .aha-view-head{border-top:0!important}
#aha_board.aha-board-view > .aha-view-head::before{display:block;width:100%;height:1px;margin:0 auto 40px;background:var(--aha-board-line);content:""}
@media(min-width:1101px){#aha_board.aha-board-view > .aha-view-head::before{position:relative;left:50%;width:min(1560px,calc(100vw - 96px));transform:translateX(-50%)}}
@media(max-width:768px){#aha_board.aha-board-view > .aha-view-head::before{margin-bottom:28px}}
