:root {
  --ink: #15252e;
  --muted: #74828a;
  --line: #e7ebed;
  --paper: #f6f7f6;
  --white: #ffffff;
  --navy: #152a35;
  --navy-soft: #1d3945;
  --mint: #c9f0da;
  --mint-strong: #41b87a;
  --lemon: #f4eaa0;
  --coral: #ef856c;
  --orange: #f4b769;
  --shadow: 0 12px 32px rgba(18, 43, 54, .08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 260px; flex: 0 0 260px; padding: 30px 18px 18px; color: #dce6e8; background: var(--navy); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; gap: 11px; align-items: center; padding: 0 12px; color: white; }
.brand strong { display: block; font-size: 20px; letter-spacing: -.7px; }
.brand small { display: block; margin-top: 3px; color: #91a8af; font-size: 9px; letter-spacing: 1.45px; font-weight: 700; }
.brand-mark { width: 30px; height: 30px; position: relative; transform: rotate(45deg); }
.brand-mark span { position: absolute; display: block; width: 10px; height: 10px; border-radius: 2px; }
.brand-mark span:nth-child(1) { background: var(--mint); top: 0; left: 0; }.brand-mark span:nth-child(2) { background: var(--lemon); top: 0; right: 0; }.brand-mark span:nth-child(3) { background: var(--coral); bottom: 0; left: 0; }.brand-mark span:nth-child(4) { background: var(--orange); bottom: 0; right: 0; }
.company-card { margin: 42px 8px 26px; padding: 17px; border: 1px solid rgba(204,237,229,.15); border-radius: 12px; background: rgba(255,255,255,.055); }
.company-card strong { display: block; margin: 7px 0 5px; color: #fff; font-size: 14px; }.company-card span { color: #9cb0b5; font-size: 11px; }
.eyebrow { margin: 0; color: var(--muted); font-weight: 750; font-size: 10px; letter-spacing: 1.3px; }.sidebar .eyebrow { color: #7b969d; }
.nav-list { display: grid; gap: 5px; }.nav-item { width: 100%; padding: 12px 14px; display: flex; gap: 12px; align-items: center; color: #b8cbcf; border: 0; border-radius: 9px; background: transparent; font-size: 14px; text-align: left; }.nav-item:hover { color: white; background: rgba(255,255,255,.06); }.nav-item.active { color: var(--navy); background: var(--mint); font-weight: 750; }.nav-item svg { width: 17px; height: 17px; }
.sidebar-footer { margin-top: auto; padding: 15px 8px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 9px; align-items: center; }.sidebar-footer strong { color: #fff; display: block; font-size: 12px; }.sidebar-footer small { color: #8fa6ac; display: block; margin-top: 3px; font-size: 10px; }.icon-button { margin-left: auto; padding: 5px; color: #91a7ad; border: 0; background: none; }.icon-button:hover { color: white; }
.logout-button { min-height: 32px; padding: 6px 8px; display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.logout-button svg { width: 16px; height: 16px; }
.logout-button:hover { background: rgba(255,255,255,.08); }
.mini-avatar { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #17323d; background: linear-gradient(145deg, #f4dfa3, #efb87b); font-size: 12px; font-weight: 800; }.mini-avatar.large { width: 42px; height: 42px; font-size: 15px; }
.main-content { min-width: 0; flex: 1; max-width: 1500px; margin: 0 auto; padding: 0 42px 48px; }.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; }.date-block { display: flex; gap: 9px; color: var(--muted); font-size: 13px; }.date-block #todayDate { color: var(--ink); font-weight: 700; }.top-actions { display: flex; gap: 15px; align-items: center; }.live-dot { color: #3b8964; font-size: 12px; font-weight: 700; }.live-dot::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--mint-strong); }.mobile-menu { display: none; }
.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; padding: 30px 0 28px; }.page-heading h1 { margin: 8px 0 8px; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -1.7px; }.page-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }.page-heading.compact { padding-top: 30px; }.page-heading.compact h1 { font-size: 31px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }.overview-grid { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 18px; }.checkin-card, .today-card, .mission-card { min-height: 294px; padding: 24px; }.card-heading, .section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.card h2 { margin: 7px 0 0; letter-spacing: -.6px; font-size: 19px; }.status-badge, .count-chip { padding: 6px 9px; border-radius: 100px; color: #789079; background: #edf7ef; font-size: 11px; font-weight: 750; }.status-badge.working { color: #397757; background: #dcf4e5; }.status-badge.done { color: #6d7081; background: #eceef3; }
.digital-clock { margin-top: 28px; color: var(--navy); font-size: clamp(38px, 4vw, 52px); font-weight: 800; letter-spacing: -2.8px; font-variant-numeric: tabular-nums; }.clock-message { height: 18px; margin: 6px 0 20px; color: var(--muted); font-size: 12px; }.clock-actions { display: flex; gap: 8px; }.primary-button, .secondary-button, .outline-button { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; padding: 0 15px; border-radius: 8px; font-size: 12px; font-weight: 750; transition: transform .15s, box-shadow .15s, background .15s; }.primary-button { gap: 6px; color: #112c37; border: 1px solid #a9e5bf; background: var(--mint); }.primary-button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(65,184,122,.23); }.primary-button span { font-size: 18px; line-height: 1; }.secondary-button { color: #3f525b; border: 1px solid #d9e0e2; background: #fff; }.secondary-button:not(:disabled):hover, .outline-button:hover { background: #f4f7f7; }.secondary-button:disabled { cursor: not-allowed; opacity: .46; }.outline-button { min-height: 32px; color: #566971; border: 1px solid #dbe1e3; background: #fff; }.nfc-button { margin-top: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 0; color: #64808b; border: 0; background: none; font-size: 11px; }.nfc-button:hover { color: var(--navy); text-decoration: underline; }.nfc-wave { font-size: 18px; font-weight: 800; }
.calendar-chip { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #8c7132; background: #fff8dc; font-weight: 800; }.progress-wrap { margin-top: 34px; }.progress-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }.progress-label strong { color: var(--ink); }.progress-bar { height: 8px; overflow: hidden; margin-top: 9px; border-radius: 8px; background: #edf0f0; }.progress-bar span { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--mint-strong), #8bdbad); transition: width .45s ease; }.today-stats { margin: 25px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.today-stats div { min-width: 0; }.today-stats dt { margin-bottom: 5px; color: var(--muted); font-size: 10px; }.today-stats dd { margin: 0; font-size: 12px; font-weight: 750; white-space: nowrap; }.mission-card { position: relative; color: #fff; border-color: var(--navy-soft); background: var(--navy-soft); }.mission-card .eyebrow, .mission-card > p { color: #9eb5bb; }.mission-card h2 { color: white; }.text-button { padding: 2px; color: #55747f; border: 0; background: transparent; font-size: 11px; font-weight: 750; }.text-button:hover { color: var(--ink); text-decoration: underline; }.mission-card .text-button { color: #a8d8bf; }.mission-card blockquote { position: relative; z-index: 1; margin: 38px 0 10px; max-width: 230px; font-family: Georgia, serif; font-size: 21px; line-height: 1.45; letter-spacing: -.4px; }.mission-card > p { position: relative; z-index: 1; margin: 0; font-size: 11px; }.mission-decoration { position: absolute; width: 170px; height: 170px; right: -55px; bottom: -65px; border: 32px solid rgba(201,240,218,.1); border-radius: 50%; }.mission-decoration::after { content: ""; position: absolute; width: 85px; height: 85px; top: 24px; left: 24px; border: 1px solid rgba(244,234,160,.4); border-radius: 50%; }
.content-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; }.notice-card, .activity-card { padding: 23px 24px 12px; }.notice-list, .activity-list, .board-list { margin: 18px 0 0; padding: 0; list-style: none; }.notice-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }.notice-list li:first-child { border-top: 0; }.notice-type { width: 34px; flex: 0 0 34px; padding: 4px 0; border-radius: 5px; color: #547064; background: #e9f7ef; text-align: center; font-size: 9px; font-weight: 800; }.notice-list strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.notice-list span:last-child { margin-left: auto; color: #93a0a4; font-size: 10px; white-space: nowrap; }.activity-list li { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }.activity-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #397757; background: #e4f5ea; font-size: 12px; }.activity-list strong { display: block; font-size: 12px; }.activity-list span { color: var(--muted); font-size: 10px; }
.view-section { display: none; animation: appear .28s ease; }.view-section.active { display: block; }@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.attendance-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }.attendance-hero { min-height: 190px; padding: 26px; display: flex; justify-content: space-between; align-items: center; color: #fff; border-color: #1a3642; background: linear-gradient(135deg, #18323e, #254e59); }.attendance-hero .eyebrow { color: #a8c3c6; }.attendance-hero h2 { font-size: 25px; }.attendance-hero p:last-child { margin: 9px 0 0; color: #c1d4d7; font-size: 13px; }.hero-time-box { min-width: 120px; padding: 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(0,0,0,.1); }.hero-time-box span { display: block; color: #b2cbd0; font-size: 10px; }.hero-time-box strong { display: block; margin-top: 4px; font-size: 24px; letter-spacing: -1px; }.manual-card { padding: 24px; }.manual-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; gap: 9px; margin-top: 18px; }.manual-form label, .field-label { color: #68777e; font-size: 10px; font-weight: 700; }.manual-form input, .field-label input, .field-label textarea, .field-label select { width: 100%; margin-top: 6px; padding: 9px 10px; color: var(--ink); outline: none; border: 1px solid #dce3e4; border-radius: 7px; background: #fff; font-size: 12px; }.manual-form input:focus, .field-label input:focus, .field-label textarea:focus, .field-label select:focus { border-color: #7cc89a; box-shadow: 0 0 0 3px rgba(124,200,154,.14); }.manual-form .primary-button { min-height: 35px; }.form-help { margin: 12px 0 0; color: var(--muted); font-size: 10px; }.records-card { margin-top: 18px; padding: 24px; }.table-wrap { overflow-x: auto; margin-top: 17px; }table { width: 100%; border-collapse: collapse; text-align: left; }th { padding: 0 10px 10px; color: #839096; border-bottom: 1px solid var(--line); font-size: 10px; }td { padding: 13px 10px; border-bottom: 1px solid #eff2f3; font-size: 12px; }td:last-child, th:last-child { text-align: right; }.record-method { padding: 4px 7px; color: #55747f; border-radius: 100px; background: #edf5f5; font-size: 10px; }.delete-record { color: #ad7773; border: 0; background: none; font-size: 11px; }.delete-record:hover { text-decoration: underline; }
.people-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; }.profile-card { position: relative; }.profile-cover { height: 100px; background: linear-gradient(115deg, #1a3440, #38666b 55%, #c6e9d2); }.profile-body { position: relative; padding: 0 26px 26px; }.profile-avatar { width: 75px; height: 75px; display: grid; place-items: center; margin-top: -38px; border: 4px solid #fff; border-radius: 50%; color: #213c46; background: linear-gradient(145deg, #f5dea1, #efae78); font-size: 26px; font-weight: 800; }.profile-body .eyebrow { margin-top: 17px; }.profile-body h2 { margin: 5px 0; font-size: 25px; }.profile-role { margin: 0; color: #62727a; font-size: 12px; }.profile-details { margin: 21px 0; display: grid; gap: 8px; color: #68787f; font-size: 11px; }.org-card { padding: 25px; }.org-tree { margin-top: 25px; text-align: center; }.org-node { width: min(220px, 90%); margin: 0 auto; padding: 12px; border-radius: 9px; }.org-node strong, .org-node small { display: block; }.org-node strong { font-size: 12px; }.org-node small { margin-top: 4px; font-size: 10px; }.company-node { color: #e9faf0; background: var(--navy); }.team-node { color: #466e5b; border: 1px solid #c9e8d4; background: #effaf2; }.node-icon { display: inline-block; margin-bottom: 4px; }.tree-line { width: 1px; height: 19px; margin: 0 auto; background: #c7d6d8; }.org-person { max-width: 270px; margin: 0 auto; padding: 10px; display: flex; align-items: center; gap: 10px; border: 1px solid #e1e7e7; border-radius: 9px; text-align: left; }.org-person strong, .org-person span:not(.online-status) { display: block; }.org-person strong { font-size: 12px; }.org-person span:not(.online-status) { margin-top: 3px; color: #79888e; font-size: 10px; }.online-status { margin-left: auto; padding: 4px 6px; border-radius: 6px; color: #45795d; background: #e6f5eb; font-size: 9px; font-weight: 800; }.directory-card { margin-top: 18px; padding: 24px; }.search-box { width: 220px; display: flex; gap: 6px; align-items: center; padding: 7px 9px; border: 1px solid #dce3e4; border-radius: 7px; }.search-box svg { width: 15px; height: 15px; color: #839197; }.search-box input { width: 100%; padding: 0; outline: 0; border: 0; font-size: 11px; }.employee-row { display: flex; align-items: center; gap: 11px; padding: 17px 0 0; }.employee-row strong, .employee-row span:not(.online-status) { display: block; }.employee-row strong { font-size: 13px; }.employee-row span:not(.online-status) { margin-top: 4px; color: var(--muted); font-size: 11px; }.employee-row .online-status { margin-left: auto; }
.board-card { padding: 0 24px 14px; }.board-toolbar { min-height: 65px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }.board-tabs { display: flex; gap: 17px; height: 65px; align-items: center; }.board-tab { height: 65px; padding: 0; color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 12px; font-weight: 700; }.board-tab.active { color: var(--ink); border-color: var(--mint-strong); }.board-toolbar > span { color: var(--muted); font-size: 11px; }.board-list { margin-top: 0; }.board-list li { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 15px; padding: 18px 6px; border-bottom: 1px solid var(--line); }.post-type { padding: 5px 0; border-radius: 5px; color: #55747f; background: #ebf7ee; text-align: center; font-size: 10px; font-weight: 800; }.post-type.log { color: #7b687c; background: #f5eef4; }.post-main strong { display: block; font-size: 14px; }.post-main span { display: block; overflow: hidden; max-width: 520px; margin-top: 5px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.post-date { color: #99a5aa; font-size: 11px; }
.editor-dialog { width: min(520px, calc(100vw - 34px)); padding: 0; border: 0; border-radius: 15px; box-shadow: 0 28px 70px rgba(20, 39, 49, .25); }.editor-dialog::backdrop { background: rgba(18, 38, 47, .45); backdrop-filter: blur(2px); }.editor-dialog form { padding: 25px; }.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }.dialog-heading h2 { margin: 7px 0 0; font-size: 20px; }.dialog-close { width: 28px; height: 28px; color: #68767c; border: 0; border-radius: 50%; background: #f2f5f5; font-size: 21px; line-height: 1; }.field-label { display: block; margin-bottom: 15px; }.field-label textarea { resize: vertical; line-height: 1.5; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }.toast { position: fixed; z-index: 5; left: 50%; bottom: 24px; max-width: calc(100vw - 32px); padding: 11px 15px; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; border-radius: 8px; color: #fff; background: #18323e; box-shadow: 0 8px 20px rgba(18,43,54,.2); font-size: 12px; transition: opacity .22s, transform .22s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.focus-mode .sidebar { width: 84px; flex-basis: 84px; }.focus-mode .brand > div:not(.brand-mark), .focus-mode .company-card, .focus-mode .nav-item:not(.active) { display: none; }.focus-mode .brand { justify-content: center; padding: 0; }.focus-mode .nav-list { margin-top: 45px; }.focus-mode .nav-item { justify-content: center; padding: 13px; }.focus-mode .sidebar-footer > div:not(.mini-avatar), .focus-mode .sidebar-footer .icon-button { display: none; }.focus-mode .sidebar-footer { justify-content: center; }.focus-mode .main-content { max-width: 1360px; }
@media (max-width: 1050px) { .overview-grid { grid-template-columns: 1fr 1fr; }.mission-card { grid-column: 1 / -1; min-height: 210px; }.content-grid, .attendance-layout, .people-grid { grid-template-columns: 1fr; }.main-content { padding: 0 28px 38px; } }
@media (max-width: 760px) { .sidebar { z-index: 10; width: 260px; position: fixed; left: -260px; transition: left .2s; }.sidebar.open { left: 0; }.main-content { width: 100%; padding: 0 18px 30px; }.mobile-menu { display: block; padding: 5px; color: var(--ink); border: 0; background: none; font-size: 19px; }.topbar { height: 62px; }.top-actions .outline-button { display: none; }.overview-grid { grid-template-columns: 1fr; }.mission-card { grid-column: auto; }.content-grid { grid-template-columns: 1fr; }.page-heading { align-items: flex-start; padding: 22px 0; }.page-heading h1 { font-size: 27px; }.page-heading .primary-button { white-space: nowrap; }.manual-form { grid-template-columns: 1fr 1fr; }.manual-form label:first-child, .manual-form .primary-button { grid-column: 1 / -1; }.hero-time-box { display: none; }.directory-card .section-heading { align-items: stretch; flex-direction: column; }.search-box { width: 100%; }.board-list li { grid-template-columns: 52px 1fr; }.post-date { grid-column: 2; }.today-stats { gap: 4px; }.today-stats dd { font-size: 11px; } }
@media (max-width: 420px) { .top-actions .live-dot { display: none; }.page-heading { flex-direction: column; }.checkin-card, .today-card, .mission-card, .notice-card, .activity-card, .records-card, .directory-card, .board-card { padding-left: 18px; padding-right: 18px; }.attendance-hero { padding: 22px; }.manual-card, .org-card { padding: 18px; }.digital-clock { font-size: 43px; } }

/* ============================================================
   확장 v1: 로그인 랜딩 / 픽셀아트 / 목록 / 메신저 / 건의함 / 광고
   ============================================================ */
.hidden { display: none !important; }

/* ---------- 로그인 전: 랜딩 + 가입/로그인 ---------- */
.auth-screen { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-hero { padding: 56px 56px 40px; display: flex; flex-direction: column; justify-content: center; color: #dce6e8; background: linear-gradient(160deg, #10222b, #1d3945 70%); }
.auth-hero h1 { margin: 34px 0 14px; max-width: 480px; color: #fff; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -1.1px; }
.auth-hero > p { max-width: 460px; margin: 0; color: #b6c7cb; font-size: 13.5px; line-height: 1.7; }
.auth-points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: #cfe3e0; font-size: 12.5px; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: 56px 60px; background: var(--white); }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 24px; padding: 4px; border-radius: 10px; background: #eef1f1; }
.auth-tab { flex: 1; padding: 10px 0; color: #667179; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 750; }
.auth-tab.active { color: var(--ink); background: #fff; box-shadow: 0 4px 10px rgba(18,43,54,.08); }
.auth-form { display: grid; gap: 14px; max-width: 380px; }
.auth-form .field-label input { padding: 11px 12px; }
.auth-error { min-height: 14px; margin: 0; color: #c9584a; font-size: 11px; }
.primary-button.wide, .secondary-button.wide { width: 100%; min-height: 44px; margin-top: 2px; }
.auth-config-warning:empty { display: none; }

/* ---- 독립 회원가입 화면 ---- */
body.signup-open { overflow: hidden; }
.signup-screen { position: fixed; z-index: 60; inset: 0; display: grid; grid-template-columns: minmax(320px, .85fr) minmax(520px, 1.15fr); min-height: 100vh; background: #fff; overflow-y: auto; }
.signup-brand-panel { min-height: 100vh; padding: 64px clamp(36px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; color: #e7f2ee; background: radial-gradient(circle at 20% 18%, #28545e 0%, transparent 54%), linear-gradient(155deg, #152f39, #0d1e26); }
.signup-brand-panel .brand { margin-bottom: 54px; color: #fff; }
.signup-brand-panel h1 { margin: 10px 0 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.16; letter-spacing: -1.8px; }
.signup-brand-panel > p:not(.product-label) { max-width: 480px; margin: 0; color: #b8cdd0; font-size: 14px; line-height: 1.75; }
.signup-steps { margin: 46px 0 0; padding: 0; display: grid; gap: 15px; list-style: none; }
.signup-steps li { display: flex; align-items: center; gap: 12px; color: #d6e8e2; font-size: 13px; font-weight: 700; }
.signup-steps span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(201,240,218,.3); border-radius: 50%; color: var(--mint); background: rgba(201,240,218,.08); font-size: 11px; }
.signup-form-panel { min-height: 100vh; padding: 34px clamp(28px, 6vw, 90px) 56px; display: flex; flex-direction: column; background: #fff; }
.signup-back-button { align-self: flex-start; padding: 8px 0; color: #66767c; border: 0; background: none; font-size: 12px; font-weight: 700; }
.signup-form-wrap { width: min(100%, 620px); margin: auto; padding: 34px 0; }
.signup-form-wrap h2 { margin: 8px 0 8px; color: var(--ink); font-size: clamp(27px, 3vw, 36px); letter-spacing: -1px; }
.signup-subtitle { margin: 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.signup-form .field-label { margin-bottom: 16px; font-weight: 750; }
.signup-form .field-label input { margin-top: 8px; }
.signup-password-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup-password-hint { margin: -8px 0 18px; color: #8a989d; font-size: 10px; }
.signup-consents { padding: 16px; display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 11px; background: #f8faf9; }
.signup-consents label { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 8px; color: #5c6a70; font-size: 11px; line-height: 1.5; }
.signup-consents input { width: 15px; height: 15px; margin-top: 1px; accent-color: var(--mint-strong); }
.signup-consents strong { color: #2f6950; }
.signup-consents button { padding: 0; color: #526e65; border: 0; background: none; font-size: 10px; text-decoration: underline; }
.signup-form .auth-error { margin: 12px 0 4px; }
.signup-login-prompt { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.signup-login-prompt button { padding: 0; color: #285b45; border: 0; background: none; font-weight: 800; text-decoration: underline; }
@media (max-width: 820px) {
  .signup-screen { display: block; }
  .signup-brand-panel { min-height: auto; padding: 34px 24px 30px; }
  .signup-brand-panel .brand { margin-bottom: 28px; }
  .signup-brand-panel h1 { font-size: 30px; }
  .signup-brand-panel > p:not(.product-label), .signup-steps { display: none; }
  .signup-form-panel { min-height: auto; padding: 18px 22px 44px; }
  .signup-form-wrap { padding: 24px 0 0; }
}
@media (max-width: 560px) { .signup-password-grid { grid-template-columns: 1fr; gap: 0; } }
.auth-config-warning { max-width: 380px; margin-top: 16px; padding: 11px 12px; color: #8a6d2f; border: 1px solid #f0dfa8; border-radius: 8px; background: #fdf6e2; font-size: 11px; line-height: 1.6; }
@media (max-width: 860px) { .auth-screen { grid-template-columns: 1fr; } .auth-hero { padding: 40px 26px 24px; } .auth-card { padding: 30px 26px 46px; } }

/* ---------- 픽셀아트 사무실 씬 (로그인 화면 + 출근 오버레이 공용) ---------- */
.pixel-scene { position: relative; margin-top: 30px; height: 150px; display: flex; align-items: flex-end; justify-content: center; }
.pixel-scene.large { height: 220px; margin-top: 0; }
.pixel-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; border-radius: 3px; background: rgba(201,240,218,.16); }
.pixel-building { position: relative; z-index: 1; image-rendering: pixelated; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
.pixel-walker { position: absolute; left: -40px; bottom: 12px; z-index: 2; image-rendering: pixelated; transition: left 1.35s cubic-bezier(.4,.05,.2,1); }
.pixel-walker.walking, .pixel-walker.arrive { left: calc(50% - 20px); }
.pixel-scene:not(.large) .pixel-walker { left: 6px; bottom: 12px; transition: none; animation: pixel-idle-bob 1.1s steps(2) infinite; }
@keyframes pixel-idle-bob { 50% { transform: translateY(-1px); } }

.checkin-overlay { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: radial-gradient(circle at 50% 40%, #1d3945, #0f1e26 75%); }
.checkin-overlay-text { color: #d9ecea; font-size: 14px; font-weight: 700; letter-spacing: .3px; }

/* ---------- 대시보드: 글로벌 직원수 + 응원하기 메뉴 ---------- */
.heading-actions { display: flex; align-items: center; gap: 14px; }
.global-headcount { padding: 10px 16px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.global-headcount span { display: block; color: var(--navy); font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.global-headcount small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .3px; }
.support-nav-item { margin-top: 10px; color: #f4c7ba !important; }
.support-nav-item:hover { background: rgba(239,133,108,.14) !important; }
@media (max-width: 760px) { .heading-actions { flex-direction: row-reverse; } }

/* ---------- 프로필 확장: 목표 / 커리어 ---------- */
.profile-extra { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.profile-extra textarea { resize: vertical; }
.profile-extra .secondary-button { width: 100%; }

/* ---------- 조직도: 지사 > 부서 > 사람 ---------- */
.org-tree-dynamic { margin-top: 22px; display: grid; gap: 18px; }
.org-office-block { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfb; }
.office-node { color: #1b3d34; background: #e9f5ee; }
.org-dept-block { display: grid; gap: 8px; padding: 10px 10px 10px 14px; border-left: 2px solid #dbe6e4; border-radius: 8px; background: #fff; }
.org-dept-members { display: grid; gap: 8px; }
.org-dept-block .org-person, .org-person { max-width: none; margin: 0; }
.directory-list { margin-top: 16px; display: grid; gap: 2px; }
.directory-list .employee-row { padding: 12px 4px; border-top: 1px solid var(--line); }
.directory-list .employee-row:first-child { border-top: 0; }

/* ---------- 사내 메신저 ---------- */
.messenger-card { padding: 0; }
.messenger-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 520px; }
.channel-list { padding: 20px 14px; border-right: 1px solid var(--line); background: #fbfcfc; }
.channel-group-label { margin: 16px 6px 8px; color: #93a0a4; font-size: 10px; font-weight: 800; letter-spacing: .6px; }
.channel-group-label:first-child { margin-top: 0; }
.channel-item { width: 100%; padding: 9px 10px; margin-bottom: 3px; display: flex; align-items: center; gap: 8px; color: #4f5f66; border: 0; border-radius: 8px; background: transparent; font-size: 12px; text-align: left; }
.channel-item:hover { background: #eef2f2; }
.channel-item.active { color: var(--ink); background: var(--mint); font-weight: 750; }
.channel-dot { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; background: rgba(0,0,0,.06); font-size: 10px; font-weight: 800; }
.channel-item small { margin-left: auto; color: #93a0a4; }
.dm-list { display: grid; }
.chat-pane { display: flex; flex-direction: column; min-width: 0; }
.chat-header { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-header strong { display: block; font-size: 15px; }
.chat-header span { color: var(--muted); font-size: 11px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; max-height: 420px; }
.chat-bubble-row { display: flex; }
.chat-bubble-row.mine { justify-content: flex-end; }
.chat-bubble { max-width: 70%; padding: 10px 13px; border-radius: 12px; background: #f0f2f2; }
.chat-bubble-row.mine .chat-bubble { color: #0d2a1c; background: var(--mint); }
.chat-bubble strong { display: block; margin-bottom: 3px; font-size: 11px; opacity: .7; }
.chat-bubble p { margin: 0; font-size: 13px; line-height: 1.5; word-break: break-word; }
.chat-bubble span { display: block; margin-top: 5px; color: inherit; opacity: .55; font-size: 10px; }
.translate-btn { padding: 0; color: inherit; border: 0; background: none; font-size: 10px; text-decoration: underline; opacity: 1; cursor: pointer; }
.chat-form { display: flex; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; padding: 11px 13px; border: 1px solid #dce3e4; border-radius: 9px; }
@media (max-width: 760px) { .messenger-layout { grid-template-columns: 1fr; } .channel-list { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- 건의함 ---------- */
.suggestions-card { padding: 10px 24px 24px; }
.suggestion-list { margin: 0; padding: 0; list-style: none; }
.suggestion-item { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 15px; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.suggestion-item .post-type { padding: 5px 0; }
.suggestion-item .post-main span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; white-space: normal; }
.empty-row.small { padding: 6px 0; font-size: 11px; }

/* ---------- 응원하기(광고) 페이지: 다른 기능 페이지엔 광고 없음 ---------- */
.ad-card { padding: 30px; margin-bottom: 16px; text-align: center; }
.ad-slot { position: relative; padding: 46px 20px; border: 1px dashed #cbd6d5; border-radius: 12px; background: #f7f9f8; color: var(--muted); }
.ad-slot p { margin: 0; font-size: 12.5px; line-height: 1.7; }
.ad-slot-secondary { padding: 30px 20px; }
.ad-badge { position: absolute; top: 10px; left: 10px; padding: 2px 7px; border-radius: 5px; color: #8a97a0; background: #eef1f1; font-size: 9px; font-weight: 800; letter-spacing: .4px; }
.ad-footnote { margin: 6px 4px 0; color: var(--muted); font-size: 11.5px; }

/* ===================== 확장 v2: 인증 / 메신저 / 건의함 ===================== */
.hidden { display: none !important; }

/* ---- 랜딩 + 로그인/가입 화면 ---- */
.auth-screen { min-height: 100vh; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr; }

.auth-hero { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; gap: 20px; color: #e7f2ee; background: radial-gradient(circle at 15% 20%, #234854 0%, transparent 55%), linear-gradient(160deg, #152a35, #0f1f27); }
.auth-hero .brand { color: white; }
.auth-hero h1 { margin: 0; max-width: 460px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.22; letter-spacing: -1.2px; }
.auth-hero p { margin: 0; max-width: 460px; color: #aec4c8; font-size: 14px; line-height: 1.65; }
.auth-points { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.auth-points li { color: #cfe7dd; font-size: 13px; }
.auth-card { padding: 60px 52px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 26px; padding: 4px; border-radius: 10px; background: #eef1f1; }
.auth-tab { flex: 1; padding: 10px 0; color: #667279; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 750; }
.auth-tab.active { color: var(--navy); background: #fff; box-shadow: 0 4px 10px rgba(18,43,54,.08); }
.auth-form { display: grid; }
.primary-button.wide { width: 100%; min-height: 44px; margin-top: 6px; }
.auth-error { min-height: 16px; margin: 2px 0 6px; color: #c5564a; font-size: 11px; }
.auth-config-warning { margin: 20px 0 0; padding: 11px; color: #8a6a2a; border: 1px solid #f0e3bc; border-radius: 8px; background: #fdf6e2; font-size: 11px; line-height: 1.5; }
.auth-config-warning:empty { display: none; }

/* ---- 온보딩/모달 내 hidden 필드 ---- */
.field-label.hidden { display: none; }

/* ---- 프로필: 목표/커리어 ---- */
.profile-extra { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.profile-extra textarea { resize: vertical; }
.profile-extra .secondary-button { margin-top: 6px; width: 100%; }

/* ---- 동적 조직도 (지사별 그룹) ---- */
.org-tree-dynamic { margin-top: 20px; display: grid; gap: 18px; }
.org-dept-block { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfc; }
.org-dept-members { margin-top: 12px; display: grid; gap: 8px; }
.org-dept-block .org-person { max-width: none; margin: 0; }

/* ---- 조직원 검색 결과 리스트 ---- */
.directory-list { margin-top: 18px; display: grid; gap: 4px; }
.directory-list .employee-row { padding: 12px 0; border-top: 1px solid var(--line); }
.directory-list .employee-row:first-child { border-top: 0; }

/* ---- 사내 메신저 ---- */
.messenger-card { padding: 0; }
.messenger-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 480px; }
.channel-list { padding: 20px 14px; border-right: 1px solid var(--line); background: #fbfcfc; }
.channel-group-label { margin: 16px 0 6px; padding: 0 8px; color: #9aa7ac; font-size: 10px; font-weight: 750; letter-spacing: .6px; }
.channel-group-label:first-child { margin-top: 0; }
.channel-item { width: 100%; padding: 9px 8px; margin-bottom: 2px; display: flex; gap: 9px; align-items: center; color: #4c5c62; border: 0; border-radius: 8px; background: transparent; font-size: 12px; text-align: left; }
.channel-item:hover { background: #eef2f2; }
.channel-item.active { color: #163a2c; background: var(--mint); font-weight: 750; }
.channel-dot { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #4c5c62; background: #e7edec; font-size: 10px; font-weight: 800; }
.dm-list { display: grid; gap: 2px; }
.chat-pane { display: flex; flex-direction: column; min-height: 480px; }
.chat-header { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-header strong { display: block; font-size: 14px; }
.chat-header span { color: var(--muted); font-size: 11px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; max-height: 420px; }
.chat-bubble-row { display: flex; }
.chat-bubble-row.mine { justify-content: flex-end; }
.chat-bubble { max-width: 340px; padding: 10px 12px; border-radius: 12px; background: #f1f4f4; }
.chat-bubble-row.mine .chat-bubble { color: #112c37; background: var(--mint); }
.chat-bubble strong { display: block; margin-bottom: 3px; font-size: 11px; opacity: .7; }
.chat-bubble p { margin: 0; font-size: 13px; line-height: 1.5; word-break: break-word; }
.chat-bubble-footer { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.chat-bubble-footer span { color: #7c8a8f; font-size: 10px; }
.translate-button { padding: 0; color: #4c6a73; border: 0; background: none; font-size: 10px; }
.translate-button:hover { text-decoration: underline; }
.chat-form { display: flex; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; padding: 10px 12px; outline: none; border: 1px solid #dce3e4; border-radius: 8px; font-size: 12px; }
.chat-form input:focus { border-color: #7cc89a; box-shadow: 0 0 0 3px rgba(124,200,154,.14); }

/* ---- 입주사 메시지 알림 / 미팅·업무 요청 ---- */
.nav-badge { margin-left: auto; min-width: 19px; height: 19px; padding: 0 6px; display: inline-grid; place-items: center; color: #fff; border-radius: 10px; background: #ef856c; font-size: 9px; font-weight: 850; }
.section-note { margin: 5px 0 0; color: var(--muted); font-size: 11px; font-weight: 500; }
.meeting-schedule-card { padding: 24px; }
.meeting-schedule-list { margin: 18px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.meeting-schedule-item { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfc; }
.meeting-schedule-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.meeting-schedule-top > div { display: flex; gap: 6px; }
.request-type, .request-direction { padding: 4px 8px; border-radius: 7px; background: #e9f5ee; color: #31664f; font-size: 10px; font-weight: 800; }
.request-direction.received { color: #825d1c; background: #fff3d4; }
.request-direction.sent { color: #506874; background: #eaf0f2; }
.meeting-schedule-item h3 { margin: 13px 0 7px; font-size: 17px; }
.meeting-schedule-item > p { margin: 0; color: #506168; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.meeting-meta { margin: 14px 0 0; padding-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); }
.meeting-meta div { min-width: 0; }
.meeting-meta dt { color: #91a0a5; font-size: 9px; font-weight: 800; letter-spacing: .4px; }
.meeting-meta dd { margin: 3px 0 0; color: #344950; font-size: 11px; overflow-wrap: anywhere; }
.meeting-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.meeting-actions .primary-button, .meeting-actions .secondary-button { padding: 8px 11px; font-size: 11px; text-decoration: none; }
.form-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
@media (max-width: 700px) { .meeting-schedule-top { align-items: flex-start; flex-direction: column; } .meeting-meta, .form-row { grid-template-columns: 1fr; } }

/* ---- 건의함 ---- */
.suggestions-card { padding: 6px 24px 14px; }
.suggestion-list { margin: 0; padding: 0; list-style: none; }
.suggestion-list li { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 15px; padding: 16px 6px; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-hero { padding: 44px 28px; }
  .auth-card { padding: 40px 28px; }
  .messenger-layout { grid-template-columns: 1fr; }
  .channel-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .suggestion-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   The Company v3: 게이트 연출 / 빌딩 층 / 업무일지 / 프로필 확장
   (여기 아래가 최신 스타일입니다. 위쪽 중복 블록보다 우선 적용됩니다.)
   ============================================================ */

/* ---------- 출퇴근 게이트 연출 오버레이 ---------- */
.gate-overlay {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: radial-gradient(circle at 50% 38%, #244754, #0d1c23 78%);
}
.gate-scene {
  --cell: 10px;
  position: relative;
  width: calc(var(--cell) * 34);
  height: calc(var(--cell) * 27);
}
.gate-ground {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(var(--cell) * 1.4);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(201,240,218,.22), rgba(201,240,218,.06));
}
.gate-facade {
  position: absolute; bottom: 0; left: calc(var(--cell) * 8);
  z-index: 1; image-rendering: pixelated;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.45));
}
/* 자동문: 출입구(외벽 안쪽 9~18번째 칸) 자리에 정확히 겹칩니다. */
.gate-doors {
  position: absolute; z-index: 2;
  left: calc(var(--cell) * 17); bottom: var(--cell);
  width: calc(var(--cell) * 10); height: calc(var(--cell) * 10);
  overflow: hidden;
  background: linear-gradient(180deg, #0a161c, #061014);
}
.gate-door { position: absolute; top: 0; image-rendering: pixelated; transition: transform .42s cubic-bezier(.5,.05,.2,1); }
.gate-door.left { left: 0; }
.gate-door.right { right: 0; }
.gate-doors.open .gate-door.left { transform: translateX(-100%); }
.gate-doors.open .gate-door.right { transform: translateX(100%); }

/* 카드리더기: 출입구 바로 왼쪽 벽면(외벽 안쪽 6번째 칸)에 붙어 있습니다. */
.gate-reader {
  position: absolute; z-index: 3;
  left: calc(var(--cell) * 14.5); bottom: calc(var(--cell) * 3.5);
  image-rendering: pixelated; transition: filter .18s;
}
.gate-reader.active { filter: brightness(1.5) drop-shadow(0 0 5px rgba(244,183,105,.85)); }
.gate-reader.beep { animation: gate-beep .3s steps(2) 2; }
@keyframes gate-beep {
  0%, 100% { filter: brightness(1.9) drop-shadow(0 0 10px rgba(101,224,158,.95)); }
  50% { filter: brightness(1) drop-shadow(0 0 2px rgba(101,224,158,.4)); }
}

/* 캐릭터: 왼쪽 화면 밖 → 리더기 앞 → 문 안으로 */
.gate-walker {
  position: absolute; z-index: 4;
  bottom: calc(var(--cell) * 1);
  left: calc(var(--cell) * -8);
  image-rendering: pixelated;
  transition: left .9s cubic-bezier(.35,.05,.3,1), opacity .34s, transform .34s;
}
.gate-walker.outside { left: calc(var(--cell) * -8); }
.gate-walker.at-reader { left: calc(var(--cell) * 7.5); }
.gate-walker.at-door { left: calc(var(--cell) * 18.5); transition-duration: .52s; }
.gate-walker.entering { opacity: 0; transform: scale(.82); }
.gate-walker.leaving { left: calc(var(--cell) * -10); transition-duration: .62s; }
/* 사원카드: 캐릭터가 든 손 끝(오른쪽)에서 리더기 램프 높이로 뻗습니다. */
.gate-walker .gate-card {
  position: absolute; z-index: 5;
  right: calc(var(--cell) * -1.2); bottom: calc(var(--cell) * 5.8);
  opacity: 0; transform: translateX(-3px);
  image-rendering: pixelated;
  transition: opacity .16s, transform .16s;
}
.gate-walker.tagging .gate-card { opacity: 1; transform: translateX(0); }

.gate-caption { margin: 0; color: #dcefec; font-size: 14px; font-weight: 700; letter-spacing: .2px; text-align: center; }
.gate-progress { width: min(280px, 70vw); height: 5px; overflow: hidden; border-radius: 100px; background: rgba(255,255,255,.14); }
.gate-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-strong), #8bdbad); transition: width .34s ease; }

@media (max-width: 520px) {
  .gate-caption { font-size: 12.5px; padding: 0 18px; }
}

/* ---------- 빌딩 입주사 목록 (층별 그룹) ---------- */
.floor-list { margin-top: 22px; display: grid; gap: 14px; }
.floor-block { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fafbfb; }
.floor-head {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, #eef7f1, #f8fbf9);
}
.floor-badge {
  min-width: 38px; padding: 5px 8px;
  border-radius: 7px; color: #17423a; background: var(--mint);
  text-align: center; font-size: 11px; font-weight: 800; letter-spacing: -.3px;
}
.floor-head strong { flex: 1; font-size: 13px; }
.floor-head small { color: var(--muted); font-size: 10.5px; }
.floor-tenants { padding: 12px 15px; display: grid; gap: 9px; }
.tenant-row { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border: 1px solid #e7ecec; border-radius: 10px; background: #fff; }
.tenant-row .tenant-main { min-width: 0; flex: 1; }
.tenant-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.tenant-row .tenant-sub { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }
.tenant-row .online-status { margin-left: 0; }
.floor-empty { padding: 14px 15px; color: var(--muted); font-size: 11.5px; }

/* ---------- 내 회사 카드 (사이드바 + 대시보드) ---------- */
.company-card .company-floor { display: block; margin-top: 6px; color: #8fd7b3; font-size: 10px; font-weight: 700; letter-spacing: .3px; }
.my-company-card { padding: 24px; }
.my-services-card { min-height: 220px; padding: 24px; }
.my-services-card .section-heading { min-height: 46px; }
.my-services-card .my-service-list { margin-top: 18px; }
.market-access-note { margin: 0; padding: 16px; border: 1px solid #dce9e1; border-radius: 10px; color: #53656b; background: #f4f9f6; font-size: 12px; line-height: 1.6; }
.market-access-note strong, .market-access-note span { display: block; }
.market-access-note strong { margin-bottom: 4px; color: #254d3b; font-size: 12.5px; }
.my-company-card .company-name-big { margin: 12px 0 4px; font-size: 22px; letter-spacing: -.8px; }
.my-company-card .company-meta { margin: 0; color: var(--muted); font-size: 12px; }
.my-company-card .company-job { margin: 16px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: #4d5f67; font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; }

/* ---------- 업무일지 ---------- */
.journal-layout { display: grid; grid-template-columns: 1.25fr .95fr; gap: 18px; align-items: start; }
.journal-card, .journal-history-card { padding: 24px; }
.journal-date-row { display: flex; gap: 10px; align-items: end; margin-top: 18px; }
.journal-date-row .field-label { flex: 1; margin-bottom: 0; }
.journal-summary { margin-top: 16px; }
.journal-summary textarea { min-height: 96px; resize: vertical; line-height: 1.6; }

.schedule-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.schedule-head p { margin: 0; color: #68777e; font-size: 10px; font-weight: 700; letter-spacing: 1.1px; }
.schedule-rows { display: grid; gap: 8px; }
.schedule-row { display: grid; grid-template-columns: 108px 1fr 34px; gap: 8px; align-items: center; }
.schedule-row input { width: 100%; padding: 9px 10px; outline: none; border: 1px solid #dce3e4; border-radius: 7px; background: #fff; font-size: 12px; }
.schedule-row input:focus { border-color: #7cc89a; box-shadow: 0 0 0 3px rgba(124,200,154,.14); }
.schedule-remove { height: 34px; color: #a8797a; border: 1px solid #ecdcdc; border-radius: 7px; background: #fdf6f6; font-size: 15px; line-height: 1; }
.schedule-remove:hover { background: #f8ebeb; }
.schedule-empty { padding: 14px 12px; border: 1px dashed #d8e0e0; border-radius: 9px; color: var(--muted); text-align: center; font-size: 11.5px; }
.journal-actions { display: flex; gap: 8px; margin-top: 22px; }
.journal-actions .primary-button { flex: 1; }

.journal-history { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; max-height: 460px; overflow-y: auto; }
.journal-history li { padding: 13px 4px; border-top: 1px solid var(--line); }
.journal-history li:first-child { border-top: 0; }
.journal-history-head { display: flex; align-items: center; gap: 9px; }
.journal-history-head strong { font-size: 12.5px; }
.journal-history-head .count-chip { margin-left: auto; }
.journal-history p { margin: 6px 0 0; overflow: hidden; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11.5px; line-height: 1.6; }
.journal-open { padding: 0; color: #4c6a73; border: 0; background: none; font-size: 11px; font-weight: 750; }
.journal-open:hover { text-decoration: underline; }

/* ---------- 프로필 확장: 목표 / 평가 / Y+3 / 커리어 / 외부 링크 ---------- */
.profile-extra { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.profile-extra textarea { resize: vertical; line-height: 1.6; }
.profile-extra .secondary-button { width: 100%; margin-top: 4px; }
.profile-section-label { margin: 4px 0 -4px; color: var(--navy); font-size: 11.5px; font-weight: 800; letter-spacing: -.2px; }
.career-links { display: grid; gap: 8px; }
.career-links input { width: 100%; padding: 9px 10px; outline: none; border: 1px solid #dce3e4; border-radius: 7px; font-size: 12px; }
.career-links input:focus { border-color: #7cc89a; box-shadow: 0 0 0 3px rgba(124,200,154,.14); }
.profile-link-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; }
.profile-link-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px; border: 1px solid #d3e6db; border-radius: 100px;
  color: #2c5b47; background: #f0f9f4; font-size: 11px; font-weight: 750; text-decoration: none;
}
.profile-link-chip:hover { background: #e3f4ea; }
.profile-narrative { margin: 18px 0 0; display: grid; gap: 12px; }
.profile-narrative div { padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.profile-narrative dt { margin-bottom: 5px; color: #68777e; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.profile-narrative dd { margin: 0; color: #3f525b; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }

/* ---------- 온보딩 다이얼로그: 내 회사 설립 ---------- */
.onboarding-intro { margin: -8px 0 20px; padding: 13px 14px; border: 1px solid #dceee4; border-radius: 10px; background: #f3faf6; color: #3d6455; font-size: 11.5px; line-height: 1.65; }
.editor-dialog.tall-dialog { width: min(560px, calc(100vw - 34px)); }
.editor-dialog.tall-dialog form { max-height: min(84vh, 760px); overflow-y: auto; }

/* ---------- 랜딩: 빌딩 컨셉 문구 ---------- */
.auth-hero .concept-line { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid var(--mint-strong); border-radius: 0 9px 9px 0; background: rgba(201,240,218,.09); color: #cfe7dd; font-size: 12.5px; line-height: 1.7; }

@media (max-width: 1050px) {
  .journal-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .schedule-row { grid-template-columns: 92px 1fr 32px; gap: 6px; }
  .journal-actions { flex-direction: column; }
}

/* ---------- 8비트 픽셀 지구본 & 미팅룸 스타일 ---------- */
.global-map-card { padding: 24px; }
.pixel-globe-wrapper { position: relative; width: 100%; min-height: 245px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #173c4b, #0b1d26 76%); border-radius: 12px; overflow: hidden; padding: 26px 12px; border: 1px solid rgba(201,240,218,.15); }
.pixel-globe-wrapper::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 20px 20px; }
.pixel-map-stage { position: relative; z-index: 1; width: max-content; max-width: 100%; }
.pixel-globe-grid { image-rendering: pixelated; opacity: .98; filter: drop-shadow(0 7px 14px rgba(0,0,0,.25)); }
.pixel-pins-layer { position: absolute; inset: 0; pointer-events: auto; }
.pixel-city-pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 3px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; background: rgba(12,28,36,.92); color: #fff; font-size: 9px; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.pixel-city-pin:hover { transform: translate(-50%, -55%) scale(1.08); background: var(--navy); border-color: var(--mint-strong); z-index: 5; }
.pixel-city-pin.active { background: #2c5946; border-color: var(--mint); color: #fff; font-weight: 800; z-index: 10; box-shadow: 0 0 12px rgba(65,184,122,.6); }
.pixel-city-pin.hq-pin { border-color: #f4eaa0; }
.hq-tag { padding: 1px 4px; border-radius: 3px; background: #f4eaa0; color: #152a35; font-size: 8px; font-weight: 800; margin-right: 2px; }
.pin-flag { font-size: 10px; }
.pin-name { white-space: nowrap; }

.branch-clock-heading { margin-top: 22px; padding-top: 20px; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); }
.branch-clock-heading h3 { margin: 5px 0 0; font-size: 16px; }
.branch-clock-heading > span { color: var(--muted); font-size: 10px; }
.branch-clock-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.branch-clock { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fafcfc; }
.branch-clock.active { border-color: #9dd9b6; background: #f0faf4; box-shadow: 0 4px 12px rgba(65,184,122,.08); }
.branch-clock-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.branch-clock-city { overflow: hidden; color: #596a70; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 750; }
.branch-clock-status { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #aab5b8; }
.branch-clock-status.open { background: var(--mint-strong); box-shadow: 0 0 0 3px rgba(65,184,122,.12); }
.branch-clock-time { display: block; margin-top: 6px; color: var(--ink); font-size: 16px; font-weight: 850; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.branch-clock-date { display: block; margin-top: 2px; color: #8a989d; font-size: 8.5px; white-space: nowrap; }
@media (max-width: 1180px) { .branch-clock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .branch-clock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pixel-city-pin .pin-name { display: none; } }


.city-branch-selector { display: flex; flex-wrap: wrap; gap: 6px; }
.city-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid #dce3e4; border-radius: 100px; color: var(--ink); background: #fff; font-size: 11.5px; font-weight: 750; cursor: pointer; transition: all .15s; }
.city-chip:hover { background: #f0f4f4; border-color: #b5c7cb; }
.city-chip.active { color: #173b2d; border-color: #7cc89a; background: #e8f7ee; font-weight: 800; box-shadow: 0 2px 6px rgba(65,184,122,.15); }
.hq-mini-tag { padding: 1px 4px; border-radius: 3px; background: #f4eaa0; color: #152a35; font-size: 8px; font-weight: 800; }

.pixel-meeting-container { width: 100%; min-height: 140px; border-radius: 10px; background: #172b35; display: flex; align-items: center; justify-content: center; padding: 15px; margin-top: 15px; }
.pixel-room-scene { text-align: center; color: #fff; }
.pixel-board-title { display: inline-block; padding: 4px 12px; border-radius: 6px; background: rgba(0,0,0,.3); color: var(--lemon); font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.pixel-table { width: 180px; height: 36px; margin: 0 auto; border-radius: 18px; background: #7c5234; border: 3px solid #573720; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.pixel-chairs { margin-top: 8px; font-size: 20px; letter-spacing: 6px; }

.meeting-attendees-field { border: 0; padding: 0; margin: 0 0 15px; }
.meeting-attendees-field legend { margin-bottom: 8px; font-size: 12px; font-weight: 750; color: var(--ink); }
.meeting-attendee-list { display: grid; gap: 7px; max-height: 150px; overflow-y: auto; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f8faf9; }
.meeting-attendee-option { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink); cursor: pointer; }
.meeting-attendee-option input { width: 16px; height: 16px; accent-color: var(--mint-strong); }

/* ---------- 서비스화 랜딩 · Founding 100 요금제 ---------- */
.auth-screen { align-items: stretch; }
.landing-entry-actions { display: grid; gap: 8px; max-width: 380px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.landing-pricing-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.landing-pricing { grid-column: 1 / -1; padding: 72px max(24px, calc((100vw - 1040px) / 2)); background: #f3f6f5; }
.pricing-heading { max-width: 680px; margin: 0 auto; text-align: center; }
.pricing-heading h2 { margin: 9px 0 10px; color: var(--ink); font-size: clamp(25px, 3vw, 36px); }
.pricing-heading > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; }
.founding-progress { max-width: 650px; margin: 24px auto; padding: 12px 16px; display: flex; justify-content: space-between; border: 1px solid #d4e9dc; border-radius: 10px; color: #28523f; background: #eaf7ef; font-size: 12px; }
.pricing-grid { max-width: 850px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pricing-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.pricing-card.featured { border-color: #78c99a; box-shadow: 0 16px 38px rgba(48, 122, 83, .13); }
.pricing-card h3 { margin: 8px 0 18px; font-size: 22px; }
.pricing-card ul { min-height: 116px; margin: 20px 0; padding-left: 18px; color: #516269; font-size: 12px; line-height: 1.9; }
.regular-price { margin: 0; color: #94a0a4; font-size: 12px; text-decoration: line-through; }
.founding-price { margin: 5px 0 0; color: var(--ink); font-size: 14px; }
.founding-price strong { font-size: 28px; letter-spacing: -1px; }
.pricing-recommend { position: absolute; top: 16px; right: 16px; padding: 4px 8px; border-radius: 100px; color: #214d38; background: var(--mint); font-size: 10px; font-weight: 800; }
.pricing-note { margin: 18px auto 0; color: var(--muted); text-align: center; font-size: 11px; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } .landing-pricing { padding: 52px 20px; } .founding-progress { align-items: center; flex-direction: column; gap: 4px; } }
.product-switch { grid-column: 1 / -1; position: sticky; top: 0; z-index: 20; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 8px !important; height: 48px !important; min-height: 48px !important; max-height: 48px !important; padding: 0 18px !important; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-sizing: border-box !important; }
.product-switch-button { display: inline-flex !important; align-items: center !important; justify-content: center !important; height: 32px !important; min-height: 32px !important; max-height: 32px !important; padding: 0 16px !important; border: 0 !important; border-radius: 100px !important; color: var(--muted); background: transparent; font-size: 12px !important; font-weight: 800 !important; white-space: nowrap !important; line-height: 1 !important; box-sizing: border-box !important; cursor: pointer; align-self: center !important; }
.product-switch-button.active { color: #fff !important; background: var(--navy) !important; }


.dev-badge { margin-left: 4px; padding: 2px 5px; border-radius: 100px; color: #735f22; background: var(--lemon); font-size: 8px; vertical-align: 1px; }
.product-label { color: var(--mint) !important; font-size: 10px !important; font-weight: 800; letter-spacing: 1.5px; }
.newsletter-consent { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.newsletter-consent input { width: 15px; height: 15px; accent-color: var(--mint-strong); }
.market-hero { display: none; grid-column: 1 / -1; min-height: calc(100vh - 55px); padding: 76px max(24px, calc((100vw - 1120px) / 2)); color: #fff; text-align: center; background: radial-gradient(circle at 20% 20%, #2c5d56, transparent 42%), linear-gradient(145deg, #10222b, #1d3945); }
.market-hero h1 { max-width: 760px; margin: 12px auto; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.market-hero > p:not(.eyebrow) { max-width: 650px; margin: 0 auto; color: #c1d1d4; line-height: 1.7; }
.market-hero-actions { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.coming-pill { display: inline-block; margin-bottom: 16px; padding: 6px 11px; border: 1px solid rgba(201,240,218,.35); border-radius: 100px; color: var(--mint); background: rgba(201,240,218,.08); font-size: 10px; font-weight: 850; letter-spacing: 1.2px; }
.market-coming-copy { max-width: 790px; margin: 0 auto; }
.market-concept-flow { margin: 44px auto 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.market-concept-flow article { min-height: 180px; padding: 22px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.06); text-align: left; }
.market-concept-flow article span { color: var(--mint); font-size: 10px; font-weight: 850; }
.market-concept-flow article strong { display: block; margin-top: 15px; font-size: 17px; }
.market-concept-flow article p { margin: 9px 0 0; color: #b9cacc; font-size: 12px; line-height: 1.65; }
.market-concept-flow > i { color: var(--mint); font-style: normal; font-size: 20px; opacity: .65; }
.market-preview-points { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.market-preview-points span { padding: 6px 10px; border-radius: 100px; color: #d9e8e3; background: rgba(255,255,255,.08); font-size: 10px; }
.auth-screen:not(.market-mode) .market-only { display: none; }
.auth-screen.market-mode .auth-hero, .auth-screen.market-mode .auth-card { display: none; }
.auth-screen.market-mode .market-hero { display: block; }
.auth-screen.market-mode .market-only { display: none; }
@media (max-width: 900px) { .market-concept-flow { grid-template-columns: 1fr 1fr; } .market-concept-flow > i { display: none; } }
@media (max-width: 560px) { .market-concept-flow { grid-template-columns: 1fr; } .market-hero { padding: 52px 20px; } .market-hero-actions { flex-direction: column; } }
.public-marketplace { grid-column: 1 / -1; padding: 72px max(24px, calc((100vw - 1120px) / 2)); background: #fff; }
.marketplace-heading { text-align: center; }
.marketplace-heading h2 { margin: 8px 0; font-size: clamp(25px, 3vw, 36px); }
.marketplace-heading > p:last-child { color: var(--muted); }
.marketplace-tools { margin: 28px 0 20px; display: grid; gap: 12px; }
.marketplace-tools input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; }
.public-company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.public-company-card { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfc; cursor: pointer; transition: transform .16s, box-shadow .16s; }
.public-company-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.public-company-card h3 { margin: 8px 0 4px; }
.public-company-card > p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.public-service-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.public-service-tags span { padding: 4px 7px; border-radius: 100px; background: #eaf6ef; color: #315a47; font-size: 10px; }
.public-company-dialog { width: min(720px, calc(100vw - 32px)); }
.legal-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(86vh, 760px); padding: 0; overflow: hidden; }
.legal-dialog .dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.legal-dialog .dialog-header h2 { margin: 0; font-size: 20px; }
.legal-dialog .dialog-body { max-height: calc(min(86vh, 760px) - 150px); padding: 20px 24px; overflow-y: auto; color: var(--muted); font-size: 13px; line-height: 1.7; }
.legal-dialog .dialog-body h3 { margin: 20px 0 6px; color: var(--ink); font-size: 14px; }
.legal-dialog .dialog-body h3:first-child { margin-top: 0; }
.legal-dialog > .dialog-actions { margin: 0; padding: 14px 24px 18px; border-top: 1px solid var(--line); }
.public-company-detail { padding: 28px; }
.public-company-detail h2 { margin: 8px 0; }
.public-detail-services { display: grid; gap: 12px; margin-top: 22px; }
.public-service-detail { padding: 16px; border: 1px solid var(--line); border-radius: 11px; }
.public-service-detail h3 { margin: 0 0 5px; }
.public-service-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.my-service-list { display: grid; gap: 10px; margin-top: 14px; }
.my-service-item { padding: 12px; border: 1px solid var(--line); border-radius: 9px; }
.my-service-item strong, .my-service-item span { display: block; }
.my-service-item span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.my-service-actions { display: flex; gap: 7px; margin-top: 9px; }
@media (max-width: 850px) { .public-company-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .public-company-grid { grid-template-columns: 1fr; } .public-marketplace { padding: 52px 20px; } }

/* ---------- 수동 근태 입력: 명확한 2열 폼 ---------- */
.manual-form { grid-template-columns: 1fr 1fr; gap: 12px; }
.manual-form > label:first-child, .manual-form .manual-save-button { grid-column: 1 / -1; }
.manual-time-control { margin-top: 6px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.manual-time-control input { min-width: 0; margin-top: 0; }
.time-now-button { padding: 0 9px; color: #3d6655; border: 1px solid #cfe4d8; border-radius: 7px; background: #f1faf5; font-size: 9px; font-weight: 750; white-space: nowrap; }
.time-now-button:hover { background: #e4f5eb; }
.required-mark { color: #3e8a63; font-size: 8px; }
.optional-mark { color: #97a3a7; font-size: 8px; }
.manual-form .manual-save-button { width: 100%; min-height: 38px; }
.manual-card .form-help { line-height: 1.55; }
@media (max-width: 520px) { .manual-form { grid-template-columns: 1fr; } .manual-form > label, .manual-form .manual-save-button { grid-column: 1; } }
