/* AXWorks OneSign v114 stage-focused commercial UX layer */
:root{--commercial-primary:var(--blue,#0b78c8);--commercial-line:#d9e7f4;--commercial-ink:#0b1b35;--commercial-shadow:0 14px 34px rgba(15,46,78,.08)}
html[data-product-commercial="114"] body{background:#eef6fd;color:var(--commercial-ink)}
html[data-product-commercial="114"] .btn{min-height:46px;border-radius:14px;font-weight:800;letter-spacing:-.02em}
html[data-product-commercial="114"] .card,html[data-product-commercial="114"] .panel{border-radius:22px;box-shadow:var(--commercial-shadow);border-color:var(--commercial-line)}
html[data-product-commercial="114"] .landing-header .nav-menu a[href="#intro"],html[data-product-commercial="114"] .landing-header .nav-menu a[href="#services"],html[data-product-commercial="114"] .landing-header .nav-menu [data-tenant-link="equipment"],html[data-product-commercial="114"] .landing-header .nav-menu a[href="/contract/#settings"]{display:none!important}
html[data-product-commercial="114"] .landing-header .nav-menu{margin-left:auto;gap:8px}
html[data-product-commercial="114"] .landing-header .nav-menu a{padding:12px 16px;border:1px solid #d7e5f1;border-radius:14px;background:#fff}
html[data-product-commercial="114"] .landing-header .nav-menu a[data-tenant-link="contract"]{background:var(--commercial-primary);color:#fff;border-color:transparent}
html[data-product-commercial="114"] .landing-hero-actions .btn{min-width:200px}
html[data-product-commercial="114"] .topbar{position:sticky;top:0;z-index:40;box-shadow:0 8px 24px rgba(19,57,93,.07)}
html[data-product-commercial="114"] .top-actions{gap:8px}
html[data-product-commercial="114"] .top-actions .nav-back-btn,html[data-product-commercial="114"] .top-actions [data-new-contract]{display:none!important}
html[data-product-commercial="114"] #page-home{display:none!important}
html[data-product-commercial="114"] .page-title-row h2{font-size:clamp(28px,3vw,44px);letter-spacing:-.045em}
html[data-product-commercial="114"] .bottom-bar{position:sticky;bottom:10px;z-index:32;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border:1px solid #d8e8f5;box-shadow:0 14px 30px rgba(14,50,84,.13);border-radius:20px;padding:12px}
html[data-product-commercial="114"] .bottom-bar .btn.primary{min-height:54px}
html[data-product-commercial="114"] #page-settings .page-title-row::before{content:'관리자 영역';display:inline-flex;padding:7px 11px;border-radius:999px;background:#fff4de;color:#925100;font-weight:900;font-size:13px;margin-bottom:10px}
html[data-product-commercial="114"] #page-settings .setting-actions{position:sticky;bottom:12px;background:rgba(255,255,255,.96);padding:10px;border-radius:16px;border:1px solid #d8e8f5;z-index:20}
html[data-product-commercial="114"] .workspace-sidebar .tenant-card,html[data-product-commercial="114"] .workspace-nav a[data-tenant-link="equipment"],html[data-product-commercial="114"] .mobile-launch{display:none!important}
html[data-product-commercial="114"] .workspace-quick-summary{margin-top:0}
html[data-product-commercial="114"] .workspace-topbar .topbar-actions>a{display:none!important}
html[data-product-commercial="114"] .ghost-copy,html[data-product-commercial="114"] .ghost-delete{font-size:13px;opacity:.72}
html[data-product-commercial="114"] .ghost-delete{color:#9b2c2c!important}
.commercial-status-guide{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;border:1px solid #d8e8f5;border-radius:14px;background:#f7fbff;color:#52657a;font-size:13px}.commercial-status-guide b{color:#0b1b35}
.ax-commercial-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(12px);z-index:9999;background:#0b1b35;color:#fff;padding:13px 18px;border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.22);max-width:min(90vw,620px);opacity:0;pointer-events:none;transition:.18s ease;font-weight:750}.ax-commercial-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:900px){html[data-product-commercial="114"] .landing-header .nav-menu{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-top:8px}html[data-product-commercial="114"] .landing-header .nav-menu a{font-size:14px;text-align:center;padding:10px}html[data-product-commercial="114"] .topbar{position:relative}html[data-product-commercial="114"] .top-actions{display:grid!important;grid-template-columns:repeat(3,1fr);width:100%}html[data-product-commercial="114"] .top-actions .btn,html[data-product-commercial="114"] .top-actions a{width:100%;min-width:0;padding:10px 7px;font-size:13px;text-align:center}html[data-product-commercial="114"] .workspace-sidebar{position:static;width:auto;min-height:auto;padding:12px 14px}html[data-product-commercial="114"] .workspace-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}html[data-product-commercial="114"] .workspace-nav a{min-width:0;padding:11px 7px;justify-content:center;text-align:center}html[data-product-commercial="114"] .workspace-nav .nav-icon{display:none}html[data-product-commercial="114"] .workspace-main{margin-left:0!important;width:100%}html[data-product-commercial="114"] .workspace-topbar{padding:16px}html[data-product-commercial="114"] .topbar-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}html[data-product-commercial="114"] .topbar-actions .search-box{grid-column:span 2}}
@media(max-width:620px){html[data-product-commercial="114"] .landing-hero-actions{display:grid;grid-template-columns:1fr}html[data-product-commercial="114"] .landing-hero-actions .btn{width:100%;min-width:0}html[data-product-commercial="114"] .top-actions{grid-template-columns:1fr 1fr}html[data-product-commercial="114"] .top-actions .settings-link{grid-column:span 2}html[data-product-commercial="114"] .workspace-nav{grid-template-columns:1fr 1fr}html[data-product-commercial="114"] .workspace-nav a[href="/contract/#settings"]{grid-column:span 2}html[data-product-commercial="114"] .workspace-quick-summary .quick-summary-metrics{grid-template-columns:1fr 1fr}}

/* v114 stage-focus: 현재 단계 기능 + 포털만 노출 */
html[data-product-commercial="114"] .topbar .top-actions > *{display:none!important}
html[data-product-commercial="114"] .topbar .top-actions > .portal-link{display:inline-flex!important;order:1!important}
html[data-product-commercial="114"] .topbar .top-actions{display:flex!important;width:auto!important;grid-template-columns:none!important;margin-left:auto!important}
html[data-product-commercial="114"] .topbar .top-actions .portal-link{min-width:92px!important}
html[data-product-commercial="114"][data-active-page="editor"] .topbar .top-actions{display:flex!important}
html[data-product-commercial="114"] .rc-editor-bottom-navigation > *{display:none!important}
html[data-product-commercial="114"] .rc-editor-bottom-navigation > .portal-link{display:flex!important}
html[data-product-commercial="114"] .rc-editor-bottom-navigation{grid-template-columns:minmax(180px,320px)!important;justify-content:center!important}
html[data-product-commercial="114"] #page-photos > .page-title-row > [data-nav="editor"]{display:none!important}
html[data-product-commercial="114"] #page-confirm .confirm-page-actions > *{display:none!important}
html[data-product-commercial="114"] #page-confirm .confirm-page-actions > .confirm-edit-btn{display:inline-flex!important}
html[data-product-commercial="114"] #page-confirm .confirm-bottom-nav > *{display:none!important}
html[data-product-commercial="114"] #page-confirm .confirm-bottom-nav > .portal-link{display:flex!important}
html[data-product-commercial="114"] #page-confirm .confirm-bottom-nav{grid-template-columns:minmax(180px,320px)!important;justify-content:center!important}
html[data-product-commercial="114"] #page-result .result-page-actions > *{display:none!important}
html[data-product-commercial="114"] #page-result .result-page-actions > .portal-link{display:inline-flex!important}
html[data-product-commercial="114"] #page-settings .rc-settings-nav > *{display:none!important}
html[data-product-commercial="114"] #page-settings .rc-settings-nav > .portal-link{display:inline-flex!important}
html[data-product-commercial="114"] #page-template .page-title-row [data-new-contract]{display:none!important}
html[data-product-commercial="114"] .workspace-nav a{display:none!important}
html[data-product-commercial="114"] .workspace-nav a[data-tenant-link="home"],html[data-product-commercial="114"] .workspace-nav a[data-tenant-link="contract"]{display:flex!important}
html[data-product-commercial="114"] .workspace-topbar .topbar-actions>a{display:none!important}
html[data-product-commercial="114"] .workspace-topbar .topbar-actions>a[data-tenant-link="home"],html[data-product-commercial="114"] .workspace-topbar .topbar-actions>a[data-tenant-link="contract"]{display:inline-flex!important}
html[data-product-commercial="114"] .recent-filter a[data-tenant-link="contract"]{display:none!important}
html[data-product-commercial="114"] #goConfirmBtn,html[data-product-commercial="114"] #goConfirmFromPhotosBtn,html[data-product-commercial="114"] #makeClientLinkBtn,html[data-product-commercial="114"] #finalizeBtn,html[data-product-commercial="114"] #verifyOtpBtn,html[data-product-commercial="114"] #submitClientSignBtn{box-shadow:0 10px 22px rgba(11,120,200,.18)}
@media(max-width:900px){html[data-product-commercial="114"] .topbar{position:sticky!important;top:0!important}html[data-product-commercial="114"] .topbar .top-actions{display:flex!important;width:auto!important;margin-left:auto!important}html[data-product-commercial="114"] .topbar .top-actions .portal-link{width:auto!important;min-width:84px!important;padding:10px 14px!important}html[data-product-commercial="114"] .workspace-nav{grid-template-columns:1fr 1fr!important}html[data-product-commercial="114"] .workspace-topbar .topbar-actions{grid-template-columns:1fr 1fr!important}html[data-product-commercial="114"] .workspace-topbar .topbar-actions .search-box{grid-column:1/-1!important}}
@media(max-width:620px){html[data-product-commercial="114"] .topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}html[data-product-commercial="114"] .topbar .brand{min-width:0!important}html[data-product-commercial="114"] .topbar .brand span{min-width:0!important}html[data-product-commercial="114"] .topbar .top-actions{grid-column:auto!important;display:flex!important;width:auto!important}html[data-product-commercial="114"] .topbar .top-actions .portal-link{min-height:44px!important}html[data-product-commercial="114"] #page-confirm .confirm-page-actions,html[data-product-commercial="114"] #page-result .result-page-actions,html[data-product-commercial="114"] #page-settings .rc-settings-nav{display:flex!important;width:100%!important}html[data-product-commercial="114"] #page-confirm .confirm-page-actions > .confirm-edit-btn,html[data-product-commercial="114"] #page-result .result-page-actions > .portal-link,html[data-product-commercial="114"] #page-settings .rc-settings-nav > .portal-link{width:100%!important;justify-content:center!important}}
