@charset "utf-8";
/* layout.css는 전체적인 레이아웃 스타일을 정의합니다. */

#skipToContent a {z-index:100000;position:absolute;overflow:hidden;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;}
#skipToContent a:focus,
#skipToContent a:active {width:200px;height:50px;background:#21272e;color:#fff;font-size:14px;font-weight:bold;text-align:center;text-decoration:none;line-height:50px;outline-color:#f37736;}
a:focus {outline:#f37736;}

.only-desktop-tablet {display:block;}
.only-desktop {display:block;}
.only-tablet {display:none;}
.only-mobile {display:none;}

.contain {max-width:1260px; padding-left:var(--container-space); padding-right:var(--container-space); margin:0 auto;}

/* header */
#header {position:sticky; top: 0; width:100%; background:#fff; border-bottom:1px solid #ddd; z-index:100;}
#header .contain {position:relative; display:flex; align-items:center; justify-content:space-between; max-width: 100%; height:var(--header-height); z-index:10;}

.header-func {display: flex; gap: 15px;}
.btn-header-alert {position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;}
.btn-header-alert span {display: flex; align-items: center; justify-content: center; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: #F42731; border-radius: 100%; color: #fff; font-size: 0.675em; line-height: 0.9em; font-weight: 500;}

.btn-square {display: flex; align-items: center; justify-content: center; height: fit-content; padding: 8px var(--space-20); border-radius: 8px; background: var(--primary-color); color: #fff; font-size: 1em; line-height: 1.35em; overflow: hidden;}

/* for mobile */
.btn-m-menu {display:none; position:relative; width:26px; height:26px;}
.btn-m-menu span {position:absolute; left:0; right:0; top:50%; height:2px; margin-top:-1px; background:var(--dark-color);}
.btn-m-menu span:before,
.btn-m-menu span:after {content:" "; position:absolute; left:0; right:0; height:2px; background:var(--dark-color);}
.btn-m-menu span:before {top:-9px;}
.btn-m-menu span:after {bottom:-9px;}

.mobile-navigation {display:none; position:fixed; top:0; right:0; width:300px; height:100%; overflow:auto; transition:.2s linear; -ms-transform:translateX(100%); transform:translateX(100%); background:#fff; z-index:102;}
.mobile-navigation .home {display:flex; align-items:center; height:var(--header-height); padding:0 20px; color:var(--dark-color); font-size:19px; font-weight:700; line-height:1.5em;}
.mobile-navigation .nav-menu>ul {border-top:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li {border-bottom:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li>a {position:relative; padding:10px 48px 10px 20px; display:block; color:var(--dark-color); font-size:19px; font-weight:700; line-height:1.5em;}
.mobile-navigation .nav-menu>ul>li>a:after {content:""; position:absolute; top:50%; right:20px; transform:translateY(-75%) rotate(45deg); width:11px; height:11px; border-right:2px solid #505050; border-bottom:2px solid #505050;}
.mobile-navigation .nav-menu>ul>li.active>a {color:#fff; background:var(--primary-color)}
.mobile-navigation .nav-menu>ul>li.active>a:after {transform:translateY(-35%) rotate(-135deg); border-color:#fff;}
.mobile-navigation .nav-menu .submenu {display:none; background:#f8f8f8; color:#454545; font-size:16px; font-weight:400; line-height:1.5em;}
.mobile-navigation .nav-menu .submenu ul li {border-top:1px solid #e5e5e5;}
.mobile-navigation .nav-menu .submenu ul li a {display:block; padding:12px 20px;}
.mobile-navigation .nav-menu .submenu ul li a:hover {color:var(--primary-color);}
.mobile-navigation .close {position:absolute; top:0; right:15px; width:26px; height:var(--header-height); text-indent:-9999em; overflow:hidden;}
.mobile-navigation .close:before,
.mobile-navigation .close:after {content:" "; position:absolute; top:50%; left:0; width:100%; height:3px; background:var(--dark-color); border-radius:3px;}
.mobile-navigation .close:before {transform:rotate(45deg);}
.mobile-navigation .close:after {transform:rotate(-45deg);}
.mobile-overlay {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:0.6; z-index:101;}

html.menu-opened {overflow:hidden;}
html.menu-opened .mobile-navigation {-ms-transform:translateX(0); transform:translateX(0);}
html.menu-opened .mobile-overlay {display:block;}

/* main — Figma Dashboard 38560:8395 */
.dash-home { display: flex; flex-direction: column; gap: 24px; align-items: stretch; padding: 32px 0; background: #f8fafc; line-height: 1.5; }
.dash-home .dash-row { display: flex; flex-wrap: wrap; gap: 24px; width: 100%; }
.dash-home .dash-tapeout { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; }
.dash-home .tit { display: flex; align-items: center; justify-content: space-between; padding: 20px; border: 1px solid #e2e8f0; border-bottom: 0; border-radius: 8px 8px 0 0; }
.dash-home .tit h2 { font-size: 1em; font-weight: 700; color: var(--dark-color); letter-spacing: -0.03em; }
.dash-home .tit .view { font-size: 0.875em; font-weight: 500; color: #64748b; letter-spacing: -0.03em; text-decoration: none; }
.dash-home .tit .view:hover { text-decoration: underline; }
.dash-home .dash-tapeout .cont {flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid #e2e8f0; border-radius: 0 0 8px 8px; }
.dash-home .dash-tapeout .item { display: flex; flex-direction: column; min-height: 110px; gap: 3px 20px; padding: 16px; border-radius: 10px; background: #f5f7fa; }
.dash-home .dash-tapeout .item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;  margin-bottom: 5px;}
.dash-home .dash-tapeout .name { display: flex; align-items: center; gap: 8px; font-size: 1em; font-weight: 600; color: var(--dark-color); letter-spacing: -0.03em; }
.dash-home .dash-tapeout .name:before {content: ''; display: block; width: 20px; height: 20px; background: url('/images/main/icon-tapeout-tit.svg') no-repeat center center / contain;}

.dash-home .dash-tapeout .badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 12px; border-radius: 8px; font-size: 0.9375em; font-weight: 600; letter-spacing: -0.03em; }
.dash-home .dash-tapeout .badge-ing { background: rgba(207, 232, 255, 0.8); color: var(--primary-color); }
.dash-home .dash-tapeout .badge-done { background: rgba(217, 237, 239, 0.8); color: var(--secondary-color); }
.dash-home .dash-tapeout .meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.875em; color: #64748b; letter-spacing: -0.03em; }
.dash-home .dash-tapeout .meta .date { display: inline-flex; align-items: center; gap: 4px; }
.dash-home .dash-tapeout .meta .date:before  {content: ''; display: block; width: 17px; height: 17px; background: url('/images/main/icon-date.svg') no-repeat center center / contain;}
.dash-home .dash-tapeout .wafer { margin: 0; font-size: 0.875em; color: #64748b; letter-spacing: -0.03em; }
.dash-home .dash-aside { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.dash-home .dash-quote { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; }
.dash-home .dash-quote .cont { padding: 20px; border: 1px solid #e2e8f0; border-radius: 0 0 8px 8px; }
.dash-home .dash-quote .quote-box { display: flex; flex-direction: column; gap: 0; padding: 16px; border-radius: 10px; background: #f5f7fa; }
.dash-home .dash-quote .quote-box:hover .quote-tit span {text-decoration: underline; text-underline-offset: 4px;}
.dash-home .dash-quote .quote-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 0; }
.dash-home .dash-quote .quote-tit { display: flex; align-items: center; gap: 12px; font-size: 1em; font-weight: 600; color: var(--dark-color); letter-spacing: -0.03em; }
.dash-home .dash-quote .quote-tit:before {content: ''; display: block; width: 20px; height: 20px; background: url('/images/main/icon-document.svg') no-repeat center center / contain;}
.dash-home .dash-quote .price { flex-shrink: 0; padding: 6px 12px; border-radius: 8px; background: var(--primary-color); color: #fff; font-size: 0.9375em; font-weight: 600; letter-spacing: -0.03em; }
.dash-home .dash-quote .quote-body { margin-top: 0; padding-top: 0; }
.dash-home .dash-quote .time { margin: 0 0 7px; font-size: 0.875em; color: #64748b; letter-spacing: -0.03em; }
.dash-home .dash-quote .desc { font-size: 0.875em; color: #454545; letter-spacing: -0.03em; }
.dash-home .dash-quote .desc p { margin: 0; }
.dash-home .dash-quote .desc p + p { margin-top: 0; }
.dash-home .dash-mini {flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; }
.dash-home .dash-mini .cont {flex: 1; padding: 20px; border: 1px solid #e2e8f0; border-radius: 0 0 8px 8px; overflow: hidden; font-size: 0.875em; letter-spacing: -0.03em; }
.dash-home .dash-mini table.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dash-home .dash-mini thead th { padding: 16px; background: #f5f7fa; font-weight: 600; color: #64748b; border-bottom: 1px solid #e2e8f0; text-align: left; white-space: nowrap; }
.dash-home .dash-mini tbody td { padding: 11px 16px; border-bottom: 1px solid #e2e8f0; background: #fff; color: #454545; }
.dash-home .dash-feed { display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.dash-home .dash-feed .tit {border: 0; border-bottom: 1px solid #e2e8f0; }
.dash-home .dash-feed .tit-l { display: flex; align-items: center; gap: 8px; }
.dash-home .dash-feed .tit-l h2 { font-size: 1em; font-weight: 700; color: var(--dark-color); letter-spacing: -0.03em; }
.dash-home .dash-feed .num { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 200px; background: #f42731; color: #fff; font-size: 0.75em; font-weight: 500; line-height: 1; }
.dash-home .dash-feed .tit-r { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-home .dash-feed .btn-feed { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 12px; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-size: 0.9375em; font-weight: 600; color: #64748b; letter-spacing: -0.03em; cursor: pointer; }
.dash-home .dash-feed .btn-feed:hover {background-color: #f8f8f8; color: #505050;}
.dash-home .dash-feed .btn-feed:hover svg path {stroke: #505050;}
.dash-home .dash-feed .cont { border: 0; }
.dash-home .dash-feed .feed-row { display: flex; align-items: center; gap: 8px; min-height: 80px; padding: 16px; border-bottom: 1px solid #e2e8f0; background: #fff; }
.dash-home .dash-feed .feed-row-unread { background: #f0f9ff; }
.dash-home .dash-feed .feed-row-last { border-radius: 0 0 8px 8px; border-bottom: 0; }
.dash-home .dash-feed .dot { flex-shrink: 0; width: 5px; height: 5px; border-radius: 100px; background: #64748b; }
.dash-home .dash-feed .feed-ico { flex-shrink: 0; padding: 11px; height: fit-content; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #f5f7fa; }
.dash-home .dash-feed .feed-txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dash-home .dash-feed .msg {display: block; margin: 0; font-size: 1em; color: var(--dark-color); letter-spacing: -0.03em; line-height: 1.5; }
.dash-home .dash-feed .msg .primary { color: var(--primary-color); }
.dash-home .dash-feed .msg:hover {text-decoration: underline; text-underline-offset: 4px;;}
.dash-home .dash-feed .sub { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875em; color: #64748b; letter-spacing: -0.03em; }
.dash-home .dash-feed .sub .name { font-weight: 600; }

/* sub */
.page-header {display: flex; gap: 20px; max-width: 1200px; padding-bottom: var(--space-45); margin: 0 auto var(--space-45); border-bottom: 1px solid #ddd;}
.page-header .wrap {flex: 1;}
.path-wrap, .path-wrap .part { display: flex; align-items: center; color: #8F8F8F; height: fit-content;}
.path-wrap .part:before {content: '•'; display: block;margin: 0 8px; color: #8F8F8F;}
.path-wrap .part.first li:not(.active) {display: none;}
.path-wrap ul {margin: 0;}
.path-wrap .part:last-child {color: var(--dark-color);}

.lnb {max-width:100%; margin-top: 2.25em;;}
.lnb ul {display:flex; width: max-content; margin: 0 -5px;}
.lnb ul li {flex:1 1 auto; width: auto; padding: 0 5px; text-align:center;}
.lnb ul li a {display:flex; flex-direction:column; justify-content:center; align-items:center; width:100%; padding:10px 20px; border-radius: 8px; border: 1px solid #ddd; color:var(--dark-color); font-size:.9375em; font-weight:500; line-height:1.86667em; letter-spacing:-.03em;}
.lnb ul li.active a {background: #111; border-color: #111; color:#fff;}

.lnb.type2 {margin-bottom: var(--space-45);}
.lnb.type2 ul li a {background: #F4F4F4;}
.lnb.type2 ul li.active a {background: var(--primary-color); border-color: var(--primary-color);}

.sub-title {max-width:1260px; margin:0 auto;}
.sub-title h2 {font-size:clamp(30px, calc( 36 / var(--inner) * 100vw ), 36px); line-height:1.5em; color:var(--dark-color);}
body.member .sub-title {text-align: center; padding-bottom: var(--space-80);}

#contArea {max-width:1200px;  padding-top: clamp(20px, calc( 36 / var(--inner) * 100vw ), 36px); margin:0 auto;}
#contArea.wide {max-width:100%;}
body.member #contArea {padding-top: clamp(30px, calc( 60 / var(--inner) * 100vw ), 60px);}

.real-cont {padding-bottom:clamp(40px, calc( 160 / var(--inner) * 100vw ), 160px);}
.icon img {vertical-align: middle; margin-top: -.018em;}
.txt-center {text-align: center;}
.desc p:not(:last-child) {margin-bottom: 1.692em;}

.flex-wrap {display: flex;}
.flex-center {display: flex; justify-content: center;}
.flex-between {display: flex; justify-content: space-between;}
.flex-mid {display: flex; align-items: center;}
.flex-bottom {display: flex; align-items: flex-end;}
.flex-column {display: flex; flex-direction: column;}
.flex1 {flex: 1;}

.fw400 {font-weight: 400;}
.fw500 {font-weight: 500;}
.fw600 {font-weight: 600;}
.fw700 {font-weight: 700;}

.mb40 {margin-bottom: var(--space-40);}

.primary-color {color: var(--primary-color);}
.secondary-color {color: var(--secondary-color);}
.dark-color {color: var(--dark-color);}
.white-color {color: #fff;}

/* footer */
#footer {background:#333; font-size: 14px;}
#footer .contain {max-width: 1460px;}

.scroll-top {display:flex; justify-content:center; align-items:center; z-index:80; position:fixed; bottom:var(--container-space); right:var(--container-space); width:70px; height:70px; border-radius: 100%; border: 1px solid #ddd; background-color:#23282c; color:#fff; font-size:14px; font-weight: 500; line-height:1em; text-align:center;}
.scroll-top span:before {display:block; content:""; margin:0 auto 10px; width:0; height:0; border-left:8px solid transparent; border-right:8px solid transparent; border-bottom:7px solid #fff;}

/* Backoffice sidebar (Figma: 다크 사이드바·파운드리 메뉴·하단 시스템명) — body 1em 기준에서 이전 0.9em과 맞추기 위해 루트만 font-size:0.9em, 내부 em 유지 */
body.member #wrapper .sidebar {display: none;}
#wrapper .sidebar.sidebar-wbfs {position: sticky; top:var(--header-height); display: flex; flex-direction: column; min-height: auto; flex: 0 0 25%; max-width: 300px; height: calc(100vh - var(--header-height)); background: #2c3e50 !important; border-right: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile {flex-shrink: 0; list-style: none; align-self: stretch; background: #2c3e50;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof {box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; gap: 1em; min-height: 12.9375em; padding: 1.5em; border-bottom: 1px solid rgba(255, 255, 255, 0.2);}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-head {display: flex; flex-shrink: 0; align-items: center; align-self: stretch; gap: 0.75em; height: 3em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-avatar {display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 3em; height: 3em; border-radius: 33554400px; background: rgba(255, 255, 255, 0.2); line-height: 0; color: #fff;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-avatar i {font-size: 1.5em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-txt {display: flex; flex: 1 1 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.0625em; min-width: 0;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-txt .name {align-self: stretch; color: #fff; font-size: 1.125em; font-weight: 700; line-height: 1.5em; word-wrap: break-word;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-txt .job {align-self: stretch; color: rgba(255, 255, 255, 0.8); font-size: 0.875em; font-weight: 400; line-height: 1.5em; word-wrap: break-word;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-detail {display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-start; align-self: stretch; gap: 0.5em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-iv {display: flex; align-items: center; align-self: stretch; gap: 0.6875em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-iv .lbl {flex-shrink: 0; width: 5.625em; color: rgba(255, 255, 255, 0.6); font-size: 0.875em; font-weight: 500; line-height: 1.5em; word-wrap: break-word;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-iv .val {flex: 1 1 0; min-width: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.875em; font-weight: 400; line-height: 1.5em; word-wrap: break-word;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-logout {display: inline-flex; flex-shrink: 0; align-items: center; align-self: stretch; justify-content: center; gap: 0.5em; height: 2.125em; border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 0.875em; font-weight: 500; line-height: 1.2857142857em; text-decoration: none;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-logout:hover {background: rgba(255, 255, 255, 0.18); color: #fff;}
#wrapper .sidebar.sidebar-wbfs .sidebar-profile .prof-logout i {font-size: 1.1428571429em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry {position: relative; flex: 1 1 auto; align-self: stretch; min-height: 0; list-style: none; overflow-y: auto;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-nav {position: sticky; top: 0; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; gap: 1.5em; padding: 1em; overflow: hidden;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-group {display: flex; flex-direction: column; align-items: flex-start; gap: 0.25em; width: 100%;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-list {list-style: none; margin: 0; padding: 0; width: 100%;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-list li {list-style: none;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-head {box-sizing: border-box; display: flex; flex-shrink: 0; align-items: center; gap: 0.75em; min-height: 3em; width: 100%; padding: 0 1em; border-radius: 10px; background: rgba(0, 132, 255, 0.1); color: #fff; font-size: 1em; font-weight: 500; line-height: 1.5em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-head i {flex-shrink: 0; width: 1.25em; text-align: center; font-size: 1.125em; color: #fff;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-head span {flex: 1 1 0; min-width: 0; word-wrap: break-word;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-head.active {background: var(--primary-color);}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-list li.active .foundry-row {color: #fff;}

#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-row {box-sizing: border-box; display: flex; align-items: center; gap: 0.75em; width: 100%; padding: .8em 1em; border-radius: 10px; color: rgba(255, 255, 255, 0.7); font-size: 1em; font-weight: 500; line-height: 1.5em; text-decoration: none;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-row .txt {display: flex; flex: 1 1 0; align-items: center; min-width: 0; word-wrap: break-word;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-list li.foundry-row-mult .foundry-row .txt {align-items: flex-start; padding-top: 0.25em; padding-bottom: 0.25em;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-row .txt:before {content: '•'; margin-right:0.75em; color: rgba(255, 255, 255, 0.4);}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-row:after {content: ''; flex-shrink: 0; display: block; width: 1.1112em; height: 1.1112em; background: url('/images/common/sidebar-arrow.svg') no-repeat center center; background-size: 100% 100%;}
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-row .ico {flex-shrink: 0; width: 1em; margin-left: auto; font-size: 0.625em; color: rgba(255, 255, 255, 0.7); text-align: center; }
#wrapper .sidebar.sidebar-wbfs .sidebar-foundry .foundry-row:hover {background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.95);}
#wrapper .sidebar.sidebar-wbfs .sidebar-fmsi {margin-top: auto; flex-shrink: 0; list-style: none; padding: 1rem 0.875rem 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.15);}
#wrapper .sidebar.sidebar-wbfs .sidebar-fmsi .footer-txt {margin: 0; color: rgba(255, 255, 255, 0.45); font-size: 0.6875em; font-weight: 600; letter-spacing: 0.04em; text-align: center; line-height: 1.45em;}
