@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#233c32;--green:#234d3d;--sage:#e8eee5;--lime:#dce8ad;--paper:#f6f5ef;--white:#fffefa;--line:#e2e5db;--muted:#718077;--warm:#f1e5cf;--danger:#a54335}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Noto Sans TC',sans-serif;font-size:14px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a1b36d;outline-offset:4px}input,select{display:block;width:100%;background:var(--white);border:1px solid #cdd5ca;border-radius:10px;padding:12px 13px;color:var(--ink);min-height:46px}input:focus,select:focus{outline:2px solid #9eaf88;outline-offset:1px}label{display:block;font-size:12px;font-weight:600;letter-spacing:.02em}label input,label select{margin-top:7px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.35;letter-spacing:-.04em;font-weight:600}h2{font-size:18px;font-weight:600}h3{font-size:16px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--muted);font-weight:600;margin-bottom:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid var(--green);border-radius:10px;padding:12px 20px;background:var(--green);color:white;font-weight:500;white-space:nowrap;min-height:46px;transition:background .15s}.button:hover{background:#35634e}.button.secondary{background:var(--white);color:var(--green);border-color:#cfd9cc}.button.secondary:hover{background:var(--sage)}.button.small{padding:8px 12px;font-size:12px;min-height:36px}.full{width:100%}.text-button{border:0;background:none;color:var(--green);padding:4px 0}.danger{color:var(--danger)}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:600;letter-spacing:.04em}.brand b{font-family:'DM Sans',sans-serif;font-size:13px;letter-spacing:.12em;margin-left:5px}.brand small{display:block;font-size:8px;letter-spacing:.16em;font-weight:400;margin-top:2px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:var(--green);color:var(--lime);border-radius:14px 14px 14px 3px}.brand-mark svg{width:27px;height:27px}.notice{padding:16px 20px;border:1px solid #c6d8b9;border-radius:12px;background:#edf4e6;color:#36562c;margin:18px 0;overflow-wrap:anywhere}.notice.error{background:#fff0ea;color:#8c3a2e;border-color:#eac9bb}.tag{display:inline-block;font-size:11px;white-space:nowrap;padding:5px 10px;background:var(--sage);border-radius:6px;color:#425a45}.tag.warm{background:var(--warm);color:#81623b}.panel{background:var(--white);border:1px solid var(--line);border-radius:16px}.panel-heading{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-shell{display:flex;min-height:100vh}.sidebar{width:244px;padding:38px 24px;background:#eef0e7;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.sidebar .brand{gap:9px;font-size:20px}.sidebar .brand b{font-size:11px}.nav-label{font-size:10px;letter-spacing:.1em;color:var(--muted);margin:52px 12px 16px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:9px;color:#6b7d70}.sidebar nav a.selected{background:var(--green);color:#fff}.sidebar-bottom{margin-top:auto;font-size:11px;color:var(--muted);padding:30px 12px 0}.sidebar-bottom p{margin:8px 0 26px}.dot{width:6px;height:6px;background:#6d8a59;border-radius:100%;display:inline-block;margin-right:5px}.admin-main{margin-left:244px;padding:0 48px;width:calc(100% - 244px);max-width:1700px}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.topbar time{letter-spacing:.1em}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:40px 0 30px}.page-heading .muted{margin-top:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:30px}.stats article{background:var(--white);border:1px solid var(--line);padding:22px 24px;border-radius:14px}.stats article>span{font-size:12px}.stats strong{display:block;font-size:42px;font-weight:500;margin:10px 0 4px;line-height:1.3}.stats strong small{font-weight:400;font-size:12px;margin-left:8px}.stats p{font-size:10px;color:var(--muted)}.stats article.accent{background:var(--green);color:#fff;border-color:var(--green)}.stats article.accent p{color:#b7c9b9}.filters,.employee-form{display:flex;gap:16px;align-items:flex-end;padding:23px 26px;flex-wrap:wrap}.filters label,.employee-form label{flex:1;min-width:140px}.filters button,.employee-form button{align-self:flex-end}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:11px;font-weight:500;letter-spacing:.03em;color:var(--muted);background:#f7f8f2;padding:13px 26px}td{padding:21px 26px;border-top:1px solid var(--line);font-size:13px}td small{display:block;color:var(--muted);font-size:10px;margin-top:3px}td strong{font-weight:500}.mono{font-variant-numeric:tabular-nums}.map-link{font-size:10px;display:flex;gap:5px;align-items:center;margin-top:6px;color:#6a8467}.map-link svg{width:12px;height:12px}.table-note{padding:0 26px 18px;font-size:11px;color:var(--muted)}.pagination{display:flex;justify-content:space-between;align-items:center;padding:20px 26px;font-size:12px;color:var(--muted);gap:20px}.pagination a{color:var(--green)}.page-footer{margin:40px 0 24px;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#8b958c;letter-spacing:.06em}.footnote{font-size:11px;margin-top:16px}.empty{text-align:center;padding:64px 24px;white-space:normal;color:var(--muted)}.empty>svg{width:40px;height:40px;color:#91a48b;margin-bottom:16px}.empty h3,.empty h2{color:var(--ink);margin-bottom:8px}.empty .button{margin-top:20px}.binding-notice{padding:24px 28px;border-radius:14px;background:var(--lime);margin-bottom:26px}.binding-notice code{display:block;font-size:28px;letter-spacing:.12em;margin:8px 0;overflow-wrap:anywhere}.binding-notice p{font-size:12px}.section-caption{display:flex;justify-content:space-between;align-items:center;margin:30px 0 16px;gap:15px}.section-caption p{font-size:11px}.people-list{display:grid;gap:14px}.person{padding:24px 26px}.person-head{display:flex;gap:15px;align-items:center}.person-head>.tag{margin-left:auto}.avatar{width:44px;height:44px;background:var(--sage);color:var(--green);border-radius:50%;display:grid;place-items:center;font-size:18px}.person details{margin:18px 0;border-top:1px solid var(--line);padding-top:15px}.person summary{font-size:12px;cursor:pointer;color:var(--muted)}.person .employee-form{padding:20px 0 0}.person-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.login-shell{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.login-story{padding:55px 65px;background:var(--green);color:#f6f4e9;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:'';width:480px;height:480px;border:1px solid #ffffff14;border-radius:50%;position:absolute;right:-200px;bottom:-150px;box-shadow:0 0 0 60px #ffffff04,0 0 0 120px #ffffff04;pointer-events:none}.login-story .brand-mark{background:var(--lime);color:var(--green)}.login-story .eyebrow{color:#c4d1b6}.login-story h1{font-size:70px;line-height:1.4;letter-spacing:.02em;margin:25px 0}.login-story p:not(.eyebrow){color:#bdcbbb;line-height:2}.login-story>small{color:#bdcbbb;letter-spacing:.12em}.login-form{align-self:center;max-width:450px;width:100%;padding:40px;margin:auto}.login-form h2{font-size:30px;margin-bottom:12px}.login-form form{margin:36px 0 24px}.login-form label{margin:20px 0}.login-form button{margin-top:10px}.mobile-shell{max-width:500px;margin:auto;padding:24px 24px 30px;min-height:100dvh}.mobile-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:38px}.mobile-header .brand{font-size:19px}.mobile-header .brand b{font-size:11px}.tiny-label{font-size:8px;letter-spacing:.14em;color:var(--muted);line-height:1.4}.mobile-shell h1{font-size:30px}.mobile-shell .intro{font-size:16px;margin-top:14px;line-height:1.9}.bind-art{display:flex;justify-content:center;align-items:center;gap:28px;padding:34px 0;color:#87a078}.bind-art svg{width:80px;height:80px;padding:20px;background:#e8eddf;border-radius:28px;stroke-width:1.3}.bind-art svg:last-child{background:var(--green);color:var(--lime)}.bind-art span{font-size:22px;font-weight:400}.bind-card{padding:28px 24px}.bind-card h2{margin:18px 0 10px}.bind-card p{font-size:12px}.bind-card form{margin-top:25px}.bind-card input{margin:8px 0 18px;letter-spacing:.09em;font-size:16px;text-transform:none}.friend-link{display:block;text-align:center;margin-top:22px;font-size:12px}.mobile-footer{margin-top:42px;text-align:center;color:#8b9589;font-size:9px;letter-spacing:.07em}.mobile-footer a{display:block;margin-top:9px;font-size:10px;text-decoration:underline}.greeting .muted{margin-top:10px;font-size:13px}.mobile-tabs{display:flex;border-bottom:1px solid #d7ddcf;margin:28px 0 24px;gap:28px}.mobile-tabs button{padding:0 0 13px;background:none;border:0;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}.mobile-tabs button.active{border-color:var(--green);color:var(--green);font-weight:600}.clock-card{background:var(--green);color:white;border-radius:20px;padding:24px;min-height:235px;position:relative;overflow:hidden}.clock-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.clock-top>span:last-child{font-size:9px;color:#c0d0b9;letter-spacing:.1em}.clock-top .tag{background:#ffffff18;color:#dbe8be}.clock-card time{display:block;font-size:52px;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-.04em;margin:24px 0 5px;line-height:1.2;position:relative;z-index:1}.clock-card p{font-size:11px;color:#cfdbbf;position:relative;z-index:1}.clock-landscape span{position:absolute;border-radius:50%;width:280px;height:170px;right:-115px;bottom:-105px;background:#4f6c45;transform:rotate(-30deg)}.clock-landscape span:nth-child(2){right:10px;bottom:-138px;background:#718558}.clock-landscape span:nth-child(3){right:25px;bottom:30px;width:28px;height:28px;background:var(--lime);border-radius:50%}.punch-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.punch-button{border:1px solid #d7e1c5;border-radius:17px;background:#e9efdc;color:#375338;display:flex;flex-direction:column;align-items:flex-start;padding:22px;text-align:left;min-height:170px}.punch-button.evening{background:#f0eee6;border-color:#dddccf;color:#5a6255}.punch-button svg{width:35px;height:35px;margin-bottom:22px;stroke-width:1.4}.punch-button strong{font-size:17px;font-weight:500}.punch-button span{font-size:9px;margin-top:5px;opacity:.7}.punch-button:disabled{opacity:.48}.location-note{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:24px;font-size:10px;line-height:1.9;color:var(--muted)}.location-note svg{width:18px;height:18px}.history-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.history-header input{font-size:12px;padding:8px}.history-header label{font-size:10px}.history-row{padding:20px;margin-top:12px}.history-row-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px}.history-times{display:grid;grid-template-columns:1fr 1fr;gap:12px}.history-times small{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.history-times strong{font-size:13px;font-weight:500}.history-row>p{font-size:11px;margin-top:14px;color:var(--muted)}.spinner{width:30px;height:30px;border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;margin:0 auto 20px;animation:spin 1s linear infinite}.privacy>.eyebrow{margin-top:40px}.privacy>.panel{padding:26px;margin:26px 0}.privacy h2{margin:24px 0 8px}.privacy h2:first-child{margin-top:0}.privacy p{color:var(--muted);font-size:13px;line-height:1.9}[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(min-width:700px){.mobile-shell{padding-top:36px}.mobile-shell:before{content:'';position:fixed;inset:0;background:radial-gradient(ellipse at 0 0,#e7eddc,transparent 60%);z-index:-1}}@media(max-width:1100px){.admin-main{padding:0 26px}.sidebar{width:215px;padding:30px 18px}.admin-main{margin-left:215px;width:calc(100% - 215px)}.stats{gap:10px}.stats article{padding:18px 16px}.stats p{font-size:9px}}@media(max-width:800px){.admin-shell{display:block}.sidebar{position:static;width:100%;padding:18px 22px;display:block;border-right:0}.sidebar nav{display:flex;margin-top:16px;gap:10px}.sidebar nav a{padding:9px 13px;font-size:12px}.sidebar .nav-label,.sidebar-bottom p,.sidebar-bottom>.dot{display:none}.sidebar-bottom{padding:0;position:absolute;right:22px;top:25px;font-size:0}.sidebar-bottom button{font-size:11px}.admin-main{margin:0;width:100%;padding:0 22px}.topbar{height:55px;font-size:10px}.page-heading{margin:26px 0 22px;align-items:flex-start}.page-heading h1{font-size:27px}.page-heading>.button{font-size:11px;padding:10px 12px}.stats{grid-template-columns:1fr 1fr}.stats strong{font-size:34px}.filters,.employee-form{padding:20px;gap:12px}.filters button{width:100%}.panel-heading{padding:20px}.page-footer{flex-direction:column}.section-caption{align-items:flex-start;flex-direction:column;gap:5px}.person{padding:20px}.login-shell{grid-template-columns:1fr}.login-story{min-height:300px;padding:30px}.login-story h1{font-size:36px;margin:18px 0}.login-story>div{margin-top:25px}.login-story .eyebrow{font-size:9px}.login-story p:not(.eyebrow),.login-story>small{display:none}.login-form{padding:35px 30px}.person-head h3{font-size:14px}.binding-notice code{font-size:21px}.person-head{gap:10px}}@media(max-width:360px){.mobile-shell{padding:20px 16px}.punch-button{padding:18px}.clock-card time{font-size:46px}.mobile-shell h1{font-size:26px}}
.store-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--green);padding:11px 13px;border:1px solid var(--line);border-radius:8px;margin:-14px 0 26px;background:#eef1e6}.store-badge>span:last-child{margin-left:auto;font-size:9px;color:var(--muted)}

.password-panel{max-width:620px;padding:28px}.password-panel label{margin-bottom:20px}.password-panel .button{margin-top:8px}@media(max-width:800px){.sidebar nav{flex-wrap:wrap}}
