/* YCIT public website palette: shared by the renewed pages, APMS and portal. */
:root{--ycit-ink:#172c40;--ycit-blue:#164b77;--ycit-hover:#103c61;--ycit-muted:#606c75;--ycit-line:#dfe3e5;--ycit-paper:#f4f5f3;--ycit-tint:#edf3f7}
body{accent-color:var(--ycit-blue)}
.slide-label>span,.new-badge{color:var(--ycit-blue);border-color:#bccfdd;background:var(--ycit-tint)}
.program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}
.program-card{border:1px solid var(--ycit-line);padding:26px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.program-card h2{font-size:21px;line-height:1.4}.program-card p{color:var(--ycit-muted);font-size:14px;line-height:1.7;flex:1}.program-card .program-meta{font-size:12px}
.member-note{padding:18px 22px;background:var(--ycit-tint);border-left:3px solid var(--ycit-blue);font-size:14px;line-height:1.7;color:var(--ycit-ink)}
/* Legacy public pages. Administration and semantic status classes are untouched. */
body:has(#thema_wrapper){color:var(--ycit-ink);background:#fff;font-family:"Malgun Gothic",system-ui,sans-serif}
#thema_wrapper{color:var(--ycit-ink);background:#fff}
#thema_wrapper a:hover,#thema_wrapper a:focus{color:var(--ycit-blue)}
#thema_wrapper .at-lnb,#thema_wrapper .at-title,#thema_wrapper .m-menu .m-sub{background:var(--ycit-paper);border-color:var(--ycit-line);color:var(--ycit-ink)}
#thema_wrapper .at-lnb a,#thema_wrapper .at-title .page-desc{color:var(--ycit-muted)}
#thema_wrapper .pc-header .header-search form{background:var(--ycit-blue);border-color:var(--ycit-blue)}
#thema_wrapper .pc-header .header-search input{border-color:var(--ycit-blue)}
#thema_wrapper .pc-header .header-search .btn{background:var(--ycit-blue)!important;color:#fff!important}
#thema_wrapper .ycit-header-contact{display:flex;flex-direction:column;gap:5px;text-align:left;color:var(--ycit-blue);padding:0 10px;line-height:1.4}
#thema_wrapper .ycit-header-contact>span{font-size:14px;font-weight:700}#thema_wrapper .ycit-header-contact strong{font-size:28px;letter-spacing:-1px}#thema_wrapper .ycit-header-contact small{font-size:11px;color:var(--ycit-muted);line-height:1.6}
#thema_wrapper .ycit-side-shortcut{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;height:86px;background:var(--ycit-paper);color:var(--ycit-ink);font-size:13px}
#thema_wrapper .ycit-side-shortcut i{display:grid;place-items:center;background:var(--ycit-blue);color:white;width:30px;height:30px;border-radius:50%;font-size:16px}
#thema_wrapper .ycit-side-shortcut:hover{background:var(--ycit-tint)}
#thema_wrapper .widget-side .btn_sts ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;padding:0;list-style:none;background:var(--ycit-line);border:1px solid var(--ycit-line)}
#thema_wrapper .widget-side .btn_sts li{float:none;width:auto!important;margin:0;padding:0}
#thema_wrapper .widget-side .btn_sts a{display:block}
#thema_wrapper .widget-side .btn_sts{width:100%}
#thema_wrapper .pc-menu,#thema_wrapper .pc-menu .nav-top .menu-a,#thema_wrapper .pc-menu .nav-right{background:var(--ycit-ink)!important;background-image:none!important}
#thema_wrapper .pc-menu .nav-top .menu-a,#thema_wrapper .pc-menu .nav-right a{color:#fff!important}
#thema_wrapper .pc-menu .nav-top .menu-li.on .menu-a,#thema_wrapper .pc-menu .nav-top .menu-a:hover,#thema_wrapper .pc-menu .nav-right a:hover{background:var(--ycit-blue)!important}
#thema_wrapper .pc-menu .nav-top .sub-1div{border-top-color:var(--ycit-blue)}
#thema_wrapper .pc-menu .nav-top .sub-1div::before{border-color:var(--ycit-blue) transparent}
#thema_wrapper .pc-menu .sub-1dli:hover .sub-1da,#thema_wrapper .pc-menu .sub-2dli:hover .sub-2da{background:var(--ycit-blue);border-color:var(--ycit-blue);color:#fff!important}
#thema_wrapper .m-menu .m-table{background:var(--ycit-ink);border-color:var(--ycit-ink)}
#thema_wrapper .m-menu .m-list,#thema_wrapper .m-menu .m-list>a{color:#fff}
#thema_wrapper .m-menu .m-nav ul li.active a,#thema_wrapper .m-menu .m-nav-sub ul li.active a,#thema_wrapper .pc-menu-all .table td.on .menu-a{color:var(--ycit-blue)}
#thema_wrapper .m-menu .m-nav a{color:#fff!important}
#thema_wrapper .m-menu .m-nav ul li.active a{color:#fff!important;background:var(--ycit-blue)}
#thema_wrapper .btn-color,#thema_wrapper .btn-black,#thema_wrapper .btn-primary,#thema_wrapper .bg-color,#thema_wrapper .bg-black,#thema_wrapper .bg-blue{background:var(--ycit-blue)!important;border-color:var(--ycit-blue)!important;color:#fff!important}
#thema_wrapper .btn-color:hover,#thema_wrapper .btn-black:hover,#thema_wrapper .btn-primary:hover{background:var(--ycit-hover)!important;border-color:var(--ycit-hover)!important}
#thema_wrapper .btn-default{color:var(--ycit-blue);border-color:#bccbd6;background:#fff}
#thema_wrapper .btn-default:hover{background:var(--ycit-tint)}
#thema_wrapper .text-primary,#thema_wrapper .color,#thema_wrapper .blue{color:var(--ycit-blue)!important}
#thema_wrapper .border-color{border-color:var(--ycit-blue)!important}
#thema_wrapper .pagination li.active a,#thema_wrapper .pagination li.active span{background:var(--ycit-blue)!important;border-color:var(--ycit-blue)!important;color:#fff!important}
#thema_wrapper .nav-tabs>li.active>a,#thema_wrapper .nav-tabs>li.active>a:hover{color:var(--ycit-blue);border-top-color:var(--ycit-blue)}
#thema_wrapper .form-control:focus{border-color:var(--ycit-blue);box-shadow:0 0 0 2px #164b771c}
#thema_wrapper .panel-default,#thema_wrapper .table>thead>tr>th{border-color:var(--ycit-line)}
#thema_wrapper .panel-heading,#thema_wrapper .well{background:var(--ycit-paper);border-color:var(--ycit-line)}
#thema_wrapper .at-footer .at-links{background:var(--ycit-paper);border-color:var(--ycit-line)}
#thema_wrapper .at-infos{background:var(--ycit-ink);border-color:var(--ycit-ink);color:#dce5ec}
#thema_wrapper .at-infos a,#thema_wrapper .at-infos p,#thema_wrapper .at-infos li,#thema_wrapper .at-infos .copyright span{color:#dce5ec}
#thema_wrapper .at-infos h3,#thema_wrapper .at-infos strong,#thema_wrapper .at-infos .at-about>li{color:#fff}
#thema_wrapper .at-go .go-btn span{background:var(--ycit-blue)}
#main_category .cate_wrap_wrap{background:var(--ycit-blue)}#main_category .cate_wrap_wrap .more{background:var(--ycit-ink)}
/* Program portal: decorative colors share the same brand; warnings keep meaning. */
body.ycit-portal{color:var(--ycit-ink);background:var(--ycit-paper)}
.ycit-portal [data-download-file],.ycit-portal .ai-link-action.download{background:var(--ycit-blue)!important;border-color:var(--ycit-blue)!important;color:#fff!important}
.ycit-portal [data-download-file]:hover,.ycit-portal .ai-link-action.download:hover{background:var(--ycit-hover)!important;border-color:var(--ycit-hover)!important}
.ycit-portal :is(.text-blue-600,.text-blue-700,.text-indigo-600,.text-indigo-700,.text-emerald-600,.text-emerald-700,.text-purple-600,.text-orange-600,.text-teal-600){color:var(--ycit-blue)!important}
.ycit-portal :is(.text-blue-800,.text-indigo-800,.text-emerald-800,.text-purple-800,.text-orange-800,.text-teal-800){color:var(--ycit-ink)!important}
.ycit-portal :is(.bg-blue-50,.bg-indigo-50,.bg-emerald-50,.bg-purple-50,.bg-orange-50,.bg-teal-50){background:var(--ycit-tint)!important}
.ycit-portal :is(.border-blue-200,.border-indigo-200,.border-emerald-200,.border-purple-200,.border-orange-200,.border-teal-200){border-color:#bccfdd!important}
.ycit-portal :is(.border-blue-500,.border-indigo-500,.border-emerald-500,.border-purple-500,.border-orange-500,.border-teal-500){border-color:var(--ycit-blue)!important}
.ycit-portal .portal-guide-card,.ycit-portal .portal-guide-tabs button{color:var(--ycit-blue);border-color:#bccfdd}
.ycit-portal .portal-guide-all,.ycit-portal .portal-guide-quick summary,.ycit-portal .ai-link-action,.ycit-portal .ai-think-head .ai-spark{color:var(--ycit-blue)}
.ycit-portal .ai-send-btn{background:var(--ycit-blue)}.ycit-portal .ai-send-btn:hover{background:var(--ycit-hover)}
.ycit-portal .ai-icon-btn.on,.ycit-portal .ai-cat-badge,.ycit-portal .ai-cat-badge.is-engineer{background:var(--ycit-tint);border-color:#bccfdd;color:var(--ycit-blue)}
.ycit-portal .ai-chat-form:focus-within{border-color:var(--ycit-blue)}
.ycit-portal .portal-member-note{max-width:1280px;margin:18px auto 0;padding:14px 20px;background:var(--ycit-tint);color:var(--ycit-ink);font-size:14px;border:1px solid #bccfdd}
.ycit-portal .portal-member-note a{color:var(--ycit-blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){.program-grid{grid-template-columns:1fr}.program-card{padding:22px}.ycit-portal .portal-member-note{margin-inline:16px}}
@media(max-width:767px){#thema_wrapper .at-col.at-main{width:100%!important;float:none!important;min-width:0}#thema_wrapper .table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}}
