:root{--navy:#17324d;--blue:#2563eb;--muted:#64748b;--line:#e5e7eb;--bg:#f4f7fb;--card:#fff;--green:#16a34a;--amber:#d97706;--red:#dc2626}
*{box-sizing:border-box}html,body{margin:0;padding:0;background:#e9eef5;color:#0f172a;font-family:Inter,Segoe UI,Arial,sans-serif}body{min-height:100vh}.app-shell{width:100%;max-width:480px;min-height:100vh;margin:0 auto;background:var(--bg);box-shadow:0 0 35px rgba(15,23,42,.12);position:relative;padding-bottom:76px}.app-header{height:62px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 17px;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;font-weight:800}.brand img{height:30px;width:30px;object-fit:contain;border-radius:7px;background:#fff}.icon-btn,.profile-mini{display:grid;place-items:center;text-decoration:none}.icon-btn{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.1);font-size:18px}.app-main{padding:18px 15px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.eyebrow{font-size:12px;color:var(--muted);font-weight:700}.page-heading h1{margin:3px 0 0;font-size:24px;line-height:1.1;color:var(--navy)}.profile-mini{width:40px;height:40px;border-radius:50%;background:#dbeafe;font-size:18px}.flash{padding:12px 13px;border-radius:12px;margin:0 15px 4px;font-size:13px;font-weight:700}.flash.ok{background:#dcfce7;color:#166534}.flash.err{background:#fee2e2;color:#991b1b}.hero{background:linear-gradient(135deg,#17324d,#2563eb);color:#fff;border-radius:20px;padding:18px;margin-bottom:14px;box-shadow:0 10px 24px rgba(37,99,235,.18)}.hero .muted{color:#dbeafe}.hero h2{font-size:20px;margin:4px 0 12px}.hero-row{display:flex;gap:10px}.hero-stat{flex:1;background:rgba(255,255,255,.11);border-radius:13px;padding:10px}.hero-stat b{display:block;font-size:19px}.hero-stat small{font-size:10px;color:#dbeafe}.section-title{display:flex;justify-content:space-between;align-items:center;margin:18px 2px 10px}.section-title h3{font-size:15px;margin:0;color:var(--navy)}.section-title a{font-size:11px;color:var(--blue);font-weight:800;text-decoration:none}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:11px}.tile{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:15px;text-decoration:none;color:#0f172a;box-shadow:0 3px 10px rgba(15,23,42,.04)}.tile .ico{font-size:24px}.tile b{display:block;margin-top:9px;font-size:13px}.tile small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:15px;margin-bottom:12px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.label{font-size:11px;color:var(--muted);font-weight:700}.value{font-size:14px;font-weight:800;color:var(--navy)}.list{display:flex;flex-direction:column;gap:10px}.list-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px}.list-item strong{font-size:13px}.list-item p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.badge{display:inline-block;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800}.pending{background:#fef3c7;color:#92400e}.approved,.issued{background:#dcfce7;color:#166534}.rejected{background:#fee2e2;color:#991b1b}.cancelled,.returned{background:#e2e8f0;color:#475569}.btn{display:flex;align-items:center;justify-content:center;min-height:45px;border:0;border-radius:12px;padding:10px 14px;font-weight:800;font-size:13px;text-decoration:none;cursor:pointer;width:100%}.btn.primary{background:var(--blue);color:#fff}.btn.green{background:var(--green);color:#fff}.btn.red{background:var(--red);color:#fff}.btn.gray{background:#e2e8f0;color:#334155}.btnrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-group{margin-bottom:12px}.form-group label{display:block;font-size:11px;font-weight:800;color:#334155;margin-bottom:5px}.form-group input,.form-group select,.form-group textarea{width:100%;border:1px solid #cbd5e1;border-radius:11px;padding:12px;font-size:13px;background:#fff}.form-group textarea{min-height:85px;resize:vertical}.punch-card{text-align:center}.clock{font-size:38px;font-weight:900;color:var(--navy);letter-spacing:-1px}.punch-status{margin:8px 0 14px;color:var(--muted);font-size:11px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:70px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);z-index:30;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#64748b;text-decoration:none}.bottom-nav a span{font-size:20px;line-height:20px}.bottom-nav a small{font-size:9px;font-weight:800}.bottom-nav a.active{color:var(--blue)}.empty{text-align:center;color:#94a3b8;padding:24px 8px;font-size:12px}.quick-action{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line);text-decoration:none;color:#0f172a}.quick-action:last-child{border-bottom:0}.quick-action .qa-icon{width:38px;height:38px;border-radius:11px;background:#eff6ff;display:grid;place-items:center}.quick-action b{font-size:12px}.quick-action small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.spacer{height:4px}@media(min-width:700px){body{padding:22px 0}.app-shell{border-radius:24px;overflow:hidden;min-height:calc(100vh - 44px)}.app-header{position:relative}.bottom-nav{position:fixed;bottom:22px;border-radius:0 0 24px 24px}.app-shell .bottom-nav{left:50%;}}
/* App-style dashboard and navigation */
.app-header{height:64px;padding:0 14px;gap:8px}.app-header .brand{flex:1;justify-content:center}.header-actions{display:flex}.menu-trigger{border:0;color:#fff;cursor:pointer}.welcome-strip{display:flex;align-items:center;justify-content:space-between;margin:-2px 2px 12px}.welcome-strip span{display:block;color:var(--muted);font-size:10px;font-weight:700}.welcome-strip strong{display:block;color:var(--navy);font-size:14px;margin-top:2px}.welcome-time{font-size:15px;font-weight:900;color:var(--navy)}.dashboard-punch{padding:15px;background:linear-gradient(180deg,#fff,#f8fbff)}.punch-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.punch-state{font-size:14px;font-weight:900;color:var(--navy);margin-top:4px}.punch-link{font-size:11px;font-weight:900;color:var(--blue);text-decoration:none}.punch-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.punch-btn{height:72px !important;min-height:72px !important;max-height:72px !important;border-radius:18px;padding:7px 10px;text-decoration:none;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;box-shadow:0 5px 12px rgba(15,23,42,.09);overflow:hidden;flex:none}.punch-time-row{display:flex;align-items:center;gap:6px;width:100%;margin-bottom:2px;min-width:0}.punch-btn span{width:24px;height:24px;min-width:24px;border-radius:10px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:13px;margin:0}.punch-btn b{font-size:11px;line-height:1;font-weight:900}.punch-btn .punch-time{font-size:20px !important;line-height:1;font-weight:950;opacity:1;margin:0;letter-spacing:-1px;white-space:nowrap;font-family:"Arial Narrow","Roboto Condensed","Segoe UI",Arial,sans-serif;transform:scaleX(.82);transform-origin:left center;flex:1;min-width:0}.punch-btn em{font-size:8px;line-height:1;font-style:italic;font-weight:500;opacity:1;margin-top:2px}.punch-btn small:not(.punch-time){font-size:12px;line-height:1.2;font-weight:800;opacity:.95;margin-top:4px}.punch-btn small:not(.punch-time){font-size:12px;line-height:1.2;font-weight:800;opacity:.95;margin-top:4px}.punch-in{background:linear-gradient(135deg,#16a34a,#15803d)}.punch-out{background:linear-gradient(135deg,#dc2626,#b91c1c)}.calendar-title{margin-top:16px}.calendar-title span{font-size:10px;font-weight:800;color:var(--muted)}.calendar-card{padding:12px}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.calendar-week{margin-bottom:6px}.calendar-week b{text-align:center;color:#94a3b8;font-size:9px}.cal-day{min-height:38px;border-radius:10px;background:#f8fafc;border:1px solid #edf1f5;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;color:#334155;font-size:11px}.cal-day b{font-size:11px}.cal-day i{font-style:normal;font-size:8px;line-height:9px;color:var(--green)}.cal-day.worked{background:#ecfdf3;border-color:#bbf7d0}.cal-day.today{outline:2px solid #bfdbfe;outline-offset:-2px}.empty-day{background:transparent;border-color:transparent}.calendar-legend{display:flex;gap:16px;margin-top:11px;color:var(--muted);font-size:9px;font-weight:700}.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:4px}.worked-dot{background:#22c55e}.today-dot{background:#93c5fd}.compact-hero{margin-top:16px;padding:15px;border-radius:17px}.compact-hero h2{margin:3px 0 10px;font-size:17px}
.menu-overlay{position:fixed;inset:0;background:rgba(15,23,42,.48);opacity:0;visibility:hidden;transition:.2s;z-index:45}.mobile-drawer{position:fixed;left:50%;top:0;bottom:0;width:min(86vw,360px);transform:translateX(-50%) translateX(-110%);background:#fff;z-index:50;box-shadow:15px 0 40px rgba(15,23,42,.18);transition:transform .25s;display:flex;flex-direction:column;max-width:480px}.menu-open .menu-overlay{opacity:1;visibility:visible}.menu-open .mobile-drawer{transform:translateX(-50%) translateX(0)}.drawer-head{padding:20px 16px 18px;background:linear-gradient(135deg,#17324d,#2563eb);color:#fff;display:flex;align-items:center;justify-content:space-between}.drawer-user{display:flex;align-items:center;gap:11px}.drawer-user b{display:block;font-size:15px}.drawer-user small{display:block;font-size:10px;color:#dbeafe;margin-top:2px}.drawer-avatar{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.16);display:grid;place-items:center}.drawer-close{border:0;background:rgba(255,255,255,.12);color:#fff;width:34px;height:34px;border-radius:10px;font-size:25px;cursor:pointer}.drawer-links{padding:12px;overflow:auto;flex:1}.drawer-link{display:flex;align-items:center;gap:13px;padding:13px 12px;border-radius:12px;text-decoration:none;color:#334155;margin-bottom:3px}.drawer-link span{width:26px;text-align:center;font-size:18px}.drawer-link b{font-size:13px}.drawer-link:hover{background:#eff6ff;color:var(--blue)}.drawer-footer{padding:12px;border-top:1px solid var(--line)}.drawer-link.logout{color:var(--red)}
@media(min-width:700px){.mobile-drawer{left:50%;}.menu-open .mobile-drawer{transform:translateX(-50%) translateX(0)}}

/* Mobile-first viewport behavior: actual phones use the full viewport; desktop browsers preview a phone-width app. */
@media (max-width: 699px){
  html,body{width:100%;min-width:320px;background:var(--bg);overflow-x:hidden}
  .app-shell{width:100%;max-width:none;margin:0;box-shadow:none;border-radius:0}
  .app-header{position:sticky;top:0}
  .bottom-nav{width:100%;max-width:none;left:0;transform:none;bottom:0}
  .app-main{padding-left:14px;padding-right:14px}
  .mobile-drawer{left:0;width:min(88vw,360px);transform:translateX(-110%);}
  .menu-open .mobile-drawer{transform:translateX(0)}
}
@media (min-width:700px){
  .app-shell{width:100%;max-width:480px}
}

/* Attendance summary / status calendar */
.attendance-count-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 10px}.count-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 6px;text-align:center;box-shadow:0 2px 7px rgba(15,23,42,.035)}.count-card b{display:block;font-size:17px;color:var(--navy);line-height:1.1}.count-card span{display:block;font-size:8px;font-weight:800;color:var(--muted);margin-top:3px;white-space:nowrap}.count-card.present{border-top:3px solid #22c55e}.count-card.absent{border-top:3px solid #94a3b8}.count-card.miss{border-top:3px solid #f59e0b}.count-card.holiday{border-top:3px solid #14b8a6}.count-card.weekoff{border-top:3px solid #8b5cf6}.count-card.paid{border-top:3px solid #3b82f6}.cal-day.status-present{background:#ecfdf3;border-color:#bbf7d0}.cal-day.status-absent{background:#f8fafc;border-color:#e2e8f0}.cal-day.status-miss-punch{background:#fff7ed;border-color:#fed7aa}.cal-day.status-holiday{background:#ecfeff;border-color:#a5f3fc}.cal-day.status-weekly-off{background:#f5f3ff;border-color:#ddd6fe}.cal-day.status-paid-leave{background:#eff6ff;border-color:#bfdbfe}.cal-day.status-half-day{background:#fffbeb;border-color:#fde68a}.cal-day.status-present i{color:#16a34a}.cal-day.status-absent i{color:#94a3b8}.cal-day.status-miss-punch i{color:#d97706}.cal-day.status-holiday i{color:#0f766e}.cal-day.status-weekly-off i{color:#7c3aed}.cal-day.status-paid-leave i{color:#2563eb}.status-legend{flex-wrap:wrap;row-gap:7px}.status-legend span{white-space:nowrap}.present-dot{background:#22c55e}.absent-dot{background:#94a3b8}.miss-dot{background:#f59e0b}.holiday-dot{background:#14b8a6}.weekoff-dot{background:#8b5cf6}.paid-dot{background:#3b82f6}.punch-state.status-miss-punch{color:#b45309}.punch-state.status-present{color:#15803d}.punch-state.status-absent{color:#64748b}.mobile-only-note{margin-top:10px;padding:9px 10px;border-radius:10px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;font-size:9px;font-weight:700;line-height:1.4}

.approval-header{position:relative;width:56px;height:56px;border-radius:17px;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 6px 16px rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;transition:transform .15s ease,background .15s ease}.approval-header:active{transform:scale(.94)}.approval-header.has-pending .approval-bell-icon{animation:approvalBellVibrate 1.15s ease-in-out infinite;transform-origin:50% 22%}.approval-bell-icon{width:42px;height:42px;display:block;overflow:visible;filter:drop-shadow(0 2px 4px rgba(0,0,0,.28))}.approval-bell-body{fill:#fff}.approval-bell-ring{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:.98}.approval-bell-clapper{fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round}.approval-bell-ringmarks{fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;opacity:.95}.notify-count{position:absolute;top:8px;left:50%;transform:translateX(-50%);min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:linear-gradient(180deg,#ff4d4d,#dc2626);border:2px solid #fff;color:#fff;font-size:11px;line-height:20px;font-style:normal;text-align:center;font-weight:900;box-shadow:0 2px 8px rgba(0,0,0,.3);z-index:3;pointer-events:none}.header-actions .icon-btn{position:relative}@keyframes approvalBellVibrate{0%,100%{transform:rotate(0deg)}10%{transform:rotate(9deg)}20%{transform:rotate(-9deg)}30%{transform:rotate(7deg)}40%{transform:rotate(-7deg)}50%{transform:rotate(4deg)}60%{transform:rotate(-4deg)}70%,100%{transform:rotate(0deg)}}
.approval-alert{border:1px solid #bfdbfe;background:#eff6ff}.approval-alert p{margin:5px 0 0;color:#64748b;font-size:12px}.approval-card{border-left:4px solid #2563eb}.approval-actions{margin-top:12px}.approval-actions textarea{width:100%;min-height:58px;box-sizing:border-box;padding:9px;border:1px solid #cbd5e1;border-radius:8px;margin-bottom:8px;font:inherit}.approval-actions .row{gap:8px}.btn.danger{background:#dc2626}.badge.pending{background:#fef3c7;color:#92400e}

/* GPS confirmation dialog for mobile attendance punching */
.location-modal{position:fixed;inset:0;background:rgba(15,23,42,.58);display:flex;align-items:center;justify-content:center;padding:20px;z-index:100;opacity:0;visibility:hidden;pointer-events:none;transition:.18s}.location-modal.open{opacity:1;visibility:visible;pointer-events:auto}.location-dialog{width:min(100%,390px);background:#fff;border-radius:20px;padding:20px;box-shadow:0 20px 60px rgba(15,23,42,.28)}.location-dialog h3{margin:5px 0 6px;color:var(--navy);font-size:20px}.location-dialog>p{margin:0 0 15px;color:var(--muted);font-size:12px;line-height:1.45}.location-icon{width:46px;height:46px;border-radius:14px;background:#dbeafe;display:grid;place-items:center;font-size:23px}.location-details{border:1px solid var(--line);border-radius:13px;padding:4px 12px;margin-bottom:14px}.location-details>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eef2f7}.location-details>div:last-child{border-bottom:0}.location-details span{font-size:10px;color:var(--muted);font-weight:700}.location-details strong{font-size:11px;color:var(--navy);text-align:right;word-break:break-word}.location-dialog .btnrow{grid-template-columns:1fr 1.25fr}

.leave-balance-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:14px}.leave-balance-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;padding:10px;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 3px 10px rgba(15,23,42,.05);text-decoration:none;color:var(--navy);text-align:center}.leave-balance-tile .leave-tile-code{font-size:11px;font-weight:950;color:var(--blue);text-transform:uppercase}.leave-balance-tile strong{font-size:25px;line-height:1.05;margin-top:5px;font-weight:950}.leave-balance-tile small{font-size:9px;color:var(--muted);font-weight:800;margin-top:4px}.leave-selected-summary{padding:13px;margin-bottom:12px}.selected-leave-balance{margin:0 0 12px;padding:11px;border:1px solid #dbeafe;background:#eff6ff;border-radius:12px}.selected-leave-title{font-size:13px;font-weight:950;color:var(--navy);margin-bottom:8px}.selected-leave-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.selected-leave-stats>div{padding:7px 4px;border-radius:9px;background:#fff;border:1px solid #e5e7eb;text-align:center}.selected-leave-stats span{display:block;font-size:8px;color:var(--muted);font-weight:800}.selected-leave-stats b{display:block;margin-top:3px;font-size:15px;color:var(--navy)}.selected-leave-stats .pending-value{color:#b45309}.selected-leave-stats .balance-value{color:#15803d}
.leave-summary-grid{display:grid;gap:10px;margin-bottom:14px}.leave-summary-card{padding:13px}.leave-summary-head{font-size:15px;color:var(--navy);font-weight:900;margin-bottom:10px}.leave-summary-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.leave-summary-stats>div{padding:8px 6px;border-radius:10px;background:#f8fafc;border:1px solid #edf1f5;text-align:center}.leave-summary-stats span{display:block;font-size:9px;color:var(--muted);font-weight:800}.leave-summary-stats b{display:block;margin-top:3px;font-size:16px;color:var(--navy);font-weight:950}.leave-summary-stats .pending-value{color:#b45309}.leave-summary-stats .balance-value{color:#15803d}@media(max-width:520px){.leave-summary-stats{grid-template-columns:repeat(2,1fr)}}

/* Compact Punch In / Punch Out tiles on phone browsers */
@media(max-width:520px){.punch-actions{gap:8px}.punch-btn{height:72px !important;min-height:72px !important;max-height:72px !important;padding:7px 10px !important;border-radius:18px !important}.punch-btn span{width:24px !important;height:24px !important;min-width:24px !important;font-size:13px !important;border-radius:10px !important}.punch-btn .punch-time{font-size:20px !important}.punch-btn b{font-size:11px !important}.punch-btn em{font-size:8px !important;margin-top:2px !important}}

/* Mobile self-service request forms: single-column on phone browsers to prevent label/input overlap. */
.mobile-form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%}
.mobile-form>label{display:block;width:100%;min-width:0;font-size:11px;font-weight:800;color:#334155;line-height:1.3}
.mobile-form>label>input,.mobile-form>label>select,.mobile-form>label>textarea{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-top:5px;border:1px solid #cbd5e1;border-radius:11px;padding:12px;font-size:13px;background:#fff;color:#0f172a}
.mobile-form>label>textarea{resize:vertical;min-height:76px}
.mobile-form .grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%}
.mobile-form .grid2>label{display:block;min-width:0}
.mobile-form .grid2 input,.mobile-form .grid2 select{width:100%;min-width:0}
.mobile-form .btn{margin-top:2px}
.profile-address-row{align-items:flex-start}
.profile-address-value{max-width:65%;text-align:right;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4}
@media(max-width:699px){
  .mobile-form .grid2{grid-template-columns:minmax(0,1fr)}
  .mobile-form .grid2>label{width:100%}
  .mobile-form{gap:13px}
  .mobile-form>label,.mobile-form .grid2>label{font-size:12px}
  .mobile-form>label>input,.mobile-form>label>select,.mobile-form>label>textarea,.mobile-form .grid2 input,.mobile-form .grid2 select{min-height:44px;font-size:14px}
  .mobile-form>label>textarea{min-height:88px}
  .profile-address-value{max-width:68%}
}

/* Calendar punch-time popup */
.cal-day{font:inherit;cursor:pointer;appearance:none;-webkit-appearance:none;border:0;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:46px;background:transparent;color:inherit;padding:4px 2px;border-radius:10px}
.cal-day:active{transform:scale(.96)}
.cal-day:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.calendar-punch-modal{display:none;position:fixed;inset:0;z-index:1000}
.calendar-punch-modal.open{display:block}
.calendar-punch-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52)}
.calendar-punch-sheet{position:absolute;left:50%;bottom:0;width:min(480px,100%);transform:translateX(-50%);background:#fff;border-radius:22px 22px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -12px 35px rgba(15,23,42,.22);animation:calendarPunchUp .18s ease-out}
@keyframes calendarPunchUp{from{transform:translate(-50%,20px);opacity:.6}to{transform:translate(-50%,0);opacity:1}}
.calendar-punch-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.calendar-punch-head h3{margin:3px 0 0;color:var(--navy);font-size:19px}
.calendar-punch-close{width:38px;height:38px;border:0;border-radius:12px;background:#f1f5f9;color:#334155;font-size:25px;line-height:1;cursor:pointer}
.calendar-punch-date{margin:12px 0;font-size:12px;color:var(--muted);font-weight:700}
.calendar-punch-times{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.calendar-punch-time{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:15px;padding:13px;background:#f8fafc}
.calendar-punch-time>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#dcfce7;color:#166534;font-weight:900}
.calendar-punch-time.out>span{background:#dbeafe;color:#1d4ed8}
.calendar-punch-time small{display:block;color:var(--muted);font-size:10px;font-weight:700}
.calendar-punch-time strong{display:block;color:var(--navy);font-size:18px;margin-top:2px}
.calendar-punch-message{font-size:12px;color:var(--muted);text-align:center;margin-top:12px;min-height:16px}
body.calendar-punch-lock{overflow:hidden}
@media(max-width:360px){.calendar-punch-times{grid-template-columns:1fr}.calendar-punch-time strong{font-size:17px}}

.drawer-link{position:relative}.drawer-count,.bottom-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#e31e24;color:#fff;font-size:10px;font-style:normal;font-weight:800;line-height:18px}.drawer-count{margin-left:auto}
@media(max-width:390px){.bottom-nav small{font-size:9px}.bottom-nav{gap:0}}
