@charset "UTF-8";
:root{--ink:#183f39;--text:#263c37;--muted:#6f807a;--line:#dfe7e1;--paper:#fff;--bg:#f4f6f1;--green:#174e43;--soft:#e9f0e8;--orange:#b76d36;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}button,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #bb9657}a{color:inherit}button{border:0}[hidden]{display:none!important}.app-shell{max-width:730px;margin:0 auto;padding:0 38px}.app-header{height:112px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:1.6px}.brand-mark{display:grid;place-items:center;background:var(--green);width:40px;height:40px;border-radius:13px}.brand-mark svg{width:23px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.brand-sub{display:block;letter-spacing:.08em;font-size:9px;font-weight:400;margin-top:4px;color:var(--muted)}.header-person{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600}.person-sub{display:block;font-size:10px;font-weight:400;margin-top:3px;color:var(--muted)}.avatar{width:33px;height:33px;display:grid;place-items:center;border:1px solid #d4ded4;border-radius:50%;font-size:12px;background:#eaf0e5}main{padding:40px 0 15px;min-height:580px}.section-eyebrow{color:#738a77;font-size:10px;letter-spacing:2px;font-weight:600;margin-bottom:12px}h1{font-size:30px;line-height:1.5;letter-spacing:.02em;color:var(--ink);margin:0 0 26px;font-weight:650}h2{font-size:17px;font-weight:600;margin:0 0 20px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.page-heading h1{margin-bottom:0}.quiet-button{font-size:11px;color:var(--muted);background:transparent;padding:9px 0 9px 12px}.quiet-button:hover{color:var(--green)}.clock-card{border:1px solid #dbe4d8;border-radius:var(--radius);padding:26px 28px 0;background:linear-gradient(135deg,#fff 0%,#f0f5e9 100%);box-shadow:0 8px 22px #334d3610}.clock-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.status-pill{display:inline-flex;align-items:center;white-space:nowrap;gap:6px;padding:6px 12px;border-radius:20px;font-size:11px;background:#e4e8e2;color:#65716c}.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.working{background:#dcebdd;color:#24583b}.status-pill.break{background:#f2e3cd;color:#956028}.clock{font-size:82px;line-height:1.25;font-weight:450;letter-spacing:-3px;color:var(--ink);font-variant-numeric:tabular-nums;text-align:center;margin:21px 0 0}.clock span{font-size:38px;letter-spacing:-1px;color:#839481;margin-left:3px}.clock-note{text-align:center;font-size:10px;letter-spacing:.03em;color:#899382;margin-bottom:26px}.clock-note span{padding:0 7px}.today-work{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dce5d4;padding:17px 0;font-size:11px;gap:15px}.today-work strong{font-size:19px;font-weight:600;white-space:nowrap}.punch-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:22px}.punch{min-height:144px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid #d2ddd2;border-radius:18px;background:white;color:var(--green);transition:background .15s,transform .15s,box-shadow .15s}.punch svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;margin-bottom:9px}.punch span{font-size:23px;font-weight:600;letter-spacing:2px}.punch small{font-size:10px;margin-top:5px;color:inherit;opacity:.65;letter-spacing:.03em}.punch:not(:disabled):hover{box-shadow:0 5px 16px #143c3a17;transform:translateY(-2px);background:#f0f5ee}.punch.punch-in:not(:disabled){color:#fff;background:var(--green);border-color:var(--green)}.punch.punch-in:not(:disabled):hover{background:#226251}.punch:disabled{background:#eff2ec;border-color:#e1e7dd;color:#a3afa4}.recent-line{font-size:10px;line-height:1.8;text-align:center;color:var(--muted);margin:16px 0 25px;overflow-wrap:anywhere}.calendar-link{display:flex;width:100%;align-items:center;gap:14px;text-align:left;background:#fff;border:1px solid var(--line);padding:20px 22px;border-radius:16px;color:var(--green)}.calendar-link>span:nth-child(2){flex:1}.calendar-link strong{font-size:14px;font-weight:600}.calendar-link small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.calendar-icon{font-size:31px;font-weight:400}.calendar-link:hover{border-color:#a0b7a3}.period-foot{text-align:center;font-size:10px;color:var(--muted);line-height:1.8;margin:18px 0 0}.app-footer{padding:24px 0 30px;margin-top:18px;border-top:1px solid var(--line);text-align:center;font-size:9px;color:#89938a;line-height:1.7}.app-footer p{margin:7px 0}.app-footer p>span{padding:0 7px}.app-footer .fraud-notice{color:#846c4a;font-size:12px;font-weight:500}.fraud-notice>span{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #aa9472;border-radius:50%;font-size:10px;padding:0!important;margin-right:5px}.login-view{padding:12px 20px 24px;max-width:460px;margin:auto}.login-view h1{font-size:24px;line-height:1.4;letter-spacing:0;font-weight:600;margin-bottom:24px}.muted{color:var(--muted);font-size:13px;line-height:1.9}.login-form{margin-top:0}.login-form>label:first-child{margin-top:0}#login-button{justify-content:center}label{display:block;font-size:12px;font-weight:600;margin:18px 0 10px}input,textarea{width:100%;min-width:0;border:1px solid #cfdacd;border-radius:10px;background:#fff;color:var(--text);padding:13px 12px;font-size:14px}input[type=month]{font-size:13px;background:transparent;padding:5px 8px;width:auto;border-radius:7px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex:none}.password-wrap{position:relative}.password-wrap input{padding-right:65px}.text-button{position:absolute;right:8px;top:8px;color:var(--muted);font-size:11px;background:transparent;padding:9px}.primary-button{background:var(--green);color:white;display:flex;justify-content:space-between;align-items:center;width:100%;padding:17px 20px;border-radius:11px;font-size:14px;margin-top:19px}.primary-button:hover{background:#24614e}.primary-button:disabled{opacity:.55}.field-note{font-size:10px;line-height:1.8;color:var(--muted)}.login-form .field-note{margin-top:15px;text-align:center}.notice{font-size:12px;line-height:1.8;color:#86602d;background:#f6eddd;border:1px solid #eaddc5;border-radius:10px;padding:12px 15px;margin:0 0 20px}.message{position:sticky;bottom:16px;border:1px solid #b6d1b9;background:#eff8ed;box-shadow:0 4px 20px #0001;color:#28513b;font-size:13px;line-height:1.8;border-radius:11px;padding:15px 18px;margin-top:25px;z-index:3}.message.error{background:#fff0eb;color:#9e3f28;border-color:#e7c5b9}.loading-view{text-align:center;padding:100px 0;color:var(--muted);font-size:13px}.back-button{background:none;padding:0 0 14px;color:var(--muted);font-size:12px}.period-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 20px}.square-button{background:#fff;border:1px solid var(--line);border-radius:11px;width:38px;height:38px;color:var(--green);flex:none}.period-title{text-align:center}.period-title label{font-size:19px;margin:0 0 7px;line-height:1.6}.period-title p{font-size:11px;margin:9px 0 0;color:var(--muted)}.summary-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:12px}.summary-grid>div{background:white;border:1px solid var(--line);border-radius:16px;padding:20px}.summary-grid span{font-size:11px;color:var(--muted);display:block}.summary-grid strong{display:block;font-size:24px;color:var(--ink);font-weight:600;margin:11px 0}.summary-grid small{display:block;font-size:9px;color:var(--muted)}.calendar-legend{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted);margin:24px 0 13px;flex-wrap:wrap}.calendar-legend>span:last-child{margin-left:auto}.legend-dot{display:inline-block;background:#dcebdc;width:7px;height:7px;border-radius:50%;margin-left:8px}.legend-dot:first-child{margin-left:0}.legend-dot.pending{background:#d3a35c}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;font-size:11px;padding:8px 0;color:var(--muted)}.weekday.sunday{color:#b67d70}.weekday.saturday{color:#7389a0}.calendar-day{position:relative;min-height:83px;padding:8px 4px 6px;border:1px solid #e1e7df;border-radius:10px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--text)}.calendar-day .day-number{font-size:12px;white-space:nowrap}.calendar-day .day-hours{font-size:12px;font-weight:650;color:var(--green);font-variant-numeric:tabular-nums}.calendar-day .day-label{font-size:8px;color:#6b886e}.calendar-day.has-work{background:#edf4e9;border-color:#d8e6d2}.calendar-day.today .day-number{font-weight:700;text-decoration:underline;text-underline-offset:3px}.calendar-day.selected{border:2px solid var(--green);padding:7px 3px 5px}.pending-mark{font-size:8px;color:#a67437}.day-detail{background:white;border:1px solid var(--line);border-radius:17px;padding:24px;margin-top:24px;scroll-margin-top:20px}.shift-card+.shift-card{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.shift-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px}.shift-card-top strong{font-weight:600}.punch-list{display:grid;grid-template-columns:85px 1fr;gap:10px;font-size:12px;line-height:1.8;margin:18px 0}.punch-list dt{color:var(--muted)}.punch-list dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.secondary-button{background:#edf2e9;color:var(--green);border:1px solid #d7e2d2;border-radius:9px;padding:11px 14px;font-size:11px}.secondary-button:hover{background:#e1ecdd}.request-history{border-top:1px solid var(--line);margin-top:26px;padding-top:19px}.request-history summary{cursor:pointer;font-size:12px;color:var(--green)}.request-history summary span{color:var(--muted);float:right}.history-card{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;margin:15px 0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.request-status{white-space:nowrap;font-size:10px;border-radius:15px;padding:3px 10px;background:#eceddc;color:#7a6a31}.request-status.approved{background:#e4efe0;color:#456a3f}.request-status.rejected{background:#f7e7df;color:#97593c}.correction-date-label{font-size:14px;font-weight:600;margin:25px 0 5px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.break-fields{margin:24px 0 22px;border:1px solid var(--line);border-radius:12px;padding:16px}.break-fields legend{font-size:12px;padding:0 6px}.break-fields .field-note{margin:0 0 10px}.break-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:18px}.break-row label{font-size:10px;margin-top:7px}.break-row input{font-size:12px;padding:10px 7px}.remove-break{justify-self:end;grid-column:2;font-size:10px;padding:4px 0;background:transparent;color:#977c65}.required{font-size:9px;color:#a66c40;margin-left:7px}.check-label{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.8;font-weight:400;margin-top:23px}.check-label input{margin:2px 0 0}#correction-view>.section-eyebrow{margin-top:16px}#correction-view h1{margin-bottom:16px}#correction-view>.muted{margin-bottom:25px}textarea{resize:vertical}
@media(min-width:1000px){.app-shell{max-width:760px;padding:0 46px}.app-header{height:120px}main{padding-top:44px}.clock-card{padding:28px 34px 0}.punch{min-height:146px}}
@media(max-width:560px){.app-shell{padding:0 22px}.app-header{height:86px}.brand{font-size:10px;letter-spacing:1px}.brand-mark{width:33px;height:33px;border-radius:11px}.brand-sub{font-size:8px}.header-person{font-size:12px;gap:7px}.avatar{width:29px;height:29px}.person-sub{font-size:8px}main{padding:29px 0 10px;min-height:560px}h1{font-size:25px}.section-eyebrow{font-size:9px;margin-bottom:9px}.page-heading{margin-bottom:20px}.clock-card{padding:21px 20px 0;border-radius:19px}.clock-top{font-size:10px}.status-pill{font-size:10px;padding:5px 10px}.clock{font-size:70px;margin-top:24px}.clock span{font-size:29px}.clock-note{font-size:9px;margin-bottom:23px}.today-work{padding:16px 0;font-size:10px}.today-work strong{font-size:17px}.punch-grid{gap:11px;margin-top:18px}.punch{min-height:132px;border-radius:16px}.punch span{font-size:22px}.punch small{font-size:9px}.calendar-link{padding:18px 17px;gap:10px}.calendar-link small{font-size:9px}.period-foot{font-size:9px}.app-footer{margin-top:15px;padding:21px 0 25px}.login-view{padding:12px 5px 24px}.login-view h1{font-size:22px}.calendar-day{min-height:77px;border-radius:8px;gap:4px;padding:7px 2px}.calendar-day.selected{padding:6px 1px}.calendar-grid{gap:3px}.calendar-day .day-number{font-size:11px}.calendar-day .day-hours{font-size:11px}.calendar-day .day-label,.pending-mark{font-size:7px}.summary-grid>div{padding:17px 14px}.summary-grid strong{font-size:21px}.summary-grid small{font-size:8px}.calendar-legend{font-size:8px}.calendar-legend>span:last-child{width:100%;margin-top:5px;text-align:right}.day-detail{padding:20px 16px}.punch-list{grid-template-columns:65px 1fr;font-size:11px}.form-row{grid-template-columns:1fr;gap:0}.break-row{grid-template-columns:1fr}.remove-break{grid-column:1}.break-row input{font-size:14px}.break-fields{padding:13px}.period-title p{font-size:9px}.period-title label{font-size:18px}.quiet-button{font-size:10px}}
.preview-login-button{display:block;background:transparent;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:9px 0 0}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.auth-view{max-width:580px;margin:25px auto 45px}.auth-view h1{font-size:30px}.auth-view input{width:100%;box-sizing:border-box}.auth-view label{display:block;margin:23px 0 9px;font-weight:600}.auth-view .primary-button{margin-top:28px}.auth-link{position:static;display:inline-block;margin-top:20px}.login-form>input{margin-bottom:4px}.header-person{max-width:50%}#header-name{display:block;overflow-wrap:anywhere}.person-sub{overflow-wrap:anywhere}@media(max-width:500px){.auth-view .page-heading{gap:8px}.auth-view h1{font-size:25px}.header-person{font-size:12px}}

.account-section:not([hidden])+.account-section{border-top:1px solid var(--line);margin-top:36px;padding-top:28px}.account-section h2{margin-bottom:12px}.account-section .muted{font-size:12px;margin-bottom:18px}

/* 選択済みの勤務日は固定し、日を跨ぐ勤務だけ日付を入力する。 */
#correction-view .correction-date-label{margin-top:22px;font-size:16px}
.correction-options{display:flex;flex-wrap:wrap;gap:10px 24px;margin:20px 0 4px}
.correction-options .check-label{margin:0;align-items:center;font-size:12px}
#correction-view .form-row,#correction-view .break-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#correction-view input[type=time]{font-size:16px;font-variant-numeric:tabular-nums;padding:12px 10px}
#correction-view .correction-date-field label{font-size:11px;margin:10px 0 7px}
#correction-view .correction-date-field input{font-size:14px;padding:10px 7px}
#correction-view .remove-break{grid-column:1/-1;padding:8px 4px}
.correction-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px}
.correction-totals span{display:block;color:var(--muted);font-size:11px}
.correction-totals strong{display:block;font-size:21px;font-weight:600;color:var(--ink);margin-top:9px}
.correction-error{background:#fff0eb;border-color:#e7c5b9;color:#9e3f28}
#correction-view [aria-invalid=true]{border-color:#b75237}
@media(max-width:560px){.correction-totals strong{font-size:19px}#correction-view .correction-date-label{font-size:15px}}

/* 実働に含まれる残業を日別・勤務月別に表示 */
.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-grid strong{font-size:21px}.overtime-work{padding-top:0;border-top:0}.overtime-work strong{font-size:17px}.calendar-day .day-overtime{font-size:8px;color:#96602b;white-space:nowrap}.daily-total{font-size:12px;line-height:1.8;color:var(--green);margin-bottom:20px}@media(max-width:560px){.summary-grid{grid-template-columns:1fr 1fr}.summary-grid>div:last-child{grid-column:1/-1}.summary-grid strong{font-size:19px}.calendar-day .day-overtime{font-size:7px}.overtime-work strong{font-size:15px}}
