:root{
  --bg:#f7f8fb;
  --ink:#111827;
  --muted:#6b7280;
  --line:#e9edf3;
  --white:#fff;
  --sticky-top:0px
}

.gnb_new_ico {
  display: inline-block;
  margin-top: 0px !important;
  border-radius: 5px;
  background-color: #FFb343 !important;
  padding:0px 5px 2px 5px;
  margin: -3px 0 0 2px;
  line-height: 13px;
  vertical-align: middle;
  font-size: 9px;
  color:#fff;
}

.p-portal{background:var(--bg);color:var(--ink)}
.p-portal *{box-sizing:border-box}
.p-wrap{margin:0 auto;padding:50px 0 20px;max-width:var(--max-width)}
a{color:inherit;text-decoration:none}

.p-search{
  align-items:center;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:0 8px 24px rgba(0,0,0,.04);
  display:flex;
  gap:12px;
  height:56px;
  margin:0 auto;
  max-width:500px;
  padding:0 8px 0 18px
}
.p-search{position:relative}
.p-search #fallbackImage{height:30px}
.p-logo{color:var(--accent);font-size:22px;font-weight:800;letter-spacing:-.2px}
.p-input{background:#fff;border:0;flex:1;font-size:17px;height:100%;min-width:0;outline:0}
.p-btn{background:#f4f6f8;border:1px solid var(--line);border-radius:50%;cursor:pointer;display:grid;height:36px;place-items:center;width:36px}
.p-btn svg{height:18px;stroke:#4b5563;width:18px}
.p-btn.search{background:var(--accent);height:40px;width:40px}
.p-btn.search svg{stroke:#fff}

.p-suggest{
  position:absolute;
  left:0;right:0;
  top:calc(100% + 10px);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 16px 40px rgba(0,0,0,.10);
  padding:12px;
  max-height:min(66vh,560px);
  overflow:hidden;
  opacity:0;
  transform:translateY(6px);
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease;
  z-index:10000
}
.p-input:focus-within ~ .p-suggest{opacity:1;pointer-events:auto;transform:none}
.p-suggest.is-open{opacity:1;pointer-events:auto;transform:none}
.p-suggest.is-closed{opacity:0;pointer-events:none;transform:translateY(6px)}
.p-input:focus ~ .p-suggest.is-closed{opacity:0 !important;pointer-events:none !important;transform:translateY(6px) !important}


.p-sg-grid{display:grid;grid-template-columns:220px 1fr;gap:12px;min-height:160px}
.p-suggest.is-compact .p-sg-grid{grid-template-rows:auto;min-height:0}
.p-suggest.is-compact .p-sg-related{display:none !important}
.p-sg-sec{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;overflow:hidden}
.p-sg-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.p-sg-title{margin:0;font-size:13px;font-weight:800;color:#111827;letter-spacing:-.2px}
.p-sg-clear,.p-sg-more{appearance:none;border:1px solid var(--line);background:#f8fafc;color:#374151;font-size:12px;border-radius:8px;padding:6px 10px;line-height:1;cursor:default}
.p-sg-chips{display:flex;flex-wrap:wrap;gap:8px}
.p-sg-chip{appearance:none;border:1px solid var(--line);background:#fff;color:#111827;border-radius:999px;padding:8px 12px;font-size:13px;line-height:1;cursor:default}
.p-sg-chip:hover{background:#f8fafc;border-color:#e5e7eb}
.p-sg-list{list-style:none;margin:0;padding:0;max-height:420px;overflow:auto}
.p-sg-item + .p-sg-item{margin-top:6px}
.p-sg-link{display:grid;grid-template-columns:1fr;gap:10px;align-items:center;padding:8px;border-radius:10px;color:inherit;text-decoration:none}
.p-sg-link:hover{background:#f8fafc}
.p-sg-thumb{width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,rgba(0,0,0,.04),rgba(0,0,0,.06));border:1px solid var(--line)}
.p-sg-meta{min-width:0;display:grid;gap:2px}
.p-sg-ttl{font-size:14px;font-weight:700;color:#111827;letter-spacing:-.2px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.p-sg-sub{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.p-sg-sec.is-empty{display:grid;place-items:center;min-height:120px}
.p-sg-empty{color:var(--muted);font-size:13px}
.p-sg-foot{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}
.p-sg-close{appearance:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 12px;font-weight:700}
.p-sg-close:hover{background:#f8fafc}

.p-suggest .p-sg-grid{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:12px;}
.p-sg-related{display:none;flex-direction:column;min-height:0}
.p-sg-related.is-on{display:flex}
.p-sg-related[hidden]{display:none !important}
.p-sg-related .p-sg-list{flex:1 1 auto;overflow:auto;max-height:none}

@media (max-width:1024px){
  .p-sg-grid{grid-template-columns:1fr;gap:10px}
  .p-suggest{left:0;right:0;top:calc(100% + 8px);padding:10px;border-radius:12px;max-height:min(70vh,520px)}
  .p-sg-link{grid-template-columns:1fr}
  .p-sg-thumb{width:40px;height:40px}
}

.p-sg-chip{display:inline-flex;align-items:center;gap:2px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:0 6px 0 0;box-shadow:none}
.p-sg-chip button{appearance:none;background:transparent;border:0;line-height:1;font:inherit;color:inherit}
.p-sg-chip-label{padding:8px 10px 8px 12px;border-radius:999px;cursor:pointer}
.p-sg-chip-label:hover{background:#f8fafc}
.p-sg-chip-x{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:#6b7280;opacity:1;transition:opacity .12s ease,background .12s ease,color .12s ease;margin-left:2px}
.p-sg-chip-x:hover{background:#f3f4f6;color:#111827}
.p-sg-chip:hover .p-sg-chip-x,.p-sg-chip:focus-within .p-sg-chip-x{opacity:1}
.p-sg-chip-label:focus-visible,.p-sg-chip-x:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
@media (max-width:1024px){.p-sg-chip-x{opacity:1}}

.p-row-bar{
  background:var(--bg);
  position:sticky;
  top:var(--sticky-top);
  z-index:9998;
  backdrop-filter:saturate(180%) blur(6px);
  -webkit-backdrop-filter:saturate(180%) blur(6px)
}
.p-row-inner{margin:0 auto;max-width:var(--row-width,1200px);padding:10px 0}
.p-row{align-items:center;display:flex;gap:12px}
.chips-wrap{flex:1 1 auto;min-width:0;position:relative}
nav.chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.actions-wrap{flex:0 0 auto;margin-left:auto}
.actions-wrap .menu-toggle{display:none}
nav.actions{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:flex-end}

.chip{
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  display:inline-flex;
  gap:8px;
  padding:10px 14px;
  position:relative;
  white-space:nowrap
}
.chip .ico{background:#f2f4f7;border-radius:50%;display:grid;height:22px;place-items:center;width:22px}
.chip svg{height:14px;width:14px}
.chip img{height:14px;stroke:#475569;width:14px}
.chip.more .ico{background:#f2f4f7}
.chip:hover{box-shadow:0 4px 10px rgba(0,0,0,.04)}
.chip--ghost{background:#f8fafc}
.actions-wrap .chip{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;gap:8px;padding:8px 6px}
.actions .chip:hover{box-shadow:none;color:var(--accent)}
.actions .chip:active{transform:none}
.actions .chip .ico{background:transparent!important;display:grid;height:18px;place-items:center;width:18px}
.actions-wrap .chip svg{height:18px;stroke:currentColor;width:18px}
.actions .chip:focus-visible{border-radius:6px;outline:2px solid var(--accent);outline-offset:2px}

.p-issue{align-items:center;display:flex;gap:10px;margin-left:auto}
.badge{background:var(--accent);border-radius:999px;color:#fff;font-size:12px;padding:2px 4px;position:absolute;right:-5px;top:-3px}
.issue-link{color:#374151}
.chip-group{position:relative;z-index:1}
.chip .caret{display:inline-grid;height:16px;margin-left:2px;place-items:center;width:16px}
.chip .caret svg{height:14px;stroke:#6b7280;width:14px}
.submenu{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  left:0;
  max-height:60vh;
  min-width:200px;
  opacity:0;
  overflow:auto;
  padding:8px;
  pointer-events:none;
  position:absolute;
  top:calc(100% + 8px);
  transform:translateY(4px);
  transition:opacity .16s ease,transform .16s ease
}
.submenu ul{list-style:none;margin:0;padding:4px}
.submenu li a{align-items:center;border-radius:8px;color:#374151;display:flex;gap:8px;padding:10px 12px}
.submenu li a:hover{background:#f8fafc;color:var(--accent)}
.chip-group:hover .submenu,.chip-group:focus-within .submenu{opacity:1;pointer-events:auto;transform:none;z-index:1000}
.chip-group::after{content:"";height:12px;left:0;position:absolute;right:0;top:100%}
.chip-group:hover{z-index:1001}
.rb_bbs_wrap .btns_gr_wrap .btns_gr{margin-top:110px}

@media (max-width:1024px){
  .p-portal .pc,.p-row-bar .pc{display:none!important}
  .p-wrap{padding:60px 10px 10px}
  .p-search{max-width:none}
  .p-issue{display:none}
  nav.chips{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:0 8px;scroll-snap-type:x proximity;scrollbar-width:none}
  nav.chips::-webkit-scrollbar{display:none}
  nav.chips .chip{flex:0 0 auto;scroll-snap-align:start}
  .chips-wrap::before,.chips-wrap::after{bottom:0;content:"";pointer-events:none;position:absolute;top:0;width:24px}
  .chips-wrap::before{background:linear-gradient(to right,var(--bg),transparent);left:0}
  .chips-wrap::after{background:linear-gradient(to left,var(--bg),transparent);right:0}
  .chips-wrap{display:none}
  nav.actions{gap:5px}
  .p-row-bar{left:0px;position:fixed;top:0px;width:100%}
  .p-row-inner{padding:12px 20px}
  .actions-wrap{display:flex;justify-content:flex-end;padding:0;position:static;width:100%}
  .actions-wrap .menu-toggle{display:block;margin-right:auto}
  .chip .caret{display:none}
  .submenu{display:none!important}
  .m-submenu-panel[hidden]{display:none}
  .m-submenu-panel{background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.06);margin-top:8px;max-height:0;overflow:hidden;transition:max-height .24s ease}
  .m-submenu-head{align-items:center;background:#fafbfc;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;padding:12px 14px}
  .m-submenu-title{color:#111827;font-size:14px;font-weight:700}
  .m-submenu-close{background:#fff;border:1px solid var(--line);border-radius:8px;cursor:pointer;display:inline-grid;height:32px;place-items:center;width:32px}
  .m-submenu-body{padding:6px}
  .m-submenu-body ul{list-style:none;margin:0;padding:0}
  .m-submenu-body li a{align-items:center;border-radius:8px;color:#374151;display:flex;gap:8px;padding:12px 10px}
  .m-submenu-body li a:hover{background:#f8fafc;color:var(--accent)}
}

.nv-overlay[hidden]{display:none}
.nv-overlay{background:rgba(0,0,0,.6);inset:0;position:fixed;z-index:9999}
.nv-backdrop{background:transparent;border:0;inset:0;position:absolute}
.nv-panel{
  background:var(--white);
  color:var(--ink);
  display:grid;
  grid-template-rows:auto 1fr auto;
  height:100%;
  position:relative;
  transform:translateX(-105%);
  transition:transform .28s ease;
  width:100%
}
.nv-overlay.is-open .nv-panel{transform:translateX(0)}
.nv-top{border-bottom:1px solid var(--line);padding:14px 16px 10px}
.nv-close{cursor:pointer;height:36px;width:36px}
.nv-profile{align-items:center;display:flex;gap:12px;margin-top:6px}
.nv-avatar{background:#f3f4f6;border-radius:50%;color:#6b7280;display:grid;height:44px;overflow:hidden;place-items:center;width:44px}
.nv-avatar img{height:44px;width:44px}
.nv-name{display:block;font-weight:700}
.nv-mail{color:var(--muted);display:block;font-size:12px;margin-top:3px}
.nv-mypage{margin-left:auto}
.nv-mypage a{border:1px solid var(--line);border-radius:10px;font-size:12px;padding:5px 10px}
.nv-seg{align-items:center;background:#f5f7fb;border:1px solid var(--line);border-radius:12px;display:flex;height:44px;justify-content:space-between;margin-top:12px;padding:0 8px}
.nv-seg-btn{align-items:center;border-radius:10px;color:#111827;display:flex;flex:1 1 0;font-weight:600;gap:6px;height:100%;justify-content:center}
.nv-seg-div{background:var(--line);border-radius:1px;height:60%;width:1px}
.nv-badge{align-items:center;background:var(--accent);border-radius:999px;color:#fff;display:inline-flex;font-size:12px;height:22px;justify-content:center;min-width:22px;padding:0 6px}
.nv-count{color:var(--accent);display:inline-block;padding:2px 6px}
.nv-body{min-height:0;overflow:auto;padding:12px 12px 6px}
.nv-title{color:var(--muted);font-size:14px;font-weight:700;margin:6px 4px 10px}
.nv-list{}
.nv-lv1{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0}
.nv-lv1-item{overflow:hidden}
.nv-lv1-head{padding:14px 14px 10px}
.nv-lv1-link{color:#111827;font-weight:700}
.nv-lv2{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;padding:6px 6px 10px 15px}
.nv-lv2-item{}
.nv-lv2-link{align-items:center;border-radius:8px;color:#374151;display:flex;gap:8px;padding:10px 10px}
.nv-lv2-link:hover{background:#f8fafc;color:var(--accent)}
.nv-bottom{align-items:center;background:#fff;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:space-between;padding:10px 14px}
.nv-brand{color:#111827;font-weight:700}
.nv-logout{align-items:center;color:#111827;display:inline-flex;gap:8px;height:40px;padding:0 14px;font-weight:700}
.nv-logout:hover{background:#f8fafc}
@media (min-width:1025px){.nv-panel{box-shadow:12px 0 40px rgba(0,0,0,.14);max-width:92vw;width:420px}}
