:root {
    --bg: #f7faf5;
    --paper: #fff;
    --ink: #202923;
    --muted: #6b746d;
    --line: #dfe5db;
    --green: #23734d;
    --green-dark: #145a39;
    --green-soft: #eaf5ed;
    --yellow: #f2c84b;
    --orange: #e99043;
    --blue: #4778b8;
    --red: #d95c4a;
    --soft: #eef3ea;
    --r: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
}

.app-sidebar {
    background: #fbfdf8;
    color: var(--ink);
    border-right: 1px solid var(--line);
    padding: 18px 14px;
}

.app-logo {
    min-height: 62px;
    margin-bottom: 16px;
    border: 1px solid #d7e4d4;
    border-radius: var(--r);
    background: linear-gradient(135deg, #ffffff, #edf7ed);
    padding: 13px 14px;
}

.app-logo strong {
    display: block;
    font-size: 18px;
    color: var(--green-dark);
}

.app-logo span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.app-nav {
    display: grid;
    gap: 6px;
}

.app-nav-item {
    min-height: 40px;
    border-radius: var(--r);
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #3b473f;
    font-size: 14px;
    border: 1px solid transparent;
}

.app-nav-item:hover {
    background: var(--green-soft);
    border-color: #cce1cf;
    color: var(--green-dark);
}

.app-main {
    min-width: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.76), rgba(247,250,245,.92) 220px),
        var(--bg);
}

.app-topbar {
    min-height: 76px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(10px);
}

.app-topbar h1 {
    margin: 0;
    font-size: 20px;
}

.app-topbar p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.app-user {
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    color: var(--green-dark);
}

.app-content {
    padding: 22px;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--paper);
    padding: 16px;
    box-shadow: 0 8px 24px rgba(30, 42, 34, .04);
}

@media (max-width: 860px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        position: sticky;
        top: 0;
        z-index: 10;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 10px;
    }

    .app-logo {
        min-height: auto;
        margin-bottom: 8px;
        padding: 10px 12px;
    }

    .app-nav {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .app-nav-item {
        flex: 0 0 auto;
        background: #fff;
        border-color: var(--line);
    }
}

/* ERP renewal shell */
.app-frame {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 58px 1fr;
    background: #f3f5f7;
}

.app-header {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    background: #fff;
    border-bottom: 1px solid #d9e0e7;
    white-space: nowrap;
}

.app-brand {
    min-width: 210px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: var(--r);
    display: grid;
    place-items: center;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.app-brand strong,
.app-brand em {
    display: block;
    font-style: normal;
    line-height: 1.15;
}

.app-brand strong {
    font-size: 16px;
}

.app-brand em {
    margin-top: 2px;
    color: #697887;
    font-size: 11px;
}

.app-branch-filter,
.app-header-btn,
.app-user-chip {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #d9e0e7;
    border-radius: var(--r);
    background: #fff;
    padding: 0 10px;
    color: #314052;
    font-size: 13px;
    font-weight: 800;
}

.app-branch-filter {
    background: #f8fafc;
}

.app-branch-filter span {
    color: #697887;
}

.app-role-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid #d9e0e7;
    border-radius: var(--r);
    background: #f2f5f8;
}

.app-role-filter a,
.app-role-empty {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 6px;
    color: #4a5968;
    font-size: 13px;
    font-weight: 800;
}

.app-role-filter a.active {
    color: #2563eb;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 30, 40, .12);
}

.app-header-spacer {
    flex: 1 1 auto;
}

.app-user-chip {
    background: #eaf1ff;
    color: #2563eb;
}

.app-body {
    min-height: 0;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
}

.app-frame .app-sidebar {
    min-height: 0;
    overflow: auto;
    background: #fff;
    border-right: 1px solid #d9e0e7;
    padding: 14px 10px;
}

.app-sidebar-toggle {
    width: 100%;
    height: 36px;
    border: 1px solid #d9e0e7;
    border-radius: var(--r);
    background: #f8fafc;
    color: #405062;
    font-weight: 900;
    text-align: left;
    padding: 0 11px;
    margin-bottom: 12px;
}

.app-frame .app-nav {
    display: grid;
    gap: 6px;
}

.app-frame .app-nav-item {
    min-height: 38px;
    border-radius: var(--r);
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #344455;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid transparent;
}

.app-frame .app-nav-item:hover,
.app-frame .app-nav-item:first-child {
    background: #eef4ff;
    border-color: #d7e4ff;
    color: #2563eb;
}

.app-frame .app-nav-item span {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #edf2f7;
    color: #526273;
    font-size: 11px;
    font-weight: 900;
}

.app-frame .app-nav-item strong {
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-frame .app-main {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    background: #f3f5f7;
}

.app-page-head {
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 14px 18px 0;
}

.app-page-head h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0;
}

.app-page-head p {
    margin: 3px 0 0;
    color: #697887;
    font-size: 12px;
}

.app-frame .app-content {
    padding: 16px 18px 20px;
}

.app-frame.is-sidebar-collapsed .app-body {
    grid-template-columns: 72px minmax(0, 1fr);
}

.app-frame.is-sidebar-collapsed .app-sidebar-toggle {
    font-size: 0;
    text-align: center;
    padding: 0;
}

.app-frame.is-sidebar-collapsed .app-sidebar-toggle::before {
    content: "☰";
    font-size: 16px;
}

.app-frame.is-sidebar-collapsed .app-nav-item {
    justify-content: center;
    padding: 0;
}

.app-frame.is-sidebar-collapsed .app-nav-item strong {
    display: none;
}

.erp-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .9fr);
    gap: 14px;
    align-items: start;
}

.erp-panel {
    background: #fff;
    border: 1px solid #d9e0e7;
    border-radius: var(--r);
    overflow: hidden;
}

.erp-panel-head {
    min-height: 46px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #d9e0e7;
    background: #fbfcfe;
}

.erp-panel-head h2 {
    margin: 0;
    font-size: 15px;
}

.erp-panel-head span {
    color: #697887;
    font-size: 12px;
    font-weight: 800;
}

.erp-panel-body {
    padding: 14px;
}

.erp-left-stack,
.erp-right-stack {
    display: grid;
    gap: 14px;
}

.erp-task-summary,
.erp-today-grid,
.erp-workbench {
    display: grid;
    gap: 10px;
}

.erp-task-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 12px;
}

.erp-today-grid,
.erp-workbench {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.erp-summary-card,
.erp-today-card,
.erp-bench-card,
.erp-flow-item {
    border: 1px solid #d9e0e7;
    border-radius: var(--r);
    background: #fff;
}

.erp-summary-card {
    min-height: 92px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.erp-summary-card label,
.erp-today-card label {
    color: #697887;
    font-size: 12px;
    font-weight: 900;
}

.erp-summary-card strong {
    font-size: 24px;
}

.erp-summary-card small,
.erp-today-card small {
    color: #697887;
    font-size: 12px;
}

.erp-card-blue {
    background: #eaf1ff;
    border-color: #cddcff;
}

.erp-card-green {
    background: #e9f8f1;
    border-color: #bfe7d3;
}

.erp-card-warn {
    background: #fff5e6;
    border-color: #ffe2b8;
}

.erp-card-red {
    background: #fff0f0;
    border-color: #ffc9c9;
}

.erp-task-list {
    border: 1px solid #d9e0e7;
    border-radius: var(--r);
    overflow: hidden;
}

.erp-task-row {
    display: grid;
    grid-template-columns: 96px 1fr 78px 74px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid #d9e0e7;
    font-size: 13px;
}

.erp-task-row:first-child {
    border-top: 0;
    background: #f8fafc;
    color: #697887;
    font-size: 12px;
    font-weight: 900;
}

.erp-badge {
    min-width: 52px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 900;
}

.erp-badge.blue {
    background: #eaf1ff;
    color: #2563eb;
}

.erp-badge.green {
    background: #e9f8f1;
    color: #11845b;
}

.erp-badge.warn {
    background: #fff5e6;
    color: #b45309;
}

.erp-badge.red {
    background: #fff0f0;
    color: #c83d3d;
}

.erp-today-card {
    min-height: 78px;
    padding: 11px;
}

.erp-today-card strong {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.35;
}

.erp-bench-card {
    padding: 12px;
}

.erp-bench-card h3 {
    margin: 0 0 10px;
    font-size: 14px;
}

.erp-bench-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 7px;
}

.erp-bench-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #3d4d5e;
    font-size: 13px;
}

.erp-flow-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 11px;
}

.erp-flow-tabs span {
    border: 1px solid #d9e0e7;
    background: #f8fafc;
    border-radius: 999px;
    padding: 6px 9px;
    color: #405062;
    font-size: 12px;
    font-weight: 900;
}

.erp-flow-list {
    display: grid;
    gap: 8px;
}

.erp-flow-item {
    display: grid;
    grid-template-columns: 70px 1fr 58px;
    gap: 8px;
    align-items: center;
    padding: 10px;
    font-size: 13px;
}

.erp-flow-item time {
    color: #697887;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .app-frame .app-body {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .app-sidebar-toggle {
        font-size: 0;
        text-align: center;
        padding: 0;
    }

    .app-sidebar-toggle::before {
        content: "☰";
        font-size: 16px;
    }

    .app-frame .app-nav-item {
        justify-content: center;
        padding: 0;
    }

    .app-frame .app-nav-item strong {
        display: none;
    }

    .erp-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .app-frame {
        grid-template-rows: auto 1fr;
    }

    .app-header {
        overflow-x: auto;
        padding: 10px 12px;
    }

    .app-frame .app-body {
        grid-template-columns: 1fr;
    }

    .app-frame .app-sidebar {
        display: none;
    }

    .erp-task-summary,
    .erp-today-grid,
    .erp-workbench {
        grid-template-columns: 1fr;
    }

    .erp-task-row,
    .erp-flow-item {
        grid-template-columns: 1fr;
    }
}

.gate-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(35, 115, 77, .10), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(242, 200, 75, .18), transparent 32%),
        var(--bg);
}

.gate-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(360px, 1fr);
    gap: 34px;
    align-items: center;
    padding: 32px;
}

.gate-phone {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid rgba(32, 41, 35, .08);
    border-radius: 28px;
    box-shadow: 0 18px 44px rgba(30, 42, 34, .10);
    overflow: hidden;
}

.gate-head {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: #fbfcf8;
}

.gate-status {
    display: flex;
    justify-content: space-between;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.gate-brand {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.gate-brand h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1.12;
    color: var(--green-dark);
}

.gate-brand p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.space-status {
    flex: 0 0 auto;
    display: grid;
    gap: 6px;
    justify-items: end;
}

.space-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 9px;
    font-size: 11px;
    font-weight: 800;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.space-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.space-chip.is-open {
    color: var(--green-dark);
    border-color: #cde7d8;
    background: #f1f8f3;
}

.space-chip.is-open::before {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(35, 115, 77, .13);
}

.space-chip.is-closed {
    color: #8a5a18;
    border-color: #f0dda9;
    background: #fff9e7;
}

.space-chip.is-closed::before {
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(242, 200, 75, .18);
}

.gate-visual {
    position: relative;
    margin-top: 16px;
    min-height: 132px;
    border-radius: 16px;
    padding: 16px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 84% 58%, rgba(255, 255, 255, .16), transparent 28%),
        linear-gradient(135deg, rgba(20, 90, 57, .97), rgba(35, 115, 77, .78)),
        var(--green);
}

.gate-visual::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -42px;
    width: 150px;
    height: 118px;
    border-radius: 999px;
    border: 10px solid rgba(255, 255, 255, .26);
    background:
        radial-gradient(circle at 50% 50%, #faf9f0 0 32%, transparent 33%),
        radial-gradient(circle at 38% 45%, #d95c4a 0 7%, transparent 8%),
        radial-gradient(circle at 58% 55%, #f2c84b 0 7%, transparent 8%),
        radial-gradient(circle at 47% 62%, #23734d 0 8%, transparent 9%),
        #e8ece4;
    transform: rotate(-9deg);
}

.gate-visual strong,
.gate-visual span {
    position: relative;
    z-index: 1;
    display: block;
}

.gate-visual strong {
    font-size: 18px;
    line-height: 1.3;
    max-width: 230px;
}

.gate-visual span {
    margin-top: 8px;
    opacity: .88;
    font-size: 12px;
}

.gate-section {
    padding: 18px;
}

.gate-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px 18px 0;
    background: #fff;
}

.gate-tabs a {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft);
    color: var(--green-dark);
    padding: 10px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.gate-tabs a:first-child {
    background: #e4f2e7;
    border-color: #cde7d8;
    color: var(--green-dark);
}

.gate-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gate-title h2 {
    margin: 0;
    font-size: 16px;
}

.gate-title a {
    color: #145a39;
    font-size: 13px;
    font-weight: 800;
}

.gate-menu {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 14px;
    display: grid;
    gap: 10px;
    background: #fff;
}

.gate-menu div {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    align-items: center;
}

.gate-menu b {
    font-size: 13px;
}

.gate-menu span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.gate-menu em,
.meal-state {
    justify-self: end;
    border-radius: 999px;
    padding: 5px 7px;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.gate-meal-time {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 9px auto 0;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.meal-normal {
    background: #fff9e7;
    color: #8a5a18;
}

.meal-off {
    background: #eef3ea;
    color: var(--muted);
}

.gate-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.gate-action {
    min-height: 104px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    padding: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gate-action i {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    font-style: normal;
    font-weight: 900;
    box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .10);
}

.gate-action i::before {
    font-size: 17px;
    line-height: 1;
}

.action-ticket i {
    background: linear-gradient(135deg, #23734d, #5aa879);
}

.action-ticket i::before {
    content: "식";
}

.action-survey i {
    background: linear-gradient(135deg, #4778b8, #74a7d8);
}

.action-survey i::before {
    content: "만";
}

.action-event i {
    background: linear-gradient(135deg, #e99043, #f2c84b);
}

.action-event i::before {
    content: "★";
}

.action-reserve i {
    background: linear-gradient(135deg, #d95c4a, #f08b78);
}

.action-reserve i::before {
    content: "행";
}

.action-staff i {
    background: linear-gradient(135deg, #26364a, #6b746d);
}

.action-staff i::before {
    content: "직";
}

.action-lost i {
    background: linear-gradient(135deg, #6f5aa8, #a88bd6);
}

.action-lost i::before {
    content: "분";
}

.gate-action b {
    font-size: 14px;
}

.gate-action span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.company-entry {
    margin-bottom: 12px;
    border: 1px solid #dde7dc;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(35, 115, 77, .08), rgba(255, 255, 255, .95) 42%),
        #fff;
    padding: 14px;
}

.company-entry-head {
    display: grid;
    gap: 4px;
    margin-bottom: 11px;
}

.company-entry-head span {
    color: #145a39;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.company-entry-head h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
}

.company-entry-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.branch-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.branch-card {
    min-height: 74px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    display: grid;
    align-content: start;
    gap: 5px;
}

.branch-card strong {
    font-size: 13px;
}

.branch-card span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.branch-card em {
    color: #59665f;
    font-size: 11px;
    font-style: normal;
    line-height: 1.35;
}

.branch-card.is-inactive {
    border-color: #e3d8c9;
    background: #fbf6ef;
    color: #7a654c;
}

.branch-card.is-inactive span {
    display: inline-flex;
    width: max-content;
    border-radius: 999px;
    background: #f0dfc8;
    padding: 4px 7px;
    color: #8a5a18;
    font-weight: 900;
}

.branch-card.is-inactive em {
    color: #8a6d4f;
}

.company-phone-card {
    margin-top: 10px;
    min-height: 46px;
    border: 1px solid #d6e3d7;
    border-radius: 12px;
    background: #f7fbf7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 13px;
    text-decoration: none;
}

.company-phone-card strong {
    color: var(--green-dark);
    font-size: 16px;
    letter-spacing: .01em;
}

.company-phone-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e5f2e8;
    color: var(--green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.company-phone-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-login {
    margin-top: 12px;
}

.quick-display {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcf8;
    display: grid;
    place-items: center;
    color: #405044;
    font-size: 13px;
    font-weight: 900;
}

.quick-pad {
    margin-top: 9px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
}

.quick-key {
    aspect-ratio: 1 / 1;
    min-height: 42px;
    border: 1px solid rgba(32, 41, 35, .12);
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .92), rgba(255, 255, 255, .12) 34%, transparent 36%),
        linear-gradient(145deg, #ffffff, #dfe8df);
    color: #1d2a22;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    box-shadow: inset 0 -8px 14px rgba(32, 41, 35, .10), 0 4px 10px rgba(32, 41, 35, .06);
}

.quick-key.is-clear {
    font-size: 15px;
    color: #6b746d;
}

.quick-key.is-submit {
    color: #1d2a22;
}

.quick-manual {
    display: flex;
    justify-content: center;
    margin-top: 9px;
    color: #145a39;
    font-size: 12px;
    font-weight: 900;
}

.company-copy {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: #7b877f;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.company-copy strong,
.company-copy span {
    display: block;
}

.company-copy strong {
    color: #657168;
}

.company-copy span {
    margin-top: 3px;
}

.gate-notice {
    margin-top: 12px;
    border-left: 4px solid #f2c84b;
    background: #fff9e7;
    border-radius: 0 var(--r) var(--r) 0;
    padding: 12px;
    color: #5b4b17;
    font-size: 13px;
    line-height: 1.45;
}

.meal-gallery {
    margin-top: 12px;
}

.meal-slider {
    position: relative;
    min-height: 154px;
    border-radius: 14px;
    overflow: hidden;
    background: #eef3ea;
}

.meal-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: mealSlide 20s infinite;
}

.meal-slider img:nth-child(1) {
    animation-delay: 0s;
}

.meal-slider img:nth-child(2) {
    animation-delay: 5s;
}

.meal-slider img:nth-child(3) {
    animation-delay: 10s;
}

.meal-slider img:nth-child(4) {
    animation-delay: 15s;
}

.meal-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .42));
    z-index: 1;
}

.meal-slider-text {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .36);
}

.meal-slider-text strong,
.meal-slider-text span {
    display: block;
}

.meal-slider-text strong {
    font-size: 13px;
    line-height: 1.35;
}

.meal-slider-text span {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.35;
    opacity: .88;
}

@keyframes mealSlide {
    0% {
        opacity: 0;
    }
    6% {
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.gate-pc-copy {
    max-width: 640px;
}

.gate-pc-copy p {
    margin: 0 0 12px;
    color: #145a39;
    font-size: 13px;
    font-weight: 900;
}

.gate-pc-copy h2 {
    margin: 0;
    font-size: 44px;
    line-height: 1.08;
}

.gate-pc-copy span {
    display: block;
    max-width: 520px;
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.65;
}

.login-page {
    min-height: 100vh;
    background: var(--bg);
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 44px rgba(30, 42, 34, .10);
}

.login-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #145a39;
    font-size: 13px;
    font-weight: 800;
}

.login-box h1 {
    margin: 0;
    font-size: 24px;
}

.login-box p {
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.login-form {
    display: grid;
    gap: 12px;
}

.login-form label span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.login-form input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 0 12px;
    font: inherit;
}

.login-form button {
    height: 44px;
    border: 0;
    border-radius: var(--r);
    background: var(--green);
    color: #fff;
    font-weight: 900;
}

.login-help {
    margin-top: 14px;
    border-left: 4px solid #f2c84b;
    background: #fff9e7;
    border-radius: 0 var(--r) var(--r) 0;
    padding: 10px 12px;
    color: #5b4b17;
    font-size: 12px;
    line-height: 1.45;
}

.login-help.is-error {
    border-left-color: #d95c4a;
    background: #fff1ee;
    color: #9b3528;
}

.company-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(35, 115, 77, .12), transparent 32%),
        radial-gradient(circle at 92% 12%, rgba(242, 200, 75, .20), transparent 34%),
        var(--bg);
}

.company-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.company-shell {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
    gap: 18px;
    align-items: stretch;
}

.company-hero,
.company-shell .company-entry {
    border: 1px solid rgba(32, 41, 35, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(30, 42, 34, .08);
}

.company-hero {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(220px, 1fr);
}

.company-hero-copy {
    padding: 22px 22px 18px;
}

.company-back {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
}

.company-hero-copy > span {
    display: block;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.company-hero-copy h1 {
    margin: 7px 0 10px;
    font-size: 36px;
    line-height: 1.08;
}

.company-hero-copy p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.company-hero-photo {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.company-hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .58));
}

.company-hero-photo div {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .34);
}

.company-hero-photo strong,
.company-hero-photo span {
    display: block;
}

.company-hero-photo strong {
    font-size: 17px;
}

.company-hero-photo span {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.45;
    opacity: .9;
}

.company-shell .company-entry {
    margin-bottom: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.company-shell .quick-display {
    min-height: 10px;
    border-color: transparent;
    background: transparent;
    color: var(--green-dark);
}

.company-shell .quick-pad {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.company-shell .quick-key {
    min-height: 30px;
    font-size: 17px;
    box-shadow: inset 0 -5px 9px rgba(32, 41, 35, .08), 0 2px 5px rgba(32, 41, 35, .04);
}

@media (max-width: 920px) {
    .company-wrap {
        display: block;
        padding: 0;
        background: #fff;
    }

    .company-shell {
        width: 100%;
        display: block;
    }

    .company-hero,
    .company-shell .company-entry {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .company-hero-copy h1 {
        font-size: 30px;
    }

    .company-hero-photo {
        min-height: 210px;
    }

    .company-shell .quick-pad {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .company-shell .quick-key {
        min-height: 42px;
        font-size: 18px;
    }
}

.pass-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(35, 115, 77, .10), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(242, 200, 75, .18), transparent 32%),
        var(--bg);
}

.pass-wrap {
    width: 100%;
    min-height: 100vh;
    padding: 24px 16px;
}

.pass-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.pass-head {
    position: relative;
    border: 1px solid rgba(32, 41, 35, .08);
    border-radius: 18px;
    padding: 18px 20px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 24%, rgba(255, 255, 255, .22), transparent 24%),
        linear-gradient(135deg, rgba(20, 90, 57, .98), rgba(35, 115, 77, .82));
    color: #fff;
    box-shadow: 0 18px 44px rgba(30, 42, 34, .10);
}

.pass-head::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -44px;
    width: 154px;
    height: 120px;
    border-radius: 999px;
    border: 10px solid rgba(255, 255, 255, .22);
    background:
        radial-gradient(circle at 50% 50%, #faf9f0 0 32%, transparent 33%),
        radial-gradient(circle at 40% 46%, #d95c4a 0 7%, transparent 8%),
        radial-gradient(circle at 58% 56%, #f2c84b 0 7%, transparent 8%),
        radial-gradient(circle at 48% 64%, #23734d 0 8%, transparent 9%),
        #e8ece4;
    transform: rotate(-9deg);
}

.pass-topline,
.pass-back,
.pass-head h1,
.pass-head p {
    position: relative;
    z-index: 1;
}

.pass-topline {
    display: flex;
    justify-content: flex-end;
}

.pass-back {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(255, 255, 255, .12);
}

.pass-head h1 {
    margin: 18px 0 0;
    max-width: 460px;
    font-size: 28px;
    line-height: 1.18;
}

.pass-head p {
    max-width: 470px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    line-height: 1.55;
}

.pass-hero-image {
    position: relative;
    min-height: 172px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #eef3ea;
}

.pass-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pass-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, .38));
}

.pass-hero-image span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .36);
}

.pass-card {
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}

.pass-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pass-card-title span {
    flex: 0 0 auto;
    min-width: 38px;
    border-radius: 999px;
    padding: 6px 8px;
    background: #e4f2e7;
    color: var(--green-dark);
    text-align: center;
    font-size: 11px;
    font-weight: 900;
}

.pass-card-title h2 {
    margin: 0;
    font-size: 17px;
}

.pass-info-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.pass-info-list div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 10px;
    align-items: start;
}

.pass-info-list dt {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 900;
}

.pass-info-list dd {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.pass-buy p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.pass-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.pass-action-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    min-height: 128px;
    display: flex;
    flex-direction: column;
}

.pass-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .10);
}

.pass-action-icon i {
    color: #fff;
    font-style: normal;
    font-weight: 900;
}

.pass-action-icon.pass-ticket {
    background: linear-gradient(135deg, #23734d, #5aa879);
}

.pass-action-icon.pass-ticket i::before {
    content: "식";
}

.pass-action-icon.pass-qr {
    background: linear-gradient(135deg, #4778b8, #74a7d8);
}

.pass-action-icon.pass-qr i::before {
    content: "QR";
    font-size: 13px;
}

.pass-action-card h2 {
    margin: 11px 0 0;
    font-size: 15px;
    word-break: keep-all;
}

.pass-action-card .pass-primary,
.pass-action-card .pass-link-button {
    margin-top: auto;
}

.pass-primary,
.pass-link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 13px;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 900;
}

.pass-primary {
    background: var(--green);
    color: #fff;
}

.pass-link-button {
    border: 1px solid #cde7d8;
    background: #f1f8f3;
    color: var(--green-dark);
}

.pass-bullets,
.pass-steps {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.pass-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    border: 1px solid #f0dda9;
    border-radius: 12px;
    background: #fff9e7;
    padding: 13px;
    color: #5b4b17;
    font-size: 13px;
}

.pass-contact b {
    font-weight: 900;
}

.pass-contact a {
    font-weight: 900;
}

.copy-phone {
    border: 1px solid #e7c46f;
    border-radius: 999px;
    background: #fff;
    color: #5b4b17;
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.copy-icon {
    position: relative;
    width: 13px;
    height: 13px;
    display: inline-block;
}

.copy-icon::before,
.copy-icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 10px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    background: #fff;
}

.copy-icon::before {
    left: 1px;
    top: 3px;
    opacity: .62;
}

.copy-icon::after {
    left: 4px;
    top: 0;
}

.copy-phone.is-copied {
    border-color: #cde7d8;
    color: var(--green-dark);
    background: #f1f8f3;
}

@media (max-width: 760px) {
    .app-shell {
        display: block;
    }

    .app-sidebar {
        display: none;
    }

    .app-topbar {
        height: auto;
        padding: 16px;
        align-items: flex-start;
        gap: 12px;
    }

    .app-content {
        padding: 16px;
    }

    .gate-wrap {
        display: block;
        min-height: 100vh;
        padding: 0;
        background: #fff;
    }

    .gate-phone {
        max-width: none;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .gate-pc-copy {
        display: none;
    }

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

    .quick-pad {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quick-key {
        min-height: 54px;
        aspect-ratio: auto;
    }

    .pass-wrap {
        padding: 0;
        background: #fff;
    }

    .pass-shell {
        max-width: none;
    }

    .pass-head {
        border: 0;
        border-radius: 0 0 22px 22px;
        box-shadow: none;
    }

    .pass-card {
        margin: 12px 16px 0;
    }

    .pass-hero-image,
    .pass-action-grid {
        margin-left: 16px;
        margin-right: 16px;
    }

    .pass-action-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .pass-action-card {
        min-width: 0;
        padding: 11px;
    }

    .pass-primary,
    .pass-link-button {
        min-height: 38px;
        padding: 0 4px;
        font-size: 11px;
    }

    .pass-contact {
        margin: 12px 16px 18px;
    }
}

@media (max-width: 1080px) and (min-width: 761px) {
    .gate-wrap {
        grid-template-columns: 430px 1fr;
        padding: 22px;
    }

    .gate-pc-copy h2 {
        font-size: 34px;
    }
}
