@charset "UTF-8";

/* ============================================
   1. CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
    /* Colors - Brand & Semantic */
    --brand: #00d4aa;
    --brand-hover: #00bfa0;
    --danger: #ff5757;
    --danger-hover: #ff3d3d;
    --info: #4a9eff;
    --warning: #ffa726;

    /* Colors - Text */
    --text-strong: #ffffff;
    --text: #c9d1d9;
    --text-muted: #7d8590;
    --text-placeholder: #484f58;

    /* Colors - Background */
    --bg: #0f1419;
    --bg-elev: #0a0e14;
    --bg-card: #161b22;
    --bg-input: #0d1117;
    --bg-hover: #1c2128;

    /* Colors - Borders */
    --border: #21262d;
    --border-secondary: #30363d;
    --border-hover: #484f58;

    /* Spacing */
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-15: 15px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-30: 30px;
    --space-32: 32px;
    --space-40: 40px;

    /* Radius */
    --radius-4: 4px;
    --radius-6: 6px;
    --radius-8: 8px;
    --radius-10: 10px;
    --radius-12: 12px;
    --radius-999: 999px;

    /* Shadows */
    --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-3: 0 25px 50px rgba(0, 0, 0, 0.6);

    /* Motion */
    --dur-fast: 0.15s;
    --dur-med: 0.2s;
    --dur-slow: 0.3s;
    --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);

    /* Layout */
    --sidebar-width: 70px;
    --input-height: 40px;
    --input-height-sm: 26px;
    --header-h: 77px;
}

/* ============================================
   2. BASE & RESET
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
ul li {list-style:none;}
/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
.h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--space-30);
    color: var(--text-strong);
    line-height: 1.2;
}

h2,
.h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-15);
    color: var(--text);
    line-height: 1.3;
}

h2.tit--spaced {
    margin-top: var(--space-40);
}

/* ============================================
   4. LAYOUT SYSTEM
   ============================================ */
.wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.cont {
    flex: 1;
    padding: 100px 20px 20px;
    margin-left: var(--sidebar-width);
    transition: margin-right var(--dur-slow) var(--ease-standard);
    max-width: 100%;
    overflow-x: clip;
    width: calc(100% - 62px);
}

/* Grid Groups */
.w_group {
    margin-bottom: var(--space-30);
}

.w_group:last-child {
    margin-bottom: 0;
}

.w_group--2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-20);
}

.w_group--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-20);
}

.w_group--5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-15);
}

/* Flexbox Utilities */
.fl {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.fl--nowrap {
    flex-wrap: nowrap;
}

.fl--left {
    justify-content: flex-start;
}

.fl--center {
    justify-content: center;
}

.fl--right {
    justify-content: flex-end;
}

.fl--between {
    justify-content: space-between;
}
.mat10 {margin-top:10px;}
.mat20 {margin-top:20px;}
/* 공용 태그 스타일 */
.tag_st{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:2px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    border:1px solid transparent;
}

.tag_r{
    background:rgba(255,90,90,0.12);
    border-color:rgba(255,90,90,0.6);
    color:#ff9b9b;
}

.tag_g{
    background:rgba(0,212,170,0.16);
    border-color:rgba(0,212,170,0.6);
    color:#7ff4d8;
}

.tag_y{
    background:rgba(255,200,80,0.12);
    border-color:rgba(255,200,80,0.6);
    color:#ffdf7f;
}

.tag_b{
    background:rgba(80,150,255,0.12);
    border-color:rgba(80,150,255,0.6);
    color:#9ec7ff;
}

/* ============================================
   5. HEADER
   ============================================ */
.page_header {
    position: fixed;
    top: 0;
    z-index: 101;
    width: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-secondary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_left {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.header_icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-12);display: grid;
    place-items: center;
}

.header_icon img {
    width: 50px;
    height: 50px;
    margin-top: -7px;
}

.header_title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-strong);
    letter-spacing: -0.01em;
    margin: 0;
}
.header_sub {
    font-size: 9px;
    color: var(--text-muted, #7d8590);
}
.header_badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-999);
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-secondary);
    font-size: 11px;
    font-weight: 600;
    transition: all var(--dur-med) var(--ease-standard);
}

.header_badge:hover {
    background: var(--bg-hover);
}

.hdr_button {display:none;}
.header_right {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

/* 공통헤더 메뉴: 가운데 정렬 */
.header_gnav{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
    padding: 6px 0 10px;
    position: relative;
}

.header_gnav_item{
    position: relative;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 12px 4px;
    transition:
            color .18s ease,
            background .18s ease,
            box-shadow .18s ease,
            transform .18s ease;
}

.header_gnav_item::before{
    content:"";
    position:absolute;
    top: 1px;
    left:50%;
    transform:translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius:999px;
    background: transparent;
    box-shadow:none;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.header_gnav_item::after{
    content:"";
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom: -4px;
    width: 32px;
    max-width: 80%;
    height: 2px;
    border-radius:999px;
    background: transparent;
    box-shadow:none;
    transition: background .18s ease, box-shadow .18s ease;
}

.header_gnav_item:hover{
    color: var(--text);
}

.header_gnav_item.is-active{
    color:#e9fff9;
    background: rgba(0,0,0,0.18);  /* 너무 티나면 이 줄 지워도 됨 */
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
    transform: translateY(-1px);
}

.header_gnav_item.is-active::before{
    background:#00d4aa;
    box-shadow:0 0 6px rgba(0,212,170,0.9);
    transform:translateX(-50%) translateY(-1px);
}

.header_gnav_item.is-active::after{
    background:#00d4aa;
    box-shadow:0 0 6px rgba(0,212,170,0.7);
}

@media (max-width: 768px){
    .page_header{
        flex-wrap: wrap;
    }
    .header_gnav{
        /* order: 3; */
        /* width: 100%; */
        /* margin-top: 8px; */
        /* justify-content: center; */
    }
}



.clock_badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-6);
    padding: 6px 10px;
    border-radius: var(--radius-999);
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.clock_label {
    color: var(--text-muted);
    font-weight: 500;
}

.clock_time {
    color: var(--text);
    font-weight: 600;
}

/* Membership Cards */
.h_membership {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    vertical-align: bottom;
}

.h_membership .card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #2a2f36;
    background: linear-gradient(180deg, #161b22, #10151c);
    color: var(--text);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: var(--shadow-1);
}

.h_membership .card .label {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.h_membership .card .meta {
    opacity: 0.85;
}

.h_membership .card .value strong {
    font-weight: 900;
    font-size: 13px;
}

.h_membership .ico {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: 0.9;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.m_flat .ico {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9d1d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cpolyline points='9 15 11 17 15 13'/%3E%3C/svg%3E");
}

.tag {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
}

.tag-ok {
    background: #0b2f29;
    color: #7ff4d8;
    border-color: #114d42;
}

.tag-warn {
    background: #2f1b0b;
    color: #ffc387;
    border-color: #5a3c1c;
}


.h_membership .chunk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.h_mypage .btn {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #30363d;
    border-radius: 999px;
    background: var(--brand);
    color: #00130f;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.h_mypage .btn:hover {
    background: var(--brand-hover);
}

/* ============================================
   6. SIDEBAR NAVIGATION
   ============================================ */
.left_header {
    width: var(--sidebar-width);
    background: var(--bg-elev);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 77px 0 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.menu_list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.menu_bottom {
    width: 100%;
    margin-top: auto;
    padding: var(--space-10) 0;
    border-top: 1px solid var(--border);
}

.menu_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 74px;
    gap: var(--space-6);
    font-size: 11px;
    line-height: 1.2;
    color: var(--text-muted);
    text-align: center;
    padding: var(--space-6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    transition: all var(--dur-med) var(--ease-standard);
    border-left: 3px solid transparent;
}

.menu_item:hover,
.menu_item.on {
    color: var(--text-strong);
    background: var(--bg-hover);
    border-left-color: var(--brand);
}

.menu_icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    transition: opacity var(--dur-med) var(--ease-standard);
}

.menu_item:hover .menu_icon,
.menu_item.on .menu_icon {
    opacity: 1;
}

/* ============================================
   7. BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 9px 24px;
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: var(--radius-6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dur-med) var(--ease-standard);
    text-align: center;
    height: var(--input-height);
    line-height: 1.5;
    white-space: nowrap;
    justify-content: center;
}

.btn--primary,
.btn.bc_g {
    background: var(--brand);
    color: var(--bg);
}

.btn--primary:hover,
.btn.bc_g:hover {
    background: var(--brand-hover);
}

.btn--secondary,
.btn.bc_k {
    background: var(--border);
    color: var(--text);
    border: 1px solid var(--border-secondary);
}

.btn--secondary:hover,
.btn.bc_k:hover {
    background: var(--border-secondary);
    border-color: var(--border-hover);
}

.btn--danger,
.btn.bc_r {
    background: var(--danger);
    color: var(--text-strong);
}

.btn--danger:hover,
.btn.bc_r:hover {
    background: var(--danger-hover);
}

.btn--sm,
.btn.sml {
    height: var(--input-height-sm);
    padding: 6px 6px;
    font-size: 12px;
    line-height: 1.1;
}

/* Icon Buttons */
.btn_ico {display: inline-block; width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; background-repeat: no-repeat; background-position: center; background-size: 18px 18px;}

.btn_ico--excel {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Crect x='9' y='4' width='12' height='16' rx='2' fill='%23ffffff' stroke='%23217346' stroke-width='2'/%3E%3Cpath d='M12 8h7M12 11h7M12 14h7M12 17h7' stroke='%23217346' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='3' y='6' width='10' height='12' rx='2' fill='%23217346'/%3E%3Ctext x='6.05' y='15.55' font-size='9.4' font-family='Arial, sans-serif' font-weight='900' fill='%23ffffff'%3EX%3C/text%3E%3C/svg%3E");}

.btn_ico--pdf {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h8l4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z' fill='%23f3f4f6'/%3E%3Cpath d='M15 2v4a2 2 0 0 0 2 2h4' fill='%23c7c7c7'/%3E%3Crect x='3' y='13' width='15.2' height='8' rx='2' fill='%23ef4444'/%3E%3Ctext x='5.05' y='19.1' font-size='7.25' font-family='Arial, sans-serif' font-weight='900' fill='%23ffffff'%3EPDF%3C/text%3E%3C/svg%3E");}


.btn_ico:hover {
    color: var(--brand);
}


.btn_ico .i {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================
   8. FORM CONTROLS
   ============================================ */
.st_input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-6);
    padding: 11px 15px;
    color: var(--text);
    font-size: 14px;
    transition: all var(--dur-med) var(--ease-standard);
    height: var(--input-height);
}

.st_input:hover {
    border-color: var(--border-hover);
}


.st_input.disabled,
.st_input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-card);
}

.st_input::placeholder {
    color: var(--text-placeholder);
}

.st_select {
    background: var(--bg-hover);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-6);
    padding: 10px 35px 10px 15px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--dur-med) var(--ease-standard);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%237d8590' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 80px;
    height: var(--input-height);
}

.st_select:hover {
    border-color: var(--info);
    background-color: var(--bg-card);
}


/* Checkboxes */
.st_checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 32px;
    min-height: 20px;
}

.st_checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.st_checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background: var(--bg-input);
    border: 2px solid var(--border-secondary);
    border-radius: var(--radius-4);
    transition: all var(--dur-med) var(--ease-standard);
}

.st_checkbox:hover .checkmark {
    border-color: var(--border-hover);
}

.st_checkbox input:checked ~ .checkmark {
    background: var(--brand);
    border-color: var(--brand);
}

.st_checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid var(--bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.st_checkbox input:checked ~ .checkmark:after {
    display: block;
}

.st_checkbox .label_txt {
    color: var(--text);
    font-size: 14px;
}

/* Radio Buttons */
.st_radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 32px;
    min-height: 20px;
}

.st_radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.st_radio .radiomark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background: var(--bg-input);
    border: 2px solid var(--border-secondary);
    border-radius: 50%;
    transition: all var(--dur-med) var(--ease-standard);
}

.st_radio:hover .radiomark {
    border-color: var(--border-hover);
}

.st_radio input:checked ~ .radiomark {
    background: var(--bg-input);
    border-color: var(--brand);
}

.st_radio .radiomark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.st_radio input:checked ~ .radiomark:after {
    display: block;
}

.st_radio .label_txt {
    color: var(--text);
    font-size: 14px;
}
/* checkbox disabled */
.st_checkbox input[type="checkbox"]:disabled ~ .checkmark{
    opacity: .4;
    cursor: not-allowed;
}
.st_checkbox input[type="checkbox"]:disabled ~ .label_txt{
    opacity: .5;
    cursor: not-allowed;
}
/* hover 효과 제거(선택) */
.st_checkbox input[type="checkbox"]:disabled ~ .checkmark,
.st_checkbox input[type="checkbox"]:disabled ~ .checkmark:after{
    pointer-events: none;
}

/* radio disabled */
.st_radio input[type="radio"]:disabled ~ .radiomark{
    opacity: .4;
    cursor: not-allowed;
}
.st_radio input[type="radio"]:disabled ~ .label_txt{
    opacity: .5;
    cursor: not-allowed;
}

.st_file {display: flex;gap: var(--space-8, 8px);align-items: center;margin-bottom: 10px;}
.st_file_input {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
.st_btn_file {display: inline-flex;align-items: center;justify-content: center;height: var(--input-height);padding: 0 12px;border: 1px solid var(--border-secondary);border-radius: var(--radius-6, 6px);background: var(--border);color: var(--text);font-weight: 700;width: 100px;inter;transition: all var(--dur-med) var(--ease-standard);user-select: none;}
.st_btn_file:hover {background: var(--border-secondary); border-color: var(--border-hover);}
.st_btn_file:active {transform: translateY(0.5px);}
.st_file_input:focus-visible + .st_btn_file {outline: 2px solid color-mix(in srgb, var(--info) 55%, transparent); outline-offset: 2px;}
.st_file_meta {display: inline-flex; align-items: center; height: var(--input-height); padding: 0 10px; border: 1px solid var(--border-secondary); border-radius: var(--radius-6, 6px); background: var(--bg-input); color: var(--text-muted, #7d8590); min-width: 180px; max-width: min(420px, 60vw);}
.st_file_placeholder, .st_file_name {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;line-height: 2;}
.st_file_meta.is_selected {color: var(--text);}
.st_file .txt {flex-basis: 100%; font-size: 11px; color: var(--text-muted, #7d8590); margin-top: 2px;}

/* ============================================
   9. BOXES & CARDS
   ============================================ */
.box {
    background: var(--bg-card);
    border-radius: var(--radius-8);
    padding: var(--space-20);
}

.box--bordered,
.box_bdr {
    border: 1px solid var(--border);
}

.box--bordered-secondary,
.box_bdr2 {
    border: 1px solid var(--border-secondary);
    padding: var(--space-12);
    margin-bottom: var(--space-15);
    border-radius: var(--radius-6);
}

.box p.tit {
    font-size: 13px;
    color: #7d8590;
    color: var(--text-muted, #7d8590);
    margin-bottom: 10px;
    margin-bottom: var(--space-10, 10px);
    font-weight: 500;
}

.box ul {
    list-style: none;
}

.box ul li {
    font-size: 13px;
    margin-bottom: 8px;
    margin-bottom: var(--space-8, 8px);
    color: #c9d1d9;
    color: var(--text, #c9d1d9);
}

.box ul li b {
    color: #7d8590;
    color: var(--text-muted, #7d8590);
    font-weight: 500;
}

/* Log Panel */
.log_tab {
    position: fixed;
    right: -450px;
    right: calc(-1 * var(--logpanel-width, 450px));
    top: 0;
    bottom: 0;
    width: 450px;
    width: var(--logpanel-width, 450px);
    background: #0a0e14;
    background: var(--bg-elev, #0a0e14);
    border-left: 1px solid #21262d;
    border-left: 1px solid var(--border, #21262d);
    padding: 30px 25px;
    padding: var(--space-30, 30px) 25px;
    transition: right 0.3s ease;
    transition: right var(--dur-slow, 0.3s) var(--ease-standard, ease);
    z-index: 200;
    overflow-y: auto;
}

.log_tab.open {
    right: 0;
}

.log_tab .btn_ico {
    position: absolute;
    top: 20px;
    top: var(--space-20, 20px);
    right: 20px;
    right: var(--space-20, 20px);
    z-index: 10;
}

.log_tab .box {
    margin-top: 60px;
}

/* ============================================
   10. FOOTER
   ============================================ */
.site_footer {
    margin-left: var(--sidebar-width);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    margin-top: auto;
}

.site_footer .inner {
    margin: 0 auto;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

/* ============================================
   11. UTILITIES
   ============================================ */
.u-sr-only,
.hide {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tc,
.ac {
    text-align: center;
}

.push-right,
.u-ml-auto {
    margin-left: auto;
}

.push-left {
    margin-left: 0;
}

.fs_b {
    font-size: 25px;
}

.fc_g {
    color: var(--brand);
}

.fc_r {
    color: var(--danger);
}

.fc_b {
    color: var(--info);
}

.fc_y {
    color: var(--warning);
}

.fc_l {
    color: var(--text-muted);
}

.fc_w {
    color: #ffffff;
}

/* ============================================
   12. ICON SYSTEM
   ============================================ */

/* Title Icons */
.tit_icon {
    position: relative;
    padding-left: 28px;
}

.tit_icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
}

h2.tit_icon::before {
    width: 20px;
    height: 20px;
}

.btn.sml.tit_icon::before {
    margin-bottom: -4px;
    margin-right: 4px;
}

/* Menu Icons */
.icon_dashboard {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'%3E%3C/rect%3E%3Crect x='14' y='3' width='7' height='7' rx='1'%3E%3C/rect%3E%3Crect x='14' y='14' width='7' height='7' rx='1'%3E%3C/rect%3E%3Crect x='3' y='14' width='7' height='7' rx='1'%3E%3C/rect%3E%3C/svg%3E");
}

.icon_terminal {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Cpolyline points='4 17 10 11 4 5'%3E%3C/polyline%3E%3Cline x1='12' y1='19' x2='20' y2='19'%3E%3C/line%3E%3C/svg%3E");
}

.icon_board {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}

.icon_billing {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2' ry='2'/%3E%3Cline x1='12' y1='7' x2='12' y2='17'/%3E%3Cpath d='M9 9c0-1.1 1.3-2 3-2s3 .9 3 2-1.3 2-3 2-3 .9-3 2 1.3 2 3 2 3-.9 3-2'/%3E%3C/svg%3E");
}
.icon_wizard_click {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.8a8.8 8.8 0 1 1 6.23-2.57' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M11.6 7.52 18.92 14.28l-4.08 1.32 2.16 3.96-2.4 1.08-2.16-3.96-3.24 3.36V7.52Z' fill='%237d8590'/%3E%3C/svg%3E");
}

.icon_invest {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 17 9 11 13 15 21 7'/%3E%3Cpolyline points='14 7 21 7 21 14'/%3E%3C/svg%3E");
}

.icon_settings {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}

.icon_guide {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
}
.icon_privacy {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}
.icon_partner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 7h3a5 5 0 0 1 0 10h-3'/%3E%3Cpath d='M9 17H6a5 5 0 0 1 0-10h3'/%3E%3Cline x1='8' y1='12' x2='16' y2='12'/%3E%3C/svg%3E");
}
.icon_notice {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E");
}


/* Title Icon Types */
.tit_icon--login::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9d1d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

.tit_icon--signup::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9d1d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' y1='8' x2='19' y2='14'/%3E%3Cline x1='16' y1='11' x2='22' y2='11'/%3E%3C/svg%3E");
}

.tit_icon--profile::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9d1d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M20 21a8 8 0 1 0-16 0'/%3E%3C/svg%3E");
}

.tit_icon--membership::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9d1d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 5 5 4-6 4 6 5-5v10H3z'/%3E%3C/svg%3E");
}

.tit_icon--pw::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9d1d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='3.5'/%3E%3Cpath d='M10.9 12.1 21 2v4h-3v3h-3v3z'/%3E%3C/svg%3E");
}

.tit_icon--settings::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}

.tit_icon--trophy::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 13v4'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 5h10'/%3E%3Cpath d='M7 6.5c0 4.5 3 6.5 5 6.5s5-2 5-6.5'/%3E%3Cpath d='M5 6H3c0 3 2.4 4.5 4.5 4.5'/%3E%3Cpath d='M19 6h2c0 3-2.4 4.5-4.5 4.5'/%3E%3C/svg%3E");
}

.tit_icon--chart::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
}

.tit_icon--trading::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E");
}

.tit_icon--profit::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E");
}

.tit_icon--percent::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
}

.tit_icon--status::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.tit_icon--list::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}

.tit_icon--excel::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='15' x2='15' y2='15'/%3E%3Cline x1='12' y1='12' x2='12' y2='18'/%3E%3C/svg%3E");
}

/* Common Icons */
.i.trophy {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 13v4'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 5h10'/%3E%3Cpath d='M7 6.5c0 4.5 3 6.5 5 6.5s5-2 5-6.5'/%3E%3Cpath d='M5 6H3c0 3 2.4 4.5 4.5 4.5'/%3E%3Cpath d='M19 6h2c0 3-2.4 4.5-4.5 4.5'/%3E%3C/svg%3E");
}

.i.eq {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Cline x1='6' y1='10' x2='18' y2='10'%3E%3C/line%3E%3Cline x1='6' y1='14' x2='18' y2='14'%3E%3C/line%3E%3C/svg%3E");
}

.i.x {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.i.log {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3C/svg%3E");
}

.i.close {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.i.sell-won {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B949E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7 8l2 8L12 8l3 8 2-8'/%3E%3Cpath d='M6 11h12'/%3E%3Cpath d='M6 14h12'/%3E%3C/svg%3E");
}

.btn_ico:hover .i.sell-won {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5757' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7 8l2 8L12 8l3 8 2-8'/%3E%3Cpath d='M6 11h12'/%3E%3Cpath d='M6 14h12'/%3E%3C/svg%3E");
}

/* ============================================
   13. ACCOUNT PAGES
   ============================================ */
.cont .account_center {
    min-height: calc(100vh - 120px);
    display: grid;
    place-items: center;
    padding: 24px;
    gap: 20px;
}

.cont .account_panel {
    width: 100%;
    max-width: 640px;
}

.cont .account_panel.login-narrow {
    max-width: 460px;
}

.cont .account_card {
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    padding: 28px;
}

.cont .account_panel .form_rows .form_row {
    margin-bottom: 14px;
}

.cont .account_panel .form_rows .form_row:last-child {
    margin-bottom: 0;
}

.cont .account_panel .w_group--2col,
.cont .account_panel .w_group--3col {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px;
}

.cont .login_actions {
    margin-top: 4px;
}

.cont .login_btn {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.cont .login_links {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cont .login_links .link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.cont .login_links .link:hover {
    color: var(--text);
    background: var(--bg-hover);
}

/* ============================================
   14. FORM ROWS
   ============================================ */
.form_row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: center;
}

.form_row:last-child {
    margin-bottom: 0;
}

.form_row .tit {
    margin: 0;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    text-align: left;
}

.form_rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================
   15. SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-input);
}

::-webkit-scrollbar-thumb {
    background: var(--border-secondary);
    border-radius: var(--radius-4);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* ============================================
   16. RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
    .w_group--5col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .w_group--3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .w_group--5col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 805px) {
    .cont {
        margin-left: 50px;
        width: calc(100% - 42px);
    }
    .menu_item {width: 50px;height: 50px;}
    .menu_item span.menu_txt {display: none;}
    .left_header {width: 50px;}
    .page_header {
        padding-left: 20px;
        padding-right: 20px;
        align-items: flex-start;
        gap: 12px;
    }


    .header_left {
        width: 100%;
    }

    .header_right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .w_group--2col,
    .w_group--3col,
    .w_group--5col {
        grid-template-columns: 1fr;
    }

    .clock_badge {
        display: none;
    }
}

@media (max-width: 560px) {
    .header_title {
        font-size: 16px;
    }

    .header_badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    .header_sub {display:none;}
}

@media (max-width: 480px) {
    .cont .account_center {
        padding: 20px 16px;
    }

    .cont .account_card {
        padding: 24px 18px;
    }

    .cont .login_links {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cont .login_links .btn {
        width: 100%;
        justify-content: center;
    }
    .header_title {display:none;}
}


/* ============================================
   17. FOCUS & STATES
   ============================================ */
*:focus,
.select_box select:focus-visible,
.select_box select:focus,
.st_checkbox input[type="checkbox"]:focus-visible ~ .checkmark,
.st_checkbox input[type="checkbox"]:focus ~ .checkmark,
.st_radio input[type="radio"]:focus-visible ~ .radiomark,
.st_radio input[type="radio"]:focus ~ .radiomark
{
    outline: 2px dotted var(--brand);
    outline-offset: 2px;
}

[aria-disabled="true"] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}


/* ===========================
   Header Responsive (≤980px)
   =========================== */
:root{ --header-h: 77px; }

@media (max-width:980px){
    /* 헤더 한 줄 고정 + 말줄임 */
    .page_header{
        display:flex; align-items:center; column-gap:10px;
        flex-wrap:nowrap; min-height:var(--header-h); padding:12px 16px;
    }
    .header_left{ display:flex; align-items:center; gap:8px; flex:1 1 auto; min-width:0; }
    .header_icon{ width:32px; height:32px; border-radius:12px; }
    .header_title{ font-size:16px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

    /* 헤더 라인에서 시간은 숨김(패널에서만 보이게 할 것) */
    .page_header > .clock_badge{ display:none !important; }

    /* 햄버거 버튼 */
    .hdr_button{
        flex:0 0 auto;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:40px;
        height:40px;
        border-radius:10px;
        border:1px solid var(--border-secondary);
        background:var(--bg-card);
        color:var(--text);
        cursor: pointer;
    }
    .hdr_button:hover{ background:var(--bg-hover); border-color:var(--border-hover); }
    /* ===== Hamburger → X (icon-only, no image) ===== */
    .hdr_button{
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid var(--border-secondary);
        background: var(--bg-card);
        color: var(--text);
        transition: background var(--dur-med) var(--ease-standard), border-color var(--dur-med) var(--ease-standard);
        cursor: pointer;
    }
    .hdr_button:hover{ background: var(--bg-hover); border-color: var(--border-hover); }

    /* 햄버거 막대 3줄 */
    .hdr_icon{
        position: relative; width: 20px; height: 2px;
        background: currentColor; border-radius: 2px;
        transition: transform var(--dur-slow) var(--ease-standard), background var(--dur-med) var(--ease-standard), opacity var(--dur-med) var(--ease-standard);
    }
    .hdr_icon::before,
    .hdr_icon::after{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 2.5px;
        border-radius: 2px;
        background: currentColor;
        transition: transform var(--dur-slow) var(--ease-standard), top var(--dur-slow) var(--ease-standard), bottom var(--dur-slow) var(--ease-standard), opacity var(--dur-med) var(--ease-standard);
    }
    .hdr_icon::before{ top: -6px; }
    .hdr_icon::after { top:  6px; }

    #hdrchk:checked ~ .page_header .hdr_icon{
        background: transparent;
        transform: rotate(0deg);
    }
    #hdrchk:checked ~ .page_header .hdr_icon::before{
        top: 0; transform: rotate(45deg);
    }
    #hdrchk:checked ~ .page_header .hdr_icon::after{
        top: 0; transform: rotate(-45deg);
    }

    @media (prefers-reduced-motion: reduce){
        .hdr_button, .hdr_icon, .hdr_icon::before, .hdr_icon::after{ transition: none !important; }
    }

    #headerRight{
        position:fixed; top:var(--header-h); right:0; z-index:350;
        width:min(360px,92vw); height:calc(100vh - var(--header-h));
        background:var(--bg-card); border-left:1px solid var(--border-secondary);
        box-shadow: var(--shadow-2);
        padding:16px 14px; display:flex; flex-direction:column; gap:12px;
        transform:translateX(100%); transition:transform .25s var(--ease-standard), opacity .25s var(--ease-standard);
        opacity:.98; overflow:auto; overscroll-behavior:contain;
    }
    #hdrchk:checked ~ .page_header #headerRight{ transform:none; }

    #headerRight .clock_badge{
        display:flex !important; align-items:center; gap:10px;
        width:100%; padding:10px 12px; border-radius:12px;
        border:1px solid var(--border-secondary); background:var(--bg-card);
        font-variant-numeric: tabular-nums;
    }
    #headerRight .clock_label{ color:var(--text-muted); font-weight:600; }
    #headerRight .clock_time{ color:var(--text); font-weight:700; letter-spacing:.2px; }

    .hdr_scrim{ position:fixed; inset:0; z-index:320; background:transparent; opacity:0; pointer-events:none; transition:opacity .25s var(--ease-standard); }
    #hdrchk:checked ~ .hdr_scrim{ background:rgba(0,0,0,.42); opacity:1; pointer-events:auto; }
}

.st_switch{
    display: inline-flex;
    gap: 10px;
    align-items: center;
    vertical-align: text-bottom;
}

.st_switch_input{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.st_switch_label{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}

.st_switch_track{
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #354051;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    transition: background .18s ease, box-shadow .18s ease;
}

.st_switch_thumb{
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e6edf3;
    left: 3px;
    top: 3px;
    transition: transform .18s ease, background .18s ease;
}

.st_switch_input:checked + .st_switch_label .st_switch_track{
    background: #00d4aa;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.st_switch_input:checked + .st_switch_label .st_switch_thumb{
    transform: translateX(20px);
    background: #ffffff;
}

.st_switch_input:focus-visible + .st_switch_label .st_switch_track{
    box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.18),
            0 0 0 3px rgba(59,130,246,.35);
}

.st_switch_input:disabled + .st_switch_label{
    cursor: not-allowed;
    opacity: .55;
}
.st_switch_input:disabled + .st_switch_label .st_switch_track,
.st_switch_input:disabled + .st_switch_label .st_switch_thumb{
    pointer-events: none;
}

.st_switch_text{
    font-size: 14px;
    line-height: 1.2;
}

.st_switch.sm .st_switch_track{
    width: 26px;
    height: 15px;
}
.st_switch.sm .st_switch_thumb{
    width: 11px;
    height: 11px;
    top: 2px;
    left: 2px;
}
.st_switch.sm .st_switch_input:checked + .st_switch_label .st_switch_thumb{
    transform: translateX(11px);
}
.st_switch.sm .st_switch_text{
    font-size: 12px;
}