/* LICY (라이시) v8.56.0 — Extracted App & Dark-Mode Stylesheet */
    html, body { overscroll-behavior-y: contain; }
    :root {
      --tenant-primary: #0F2C59;
      --tenant-soft: #E8EFF8;
    }
    body {
      font-family: 'Noto Sans KR', 'Inter', sans-serif;
      background-color: #090D16;
      color: #0F172A;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
      word-break: keep-all;
    }
    .app-shell {
      max-width: 460px;
      margin: 0 auto;
      background-color: #F4F6F9;
      min-height: 100vh;
      position: relative;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
      display: flex;
      flex-direction: column;
    }
    .tenant-text {
      color: var(--tenant-primary);
    }
    .tenant-bg {
      background-color: var(--tenant-primary);
    }
    .tenant-soft-bg {
      background-color: var(--tenant-soft);
    }
    :root {
      --licy-primary: #0F2C59;
      --licy-primary-hover: #163A70;
      --licy-primary-dark: #091D3D;
      --licy-soft-bg: #EEF3FA;
      --licy-page-bg: #F4F7FB;
      --licy-accent: #FBBF24;
      --licy-icon-sec: #64748B;
      --licy-icon-em: #10B981;
      --licy-icon-coral: #F43F5E;
    }
    .icon-squircle {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .icon-squircle.licy-obj-icon {
      background: transparent !important;
      box-shadow: none !important;
    }
    .menu-grid-btn:hover .icon-squircle {
      transform: translateY(-3px) scale(1.03);
    }
    .menu-grid-btn:active .icon-squircle {
      transform: scale(0.93);
    }
    .font-gothic { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; }
    .font-myeongjo { font-family: 'Nanum Myeongjo', serif; font-weight: 800; }
    .font-jua { font-family: 'Jua', sans-serif; font-weight: 400; }
    .font-blackhan { font-family: 'Black Han Sans', sans-serif; font-weight: 400; }
    .font-gowun { font-family: 'Gowun Dodum', sans-serif; font-weight: 700; }
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    @keyframes pickupSlideInRight {
      0% { opacity: 0.35; transform: translateX(34px); }
      100% { opacity: 1; transform: translateX(0); }
    }
    @keyframes pickupSlideInLeft {
      0% { opacity: 0.35; transform: translateX(-34px); }
      100% { opacity: 1; transform: translateX(0); }
    }
    .pickup-slide-right {
      animation: pickupSlideInRight 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .pickup-slide-left {
      animation: pickupSlideInLeft 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .pickup-drop-block {
      box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.85);
    }
    .pk-draggable-block {
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      user-select: none;
    }
    .licy-wheel-col {
      height: 200px;
      overflow-y: auto;
      scroll-snap-type: y mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      overscroll-behavior: contain;
    }
    .licy-wheel-col::-webkit-scrollbar {
      display: none;
    }
    .licy-wheel-item {
      height: 40px;
      scroll-snap-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
      -webkit-user-select: none;
      cursor: pointer;
      transition: transform 0.12s ease, color 0.12s ease, opacity 0.12s ease;
    }
    @keyframes licyEditWiggle {
      0%, 100% { transform: rotate(-0.75deg) translateZ(0); }
      50% { transform: rotate(0.75deg) translateZ(0); }
    }
    .home-tile-editing {
      position: relative;
      padding: 6px 2px;
      border-radius: 18px;
      background-color: #F8FAFC;
      border: 1.5px dashed rgba(15, 44, 89, 0.24);
      touch-action: none;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
      cursor: grab;
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.16s ease;
    }
    .home-tile-editing .icon-squircle {
      animation: licyEditWiggle 0.64s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
      will-change: transform;
    }
    .home-tile-editing:nth-child(even) .icon-squircle {
      animation-delay: -0.32s;
    }
    .home-tile-editing:nth-child(3n) .icon-squircle {
      animation-delay: -0.16s;
    }
    .home-tile-editing.home-tile-selected {
      background-color: #E8EFF8;
      border: 2px solid #0F2C59;
      box-shadow: 0 8px 20px rgba(15, 44, 89, 0.16);
      transform: scale(1.03);
    }
    .home-tile-editing.home-tile-dragging {
      opacity: 0.18;
      border: 1.5px dashed rgba(15, 44, 89, 0.42);
      background-color: rgba(226, 232, 240, 0.45);
    }
    .home-tile-editing.home-tile-dragging .icon-squircle {
      animation: none !important;
      transform: scale(0.94);
    }
    #homeMenuDragGhost {
      pointer-events: none !important;
      will-change: transform, opacity;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      filter: drop-shadow(0 16px 28px rgba(15, 44, 89, 0.24));
    }
    .home-tile-hide-btn {
      position: absolute;
      top: 1px;
      right: 2px;
      width: 21px;
      height: 21px;
      border-radius: 9999px;
      background-color: #E11D48;
      color: #FFFFFF;
      border: 2px solid #FFFFFF;
      font-size: 13px;
      font-weight: 900;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
      z-index: 15;
    }

    /* v8.8.73 Attendance Long-Press Drag & Drop (유치원 <-> 호텔 전환) */
    .att-drag-source-active {
      opacity: 0.42 !important;
      transform: scale(0.97);
      outline: 2px dashed #0F2C59;
      outline-offset: -2px;
      transition: opacity 0.12s ease, transform 0.12s ease;
    }
    .att-drop-zone-ready {
      background-color: rgba(15, 44, 89, 0.04) !important;
      box-shadow: inset 0 0 0 2px dashed rgba(15, 44, 89, 0.35);
      transition: background-color 0.15s ease, box-shadow 0.15s ease;
    }
    .att-drop-zone-over-hotel {
      background-color: rgba(16, 185, 129, 0.14) !important;
      box-shadow: inset 0 0 0 3px #059669 !important;
    }
    .att-drop-zone-over-daycare {
      background-color: rgba(15, 44, 89, 0.12) !important;
      box-shadow: inset 0 0 0 3px #0F2C59 !important;
    }
    #attDragGhost {
      position: fixed;
      z-index: 9999;
      pointer-events: none;
      transform: translate(-50%, -62%) scale(1.04) rotate(-1.5deg);
      box-shadow: 0 18px 40px -10px rgba(15, 44, 89, 0.45);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(8px);
      border: 2px solid #0F2C59;
      padding: 10px 14px;
      min-width: 148px;
      max-width: 210px;
      transition: border-color 0.12s ease, background-color 0.12s ease;
    }
    #attDragGhost.is-over-hotel {
      border-color: #059669;
      background: rgba(236, 253, 245, 0.97);
    }
    #attDragGhost.is-over-daycare {
      border-color: #0F2C59;
      background: rgba(239, 246, 255, 0.97);
    }

    /* v8.56.0 Native-Grade Chat Tactile & Context Sheet Motion */
    [data-chat-msg-id] {
      transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), filter 0.18s ease, box-shadow 0.18s ease;
      will-change: transform;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
    }
    .chat-bubble-pressing {
      transform: scale(0.972) !important;
      filter: brightness(0.96);
    }
    .chat-bubble-menu-target {
      transform: scale(1.018) !important;
      box-shadow: 0 10px 28px rgba(15, 44, 89, 0.22), 0 0 0 2px rgba(15, 44, 89, 0.22) !important;
      z-index: 35;
      position: relative;
    }
    [data-open-chat-idx] {
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.16s ease;
      -webkit-touch-callout: none;
      user-select: none;
      -webkit-user-select: none;
    }
    .chat-room-row-pressing {
      transform: scale(0.985);
      background-color: #F1F5F9 !important;
    }
    @keyframes licyChatBackdropIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes licyChatSheetSpringIn {
      0% { opacity: 0; transform: scale(0.92) translateY(8px); }
      100% { opacity: 1; transform: scale(1) translateY(0); }
    }
    @keyframes licyChatReactionBarIn {
      0% { opacity: 0; transform: scale(0.88) translateY(6px); }
      100% { opacity: 1; transform: scale(1) translateY(0); }
    }
    .licy-chat-backdrop-anim {
      animation: licyChatBackdropIn 0.16s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .licy-chat-reaction-anim {
      animation: licyChatReactionBarIn 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      transform-origin: center bottom;
    }
    .licy-chat-menu-anim {
      animation: licyChatSheetSpringIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      transform-origin: center top;
    }

    /* ================= v8.8.73 LICY DESIGN SYSTEM v2 (3-Color Token Lock + Unified Surfaces) ================= */
    :root {
      --licy-navy: #0F2C59;
      --licy-navy-mid: #1A3F7A;
      --licy-navy-soft: #EEF3FA;
      --licy-amber: #F59E0B;
      --licy-amber-bright: #FBBF24;
      --licy-emerald: #059669;
      --licy-rose: #E11D48;
      --licy-canvas: #F4F6FA;
      --licy-surface: #FFFFFF;
    }
    body {
      background-color: var(--licy-canvas) !important;
      letter-spacing: -0.015em;
    }
    .icon-squircle {
      border-radius: 20px !important;
      transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.16s ease, background-color 0.16s ease !important;
    }
    .menu-grid-btn:active .icon-squircle {
      transform: scale(0.92) !important;
    }
    #moduleViewContent > div.bg-white,
    #moduleViewContent .bg-white.rounded-2xl {
      border-color: rgba(15, 23, 42, 0.065) !important;
      box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
    }
    #moduleViewContent input[type="text"]:focus,
    #moduleViewContent input[type="date"]:focus,
    #moduleViewContent select:focus,
    #moduleViewContent textarea:focus {
      border-color: var(--licy-navy) !important;
      box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.10) !important;
    }
      /* Global Modal / Popup Background Scroll Lock (iOS & Android · v8.16.4) */
    html.licy-modal-open,
    body.licy-modal-open {
      overflow: hidden !important;
      overscroll-behavior: none !important;
    }
    .fixed.inset-0 {
      overscroll-behavior: contain;
    }
    .fixed.inset-0 .overflow-y-auto,
    .fixed.inset-0 .overflow-auto {
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }
  
    /* v8.19.1: Black Lab Heavy Pull & Goodbye Push Slide Drawer Animations */
    @keyframes licyLabHeavyPullOpen {
      0%   { transform: translateX(-100%); }
      18%  { transform: translateX(-66%); }
      30%  { transform: translateX(-63%); }
      52%  { transform: translateX(-44%); }
      65%  { transform: translateX(-41%); }
      86%  { transform: translateX(-12%); }
      100% { transform: translateX(0%); }
    }
    @keyframes licyLabGoodbyePushClose {
      0%   { transform: translateX(0%); }
      16%  { transform: translateX(-25%); }
      28%  { transform: translateX(-27%); }
      48%  { transform: translateX(-58%); }
      60%  { transform: translateX(-60%); }
      84%  { transform: translateX(-95%); }
      100% { transform: translateX(-130%); }
    }
    @keyframes licyLabPullStrain {
      0%, 16% { transform: translateY(0px) rotate(0deg); }
      26%     { transform: translateY(1px) rotate(6deg); }
      40%     { transform: translateY(-1px) rotate(9deg); }
      56%     { transform: translateY(1px) rotate(5deg); }
      72%     { transform: translateY(-1px) rotate(10deg); }
      90%     { transform: translateY(0px) rotate(4deg); }
      100%    { transform: translateY(0px) rotate(0deg); }
    }
    @keyframes licyLabPushLean {
      0%   { transform: translateX(0px) rotate(0deg); }
      14%  { transform: translateX(-5px) rotate(-10deg); }
      26%  { transform: translateX(2px) rotate(-2deg); }
      46%  { transform: translateX(-6px) rotate(-11deg); }
      58%  { transform: translateX(2px) rotate(-2deg); }
      82%  { transform: translateX(-6px) rotate(-12deg); }
      100% { transform: translateX(-3px) rotate(-8deg); }
    }
    .licy-drawer-pull-open {
      animation: licyLabHeavyPullOpen 1.28s linear forwards;
    }
    .licy-drawer-push-close {
      animation: licyLabGoodbyePushClose 1.18s linear forwards;
    }
    .licy-lab-pull-strain {
      animation: licyLabPullStrain 1.28s ease-in-out forwards;
    }
    .licy-lab-push-lean {
      animation: licyLabPushLean 1.18s ease-in-out forwards;
    }
  
      @keyframes licyStkBounce {
        0%, 100% { transform: translateY(0) scale(1, 1); }
        25% { transform: translateY(-6px) scale(0.97, 1.04); }
        50% { transform: translateY(0) scale(1.04, 0.96); }
        75% { transform: translateY(-3px) scale(0.99, 1.02); }
      }
      @keyframes licyStkWiggle {
        0%, 100% { transform: rotate(0deg) scale(1); }
        20% { transform: rotate(-5deg) scale(1.03); }
        40% { transform: rotate(5deg) scale(1.03); }
        60% { transform: rotate(-3deg) scale(1.01); }
        80% { transform: rotate(3deg) scale(1.01); }
      }
      @keyframes licyStkPop {
        0%, 100% { transform: scale(1); }
        30% { transform: scale(1.08); }
        55% { transform: scale(0.96); }
        80% { transform: scale(1.04); }
      }
      @keyframes licyStkFloat {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-5px); }
      }
      .licy-stk-bounce { animation: licyStkBounce 1.8s ease-in-out infinite; }
      .licy-stk-wiggle { animation: licyStkWiggle 2.1s ease-in-out infinite; }
      .licy-stk-pop { animation: licyStkPop 1.6s ease-in-out infinite; }
      .licy-stk-float { animation: licyStkFloat 2.4s ease-in-out infinite; }

/* Dark Mode Overrides */
    html.licy-dark-mode body { background-color: #0B1220 !important; color: #E2E8F0 !important; }
    html.licy-dark-mode .bg-white { background-color: #151F32 !important; color: #E2E8F0 !important; }
    html.licy-dark-mode .bg-slate-50,
    html.licy-dark-mode .bg-slate-50\/70,
    html.licy-dark-mode .bg-\[\#F7F8FA\],
    html.licy-dark-mode .bg-\[\#F4F7FB\],
    html.licy-dark-mode .bg-\[\#F8FAFC\] { background-color: #1B2740 !important; }
    html.licy-dark-mode .bg-slate-100 { background-color: #24334F !important; }
    html.licy-dark-mode .border-slate-100,
    html.licy-dark-mode .border-slate-200,
    html.licy-dark-mode .border-slate-200\/90,
    html.licy-dark-mode .border-slate-200\/80,
    html.licy-dark-mode .border-slate-300 { border-color: #2B3B5A !important; }
    html.licy-dark-mode .divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color: #253452 !important; }
    html.licy-dark-mode .text-slate-900,
    html.licy-dark-mode .text-slate-800 { color: #F1F5F9 !important; }
    html.licy-dark-mode .text-slate-700,
    html.licy-dark-mode .text-slate-600 { color: #CBD5E1 !important; }
    html.licy-dark-mode .text-slate-500 { color: #94A3B8 !important; }
    html.licy-dark-mode input:not([type="checkbox"]):not([type="radio"]),
    html.licy-dark-mode select,
    html.licy-dark-mode textarea { background-color: #0F172A !important; color: #F8FAFC !important; border-color: #334155 !important; }
    html.licy-dark-mode #licyAuthPortal input { background-color: transparent !important; color: #FFFFFF !important; border-color: rgba(255,255,255,0.5) !important; }


    @keyframes licyMsgBubbleSendIn {
      0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.97); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    .licy-msg-just-sent {
      animation: licyMsgBubbleSendIn 0.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
