:root{--ink:#12233f;--muted:#667085;--line:#e5e8ed;--paper:#fff;--canvas:#f5f3ee;--blue:#1463ff;--navy:#10284d;--yellow:#f7c843;--green:#0f9f6e;--red:#dd525b;--shadow:0 16px 42px rgba(14,31,59,.1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--canvas);font-family:"Noto Sans Thai","Leelawadee UI",Tahoma,sans-serif;font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit;color:inherit}.hidden{display:none!important}
.ui-icon{display:block;width:20px;height:20px;flex:0 0 auto}.nav-icon .ui-icon{width:21px;height:21px}.metric-icon .ui-icon{width:20px;height:20px}.button-icon{display:inline-block;width:18px;height:18px;vertical-align:-4px}.check-button .button-icon{margin-right:4px}.profile button .ui-icon{width:19px;height:19px}.mobile-menu-item>span .ui-icon{width:19px;height:19px}.mobile-menu-item>b .ui-icon{width:17px;height:17px}.mobile-menu-logout .ui-icon,.mobile-logout .ui-icon{width:17px;height:17px}.bottom-nav b .ui-icon{width:19px;height:19px}.password-toggle .ui-icon{width:21px;height:21px}.reward-placeholder-icon{width:44px;height:44px;stroke-width:1.5}.notification-dot{flex:0 0 8px;width:8px;height:8px;margin-top:8px;border-radius:50%;background:#aab4c3}.notification-item.unread .notification-dot{background:var(--blue)}
.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 10% 10%,#e4edff,transparent 30%),radial-gradient(circle at 90% 90%,#fff0b6,transparent 28%),var(--canvas)}.auth-card{width:min(940px,100%);display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:0 32px 90px rgba(15,36,72,.16)}.auth-brand-panel{min-height:580px;display:flex;flex-direction:column;justify-content:space-between;padding:48px;color:#fff;background:radial-gradient(circle at 22% 18%,#28558f,transparent 32%),linear-gradient(145deg,#173d73,#091a35)}.auth-brand-panel h1{margin:12px 0;font-size:44px;line-height:1.22;letter-spacing:-.04em}.auth-brand-panel p:last-child{max-width:390px;color:#b8c8df}.auth-form{display:flex;flex-direction:column;justify-content:center;padding:52px}.auth-form h2{margin:0;font-size:32px}.form-intro{margin:7px 0 26px;color:var(--muted)}label{display:grid;gap:7px;margin-bottom:15px;color:#47536a;font-size:14px;font-weight:700}label small{color:var(--muted);font-weight:400}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d7dce4;border-radius:11px;outline:none;background:#fff}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(20,99,255,.1)}.primary,.header-action{padding:12px 17px;border:0;border-radius:11px;color:#fff;background:var(--blue);font-weight:800;cursor:pointer;box-shadow:0 7px 18px rgba(20,99,255,.2)}.primary:disabled,.header-action:disabled{cursor:not-allowed;opacity:.55}
.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;letter-spacing:-.03em}.brand img{display:block;width:24px;height:42px;object-fit:contain}.brand small{margin-left:auto;padding:5px 8px;border-radius:7px;color:var(--blue);background:#edf4ff;font-size:11px;letter-spacing:.1em}.brand.light{color:#fff}.brand-refresh{width:100%;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.brand-refresh:hover span{color:var(--blue)}.brand-refresh:focus-visible{border-radius:10px;outline:3px solid rgba(20,99,255,.2);outline-offset:3px}.eyebrow{margin:0 0 6px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.eyebrow.pale{color:#a9c5ec}
.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:276px;display:flex;flex-direction:column;padding:30px 22px 23px;border-right:1px solid var(--line);background:#fff}.sidebar>.brand{padding:0 9px 31px}.nav-label{padding:8px 14px;color:#7d899b;font-size:14px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.sidebar nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;min-height:50px;padding:13px 14px;border:0;border-radius:13px;color:#526078;background:none;text-align:left;font-size:16px;font-weight:600;cursor:pointer}.nav-item:hover{color:var(--ink);background:#f5f7fb}.nav-item.active{color:var(--blue);background:#edf4ff;font-weight:800}.nav-icon{display:grid;place-items:center;width:26px;font-size:21px}.profile{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;margin-top:auto;padding:18px 7px 0;border-top:1px solid var(--line)}.profile strong,.profile small{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile strong{font-size:16px}.profile small{color:var(--muted);font-size:13px}.profile button{border:0;background:none;cursor:pointer}.avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:var(--blue);background:#dce8ff;font-size:13px;font-weight:800}
.main{min-height:100vh;margin-left:276px;padding:0 clamp(24px,4vw,68px) 80px}.topbar{height:76px;display:flex;justify-content:flex-end;align-items:center;border-bottom:1px solid rgba(18,35,63,.08)}.mobile-brand,.mobile-logout,.mobile-menu-button{display:none}.top-actions{display:flex;align-items:center;gap:12px}.icon-button{position:relative;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff;cursor:pointer;font-size:18px}.notification-badge{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid #fff;border-radius:20px;color:#fff;background:var(--red);font-size:10px;font-weight:800}.page-head{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:36px 0 25px}.page-head h1{margin:0;font-size:clamp(28px,3vw,39px);line-height:1.25;letter-spacing:-.04em}.page-head p:last-child{margin:7px 0 0;color:var(--muted)}.date-chip{padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:13px}.date-chip strong{display:block;font-size:15px}.grid{display:grid;gap:16px}.hero{grid-template-columns:minmax(440px,1.45fr) 1fr}.clock-card{display:grid;grid-template-columns:210px 1fr;align-items:center;min-height:330px;padding:32px 40px;border-radius:24px;color:#fff;background:radial-gradient(circle at 18% 20%,#26548e,transparent 34%),linear-gradient(135deg,#143866,#091932);box-shadow:var(--shadow)}.clock-face{display:grid;place-items:center;width:190px;height:190px;border:1px solid #54729b;border-radius:50%;box-shadow:0 0 0 18px rgba(255,255,255,.03),0 0 0 36px rgba(255,255,255,.025);text-align:center}.clock-face span,.clock-face small{display:block;color:#aebfda;font-size:12px}.clock-face strong{display:block;margin:7px 0;font-size:34px;letter-spacing:-.05em}.clock-copy{padding-left:25px}.status-line{display:flex;align-items:center;gap:7px;color:#aebfda;font-size:14px}.status-dot{width:8px;height:8px;border-radius:50%;background:#8092ad}.status-dot.online{background:#39d59f}.clock-copy h2{margin:10px 0 7px;font-size:25px;line-height:1.35}.clock-copy p{margin:0 0 20px;color:#aebfda;font-size:14px}.check-button{padding:13px 19px;border:0;border-radius:11px;color:#10284d;background:var(--yellow);font-size:14px;font-weight:800;cursor:pointer}.check-button.checkout{color:#fff;background:var(--red)}.metrics{grid-template-columns:1fr 1fr}.metric{display:flex;align-items:center;gap:13px;padding:19px;border:1px solid var(--line);border-radius:18px;background:#fff}.metric.navy{color:#fff;border-color:var(--navy);background:var(--navy)}.metric.yellow{border-color:var(--yellow);background:var(--yellow)}.metric-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;color:var(--blue);background:#e9f1ff;font-weight:800}.metric.navy .metric-icon{color:var(--yellow);background:#24436d}.metric p,.metric small{display:block;margin:0;color:var(--muted);font-size:12px}.metric.navy p,.metric.navy small{color:#aebed7}.metric strong{display:block;margin:4px 0 2px;font-size:22px}.section{margin-top:28px}.panel{padding:22px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.86)}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.panel-head h2{margin:0;font-size:21px}.quick-grid{grid-template-columns:repeat(4,1fr)}.quick-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff;text-align:left;cursor:pointer}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.quick-card strong,.quick-card small{display:block}.quick-card strong{font-size:15px}.quick-card small{color:var(--muted);font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{padding:10px 9px;color:#8993a3;font-size:12px;text-align:left;white-space:nowrap}td{padding:13px 9px;border-top:1px solid #edf0f3;color:#536077}td strong{color:var(--ink)}.cell-note{display:block;color:var(--muted);font-size:12px}.pill{display:inline-block;padding:5px 9px;border-radius:99px;font-size:12px;font-weight:800;white-space:nowrap}.pill.pending,.pill.offsite_pending{color:#8a6500;background:#fff2c6}.pill.approved,.pill.on_time,.pill.paid,.pill.office,.pill.not_required{color:#087552;background:#e4f7ef}.pill.rejected,.pill.late{color:#a33e47;background:#ffe7e9}.pill.wfh{color:#2357ad;background:#e6efff}.pill.offsite{color:#6650a5;background:#eee9ff}.admin-cards{grid-template-columns:repeat(4,1fr)}.owner-mobile-cards{display:none}.empty{padding:38px!important;color:var(--muted);text-align:center}.form-grid{display:grid;gap:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.button-row{display:flex;justify-content:flex-end;gap:8px}.button-row button{padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.button-row .approve,.mobile-review-buttons .approve{color:#fff;border-color:var(--green);background:var(--green)}
.modal-bg{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(7,19,40,.64);backdrop-filter:blur(5px)}.modal{position:relative;width:min(500px,100%);max-height:90vh;overflow:auto;padding:28px;border-radius:22px;background:#fff;box-shadow:0 30px 80px rgba(5,17,36,.34)}.modal-wide{width:min(760px,100%)}.modal h2{margin:0 0 5px;font-size:27px}.modal>p{margin:0 0 20px;color:var(--muted)}.modal-close{position:absolute;top:15px;right:15px;width:32px;height:32px;border:0;border-radius:50%;background:#f0f2f5;cursor:pointer}.toast{position:fixed;top:18px;left:50%;z-index:150;transform:translateX(-50%);max-width:min(560px,90vw);padding:11px 16px;border:1px solid #b8ead8;border-radius:11px;color:#087552;background:#edfff8;box-shadow:var(--shadow);font-size:14px}.bottom-nav{display:none}
.two-column{grid-template-columns:1fr 1fr}.text-button{padding:7px 9px;border:0;color:var(--blue);background:transparent;font-weight:800;cursor:pointer}.info-strip{margin-bottom:15px;padding:12px 14px;border-radius:12px;color:#2357ad;background:#edf4ff;font-size:13px}.danger-text{color:var(--red)!important}.positive{color:var(--green)}.history-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid var(--line)}.history-row:first-of-type{border-top:0}.history-row strong,.history-row small{display:block}.history-row small{color:var(--muted);font-size:12px}.event-list{display:grid;gap:10px}.event-card{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}.event-date{display:grid;place-items:center;height:58px;border-radius:13px;color:#2559ad;background:#edf4ff;font-size:11px}.event-date b{display:block;margin-bottom:-8px;font-size:22px}.event-card strong,.event-card small{display:block}.event-card small{color:var(--muted);font-size:12px}.event-card p{margin:4px 0 0;color:#536077;font-size:13px}.calendar-legend{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:18px;color:var(--muted);font-size:13px}.dot{display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:50%}.dot.public{background:var(--blue)}.dot.selected{background:#8b5cf6}.dot.private{background:var(--yellow)}.audience-tag{padding:5px 9px;border-radius:99px;font-size:12px;font-weight:800}.audience-tag.public{color:#2357ad;background:#e6efff}.audience-tag.selected{color:#6941c6;background:#f0eaff}.audience-tag.private{color:#8a6500;background:#fff2c6}.participant-field{padding:14px;border:1px solid var(--line);border-radius:13px;background:#f8f9fb}.participant-field>p{margin:0 0 10px;color:var(--muted);font-size:13px}.participant-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:230px;overflow:auto}.participant-choice{display:flex;align-items:center;gap:10px;margin:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.participant-choice input{flex:0 0 auto;width:18px;height:18px}.participant-choice strong,.participant-choice small{display:block}.participant-choice small{color:var(--muted);font-size:11px;font-weight:400}
.points-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px 34px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#183f75,#091a35)}.points-hero>div{display:flex;align-items:baseline;gap:10px}.points-hero p{max-width:490px;margin:0;color:#c3d1e5}.points-hero>div p{color:#fff}.points-hero strong{font-size:48px}.points-hero span{color:var(--yellow);font-size:12px;font-weight:800}.reward-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.reward-card{display:flex;flex-direction:column;overflow:hidden;padding:0 20px 20px;border:1px solid var(--line);border-radius:18px;background:#fff}.reward-image{display:grid;place-items:center;height:150px;margin:0 -20px 14px;overflow:hidden;background:linear-gradient(145deg,#edf4ff,#fff7d5)}.reward-image img{width:100%;height:100%;object-fit:cover}.reward-image span{font-size:38px}.reward-card h3{margin:0 0 2px}.reward-card p{flex:1;margin:0 0 14px;color:var(--muted);font-size:13px}.reward-card strong{margin-bottom:12px}.reward-card>button:not(.text-button){padding:10px;border:0;border-radius:10px;color:#fff;background:var(--blue);font-weight:800;cursor:pointer}.reward-card>button:disabled{color:#8993a3;background:#edf0f4;cursor:not-allowed}.reward-upload-preview{display:grid;place-items:center;height:210px;overflow:hidden;border:1px dashed #b9c2cf;border-radius:14px;color:var(--muted);background:#f8f9fb;font-weight:400}.reward-upload-preview img{width:100%;height:100%;object-fit:cover}.reward-image-help{margin-top:-20px}
.settings-layout{grid-template-columns:minmax(390px,.9fr) 1.1fr}.form-help{display:block;margin:-15px 0 8px;color:var(--muted)}.location-detect-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:-8px;padding:14px;border:1px solid #b9d1ff;border-radius:14px;background:#f1f6ff}.location-detect-card strong,.location-detect-card small{display:block}.location-detect-card small{color:var(--muted);font-size:12px}.location-detect-card button{flex:0 0 auto;min-height:42px;padding:9px 13px;border:0;border-radius:10px;color:#fff;background:var(--blue);font-weight:800;cursor:pointer}.location-detect-card button:disabled{opacity:.65;cursor:wait}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:auto}.policy-list{display:grid;gap:8px}.policy-card{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left;cursor:pointer}.policy-card strong,.policy-card small{display:block}.policy-card small{max-width:520px;color:var(--muted);font-size:12px;font-weight:400}.policy-card b{color:var(--blue);white-space:nowrap}.notification-list{display:grid;gap:8px;max-height:55vh;overflow:auto}.notification-item{display:flex;align-items:flex-start;gap:10px;width:100%;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;cursor:pointer}.notification-item.unread{border-color:#b9d1ff;background:#f1f6ff}.notification-item>span{color:var(--blue)}.notification-item strong,.notification-item small{display:block}.notification-item small{color:var(--muted)}.full-button{width:100%;margin-top:15px}
.mobile-menu-profile{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d7e4fa;border-radius:15px;background:#f1f6ff}.mobile-menu-profile strong,.mobile-menu-profile small{display:block}.mobile-menu-profile small{color:var(--muted);font-size:12px}.mobile-menu-section{margin:20px 0 8px!important;color:#7d899b!important;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mobile-menu-section.owner-section{color:var(--blue)!important}.mobile-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mobile-menu-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:68px;padding:11px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left;cursor:pointer}.mobile-menu-item>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--blue);background:#edf4ff;font-size:19px}.mobile-menu-item strong,.mobile-menu-item small{display:block}.mobile-menu-item strong{font-size:14px}.mobile-menu-item small{color:#a33e47;font-size:10px;line-height:1.35}.mobile-menu-item>b{color:#98a2b3;font-size:20px}.mobile-menu-item.active{border-color:#9bbcff;background:#edf4ff}.mobile-menu-item.active>span{color:#fff;background:var(--blue)}.mobile-menu-logout{width:100%;min-height:48px;margin-top:20px;border:1px solid #f1c8cb;border-radius:12px;color:#a33e47;background:#fff;font-weight:800;cursor:pointer}
.password-field{position:relative}.password-field input{padding-right:52px}.password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:9px;color:#667085;background:transparent;cursor:pointer;font-size:18px;filter:grayscale(1)}.password-toggle:hover,.password-toggle.showing{color:var(--blue);background:#edf4ff;filter:none}.notification-button svg{display:block;width:21px;height:21px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.employee-edit-button{padding:7px 12px;border:1px solid #b9d1ff;border-radius:9px;color:var(--blue);background:#f1f6ff;font-weight:800;cursor:pointer}.employee-mobile-edit{width:100%;min-height:44px;margin-top:14px;border:1px solid #b9d1ff;border-radius:10px;color:var(--blue);background:#f1f6ff;font-weight:800;cursor:pointer}.employee-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:4px}.danger-button{min-height:46px;padding:10px 15px;border:1px solid #f1c8cb;border-radius:11px;color:#a33e47;background:#fff0f1;font-weight:800;cursor:pointer}.employee-modal-actions .primary{min-height:46px;margin-left:auto}
.ot-checkout-modal{overflow:hidden}.ot-checkout-modal>p{margin-bottom:16px}.ot-checkout-prompt{display:grid;gap:16px}.ot-prompt-visual{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #cfe0ff;border-radius:18px;background:linear-gradient(135deg,#edf4ff,#fff9e8)}.ot-prompt-visual>span{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border-radius:16px;color:#fff;background:linear-gradient(135deg,#1769e0,#6b47d7);box-shadow:0 10px 24px rgba(54,91,190,.23)}.ot-prompt-visual svg{width:27px;height:27px}.ot-prompt-visual div{display:grid;gap:3px}.ot-prompt-visual small{color:var(--muted);font-weight:700}.ot-prompt-visual strong{font-size:23px;color:var(--navy)}.ot-checkout-prompt>p{margin:0;color:var(--muted);line-height:1.65}.ot-prompt-actions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:10px}.ot-prompt-actions button{min-height:50px;border:1px solid var(--line);border-radius:12px;background:#f7f8fa;font-weight:800;cursor:pointer}.ot-prompt-actions .primary{display:flex;align-items:center;justify-content:center;gap:7px;border-color:transparent;color:#fff;background:var(--blue)}
.saturday-late-warning{padding:15px 16px;border:1px solid #f0ce78;border-radius:14px;background:#fff8df}.saturday-late-warning strong{display:block;color:#735200}.saturday-late-warning p{margin:5px 0 0;color:#806b37;font-size:13px;line-height:1.55}.saturday-late-ack{align-items:flex-start;padding:13px;border-radius:12px;background:#f6f8fb;line-height:1.5}.saturday-late-ack input{margin-top:2px}
@media(max-width:1100px){.hero{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr 1fr}.admin-cards{grid-template-columns:1fr 1fr}.reward-grid{grid-template-columns:1fr 1fr}.settings-layout{grid-template-columns:1fr}}
@media(max-width:760px){html,body{max-width:100%;overflow-x:hidden}body{font-size:15px}.auth-shell{display:block;min-height:100dvh;padding:0;background:#fff}.auth-card{min-height:100dvh;display:block;border:0;border-radius:0;box-shadow:none}.auth-brand-panel{display:none}.auth-form{min-height:100dvh;justify-content:center;padding:32px 22px}.auth-form h2{font-size:30px}.auth-form input,.auth-form select{min-height:50px;font-size:16px}.auth-form .primary{min-height:50px}.sidebar{display:none}.main{margin:0;padding:0 14px calc(104px + env(safe-area-inset-bottom))}.topbar{position:sticky;top:0;z-index:50;justify-content:space-between;height:64px;margin:0 -14px;padding:0 14px;border-bottom:1px solid var(--line);background:rgba(245,243,238,.94);backdrop-filter:blur(14px)}.mobile-brand{display:flex;gap:8px;font-size:18px}.mobile-brand img{width:18px;height:34px}.top-actions{gap:6px}.top-actions>.avatar{display:none}.icon-button{width:42px;height:42px}.mobile-logout{display:flex;align-items:center;justify-content:center;gap:4px;min-width:58px;height:42px;padding:0 10px;border:1px solid #f1c8cb;border-radius:12px;color:#a33e47;background:#fff;font-size:13px;font-weight:800;cursor:pointer}.page-head{align-items:stretch;flex-direction:column;gap:14px;padding:24px 0 18px}.page-head h1{font-size:28px;line-height:1.3}.page-head p:last-child{font-size:14px;line-height:1.55}.page-head>.header-action{width:100%;min-height:46px}.date-chip{display:none}.grid{gap:12px}.hero{display:block}.clock-card{grid-template-columns:1fr;gap:24px;min-height:0;padding:28px 20px;border-radius:20px;text-align:center}.clock-face{width:166px;height:166px;margin:auto;box-shadow:0 0 0 12px rgba(255,255,255,.03),0 0 0 24px rgba(255,255,255,.025)}.clock-face strong{font-size:30px}.clock-copy{padding:0}.status-line{justify-content:center}.clock-copy h2{font-size:22px}.check-button{width:100%;min-height:49px;font-size:16px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.metric{min-width:0;align-items:flex-start;flex-direction:column;gap:8px;padding:15px;border-radius:15px}.metric-icon{width:36px;height:36px;flex-basis:36px}.metric strong{font-size:20px}.metric p,.metric small{line-height:1.4}.section{margin-top:20px}.panel{padding:16px;border-radius:17px}.panel-head{align-items:flex-start}.panel-head h2{font-size:19px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card{grid-template-columns:1fr;align-content:start;min-height:132px;padding:14px}.quick-card .metric-icon{width:38px}.two-column{grid-template-columns:1fr}.points-hero{align-items:flex-start;flex-direction:column;gap:15px;padding:22px 18px;border-radius:18px}.points-hero strong{font-size:42px}.reward-grid{grid-template-columns:1fr}.reward-card{padding:0 17px 17px}.reward-image{height:190px;margin:0 -17px 14px}.reward-upload-preview{height:180px}.event-card{grid-template-columns:48px minmax(0,1fr);align-items:start;padding:12px}.event-date{height:50px}.event-card>.pill,.event-card>.audience-tag{grid-column:2}.event-card small{overflow-wrap:anywhere}.calendar-legend{gap:10px 16px}.participant-list{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr}.policy-card{align-items:flex-start;flex-direction:column}.form-row{grid-template-columns:1fr}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}.form-grid .primary{min-height:48px}.table-wrap{margin:0 -16px;padding:0 16px;overscroll-behavior-x:contain;scrollbar-width:thin}.table-wrap table{min-width:680px}.info-strip{font-size:12px}.modal-bg{align-items:end;padding:0}.modal,.modal-wide{width:100%;max-height:92dvh;padding:26px 18px calc(22px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.modal h2{padding-right:34px;font-size:24px}.modal-close{top:13px;right:13px;width:38px;height:38px}.notification-list{max-height:58dvh}.toast{top:72px;max-width:calc(100vw - 28px);font-size:13px}.bottom-nav{position:fixed;inset:auto 8px calc(8px + env(safe-area-inset-bottom));z-index:60;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:7px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.97);box-shadow:0 10px 35px rgba(9,26,56,.2);backdrop-filter:blur(15px)}.bottom-nav button{display:grid;place-items:center;gap:1px;min-width:0;min-height:54px;padding:4px 2px;border:0;border-radius:12px;color:#778194;background:none;font-size:10px;line-height:1.25}.bottom-nav button.active{color:var(--blue);background:#edf4ff}.bottom-nav b{font-size:18px}.bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:760px){.location-detect-card{align-items:stretch;flex-direction:column}.location-detect-card button{width:100%;min-height:48px}}
@media(max-width:390px){.main{padding-left:11px;padding-right:11px}.topbar{margin-left:-11px;margin-right:-11px;padding-left:11px;padding-right:11px}.mobile-brand span{display:none}.metrics{gap:9px}.metric{padding:13px}.quick-grid{gap:9px}.quick-card{min-height:124px}.panel{padding:14px}.table-wrap{margin:0 -14px;padding:0 14px}.clock-card{padding-left:16px;padding-right:16px}}
@media(max-width:760px){.mobile-menu-button{display:grid;place-items:center}.owner-desktop-table{display:none}.owner-mobile-cards{display:grid;gap:11px}.owner-data-card{min-width:0;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.owner-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.owner-card-head strong,.owner-card-head small{display:block}.owner-card-head strong{font-size:16px}.owner-card-head small{margin-top:2px;color:var(--muted);font-size:12px}.owner-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:14px}.owner-card-grid span{min-width:0;color:#8993a3;font-size:11px}.owner-card-grid b{display:block;margin-top:2px;overflow-wrap:anywhere;color:var(--ink);font-size:13px}.owner-data-card>p{margin:12px 0;color:#536077;font-size:14px}.owner-category{display:inline-block;margin-top:10px;padding:4px 8px;border-radius:20px;color:#6650a5;background:#eee9ff;font-size:11px;font-weight:800}.mobile-review-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.mobile-review-buttons button{min-height:48px;border:1px solid var(--line);border-radius:11px;background:#fff;font-weight:800;cursor:pointer}.admin-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-cards .metric{min-height:132px}.panel-head .header-action{min-height:44px}.mobile-menu-grid{grid-template-columns:1fr}.mobile-menu-item{min-height:62px}}
@media(max-width:390px){.top-actions{gap:5px}.icon-button{width:40px;height:40px}.mobile-logout{min-width:52px;padding:0 7px}.owner-card-grid{gap:9px}.admin-cards{gap:9px}}

/* Employee profile photos and monthly early-bird winners */
.avatar{overflow:hidden}.avatar>img,.avatar>span{display:block;width:100%;height:100%}.avatar>img{object-fit:cover}.avatar>span{display:grid;place-items:center}.profile-upload-preview{display:grid;place-items:center;width:148px;height:148px;margin:8px auto 12px;overflow:hidden;border:4px solid #fff;border-radius:50%;color:var(--blue);background:linear-gradient(145deg,#edf4ff,#dce8ff);box-shadow:0 0 0 1px var(--line),0 12px 28px rgba(18,49,94,.14);font-size:34px;font-weight:900}.profile-upload-preview img,.profile-upload-preview>span{width:100%;height:100%}.profile-upload-preview img{object-fit:cover}.profile-upload-preview>span{display:grid;place-items:center}.profile-image-field{text-align:center}.profile-image-field>input{width:100%;text-align:left}.profile-image-field>small{display:block;margin-top:7px;text-align:left}.profile-summary-avatar{width:96px;height:96px;margin:0 auto 18px;overflow:hidden;border:4px solid #fff;border-radius:50%;color:var(--blue);background:#dce8ff;box-shadow:0 8px 22px rgba(18,49,94,.14);font-size:22px;font-weight:900}.profile-summary-avatar img,.profile-summary-avatar>span{width:100%;height:100%}.profile-summary-avatar img{object-fit:cover}.profile-summary-avatar>span{display:grid;place-items:center}.employee-name-cell{display:flex;align-items:center;gap:10px}.employee-list-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;overflow:hidden;border-radius:50%;color:var(--blue);background:#dce8ff;font-size:11px;font-weight:900}.employee-list-avatar img,.employee-list-avatar>span{width:100%;height:100%}.employee-list-avatar img{object-fit:cover}.employee-list-avatar>span{display:grid;place-items:center}
.podium-place{padding:0;overflow:hidden}.podium-person{display:flex;align-items:center;flex-direction:column;justify-content:center;width:100%;min-height:inherit;padding:16px;border:0;color:inherit;background:transparent;font:inherit;text-align:center;cursor:pointer}.podium-person:disabled{cursor:default}.podium-person:not(:disabled):hover{transform:translateY(-4px)}.podium-avatar{display:grid;place-items:center;width:74px;height:74px;margin-bottom:-12px;overflow:hidden;border:4px solid rgba(255,255,255,.92);border-radius:50%;color:#24436d;background:#fff;font-size:18px;font-weight:900;box-shadow:0 9px 22px rgba(9,26,56,.2)}.place-1 .podium-avatar{width:92px;height:92px}.podium-avatar img,.podium-avatar>span{width:100%;height:100%}.podium-avatar img{object-fit:cover}.podium-avatar>span{display:grid;place-items:center;background:#edf4ff}.podium-emoji{position:relative;z-index:2;display:block;margin-bottom:2px;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:38px;line-height:1}.place-1 .podium-emoji{font-size:46px}.podium-person strong,.podium-person small,.podium-person b{display:block}.podium-person small{color:#667085}.podium-person b{margin-top:9px;font-size:12px}
.winner-popup{position:relative;isolation:isolate;overflow:hidden;margin-top:12px;padding:34px 22px 24px;border-radius:22px;color:#fff;background:linear-gradient(145deg,#2f176e,#713bb3 58%,#9a5ed1);text-align:center;box-shadow:0 18px 50px rgba(52,27,110,.3)}.winner-rays{position:absolute;inset:-45%;z-index:-1;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.14) 0 12deg,transparent 12deg 27deg);animation:winnerSpin 36s linear infinite}.winner-avatar{display:grid;place-items:center;width:132px;height:132px;margin:auto;overflow:hidden;border:6px solid rgba(255,255,255,.9);border-radius:50%;color:#54258f;background:#fff;font-size:30px;font-weight:900;box-shadow:0 12px 34px rgba(17,5,53,.38)}.winner-avatar img,.winner-avatar>span{width:100%;height:100%}.winner-avatar img{object-fit:cover}.winner-avatar>span{display:grid;place-items:center}.winner-medal{margin:-25px 0 0;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:56px;line-height:1}.winner-popup h3{margin:9px 0 3px;font-size:28px}.winner-popup>p{margin:0;color:#eee5ff}.winner-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.winner-stats span{padding:12px;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(20,5,56,.22);font-size:12px}.winner-stats b{display:block;margin-top:4px;color:#fff;font-size:17px}@keyframes winnerSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){.profile-upload-preview{width:132px;height:132px}.podium-person{padding:10px 4px}.podium-avatar{width:56px;height:56px;border-width:3px}.place-1 .podium-avatar{width:70px;height:70px}.podium-emoji{font-size:30px}.place-1 .podium-emoji{font-size:36px}.podium-person strong{max-width:100%;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.winner-popup{padding:28px 16px 20px}.winner-avatar{width:116px;height:116px}.winner-stats{grid-template-columns:1fr}.employee-name-cell{min-width:0}.employee-name-cell>div{min-width:0}}
@media(prefers-reduced-motion:reduce){.winner-rays{animation:none}}
.missed-checkout-alert{display:grid;gap:16px}.missed-checkout-icon{display:grid;place-items:center;width:64px;height:64px;margin:2px auto;border-radius:20px;color:#9a6700;background:#fff4cf}.missed-checkout-icon .ui-icon{width:30px;height:30px}.missed-checkout-alert ul{display:grid;gap:10px;margin:0;padding-left:22px;color:#24324b}.missed-checkout-alert p{margin:0;padding:12px;border-radius:12px;color:#7a5320;background:#fff8e6}.missed-checkout-alert .primary{width:100%}
@media(max-width:760px){.employee-modal-actions{align-items:stretch;flex-direction:column-reverse}.employee-modal-actions .primary,.employee-modal-actions .danger-button{width:100%;margin:0;min-height:50px}.password-toggle{width:44px;height:44px}.password-field input{padding-right:56px}}
@media(max-width:760px){.ot-checkout-modal{padding-top:30px}.ot-prompt-actions{grid-template-columns:1fr}.ot-prompt-actions .primary{grid-row:1}.ot-prompt-visual{padding:15px}.ot-prompt-visual strong{font-size:21px}}
.pill.active{color:#087552;background:#e4f7ef}.pill.inactive{color:#a33e47;background:#ffe7e9}
.leave-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.leave-balance-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.leave-balance-card>strong{display:block;margin-bottom:12px}.leave-balance-card>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.leave-balance-card span{color:var(--muted);font-size:11px}.leave-balance-card b{display:block;color:var(--ink);font-size:17px}.podium-panel{padding:22px;border:1px solid #eed48b;border-radius:22px;background:linear-gradient(145deg,#fffdf4,#fff5c9)}.podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;gap:12px;max-width:760px;margin:auto}.podium-place{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:150px;padding:16px;border-radius:18px 18px 8px 8px;text-align:center;background:#dce8ff}.podium-place.place-1{min-height:190px;color:#604800;background:linear-gradient(#ffe98f,#f4c53f)}.podium-place.place-2{background:#f0dfce}.podium-icon{position:relative;display:grid;place-items:center;width:42px;height:42px;margin-bottom:4px}.podium-icon .ui-icon{width:34px;height:34px}.podium-icon em{position:absolute;right:-2px;bottom:-1px;display:grid;place-items:center;width:19px;height:19px;border:2px solid currentColor;border-radius:50%;background:inherit;font-size:10px;font-style:normal;font-weight:900}.podium-place strong,.podium-place small,.podium-place b{display:block}.podium-place small{color:#667085}.podium-place>b{margin-top:9px;font-size:12px}.analytics-grid{grid-template-columns:1fr 1fr}.analytics-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.analytics-totals span{padding:11px;border-radius:12px;color:var(--muted);background:#f5f7fb;font-size:11px}.analytics-totals b{display:block;color:var(--ink);font-size:16px}.profile-summary p{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.cash-value{display:block;margin-bottom:8px;color:#087552;font-weight:800}
@media(max-width:900px){.leave-balance-grid{grid-template-columns:1fr 1fr}.analytics-grid{grid-template-columns:1fr}}
@media(max-width:760px){.leave-balance-grid{grid-template-columns:1fr}.podium{gap:6px}.podium-place{min-height:130px;padding:10px 5px}.podium-place.place-1{min-height:165px}.podium-place strong{font-size:12px}.podium-place small{font-size:10px}.analytics-totals{grid-template-columns:1fr}.profile-summary p{align-items:flex-start;flex-direction:column;gap:2px}}
.employee-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.employee-quick-grid article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.employee-quick-grid strong,.employee-quick-grid small{display:block}.employee-quick-grid small{color:var(--muted);font-size:11px}.employee-quick-grid button{padding:8px 11px;border:1px solid #b9d1ff;border-radius:9px;color:var(--blue);background:#f1f6ff;font-weight:800;cursor:pointer}
@media(max-width:760px){.employee-quick-grid{grid-template-columns:1fr}}

/* Quick action request sheets. VisualViewport keeps the sheet above mobile browser chrome and keyboards. */
@media(max-width:760px){
  body.modal-open{overflow:hidden;overscroll-behavior:none;touch-action:none}
  .request-modal-backdrop{
    inset:var(--request-viewport-top,0) 0 auto!important;
    width:100%!important;
    height:var(--request-viewport-height,100dvh)!important;
    min-height:0!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    overflow:hidden!important;
    padding:8px 8px 0!important;
  }
  .request-modal{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    width:min(100%,480px)!important;
    height:auto!important;
    min-width:0!important;
    max-width:480px!important;
    max-height:calc(var(--request-viewport-height,100dvh) - 8px)!important;
    overflow:hidden!important;
    padding:0!important;
    border-radius:22px 22px 0 0!important;
  }
  .request-modal>h2{
    flex:0 0 auto;
    margin:0!important;
    padding:15px 52px 1px 14px!important;
    font-size:21px!important;
    line-height:1.25!important;
  }
  .request-modal>p{
    flex:0 0 auto;
    margin:0!important;
    padding:2px 52px 8px 14px!important;
    font-size:11px!important;
    line-height:1.35!important;
  }
  .request-modal .modal-close{top:9px!important;right:9px!important;width:36px!important;height:36px!important}
  .request-modal .request-form{
    display:grid!important;
    grid-auto-rows:max-content!important;
    flex:1 1 auto!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding:2px 12px calc(10px + env(safe-area-inset-bottom))!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .request-form>*,.request-form label,.request-form .form-row{min-width:0!important;max-width:100%!important}
  .request-form label{gap:3px!important;margin:0!important;font-size:11px!important;line-height:1.25!important}
  .request-form .form-row{gap:7px!important;margin:0!important}
  .request-form .request-date-row,.request-form .request-time-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .request-form input,.request-form select,.request-form textarea{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:6px 8px!important;
    border-radius:10px!important;
    font-size:16px!important;
  }
  .request-form input,.request-form select{height:38px!important;min-height:38px!important}
  .request-form input[type="date"],.request-form input[type="time"]{
    -webkit-appearance:none!important;
    appearance:none!important;
    padding-inline:2px!important;
    text-align:center!important;
    font-size:12px!important;
  }
  .request-form textarea{min-height:50px!important;max-height:60px!important;resize:none!important}
  .request-form .form-help{margin:-1px 0 0!important;font-size:9px!important;line-height:1.25!important}
  .request-form .request-submit{
    position:sticky!important;
    right:auto!important;
    bottom:0!important;
    left:auto!important;
    z-index:5!important;
    width:100%!important;
    min-height:44px!important;
    margin:3px 0 0!important;
    box-shadow:0 -10px 18px #fff,0 7px 18px rgba(31,102,255,.22)!important;
  }
}
.modal:has(#eventForm),.modal:has(#eventEditForm){width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 20px);padding:0;overflow-y:auto;overflow-x:hidden;border:1px solid rgba(255,255,255,.9);border-radius:26px;background:linear-gradient(180deg,#f7faff 0%,#fff 32%);box-shadow:0 30px 90px rgba(7,24,58,.32)}
.modal:has(#eventForm)::before,.modal:has(#eventEditForm)::before{content:"";display:block;height:7px;background:linear-gradient(90deg,#1f66ff,#6d4ce8 55%,#efb52f)}
.modal:has(#eventForm)>h2,.modal:has(#eventEditForm)>h2{padding:24px 62px 0 28px;margin:0;color:#10284d;font-size:27px;letter-spacing:-.03em}
.modal:has(#eventForm)>p,.modal:has(#eventEditForm)>p{margin:6px 28px 18px;padding:11px 13px;border:1px solid #d7e4fb;border-radius:12px;color:#536a8b;background:#f2f7ff;font-size:12px;line-height:1.55}
.modal:has(#eventForm)>form,.modal:has(#eventEditForm)>form{display:grid;gap:12px;padding:0 28px 24px}
.modal:has(#eventForm) form>label,.modal:has(#eventEditForm) form>label{gap:6px;margin:0;color:#263b5c;font-size:13px}
.modal:has(#eventForm) form>label>input:not([type=file]),.modal:has(#eventForm) form>label>select,.modal:has(#eventForm) form>label>textarea,.modal:has(#eventEditForm) form>label>input:not([type=file]),.modal:has(#eventEditForm) form>label>select,.modal:has(#eventEditForm) form>label>textarea{border-color:#d5dfef;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(35,65,110,.04)}
.modal:has(#eventForm) form>.form-row,.modal:has(#eventEditForm) form>.form-row{gap:12px}
.modal:has(#eventForm) .attachment-preview,.modal:has(#eventEditForm) .attachment-preview{min-height:105px;border-color:#b9cef0;background:linear-gradient(145deg,#f5f9ff,#fff);border-radius:15px}
.modal:has(#eventForm) form>.primary,.modal:has(#eventEditForm) form>.primary{min-height:50px;margin-top:4px;border-radius:13px;font-size:15px;box-shadow:0 10px 22px rgba(31,102,255,.24)}
.modal:has(#eventForm) .modal-close,.modal:has(#eventEditForm) .modal-close{top:18px;right:18px;width:38px;height:38px;color:#25456f;background:#edf3fb}
@media(max-width:760px){
  .modal:has(#eventForm),.modal:has(#eventEditForm){width:calc(100vw - 20px);max-height:calc(100dvh - 8px);border-radius:22px}
  .modal:has(#eventForm)>h2,.modal:has(#eventEditForm)>h2{padding:17px 52px 0 18px;font-size:22px}
  .modal:has(#eventForm)>p,.modal:has(#eventEditForm)>p{margin:5px 18px 10px;padding:8px 10px;font-size:11px;line-height:1.4}
  .modal:has(#eventForm)>form,.modal:has(#eventEditForm)>form{gap:7px;padding:0 18px 18px;overflow:visible}
  .modal:has(#eventForm) .form-grid,.modal:has(#eventEditForm) .form-grid{overflow:visible}
  .modal:has(#eventForm) form>label,.modal:has(#eventEditForm) form>label{font-size:12px}
  .modal:has(#eventForm) .attachment-preview,.modal:has(#eventEditForm) .attachment-preview{min-height:64px;height:64px}
  .modal:has(#eventForm) form>.primary,.modal:has(#eventEditForm) form>.primary{min-height:48px;margin-top:5px;position:relative;z-index:3}
}
@media(max-width:760px) and (max-height:700px){
  .request-modal>h2{padding-top:10px!important;font-size:19px!important}
  .request-modal>p{padding-bottom:4px!important;font-size:9px!important}
  .request-modal .request-form{gap:4px!important}
  .request-form label{gap:2px!important;font-size:10px!important}
  .request-form input,.request-form select{height:35px!important;min-height:35px!important;padding-block:4px!important}
  .request-form textarea{min-height:42px!important;max-height:46px!important}
  .request-form .request-submit{min-height:40px!important}
}
.reward-owner-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.reward-owner-actions button{min-height:40px;border-radius:10px;font-weight:800;cursor:pointer}.reward-delete-button{border:1px solid #f1c8cb;color:#a33e47;background:#fff0f1}.reward-owner-actions .text-button{border:1px solid #b9d1ff;color:var(--blue);background:#f1f6ff}
.dashboard-summary-grid{align-items:start}.dashboard-upcoming-list{display:grid;gap:10px}.dashboard-empty-state{display:flex;align-items:center;gap:12px;min-height:92px;padding:16px;border:1px dashed #cbd4e1;border-radius:15px;color:var(--muted);background:#f8fafc;text-align:left}.dashboard-empty-state>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;color:var(--blue);background:#e9f1ff;font-size:20px;font-weight:800}.dashboard-empty-state strong,.dashboard-empty-state small{display:block}.dashboard-empty-state strong{color:var(--ink)}.dashboard-empty-state small{margin-top:2px;font-size:12px}.request-mobile-list{display:none}
@media(max-width:760px){.dashboard-summary-grid{gap:14px}.dashboard-summary-grid>.panel{min-height:0}.dashboard-summary-grid .panel-head{align-items:center;margin-bottom:12px}.dashboard-summary-grid .panel-head h2{font-size:21px}.dashboard-calendar-link{padding:7px 11px;border:1px solid #b9d1ff;border-radius:10px;background:#f1f6ff;white-space:nowrap}.dashboard-empty-state{min-height:0;padding:13px}.dashboard-empty-state>span{flex-basis:38px;width:38px;height:38px}.dashboard-empty-state strong{font-size:14px}.dashboard-empty-state small{font-size:11px;line-height:1.45}.request-panel-head{gap:10px}.request-panel-head .header-action{min-height:40px;padding:9px 11px;font-size:12px;white-space:nowrap}.request-desktop-table{display:none}.request-mobile-list{display:grid;gap:10px}.request-mobile-card{min-width:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.request-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.request-mobile-head strong,.request-mobile-head small{display:block}.request-mobile-head strong{font-size:15px}.request-mobile-head small{margin-top:1px;color:var(--muted);font-size:11px}.request-mobile-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.request-mobile-meta span{min-width:0;padding:9px 10px;border-radius:10px;color:#8993a3;background:#f5f7fb;font-size:10px}.request-mobile-meta b{display:block;margin-top:1px;overflow-wrap:anywhere;color:var(--ink);font-size:12px}.request-mobile-card>p{margin:10px 0 0;color:#536077;font-size:13px;overflow-wrap:anywhere}.request-empty-state{width:100%}}
@media(max-width:390px){.dashboard-summary-grid .panel-head h2{font-size:19px}.dashboard-calendar-link{padding:6px 9px;font-size:12px}.request-panel-head .header-action{padding:8px 9px}.request-mobile-meta{gap:7px}}
.attendance-mobile-list{display:none}
@media(max-width:760px){.attendance-history-panel{min-width:0;padding:14px}.attendance-info-strip{margin-bottom:12px;padding:12px;font-size:12px;line-height:1.55}.attendance-desktop-table{display:none}.attendance-mobile-list{display:grid;gap:12px}.attendance-mobile-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff}.attendance-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid var(--line)}.attendance-mobile-head small,.attendance-mobile-head strong{display:block}.attendance-mobile-head small{color:#8993a3;font-size:10px}.attendance-mobile-head strong{font-size:16px}.attendance-status{flex:0 0 auto;padding:5px 9px;border-radius:99px;font-size:11px;font-weight:800;white-space:nowrap}.attendance-status.late{color:#a33e47;background:#ffe7e9}.attendance-status.early{color:#087552;background:#e4f7ef}.attendance-time-row{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line)}.attendance-time-row span{min-width:0;padding:12px 14px;color:#8993a3;background:#f8fafc;font-size:10px}.attendance-time-row b{display:block;margin-top:2px;overflow-wrap:anywhere;color:var(--ink);font-size:14px}.attendance-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.attendance-mobile-grid span{min-width:0;color:#8993a3;font-size:10px}.attendance-mobile-grid b{display:block;margin-top:2px;overflow-wrap:anywhere;color:var(--ink);font-size:13px}.attendance-mobile-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;color:#536077;background:#f1f6ff;font-size:12px}.attendance-mobile-total strong{color:var(--blue);font-size:16px}.attendance-empty-state{width:100%}}
@media(max-width:390px){.attendance-history-panel{padding:12px}.attendance-info-strip{padding:11px}.attendance-mobile-head{padding:12px}.attendance-time-row span,.attendance-mobile-grid{padding:12px}.attendance-mobile-grid{gap:9px}.attendance-mobile-total{padding:10px 12px}}
.podium-panel .podium-place{padding:0;overflow:hidden}

/* Compact, thumb-friendly authentication layout for phones */
@media(max-width:760px){
  .auth-shell{display:grid;place-items:start center;min-height:100dvh;padding:max(14px,env(safe-area-inset-top)) 14px max(22px,env(safe-area-inset-bottom));overflow:auto;background:radial-gradient(circle at 0 0,#e5edff,transparent 42%),radial-gradient(circle at 100% 100%,#fff1bd,transparent 38%),var(--canvas)}
  .auth-card{width:100%;min-height:0;display:block;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 18px 52px rgba(15,36,72,.14)}
  .auth-brand-panel{min-height:0;display:flex;align-items:center;justify-content:flex-start;padding:20px 22px;color:#fff;background:radial-gradient(circle at 12% 20%,#2b5c99,transparent 38%),linear-gradient(135deg,#173d73,#091a35)}
  .auth-brand-panel>.brand{gap:10px;font-size:21px}
  .auth-brand-panel>.brand img{width:22px;height:38px}
  .auth-brand-panel>div:last-child{display:none}
  .auth-form{min-height:0;justify-content:flex-start;padding:28px 22px 30px}
  .auth-form .eyebrow{margin-bottom:4px;font-size:11px}
  .auth-form h2{font-size:28px;line-height:1.25}
  .auth-form .form-intro{margin:6px 0 22px;font-size:14px;line-height:1.55}
  .auth-form label{gap:6px;margin-bottom:14px;font-size:14px}
  .auth-form input,.auth-form select{min-height:52px;padding:12px 14px;border-radius:13px;font-size:16px}
  .auth-form .password-toggle{right:7px;width:40px;height:40px}
  .auth-form .primary{width:100%;min-height:52px;margin-top:2px;border-radius:13px;font-size:16px}
}
@media(max-width:390px){
  .auth-shell{padding-left:10px;padding-right:10px}
  .auth-brand-panel{padding:17px 18px}
  .auth-form{padding:24px 18px 27px}
  .auth-form h2{font-size:26px}
}

/* Calendar overview: month and year */
.calendar-overview-panel{overflow:hidden;padding:20px}.calendar-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-bottom:16px}.calendar-toolbar h2{margin:0;text-align:center;font-size:24px}.calendar-period{display:flex;align-items:center;gap:7px}.calendar-period button,.calendar-view-switch button{min-height:38px;border:1px solid var(--line);color:#536077;background:#fff;font-weight:800;cursor:pointer}.calendar-period button{min-width:40px;padding:7px 12px;border-radius:10px;font-size:16px}.calendar-period button:first-child,.calendar-period button:last-child{font-size:24px;line-height:1}.calendar-view-switch{display:flex;justify-self:end;padding:3px;border:1px solid var(--line);border-radius:11px;background:#f5f7fb}.calendar-view-switch button{min-width:68px;border:0;border-radius:8px;background:transparent}.calendar-view-switch button.active{color:var(--blue);background:#fff;box-shadow:0 2px 8px rgba(18,42,78,.1)}.calendar-overview-panel .calendar-legend{justify-content:flex-end;margin-bottom:13px}.month-calendar{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.calendar-weekdays,.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{border-bottom:1px solid var(--line);color:#8993a3;background:#f8fafc;font-size:12px;font-weight:800;text-align:center}.calendar-weekdays span{padding:10px 5px}.calendar-day{position:relative;display:flex;min-width:0;min-height:118px;align-items:flex-start;flex-direction:column;gap:8px;padding:9px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);background:#fff;text-align:left;cursor:pointer}.calendar-day:nth-child(7n){border-right:0}.calendar-day:nth-last-child(-n+7){border-bottom:0}.calendar-day:hover{background:#f8fbff}.calendar-day.outside{color:#b7bec9;background:#fafafa}.calendar-day-number{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:13px;font-weight:800}.calendar-day.today .calendar-day-number{color:#fff;background:var(--blue)}.calendar-day-events{display:grid;width:100%;gap:4px}.calendar-event-chip{display:block;max-width:100%;overflow:hidden;padding:4px 6px;border-radius:6px;font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.calendar-event-chip.public{color:#2357ad;background:#e6efff}.calendar-event-chip.selected{color:#6941c6;background:#f0eaff}.calendar-event-chip.private{color:#785b00;background:#fff2c6}.calendar-day-events small{color:var(--muted);font-size:10px}.year-calendar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.year-month{min-width:0;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.year-month-title{padding:0;border:0;color:var(--blue);background:transparent;font-size:17px;font-weight:900;cursor:pointer}.year-month-title:hover{text-decoration:underline}.mini-weekdays,.mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:10px}.mini-weekdays{color:#9aa3b2;font-size:9px;font-weight:800;text-align:center}.mini-day{position:relative;display:grid;place-items:center;min-width:0;height:34px;padding:0;border:0;border-radius:9px;color:#26354f;background:transparent;font-size:11px;font-weight:700;cursor:pointer}.mini-day:hover{background:#edf4ff}.mini-day.outside{color:#c6cbd3}.mini-day.today{color:#fff;background:var(--blue)}.mini-dots{position:absolute;right:2px;bottom:2px;display:flex;gap:1px}.mini-dots i{display:block;width:4px;height:4px;border-radius:50%}.mini-dots .public{background:var(--blue)}.mini-dots .selected{background:#8b5cf6}.mini-dots .private{background:#d5a600}.mini-day.today .mini-dots i{background:#fff}.calendar-agenda .panel-head small{display:block;margin-top:3px;color:var(--muted);font-size:12px}.calendar-add-day{width:100%;margin-top:14px}.calendar-day-empty{padding:24px}
@media(max-width:1000px){.year-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-day{min-height:96px}}
@media(max-width:760px){.calendar-overview-panel{margin:0 -2px;padding:12px}.calendar-toolbar{grid-template-columns:1fr auto;gap:10px}.calendar-toolbar h2{grid-column:1/-1;grid-row:1;font-size:22px}.calendar-period{grid-column:1;grid-row:2}.calendar-view-switch{grid-column:2;grid-row:2}.calendar-period button{min-height:36px;min-width:36px;padding:5px 9px}.calendar-view-switch button{min-height:34px;min-width:56px}.calendar-overview-panel .calendar-legend{justify-content:flex-start;margin:13px 0;font-size:11px}.calendar-weekdays span{padding:8px 2px;font-size:10px}.calendar-day{min-height:64px;gap:3px;padding:5px 3px}.calendar-day-number{width:25px;height:25px;font-size:11px}.calendar-day-events{display:flex;flex-wrap:wrap;gap:2px;padding-left:3px}.calendar-event-chip{width:6px;height:6px;padding:0;border-radius:50%;font-size:0}.calendar-day-events small{font-size:8px}.year-calendar{grid-template-columns:1fr;gap:12px}.year-month{padding:13px}.mini-day{height:36px}.calendar-agenda .event-card{grid-template-columns:46px minmax(0,1fr)}.calendar-agenda .audience-tag{grid-column:2}}
@media(max-width:390px){.calendar-overview-panel{padding:10px}.calendar-toolbar h2{font-size:20px}.calendar-period button{min-width:34px}.calendar-view-switch button{min-width:50px}.mini-day{height:33px}}

/* Compact Quick actions for phones */
@media(max-width:760px){
  .dashboard-quick-section .panel-head{margin-bottom:11px}
  .dashboard-quick-section .panel-head .eyebrow{margin-bottom:3px}
  .dashboard-quick-section .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .dashboard-quick-section .quick-card{grid-template-columns:40px minmax(0,1fr);align-content:center;align-items:center;gap:10px;min-width:0;min-height:92px;padding:13px;border-radius:16px}
  .dashboard-quick-section .quick-card .metric-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  .dashboard-quick-section .quick-card>span:last-child{min-width:0}
  .dashboard-quick-section .quick-card strong{font-size:15px;line-height:1.3}
  .dashboard-quick-section .quick-card small{margin-top:3px;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
}
@media(max-width:370px){
  .dashboard-quick-section .quick-grid{gap:8px}
  .dashboard-quick-section .quick-card{grid-template-columns:36px minmax(0,1fr);gap:8px;min-height:88px;padding:11px}
  .dashboard-quick-section .quick-card .metric-icon{width:36px;height:36px;flex-basis:36px}
  .dashboard-quick-section .quick-card strong{font-size:14px}
  .dashboard-quick-section .quick-card small{font-size:10px}
}

/* Centered mobile login with a lightweight high-tech animated backdrop */
.auth-shell{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(145deg,#edf4ff 0%,#f7f7f2 52%,#fff3c8 100%);
}
.auth-card{position:relative;z-index:2}
.auth-tech-bg{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}
.auth-tech-bg::before{
  content:"";
  position:absolute;
  inset:-35% -25%;
  background-image:
    linear-gradient(rgba(31,102,255,.085) 1px,transparent 1px),
    linear-gradient(90deg,rgba(31,102,255,.085) 1px,transparent 1px);
  background-size:46px 46px;
  opacity:.7;
  transform:perspective(560px) rotateX(58deg) translateY(18%);
  transform-origin:center bottom;
  animation:authGridFlow 13s linear infinite;
}
.auth-tech-bg::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:76vmax;
  height:76vmax;
  border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0 12%,rgba(31,102,255,.16) 18%,transparent 27% 48%,rgba(255,200,55,.13) 55%,transparent 64%);
  filter:blur(15px);
  opacity:.78;
  transform:translate(-50%,-50%);
  animation:authRadarSpin 20s linear infinite;
}
.auth-tech-bg i{
  position:absolute;
  width:9px;
  height:9px;
  border:2px solid rgba(255,255,255,.9);
  border-radius:50%;
  background:#1f66ff;
  box-shadow:0 0 0 7px rgba(31,102,255,.09),0 0 24px rgba(31,102,255,.55);
  animation:authNodeFloat 7s ease-in-out infinite;
}
.auth-tech-bg i:nth-child(1){left:8%;top:19%;animation-delay:-1s}
.auth-tech-bg i:nth-child(2){right:9%;top:15%;width:6px;height:6px;animation-delay:-4s}
.auth-tech-bg i:nth-child(3){left:13%;bottom:17%;width:6px;height:6px;background:#f8c72f;box-shadow:0 0 0 7px rgba(248,199,47,.1),0 0 24px rgba(248,199,47,.55);animation-delay:-2.5s}
.auth-tech-bg i:nth-child(4){right:12%;bottom:22%;animation-delay:-5.5s}
.auth-tech-bg i:nth-child(5){left:48%;top:7%;width:5px;height:5px;animation-delay:-3.5s}
.auth-tech-bg i:nth-child(6){right:34%;bottom:8%;width:5px;height:5px;background:#f8c72f;box-shadow:0 0 0 7px rgba(248,199,47,.1),0 0 24px rgba(248,199,47,.55);animation-delay:-6s}
@keyframes authGridFlow{
  from{background-position:0 0,0 0}
  to{background-position:0 92px,92px 0}
}
@keyframes authRadarSpin{
  from{transform:translate(-50%,-50%) rotate(0)}
  to{transform:translate(-50%,-50%) rotate(360deg)}
}
@keyframes authNodeFloat{
  0%,100%{transform:translate3d(0,0,0);opacity:.55}
  50%{transform:translate3d(0,-18px,0);opacity:1}
}
@media(max-width:760px){
  .auth-shell{
    display:grid;
    place-items:center;
    min-height:100svh;
    min-height:100dvh;
    padding:max(16px,env(safe-area-inset-top)) 14px max(16px,env(safe-area-inset-bottom));
    overflow:hidden;
    background:linear-gradient(155deg,#e8f0ff 0%,#f8f7f0 54%,#fff0b9 100%);
  }
  .auth-card{
    width:min(100%,430px);
    margin:auto;
    box-shadow:0 24px 64px rgba(12,35,72,.18),0 0 0 1px rgba(255,255,255,.6);
  }
  .auth-tech-bg::before{
    inset:-20% -70%;
    background-size:38px 38px;
    opacity:.62;
    transform:perspective(420px) rotateX(61deg) translateY(24%);
  }
  .auth-tech-bg::after{width:120vmax;height:120vmax;opacity:.65}
}
@media(max-width:760px) and (max-height:650px){
  .auth-shell{align-items:start;overflow-y:auto}
  .auth-brand-panel{padding-top:14px;padding-bottom:14px}
  .auth-form{padding-top:20px;padding-bottom:22px}
  .auth-form .form-intro{margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){
  .auth-tech-bg::before,.auth-tech-bg::after,.auth-tech-bg i{animation:none}
}

/* Major workflow update: lighter navigation and richer work records */
.nav-item{gap:11px}.nav-icon{width:24px}.nav-icon .ui-icon{width:19px;height:19px}
.bottom-nav b .ui-icon{width:18px;height:18px}
.profile-avatar-link{cursor:pointer;outline-offset:3px;transition:transform .18s ease,box-shadow .18s ease}
.profile-avatar-link:hover,.profile-avatar-link:focus-visible{transform:translateY(-2px);box-shadow:0 0 0 3px rgba(20,99,255,.14)}
.event-card{grid-template-columns:58px minmax(0,1fr) auto}
.event-card-actions{display:grid;justify-items:end;gap:7px}
.event-image-button{width:58px;height:58px;padding:0;overflow:hidden;border:0;border-radius:13px;background:#edf4ff;cursor:pointer}
.event-image-button img{width:100%;height:100%;object-fit:cover}
.event-status-select,.process-pill{max-width:150px;padding:6px 8px;border:1px solid var(--line);border-radius:9px;font-size:11px;font-weight:800}
.event-status-select{background:#fff;cursor:pointer}
.status-planned{color:#2357ad;background:#edf4ff}.status-in_progress{color:#7a5700;background:#fff4c8}.status-waiting{color:#8a3d15;background:#fff0e7}.status-completed{color:#087552;background:#e7f8ef}.status-cancelled{color:#8b4650;background:#ffecef}
.attachment-preview{display:grid;place-items:center;min-height:130px;margin:7px 0 10px;overflow:hidden;border:1px dashed #b9c6d8;border-radius:13px;color:var(--muted);background:#f8fafc;font-size:12px}
.attachment-preview img{display:block;width:100%;max-height:240px;object-fit:contain;background:#fff}
.attachment-link{padding:7px 10px;border:1px solid #b9d1ff;border-radius:9px;color:var(--blue);background:#f1f6ff;font-weight:800;cursor:pointer}
.attachment-link.full-button{width:100%;margin-top:12px}
.image-viewer{display:block;max-width:100%;max-height:70dvh;margin:auto;border-radius:14px;object-fit:contain}
.task-reminder-list{display:grid;gap:10px;max-height:55dvh;overflow:auto}.task-reminder-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.task-reminder-item>img,.task-reminder-icon{width:58px;height:58px;border-radius:12px}.task-reminder-item>img{object-fit:cover}.task-reminder-icon{display:grid;place-items:center;color:var(--blue);background:#edf4ff}.task-reminder-item small,.task-reminder-item strong{display:block}.task-reminder-item small{color:var(--blue);font-size:11px;font-weight:800}.task-reminder-item strong{margin:1px 0 3px}.task-reminder-item p{margin:0 0 7px;color:var(--muted);font-size:12px}.task-reminder-dismiss{width:100%;min-height:46px;margin-top:14px;border:1px solid #b9d1ff;border-radius:11px;color:var(--blue);background:#f1f6ff;font-weight:800;cursor:pointer}.task-reminder-empty{display:grid;place-items:center;gap:10px;min-height:150px;padding:24px;border:1px dashed #c8d3e1;border-radius:14px;color:var(--muted);background:#f8fafc;text-align:center}.task-reminder-empty .ui-icon{width:34px;height:34px;color:var(--blue)}
.attendance-report-controls{display:grid;grid-template-columns:180px minmax(180px,260px) auto;gap:10px;margin-bottom:14px}
.attendance-report-controls select,.attendance-report-controls input{min-height:44px}
.attendance-report-summary{grid-template-columns:repeat(4,1fr)}
.beta-reset-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;border-color:#f1c8cb;background:#fff8f8}
.beta-reset-panel h2{margin:4px 0 7px}.beta-reset-panel p{margin:0;max-width:760px;color:#667085;line-height:1.55}
.reset-warning{padding:14px;border:1px solid #f1c8cb;border-radius:12px;color:#8b303c;background:#fff3f4}.reset-warning p{margin:5px 0 0}
@media(max-width:760px){
  .task-reminder-list{max-height:48dvh}.task-reminder-item{grid-template-columns:48px minmax(0,1fr)}.task-reminder-item>img,.task-reminder-icon{width:48px;height:48px}
  .event-card{grid-template-columns:48px minmax(0,1fr)}.event-image-button{width:48px;height:48px}.event-card-actions{grid-column:2;justify-items:start}.event-status-select,.process-pill{max-width:100%}
  .attendance-report-controls{grid-template-columns:1fr}.attendance-report-summary{grid-template-columns:1fr 1fr}
  .beta-reset-panel{align-items:stretch;flex-direction:column}.beta-reset-panel .danger-button{width:100%}
}

.checkin-motivation{padding:24px;border-radius:20px;text-align:center}.checkin-motivation.early{color:#fff;background:linear-gradient(145deg,#45217c,#7a42b2 55%,#ef9f35)}.checkin-motivation.encourage{color:#fff;background:linear-gradient(145deg,#123a70,#1768a8 58%,#2d9c8b)}.motivation-symbol{font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:62px;line-height:1}.checkin-motivation blockquote{margin:18px auto 22px;max-width:560px;font-size:21px;font-weight:800;line-height:1.6}.motivation-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.motivation-stats span{padding:12px;border:1px solid rgba(255,255,255,.25);border-radius:13px;background:rgba(0,0,0,.13);font-size:12px}.motivation-stats b{display:block;margin-top:3px;color:#fff;font-size:17px}.checkin-motivation .primary{color:#17345c;background:#fff}
@media(max-width:760px){.checkin-motivation{padding:20px 15px}.motivation-symbol{font-size:52px}.checkin-motivation blockquote{font-size:18px}.motivation-stats{grid-template-columns:1fr}}

/* Owner employee insights and OT reporting */
.employee-profile-link{padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.employee-profile-link:hover strong,.employee-profile-link:focus-visible strong{color:var(--blue)}.employee-name-cell.employee-profile-link{border-radius:9px;outline-offset:3px}.employee-insights-modal{width:min(1120px,100%)}.employee-insights-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:16px;border:1px solid #d8e4f5;border-radius:16px;background:#f6f9ff}.employee-insights-person{display:flex;align-items:center;gap:14px}.employee-insights-person>span{display:block;width:62px;height:62px;overflow:hidden;border-radius:50%;background:#dce8ff}.employee-insights-person>span img{width:100%;height:100%;object-fit:cover}.employee-insights-person h3,.employee-insights-person p{margin:0}.employee-insights-person p,.employee-insights-person small{color:var(--muted)}.employee-insights-controls{display:grid;grid-template-columns:170px minmax(180px,250px) auto;gap:10px;margin-bottom:15px}.employee-insights-kpis,.ot-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.employee-insights-kpis>span,.ot-kpi-grid>span{padding:13px;border:1px solid var(--line);border-radius:13px;color:var(--muted);background:#fff;font-size:12px}.employee-insights-kpis b,.ot-kpi-grid b{display:block;margin-top:4px;color:var(--ink);font-size:17px}.employee-insights-kpis .ot-total-money,.ot-kpi-grid .ot-total-money{border-color:#b9d1ff;color:#2357ad;background:#edf4ff}.employee-insights-kpis .ot-total-money b,.ot-kpi-grid .ot-total-money b{color:var(--blue)}.insights-section,.ot-monthly-details{margin-top:14px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.insights-section>summary,.ot-monthly-details>summary{padding:14px 16px;font-weight:800;cursor:pointer;background:#f8fafc}.insights-section .table-wrap,.ot-monthly-details .table-wrap{padding:0 10px 10px}.employee-insights-lists{margin-top:14px}.employee-insights-lists .panel{max-height:430px;overflow:auto}.employee-insights-lists h3{margin:0}.ot-request-statuses{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 15px}.ot-request-statuses span{padding:8px 10px;border-radius:10px;color:#536077;background:#f2f5f9;font-size:12px}.ot-request-statuses b{margin-left:4px;color:var(--ink)}
@media(max-width:760px){.employee-insights-head{align-items:stretch;flex-direction:column}.employee-insights-controls{grid-template-columns:1fr}.employee-insights-kpis,.ot-kpi-grid{grid-template-columns:1fr 1fr}.employee-insights-lists{grid-template-columns:1fr}.employee-insights-modal{padding:20px 14px}.employee-insights-person>span{width:52px;height:52px}.employee-insights-kpis b,.ot-kpi-grid b{font-size:15px}}

.profile-side-stack{display:grid;align-content:start;gap:16px}.line-connect-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:start}.line-connect-card>button,.line-connect-actions{grid-column:1/-1;width:100%}.line-connect-actions{display:grid;gap:8px}.line-connect-card h2{margin:2px 0 5px;font-size:17px}.line-connect-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.line-connect-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#fff;background:#06c755;font-size:12px;font-weight:900}.line-link-instructions{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:center}.line-link-instructions>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;background:#06c755;font-weight:900}.line-link-instructions p{margin:0}.line-link-instructions code{grid-column:1/-1;display:block;padding:15px;border:1px solid #a9e9bd;border-radius:12px;color:#075d27;background:#effcf3;font-size:17px;font-weight:900;text-align:center;word-break:break-all}.line-link-instructions button,.line-link-instructions small{grid-column:1/-1}.line-link-instructions small{color:var(--muted);line-height:1.5;text-align:center}.attendance-reset-button{padding:7px 10px;border:1px solid #efc5c9;border-radius:9px;color:#9b3440;background:#fff5f6;font-size:12px;font-weight:800;cursor:pointer}.attendance-reset-button.full-button{width:100%;margin-top:12px}
.line-variable-list{display:flex;flex-wrap:wrap;gap:7px}.line-variable-list button{padding:6px 9px;border:1px solid #a9e9bd;border-radius:999px;color:#087a35;background:#effcf3;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:800;cursor:pointer}.line-template-preview{padding:14px;border:1px solid #d5dce7;border-radius:13px;background:#f8fafc}.line-template-preview small{display:block;margin-bottom:8px;color:var(--muted);font-weight:800}.line-template-preview pre{margin:0;min-height:120px;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.line-template-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}@media(max-width:560px){.line-template-actions{grid-template-columns:1fr}}
.late-monthly-warning{padding:24px;border:1px solid #bfe5d3;border-radius:20px;background:linear-gradient(145deg,#f2fbf6,#fff9e8);text-align:center}.late-monthly-warning .motivation-symbol{margin-bottom:12px}.late-monthly-warning p{max-width:650px;margin:0 auto 18px;color:#315244;font-size:17px;font-weight:700;line-height:1.75}.late-monthly-warning .primary{margin-top:4px}
.deployment-version-panel{border-color:#c8d9f4;background:linear-gradient(145deg,#f7faff,#fff)}.deployment-version-head{display:flex;align-items:center;gap:12px}.deployment-version-head>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#fff;background:var(--blue)}.deployment-version-head .ui-icon{width:24px;height:24px}.deployment-version-head h2{margin:2px 0 0}.deployment-version-grid{display:grid;grid-template-columns:1.2fr .55fr 1.8fr;gap:10px;margin-top:18px}.deployment-version-grid>span{min-width:0;padding:13px;border:1px solid #d8e4f5;border-radius:13px;color:var(--muted);background:#fff;font-size:12px}.deployment-version-grid strong{display:block;margin-top:5px;color:var(--ink);font-size:14px;overflow-wrap:anywhere}.deployment-version-note{margin:13px 0 0;color:var(--muted);font-size:12px}@media(max-width:760px){.deployment-version-grid{grid-template-columns:1fr}.deployment-version-panel{padding:18px 14px}}
.event-card .event-responsible{margin-top:4px;color:#315f9f;font-weight:700}
.early-checkout-confirm{display:grid;gap:16px}.early-checkout-visual{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #f2cc87;border-radius:15px;background:#fff8e8}.early-checkout-visual>span{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:13px;color:#8a6500;background:#ffe7a7}.early-checkout-visual strong,.early-checkout-visual small{display:block}.early-checkout-visual strong{font-size:20px}.early-checkout-visual small{color:#7c6540}.early-checkout-confirm p{margin:0;color:#536077}.early-checkout-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.early-checkout-actions button{min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;font-weight:800;cursor:pointer}.early-checkout-actions .primary{border-color:var(--red);background:var(--red);box-shadow:0 7px 18px rgba(221,82,91,.2)}@media(max-width:520px){.early-checkout-actions{grid-template-columns:1fr}.early-checkout-actions .primary{grid-row:1}}
.thai-date-control{position:relative;display:block;width:100%;min-width:150px}.thai-date-native{position:absolute!important;inset:0!important;z-index:2!important;width:100%!important;height:100%!important;margin:0!important;opacity:0!important;cursor:pointer!important}.thai-date-display{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:54px;padding:8px 12px;border:1px solid #d7dce4;border-radius:12px;background:#fff;transition:.18s ease}.thai-date-control:hover .thai-date-display,.thai-date-control:focus-within .thai-date-display{border-color:var(--blue);box-shadow:0 0 0 3px rgba(20,99,255,.1)}.thai-date-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--blue);background:#edf4ff}.thai-date-icon .ui-icon{width:19px;height:19px}.thai-date-display strong,.thai-date-display small{display:block;overflow-wrap:anywhere}.thai-date-display strong{color:var(--ink);font-size:13px;line-height:1.4}.thai-date-display small{margin-top:1px;color:var(--muted);font-size:10px;font-weight:500}.thai-date-display>b{color:#8b96a8}.thai-date-display>b .ui-icon{width:16px;height:16px;transform:rotate(90deg)}.event-edit-button{padding:6px 10px;border:1px solid #b9d1ff;border-radius:9px;color:var(--blue);background:#f1f6ff;font-size:12px;font-weight:800;cursor:pointer}.event-edit-actions{display:flex;justify-content:space-between;gap:12px}.event-edit-actions button{min-height:46px}.event-edit-modal{width:min(760px,100%)}@media(max-width:600px){.thai-date-display{grid-template-columns:34px minmax(0,1fr) 16px;padding:7px 9px}.thai-date-icon{width:34px;height:34px}.thai-date-display strong{font-size:12px}.event-edit-actions{flex-direction:column-reverse}.event-edit-actions button{width:100%}}
.modal>p{max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.55}.modal form>label,.modal form .form-row{min-width:0}.thai-date-display>span:nth-child(2){min-width:0}.thai-date-display strong{white-space:normal;word-break:break-word}
.form-help{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.4}
@media(max-width:760px){
  .modal-bg{padding:6px 8px;align-items:center}
  .modal.event-edit-modal,.event-edit-modal{max-height:calc(100dvh - 12px);padding:18px 14px 14px;border-radius:20px;overflow:hidden}
  .event-edit-modal h2{font-size:21px;margin-bottom:3px}
  .event-edit-modal>p{margin-bottom:8px;font-size:12px;line-height:1.35}
  .event-edit-modal .form-grid{gap:8px;min-height:0;overflow:hidden}
  .event-edit-modal .form-grid textarea{min-height:58px;max-height:74px}
  .event-edit-modal .event-edit-actions{gap:7px;margin-top:0}
  .event-edit-modal .event-edit-actions button{min-height:42px}
}
#eventForm .eventForm-helper-fix{display:block;min-width:0;max-width:100%;margin:3px 0 0;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.5}
@media(max-width:760px){
  .modal-bg{padding:2px 6px}
  .modal.event-edit-modal,.event-edit-modal{max-height:calc(100dvh - 4px);padding:12px 12px 8px}
  .event-edit-modal .modal-close{top:8px;right:8px;width:34px;height:34px}
  .event-edit-modal .form-grid{gap:5px}
  #eventForm{gap:7px}
  #eventForm>label{gap:4px;margin-bottom:2px;font-size:12px}
  #eventForm .form-help{font-size:10px;line-height:1.25}
  #eventForm .thai-date-display{min-height:44px;padding:4px 7px}
  #eventForm .thai-date-icon{width:30px;height:30px}
  #eventForm .attachment-preview{min-height:52px;height:52px;margin:2px 0 3px}
  #eventForm .attachment-preview img{max-height:52px}
  #eventForm input[type=file]{min-height:34px;padding:5px 7px;font-size:11px}
  #eventForm textarea{min-height:40px;max-height:48px}
  #eventForm>.primary{min-height:40px;padding:7px 10px}
}
