:root {
    --color-background: #FFF;
    --color-secondColor: #00BFA6;
    --color-subColor: #228B22;
    --color-pointColor: #333333;
    --color-positiveColor: #00BFA6;
    --color-negativeColor: #FF7043;
    --color-gradientColor: #147A7A;
    --color-whiteColor: #fff;
    --color-blackColor: #000000;

    --font-size-companyTitle: 25px;
    --font-size-companyButton: 16px;
    --font-size-companyText: 16px;

    --font-size-loginTitle: 30px;
    --font-size-loginText: 16px;

    --font-size-workCreateTitle: 20px;
    --font-size-workCreateText: 12px;
    --font-size-workCreateAiButton: 12px;
    --font-size-workCreateAiText: 12px;

    --font-size-workListTitle: 19px;
    --font-size-workListButton: 16px;
    --font-size-workListMenu: 16px;
    --font-size-workListText: 12px;
    --font-size-workListSearch: 12px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--color-background);
    display: flex;
    flex-direction: column;
}

.not-italic {
    font-style: normal;
}

/* ---------------- Notice Modal ---------------- */
.notice-modal[hidden] {
    display: none;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.notice-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 0;
}

.notice-modal__panel {
    position: relative;
    max-width: 720px;
    margin: 8vh auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.notice-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.notice-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.notice-modal__title {
    margin: 0;
    padding: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-modal__body {
    padding: 18px;
    max-height: 520px;
    overflow: auto;
}

.notice-modal__close {
    all: unset;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

/* table */
.ql-table-block {
    margin: 0;
}

.ql-table-better,
.ql-table-better td,
.ql-table-better th {
    border: 1px solid black;
    border-collapse: collapse;
}

.notice-modal__body p {
    min-height: 1.2em;
    /* 폰트 크기에 맞게 최소 높이 보장 /
            margin: 0;
            / 혹은 원하는 상하 간격 지정 /
            word-break: break-all;
            white-space: pre-wrap;
            / 연속된 공백이나 줄바꿈 보존에 도움 */
}