:root{font-family:system-ui,"Noto Sans JP",sans-serif;color:#172f3c;background:#f1f5f6;font-size:16px;--accent:#086d79}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:720px;margin:auto}header{padding:28px 20px 18px;background:#123e4b;color:white;border-radius:0 0 24px 24px}.brand{font-size:.8rem;letter-spacing:.12em;color:#b9dade}h1{margin:9px 0;font-size:1.65rem}#identity{margin:0;font-weight:650}main{padding:20px 16px 70px}nav{display:flex;gap:8px;margin:0 0 22px}button,input,textarea,select{font:inherit}button{cursor:pointer;min-height:48px;border:1px solid #b8cdd1;border-radius:12px;background:white;color:#173e49;padding:12px 16px;font-weight:650}nav button{flex:1;font-size:.86rem;padding:10px 4px}nav button[aria-current=true]{background:var(--accent);color:white;border-color:var(--accent)}button:disabled{opacity:.5;cursor:wait}form{background:white;border-radius:20px;padding:22px 18px;box-shadow:0 4px 22px #193e4910}.field{margin-bottom:24px}.field>label,.field>legend{display:block;font-weight:650;margin:0 0 9px}input:not([type=checkbox]):not([type=radio]),textarea,select{width:100%;min-height:48px;border:1px solid #b9cbd0;border-radius:10px;padding:12px;background:white;color:#152f39}textarea{min-height:140px;resize:vertical}.choices{display:flex;gap:8px;flex-wrap:wrap}.choice{display:flex;align-items:center;gap:8px;border:1px solid #c5d5d9;border-radius:10px;min-height:48px;padding:10px 14px}.choice:has(input:checked){background:#e0f2f1;border-color:var(--accent)}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--accent)}.hint{color:#526a75;font-size:.86rem;line-height:1.65;margin:8px 0}.lookup-row{display:flex;gap:8px}.lookup-row input{flex:1;min-width:0}.lookup-results{display:grid;gap:6px;margin-top:8px}.lookup-results button{text-align:left;font-weight:400;overflow-wrap:anywhere}.picked{font-size:.86rem;color:#086d79;margin:8px 0}.actions{position:sticky;bottom:0;background:white;padding:14px 0 max(4px,env(safe-area-inset-bottom))}#submit{width:100%;background:var(--accent);color:white;border-color:var(--accent);min-height:54px}#notice:not(:empty){padding:14px 16px;border-radius:12px;background:#fff4d8;line-height:1.7}#result{background:#dff3ee;border-radius:18px;padding:24px;line-height:1.8}footer{font-size:.78rem;color:#526a75;text-align:center;padding:0 16px 25px}fieldset{border:0;padding:0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #36aebd;outline-offset:2px}@media(max-width:380px){main{padding:14px 10px 60px}form{padding:18px 12px}}
:root{color-scheme:light}details{border-top:1px solid #dbe5e8;margin:18px 0}summary{cursor:pointer;min-height:54px;padding:16px 0;color:#245562;font-weight:650}details[open]>summary{margin-bottom:12px}
.location-choice{display:flex;gap:10px;align-items:center;font-weight:650}.punch-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.punch-button{min-height:94px;font-size:1.4rem;background:#086d79;color:white;border:0}.punch-button[data-punch="退勤"]{background:#2f577f}.punch-button[data-punch="外出"],.punch-button[data-punch="再入"]{background:#e6f0f2;color:#173e49}.punch-button[data-punch="日替退"]{grid-column:1/-1;min-height:58px;font-size:1rem;background:#fff3dc;color:#77500c}.punch-form .actions:has(button[hidden]){display:none}
.history-card{padding:14px 16px;border:1px solid #dce4e8;border-radius:12px;margin:10px 0;background:white}.history-card p{margin:6px 0}.legacy-link{display:block;padding:14px;margin:12px 0;border:1px solid #c9d8df;border-radius:12px;text-align:center;color:#174e63}#punch-history{margin-top:24px}#punch-history>button{width:100%;min-height:48px}
/* Visual refresh: shared forms and mobile punch cards. */
:root{--accent:#087f82;--ink:#183840;--muted:#647c82;background:#f1f5f5;color:var(--ink)}body{background:radial-gradient(ellipse at 100% 0,#dbecec66,transparent 45%),#f1f5f5}header{position:relative;overflow:hidden;padding:30px 24px 24px;background:linear-gradient(125deg,#123942,#0b6266);border-radius:0 0 30px 30px;box-shadow:0 12px 28px #0f4d521a}header:after{content:"";position:absolute;width:210px;height:210px;right:-80px;top:-65px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 35px #ffffff04,0 0 0 70px #ffffff04;pointer-events:none}.brand{display:block;font-size:.76rem;font-weight:650;letter-spacing:.18em;color:#b7dadb}h1{font-size:1.9rem;letter-spacing:.015em;margin:12px 0 5px}.page-description{font-size:.83rem;color:#bfdddf;margin:0 0 18px}#identity{display:inline-flex;align-items:center;gap:9px;background:#ffffff13;border:1px solid #ffffff21;padding:8px 13px;border-radius:100px;font-size:.87rem;max-width:100%;overflow-wrap:anywhere}#identity:before{content:"";width:8px;height:8px;border-radius:50%;background:#94dfcb;flex-shrink:0}main{padding-top:22px}nav{gap:4px;background:#e2ebec;padding:5px;border:1px solid #d8e3e5;border-radius:16px}nav button{border:0;background:transparent;color:#577178;border-radius:12px;min-height:46px}nav button[aria-current=true]{background:white;color:#0e7275;box-shadow:0 3px 9px #23475112}button{transition:background .15s,box-shadow .15s,transform .15s;border-color:#d3e1e3;border-radius:13px}button:active:not(:disabled){transform:translateY(1px)}form{border:1px solid #e4eded;border-radius:24px;padding:24px 20px;box-shadow:0 8px 24px #1b4f5407}.field>label,legend{font-size:.9rem}.field:last-child{margin-bottom:0}input:not([type=checkbox]):not([type=radio]),textarea,select{border-color:#d4e2e5;border-radius:12px;background:#f9fbfc;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{background:white;border-color:#249b9c;box-shadow:0 0 0 3px #087f8210}.choice{border-color:#dbe7e8;background:#f9fbfb;font-size:.88rem;border-radius:12px}.choice:has(input:checked){background:#e8f6f3;border-color:#74b9b3;color:#076a6b}.hint{font-size:.78rem;line-height:1.75;color:var(--muted)}details{border:1px solid #dce8e9;border-radius:16px;padding:0 14px;background:#f8fbfb}summary{font-size:.87rem;color:#315d63}#submit{border:0;border-radius:14px;background:linear-gradient(110deg,#0b757a,#06988e);box-shadow:0 5px 14px #087f8222}#notice:not(:empty){font-size:.88rem;background:#fff6e5;border:1px solid #f4e5c8;border-radius:15px}#result{background:#eef9f5;border:1px solid #c9e6db;border-radius:24px}#result h2{color:#116c60}#result>button{width:100%}footer{font-size:.73rem;color:#758b90}
.location-choice{font-size:.86rem;color:#335a61;gap:10px}.location-choice input{width:19px;height:19px}.punch-grid{gap:12px;margin-top:20px}.punch-button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:18px;padding:21px 19px;min-height:158px;border:1px solid #dbe8e8;border-radius:19px;background:white;color:#1b535b;box-shadow:0 4px 11px #315b6105;font-size:1rem}.punch-button[data-punch="出勤"]{background:linear-gradient(145deg,#078386,#00696e);color:white;border-color:transparent;box-shadow:0 6px 15px #087f8224}.punch-button[data-punch="退勤"]{background:linear-gradient(145deg,#294f61,#183c4e);color:white;border-color:transparent;box-shadow:0 6px 15px #294f611c}.punch-button[data-punch="外出"],.punch-button[data-punch="再入"]{background:#f5f9f9;color:#315a60}.punch-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#ffffff1c;color:inherit}.punch-button[data-punch="外出"] .punch-icon,.punch-button[data-punch="再入"] .punch-icon{background:#e4eff0}.ui-icon{display:block;width:24px;height:24px;flex-shrink:0}.punch-copy{display:flex;flex-direction:column;gap:6px}.punch-title{font-size:1.38rem;line-height:1.25;letter-spacing:.02em;font-weight:750}.punch-caption{font-size:.69rem;opacity:.78;line-height:1.4;font-weight:500}.punch-button[data-punch="日替退"]{grid-column:1/-1;flex-direction:row;align-items:center;gap:14px;min-height:77px;padding:15px 18px;background:#f7f3ec;color:#6b5c40;border-color:#ece6db;box-shadow:none}.punch-button[data-punch="日替退"] .punch-icon{background:#ede5d7}.punch-button[data-punch="日替退"] .punch-title{font-size:.94rem}.punch-button[data-punch="日替退"] .punch-caption{font-size:.68rem}.punch-form .field>.hint{margin:17px 0 0;font-size:.72rem}.history-open{display:flex;align-items:center;gap:12px;justify-content:flex-start;background:white;color:#315b63;border:1px solid #dce7e9;padding:18px;font-size:.88rem;box-shadow:0 4px 12px #315b6105}.history-arrow{margin-left:auto;color:#729198;font-size:1.25rem}#punch-history h2{font-size:1.12rem;letter-spacing:.03em;margin-bottom:16px}#history-items{display:grid;gap:10px;margin-bottom:18px}.history-card{position:relative;margin:0;padding:18px 20px;border:1px solid #e0e9eb;border-radius:18px;box-shadow:0 3px 9px #315b6104}.history-type{display:inline-block;padding:5px 12px;background:#e9f4f2;color:#0b746f;border-radius:8px;font-size:.83rem}.history-card p{font-size:.9rem;margin-top:10px}.history-card .hint{font-size:.75rem;color:#6e878d}.legacy-link{text-decoration:none;border-color:#d4e3e5;font-size:.87rem;background:white;margin-top:10px}.legacy-link:active{background:#edf5f5}
@media(min-width:600px){header{margin-top:24px;border-radius:28px}.punch-grid{gap:16px}.punch-button{min-height:169px}.punch-title{font-size:1.5rem}.punch-caption{font-size:.77rem}main{padding-left:24px;padding-right:24px}}
@media(max-width:380px){header{padding:25px 20px 22px}h1{font-size:1.7rem}form{padding:20px 15px}.punch-grid{gap:10px}.punch-button{padding:18px 14px;min-height:146px}.punch-title{font-size:1.28rem}.punch-caption{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){button,input,textarea,select{transition:none}}
@media(max-width:599px){header{padding:24px 20px 20px}h1{font-size:1.7rem;margin:10px 0 4px}.page-description{font-size:.78rem;margin-bottom:13px}#identity{padding:7px 12px;font-size:.82rem}main{padding-top:18px}nav{margin-bottom:18px}.punch-button{min-height:142px;padding:18px 16px;gap:14px}.punch-title{font-size:1.28rem}.punch-button[data-punch="外出"],.punch-button[data-punch="再入"]{min-height:118px;padding:16px;gap:12px}.punch-button[data-punch="日替退"]{min-height:70px;padding:13px 16px}.punch-form .field>.hint{margin-top:14px}}
/* Bright contemporary palette, requested 2026-10-07. */
:root{--accent:#7253cc;--ink:#30334d;--muted:#787d96;background:#f5f3fc;color:var(--ink)}body{background:radial-gradient(ellipse at 95% 0,#fae6f566,transparent 45%),radial-gradient(ellipse at 0 30%,#dff2ff88,transparent 50%),#f7f6fc}header{background:linear-gradient(120deg,#515dce 0%,#7855c8 56%,#a14c9d 100%);box-shadow:0 12px 30px #7560bd22}header:after{border-color:#ffffff24;box-shadow:0 0 0 35px #ffffff06,0 0 0 70px #ffffff04}.brand,.page-description{color:#f0ebff}#identity{background:#ffffff19;border-color:#ffffff35}#identity:before{background:#b7f2dd}nav{background:#eae7f5;border-color:#e0dcf1}nav button{color:#77748e}nav button[aria-current=true]{color:#7253cc;box-shadow:0 3px 10px #7658c818}form{border-color:#ece8f5;box-shadow:0 8px 28px #7966b90a}input:not([type=checkbox]):not([type=radio]),textarea,select{background:#faf9fd;border-color:#e2dfed;color:#37384f}input:focus,textarea:focus,select:focus{border-color:#9b83de;box-shadow:0 0 0 3px #7556cd10}.choice{background:#faf9fe;border-color:#e4e0ef}.choice:has(input:checked){background:#f0eafd;border-color:#ab92df;color:#704bc1}.hint{color:#7c8197}details{background:#f8f6fd;border-color:#e6e0f2}summary{color:#715b9c}.picked{color:#7253cc}#submit{background:linear-gradient(110deg,#6854cc,#a64caa);box-shadow:0 5px 16px #8260cf26}#result{background:#f2edff;border-color:#dfd3f6}#result h2{color:#7253cc}footer{color:#8b89a0}.location-choice{color:#64617c}.punch-button[data-punch="出勤"]{background:linear-gradient(145deg,#008977,#007793);box-shadow:0 7px 20px #00878b29}.punch-button[data-punch="退勤"]{background:linear-gradient(145deg,#7848c5,#b83e9b);box-shadow:0 7px 20px #a14cad27}.punch-button[data-punch="外出"]{background:linear-gradient(145deg,#fff3e6,#fff9f1);border-color:#fae4c9;color:#9b5a1f}.punch-button[data-punch="再入"]{background:linear-gradient(145deg,#e8f4ff,#f0f8ff);border-color:#d3e9fb;color:#286da8}.punch-button[data-punch="外出"] .punch-icon{background:#ffe5c3;color:#a96019}.punch-button[data-punch="再入"] .punch-icon{background:#d6ecff;color:#286da8}.punch-button[data-punch="日替退"]{background:linear-gradient(110deg,#f2eafa,#faf3ff);border-color:#e9dff3;color:#8561a0}.punch-button[data-punch="日替退"] .punch-icon{background:#e9dcf7}.punch-caption{opacity:1}.punch-button[data-punch="出勤"] .punch-icon,.punch-button[data-punch="退勤"] .punch-icon{background:#ffffff20}.history-open{border-color:#e6e0f1;color:#7258a1;box-shadow:0 4px 14px #7964bb09}.history-arrow{color:#a18abe}.history-card{border-color:#e8e2f2;box-shadow:0 3px 10px #7964bb07}.history-type{background:#f0e9fb;color:#7751be}.history-card .hint{color:#85819a}.legacy-link{color:#7258a1;border-color:#e1d9ee}.legacy-link:active{background:#f4edff}
/* Custom product illustrations: no remote assets or fonts. */
.punch-button[data-punch] .punch-icon{width:78px;height:68px;border-radius:0;background:transparent;flex-shrink:0}.punch-art{display:block;width:78px;height:68px;overflow:visible}.punch-button[data-punch]{min-height:170px;gap:10px}.punch-button[data-punch="外出"],.punch-button[data-punch="再入"]{min-height:160px}.punch-button[data-punch="日替退"]{min-height:84px;gap:8px}.punch-button[data-punch="日替退"] .punch-icon{width:66px;height:58px}.punch-button[data-punch="日替退"] .punch-art{width:66px;height:58px}.punch-copy{min-width:0}.punch-title{letter-spacing:.03em}.punch-caption{font-size:.71rem;line-height:1.5}.punch-button[data-punch="日替退"] .punch-caption{font-size:.69rem}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.punch-art{transition:transform .18s}.punch-button:hover:not(:disabled) .punch-art{transform:translateY(-2px) rotate(-3deg)}}
