/* Scoped work-report controls; retain the existing attendance button layout. */
#nwWorkReportCard{box-sizing:border-box;display:block;width:100%;min-width:0;margin:10px 0 18px;padding:18px;border:1px solid #dbe5ef;border-radius:18px;background:linear-gradient(115deg,#f8fbff,#fff 70%);color:#21314b;box-shadow:0 3px 14px #173b6510;text-align:left;}
#nwWorkReportCard *{box-sizing:border-box;}
#nwWorkReportCard button,#nwWorkReportModal button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
#nwWorkReportCard .nw-report-heading{display:flex;align-items:center;gap:11px;margin-bottom:14px;}
#nwWorkReportCard .nw-report-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#e8f0ff;color:#3268be;}
#nwWorkReportCard .nw-report-icon svg{width:23px;height:23px;}
#nwWorkReportCard h2{font-size:17px;line-height:1.4;letter-spacing:-.5px;margin:0;font-weight:800;color:#20314a;}
#nwWorkReportCard .nw-report-heading p{font-size:12px;line-height:1.5;margin:3px 0 0;color:#697a91;}
#nwWorkReportCard .nw-report-heading>div{min-width:0;flex:1;}
#nwWorkReportCard .nw-report-badge{flex:none;font-size:11px;font-weight:700;padding:5px 8px;border-radius:8px;background:#eef3f8;color:#6c7e93;}
#nwWorkReportCard .nw-report-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#nwWorkReportCard .nw-report-buttons button{position:static;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:49px;padding:11px 8px;border-radius:12px;font-size:14px;line-height:1.4;font-weight:800;letter-spacing:-.35px;box-shadow:none;cursor:pointer;white-space:normal;transform:none;}
#nwWorkReportCard .nw-report-start{border:1px solid #b7d6f4;background:#eaf3ff;color:#225ca0;}
#nwWorkReportCard .nw-report-end{border:1px solid #b9ded5;background:#edf8f4;color:#216b57;}
#nwWorkReportCard .nw-report-buttons button:disabled{opacity:.55;cursor:not-allowed;}
#nwWorkReportCard .nw-report-help{margin:10px 0 0;font-size:11px;line-height:1.65;color:#718096;word-break:keep-all;}
#nwWorkReportCard .nw-report-recent{margin-top:12px;border-top:1px solid #e5ecf4;padding-top:11px;}
#nwWorkReportCard .nw-report-empty{margin:0;color:#7a879a;font-size:12px;line-height:1.6;}
#nwWorkReportCard .nw-report-empty button{background:transparent;border:0;text-decoration:underline;color:#275c9e;padding:4px;min-height:32px;}
#nwWorkReportCard .nw-report-refresh{display:block;margin:5px 0 0 auto;min-height:32px;padding:5px 2px;border:0;background:transparent;color:#70849c;font-size:11px;}
#nwWorkReportCard details{margin:0;padding:0;border:0;background:transparent;}
#nwWorkReportCard summary{font-weight:700;font-size:12px;cursor:pointer;color:#4d627e;min-height:28px;}
#nwWorkReportCard summary span{margin-left:5px;color:#8592a5;font-size:11px;}
#nwWorkReportCard ul{list-style:none;margin:8px 0 0;padding:0;}
#nwWorkReportCard li{display:flex;align-items:center;gap:12px;border-top:1px solid #edf1f6;padding:10px 0;}
#nwWorkReportCard li>div{display:flex;flex:1;flex-wrap:wrap;gap:5px 9px;min-width:0;}
#nwWorkReportCard li small{font-size:11px;color:#78879a;}
#nwWorkReportCard li span{width:100%;font-size:12px;overflow-wrap:anywhere;color:#53647a;}
#nwWorkReportCard .nw-report-kind{font-size:12px;color:#275c9e;}
#nwWorkReportCard .nw-report-kind.end{color:#26715d;}
#nwWorkReportCard li button{flex:none;position:static;min-height:36px;width:auto;border:1px solid #d6e1ee;border-radius:9px;background:#fff;padding:6px 9px;font-size:11px;font-weight:700;color:#47617e;}
#nwWorkReportModal{position:fixed!important;inset:auto!important;top:var(--nw-report-vtop,0px)!important;left:var(--nw-report-vleft,0px)!important;width:var(--nw-report-vw,100%)!important;max-width:100vw!important;height:var(--nw-report-vh,100vh)!important;max-height:100dvh!important;z-index:2147483000!important;display:flex;align-items:center;justify-content:center;padding:20px;padding-top:max(20px,var(--system-top,0px),env(safe-area-inset-top,0px));padding-bottom:max(20px,env(safe-area-inset-bottom,0px));overflow:hidden;background:rgba(17,30,50,.46);backdrop-filter:blur(3px);isolation:isolate;box-sizing:border-box;}
#nwWorkReportModal *{box-sizing:border-box;}
#nwWorkReportModal [hidden]{display:none!important;}
#nwWorkReportModal .nw-report-dialog{position:relative;display:block;width:100%;min-height:0;max-width:560px;max-height:100%;overflow:auto;overscroll-behavior:contain;scroll-padding-block:10px;background:#fff;color:#21314b;border:1px solid #dfe7f1;border-radius:22px;padding:24px;box-shadow:0 22px 65px #132c4933;text-align:left;}
#nwWorkReportModal header{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;height:auto!important;min-height:0!important;padding:0 0 20px!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;}
#nwWorkReportModal .nw-report-eyebrow{font-size:11px;font-weight:700;color:#72849c;}
#nwWorkReportModal h2{font-size:22px;line-height:1.5;margin:2px 0 0;color:#21314b;letter-spacing:-.6px;}
#nwWorkReportModal button{font:inherit;cursor:pointer;position:static;box-shadow:none;transform:none;}
#nwWorkReportModal .nw-report-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:0;border:0;border-radius:12px;background:#f0f4f9;color:#61768d;font-size:26px;font-weight:400;line-height:1;}
#nwWorkReportModal label{display:block;margin:15px 0 7px;font-size:13px;font-weight:750;color:#3d526b;}
#nwWorkReportModal input,#nwWorkReportModal textarea,#nwWorkReportModal select{display:block;width:100%;max-width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #d5dfec;border-radius:11px;background:#fff;color:#21314b;font:inherit;font-size:16px;line-height:1.65;resize:vertical;outline-offset:2px;box-shadow:none;}
#nwWorkReportModal select{padding-right:28px;}
#nwWorkReportModal textarea{max-height:var(--nw-report-editor-max-height,none);overflow-y:auto;scroll-margin-block:12px;}
#nwWorkReportModal input:disabled,#nwWorkReportModal textarea:disabled,#nwWorkReportModal select:disabled,#nwWorkReportModal input[readonly]{background:#f7f9fc;color:#5b6b81;opacity:1;}
#nwWorkReportModal .nw-report-meta{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;}
#nwWorkReportModal .nw-report-meta>div{min-width:0;}
#nwWorkReportModal .nw-report-meta label{margin-top:0;}
#nwWorkReportModal .nw-report-meta input{font-size:14px;padding:10px;}
#nwWorkReportModal #nwReportSite{margin-top:8px;}
#nwWorkReportModal .nw-report-personnel{display:block;min-width:0;margin:22px 0 0;padding:0;border:0;}
#nwWorkReportModal .nw-report-personnel legend{padding:0;font-size:13px;font-weight:750;color:#3d526b;}
#nwWorkReportModal .nw-report-personnel label small,#nwWorkReportModal .nw-report-worker-heading small{font-size:11px;font-weight:400;color:#7b8b9f;margin-left:5px;}
#nwWorkReportModal .nw-report-worker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 8px;font-size:13px;font-weight:750;color:#3d526b;}
#nwWorkReportModal .nw-report-worker-heading b{font-size:12px;color:#2c66af;}
#nwWorkReportModal .nw-report-worker-tools{display:flex;gap:8px;margin-bottom:8px;}
#nwWorkReportModal .nw-report-worker-tools button,#nwWorkReportModal .nw-report-roster-reload{width:auto;min-height:32px;padding:5px 9px;border:1px solid #dce5ef;border-radius:7px;background:#f7faff;font-size:12px;font-weight:600;color:#456789;}
#nwWorkReportModal .nw-report-worker-tools button:disabled{opacity:.5;cursor:default;}
#nwWorkReportModal .nw-report-workers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:210px;overflow:auto;overscroll-behavior:contain;border:1px solid #dce5ef;border-radius:11px;padding:8px;}
#nwWorkReportModal label.nw-report-worker{display:flex;align-items:center;gap:9px;min-width:0;min-height:48px;margin:0;padding:7px 8px;border:1px solid #e3eaf2;border-radius:8px;background:#fff;cursor:pointer;}
#nwWorkReportModal label.nw-report-worker:has(input:checked){background:#edf5ff;border-color:#94bcec;}
#nwWorkReportModal .nw-report-worker input{appearance:auto;-webkit-appearance:checkbox;display:block;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;border-radius:4px;accent-color:#2c66af;}
#nwWorkReportModal .nw-report-worker span{min-width:0;overflow-wrap:anywhere;}
#nwWorkReportModal .nw-report-worker b{display:block;font-size:13px;font-weight:700;line-height:1.5;}
#nwWorkReportModal label.nw-report-worker small{display:block;margin:2px 0 0;font-size:10px;line-height:1.4;color:#7b8b9f;}
#nwWorkReportModal .nw-report-roster-note,#nwWorkReportModal .nw-report-roster-empty{margin:8px 0 0;font-size:11px;line-height:1.6;color:#73849a;word-break:keep-all;}
#nwWorkReportModal .nw-report-roster-empty{grid-column:1/-1;margin:8px;}
#nwWorkReportModal .nw-report-form-note{font-size:12px;line-height:1.7;color:#73849a;margin:13px 0 0;word-break:keep-all;}
#nwWorkReportModal .nw-report-modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:22px;}
#nwWorkReportModal .nw-report-modal-actions button{display:block;flex:1;min-width:100px;min-height:46px;padding:11px 13px;border:1px solid #d8e1ed;border-radius:12px;background:#f5f8fc;color:#4e6480;font-size:14px;line-height:1.5;font-weight:750;white-space:normal;}
#nwWorkReportModal .nw-report-modal-actions .nw-report-primary{background:#2c66af;color:#fff;border-color:#2c66af;}
#nwWorkReportModal .nw-report-modal-actions .nw-report-kakao{background:#fee500;color:#352e1b;border-color:#ebd400;}
#nwWorkReportModal .nw-report-modal-actions button:disabled{opacity:.55;cursor:wait;}
#nwWorkReportModal .nw-report-status{margin:14px 0 0;min-height:18px;font-size:12px;line-height:1.65;color:#55718b;word-break:keep-all;}
#nwWorkReportModal .nw-report-saved{display:flex;align-items:center;gap:8px;color:#237454;font-size:14px;font-weight:750;margin:0 0 13px;}
#nwWorkReportModal .nw-report-saved span{display:grid;place-items:center;width:23px;height:23px;background:#e7f4ed;border-radius:50%;}
#nwWorkReportModal .nw-report-preview{width:100%;max-height:310px;overflow:auto;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.8;background:#f7f9fc;border:1px solid #e1e7f0;border-radius:13px;padding:16px;margin:0;color:#3c4e65;user-select:text;}
#nwWorkReportModal .is-error,#nwWorkReportCard .is-error{color:#b04443;}
#nwWorkReportCard button:focus-visible,#nwWorkReportModal button:focus-visible,#nwWorkReportModal input:focus-visible,#nwWorkReportModal select:focus-visible,#nwWorkReportModal textarea:focus-visible{outline:3px solid #81aee5;outline-offset:2px;}
@media(max-width:520px){#nwWorkReportCard{padding:14px;border-radius:15px;}#nwWorkReportCard h2{font-size:15px;}#nwWorkReportCard .nw-report-badge{display:none;}#nwWorkReportCard .nw-report-buttons{gap:8px;}#nwWorkReportCard .nw-report-buttons button{font-size:13px;gap:6px;min-height:48px;}#nwWorkReportModal{padding:12px;padding-top:max(12px,var(--system-top,0px),env(safe-area-inset-top,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px));}#nwWorkReportModal .nw-report-dialog{padding:19px;max-height:100%;border-radius:18px;}#nwWorkReportModal h2{font-size:20px;}}
@media print{#nwWorkReportCard,#nwWorkReportModal{display:none!important;}}
#nwWorkReportModal .nw-report-worker-section{grid-column:1/-1;padding:5px 2px;color:#455e7a;font-size:12px;}

