/* Department-manager Case Management, observed Console 6.8.1. */
.case-page{height:100vh;overflow-y:auto;overflow-x:hidden;color:#292f33;background:#fff;font:14px/1.43 "Segoe UI","Open Sans",Meiryo,"微軟正黑體",Arial,sans-serif}
.case-page .topbar{height:68px;padding:0 22px;border-bottom:0;position:relative}
.case-page .topbar h1{font-size:28px;line-height:40px;font-weight:600;display:flex;align-items:center;gap:9px;white-space:nowrap}
.case-page .top-actions{gap:14px}
.case-page .scenario-caption{display:none}
.case-page .scenario-trigger{width:200px}
.case-button{border:1px solid #e0e1e2;background:#fff;border-radius:3px;color:#4b5053;font:inherit;padding:6px 10px;min-height:34px;cursor:pointer;white-space:nowrap}
.case-button:hover{background:#f5f7f8;border-color:#bec5ca}
.case-button:disabled{background:#ddd;color:#aaa;cursor:default}
.case-global-privacy{font-size:12px;min-height:36px}
.case-list-controls{display:flex;align-items:flex-start;gap:16px;padding:4px 20px 0}
.case-filters{display:flex;flex:1;min-width:0;flex-wrap:wrap;align-items:center;gap:8px;min-height:36px}
.case-filters .baseline-search{width:220px;height:36px;padding:0 18px}
.case-filters .baseline-search img{width:14px;height:14px}
.case-filter{display:flex;align-items:center;gap:8px;font-size:14px;height:36px}
.case-filter img{width:16px;height:16px;margin-left:auto}
.case-filter-lines{font-size:15px;color:#788790;transform:scaleX(-1)}
.case-filter-wrap{position:relative}.case-sort.push{margin-left:auto}
.case-list-actions{display:flex;flex-shrink:0;gap:12px;margin-left:auto}
.case-list-actions button{height:36px}.case-list-actions .primary{display:flex;align-items:center;gap:8px;min-width:120px;justify-content:center}
.case-pager{height:57px;padding:0 20px}
.case-pager img{width:20px;height:20px}
.case-table-wrap{border-top:1px solid #ddd;padding:0 10px;overflow-x:auto}
.case-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px;min-width:980px}
.case-table th{height:35px;text-align:left;color:#829096;font-weight:600;padding:6px 16px;border-bottom:1px solid #edf0f1}
.case-table td{height:48px;padding:6px 16px;border-bottom:1px solid #edf0f1;vertical-align:middle;overflow-wrap:anywhere;line-height:20px}
.case-table a{color:#258ed0;text-decoration:underline}
.case-table td:last-child,.case-table th:last-child{text-align:right}
.case-status{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#52595e}
.case-status img{width:16px;height:16px}.case-status.ongoing{color:#e38b00}.case-status.done{color:#258df0}
.case-updated{display:block;font-size:10px;line-height:14px;color:#697276;white-space:nowrap}
.case-eye{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;padding:5px;cursor:pointer;color:#859096}
.case-eye img{width:18px;height:18px}.case-assignee{width:124px;height:36px;padding:0 10px;border:1px solid #e1e1e1;border-radius:4px;background:#fff;color:#30383d}
.case-assign-table th{height:42px}.case-table .case-empty{text-align:center;height:120px;color:#879197}
.case-demo-note{font-size:11px;color:#929ba2;margin:16px 20px}
.case-popover{position:absolute;top:42px;left:0;width:300px;background:white;border-radius:4px;box-shadow:0 4px 18px #0004;border:1px solid #ddd;z-index:42;padding:12px 16px;color:#30383c}
.case-sort.push .case-popover{left:auto;right:0}.case-popover-title{display:flex;align-items:center;justify-content:space-between;font-size:16px;margin-bottom:12px}
.case-popover-title button{border:0;background:none;padding:0;cursor:pointer}.case-popover-title img{width:20px;height:20px}
.case-filter-option{display:flex;align-items:center;justify-content:space-between;min-height:42px;cursor:pointer}
.case-popover input{width:18px;height:18px;accent-color:#258df0;margin:0 8px 0 0}
.case-popover-bottom{border-top:1px solid #eee;padding-top:12px;margin-top:8px;display:flex;align-items:center;justify-content:space-between}
.case-popover-bottom label{display:flex;align-items:center}.case-popover-bottom button{margin-left:auto;min-width:100px}
.case-detail .topbar{border-bottom:1px solid #ddd}.case-summary{height:236px;display:flex;gap:42px;padding:22px 37px 14px;align-items:flex-start}
.case-face{width:160px;height:200px;flex:0 0 160px;overflow:hidden;border:3px solid #898b8b;border-radius:10px;padding:0;background:#ddd;cursor:zoom-in}
.case-face img{width:100%;height:100%;object-fit:cover}.case-face.masked img{filter:blur(10px);transform:scale(1.08)}
.case-summary dl{display:grid;grid-template-columns:160px 1fr;grid-auto-rows:67px;align-items:center;font-size:20px;margin:0;line-height:28px}
.case-summary dt,.case-summary dd{margin:0}.case-summary dd b{font-weight:600}
.case-tabs{display:flex;margin:0 12px;height:48px;border-bottom:1px solid #eee}
.case-tabs button{width:160px;flex:0 0 160px;border:0;border-bottom:2px solid transparent;color:#888;background:#fff;font-size:16px;cursor:pointer}
.case-tabs .selected{color:#258df0;border-bottom-color:#258df0}
.case-panel{padding:12px 20px 0}.case-panel table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}
.case-panel th{text-align:left;font-size:12px;color:#849096;font-weight:400;border-bottom:1px solid #eee;height:34px;padding:6px 8px}
.case-panel td{padding:4px 8px;font-weight:400;vertical-align:middle;line-height:26px;overflow-wrap:anywhere}
.case-ai-table td{height:35px;padding:0 8px}.case-ai-table small{display:block;color:#859096;font-size:11px;line-height:15px}
.case-ai-table .case-failed{color:#d75f60}.case-correction{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border-radius:8px;min-height:34px}
.case-correction img{width:20px;height:20px}.case-record-title{margin:22px 0 0;font-size:16px}
.case-record-table td{border-bottom:1px solid #edf0f1}.case-record-table td:last-child{white-space:pre-line}
.case-detail.has-actions{padding-bottom:72px}.case-actions{height:64px;padding:16px 20px;gap:10px;z-index:40}
.case-actions button{height:32px;min-width:120px;font-size:14px;font-weight:400;background:#fff;color:#444;border:1px solid #e5e5e5;padding:0 10px;white-space:nowrap}.case-actions button:nth-child(4){min-width:130px}
.case-actions .danger-outline{margin-left:auto;color:#c15e60;border:1px solid #d49a9b;background:#fff}
.case-document-layout{display:grid;grid-template-columns:42% 1fr;gap:12px}.case-fields td:first-child{width:140px}
.case-panel .case-fields td{height:34px;padding:4px 8px;font-size:16px;line-height:26px}.case-documents{display:flex;flex-direction:column;gap:6px}
.case-document-card{position:relative;width:300px;height:187px;display:block;border:1px solid #d6cbb5;border-radius:10px;overflow:hidden;background:linear-gradient(125deg,#f2e9d3,#e7eddf 62%,#e1d6b9);text-align:left;color:#57634b;padding:16px;cursor:zoom-in;font-family:inherit}
.case-document-card.health{background:linear-gradient(125deg,#d8eee9,#eaf5e0);border-color:#bdd7cb}.case-document-card.back{background:linear-gradient(125deg,#f1e0c4,#f5efd9)}
.case-card-content{display:block;width:100%;height:100%}.case-card-content>strong{font-size:17px;display:block;margin-bottom:12px;letter-spacing:1px}
.case-card-lines{display:block;font-size:10px;line-height:19px}.case-card-content img{position:absolute;right:15px;top:55px;width:68px;height:85px;object-fit:cover;border:1px solid #c1c3bc}
.case-card-watermark{position:absolute;bottom:9px;left:0;width:100%;text-align:center;color:#8e5151;font-size:14px;font-weight:600;background:#fff9;line-height:24px;letter-spacing:2px}
.case-document-card.masked .case-card-content{filter:blur(7px)}
.case-other-head{display:flex;align-items:center;gap:16px;font-size:16px;margin-bottom:20px}.case-other-head>button:first-of-type{margin-left:auto}.case-other-head button{min-width:120px}
.case-dropzone{height:335px;background:#f5f7f8;border-radius:7px;border:1px dashed transparent;display:flex;align-items:center;justify-content:center;gap:28px;color:#89949b;font-size:24px;cursor:pointer;margin-top:16px;text-align:center;padding:20px}
.case-dropzone>span{font-size:68px;line-height:1;font-weight:bold}.case-dropzone.dragging{border-color:#258df0;background:#e8f4ff}
.case-modal-backdrop{z-index:130;background:#000b}.case-dialog{position:relative;width:548px;max-width:calc(100vw - 40px);background:white;border-radius:4px;padding:20px 24px;color:#42494c;box-shadow:0 12px 28px #0003}
.case-dialog h2{font-size:20px;line-height:28px;font-weight:400;margin:0 36px 32px 0}.case-modal-close{position:absolute;right:20px;top:20px;background:none;border:0;padding:0;cursor:pointer;z-index:2}.case-modal-close img{width:20px;height:20px}
.case-dialog-body p{margin:0 0 14px;line-height:24px}.case-dialog-body input,.case-dialog-body select,.case-dialog-body textarea{display:block;width:100%;font:inherit;border:1px solid #d8dadd;background:white;border-radius:3px;padding:9px 12px;color:#30383d;min-height:40px}
.case-dialog-body textarea{height:102px;resize:none}.case-dialog-body input:focus,.case-dialog-body textarea:focus,.case-dialog-body select:focus{outline:1px solid #258df0}
.case-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:28px}.case-dialog-actions button{min-width:120px;height:34px}
.case-error{display:block;color:#c85455;margin-top:8px;line-height:20px}.case-password-label{display:block;margin-top:20px}.case-password-label input{margin-top:8px}
.case-local-hint{display:block;color:#7b858b;margin-top:8px}.case-image-dialog{position:relative;border-radius:4px;background:#fff;padding:44px 32px 20px;text-align:center;max-width:calc(100vw - 50px)}
.case-large-face{display:block;max-height:65vh;width:auto;max-width:70vw;margin:auto}.case-image-dialog p{font-size:12px;color:#818b92}
.case-document-card.large{width:600px;max-width:70vw;height:374px;pointer-events:none;transform-origin:center}.case-document-card.large .case-card-content{transform:scale(2);transform-origin:top left;width:50%;height:50%}.case-document-card.large .case-card-watermark{font-size:24px;height:34px;line-height:34px}
.case-invite{display:flex;align-items:center;flex-direction:column;gap:16px}.case-invite img{width:200px;height:200px}.case-invite small{color:#849096}
@media(max-width:1250px){.case-page .top-actions{gap:8px}.case-page .scenario-trigger{width:155px}.case-page .topbar h1{font-size:24px}.case-summary dl{grid-template-columns:155px 1fr;font-size:18px}.case-filters{flex-wrap:wrap}.case-document-layout{grid-template-columns:52% 1fr}.case-dropzone{font-size:19px}}
