    /* ─ App shell ─ */
    .app{display:none;flex-direction:column;min-height:100vh;min-height:100dvh;padding-bottom:calc(72px + env(safe-area-inset-bottom))}
    .app.visible{display:flex}

    /* ─ Top header ─ */
    .app-header{background:linear-gradient(135deg,#1a1a2e 0%,#0f3460 100%);padding:10px 14px;padding-top:calc(10px + env(safe-area-inset-top));position:sticky;top:0;z-index:100;box-shadow:0 4px 20px rgba(0,0,0,.3)}
    .header-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
    .company-info{min-width:0;flex:1}
    .company-info h2{color:#fff;font-size:15px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 100px)}
    .company-info p{color:rgba(255,255,255,.55);font-size:10.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .header-right{display:flex;align-items:center;gap:6px;flex-shrink:0}
    .logout-btn{background:rgba(255,255,255,.12);border:none;color:rgba(255,255,255,.85);padding:6px 10px;border-radius:8px;font-size:11.5px;cursor:pointer;font-family:inherit;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:5px;transition:background .15s}
    .logout-btn:active{background:rgba(255,255,255,.22)}
    /* ─ 햄버거 메뉴 버튼 ─ */
    .hamburger-btn{background:rgba(255,255,255,.12);border:none;color:rgba(255,255,255,.85);width:44px;height:44px;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;flex-shrink:0}
    .hamburger-btn:active{background:rgba(255,255,255,.25)}
    /* ─ 알림 벨 버튼 ─ */
    .notif-btn{background:rgba(255,255,255,.12);border:none;color:rgba(255,255,255,.85);width:44px;height:44px;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;flex-shrink:0;}
    .notif-btn:active{background:rgba(255,255,255,.25)}
    .notif-btn i{font-size:18px;}
    .notif-badge{position:absolute;top:6px;right:6px;min-width:16px;height:16px;background:#ef4444;color:#fff;border-radius:20px;font-size:9.5px;font-weight:800;display:none;align-items:center;justify-content:center;padding:0 4px;border:2px solid #0f3460;pointer-events:none;}
    /* ─ 알림함 모달 ─ */
    .notif-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:500;display:flex;align-items:flex-start;justify-content:flex-end;padding:calc(60px + env(safe-area-inset-top)) 12px 0;opacity:0;pointer-events:none;transition:opacity .2s;}
    .notif-modal-overlay.open{opacity:1;pointer-events:auto;}
    .notif-modal{background:#fff;border-radius:16px;width:100%;max-width:360px;max-height:70vh;display:flex;flex-direction:column;box-shadow:0 8px 40px rgba(0,0,0,.25);overflow:hidden;}
    .notif-modal-head{background:linear-gradient(135deg,#1a1a2e,#0f3460);padding:14px 16px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;}
    .notif-modal-head-title{color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;gap:7px;}
    .notif-modal-close{background:rgba(255,255,255,.15);border:none;color:#fff;width:30px;height:30px;border-radius:8px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;}
    .notif-modal-body{overflow-y:auto;flex:1;}
    .notif-item{display:flex;gap:11px;padding:13px 14px;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background .12s;-webkit-tap-highlight-color:transparent;}
    .notif-item:active,.notif-item:hover{background:#f5f3ff;}
    .notif-item.unread{background:#f5f3ff;}
    .notif-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;margin-top:1px;}
    .notif-content{flex:1;min-width:0;}
    .notif-title{font-size:12.5px;font-weight:700;color:#111827;line-height:1.4;margin-bottom:3px;}
    .notif-body{font-size:11.5px;color:#4b5563;line-height:1.5;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
    .notif-time{font-size:10.5px;color:#9ca3af;margin-top:5px;}
    .notif-unread-dot{width:8px;height:8px;background:#6366f1;border-radius:50%;flex-shrink:0;margin-top:6px;}
    .notif-empty{text-align:center;padding:40px 20px;color:#9ca3af;font-size:13px;}
    .notif-empty i{font-size:32px;display:block;margin-bottom:10px;color:#d1d5db;}
    .notif-modal-footer{padding:10px 14px;border-top:1px solid #f3f4f6;text-align:center;flex-shrink:0;}
    .notif-read-all-btn{background:none;border:none;color:#6366f1;font-size:12.5px;font-weight:600;cursor:pointer;font-family:inherit;padding:4px 8px;}
    /* ─ 알림 상세 모달 ─ */
    .notif-detail-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:600;display:flex;align-items:flex-end;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s;}
    .notif-detail-overlay.open{opacity:1;pointer-events:auto;}
    .notif-detail-sheet{background:#fff;border-radius:20px 20px 0 0;width:100%;max-width:480px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 -4px 30px rgba(0,0,0,.2);overflow:hidden;transform:translateY(20px);transition:transform .2s;}
    .notif-detail-overlay.open .notif-detail-sheet{transform:translateY(0);}
    .notif-detail-head{background:linear-gradient(135deg,#eef2ff,#e0e7ff);padding:16px 18px;border-bottom:1px solid #c7d2fe;flex-shrink:0;}
    .notif-detail-title{font-size:14px;font-weight:800;color:#3730a3;margin-bottom:4px;line-height:1.4;}
    .notif-detail-meta{font-size:11px;color:#6b7280;}
    .notif-detail-body{padding:16px 18px;overflow-y:auto;flex:1;font-size:13px;color:#374151;line-height:1.8;white-space:pre-wrap;}
    .notif-link{color:#2563eb;font-weight:600;text-decoration:underline;word-break:break-all;}
    .notif-file-actions{display:inline-flex;gap:6px;margin:4px 0;flex-wrap:wrap;}
    .notif-file-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:7px;font-size:11.5px;font-weight:700;border:1px solid transparent;text-decoration:none;cursor:pointer;font-family:inherit;}
    .notif-file-btn i{font-size:11px;}
    .notif-download-btn{background:#4f46e5;color:#fff;}
    .notif-download-btn:hover{background:#4338ca;}
    .notif-copy-btn{background:#f3f4f6;color:#374151;border-color:#e5e7eb;}
    .notif-copy-btn:hover{background:#e5e7eb;}
    .notif-detail-infobox{margin:20px 18px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;}
    .notif-detail-info-row{display:flex;gap:8px;font-size:12.5px;line-height:1.9;}
    .notif-detail-info-label{color:#64748b;font-weight:600;min-width:72px;flex-shrink:0;}
    .notif-detail-info-val{color:#1e293b;font-weight:700;}
    .notif-detail-dday{display:inline-flex;padding:1px 8px;border-radius:20px;font-size:11px;font-weight:800;background:#fef2f2;color:#dc2626;border:1px solid #fca5a5;margin-left:5px;}
    .notif-detail-foot{padding:14px 18px;border-top:1px solid #f1f5f9;flex-shrink:0;}
    .notif-detail-close{width:100%;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;border:none;border-radius:10px;padding:12px;font-size:13.5px;font-weight:700;cursor:pointer;font-family:inherit;}
    .hamburger-btn span{display:block;width:20px;height:2px;background:rgba(255,255,255,.9);border-radius:2px;transition:all .25s}
    /* ─ 햄버거 드롭다운 메뉴 ─ */
    .hmenu-backdrop{position:fixed;inset:0;z-index:499;display:none}
    .hmenu-backdrop.open{display:block}
    .hmenu-panel{position:absolute;top:calc(100% + 6px);right:14px;background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.22),0 2px 8px rgba(0,0,0,.12);width:220px;z-index:500;overflow:hidden;transform:scale(.95) translateY(-6px);opacity:0;pointer-events:none;transition:transform .2s cubic-bezier(.34,1.2,.64,1),opacity .18s}
    .hmenu-panel.open{transform:scale(1) translateY(0);opacity:1;pointer-events:auto}
    .hmenu-company{padding:16px 18px 12px;border-bottom:1px solid #f3f4f6}
    .hmenu-company-name{font-size:13px;font-weight:800;color:#1a1a2e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .hmenu-company-sub{font-size:11px;color:#9ca3af;margin-top:2px}
    .hmenu-item{display:flex;align-items:center;gap:12px;padding:13px 18px;cursor:pointer;font-size:13.5px;font-weight:600;color:#374151;border:none;background:none;width:100%;text-align:left;font-family:inherit;transition:background .12s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
    .hmenu-item:active{background:#f5f3ff}
    .hmenu-item i{width:18px;text-align:center;font-size:14px;color:#6b7280}
    .hmenu-item.danger{color:#ef4444}
    .hmenu-item.danger i{color:#ef4444}
    .hmenu-divider{height:1px;background:#f3f4f6;margin:0}

    /* ─ 중요공지 강제 모달 ─ */
    .gn-alert-overlay{
      position:fixed;inset:0;z-index:700;
      background:rgba(0,0,0,.65);
      backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
      display:flex;align-items:center;justify-content:center;
      padding:20px;
      opacity:0;pointer-events:none;
      transition:opacity .25s;
    }
    .gn-alert-overlay.open{opacity:1;pointer-events:auto;}
    .gn-alert-box{
      background:#fff;border-radius:20px;
      width:100%;max-width:400px;
      max-height:80vh;
      display:flex;flex-direction:column;
      box-shadow:0 20px 60px rgba(0,0,0,.35);
      overflow:hidden;
      transform:scale(.94) translateY(12px);
      transition:transform .28s cubic-bezier(.34,1.2,.64,1);
    }
    .gn-alert-overlay.open .gn-alert-box{transform:scale(1) translateY(0);}
    .gn-alert-head{
      background:linear-gradient(135deg,#f59e0b,#d97706);
      padding:18px 20px 14px;flex-shrink:0;
    }
    .gn-alert-badge{
      display:inline-flex;align-items:center;gap:5px;
      background:rgba(255,255,255,.2);color:#fff;
      font-size:11px;font-weight:700;
      padding:3px 10px;border-radius:20px;
      margin-bottom:8px;letter-spacing:.3px;
    }
    .gn-alert-title{
      font-size:16px;font-weight:800;color:#fff;
      line-height:1.4;word-break:keep-all;
    }
    .gn-alert-meta{
      font-size:11px;color:rgba(255,255,255,.75);
      margin-top:5px;
    }
    .gn-alert-counter{
      display:inline-flex;align-items:center;gap:4px;
      background:rgba(255,255,255,.25);color:#fff;
      font-size:11px;font-weight:700;
      padding:2px 9px;border-radius:20px;
      margin-left:6px;
    }
    .gn-alert-body{
      padding:18px 20px;overflow-y:auto;flex:1;
      font-size:14px;color:#374151;line-height:1.85;
      white-space:pre-wrap;word-break:keep-all;
    }
    .gn-alert-foot{
      padding:14px 20px calc(14px + env(safe-area-inset-bottom));
      border-top:1px solid #f1f5f9;flex-shrink:0;
    }
    .gn-alert-confirm-btn{
      width:100%;
      background:linear-gradient(135deg,#f59e0b,#d97706);
      color:#fff;border:none;border-radius:12px;
      padding:14px;font-size:15px;font-weight:700;
      cursor:pointer;font-family:inherit;
      box-shadow:0 4px 14px rgba(217,119,6,.35);
      transition:transform .15s,box-shadow .15s;
      -webkit-tap-highlight-color:transparent;touch-action:manipulation;
    }
    .gn-alert-confirm-btn:active{}

    /* ─ 헤더 내 월 네비 행 ─ */
    .header-month-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.12);margin-top:8px;padding-top:8px}
    .header-month-row.hidden{display:none}
    .hm-btn{background:none;border:none;color:rgba(255,255,255,.7);font-size:18px;cursor:pointer;min-width:44px;min-height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:background .15s,color .15s;touch-action:manipulation;-webkit-tap-highlight-color:transparent;padding:0 4px}
    .hm-btn:active{background:rgba(255,255,255,.15);color:#fff}
    .hm-label-wrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;padding:4px 6px;border-radius:10px;transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none}
    .hm-label-wrap:active{background:rgba(255,255,255,.15)}
    .hm-label{color:#fff;font-size:16px;font-weight:800;letter-spacing:-0.5px;line-height:1.1;display:flex;align-items:center;gap:5px}
    .hm-label::after{content:'\f078';font-family:'Font Awesome 6 Free';font-weight:900;font-size:9px;color:rgba(255,255,255,.6);margin-top:1px}
    .hm-sub{color:rgba(255,255,255,.5);font-size:10px;font-weight:500}

    /* ─ 년월 피커 모달 ─ */
    .ym-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1000;display:flex;align-items:flex-end;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
    .ym-overlay.open{opacity:1;pointer-events:auto}
    .ym-sheet{background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:480px;padding:0 0 calc(20px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .3s cubic-bezier(.34,1.2,.64,1)}
    .ym-overlay.open .ym-sheet{transform:translateY(0)}
    .ym-handle{width:40px;height:4px;background:#e5e7eb;border-radius:2px;margin:12px auto 0}
    .ym-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px 10px}
    .ym-title{font-size:15px;font-weight:800;color:#1a1a2e}
    .ym-close{background:none;border:none;font-size:20px;color:#9ca3af;cursor:pointer;min-width:36px;min-height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:background .15s;-webkit-tap-highlight-color:transparent}
    .ym-close:active{background:#f3f4f6}
    .ym-year-row{display:flex;align-items:center;justify-content:center;gap:16px;padding:4px 20px 16px;border-bottom:1px solid #f3f4f6}
    .ym-year-btn{background:none;border:1.5px solid #e5e7eb;color:#374151;font-size:15px;cursor:pointer;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:all .15s;-webkit-tap-highlight-color:transparent;font-family:inherit}
    .ym-year-btn:active{background:#f5f3ff;border-color:#6366f1;color:#6366f1}
    .ym-year-val{font-size:22px;font-weight:800;color:#1a1a2e;letter-spacing:-0.5px;min-width:80px;text-align:center}
    .ym-month-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:16px 20px}
    .ym-month-btn{border:1.5px solid #e5e7eb;background:#fff;color:#374151;border-radius:12px;padding:12px 4px;font-size:13.5px;font-weight:600;cursor:pointer;text-align:center;transition:all .15s;font-family:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation;min-height:48px}
    .ym-month-btn:active{}
    .ym-month-btn.current{background:linear-gradient(135deg,#6366f1,#818cf8);color:#fff;border-color:#6366f1;box-shadow:0 3px 10px rgba(99,102,241,.35)}
    .ym-month-btn.today{border-color:#10b981;color:#065f46;font-weight:700}
    .ym-month-btn.today::after{content:'';display:block;width:4px;height:4px;background:#10b981;border-radius:50%;margin:3px auto 0}
    .ym-month-btn.current.today::after{background:rgba(255,255,255,.7)}

    /* ─ Bottom nav ─ */