/* 공개 신청 안내 모달과 동일한 시각 규칙. HUB partial을 포함한 화면에만 로드한다. */
.hub-notice-dialog {
    --hub-notice-text: #202a25;
    --hub-notice-muted: #626b66;
    --hub-notice-primary: #3a6b50;
    width: 480px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    border: 1px solid #e8ece9;
    border-radius: 16px;
    background: #fff;
    color: var(--hub-notice-text);
    box-shadow: 0 24px 80px rgba(20, 35, 27, .2);
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    word-break: keep-all;
    overflow-wrap: anywhere;
    overflow: auto;
    overscroll-behavior: contain;
}
.hub-notice-dialog:not([open]) { display: none; }
.hub-notice-dialog::backdrop { background: rgba(17, 27, 22, .4); }
body.hub-notice-open { overflow: hidden; }
.hub-notice-content { position: relative; padding: 32px 32px 24px; }
.hub-notice-dialog .hub-notice-x {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--hub-notice-muted);
    cursor: pointer;
}
.hub-notice-dialog .hub-notice-x:hover { background: #f3f5f3; }
.hub-notice-heading { display: flex; align-items: flex-start; gap: 10px; padding-right: 36px; }
.hub-notice-symbol {
    display: flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    background: transparent;
    color: #946219;
}
.hub-notice-icon-success { display: none; }
.hub-notice-dialog[data-tone="success"] .hub-notice-symbol { color: var(--hub-notice-primary); }
.hub-notice-dialog[data-tone="success"] .hub-notice-icon-info { display: none; }
.hub-notice-dialog[data-tone="success"] .hub-notice-icon-success { display: block; }
.hub-notice-dialog #hub-notice-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: var(--hub-notice-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.4px;
}
.hub-notice-dialog #hub-notice-message {
    margin: 10px 0 0;
    padding: 0;
    color: var(--hub-notice-muted);
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-line;
}
.hub-notice-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 32px 28px;
}
.hub-notice-dialog .hub-notice-ok,
.hub-notice-dialog .hub-notice-cancel {
    min-width: 80px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--hub-notice-primary);
    border-radius: 8px;
    background: var(--hub-notice-primary);
    color: #fff;
    font: inherit;
    line-height: 1.5;
    cursor: pointer;
}
.hub-notice-dialog .hub-notice-ok:hover { background: #2f5942; }
.hub-notice-dialog .hub-notice-cancel { background: #fff; border-color: #d8dfda; color: #48534c; }
.hub-notice-dialog .hub-notice-cancel:hover { background: #f5f7f5; }
.hub-notice-dialog .hub-notice-cancel[hidden] { display: none; }
.hub-notice-dialog :focus-visible { outline: 2px solid var(--hub-notice-primary); outline-offset: 3px; }
@media (max-width: 560px) {
    .hub-notice-content { padding: 28px 24px 22px; }
    .hub-notice-actions { padding: 0 24px 24px; }
    .hub-notice-dialog #hub-notice-title { font-size: 19px; }
}
