:root {
    --sn-primary: #00B0F0;
    --sn-primary-dark: #008DBF;
    --sn-primary-deep: #00749D;

    --sn-bg: #eef1f4;
    --sn-panel: #ffffff;
    --sn-panel-soft: #f7f9fa;

    --sn-border: #b7c2cb;
    --sn-border-dark: #8596a3;

    --sn-text: #30383d;
    --sn-muted: #687780;

    --sn-top: #3e687d;
}

[data-sn-theme="dark"] {
    --sn-bg: #101820;
    --sn-panel: #17212b;
    --sn-panel-soft: #1c2935;

    --sn-border: #40515e;
    --sn-border-dark: #59707e;

    --sn-text: #e7edf0;
    --sn-muted: #a7b5be;

    --sn-top: #182934;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.sn-shell {
    min-width: 1120px;
    min-height: 100vh;
    background: var(--sn-bg);
    color: var(--sn-text);
    font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
    font-size: 13px;
}

.sn-width {
    width: calc(100% - 12px);
    margin: 0 auto;
}

/* 위쪽 작은 메뉴 */

.sn-utility {
    height: 22px;
    background: var(--sn-top);
    color: rgba(255,255,255,.75);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.sn-utility-links {
    height: 22px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

/* 메인 헤더 */

.sn-header {
    color: #fff;
    background:
        linear-gradient(
            180deg,
            #00b0f0 0%,
            #00a7e5 52%,
            #008fc5 100%
        );
    border-bottom: 1px solid #007ba8;
}

.sn-header-inner {
    height: 72px;
    display: grid;
    grid-template-columns: 210px 1fr 250px;
    align-items: center;
}

.sn-brand {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.sn-brand-symbol {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--sn-primary-dark);
    font-size: 22px;
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.09);
}

.sn-brand-name {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -2px;
}

.sn-gnb {
    height: 100%;
    display: flex;
    align-items: center;
}

.sn-gnb a {
    height: 42px;
    min-width: 70px;
    padding: 0 15px;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    border-right: 1px solid rgba(255,255,255,.13);
}
.sn-gnb a.sn-active {
    color: #fff;
    background: rgba(0,0,0,.11);
}

.sn-gnb-home {
    border-radius: 22px;
    min-width: 45px !important;
}

.sn-account {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
}

.sn-account a,
.sn-account button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.13);
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
}

.sn-account-name {
    margin-right: 7px;
    font-size: 11px;
}

.sn-account .sn-login {
    width: auto;
    padding: 0 12px;
}

.sn-search-row {
    height: 36px;
    background: rgba(0,0,0,.08);
}

.sn-search-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
}

.sn-user-search {
    display: flex;
    align-items: center;
    height: 22px;
}

.sn-user-search input {
    width: 164px;
    border: 1px solid #96b0cf;
    padding: 0 6px;
    background: #fff;
    color: #222;
    border-radius: 1px;
}

.sn-user-search button {
    border: 1px solid #7f9ec2;
    background: #eef3f9;
    color: var(--sn-primary-dark);
    border-radius: 1px;
}

/* 공지 */

.sn-notice {
    height: 30px;
    background: var(--sn-panel);
    border-bottom: 1px solid var(--sn-border);
}

.sn-notice-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 185px 72px 1fr;
    align-items: center;
}

.sn-quick-menu {
    height: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    background: var(--sn-primary-dark);
    font-weight: 700;
}

.sn-quick-menu .sn-chevron {
    margin-left: auto;
}

.sn-notice-label {
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--sn-primary);
    font-weight: 700;
}

.sn-notice-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 8px;
    font-size: 12px;
}

.sn-notice-category {
    margin-right: 8px;
    color: var(--sn-primary-dark);
    font-weight: 700;
}

/* 본체 */

.sn-workspace {
    display: grid;
    grid-template-columns: 185px 1fr;
    align-items: stretch;
    min-height: calc(100vh - 160px);
    background: var(--sn-panel);
}

.sn-sidebar {
    background: var(--sn-panel-soft);
    border-right: 1px solid var(--sn-border);
    padding-bottom: 20px;
}

.sn-side-title {
    height: 41px;
    display: grid;
    place-items: center;
    background: var(--sn-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.sn-side-counts {
    padding: 12px 10px 8px;
}

.sn-side-counts div {
    display: flex;
    justify-content: space-between;
    line-height: 22px;
    color: var(--sn-muted);
}

.sn-write-button {
    border: 0;
    width: calc(100% - 18px);
    height: 37px;
    margin: 7px 9px 12px;
    border-radius: 18px;
    background: var(--sn-primary-dark);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.sn-write-button span {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 13px;
    place-items: center;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
}

.sn-menu-block {
    border-top: 1px solid var(--sn-border);
}

.sn-menu-block > button {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--sn-text);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sn-submenu a {
    height: 25px;
    padding-left: 17px;
    display: flex;
    align-items: center;
    color: var(--sn-muted);
    text-decoration: none;
}
.sn-submenu a.active {
    color: var(--sn-primary-deep);
    background: color-mix(in srgb, var(--sn-primary) 13%, transparent);
    font-weight: 700;
}

.sn-side-action {
    margin-top: 5px;
    padding: 11px 10px;
    color: #fff;
    background: var(--sn-primary-dark);
    font-size: 15px;
    font-weight: 700;
}

.sn-banners {
    padding: 6px 5px;
}

.sn-banners a {
    margin-bottom: 5px;
}

.sn-banners img {
    display: block;
    width: 100%;
}

.sn-banner-placeholder {
    height: 56px;
    padding: 7px 9px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--sn-primary) 0%,
            var(--sn-primary-dark) 100%
        );
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sn-banner-placeholder strong {
    font-size: 15px;
}

.sn-banner-placeholder span {
    margin-top: 3px;
    font-size: 11px;
}

/* 실제 모듈 */

.sn-content {
    min-width: 0;
    padding: 13px 14px 40px;
    background: var(--sn-panel);
}

/* 공통 업무 시스템 스타일 */

.sn-content table {
    width: 100%;
    border-collapse: collapse;
}

.sn-content th {
    padding: 7px 5px;
    background: var(--sn-panel-soft);
    border-top: 2px solid var(--sn-primary-dark);
    border-bottom: 1px solid var(--sn-border);
    color: var(--sn-text);
    font-size: 12px;
}

.sn-content td {
    padding: 7px 5px;
    border-bottom: 1px solid var(--sn-border);
    font-size: 12px;
}

/* 작은 화면은 일단 데스크톱 레이아웃을 축소하지 않고 스크롤 */
@media (max-width: 1119px) {
    body {
        overflow-x: auto;
    }
}

/* =========================================================
   SEONGNARA 1.0 - LEGACY ONNARA STYLE
   ========================================================= */

:root {
    --sn-primary: #00B0F0;
    --sn-primary-dark: #0089ba;

    --sn-legacy-blue: #3f7195;
    --sn-legacy-blue-dark: #315c7b;
    --sn-legacy-blue-light: #668eaa;

    --sn-bg: #e9edf0;
    --sn-panel: #ffffff;
    --sn-panel-soft: #f5f7f8;

    --sn-border: #b5c0c7;
    --sn-border-dark: #8899a4;

    --sn-text: #333333;
    --sn-muted: #657078;
}

html,
body {
    background: #dfe4e7 !important;
}

.sn-shell {
    min-width: 1100px;
    font-family: "돋움", Dotum, "굴림", Gulim, Arial, sans-serif;
    font-size: 12px;
    background: #dfe4e7;
}

/* 최상단 구식 유틸리티 바 */
.sn-utility {
    height: 20px;
    background: #3b6785;
    border: 0;
    border-bottom: 1px solid #294f69;
    box-shadow: inset 0 1px rgba(255,255,255,.12);
}

.sn-utility-links {
    height: 20px;
    padding-right: 12px;
    gap: 6px;
    font-size: 11px;
    color: #d7e1e7;
}

/* 헤더 - 밝은 시안 단색 제거 */
.sn-header {
    background:
        linear-gradient(
            to bottom,
            #5683a2 0%,
            #477797 48%,
            #3a6b8c 100%
        );
    border-top: 1px solid #6e96b0;
    border-bottom: 1px solid #284f69;
    box-shadow:
        inset 0 1px rgba(255,255,255,.15),
        inset 0 -1px rgba(0,0,0,.12);
}

.sn-header-inner {
    height: 69px;
    grid-template-columns: 205px 1fr 210px;
}

/* 로고도 현대적인 원형 아이콘 제거 */
.sn-brand {
    gap: 4px;
}

.sn-brand-symbol {
    width: 42px;
    height: 36px;
    border-radius: 19px 19px 8px 8px;
    font-family: "굴림", Gulim, sans-serif;
    font-size: 18px;
    color: #426a86;
    background:
        linear-gradient(#ffffff, #e6edf1);
    border: 1px solid #c2d0d8;
    box-shadow:
        inset 0 1px #ffffff,
        0 1px 1px rgba(0,0,0,.18);
}

.sn-brand-name {
    font-family: "굴림", Gulim, sans-serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -2px;
    text-shadow: 0 1px rgba(0,0,0,.2);
}

/* 상단 메뉴 */
.sn-gnb {
    align-items: stretch;
    height: 43px;
    margin-top: 10px;
}

.sn-gnb a {
    height: 43px;
    min-width: 70px;
    padding: 0 15px;
    border-right: 1px solid rgba(255,255,255,.13);
    border-left: 1px solid rgba(0,0,0,.08);
    font-family: "굴림", Gulim, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px rgba(0,0,0,.18);
}

.sn-gnb a.sn-active {
    border-radius: 0;
    background:
        linear-gradient(
            #355f7e,
            #2d5470
        );
    box-shadow:
        inset 0 1px 3px rgba(0,0,0,.35);
}

/* pill 완전 제거 */
.sn-gnb-home {
    min-width: 52px !important;
    border-radius: 0 !important;
}

/* 계정 영역 */
.sn-account {
    gap: 3px;
}

.sn-account-name {
    font-size: 11px;
}

.sn-account a,
.sn-account button {
    width: 25px;
    height: 24px;
    border-radius: 0;
    border: 1px solid #7194aa;
    background:
        linear-gradient(
            #6993ae,
            #47728f
        );
    box-shadow:
        inset 0 1px rgba(255,255,255,.18);
    font-family: Arial, sans-serif;
    font-size: 11px;
}

/* 검색 영역 */
.sn-search-row {
    height: 33px;
    background:
        linear-gradient(
            #376a8b,
            #2f607f
        );
    border-top: 1px solid rgba(255,255,255,.08);
}

.sn-user-search {
    height: 22px;
}

.sn-user-search input {
    height: 22px;
    border-radius: 1px;
    border: 1px solid #96b0cf;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-user-search button {
    height: 22px;
    border: 1px solid #7f9ec2;
    border-radius: 1px;
}

/* 알림줄 */
.sn-notice {
    height: 27px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #aebbc3;
}

.sn-notice-inner {
    grid-template-columns: 190px 76px 1fr;
}

.sn-quick-menu {
    padding: 0 9px;
    background:
        linear-gradient(
            #4e7c9b,
            #376985
        );
    border-right: 1px solid #7895a8;
    font-size: 12px;
}

.sn-notice-label {
    background:
        linear-gradient(
            #00b0f0,
            #0096cd
        );
    border-right: 1px solid #8ca9ba;
    font-size: 11px;
}

.sn-notice-content {
    background: #f9fafb;
    color: #333;
    font-size: 11px;
}

/* 좌측 메뉴를 더 빽빽하게 */
.sn-workspace {
    grid-template-columns: 190px 1fr;
    border-left: 1px solid #b0bcc4;
    border-right: 1px solid #b0bcc4;
}

.sn-sidebar {
    background: #f2f4f5;
    border-right: 1px solid #aeb9c0;
}

.sn-side-title {
    height: 42px;
    background:
        linear-gradient(
            #5c86a3,
            #477695
        );
    border-top: 1px solid #789ab1;
    border-bottom: 1px solid #315b77;
    font-family: "굴림", Gulim, sans-serif;
    font-size: 17px;
    text-shadow: 0 1px rgba(0,0,0,.2);
}

.sn-side-counts {
    padding: 8px 12px 6px;
    background: #fff;
    border-bottom: 1px solid #c1cbd1;
}

.sn-side-counts div {
    line-height: 19px;
    font-size: 11px;
}

.sn-write-button {
    width: calc(100% - 18px);
    height: 33px;
    margin: 9px;
    border: 1px solid #326c91;
    border-radius: 17px;
    background:
        linear-gradient(
            #4d8bb2,
            #34769e
        );
    box-shadow:
        inset 0 1px rgba(255,255,255,.2),
        0 1px 1px rgba(0,0,0,.15);
    font-family: Gulim, "굴림", sans-serif;
    font-size: 12px;
}

/* 좌측 메뉴 행 */
.sn-menu-block {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #bec8ce;
}

.sn-menu-block > button {
    height: 31px;
    padding: 0 10px;
    background:
        linear-gradient(
            #f9fafb,
            #ebeff1
        );
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-submenu {
    padding: 2px 0;
    background: #f5f7f8;
}

.sn-submenu a {
    height: 24px;
    padding-left: 18px;
    font-size: 11px;
}

.sn-submenu a.active {
    background: #d5e8f1;
    color: #215d7d;
    border-left: 3px solid #00B0F0;
    padding-left: 15px;
}

/* 하단 큰 메뉴 */
.sn-side-action {
    margin: 4px 4px 0;
    padding: 9px 8px;
    border: 1px solid #356d8f;
    background:
        linear-gradient(
            #5684a2,
            #3d7294
        );
    box-shadow: inset 0 1px rgba(255,255,255,.15);
    font-family: Gulim, "굴림", sans-serif;
    font-size: 14px;
}

/* 광고 영역도 카드 느낌 제거 */
.sn-banners {
    padding: 4px;
}

.sn-banner-placeholder {
    height: 52px;
    margin: 0 0 4px;
    border: 1px solid #4b7896;
    background:
        linear-gradient(
            #5d8aa7,
            #44748f
        );
    border-radius: 0;
    box-shadow: inset 0 1px rgba(255,255,255,.17);
}

.sn-banner-placeholder strong {
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.sn-banner-placeholder span {
    font-size: 10px;
}

/* 본문 */
.sn-content {
    padding: 11px 12px 30px;
    background: #fff;
}

/* 업무용 테이블 */
.sn-content table {
    border-top: 2px solid #477b9b;
    border-left: 1px solid #bcc5ca;
    border-right: 1px solid #bcc5ca;
}

.sn-content th {
    height: 29px;
    padding: 4px 5px;
    border-right: 1px solid #c1cbd1;
    border-bottom: 1px solid #919fa7;
    background:
        linear-gradient(
            #f6f8f9,
            #e1e7ea
        );
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #3d484e;
}

.sn-content td {
    height: 27px;
    padding: 4px 5px;
    border-right: 1px solid #e2e5e7;
    border-bottom: 1px solid #d2d8dc;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

/* 검색 및 버튼 = 옛날 웹버튼 */
.sn-page-header button,
.sn-search-box button,
.sn-search-box select,
.sn-search-box input {
    height: 24px;
    border-radius: 0;
    border: 1px solid #9ba8af;
    background:
        linear-gradient(
            #ffffff,
            #e4e8ea
        );
    color: #333;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-page-header button,
.sn-search-box button {
    padding: 0 7px;
    box-shadow: inset 0 1px #fff;
}

.sn-page-header {
    min-height: 35px;
}

.sn-page-header h1 {
    font-family: Gulim, "굴림", sans-serif;
    font-size: 16px;
    letter-spacing: -1px;
}

.sn-search-box {
    margin-top: 5px;
    padding: 5px;
    background: #f5f7f8;
    border: 1px solid #b9c3c9;
}

/* GPT스러운 부드러운 요소 금지 */
.sn-shell button,
.sn-shell input,
.sn-shell select,
.sn-shell a {
    transition: none !important;
}


/* 상단 사용자 메뉴는 텍스트 기반 유틸리티 네비게이션으로 전환됨 */


/* 좌측 업무메뉴 펼침/접힘 */

.sn-menu-block .sn-submenu {
    display: block;
}

.sn-menu-block.sn-menu-collapsed .sn-submenu {
    display: none;
}

.sn-menu-block > button span {
    display: inline-block;
    font-size: 9px;
    transition: none !important;
}

.sn-menu-block.sn-menu-collapsed > button span {
    transform: rotate(-90deg);
}

.sn-menu-block.sn-menu-open > button {
    font-weight: bold;
    color: #234e68;
    background: linear-gradient(#eef6fa, #dce9f0);
}


/* =========================================================
   더 강한 2000년대 공공기관 업무시스템 분위기
   ========================================================= */

.sn-shell {
    color: #343434;
    font-size: 11px;
}

/* 전체를 너무 넓고 시원하게 보이지 않도록 */
.sn-width {
    width: calc(100% - 8px);
}

/* 상단 메뉴 구분선 강화 */
.sn-gnb a {
    border-left: 1px solid rgba(255,255,255,.16);
    border-right: 1px solid rgba(27,63,85,.45);
    box-shadow: inset 1px 0 rgba(255,255,255,.04);
}

/* 헤더 아래 입체선 */
.sn-header {
    box-shadow:
        inset 0 1px rgba(255,255,255,.24),
        inset 0 -1px rgba(0,0,0,.22),
        0 1px 0 #ffffff;
}

/* 좌측 패널을 더 관공서스럽게 */
.sn-sidebar {
    background: #edf1f3;
}

.sn-side-title {
    letter-spacing: -1px;
    border-left: 1px solid #7897aa;
    border-right: 1px solid #315c76;
}

/* 메뉴마다 옛날 트리메뉴 선 */
.sn-menu-block {
    position: relative;
}

.sn-submenu a {
    position: relative;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #e1e5e7;
}

.sn-submenu a::before {
    content: "";
    width: 6px;
    height: 1px;
    margin-right: 4px;
    background: #86959e;
}

/* 선택항목: 현대적인 강조색 대신 옛날 선택행 */
.sn-submenu a.active {
    border-left: 0;
    padding-left: 18px;
    background: #d2e5ee;
    color: #1c5877;
    text-decoration: none;
}

/* 버튼을 Windows XP/IE 시절 스타일로 */
.sn-shell button {
    cursor: pointer;
}

.sn-side-action {
    text-shadow: 0 1px #315872;
    border-top: 1px solid #6f95ac;
    border-bottom: 1px solid #28526d;
}

/* 상단 공지줄 */
.sn-notice-content {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #d5dadd;
}

/* 콘텐츠는 여백 최소화 */
.sn-content {
    padding: 8px 9px 25px;
}

/* 구형 제목 바 */
.sn-page-header {
    height: 34px;
    padding: 0 2px 5px;
    border-bottom: 1px solid #aab5bb;
}

.sn-page-header h1 {
    font-family: "굴림", Gulim, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

/* 검색영역 더 빽빽하게 */
.sn-search-box {
    min-height: 32px;
    align-items: center;
    gap: 2px;
    padding: 3px 4px;
    background: #eef1f2;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #c1c9cd;
    border-right: 1px solid #8e9da5;
    border-bottom: 1px solid #8998a1;
}

/* 테이블을 엑셀/그리드처럼 */
.sn-content table {
    table-layout: fixed;
}

.sn-content th {
    background: linear-gradient(#f9fafb, #d8dee2);
    border-right: 1px solid #aab5bb;
    border-bottom: 1px solid #87969e;
    box-shadow: inset 0 1px #ffffff;
    white-space: nowrap;
}

.sn-content td {
    background: #ffffff;
    color: #444444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sn-content tbody tr:nth-child(even) td {
    background: #fafbfb;
}

/* 링크도 옛날 업무시스템처럼 */
.sn-content a {
    color: #315f7b;
    text-decoration: none;
}

/* 광고도 세련된 카드 느낌 제거 */
.sn-banner-placeholder {
    box-shadow:
        inset 0 1px rgba(255,255,255,.28),
        inset 0 -1px rgba(0,0,0,.18);
}



/* =========================================================
   성나라 비인가 문서 게이트
   ========================================================= */

.sn-gate {
    width: 760px;
    margin: 8px 0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    color: #333;
}

.sn-gate-titlebar {
    padding: 9px 10px;
    border-top: 2px solid #477b9b;
    border-bottom: 1px solid #9baab3;
    background: linear-gradient(#f8fafb, #e2e8eb);
    font-family: Gulim, "굴림", sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.sn-gate-info {
    width: 100%;
    border-collapse: collapse;
    border-left: 1px solid #b8c2c8;
    border-right: 1px solid #b8c2c8;
}

.sn-gate-info th {
    width: 120px;
    padding: 8px;
    text-align: left;
    background: #edf1f3;
    border-right: 1px solid #b8c2c8;
    border-bottom: 1px solid #c7cfd4;
}

.sn-gate-info td {
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #c7cfd4;
}

.sn-gate-document-title {
    font-weight: bold;
}

.sn-gate-lock {
    margin-top: 14px;
    padding: 35px 20px;
    border: 1px solid #b8c2c8;
    background: #f6f7f8;
    text-align: center;
}

.sn-gate-lock-icon {
    display: inline-block;
    margin-bottom: 15px;
    padding: 5px 12px;
    border: 1px solid #8a9aa4;
    background: #e4e9ec;
    color: #344f60;
    font-weight: bold;
}

.sn-gate-lock strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.sn-gate-lock p {
    margin: 0 0 18px;
    line-height: 1.7;
    color: #555;
}

.sn-gate-button {
    display: inline-block;
    padding: 7px 24px;
    border: 1px solid #326b8b;
    background: linear-gradient(#5688a7, #3e718f);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold;
}

.sn-gate-help {
    margin-top: 10px;
    color: #777;
    font-size: 11px;
}

.sn-gate-footer {
    padding: 8px 3px;
    color: #777;
    font-size: 11px;
}


/* 성나라 정보공개형 문서 게이트 */

.sn-gate-info th {
    width: 125px;
}

.sn-gate-info td {
    min-width: 220px;
}

.sn-private-label {
    color: #1763a5;
}

.sn-gate-actions {
    margin-top: 18px;
    text-align: right;
}

.sn-gate-actions .sn-gate-button {
    margin-left: 6px;
}

.sn-gate-button-light {
    color: #333 !important;
    background: linear-gradient(#ffffff, #e7e7e7);
    border-color: #777;
}

.sn-gate-viewer {
    margin-top: 65px;
}

.sn-gate-viewer-title {
    padding-bottom: 7px;
    border-bottom: 1px solid #aaa;
    font-weight: bold;
    font-size: 13px;
}

.sn-gate-viewer-content {
    margin-top: 0;
    height: 45px;
    border: 1px solid #c6cdd1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    background: #fff;
    color: #777;
}

.sn-gate-viewer-content span {
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.sn-gate-viewer-notice {
    margin-top: 7px;
    text-align: right;
    color: #777;
    font-size: 11px;
}



/* =========================================================
   성나라 문서등록대장
   ========================================================= */

.sn-document-register {
    width: 100%;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
}

.sn-document-register-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 8px;
    border-bottom: 2px solid #417796;
}

.sn-document-register-head strong {
    font-family: Gulim, "굴림", sans-serif;
    font-size: 16px;
}

.sn-document-register-head span {
    color: #777;
    font-size: 11px;
}

.sn-document-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sn-document-table th {
    height: 30px;
    padding: 4px 7px;
    border-right: 1px solid #adb8bf;
    border-bottom: 1px solid #8898a2;
    background: linear-gradient(#f7f9fa, #dce3e7);
    text-align: center;
    font-weight: bold;
}

.sn-document-table td {
    height: 29px;
    padding: 4px 7px;
    border-right: 1px solid #e0e4e6;
    border-bottom: 1px solid #ccd3d7;
    background: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sn-document-title {
    text-align: left !important;
}

.sn-document-title a {
    color: #254f69;
    text-decoration: none;
}

.sn-document-notice td {
    background: #f5f8fa;
    font-weight: bold;
}

.sn-col-number {
    width: 65px;
}

.sn-col-date {
    width: 105px;
}

.sn-col-author {
    width: 110px;
}

.sn-document-empty {
    height: 70px !important;
    color: #777;
}

.sn-document-bottom {
    padding-top: 10px;
    text-align: right;
}

.sn-document-write {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #376a88;
    background: linear-gradient(#5988a5, #3f718e);
    color: #fff !important;
    text-decoration: none !important;
}



/* =========================================================
   문서별 열람승인
   ========================================================= */

.sn-approved-label {
    color: #1763a5;
}

.sn-approved-notice {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #aab7be;
    background: #eef5f8;
}

.sn-approved-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #245b7c;
}

.sn-approved-notice span {
    color: #666;
    font-size: 11px;
}

.sn-approved-body {
    margin-top: 20px;
    min-height: 220px;
    padding: 18px;
    border-top: 2px solid #477b9b;
    border-bottom: 1px solid #c5cdd2;
    background: #fff;
    line-height: 1.7;
}

.sn-approved-files {
    margin-top: 35px;
}

.sn-approved-files-title {
    padding-bottom: 7px;
    border-bottom: 1px solid #999;
    font-weight: bold;
}

.sn-approved-files-lock {
    padding: 15px;
    border: 1px solid #c6cdd1;
    border-top: 0;
    color: #777;
    text-align: center;
}

.sn-approved-bottom {
    margin-top: 15px;
    text-align: right;
}



/* =========================================================
   성나라 문서 열람청구서 V2
   ========================================================= */

.sn-request-form {
    width: 100%;
    max-width: 1120px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    color: #333;
}

.sn-request-page-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 7px 4px 10px;
    border-bottom: 2px solid #00B0F0;
}

.sn-request-page-title strong {
    font-family: Gulim, "굴림", sans-serif;
    font-size: 22px;
    font-weight: normal;
}

.sn-request-page-title span {
    color: #666;
}

.sn-request-page-title em,
.sn-request-table em {
    color: #d55b18;
    font-style: normal;
}

.sn-request-section {
    margin-top: 28px;
}

.sn-request-section h2 {
    margin: 0 0 8px;
    padding: 0;
    font-family: Gulim, "굴림", sans-serif;
    font-size: 19px;
    font-weight: normal;
}

.sn-request-help {
    display: inline-block;
    width: 23px;
    height: 23px;
    margin-left: 7px;
    line-height: 23px;
    text-align: center;
    border: 1px solid #9fbac6;
    color: #14799d;
    font-weight: bold;
    font-size: 16px;
    background: #fff;
}

.sn-request-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 2px solid #2589a8;
}

.sn-request-table th {
    width: 175px;
    padding: 12px 14px;
    border-right: 1px solid #c7cdd0;
    border-bottom: 1px solid #c7cdd0;
    background: #eceeef;
    text-align: left;
    vertical-align: middle;
    font-weight: normal;
    font-size: 13px;
}

.sn-request-table td {
    padding: 11px 13px;
    border-bottom: 1px solid #c7cdd0;
    background: #fff;
    vertical-align: middle;
}

.sn-request-input {
    box-sizing: border-box;
    height: 31px;
    padding: 5px 8px;
    border: 1px solid #b7c0c5;
    background: #fff;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
}

.sn-request-wide {
    width: 78%;
}

.sn-request-textarea {
    box-sizing: border-box;
    display: block;
    width: 88%;
    min-height: 180px;
    padding: 10px;
    resize: vertical;
    border: 1px solid #b7c0c5;
    font-family: Dotum, "돋움", sans-serif;
    line-height: 1.6;
}

.sn-request-description {
    margin-top: 7px;
    color: #567985;
    line-height: 1.6;
}

.sn-request-description-inline {
    margin-left: 8px;
    color: #6b858f;
}

.sn-request-related-document {
    padding: 8px 10px;
    border: 1px solid #d0d6d9;
    background: #f7f8f8;
}

.sn-request-related-document strong {
    margin-right: 10px;
    color: #266e89;
}

.sn-request-method-table label {
    display: inline-block;
    margin-right: 35px;
    white-space: nowrap;
    font-size: 13px;
}

.sn-request-method-table input[type="radio"] {
    vertical-align: middle;
}

.sn-request-method-row {
    margin-bottom: 12px;
}

.sn-request-disabled-methods {
    margin: 9px 0;
    padding: 10px 12px;
    background: #f3f3f3;
    border: 1px solid #dedede;
}

.sn-request-disabled-methods label {
    color: #999;
}

.sn-request-disabled-methods span {
    margin-left: 4px;
    padding: 1px 4px;
    border: 1px solid #c7c7c7;
    background: #eee;
    color: #999;
    font-size: 10px;
}

.sn-request-other-delivery {
    margin-top: 10px;
}

.sn-request-other-delivery input {
    width: 320px;
    margin-left: 8px;
}

.sn-request-fee-note {
    margin-left: 20px;
    color: #6c7f87;
}

.sn-request-name {
    width: 200px;
}

.sn-address-line {
    margin-bottom: 6px;
}

.sn-postcode {
    width: 100px;
}

.sn-address-main {
    width: 520px;
    margin-left: 5px;
}

.sn-address-detail {
    width: 625px;
}

.sn-request-phone {
    width: 220px;
}

.sn-request-email {
    width: 320px;
}

.sn-notify-option {
    margin-left: 25px;
}

.sn-request-notice-box {
    padding: 15px 18px;
    border: 1px solid #c9d1d5;
    background: #f1f4f5;
    line-height: 1.7;
    color: #555;
}

.sn-request-notice-box p {
    margin: 3px 0;
}

.sn-request-agreement {
    display: block;
    margin-top: 10px;
}

.sn-request-agency {
    padding: 18px;
    border: 1px solid #c9d1d5;
    background: #f4f5f5;
}

.sn-request-agency strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.sn-request-agency span {
    color: #477486;
}

.sn-request-agency p {
    margin: 10px 0 0;
    color: #777;
}

.sn-request-submit-area {
    padding: 25px 0 45px;
    text-align: right;
}

.sn-request-main-button {
    display: inline-block;
    min-width: 150px;
    padding: 10px 25px;
    border: 1px solid #177c9e;
    background: #2587aa;
    color: #fff !important;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
}

.sn-request-status {
    margin-top: 20px;
    padding: 25px;
    border: 1px solid #bbc7cc;
    text-align: center;
}

.sn-request-status strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}

.sn-request-status-pending {
    background: #f6f7f7;
}

.sn-request-status-approved {
    background: #eef8fb;
}



/* =========================================================
   성나라 열람청구서 V3 정리
   ========================================================= */

/* 도움말 물음표 완전 제거 */
.sn-request-help {
    display: none !important;
}


/* 전체 영역 */
.sn-request-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    color: #333;
}


/* 최상단 제목 */
.sn-request-page-title {
    box-sizing: border-box;
    height: 44px;
    padding: 9px 12px;
    border: 0;
    border-bottom: 2px solid #2585a8;
    background: #fff;
    align-items: center;
}

.sn-request-page-title strong {
    font-family: Gulim, "굴림", sans-serif;
    font-size: 19px;
    line-height: 1;
    font-weight: normal;
}

.sn-request-page-title span {
    font-size: 11px;
    color: #777;
}


/* 섹션 간격 */
.sn-request-section {
    margin: 22px 0 0;
    padding: 0;
}

.sn-request-section h2 {
    margin: 0;
    padding: 0 0 7px 2px;
    border: 0;
    font-family: Gulim, "굴림", sans-serif;
    font-size: 17px;
    font-weight: normal;
    line-height: 1.2;
}


/* 핵심 표 */
.sn-request-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;

    border-top: 2px solid #3484a1;
    border-left: 1px solid #c3ccd1;

    background: #fff;
}

.sn-request-table th,
.sn-request-table td {
    box-sizing: border-box;
    border: 0;
    border-right: 1px solid #c3ccd1;
    border-bottom: 1px solid #c3ccd1;

    vertical-align: middle;
}

.sn-request-table th {
    width: 165px;
    padding: 10px 12px;

    background: #eef1f2;
    color: #333;

    text-align: left;
    font-weight: normal;
}

.sn-request-table td {
    padding: 9px 12px;
    background: #fff;
}


/* 혹시 VIVID 전역 hover가 먹더라도 무효화 */
.sn-request-form table tr,
.sn-request-form table th,
.sn-request-form table td {
    transition: none !important;
}


/* 입력칸 */
.sn-request-input,
.sn-request-textarea {
    box-sizing: border-box;

    border: 1px solid #b9c2c7;
    border-radius: 0;

    background: #fff;

    color: #333;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;

    outline: none;

    transition: none !important;
}

.sn-request-input {
    height: 30px;
    padding: 4px 7px;
}

.sn-request-textarea {
    width: 100%;
    min-height: 165px;

    padding: 8px;

    resize: vertical;

    line-height: 1.55;
}


/*
 * 입력 중이라는 표시는 hover가 아니라 focus일 때만
 * 아주 얇게 표시
 */
.sn-request-input:focus,
.sn-request-textarea:focus {
    border-color: #568aa0;
    background: #fff;
    box-shadow: none;
}


/* 긴 입력칸 */
.sn-request-wide {
    width: 72%;
}


/* 각종 안내문 */
.sn-request-description {
    margin-top: 6px;
    color: #607c87;
    font-size: 11px;
    line-height: 1.55;
}

.sn-request-description-inline {
    margin-left: 8px;
    color: #607c87;
    font-size: 11px;
}


/* 관련문서 */
.sn-request-related-document {
    box-sizing: border-box;
    width: 100%;

    padding: 7px 9px;

    border: 1px solid #d1d7da;

    background: #f8f9f9;
}

.sn-request-related-document strong {
    margin-right: 10px;
    color: #1b6f8d;
}


/* 라디오버튼 영역 */
.sn-request-method-table label {
    display: inline-block;
    margin-right: 34px;

    color: #333;
    font-size: 12px;

    vertical-align: middle;
}

.sn-request-method-table input[type="radio"] {
    margin: 0 5px 1px 0;
    vertical-align: middle;
}

.sn-request-method-row {
    margin: 0 0 9px;
}


/* 미지원 방식 */
.sn-request-disabled-methods {
    margin: 8px 0;
    padding: 8px 10px;

    border: 1px solid #ddd;

    background: #f5f5f5;
}

.sn-request-disabled-methods label {
    color: #aaa;
}

.sn-request-disabled-methods span {
    margin-left: 3px;
    padding: 1px 4px;

    border: 1px solid #ccc;

    background: #eee;

    color: #999;
    font-size: 10px;
}


/* 기타 수령방법 */
.sn-request-other-delivery {
    margin-top: 8px;
}

.sn-request-other-delivery input {
    width: 280px;
    margin-left: 6px;
}


/* 청구인 */
.sn-request-name {
    width: 190px;
}

.sn-postcode {
    width: 100px;
}

.sn-address-line {
    display: flex;
    align-items: center;
    gap: 6px;

    margin: 0 0 6px;
}

.sn-address-main {
    width: 520px;
    margin: 0;
}

.sn-address-detail {
    width: 626px;
}

.sn-request-phone {
    width: 210px;
}

.sn-request-email {
    width: 310px;
}


/* 예전에 있던 이메일 알림 영역 혹시 남아도 숨김 */
.sn-notify-option {
    display: none !important;
}


/* 수수료 */
.sn-request-fee-note {
    margin-left: 15px;
    color: #6b7f87;
    font-size: 11px;
}


/* 유의사항 */
.sn-request-notice-box {
    padding: 13px 15px;

    border: 1px solid #c7ced2;

    background: #f2f4f5;

    color: #555;

    font-size: 11px;
    line-height: 1.65;
}

.sn-request-notice-box p {
    margin: 2px 0;
}

.sn-request-agreement {
    display: block;

    margin: 8px 0 0;

    font-size: 12px;
}


/* 청구기관 */
.sn-request-agency {
    padding: 13px 15px;

    border: 1px solid #c7ced2;

    background: #f4f5f5;
}

.sn-request-agency strong {
    display: block;

    margin-bottom: 3px;

    font-size: 14px;
}

.sn-request-agency span {
    color: #477486;
    font-size: 11px;
}

.sn-request-agency p {
    margin: 7px 0 0;

    color: #777;
    font-size: 11px;
}


/* 제출 버튼 */
.sn-request-submit-area {
    padding: 20px 0 35px;
    text-align: right;
}

.sn-request-main-button {
    min-width: 145px;

    padding: 9px 18px;

    border: 1px solid #176f90;
    border-radius: 0;

    background: #287e9d;

    color: #fff !important;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;

    cursor: pointer;

    box-shadow: none;
    transition: none;
}
.sn-request-main-button:focus {
    background: #287e9d !important;
    color: #fff !important;
    box-shadow: none !important;
}


/* 체크박스/라디오에도 불필요한 효과 제거 */
.sn-request-form input[type="checkbox"],
.sn-request-form input[type="radio"] {
    box-shadow: none !important;
    transition: none !important;
}



/* =========================================================
   성나라 1.0 문서열람청구서 - 고정폭 최종판
   ========================================================= */

/*
 * 2000년대 업무시스템식 고정폭.
 * 창이 작아져도 반응형으로 줄어들지 않는다.
 */
.sn-request-form {
    width: 1040px !important;
    min-width: 1040px !important;
    max-width: 1040px !important;
    margin: 0 !important;
    padding: 0 !important;

    font-family: Dotum, "돋움", sans-serif !important;
    font-size: 12px !important;
    color: #333 !important;
}


/* 제목 */
.sn-request-page-title {
    width: 1040px !important;
    height: 38px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 8px 6px !important;

    border: 0 !important;
    border-bottom: 2px solid #2f7897 !important;

    background: #fff !important;
}

.sn-request-page-title strong {
    font-family: Gulim, "굴림", sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
}

.sn-request-page-title span {
    font-size: 11px !important;
    color: #777 !important;
}


/* 섹션 */
.sn-request-section {
    width: 1040px !important;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
}

.sn-request-section h2 {
    height: 26px !important;
    margin: 0 !important;
    padding: 3px 2px 0 !important;

    font-family: Gulim, "굴림", sans-serif !important;
    font-size: 16px !important;
    font-weight: normal !important;

    border: 0 !important;
    background: #fff !important;
}


/* 물음표 완전 제거 */
.sn-request-help {
    display: none !important;
}


/* =========================================================
   표
   ========================================================= */

.sn-request-table {
    width: 1040px !important;
    min-width: 1040px !important;
    max-width: 1040px !important;

    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;

    border-top: 2px solid #2f7897 !important;
    border-left: 1px solid #bfc9ce !important;

    background: #fff !important;
}

.sn-request-table th {
    width: 145px !important;

    box-sizing: border-box !important;

    padding: 8px 10px !important;

    border: 0 !important;
    border-right: 1px solid #bfc9ce !important;
    border-bottom: 1px solid #bfc9ce !important;

    background: #eceff0 !important;

    color: #333 !important;
    text-align: left !important;
    vertical-align: middle !important;

    font-family: Dotum, "돋움", sans-serif !important;
    font-size: 12px !important;
    font-weight: normal !important;
}

.sn-request-table td {
    box-sizing: border-box !important;

    padding: 8px 10px !important;

    border: 0 !important;
    border-right: 1px solid #bfc9ce !important;
    border-bottom: 1px solid #bfc9ce !important;

    background: #fff !important;

    color: #333 !important;
    text-align: left !important;
    vertical-align: middle !important;

    font-family: Dotum, "돋움", sans-serif !important;
    font-size: 12px !important;
}


/* =========================================================
   마우스 hover 완전 제거
   ========================================================= */

.sn-request-form tr,
.sn-request-form th,
.sn-request-form td,
.sn-request-form table,
.sn-request-form tbody,
.sn-request-form thead {
    transition: none !important;
    animation: none !important;
    box-shadow: none !important;
}


/* 링크 hover도 배경색 금지 */
.sn-request-form a,
.sn-request-form a:focus {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================================
   입력폼
   ========================================================= */

.sn-request-input,
.sn-request-textarea,
.sn-request-form input[type="text"],
.sn-request-form input[type="email"],
.sn-request-form input[type="tel"],
.sn-request-form input[type="date"],
.sn-request-form textarea {
    box-sizing: border-box !important;

    border: 1px solid #b8c1c6 !important;
    border-radius: 0 !important;

    background: #fff !important;
    color: #333 !important;

    font-family: Dotum, "돋움", sans-serif !important;
    font-size: 12px !important;

    box-shadow: none !important;
    outline: none !important;

    transition: none !important;
}


/* 클릭해서 입력할 때도 요란한 효과 금지 */
.sn-request-input:focus,
.sn-request-textarea:focus,
.sn-request-form input[type="text"]:focus,
.sn-request-form input[type="email"]:focus,
.sn-request-form input[type="tel"]:focus,
.sn-request-form input[type="date"]:focus,
.sn-request-form textarea:focus {
    border-color: #7f9daa !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
}


/* 입력칸 크기 */
.sn-request-input {
    height: 27px !important;
    padding: 3px 6px !important;
}

.sn-request-wide {
    width: 670px !important;
}

.sn-request-textarea {
    width: 760px !important;
    min-width: 760px !important;
    max-width: 760px !important;

    min-height: 160px !important;

    padding: 7px !important;

    line-height: 1.55 !important;
    resize: vertical !important;
}


/* 안내문 */
.sn-request-description {
    margin-top: 5px !important;

    font-size: 11px !important;
    line-height: 1.5 !important;

    color: #507b8b !important;
}

.sn-request-description-inline {
    margin-left: 7px !important;

    font-size: 11px !important;

    color: #507b8b !important;
}


/* 관련문서 */
.sn-request-related-document {
    width: 845px !important;

    box-sizing: border-box !important;

    padding: 6px 8px !important;

    border: 1px solid #cfd6d9 !important;
    border-radius: 0 !important;

    background: #f7f8f8 !important;
}


/* =========================================================
   공개 / 수령방법
   ========================================================= */

.sn-request-method-table label {
    display: inline-block !important;

    margin-right: 30px !important;

    font-size: 12px !important;

    color: #333 !important;
    background: transparent !important;
}

.sn-request-method-row {
    margin: 0 0 8px 0 !important;
}

.sn-request-disabled-methods {
    width: 820px !important;

    margin: 7px 0 !important;
    padding: 7px 8px !important;

    border: 1px solid #d5d5d5 !important;

    background: #f3f3f3 !important;
}

.sn-request-disabled-methods label {
    color: #aaa !important;
}

.sn-request-other-delivery {
    margin-top: 7px !important;
}

.sn-request-other-delivery input {
    width: 290px !important;
}


/* =========================================================
   청구인 정보
   ========================================================= */

.sn-request-name {
    width: 190px !important;
}

.sn-postcode {
    width: 90px !important;
}

.sn-address-line {
    display: block !important;
    margin: 0 0 5px 0 !important;
}

.sn-address-main {
    width: 510px !important;
    margin-left: 5px !important;
}

.sn-address-detail {
    width: 610px !important;
}

.sn-request-phone {
    width: 210px !important;
}

.sn-request-email {
    width: 310px !important;
}


/* 이메일 알림은 완전 제거 */
.sn-notify-option {
    display: none !important;
}


/* =========================================================
   유의사항
   ========================================================= */

.sn-request-notice-box {
    width: 1040px !important;

    box-sizing: border-box !important;

    padding: 12px 14px !important;

    border: 1px solid #c4cdd1 !important;

    background: #eef1f2 !important;

    color: #555 !important;

    font-size: 11px !important;
    line-height: 1.6 !important;
}

.sn-request-agreement {
    display: block !important;

    margin: 7px 0 0 1px !important;

    font-size: 12px !important;

    background: transparent !important;
}


/* =========================================================
   청구기관
   ========================================================= */

.sn-request-agency {
    width: 1040px !important;

    box-sizing: border-box !important;

    padding: 12px 14px !important;

    border: 1px solid #c4cdd1 !important;

    background: #f2f3f3 !important;
}

.sn-request-agency strong {
    display: block !important;

    margin-bottom: 3px !important;

    font-size: 13px !important;
}

.sn-request-agency span {
    color: #477486 !important;
    font-size: 11px !important;
}


/* 혹시 빈 p가 남아 있으면 안 보이게 */
.sn-request-agency p:empty {
    display: none !important;
}


/* =========================================================
   버튼
   ========================================================= */

.sn-request-submit-area {
    width: 1040px !important;

    padding: 18px 0 30px 0 !important;

    text-align: right !important;
}

.sn-request-main-button {
    min-width: 135px !important;

    padding: 8px 16px !important;

    border: 1px solid #176e8b !important;
    border-radius: 0 !important;

    background: #327f9c !important;

    color: #fff !important;

    font-family: Dotum, "돋움", sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;

    box-shadow: none !important;
    transition: none !important;
}
.sn-request-main-button:focus,
.sn-request-main-button:active {
    border-color: #176e8b !important;
    background: #327f9c !important;
    color: #fff !important;
    box-shadow: none !important;
}


/* 체크박스·라디오 hover 애니메이션 제거 */
.sn-request-form input[type="checkbox"],
.sn-request-form input[type="radio"] {
    transition: none !important;
    box-shadow: none !important;
}


/*
 * 모바일/태블릿에서도 줄어들지 않는다.
 * 성나라 1.0은 고정폭 업무시스템으로 유지.
 */
@media (max-width: 1040px) {
    .sn-request-form,
    .sn-request-page-title,
    .sn-request-section,
    .sn-request-table,
    .sn-request-notice-box,
    .sn-request-agency,
    .sn-request-submit-area {
        width: 1040px !important;
        min-width: 1040px !important;
        max-width: 1040px !important;
    }
}


/* 성나라 청구서 처리 오류 메시지 */
.sn-request-server-message {
    width: 1018px;
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid #c78a8a;
    background: #fff2f2;
    color: #9b2020;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
}

.sn-request-server-message strong {
    margin-right: 12px;
}



/* =========================================================
   성나라 관리자 - 열람청구 상세
   ========================================================= */

.sn-admin-request-detail {
    width: 1040px;
    min-width: 1040px;
    max-width: 1040px;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    color: #333;
}

.sn-admin-detail-title {
    height: 38px;
    padding: 8px 7px;
    box-sizing: border-box;

    border-bottom: 2px solid #2f7897;

    font-family: Gulim, "굴림", sans-serif;
    font-size: 18px;
}

.sn-admin-request-detail h2 {
    margin: 20px 0 6px;
    padding: 0 2px;

    font-family: Gulim, "굴림", sans-serif;
    font-size: 16px;
    font-weight: normal;
}

.sn-admin-detail-table {
    width: 1040px;

    table-layout: fixed;
    border-collapse: collapse;

    border-top: 2px solid #2f7897;
    border-left: 1px solid #bfc9ce;
}

.sn-admin-detail-table th {
    width: 145px;

    padding: 8px 10px;

    border-right: 1px solid #bfc9ce;
    border-bottom: 1px solid #bfc9ce;

    background: #eceff0;

    font-weight: normal;
    text-align: left;
}

.sn-admin-detail-table td {
    padding: 8px 10px;

    border-right: 1px solid #bfc9ce;
    border-bottom: 1px solid #bfc9ce;

    background: #fff;
}

.sn-admin-request-content {
    white-space: normal;
    line-height: 1.7;
    min-height: 80px;
}

.sn-admin-detail-bottom {
    margin-top: 15px;
    text-align: right;
}

.sn-admin-detail-button {
    display: inline-block;

    min-width: 80px;
    padding: 7px 15px;

    border: 1px solid #777;

    background: #f3f3f3 !important;

    color: #222 !important;

    text-align: center;
    text-decoration: none !important;
}


/* 문서 열람청구 관리 - 상세 링크 */
.sn-admin-request-link {
    color: #245b75 !important;
    background: transparent !important;
    text-decoration: underline !important;
    font-weight: normal !important;
}
.sn-admin-request-link:focus,
.sn-admin-request-link:active {
    color: #245b75 !important;
    background: transparent !important;
    text-decoration: underline !important;
}

.sn-admin-request-detail-button {
    display: inline-block;
    padding: 2px 7px;
    border: 1px solid #888;
    border-radius: 0;
    background: #f3f3f3 !important;
    color: #222 !important;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 18px;
    text-decoration: none !important;
    box-shadow: none !important;
}
.sn-admin-request-detail-button:focus,
.sn-admin-request-detail-button:active {
    border-color: #888 !important;
    background: #f3f3f3 !important;
    color: #222 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}



/* =========================================================
   성나라 1.0 - 내 문서 열람청구
   ========================================================= */

.sn-my-requests,
.sn-my-request-detail {
    width: 1040px !important;
    min-width: 1040px !important;
    max-width: 1040px !important;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    color: #333;
}


.sn-my-title {
    height: 38px;

    box-sizing: border-box;

    padding: 8px 6px;

    border-bottom: 2px solid #2f7897;

    font-family: Gulim, "굴림", sans-serif;
    font-size: 18px;
}


.sn-my-summary {
    padding: 9px 5px;

    color: #666;

    font-size: 11px;
}


/* 목록 */

.sn-my-table {
    width: 1040px;

    table-layout: fixed;
    border-collapse: collapse;

    border-top: 2px solid #2f7897;
    border-left: 1px solid #bcc7cc;
}


.sn-my-table th {
    height: 30px;

    padding: 5px;

    border-right: 1px solid #bcc7cc;
    border-bottom: 1px solid #bcc7cc;

    background: #e9edef !important;

    text-align: center;

    font-weight: normal;
}


.sn-my-table td {
    height: 34px;

    padding: 5px 7px;

    border-right: 1px solid #d0d6d9;
    border-bottom: 1px solid #d0d6d9;

    background: #fff !important;

    text-align: center;
}


.sn-my-no {
    width: 80px;
}

.sn-my-document {
    width: 390px;
}

.sn-my-date {
    width: 150px;
}

.sn-my-method {
    width: 120px;
}

.sn-my-status {
    width: 100px;
}

.sn-my-detail {
    width: 80px;
}


.sn-my-document-cell {
    text-align: left !important;
}

.sn-my-document-cell strong {
    color: #376a82;
}


.sn-my-empty {
    height: 70px !important;
    color: #777;
}


/* 상태 */

.sn-status-pending {
    color: #7c6424;
}

.sn-status-approved {
    color: #176c38;
}

.sn-status-rejected {
    color: #9a2929;
}


/* 링크 */

.sn-my-detail-link {
    color: #245b75 !important;
    background: transparent !important;

    text-decoration: underline !important;
}
.sn-my-detail-link:focus {
    color: #245b75 !important;
    background: transparent !important;
}


/* 상세 */

.sn-my-request-detail h2 {
    margin: 20px 0 6px;

    padding: 0 2px;

    font-family: Gulim, "굴림", sans-serif;
    font-size: 16px;
    font-weight: normal;
}


.sn-my-detail-table {
    width: 1040px;

    table-layout: fixed;
    border-collapse: collapse;

    border-top: 2px solid #2f7897;
    border-left: 1px solid #bcc7cc;
}


.sn-my-detail-table th {
    width: 145px;

    padding: 8px 10px;

    border-right: 1px solid #bcc7cc;
    border-bottom: 1px solid #bcc7cc;

    background: #eceff0 !important;

    text-align: left;

    font-weight: normal;
}


.sn-my-detail-table td {
    padding: 8px 10px;

    border-right: 1px solid #bcc7cc;
    border-bottom: 1px solid #bcc7cc;

    background: #fff !important;
}


.sn-my-content {
    min-height: 70px;

    white-space: normal;

    line-height: 1.7;
}


/* 버튼 */

.sn-my-bottom,
.sn-my-approved-action {
    margin-top: 15px;

    text-align: right;
}


.sn-my-button,
.sn-my-main-button {
    display: inline-block;

    min-width: 80px;

    padding: 7px 15px;

    border-radius: 0;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;

    text-align: center;
    text-decoration: none !important;

    box-shadow: none !important;
}


.sn-my-button {
    border: 1px solid #777;

    background: #f3f3f3 !important;

    color: #222 !important;
}


.sn-my-main-button {
    border: 1px solid #176e8b;

    background: #327f9c !important;

    color: #fff !important;
}
.sn-my-button:focus {
    border-color: #777 !important;

    background: #f3f3f3 !important;

    color: #222 !important;
}
.sn-my-main-button:focus {
    border-color: #176e8b !important;

    background: #327f9c !important;

    color: #fff !important;
}



/* =========================================================
   성나라 1.0 - 문서 열람청구 처리결정
   ========================================================= */

.sn-admin-decision {
    width: 1040px;
    min-width: 1040px;
    max-width: 1040px;

    margin-top: 24px;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
}


.sn-admin-decision h2 {
    margin: 0 0 6px;
    padding: 0 2px;

    font-family: Gulim, "굴림", sans-serif;
    font-size: 16px;
    font-weight: normal;
}


.sn-admin-decision-table td {
    background: #fff !important;
}


.sn-admin-decision-option {
    display: inline-block;

    margin-right: 30px;

    color: #222;
    font-weight: normal;
}


.sn-admin-decision-option input {
    width: auto !important;
    height: auto !important;

    margin: 0 4px 0 0;

    vertical-align: middle;
}


.sn-admin-decision-note {
    display: block;

    width: 820px;
    min-width: 820px;
    max-width: 820px;

    height: 95px;
    min-height: 95px;
    max-height: 95px;

    box-sizing: border-box;

    padding: 6px;

    border: 1px solid #aeb8bd;
    border-radius: 0;

    background: #fff !important;

    color: #222;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;

    resize: none;
    box-shadow: none;
}
.sn-admin-decision-note:focus,
.sn-admin-decision-note:active {
    border-color: #aeb8bd !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none;
}


.sn-admin-decision-guide {
    margin-top: 5px;

    color: #777;
    font-size: 11px;
}


.sn-admin-decision-submit {
    margin-top: 8px;

    text-align: right;
}


.sn-admin-decision-submit-button {
    min-width: 90px;

    padding: 6px 14px;

    border: 1px solid #176e8b;
    border-radius: 0;

    background: #327f9c !important;

    color: #fff !important;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;

    cursor: pointer;

    box-shadow: none !important;
}
.sn-admin-decision-submit-button:focus,
.sn-admin-decision-submit-button:active {
    border-color: #176e8b !important;
    background: #327f9c !important;
    color: #fff !important;
    box-shadow: none !important;
}



/* 성나라 보안 첨부파일 목록 */

.sn-secure-file-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;

    border-top: 1px solid #9fb4bf;
    border-left: 1px solid #c2ccd1;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-secure-file-table th {
    height: 27px;

    border-right: 1px solid #c2ccd1;
    border-bottom: 1px solid #c2ccd1;

    background: #eceff0 !important;

    text-align: center;
    font-weight: normal;
}

.sn-secure-file-table td {
    height: 31px;

    padding: 4px 7px;

    border-right: 1px solid #d1d8dc;
    border-bottom: 1px solid #d1d8dc;

    background: #fff !important;

    text-align: center;
}

.sn-secure-file-table td.sn-secure-file-name {
    text-align: left;
}

.sn-secure-download-button {
    display: inline-block;

    padding: 2px 8px;

    border: 1px solid #888;
    border-radius: 0;

    background: #f3f3f3 !important;
    color: #222 !important;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;

    text-decoration: none !important;
    box-shadow: none !important;
}
.sn-secure-download-button:focus,
.sn-secure-download-button:active {
    border-color: #888 !important;
    background: #f3f3f3 !important;
    color: #222 !important;
    text-decoration: none !important;
}



/* 성나라 비인가 문서 - 첨부파일 안내 */
.sn-gate-viewer-message {
    width: 100%;
    padding: 0;
    margin: 0;

    color: #777;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
}


/* 성나라 문서작성 링크 버튼 */
a.sn-write-button {
    display: block;
    box-sizing: border-box;
    width: calc(100% - 20px);
    height: 36px;
    line-height: 36px;
    margin: 10px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

a.sn-write-button:link,
a.sn-write-button:visited,
a.sn-write-button:active {
    text-decoration: none;
}



/* =========================================================
   성나라 1.0 - 구형 문서작성 버튼
   ========================================================= */

.sn-sidebar a.sn-write-button {
    display: block !important;
    box-sizing: border-box !important;

    width: calc(100% - 18px) !important;
    height: 30px !important;

    margin: 7px 9px 9px !important;
    padding: 0 !important;

    border: 1px solid #6c8999 !important;
    border-radius: 0 !important;

    background:
        linear-gradient(
            to bottom,
            #f7fbfd 0%,
            #dae7ed 48%,
            #bfd5df 49%,
            #d9e7ed 100%
        ) !important;

    box-shadow:
        inset 1px 1px 0 #ffffff,
        inset -1px -1px 0 #91aab7 !important;

    color: #143f57 !important;

    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;

    line-height: 28px !important;
    text-align: left !important;
    text-decoration: none !important;

    cursor: pointer !important;
}

.sn-sidebar a.sn-write-button .sn-write-icon {
    display: inline-block !important;

    width: 28px !important;
    height: 28px !important;

    margin: 0 9px 0 0 !important;

    border-right: 1px solid #9bb1bd !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #27688d !important;

    text-align: center !important;
    line-height: 28px !important;
}

.sn-sidebar a.sn-write-button .sn-write-label {
    display: inline !important;
}
.sn-sidebar a.sn-write-button:active,
.sn-sidebar a.sn-write-button:visited {
    color: #143f57 !important;
    text-decoration: none !important;
    background:
        linear-gradient(
            to bottom,
            #f7fbfd 0%,
            #dae7ed 48%,
            #bfd5df 49%,
            #d9e7ed 100%
        ) !important;
}


/* =========================================================
   성나라 1.0 - 온나라식 문서관리카드 레이어
   ========================================================= */

.sn-writer-layer {
    display: none;

    position: fixed;
    z-index: 50000;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(20, 38, 50, 0.22);
}

.sn-writer-layer.sn-open {
    display: block;
}

.sn-writer-window {
    position: absolute;

    left: 50%;
    top: 50px;

    width: 980px;
    height: 720px;

    margin-left: -490px;

    border: 1px solid #436982;
    border-radius: 0;

    background: #e8edf0;

    box-shadow:
        0 0 0 1px #ffffff,
        3px 4px 9px rgba(0,0,0,.38);

    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
}

.sn-writer-titlebar {
    height: 28px;

    border-bottom: 1px solid #244e68;

    background:
        linear-gradient(
            to bottom,
            #5e8fb0 0%,
            #396f94 48%,
            #2f6489 49%,
            #4b7fa0 100%
        );

    color: #ffffff;

    cursor: move;

    user-select: none;
}

.sn-writer-title {
    float: left;

    height: 28px;
    padding-left: 8px;

    font-weight: bold;
    line-height: 28px;

    text-shadow: 1px 1px #264d65;
}

.sn-writer-title-icon {
    margin-right: 5px;
    color: #d9f2ff;
}

.sn-writer-window-buttons {
    float: right;
    height: 28px;
    padding: 4px 5px 0 0;
}

.sn-writer-window-buttons button {
    display: inline-block;

    box-sizing: border-box;

    width: 20px;
    height: 19px;

    margin-left: 2px;
    padding: 0;

    border-top: 1px solid #dbeaf2;
    border-left: 1px solid #dbeaf2;
    border-right: 1px solid #294e66;
    border-bottom: 1px solid #294e66;
    border-radius: 0;

    background: #6e94aa;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;

    line-height: 16px;
    text-align: center;

    cursor: pointer;
}

.sn-writer-menubar {
    box-sizing: border-box;

    height: 27px;

    padding: 4px 7px 0;

    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #aebbc3;

    background: #e8ecef;

    color: #283b46;

    white-space: nowrap;
}

.sn-writer-menubar span {
    display: inline-block;

    height: 20px;
    padding: 0 10px;

    line-height: 20px;

    border-right: 1px solid #c2cbd0;
}

.sn-writer-toolbar {
    box-sizing: border-box;

    height: 33px;

    padding: 4px 7px;

    border-bottom: 1px solid #a6b4bc;

    background:
        linear-gradient(
            #f8fafb,
            #d9e0e4
        );

    white-space: nowrap;
}

.sn-writer-toolbar button {
    height: 23px;

    margin-right: 3px;
    padding: 0 10px;

    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #808b91;
    border-bottom: 1px solid #808b91;
    border-radius: 0;

    background: #e7ecef;

    color: #38464e;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-writer-toolbar button:disabled {
    opacity: 1;
    color: #66737a;
}

.sn-writer-toolbar-separator {
    display: inline-block;

    width: 1px;
    height: 19px;

    margin: 2px 9px -5px 5px;

    background: #adb8be;
}

.sn-writer-toolbar strong {
    color: #195a7b;
}

.sn-writer-frame-wrap {
    position: absolute;

    left: 4px;
    right: 4px;
    top: 118px;
    bottom: 23px;

    border-top: 1px solid #7d8c94;
    border-left: 1px solid #7d8c94;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;

    background: #ffffff;
}

.sn-writer-frame-wrap iframe {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: #ffffff;
}

.sn-writer-statusbar {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    box-sizing: border-box;

    height: 22px;

    padding: 0 7px;

    border-top: 1px solid #a5b0b6;

    background: #dce3e7;

    color: #53616a;

    line-height: 21px;
}

.sn-writer-statusbar span:first-child {
    float: left;
}

.sn-writer-statusbar span:last-child {
    float: right;
}


/* 최소화 상태 */
.sn-writer-window.sn-minimized {
    height: 29px;
}

.sn-writer-window.sn-minimized .sn-writer-menubar,
.sn-writer-window.sn-minimized .sn-writer-toolbar,
.sn-writer-window.sn-minimized .sn-writer-frame-wrap,
.sn-writer-window.sn-minimized .sn-writer-statusbar {
    display: none;
}



/* =========================================================
   성나라 1.0 - 문서양식 관리
   ========================================================= */

.sn-form-admin {
    width: 100%;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    color: #26363e;
}

.sn-form-admin-title {
    height: 29px;
    padding: 0 9px;
    border: 1px solid #607d8b;
    background: linear-gradient(#6d98ae, #48778f);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 29px;
}

.sn-form-admin-info,
.sn-form-admin-list,
.sn-form-admin-edit-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sn-form-admin-info {
    margin: 6px 0 10px;
    border-top: 1px solid #9eacb3;
    border-left: 1px solid #9eacb3;
}

.sn-form-admin-info th,
.sn-form-admin-info td,
.sn-form-admin-list th,
.sn-form-admin-list td,
.sn-form-admin-edit-table th,
.sn-form-admin-edit-table td {
    border-right: 1px solid #aeb9bf;
    border-bottom: 1px solid #aeb9bf;
}

.sn-form-admin-info th,
.sn-form-admin-edit-table th {
    width: 110px;
    padding: 6px 7px;
    background: #e5eaed;
    text-align: left;
    font-weight: normal;
}

.sn-form-admin-info td,
.sn-form-admin-edit-table td {
    padding: 6px 8px;
    background: #fff;
}

.sn-form-admin-section {
    height: 25px;
    margin-top: 10px;
    padding-left: 8px;
    border: 1px solid #a4b1b8;
    background: linear-gradient(#f8fafb, #dfe5e8);
    color: #304b5a;
    font-weight: bold;
    line-height: 25px;
}

.sn-form-admin-list {
    border-left: 1px solid #aeb9bf;
}

.sn-form-admin-list th {
    height: 27px;
    padding: 0 5px;
    background: #dce3e7;
    font-weight: normal;
    text-align: center;
}

.sn-form-admin-list td {
    padding: 5px 6px;
    background: #fff;
    line-height: 17px;
}

.sn-form-no {
    width: 42px;
}

.sn-form-format {
    width: 55px;
}

.sn-form-file {
    width: 180px;
}

.sn-form-order {
    width: 48px;
}

.sn-form-state {
    width: 55px;
}

.sn-form-manage {
    width: 185px;
}

.sn-center {
    text-align: center;
}

.sn-form-description {
    margin-top: 2px;
    color: #66757d;
    font-size: 11px;
}

.sn-form-default {
    color: #005e94;
}

.sn-form-empty {
    height: 55px;
    text-align: center;
    color: #777;
}

.sn-inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.sn-old-button {
    display: inline-block;
    box-sizing: border-box;
    height: 22px;
    margin: 0 1px;
    padding: 0 7px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #7c898f;
    border-bottom: 1px solid #7c898f;
    border-radius: 0;
    background: #e4e9ec;
    color: #243840 !important;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 20px;
    text-decoration: none !important;
    vertical-align: middle;
    cursor: pointer;
}

button.sn-old-button {
    line-height: 18px;
}
.sn-old-button:active,
.sn-old-button:visited {
    background: #e4e9ec;
    color: #243840 !important;
    text-decoration: none !important;
}

.sn-old-button-main {
    font-weight: bold;
    color: #124966 !important;
}

.sn-form-admin-editor {
    margin: 0;
}

.sn-form-admin-edit-table {
    border-left: 1px solid #aeb9bf;
}

.sn-form-admin-edit-table input[type="text"] {
    box-sizing: border-box;
    width: 520px;
    height: 22px;
    padding: 2px 4px;
    border: 1px solid #98a7ae;
    border-radius: 0;
    background: #fff;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}
.sn-form-admin-edit-table input:focus {
    border-color: #98a7ae;
    background: #fff;
}

.sn-form-small-input {
    width: 70px !important;
    height: 22px;
    border: 1px solid #98a7ae;
    border-radius: 0;
}

.sn-current-file {
    margin-left: 8px;
    color: #425c69;
}

.sn-form-help {
    margin-top: 4px;
    color: #777;
}

.sn-form-admin-buttons {
    padding: 8px 0;
    text-align: right;
}



/* =========================================================
   성나라 1.0 - 문서양식 선택
   ========================================================= */

.sn-writer-formbar {
    box-sizing: border-box;
    height: 29px;
    padding: 3px 6px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #9eabb2;
    background: #e4e9ec;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 21px;
    white-space: nowrap;
}

.sn-writer-formbar-label {
    display: inline-block;
    width: 58px;
    color: #314750;
    font-weight: bold;
}

.sn-writer-current-form {
    display: inline-block;
    box-sizing: border-box;
    width: 360px;
    height: 21px;
    margin-right: 4px;
    padding: 0 6px;
    border-top: 1px solid #7f8c93;
    border-left: 1px solid #7f8c93;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    background: #ffffff;
    color: #233840;
    line-height: 19px;
    vertical-align: top;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sn-writer-small-button {
    box-sizing: border-box;
    height: 22px;
    margin: 0 1px;
    padding: 0 8px;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #727e84;
    border-bottom: 1px solid #727e84;
    border-radius: 0;
    background: #e1e6e9;
    color: #263941;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 18px;
    cursor: pointer;
}
.sn-writer-small-button:active {
    background: #e1e6e9;
    color: #263941;
}


.sn-form-picker-layer {
    display: none;
    position: fixed;
    z-index: 60000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 48, 55, .16);
}

.sn-form-picker-layer.sn-open {
    display: block;
}

.sn-form-picker-window {
    position: absolute;
    left: 50%;
    top: 145px;
    box-sizing: border-box;
    width: 570px;
    margin-left: -285px;
    border: 1px solid #4f6f80;
    border-radius: 0;
    background: #e8edef;
    box-shadow:
        2px 3px 6px rgba(0,0,0,.34);
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    color: #253740;
}

.sn-form-picker-titlebar {
    height: 26px;
    padding-left: 7px;
    border-bottom: 1px solid #284f68;
    background:
        linear-gradient(
            to bottom,
            #608fa9 0%,
            #3c708e 50%,
            #336581 51%,
            #4c7d97 100%
        );
    color: #ffffff;
    font-weight: bold;
    line-height: 26px;
}

.sn-form-picker-titlebar > span {
    float: left;
}

.sn-form-picker-titlebar button {
    float: right;
    box-sizing: border-box;
    width: 20px;
    height: 19px;
    margin: 3px 4px 0 0;
    padding: 0;
    border-top: 1px solid #dce8ee;
    border-left: 1px solid #dce8ee;
    border-right: 1px solid #27495c;
    border-bottom: 1px solid #27495c;
    border-radius: 0;
    background: #6e93a7;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 15px;
    cursor: pointer;
}

.sn-form-picker-info {
    height: 27px;
    padding: 0 8px;
    border-bottom: 1px solid #b5bfc4;
    background: #edf1f3;
    line-height: 27px;
}

.sn-form-picker-notice {
    padding: 8px 9px 6px;
    color: #42545d;
}

.sn-form-picker-table {
    width: calc(100% - 16px);
    margin: 0 8px;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 1px solid #87969d;
    border-left: 1px solid #87969d;
}

.sn-form-picker-table th,
.sn-form-picker-table td {
    border-right: 1px solid #aeb9be;
    border-bottom: 1px solid #aeb9be;
}

.sn-form-picker-table th {
    height: 25px;
    padding: 0 5px;
    background: #d9e0e4;
    font-weight: normal;
    text-align: center;
}

.sn-form-picker-table td {
    height: 26px;
    padding: 0 6px;
    background: #ffffff;
    line-height: 26px;
}

.sn-form-picker-table tr.sn-selected td {
    background: #dceaf1;
}

.sn-picker-radio {
    width: 42px;
    text-align: center;
}

.sn-picker-format {
    width: 58px;
    text-align: center;
}

.sn-picker-state {
    width: 58px;
    text-align: center;
}

.sn-form-picker-loading {
    height: 56px !important;
    text-align: center;
    color: #6f7b80;
}

.sn-form-picker-description {
    box-sizing: border-box;
    min-height: 37px;
    margin: 7px 8px 0;
    padding: 5px 7px;
    border-top: 1px solid #8e9ca3;
    border-left: 1px solid #8e9ca3;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    background: #f7f8f8;
    color: #53636b;
    line-height: 15px;
}

.sn-form-picker-buttons {
    padding: 8px;
    border-top: 1px solid #c2c9cd;
    text-align: right;
}



/* =========================================================
   성나라 1.0 - 문서등록
   ========================================================= */

.sn-writer-docbar {
    box-sizing: border-box;
    height: 29px;
    padding: 3px 6px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #9eabb2;
    background: #d9e0e4;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 21px;
    white-space: nowrap;
}

.sn-writer-docbar-label {
    display: inline-block;
    width: 52px;
    color: #304650;
    font-weight: bold;
}

.sn-writer-docbar-access-label {
    width: 31px;
    margin-left: 5px;
}

.sn-writer-title-input {
    box-sizing: border-box;
    width: 340px;
    height: 21px;
    padding: 1px 4px;
    border-top: 1px solid #77868d;
    border-left: 1px solid #77868d;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    background: #ffffff;
    color: #1f3038;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    vertical-align: top;
}

.sn-writer-access-select {
    box-sizing: border-box;
    width: 76px;
    height: 21px;
    border: 1px solid #85939a;
    border-radius: 0;
    background: #ffffff;
    color: #263941;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    vertical-align: top;
}

.sn-writer-featured {
    display: inline-block;
    margin-left: 6px;
    margin-right: 4px;
    line-height: 20px;
    vertical-align: top;
}

.sn-writer-featured input {
    margin: 3px 2px 0 0;
    vertical-align: top;
}

.sn-writer-register-button {
    font-weight: bold;
}

.sn-writer-register-state {
    display: inline-block;
    margin-left: 5px;
    color: #52646c;
}

/*
 * 문서제목 바 29px 추가분.
 * 기존 선언을 건드리지 않고 마지막 override.
 */
.sn-writer-frame-wrap {
    top: 147px;
}


/* =========================================================
   성나라 1.0 - 홈 주요 전자문서
   ========================================================= */

.sn-home-portal {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    font-family:
        Dotum,
        "돋움",
        Gulim,
        "굴림",
        sans-serif;
    font-size: 11px;
    color: #273840;
}

.sn-home-section-title {
    box-sizing: border-box;
    height: 31px;
    padding: 0 8px;
    border-top: 2px solid #557f95;
    border-bottom: 1px solid #9caab1;
    background: #e2e8eb;
    line-height: 29px;
}

.sn-home-section-title strong {
    font-size: 12px;
    color: #24495c;
}

.sn-home-section-title span {
    margin-left: 8px;
    color: #718087;
    font-weight: normal;
}

.sn-home-section-info {
    box-sizing: border-box;
    height: 30px;
    padding: 0 9px;
    border-bottom: 1px solid #c2cbd0;
    background: #f5f6f6;
    color: #596a72;
    line-height: 29px;
}

.sn-home-document-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-left: 1px solid #9ba8ae;
    border-top: 1px solid #9ba8ae;
}

.sn-home-document-table th,
.sn-home-document-table td {
    box-sizing: border-box;
    height: 28px;
    padding: 0 6px;
    border-right: 1px solid #b4bec3;
    border-bottom: 1px solid #b4bec3;
    font-weight: normal;
}

.sn-home-document-table th {
    background: #d8dfe3;
    color: #34474f;
    text-align: center;
}

.sn-home-document-table td {
    background: #ffffff;
    color: #2c3d45;
}

.sn-home-document-table a,
.sn-home-document-table a:visited,
.sn-home-document-table a:active {
    color: #203e50;
    text-decoration: none;
}

.sn-home-no {
    width: 54px;
    text-align: center;
}

.sn-home-access {
    width: 78px;
    text-align: center;
}

.sn-home-author {
    width: 90px;
    text-align: center;
}

.sn-home-date {
    width: 92px;
    text-align: center;
}

.sn-home-empty {
    height: 72px !important;
    color: #78868c !important;
    text-align: center !important;
}

.sn-home-document-footer {
    box-sizing: border-box;
    height: 29px;
    padding: 0 7px;
    border-bottom: 1px solid #b8c1c6;
    background: #f5f6f6;
    color: #68787f;
    line-height: 28px;
}


/* 성나라 문서 전파사항 */

.sn-writer-notebar {
    box-sizing: border-box;
    height: 53px;
    padding: 4px 6px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #9eabb2;
    background: #e4e9ec;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-writer-notebar-label {
    display: inline-block;
    width: 58px;
    padding-top: 4px;
    color: #304650;
    font-weight: bold;
    vertical-align: top;
}

.sn-writer-note-input {
    box-sizing: border-box;
    width: 610px;
    height: 43px;
    padding: 4px 5px;
    border-top: 1px solid #77868d;
    border-left: 1px solid #77868d;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    resize: none;
    background: #ffffff;
    color: #25363e;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 16px;
    vertical-align: top;
}

/* 전파사항 53px 추가분 */
.sn-writer-frame-wrap {
    top: 200px;
}

.sn-approved-body-title {
    margin-top: 14px;
    padding: 6px 8px;
    border-top: 2px solid #3f7897;
    border-bottom: 1px solid #aebbc2;
    background: #e6ebee;
    color: #263f4d;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: bold;
}

.sn-approved-bottom button.sn-gate-button {
    font-family: Dotum, "돋움", sans-serif;
    cursor: pointer;
}


/* 성나라 문서 수정이력 */

.sn-history {
    margin-top: 18px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-history-title {
    padding: 6px 8px;
    border-top: 2px solid #3f7897;
    border-bottom: 1px solid #9eabb2;
    background: #e5eaed;
    color: #253d4b;
    font-weight: bold;
}

.sn-history-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sn-history-table th,
.sn-history-table td {
    padding: 5px 6px;
    border: 1px solid #c4cdd2;
    text-align: center;
    vertical-align: middle;
}

.sn-history-table th {
    background: #edf0f2;
    color: #304550;
    font-weight: normal;
}

.sn-history-table td:nth-child(1) {
    width: 55px;
}

.sn-history-table td:nth-child(2) {
    width: 125px;
}

.sn-history-table td:nth-child(3) {
    width: 90px;
}


/* =========================================================
   메모보고
   ========================================================= */

.sn-memo-page {
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    color: #333;
}

.sn-memo-titlebar {
    margin-bottom: 12px;
    padding: 7px 9px;
    border: 1px solid #9aa8b0;
    background: #eef1f3;
}

.sn-memo-titlebar strong {
    color: #17658c;
}

.sn-memo-section-title {
    padding: 6px 8px;
    border-top: 2px solid #4c7e98;
    border-left: 1px solid #aab4ba;
    border-right: 1px solid #aab4ba;
    background: #e4e9ec;
    font-weight: bold;
}

.sn-memo-write-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sn-memo-write-table th,
.sn-memo-write-table td {
    border: 1px solid #bcc5ca;
    padding: 6px 7px;
}

.sn-memo-write-table th {
    width: 105px;
    background: #f0f2f3;
    text-align: center;
    font-weight: normal;
}

.sn-memo-write-table input[type="text"],
.sn-memo-write-table textarea {
    box-sizing: border-box;
    border: 1px solid #9ca8af;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
}

.sn-memo-recipient {
    width: calc(100% - 95px);
    height: 24px;
}

.sn-memo-subject {
    width: 100%;
    height: 24px;
}

.sn-memo-content {
    width: 100%;
    min-height: 280px;
    padding: 7px;
    resize: vertical;
}

.sn-memo-write-table button,
.sn-memo-actions button,
.sn-memo-cancel {
    border: 1px solid #7e8b92;
    border-radius: 0;
    background: #f4f4f4;
    color: #222;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    text-decoration: none;
}

.sn-memo-write-table button {
    height: 24px;
    padding: 0 9px;
}

.sn-memo-help {
    margin-left: 6px;
    color: #777;
    font-size: 11px;
}

.sn-memo-actions {
    padding: 10px 0;
    text-align: right;
}

.sn-memo-actions button,
.sn-memo-cancel {
    display: inline-block;
    min-width: 62px;
    height: 25px;
    margin-left: 3px;
    padding: 0 10px;
    line-height: 23px;
    text-align: center;
}

.sn-memo-actions button:disabled {
    color: #999;
    background: #ececec;
}


/* 메모보고 좌측메뉴 */

.sn-memo-submenu .sn-memo-disabled {
    display: block;
    padding: 7px 9px 7px 14px;
    border-top: 1px solid #d3d9dc;
    color: #999;
    background: #f1f3f4;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    cursor: default;
}

.sn-memo-write-button {
    margin-top: 10px;
}


/* 메모보고 대상자 선택 */

.sn-memo-recipient-page {
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-memo-recipient-search {
    padding: 8px;
    border: 1px solid #b7c2c8;
    border-top: 0;
    background: #f4f6f7;
}

.sn-memo-recipient-search label {
    margin-right: 7px;
    font-weight: bold;
}

.sn-memo-recipient-search input[type="text"] {
    width: 240px;
    height: 21px;
    border: 1px solid #8e9ca4;
    border-radius: 0;
}

.sn-memo-recipient-search button,
.sn-memo-recipient-actions button {
    height: 23px;
    padding: 0 12px;
    border: 1px solid #7d8b92;
    border-radius: 0;
    background: #f2f2f2;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-memo-search-help {
    margin-left: 8px;
    color: #777;
}

.sn-memo-recipient-table {
    width: 100%;
    margin-top: 8px;
    border-collapse: collapse;
    table-layout: fixed;
}

.sn-memo-recipient-table th,
.sn-memo-recipient-table td {
    height: 27px;
    padding: 3px 7px;
    border: 1px solid #bcc6cb;
}

.sn-memo-recipient-table th {
    background: #e7ecef;
    text-align: center;
    font-weight: normal;
}

.sn-memo-recipient-table td:first-child {
    text-align: center;
}

.sn-memo-recipient-empty {
    padding: 25px !important;
    text-align: center;
    color: #777;
}

.sn-memo-recipient-actions {
    padding-top: 10px;
    text-align: right;
}


/* 메모보고 선택대상 */

.sn-memo-selected-box {
    min-height: 31px;
    margin-top: 7px;
    padding: 6px 8px;
    border: 1px solid #b8c3c9;
    background: #eef2f4;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-memo-selected-box > strong {
    display: inline-block;
    width: 65px;
    vertical-align: top;
}

#sn-memo-selected-list {
    display: inline;
}

.sn-memo-selected-person {
    display: inline-block;
    margin: 0 4px 3px 0;
    padding: 2px 4px 2px 6px;
    border: 1px solid #9aa8af;
    background: #fff;
    white-space: nowrap;
}

.sn-memo-selected-remove {
    margin-left: 3px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    cursor: pointer;
}

.sn-memo-selected-empty {
    color: #888;
}


/* 보고한 메모 수신자별 열람상태 */

.sn-memo-read-status {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sn-memo-read-status th,
.sn-memo-read-status td {
    height: 25px;
    padding: 3px 6px;
    border: 1px solid #c0c9ce;
    text-align: center;
}

.sn-memo-read-status th {
    background: #edf0f2;
    font-weight: normal;
}

.sn-memo-read-status th:nth-child(1) {
    width: 35%;
}

.sn-memo-read-status th:nth-child(2) {
    width: 20%;
}

.sn-memo-view-content {
    min-height: 260px;
    padding: 10px;
    white-space: pre-wrap;
}


/* =========================================================
   성나라 1.0 화면규격 강제고정
   - 반응형 금지, 작은 화면은 축소하지 않고 가로스크롤
   - 1230px viewport + OS 세로 스크롤바(15~17px)를 고려해
     실제 고정 본체를 1200px(box-sizing: border-box)로 정렬
     => 1230px 창에서 horizontal overflow 0px
   - 좌측 190px(border 포함) + 업무영역 1008px + 좌우 외곽선 2px = 1200px
   ========================================================= */

html,
body {
    min-width: 1200px !important;
    box-sizing: border-box !important;
}

body {
    overflow-x: auto !important;
}

.sn-shell {
    min-width: 1200px !important;
    box-sizing: border-box !important;
}

.sn-width {
    width: 1200px !important;
    min-width: 1200px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.sn-workspace {
    display: grid !important;
    grid-template-columns: 190px 1008px !important;
    column-gap: 0 !important;

    width: 1200px !important;
    min-width: 1200px !important;
    max-width: 1200px !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.sn-sidebar {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    box-sizing: border-box !important;
}

.sn-content {
    width: 1008px !important;
    min-width: 1008px !important;
    max-width: 1008px !important;

    box-sizing: border-box !important;
}

/*
 * 본문 하위 고정폭 컨테이너는 부모 .sn-content 내부(100%)에 맞춰 정렬
 */
.sn-memo-page,
.sn-memo-write-table,
.sn-memo-recipient-table,
.sn-content .sn-request-form,
.sn-content .sn-request-page-title,
.sn-content .sn-request-section,
.sn-content .sn-request-table,
.sn-content .sn-request-notice-box,
.sn-content .sn-request-agency,
.sn-content .sn-request-submit-area,
.sn-content .sn-admin-request-detail,
.sn-content .sn-admin-detail-table,
.sn-content .sn-my-requests,
.sn-content .sn-my-request-detail,
.sn-content .sn-my-table,
.sn-content .sn-my-detail-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* =========================================================
   성나라 1.0 메모보고 고정폭 보정
   전체 업무영역 1040px은 유지하고,
   내부 요소는 그 고정 영역의 content box를 사용한다.
   ========================================================= */

.sn-content {
    box-sizing: border-box !important;
}

/*
 * 부모 sn-content 자체가 1040px 고정이므로
 * 내부 100%는 브라우저 폭에 반응하지 않는다.
 */
.sn-memo-page {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.sn-memo-titlebar,
.sn-memo-section-title,
.sn-memo-write-table,
.sn-memo-recipient-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.sn-memo-write-table,
.sn-memo-recipient-table,
.sn-memo-read-status {
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.sn-memo-write-table th,
.sn-memo-write-table td,
.sn-memo-recipient-table th,
.sn-memo-recipient-table td,
.sn-memo-read-status th,
.sn-memo-read-status td {
    box-sizing: border-box !important;
}

/*
 * 작성 입력란 역시 고정된 표 셀 내부만 채운다.
 */
.sn-memo-subject,
.sn-memo-content,
.sn-memo-recipient {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

.sn-memo-subject,
.sn-memo-content {
    width: 100% !important;
}

.sn-memo-recipient {
    width: calc(100% - 95px) !important;
}


/* =========================================================
   성나라 1.0 문서상세 폭 보정
   부모 업무영역 1040px 고정 / 문서상세는 그 영역을 전부 사용
   ========================================================= */

.sn-content .sn-gate {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* 문서상세 내부 구성요소는 고정된 부모영역만 채운다. */
.sn-gate-titlebar,
.sn-gate-info,
.sn-approved-notice,
.sn-approved-body-title,
.sn-approved-body,
.sn-approved-files,
.sn-approved-bottom,
.sn-secure-file-table {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
}


/* =========================================================
   메모보고 관련 회신
   ========================================================= */

.sn-memo-thread {
    width: 100%;
    margin-top: 14px;
    box-sizing: border-box;
}

.sn-memo-thread-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;

    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-memo-thread-table th,
.sn-memo-thread-table td {
    height: 27px;
    padding: 3px 6px;

    border: 1px solid #c1cbd0;

    background: #fff;
    color: #333;

    box-sizing: border-box;
}

.sn-memo-thread-table th {
    background: #e9edef;
    font-weight: normal;
    text-align: center;
}

.sn-memo-thread-type {
    width: 58px;
}

.sn-memo-thread-sender {
    width: 95px;
}

.sn-memo-thread-date {
    width: 130px;
}

.sn-memo-thread-subject {
    text-align: left !important;
}

.sn-memo-thread-subject strong {
    color: #174f72;
}


/* =========================================================
   메모보고 작성 화면 전용 외형 정돈 (TASK-01)
   - .sn-memo-write-page 하위로 범위 격리
   - 테마 중립 규격/배치/밀도 + 라이트 색상(html:not([data-sn-theme="dark"])) 분리
   ========================================================= */

.sn-memo-write-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.sn-memo-write-page .sn-memo-titlebar {
    margin: 0 0 8px;
    padding: 5px 8px;
    border-width: 1px;
    border-style: solid;
    font-size: 11px;
    line-height: 16px;
}

.sn-memo-write-page .sn-memo-section-title {
    margin: 0;
    padding: 5px 8px;
    border-style: solid;
    border-width: 2px 1px 0 1px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 17px;
}

.sn-memo-write-page .sn-memo-write-table {
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    border-top-width: 1px;
    border-top-style: solid;
}

.sn-memo-write-page .sn-memo-write-table th {
    width: 110px;
    height: auto;
    padding: 4px 8px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    box-shadow: none;
}

.sn-memo-write-page .sn-memo-write-table tbody tr td {
    height: auto;
    padding: 4px 8px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* 보고대상 필드 + 선택/회신대상 버튼 같은 행 고정 정렬 */
.sn-memo-write-page .sn-memo-recipient-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.sn-memo-write-page .sn-memo-recipient-row .sn-memo-recipient {
    flex: 1 1 auto;
    min-width: 0;
    /* 기존 말미 .sn-memo-recipient { width: calc(100% - 95px) !important; } 보정 */
    width: auto !important;
}

.sn-memo-write-page .sn-memo-recipient-row button {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* 입력란 규격 */
.sn-memo-write-page .sn-memo-write-table input[type="text"] {
    box-sizing: border-box;
    height: 22px;
    margin: 0;
    padding: 2px 6px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 16px;
    box-shadow: none;
    outline: none;
    transition: none;
}

.sn-memo-write-page .sn-memo-write-table textarea.sn-memo-content {
    display: block;
    box-sizing: border-box;
    margin: 0;
    min-height: 280px;
    padding: 6px 7px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    resize: vertical;
    box-shadow: none;
    outline: none;
    transition: none;
}

/* 작은 업무 버튼 규격 통일 (표 내부 + 하단 우측) */
.sn-memo-write-page .sn-memo-write-table button,
.sn-memo-write-page .sn-memo-actions button,
.sn-memo-write-page .sn-memo-actions .sn-memo-cancel {
    display: inline-block;
    box-sizing: border-box;
    height: 23px;
    margin: 0;
    padding: 0 10px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 21px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    transition: none;
}

.sn-memo-write-page .sn-memo-write-table button:disabled,
.sn-memo-write-page .sn-memo-actions button:disabled {
    cursor: default;
}

.sn-memo-write-page .sn-memo-help {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    line-height: 23px;
    vertical-align: middle;
}

.sn-memo-write-page .sn-memo-actions {
    padding: 8px 0 4px;
    text-align: right;
    font-size: 0;
}

.sn-memo-write-page .sn-memo-actions button,
.sn-memo-write-page .sn-memo-actions .sn-memo-cancel {
    min-width: 62px;
    margin-left: 4px;
}

.sn-memo-write-page .sn-memo-actions button:first-child {
    margin-left: 0;
}

.sn-memo-write-page #sn-memo-send {
    font-weight: bold;
}

/* 라이트 테마 전용 색상 (기존 [data-sn-theme="dark"] 미간섭) */
html:not([data-sn-theme="dark"]) .sn-memo-write-page {
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-titlebar {
    border-color: #aebac2;
    background: #eff2f4;
    color: #4d5b63;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-titlebar strong {
    color: #205777;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-section-title {
    border-top-color: #3f7195;
    border-left-color: #aebac2;
    border-right-color: #aebac2;
    background: linear-gradient(#f3f6f8, #e0e7eb);
    color: #263f4e;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table {
    border-color: #bcc6cc;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table th {
    border-color: #bcc6cc;
    background: #edf2f5;
    color: #2f3d46;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table tbody tr td,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table tbody tr:nth-child(even) td {
    border-color: #bcc6cc;
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table input[type="text"],
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table textarea.sn-memo-content {
    border-color: #9aa8b0;
    background: #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table input[type="text"]:focus,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table textarea.sn-memo-content:focus {
    border-color: #53819c;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table input[type="text"][readonly] {
    border-color: #b4c0c7;
    background: #f4f6f8;
    color: #445058;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table button,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions button,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions .sn-memo-cancel {
    border-top-color: #b5c0c7;
    border-left-color: #b5c0c7;
    border-right-color: #7d8b94;
    border-bottom-color: #7d8b94;
    background: linear-gradient(#ffffff, #e6ebee);
    box-shadow: inset 1px 1px 0 #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table button:hover,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions button:hover,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions .sn-memo-cancel:hover {
    border-color: #6d7f8a;
    background: linear-gradient(#ffffff, #dbe3e8);
    color: #111111;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table button:active,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions button:active,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions .sn-memo-cancel:active {
    border-top-color: #7d8b94;
    border-left-color: #7d8b94;
    border-right-color: #b5c0c7;
    border-bottom-color: #b5c0c7;
    background: #dfe5e9;
    box-shadow: inset 1px 1px 0 #c6cfd5;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page #sn-memo-send {
    border-top-color: #8b9da8;
    border-left-color: #8b9da8;
    border-right-color: #546976;
    border-bottom-color: #546976;
    background: linear-gradient(#f9fbfc, #dce4e9);
    color: #193748;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page #sn-memo-send:hover {
    border-color: #4b6575;
    background: linear-gradient(#f5f9fb, #cfdbe2);
    color: #102a38;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page #sn-memo-send:active {
    border-top-color: #546976;
    border-left-color: #546976;
    border-right-color: #8b9da8;
    border-bottom-color: #8b9da8;
    background: #d3dde3;
    box-shadow: inset 1px 1px 0 #b8c5cd;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table button:disabled,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table button:disabled:hover,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-write-table button:disabled:active,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions button:disabled,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions button:disabled:hover,
html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-actions button:disabled:active,
html:not([data-sn-theme="dark"]) .sn-memo-write-page #sn-memo-send:disabled,
html:not([data-sn-theme="dark"]) .sn-memo-write-page #sn-memo-send:disabled:hover,
html:not([data-sn-theme="dark"]) .sn-memo-write-page #sn-memo-send:disabled:active {
    border-color: #c9d0d4;
    background: #f2f4f5;
    box-shadow: none;
    color: #96a0a6;
}

html:not([data-sn-theme="dark"]) .sn-memo-write-page .sn-memo-help {
    color: #727e85;
}


/* =========================================================
   성나라 공통 레이아웃 외형 정돈 (TASK-02)
   - .sn-legacy-shell 하위 헤더·유틸리티·GNB·공지줄·사이드바 한정
   - 본문(.sn-content) 및 TASK-01 메모작성 UI 미간섭
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리
   ========================================================= */

/* 1. 헤더 3단 구조 (1단 유틸리티 · 2단 메인 네비게이션 · 3단 업무 도구 줄) */
.sn-legacy-shell .sn-utility {
    height: 28px;
}

.sn-legacy-shell .sn-utility-inner {
    height: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-legacy-shell .sn-utility-links,
.sn-legacy-shell .sn-utility-account {
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0;
    gap: 0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.sn-legacy-shell .sn-utility-links {
    justify-content: flex-start;
}

.sn-legacy-shell .sn-utility-account {
    justify-content: flex-end;
}

.sn-legacy-shell .sn-utility-link,
.sn-legacy-shell .sn-utility-user {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 28px;
    margin: 0;
    padding: 0 10px;
    line-height: 28px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-legacy-shell .sn-utility-links .sn-utility-link + .sn-utility-link::before,
.sn-legacy-shell .sn-utility-account .sn-utility-user + .sn-utility-link::before,
.sn-legacy-shell .sn-utility-account .sn-utility-link + .sn-utility-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 1px;
    height: 12px;
}

.sn-legacy-shell .sn-utility-badge {
    display: inline-block;
    min-width: 15px;
    height: 15px;
    line-height: 15px;
    margin-left: 4px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    border-radius: 1px;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-header-inner {
    height: 58px;
    grid-template-columns: 190px 1fr;
    align-items: center;
}

.sn-legacy-shell .sn-brand {
    width: 190px;
    height: 100%;
    padding: 0 8px 0 10px;
    gap: 6px;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-legacy-shell .sn-brand-symbol {
    width: 38px;
    height: 34px;
    border-radius: 17px 17px 7px 7px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 18px;
    font-weight: bold;
    flex: 0 0 auto;
}

.sn-legacy-shell .sn-brand-name {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 23px;
    font-weight: bold;
    letter-spacing: -1.5px;
    line-height: 1;
}

.sn-legacy-shell .sn-gnb {
    height: 40px;
    margin-top: 10px;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    white-space: nowrap;
    overflow: hidden;
}

.sn-legacy-shell .sn-gnb a {
    box-sizing: border-box;
    height: 40px;
    min-width: 72px;
    padding: 0 15px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 38px;
    white-space: nowrap;
    flex: 0 0 auto;
    transition: none;
}

.sn-legacy-shell .sn-gnb a.sn-gnb-home {
    min-width: 52px;
    padding: 0 12px;
    border-radius: 0;
}

.sn-legacy-shell .sn-account {
    height: 100%;
    padding-right: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
}

.sn-legacy-shell .sn-account-name {
    max-width: 120px;
    margin-right: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-legacy-shell .sn-account a,
.sn-legacy-shell .sn-account button {
    flex: 0 0 auto;
    width: 26px;
    height: 24px;
    border-radius: 0;
    transition: none;
}

.sn-legacy-shell .sn-account .sn-login {
    width: auto;
    padding: 0 10px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: bold;
}

/* 3단: 통합 업무 도구 줄 (메뉴 바로가기 + 통합검색 + 사용자 찾기 + 알림 + 공지) */
.sn-legacy-shell .sn-tool-bar {
    height: 32px;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-tool-inner {
    height: 31px;
    display: grid;
    grid-template-columns: 190px 1010px;
    align-items: center;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-tool-inner .sn-quick-menu-wrap {
    width: 190px;
    height: 31px;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-tool-inner .sn-quick-menu {
    width: 190px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-legacy-shell .sn-tool-main {
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px;
    box-sizing: border-box;
    min-width: 0;
    white-space: nowrap;
}

.sn-legacy-shell .sn-tool-searches {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.sn-legacy-shell .sn-search-form {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    height: 22px;
    white-space: nowrap;
}

.sn-legacy-shell .sn-search-label {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: -0.3px;
    margin-right: 1px;
}

.sn-legacy-shell .sn-global-search-form input[type="text"] {
    width: 152px;
    height: 21px;
    padding: 0 6px;
    border-radius: 1px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-user-search {
    width: auto;
    height: 22px;
    margin: 0;
}

.sn-legacy-shell .sn-user-search input[type="text"] {
    width: 132px;
    height: 21px;
    padding: 0 6px;
    border-radius: 1px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-search-form button {
    width: auto;
    min-width: 36px;
    height: 21px;
    padding: 0 7px;
    border-radius: 1px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: bold;
    line-height: 19px;
    cursor: pointer;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-tool-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow: hidden;
}

.sn-legacy-shell .sn-tool-alert-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 21px;
    padding: 0 7px;
    border-radius: 1px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    flex: 0 0 auto;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-tool-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 310px;
    min-width: 0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    text-decoration: none;
}

.sn-legacy-shell .sn-tool-notice-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 좌측 하단 외부 바로가기 (업무 메뉴와 분리된 얇은 footer-style 링크) */
.sn-legacy-shell .sn-sidebar .sn-sidebar-footer {
    margin-top: 10px;
    padding: 8px 6px 4px;
    border-top: 1px solid #d1d9e0;
}

.sn-legacy-shell .sn-sidebar .sn-sidebar-ext-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 26px;
    padding: 0 8px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    text-decoration: none;
    border-radius: 1px;
    box-sizing: border-box;
}

.sn-legacy-shell .sn-sidebar .sn-sidebar-banner-img {
    display: block;
    margin-top: 4px;
}

.sn-legacy-shell .sn-sidebar .sn-sidebar-banner-img img {
    display: block;
    width: 100%;
    height: auto;
}
    align-items: center;
}

.sn-legacy-shell .sn-quick-menu {
    box-sizing: border-box;
    width: 190px;
    height: 100%;
    padding: 0 10px;
    gap: 8px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.sn-legacy-shell .sn-notice-label {
    box-sizing: border-box;
    height: 100%;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.sn-legacy-shell .sn-notice-content {
    box-sizing: border-box;
    height: 100%;
    padding: 0 10px;
    line-height: 25px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

/* 3. 좌측 업무 메뉴 공통 규격·들여쓰기·정렬 */
.sn-legacy-shell .sn-sidebar {
    box-sizing: border-box;
    padding-bottom: 14px;
}

.sn-legacy-shell .sn-sidebar .sn-side-title {
    box-sizing: border-box;
    height: 40px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -1px;
}

.sn-legacy-shell .sn-sidebar .sn-side-counts {
    padding: 7px 10px 6px;
}

.sn-legacy-shell .sn-sidebar .sn-side-counts div {
    line-height: 19px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-legacy-shell .sn-sidebar a.sn-write-button {
    height: 30px !important;
    margin: 8px 9px 9px !important;
    line-height: 28px !important;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;
    transition: none !important;
}

.sn-legacy-shell .sn-sidebar .sn-menu-block {
    border-top: 0;
}

.sn-legacy-shell .sn-sidebar .sn-menu-block > button {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    padding: 0 10px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 28px;
    transition: none;
}

.sn-legacy-shell .sn-sidebar .sn-menu-block > button span {
    font-size: 10px;
    line-height: 1;
}

.sn-legacy-shell .sn-sidebar .sn-submenu {
    padding: 3px 0;
}

.sn-legacy-shell .sn-sidebar .sn-submenu a,
.sn-legacy-shell .sn-sidebar .sn-memo-submenu .sn-memo-disabled {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: 24px;
    padding: 0 10px 0 20px;
    border-top: 0;
    border-bottom: 0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sn-legacy-shell .sn-sidebar .sn-submenu a::before,
.sn-legacy-shell .sn-sidebar .sn-memo-submenu .sn-memo-disabled::before {
    content: "·";
    display: inline-block;
    width: auto;
    height: auto;
    margin-right: 5px;
    background: transparent;
    font-weight: bold;
    line-height: 1;
}

.sn-legacy-shell .sn-sidebar .sn-submenu a.active {
    padding-left: 20px;
    font-weight: bold;
}

.sn-legacy-shell .sn-sidebar .sn-side-action {
    box-sizing: border-box;
    height: 32px;
    margin: 4px 5px 0;
    padding: 0 10px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
}

.sn-legacy-shell .sn-sidebar .sn-banners {
    padding: 6px 5px 4px;
}

.sn-legacy-shell .sn-sidebar .sn-banner-placeholder {
    box-sizing: border-box;
    height: 50px;
    margin: 0 0 4px;
}

/* 4. 라이트 테마 전용 색상 (온나라 청남색 계열, 기존 [data-sn-theme="dark"] 미간섭) */
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility {
    background: linear-gradient(to bottom, #2f5389 0%, #244373 100%);
    border-bottom: 1px solid #1b345c;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.14);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-links,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-account {
    color: #dbe7f7;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-link {
    color: #dbe7f7;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-link:hover,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    text-decoration: underline;
    outline: none;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-link:focus-visible {
    box-shadow: inset 0 0 0 1px #9be8ff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-link.is-active {
    color: #ffffff;
    font-weight: bold;
    background: rgba(16, 36, 68, 0.48);
    box-shadow: inset 0 -2px 0 #8bd8ff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-user {
    color: #f0f6ff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-user strong {
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-links .sn-utility-link + .sn-utility-link::before,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-account .sn-utility-user + .sn-utility-link::before,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-account .sn-utility-link + .sn-utility-link::before {
    background: rgba(219, 231, 247, 0.34);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-badge {
    background: #d9534f;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-utility-login {
    color: #ffffff;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-header {
    background: linear-gradient(
        to bottom,
        #4e76b4 0%,
        #3e65a2 50%,
        #325690 100%
    );
    border-top: 1px solid #6b91c8;
    border-bottom: 1px solid #234070;
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px rgba(0, 0, 0, 0.18);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-brand-symbol {
    color: #2f5490;
    background: linear-gradient(#ffffff, #e5edf7);
    border: 1px solid #b8cae2;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-gnb a {
    color: #eef4fc;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(21, 44, 82, 0.42);
    text-shadow: 0 1px rgba(0, 0, 0, 0.22);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-gnb a:hover {
    color: #ffffff;
    background: rgba(20, 44, 84, 0.26);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-gnb a.sn-active {
    color: #9be8ff;
    background: linear-gradient(#26487f, #1e3b6b);
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.35),
        inset 0 -2px 0 #7fd2ff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-account-name {
    color: #e9f1fc;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-account a,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-account button {
    border: 1px solid #6b8fc2;
    background: linear-gradient(#5c83be, #3d649f);
    color: #ffffff;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-account a:hover,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-account button:hover {
    border-color: #88a9d6;
    background: linear-gradient(#668dc7, #4870ad);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-bar {
    background: #eef3f8;
    border-bottom: 1px solid #b5c3d1;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-inner .sn-quick-menu {
    background: linear-gradient(to bottom, #3b63a0 0%, #2b4f87 100%);
    color: #ffffff;
    border-right: 1px solid #214070;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-inner .sn-quick-menu:hover {
    background: linear-gradient(to bottom, #456fae 0%, #335b96 100%);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-search-label {
    color: #243b55;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-search-form input[type="text"] {
    border: 1px solid #9eb2c6;
    background: #ffffff;
    color: #1f2b38;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-search-form input[type="text"]:focus {
    border-color: #325e99;
    outline: none;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-search-form button {
    border: 1px solid #8ca3bc;
    background: linear-gradient(to bottom, #ffffff 0%, #e4ecf5 100%);
    color: #1f3c60;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-search-form button:hover,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-search-form button:focus-visible {
    border-color: #5d7ea6;
    background: linear-gradient(to bottom, #ffffff 0%, #d7e4f2 100%);
    color: #143255;
    outline: none;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-alert-link {
    border: 1px solid #b1c2d4;
    background: #ffffff;
    color: #203c5c;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-alert-link:hover,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-alert-link.is-active {
    border-color: #4f77a8;
    background: #e3eef9;
    color: #16375d;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-alert-count {
    color: #5b6d80;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-alert-count.has-count {
    color: #b92c28;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-notice-link {
    color: #364758;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-tool-notice-link:hover {
    color: #173d68;
    text-decoration: underline;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-sidebar-ext-link {
    border: 1px solid #c3ced8;
    background: #eef2f6;
    color: #344c66;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-sidebar-ext-link:hover {
    border-color: #8fa6be;
    background: #e3ebf3;
    color: #1b3d63;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-notice {
    background: #ffffff;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #b5c1ce;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-quick-menu {
    background: linear-gradient(#375e9a, #284b82);
    border-right: 1px solid #224070;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-notice-label {
    background: linear-gradient(#426dae, #305796);
    border-right: 1px solid #294c84;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-notice-content {
    background: #ffffff;
    border-top: 0;
    border-bottom: 0;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-notice-category {
    color: #2b5494;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar {
    background: #ffffff;
    border-right: 1px solid #b4c0cc;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-side-title {
    background: linear-gradient(#537ab6, #3d64a1);
    border-top: 1px solid #7396ca;
    border-right: 1px solid #2d5189;
    border-bottom: 1px solid #28497d;
    border-left: 1px solid #6c8fc4;
    color: #ffffff;
    text-shadow: 0 1px rgba(0, 0, 0, 0.2);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-side-counts {
    background: #ffffff;
    border-bottom: 1px solid #d5dde5;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-side-counts div {
    color: #44505c;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-side-counts strong {
    color: #29528f;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar a.sn-write-button,
html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar a.sn-write-button:visited {
    border: 1px solid #234375 !important;
    background: linear-gradient(
        to bottom,
        #4872b2 0%,
        #365f9e 50%,
        #2b508a 100%
    ) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16) !important;
    color: #ffffff !important;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar a.sn-write-button:hover {
    background: linear-gradient(
        to bottom,
        #537ec0 0%,
        #3f6aa9 50%,
        #325a96 100%
    ) !important;
    color: #ffffff !important;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar a.sn-write-button:active {
    background: #284b82 !important;
    color: #ffffff !important;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar a.sn-write-button .sn-write-icon {
    border-right: 1px solid rgba(255, 255, 255, 0.24) !important;
    color: #dcecff !important;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block {
    border-bottom: 1px solid #d5dde5;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block > button {
    background: #ffffff;
    color: #2f3a45;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block > button:hover {
    background: #f3f7fc;
    color: #1e4682;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block.sn-menu-open > button {
    background: #f1f5fb;
    color: #1f4885;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block > button span {
    color: #7c8a98;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-submenu {
    background: #fafbfd;
    border-top: 1px solid #e3e9f0;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-submenu a {
    color: #4b5764;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-submenu a::before {
    color: #7f8f9f;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-submenu a:hover {
    background: #eef4fb;
    color: #1e4b8a;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-submenu a.active {
    background: #e1eefb;
    color: #1a4a8c;
    box-shadow: inset 3px 0 0 #3362a6;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-submenu a.active::before {
    color: #1a4a8c;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-memo-submenu .sn-memo-disabled {
    background: transparent;
    color: #9aa4ae;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-memo-submenu .sn-memo-disabled::before {
    color: #b4bdc6;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-side-action {
    border: 1px solid #2e528a;
    background: linear-gradient(#537ab6, #3d64a1);
    color: #ffffff;
    text-shadow: 0 1px rgba(0, 0, 0, 0.22);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-banner-placeholder {
    border: 1px solid #2d5086;
    background: linear-gradient(#4d75b0, #385e99);
    color: #ffffff;
}


/* =========================================================
   메모보고 목록 화면 전용 외형 정돈 (TASK-03)
   - 보고받은 메모(.sn-memo-received-page) / 보고한 메모(.sn-memo-sent-page)
   - .sn-memo-list-page 하위로 격리 (.sn-memo-page, .sn-memo-recipient-table 전역 미간섭)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리
   ========================================================= */

.sn-memo-list-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.sn-memo-list-page .sn-memo-titlebar {
    margin: 0 0 8px;
    padding: 5px 8px;
    border-width: 1px;
    border-style: solid;
    font-size: 11px;
    line-height: 16px;
}

.sn-memo-list-page .sn-memo-section-title {
    margin: 0;
    padding: 5px 8px;
    border-style: solid;
    border-width: 2px 1px 0 1px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 17px;
}

.sn-memo-list-page .sn-memo-recipient-table {
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    border-top-width: 1px;
    border-top-style: solid;
}

.sn-memo-list-page .sn-memo-recipient-table thead th {
    box-sizing: border-box;
    height: 28px;
    padding: 0 6px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 26px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: none;
}

.sn-memo-list-page .sn-memo-recipient-table tbody td {
    box-sizing: border-box;
    height: 28px;
    padding: 0 6px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 26px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 제목 열 왼쪽 정렬 및 한 줄 말줄임 (DOM 문자열·링크 보존) */
.sn-memo-received-page .sn-memo-recipient-table tbody td:nth-child(2),
.sn-memo-sent-page .sn-memo-recipient-table tbody td:nth-child(1) {
    text-align: left;
}

.sn-memo-list-page .sn-memo-recipient-table tbody td a {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 26px;
    text-decoration: none;
    transition: none;
}

.sn-memo-list-page .sn-memo-recipient-table tbody td a:hover {
    text-decoration: underline;
}

/* 빈 목록 행: 4열 병합 중앙 정렬 및 안정적 높이 */
.sn-memo-list-page .sn-memo-recipient-table tbody tr td.sn-memo-recipient-empty {
    height: 76px;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* 라이트 테마 전용 색상 (기존 [data-sn-theme="dark"] 미간섭) */
html:not([data-sn-theme="dark"]) .sn-memo-list-page {
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-titlebar {
    border-color: #aebac2;
    background: #eff2f4;
    color: #4d5b63;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-titlebar strong {
    color: #205777;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-section-title {
    border-top-color: #3f7195;
    border-left-color: #aebac2;
    border-right-color: #aebac2;
    background: linear-gradient(#f3f6f8, #e0e7eb);
    color: #263f4e;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table {
    border-color: #bcc6cc;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table thead th {
    border-color: #bcc6cc;
    background: linear-gradient(#f2f6f9, #e4ebf0);
    color: #2b3c46;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table tbody tr td,
html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table tbody tr:nth-child(even) td {
    border-color: #cbd4da;
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table tbody tr:hover td:not(.sn-memo-recipient-empty) {
    background: #eef4fa;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table tbody td a {
    color: #1f4966;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table tbody td a:hover {
    color: #123652;
}

/* 보고받은 메모 읽음 / 미열람 구분 (기존 문구·strong 구조 유지) */
html:not([data-sn-theme="dark"]) .sn-memo-received-page .sn-memo-recipient-table tbody td:first-child {
    color: #6c7880;
}

html:not([data-sn-theme="dark"]) .sn-memo-received-page .sn-memo-recipient-table tbody td:first-child strong {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-memo-list-page .sn-memo-recipient-table tbody tr td.sn-memo-recipient-empty {
    background: #ffffff;
    color: #6f7a82;
}


/* =========================================================
   전자문서 순차 결재 화면 전용 스타일 (TASK-04)
   - .sn-approval-page 하위로 격리 (TASK-01·02·03 미간섭)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리
   ========================================================= */

.sn-approval-page {
    width: 100%;
    box-sizing: border-box;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.sn-approval-page .sn-approval-titlebar {
    margin: 0 0 8px;
    padding: 5px 8px;
    border-width: 1px;
    border-style: solid;
    font-size: 11px;
    line-height: 16px;
}

.sn-approval-page .sn-approval-section-head {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    border-style: solid;
    border-width: 2px 1px 0 1px;
}

.sn-approval-page .sn-approval-section-title {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 22px;
    white-space: nowrap;
}

.sn-approval-page .sn-approval-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.sn-approval-page .sn-approval-sub-title {
    margin: 12px 0 0;
    padding: 5px 8px;
    border-style: solid;
    border-width: 2px 1px 0 1px;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 17px;
}

.sn-approval-page .sn-approval-flash {
    margin: 6px 0;
    padding: 6px 10px;
    border-width: 1px;
    border-style: solid;
    font-size: 12px;
}

.sn-approval-page .sn-approval-help-bar {
    padding: 6px 8px;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    font-size: 11px;
}

.sn-approval-page .sn-approval-table,
.sn-approval-page .sn-approval-info-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    border-top-width: 1px;
    border-top-style: solid;
}

.sn-approval-page .sn-approval-table thead th {
    box-sizing: border-box;
    height: 28px;
    padding: 0 6px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 26px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    box-shadow: none;
}

.sn-approval-page .sn-approval-table tbody td {
    box-sizing: border-box;
    height: 28px;
    padding: 0 6px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 26px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sn-approval-page .sn-approval-table tbody td.sn-approval-col-title {
    text-align: left;
}

.sn-approval-page .sn-approval-table tbody td.sn-approval-col-title a {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    transition: none;
}

.sn-approval-page .sn-approval-table tbody td.sn-approval-col-title a:hover {
    text-decoration: underline;
}

.sn-approval-page .sn-approval-table tbody td.sn-approval-col-comment {
    text-align: left;
    white-space: pre-wrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.45;
    padding: 4px 6px;
}

.sn-approval-page .sn-approval-table tbody td.sn-approval-empty {
    height: 68px;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
}

.sn-approval-page .sn-approval-info-table th {
    box-sizing: border-box;
    width: 115px;
    height: auto;
    padding: 5px 8px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    box-shadow: none;
}

.sn-approval-page .sn-approval-info-table tbody tr td {
    box-sizing: border-box;
    height: auto;
    padding: 5px 8px;
    border-width: 1px;
    border-style: solid;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
    vertical-align: middle;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.sn-approval-page .sn-approval-pre {
    white-space: pre-wrap;
}

.sn-approval-page .sn-approval-btn,
.sn-approval-page .sn-approval-tab {
    display: inline-block;
    box-sizing: border-box;
    height: 23px;
    padding: 0 9px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 21px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    transition: none;
}

.sn-approval-page .sn-approval-btn:disabled {
    cursor: default;
}

.sn-approval-page .sn-approval-btn-primary,
.sn-approval-page .sn-approval-tab.sn-active {
    font-weight: bold;
}

.sn-approval-page .sn-approval-inline-form {
    display: inline;
    margin: 0;
}

.sn-approval-page .sn-approval-action-bar {
    margin: 8px 0 4px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.sn-approval-page .sn-approval-search-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    font-size: 11px;
}

.sn-approval-page .sn-approval-input {
    box-sizing: border-box;
    width: 210px;
    height: 22px;
    padding: 2px 6px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    outline: none;
}

.sn-approval-page .sn-approval-textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 5px 7px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
}

.sn-approval-page .sn-approval-line-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.sn-approval-page .sn-approval-box-head {
    padding: 4px 8px;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    font-size: 11px;
    font-weight: bold;
}

.sn-approval-page .sn-approval-scroll-box {
    max-height: 260px;
    overflow-y: auto;
}

.sn-approval-page .sn-approval-empty-inline {
    padding: 16px 8px;
    border-style: solid;
    border-width: 0 1px 1px 1px;
    text-align: center;
    font-size: 11px;
}

.sn-approval-lock-note {
    display: inline-block;
    margin-right: 8px;
    font-size: 11px;
    vertical-align: middle;
}

/* 라이트 테마 전용 색상 (기존 [data-sn-theme="dark"] 미간섭) */
html:not([data-sn-theme="dark"]) .sn-approval-page {
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-titlebar {
    border-color: #aebac2;
    background: #eff2f4;
    color: #4d5b63;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-titlebar strong {
    color: #205777;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-section-head,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-sub-title {
    border-top-color: #3f7195;
    border-left-color: #aebac2;
    border-right-color: #aebac2;
    background: linear-gradient(#f3f6f8, #e0e7eb);
    color: #263f4e;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-flash {
    border-color: #9ab3c5;
    background: #eef5fa;
    color: #1f4866;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-flash-error {
    border-color: #c78a8a;
    background: #fff2f2;
    color: #9b2020;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-help-bar,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-search-bar,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-box-head {
    border-color: #bcc6cc;
    background: #f4f7f9;
    color: #3e4e58;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-table,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-info-table {
    border-color: #bcc6cc;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-table thead th {
    border-color: #bcc6cc;
    background: linear-gradient(#f2f6f9, #e4ebf0);
    color: #2b3c46;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-table tbody tr td,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-table tbody tr:nth-child(even) td {
    border-color: #cbd4da;
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-table tbody tr.sn-approval-current-row td {
    background: #eef6fd;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-table tbody tr:hover td:not(.sn-approval-empty) {
    background: #f2f7fc;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-info-table th {
    border-color: #bcc6cc;
    background: #edf2f5;
    color: #2f3d46;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-info-table tbody tr td,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-info-table tbody tr:nth-child(even) td {
    border-color: #bcc6cc;
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-table tbody td.sn-approval-col-title a {
    color: #1f4966;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-btn,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-tab {
    border-top-color: #b5c0c7;
    border-left-color: #b5c0c7;
    border-right-color: #7d8b94;
    border-bottom-color: #7d8b94;
    background: linear-gradient(#ffffff, #e6ebee);
    box-shadow: inset 1px 1px 0 #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-btn:hover,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-tab:hover {
    border-color: #6d7f8a;
    background: linear-gradient(#ffffff, #dbe3e8);
    color: #111111;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-btn-primary,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-tab.sn-active {
    border-top-color: #5b7eb3;
    border-left-color: #5b7eb3;
    border-right-color: #284b82;
    border-bottom-color: #284b82;
    background: linear-gradient(#4872b2, #325792);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-btn-primary:hover {
    background: linear-gradient(#537ec0, #3a63a2);
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-btn-reject {
    border-color: #a86b6b;
    background: linear-gradient(#fff8f8, #f1dfdf);
    color: #7e2222;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-btn:disabled {
    border-color: #c9d0d4;
    background: #f2f4f5;
    box-shadow: none;
    color: #96a0a6;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-input,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-textarea {
    border-color: #9aa8b0;
    background: #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-empty-inline {
    border-color: #cbd4da;
    background: #ffffff;
    color: #727e85;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-muted,
html:not([data-sn-theme="dark"]) .sn-approval-lock-note {
    color: #6b7780;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-status-in_progress {
    color: #1b4f8c;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-status-approved {
    color: #17663a;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-status-rejected {
    color: #9b2222;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-status-draft,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-status-pending,
html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-status-canceled {
    color: #5c6870;
}

html:not([data-sn-theme="dark"]) .sn-approval-page .sn-approval-original-warn {
    color: #9b2222;
    font-weight: bold;
}

/* ==========================================================================
   TASK-05: 성나라 내부 쪽지 (.sn-message-page) 및 내부 게시판 (.sn-internal-board-page)
   - 온나라 1.0 계열 고정폭 구형 행정업무 UI (돋움·굴림, 12px/11px, 촘촘한 표·폼, 모션 없음)
   - 라이트 전용 색상은 html:not([data-sn-theme="dark"]) 하위로 격리해 기존 다크모드 보존
   ========================================================================== */

.sn-message-page,
.sn-internal-board-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-message-page .sn-message-header,
.sn-internal-board-page .sn-ib-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #4c6d99;
}

.sn-message-page .sn-message-title strong,
.sn-internal-board-page .sn-ib-title strong {
    font-size: 14px;
    font-weight: bold;
    margin-right: 8px;
}

.sn-internal-board-page .sn-ib-title strong a {
    color: inherit;
    text-decoration: none;
}

.sn-message-page .sn-message-title span,
.sn-internal-board-page .sn-ib-title span {
    font-size: 11px;
}

.sn-message-page .sn-message-actions,
.sn-internal-board-page .sn-ib-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-message-page .sn-message-inline-form {
    display: inline;
    margin: 0;
}

.sn-message-page .sn-message-btn,
.sn-internal-board-page .sn-ib-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    padding: 0 9px;
    border: 1px solid #8fa0ac;
    border-radius: 2px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-message-page .sn-message-alert {
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid #8ea8c6;
    font-size: 12px;
}

.sn-message-page .sn-message-note {
    padding: 6px 10px;
    margin-bottom: 10px;
    border: 1px solid #c3cfd8;
    font-size: 11px;
}

.sn-message-page .sn-message-tabs,
.sn-internal-board-page .sn-ib-categories {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
    border-bottom: 1px solid #b8c6d2;
    padding-bottom: 6px;
}

.sn-message-page .sn-message-tab,
.sn-internal-board-page .sn-ib-cat-tab {
    display: inline-block;
    height: 23px;
    line-height: 21px;
    padding: 0 10px;
    border: 1px solid #b5c3ce;
    border-radius: 2px;
    font-size: 11px;
    text-decoration: none;
    box-sizing: border-box;
}

.sn-message-page .sn-message-tab.is-active,
.sn-internal-board-page .sn-ib-cat-tab.is-active {
    font-weight: bold;
}

.sn-message-page .sn-message-search,
.sn-internal-board-page .sn-ib-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    margin-bottom: 8px;
    border: 1px solid #c5d1db;
}

.sn-message-page .sn-message-search-label {
    font-size: 11px;
    font-weight: bold;
    margin-right: 4px;
}

.sn-message-page .sn-message-select,
.sn-internal-board-page .sn-ib-select {
    height: 23px;
    padding: 0 4px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-message-page .sn-message-input,
.sn-internal-board-page .sn-ib-input {
    height: 23px;
    padding: 0 6px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-message-page .sn-message-input-wide,
.sn-internal-board-page .sn-ib-input-wide {
    width: 100%;
    max-width: 760px;
}

.sn-message-page .sn-message-receiver-select {
    min-width: 260px;
}

.sn-message-page .sn-message-textarea {
    width: 100%;
    min-height: 220px;
    padding: 6px 8px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

.sn-message-page .sn-message-table,
.sn-internal-board-page .sn-ib-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
}

.sn-message-page .sn-message-table th,
.sn-message-page .sn-message-table td,
.sn-internal-board-page .sn-ib-table th,
.sn-internal-board-page .sn-ib-table td {
    height: 28px;
    padding: 4px 6px;
    border-bottom: 1px solid #d5dfe7;
    font-size: 12px;
    vertical-align: middle;
}

.sn-message-page .sn-message-table th.is-left,
.sn-message-page .sn-message-table td.is-left,
.sn-internal-board-page .sn-ib-table th.is-left,
.sn-internal-board-page .sn-ib-table td.is-left {
    text-align: left;
}

.sn-message-page .sn-message-table td.is-center,
.sn-internal-board-page .sn-ib-table td.is-center {
    text-align: center;
}

.sn-message-page .sn-message-col-title,
.sn-internal-board-page .sn-ib-col-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-message-page .sn-message-col-title a,
.sn-internal-board-page .sn-ib-col-title a {
    text-decoration: none;
}

.sn-message-page .sn-message-col-title a:hover,
.sn-internal-board-page .sn-ib-col-title a:hover {
    text-decoration: underline;
}

.sn-message-page tr.is-unread .sn-message-col-title a {
    font-weight: bold;
}

.sn-message-page .sn-message-state-unread {
    font-size: 11px;
    font-weight: bold;
}

.sn-message-page .sn-message-state-read {
    font-size: 11px;
}

.sn-message-page .sn-message-empty,
.sn-internal-board-page .sn-ib-empty {
    text-align: center;
    padding: 24px 8px;
}

.sn-message-page .sn-message-footer,
.sn-internal-board-page .sn-ib-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    min-height: 26px;
}

.sn-message-page .sn-message-pagination,
.sn-internal-board-page .sn-ib-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.sn-message-page .sn-message-pagination a,
.sn-message-page .sn-message-pagination strong,
.sn-internal-board-page .sn-ib-pagination a,
.sn-internal-board-page .sn-ib-pagination strong {
    display: inline-block;
    min-width: 22px;
    height: 22px;
    line-height: 20px;
    padding: 0 5px;
    border: 1px solid #c5d1db;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    box-sizing: border-box;
}

.sn-message-page .sn-message-meta-table,
.sn-message-page .sn-message-form-table,
.sn-internal-board-page .sn-ib-meta-table,
.sn-internal-board-page .sn-ib-form-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
    margin-bottom: 10px;
}

.sn-message-page .sn-message-meta-table th,
.sn-message-page .sn-message-meta-table td,
.sn-message-page .sn-message-form-table th,
.sn-message-page .sn-message-form-table td,
.sn-internal-board-page .sn-ib-meta-table th,
.sn-internal-board-page .sn-ib-meta-table td,
.sn-internal-board-page .sn-ib-form-table th,
.sn-internal-board-page .sn-ib-form-table td {
    padding: 5px 8px;
    border: 1px solid #d2dce4;
    font-size: 12px;
    vertical-align: middle;
}

.sn-message-page .sn-message-meta-table th,
.sn-message-page .sn-message-form-table th,
.sn-internal-board-page .sn-ib-meta-table th,
.sn-internal-board-page .sn-ib-form-table th {
    text-align: left;
    font-weight: bold;
}

.sn-message-page .sn-message-detail-subject,
.sn-internal-board-page .sn-ib-read-title {
    font-weight: bold;
}

.sn-message-page .sn-message-body,
.sn-internal-board-page .sn-ib-read-body {
    min-height: 160px;
    padding: 12px 14px;
    border: 1px solid #c8d4de;
    margin-bottom: 10px;
    line-height: 1.6;
    word-break: break-word;
}

.sn-message-page .sn-message-recipient-box {
    margin-bottom: 10px;
}

.sn-message-page .sn-message-recipient-list {
    max-height: 170px;
    overflow-y: auto;
    border: 1px solid #c5d1db;
}

.sn-message-page .sn-message-reply-origin,
.sn-internal-board-page .sn-ib-context-box {
    margin: 10px 0;
    border: 1px solid #c5d1db;
}

.sn-message-page .sn-message-reply-origin-head,
.sn-internal-board-page .sn-ib-context-head {
    padding: 5px 8px;
    border-bottom: 1px solid #d5dfe7;
    font-size: 11px;
    font-weight: bold;
}

.sn-message-page .sn-message-reply-origin-body,
.sn-internal-board-page .sn-ib-context-body,
.sn-internal-board-page .sn-ib-context-meta {
    padding: 8px 10px;
    font-size: 12px;
}

.sn-message-page .sn-message-files,
.sn-internal-board-page .sn-ib-files {
    margin-bottom: 10px;
    padding: 6px 10px;
    border: 1px solid #c8d4de;
}

.sn-message-page .sn-message-files-title,
.sn-internal-board-page .sn-ib-files-title {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
}

.sn-message-page .sn-message-files ul,
.sn-internal-board-page .sn-ib-files ul {
    margin: 0;
    padding-left: 16px;
}

.sn-message-page .sn-message-form-actions,
.sn-internal-board-page .sn-ib-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 8px;
}

.sn-message-page .sn-message-muted {
    margin-left: 8px;
    font-size: 11px;
}

.sn-internal-board-page .sn-ib-notice-tag {
    font-size: 11px;
    font-weight: bold;
}

.sn-internal-board-page .sn-ib-cat-prefix,
.sn-internal-board-page .sn-ib-file-mark {
    font-size: 11px;
    margin-right: 3px;
}

.sn-internal-board-page .sn-ib-tags {
    margin-bottom: 8px;
    font-size: 11px;
}

.sn-internal-board-page .sn-ib-tags a {
    margin-left: 5px;
    text-decoration: none;
}

.sn-internal-board-page .sn-ib-read-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sn-internal-board-page .sn-ib-read-actions-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-internal-board-page .sn-ib-comments {
    margin-bottom: 14px;
    border-top: 2px solid #52739d;
    padding-top: 8px;
}

.sn-internal-board-page .sn-ib-comments-head {
    margin-bottom: 6px;
    font-size: 12px;
}

.sn-internal-board-page .sn-ib-comments-head span {
    margin-left: 6px;
    font-size: 11px;
}

.sn-internal-board-page .sn-ib-comment-list {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
}

.sn-internal-board-page .sn-ib-comment-item {
    border: 1px solid #d2dce4;
    margin-bottom: 6px;
}

.sn-internal-board-page .sn-ib-comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px;
    border-bottom: 1px solid #e1e8ee;
    font-size: 11px;
}

.sn-internal-board-page .sn-ib-comment-author {
    font-weight: bold;
}

.sn-internal-board-page .sn-ib-comment-ops {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.sn-internal-board-page .sn-ib-comment-ops a {
    text-decoration: none;
}

.sn-internal-board-page .sn-ib-comment-body {
    padding: 7px 10px;
    line-height: 1.5;
    word-break: break-word;
}

.sn-internal-board-page .sn-ib-comment-form {
    border: 1px solid #c5d1db;
    padding: 8px;
}

.sn-internal-board-page .sn-ib-comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.sn-internal-board-page .sn-ib-comment-options label,
.sn-internal-board-page .sn-ib-options-cell label {
    margin-right: 10px;
    font-size: 11px;
}

.sn-internal-board-page .sn-ib-confirm-box {
    border: 1px solid #c5d1db;
    padding: 16px;
    text-align: center;
    margin: 10px 0;
}

.sn-internal-board-page .sn-ib-confirm-box .sn-ib-form-actions {
    justify-content: center;
}

.sn-internal-board-page .sn-ib-tag-list {
    padding: 10px;
    border: 1px solid #c5d1db;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Light theme isolated colors (preserving dark theme via html:not([data-sn-theme="dark"])) */
html:not([data-sn-theme="dark"]) .sn-message-page,
html:not([data-sn-theme="dark"]) .sn-internal-board-page {
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-title span,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-title span,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-muted,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-state-read,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-comment-date {
    color: #5e6c77;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-btn,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-btn {
    background: linear-gradient(#ffffff, #e8eef3);
    color: #223344;
    border-color: #96a8b8;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-btn:hover,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-btn:hover {
    background: #dfe9f2;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-btn-primary,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-btn-primary {
    border-color: #2e558c;
    background: linear-gradient(#537ec0, #3a63a2);
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-btn-primary:hover,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-btn-primary:hover {
    background: #365c96;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-btn-danger,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-btn-danger {
    border-color: #a86b6b;
    background: linear-gradient(#fff8f8, #f1dfdf);
    color: #7e2222;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-alert {
    background: #eef4fa;
    color: #1f446e;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-alert.is-error {
    background: #fdf2f2;
    border-color: #c98a8a;
    color: #8a2020;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-note,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-search,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-search,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-comment-form,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-confirm-box {
    background: #f5f8fb;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-tab,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-cat-tab {
    background: #f1f5f9;
    color: #2c435a;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-tab.is-active,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-cat-tab.is-active {
    background: #3b65a3;
    border-color: #2f548c;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-select,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-input,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-textarea,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-select,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-input {
    background: #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-table th,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-table th,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-meta-table th,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-form-table th,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-meta-table th,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-form-table th,
html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-reply-origin-head,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-context-head,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-comment-meta {
    background: #ebf1f6;
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-table tbody tr:hover,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-table tbody tr:hover {
    background: #f4f8fc;
}

html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-table tr.is-notice,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-table tr.is-current {
    background: #f7fafd;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-col-title a,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-col-title a {
    color: #1b2d40;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-state-unread,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-notice-tag {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-body,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-read-body {
    background: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-pagination a,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-pagination a {
    background: #ffffff;
    color: #2b3f54;
}

html:not([data-sn-theme="dark"]) .sn-message-page .sn-message-pagination strong,
html:not([data-sn-theme="dark"]) .sn-internal-board-page .sn-ib-pagination strong {
    background: #3b65a3;
    border-color: #2f548c;
    color: #ffffff;
}

/* ==========================================================================
   TASK-06: 성나라 업무 일정 (.sn-schedule-page)
   - 온나라 1.0 계열 고정폭 구형 행정업무 UI (돋움·굴림, 12px/11px, 7열 고정 달력표, 모션 없음)
   - 라이트 전용 색상은 html:not([data-sn-theme="dark"]) 하위로 격리해 기존 다크모드 보존
   ========================================================================== */

.sn-schedule-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-schedule-page .sn-schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #4c6d99;
}

.sn-schedule-page .sn-schedule-title strong {
    font-size: 14px;
    font-weight: bold;
    margin-right: 8px;
}

.sn-schedule-page .sn-schedule-title span {
    font-size: 11px;
}

.sn-schedule-page .sn-schedule-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-schedule-page .sn-schedule-inline-form {
    display: inline;
    margin: 0;
}

.sn-schedule-page .sn-schedule-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    padding: 0 9px;
    border: 1px solid #8fa0ac;
    border-radius: 2px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-schedule-page .sn-schedule-alert {
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid #8ea8c6;
    font-size: 12px;
}

.sn-schedule-page .sn-schedule-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    margin-bottom: 8px;
    border: 1px solid #c5d1db;
}

.sn-schedule-page .sn-schedule-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-schedule-page .sn-schedule-ym {
    margin-left: 8px;
    font-size: 13px;
    font-weight: bold;
}

.sn-schedule-page .sn-schedule-filter {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-schedule-page .sn-schedule-select,
.sn-schedule-page .sn-schedule-input {
    height: 23px;
    padding: 0 6px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-schedule-page .sn-schedule-input-wide {
    width: 100%;
    max-width: 720px;
}

.sn-schedule-page .sn-schedule-textarea {
    width: 100%;
    min-height: 180px;
    padding: 6px 8px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

.sn-schedule-page .sn-schedule-calendar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 2px solid #52739d;
    border-left: 1px solid #c5d1db;
    margin-bottom: 12px;
}

.sn-schedule-page .sn-schedule-calendar th {
    height: 26px;
    padding: 4px 6px;
    border-right: 1px solid #c5d1db;
    border-bottom: 1px solid #b8c6d2;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.sn-schedule-page .sn-schedule-calendar td.sn-cal-cell {
    height: 94px;
    padding: 4px 5px;
    border-right: 1px solid #d0dae2;
    border-bottom: 1px solid #d0dae2;
    vertical-align: top;
    overflow: hidden;
}

.sn-schedule-page .sn-cal-cell-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
}

.sn-schedule-page .sn-cal-day-num {
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.sn-schedule-page .sn-cal-day-num:hover {
    text-decoration: underline;
}

.sn-schedule-page .sn-cal-today-mark {
    font-size: 10px;
    padding: 1px 4px;
    border: 1px solid #52739d;
}

.sn-schedule-page .sn-cal-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sn-schedule-page .sn-cal-item {
    display: block;
    padding: 1px 3px;
    font-size: 11px;
    line-height: 1.35;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-left: 2px solid transparent;
}

.sn-schedule-page .sn-cal-item:hover {
    text-decoration: underline;
}

.sn-schedule-page .sn-cal-item-tag {
    font-size: 10px;
    font-weight: bold;
}

.sn-schedule-page .sn-cal-more {
    display: inline-block;
    margin-top: 1px;
    font-size: 10px;
    text-decoration: none;
}

.sn-schedule-page .sn-cal-more:hover {
    text-decoration: underline;
}

.sn-schedule-page .sn-schedule-day-panel {
    margin-top: 10px;
}

.sn-schedule-page .sn-schedule-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.sn-schedule-page .sn-schedule-day-head strong {
    font-size: 13px;
    margin-right: 6px;
}

.sn-schedule-page .sn-schedule-day-head span {
    font-size: 11px;
}

.sn-schedule-page .sn-schedule-day-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
}

.sn-schedule-page .sn-schedule-day-table th,
.sn-schedule-page .sn-schedule-day-table td {
    height: 28px;
    padding: 4px 6px;
    border-bottom: 1px solid #d5dfe7;
    font-size: 12px;
    vertical-align: middle;
}

.sn-schedule-page .sn-schedule-day-table th.is-left,
.sn-schedule-page .sn-schedule-day-table td.is-left {
    text-align: left;
}

.sn-schedule-page .sn-schedule-day-table td.is-center {
    text-align: center;
}

.sn-schedule-page .sn-schedule-col-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-schedule-page .sn-schedule-col-title a {
    text-decoration: none;
}

.sn-schedule-page .sn-schedule-col-title a:hover {
    text-decoration: underline;
}

.sn-schedule-page .sn-schedule-vis-tag {
    font-size: 11px;
    font-weight: bold;
}

.sn-schedule-page .sn-schedule-empty {
    text-align: center;
    padding: 20px 8px;
}

.sn-schedule-page .sn-schedule-meta-table,
.sn-schedule-page .sn-schedule-form-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
    margin-bottom: 10px;
}

.sn-schedule-page .sn-schedule-meta-table th,
.sn-schedule-page .sn-schedule-meta-table td,
.sn-schedule-page .sn-schedule-form-table th,
.sn-schedule-page .sn-schedule-form-table td {
    padding: 5px 8px;
    border: 1px solid #d2dce4;
    font-size: 12px;
    vertical-align: middle;
}

.sn-schedule-page .sn-schedule-meta-table th,
.sn-schedule-page .sn-schedule-form-table th {
    text-align: left;
    font-weight: bold;
}

.sn-schedule-page .sn-schedule-detail-subject {
    font-weight: bold;
}

.sn-schedule-page .sn-schedule-detail-body {
    min-height: 140px;
    padding: 12px 14px;
    border: 1px solid #c8d4de;
    margin-bottom: 10px;
    line-height: 1.6;
    word-break: break-word;
}

.sn-schedule-page .sn-schedule-dt-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sn-schedule-page .sn-schedule-radio-label {
    margin-right: 14px;
    font-size: 12px;
}

.sn-schedule-page .sn-schedule-muted {
    font-size: 11px;
}

.sn-schedule-page .sn-schedule-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 8px;
}

/* Light theme isolated colors for schedule (preserving dark theme) */
html:not([data-sn-theme="dark"]) .sn-schedule-page {
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-title span,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-day-head span,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-muted {
    color: #5e6c77;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-btn {
    background: linear-gradient(#ffffff, #e8eef3);
    color: #223344;
    border-color: #96a8b8;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-btn:hover {
    background: #dfe9f2;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-btn-primary {
    border-color: #2e558c;
    background: linear-gradient(#537ec0, #3a63a2);
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-btn-danger {
    border-color: #a86b6b;
    background: linear-gradient(#fff8f8, #f1dfdf);
    color: #7e2222;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-alert {
    background: #eef4fa;
    color: #1f446e;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-alert.is-error {
    background: #fdf2f2;
    border-color: #c98a8a;
    color: #8a2020;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-toolbar {
    background: #f5f8fb;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-select,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-input,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-textarea,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-detail-body {
    background: #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-input:disabled {
    background: #eef1f4;
    color: #8b959e;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-calendar th,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-day-table th,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-meta-table th,
html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-form-table th {
    background: #ebf1f6;
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-calendar td.sn-cal-cell {
    background: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-calendar td.is-other-month {
    background: #f7f9fb;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-calendar td.is-other-month .sn-cal-day-num {
    color: #99a5b0;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-calendar td.is-today {
    background: #f2f7fd;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-calendar td.is-selected {
    box-shadow: inset 0 0 0 2px #3b65a3;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page th.is-sun,
html:not([data-sn-theme="dark"]) .sn-schedule-page td.is-sun .sn-cal-day-num {
    color: #b02a2a;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page th.is-sat,
html:not([data-sn-theme="dark"]) .sn-schedule-page td.is-sat .sn-cal-day-num {
    color: #1d5499;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-cal-day-num {
    color: #223344;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-cal-today-mark {
    background: #e4eef9;
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-cal-item.is-private {
    background: #f3f5f7;
    border-left-color: #6b7d8e;
    color: #2c3842;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-cal-item.is-internal {
    background: #e9f2fb;
    border-left-color: #2e609e;
    color: #173c6b;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-cal-more {
    color: #2e558c;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-vis-tag.is-private {
    color: #4f5f6d;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-vis-tag.is-internal {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-day-table tbody tr:hover {
    background: #f4f8fc;
}

html:not([data-sn-theme="dark"]) .sn-schedule-page .sn-schedule-col-title a {
    color: #1b2d40;
}

/* ==========================================================================
   TASK-07: 성나라 전자문서 검토·협조 (.sn-review-page)
   - 온나라 1.0 계열 고정폭 구형 행정업무 UI (돋움·굴림, 12px/11px, 촘촘한 표·폼, 모션 없음)
   - 라이트 전용 색상은 html:not([data-sn-theme="dark"]) 하위로 격리해 기존 다크모드 보존
   ========================================================================== */

.sn-review-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-review-page .sn-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #4c6d99;
}

.sn-review-page .sn-review-title strong {
    font-size: 14px;
    font-weight: bold;
    margin-right: 8px;
}

.sn-review-page .sn-review-title span {
    font-size: 11px;
}

.sn-review-page .sn-review-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-review-page .sn-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    padding: 0 9px;
    border: 1px solid #8fa0ac;
    border-radius: 2px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-review-page .sn-review-alert {
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid #8ea8c6;
    font-size: 12px;
}

.sn-review-page .sn-review-note {
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid #c3cfd8;
    font-size: 11px;
}

.sn-review-page .sn-review-tabs {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
    border-bottom: 1px solid #b8c6d2;
    padding-bottom: 6px;
}

.sn-review-page .sn-review-tab {
    display: inline-block;
    height: 23px;
    line-height: 21px;
    padding: 0 10px;
    border: 1px solid #b5c3ce;
    border-radius: 2px;
    font-size: 11px;
    text-decoration: none;
    box-sizing: border-box;
}

.sn-review-page .sn-review-tab.is-active {
    font-weight: bold;
}

.sn-review-page .sn-review-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    margin-bottom: 8px;
    border: 1px solid #c5d1db;
}

.sn-review-page .sn-review-search-label {
    font-size: 11px;
    font-weight: bold;
    margin-right: 4px;
}

.sn-review-page .sn-review-input {
    height: 23px;
    padding: 0 6px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-review-page .sn-review-textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

.sn-review-page .sn-review-cand-wrap {
    max-height: 185px;
    overflow-y: auto;
    border: 1px solid #c5d1db;
    margin-bottom: 10px;
}

.sn-review-page .sn-review-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
    margin-bottom: 10px;
}

.sn-review-page .sn-review-table th,
.sn-review-page .sn-review-table td {
    height: 28px;
    padding: 4px 6px;
    border-bottom: 1px solid #d5dfe7;
    font-size: 12px;
    vertical-align: middle;
}

.sn-review-page .sn-review-table th.is-left,
.sn-review-page .sn-review-table td.is-left {
    text-align: left;
}

.sn-review-page .sn-review-table td.is-center {
    text-align: center;
}

.sn-review-page .sn-review-col-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-review-page .sn-review-col-title a {
    text-decoration: none;
}

.sn-review-page .sn-review-col-title a:hover {
    text-decoration: underline;
}

.sn-review-page .sn-review-opinion-cell {
    word-break: break-word;
    line-height: 1.45;
}

.sn-review-page .sn-review-empty {
    text-align: center;
    padding: 22px 8px;
}

.sn-review-page .sn-review-meta-table,
.sn-review-page .sn-review-form-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
    margin-bottom: 10px;
}

.sn-review-page .sn-review-meta-table th,
.sn-review-page .sn-review-meta-table td,
.sn-review-page .sn-review-form-table th,
.sn-review-page .sn-review-form-table td {
    padding: 5px 8px;
    border: 1px solid #d2dce4;
    font-size: 12px;
    vertical-align: middle;
}

.sn-review-page .sn-review-meta-table th,
.sn-review-page .sn-review-form-table th {
    text-align: left;
    font-weight: bold;
}

.sn-review-page .sn-review-subject {
    font-weight: bold;
}

.sn-review-page .sn-review-picked-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 22px;
    align-items: center;
}

.sn-review-page .sn-review-picked-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border: 1px solid #a8b9c7;
    font-size: 11px;
}

.sn-review-page .sn-review-remove-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0 2px;
}

.sn-review-page .sn-review-process-box {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid #8ea8c6;
}

.sn-review-page .sn-review-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 6px 0;
}

.sn-review-page .sn-review-section-title strong {
    font-size: 13px;
}

.sn-review-page .sn-review-section-title span {
    font-size: 11px;
}

.sn-review-page .sn-review-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 8px;
}

.sn-review-page .sn-review-type,
.sn-review-page .sn-review-status {
    font-size: 11px;
    font-weight: bold;
}

.sn-review-page .sn-review-muted {
    font-size: 11px;
}

.sn-review-page .sn-review-warn {
    font-weight: bold;
}

/* Light theme isolated colors for review/cooperation (preserving dark theme) */
html:not([data-sn-theme="dark"]) .sn-review-page {
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-title span,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-section-title span,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-muted {
    color: #5e6c77;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-btn {
    background: linear-gradient(#ffffff, #e8eef3);
    color: #223344;
    border-color: #96a8b8;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-btn:hover {
    background: #dfe9f2;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-btn-primary {
    border-color: #2e558c;
    background: linear-gradient(#537ec0, #3a63a2);
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-btn-danger {
    border-color: #a86b6b;
    background: linear-gradient(#fff8f8, #f1dfdf);
    color: #7e2222;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-alert {
    background: #eef4fa;
    color: #1f446e;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-alert.is-error {
    background: #fdf2f2;
    border-color: #c98a8a;
    color: #8a2020;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-alert.is-warn {
    background: #fff9ec;
    border-color: #d6b66f;
    color: #6b4c0e;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-note,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-search,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-process-box {
    background: #f5f8fb;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-tab {
    background: #f1f5f9;
    color: #2c435a;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-tab.is-active {
    background: #3b65a3;
    border-color: #2f548c;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-input,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-textarea {
    background: #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-table th,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-meta-table th,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-form-table th {
    background: #ebf1f6;
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-table tbody tr:hover,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-table tr.is-current-round {
    background: #f4f8fc;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-col-title a {
    color: #1b2d40;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-picked-item {
    background: #edf3f8;
    color: #1e354d;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-type.is-review,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-status.is-requested {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-type.is-coop {
    color: #2b6146;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-status.is-completed {
    color: #17663a;
}

html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-status.is-declined,
html:not([data-sn-theme="dark"]) .sn-review-page .sn-review-warn {
    color: #9b2222;
}

/* ==========================================================================
   TASK-08: 성나라 문서 공유 (.sn-share-page) · 공람 (.sn-circulation-page)
   - 온나라 1.0 계열 고정폭 구형 행정업무 UI (돋움·굴림, 12px/11px, 촘촘한 표·폼, 모션 없음)
   - 라이트 전용 색상은 html:not([data-sn-theme="dark"]) 하위로 격리해 기존 다크모드 보존
   ========================================================================== */

.sn-share-page,
.sn-circulation-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-share-page .sn-share-header,
.sn-circulation-page .sn-circ-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #4c6d99;
}

.sn-share-page .sn-share-title strong,
.sn-circulation-page .sn-circ-title strong {
    font-size: 14px;
    font-weight: bold;
    margin-right: 8px;
}

.sn-share-page .sn-share-title span,
.sn-circulation-page .sn-circ-title span {
    font-size: 11px;
}

.sn-share-page .sn-share-actions,
.sn-circulation-page .sn-circ-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-share-page .sn-share-inline-form,
.sn-circulation-page .sn-circ-inline-form {
    display: inline;
    margin: 0;
}

.sn-share-page .sn-share-btn,
.sn-circulation-page .sn-circ-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    padding: 0 9px;
    border: 1px solid #8fa0ac;
    border-radius: 2px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}

.sn-share-page .sn-share-alert,
.sn-circulation-page .sn-circ-alert {
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid #8ea8c6;
    font-size: 12px;
}

.sn-share-page .sn-share-note,
.sn-circulation-page .sn-circ-note {
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid #c3cfd8;
    font-size: 11px;
}

.sn-share-page .sn-share-tabs,
.sn-circulation-page .sn-circ-tabs {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
    border-bottom: 1px solid #b8c6d2;
    padding-bottom: 6px;
}

.sn-share-page .sn-share-tab,
.sn-circulation-page .sn-circ-tab {
    display: inline-block;
    height: 23px;
    line-height: 21px;
    padding: 0 10px;
    border: 1px solid #b5c3ce;
    border-radius: 2px;
    font-size: 11px;
    text-decoration: none;
    box-sizing: border-box;
}

.sn-share-page .sn-share-tab.is-active,
.sn-circulation-page .sn-circ-tab.is-active {
    font-weight: bold;
}

.sn-share-page .sn-share-search,
.sn-circulation-page .sn-circ-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    margin-bottom: 8px;
    border: 1px solid #c5d1db;
}

.sn-share-page .sn-share-search-label,
.sn-circulation-page .sn-circ-search-label {
    font-size: 11px;
    font-weight: bold;
    margin-right: 4px;
}

.sn-share-page .sn-share-input,
.sn-circulation-page .sn-circ-input {
    height: 23px;
    padding: 0 6px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-circulation-page .sn-circ-textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #9aa8b0;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

.sn-share-page .sn-share-cand-wrap,
.sn-circulation-page .sn-circ-cand-wrap {
    max-height: 185px;
    overflow-y: auto;
    border: 1px solid #c5d1db;
    margin-bottom: 10px;
}

.sn-share-page .sn-share-table,
.sn-circulation-page .sn-circ-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
    margin-bottom: 10px;
}

.sn-share-page .sn-share-table th,
.sn-share-page .sn-share-table td,
.sn-circulation-page .sn-circ-table th,
.sn-circulation-page .sn-circ-table td {
    height: 28px;
    padding: 4px 6px;
    border-bottom: 1px solid #d5dfe7;
    font-size: 12px;
    vertical-align: middle;
}

.sn-share-page .sn-share-table th.is-left,
.sn-share-page .sn-share-table td.is-left,
.sn-circulation-page .sn-circ-table th.is-left,
.sn-circulation-page .sn-circ-table td.is-left {
    text-align: left;
}

.sn-share-page .sn-share-table td.is-center,
.sn-circulation-page .sn-circ-table td.is-center {
    text-align: center;
}

.sn-share-page .sn-share-col-title,
.sn-circulation-page .sn-circ-col-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-share-page .sn-share-col-title a,
.sn-circulation-page .sn-circ-col-title a {
    text-decoration: none;
}

.sn-share-page .sn-share-col-title a:hover,
.sn-circulation-page .sn-circ-col-title a:hover {
    text-decoration: underline;
}

.sn-circulation-page tr.is-unread .sn-circ-col-title a {
    font-weight: bold;
}

.sn-share-page .sn-share-empty,
.sn-circulation-page .sn-circ-empty {
    text-align: center;
    padding: 22px 8px;
}

.sn-share-page .sn-share-meta-table,
.sn-circulation-page .sn-circ-meta-table,
.sn-circulation-page .sn-circ-form-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #52739d;
    border-bottom: 1px solid #b8c6d2;
    margin-bottom: 10px;
}

.sn-share-page .sn-share-meta-table th,
.sn-share-page .sn-share-meta-table td,
.sn-circulation-page .sn-circ-meta-table th,
.sn-circulation-page .sn-circ-meta-table td,
.sn-circulation-page .sn-circ-form-table th,
.sn-circulation-page .sn-circ-form-table td {
    padding: 5px 8px;
    border: 1px solid #d2dce4;
    font-size: 12px;
    vertical-align: middle;
}

.sn-share-page .sn-share-meta-table th,
.sn-circulation-page .sn-circ-meta-table th,
.sn-circulation-page .sn-circ-form-table th {
    text-align: left;
    font-weight: bold;
}

.sn-share-page .sn-share-subject,
.sn-circulation-page .sn-circ-subject {
    font-weight: bold;
}

.sn-share-page .sn-share-section-title,
.sn-circulation-page .sn-circ-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 6px 0;
}

.sn-share-page .sn-share-section-title strong,
.sn-circulation-page .sn-circ-section-title strong {
    font-size: 13px;
}

.sn-share-page .sn-share-section-title span,
.sn-circulation-page .sn-circ-section-title span {
    font-size: 11px;
}

.sn-share-page .sn-share-form-actions,
.sn-circulation-page .sn-circ-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 8px;
}

.sn-share-page .sn-share-status,
.sn-circulation-page .sn-circ-status,
.sn-circulation-page .sn-circ-read-tag {
    font-size: 11px;
    font-weight: bold;
}

.sn-share-page .sn-share-muted,
.sn-circulation-page .sn-circ-muted {
    font-size: 11px;
}

.sn-circulation-page .sn-circ-warn {
    font-weight: bold;
}

/* Light theme isolated colors for share & circulation (preserving dark theme) */
html:not([data-sn-theme="dark"]) .sn-share-page,
html:not([data-sn-theme="dark"]) .sn-circulation-page {
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-title span,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-title span,
html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-section-title span,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-section-title span,
html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-muted,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-muted {
    color: #5e6c77;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-btn,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-btn {
    background: linear-gradient(#ffffff, #e8eef3);
    color: #223344;
    border-color: #96a8b8;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-btn:hover,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-btn:hover {
    background: #dfe9f2;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-btn-primary,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-btn-primary {
    border-color: #2e558c;
    background: linear-gradient(#537ec0, #3a63a2);
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-btn-danger,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-btn-danger {
    border-color: #a86b6b;
    background: linear-gradient(#fff8f8, #f1dfdf);
    color: #7e2222;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-alert,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-alert {
    background: #eef4fa;
    color: #1f446e;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-alert.is-error,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-alert.is-error {
    background: #fdf2f2;
    border-color: #c98a8a;
    color: #8a2020;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-note,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-note,
html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-search,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-search {
    background: #f5f8fb;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-tab,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-tab {
    background: #f1f5f9;
    color: #2c435a;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-tab.is-active,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-tab.is-active {
    background: #3b65a3;
    border-color: #2f548c;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-input,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-input,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-textarea {
    background: #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-table th,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-table th,
html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-meta-table th,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-meta-table th,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-form-table th {
    background: #ebf1f6;
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-table tbody tr:hover,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-table tbody tr:hover {
    background: #f4f8fc;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-col-title a,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-col-title a {
    color: #1b2d40;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-status.is-active,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-status.is-active,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-read-tag.is-unread {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-read-tag.is-read {
    color: #17663a;
}

html:not([data-sn-theme="dark"]) .sn-share-page .sn-share-status.is-revoked,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-status.is-cancelled,
html:not([data-sn-theme="dark"]) .sn-circulation-page .sn-circ-warn {
    color: #9b2222;
}


/* =========================================================
   성나라 공개 Shell / 내부 권한 Gate 공통 스타일 (TASK-09)
   - .sn-public-shell-page / .sn-access-gate-notice / .sn-write-button-disabled 격리
   - 온나라 1.0 구형 고정 규격(돋움/굴림 11~12px, 모션·대형 카드 없음)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리 (!important 0건)
   ========================================================= */

.sn-public-shell-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-public-shell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px;
    margin: 0 0 8px;
    border-bottom: 2px solid #2b4c7e;
}

.sn-public-shell-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sn-public-shell-title strong {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.sn-public-shell-title span {
    font-size: 11px;
}

.sn-public-shell-tabs {
    display: flex;
    gap: 2px;
    margin: 0 0 8px;
    border-bottom: 1px solid #b8c6d4;
}

.sn-public-shell-tab {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #c2ceda;
    border-bottom: 0;
    font-size: 11px;
    text-decoration: none;
}

.sn-public-shell-tab.is-active {
    font-weight: bold;
}

.sn-access-gate-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    padding: 7px 10px;
    border: 1px solid #b8c6d4;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

.sn-access-gate-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.sn-access-gate-copy strong {
    font-size: 12px;
    font-weight: bold;
}

.sn-access-gate-actions {
    flex: 0 0 auto;
}

.sn-gate-inline-btn {
    display: inline-block;
    height: 23px;
    padding: 0 10px;
    border: 1px solid #2a4e85;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    font-weight: bold;
    line-height: 21px;
    text-decoration: none;
    white-space: nowrap;
}

.sn-public-shell-table,
.sn-public-shell-form-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
    border-top: 2px solid #486b99;
}

.sn-public-shell-table th,
.sn-public-shell-table td,
.sn-public-shell-form-table th,
.sn-public-shell-form-table td {
    padding: 6px 8px;
    border: 1px solid #cfd8e2;
    font-size: 12px;
    vertical-align: middle;
}

.sn-public-shell-table thead th {
    text-align: center;
    font-weight: bold;
}

.sn-public-shell-table thead th.is-left {
    text-align: left;
}

.sn-public-shell-form-table th {
    text-align: left;
    font-weight: bold;
}

.sn-public-shell-empty {
    height: 76px;
    text-align: center;
    font-size: 11px;
}

.sn-public-shell-placeholder {
    font-size: 11px;
}

.sn-legacy-shell .sn-sidebar span.sn-write-button-disabled {
    display: flex;
    align-items: center;
    height: 30px;
    margin: 8px 9px 9px;
    border: 1px solid #b5c0cc;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 28px;
    cursor: default;
    opacity: 0.65;
}

html:not([data-sn-theme="dark"]) .sn-public-shell-title strong {
    color: #1f3c66;
}

html:not([data-sn-theme="dark"]) .sn-public-shell-title span {
    color: #5b6a7a;
}

html:not([data-sn-theme="dark"]) .sn-public-shell-tab {
    background: #eef3f8;
    color: #3a4b5c;
}

html:not([data-sn-theme="dark"]) .sn-public-shell-tab.is-active {
    background: #ffffff;
    border-color: #486b99;
    color: #1c447c;
}

html:not([data-sn-theme="dark"]) .sn-access-gate-notice.is-guest {
    background: #f4f8fc;
    border-color: #b7cae0;
    color: #2c3e50;
}

html:not([data-sn-theme="dark"]) .sn-access-gate-notice.is-guest strong {
    color: #1c4580;
}

html:not([data-sn-theme="dark"]) .sn-access-gate-notice.is-denied {
    background: #fdf6f6;
    border-color: #dfc0c0;
    color: #5a2b2b;
}

html:not([data-sn-theme="dark"]) .sn-access-gate-notice.is-denied strong {
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-gate-inline-btn {
    background: linear-gradient(#4c76b6, #315997);
    border-color: #26487d;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-gate-inline-btn:hover {
    background: linear-gradient(#5680c0, #3a64a3);
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-public-shell-table thead th,
html:not([data-sn-theme="dark"]) .sn-public-shell-form-table th {
    background: #edf2f7;
    color: #22354a;
}

html:not([data-sn-theme="dark"]) .sn-public-shell-table td,
html:not([data-sn-theme="dark"]) .sn-public-shell-form-table td {
    background: #ffffff;
    color: #4d5c6b;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar span.sn-write-button-disabled {
    background: #e9eef3;
    color: #6b7a8a;
}


/* =========================================================
   성나라 개인별 최근문서함 전용 스타일 (TASK-10)
   - .sn-recent-documents-page 및 좌측 직행 메뉴(.sn-menu-direct-link) 격리
   - 온나라 1.0 구형 고정 규격(돋움/굴림 11~12px, 모션·카드 없음)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리 (!important 0건)
   ========================================================= */

.sn-legacy-shell .sn-sidebar .sn-menu-block > a.sn-menu-direct-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 30px;
    padding: 0 10px;
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 28px;
    text-decoration: none;
    transition: none;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block > a.sn-menu-direct-link {
    background: #ffffff;
    color: #2f3a45;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block > a.sn-menu-direct-link:hover {
    background: #f3f7fc;
    color: #1e4682;
}

html:not([data-sn-theme="dark"]) .sn-legacy-shell .sn-sidebar .sn-menu-block > a.sn-menu-direct-link.active {
    background: #e1eefb;
    color: #1a4a8c;
    box-shadow: inset 3px 0 0 #3362a6;
}

.sn-recent-documents-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-recent-documents-page .sn-recent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 8px;
    margin: 0 0 8px;
    border-bottom: 2px solid #2b4c7e;
}

.sn-recent-documents-page .sn-recent-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sn-recent-documents-page .sn-recent-title strong {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.sn-recent-documents-page .sn-recent-title span {
    font-size: 11px;
}

.sn-recent-documents-page .sn-recent-search {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-recent-documents-page .sn-recent-input {
    box-sizing: border-box;
    width: 190px;
    height: 23px;
    padding: 0 6px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-recent-documents-page .sn-recent-btn {
    box-sizing: border-box;
    display: inline-block;
    height: 23px;
    padding: 0 8px;
    border: 1px solid #9aa9b8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 21px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.sn-recent-documents-page .sn-recent-btn.is-disabled {
    cursor: default;
    opacity: 0.55;
}

.sn-recent-documents-page .sn-recent-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
    border-top: 2px solid #486b99;
}

.sn-recent-documents-page .sn-recent-table th,
.sn-recent-documents-page .sn-recent-table td {
    box-sizing: border-box;
    height: 28px;
    padding: 0 6px;
    border: 1px solid #cfd8e2;
    font-size: 12px;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sn-recent-documents-page .sn-recent-table th {
    text-align: center;
    font-weight: bold;
}

.sn-recent-documents-page .sn-recent-table th.is-left,
.sn-recent-documents-page .sn-recent-table td.is-left {
    text-align: left;
}

.sn-recent-documents-page .sn-recent-table td.is-center {
    text-align: center;
}

.sn-recent-documents-page .sn-recent-col-title a {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.sn-recent-documents-page .sn-recent-col-title a:hover {
    text-decoration: underline;
}

.sn-recent-documents-page .sn-recent-status {
    font-size: 11px;
    font-weight: bold;
}

.sn-recent-documents-page .sn-recent-empty {
    height: 76px;
    text-align: center;
    font-size: 11px;
    white-space: normal;
}

.sn-recent-documents-page .sn-recent-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.sn-recent-documents-page .sn-recent-footnote {
    font-size: 11px;
}

.sn-recent-documents-page .sn-recent-pager {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sn-recent-documents-page .sn-recent-page-num {
    font-size: 11px;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-title strong {
    color: #1f3c66;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-title span,
html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-footnote {
    color: #5b6a7a;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-input {
    background: #ffffff;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-btn {
    background: linear-gradient(#ffffff, #e6ebee);
    border-color: #96a4b0;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-btn:hover {
    background: linear-gradient(#ffffff, #dae3e9);
    border-color: #6d7f8a;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-table thead th {
    background: #edf2f7;
    color: #22354a;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-table tbody td {
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-table tbody tr:hover td {
    background: #f4f8fc;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-col-title a {
    color: #1b2d40;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-status.is-approved {
    color: #17663a;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-status.is-in_progress {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-status.is-rejected {
    color: #9b2222;
}

html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-status.is-draft,
html:not([data-sn-theme="dark"]) .sn-recent-documents-page .sn-recent-status.is-registered {
    color: #4f5e6e;
}


/* =========================================================
   성나라 시행·발송·수신대기 전용 스타일 (TASK-11)
   - .sn-execution-page / .sn-dispatch-page / .sn-incoming-dispatch-page 격리
   - 온나라 1.0 구형 고정 규격(돋움/굴림 11~12px, 모션·카드 없음)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리 (!important 0건)
   ========================================================= */

.sn-execution-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-execution-page .sn-exec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 8px;
    margin: 0 0 8px;
    border-bottom: 2px solid #2b4c7e;
}

.sn-execution-page .sn-exec-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sn-execution-page .sn-exec-title strong {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.sn-execution-page .sn-exec-title span,
.sn-execution-page .sn-exec-muted {
    font-size: 11px;
}

.sn-execution-page .sn-exec-actions,
.sn-execution-page .sn-exec-search,
.sn-execution-page .sn-exec-inline-search {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sn-execution-page .sn-exec-inline-search {
    margin: 8px 0;
    font-size: 11px;
}

.sn-execution-page .sn-exec-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    border-bottom: 1px solid #b8c6d4;
}

.sn-execution-page .sn-exec-tabs {
    display: flex;
    gap: 2px;
}

.sn-execution-page .sn-exec-tab {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #c2ceda;
    border-bottom: 0;
    font-size: 11px;
    text-decoration: none;
}

.sn-execution-page .sn-exec-tab.is-active {
    font-weight: bold;
}

.sn-execution-page .sn-exec-input {
    box-sizing: border-box;
    width: 190px;
    height: 23px;
    padding: 0 6px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-execution-page .sn-exec-input-full,
.sn-execution-page .sn-exec-select-full {
    box-sizing: border-box;
    width: 100%;
    height: 23px;
    padding: 0 5px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-execution-page .sn-exec-textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 6px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    resize: vertical;
}

.sn-execution-page .sn-exec-btn {
    box-sizing: border-box;
    display: inline-block;
    height: 23px;
    padding: 0 8px;
    border: 1px solid #96a4b0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 21px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.sn-execution-page .sn-exec-btn-primary {
    font-weight: bold;
}

.sn-execution-page .sn-exec-alert,
.sn-execution-page .sn-exec-notice-box {
    margin: 0 0 8px;
    padding: 6px 10px;
    border: 1px solid #b8c6d4;
    font-size: 11px;
    line-height: 1.45;
}

.sn-execution-page .sn-exec-sub-title {
    margin: 12px 0 4px;
    padding: 4px 8px;
    border: 1px solid #b8c6d4;
    border-top: 2px solid #3f6b9e;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.sn-execution-page .sn-exec-table,
.sn-execution-page .sn-exec-info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 0 8px;
    border-top: 2px solid #486b99;
}

.sn-execution-page .sn-exec-table th,
.sn-execution-page .sn-exec-table td,
.sn-execution-page .sn-exec-info-table th,
.sn-execution-page .sn-exec-info-table td {
    box-sizing: border-box;
    padding: 5px 6px;
    border: 1px solid #cfd8e2;
    font-size: 12px;
    vertical-align: middle;
}

.sn-execution-page .sn-exec-table th {
    text-align: center;
    font-weight: bold;
}

.sn-execution-page .sn-exec-info-table th {
    text-align: left;
    font-weight: bold;
}

.sn-execution-page .sn-exec-table th.is-left,
.sn-execution-page .sn-exec-table td.is-left {
    text-align: left;
}

.sn-execution-page .sn-exec-table td.is-center {
    text-align: center;
}

.sn-execution-page .sn-exec-col-title a,
.sn-execution-page .sn-exec-no-link {
    text-decoration: none;
}

.sn-execution-page .sn-exec-col-title a:hover,
.sn-execution-page .sn-exec-no-link:hover {
    text-decoration: underline;
}

.sn-execution-page .sn-exec-candidate-box {
    max-height: 190px;
    overflow-y: auto;
    margin-bottom: 8px;
}

.sn-execution-page .sn-exec-empty,
.sn-execution-page .sn-exec-empty-inline {
    padding: 20px 8px;
    text-align: center;
    font-size: 11px;
}

.sn-execution-page .sn-exec-action-bar,
.sn-execution-page .sn-exec-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0;
}

.sn-execution-page .sn-exec-submit-bar {
    justify-content: flex-end;
}

.sn-execution-page .sn-exec-inline-form {
    display: inline-block;
    margin: 0 2px;
}

.sn-execution-page .sn-exec-pre {
    white-space: pre-wrap;
    word-break: break-word;
}

.sn-execution-page .sn-exec-status,
.sn-execution-page .sn-exec-disp-status,
.sn-execution-page .sn-exec-badge,
.sn-execution-page .sn-exec-warn {
    font-size: 11px;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-title strong {
    color: #1f3c66;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-title span,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-muted {
    color: #5b6a7a;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-tab {
    background: #eef3f8;
    color: #3a4b5c;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-tab.is-active {
    background: #ffffff;
    border-color: #486b99;
    color: #1c447c;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-sub-title {
    background: linear-gradient(#f4f7fa, #e5edf4);
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-notice-box,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-alert {
    background: #f4f8fc;
    border-color: #b7cae0;
    color: #2c3e50;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-alert.is-error {
    background: #fdf6f6;
    border-color: #dfc0c0;
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-btn {
    background: linear-gradient(#ffffff, #e6ebee);
    border-color: #96a4b0;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-btn-primary {
    background: linear-gradient(#4c76b6, #315997);
    border-color: #26487d;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-btn-danger {
    background: linear-gradient(#fdf4f4, #f2d9d9);
    border-color: #c28a8a;
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-table thead th,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-info-table th {
    background: #edf2f7;
    color: #22354a;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-table tbody td,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-info-table td {
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-col-title a,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-no-link {
    color: #1b2d40;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-status.is-issued,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-disp-status.is-ready,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-badge.is-ready,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-badge.is-partial_sent {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-disp-status.is-sent,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-badge.is-all_sent {
    color: #17663a;
}

html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-status.is-cancelled,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-disp-status.is-cancelled,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-badge.is-cancelled,
html:not([data-sn-theme="dark"]) .sn-execution-page .sn-exec-warn {
    color: #9b2222;
}


/* =========================================================
   성나라 조직·부서·구성원 관리 CMS 전용 스타일 (TASK-12)
   - .sn-org-admin-page / .sn-org-tree / .sn-org-members 격리
   - 온나라 1.0 구형 고정 규격(돋움/굴림 11~12px, 모션·카드 없음)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리 (!important 0건)
   ========================================================= */

.sn-org-admin-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-org-admin-page .sn-org-header {
    padding: 0 0 8px;
    margin: 0 0 8px;
    border-bottom: 2px solid #2b4c7e;
}

.sn-org-admin-page .sn-org-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sn-org-admin-page .sn-org-title strong {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.sn-org-admin-page .sn-org-title span,
.sn-org-admin-page .sn-org-muted {
    font-size: 11px;
}

.sn-org-admin-page .sn-org-alert,
.sn-org-admin-page .sn-org-notice-box {
    margin: 0 0 8px;
    padding: 6px 10px;
    border: 1px solid #b8c6d4;
    font-size: 11px;
}

.sn-org-admin-page .sn-org-layout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sn-org-admin-page .sn-org-tree-pane {
    flex: 0 0 250px;
    width: 250px;
}

.sn-org-admin-page .sn-org-detail-pane {
    flex: 1 1 auto;
    min-width: 0;
}

.sn-org-admin-page .sn-org-sub-title {
    margin: 10px 0 4px;
    padding: 4px 8px;
    border: 1px solid #b8c6d4;
    border-top: 2px solid #3f6b9e;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.sn-org-admin-page .sn-org-tree-pane .sn-org-sub-title:first-child,
.sn-org-admin-page .sn-org-detail-pane .sn-org-sub-title:first-child {
    margin-top: 0;
}

.sn-org-tree {
    border: 1px solid #cfd8e2;
    max-height: 310px;
    overflow-y: auto;
    margin-bottom: 8px;
}

.sn-org-tree .sn-org-tree-list {
    list-style: none;
    margin: 0;
    padding: 2px 0;
}

.sn-org-tree .sn-org-tree-item {
    border-bottom: 1px solid #ebeff4;
}

.sn-org-tree .sn-org-tree-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 5px 8px;
    font-size: 11px;
    text-decoration: none;
}

.sn-org-tree .sn-org-tree-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-org-tree .sn-org-tree-meta {
    flex: 0 0 auto;
    font-size: 10px;
}

.sn-org-tree .sn-org-tree-item.is-selected .sn-org-tree-link {
    font-weight: bold;
}

.sn-org-tree .sn-org-tree-item.is-inactive .sn-org-tree-link {
    opacity: 0.65;
}

.sn-org-admin-page .sn-org-mini-form {
    border: 1px solid #cfd8e2;
    padding: 8px;
}

.sn-org-admin-page .sn-org-mini-row {
    margin-bottom: 6px;
}

.sn-org-admin-page .sn-org-mini-row label {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: bold;
}

.sn-org-admin-page .sn-org-mini-actions {
    text-align: right;
}

.sn-org-admin-page .sn-org-form-table,
.sn-org-members .sn-org-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 0 8px;
    border-top: 2px solid #486b99;
}

.sn-org-admin-page .sn-org-form-table th,
.sn-org-admin-page .sn-org-form-table td,
.sn-org-members .sn-org-table th,
.sn-org-members .sn-org-table td {
    box-sizing: border-box;
    padding: 4px 6px;
    border: 1px solid #cfd8e2;
    font-size: 11px;
    vertical-align: middle;
}

.sn-org-admin-page .sn-org-form-table th {
    text-align: left;
    font-weight: bold;
}

.sn-org-members .sn-org-table th {
    text-align: center;
    font-weight: bold;
}

.sn-org-members .sn-org-table td.is-center {
    text-align: center;
}

.sn-org-members .sn-org-table td.is-left {
    text-align: left;
}

.sn-org-members .sn-org-table tr.is-inactive td {
    opacity: 0.65;
}

.sn-org-admin-page .sn-org-input,
.sn-org-admin-page .sn-org-input-full,
.sn-org-admin-page .sn-org-input-cell,
.sn-org-admin-page .sn-org-select-full,
.sn-org-admin-page .sn-org-select-sm,
.sn-org-admin-page .sn-org-select-user {
    box-sizing: border-box;
    height: 22px;
    padding: 0 5px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-org-admin-page .sn-org-input-full,
.sn-org-admin-page .sn-org-select-full {
    width: 100%;
}

.sn-org-admin-page .sn-org-input {
    width: 160px;
}

.sn-org-admin-page .sn-org-input-sm {
    width: 105px;
}

.sn-org-admin-page .sn-org-input-xs {
    width: 68px;
}

.sn-org-admin-page .sn-org-input-cell {
    width: 72px;
}

.sn-org-admin-page .sn-org-select-sm {
    width: 105px;
}

.sn-org-admin-page .sn-org-select-user {
    width: 240px;
}

.sn-org-admin-page .sn-org-btn {
    box-sizing: border-box;
    display: inline-block;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #96a4b0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
}

.sn-org-admin-page .sn-org-btn-primary {
    font-weight: bold;
}

.sn-org-admin-page .sn-org-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.sn-org-admin-page .sn-org-blocker-note {
    font-size: 11px;
}

.sn-org-admin-page .sn-org-lifecycle-guide {
    margin: -4px 0 8px;
}

.sn-org-admin-page .sn-org-action-bar,
.sn-org-admin-page .sn-org-status-bar,
.sn-org-admin-page .sn-org-child-form,
.sn-org-admin-page .sn-org-inline-search,
.sn-org-admin-page .sn-org-assign-form,
.sn-org-admin-page .sn-org-member-edit-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 4px 0 8px;
}

.sn-org-admin-page .sn-org-member-edit-form {
    margin: 0;
    gap: 3px;
}

.sn-org-admin-page .sn-org-inline-form {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0 2px;
}

.sn-org-admin-page .sn-org-chk {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    white-space: nowrap;
}

.sn-org-admin-page .sn-org-empty,
.sn-org-admin-page .sn-org-empty-inline {
    padding: 16px 8px;
    text-align: center;
    font-size: 11px;
}

.sn-org-admin-page .sn-org-status {
    font-size: 11px;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-title strong {
    color: #1f3c66;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-title span,
html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-muted {
    color: #5b6a7a;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-sub-title {
    background: linear-gradient(#f4f7fa, #e5edf4);
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-alert,
html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-notice-box {
    background: #f4f8fc;
    border-color: #b7cae0;
    color: #2c3e50;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-alert.is-error {
    background: #fdf6f6;
    border-color: #dfc0c0;
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-org-tree,
html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-mini-form {
    background: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-org-tree .sn-org-tree-link {
    color: #26384a;
}

html:not([data-sn-theme="dark"]) .sn-org-tree .sn-org-tree-link:hover {
    background: #eef4fb;
}

html:not([data-sn-theme="dark"]) .sn-org-tree .sn-org-tree-item.is-selected .sn-org-tree-link {
    background: #e1eefb;
    color: #1a4a8c;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-form-table th,
html:not([data-sn-theme="dark"]) .sn-org-members .sn-org-table thead th {
    background: #edf2f7;
    color: #22354a;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-form-table td,
html:not([data-sn-theme="dark"]) .sn-org-members .sn-org-table tbody td {
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-btn {
    background: linear-gradient(#ffffff, #e6ebee);
    border-color: #96a4b0;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-btn-primary {
    background: linear-gradient(#4c76b6, #315997);
    border-color: #26487d;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-btn-danger {
    background: linear-gradient(#fdf4f4, #f2d9d9);
    border-color: #c28a8a;
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-btn-delete {
    background: linear-gradient(#fbeeee, #eccbcb);
    border-color: #b86f6f;
    color: #7d1717;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-blocker-note {
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-status.is-active {
    color: #17663a;
}

html:not([data-sn-theme="dark"]) .sn-org-admin-page .sn-org-status.is-inactive {
    color: #9b2222;
}


/* =========================================================
   성나라 부서 수신 · 공식 접수 · 담당자 배정 전용 스타일 (TASK-13)
   - .sn-receipt-page / .sn-receipt-pending / .sn-receipt-detail 격리
   - 온나라 1.0 구형 고정 규격(돋움/굴림 11~12px, 고밀도 표, 모션·카드 없음)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리 (!important 0건)
   ========================================================= */

.sn-receipt-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-receipt-page .sn-rcpt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 8px;
    margin: 0 0 8px;
    border-bottom: 2px solid #2b4c7e;
}

.sn-receipt-page .sn-rcpt-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sn-receipt-page .sn-rcpt-title strong {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.sn-receipt-page .sn-rcpt-title span,
.sn-receipt-page .sn-rcpt-muted,
.sn-receipt-page .sn-rcpt-footnote {
    font-size: 11px;
}

.sn-receipt-page .sn-rcpt-footnote {
    margin-top: 6px;
}

.sn-receipt-page .sn-rcpt-actions,
.sn-receipt-page .sn-rcpt-search,
.sn-receipt-page .sn-rcpt-assign-form,
.sn-receipt-page .sn-rcpt-action-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.sn-receipt-page .sn-rcpt-action-box {
    margin: 6px 0 10px;
    padding: 6px 10px;
    border: 1px solid #b8c6d4;
}

.sn-receipt-page .sn-rcpt-assign-form {
    margin: 4px 0 10px;
    padding: 6px 8px;
    border: 1px solid #cfd8e2;
}

.sn-receipt-page .sn-rcpt-inline-form {
    display: inline-flex;
    align-items: center;
    margin: 0 2px;
}

.sn-receipt-page .sn-rcpt-tabs {
    display: flex;
    gap: 2px;
    margin: 0 0 8px;
    border-bottom: 1px solid #b8c6d4;
}

.sn-receipt-page .sn-rcpt-tab {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #b8c6d4;
    border-bottom: none;
    font-size: 11px;
    text-decoration: none;
}

.sn-receipt-page .sn-rcpt-tab.is-active {
    font-weight: bold;
}

.sn-receipt-page .sn-rcpt-alert {
    margin: 0 0 8px;
    padding: 6px 10px;
    border: 1px solid #b8c6d4;
    font-size: 11px;
}

.sn-receipt-page .sn-rcpt-sub-title {
    margin: 10px 0 4px;
    padding: 4px 8px;
    border: 1px solid #b8c6d4;
    border-top: 2px solid #3f6b9e;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.sn-receipt-page .sn-rcpt-table,
.sn-receipt-page .sn-rcpt-info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 0 8px;
    border-top: 2px solid #486b99;
}

.sn-receipt-page .sn-rcpt-table th,
.sn-receipt-page .sn-rcpt-table td,
.sn-receipt-page .sn-rcpt-info-table th,
.sn-receipt-page .sn-rcpt-info-table td {
    box-sizing: border-box;
    padding: 4px 6px;
    border: 1px solid #cfd8e2;
    font-size: 11px;
    vertical-align: middle;
}

.sn-receipt-page .sn-rcpt-table th {
    text-align: center;
    font-weight: bold;
}

.sn-receipt-page .sn-rcpt-table th.is-left,
.sn-receipt-page .sn-rcpt-table td.is-left,
.sn-receipt-page .sn-rcpt-info-table th {
    text-align: left;
}

.sn-receipt-page .sn-rcpt-info-table th {
    font-weight: bold;
}

.sn-receipt-page .sn-rcpt-table td.is-center {
    text-align: center;
}

.sn-receipt-page .sn-rcpt-col-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-receipt-page .sn-rcpt-col-title a,
.sn-receipt-page .sn-rcpt-no-link {
    text-decoration: none;
}

.sn-receipt-page .sn-rcpt-col-title a:hover,
.sn-receipt-page .sn-rcpt-no-link:hover {
    text-decoration: underline;
}

.sn-receipt-page .sn-rcpt-empty {
    padding: 20px 8px;
    text-align: center;
    font-size: 11px;
}

.sn-receipt-page .sn-rcpt-input,
.sn-receipt-page .sn-rcpt-input-note,
.sn-receipt-page .sn-rcpt-select {
    box-sizing: border-box;
    height: 22px;
    padding: 0 5px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-receipt-page .sn-rcpt-input {
    width: 170px;
}

.sn-receipt-page .sn-rcpt-input-note {
    width: 240px;
}

.sn-receipt-page .sn-rcpt-select {
    width: 220px;
}

.sn-receipt-page .sn-rcpt-btn {
    box-sizing: border-box;
    display: inline-block;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #96a4b0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.sn-receipt-page .sn-rcpt-btn-primary {
    font-weight: bold;
}

.sn-receipt-page .sn-rcpt-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.sn-receipt-page .sn-rcpt-kind,
.sn-receipt-page .sn-rcpt-status {
    font-size: 11px;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-title strong {
    color: #1f3c66;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-title span,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-muted,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-footnote {
    color: #5b6a7a;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-sub-title {
    background: linear-gradient(#f4f7fa, #e5edf4);
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-tab {
    background: #eef2f6;
    color: #3a4d63;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-tab.is-active {
    background: #ffffff;
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-alert,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-action-box,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-assign-form {
    background: #f4f8fc;
    border-color: #b7cae0;
    color: #2c3e50;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-alert.is-error,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-warn {
    background: #fdf6f6;
    border-color: #dfc0c0;
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-table thead th,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-info-table th {
    background: #edf2f7;
    color: #22354a;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-table tbody td,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-info-table td {
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-col-title a,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-no-link {
    color: #1b2d40;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-btn {
    background: linear-gradient(#ffffff, #e6ebee);
    border-color: #96a4b0;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-btn-primary {
    background: linear-gradient(#4c76b6, #315997);
    border-color: #26487d;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-kind.is-department {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-kind.is-member {
    color: #4a5a6a;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-status.is-received,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-status.is-pending {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-status.is-assigned {
    color: #8a5600;
}

html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-rcpt-status.is-accepted {
    color: #17663a;
}


/* =========================================================
   성나라 접수문서 처리 · 처리결과 · 종결 전용 스타일 (TASK-14)
   - .sn-processing-page / .sn-processing-result / .sn-closed-documents 격리
   - 온나라 1.0 구형 고정 규격(돋움/굴림 11~12px, 고밀도 표, 모션·카드 없음)
   - 라이트 색상은 html:not([data-sn-theme="dark"]) 하위로 격리 (!important 0건)
   ========================================================= */

.sn-processing-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.sn-processing-page .sn-proc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 8px;
    margin: 0 0 8px;
    border-bottom: 2px solid #2b4c7e;
}

.sn-processing-page .sn-proc-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sn-processing-page .sn-proc-title strong {
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.sn-processing-page .sn-proc-title span,
.sn-processing-page .sn-proc-muted {
    font-size: 11px;
}

.sn-processing-page .sn-proc-actions,
.sn-processing-page .sn-proc-search,
.sn-processing-page .sn-proc-submit-bar,
.sn-processing-page .sn-proc-close-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.sn-processing-page .sn-proc-submit-bar {
    margin: 6px 0 10px;
}

.sn-processing-page .sn-proc-close-box {
    margin: 8px 0 10px;
    padding: 6px 10px;
    border: 1px solid #b8c6d4;
}

.sn-processing-page .sn-proc-inline-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.sn-processing-page .sn-proc-alert {
    margin: 0 0 8px;
    padding: 6px 10px;
    border: 1px solid #b8c6d4;
    font-size: 11px;
}

.sn-processing-page .sn-proc-sub-title {
    margin: 10px 0 4px;
    padding: 4px 8px;
    border: 1px solid #b8c6d4;
    border-top: 2px solid #3f6b9e;
    font-family: Gulim, "굴림", Dotum, "돋움", sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.sn-processing-page .sn-proc-table,
.sn-processing-page .sn-proc-info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 0 8px;
    border-top: 2px solid #486b99;
}

.sn-processing-page .sn-proc-table th,
.sn-processing-page .sn-proc-table td,
.sn-processing-page .sn-proc-info-table th,
.sn-processing-page .sn-proc-info-table td {
    box-sizing: border-box;
    padding: 4px 6px;
    border: 1px solid #cfd8e2;
    font-size: 11px;
    vertical-align: middle;
}

.sn-processing-page .sn-proc-table th {
    text-align: center;
    font-weight: bold;
}

.sn-processing-page .sn-proc-table th.is-left,
.sn-processing-page .sn-proc-table td.is-left,
.sn-processing-page .sn-proc-info-table th {
    text-align: left;
}

.sn-processing-page .sn-proc-info-table th {
    font-weight: bold;
}

.sn-processing-page .sn-proc-table td.is-center {
    text-align: center;
}

.sn-processing-page .sn-proc-col-title,
.sn-processing-page .sn-proc-col-summary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-processing-page .sn-proc-col-title a,
.sn-processing-page .sn-proc-no-link {
    text-decoration: none;
}

.sn-processing-page .sn-proc-col-title a:hover,
.sn-processing-page .sn-proc-no-link:hover {
    text-decoration: underline;
}

.sn-processing-page .sn-proc-pre {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.55;
    min-height: 60px;
}

.sn-processing-page .sn-proc-empty {
    padding: 20px 8px;
    text-align: center;
    font-size: 11px;
}

.sn-processing-page .sn-proc-input,
.sn-processing-page .sn-proc-input-full {
    box-sizing: border-box;
    height: 22px;
    padding: 0 5px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-processing-page .sn-proc-input {
    width: 185px;
}

.sn-processing-page .sn-proc-input-full {
    width: 100%;
}

.sn-processing-page .sn-proc-textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 5px 6px;
    border: 1px solid #aebbc8;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    resize: vertical;
}

.sn-processing-page .sn-proc-btn {
    box-sizing: border-box;
    display: inline-block;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #96a4b0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.sn-processing-page .sn-proc-btn-primary {
    font-weight: bold;
}

.sn-processing-page .sn-proc-kind,
.sn-processing-page .sn-proc-status,
.sn-receipt-page .sn-proc-status {
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-title strong {
    color: #1f3c66;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-title span,
html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-muted {
    color: #5b6a7a;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-sub-title {
    background: linear-gradient(#f4f7fa, #e5edf4);
    color: #1f3954;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-alert,
html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-close-box {
    background: #f4f8fc;
    border-color: #b7cae0;
    color: #2c3e50;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-alert.is-error,
html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-warn {
    background: #fdf6f6;
    border-color: #dfc0c0;
    color: #8f2222;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-table thead th,
html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-info-table th {
    background: #edf2f7;
    color: #22354a;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-table tbody td,
html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-info-table td {
    background: #ffffff;
    color: #333333;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-col-title a,
html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-no-link {
    color: #1b2d40;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-btn {
    background: linear-gradient(#ffffff, #e6ebee);
    border-color: #96a4b0;
    color: #222222;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-btn-primary {
    background: linear-gradient(#4c76b6, #315997);
    border-color: #26487d;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-status.is-in_progress,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-proc-status.is-in_progress {
    color: #8a5600;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-status.is-completed,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-proc-status.is-completed {
    color: #1b4f8c;
}

html:not([data-sn-theme="dark"]) .sn-processing-page .sn-proc-status.is-closed,
html:not([data-sn-theme="dark"]) .sn-receipt-page .sn-proc-status.is-closed {
    color: #17663a;
}

/* =========================================================
   TASK-15.1: 성나라 전용 모달 로그인 업무포털
   - 2000년대 후반~2010년대 초 공공기관 업무포털 스타일
   - 애니메이션/모션 없음, 고정 데스크톱 규격, 성나라 전용 스코프
   ========================================================= */

html.sn-login-modal-open {
    overflow: hidden;
}

body.sn-login-modal-open {
    overflow-y: hidden;
}

.sn-login-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70000;
    background: rgba(34, 42, 52, 0.54);
    overflow: auto;
    padding: 24px 16px;
    box-sizing: border-box;
}

.sn-login-overlay.sn-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sn-login-portal {
    width: 720px;
    min-width: 720px;
    max-width: 720px;
    flex-shrink: 0;
    margin: auto;
    border: 1px solid #536d8a;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
    font-family: Dotum, '돋움', Gulim, '굴림', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: #222222;
    box-sizing: border-box;
}

.sn-login-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    padding: 0 8px 0 11px;
    background: linear-gradient(to bottom, #3b6aa3 0%, #264f83 100%);
    border-bottom: 1px solid #1d3f6b;
    color: #ffffff;
    box-sizing: border-box;
}

.sn-login-header-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: -0.2px;
    color: #ffffff;
}

.sn-login-header-icon {
    font-size: 11px;
    color: #cde1f8;
}

.sn-login-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid #6b91be;
    background: linear-gradient(to bottom, #4473ab 0%, #2b568b 100%);
    color: #ffffff;
    font-family: Dotum, '돋움', Gulim, '굴림', sans-serif;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
}

.sn-login-close:hover {
    background: #1e4270;
    border-color: #9bb8db;
}

.sn-login-close:focus {
    outline: 1px dotted #ffffff;
    outline-offset: 1px;
}

.sn-login-body {
    display: flex;
    align-items: stretch;
    min-height: 256px;
}

.sn-login-visual {
    width: 336px;
    min-width: 336px;
    max-width: 336px;
    flex-shrink: 0;
    border-right: 1px solid #cfd8e3;
    background: linear-gradient(180deg, #dde9f6 0%, #c6dbf0 55%, #b3cce7 100%);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.sn-login-visual.has-image {
    background: #d8e5f2;
}

.sn-login-visual-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 256px;
    object-fit: cover;
    object-position: center;
}

.sn-login-visual-fallback {
    height: 100%;
    min-height: 256px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    border: 6px solid rgba(255, 255, 255, 0.36);
}

.sn-login-visual-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 7px;
    margin-bottom: 12px;
    border: 1px solid #7d9fc5;
    background: rgba(255, 255, 255, 0.72);
    color: #214a7a;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.4px;
}

.sn-login-visual-title {
    font-size: 19px;
    font-weight: bold;
    color: #163b6a;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.sn-login-visual-subtitle {
    font-size: 12px;
    color: #2d4e75;
    line-height: 1.5;
}

.sn-login-visual-rule {
    width: 48px;
    height: 2px;
    background: #3a6aa3;
    margin: 16px 0 12px 0;
}

.sn-login-visual-caption {
    font-size: 11px;
    font-weight: bold;
    color: #345478;
}

.sn-login-form-wrap {
    flex: 1;
    min-width: 0;
    padding: 22px 24px 18px 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.sn-login-portal-head {
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid #d5dfe9;
}

.sn-login-portal-title {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: bold;
    color: #1a3f70;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.sn-login-portal-guide {
    margin: 0;
    font-size: 11px;
    color: #546578;
}

.sn-login-error {
    display: none;
    margin: 0 0 10px 0;
    padding: 6px 8px;
    border: 1px solid #d5a3a3;
    background: #fdf3f3;
    color: #8f1d1d;
    font-size: 11px;
    line-height: 1.45;
    word-break: keep-all;
}

.sn-login-error.is-visible {
    display: block;
}

.sn-login-form {
    margin: 0;
    padding: 0;
}

.sn-login-form-grid {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.sn-login-fields {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sn-login-field-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sn-login-label {
    width: 52px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: bold;
    color: #2a3b4d;
    text-align: left;
    margin: 0;
}

.sn-login-input {
    flex: 1;
    min-width: 0;
    height: 24px;
    padding: 2px 6px;
    border: 1px solid #96a6b6;
    background: #ffffff;
    color: #1d2630;
    font-family: Dotum, '돋움', Gulim, '굴림', sans-serif;
    font-size: 12px;
    line-height: 18px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.sn-login-input:focus {
    outline: 1px solid #2b5a94;
    border-color: #2b5a94;
    background: #fcfdff;
}

.sn-login-submit-col {
    width: 72px;
    flex-shrink: 0;
    display: flex;
}

.sn-login-submit {
    width: 100%;
    height: 55px;
    padding: 0;
    border: 1px solid #214575;
    background: linear-gradient(to bottom, #4b78b8 0%, #2c5591 100%);
    color: #ffffff;
    font-family: Dotum, '돋움', Gulim, '굴림', sans-serif;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
}

.sn-login-submit:hover {
    background: linear-gradient(to bottom, #3e6aa9 0%, #24487e 100%);
}

.sn-login-submit:focus {
    outline: 1px dotted #1b3b67;
    outline-offset: 1px;
}

.sn-login-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.sn-login-footnote {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dotted #cfd8e3;
    font-size: 11px;
    color: #607080;
}

.sn-login-footnote p {
    margin: 0;
    line-height: 1.45;
}

.sn-login-affiliates {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border-top: 1px solid #cfd8e3;
    background: #f4f7fa;
    box-sizing: border-box;
}

.sn-login-affiliates-label {
    flex-shrink: 0;
    padding-right: 10px;
    border-right: 1px solid #c4cfd9;
    font-size: 11px;
    font-weight: bold;
    color: #354a60;
    white-space: nowrap;
}

.sn-login-affiliates-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.sn-login-affiliate-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 9px;
    border: 1px solid #c9d3de;
    background: #ffffff;
    color: #2a3e53;
    font-size: 11px;
    text-decoration: none;
    box-sizing: border-box;
}

a.sn-login-affiliate-item:hover {
    border-color: #3b699e;
    background: #eef4fb;
    color: #173a66;
}

.sn-login-affiliate-img {
    display: block;
    max-height: 18px;
    max-width: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sn-login-affiliate-text {
    white-space: nowrap;
}

.sn-login-affiliates-empty {
    font-size: 11px;
    color: #6b7a89;
}

/* 기존 다크모드 속성 최소 호환 (신규 다크 UI 기능 추가 아님) */
html[data-sn-theme="dark"] .sn-login-portal {
    background: #1f2732;
    border-color: #46576c;
    color: #e4eaf2;
}

html[data-sn-theme="dark"] .sn-login-form-wrap {
    background: #1f2732;
}

html[data-sn-theme="dark"] .sn-login-portal-head {
    border-bottom-color: #39485b;
}

html[data-sn-theme="dark"] .sn-login-portal-title {
    color: #dce8f8;
}

html[data-sn-theme="dark"] .sn-login-portal-guide,
html[data-sn-theme="dark"] .sn-login-footnote,
html[data-sn-theme="dark"] .sn-login-affiliates-empty {
    color: #a8b7c8;
}

html[data-sn-theme="dark"] .sn-login-label {
    color: #d6e0ec;
}

html[data-sn-theme="dark"] .sn-login-input {
    background: #161d26;
    border-color: #495b70;
    color: #edf2f8;
}

html[data-sn-theme="dark"] .sn-login-error {
    background: #3a1f24;
    border-color: #7d3c44;
    color: #f6c9ce;
}

html[data-sn-theme="dark"] .sn-login-visual {
    border-right-color: #39485b;
    background: linear-gradient(180deg, #25364c 0%, #1d2b3e 100%);
}

html[data-sn-theme="dark"] .sn-login-visual-title {
    color: #e1ecfa;
}

html[data-sn-theme="dark"] .sn-login-visual-subtitle,
html[data-sn-theme="dark"] .sn-login-visual-caption {
    color: #b8c9dc;
}

html[data-sn-theme="dark"] .sn-login-affiliates {
    background: #19202a;
    border-top-color: #39485b;
}

html[data-sn-theme="dark"] .sn-login-affiliates-label {
    color: #c8d6e6;
    border-right-color: #3b4b5f;
}

html[data-sn-theme="dark"] .sn-login-affiliate-item {
    background: #232d3b;
    border-color: #45566c;
    color: #dce6f2;
}

/* =========================================================
   성·나라 메모보고 완성 (첨부·관련정보·임시저장·등록대장·검색)
   - 온나라 1.0 고밀도 구형 표/폼 규격 유지
   ========================================================= */
.sn-memo-search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px 0;
    padding: 6px 8px;
    border: 1px solid #c5d1dc;
    font-size: 12px;
}

.sn-memo-search-bar label {
    font-weight: bold;
    white-space: nowrap;
}

.sn-memo-search-bar select,
.sn-memo-search-bar .sn-memo-search-input {
    height: 24px;
    padding: 0 6px;
    border: 1px solid #aebbc8;
    font-family: Dotum, Gulim, sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-memo-search-bar .sn-memo-search-input {
    width: 220px;
}

.sn-memo-search-bar .sn-memo-search-btn,
.sn-memo-search-bar .sn-memo-search-reset {
    display: inline-block;
    height: 24px;
    line-height: 22px;
    padding: 0 10px;
    border: 1px solid #96a8ba;
    font-family: Dotum, Gulim, sans-serif;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.sn-memo-attach-controls,
.sn-memo-related-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sn-memo-attach-list,
.sn-memo-related-list {
    list-style: none;
    margin: 6px 0 0 0;
    padding: 0;
}

.sn-memo-attach-list:empty,
.sn-memo-related-list:empty {
    margin-top: 0;
}

.sn-memo-attach-item,
.sn-memo-related-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    margin-top: 3px;
    border: 1px solid #d4dde6;
    font-size: 12px;
}

.sn-memo-attach-meta {
    font-size: 11px;
    color: #5b6977;
}

.sn-memo-badge {
    display: inline-block;
    margin-left: 4px;
    font-size: 11px;
    font-weight: normal;
}

.sn-memo-inline-remove,
.sn-memo-row-link {
    display: inline-block;
    height: 20px;
    line-height: 18px;
    padding: 0 6px;
    border: 1px solid #a8b6c4;
    font-family: Dotum, Gulim, sans-serif;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.sn-memo-cat {
    display: inline-block;
    padding: 1px 5px;
    border: 1px solid #b8c6d4;
    font-size: 11px;
    white-space: nowrap;
}

.sn-memo-pagination {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
}

.sn-memo-pagination a,
.sn-memo-pagination strong {
    display: inline-block;
    min-width: 22px;
    height: 22px;
    line-height: 20px;
    margin: 0 2px;
    padding: 0 5px;
    border: 1px solid #c5d1dc;
    text-decoration: none;
    box-sizing: border-box;
}

html:not([data-sn-theme="dark"]) .sn-memo-search-bar {
    background: #f3f7fb;
    color: #223040;
}

html:not([data-sn-theme="dark"]) .sn-memo-search-bar select,
html:not([data-sn-theme="dark"]) .sn-memo-search-bar .sn-memo-search-input {
    background: #ffffff;
    color: #1f2b38;
}

html:not([data-sn-theme="dark"]) .sn-memo-search-bar .sn-memo-search-btn,
html:not([data-sn-theme="dark"]) .sn-memo-search-bar .sn-memo-search-reset,
html:not([data-sn-theme="dark"]) .sn-memo-inline-remove,
html:not([data-sn-theme="dark"]) .sn-memo-row-link {
    background: #f7f9fc;
    color: #203142;
}

html:not([data-sn-theme="dark"]) .sn-memo-attach-item,
html:not([data-sn-theme="dark"]) .sn-memo-related-item {
    background: #f9fbfd;
    color: #1f2b38;
}

html:not([data-sn-theme="dark"]) .sn-memo-badge {
    color: #2b5a8a;
}

html:not([data-sn-theme="dark"]) .sn-memo-cat.is-sent,
html:not([data-sn-theme="dark"]) .sn-memo-cat.is-both {
    background: #edf4fb;
    border-color: #9cb8d4;
    color: #1e4b7a;
}

html:not([data-sn-theme="dark"]) .sn-memo-cat.is-received {
    background: #eff7f1;
    border-color: #9fc2a8;
    color: #1e5c2e;
}

html:not([data-sn-theme="dark"]) .sn-memo-cat.is-draft {
    background: #faf6eb;
    border-color: #d2c191;
    color: #6b5314;
}

html:not([data-sn-theme="dark"]) .sn-memo-pagination a {
    background: #ffffff;
    color: #263646;
}

html:not([data-sn-theme="dark"]) .sn-memo-pagination strong.is-current {
    background: #2f6090;
    border-color: #244d75;
    color: #ffffff;
}

/* =========================================================
   잔여 미구현 기능 전면 완성 (온나라 1.0 라이트 고밀도 스타일)
   - 기존 다크모드 CSS 비변경, 라이트 색상은 html:not([data-sn-theme="dark"]) 격리
   ========================================================= */

/* 상단 유틸리티·검색줄 스타일은 상단 .sn-legacy-shell 규격 섹션으로 통합됨 */

.sn-quick-menu-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sn-quick-menu-wrap button.sn-quick-menu {
    border: 0;
    cursor: pointer;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    padding: 0 10px;
}

.sn-quick-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 900;
    width: 190px;
    border: 1px solid #8ba3bc;
    padding: 4px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.sn-quick-menu-dropdown a {
    display: block;
    padding: 5px 10px;
    font-size: 11px;
    text-decoration: none;
}

.sn-quick-menu-dropdown a.sn-quick-menu-pref {
    border-top: 1px solid #d5dfe8;
    margin-top: 3px;
    padding-top: 6px;
    font-weight: bold;
}

a.sn-notice-label {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

a.sn-notice-link {
    text-decoration: none;
    color: inherit;
}

a.sn-notice-link:hover {
    text-decoration: underline;
}

.sn-badge-count,
.sn-side-badge {
    display: inline-block;
    min-width: 15px;
    height: 15px;
    line-height: 15px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    border-radius: 2px;
    box-sizing: border-box;
    margin-left: 4px;
}

a.sn-side-action {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.sn-side-action:hover,
a.sn-side-action.active {
    font-weight: bold;
    text-decoration: underline;
}

/* 작성기 상단 보조기능 메뉴/툴바/패널 */
.sn-writer-menu-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 2px 7px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    cursor: pointer;
    color: inherit;
}

.sn-writer-tool-btn {
    padding: 2px 8px;
    border: 1px solid #b5c3d0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
    cursor: pointer;
}

.sn-writer-aux-panel {
    border-bottom: 1px solid #9eb2c7;
    padding: 8px 12px;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 11px;
}

.sn-writer-aux-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #d1dce6;
}

.sn-writer-aux-close {
    border: 1px solid #aab8c6;
    padding: 1px 6px;
    font-size: 11px;
    cursor: pointer;
}

.sn-writer-aux-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 6px;
}

.sn-writer-aux-table th,
.sn-writer-aux-table td {
    border: 1px solid #c9d4df;
    padding: 4px 6px;
    text-align: left;
    font-size: 11px;
}

.sn-writer-aux-table th {
    width: 100px;
}

.sn-writer-aux-actions {
    margin-top: 6px;
}

.sn-writer-aux-msg {
    margin-left: 8px;
    font-weight: bold;
}

.sn-writer-aux-steps span {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #c2cedb;
    margin: 2px 0;
}

.sn-writer-aux-list {
    margin: 4px 0;
    padding-left: 16px;
}

/* 잔여 기능 공용 온나라 1.0 화면 요소 */
.sn-rem-page {
    font-family: Dotum, "돋움", Gulim, "굴림", sans-serif;
    font-size: 12px;
}

.sn-rem-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-rem-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #c5d1dd;
}

.sn-rem-tab {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #becbd8;
    font-size: 11px;
    text-decoration: none;
}

.sn-rem-tab-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sn-rem-section {
    margin-top: 12px;
}

.sn-rem-section-title {
    padding: 5px 8px;
    border: 1px solid #b8c7d6;
    border-bottom: 0;
    font-size: 12px;
    font-weight: bold;
}

.sn-rem-form-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #c3cfd9;
}

.sn-rem-form-table th,
.sn-rem-form-table td {
    border: 1px solid #c3cfd9;
    padding: 6px 8px;
    font-size: 12px;
    vertical-align: middle;
}

.sn-rem-form-table th {
    text-align: center;
    font-weight: bold;
}

.sn-rem-input-full {
    width: 100%;
    height: 24px;
    padding: 0 6px;
    border: 1px solid #b5c3d0;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-rem-input-sm {
    height: 24px;
    padding: 0 4px;
    border: 1px solid #b5c3d0;
    font-size: 11px;
}

.sn-rem-select {
    height: 24px;
    padding: 0 4px;
    border: 1px solid #b5c3d0;
    font-size: 11px;
}

.sn-rem-select-sm {
    height: 22px;
    padding: 0 3px;
    border: 1px solid #b5c3d0;
    font-size: 11px;
}

.sn-rem-textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #b5c3d0;
    font-family: Dotum, "돋움", sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

.sn-rem-form-actions {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}

.sn-rem-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    max-height: 150px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #d5dfe8;
}

.sn-rem-check-item {
    font-size: 11px;
    white-space: nowrap;
}

.sn-rem-badge {
    display: inline-block;
    padding: 1px 6px;
    border: 1px solid #b4c6d8;
    font-size: 11px;
    white-space: nowrap;
}

.sn-rem-sub {
    font-size: 11px;
    margin-top: 2px;
}

.sn-rem-pre {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
}

.sn-rem-box {
    padding: 12px;
    border: 1px solid #c5d1dd;
    font-size: 12px;
}

.sn-rem-summary {
    margin-bottom: 8px;
    padding: 6px 10px;
    border: 1px solid #c5d1dd;
    font-size: 12px;
}

.sn-rem-upload-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid #c3cfd9;
}

.sn-rem-inline-form {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sn-rem-mini-actions {
    margin-top: 4px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.sn-rem-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border: 1px solid #c3cfd9;
}

.sn-rem-radio-row {
    display: flex;
    gap: 14px;
    margin-bottom: 6px;
    font-size: 12px;
}

.sn-rem-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sn-rem-paging {
    margin-top: 10px;
    text-align: center;
}

.sn-rem-page-link {
    display: inline-block;
    min-width: 22px;
    height: 22px;
    line-height: 20px;
    margin: 0 2px;
    padding: 0 5px;
    border: 1px solid #c3cfd9;
    font-size: 11px;
    text-decoration: none;
}

.sn-rem-doc-aux-grid {
    padding: 8px;
    border: 1px solid #c3cfd9;
}

/* 라이트 테마 전용 색상 격리 */
html:not([data-sn-theme="dark"]) .sn-quick-menu-dropdown {
    background: #ffffff;
    color: #223040;
}

html:not([data-sn-theme="dark"]) .sn-quick-menu-dropdown a {
    color: #223040;
}

html:not([data-sn-theme="dark"]) .sn-quick-menu-dropdown a:hover {
    background: #eef4fa;
    color: #18497a;
}

html:not([data-sn-theme="dark"]) .sn-badge-count,
html:not([data-sn-theme="dark"]) .sn-side-badge {
    background: #2f6090;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-writer-menu-btn:hover,
html:not([data-sn-theme="dark"]) .sn-writer-menu-btn.is-active {
    background: #dfeaf4;
    border-color: #9cb4cc;
    color: #173d66;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-writer-tool-btn {
    background: #f5f8fb;
    color: #1e334a;
}

html:not([data-sn-theme="dark"]) .sn-writer-tool-btn.is-active {
    background: #2f6090;
    border-color: #224a70;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-writer-aux-panel {
    background: #f6f9fc;
    color: #223040;
}

html:not([data-sn-theme="dark"]) .sn-writer-aux-table th {
    background: #eaf0f6;
    color: #1f3347;
}

html:not([data-sn-theme="dark"]) .sn-writer-aux-table td {
    background: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-writer-aux-close {
    background: #ffffff;
    color: #334;
}

html:not([data-sn-theme="dark"]) .sn-writer-aux-msg {
    color: #1c5a8a;
}

html:not([data-sn-theme="dark"]) .sn-writer-aux-err {
    color: #b42318;
}

html:not([data-sn-theme="dark"]) .sn-rem-tab {
    background: #f5f8fb;
    color: #233547;
}

html:not([data-sn-theme="dark"]) .sn-rem-tab.is-active {
    background: #2f6090;
    border-color: #234c75;
    color: #ffffff;
    font-weight: bold;
}

html:not([data-sn-theme="dark"]) .sn-rem-section-title {
    background: #eaf0f6;
    color: #1c3a59;
}

html:not([data-sn-theme="dark"]) .sn-rem-form-table th {
    background: #f0f4f8;
    color: #203244;
}

html:not([data-sn-theme="dark"]) .sn-rem-form-table td,
html:not([data-sn-theme="dark"]) .sn-rem-box,
html:not([data-sn-theme="dark"]) .sn-rem-upload-row,
html:not([data-sn-theme="dark"]) .sn-rem-quick-links,
html:not([data-sn-theme="dark"]) .sn-rem-doc-aux-grid {
    background: #ffffff;
    color: #223040;
}

html:not([data-sn-theme="dark"]) .sn-rem-summary {
    background: #f3f7fb;
    color: #1e3247;
}

html:not([data-sn-theme="dark"]) .sn-rem-badge {
    background: #edf4fa;
    color: #1c4a75;
}

html:not([data-sn-theme="dark"]) .sn-rem-sub {
    color: #5b6b7c;
}

html:not([data-sn-theme="dark"]) .sn-rem-btn-primary {
    background: #2f6090;
    border-color: #234c75;
    color: #ffffff;
}

html:not([data-sn-theme="dark"]) .sn-rem-page-link {
    background: #ffffff;
    color: #233547;
}

html:not([data-sn-theme="dark"]) .sn-rem-page-link.is-current {
    background: #2f6090;
    border-color: #234c75;
    color: #ffffff;
    font-weight: bold;
}






