@charset "UTF-8";
/* The driver's own screen: made for a phone held in one hand. Nothing a driver reads is below 11px. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#243b31;background:#f5f6f2;font-synthesis:none;--green:#255b49;--green-dark:#183d35;--muted:#5f6d62;--line:#dce3dc;--soft:#eef4ea;--shadow:0 4px 18px #17352b0d}
*{box-sizing:border-box}
body{margin:0;font-size:14px;line-height:1.65}
a{color:var(--green);text-decoration:none}
button,input,select,textarea{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.6}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #347aaf;outline-offset:3px}
h1,h2,h3,p{margin-top:0}
small{font-size:11px}
.site-header{height:56px;background:var(--green-dark);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 max(16px,calc((100vw - 720px)/2))}
.brand{color:#fff;display:flex;align-items:baseline;gap:10px}
.brand span{font-size:22px;letter-spacing:.12em;font-weight:600}
.brand small{font-size:11px;letter-spacing:.2em;opacity:.85}
.who{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:50vw}
.page-title{background:var(--soft);border-bottom:1px solid var(--line);padding:14px max(16px,calc((100vw - 720px)/2))}
.page-title h1{font-size:19px;margin:0}
main{max-width:752px;margin:auto;padding:16px 16px 20px;min-height:55vh}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:16px;box-shadow:var(--shadow)}
.panel h2{font-size:16px;margin-bottom:10px}
.panel.list{padding:0 16px}
.note{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0}
.note.center{text-align:center}
.empty{background:#fbfcf9;border:1px dashed #cfd9cf;border-radius:12px;text-align:center;color:var(--muted);padding:22px 16px;margin:0 0 14px;font-size:13px}
.empty p{margin:0}
.loading{padding:50px 20px;text-align:center;color:var(--muted)}
.tag{display:inline-block;font-size:11px;font-weight:600;line-height:1.4;padding:3px 8px;border-radius:5px;background:#eef2eb;color:#4c6351;white-space:nowrap;margin-left:8px}
.tag.ok{background:#dcebdc;color:#23513f}
.tag.waiting{background:#faf0dc;color:#7a5f22}
.tag.off{background:#f0f1f0;color:#5c645d}
.tag.today{background:var(--green);color:#fff}
.day{border-top:1px solid var(--line);padding:12px 0 4px}
.day:first-of-type{border-top:0}
.day h3{font-size:13px;color:var(--muted);margin:0 0 6px;font-weight:600}
.shift{padding:6px 0 10px}
.shift strong{font-size:19px;font-variant-numeric:tabular-nums}
.shift p{margin:4px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
label{display:flex;flex-direction:column;font-size:12px;font-weight:600;gap:6px;margin-bottom:14px}
input{width:100%;min-width:0;min-height:44px;border:1px solid #c5d0c7;background:#fff;color:#243b31;border-radius:8px;padding:9px 11px;font-size:16px;line-height:1.5}
.pair{display:flex;gap:12px}
.pair>*{flex:1;min-width:0}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border-radius:8px;border:1px solid transparent;font-weight:700;font-size:14px}
.primary{background:var(--green);color:#fff;width:100%}
.primary:hover{background:var(--green-dark)}
.secondary{color:var(--green);background:#fff;border-color:#b9cabb}
.link-button{border:0;background:none;color:#a4503f;padding:8px 0 0;font-size:12px;text-decoration:underline;min-height:36px}
.form-error{font-size:12px;color:#a5372a;white-space:pre-line;margin-bottom:10px}
.form-error:empty{display:none}
.month-pick{display:flex;gap:10px;align-items:flex-end;padding:14px}
.month-pick label{flex:1;margin:0}
.money{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.money>div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.money>div:first-child{grid-column:1/-1;background:var(--soft)}
.money span{display:block;font-size:11px;color:var(--muted)}
.money strong{display:block;font-size:22px;line-height:1.5;font-variant-numeric:tabular-nums}
.money>div:first-child strong{font-size:28px}
.money small{color:var(--muted)}
.money .due strong{color:#8a5a12}
.stint,.statement-link{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);color:inherit}
.stint:last-child,.statement-link:last-child{border-bottom:0}
.stint strong,.statement-link strong{display:block;font-variant-numeric:tabular-nums}
.stint small,.statement-link small{display:block;color:var(--muted)}
.amount{text-align:right;white-space:nowrap}
.amount .tag{margin:4px 0 0}
.amount a{display:block;font-size:12px;margin-top:2px}
.back{display:inline-block;margin:0 0 12px;font-size:13px;color:var(--muted)}
.statement h2{text-align:center;font-size:19px;letter-spacing:.2em;margin-bottom:2px}
.statement .number{text-align:center;color:var(--muted);font-size:12px;margin-bottom:14px}
.statement dl{margin:0 0 14px}
.statement dl>div{display:grid;grid-template-columns:108px 1fr;border-bottom:1px solid var(--line);padding:8px 0}
.statement dt{font-size:12px;color:var(--muted)}
.statement dd{margin:0;overflow-wrap:anywhere}
.statement dd small{display:block;color:var(--muted)}
.statement table{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:12px}
.statement th{font-size:11px;color:var(--muted);font-weight:500;text-align:left;border-bottom:1px solid var(--line);padding:6px 4px}
.statement td{padding:8px 4px;border-bottom:1px solid #edf0eb;font-variant-numeric:tabular-nums}
.statement .num,.statement th:nth-child(n+2){text-align:right;white-space:nowrap}
.total{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--soft);border-radius:8px;padding:12px 14px}
.total span{font-size:12px}
.total strong{font-size:24px;font-variant-numeric:tabular-nums}
.tax{text-align:right;font-size:12px;color:var(--muted);margin:6px 2px 0}
.pdf-open{width:100%;margin-top:14px}
.confirm-text{font-size:15px;font-weight:600;margin:4px 0 12px}
/* A statement that counts as confirmed without a signature: the driver's consent to that, and where such a statement stands. */
.consent{border-color:#b9cabb}
.consent>p{font-size:13px}
.terms{background:var(--soft);border-radius:8px;padding:12px 14px;font-size:14px;font-weight:600;line-height:1.8}
.notice-state .secondary{width:100%}
.notice-state .alert{margin-bottom:12px}
.alert{border-radius:10px;padding:13px 15px;margin-bottom:16px;font-size:13px}
.alert.ok{background:#e6f1e4;color:#23513f;border:1px solid #c9dfc7}
.alert.off{background:#f3f3f1;color:#555e57;border:1px solid #dcdfda}
.panel.error{border-color:#e5b9b0}
.panel.error h2{color:#a5372a}
/* 「お知らせ」: what the office tells the driver, where each notice stands, and the buttons of an answer (noticesView, noticeView). */
.tag.due{background:#fbe5e1;color:#9c3a2c}
.alert.due{background:#fdf1dc;color:#6f551c;border:1px solid #ecd9ae;font-weight:600}
.notice-link{display:block;padding:13px 0;border-bottom:1px solid var(--line);color:inherit}
.notice-link:last-child{border-bottom:0}
.notice-link strong{display:block;overflow-wrap:anywhere}
.notice-link small{display:block;color:var(--muted)}
.marks{margin-top:6px}
.marks .tag{margin:0 6px 0 0}
.pager{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 16px;font-size:12px;color:var(--muted)}
.pager .secondary{min-height:40px;padding:8px 14px;font-size:13px}
.notice h2{font-size:18px;overflow-wrap:anywhere;margin-bottom:4px}
.sent{font-size:12px;color:var(--muted);margin-bottom:12px}
.notice-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}
.choices{display:flex;flex-direction:column;gap:12px}
.choices .primary,.choices .secondary{width:100%;min-height:54px;font-size:16px}
.answered{border-color:#c9dfc7}
.given{font-size:22px;font-weight:700;color:var(--green);margin:0 0 4px}
.bottom-nav>a{position:relative}
.count{position:absolute;top:0;left:50%;margin-left:8px;min-width:18px;padding:0 5px;border-radius:9px;background:#b8402f;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.login{max-width:470px;padding-top:56px}
.brand-big{font-size:34px;letter-spacing:.14em;font-weight:600;color:var(--green);text-align:center;margin-bottom:26px}
.brand-big small{display:block;font-size:11px;letter-spacing:.3em}
.login h1{font-size:18px}
.login .panel>p{font-size:12px;color:var(--muted)}
.portal-footer{max-width:720px;margin:0 auto 92px;padding:14px 16px 22px;display:flex;justify-content:center;gap:22px;border-top:1px solid var(--line)}
.portal-footer a,.portal-footer button{border:0;background:transparent;color:var(--muted);font-size:12px;padding:9px 6px;min-height:40px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fffffff5;border-top:1px solid var(--line);padding:6px 10px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(8px);z-index:10}
.bottom-nav>a{display:flex;flex-direction:column;align-items:center;width:min(33%,200px);color:#5f6d62;font-size:11px;gap:1px}
.bottom-nav>a>span{font-size:21px;line-height:1.25;height:27px}
.bottom-nav>a[aria-current]{color:var(--green);font-weight:700}
.toast{position:fixed;bottom:92px;left:50%;transform:translateX(-50%);padding:12px 18px;max-width:calc(100% - 32px);width:max-content;background:#1f3a31ee;color:#fff;border-radius:9px;z-index:30;font-size:13px}
.toast[hidden]{display:none}
.skip-link{position:fixed;top:-100px;left:10px;background:#fff;padding:8px 12px;z-index:40}
.skip-link:focus{top:8px}
@media(min-width:680px){.money{grid-template-columns:1.4fr 1fr 1fr}.money>div:first-child{grid-column:auto}.panel{padding:22px}.panel.list{padding:2px 22px}}
@media(max-width:360px){main{padding:12px}.panel{padding:14px}.panel.list{padding:0 12px}.statement dl>div{grid-template-columns:92px 1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* The first sign-in with a passcode, under the sign-in form: closed until somebody opens it. */
.first-login{margin-top:18px;border-top:1px solid var(--line,#e3dcdc);padding-top:12px}.first-login summary{cursor:pointer;font-weight:600;padding:6px 0}.first-login p{font-size:13px;margin:6px 0 10px}

/* The registration of the device at hand, in the settings (only where registered devices are required). */
.device-panel dl{margin:0 0 10px}.device-panel dl>div{display:grid;grid-template-columns:108px 1fr;border-bottom:1px solid var(--line);padding:8px 0}.device-panel dt{font-size:12px;color:var(--muted)}.device-panel dd{margin:0;overflow-wrap:anywhere}

/* 通知 (push), in the settings under the device's registration: only where the page was handed out with it (app.mjs pushSettingsView). */
.push-panel .secondary{width:100%}.push-panel .primary,.push-panel .secondary{min-height:48px;margin-top:6px}
.push-state{font-size:14px;font-weight:700;margin:10px 0}.push-state.push-ok{color:#23513f}.push-state.push-warning{color:#9c3a2c}
.push-said{font-size:13px;color:#9c3a2c;background:#fbe5e1;border:1px solid #ecc5bd;border-radius:8px;padding:9px 12px;margin:10px 0}
.push-hint{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f1f4ee;border:1px solid var(--line);border-radius:10px;color:#4c6351;font-size:13px;padding:11px 14px;margin-bottom:14px}
.push-hint b{white-space:nowrap;font-weight:700;color:var(--green)}.push-hint.push-warning{background:#fdf1dc;border-color:#ecd9ae;color:#6f551c}
