#records-table.records-summary{width:100%;min-width:850px;table-layout:fixed}#records-table.records-summary th,#records-table.records-summary td{padding:12px 16px;white-space:normal;overflow-wrap:anywhere;border-right:0;box-shadow:none;min-width:0}#records-table.records-summary th{font-size:12px;height:48px}#records-table.records-summary th:not([data-field]){cursor:default}#records-table.records-summary th:nth-child(4),#records-table.records-summary td:nth-child(4){min-width:0;width:auto}#records-table.records-summary td{height:79px;font-size:13px;position:static;line-height:1.6}#records-table.records-summary th:first-child{left:auto}#records-table .summary-record{cursor:pointer}#records-table .summary-record:focus-within td{background:#f1f8f4}#records-table .summary-record strong{font-size:14px;font-weight:500;color:#344f40}#records-table .summary-record small{display:block;color:#8b9990;font-size:11px;margin-top:5px;line-height:1.65}#records-table .summary-id{color:#397a5c;font-size:12px;font-weight:500}#records-table .summary-date{font-size:12px;color:#7b8d80}.detail-open{border:1px solid #e0e9e2;background:#f7faf8;border-radius:6px;padding:7px;color:#6b977c}.detail-open:hover{border-color:#85b397;background:#e8f3ec}.record-status{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:5px;white-space:nowrap;font-size:11px;line-height:1.5}.record-status.pending{background:#fff5e6;color:#a47d3b}.record-status.done{background:#eaf5ed;color:#4c8c61}.record-status.follow{background:#edf3fa;color:#6388b2}.record-status .dot{background:currentColor}.detail-dialog{width:1100px;max-width:95vw;max-height:92dvh;overflow:hidden}.detail-shell{display:flex;flex-direction:column;max-height:calc(92dvh - 2px)}.detail-dialog .dialog-heading{align-items:flex-start;padding:22px 28px;flex-shrink:0}.detail-dialog .dialog-heading h2{font-size:24px;margin-top:7px}.detail-dialog .eyebrow{font-size:11px;letter-spacing:1px}.detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:11px;color:#7b8d80;font-size:12px}.detail-meta>span:first-child{font-family:Inter,'Noto Sans TC',sans-serif}.detail-nav{display:flex;gap:7px;padding:12px 28px;background:#f9fbf9;border-bottom:1px solid #e5ede7;overflow-x:auto;flex-shrink:0}.detail-nav button{padding:6px 12px;border:0;background:#edf4ee;color:#5c7b65;font-size:12px}.detail-nav button:hover{background:#dfeee4;color:#2e7652}.detail-content{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:5px 28px 27px;background:#f8faf8}.detail-section{border:1px solid #e2eae4;border-radius:8px;background:white;margin-top:18px;overflow:hidden}.detail-section h3{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;padding:17px 20px;margin:0;border-bottom:1px solid #edf1ee;color:#3c6048}.detail-section h3>span{display:flex;color:#709d81}.detail-section h3 svg{width:16px;height:16px}.detail-section h3 small{margin-left:auto;color:#9ba79e;font-weight:400;font-size:11px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:3px 20px 10px;gap:0 24px}.detail-field{min-width:0;padding:16px 0;border-bottom:1px solid #f0f3f0}.detail-field dt{color:#8a998e;font-size:11px;line-height:1.6;margin:0 0 7px}.detail-field dd{margin:0;font-size:14px;font-weight:450;line-height:1.8;color:#344d3d;white-space:pre-wrap;overflow-wrap:anywhere}.detail-field dd.detail-missing{color:#b9c3bc}.detail-wide{grid-column:1/-1}.detail-dialog .dialog-footer{flex-shrink:0;padding:16px 28px}.detail-dialog .dialog-footer>span{font-size:11px}.detail-dialog .dialog-footer button{min-width:82px}#record-dialog .form-grid input,#record-dialog .form-grid textarea{font-size:13px}#record-dialog .form-grid label{font-size:12px}
@media(max-width:1050px){#records-table.records-summary th,#records-table.records-summary td{padding:10px 12px}.detail-grid{gap:0 20px}.detail-nav{gap:5px}.detail-nav button{padding:6px 10px}}
@media(max-width:600px){.detail-dialog{max-width:100vw;width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.detail-shell{height:100%;max-height:100dvh}.detail-dialog .dialog-heading{padding:18px}.detail-dialog .dialog-heading h2{font-size:22px}.detail-nav{padding:10px 18px}.detail-content{padding:0 12px 18px;flex:1}.detail-section{margin-top:13px}.detail-section h3{padding:15px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 17px;padding:0 15px 10px}.detail-field{padding:13px 0}.detail-field dd{font-size:13px}.detail-dialog .dialog-footer{padding:13px 18px}.detail-dialog .dialog-footer>span{display:block;font-size:10px}.detail-meta{gap:9px;font-size:11px}.detail-nav button{font-size:11px}.filter-row .field-total{font-size:10px}}
@media(max-width:600px){#records-table.records-summary{min-width:0;width:100%}#records-table.records-summary th:nth-child(3),#records-table.records-summary td:nth-child(3),#records-table.records-summary th:nth-child(4),#records-table.records-summary td:nth-child(4),#records-table.records-summary th:nth-child(5),#records-table.records-summary td:nth-child(5),#records-table.records-summary th:nth-child(7),#records-table.records-summary td:nth-child(7){display:none}#records-table.records-summary th:nth-child(1){width:34%!important}#records-table.records-summary th:nth-child(2){width:24%!important}#records-table.records-summary th:nth-child(6){width:28%!important}#records-table.records-summary th:nth-child(8){width:14%!important}#records-table.records-summary th,#records-table.records-summary td{padding:10px 8px}#records-table .summary-id{font-size:10px}#records-table .summary-record strong{font-size:13px}#records-table .summary-record small{font-size:10px}.record-status{padding:4px 6px;font-size:10px}.detail-open{padding:6px}}

.detail-field{position:relative;border-radius:5px;transition:background .15s}
.detail-field:hover,.detail-field:focus-within{background:#f0f7f2}
.detail-field-edit{display:block;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;white-space:normal}
.detail-field-edit:hover{background:transparent;color:#397a5c}
.detail-field-edit::after{content:'';position:absolute;inset:0;border-radius:5px}
.detail-field-edit:focus-visible{outline:0}
.detail-field-edit:focus-visible::after{outline:2px solid #7bad8e;outline-offset:2px}
.form-error{color:#974f41;font-size:12px;line-height:1.6;margin:0;padding:0 27px 16px}

.detail-field.is-editing{background:#f0f7f2}
.detail-field.is-editing .detail-field-edit{opacity:1;cursor:default}
.detail-field.is-editing .detail-field-edit::after{display:none}
.inline-field-form{white-space:normal;min-width:0}
.inline-field-form input,.inline-field-form textarea{display:block;width:100%;min-width:0;border:1px solid #7bad8e;border-radius:5px;padding:8px 9px;background:white;color:#344d3d;font:inherit;line-height:1.6;outline-color:#7bad8e}
.inline-field-form textarea{resize:vertical;min-height:90px}
.inline-month-hint{display:block;margin-top:4px;color:#829086;font-size:11px}
.inline-field-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.inline-field-actions button{padding:6px 10px;font-size:12px}
.inline-field-error{font-size:12px;line-height:1.6;color:#974f41;margin:8px 0 0}
@media(max-width:600px){.inline-field-form input,.inline-field-form textarea{font-size:16px}}

#record-form input[readonly]{background:#f3f7f4;color:#587461;cursor:default}
.detail-field-edit:disabled{opacity:1;cursor:default}
.detail-field-edit:disabled::after{display:none}
.detail-field:has(.detail-field-edit:disabled):hover{background:transparent}
