@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');
@import url("/assets/application-e76b33d7.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Roboto:wght@500;700&display=swap');

:root {
    --md-primary: #1976d2;
    --md-primary-dark: #0f5ca8;
    --md-secondary: #43a047;
    --md-surface: #f4f6fb;
    --md-surface-alt: #ffffff;
    --md-border: rgba(20, 43, 63, 0.12);
    --md-divider: rgba(20, 43, 63, 0.16);
    --md-text: #26333b;
    --md-text-muted: #607687;
    --md-shadow-sm: 0 1px 3px rgba(15, 35, 52, 0.12);
    --md-shadow-md: 0 4px 16px rgba(15, 35, 52, 0.14);
}

/* Header Quick Search & Project Jump */
#quick-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-left: auto;
}

#quick-search form {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

#quick-search label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: normal;
    font-size: 0.8125rem;
    line-height: 1;
    color: var(--md-text-muted);
}

#quick-search label::after {
    display: none;
}

#quick-search label a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

#quick-search label a:hover,
#quick-search label a:focus {
    color: var(--md-primary);
}

#header #quick-search #q {
    min-width: 200px;
    padding: 6px 12px;
    border: 1px solid var(--md-border);
    border-radius: 10px;
    background: var(--md-surface-alt);
    color: var(--md-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#header #quick-search #q:focus {
    outline: none;
    border-color: var(--md-primary);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
    background: #fff;
}

#project-jump {
    position: relative;
}

#project-jump .drdn-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 38px 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--md-border);
    background: var(--md-surface-alt);
    color: var(--md-text);
    font-weight: normal;
    min-width: 185px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#project-jump .drdn-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--md-text-muted);
    border-bottom: 2px solid var(--md-text-muted);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
    pointer-events: none;
}

#project-jump.open .drdn-trigger::after,
#project-jump.expanded .drdn-trigger::after {
    transform: translateY(-20%) rotate(225deg);
}

#project-jump.open .drdn-trigger,
#project-jump.expanded .drdn-trigger {
    border-color: rgba(25, 118, 210, 0.5);
    background: rgba(25, 118, 210, 0.08);
}

#project-jump .drdn-trigger:hover {
    border-color: rgba(25, 118, 210, 0.4);
}

#project-jump .drdn-trigger:active {
    background: rgba(25, 118, 210, 0.1);
}

#project-jump .drdn-trigger:hover::after,
#project-jump .drdn-trigger:focus-visible::after,
#project-jump.open .drdn-trigger::after,
#project-jump.expanded .drdn-trigger::after {
    border-color: var(--md-primary);
}

#project-jump .drdn-content {
    position: absolute;
    z-index: 20;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--md-border);
    background: var(--md-surface-alt);
    box-shadow: var(--md-shadow-md);
    width: 280px;
    left: auto;
    right: 0;
}

#project-jump .drdn-content::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 28px;
    width: 12px;
    height: 12px;
    background: var(--md-surface-alt);
    border-top: 1px solid var(--md-border);
    border-left: 1px solid var(--md-border);
    transform: rotate(45deg);
}

#project-jump .quick-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

#project-jump .quick-search svg {
    width: 18px;
    height: 18px;
    fill: var(--md-text-muted);
}

#project-jump .quick-search input {
    flex: 1;
    width: 100%;
}

#project-jump .drdn-items.selection {
    margin-top: 12px;
    border-top: 1px solid var(--md-divider);
    padding-top: 12px;
    max-height: 220px;
    overflow-y: auto;
}

#project-jump .drdn-items.selection a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--md-text);
    transition: background 0.2s ease, color 0.2s ease;
}

#project-jump .drdn-items.selection a:hover,
#project-jump .drdn-items.selection a:focus {
    background: rgba(25, 118, 210, 0.1);
    color: #0d47a1 !important;
}

#project-jump .drdn-items.selection a:active {
    background: rgba(25, 118, 210, 0.18);
}

body,
input,
textarea,
select,
button {
    font-family: "Noto Sans JP", "メイリオ", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Verdana", sans-serif;
}

tr.odd.priority-7,
table.list tbody tr.odd.priority-7:hover {
    color:
        #900;
    font-weight: bold;
}

tr.odd.priority-7 {
    background: #ffc4c4;
}

tr.even.priority-7,
table.list tbody tr.even.priority-7:hover {
    color:
        #900;
    font-weight: bold;
}

tr.even.priority-7 {
    background: #ffd4d4;
}

tr.priority-7 a,
tr.priority-7:hover a {
    color: #900;
}

tr.odd.priority-7 td,
tr.even.priority-7 td {
    border-color: #ffb4b4;
}

tr.odd.priority-6,
table.list tbody tr.odd.priority-6:hover {
    color: #900;
}

tr.odd.priority-6 {
    background: #ffc4c4;
}

tr.even.priority-6,
table.list tbody tr.even.priority-6:hover {
    color: #900;
}

tr.even.priority-6 {
    background: #ffd4d4;
}

tr.priority-6 a {
    color: #900;
}

tr.odd.priority-6 td,
tr.even.priority-6 td {
    border-color: #ffb4b4;
}

tr.odd.priority-5,
table.list tbody tr.odd.priority-5:hover {
    color: #900;
}

tr.odd.priority-5 {
    background: #fee;
}

tr.even.priority-5,
table.list tbody tr.even.priority-5:hover {
    color: #900;
}

tr.even.priority-5 {
    background: #fff2f2;
}

tr.odd.priority-5 td,
tr.even.priority-5 td {
    border-color: #fcc;
}

tr.odd.priority-3,
table.list tbody tr.odd.priority-3:hover {
    color: #559;
}

tr.odd.priority-3 {
    background: #eaf7ff;
}

tr.even.priority-3,
table.list tbody tr.even.priority-3:hover {
    color: #559;
}

tr.even.priority-3 {
    background: #f2faff;
}

tr.priority-3 a {
    color: #559;
}

tr.odd.priority-3 td,
tr.even.priority-3 td {
    border-color: #add7f3;
}


#header {
    z-index: 30;
}

#header a {
    color: #444444;
}

#main-menu {
    position: absolute;
    margin: 15px 0px 0px 0px;
    /*
        margin-top: 23px;
        margin-left: 0px;
        margin-right: 0px;
    */
    padding-left: 0px;
    left: 0px;
    /*
        float: left;
    */
    position: relative;
    background-color: #FFFFFF;
    width: 148px;
    min-height: 600px;
    height: auto !important;
    height: 600px;
    /*
    border-left: 2px solid #DCDCDC;
    border-top: 2px solid #F5F5F5;
    border-bottom: 2px solid #C0C0C0;
    border-right: 2px solid #C0C0C0;
    */
    font-family: "Noto Sans JP", "メイリオ", "Yu Gothic", Verdana, sans-serif;

}

#header #main-menu>ul>li>a {
    color: #2F4F4F;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #FFFFFF;
    margin-right: 0px;
    margin-left: 1px;
    height: 22px;
    line-height: 22px;
    padding: 0 12px;
    font-weight: normal;
}

#header #main-menu>ul>li>a::before {
    content: "";
    display: none;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    opacity: 1;
}

#header #main-menu>ul>li>a:hover::before,
#header #main-menu>ul>li>a.selected::before {
    opacity: 1;
}

#header #main-menu>ul>li>a.new-object {
    justify-content: center;
    gap: 0;
}

#header #main-menu>ul>li>a.new-object::before {
    display: none;
}



#header #main-menu>ul>li>a.selected,
#header #main-menu>ul>li>a.selected:hover {
    background-color: #EEEEEE;
    border-width: 1px;
    border-style: solid;
    border-color: #c0c0c0;
    /*
        color:#4169E1;
    */
    font-weight: bold;

}

#header #main-menu>ul>li>a:hover {
    color: #1E90FF;
    font-weight: bold;
}

#header {
    margin-left: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    height: 5em;
    min-height: 0px;
}



#main {
    margin-left: 150px;
}

#main-menu ul {
    margin-top: 0px;
    padding-bottom: 10px;
    white-space: normal;
    display: block;
}

#main-menu div.tabs-buttons button {
    display: none;

}

#main-menu li {
    float: none;
    margin: 0 0 0 0;
    white-space: normal;
    display: block;

}


.tabular p {
    clear: none;
}

div#activity dt,
#search-results dt {
    clear: none;

}

tr.issue {
    white-space: normal;
}

#activity dt,
.journal {
    clear: none;
}

#header {
    background: #ffffff;
}

p.progress-info {
    clear: none;
}


* html #main {
    position: relative;

    margin-top: -600px;

    margin-left: 157px;
    z-index: 10;

}

* html #content {
    z-index: 11;
}

* html #sidebar {
    z-index: 30;
}

* html #header #main-menu {
    margin-top: 26px;
}


p.progress-info {
    clear: none;
}

table.progress {
    border: 1px solid dimgray;
}

table.progress td.closed {
    background: #BAE0BA;
}

table.progress td.done {
    background: #DEF0DE;
    border-right: 1px solid gray;
}

table.progress td.todo {
    background: #ffffff;
}

.wiki h1 {
    background: none;
    padding-bottom: 3px;
    padding-left: 0;
    padding-top: 2px;
    border-bottom: 0;
    font-size: 24px;
    line-height: 2em;
}

.wiki h2 {
    background: none;
    padding-bottom: 3px;
    padding-left: 0;
    padding-top: 2px;
    border-bottom: 0;
    line-height: 1.5em;
}

.wiki p {
    margin-left: 20px;
}



.wiki ul li {
    list-style-image: none;
}

table.list th {
    background: #EEEEEE;
}

#sidebar {
    background-color: #EEEEEE;
    height: auto !important;
    height: 600px;
}

.task_late {
    background: #FF6666;
}

.task_done {
    background: #92C5FF;
}

.task_todo {
    background: #B8B8B8;
}

#footer {
    height: 25px;
    background-color: #FFFFFF;
    color: #444444;
}

#footer a {
    color: #ff0000;

}

div.wiki ul.toc li {
    list-style-image: none;
}

div.wiki ul.toc li.heading1 {
    margin-left: 15px;
    list-style-type: disc;
}

div.wiki ul.toc li.heading2 {
    margin-left: 25px;
    list-style-type: circle;
}

div.wiki ul.toc li.heading3 {
    margin-left: 35px;
    list-style-type: circle;
}

.wiki table {
    border: 1px solid rgba(20, 43, 63, 0.12) !important;
    border-radius: 14px;
    box-shadow: 0px 2px 3px rgba(15, 35, 52, 0.15);
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.wiki table th {
    background: rgba(25, 118, 210, 0.12);
    color: var(--md-text);
    border-bottom: 1px solid var(--md-border);
    padding: 10px 16px;
}

.wiki table td {
    border-bottom: 1px solid var(--md-divider);
    padding: 12px 16px;
}

h1,
h2,
h3,
h4 {
    font-family: "Roboto", "Noto Sans JP", "メイリオ", "Trebuchet MS", Verdana, sans-serif;
    text-shadow: 2px 2px 2px #808080;
}

pre {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

div.wiki ul.toc {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-right-width: 3px;
    border-right-color: #c0c0c0;
    border-bottom-width: 3px;
    border-bottom-color: #c0c0c0;
}

div.box {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-right-width: 3px;
    border-right-color: #c0c0c0;
    border-bottom-width: 3px;
    border-bottom-color: #c0c0c0;
}

div.issue {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 5px;
    border-right-width: 3px;
    border-right-color: #a0a0a0;
    border-bottom-width: 3px;
    border-bottom-color: #a0a0a0;
}

#main.no-main-menu {
    margin-left: 0px;
}

#main #content {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-width: 1px;
    border-color: #c0c0c0;
    border-style: solid;
    margin-bottom: 1px;
}

#top-menu {
    background-color: #000000;
    height: 1.8em;
    font-size: 1em;
}

#top-menu {
    color: #EEEEEE;
}

#top-menu #loggedas {
    color: #EEEEEE;
}

/* メインメニュー用SVGアイコン（テーマ内アセット） */
#header #main-menu ul li a.overview::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/overview-e7d0e4a3.svg");
    mask-image: url("/assets/themes/neutral/icons/overview-e7d0e4a3.svg");
}

#header #main-menu ul li a.activity::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/activity-a6b2907b.svg");
    mask-image: url("/assets/themes/neutral/icons/activity-a6b2907b.svg");
}

#header #main-menu ul li a.issues::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/issues-58fbae86.svg");
    mask-image: url("/assets/themes/neutral/icons/issues-58fbae86.svg");
}

#header #main-menu ul li a.time-entries::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/time-entries-bb5bc227.svg");
    mask-image: url("/assets/themes/neutral/icons/time-entries-bb5bc227.svg");
}

#header #main-menu ul li a.gantt::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/gantt-b48dcf8e.svg");
    mask-image: url("/assets/themes/neutral/icons/gantt-b48dcf8e.svg");
}

#header #main-menu ul li a.calendar::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/calendar-da0e1c74.svg");
    mask-image: url("/assets/themes/neutral/icons/calendar-da0e1c74.svg");
}

#header #main-menu ul li a.news::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/news-720ebc50.svg");
    mask-image: url("/assets/themes/neutral/icons/news-720ebc50.svg");
}

#header #main-menu ul li a.documents::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/documents-7991c826.svg");
    mask-image: url("/assets/themes/neutral/icons/documents-7991c826.svg");
}

#header #main-menu ul li a.wiki::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/wiki-1d7ce43d.svg");
    mask-image: url("/assets/themes/neutral/icons/wiki-1d7ce43d.svg");
}

#header #main-menu ul li a.files::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/files-11eaa01d.svg");
    mask-image: url("/assets/themes/neutral/icons/files-11eaa01d.svg");
}

#header #main-menu ul li a.settings::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/settings-94907e10.svg");
    mask-image: url("/assets/themes/neutral/icons/settings-94907e10.svg");
}

#header #main-menu ul li a.boards::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/boards-99d7a301.svg");
    mask-image: url("/assets/themes/neutral/icons/boards-99d7a301.svg");
}

#header #main-menu ul li a.roadmap::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/roadmap-d8fcc0b7.svg");
    mask-image: url("/assets/themes/neutral/icons/roadmap-d8fcc0b7.svg");
}

#header #main-menu ul li a.new-issue::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/new-issue-85661b42.svg");
    mask-image: url("/assets/themes/neutral/icons/new-issue-85661b42.svg");
}

#header #main-menu ul li a.ai-helper-dashboard::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/ai-helper-dashboard-ebcd5c26.svg");
    mask-image: url("/assets/themes/neutral/icons/ai-helper-dashboard-ebcd5c26.svg");
}

#header #main-menu ul li a.repository::before {
    display: inline-block;
    -webkit-mask-image: url("/assets/themes/neutral/icons/repository-75b0f464.svg");
    mask-image: url("/assets/themes/neutral/icons/repository-75b0f464.svg");
}

@supports not ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
    #header #main-menu a::before {
        background-color: transparent;
    }

    #header #main-menu ul li a.overview::before {
        background-image: url("/assets/themes/neutral/icons/overview-e7d0e4a3.svg");
    }

    #header #main-menu ul li a.activity::before {
        background-image: url("/assets/themes/neutral/icons/activity-a6b2907b.svg");
    }

    #header #main-menu ul li a.issues::before {
        background-image: url("/assets/themes/neutral/icons/issues-58fbae86.svg");
    }

    #header #main-menu ul li a.time-entries::before {
        background-image: url("/assets/themes/neutral/icons/time-entries-bb5bc227.svg");
    }

    #header #main-menu ul li a.gantt::before {
        background-image: url("/assets/themes/neutral/icons/gantt-b48dcf8e.svg");
    }

    #header #main-menu ul li a.calendar::before {
        background-image: url("/assets/themes/neutral/icons/calendar-da0e1c74.svg");
    }

    #header #main-menu ul li a.news::before {
        background-image: url("/assets/themes/neutral/icons/news-720ebc50.svg");
    }

    #header #main-menu ul li a.documents::before {
        background-image: url("/assets/themes/neutral/icons/documents-7991c826.svg");
    }

    #header #main-menu ul li a.wiki::before {
        background-image: url("/assets/themes/neutral/icons/wiki-1d7ce43d.svg");
    }

    #header #main-menu ul li a.files::before {
        background-image: url("/assets/themes/neutral/icons/files-11eaa01d.svg");
    }

    #header #main-menu ul li a.settings::before {
        background-image: url("/assets/themes/neutral/icons/settings-94907e10.svg");
    }

    #header #main-menu ul li a.boards::before {
        background-image: url("/assets/themes/neutral/icons/boards-99d7a301.svg");
    }

    #header #main-menu ul li a.roadmap::before {
        background-image: url("/assets/themes/neutral/icons/roadmap-d8fcc0b7.svg");
    }

    #header #main-menu ul li a.new-issue::before {
        background-image: url("/assets/themes/neutral/icons/new-issue-85661b42.svg");
    }

    #header #main-menu ul li a.ai-helper-dashboard::before {
        background-image: url("/assets/themes/neutral/icons/ai-helper-dashboard-ebcd5c26.svg");
    }

    #header #main-menu ul li a.repository::before {
        background-image: url("/assets/themes/neutral/icons/repository-75b0f464.svg");
    }
}

.mobile-mode #header {
    background-image: none;
    background-color: #34495e;
}

/* -------------------------------------------------- */
/* Material Design refresh overrides (CSS only)       */
/* -------------------------------------------------- */

body {
    background: var(--md-surface);
    color: var(--md-text);
}

#wrapper {
    background: transparent;
}

#top-menu {
    background: linear-gradient(135deg, var(--md-primary), var(--md-primary-dark));
    color: #fff;
    height: 2.2em;
    line-height: 2.2em;
    border-bottom: none;
    box-shadow: var(--md-shadow-sm);
}

#top-menu a {
    color: #fff;
    padding: 0 0.9em;
    border-radius: 3px;
    transition: background 160ms ease, color 160ms ease;
}

#top-menu a:hover,
#top-menu a:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
}

#top-menu #loggedas {
    color: rgba(255, 255, 255, 0.8);
}

#header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 241, 247, 0.94));
    border-bottom: 1px solid var(--md-border);
    box-shadow: var(--md-shadow-sm);
    padding: 10px 28px 8px 16px;
    height: auto;
    position: relative;
}

#header h1 {
    margin: 0;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-weight: normal;
    font-size: 24px;
    color: var(--md-text);
    text-shadow: none;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: flex-start;
    column-gap: 20px;
    padding: 0;
    height: auto;
}

#header h1::before {
    content: "";
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-right: 0;
    background: url("/assets/themes/neutral/logo-c183f0c5.png") no-repeat center/contain;
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: flex-start;
}

#header h1 .breadcrumbs {
    font-size: 0.65em;
    color: var(--md-text-muted);
    margin: 6px 0 0;
    grid-column: 2;
    grid-row: 1;
}

#header h1 .current-project {
    margin: 4px 0 0;
    grid-column: 2;
    grid-row: 2;
}

#main-menu {
    position: absolute;
    top: 112px;
    left: 16px;
    width: 210px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    min-height: auto;
    height: auto;
    margin: 0;
}

#main-menu ul {
    padding: 0;
    margin: 0;
}

#main-menu li {
    margin: 0 0 8px;
    list-style: none;
}

#header #main-menu>ul>li>a {
    color: var(--md-text);
    padding: 6px 10px 6px 42px;
    font-weight: 500;
    font-size: 15px;
    border-left: none;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
    background-position: 18px center;
    background-color: transparent;
}

#header #main-menu>ul>li>a:hover {
    background-color: rgba(25, 118, 210, 0.08);
    color: var(--md-primary);
    box-shadow: none;
    border-radius: 12px;
}

#header #main-menu>ul>li>a.selected,
#header #main-menu>ul>li>a.selected:hover {
    background-color: rgba(25, 118, 210, 0.18);
    color: var(--md-primary-dark);
    border: none;
    box-shadow: 0px 3px 4px rgba(15, 35, 52, 0.15);
    font-weight: 600;
    border-radius: 12px;
    transform: translateY(-1px);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

/* Plus button styling */
#main-menu li:has(> a.new-object) {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
    height: 36px;
    min-height: 36px;
}

#main-menu li>a.new-object {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    padding: 0 0 2px 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(25, 118, 210, 0.12) !important;
    color: var(--md-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    box-shadow: none;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease !important;
}

#main-menu li>a.new-object:hover {
    background: rgba(25, 118, 210, 0.22) !important;
    color: var(--md-primary-dark) !important;
    box-shadow: var(--md-shadow-sm);
    border-radius: 50% !important;
}

/* Dropdown menu styling fix */
#main-menu .menu-children {
    width: auto !important;
    min-width: 180px !important;
    background: transparent !important;
    top: 32px !important;
}

#main-menu .menu-children li {
    background: transparent !important;
    margin: 0 !important;
}

#main-menu .menu-children li a,
#main-menu .menu-children li a.new-issue-sub {
    background-color: #fff !important;
    color: #333 !important;
    padding: 8px 16px !important;
    width: 100% !important;
    height: auto !important;
    min-width: 148px !important;
    max-width: none !important;
    min-height: auto !important;
    border-radius: 8px !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
    background-position: initial !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: Verdana, sans-serif !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    gap: initial !important;
    align-items: initial !important;
    justify-content: initial !important;
    flex-direction: initial !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#main-menu .menu-children li a:hover {
    background-color: #e3f2fd !important;
    color: var(--md-primary) !important;
}

#main {
    margin-left: 248px;
    padding: 32px 28px 28px;
}

#main.no-main-menu {
    margin-left: 28px;
}

#main #content,
div.box,
div.issue,
.wiki .box,
div.journal {
    background: var(--md-surface-alt);
    border: 1px solid var(--md-border);
    border-radius: 16px;
    box-shadow: var(--md-shadow-sm);
    padding: 22px 26px;
}

div.box {
    background-color: #f5f8ff;
}

div.issue {
    background-color: #fffce6;
    margin-bottom: 30px;
}

/* Issue detail page: child issues & related issues tables */
div.issue table.list.issues {
    background: transparent;
    border: none;
    box-shadow: none;
}

div.issue table.list.issues thead th {
    background: transparent;
    border-bottom: none;
}

div.issue table.list.issues tbody tr {
    background: transparent;
}

div.issue table.list.issues tbody tr:nth-child(even) {
    background: transparent;
}

div.issue table.list.issues tbody tr:hover {
    background: rgba(255, 245, 200, 0.3);
}

div.issue table.list.issues td {
    border-bottom: none;
}

#content>h2 {
    position: relative;
    margin: 0 0 20px;
    padding-left: 18px;
    font-size: 20px;
    font-weight: 600;
    color: var(--md-text);
}

#content>h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 4px;
    height: 1.12em;
    border-radius: 2px;
    background: var(--md-primary);
}

#sidebar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: auto;
    margin-left: 32px;
}

#sidebar ul li,
#sidebar ol li {
    margin-bottom: 6px;
}

#sidebar ul li:last-child,
#sidebar ol li:last-child {
    margin-bottom: 0;
}

#sidebar ul li a,
#sidebar ol li a {
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.3;
}

#sidebar .sidebar-box {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
}

@media screen and (max-width: 960px) {
    #sidebar {
        margin-left: 0;
    }
}

div.issue {
    border-color: var(--md-divider);
}

.contextual {
    position: relative;
    z-index: 5;
}

.contextual a,
.contextual .icon {
    border-radius: 999px;
    background: rgba(25, 118, 210, 0.12);
    color: var(--md-primary);
    padding: 6px 12px;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.contextual a:hover,
.contextual a:focus {
    background: rgba(25, 118, 210, 0.22);
    color: var(--md-primary-dark);
    box-shadow: var(--md-shadow-sm);
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    color: var(--md-text);
    text-shadow: none;
}

.tabs {
    background: rgba(25, 118, 210, 0.06);
    border: 1px solid var(--md-border);
    border-radius: 999px;
    padding: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tabs a:not(#main-menu li:first-child > a) {
    border-radius: 999px 999px 0 0;
    padding: 8px 16px;
    transition: background 160ms ease, color 160ms ease;
    border-bottom: 3px solid transparent;
}

#content .tabs ul li a {
    border: none;
    background: transparent;
    color: var(--md-text-muted);
    padding-bottom: 6px;
}

#content .tabs ul li a.selected {
    background: transparent;
    border: none;
    color: var(--md-primary);
    border-bottom: 3px solid var(--md-primary);
    font-weight: 600;
}

.tabs-buttons {
    background: #f8f9fa !important;
}

.tabs-buttons button,
.tabs-buttons button.tab-left,
.tabs-buttons button.tab-right {
    background: #f8f9fa !important;
    border: none !important;
}

/* Moved to line 857-871 with improved styling */


table.list {
    border: 1px solid var(--md-border);
    border-radius: 14px;
    box-shadow: var(--md-shadow-sm);
    background: var(--md-surface-alt);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

table.list th {
    background: rgba(25, 118, 210, 0.12);
    color: var(--md-text);
    border-bottom: 1px solid var(--md-border);
    padding: 10px 16px;
}

table.issues th {
    padding-left: 0;
    padding-right: 0;
}

table.list td {
    border-bottom: 1px solid var(--md-divider);
    padding: 12px 16px;
}

/* Issue List */
table.issues td {
    padding-left: 2px;
    padding-right: 9px;
}

table.list tbody tr:nth-child(even) td {
    background: rgba(25, 118, 210, 0.04);
}

table.list tbody tr:hover td {
    background: rgba(25, 118, 210, 0.09);
}

table.progress {
    border: none;
    border-radius: 999px;
    background: rgba(25, 118, 210, 0.08);
    overflow: hidden;
}

table.progress td {
    border: none;
}

table.list table.progress {
    height: 18px;
    max-height: 18px;
    margin: 1px auto !important;
    float: none !important;
}

table.list table.progress td {
    height: 18px;
    max-height: 18px;
    padding: 0;
    line-height: 18px;
}

table.progress td.closed {
    background: linear-gradient(90deg, #66bb6a, #388e3c);
}

table.progress td.done {
    background: #a5d6a7;
}

table.progress td.todo {
    background: rgba(25, 118, 210, 0.12);
}

.task_late {
    background: linear-gradient(90deg, #ef5350, #c62828);
}

.task_done {
    background: linear-gradient(90deg, var(--md-primary), var(--md-primary-dark));
}

.task_todo {
    background: linear-gradient(90deg, #90a4ae, #607d8b);
}

button,
input[type="submit"],
input[type="button"],
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--md-primary), var(--md-primary-dark));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px 20px 8px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--md-shadow-sm);
    transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
    box-shadow: var(--md-shadow-md);
    transform: translateY(-1px);
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
.button:active {
    transform: translateY(0);
    box-shadow: var(--md-shadow-sm);
}

/* File Input Button */
input[type="file"] {
    max-width: 100% !important;
    width: auto !important;
    min-width: 300px;
}

/* Fieldset styling */
fieldset {
    border-radius: 10px !important;
}

input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(135deg, var(--md-primary), var(--md-primary-dark));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px 20px 8px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--md-shadow-sm);
    transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
    margin-right: 10px;
}

input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-upload-button:hover {
    box-shadow: var(--md-shadow-md);
    transform: translateY(-1px);
}

input[type="file"]::file-selector-button:active,
input[type="file"]::-webkit-file-upload-button:active {
    transform: translateY(0);
    box-shadow: var(--md-shadow-sm);
}

input,
textarea,
select {
    border: 1px solid var(--md-border);
    border-radius: 10px;
    padding: 0 12px;
    font-size: 0.92em;
    transition: border 160ms ease, box-shadow 160ms ease;
}


input:focus,
textarea:focus,
select:focus {
    border-color: var(--md-primary);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
    outline: none;
}

.wiki h1,
.wiki h2 {
    background: transparent;
    padding-left: 16px;
    padding-bottom: 4px;
    padding-top: 4px;
    position: relative;
}

.wiki h1::before,
.wiki h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 4px;
    height: 1.12em;
    border-radius: 2px;
    background: var(--md-primary);
}

.wiki ul li {
    list-style: none;
    padding-left: 1.2em;
    position: relative;
}

.wiki ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--md-primary);
    position: absolute;
    top: 0.75em;
    left: 0;
    transform: translateY(-50%);
}

#footer {
    background: transparent;
    color: var(--md-text-muted);
    border-top: 1px solid var(--md-border);
    margin-top: 8px;
    padding: 16px 0;
}

#footer a {
    color: var(--md-primary);
}

select {
    padding: 0 24px 0 14px !important;
}

/* -------------------------------------------------- */
/* Material Design Status Badges                      */
/* -------------------------------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
    border: none;
    box-shadow: var(--md-shadow-sm);
    transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.badge:hover {
    box-shadow: var(--md-shadow-md);
    transform: translateY(-1px);
}

.badge-status-closed {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: #ffffff;
}

.badge-status-closed:hover {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.badge-status-open {
    background: linear-gradient(135deg, #fb8c00, #f57c00);
    color: #ffffff;
}

.badge-status-open:hover {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
}

/* -------------------------------------------------- */
/* Mobile Layout Optimization                         */
/* -------------------------------------------------- */

@media screen and (max-width: 899px) {
    div.flyout-menu {
        padding-bottom: 84px;
    }

    #main {
        padding: 8px 0 16px;
        margin-left: 0;
        margin-right: 0;
    }

    #main.no-main-menu {
        margin-left: 0;
        margin-right: 0;
    }

    #main #content,
    div.box,
    div.issue,
    .wiki .box,
    div.journal {
        padding: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    table.list th {
        padding: 8px 6px;
        font-size: 0.9em;
    }

    table.list td {
        padding: 4px 6px;
        line-height: 1.3;
    }

    table.issues td {
        padding-left: 2px;
        padding-right: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    #header {
        padding: 8px 12px;
    }

    #content>h2 {
        font-size: 18px;
        margin: 0 0 14px;
    }

    .wiki table th,
    .wiki table td {
        padding: 8px 10px;
    }

    .wiki h1::before,
    .wiki h2::before,
    #content>h1::before,
    #content>h2::before {
        top: auto;
        bottom: 3px;
        transform: none;
    }

    .wiki h1,
    #content>h1 {
        line-height: 1.2 !important;
        padding: 2px 10px 2px 16px !important;
        margin-bottom: 10px;
    }

    .wiki h2,
    #content>h2 {
        line-height: 1.3 !important;
        padding: 2px 10px 2px 16px !important;
    }
}
/* Ditek custom: hide left logo next to Ditek RM */
#header h1::before {
  display: none !important;
}
/* ===== Gantt visual overhaul v1 (reference-inspired) ===== */
body.controller-gantts.action-show {
  --gnt-bg: #f6f7fa;
  --gnt-surface: #ffffff;
  --gnt-border: #d7dce3;
  --gnt-grid: #dfe4ea;
  --gnt-grid-strong: #c8d0dc;
  --gnt-text: #445064;
  --gnt-muted: #6f7d91;
  --gnt-weekend: #f2f4f7;
  --gnt-today: #7fb3ff;
  --gnt-today-soft: #d9e9ff;
  --gnt-dep: #f59f3a;
  --gnt-bar: #a8d5ff;
  --gnt-bar-border: #6baef8;
}

body.controller-gantts.action-show #content {
  background: var(--gnt-bg);
}

body.controller-gantts.action-show table.gantt-table {
  border: 1px solid var(--gnt-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gnt-surface);
}

body.controller-gantts.action-show .gantt_subjects_column {
  background: #fbfcfe;
}

body.controller-gantts.action-show .gantt_subjects_container,
body.controller-gantts.action-show .gantt_selected_column_container {
  background: #fbfcfe;
  border-right: 1px solid var(--gnt-border);
}

body.controller-gantts.action-show .gantt_hdr {
  border-top: 1px solid var(--gnt-grid-strong);
  border-bottom: 1px solid var(--gnt-grid);
  border-left: 1px solid var(--gnt-grid);
  color: var(--gnt-text);
  background: #f8fafd;
  font-size: 11px !important;
  font-weight: 500;
  line-height: 16px;
}

body.controller-gantts.action-show #gantt_area .gantt_hdr {
  border-right: 1px solid var(--gnt-grid);
}

body.controller-gantts.action-show .gantt_hdr.nwday {
  background: var(--gnt-weekend);
  color: #8b95a3;
}

body.controller-gantts.action-show .gantt_subjects,
body.controller-gantts.action-show .gantt_selected_column_content {
  font-size: 12px;
  color: var(--gnt-text);
}

body.controller-gantts.action-show .gantt_subjects div,
body.controller-gantts.action-show .gantt_selected_column_content div {
  line-height: 20px;
  height: 20px;
  border-bottom: 1px solid #eef2f6;
  box-sizing: border-box;
}

body.controller-gantts.action-show .gantt_subjects div.issue-subject:hover,
body.controller-gantts.action-show .gantt_selected_column_content div:hover {
  background: #fff8e8;
}

body.controller-gantts.action-show #gantt_area {
  background:
    linear-gradient(to right, transparent 0, transparent 6px, rgba(223,228,234,0.5) 6px, rgba(223,228,234,0.5) 7px) repeat-x;
  background-size: 14px 100%;
}

body.controller-gantts.action-show #today_line {
  border-left: 2px solid var(--gnt-today) !important;
  width: 0 !important;
  opacity: 0.95;
}

body.controller-gantts.action-show #today_line::before {
  content: Today;
  position: absolute;
  top: -20px;
  left: -18px;
  font-size: 10px;
  font-weight: 700;
  color: #3169c8;
  background: var(--gnt-today-soft);
  border: 1px solid #b7d1ff;
  border-radius: 10px;
  padding: 1px 6px;
}

body.controller-gantts.action-show .task {
  height: 12px;
  margin-top: 2px;
  border-radius: 3px;
  line-height: 16px;
  color: #4f5d73;
}

body.controller-gantts.action-show .task_todo {
  background: var(--gnt-bar);
  border-color: var(--gnt-bar-border);
}

body.controller-gantts.action-show .task_done {
  background: #f1c3e7;
  border-color: #db9dd0;
}

body.controller-gantts.action-show .task_late {
  background: #b9bec5;
  border-color: #9aa3ad;
}

body.controller-gantts.action-show .version.task_todo,
body.controller-gantts.action-show .project.task_todo {
  background: #8ac3fb;
  border-color: #5ca4ea;
  height: 3px;
  margin-top: 5px;
}

body.controller-gantts.action-show .version.task_done,
body.controller-gantts.action-show .project.task_done {
  background: #d7bff2;
  border-color: #c1a4e8;
  height: 3px;
  margin-top: 5px;
}

body.controller-gantts.action-show .version.task_late,
body.controller-gantts.action-show .project.task_late {
  background: #c5c8ce;
  border-color: #a7adb6;
  height: 3px;
  margin-top: 5px;
}

body.controller-gantts.action-show .version.marker,
body.controller-gantts.action-show .project.marker {
  transform: scale(1.05);
}

body.controller-gantts.action-show a.icon.icon-add,
body.controller-gantts.action-show a.icon.icon-new-issue,
body.controller-gantts.action-show .contextual .icon-add {
  background: #f58a1f;
  border: 1px solid #de760f;
  color: #fff !important;
  border-radius: 10px;
  padding: 7px 12px;
  box-shadow: 0 2px 8px rgba(245,138,31,0.25);
}

body.controller-gantts.action-show a.icon.icon-add:hover,
body.controller-gantts.action-show a.icon.icon-new-issue:hover,
body.controller-gantts.action-show .contextual .icon-add:hover {
  background: #eb7f13;
  text-decoration: none;
}

/* relation/dependency lines are drawn inline by Redmine JS/canvas in many cases.
   We can improve contrast if SVG path lines exist. */
body.controller-gantts.action-show svg path[stroke],
body.controller-gantts.action-show svg polyline[stroke] {
  stroke: var(--gnt-dep) !important;
}
/* ===== /Gantt visual overhaul v1 ===== */

/* ===== Notion-style UX pack v1 (global + issues + issue-show + gantt) ===== */
:root {
  --nt-ink: #2f3437;
  --nt-accent: #4f46e5;
  --nt-signal: #f59e0b;
  --nt-bg: #f7f7f5;
  --nt-surface: #ffffff;
  --nt-line: #e7e5e4;
  --nt-muted: #6b7280;
  --nt-radius-sm: 10px;
  --nt-radius-md: 14px;
  --nt-shadow: 0 8px 24px rgba(47, 52, 55, 0.08);
}

body {
  background: var(--nt-bg);
  color: var(--nt-ink);
}

#wrapper, #main {
  background: transparent;
}

#content {
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-md);
  box-shadow: var(--nt-shadow);
  padding: 18px 20px 22px;
}

#sidebar .sidebar-box {
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-md);
  background: var(--nt-surface);
  padding: 12px;
}

h1, h2, h3, h4 {
  color: var(--nt-ink);
}

.contextual a,
.contextual .icon {
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-sm);
  background: #fff;
  color: var(--nt-ink);
  box-shadow: none;
}

.contextual a.icon-add,
.contextual a.icon.icon-add,
.contextual a.icon.icon-new-issue {
  background: var(--nt-accent);
  color: #fff !important;
  border-color: var(--nt-accent);
}

input[type="text"], input[type="password"], input[type="date"],
input[type="number"], textarea, select {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  color: var(--nt-ink);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(79,70,229,.5);
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

/* Issues list */
body.controller-issues.action-index #query_form_with_buttons {
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-md);
  background: #fff;
  padding: 12px;
  margin-bottom: 14px;
}

body.controller-issues.action-index table.list.issues {
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-md);
  overflow: hidden;
}

body.controller-issues.action-index table.list th {
  background: #fafafa;
  color: var(--nt-muted);
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--nt-line);
}

body.controller-issues.action-index table.list td {
  border-bottom: 1px solid #f0efed;
  font-size: 13px;
}

body.controller-issues.action-index table.list tr:hover td {
  background: #fcfcfb;
}

body.controller-issues.action-index .status,
body.controller-issues.action-index td.status {
  font-weight: 600;
}

body.controller-issues.action-index tr.issue.status-1 td.status,
body.controller-issues.action-index tr.issue.status-2 td.status {
  color: var(--nt-accent);
}

body.controller-issues.action-index tr.issue.status-5 td.status,
body.controller-issues.action-index tr.issue.status-6 td.status {
  color: #15803d;
}

/* Issue show */
body.controller-issues.action-show .issue {
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-md);
  background: #fff;
  box-shadow: none;
}

body.controller-issues.action-show .attributes {
  border-top: 1px solid var(--nt-line);
  margin-top: 10px;
  padding-top: 10px;
}

body.controller-issues.action-show .journals {
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-md);
  background: #fff;
}

body.controller-issues.action-show .journals h4.journal-header {
  background: #fafafa;
  border-bottom: 1px solid var(--nt-line);
}

/* Gantt */
body.controller-gantts.action-show {
  --gnt-bg: #f6f7fa;
  --gnt-surface: #ffffff;
  --gnt-border: #d7dce3;
  --gnt-grid: #dfe4ea;
  --gnt-grid-strong: #c8d0dc;
  --gnt-text: #445064;
  --gnt-muted: #6f7d91;
  --gnt-weekend: #f2f4f7;
  --gnt-today: #4f46e5;
  --gnt-today-soft: #e3e1ff;
  --gnt-dep: #f59f3a;
  --gnt-bar: #c9c5ff;
  --gnt-bar-border: #8d86ff;
}

body.controller-gantts.action-show #content {
  background: var(--gnt-bg);
}

body.controller-gantts.action-show table.gantt-table {
  border: 1px solid var(--gnt-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gnt-surface);
}

body.controller-gantts.action-show .gantt_subjects_container,
body.controller-gantts.action-show .gantt_selected_column_container {
  background: #fbfcfe;
  border-right: 1px solid var(--gnt-border);
}

body.controller-gantts.action-show .gantt_hdr {
  border-top: 1px solid var(--gnt-grid-strong);
  border-bottom: 1px solid var(--gnt-grid);
  border-left: 1px solid var(--gnt-grid);
  color: var(--gnt-text);
  background: #f8fafd;
  font-size: 11px !important;
  font-weight: 600;
}

body.controller-gantts.action-show .gantt_hdr.nwday {
  background: var(--gnt-weekend);
  color: #8b95a3;
}

body.controller-gantts.action-show .gantt_subjects div,
body.controller-gantts.action-show .gantt_selected_column_content div {
  line-height: 20px;
  height: 20px;
  border-bottom: 1px solid #eef2f6;
}

body.controller-gantts.action-show .task {
  height: 12px;
  margin-top: 2px;
  border-radius: 6px;
  line-height: 16px;
  color: #4f5d73;
}

body.controller-gantts.action-show .task_todo {
  background: var(--gnt-bar);
  border-color: var(--gnt-bar-border);
}

body.controller-gantts.action-show .task_done {
  background: rgba(22,163,74,.22);
  border-color: rgba(22,163,74,.45);
}

body.controller-gantts.action-show .task_late {
  background: rgba(245,158,11,.22);
  border-color: rgba(245,158,11,.45);
}

body.controller-gantts.action-show #today_line {
  border-left: 2px solid var(--gnt-today) !important;
  width: 0 !important;
}

body.controller-gantts.action-show #today_line::before {
  content: Today;
  position: absolute;
  top: -20px;
  left: -14px;
  font-size: 10px;
  color: var(--gnt-today);
  font-weight: 700;
  background: var(--gnt-today-soft);
  border: 1px solid #c8c4ff;
  border-radius: 10px;
  padding: 1px 6px;
}
/* ===== /Notion-style UX pack v1 ===== */

/* ===== Notion-style UX pack v2 (strong override) ===== */
body.theme-Neutral {
  --nx-ink: #2f3437;
  --nx-accent: #4f46e5;
  --nx-signal: #f59e0b;
  --nx-bg: #f7f7f5;
  --nx-surface: #ffffff;
  --nx-line: #e8e6e3;
  --nx-muted: #6b7280;
  --nx-radius: 12px;
  --nx-shadow: 0 6px 18px rgba(47,52,55,.08);
  background: var(--nx-bg) !important;
  color: var(--nx-ink) !important;
}

/* global containers */
body.theme-Neutral #top-menu,
body.theme-Neutral #header,
body.theme-Neutral #main,
body.theme-Neutral #wrapper {
  background: transparent !important;
}

body.theme-Neutral #top-menu {
  border-bottom: 1px solid var(--nx-line) !important;
}

body.theme-Neutral #top-menu a,
body.theme-Neutral #account ul li a,
body.theme-Neutral #loggedas {
  color: #5f6772 !important;
}

body.theme-Neutral #header h1 {
  color: var(--nx-ink) !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}

body.theme-Neutral #main-menu ul li a {
  border-radius: 8px !important;
  color: #5f6772 !important;
  font-weight: 500 !important;
}

body.theme-Neutral #main-menu ul li a.selected,
body.theme-Neutral #main-menu ul li a:hover {
  background: rgba(79,70,229,.12) !important;
  color: #2f3437 !important;
}

body.theme-Neutral #content {
  background: var(--nx-surface) !important;
  border: 1px solid var(--nx-line) !important;
  border-radius: var(--nx-radius) !important;
  box-shadow: var(--nx-shadow) !important;
  padding: 18px 20px 22px !important;
}

body.theme-Neutral #sidebar {
  margin-left: 20px !important;
}

body.theme-Neutral #sidebar .sidebar-box {
  background: #fff !important;
  border: 1px solid var(--nx-line) !important;
  border-radius: var(--nx-radius) !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
}

body.theme-Neutral #sidebar h3 {
  color: var(--nx-muted) !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* buttons & controls */
body.theme-Neutral .contextual a,
body.theme-Neutral input[type=submit],
body.theme-Neutral input[type=button],
body.theme-Neutral button,
body.theme-Neutral .button {
  border: 1px solid var(--nx-line) !important;
  background: #fff !important;
  color: var(--nx-ink) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

body.theme-Neutral .contextual .icon-add,
body.theme-Neutral .contextual a.icon-add,
body.theme-Neutral input[type=submit] {
  background: var(--nx-accent) !important;
  border-color: var(--nx-accent) !important;
  color: #fff !important;
}

body.theme-Neutral input[type=text],
body.theme-Neutral input[type=password],
body.theme-Neutral input[type=date],
body.theme-Neutral input[type=number],
body.theme-Neutral textarea,
body.theme-Neutral select {
  border: 1px solid var(--nx-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--nx-ink) !important;
}

body.theme-Neutral input:focus,
body.theme-Neutral textarea:focus,
body.theme-Neutral select:focus {
  border-color: rgba(79,70,229,.5) !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,.15) !important;
}

/* list/table strong restyle */
body.theme-Neutral table.list {
  border: 1px solid var(--nx-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.theme-Neutral table.list th {
  background: #fafafa !important;
  color: var(--nx-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--nx-line) !important;
}

body.theme-Neutral table.list td {
  border-bottom: 1px solid #f1efec !important;
  font-size: 13px !important;
  color: var(--nx-ink) !important;
}

body.theme-Neutral table.list tr:hover td {
  background: #fcfcfb !important;
}

/* issue list filters */
body.theme-Neutral.controller-issues.action-index #query_form_with_buttons,
body.theme-Neutral.controller-gantts.action-show #query_form_with_buttons {
  border: 1px solid var(--nx-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 12px !important;
  margin-bottom: 14px !important;
}

/* issue detail */
body.theme-Neutral.controller-issues.action-show .issue,
body.theme-Neutral.controller-issues.action-show .journals,
body.theme-Neutral.controller-issues.action-show #history {
  border: 1px solid var(--nx-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.theme-Neutral.controller-issues.action-show .journals h4.journal-header {
  background: #fafafa !important;
  border-bottom: 1px solid var(--nx-line) !important;
}

/* gantt stronger */
body.theme-Neutral.controller-gantts.action-show #content {
  background: #f6f7fa !important;
}

body.theme-Neutral.controller-gantts.action-show table.gantt-table {
  border: 1px solid #d7dce3 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.theme-Neutral.controller-gantts.action-show .gantt_hdr {
  background: #f8fafd !important;
  color: #4b5668 !important;
  border-color: #dfe4ea !important;
  font-weight: 600 !important;
}

body.theme-Neutral.controller-gantts.action-show .gantt_hdr.nwday {
  background: #f2f4f7 !important;
}

body.theme-Neutral.controller-gantts.action-show .gantt_subjects div,
body.theme-Neutral.controller-gantts.action-show .gantt_selected_column_content div {
  height: 20px !important;
  line-height: 20px !important;
  border-bottom: 1px solid #eef2f6 !important;
}

body.theme-Neutral.controller-gantts.action-show .task {
  height: 12px !important;
  margin-top: 2px !important;
  border-radius: 6px !important;
}

body.theme-Neutral.controller-gantts.action-show .task_todo {
  background: rgba(79,70,229,.22) !important;
  border-color: rgba(79,70,229,.45) !important;
}

body.theme-Neutral.controller-gantts.action-show .task_done {
  background: rgba(22,163,74,.22) !important;
  border-color: rgba(22,163,74,.45) !important;
}

body.theme-Neutral.controller-gantts.action-show .task_late {
  background: rgba(245,158,11,.24) !important;
  border-color: rgba(245,158,11,.5) !important;
}

body.theme-Neutral.controller-gantts.action-show #today_line {
  border-left: 2px solid var(--nx-accent) !important;
  width: 0 !important;
}

body.theme-Neutral.controller-gantts.action-show #today_line::before {
  content: Today;
  position: absolute;
  top: -20px;
  left: -14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--nx-accent);
  background: #e8e7ff;
  border: 1px solid #cbc8ff;
  border-radius: 10px;
  padding: 1px 6px;
}
/* ===== /Notion-style UX pack v2 ===== */

/* ===== Notion reference adaptation v3 =====
   Goal: stronger Notion-like tone (neutral surfaces, subtle borders, Inter/system typography,
   restrained accent, clear data hierarchy) while preserving Redmine structure.
*/
body.theme-Neutral {
  --no-bg: #f7f6f3;
  --no-surface: #ffffff;
  --no-surface-2: #fbfbfa;
  --no-ink: #2f3437;
  --no-muted: #787774;
  --no-line: #ecebe8;
  --no-line-strong: #e2e0dc;
  --no-accent: #0f7b6c;
  --no-accent-soft: rgba(15,123,108,.12);
  --no-warn: #d9730d;
  --no-radius: 10px;
  --no-shadow: 0 1px 2px rgba(15, 15, 15, .04), 0 8px 24px rgba(15,15,15,.04);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif !important;
  color: var(--no-ink) !important;
  background: var(--no-bg) !important;
}

/* chrome */
body.theme-Neutral #wrapper,
body.theme-Neutral #main,
body.theme-Neutral #header,
body.theme-Neutral #top-menu {
  background: transparent !important;
}

body.theme-Neutral #top-menu {
  border-bottom: 1px solid var(--no-line) !important;
}

body.theme-Neutral #top-menu a,
body.theme-Neutral #loggedas,
body.theme-Neutral #account ul li a {
  color: var(--no-muted) !important;
  font-size: 12px !important;
}

body.theme-Neutral #header h1 {
  color: var(--no-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  text-shadow: none !important;
}

body.theme-Neutral #main-menu ul li a {
  color: var(--no-muted) !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}
body.theme-Neutral #main-menu ul li a.selected,
body.theme-Neutral #main-menu ul li a:hover {
  color: var(--no-ink) !important;
  background: #efeeeb !important;
}

/* core surfaces */
body.theme-Neutral #content {
  background: var(--no-surface) !important;
  border: 1px solid var(--no-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--no-shadow) !important;
  padding: 18px 20px 22px !important;
}

body.theme-Neutral #sidebar { margin-left: 18px !important; }
body.theme-Neutral #sidebar .sidebar-box {
  background: var(--no-surface) !important;
  border: 1px solid var(--no-line) !important;
  border-radius: 12px !important;
  padding: 12px !important;
}
body.theme-Neutral #sidebar h3 {
  color: var(--no-muted) !important;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 11px !important;
}
body.theme-Neutral #sidebar a { color: #575651 !important; }
body.theme-Neutral #sidebar a:hover { color: var(--no-ink) !important; }

/* links & headings */
body.theme-Neutral a { color: #3f3f3d; }
body.theme-Neutral a:hover { color: #1f1f1d; }
body.theme-Neutral h1,
body.theme-Neutral h2,
body.theme-Neutral h3,
body.theme-Neutral h4 { color: var(--no-ink) !important; }

/* controls */
body.theme-Neutral input[type=text],
body.theme-Neutral input[type=password],
body.theme-Neutral input[type=date],
body.theme-Neutral input[type=number],
body.theme-Neutral textarea,
body.theme-Neutral select {
  border: 1px solid var(--no-line-strong) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--no-ink) !important;
}
body.theme-Neutral input:focus,
body.theme-Neutral textarea:focus,
body.theme-Neutral select:focus {
  border-color: rgba(15,123,108,.55) !important;
  box-shadow: 0 0 0 3px rgba(15,123,108,.15) !important;
}

body.theme-Neutral .contextual a,
body.theme-Neutral button,
body.theme-Neutral input[type=submit],
body.theme-Neutral input[type=button],
body.theme-Neutral .button {
  border: 1px solid var(--no-line-strong) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--no-ink) !important;
  font-weight: 600 !important;
}
body.theme-Neutral .contextual a.icon-add,
body.theme-Neutral .contextual .icon-add,
body.theme-Neutral input[type=submit] {
  background: var(--no-accent) !important;
  border-color: var(--no-accent) !important;
  color: #fff !important;
}

/* list + issue index */
body.theme-Neutral.controller-issues.action-index #query_form_with_buttons {
  background: var(--no-surface) !important;
  border: 1px solid var(--no-line) !important;
  border-radius: 12px !important;
  padding: 12px !important;
}

body.theme-Neutral table.list {
  border: 1px solid var(--no-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
body.theme-Neutral table.list th {
  background: var(--no-surface-2) !important;
  color: var(--no-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--no-line) !important;
}
body.theme-Neutral table.list td {
  color: var(--no-ink) !important;
  border-bottom: 1px solid #f2f1ef !important;
}
body.theme-Neutral table.list tr:hover td {
  background: #fbfbfa !important;
}

/* issue status tint (minimal color, semantic) */
body.theme-Neutral.controller-issues.action-index tr.issue.status-1 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-2 td.status {
  color: var(--no-accent) !important;
  font-weight: 700;
}
body.theme-Neutral.controller-issues.action-index tr.issue.status-5 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-6 td.status {
  color: #1f7a4f !important;
  font-weight: 700;
}
body.theme-Neutral.controller-issues.action-index tr.issue.status-3 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-4 td.status {
  color: var(--no-warn) !important;
  font-weight: 700;
}

/* issue detail */
body.theme-Neutral.controller-issues.action-show .issue,
body.theme-Neutral.controller-issues.action-show .journals,
body.theme-Neutral.controller-issues.action-show #history {
  background: #fff !important;
  border: 1px solid var(--no-line) !important;
  border-radius: 12px !important;
}
body.theme-Neutral.controller-issues.action-show .journals h4.journal-header {
  background: var(--no-surface-2) !important;
  border-bottom: 1px solid var(--no-line) !important;
}

/* gantt */
body.theme-Neutral.controller-gantts.action-show #content { background: #f7f7f5 !important; }
body.theme-Neutral.controller-gantts.action-show #query_form_with_buttons {
  background: #fff !important;
  border: 1px solid var(--no-line) !important;
  border-radius: 12px !important;
  padding: 12px !important;
}
body.theme-Neutral.controller-gantts.action-show table.gantt-table {
  border: 1px solid var(--no-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}
body.theme-Neutral.controller-gantts.action-show .gantt_hdr {
  background: #f9f9f8 !important;
  color: #676764 !important;
  border-color: #ecebe8 !important;
  font-weight: 600 !important;
}
body.theme-Neutral.controller-gantts.action-show .gantt_hdr.nwday {
  background: #f3f2ef !important;
}
body.theme-Neutral.controller-gantts.action-show .gantt_subjects div,
body.theme-Neutral.controller-gantts.action-show .gantt_selected_column_content div {
  height: 20px !important;
  line-height: 20px !important;
  border-bottom: 1px solid #f2f1ef !important;
}
body.theme-Neutral.controller-gantts.action-show .task {
  height: 12px !important;
  margin-top: 2px !important;
  border-radius: 6px !important;
}
body.theme-Neutral.controller-gantts.action-show .task_todo {
  background: rgba(15,123,108,.18) !important;
  border-color: rgba(15,123,108,.42) !important;
}
body.theme-Neutral.controller-gantts.action-show .task_done {
  background: rgba(31,122,79,.2) !important;
  border-color: rgba(31,122,79,.42) !important;
}
body.theme-Neutral.controller-gantts.action-show .task_late {
  background: rgba(217,115,13,.2) !important;
  border-color: rgba(217,115,13,.45) !important;
}
body.theme-Neutral.controller-gantts.action-show #today_line {
  border-left: 2px solid var(--no-accent) !important;
  width: 0 !important;
}
body.theme-Neutral.controller-gantts.action-show #today_line::before {
  content: Today;
  position: absolute;
  top: -20px;
  left: -14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--no-accent);
  background: rgba(15,123,108,.12);
  border: 1px solid rgba(15,123,108,.28);
  border-radius: 10px;
  padding: 1px 6px;
}
/* ===== /Notion reference adaptation v3 ===== */

/* ===== Notion reference adaptation v4 (hard redesign) ===== */
body.theme-Neutral {
  --v4-bg: #f7f6f3;
  --v4-surface: #ffffff;
  --v4-surface-2: #fbfbfa;
  --v4-line: #ebe9e4;
  --v4-line-strong: #e2dfd7;
  --v4-text: #2f3437;
  --v4-muted: #787774;
  --v4-accent: #0f7b6c;
  --v4-warn: #d9730d;
}

/* layout density + spacing */
body.theme-Neutral #wrapper { max-width: 1640px; margin: 0 auto; }
body.theme-Neutral #main { padding: 10px 14px 16px !important; }
body.theme-Neutral #content { padding: 20px 22px !important; }

/* top chrome cleanup */
body.theme-Neutral #top-menu {
  min-height: 36px !important;
  display: flex;
  align-items: center;
  padding: 0 10px !important;
}
body.theme-Neutral #header {
  padding: 10px 10px 8px !important;
  border-bottom: 1px solid var(--v4-line) !important;
}
body.theme-Neutral #quick-search #q {
  background: #fff !important;
  border: 1px solid var(--v4-line-strong) !important;
  border-radius: 8px !important;
}

/* left nav looks like Notion block list */
body.theme-Neutral #main-menu ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
body.theme-Neutral #main-menu li {
  margin: 0 !important;
}
body.theme-Neutral #main-menu a {
  padding: 7px 10px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}
body.theme-Neutral #main-menu a:hover,
body.theme-Neutral #main-menu a.selected {
  background: #efeeeb !important;
  border-color: var(--v4-line) !important;
}

/* sidebar to compact property panels */
body.theme-Neutral #sidebar .sidebar-box {
  padding: 10px 11px !important;
}
body.theme-Neutral #sidebar ul li,
body.theme-Neutral #sidebar ol li {
  margin-bottom: 2px !important;
}
body.theme-Neutral #sidebar a {
  display: block;
  padding: 5px 6px;
  border-radius: 6px;
}
body.theme-Neutral #sidebar a:hover {
  background: #f2f1ee;
}

/* issue list hard redesign */
body.theme-Neutral.controller-issues.action-index #query_form_with_buttons {
  background: var(--v4-surface-2) !important;
  border: 1px solid var(--v4-line) !important;
  border-radius: 12px !important;
  padding: 14px !important;
}
body.theme-Neutral.controller-issues.action-index #query_form_with_buttons .buttons {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px dashed var(--v4-line-strong);
}
body.theme-Neutral.controller-issues.action-index table.list.issues {
  background: #fff !important;
  border: 1px solid var(--v4-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
body.theme-Neutral.controller-issues.action-index table.list th,
body.theme-Neutral.controller-issues.action-index table.list td {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
body.theme-Neutral.controller-issues.action-index table.list th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fafaf9 !important;
}
body.theme-Neutral.controller-issues.action-index table.list td.subject a {
  font-weight: 600;
  color: #2f3437 !important;
}
body.theme-Neutral.controller-issues.action-index table.list td.subject a:hover {
  color: #1f1f1d !important;
  text-decoration: underline;
}

/* issue detail card sections */
body.theme-Neutral.controller-issues.action-show .issue {
  padding: 12px 14px !important;
}
body.theme-Neutral.controller-issues.action-show .attributes {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px dashed var(--v4-line-strong) !important;
}
body.theme-Neutral.controller-issues.action-show .description {
  background: #fcfcfb;
  border: 1px solid var(--v4-line);
  border-radius: 10px;
  padding: 10px 12px;
}

/* gantt hard restyle */
body.theme-Neutral.controller-gantts.action-show #gantt_area {
  border-radius: 10px;
  background: repeating-linear-gradient(
    to right,
    #fff,
    #fff 39px,
    #f3f2ef 40px
  ) !important;
}
body.theme-Neutral.controller-gantts.action-show .gantt_subjects_container,
body.theme-Neutral.controller-gantts.action-show .gantt_selected_column_container {
  background: #fcfcfb !important;
}
body.theme-Neutral.controller-gantts.action-show .gantt_hdr {
  background: #f8f8f7 !important;
  border-bottom: 1px solid var(--v4-line) !important;
}
body.theme-Neutral.controller-gantts.action-show .task {
  border-radius: 8px !important;
  height: 13px !important;
  margin-top: 1px !important;
}
body.theme-Neutral.controller-gantts.action-show .version.task_todo,
body.theme-Neutral.controller-gantts.action-show .project.task_todo {
  background: rgba(15,123,108,.22) !important;
  border-color: rgba(15,123,108,.45) !important;
}
body.theme-Neutral.controller-gantts.action-show .version.task_late,
body.theme-Neutral.controller-gantts.action-show .project.task_late {
  background: rgba(217,115,13,.24) !important;
  border-color: rgba(217,115,13,.5) !important;
}
body.theme-Neutral.controller-gantts.action-show #today_line {
  border-left: 2px solid var(--v4-accent) !important;
}
/* ===== /Notion reference adaptation v4 ===== */

/* ===== hotfix v4.1: keep main menu in one line ===== */
body.theme-Neutral #main-menu ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}
body.theme-Neutral #main-menu li {
  flex: 0 0 auto !important;
}
/* ===== /hotfix v4.1 ===== */

/* ===== Notion UX v5 (consolidated cleanup) ===== */
body.theme-Neutral {
  --n5-bg: #f7f6f3;
  --n5-surface: #ffffff;
  --n5-surface-soft: #fbfbfa;
  --n5-line: #ecebe8;
  --n5-line-strong: #e2e0dc;
  --n5-text: #2f3437;
  --n5-muted: #787774;
  --n5-accent: #0f7b6c;
  --n5-warn: #d9730d;
  --n5-ok: #1f7a4f;
  --n5-radius: 10px;
  --n5-shadow: 0 1px 2px rgba(15,15,15,.05), 0 8px 22px rgba(15,15,15,.04);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif !important;
  color: var(--n5-text) !important;
  background: var(--n5-bg) !important;
}

/* --- shell --- */
body.theme-Neutral #wrapper { max-width: 1680px; margin: 0 auto; }
body.theme-Neutral #top-menu,
body.theme-Neutral #header,
body.theme-Neutral #main,
body.theme-Neutral #wrapper { background: transparent !important; }
body.theme-Neutral #top-menu {
  border-bottom: 1px solid var(--n5-line) !important;
  min-height: 36px !important;
  display: flex; align-items: center;
}
body.theme-Neutral #top-menu a,
body.theme-Neutral #loggedas,
body.theme-Neutral #account ul li a { color: var(--n5-muted) !important; }
body.theme-Neutral #header { border-bottom: 1px solid var(--n5-line) !important; padding: 10px 10px 8px !important; }
body.theme-Neutral #header h1 { color: var(--n5-text) !important; text-shadow: none !important; font-weight: 700 !important; }

body.theme-Neutral #content {
  background: var(--n5-surface) !important;
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--n5-shadow) !important;
  padding: 20px 22px !important;
}

/* --- main menu: one line always --- */
body.theme-Neutral #main-menu ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 6px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
body.theme-Neutral #main-menu li { flex: 0 0 auto !important; margin: 0 !important; }
body.theme-Neutral #main-menu a {
  color: var(--n5-muted) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
  font-weight: 500 !important;
}
body.theme-Neutral #main-menu a.selected,
body.theme-Neutral #main-menu a:hover {
  color: var(--n5-text) !important;
  background: #efeeeb !important;
  border-color: var(--n5-line) !important;
}

/* --- forms / buttons --- */
body.theme-Neutral input[type=text],
body.theme-Neutral input[type=password],
body.theme-Neutral input[type=date],
body.theme-Neutral input[type=number],
body.theme-Neutral textarea,
body.theme-Neutral select {
  border: 1px solid var(--n5-line-strong) !important;
  border-radius: 8px !important;
  background: #fff !important;
}
body.theme-Neutral input:focus,
body.theme-Neutral textarea:focus,
body.theme-Neutral select:focus {
  border-color: rgba(15,123,108,.55) !important;
  box-shadow: 0 0 0 3px rgba(15,123,108,.14) !important;
}
body.theme-Neutral .contextual a,
body.theme-Neutral button,
body.theme-Neutral input[type=submit],
body.theme-Neutral input[type=button] {
  border: 1px solid var(--n5-line-strong) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--n5-text) !important;
}
body.theme-Neutral .contextual a.icon-add,
body.theme-Neutral .contextual .icon-add,
body.theme-Neutral input[type=submit] {
  background: var(--n5-accent) !important;
  border-color: var(--n5-accent) !important;
  color: #fff !important;
}

/* --- sidebar --- */
body.theme-Neutral #sidebar { margin-left: 18px !important; }
body.theme-Neutral #sidebar .sidebar-box {
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 10px 11px !important;
}
body.theme-Neutral #sidebar h3 {
  color: var(--n5-muted) !important;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 11px !important;
}
body.theme-Neutral #sidebar a { display:block; padding:5px 6px; border-radius:6px; color:#575651 !important; }
body.theme-Neutral #sidebar a:hover { background:#f2f1ee; color:var(--n5-text) !important; }

/* --- issues index: audited refinements --- */
body.theme-Neutral.controller-issues.action-index #query_form_with_buttons {
  background: var(--n5-surface-soft) !important;
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin-bottom: 14px !important;
}
body.theme-Neutral.controller-issues.action-index #query_form_with_buttons .buttons {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px dashed var(--n5-line-strong) !important;
}
body.theme-Neutral.controller-issues.action-index table.list.issues {
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #fff !important;
}
body.theme-Neutral.controller-issues.action-index table.list th {
  position: sticky; top: 0; z-index: 5;
  background: #fafaf9 !important;
  color: var(--n5-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--n5-line) !important;
  padding: 12px 10px !important;
}
body.theme-Neutral.controller-issues.action-index table.list td {
  border-bottom: 1px solid #f2f1ef !important;
  color: var(--n5-text) !important;
  padding: 11px 10px !important;
}
body.theme-Neutral.controller-issues.action-index table.list tr:hover td { background: #fbfbfa !important; }
body.theme-Neutral.controller-issues.action-index td.subject a { font-weight: 600; color: var(--n5-text) !important; }
body.theme-Neutral.controller-issues.action-index td.status { font-weight: 700 !important; }
body.theme-Neutral.controller-issues.action-index tr.issue.status-1 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-2 td.status { color: var(--n5-accent) !important; }
body.theme-Neutral.controller-issues.action-index tr.issue.status-5 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-6 td.status { color: var(--n5-ok) !important; }
body.theme-Neutral.controller-issues.action-index tr.issue.status-3 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-4 td.status { color: var(--n5-warn) !important; }

/* --- issue show: audited refinements --- */
body.theme-Neutral.controller-issues.action-show .issue,
body.theme-Neutral.controller-issues.action-show #history,
body.theme-Neutral.controller-issues.action-show .journals {
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
}
body.theme-Neutral.controller-issues.action-show .issue { padding: 12px 14px !important; }
body.theme-Neutral.controller-issues.action-show .attributes {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px dashed var(--n5-line-strong) !important;
}
body.theme-Neutral.controller-issues.action-show .description {
  background: #fcfcfb !important;
  border: 1px solid var(--n5-line) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
}
body.theme-Neutral.controller-issues.action-show .journals h4.journal-header {
  background: #fafaf9 !important;
  border-bottom: 1px solid var(--n5-line) !important;
}

/* --- gantt --- */
body.theme-Neutral.controller-gantts.action-show #query_form_with_buttons {
  background: var(--n5-surface-soft) !important;
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  padding: 12px !important;
}
body.theme-Neutral.controller-gantts.action-show table.gantt-table {
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}
body.theme-Neutral.controller-gantts.action-show #gantt_area {
  border-radius: 10px;
  background: repeating-linear-gradient(to right,#fff,#fff 39px,#f3f2ef 40px) !important;
}
body.theme-Neutral.controller-gantts.action-show .gantt_hdr {
  background: #f8f8f7 !important;
  color: #676764 !important;
  border-color: var(--n5-line) !important;
  font-weight: 600 !important;
}
body.theme-Neutral.controller-gantts.action-show .gantt_hdr.nwday { background: #f3f2ef !important; }
body.theme-Neutral.controller-gantts.action-show .gantt_subjects div,
body.theme-Neutral.controller-gantts.action-show .gantt_selected_column_content div {
  height: 20px !important;
  line-height: 20px !important;
  border-bottom: 1px solid #f2f1ef !important;
}
body.theme-Neutral.controller-gantts.action-show .task {
  height: 13px !important;
  margin-top: 1px !important;
  border-radius: 8px !important;
}
body.theme-Neutral.controller-gantts.action-show .task_todo {
  background: rgba(15,123,108,.2) !important;
  border-color: rgba(15,123,108,.45) !important;
}
body.theme-Neutral.controller-gantts.action-show .task_done {
  background: rgba(31,122,79,.2) !important;
  border-color: rgba(31,122,79,.43) !important;
}
body.theme-Neutral.controller-gantts.action-show .task_late {
  background: rgba(217,115,13,.22) !important;
  border-color: rgba(217,115,13,.48) !important;
}
body.theme-Neutral.controller-gantts.action-show #today_line {
  border-left: 2px solid var(--n5-accent) !important;
  width: 0 !important;
}
body.theme-Neutral.controller-gantts.action-show #today_line::before {
  content: Today;
  position: absolute;
  top: -20px;
  left: -14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--n5-accent);
  background: rgba(15,123,108,.12);
  border: 1px solid rgba(15,123,108,.3);
  border-radius: 10px;
  padding: 1px 6px;
}
/* ===== /Notion UX v5 (consolidated cleanup) ===== */

/* ===== v5.1 bugfix: progress hover + issue-show link sizing ===== */
/* 1) Issues list progress bar disappears on row hover
   Cause: broad hover/background rule was also hitting nested progress table cells. */
body.theme-Neutral.controller-issues.action-index table.list tr:hover > td {
  background: #fbfbfa !important;
}
body.theme-Neutral.controller-issues.action-index table.list td table.progress td {
  padding: 0 !important;
  border-bottom: none !important;
}
body.theme-Neutral.controller-issues.action-index table.list td table.progress td.closed { background: #bae0ba !important; }
body.theme-Neutral.controller-issues.action-index table.list td table.progress td.done { background: #d3edd3 !important; }
body.theme-Neutral.controller-issues.action-index table.list td table.progress td.todo { background: #eeeeee !important; }
body.theme-Neutral.controller-issues.action-index table.list tr:hover td table.progress td.closed { background: #bae0ba !important; }
body.theme-Neutral.controller-issues.action-index table.list tr:hover td table.progress td.done { background: #d3edd3 !important; }
body.theme-Neutral.controller-issues.action-index table.list tr:hover td table.progress td.todo { background: #eeeeee !important; }

/* 2) Issue show: links inside main description look oversized
   Normalize typography only within issue body/relations area. */
body.theme-Neutral.controller-issues.action-show .description .wiki,
body.theme-Neutral.controller-issues.action-show .description .wiki p,
body.theme-Neutral.controller-issues.action-show .description .wiki li {
  font-size: 13px !important;
  line-height: 1.55 !important;
}
body.theme-Neutral.controller-issues.action-show .description .wiki a,
body.theme-Neutral.controller-issues.action-show #relations a,
body.theme-Neutral.controller-issues.action-show #history a {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  word-break: break-word;
}
/* ===== /v5.1 bugfix ===== */
/* ===== v5.2 bugfix: issue-show links match body text ===== */
body.theme-Neutral.controller-issues.action-show .description .wiki a,
body.theme-Neutral.controller-issues.action-show #relations a,
body.theme-Neutral.controller-issues.action-show #history a {
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
/* ===== /v5.2 bugfix ===== */



/* ===== v5.3 bugfix: issue-show description box + link scale hard override ===== */
/* Reduce visual weight of description box */
body.controller-issues.action-show .description,
body.theme-Neutral.controller-issues.action-show .description {
  background: #fcfcfb !important;
  border: 1px solid #efeeeb !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
}

/* Force links to match surrounding text scale */
body.controller-issues.action-show .description .wiki a,
body.controller-issues.action-show #relations a,
body.controller-issues.action-show #history a,
body.theme-Neutral.controller-issues.action-show .description .wiki a,
body.theme-Neutral.controller-issues.action-show #relations a,
body.theme-Neutral.controller-issues.action-show #history a {
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
body.controller-issues.action-show .description .wiki a *,
body.theme-Neutral.controller-issues.action-show .description .wiki a * {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}
/* ===== /v5.3 bugfix ===== */


/* ===== v6 hard reset: issue-show link/button style normalization ===== */
/* 근본 대응: issue 상세 영역 링크를 버튼/배지 스타일에서 완전히 해제 */
body.controller-issues.action-show .description,
body.theme-Neutral.controller-issues.action-show .description {
  padding: 4px 6px !important;
  border-radius: 6px !important;
}

body.controller-issues.action-show .description .wiki a,
body.controller-issues.action-show #relations a,
body.controller-issues.action-show #history a,
body.theme-Neutral.controller-issues.action-show .description .wiki a,
body.theme-Neutral.controller-issues.action-show #relations a,
body.theme-Neutral.controller-issues.action-show #history a {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
}
body.controller-issues.action-show .description .wiki a:before,
body.controller-issues.action-show .description .wiki a:after,
body.controller-issues.action-show #relations a:before,
body.controller-issues.action-show #relations a:after,
body.controller-issues.action-show #history a:before,
body.controller-issues.action-show #history a:after,
body.theme-Neutral.controller-issues.action-show .description .wiki a:before,
body.theme-Neutral.controller-issues.action-show .description .wiki a:after,
body.theme-Neutral.controller-issues.action-show #relations a:before,
body.theme-Neutral.controller-issues.action-show #relations a:after,
body.theme-Neutral.controller-issues.action-show #history a:before,
body.theme-Neutral.controller-issues.action-show #history a:after {
  display: none !important;
  content: none !important;
}
/* ===== /v6 hard reset ===== */


/* ===== v6.1 layout: move project menu under title + top-menu left/right split ===== */
body.theme-Neutral #header {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
body.theme-Neutral #header h1 {
  margin-bottom: 8px !important;
}
body.theme-Neutral #main-menu {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  margin: 4px 0 0 0 !important;
  padding: 0 !important;
}
body.theme-Neutral #header #main-menu > ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
body.theme-Neutral #header #main-menu > ul > li {
  margin: 0 !important;
  flex: 0 0 auto !important;
}
body.theme-Neutral #header #main-menu > ul > li > a {
  padding: 6px 10px 6px 30px !important;
  background-position: 10px center !important;
}

/* top strip: left = home/my-page/projects/admin, right = account/logout/loggedas */
body.theme-Neutral #top-menu {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body.theme-Neutral #top-menu > ul {
  order: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body.theme-Neutral #top-menu #account {
  order: 2 !important;
  margin-left: auto !important;
}
body.theme-Neutral #top-menu #account ul {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body.theme-Neutral #top-menu #loggedas {
  order: 3 !important;
  margin: 0 0 0 8px !important;
  white-space: nowrap !important;
}
/* ===== /v6.1 layout ===== */


/* ===== v6.2 fix: jstoolbar icon visibility + stable project-menu position ===== */
/* (1) New issue editor toolbar: undo global button style and restore icon buttons */
body.theme-Neutral #content .jstElements {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  height: 28px !important;
}
body.theme-Neutral #content .jstElements button,
body.theme-Neutral #content .jstElements input[type=button] {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  padding: 4px !important;
  margin: 0 2px 0 0 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 4px !important;
  background-color: #f7f7f7 !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: 14px 14px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  line-height: 1 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}
body.theme-Neutral #content .jstElements button:hover,
body.theme-Neutral #content .jstElements input[type=button]:hover {
  border-color: #bcbcbc !important;
  background-color: #ececec !important;
}
body.theme-Neutral #content .jstElements button span {
  display: none !important;
}
body.theme-Neutral #content .jstElements .jstb_pre {
  text-indent: 0 !important;
  color: #2f3437 !important;
  font-size: 0 !important;
}
body.theme-Neutral #content .jstElements .jstb_pre::before {
  font-size: 10px !important;
  color: #2f3437 !important;
  font-weight: 700 !important;
}

/* (2) Keep project menu consistently under project title regardless of depth */
body.theme-Neutral #header {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-areas:
    "title search"
    "menu  menu" !important;
  row-gap: 8px !important;
  align-items: start !important;
}
body.theme-Neutral #header h1 {
  grid-area: title !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
body.theme-Neutral #header #quick-search {
  grid-area: search !important;
  justify-self: end !important;
  margin: 0 !important;
}
body.theme-Neutral #header #main-menu {
  grid-area: menu !important;
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  clear: both !important;
}

/* (3) Breadcrumb/project path in 2 lines with Korean caption */
body.theme-Neutral #header h1 .breadcrumbs {
  display: block !important;
  margin: 0 0 2px 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: #787774 !important;
}
body.theme-Neutral #header h1 .breadcrumbs::before { content: '' !important; }
body.theme-Neutral #header h1 .current-project {
  display: block !important;
  margin: 0 !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
}
/* ===== /v6.2 fix ===== */


/* ===== v6.3 fix: remove breadcrumb caption + restore original jstoolbar icons ===== */
body.theme-Neutral #header h1 .breadcrumbs::before { content: '' !important; }

/* jstoolbar classic button look */
body.theme-Neutral #content .jstElements button,
body.theme-Neutral #content .jstElements input[type=button] {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  padding: 4px !important;
  margin-right: 2px !important;
  border: 1px solid #ddd !important;
  border-radius: 2px !important;
  background-color: #f7f7f7 !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  box-shadow: none !important;
  opacity: 0.92 !important;
}
body.theme-Neutral #content .jstElements button:hover,
body.theme-Neutral #content .jstElements input[type=button]:hover {
  border-color: #bbb !important;
  background-color: #e5e5e5 !important;
  opacity: 1 !important;
}
body.theme-Neutral #content .jstElements button span { display: none !important; }

/* force icon background-image back (global button theme had reset it) */
body.theme-Neutral #content .jstElements button.jstb_strong  { background-image: url("/assets/jstoolbar/bold-9488b1ca.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_em      { background-image: url("/assets/jstoolbar/italic-581bb903.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_ins     { background-image: url("/assets/jstoolbar/underline-7f1532c4.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_del     { background-image: url("/assets/jstoolbar/strikethrough-845fb06b.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_code    { background-image: url("/assets/jstoolbar/letter-c-828e6ed3.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_h1      { background-image: url("/assets/jstoolbar/h1-2c820a9f.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_h2      { background-image: url("/assets/jstoolbar/h2-e48db650.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_h3      { background-image: url("/assets/jstoolbar/h3-97122049.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_ul      { background-image: url("/assets/jstoolbar/list-3397686a.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_ol      { background-image: url("/assets/jstoolbar/list-numbers-9bd169a5.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_tl      { background-image: url("/assets/jstoolbar/list-check-cccb4f48.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_bq      { background-image: url("/assets/jstoolbar/indent-increase-16ddf219.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_unbq    { background-image: url("/assets/jstoolbar/indent-decrease-7146c0c1.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_precode { background-image: url("/assets/jstoolbar/code-099ac2b5.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_link    { background-image: url("/assets/jstoolbar/wiki_link-6a9c9575.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_img     { background-image: url("/assets/jstoolbar/image-0b4f4f05.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_table   { background-image: url("/assets/jstoolbar/table-0cf07e5d.svg") !important; }
body.theme-Neutral #content .jstElements button.jstb_help    { background-image: url("/assets/jstoolbar/help-16e39147.svg") !important; }

/* keep pre button text */
body.theme-Neutral #content .jstElements button.jstb_pre { background-image: none !important; }
body.theme-Neutral #content .jstElements button.jstb_pre::before { content: 'pre'; font-size: 10px !important; color:#333 !important; font-weight:700; }
/* ===== /v6.3 fix ===== */


/* ===== v6.6 typography: multilingual-ready Noto stack ===== */
body.theme-Neutral,
body.theme-Neutral input,
body.theme-Neutral textarea,
body.theme-Neutral select,
body.theme-Neutral button,
body.theme-Neutral #top-menu,
body.theme-Neutral #header,
body.theme-Neutral #main-menu a,
body.theme-Neutral #content,
body.theme-Neutral .wiki,
body.theme-Neutral table,
body.theme-Neutral .tabular {
  font-family: 'Noto Sans', 'Noto Sans KR', 'Noto Sans JP', 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif !important;
}
/* ===== /v6.6 typography ===== */


/* ===== v6.7 polish: harmonize project menu position/visual weight ===== */
body.theme-Neutral #header {
  row-gap: 6px !important;
}
body.theme-Neutral #header #main-menu {
  margin-top: 2px !important;
  padding: 4px 6px !important;
  border: 1px solid var(--n5-line) !important;
  border-radius: 10px !important;
  background: var(--n5-surface-soft) !important;
  box-shadow: 0 1px 1px rgba(15,15,15,.03) !important;
}
body.theme-Neutral #header #main-menu > ul {
  gap: 4px !important;
  align-items: center !important;
}
body.theme-Neutral #header #main-menu > ul > li > a {
  border-radius: 7px !important;
  padding: 6px 10px 6px 28px !important;
  line-height: 1.2 !important;
}
body.theme-Neutral #header #main-menu > ul > li > a.selected,
body.theme-Neutral #header #main-menu > ul > li > a:hover {
  background: #efeeeb !important;
  border-color: transparent !important;
}
/* ===== /v6.7 polish ===== */


/* ===== v6.8 palette: issue new/edit form panels match theme ===== */
body.theme-Neutral.controller-issues.action-new #content .box,
body.theme-Neutral.controller-issues.action-edit #content .box {
  background: var(--n5-surface-soft) !important;
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

body.theme-Neutral.controller-issues.action-new #all_attributes,
body.theme-Neutral.controller-issues.action-edit #all_attributes,
body.theme-Neutral.controller-issues.action-new #attributes,
body.theme-Neutral.controller-issues.action-edit #attributes {
  background: transparent !important;
}

body.theme-Neutral.controller-issues.action-new #content .box.tabular p,
body.theme-Neutral.controller-issues.action-edit #content .box.tabular p,
body.theme-Neutral.controller-issues.action-new #content .splitcontentleft,
body.theme-Neutral.controller-issues.action-new #content .splitcontentright,
body.theme-Neutral.controller-issues.action-edit #content .splitcontentleft,
body.theme-Neutral.controller-issues.action-edit #content .splitcontentright {
  background: transparent !important;
}

body.theme-Neutral.controller-issues.action-new #content .jstBlock,
body.theme-Neutral.controller-issues.action-edit #content .jstBlock,
body.theme-Neutral.controller-issues.action-new #content .wiki-preview,
body.theme-Neutral.controller-issues.action-edit #content .wiki-preview {
  background: #fff !important;
  border-color: var(--n5-line-strong) !important;
  border-radius: 8px !important;
}
/* ===== /v6.8 palette ===== */


/* ===== v6.9 layout+flicker: full-width content and no Help blink ===== */
/* 1) Remove legacy right-shift on non-home pages */
body.theme-Neutral #wrapper {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
body.theme-Neutral #main,
body.theme-Neutral #main.no-main-menu {
  margin-left: 0 !important;
}

/* 2) Prevent visual flicker of Help text before JS relabel */
body.theme-Neutral #top-menu > ul a[href*='redmine.org/guide'],
body.theme-Neutral #top-menu > ul a[href$='/help'] {
  position: relative;
  color: transparent !important;
}
body.theme-Neutral #top-menu > ul a[href*='redmine.org/guide']::after,
body.theme-Neutral #top-menu > ul a[href$='/help']::after {
  content: 'Ditek Corp';
  color: var(--n5-muted);
}
/* ===== /v6.9 layout+flicker ===== */


/* ===== v7.0 top-menu compact spacing + loggedas font consistency ===== */
body.theme-Neutral #top-menu {
  padding: 0 8px !important;
  gap: 4px !important;
}
body.theme-Neutral #top-menu > ul,
body.theme-Neutral #top-menu #account ul {
  gap: 2px !important;
}
body.theme-Neutral #top-menu > ul > li > a,
body.theme-Neutral #top-menu #account ul li a {
  padding: 0 6px !important;
  font-size: 12px !important;
  line-height: 2.0em !important;
}
body.theme-Neutral #top-menu #loggedas,
body.theme-Neutral #top-menu #loggedas a {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 2.0em !important;
  letter-spacing: 0 !important;
  color: var(--n5-muted) !important;
}
body.theme-Neutral #top-menu #loggedas {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 6px !important;
}
/* ===== /v7.0 top-menu ===== */


/* ===== v7.1 editor polish: remove awkward rounded frame around toolbar ===== */
body.theme-Neutral.controller-issues.action-new #content .jstBlock,
body.theme-Neutral.controller-issues.action-edit #content .jstBlock,
body.theme-Neutral.controller-issues.action-show #content .jstBlock {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.theme-Neutral.controller-issues.action-new #content .jstTabs.tabs,
body.theme-Neutral.controller-issues.action-edit #content .jstTabs.tabs,
body.theme-Neutral.controller-issues.action-show #content .jstTabs.tabs {
  background: var(--n5-surface-soft) !important;
  border: 1px solid var(--n5-line-strong) !important;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 0 8px !important;
}

body.theme-Neutral.controller-issues.action-new #content .jstElements,
body.theme-Neutral.controller-issues.action-edit #content .jstElements,
body.theme-Neutral.controller-issues.action-show #content .jstElements {
  height: 30px !important;
  padding-top: 2px !important;
}

body.theme-Neutral.controller-issues.action-new #content textarea.wiki-edit,
body.theme-Neutral.controller-issues.action-edit #content textarea.wiki-edit,
body.theme-Neutral.controller-issues.action-show #content textarea.wiki-edit,
body.theme-Neutral.controller-issues.action-new #content .wiki-preview,
body.theme-Neutral.controller-issues.action-edit #content .wiki-preview,
body.theme-Neutral.controller-issues.action-show #content .wiki-preview {
  border: 1px solid var(--n5-line-strong) !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: none !important;
}
/* ===== /v7.1 editor polish ===== */


/* ===== v7.2 editor edge fix: right border break on new/edit ===== */
body.theme-Neutral.controller-issues.action-new #content .jstBlock,
body.theme-Neutral.controller-issues.action-edit #content .jstBlock,
body.theme-Neutral.controller-issues.action-show #content .jstBlock,
body.theme-Neutral.controller-issues.action-new #content .jstTabs.tabs,
body.theme-Neutral.controller-issues.action-edit #content .jstTabs.tabs,
body.theme-Neutral.controller-issues.action-show #content .jstTabs.tabs,
body.theme-Neutral.controller-issues.action-new #content textarea.wiki-edit,
body.theme-Neutral.controller-issues.action-edit #content textarea.wiki-edit,
body.theme-Neutral.controller-issues.action-show #content textarea.wiki-edit,
body.theme-Neutral.controller-issues.action-new #content .wiki-preview,
body.theme-Neutral.controller-issues.action-edit #content .wiki-preview,
body.theme-Neutral.controller-issues.action-show #content .wiki-preview {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.theme-Neutral.controller-issues.action-new #content .jstTabs.tabs,
body.theme-Neutral.controller-issues.action-edit #content .jstTabs.tabs,
body.theme-Neutral.controller-issues.action-show #content .jstTabs.tabs {
  overflow: hidden !important;
}
/* ===== /v7.2 editor edge fix ===== */


/* ===== v7.3 bugfix: selected issue row text disappearing on hover ===== */
/* cause: global hover(td) overrode selected-row background, while selected text stayed white */
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td {
  background: #507AAA !important;
  color: #f8f8f8 !important;
}
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td a,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td a {
  color: #f8f8f8 !important;
}
/* ===== /v7.3 bugfix ===== */

/* ===== v7.4 issue-show alignment: match base Redmine tabs/linked-issue tone ===== */
/* Scope strictly to issue detail page to reduce AX side effects */
body.theme-Neutral.controller-issues.action-show .issue,
body.theme-Neutral.controller-issues.action-show #history,
body.theme-Neutral.controller-issues.action-show .journals {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Keep only minimal divider where needed (cleaner than boxed borders) */
body.theme-Neutral.controller-issues.action-show .attributes {
  border-top: 1px solid #e8e6e1 !important;
}

/* History/Comments/Activity tabs: revert from pill-container to plain Redmine-like tabs */
body.theme-Neutral.controller-issues.action-show #content .tabs,
body.theme-Neutral.controller-issues.action-show #history .tabs,
body.theme-Neutral.controller-issues.action-show #history-tabs,
body.theme-Neutral.controller-issues.action-show #content .jstTabs.tabs {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  padding: 4px 8px !important;
  color: #4b5563 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected {
  color: #1f2937 !important;
  border-bottom-color: #9aa3af !important;
  font-weight: 600 !important;
}

/* linked issue count badge tone-down (left screenshot style) */
body.theme-Neutral.controller-issues.action-show #relations .badge,
body.theme-Neutral.controller-issues.action-show #relations .count,
body.theme-Neutral.controller-issues.action-show p.related-issues .badge,
body.theme-Neutral.controller-issues.action-show p.related-issues .count {
  min-width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 11px !important;
}
/* ===== /v7.4 issue-show alignment ===== */

/* ===== v7.5 fix: restore issue-show panel borders + make history tabs button-like ===== */
/* 1) Restore global issue-show borders removed by v7.4 */
body.theme-Neutral.controller-issues.action-show .issue,
body.theme-Neutral.controller-issues.action-show #history,
body.theme-Neutral.controller-issues.action-show .journals {
  border: 1px solid var(--n5-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* 2) History/Comments/Activity tabs should look clickable (button-ish like left/base) */
body.theme-Neutral.controller-issues.action-show #content .tabs,
body.theme-Neutral.controller-issues.action-show #history .tabs,
body.theme-Neutral.controller-issues.action-show #history-tabs {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul,
body.theme-Neutral.controller-issues.action-show #history .tabs ul,
body.theme-Neutral.controller-issues.action-show #history-tabs ul {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  padding: 3px 10px !important;
  border: 1px solid #d8dbe2 !important;
  border-radius: 6px !important;
  background: #f8fafc !important;
  color: #4b5563 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a:hover {
  background: #f1f5f9 !important;
  border-color: #c9ced8 !important;
  color: #334155 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected {
  background: #ffffff !important;
  border-color: #9aa3af !important;
  color: #1f2937 !important;
  font-weight: 600 !important;
}

/* 3) Only remove border emphasis around linked-issue count value wrapper */
body.theme-Neutral.controller-issues.action-show #relations .badge,
body.theme-Neutral.controller-issues.action-show #relations .count,
body.theme-Neutral.controller-issues.action-show p.related-issues .badge,
body.theme-Neutral.controller-issues.action-show p.related-issues .count,
body.theme-Neutral.controller-issues.action-show .issue .relations .badge,
body.theme-Neutral.controller-issues.action-show .issue .relations .count {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
/* ===== /v7.5 fix ===== */

/* ===== v7.6 fix: redmine_issue_dynamic_edit action button visibility ===== */
/* Root cause: global themed button rules (with !important) override plugin button colors. */
body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action {
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  min-width: 26px !important;
  height: 26px !important;
  padding: 0 8px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f3f4f6 !important;
  color: #374151 !important;
}

body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action.valid {
  background: #27ae60 !important;
  border-color: #1f8a4d !important;
  color: #ffffff !important;
}

body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action.refuse {
  background: #eef0f3 !important;
  border-color: #d1d5db !important;
  color: #4b5563 !important;
}

/* Keep SVG icons visible regardless of inherited button/link styles */
body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
}
body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action.valid svg,
body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action.valid svg path {
  fill: #ffffff !important;
}
body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action.refuse svg,
body.theme-Neutral.controller-issues.action-show .dynamicEditField button.action.refuse svg path {
  fill: #374151 !important;
}
/* ===== /v7.6 fix ===== */

/* ===== v7.7 fix: issue-show link border reset + refresh icon alignment ===== */
/* A) Checked item: remove unwanted border/box style on inline links in issue detail header/meta */
body.theme-Neutral.controller-issues.action-show .issue.details .subject a,
body.theme-Neutral.controller-issues.action-show .issue.details p a,
body.theme-Neutral.controller-issues.action-show .issue.details .attributes .value a {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
}

/* B) Refresh icon should live at the top-right of subject block (not dropped below nav row) */
body.theme-Neutral.controller-issues.action-show div.issue.details div.subject {
  position: relative !important;
  display: block !important;
  padding-right: 34px !important;
}

body.theme-Neutral.controller-issues.action-show div.issue.details div.subject h3 {
  display: block !important;
  margin-right: 0 !important;
}

body.theme-Neutral.controller-issues.action-show div.issue.details div.subject .refreshData {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 22px !important;
  text-align: center !important;
  border: 1px solid var(--n5-line-strong) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--n5-muted) !important;
  box-shadow: none !important;
  z-index: 3 !important;
}
/* ===== /v7.7 fix ===== */

/* ===== v7.8 bugfix: selected project row text disappearing on hover ===== */
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td {
  background: #507AAA !important;
  color: #f8f8f8 !important;
}

body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td a,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td a {
  color: #f8f8f8 !important;
}
/* ===== /v7.8 bugfix ===== */

/* ===== v7.9 bugfix: projects index selected-row name cell remains visible on hover ===== */
/* Some project-name links (e.g., a.project.closed / nested spans/icons) kept muted color. */
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td.name,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td.name,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td.name *,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td.name * {
  color: #f8f8f8 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td.name a.project.closed,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td.name a.project.closed {
  color: #f8f8f8 !important;
}

body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td.name svg,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td.name svg,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td.name svg path,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td.name svg path {
  fill: #f8f8f8 !important;
  stroke: #f8f8f8 !important;
}
/* ===== /v7.9 bugfix ===== */

/* ===== v8.0 login background: branded photo + soft blur (unauth-safe theme asset) ===== */
body.theme-Neutral.controller-account.action-login {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

body.theme-Neutral.controller-account.action-login::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/themes/neutral/images/login-bg-ditek.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(6px) saturate(0.95);
  transform: scale(1.03);
  z-index: -2;
}

body.theme-Neutral.controller-account.action-login::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(247, 247, 245, 0.78);
  z-index: -1;
}

body.theme-Neutral.controller-account.action-login #wrapper,
body.theme-Neutral.controller-account.action-login #top-menu,
body.theme-Neutral.controller-account.action-login #header,
body.theme-Neutral.controller-account.action-login #main,
body.theme-Neutral.controller-account.action-login #content {
  background: transparent !important;
}
/* ===== /v8.0 login background ===== */

/* ===== v8.1 login refresh: lighter blur, darker overlay, M365-like card ===== */
body.theme-Neutral.controller-account.action-login::before {
  filter: blur(2.5px) saturate(0.9) brightness(0.88) !important;
  transform: scale(1.015) !important;
}

body.theme-Neutral.controller-account.action-login::after {
  background: rgba(20, 24, 31, 0.46) !important;
}

/* keep top strips simple on login page */
body.theme-Neutral.controller-account.action-login #top-menu {
  background: transparent !important;
  border-bottom: 0 !important;
}
body.theme-Neutral.controller-account.action-login #header {
  border: 0 !important;
  box-shadow: none !important;
}

/* center login card like M365 */
body.theme-Neutral.controller-account.action-login #content {
  max-width: 420px !important;
  margin: 56px auto 0 !important;
  padding: 0 !important;
}

body.theme-Neutral.controller-account.action-login #login-form,
body.theme-Neutral.controller-account.action-login #login-form form,
body.theme-Neutral.controller-account.action-login #login-form > div {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
}

body.theme-Neutral.controller-account.action-login #login-form {
  padding: 26px 28px 22px !important;
}

body.theme-Neutral.controller-account.action-login #login-form h2 {
  margin: 0 0 14px 0 !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
}

body.theme-Neutral.controller-account.action-login #login-form label,
body.theme-Neutral.controller-account.action-login #login-form #password + a,
body.theme-Neutral.controller-account.action-login #login-form .lost_password,
body.theme-Neutral.controller-account.action-login #login-form .register {
  color: #374151 !important;
  font-size: 13px !important;
}

/* input: underlined M365-like */
body.theme-Neutral.controller-account.action-login #login-form input[type="text"],
body.theme-Neutral.controller-account.action-login #login-form input[type="password"] {
  width: 100% !important;
  height: 38px !important;
  border: 0 !important;
  border-bottom: 1px solid #8a8a8a !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111827 !important;
  padding: 0 2px !important;
  box-shadow: none !important;
}

body.theme-Neutral.controller-account.action-login #login-form input[type="text"]:focus,
body.theme-Neutral.controller-account.action-login #login-form input[type="password"]:focus {
  border-bottom: 2px solid #2563eb !important;
  outline: none !important;
  box-shadow: none !important;
}

/* primary button */
body.theme-Neutral.controller-account.action-login #login-form input[type="submit"],
body.theme-Neutral.controller-account.action-login #login-form button[type="submit"] {
  min-width: 108px !important;
  height: 34px !important;
  padding: 0 16px !important;
  border: 1px solid #2563eb !important;
  border-radius: 2px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  float: right !important;
}

body.theme-Neutral.controller-account.action-login #login-form input[type="submit"]:hover,
body.theme-Neutral.controller-account.action-login #login-form button[type="submit"]:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}
/* ===== /v8.1 login refresh ===== */

/* ===== v8.2 login polish: keep header opaque + remove tall outer white frame ===== */
/* 1) Header/menu area must not show background photo */
body.theme-Neutral.controller-account.action-login #top-menu,
body.theme-Neutral.controller-account.action-login #header {
  position: relative !important;
  z-index: 6 !important;
  background: #f6f7f9 !important;
}

body.theme-Neutral.controller-account.action-login #top-menu {
  border-bottom: 1px solid #e5e7eb !important;
}

body.theme-Neutral.controller-account.action-login #header {
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: none !important;
}

/* 2) Remove long white bordered container around login card */
body.theme-Neutral.controller-account.action-login #main,
body.theme-Neutral.controller-account.action-login #content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

body.theme-Neutral.controller-account.action-login #main {
  margin: 0 auto !important;
  padding: 36px 0 0 !important;
}

body.theme-Neutral.controller-account.action-login #content {
  max-width: 420px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* 3) Login box finish: match border/radius cleanly */
body.theme-Neutral.controller-account.action-login #login-form,
body.theme-Neutral.controller-account.action-login #login-form form,
body.theme-Neutral.controller-account.action-login #login-form > div {
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
/* ===== /v8.2 login polish ===== */

/* ===== v8.3 login bg corner rounding: soft 4-side radius ===== */
body.theme-Neutral.controller-account.action-login::before,
body.theme-Neutral.controller-account.action-login::after {
  inset: 8px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}
/* ===== /v8.3 login bg corner rounding ===== */

/* ===== v8.4 login bg corner fix: apply rounding on visible top corners under header ===== */
/* move visible bg layer from body viewport to #main panel so top-left/right corners are rounded */
body.theme-Neutral.controller-account.action-login::before,
body.theme-Neutral.controller-account.action-login::after {
  display: none !important;
}

body.theme-Neutral.controller-account.action-login #main {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  margin: 8px 8px 0 !important;
}

body.theme-Neutral.controller-account.action-login #main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/themes/neutral/images/login-bg-ditek.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(2.5px) saturate(0.9) brightness(0.88);
  transform: scale(1.015);
  z-index: -2;
}

body.theme-Neutral.controller-account.action-login #main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 31, 0.46);
  z-index: -1;
}
/* ===== /v8.4 login bg corner fix ===== */

/* ===== v8.5 login card seam fix: single-layer card (remove nested borders) ===== */
/* Keep visual card only on #login-form */
body.theme-Neutral.controller-account.action-login #login-form {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
  overflow: hidden !important;
}

/* Remove duplicate card layers that caused corner seam artifacts */
body.theme-Neutral.controller-account.action-login #login-form form,
body.theme-Neutral.controller-account.action-login #login-form > div {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* ===== /v8.5 login card seam fix ===== */

/* ===== v8.6 typography tune: issues list subject/status weight soften ===== */
body.theme-Neutral.controller-issues.action-index td.subject a {
  font-weight: 500 !important;
}

body.theme-Neutral.controller-issues.action-index td.status {
  font-weight: 600 !important;
}
/* ===== /v8.6 typography tune ===== */

/* ===== v8.7 issue-show tabs redesign: notion-like low-saturation text tabs ===== */
/* Scope: issue detail history/comment/change tabs only */
body.theme-Neutral.controller-issues.action-show #content .tabs,
body.theme-Neutral.controller-issues.action-show #history .tabs,
body.theme-Neutral.controller-issues.action-show #history-tabs {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul,
body.theme-Neutral.controller-issues.action-show #history .tabs ul,
body.theme-Neutral.controller-issues.action-show #history-tabs ul {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 0 0 6px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #e7e5e1 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li {
  margin: 0 !important;
  padding: 0 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 0 2px 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #787774 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a:hover {
  color: #4b5563 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected {
  color: #2f3437 !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #a8a29e !important;
}
/* ===== /v8.7 issue-show tabs redesign ===== */

/* ===== v8.8 issue-show tabs refine: minimal but clearly interactive ===== */
/* Keep notion tone but restore recognizability as clickable tabs */
body.theme-Neutral.controller-issues.action-show #content .tabs,
body.theme-Neutral.controller-issues.action-show #history .tabs,
body.theme-Neutral.controller-issues.action-show #history-tabs {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul,
body.theme-Neutral.controller-issues.action-show #history .tabs ul,
body.theme-Neutral.controller-issues.action-show #history-tabs ul {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 0 8px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #e7e5e1 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li {
  margin: 0 !important;
  padding: 0 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: #f7f6f4 !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a:hover {
  background: #f1efeb !important;
  color: #374151 !important;
  border-color: #dfddd7 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected {
  background: #ffffff !important;
  color: #2f3437 !important;
  border-color: #ddd9d2 !important;
  box-shadow: inset 0 -2px 0 #a8a29e !important;
}
/* ===== /v8.8 issue-show tabs refine ===== */

/* ===== v8.9 issue-show tabs tone match: flatter + softer emphasis ===== */
body.theme-Neutral.controller-issues.action-show #content .tabs ul,
body.theme-Neutral.controller-issues.action-show #history .tabs ul,
body.theme-Neutral.controller-issues.action-show #history-tabs ul {
  gap: 6px !important;
  padding: 0 0 7px 0 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a {
  min-height: 28px !important;
  padding: 0 8px !important;
  background: transparent !important;
  border-color: transparent !important;
  color: #787774 !important;
  font-weight: 500 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a:hover,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a:hover {
  background: #f4f3f1 !important;
  border-color: #ece9e3 !important;
  color: #4b5563 !important;
}

body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected {
  background: #f8f7f5 !important;
  border-color: #ece9e3 !important;
  color: #2f3437 !important;
  font-weight: 600 !important;
  box-shadow: inset 0 -2px 0 #b7b1aa !important;
}
/* ===== /v8.9 issue-show tabs tone match ===== */

/* ===== v9.0 issues list: make status text style same as subject ===== */
body.theme-Neutral.controller-issues.action-index td.status,
body.theme-Neutral.controller-issues.action-index td.status * {
  font-weight: 500 !important;
  color: var(--n5-text) !important;
  letter-spacing: 0 !important;
}
/* ===== /v9.0 issues list status=subject style ===== */




/* removed in v11.4 consolidation: v9.1 */





/* removed in v11.4 consolidation: v9.2 */





/* removed in v11.4 consolidation: v9.3 */





/* removed in v11.4 consolidation: v9.4 */





/* removed in v11.4 consolidation: v9.5 */





/* removed in v11.4 consolidation: v9.6 */





/* removed in v11.4 consolidation: v9.7 */





/* removed in v11.4 consolidation: v9.8 */





/* removed in v11.4 consolidation: v10.0 */





/* removed in v11.4 consolidation: v10.1 */





/* removed in v11.4 consolidation: v10.2 */







/* removed in v11.4 consolidation: v10.4 */





/* removed in v11.4 consolidation: v10.5 */





/* removed in v11.4 consolidation: v10.6 */





/* removed in v11.4 consolidation: v10.7 */



/* ===== v10.8 issue-show floating title hotfix ===== */
@media screen and (max-width: 899px) {
  /* expected behavior: issue number/title stays inline in content flow (not floating mid-screen) */
  body.theme-Neutral.controller-issues.action-show div.issue.details div.subject,
  body.theme-Neutral.controller-issues.action-show div.issue.details div.subject h3 {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* override plugin/legacy responsive rules that pin inline-edit wrappers */
  body.theme-Neutral.controller-issues.action-show #wrapper .dynamicEdit,
  body.theme-Neutral.controller-issues.action-show #wrapper .dynamicEditField,
  body.theme-Neutral.controller-issues.action-show .subject .dynamicEditField {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 6px 0 !important;
    z-index: auto !important;
  }
}
/* ===== /v10.8 issue-show floating title hotfix ===== */


/* ===== v10.9 mobile disable sticky issue header ===== */
@media screen and (max-width: 899px) {
  /* Core sticky issue header can appear at wrong vertical position in this theme stack. */
  body.theme-Neutral.controller-issues.action-show #sticky-issue-header,
  body.theme-Neutral.controller-issues.action-show div#sticky-issue-header,
  body.theme-Neutral.controller-issues.action-show div#sticky-issue-header.is-visible {
    display: none !important;
    position: static !important;
    top: auto !important;
  }
}
/* ===== /v10.9 mobile disable sticky issue header ===== */



/* removed by v11.3 consolidation */





/* removed by v11.3 consolidation */



/* ===== v11 draft: custom-fields line-menu harmonization + hover contrast guard ===== */

/* 1) custom fields page tabs (line menu) - keep notion low saturation */
body.theme-Neutral.controller-custom_fields .tabs {
  background: #f6f5f2 !important;
  border: 1px solid var(--no-line, #ecebe8) !important;
  border-radius: 10px !important;
  padding: 4px !important;
  box-shadow: none !important;
}

body.theme-Neutral.controller-custom_fields .tabs ul {
  display: flex !important;
  gap: 6px !important;
}

body.theme-Neutral.controller-custom_fields .tabs ul li a {
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  color: #6b6a67 !important;
  background: transparent !important;
  font-weight: 500 !important;
}

body.theme-Neutral.controller-custom_fields .tabs ul li a:hover {
  background: #efede8 !important;
  color: #2f3437 !important;
}

body.theme-Neutral.controller-custom_fields .tabs ul li a.selected {
  background: #fff !important;
  color: var(--no-accent, #0f7b6c) !important;
  border: 1px solid var(--no-line-strong, #e2e0dc) !important;
  border-bottom-color: var(--no-line-strong, #e2e0dc) !important;
  font-weight: 600 !important;
}

/* 2) custom fields table hover/icon readability */
body.theme-Neutral.controller-custom_fields table.list tr:hover > td {
  background: #f5f4f1 !important;
}

body.theme-Neutral.controller-custom_fields table.list td a {
  color: #545450 !important;
}

body.theme-Neutral.controller-custom_fields table.list td a:hover,
body.theme-Neutral.controller-custom_fields table.list td a:focus {
  color: #2f3437 !important;
  text-decoration: underline !important;
}

/* 3) projects action button icon guard (desktop only) */
@media (min-width: 900px) {
  body.theme-Neutral.controller-projects.action-index .contextual a.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-new-issue {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 34px !important;
    padding: 0 12px !important;
    color: #fff !important;
  }

/* removed in v11.5: legacy icon layer-hide rule */
/* removed in v11.5: legacy icon-add::before rule */
}

/* 4) mobile top controls consistency */
@media (max-width: 899px) {
  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button,
  body.theme-Neutral #header #project-jump .drdn-trigger {
    min-height: 40px !important;
  }
}

/* ===== /v11 draft ===== */



/* ===== v11.1 full rollout: notion-tone harmonization + hover contrast + mobile guard =====
   Scope: neutral
   Goal: apply full report baseline (line-menu, button/icon consistency, table/field readability, mobile guard)
*/

/* ---------- A) global tone alignment (keep low saturation, remove harsh blue feeling) ---------- */
body.theme-Neutral #top-menu {
  background: #f3f2ef !important;
  border-bottom: 1px solid var(--no-line, #ecebe8) !important;
}
body.theme-Neutral #top-menu a,
body.theme-Neutral #top-menu #loggedas,
body.theme-Neutral #top-menu #loggedas a {
  color: #5f5e5a !important;
}
body.theme-Neutral #top-menu a:hover,
body.theme-Neutral #top-menu #loggedas a:hover {
  color: #2f3437 !important;
  text-decoration: underline !important;
}

/* ---------- B) line-menu(tab) harmonization ---------- */
/* custom fields admin tabs (user highlighted mismatch) */
body.theme-Neutral.controller-custom_fields .tabs {
  background: #f6f5f2 !important;
  border: 1px solid var(--no-line, #ecebe8) !important;
  border-radius: 10px !important;
  padding: 4px !important;
  box-shadow: none !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul li a {
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  color: #6b6a67 !important;
  background: transparent !important;
  font-weight: 500 !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul li a:hover,
body.theme-Neutral.controller-enumerations .tabs ul li a:hover,
body.theme-Neutral.controller-trackers .tabs ul li a:hover {
  background: #efede8 !important;
  color: #2f3437 !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul li a.selected,
body.theme-Neutral.controller-enumerations .tabs ul li a.selected,
body.theme-Neutral.controller-trackers .tabs ul li a.selected {
  background: #fff !important;
  color: var(--no-accent, #0f7b6c) !important;
  border: 1px solid var(--no-line-strong, #e2e0dc) !important;
  border-bottom-color: var(--no-line-strong, #e2e0dc) !important;
  font-weight: 600 !important;
}

/* ---------- C) table/field readability + hover contrast ---------- */
body.theme-Neutral table.list th {
  background: var(--no-surface-2, #fbfbfa) !important;
  color: #666560 !important;
}
body.theme-Neutral table.list td {
  color: var(--no-ink, #2f3437) !important;
}
body.theme-Neutral table.list tr:hover > td {
  background: #f5f4f1 !important;
}

/* action text/icon visibility guard on hover (copy/delete/etc) */
body.theme-Neutral table.list td a {
  color: #575651 !important;
  text-decoration: none !important;
}
body.theme-Neutral table.list td a:hover,
body.theme-Neutral table.list td a:focus {
  color: #2f3437 !important;
  text-decoration: underline !important;
}

/* form field consistency */
body.theme-Neutral input[type=text],
body.theme-Neutral input[type=password],
body.theme-Neutral input[type=date],
body.theme-Neutral input[type=number],
body.theme-Neutral textarea,
body.theme-Neutral select {
  min-height: 34px !important;
}

/* ---------- D) projects action button/icon consistency ---------- */
@media (min-width: 900px) {
  body.theme-Neutral.controller-projects.action-index .contextual a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  body.theme-Neutral.controller-projects.action-index .contextual a.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-new-issue {
    background: var(--no-accent, #0f7b6c) !important;
    border: 1px solid var(--no-accent, #0f7b6c) !important;
    color: #fff !important;
    background-image: none !important;
  }

  /* hide legacy icon nodes and render one reliable white circled plus */
/* removed in v11.5: legacy icon layer-hide rule */
/* removed in v11.5: legacy icon-add::before rule */
}

/* ---------- E) mobile guard (without breaking flyout architecture) ---------- */
@media (max-width: 899px) {
  body.theme-Neutral #header {
    overflow: visible !important;
    padding-right: 48px !important;
  }

  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    top: 7px !important;
    right: 8px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    color: #3e3d39 !important;
    border: 1px solid var(--no-line-strong, #e2e0dc) !important;
    z-index: 2600 !important;
  }

  body.theme-Neutral #header #project-jump,
  body.theme-Neutral #header #project_quick_jump_box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px 0 !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger,
  body.theme-Neutral #header #project_quick_jump_box .drdn-trigger {
    min-height: 40px !important;
    padding-right: 40px !important;
    border-radius: 8px !important;
  }

  /* keep tabs usable on mobile */
  body.theme-Neutral #content .tabs ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
  }
  body.theme-Neutral #content .tabs ul li a {
    min-height: 34px !important;
    white-space: nowrap !important;
  }

  /* issue list horizontal read-ability */
  body.theme-Neutral.controller-issues.action-index .autoscroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body.theme-Neutral.controller-issues.action-index table.list.issues {
    width: max-content !important;
    min-width: 920px !important;
  }
}
/* ===== /v11.1 full rollout ===== */



/* ===== v11.2 hotfix: icon visibility + list readability + safe mobile guard =====
   Theme: neutral
   Goal : keep notion-tone(low saturation) while improving practical readability
*/

:root {
  --no-ink-strong: #2f3437;
  --no-ink-mid: #5b5a57;
  --no-head-bg: #f8f7f5;
  --no-row-hover: #f5f4f1;
  --no-accent: #0f7b6c;
}

/* A) projects#index '+' icon visibility (final override) */
@media (min-width: 900px) {
  body.theme-Neutral.controller-projects.action-index .contextual a.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-new-issue {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 34px !important;
    padding: 0 12px !important;
    background: var(--no-accent) !important;
    border: 1px solid var(--no-accent) !important;
    color: #fff !important;
    background-image: none !important;
    text-shadow: none !important;
  }

  /* hide duplicate layers from previous patches */
/* removed in v11.5: legacy icon layer-hide rule */
  /* make + clearly visible (override 11px remnants) */
/* removed in v11.5: legacy icon-add::before rule */
}

/* B) high-density table readability (issues/projects/custom_fields) */
body.theme-Neutral.controller-issues.action-index table.list thead th,
body.theme-Neutral.controller-projects.action-index table.list thead th,
body.theme-Neutral.controller-custom_fields table.list thead th {
  background: var(--no-head-bg) !important;
  color: var(--no-ink-mid) !important;
  border-bottom: 1px solid #e5e2dd !important;
  font-weight: 600 !important;
}

body.theme-Neutral.controller-issues.action-index table.list tr:hover > td,
body.theme-Neutral.controller-projects.action-index table.list tr:hover > td,
body.theme-Neutral.controller-custom_fields table.list tr:hover > td {
  background: var(--no-row-hover) !important;
  color: var(--no-ink-strong) !important;
}

body.theme-Neutral.controller-issues.action-index table.list td a:hover,
body.theme-Neutral.controller-projects.action-index table.list td a:hover,
body.theme-Neutral.controller-custom_fields table.list td a:hover {
  color: var(--no-ink-strong) !important;
  text-decoration: underline !important;
}

/* keep selected-row readable while hover overrides exist */
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td {
  background: #507AAA !important;
  color: #f8f8f8 !important;
}

body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td a,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td a,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection > td a,
body.theme-Neutral.controller-projects.action-index table.list tr.context-menu-selection:hover > td a {
  color: #f8f8f8 !important;
}

/* C) safe mobile guard (no flyout position override) */
@media screen and (max-width: 899px) {
  body.theme-Neutral #header .js-flyout-menu-toggle-button,
  body.theme-Neutral #header #project-jump .drdn-trigger {
    min-height: 40px !important;
  }

  body.theme-Neutral.controller-issues.action-index .autoscroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.theme-Neutral.controller-issues.action-index table.list.issues {
    width: max-content !important;
    min-width: 920px !important;
    table-layout: auto !important;
  }

  body.theme-Neutral.controller-issues.action-index table.list.issues th,
  body.theme-Neutral.controller-issues.action-index table.list.issues td {
    white-space: nowrap !important;
  }
}

/* ===== /v11.2 hotfix ===== */

/* ===== v11.2b micro-tune: low-saturation readability refinement ===== */
body.theme-Neutral.controller-custom_fields table.list thead th,
body.theme-Neutral.controller-issues.action-index table.list thead th,
body.theme-Neutral.controller-projects.action-index table.list thead th {
  background: #f6f5f2 !important;
  color: #555651 !important;
}

body.theme-Neutral.controller-custom_fields table.list tr:hover > td,
body.theme-Neutral.controller-issues.action-index table.list tr:hover > td,
body.theme-Neutral.controller-projects.action-index table.list tr:hover > td {
  background: #f3f2ef !important;
}

body.theme-Neutral.controller-custom_fields table.list td a:hover,
body.theme-Neutral.controller-issues.action-index table.list td a:hover,
body.theme-Neutral.controller-projects.action-index table.list td a:hover {
  color: #2f3437 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

body.theme-Neutral.controller-custom_fields .tabs ul li a:hover {
  background: #efede8 !important;
  color: #2f3437 !important;
}
/* ===== /v11.2b ===== */


/* ===== v11.3 consolidation lock: project plus + mobile header baseline =====
   intent: final authoritative block after legacy cleanup
*/
@media (min-width: 900px) {
  body.theme-Neutral.controller-projects.action-index .contextual a.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-add,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-new-issue {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 34px !important;
    padding: 0 12px !important;
    background: #0f7b6c !important;
    border: 1px solid #0f7b6c !important;
    color: #fff !important;
    background-image: none !important;
  }
  body.theme-Neutral.controller-projects.action-index .contextual a.icon-add .icon,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-add .icon,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-new-issue .icon,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon-add [class*="icon-"] {
    display: none !important;
    background-image: none !important;
  }
  body.theme-Neutral.controller-projects.action-index .contextual a.icon-add::before,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-add::before,
  body.theme-Neutral.controller-projects.action-index .contextual a.icon.icon-new-issue::before {
    content: '+' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 1.8px solid rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
}

@media screen and (max-width: 899px) {
  body.theme-Neutral #header {
    overflow: visible !important;
    padding-right: 48px !important;
  }
  body.theme-Neutral #header .js-flyout-menu-toggle-button,
  body.theme-Neutral #header #project-jump .drdn-trigger {
    min-height: 40px !important;
  }
}
/* ===== /v11.3 consolidation lock ===== */


/* ===== v11.4 mobile consolidation baseline =====
   Purpose: unify mobile behavior after removing legacy v9.x~v10.7 scattered blocks
*/
@media screen and (max-width: 899px) {
  body.theme-Neutral #header {
    overflow: visible !important;
    padding-right: 48px !important;
  }

  body.theme-Neutral #header .js-flyout-menu-toggle-button,
  body.theme-Neutral #header #project-jump .drdn-trigger {
    min-height: 40px !important;
  }

  body.theme-Neutral #quick-search label,
  body.theme-Neutral #quick-search #q {
    display: none !important;
  }

  body.theme-Neutral #project-jump,
  body.theme-Neutral #project-jump .drdn,
  body.theme-Neutral #project-jump .drdn-trigger {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.theme-Neutral #wrapper .flyout-menu {
    position: fixed !important;
    top: 0 !important;
    right: -82vw !important;
    left: auto !important;
    width: 82vw !important;
    max-width: 340px !important;
    height: 100vh !important;
    overflow-y: auto !important;
    z-index: 1200 !important;
  }
  html.flyout-is-active body.theme-Neutral #wrapper .flyout-menu {
    right: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-index .autoscroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body.theme-Neutral.controller-issues.action-index table.list.issues {
    width: max-content !important;
    min-width: 920px !important;
    table-layout: auto !important;
  }
  body.theme-Neutral.controller-issues.action-index table.list.issues th,
  body.theme-Neutral.controller-issues.action-index table.list.issues td {
    white-space: nowrap !important;
  }
}
/* ===== /v11.4 mobile consolidation baseline ===== */


/* ===== v11.5 icon-rule dedupe lock =====
   keep only latest icon-add visual authority from v11.3+
*/


/* ===== v11.6 mobile header+attachments stabilization ===== */
@media (max-width: 899px) {
  /* Header layer cleanup: prevent title ghost/overlap in iOS */
  body.theme-Neutral #header {
    overflow: visible !important;
    padding-right: 48px !important;
    min-height: 46px !important;
  }
  body.theme-Neutral #header h1 {
    display: none !important;
  }
  body.theme-Neutral #top-menu #loggedas,
  body.theme-Neutral #top-menu #loggedas a {
    display: none !important;
  }
  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button {
    width: 32px !important;
    height: 32px !important;
    top: 7px !important;
    right: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1305 !important;
  }

  /* Issue show action row spacing */
  body.theme-Neutral.controller-issues.action-show #content > .contextual {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 4px 0 10px !important;
    float: none !important;
    justify-content: flex-end !important;
    clear: both !important;
  }

  /* Attachment metadata overflow fix */
  body.theme-Neutral.controller-issues.action-show #content .attachments {
    overflow: hidden;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments .contextual {
    float: none !important;
    display: flex !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments table,
  body.theme-Neutral.controller-issues.action-show #content .attachments tbody,
  body.theme-Neutral.controller-issues.action-show #content .attachments tr,
  body.theme-Neutral.controller-issues.action-show #content .attachments td {
    display: block !important;
    width: 100% !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments tr {
    border-bottom: 1px solid var(--nt-line) !important;
    padding: 8px 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td {
    padding: 2px 0 !important;
    text-align: left !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments a.icon-attachment {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 4px !important;
    max-width: 100% !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments a.icon-attachment .icon-label {
    display: inline !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments .size,
  body.theme-Neutral.controller-issues.action-show #content .attachments .author {
    display: block !important;
    margin: 2px 0 0 22px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    font-size: 12px !important;
    color: #6b7280 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:empty {
    display: none !important;
  }
}
/* ===== /v11.6 mobile header+attachments stabilization ===== */


/* ===== v11.6b mobile attachments icon alignment + issue nav row ===== */
@media (max-width: 899px) {
  /* Issue show: prev/position/next row alignment */
  body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual {
    float: none !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 4px 0 10px !important;
    clear: both !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual > a,
  body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual > span.position {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    border: 1px solid var(--nt-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    padding: 4px 10px !important;
    line-height: 1.2 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual > span.position {
    margin: 0 auto !important;
    font-weight: 600 !important;
    color: #374151 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual > a + text,
  body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual > span + text {
    display: none !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .issue.details .subject {
    clear: both !important;
    margin-top: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .issue.details .subject h3 {
    margin: 0 0 6px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  /* Attachments: clip/download/delete icon alignment */
  body.theme-Neutral.controller-issues.action-show #content .attachments tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 6px 8px !important;
    border-bottom: 1px solid var(--nt-line) !important;
    padding: 8px 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td {
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:first-child {
    order: 1;
    flex: 1 1 calc(100% - 44px);
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px 6px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(2) {
    display: none !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(4) {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    display: flex !important;
    align-items: center !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) {
    order: 3;
    flex: 1 1 100%;
    margin-left: 22px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:first-child > .size {
    flex-basis: 100%;
    margin: 1px 0 0 22px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments a.icon-only,
  body.theme-Neutral.controller-issues.action-show #content .attachments a.delete.icon-only {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:first-child > a.icon-only.icon-download {
    order: 2;
    margin-left: 4px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:first-child > a.icon-attachment {
    order: 1;
  }
}
/* ===== /v11.6b mobile attachments icon alignment + issue nav row ===== */


/* ===== v11.6c mobile attachments row-grid + header ghost cleanup ===== */
@media (max-width: 899px) {
  /* Header ghost/overlap cleanup on issues#show */
  body.theme-Neutral.controller-issues.action-show #main-menu {
    display: none !important;
  }
  body.theme-Neutral.controller-issues.action-show #header {
    min-height: 56px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger {
    opacity: 1 !important;
    color: #374151 !important;
    background: #ffffff !important;
    border: 1px solid var(--nt-line) !important;
    border-radius: 8px !important;
    padding: 7px 34px 7px 12px !important;
    min-height: 34px !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger::before {
    display: none !important;
  }
  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button {
    top: 10px !important;
    right: 8px !important;
  }

  /* Attachments row: icon baseline alignment */
  body.theme-Neutral.controller-issues.action-show #content .attachments tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "file del"
      "meta del" !important;
    gap: 4px 8px !important;
    align-items: start !important;
    border-bottom: 1px solid var(--nt-line) !important;
    padding: 8px 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) {
    grid-area: file;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px 6px !important;
    padding: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(2) {
    display: none !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) {
    grid-area: meta;
    margin-left: 22px !important;
    padding: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(4) {
    grid-area: del;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > a.icon-attachment,
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > a.icon-only.icon-download,
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(4) > a.delete.icon-only {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > a.icon-attachment {
    width: auto !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > .size {
    flex-basis: 100% !important;
    margin: 0 0 0 22px !important;
  }
}
/* ===== /v11.6c mobile attachments row-grid + header ghost cleanup ===== */


/* ===== v11.6d mobile project-jump arrow/name + hamburger right lock + attachment meta tidy ===== */
@media (max-width: 899px) {
  /* Project jump: remove LEFT icon/arrow and keep label readable */
  body.theme-Neutral #header #project-jump .drdn-trigger {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
    text-shadow: none !important;
    background: #ffffff !important;
    border: 1px solid var(--nt-line) !important;
    border-radius: 8px !important;
    padding: 7px 36px 7px 12px !important;
    min-height: 34px !important;
    line-height: 1.25 !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger::after {
    right: 12px !important;
    left: auto !important;
    opacity: .8 !important;
  }

  /* Hamburger: force RIGHT side and prevent fallback-to-left */
  body.theme-Neutral #header {
    position: relative !important;
    padding-right: 48px !important;
  }
  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button {
    position: absolute !important;
    top: 10px !important;
    right: 8px !important;
    left: auto !important;
    margin-left: 0 !important;
    transform: none !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    z-index: 1310 !important;
  }

  /* Attachments metadata tidy */
  body.theme-Neutral.controller-issues.action-show #content .attachments tr {
    grid-template-columns: minmax(0, 1fr) 32px !important;
    grid-template-areas:
      "file del"
      "meta del" !important;
    column-gap: 10px !important;
    row-gap: 3px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) {
    gap: 4px 8px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > a.icon-attachment .icon-label {
    display: inline !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) {
    margin-left: 22px !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) .author {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(4) > a.delete.icon-only {
    margin-top: 1px !important;
  }
}
/* ===== /v11.6d mobile project-jump arrow/name + hamburger right lock + attachment meta tidy ===== */


/* ===== v11.7 device hardening lock (phone+tablet) ===== */
/* Phone: iPhone/Galaxy class */
@media (max-width: 899px) {
  body.theme-Neutral #header {
    overflow: visible !important;
    position: relative !important;
    padding-right: 52px !important;
  }

  /* project-jump visibility lock */
  body.theme-Neutral #header #project-jump .drdn-trigger {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
    text-shadow: none !important;
    background: #fff !important;
    border: 1px solid var(--nt-line) !important;
    border-radius: 8px !important;
    padding: 7px 36px 7px 12px !important;
    min-height: 34px !important;
    line-height: 1.25 !important;
    opacity: 1 !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger::before {
    content: none !important;
    display: none !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger::after {
    left: auto !important;
    right: 12px !important;
  }

  /* hamburger right-lock */
  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button {
    position: absolute !important;
    top: 10px !important;
    right: 8px !important;
    left: auto !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1320 !important;
  }

  /* issue show header overlap guard */
  body.theme-Neutral.controller-issues.action-show #main-menu,
  body.theme-Neutral.controller-issues.action-show #header h1 {
    display: none !important;
  }

  /* attachments lock: file/meta/delete alignment */
  body.theme-Neutral.controller-issues.action-show #content .attachments tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px !important;
    grid-template-areas: "file del" "meta del" !important;
    column-gap: 10px !important;
    row-gap: 3px !important;
    align-items: start !important;
    border-bottom: 1px solid var(--nt-line) !important;
    padding: 8px 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) {
    grid-area: file;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 28px !important;
    grid-template-areas: "fname dl" "size dl" !important;
    align-items: center !important;
    gap: 3px 8px !important;
    min-width: 0;
    padding: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > a.icon-attachment {
    grid-area: fname;
    min-width: 0;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > a.icon-attachment .icon-label {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > .size {
    grid-area: size;
    margin: 0 0 0 22px !important;
    color: #6b7280 !important;
    font-size: 12px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(1) > a.icon-only.icon-download {
    grid-area: dl;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(2) {
    display: none !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) {
    grid-area: meta;
    margin-left: 22px !important;
    padding: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) .author {
    display: block !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(4) {
    grid-area: del;
    display: flex !important;
    justify-content: center !important;
    align-items: start !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments a.icon-only {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Tablet: iPad class */
@media (min-width: 900px) and (max-width: 1199px) {
  body.theme-Neutral #header {
    overflow: visible !important;
    position: relative !important;
    padding-right: 56px !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
    text-shadow: none !important;
    padding-right: 38px !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger::before {
    content: none !important;
    display: none !important;
  }
  body.theme-Neutral #header #project-jump .drdn-trigger::after {
    left: auto !important;
    right: 14px !important;
  }
  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 1320 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    float: none !important;
    clear: both !important;
  }
}
/* ===== /v11.7 device hardening lock (phone+tablet) ===== */


/* ===== v11.8 mobile flash-menu guard + flyout notion tone + issue header/avatar align ===== */
@media (max-width: 899px) {
  /* 1) refresh flash guard: hide root top/main menus, keep flyout menu only */
  body.theme-Neutral > #top-menu,
  body.theme-Neutral > #main-menu {
    display: none !important;
    visibility: hidden !important;
  }

  /* 2) flyout tone (remove default blue look) */
  body.theme-Neutral #wrapper .flyout-menu {
    background: #f6f7f9 !important;
    color: #374151 !important;
    border-left: 1px solid #d7dce3 !important;
    box-shadow: -8px 0 24px rgba(15, 23, 42, 0.10) !important;
  }
  body.theme-Neutral #wrapper .flyout-menu h3,
  body.theme-Neutral #wrapper .flyout-menu .js-project-menu > a,
  body.theme-Neutral #wrapper .flyout-menu .js-general-menu > a,
  body.theme-Neutral #wrapper .flyout-menu .js-profile-menu > a,
  body.theme-Neutral #wrapper .flyout-menu a {
    color: #374151 !important;
  }
  body.theme-Neutral #wrapper .flyout-menu a:hover,
  body.theme-Neutral #wrapper .flyout-menu a:focus {
    background: #eceff3 !important;
    color: #111827 !important;
  }
  body.theme-Neutral #wrapper .flyout-menu .selected,
  body.theme-Neutral #wrapper .flyout-menu .active,
  body.theme-Neutral #wrapper .flyout-menu a.selected {
    background: #e3e8ef !important;
    color: #111827 !important;
    border-radius: 8px !important;
  }
  body.theme-Neutral #wrapper .flyout-menu .icon,
  body.theme-Neutral #wrapper .flyout-menu .icon-svg {
    color: #6b7280 !important;
    fill: #6b7280 !important;
  }

  /* 3) issue header avatar + subject should stay on one heading line block */
  body.theme-Neutral.controller-issues.action-show #content .issue.details > .avatar-with-child {
    float: left !important;
    margin: 2px 10px 6px 0 !important;
    width: 50px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .issue.details > [data-controller="sticky-issue-header"] {
    margin-left: 60px !important;
    min-height: 52px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .issue.details > [data-controller="sticky-issue-header"] .subject h3 {
    margin-top: 2px !important;
  }

  /* 4) attachments info tighter alignment */
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) {
    margin-left: 22px !important;
    padding-top: 1px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content .attachments td:nth-child(3) .author {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  body.theme-Neutral > #top-menu,
  body.theme-Neutral > #main-menu {
    display: none !important;
    visibility: hidden !important;
  }

  body.theme-Neutral #wrapper .flyout-menu {
    background: #f6f7f9 !important;
    color: #374151 !important;
    border-left: 1px solid #d7dce3 !important;
  }
  body.theme-Neutral #wrapper .flyout-menu a:hover,
  body.theme-Neutral #wrapper .flyout-menu a:focus {
    background: #eceff3 !important;
    color: #111827 !important;
  }
}
/* ===== /v11.8 mobile flash-menu guard + flyout notion tone + issue header/avatar align ===== */


/* ===== v11.9 iphone16 hamburger polish + portrait nav-hide / landscape show ===== */
/* iPhone/Galaxy portrait */
@media (max-width: 899px) and (orientation: portrait) {
  /* hamburger fine tuning (iPhone 16 visual) */
  body.theme-Neutral #header {
    padding-right: 56px !important;
  }
  body.theme-Neutral #header #project-jump {
    max-width: calc(100% - 58px) !important;
  }
  body.theme-Neutral #header .mobile-toggle-button,
  body.theme-Neutral #header .js-flyout-menu-toggle-button {
    top: 8px !important;
    right: 10px !important;
    left: auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    border: 1px solid #d4dae2 !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(15,23,42,.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.theme-Neutral #header .mobile-toggle-button .icon-svg,
  body.theme-Neutral #header .js-flyout-menu-toggle-button .icon-svg {
    width: 18px !important;
    height: 18px !important;
    color: #334155 !important;
    fill: #334155 !important;
  }

  /* hide previous/position/next only in portrait */
  body.theme-Neutral.controller-issues.action-show #content .issue.details > .next-prev-links.contextual {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
}

/* mobile landscape: show back/65-239/next */
@media (max-width: 899px) and (orientation: landscape) {
  body.theme-Neutral.controller-issues.action-show #content .issue.details > .next-prev-links.contextual {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    float: none !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 4px 0 10px !important;
  }
}
/* ===== /v11.9 iphone16 hamburger polish + portrait nav-hide / landscape show ===== */


/* ===== v12 batch-lock: section3+4-1+4-2 closeout and QA guard ===== */
/* 4-1 line menu: custom_fields low-saturation and clear active */
body.theme-Neutral.controller-custom_fields .tabs {
  background: #f6f5f2 !important;
  border: 1px solid #e7e4de !important;
  border-radius: 10px !important;
  padding: 4px !important;
  box-shadow: none !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul li a {
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #6b6a67 !important;
  font-weight: 500 !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul li a:hover,
body.theme-Neutral.controller-custom_fields .tabs ul li a:focus {
  background: #efede8 !important;
  color: #2f3437 !important;
}
body.theme-Neutral.controller-custom_fields .tabs ul li a.selected,
body.theme-Neutral.controller-custom_fields .tabs ul li a.active {
  background: #ffffff !important;
  color: #0f7b6c !important;
  border-color: #d8d4cc !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

/* 6) hover readability lock on custom_fields table actions */
body.theme-Neutral.controller-custom_fields table.list tr:hover > td {
  background: #f5f4f1 !important;
}
body.theme-Neutral.controller-custom_fields table.list td a {
  color: #4b5563 !important;
  font-weight: 500 !important;
}
body.theme-Neutral.controller-custom_fields table.list td a:hover,
body.theme-Neutral.controller-custom_fields table.list td a:focus {
  color: #1f2937 !important;
  text-decoration: underline !important;
}

/* 4-2 projects action row: 34px, one icon layer, baseline alignment */
@media (min-width: 900px) {
  body.theme-Neutral.controller-projects.action-index #content .contextual {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-add,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-add,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-settings,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-settings {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    background-image: none !important;
  }
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-add,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-add,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue {
    background: #0f7b6c !important;
    border: 1px solid #0f7b6c !important;
    color: #fff !important;
  }
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-settings,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-settings {
    background: #fff !important;
    border: 1px solid #d8d4cc !important;
    color: #374151 !important;
  }

  /* hide duplicate icon layers, keep only ::before text plus */
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-add .icon,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-add .icon,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue .icon,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-add [class*="icon-"] {
    display: none !important;
  }
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-add::before,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-add::before,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue::before {
    content: '+' !important;
    display: inline-block !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-right: 6px !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
  }
}

/* section-3 capture gap guard: issue show action/title baseline */
@media (max-width: 899px) {
  body.theme-Neutral.controller-issues.action-show #content .issue.details > .next-prev-links.contextual,
  body.theme-Neutral.controller-issues.action-show #content > .contextual {
    align-items: center !important;
  }
}

/* Step-3 QA guard (android chrome same viewport family) */
@media (max-width: 899px) {
  body.theme-Neutral.controller-issues.action-show #content {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}
/* ===== /v12 batch-lock: section3+4-1+4-2 closeout and QA guard ===== */


/* ===== v12b issue-show header cohesion lock (section3 close) ===== */
/* make issue show top zone read as one coherent block */
body.theme-Neutral.controller-issues.action-show #content > h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
}
body.theme-Neutral.controller-issues.action-show #content > .contextual {
  float: none !important;
  clear: both !important;
  position: static !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 10px !important;
}

body.theme-Neutral.controller-issues.action-show #content .issue.details {
  position: relative;
}
body.theme-Neutral.controller-issues.action-show #content .issue.details > .next-prev-links.contextual {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
}

/* avatar + subject baseline tighten */
body.theme-Neutral.controller-issues.action-show #content .issue.details > .avatar-with-child {
  float: left !important;
  width: 50px !important;
  margin: 2px 10px 4px 0 !important;
}
body.theme-Neutral.controller-issues.action-show #content .issue.details > [data-controller="sticky-issue-header"] {
  margin-left: 0 !important;
  min-height: 52px !important;
}
body.theme-Neutral.controller-issues.action-show #content .issue.details > [data-controller="sticky-issue-header"] .subject {
  clear: none !important;
  margin: 0 !important;
}
body.theme-Neutral.controller-issues.action-show #content .issue.details > [data-controller="sticky-issue-header"] .subject h3 {
  margin: 0 0 4px !important;
  line-height: 1.35 !important;
}

/* keep portrait rule from v11.9 (nav hide) stronger */
@media (max-width: 899px) and (orientation: portrait) {
  body.theme-Neutral.controller-issues.action-show #content .issue.details > .next-prev-links.contextual {
    display: none !important;
  }
}
/* ===== /v12b issue-show header cohesion lock (section3 close) ===== */


/* ===== v12c mobile history-tab/action-row/readability lock (screenshot fix) ===== */
@media (max-width: 899px) and (orientation: portrait) {
  /* A) action row alignment under issue title area */
  body.theme-Neutral.controller-issues.action-show #content > .contextual {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 2px !important;
  }
  body.theme-Neutral.controller-issues.action-show #content > .contextual a {
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 9px !important;
    border: 1px solid #d9dee6 !important;
    background: #fff !important;
    color: #334155 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
  }

  /* B) history tabs segmented style */
  body.theme-Neutral.controller-issues.action-show #history .tabs {
    background: #f3f4f6 !important;
    border: 1px solid #dbe1e8 !important;
    border-radius: 10px !important;
    padding: 4px !important;
    margin: 8px 0 10px !important;
  }
  body.theme-Neutral.controller-issues.action-show #history .tabs ul {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  body.theme-Neutral.controller-issues.action-show #history .tabs ul li {
    margin: 0 !important;
  }
  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    color: #64748b !important;
    background: transparent !important;
    font-weight: 600 !important;
  }
  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-color: #d5dbe3 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.95) inset !important;
  }

  /* C) history card readability */
  body.theme-Neutral.controller-issues.action-show #history .journal {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
  }
  body.theme-Neutral.controller-issues.action-show #history .journal h4,
  body.theme-Neutral.controller-issues.action-show #history .journal .details,
  body.theme-Neutral.controller-issues.action-show #history .journal .details * {
    color: #374151 !important;
  }
  body.theme-Neutral.controller-issues.action-show #history .journal .wiki,
  body.theme-Neutral.controller-issues.action-show #history .journal .wiki * {
    color: #374151 !important;
    line-height: 1.45 !important;
  }
}
/* ===== /v12c mobile history-tab/action-row/readability lock (screenshot fix) ===== */


/* === v12d mobile issue-show tab-clarity and vertical-rhythm lock === */
@media screen and (max-width: 899px) {
  body.theme-neutral.controller-issues.action-show #content > .contextual {
    margin-bottom: 14px !important;
    gap: 8px !important;
  }

  body.theme-neutral.controller-issues.action-show #history .tabs {
    display: block !important;
    margin: 6px 0 12px !important;
    padding: 4px !important;
    background: #f6f5f3 !important;
    border: 1px solid #e5e3df !important;
    border-radius: 10px !important;
  }

  body.theme-neutral.controller-issues.action-show #history .tabs ul {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.theme-neutral.controller-issues.action-show #history .tabs ul li {
    margin: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.theme-neutral.controller-issues.action-show #history .tabs ul li a {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: #f6f5f3 !important;
    color: #5f5d58 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.theme-neutral.controller-issues.action-show #history .tabs ul li a.selected {
    background: #ffffff !important;
    color: #2f3437 !important;
    border-color: #d7d3cd !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06) !important;
  }

  body.theme-neutral.controller-issues.action-show #history .journal,
  body.theme-neutral.controller-issues.action-show #history .journal.has-notes,
  body.theme-neutral.controller-issues.action-show #history .journal + .journal {
    margin-top: 10px !important;
  }
}


/* === v12e mobile-only issue tabs/action spacing hard-lock (desktop parity tuned) === */
@media screen and (max-width: 899px) {
  /* IMPORTANT: issues#show only, mobile only */
  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 0 12px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual > *,
  body.theme-neutral.controller-issues.action-show #content > .contextual > * {
    flex: 0 0 auto !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a,
  body.theme-neutral.controller-issues.action-show #content > .contextual a {
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid #d7dee8 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #334155 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon::before,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon::before {
    display: inline-block !important;
    margin: 0 6px 0 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
    transform: translateY(0) !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs,
  body.theme-Neutral.controller-issues.action-show #history-tabs,
  body.theme-Neutral.controller-issues.action-show #content .tabs,
  body.theme-neutral.controller-issues.action-show #history .tabs,
  body.theme-neutral.controller-issues.action-show #history-tabs,
  body.theme-neutral.controller-issues.action-show #content .tabs {
    margin: 6px 0 12px !important;
    padding: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e1e8f2 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul,
  body.theme-neutral.controller-issues.action-show #history .tabs ul,
  body.theme-neutral.controller-issues.action-show #history-tabs ul,
  body.theme-neutral.controller-issues.action-show #content .tabs ul {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs li,
  body.theme-Neutral.controller-issues.action-show #history-tabs li,
  body.theme-Neutral.controller-issues.action-show #content .tabs li,
  body.theme-neutral.controller-issues.action-show #history .tabs li,
  body.theme-neutral.controller-issues.action-show #history-tabs li,
  body.theme-neutral.controller-issues.action-show #content .tabs li {
    flex: 1 1 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li a,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li a,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li a,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li a {
    display: inline-flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    background: #f4f7fc !important;
    color: #5a6779 !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li a.selected,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li a.selected,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li a.selected {
    background: #ffffff !important;
    color: #2b3a4f !important;
    border-color: #c7d7ec !important;
    box-shadow: inset 0 -2px 0 rgba(53, 94, 149, .28) !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .journal,
  body.theme-neutral.controller-issues.action-show #history .journal {
    margin-top: 10px !important;
  }
}

/* ===== v13.0 desktop issue-show tabs/contextual hard-lock (duplicate/priority cleanup override) ===== */
@media screen and (min-width: 900px) {
  /* Scope lock: issue detail page only (desktop) */
  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual {
    float: none !important;
    clear: both !important;
    position: static !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 12px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a,
  body.theme-neutral.controller-issues.action-show #content > .contextual a {
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid #d7dee8 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #334155 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon::before,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon::before {
    display: inline-block !important;
    margin: 0 6px 0 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
    transform: translateY(0) !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .tabs,
  body.theme-Neutral.controller-issues.action-show #history .tabs,
  body.theme-Neutral.controller-issues.action-show #history-tabs,
  body.theme-neutral.controller-issues.action-show #content .tabs,
  body.theme-neutral.controller-issues.action-show #history .tabs,
  body.theme-neutral.controller-issues.action-show #history-tabs {
    background: #f8fafc !important;
    border: 1px solid #e1e8f2 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 8px !important;
    margin: 6px 0 12px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .tabs ul,
  body.theme-Neutral.controller-issues.action-show #history .tabs ul,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul,
  body.theme-neutral.controller-issues.action-show #content .tabs ul,
  body.theme-neutral.controller-issues.action-show #history .tabs ul,
  body.theme-neutral.controller-issues.action-show #history-tabs ul {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .tabs li,
  body.theme-Neutral.controller-issues.action-show #history .tabs li,
  body.theme-Neutral.controller-issues.action-show #history-tabs li,
  body.theme-neutral.controller-issues.action-show #content .tabs li,
  body.theme-neutral.controller-issues.action-show #history .tabs li,
  body.theme-neutral.controller-issues.action-show #history-tabs li {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li a,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li a,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li a,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    background: #f4f7fc !important;
    color: #5a6779 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .tabs ul li a:hover,
  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a:hover,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li a:hover,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li a:hover,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li a:hover,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li a:hover {
    background: #edf3fb !important;
    border-color: #d6e2f2 !important;
    color: #3f5169 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li a.selected,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li a.selected,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li a.selected {
    background: #ffffff !important;
    border-color: #c7d7ec !important;
    color: #2b3a4f !important;
    box-shadow: inset 0 -2px 0 rgba(53, 94, 149, .28) !important;
  }
}
/* ===== /v13.0 desktop issue-show tabs/contextual hard-lock ===== */

/* ===== v13.1 desktop action-button vertical-center hard-fix (issues#show) ===== */
@media screen and (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content .contextual a,
  body.theme-neutral.controller-issues.action-show #content .contextual a {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .contextual a.icon,
  body.theme-neutral.controller-issues.action-show #content .contextual a.icon {
    padding-left: 28px !important;
    background-position: 8px 50% !important;
    background-size: 14px 14px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content .contextual a.icon::before,
  body.theme-neutral.controller-issues.action-show #content .contextual a.icon::before {
    line-height: 1 !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    top: 0 !important;
    transform: none !important;
  }
}
/* ===== /v13.1 desktop action-button vertical-center hard-fix ===== */

/* ===== v13.2 desktop issue-show top-action optical-center lock (real DOM fallback) ===== */
@media screen and (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content > .contextual a,
  body.theme-neutral.controller-issues.action-show #content > .contextual a,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual a,
  body.theme-neutral.controller-issues.action-show .issue > .contextual a,
  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger {
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show .issue > .contextual a.icon {
    padding-left: 30px !important;
    background-position: 8px center !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a > *,
  body.theme-neutral.controller-issues.action-show #content > .contextual a > *,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual a > *,
  body.theme-neutral.controller-issues.action-show .issue > .contextual a > * {
    position: relative !important;
    top: -0.5px !important;
  }
}
/* ===== /v13.2 desktop issue-show top-action optical-center lock ===== */

/* ===== v13.3 root-cause override: issue-show top action row force-center (all viewports) ===== */
body.theme-Neutral.controller-issues.action-show #content > .contextual,
body.theme-neutral.controller-issues.action-show #content > .contextual,
body.theme-Neutral.controller-issues.action-show .issue > .contextual,
body.theme-neutral.controller-issues.action-show .issue > .contextual {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

body.theme-Neutral.controller-issues.action-show #content > .contextual > a,
body.theme-neutral.controller-issues.action-show #content > .contextual > a,
body.theme-Neutral.controller-issues.action-show .issue > .contextual > a,
body.theme-neutral.controller-issues.action-show .issue > .contextual > a,
body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  position: relative !important;
  top: -1px !important;
}

body.theme-Neutral.controller-issues.action-show #content > .contextual > a.icon,
body.theme-neutral.controller-issues.action-show #content > .contextual > a.icon,
body.theme-Neutral.controller-issues.action-show .issue > .contextual > a.icon,
body.theme-neutral.controller-issues.action-show .issue > .contextual > a.icon {
  padding-left: 30px !important;
  background-position: 8px center !important;
  background-size: 14px 14px !important;
}

body.theme-Neutral.controller-issues.action-show #content > .contextual > a.icon::before,
body.theme-neutral.controller-issues.action-show #content > .contextual > a.icon::before,
body.theme-Neutral.controller-issues.action-show .issue > .contextual > a.icon::before,
body.theme-neutral.controller-issues.action-show .issue > .contextual > a.icon::before {
  line-height: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  top: 0 !important;
  transform: none !important;
}
/* ===== /v13.3 root-cause override ===== */

/* ===== v13.4 issue-show 3-tab strict alignment lock (History/Notes/Property changes) ===== */
body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a,
body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
body.theme-neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-neutral.controller-issues.action-show #history-tabs ul li a,
body.theme-neutral.controller-issues.action-show #content .tabs ul li a {
  height: 36px !important;
  min-height: 36px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  line-height: 1 !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  vertical-align: middle !important;
}

body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
body.theme-neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-neutral.controller-issues.action-show #history-tabs ul li a.selected,
body.theme-neutral.controller-issues.action-show #content .tabs ul li a.selected {
  height: 36px !important;
  min-height: 36px !important;
  border: 1px solid #c7d7ec !important;
  box-shadow: inset 0 -2px 0 rgba(53, 94, 149, .28) !important;
}
/* ===== /v13.4 issue-show 3-tab strict alignment lock ===== */

/* ===== v13.5 root-cause fix: tabs ul absolute positioning 제거 ===== */
body.theme-Neutral.controller-issues.action-show #history .tabs,
body.theme-Neutral.controller-issues.action-show #history-tabs,
body.theme-Neutral.controller-issues.action-show #content .tabs,
body.theme-neutral.controller-issues.action-show #history .tabs,
body.theme-neutral.controller-issues.action-show #history-tabs,
body.theme-neutral.controller-issues.action-show #content .tabs {
  display: flex !important;
  align-items: center !important;
}

body.theme-Neutral.controller-issues.action-show #history .tabs ul,
body.theme-Neutral.controller-issues.action-show #history-tabs ul,
body.theme-Neutral.controller-issues.action-show #content .tabs ul,
body.theme-neutral.controller-issues.action-show #history .tabs ul,
body.theme-neutral.controller-issues.action-show #history-tabs ul,
body.theme-neutral.controller-issues.action-show #content .tabs ul {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
}
/* ===== /v13.5 root-cause fix ===== */

/* ===== v13.6 mobile optical centering lock (tab wrapper + inner baseline) ===== */
@media screen and (max-width: 899px) {
  body.theme-Neutral.controller-issues.action-show #history .tabs,
  body.theme-Neutral.controller-issues.action-show #history-tabs,
  body.theme-Neutral.controller-issues.action-show #content .tabs,
  body.theme-neutral.controller-issues.action-show #history .tabs,
  body.theme-neutral.controller-issues.action-show #history-tabs,
  body.theme-neutral.controller-issues.action-show #content .tabs {
    min-height: 40px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    overflow: visible !important;
    align-items: center !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul,
  body.theme-neutral.controller-issues.action-show #history .tabs ul,
  body.theme-neutral.controller-issues.action-show #history-tabs ul,
  body.theme-neutral.controller-issues.action-show #content .tabs ul {
    border-bottom: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul li,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul li,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li {
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
  }
}
/* ===== /v13.6 mobile optical centering lock ===== */

/* ===== v13.7 mobile tab clipping fix (disable tabs-buttons overlay + width lock) ===== */
@media screen and (max-width: 899px) {
  body.theme-Neutral.controller-issues.action-show #history .tabs .tabs-buttons,
  body.theme-Neutral.controller-issues.action-show #history-tabs .tabs-buttons,
  body.theme-Neutral.controller-issues.action-show #content .tabs .tabs-buttons,
  body.theme-neutral.controller-issues.action-show #history .tabs .tabs-buttons,
  body.theme-neutral.controller-issues.action-show #history-tabs .tabs-buttons,
  body.theme-neutral.controller-issues.action-show #content .tabs .tabs-buttons {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul,
  body.theme-neutral.controller-issues.action-show #history .tabs ul,
  body.theme-neutral.controller-issues.action-show #history-tabs ul,
  body.theme-neutral.controller-issues.action-show #content .tabs ul {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul li,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul li,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
  body.theme-Neutral.controller-issues.action-show #history-tabs ul li a,
  body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
  body.theme-neutral.controller-issues.action-show #history .tabs ul li a,
  body.theme-neutral.controller-issues.action-show #history-tabs ul li a,
  body.theme-neutral.controller-issues.action-show #content .tabs ul li a {
    width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }
}
/* ===== /v13.7 mobile tab clipping fix ===== */

/* ===== v13.8/v13.9 unified 3-tab concept lock (desktop+mobile same tone, left-aligned) ===== */
body.theme-Neutral.controller-issues.action-show #history .tabs,
body.theme-Neutral.controller-issues.action-show #history-tabs,
body.theme-Neutral.controller-issues.action-show #content .tabs,
body.theme-neutral.controller-issues.action-show #history .tabs,
body.theme-neutral.controller-issues.action-show #history-tabs,
body.theme-neutral.controller-issues.action-show #content .tabs {
  background: #f6f5f2 !important;
  border: 1px solid #e2e0dc !important;
  border-radius: 10px !important;
  padding: 4px !important;
  margin: 6px 0 12px !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

body.theme-Neutral.controller-issues.action-show #history .tabs .tabs-buttons,
body.theme-Neutral.controller-issues.action-show #history-tabs .tabs-buttons,
body.theme-Neutral.controller-issues.action-show #content .tabs .tabs-buttons,
body.theme-neutral.controller-issues.action-show #history .tabs .tabs-buttons,
body.theme-neutral.controller-issues.action-show #history-tabs .tabs-buttons,
body.theme-neutral.controller-issues.action-show #content .tabs .tabs-buttons {
  display: none !important;
}

body.theme-Neutral.controller-issues.action-show #history .tabs ul,
body.theme-Neutral.controller-issues.action-show #history-tabs ul,
body.theme-Neutral.controller-issues.action-show #content .tabs ul,
body.theme-neutral.controller-issues.action-show #history .tabs ul,
body.theme-neutral.controller-issues.action-show #history-tabs ul,
body.theme-neutral.controller-issues.action-show #content .tabs ul {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

body.theme-Neutral.controller-issues.action-show #history .tabs ul li,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li,
body.theme-Neutral.controller-issues.action-show #content .tabs ul li,
body.theme-neutral.controller-issues.action-show #history .tabs ul li,
body.theme-neutral.controller-issues.action-show #history-tabs ul li,
body.theme-neutral.controller-issues.action-show #content .tabs ul li {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

body.theme-Neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a,
body.theme-Neutral.controller-issues.action-show #content .tabs ul li a,
body.theme-neutral.controller-issues.action-show #history .tabs ul li a,
body.theme-neutral.controller-issues.action-show #history-tabs ul li a,
body.theme-neutral.controller-issues.action-show #content .tabs ul li a {
  width: auto !important;
  min-width: 92px !important;
  height: 34px !important;
  min-height: 34px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: #f6f5f2 !important;
  color: #666662 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  vertical-align: middle !important;
}

body.theme-Neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #history-tabs ul li a.selected,
body.theme-Neutral.controller-issues.action-show #content .tabs ul li a.selected,
body.theme-neutral.controller-issues.action-show #history .tabs ul li a.selected,
body.theme-neutral.controller-issues.action-show #history-tabs ul li a.selected,
body.theme-neutral.controller-issues.action-show #content .tabs ul li a.selected {
  height: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  color: #0f7b6c !important;
  border-color: #d7d4ce !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset !important;
  font-weight: 600 !important;
}
/* ===== /v13.8 unified 3-tab concept lock ===== */

/* ===== v14.0 issue-show navigation row hide (뒤로 / n/N / 다음 숨김) ===== */
body.theme-Neutral.controller-issues.action-show #content .issue.details > .next-prev-links.contextual,
body.theme-neutral.controller-issues.action-show #content .issue.details > .next-prev-links.contextual,
body.theme-Neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual,
body.theme-neutral.controller-issues.action-show #content .issue.details .next-prev-links.contextual,
body.theme-Neutral.controller-issues.action-show #content .next-prev-links,
body.theme-neutral.controller-issues.action-show #content .next-prev-links,
body.theme-Neutral.controller-issues.action-show [data-controller="sticky-issue-header"] .next-prev-links,
body.theme-neutral.controller-issues.action-show [data-controller="sticky-issue-header"] .next-prev-links {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ===== /v14.0 issue-show navigation row hide ===== */

/* ===== v14.1 issue-show action-row stabilization (desktop+mobile 동일) ===== */
body.theme-Neutral.controller-issues.action-show #content > .contextual,
body.theme-neutral.controller-issues.action-show #content > .contextual,
body.theme-Neutral.controller-issues.action-show .issue > .contextual,
body.theme-neutral.controller-issues.action-show .issue > .contextual {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

body.theme-Neutral.controller-issues.action-show #content > .contextual > *,
body.theme-neutral.controller-issues.action-show #content > .contextual > *,
body.theme-Neutral.controller-issues.action-show .issue > .contextual > *,
body.theme-neutral.controller-issues.action-show .issue > .contextual > * {
  flex: 0 0 auto !important;
}

body.theme-Neutral.controller-issues.action-show #content > .contextual a,
body.theme-neutral.controller-issues.action-show #content > .contextual a,
body.theme-Neutral.controller-issues.action-show .issue > .contextual a,
body.theme-neutral.controller-issues.action-show .issue > .contextual a {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}
/* ===== /v14.1 issue-show action-row stabilization ===== */

/* ===== v14.2 contextual optical-centering + drdn size normalization ===== */
body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn,
body.theme-neutral.controller-issues.action-show #content > .contextual .drdn,
body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn,
body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn {
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn-trigger,
body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  min-height: 34px !important;
  min-width: 34px !important;
  padding: 0 12px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #334155 !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon,
body.theme-neutral.controller-issues.action-show #content > .contextual a.icon,
body.theme-Neutral.controller-issues.action-show .issue > .contextual a.icon,
body.theme-neutral.controller-issues.action-show .issue > .contextual a.icon {
  padding-left: 30px !important;
  padding-right: 30px !important;
  background-position: 10px center !important;
  background-size: 14px 14px !important;
  line-height: 1 !important;
}
/* ===== /v14.2 contextual optical-centering + drdn size normalization ===== */

/* ===== v14.3 issue title left-accent overlap fix (PC+mobile) ===== */
body.theme-Neutral.controller-issues.action-show #content > h2,
body.theme-neutral.controller-issues.action-show #content > h2 {
  position: relative !important;
  padding-left: 14px !important;
  line-height: 1.35 !important;
}

body.theme-Neutral.controller-issues.action-show #content > h2::before,
body.theme-neutral.controller-issues.action-show #content > h2::before {
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 1.05em !important;
  border-radius: 2px !important;
}
/* ===== /v14.3 issue title left-accent overlap fix ===== */

/* ===== v14.4 issue action-row alignment policy (PC right / mobile left) ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual,
  body.theme-neutral.controller-issues.action-show .issue > .contextual {
    justify-content: flex-end !important;
  }
}

@media (max-width: 899px) {
  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual,
  body.theme-neutral.controller-issues.action-show .issue > .contextual {
    justify-content: flex-start !important;
  }
}
/* ===== /v14.4 issue action-row alignment policy ===== */

/* ===== v14.5 desktop issue action buttons icon-only + top clipping fix ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual,
  body.theme-neutral.controller-issues.action-show .issue > .contextual {
    overflow: visible !important;
    align-items: center !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show .issue > .contextual a.icon {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    background-position: center center !important;
    background-size: 14px 14px !important;
    text-indent: -9999px !important;
    font-size: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn-trigger,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn-trigger {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 1 !important;
    overflow: hidden !important;
    position: relative !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger::before,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger::before,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn-trigger::before,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn-trigger::before {
    content: '⋯' !important;
    display: inline-block !important;
    color: #334155 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
  }
}
/* ===== /v14.5 desktop issue action buttons icon-only + top clipping fix ===== */

/* ===== v14.6/v14.7 hide duplicated bottom issue action row (keep first/top only) ===== */
body.theme-Neutral.controller-issues.action-show #content > .journals ~ div.contextual,
body.theme-neutral.controller-issues.action-show #content > .journals ~ div.contextual,
body.theme-Neutral.controller-issues.action-show #content > div.contextual:not(:first-of-type),
body.theme-neutral.controller-issues.action-show #content > div.contextual:not(:first-of-type) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* ===== /v14.6/v14.7 hide duplicated bottom issue action row ===== */

/* ===== v14.8 desktop issue action labels restore (icon+text) ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual,
  body.theme-neutral.controller-issues.action-show .issue > .contextual {
    overflow: visible !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show .issue > .contextual a.icon {
    width: auto !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px 0 30px !important;
    background-position: 10px center !important;
    background-size: 14px 14px !important;
    text-indent: 0 !important;
    font-size: 12.6px !important;
    color: #334155 !important;
    overflow: visible !important;
    line-height: 1 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn {
    width: auto !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn-trigger,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn-trigger {
    width: auto !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 12.6px !important;
    color: #334155 !important;
    line-height: 1 !important;
    overflow: visible !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger::before,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger::before,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn-trigger::before,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn-trigger::before {
    content: none !important;
  }
}
/* ===== /v14.8 desktop issue action labels restore (icon+text) ===== */

/* ===== v14.9 desktop dropdown menu restore (prevent action-row styles leaking into menu items) ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-content,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-content,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn-content,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn-content {
    padding: 4px 0 !important;
    min-width: 170px !important;
    height: auto !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-content a,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-content a,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual .drdn-content a,
  body.theme-neutral.controller-issues.action-show .issue > .contextual .drdn-content a {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 7px 12px 7px 30px !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-indent: 0 !important;
    font-size: 12.6px !important;
    color: #334155 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    background-position: 10px center !important;
    background-size: 14px 14px !important;
  }
}
/* ===== /v14.9 desktop dropdown menu restore ===== */

/* ===== v15.0 desktop: action-row same line as title + dropdown lower offset ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content,
  body.theme-neutral.controller-issues.action-show #content {
    position: relative !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > h2,
  body.theme-neutral.controller-issues.action-show #content > h2 {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 0 12px !important;
    padding-right: 0 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual {
    position: absolute !important;
    top: 20px !important;
    right: 0 !important;
    margin: 0 !important;
    z-index: 20 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-content,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-content {
    top: calc(100% + 6px) !important;
    right: 0 !important;
  }
}
/* ===== /v15.0 desktop: action-row same line as title + dropdown lower offset ===== */

/* ===== v15.1 desktop: status badge above issue number + ellipsis hard-right align ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"],
  body.theme-neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"] {
    position: absolute !important;
    top: -12px !important;
    left: 24px !important;
    right: auto !important;
    bottom: auto !important;
    height: auto !important;
    display: inline-flex !important;
    margin: 0 !important;
    z-index: 21 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual {
    right: -1px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn,
  body.theme-Neutral.controller-issues.action-show #content > .contextual .drdn-trigger,
  body.theme-neutral.controller-issues.action-show #content > .contextual .drdn-trigger {
    margin-right: 0 !important;
  }
}
/* ===== /v15.1 desktop: status badge above issue number + ellipsis hard-right align ===== */

/* ===== v15.2 desktop: title inline status text([상태]) + dots align to annotated line ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #content > h2,
  body.theme-neutral.controller-issues.action-show #content > h2 {
    display: inline-flex !important;
    vertical-align: middle !important;
    margin-right: 2px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"],
  body.theme-neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"] {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    vertical-align: middle !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 34px !important;
    letter-spacing: 0 !important;
    z-index: 1 !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"]::before,
  body.theme-neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"]::before {
    content: "[" !important;
    color: #64748b !important;
    margin-right: 1px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"]::after,
  body.theme-neutral.controller-issues.action-show #content > span.badge[class*="badge-status-"]::after {
    content: "]" !important;
    color: #64748b !important;
    margin-left: 1px !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual,
  body.theme-neutral.controller-issues.action-show #content > .contextual {
    right: 37px !important;
  }
}
/* ===== /v15.2 desktop: title inline status text([상태]) + dots align to annotated line ===== */

/* ===== v15.3 gantt readability tune: slightly larger text + more row breathing ===== */
body.theme-Neutral.controller-gantts.action-show .gantt_subjects div,
body.theme-neutral.controller-gantts.action-show .gantt_subjects div,
body.theme-Neutral.controller-gantts.action-show .gantt_selected_column_content div,
body.theme-neutral.controller-gantts.action-show .gantt_selected_column_content div {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
}

body.theme-Neutral.controller-gantts.action-show #gantt_area .task,
body.theme-neutral.controller-gantts.action-show #gantt_area .task {
  height: 10px !important;
  border-radius: 6px !important;
}
/* ===== /v15.3 gantt readability tune ===== */

/* ===== v15.4 gantt today line color: red ===== */
body.theme-Neutral.controller-gantts.action-show #today_line,
body.theme-neutral.controller-gantts.action-show #today_line {
  border-left: 2px solid #dc2626 !important;
}

body.theme-Neutral.controller-gantts.action-show #today_line::before,
body.theme-neutral.controller-gantts.action-show #today_line::before {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.12) !important;
  border: 1px solid rgba(220, 38, 38, 0.35) !important;
}
/* ===== /v15.4 gantt today line color: red ===== */

/* ===== v15.5 project settings: subtab radius tone + search/dropdown same width ===== */
body.theme-Neutral.controller-projects.action-settings #content .tabs,
body.theme-neutral.controller-projects.action-settings #content .tabs {
  border-radius: 10px !important;
  padding: 4px 6px !important;
  background: #f3f5f8 !important;
  border: 1px solid #d7dbe2 !important;
  box-shadow: none !important;
}

body.theme-Neutral.controller-projects.action-settings #content .tabs ul,
body.theme-neutral.controller-projects.action-settings #content .tabs ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
}

body.theme-Neutral.controller-projects.action-settings #content .tabs ul li a,
body.theme-neutral.controller-projects.action-settings #content .tabs ul li a {
  border-radius: 8px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #475569 !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
}

body.theme-Neutral.controller-projects.action-settings #content .tabs ul li a.selected,
body.theme-neutral.controller-projects.action-settings #content .tabs ul li a.selected {
  height: 34px !important;
  min-height: 34px !important;
  border-bottom-width: 1px !important;
  border-color: #d1d7df !important;
  background: #ffffff !important;
  color: #0f7b6c !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset !important;
}

body.theme-Neutral.controller-projects.action-settings #quick-search input[type="text"],
body.theme-neutral.controller-projects.action-settings #quick-search input[type="text"] {
  width: 240px !important;
  min-width: 240px !important;
  box-sizing: border-box !important;
}

body.theme-Neutral.controller-projects.action-settings #header #project-jump .drdn-trigger,
body.theme-neutral.controller-projects.action-settings #header #project-jump .drdn-trigger,
body.theme-Neutral.controller-projects.action-settings #header #project_quick_jump_box .drdn-trigger,
body.theme-neutral.controller-projects.action-settings #header #project_quick_jump_box .drdn-trigger {
  width: 240px !important;
  min-width: 240px !important;
  height: 34px !important;
  min-height: 34px !important;
  line-height: 34px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}
/* ===== /v15.5 project settings: subtab radius tone + search/dropdown same width ===== */

/* ===== v15.6 project settings: hover effect polish ===== */
body.theme-Neutral.controller-projects.action-settings #content .tabs ul li a:hover,
body.theme-neutral.controller-projects.action-settings #content .tabs ul li a:hover {
  background: #eef2f7 !important;
  border-color: #d7dee8 !important;
  color: #0f7b6c !important;
  transform: translateY(-1px) !important;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease !important;
}

body.theme-Neutral.controller-projects.action-settings #quick-search input[type="text"]:hover,
body.theme-neutral.controller-projects.action-settings #quick-search input[type="text"]:hover,
body.theme-Neutral.controller-projects.action-settings #header #project-jump .drdn-trigger:hover,
body.theme-neutral.controller-projects.action-settings #header #project-jump .drdn-trigger:hover,
body.theme-Neutral.controller-projects.action-settings #header #project_quick_jump_box .drdn-trigger:hover,
body.theme-neutral.controller-projects.action-settings #header #project_quick_jump_box .drdn-trigger:hover {
  border-color: #c8d2df !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 2px rgba(15,123,108,.08) !important;
  background: #ffffff !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
}
/* ===== /v15.6 project settings: hover effect polish ===== */

/* ===== v15.7 project settings final lock: no-jitter hover + unified controls ===== */
body.theme-Neutral.controller-projects.action-settings #content .tabs ul li a,
body.theme-neutral.controller-projects.action-settings #content .tabs ul li a,
body.theme-Neutral.controller-projects.action-settings #content .tabs ul li a:hover,
body.theme-neutral.controller-projects.action-settings #content .tabs ul li a:hover,
body.theme-Neutral.controller-projects.action-settings #content .tabs ul li a.selected,
body.theme-neutral.controller-projects.action-settings #content .tabs ul li a.selected {
  transform: none !important;
  height: 34px !important;
  min-height: 34px !important;
  box-sizing: border-box !important;
}

body.theme-Neutral.controller-projects.action-settings #quick-search input[type="text"],
body.theme-neutral.controller-projects.action-settings #quick-search input[type="text"],
body.theme-Neutral.controller-projects.action-settings #header #project-jump .drdn-trigger,
body.theme-neutral.controller-projects.action-settings #header #project-jump .drdn-trigger,
body.theme-Neutral.controller-projects.action-settings #header #project_quick_jump_box .drdn-trigger,
body.theme-neutral.controller-projects.action-settings #header #project_quick_jump_box .drdn-trigger {
  border-radius: 8px !important;
  border-color: #e2dfd7 !important;
}
/* ===== /v15.7 project settings final lock ===== */

/* ===== v15.8 issue header buttons: icon+text optical center alignment ===== */
@media (min-width: 900px) {
  body.theme-Neutral.controller-issues.action-show #header #main-menu > ul > li > a,
  body.theme-neutral.controller-issues.action-show #header #main-menu > ul > li > a,
  body.theme-Neutral.controller-issues.action-show #header #main-menu > ul > li > a.selected,
  body.theme-neutral.controller-issues.action-show #header #main-menu > ul > li > a.selected,
  body.theme-Neutral.controller-issues.action-show #main-menu li a,
  body.theme-neutral.controller-issues.action-show #main-menu li a {
    justify-content: center !important;
    padding: 6px 24px !important;
    background-position: calc(50% - 26px) 50% !important;
  }

  body.theme-Neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show #content > .contextual a.icon,
  body.theme-Neutral.controller-issues.action-show .issue > .contextual a.icon,
  body.theme-neutral.controller-issues.action-show .issue > .contextual a.icon {
    padding: 0 24px !important;
    background-position: calc(50% - 22px) 50% !important;
    justify-content: center !important;
  }
}
/* ===== /v15.8 issue header buttons: icon+text optical center alignment ===== */

/* ===== v15.9 select affordance restore (single-select ▼) =====
   목적: 이슈 생성/수정 폼 등 #content 영역의 단일 select에서
   "드롭다운임"을 직관적으로 보이게 우측 화살표를 복구한다.
   주의: multi-select/listbox([multiple], size>1)는 제외.
*/
body.theme-Neutral #content select:not([multiple]):not([size]),
body.theme-neutral #content select:not([multiple]):not([size]),
body.theme-Neutral #content select:not([multiple])[size="1"],
body.theme-neutral #content select:not([multiple])[size="1"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  padding-right: 34px !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 10px 6px !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%23667285%22%20d%3D%22M1%201l4%204%204-4%22/%3E%3C/svg%3E") !important;
}

body.theme-Neutral #content select:not([multiple]):not([size]):focus,
body.theme-neutral #content select:not([multiple]):not([size]):focus,
body.theme-Neutral #content select:not([multiple])[size="1"]:focus,
body.theme-neutral #content select:not([multiple])[size="1"]:focus {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%233b4a5e%22%20d%3D%22M1%201l4%204%204-4%22/%3E%3C/svg%3E") !important;
}

body.theme-Neutral #content select::-ms-expand,
body.theme-neutral #content select::-ms-expand {
  display: none;
}
/* ===== /v15.9 select affordance restore (single-select ▼) ===== */

/* === CHUNBAE HEADER SEARCH/JUMP ALIGN v4 2026-04-27 === */
@media (min-width: 900px) {

  body.theme-Neutral #header #quick-search,
  body.theme-neutral #header #quick-search {
    margin-right: 12px !important;
    transform: translateX(8px) !important;
  }
  body.theme-Neutral #header #quick-search,
  body.theme-neutral #header #quick-search,
  body.theme-Neutral #header #quick-search form,
  body.theme-neutral #header #quick-search form {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  body.theme-Neutral #header #quick-search label,
  body.theme-neutral #header #quick-search label {
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important;
    line-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.theme-Neutral #header #quick-search #q,
  body.theme-neutral #header #quick-search #q {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    line-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }

  body.theme-Neutral #header #project-jump .drdn-trigger,
  body.theme-neutral #header #project-jump .drdn-trigger,
  body.theme-Neutral #header #project_quick_jump_box .drdn-trigger,
  body.theme-neutral #header #project_quick_jump_box .drdn-trigger {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    line-height: 34px !important;
    padding: 0 34px 0 12px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  body.theme-Neutral #header #project-jump .drdn-trigger::after,
  body.theme-neutral #header #project-jump .drdn-trigger::after {
    right: 12px !important;
    top: 50% !important;
  }
}


/* ===== v16.1 issues index text-color only mapping (dasida) =====
   원칙: 배경/보더/칩 스타일 변경 없이 텍스트 색상만 조정
   기준색 재사용:
   - 회색: 일감번호 톤 = var(--n5-muted)
   - 오렌지: Waiting for Engineering 톤 = var(--n5-warn)
*/
body.theme-Neutral.controller-issues.action-index {
  --d16-number-gray: var(--n5-muted);
  --d16-wait-orange: var(--n5-warn);
  --d16-critical-red: #c0392b;
}

/* 상태 색상 (Open/Closed/Canceled=회색, Pending+Waiting=오렌지, In Progress=현행 유지) */
body.theme-Neutral.controller-issues.action-index tr.issue.status-17 td.status,
body.theme-neutral.controller-issues.action-index tr.issue.status-17 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-12 td.status,
body.theme-neutral.controller-issues.action-index tr.issue.status-12 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-5 td.status,
body.theme-neutral.controller-issues.action-index tr.issue.status-5 td.status {
  color: var(--d16-number-gray) !important;
}

body.theme-Neutral.controller-issues.action-index tr.issue.status-1 td.status,
body.theme-neutral.controller-issues.action-index tr.issue.status-1 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-6 td.status,
body.theme-neutral.controller-issues.action-index tr.issue.status-6 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-4 td.status,
body.theme-neutral.controller-issues.action-index tr.issue.status-4 td.status,
body.theme-Neutral.controller-issues.action-index tr.issue.status-18 td.status,
body.theme-neutral.controller-issues.action-index tr.issue.status-18 td.status {
  color: var(--d16-wait-orange) !important;
}

/* 우선순위 텍스트 색상 (Low/High/Critical 인지 강화, Normal은 현행 유지) */
body.theme-Neutral.controller-issues.action-index tr.issue.priority-1 td.priority,
body.theme-neutral.controller-issues.action-index tr.issue.priority-1 td.priority {
  color: var(--d16-number-gray) !important;
}

body.theme-Neutral.controller-issues.action-index tr.issue.priority-3 td.priority,
body.theme-neutral.controller-issues.action-index tr.issue.priority-3 td.priority {
  color: var(--d16-wait-orange) !important;
}

body.theme-Neutral.controller-issues.action-index tr.issue.priority-4 td.priority,
body.theme-neutral.controller-issues.action-index tr.issue.priority-4 td.priority {
  color: var(--d16-critical-red) !important;
}

/* 링크/내부 span까지 동일 적용 */
body.theme-Neutral.controller-issues.action-index tr.issue td.status a,
body.theme-neutral.controller-issues.action-index tr.issue td.status a,
body.theme-Neutral.controller-issues.action-index tr.issue td.priority a,
body.theme-neutral.controller-issues.action-index tr.issue td.priority a,
body.theme-Neutral.controller-issues.action-index tr.issue td.status span,
body.theme-neutral.controller-issues.action-index tr.issue td.status span,
body.theme-Neutral.controller-issues.action-index tr.issue td.priority span,
body.theme-neutral.controller-issues.action-index tr.issue td.priority span {
  color: inherit !important;
}
/* ===== /v16.1 issues index text-color only mapping (dasida) ===== */

/* ===== v16.2 priority legacy background neutralize (issues index only) =====
   목적: 기존 priority 행 배경 강조(분홍/파랑) 제거 → "텍스트 색상만" 정책 고정
*/
body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-3 > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-3 > td,
body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-5 > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-5 > td,
body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-6 > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-6 > td,
body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-7 > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-7 > td {
  background: transparent !important;
  border-color: #f2f1ef !important;
}

body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-3:hover > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-3:hover > td,
body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-5:hover > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-5:hover > td,
body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-6:hover > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-6:hover > td,
body.theme-Neutral.controller-issues.action-index table.list tr.issue.priority-7:hover > td,
body.theme-neutral.controller-issues.action-index table.list tr.issue.priority-7:hover > td {
  background: #fbfbfa !important;
}
/* ===== /v16.2 priority legacy background neutralize (issues index only) ===== */


/* ===== v16.3 priority emphasis (High/Critical = Pending thickness) =====
   요청 반영: High/Critical 우선순위 텍스트를 Pending 상태 텍스트와 동일 체감(굵기/크기)으로 유지
*/
body.theme-Neutral.controller-issues.action-index tr.issue.priority-3 td.priority,
body.theme-neutral.controller-issues.action-index tr.issue.priority-3 td.priority,
body.theme-Neutral.controller-issues.action-index tr.issue.priority-4 td.priority,
body.theme-neutral.controller-issues.action-index tr.issue.priority-4 td.priority,
body.theme-Neutral.controller-issues.action-index tr.issue.priority-3 td.priority a,
body.theme-neutral.controller-issues.action-index tr.issue.priority-3 td.priority a,
body.theme-Neutral.controller-issues.action-index tr.issue.priority-4 td.priority a,
body.theme-neutral.controller-issues.action-index tr.issue.priority-4 td.priority a,
body.theme-Neutral.controller-issues.action-index tr.issue.priority-3 td.priority span,
body.theme-neutral.controller-issues.action-index tr.issue.priority-3 td.priority span,
body.theme-Neutral.controller-issues.action-index tr.issue.priority-4 td.priority span,
body.theme-neutral.controller-issues.action-index tr.issue.priority-4 td.priority span {
  font-weight: 500 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
/* ===== /v16.3 priority emphasis (High/Critical = Pending thickness) ===== */


/* ===== v16.4 header project-jump right-clip hotfix =====
   원인: desktop 헤더 quick-search에 translateX(8px) 적용되어 우측 클리핑 발생 가능
*/
@media (min-width: 900px) {
  body.theme-Neutral #header #quick-search,
  body.theme-neutral #header #quick-search {
    transform: none !important;
    margin-right: 0 !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }

  body.theme-Neutral #header #project-jump .drdn-trigger,
  body.theme-neutral #header #project-jump .drdn-trigger,
  body.theme-Neutral #header #project_quick_jump_box .drdn-trigger,
  body.theme-neutral #header #project_quick_jump_box .drdn-trigger {
    margin-right: 0 !important;
  }
}
/* ===== /v16.4 header project-jump right-clip hotfix ===== */


/* ===== v16.5 header project-jump anti-clip width-safe =====
   목적: 우측 경계에서 프로젝트 드롭다운(▼영역) 클리핑 방지
*/
@media (min-width: 900px) {
  body.theme-Neutral #header,
  body.theme-neutral #header,
  body.theme-Neutral #header #quick-search,
  body.theme-neutral #header #quick-search,
  body.theme-Neutral #header #project-jump,
  body.theme-neutral #header #project-jump,
  body.theme-Neutral #header #project_quick_jump_box,
  body.theme-neutral #header #project_quick_jump_box {
    overflow: visible !important;
  }

  body.theme-Neutral #header #quick-search,
  body.theme-neutral #header #quick-search {
    padding-right: 12px !important;
  }

  body.theme-Neutral #header #project-jump .drdn-trigger,
  body.theme-neutral #header #project-jump .drdn-trigger,
  body.theme-Neutral #header #project_quick_jump_box .drdn-trigger,
  body.theme-neutral #header #project_quick_jump_box .drdn-trigger {
    width: 208px !important;
    min-width: 208px !important;
    max-width: 208px !important;
    padding-right: 34px !important;
  }
}
/* ===== /v16.5 header project-jump anti-clip width-safe ===== */

/* [v16.6] fix new issue icon stroke follows button text color */
.contextual a.icon.icon-add svg.icon-svg,
.contextual a.icon.icon-new-issue svg.icon-svg,
.contextual a.new-issue svg.icon-svg {
  stroke: currentColor !important;
  fill: none !important;
}

/* [v16.7] unify in-content svg icon stroke with text color */
#content a.icon svg.icon-svg,
#content .icon-only svg.icon-svg,
#content .icon-only-button svg.icon-svg,
#content button.icon svg.icon-svg {
  stroke: currentColor !important;
}
/* ===== v16.8 selected-row hover contrast hard lock (High/Critical included) =====
   목적: issues 목록에서 선택행(context-menu-selection) + hover 시 밝은 배경으로 역전되어
   텍스트가 사라지는 현상 방지. 선택행은 우선순위/hover 규칙보다 항상 최우선 고정.
*/
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection > td,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td {
  background: #507AAA !important;
  color: #f8f8f8 !important;
  border-color: rgba(255,255,255,.28) !important;
}

body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td a,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td a,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td span,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td span,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td strong,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td strong,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection > td a,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td a,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection > td span,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td span,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection > td strong,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td strong {
  color: #f8f8f8 !important;
}

/* priority hover(밝은 배경)보다 선택행 우선 */
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-3:hover > td,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-4:hover > td,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-3:hover > td,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-4:hover > td {
  background: #507AAA !important;
}
/* ===== /v16.8 selected-row hover contrast hard lock ===== *//* ===== v16.8.1 selected-row status/priority color final lock =====
   선택행에서 status-* / priority-* 개별 색상 규칙(!important)보다 우선하도록
   상태/우선순위 셀을 명시적으로 흰색 고정
*/
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection > td.priority,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td.priority,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection > td.priority,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection:hover > td.priority,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-17 > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-12 > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-5 > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-1 > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-6 > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-4 > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-18 > td.status,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-1 > td.priority,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-3 > td.priority,
body.theme-Neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-4 > td.priority,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-17 > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-12 > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-5 > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-1 > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-6 > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-4 > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.status-18 > td.status,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-1 > td.priority,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-3 > td.priority,
body.theme-neutral.controller-issues.action-index table.list tr.context-menu-selection.issue.priority-4 > td.priority {
  color: #f8f8f8 !important;
}
/* ===== /v16.8.1 selected-row status/priority color final lock ===== *//* ===== v16.9 projects-index icon/cta/tree readability pack (dasida) =====
   1) 상단 Projects 탭 왼쪽 아이콘 추가
   2) 새 프로젝트 버튼 텍스트(라벨) 복구
   3) 프로젝트 트리 탐색기형 가독성 개선
*/

/* 1) top projects tab icon */
body.theme-Neutral.controller-projects.action-index #main-menu a.projects,
body.theme-neutral.controller-projects.action-index #main-menu a.projects {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
body.theme-Neutral.controller-projects.action-index #main-menu a.projects::before,
body.theme-neutral.controller-projects.action-index #main-menu a.projects::before {
  content: '▦' !important;
  display: inline-block !important;
  font-size: 12px !important;
  line-height: 1 !important;
  color: currentColor !important;
  opacity: .9 !important;
  margin-right: 0 !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
}

/* 2) new project CTA label restore */
@media (min-width: 900px) {
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-add,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-add,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue,
  body.theme-neutral.controller-projects.action-index #content .contextual a.icon-add,
  body.theme-neutral.controller-projects.action-index #content .contextual a.icon.icon-add,
  body.theme-neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue {
    width: auto !important;
    min-width: 124px !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 0 14px !important;
  }

  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon-add .icon-label,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-add .icon-label,
  body.theme-Neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue .icon-label,
  body.theme-neutral.controller-projects.action-index #content .contextual a.icon-add .icon-label,
  body.theme-neutral.controller-projects.action-index #content .contextual a.icon.icon-add .icon-label,
  body.theme-neutral.controller-projects.action-index #content .contextual a.icon.icon-new-issue .icon-label {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: visible !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }
}

/* 3) explorer-like tree readability */
body.theme-Neutral.controller-projects.action-index #projects-index ul.projects,
body.theme-neutral.controller-projects.action-index #projects-index ul.projects {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.theme-Neutral.controller-projects.action-index #projects-index ul.projects ul,
body.theme-neutral.controller-projects.action-index #projects-index ul.projects ul {
  margin: 4px 0 4px 16px !important;
  padding-left: 14px !important;
  border-left: 1px solid #d7dbe2 !important;
}

body.theme-Neutral.controller-projects.action-index #projects-index ul.projects li,
body.theme-neutral.controller-projects.action-index #projects-index ul.projects li {
  position: relative !important;
  padding: 2px 0 !important;
}

body.theme-Neutral.controller-projects.action-index #projects-index ul.projects ul > li::before,
body.theme-neutral.controller-projects.action-index #projects-index ul.projects ul > li::before {
  content: '' !important;
  position: absolute !important;
  left: -14px !important;
  top: 14px !important;
  width: 12px !important;
  border-top: 1px solid #d7dbe2 !important;
}

body.theme-Neutral.controller-projects.action-index #projects-index ul.projects li > a,
body.theme-neutral.controller-projects.action-index #projects-index ul.projects li a.project {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #2f3437 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  padding: 1px 4px !important;
}

body.theme-Neutral.controller-projects.action-index #projects-index ul.projects li > a::before,
body.theme-neutral.controller-projects.action-index #projects-index ul.projects li a.project::before {
  content: '▸' !important;
  font-size: 11px !important;
  color: #8a94a3 !important;
  line-height: 1 !important;
}

body.theme-Neutral.controller-projects.action-index #projects-index ul.projects li > a:hover,
body.theme-neutral.controller-projects.action-index #projects-index ul.projects li a.project:hover {
  background: #f5f7fa !important;
  color: #1f2937 !important;
  text-decoration: underline !important;
}
/* ===== /v16.9 projects-index icon/cta/tree readability pack ===== */

/* ===== v16.10 projects-index explorer readability pack (dasida) ===== */
body.controller-projects.action-index #projects-index ul.projects {
  margin: 8px 0 0;
  padding-left: 0;
}

body.controller-projects.action-index #projects-index ul.projects,
body.controller-projects.action-index #projects-index ul.projects ul {
  list-style: none;
}

body.controller-projects.action-index #projects-index ul.projects li {
  position: relative;
  margin: 1px 0;
  padding: 2px 0 2px 18px;
}

body.controller-projects.action-index #projects-index ul.projects ul {
  margin: 2px 0 4px 10px;
  padding-left: 14px;
  border-left: 1px solid #d9dfe7;
}

/* node dot + connector */
body.controller-projects.action-index #projects-index ul.projects li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a8b5c5;
  box-shadow: 0 0 0 2px #f7f9fc;
}

body.controller-projects.action-index #projects-index ul.projects li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 10px;
  height: 1px;
  background: #d3dae4;
}

/* stronger node text readability */
body.controller-projects.action-index #projects-index ul.projects li a.project {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 6px;
  color: #2f3a47;
  line-height: 1.35;
  transition: background-color .14s ease, color .14s ease, box-shadow .14s ease;
}

body.controller-projects.action-index #projects-index ul.projects li a.project::before {
  content: "B8" !important;
  display: inline-block;
  margin-right: 6px;
  color: #93a1b3;
  font-size: 11px;
  transform: translateY(-1px);
}

body.controller-projects.action-index #projects-index ul.projects li.root a.project::before,
body.controller-projects.action-index #projects-index ul.projects ul > li a.project::before {
  content: "B9" !important;
}

body.controller-projects.action-index #projects-index ul.projects li a.project:hover {
  background: #eef3f9;
  color: #1f2a36;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #dce5f0;
}

body.controller-projects.action-index #projects-index ul.projects li a.project:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(73,115,164,.22), inset 0 0 0 1px #b8cae0;
  background: #edf2f9;
}

/* contextual action alignment kept compact */
body.controller-projects.action-index #content .contextual a.icon-add {
  min-width: 128px;
  justify-content: center;
}
/* ===== /v16.10 projects-index explorer readability pack ===== */

/* ===== v16.10.1 projects-index chevron fallback for theme-Neutral ===== */
body.theme-Neutral.controller-projects.action-index #projects-index ul.projects li a.project::before {
  content: "\25B8" !important;
  display: inline-block !important;
  margin-right: 6px !important;
  color: #93a1b3 !important;
  font-size: 11px !important;
  line-height: 1 !important;
}
body.theme-Neutral.controller-projects.action-index #projects-index ul.projects li.root a.project::before,
body.theme-Neutral.controller-projects.action-index #projects-index ul.projects ul > li a.project::before {
  content: "\25B9" !important;
}
/* ===== /v16.10.1 projects-index chevron fallback ===== */

/* ===== v16.10.2 projects-index remove egg marker keep line-only (dasida) ===== */
body.controller-projects.action-index #projects-index ul.projects li::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* ===== /v16.10.2 projects-index remove egg marker keep line-only ===== */

/* ===== v16.11 main-menu projects icon unify + cross-page keep (dasida) ===== */
#header #main-menu ul li a.projects::before {
  content: "" !important;
  display: inline-block !important;
  -webkit-mask-image: url("/assets/themes/neutral/icons/projects-2a57a93b.svg") !important;
  mask-image: url("/assets/themes/neutral/icons/projects-2a57a93b.svg") !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}
@supports not ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  #header #main-menu ul li a.projects::before {
    background-image: url("/assets/themes/neutral/icons/projects-2a57a93b.svg") !important;
  }
}
/* ===== /v16.11 main-menu projects icon unify + cross-page keep ===== */

/* ===== v16.11.1 projects icon visibility fix (size/color/margin) ===== */
#header #main-menu ul li a.projects::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: 6px !important;
  background-color: currentColor !important;
  background-image: none !important;
  opacity: .95 !important;
}
/* ===== /v16.11.1 projects icon visibility fix ===== */

/* ===== v16.12 projects tree A-variant apply (dasida) ===== */
body.controller-projects.action-index #projects-index ul.projects {
  margin: 8px 0 0 !important;
  padding-left: 0 !important;
}

body.controller-projects.action-index #projects-index ul.projects,
body.controller-projects.action-index #projects-index ul.projects ul {
  list-style: none !important;
}

body.controller-projects.action-index #projects-index ul.projects li {
  position: relative !important;
  margin: 1px 0 !important;
  padding: 2px 0 2px 18px !important;
}

body.controller-projects.action-index #projects-index ul.projects ul {
  margin: 2px 0 4px 10px !important;
  padding-left: 14px !important;
  border-left: 1px solid #d6dde8 !important;
}

/* line-only 유지: 점 마커 제거 */
body.controller-projects.action-index #projects-index ul.projects li::before {
  content: none !important;
  display: none !important;
}

/* 수평 커넥터는 은은하게 유지 */
body.controller-projects.action-index #projects-index ul.projects li::after {
  content: "" !important;
  position: absolute !important;
  left: 10px !important;
  top: 15px !important;
  width: 10px !important;
  height: 1px !important;
  background: #d3dae4 !important;
}

/* 노드 텍스트 최소정리 */
body.controller-projects.action-index #projects-index ul.projects li a.project {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  color: #2f3a47 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  transition: background-color .12s ease, color .12s ease !important;
}

/* chevron은 유지하되 과하지 않게 */
body.controller-projects.action-index #projects-index ul.projects li a.project::before {
  content: "\25B9" !important;
  display: inline-block !important;
  margin-right: 6px !important;
  color: #94a0b2 !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

/* hover/focus 은은하게 */
body.controller-projects.action-index #projects-index ul.projects li a.project:hover {
  background: #f4f7fb !important;
  color: #1f2a36 !important;
}

body.controller-projects.action-index #projects-index ul.projects li a.project:focus-visible {
  outline: 2px solid rgba(85,126,173,.28) !important;
  outline-offset: 1px !important;
  background: #eef3f9 !important;
}

/* 모바일 터치영역 보강 */
@media (max-width: 899px) {
  body.controller-projects.action-index #projects-index ul.projects li a.project {
    min-height: 44px !important;
    padding: 8px 10px !important;
  }
}
/* ===== /v16.12 projects tree A-variant apply ===== */

/* ===== v16.11.2 projects tab label-position lock across pages (dasida) ===== */
#header #main-menu ul li a.projects,
#header #main-menu ul li a.projects.selected {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 10px 6px 28px !important;
}

#header #main-menu ul li a.projects::before {
  margin-right: 6px !important;
}
/* ===== /v16.11.2 projects tab label-position lock across pages ===== */

/* ===== v16.13 issue description font-size parity with default RM (dasida) ===== */
/* 목적: 기본 테마 대비 작게 보이던 이슈 본문 텍스트를 기본 크기 수준으로 복원 */
body.controller-issues.action-show .description,
body.theme-Neutral.controller-issues.action-show .description,
body.theme-neutral.controller-issues.action-show .description {
  padding: 10px 12px !important;
  border-radius: 8px !important;
}

body.controller-issues.action-show .description .wiki,
body.controller-issues.action-show .description .wiki p,
body.controller-issues.action-show .description .wiki li,
body.controller-issues.action-show .description .wiki td,
body.theme-Neutral.controller-issues.action-show .description .wiki,
body.theme-Neutral.controller-issues.action-show .description .wiki p,
body.theme-Neutral.controller-issues.action-show .description .wiki li,
body.theme-Neutral.controller-issues.action-show .description .wiki td,
body.theme-neutral.controller-issues.action-show .description .wiki,
body.theme-neutral.controller-issues.action-show .description .wiki p,
body.theme-neutral.controller-issues.action-show .description .wiki li,
body.theme-neutral.controller-issues.action-show .description .wiki td {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

body.controller-issues.action-show .description .wiki a,
body.controller-issues.action-show #relations a,
body.controller-issues.action-show #history a,
body.theme-Neutral.controller-issues.action-show .description .wiki a,
body.theme-Neutral.controller-issues.action-show #relations a,
body.theme-Neutral.controller-issues.action-show #history a,
body.theme-neutral.controller-issues.action-show .description .wiki a,
body.theme-neutral.controller-issues.action-show #relations a,
body.theme-neutral.controller-issues.action-show #history a {
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
/* ===== /v16.13 issue description font-size parity with default RM ===== */

