@charset "UTF-8";

:root {
    --ink: #292929;
    --accent: #ff861f;
    --line: #e8e2dd;
    --muted: #66615d;
    --paper: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.oryx-page {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.7 Arial, "Malgun Gothic", sans-serif;
}

.oryx-page a,
.oryx-login a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1240px;
    margin: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 108px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font: bold 32px/1.2 Arial, sans-serif;
    letter-spacing: -1px;
}

.brand span {
    font: 14px/1.4 Arial, "Malgun Gothic", sans-serif;
    letter-spacing: 0;
    border-left: 1px solid currentColor;
    padding-left: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    border: 0;
    background: var(--ink);
    color: white !important;
    padding: 16px 25px;
    font: 700 16px/1.5 Arial, "Malgun Gothic", sans-serif;
    cursor: pointer;
    border-radius: 4px;
}

.button.small {
    padding: 12px 20px;
    font-size: 14px;
}

.button:hover {
    background: #ab4200;
}

.hero {
    padding-top: 82px;
    padding-bottom: 45px;
}

.eyebrow {
    font: 700 13px/1.5 Arial, sans-serif;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(40px, 5.8vw, 76px);
    line-height: 1.3;
    letter-spacing: -3px;
    margin: 30px 0 38px;
    font-weight: 600;
    word-break: keep-all;
}

.hero h1 em {
    font-style: normal;
    color: #d85a08;
}

.hero-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
}

.hero-bottom p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--muted);
}

.textlink {
    font-weight: bold;
    font-size: 15px;
}

.hero-line {
    height: 9px;
    background: var(--ink);
    margin-top: 58px;
    position: relative;
}

.hero-line:after {
    content: "";
    position: absolute;
    right: 0;
    width: 21%;
    height: 100%;
    background: var(--accent);
}

.route {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font: 12px/1.5 Arial;
    letter-spacing: 2px;
}

.services {
    padding-top: 76px;
    padding-bottom: 70px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
    gap: 20px;
}

.section-top h2,
.staff h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 12px 0 0;
}

.section-top p,
.staff p {
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cards article {
    padding: 30px 28px 34px;
    border-right: 1px solid var(--line);
}

.cards article:first-child {
    padding-left: 0;
}

.cards article:last-child {
    border: 0;
}

.number {
    font: 14px Arial;
    color: var(--muted);
}

.cards h3 {
    font-size: 23px;
    margin: 38px 0 14px;
    letter-spacing: -1px;
}

.cards p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.9;
    word-break: keep-all;
}

.tag {
    display: block;
    margin-top: 35px;
    font: 11px/1.5 Arial;
    letter-spacing: 1px;
}

.staff {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding-top: 35px;
    padding-bottom: 50px;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    padding-bottom: 30px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.oryx-login {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background: #fff;
    color: var(--ink);
    font: 16px/1.7 Arial, "Malgun Gothic", sans-serif;
}

.oryx-login .login-brand {
    background: var(--ink);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 60px;
}

.login-brand h1 {
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.5;
    letter-spacing: -2px;
    margin: 22px 0;
}

.login-brand p {
    color: #e6d9d0;
    font-size: 17px;
}

.login-brand .eyebrow {
    color: var(--accent);
}

.login-caption {
    font-size: 12px;
    letter-spacing: 2px;
}

.login-panel {
    padding: 48px 65px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-panel .back {
    font-size: 14px;
}

.login-form {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
}

.login-form h2 {
    font-size: 34px;
    margin: 15px 0;
    letter-spacing: -1px;
}

.login-form > p {
    color: var(--muted);
    font-size: 15px;
}

.login-form form {
    margin-top: 32px;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin: 19px 0 8px;
}

.login-form input:not([type=hidden]) {
    display: block;
    width: 100%;
    min-height: 54px;
    border: 1px solid #cfc5bd;
    border-radius: 4px;
    background: white;
    color: var(--ink);
    font-size: 17px;
    padding: 12px 14px;
}

.login-form .button {
    width: 100%;
    margin-top: 26px;
}

.login-form .login-note {
    font-size: 14px;
    margin-top: 23px;
}

.panel-footer {
    color: var(--muted);
    font-size: 13px;
}

.install-button {
    border: 1px solid var(--ink);
    background: white;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 4px;
    color: var(--ink);
    cursor: pointer;
}

.install-help {
    font-size: 14px !important;
    color: var(--muted);
}

[hidden] {
    display: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #c65000;
    outline-offset: 4px;
}

.workspace,
.denied {
    padding-top: 65px;
    padding-bottom: 100px;
    min-height: 75vh;
}

.workspace h1,
.denied h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.4;
}

.notice {
    border: 1px solid var(--line);
    padding: 25px 30px;
    margin: 35px 0;
}

.notice h2 {
    font-size: 22px;
}

.notice p {
    color: var(--muted);
}

@media (max-width: 800px) {
    .wrap {
        padding-left: 22px;
        padding-right: 22px;
    }

    .nav {
        min-height: 85px;
    }

    .brand {
        font-size: 26px;
        gap: 12px;
    }

    .brand span {
        font-size: 12px;
        padding-left: 12px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-bottom,
    .section-top,
    .staff {
        align-items: start;
        flex-direction: column;
    }

    .hero-bottom p {
        font-size: 16px;
    }

    .hero-line {
        margin-top: 36px;
    }

    .services {
        padding-top: 48px;
        padding-bottom: 30px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .cards article,
    .cards article:first-child {
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .cards h3 {
        margin-top: 18px;
    }

    .tag {
        margin-top: 20px;
    }

    .footer {
        flex-direction: column;
        gap: 6px;
    }

    .oryx-login {
        grid-template-columns: 1fr;
    }

    .oryx-login .login-brand {
        padding: 28px 24px;
        gap: 25px;
    }

    .login-brand h1 {
        font-size: 30px;
        margin: 15px 0;
    }

    .login-brand p,
    .login-caption {
        display: none;
    }

    .login-panel {
        padding: 25px 24px 30px;
    }

    .login-form {
        margin: 30px auto;
    }

    .login-form h2 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ORYX orange brand */
.oryx-page .nav {
    border-bottom: 1px solid #f58220;
}

.brand {
    color: #d45b06 !important;
}

.oryx-login .login-brand .brand {
    color: #ff942f !important;
}

.button {
    background: #c65308;
}

.button:hover {
    background: #a84200;
}

.hero-line {
    background: #f58220;
}

.hero-line:after {
    background: #292929;
}

.hero h1 em {
    color: #d45b06;
}

.oryx-login .login-brand {
    background: #292929;
    border-top: 7px solid #f58220;
}

.oryx-login .login-brand .eyebrow {
    color: #ff942f;
}

.number {
    color: #c65308;
}

.staff {
    background: #fff6ee;
}

.install-button {
    border-color: #c65308;
    color: #a84200;
}

.login-form > .eyebrow {
    color: #c65308;
}

/* 로그인 화면 반응형 보완 */
.oryx-login {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    text-align: left;
}

.oryx-login,
.oryx-login input,
.oryx-login button {
    font-family: Arial, "Malgun Gothic", sans-serif;
}

.oryx-login > *,
.oryx-login .login-form {
    min-width: 0;
}

.oryx-login .login-brand {
    padding: 48px clamp(28px, 4vw, 70px);
    gap: 40px;
}

.oryx-login .brand {
    max-width: 100%;
    flex-wrap: wrap;
}

.oryx-login .login-brand h1 {
    margin: 22px 0;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.45;
    letter-spacing: -1.5px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.oryx-login .login-brand p {
    margin: 0;
    line-height: 1.8;
}

.oryx-login .login-panel {
    padding: 40px clamp(24px, 4vw, 65px);
    gap: 24px;
}

.oryx-login .back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.875rem;
}

.oryx-login .login-form {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 32px 0;
}

.oryx-login .login-form h2 {
    margin: 12px 0;
    font-size: 2.125rem;
    line-height: 1.4;
}

.oryx-login .login-form > p {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.oryx-login .login-form form {
    margin: 28px 0 0;
    padding: 0;
}

.oryx-login .login-form label {
    display: block;
    margin: 20px 0 8px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.oryx-login .login-form input:not([type="hidden"]) {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 54px;
    margin: 0;
    padding: 14px;
    border: 1px solid #cfc5bd;
    border-radius: 6px;
    background: #fff;
    color: #292929;
    font-size: 1rem;
    line-height: 1.5;
}

.oryx-login .login-form input:focus {
    border-color: #c65308;
}

.oryx-login .login-form .button {
    width: 100%;
    min-height: 54px;
    height: auto;
    margin-top: 28px;
    padding: 14px 20px;
    font-size: 1rem;
    line-height: 1.5;
    white-space: normal;
}

.oryx-login .login-form .login-note {
    margin: 22px 0;
    font-size: 0.875rem;
    line-height: 1.8;
}

.oryx-login .install-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: normal;
}

.oryx-login .login-form .install-help {
    margin: 14px 0 0;
    font-size: 0.875rem !important;
    line-height: 1.7;
}

.oryx-login .install-help:empty {
    display: none;
}

.oryx-login .panel-footer {
    margin-top: auto;
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* 태블릿 · 모바일 */
@media (max-width: 900px) {
    .oryx-login {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }

    .oryx-login .login-brand {
        padding: 26px 32px;
        gap: 22px;
        border-top-width: 5px;
    }

    .oryx-login .login-brand h1 {
        margin: 12px 0 0;
        font-size: 1.875rem;
        line-height: 1.45;
        letter-spacing: -1px;
    }

    .oryx-login .login-brand p,
    .oryx-login .login-caption {
        display: none;
    }

    .oryx-login .login-panel {
        padding: 20px 32px 28px;
        gap: 12px;
    }

    .oryx-login .login-form {
        max-width: 480px;
        margin: 0 auto;
        padding: 16px 0 28px;
    }

    .oryx-login .login-form h2 {
        font-size: 1.75rem;
    }

    .oryx-login .panel-footer {
        width: 100%;
        max-width: 480px;
        margin: auto auto 0;
    }
}

/* 스마트폰 */
@media (max-width: 480px) {
    .oryx-login .login-brand {
        padding: 20px;
        gap: 16px;
    }

    .oryx-login .brand {
        gap: 12px;
        font-size: 1.625rem;
    }

    .oryx-login .brand span {
        padding-left: 12px;
        font-size: 0.875rem;
    }

    .oryx-login .login-brand .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .oryx-login .login-brand h1 {
        margin-top: 10px;
        font-size: 1.5rem;
        line-height: 1.5;
        letter-spacing: -0.5px;
    }

    .oryx-login .login-panel {
        padding: 12px 20px 24px;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .oryx-login .login-form {
        padding-top: 8px;
    }

    .oryx-login .login-form h2 {
        margin: 10px 0;
        font-size: 1.625rem;
    }

    .oryx-login .login-form form {
        margin-top: 22px;
    }
}

/* 휴대폰에서는 소개 영역을 숨기고 로그인폼만 표시 */
@media (max-width: 767px) {
    .oryx-login > .login-brand {
        display: none;
    }

    .oryx-login {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 1fr;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .oryx-login .login-panel {
        width: 100%;
        min-width: 0;
        padding: 20px 24px 28px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .oryx-login .login-form {
        width: 100%;
        max-width: 420px;
        margin: auto;
        padding: 30px 0;
    }

    .oryx-login .panel-footer {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* =========================================================
   ORYX 업무 공통 HEADER
========================================================= */
  /* =========================================================
   ORYX 업무 공통 HEADER
   PC : 로고 + 메뉴 전체 가운데
========================================================= */

.sc-header {
    position: relative;

    width: 100%;
    min-height: 74px;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-bottom: 1px solid #e8e3df;
    background: #fff;

    box-sizing: border-box;
}


/* =========================================================
   로고
========================================================= */

.sc-logo {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    margin: 0 42px 0 0;

    color: inherit;
    text-decoration: none;
}

.sc-logo img {
    display: block;

    width: 90px;
    height: auto;
}


/* =========================================================
   메뉴
   로고와 같은 flex 흐름에 두어
   로고 + 메뉴 전체가 화면 가운데
========================================================= */

.sc-menu {
    position: static;

    display: flex;
    align-items: stretch;
    justify-content: center;

    height: 74px;

    margin: 0;
    padding: 0;

    gap: 4px;

    transform: none;
}

.sc-menu a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 74px;

    padding: 0 20px;

    color: #403b37;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
    white-space: nowrap;

    transition:
        color .15s ease,
        background-color .15s ease;
}

.sc-menu a:hover {
    color: #c65308;
    background: #fff8f2;
}


/* 현재 메뉴 */
.sc-menu a[aria-current="page"] {
    color: #c65308;
    font-weight: 700;
}

.sc-menu a[aria-current="page"]::after {
    content: "";

    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 0;

    height: 3px;

    background: #c65308;
}


/* =========================================================
   사용자 / 로그아웃
   가운데 배치 계산에서 제외하고 오른쪽 고정
========================================================= */

.sc-user {
    position: absolute;

    top: 50%;
    right: 32px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;

    gap: 13px;

    margin: 0;
    padding: 0;

    white-space: nowrap;
}

.sc-name {
    color: #55504c;

    font-size: 13px;
    line-height: 1.4;
}

.sc-user a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 6px 12px;

    border: 1px solid #ddd6d0;
    border-radius: 5px;

    background: #fff;
    color: #5c5652;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;

    transition:
        color .15s ease,
        border-color .15s ease,
        background-color .15s ease;
}

.sc-user a:hover {
    border-color: #c65308;

    background: #fff8f2;
    color: #c65308;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .sc-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sc-logo {
        margin-right: 24px;
    }

    .sc-logo img {
        width: 82px;
    }

    .sc-menu {
        gap: 2px;
    }

    .sc-menu a {
        padding-left: 12px;
        padding-right: 12px;

        font-size: 13px;
    }

    .sc-user {
        right: 20px;

        gap: 8px;
    }

    .sc-name {
        font-size: 12px;
    }

    .sc-user a {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 11px;
    }
}


/* =========================================================
   좁은 태블릿
   가운데 메뉴와 사용자 영역이 겹치지 않게 조정
========================================================= */

@media (max-width: 900px) and (min-width: 768px) {

    .sc-header {
        min-height: 68px;
    }

    .sc-logo {
        margin-right: 14px;
    }

    .sc-logo img {
        width: 74px;
    }

    .sc-menu {
        height: 68px;
    }

    .sc-menu a {
        height: 68px;

        padding-left: 8px;
        padding-right: 8px;

        font-size: 12px;
    }

    .sc-user {
        right: 12px;
    }

    .sc-name {
        display: none;
    }
}


/* =========================================================
   MOBILE / PWA
========================================================= */

@media (max-width: 767px) {

    .sc-header {
        position: relative;

        display: grid;
        grid-template-columns: 1fr auto;

        min-height: 0;

        padding: 13px 14px 0;

        justify-content: normal;
    }


    /* 모바일 상단 로고 */
    .sc-logo {
        grid-column: 1;
        grid-row: 1;

        margin: 0;

        justify-self: start;
    }

    .sc-logo img {
        width: 78px;
    }


    /* 모바일 사용자 */
    .sc-user {
        position: static;

        grid-column: 2;
        grid-row: 1;

        justify-self: end;

        transform: none;

        margin: 0;
        padding: 0;

        gap: 8px;
    }

    .sc-name {
        display: inline;

        font-size: 12px;
    }

    .sc-user a {
        min-height: 31px;

        padding: 5px 9px;

        font-size: 11px;
    }


    /* 모바일 메뉴 */
    .sc-menu {
        position: static;

        grid-column: 1 / -1;
        grid-row: 2;

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));

        width: calc(100% + 28px);
        height: auto;

        margin: 12px -14px 0;
        padding: 0;

        gap: 0;

        transform: none;

        border-top: 1px solid #eee8e3;
    }

    .sc-menu a {
        height: 46px;

        padding: 0 3px;

        font-size: 13px;

        border-right: 1px solid #f0ebe7;
    }

    .sc-menu a:last-child {
        border-right: 0;
    }

    .sc-menu a[aria-current="page"] {
        background: #fff8f2;
    }

    .sc-menu a[aria-current="page"]::after {
        left: 8px;
        right: 8px;

        height: 3px;
    }
}


/* =========================================================
   작은 휴대폰
========================================================= */

@media (max-width: 390px) {

    .sc-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .sc-logo img {
        width: 70px;
    }

    .sc-name {
        display: none;
    }

    .sc-menu {
        width: calc(100% + 24px);

        margin-left: -12px;
        margin-right: -12px;
    }

    .sc-menu a {
        font-size: 12px;
    }
}