body.duty-page{margin:0;background:#f5f8f8;color:#08333d;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px}.duty-main{width:min(1180px,calc(100% - 40px));margin:auto;padding:44px 0 64px}.duty-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0 24px}.duty-kicker{color:#11697a;font-size:12px;font-weight:750;letter-spacing:.14em}.duty-hero h1{font-size:clamp(32px,5vw,48px);line-height:1.2;margin:10px 0}.duty-hero p:not(.duty-kicker){color:#5d6f75;line-height:1.7;margin-bottom:0}.duty-privacy{padding:14px 18px;border:1px solid var(--ds-line);border-radius:12px;background:#eef7f8;color:#5d6f75;line-height:1.7;font-size:14px}.duty-storage-status{color:#875d13;font-size:14px}.duty-card{min-width:0;padding:26px;border:1px solid #dfe7e9;border-radius:18px;background:#fff;margin-top:22px}.duty-card h2{font-size:22px;line-height:1.4;margin:0 0 7px}.duty-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.duty-card-head p{font-size:14px;line-height:1.65;color:#5d6f75;margin:0 0 12px}.duty-card-head>span{white-space:nowrap;font-size:14px;color:#11697a;padding-top:5px}.duty-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:14px}.duty-check-grid fieldset{min-width:0;border:1px solid #dfe7e9;border-radius:12px;padding:12px 15px}.duty-check-grid legend{font-weight:700;color:#0c5564;padding:0 6px}.duty-check-grid label{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.65;padding:9px 0;cursor:pointer}.duty-page input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:3px 0 0;accent-color:#0d7c90}.duty-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px}.duty-task-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:10px 0 18px}.duty-task-form label,.duty-notes label,.duty-summary-dialog label{display:block;font-size:14px;color:#5d6f75;line-height:1.7}.duty-task-form label:first-child{grid-column:1/-1}.duty-task-form button{align-self:end;min-height:44px}.duty-page input:not([type=checkbox]),.duty-page textarea{display:block;width:100%;min-width:0;border:1px solid #c7d9de;border-radius:9px;padding:10px;margin-top:5px;background:#fff;font:inherit;font-size:16px;color:#08333d}.duty-page input[type=datetime-local]{max-width:100%;font-size:16px;min-height:44px}.duty-page textarea{resize:vertical;line-height:1.7}.duty-task-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.duty-task-item{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #dfe7e9;border-radius:10px}.duty-task-item label{display:flex;flex:1;min-width:0;gap:11px;cursor:pointer}.duty-task-item strong{display:block;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.duty-task-item small{display:block;color:#5d6f75;font-size:13px;line-height:1.6}.duty-task-item .time-due{color:#a65316;font-weight:600}.duty-task-item.completed strong{text-decoration:line-through;color:#6b848a}.duty-task-item button{flex:0 0 36px;min-height:36px;border:0;border-radius:8px;background:#eef7f8;color:#5d6f75;font-size:22px;cursor:pointer}.duty-empty{font-size:14px;color:#647d83;line-height:1.7}.duty-note-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.duty-note-actions .btn{min-height:44px}.duty-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:8px}.duty-link-grid a{min-width:0;padding:18px;text-decoration:none;color:#0c5564;border:1px solid #d5ecef;border-radius:12px;background:#f5f8f8}.duty-link-grid strong{display:block;font-size:17px}.duty-link-grid span{display:block;color:#5d6f75;font-size:14px;line-height:1.7;margin-top:6px}.duty-summary-dialog{width:min(740px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dfe7e9;border-radius:16px;padding:24px;box-shadow:0 20px 80px #08333d33}.duty-summary-dialog::backdrop{background:#08333d66}.duty-summary-dialog textarea{font-size:16px}.duty-summary-dialog p{font-size:14px;color:#5d6f75}.duty-print-summary{display:none}
.duty-page .btn{font-size:15px;min-height:44px;padding:10px 16px}.duty-page .btn.primary{background:#047b90;border-color:#047b90;color:#fff}.duty-page .btn.ghost{color:#0c5564;background:#fff;border-color:#dfe7e9}
@media(max-width:900px){.duty-columns{grid-template-columns:minmax(0,1fr)}.duty-check-grid{grid-template-columns:minmax(0,1fr)}.duty-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.duty-main{width:calc(100% - 24px);padding-top:22px}.duty-hero{display:block}.duty-hero>.btn{margin-top:16px}.duty-card{padding:18px}.duty-card-head{flex-wrap:wrap}.duty-card h2{font-size:20px}.duty-task-form{grid-template-columns:minmax(0,1fr)}.duty-link-grid{grid-template-columns:minmax(0,1fr)}.duty-summary-dialog{padding:18px}.duty-note-actions .btn{flex-grow:1}}
@media print{.duty-page header,.duty-main>*:not(.duty-print-summary),.duty-summary-dialog,.portal-toast{display:none!important}.duty-main{width:100%;padding:0}.duty-print-summary{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.7 sans-serif;background:#fff;color:#000}}
/* 管理员密码设置页（/admin/password，password-hash.html）；原为页内 <style>，2026-11-20 移出以便 CSP 去掉 style-src 'unsafe-inline' */
.hash-form{display:grid;gap:14px;max-width:440px}
.hash-form label{display:grid;gap:6px;font-weight:600}
.hash-form input{height:44px;border:1px solid var(--ds-line);border-radius:8px;padding:0 12px;font-size:16px}
.hash-form .btn{justify-self:start;min-height:44px;padding:0 22px}
.hash-error{color:#b42318;margin:0}
.hash-result{margin-top:22px;display:grid;gap:10px}
.hash-result[hidden]{display:none}
.hash-result textarea{width:100%;min-height:96px;font:14px/1.5 ui-monospace,Menlo,Consolas,monospace;border:1px solid var(--ds-line);border-radius:8px;padding:10px;word-break:break-all;resize:vertical}
.hash-result #copyHash{justify-self:start}
.hash-steps{margin:0;padding-left:20px;line-height:1.9}
