/* Activity management is intentionally scoped, including native form controls. */
#fast59OpsDialog{padding:0!important;width:min(1120px,96vw)!important;max-height:92dvh!important;border-radius:22px!important;color:#18352f!important;background:#f7f9f8!important;box-shadow:0 24px 100px #10251f38;overflow:auto!important}
#fast59OpsDialog::backdrop{background:#102d2c99;backdrop-filter:blur(5px)}
#fast59OpsDialog *,#adminDataOverlay .ad-stats *{box-sizing:border-box}
#fast59OpsDialog>div:first-child{padding:25px 30px 18px!important;align-items:center;background:#fff;border-bottom:1px solid #e1e9e6}
#fast59OpsDialog h2{font-size:24px!important;line-height:1.3!important;margin:5px 0 0!important;letter-spacing:-.6px;color:#18352f}
#fast59OpsDialog [data-activity-title]{font-size:12px;color:#53746c;letter-spacing:.04em}
#fast59OpsDialog button{width:auto!important;min-height:40px!important;padding:10px 15px!important;margin:0!important;border:1px solid #d8e3df!important;border-radius:10px!important;background:#fff!important;color:#284d43!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;box-shadow:none!important;cursor:pointer}
#fast59OpsDialog button:hover{background:#eef5f1!important;border-color:#a3bfb2!important}
#fast59OpsDialog button:disabled{opacity:.5;cursor:not-allowed}
#fast59OpsDialog [data-close]{padding:9px 14px!important;background:#f1f5f3!important;border-color:transparent!important}
#fast59OpsDialog>nav{margin:0!important;padding:12px 30px!important;background:white;border-bottom:1px solid #e1e9e6;gap:7px!important}
#fast59OpsDialog>nav button{border:0!important;background:transparent!important;color:#668074!important}
#fast59OpsDialog>nav button.is-active{background:#e7f1ec!important;color:#1d5943!important}
#fast59OpsDialog #opFeedback:empty{display:none}
#fast59OpsDialog #opFeedback{padding:12px 30px;color:#aa422c;font-size:14px;margin:0}
#fast59OpsDialog #opContent{padding:26px 30px 30px}
#fast59OpsDialog p{font-size:14px!important;line-height:1.7!important;margin:6px 0 12px!important;color:#61746c}
#fast59OpsDialog h3{font-size:18px!important;line-height:1.4!important;margin:0 0 5px!important;color:#193d30}
#fast59OpsDialog label{display:block;font-size:13px!important;font-weight:600;color:#425d51;margin:14px 0!important;line-height:1.5!important;min-width:0}
#fast59OpsDialog input:not([type=checkbox]),#fast59OpsDialog select{width:100%!important;min-width:0;height:46px!important;max-height:none!important;margin:7px 0 0!important;padding:10px 12px!important;background:#fff!important;border:1px solid #ccdcd3!important;border-radius:10px!important;color:#244d3c!important;font-size:15px!important;box-sizing:border-box}
#fast59OpsDialog input:focus,#fast59OpsDialog select:focus{outline:3px solid #d8eee1;outline-offset:1px;border-color:#638e75!important}
#fast59OpsDialog .at-intro{padding-bottom:20px}
#fast59OpsDialog .at-kicker{font-size:10px;font-weight:700;letter-spacing:.19em;color:#6c8e7e}
#fast59OpsDialog .at-intro h3{font-size:27px!important;letter-spacing:-.7px;margin:8px 0!important}
#fast59OpsDialog .at-current{display:flex;align-items:center;gap:14px;background:#eaf1ec;border:1px solid #d9e5dc;border-radius:14px;padding:16px 20px;margin-bottom:22px}
#fast59OpsDialog .at-current-icon{display:grid;place-items:center;width:40px;height:40px;background:#fff;border-radius:12px;color:#48765c;font-size:21px}
#fast59OpsDialog .at-current small{display:block;font-size:11px;color:#6b8172;margin-bottom:4px}
#fast59OpsDialog .at-current strong{display:block;font-size:17px;overflow-wrap:anywhere}
#fast59OpsDialog .at-tag{display:inline-block;margin-left:auto;white-space:nowrap;padding:5px 9px;border-radius:20px;background:#d9e9dd;color:#416c4c;font-size:11px;font-weight:600}
#fast59OpsDialog .at-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start}
#fast59OpsDialog .at-box{padding:23px;background:#fff;border:1px solid #dfe7e2;border-radius:16px;min-width:0;box-shadow:0 3px 12px #16352303}
#fast59OpsDialog .at-side{display:grid;gap:16px;min-width:0}
#fast59OpsDialog .at-box-heading{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}
#fast59OpsDialog .at-box-heading p{font-size:12px!important;margin:4px 0 0!important}
#fast59OpsDialog .at-step{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:9px;background:#f1f5f1;color:#68816d;font-size:11px;letter-spacing:.06em}
#fast59OpsDialog .at-options{border-top:1px solid #ecf0ed;margin-top:20px;padding-top:7px}
#fast59OpsDialog .at-options label{display:flex!important;align-items:flex-start;gap:12px;padding:10px 0;margin:0!important}
#fast59OpsDialog input[type=checkbox]{appearance:auto!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;padding:0!important;margin:3px 0 0!important;accent-color:#376b50;flex:0 0 18px}
#fast59OpsDialog .at-options span{min-width:0}
#fast59OpsDialog .at-options strong{display:block;font-size:14px;font-weight:600}
#fast59OpsDialog .at-options small{display:block;font-size:11px;color:#829084;margin-top:3px;font-weight:400;line-height:1.6}
#fast59OpsDialog .at-preview{background:#f1f5ef;border:1px solid #e2eadd;border-radius:10px;padding:15px;margin:16px 0 12px;font-size:13px;color:#60775b}
#fast59OpsDialog .at-preview-label{display:block;font-size:11px;letter-spacing:.04em;color:#788d6e}
#fast59OpsDialog .at-preview-counts{display:flex;gap:20px;margin-top:9px;flex-wrap:wrap;font-size:12px}
#fast59OpsDialog .at-preview-counts strong{font-size:22px;font-weight:600;color:#345b36;margin-right:3px;font-variant-numeric:tabular-nums}
#fast59OpsDialog .at-footnote{font-size:11px!important;color:#859086!important;line-height:1.7!important;margin:12px 0!important}
#fast59OpsDialog .at-primary{display:flex;justify-content:space-between;align-items:center;width:100%!important;background:#315c45!important;border-color:#315c45!important;color:#fff!important;padding:13px 16px!important;margin-top:17px!important}
#fast59OpsDialog .at-primary:hover{background:#244d38!important}
#fast59OpsDialog .at-event{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e9eee9}
#fast59OpsDialog .at-event:last-child{border:0}
#fast59OpsDialog .at-event>div{flex:1;min-width:0}
#fast59OpsDialog .at-event strong{display:block;overflow-wrap:anywhere;font-size:14px}
#fast59OpsDialog .at-event small{display:block;color:#8a968c;font-size:11px;margin-top:5px}
#fast59OpsDialog .at-event button{white-space:nowrap;font-size:12px!important;min-height:34px!important;padding:7px 10px!important}
#fast59OpsDialog .at-blank{background:#f7f9f5;box-shadow:none}
#fast59OpsDialog .at-blank summary{font-size:13px;font-weight:600;cursor:pointer;color:#657c63}
#fast59OpsDialog .at-message{padding:13px 16px;border-radius:10px;background:#e7f0e9;color:#315940!important;margin:18px 0 0!important}
#fast59OpsDialog .at-message:empty{display:none}
#adminDataOverlay .ad-export-box{grid-template-columns:1fr 1fr auto}
#adminDataOverlay .ad-scope-select{display:block;padding:18px;border:1px solid #dce5e0;border-radius:12px;background:#f7faf8}
#adminDataOverlay .ad-scope-banner{padding:18px 20px;border:1px solid #d5e6dc;border-radius:13px;background:#edf6f0;margin:16px 0}
#adminDataOverlay .ad-scope-eyebrow{display:block;font-size:10px;color:#64876d;letter-spacing:.12em;margin-bottom:5px}
#adminDataOverlay #adScopeTitle{display:block;font-size:20px;color:#2a5137;overflow-wrap:anywhere}
#adminDataOverlay #adScopeText{font-size:12px!important;color:#67806d!important;margin-top:7px!important}
#adminDataOverlay .ad-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:20px}
#adminDataOverlay .ad-stats>div{padding:14px 12px;border-radius:11px;border:1px solid #e2e9e4;background:#fff}
#adminDataOverlay .ad-stats strong{display:block;font-size:22px;font-weight:600;color:#345640}
#adminDataOverlay .ad-stats span{display:block;font-size:11px;color:#8a978c;margin-top:5px}
#adminDataOverlay button:disabled{cursor:not-allowed;opacity:.5}
@media(max-width:720px){#fast59OpsDialog{width:100vw!important;max-height:100dvh!important;border-radius:16px 16px 0 0!important;margin:auto 0 0!important}#fast59OpsDialog>div:first-child{padding:20px 18px 14px!important}#fast59OpsDialog>nav{padding:10px 12px!important;gap:2px!important}#fast59OpsDialog>nav button{padding:9px 10px!important;font-size:12px!important}#fast59OpsDialog #opContent{padding:20px 16px}#fast59OpsDialog .at-grid{grid-template-columns:1fr}#fast59OpsDialog .at-box{padding:20px}#fast59OpsDialog .at-intro h3{font-size:24px!important}#adminDataOverlay .ad-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#adminDataOverlay .ad-export-box{grid-template-columns:1fr}}
.patrol-mini{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;margin:14px 0;border:1px solid #d9e5dd;border-radius:13px;background:#f1f7f3}
.patrol-mini strong{display:block;font-size:14px;color:#2e5140;margin-top:6px}.patrol-mini-status{font-size:11px;color:#7a8c7d}.patrol-mini-status.is-active{color:#347859}.patrol-mini button{min-height:42px!important;width:auto!important;padding:10px 14px!important;border-radius:10px!important;background:#315c45!important;color:white!important;border:0!important;font-size:13px!important;margin:0!important}
#fast59PatrolDialog{width:min(1020px,96vw);max-height:92dvh;padding:0;border:0;border-radius:22px;background:#f5f8f5;color:#21402e;overflow:auto;box-shadow:0 24px 100px #10251f40}
#fast59PatrolDialog::backdrop{background:#102d2c99;backdrop-filter:blur(5px)}
#fast59PatrolDialog *{box-sizing:border-box}#fast59PatrolDialog [hidden]{display:none!important}
#fast59PatrolDialog button{width:auto!important;min-height:40px!important;padding:10px 14px!important;margin:0!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;color:#31583e!important;background:#fff!important;border:1px solid #d7e3d7!important;border-radius:10px!important;box-shadow:none!important;cursor:pointer}
#fast59PatrolDialog button:disabled{opacity:.5;cursor:not-allowed}#fast59PatrolDialog button:hover{background:#e8f2e9!important}
#fast59PatrolDialog .pt-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 28px;background:white;border-bottom:1px solid #e0e9de}
#fast59PatrolDialog .pt-header small{font-size:10px;letter-spacing:.18em;color:#8a9c7b}
#fast59PatrolDialog h2{font-size:25px!important;margin:5px 0 0!important;color:#21402e}
#fast59PatrolDialog h3{font-size:18px!important;margin:0 0 10px!important;color:#21402e}
#fast59PatrolDialog p{font-size:13px!important;line-height:1.7!important;margin:6px 0!important}
#fast59PatrolDialog .pt-body{padding:24px 28px 28px}
#fast59PatrolDialog .pt-hero{padding:22px 24px;border-radius:16px;background:#244934;color:#eaf0e6;margin-bottom:20px}
#fast59PatrolDialog .pt-hero>div{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#c1d6b9}
#fast59PatrolDialog .pt-hero p{font-size:11px!important;color:#acc5a7;margin-top:20px!important}
#fast59PatrolDialog .pt-hero h3{color:#f6f8ef!important;font-size:29px!important;margin:4px 0 0!important;overflow-wrap:anywhere}
#fast59PatrolDialog .pt-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
#fast59PatrolDialog .pt-card{padding:22px;background:white;border:1px solid #e0e8dc;border-radius:15px;min-width:0}
#fast59PatrolDialog .pt-muted{color:#869180;font-size:12px!important}
#fast59PatrolDialog .pt-places{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
#fast59PatrolDialog .pt-places button{border-radius:22px!important;padding:11px 18px!important;min-height:46px!important;background:#f6f8f1!important;color:#64714e!important}
#fast59PatrolDialog .pt-places button.is-selected{background:#e1edce!important;border-color:#91ac74!important;color:#365320!important}
#fast59PatrolDialog label{display:block;font-size:12px;font-weight:600;color:#617258;margin:14px 0}
#fast59PatrolDialog input,#fast59PatrolDialog textarea{display:block;width:100%!important;min-width:0!important;padding:12px 13px!important;margin:7px 0 0!important;border:1px solid #d2dfcc!important;border-radius:10px!important;font-size:15px!important;background:#fff!important;color:#31502b!important;line-height:1.5!important;height:auto;min-height:46px;max-height:none}
#fast59PatrolDialog input:focus,#fast59PatrolDialog textarea:focus{outline:3px solid #e3eddb;outline-offset:1px}
#fast59PatrolDialog .pt-actions{display:grid;gap:10px;margin-top:20px}
#fast59PatrolDialog .pt-main{display:flex;justify-content:space-between;width:100%!important;padding:17px!important;background:#46682d!important;border-color:#46682d!important;color:white!important;font-size:15px!important}
#fast59PatrolDialog .pt-finish{width:100%!important;min-height:48px!important;background:#f7f7f1!important;color:#7c795d!important}
#fast59PatrolDialog .pt-settings{border-top:1px solid #e7ebdf;margin-top:22px;padding-top:16px}
#fast59PatrolDialog .pt-settings summary{font-size:12px;color:#8a947b;cursor:pointer}
#fast59PatrolDialog .pt-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
#fast59PatrolDialog .pt-section-heading h3{margin:0!important}#fast59PatrolDialog .pt-section-heading>span{font-size:10px;color:#99a28f}
#fast59PatrolDialog #ptHistory{max-height:440px;overflow:auto;padding-right:4px}
#fast59PatrolDialog .pt-history-row{display:flex;gap:12px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #ebeee5}
#fast59PatrolDialog .pt-dot{flex:0 0 8px;height:8px;margin-top:8px;border-radius:50%;background:#8ba66c}
#fast59PatrolDialog .pt-history-row>div{flex:1;min-width:0}#fast59PatrolDialog .pt-history-row small{font-size:10px;color:#97a08e;line-height:1.5}#fast59PatrolDialog .pt-history-row strong{display:block;font-size:16px;margin-top:5px;overflow-wrap:anywhere}
#fast59PatrolDialog .pt-history-row p{font-size:11px!important;color:#89937b}
#fast59PatrolDialog .pt-history-row>button{font-size:11px!important;min-height:30px!important;padding:6px 8px!important;white-space:nowrap}
#fast59PatrolDialog .pt-correction{padding:8px 10px;background:#f6f5e9;border-radius:7px;color:#8a8057!important}
#fast59PatrolDialog .pt-empty{padding:30px 12px;font-size:13px;color:#9aa48b;text-align:center}
#fast59PatrolDialog .pt-edit,#fast59PatrolDialog .pt-request-section{margin-top:20px}
#fast59PatrolDialog .pt-edit{border-color:#b8cfa5;background:#fbfdf6}
#fast59PatrolDialog .pt-request{padding:16px 0;border-bottom:1px solid #e9eee1}#fast59PatrolDialog .pt-request>div:first-child{display:flex;justify-content:space-between;gap:14px}#fast59PatrolDialog .pt-request strong{font-size:14px}#fast59PatrolDialog .pt-request-tag{font-size:11px;color:#857d58;white-space:nowrap}
#fast59PatrolDialog .pt-review-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
#fast59PatrolDialog .pt-message{padding:12px 16px;border-radius:10px;background:#e6efdf;color:#466337;margin-top:18px!important}#fast59PatrolDialog .pt-message:empty{display:none}
@media(max-width:700px){.patrol-mini{align-items:stretch;flex-direction:column}.patrol-mini button{width:100%!important}#fast59PatrolDialog{width:100vw;max-height:100dvh;border-radius:16px 16px 0 0;margin:auto 0 0}#fast59PatrolDialog .pt-body{padding:18px 14px}#fast59PatrolDialog .pt-header{padding:18px}#fast59PatrolDialog .pt-grid{grid-template-columns:1fr}#fast59PatrolDialog .pt-card{padding:18px}#fast59PatrolDialog #ptHistory{max-height:340px}#fast59PatrolDialog .pt-main{min-height:58px!important}}
#fast59PatrolDialog .pt-row-actions{display:grid;gap:6px;flex:none}#fast59PatrolDialog .pt-row-actions button{font-size:11px!important;padding:6px 8px!important;min-height:30px!important;white-space:nowrap}#fast59PatrolDialog .pt-row-actions [data-pt-remove]{color:#9a7662!important;background:#fbf7f1!important;border-color:#ece1d3!important}#fast59PatrolDialog .pt-history-row.is-removed{opacity:.6}#fast59PatrolDialog .pt-show-removed{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:400}#fast59PatrolDialog .pt-show-removed input{appearance:auto!important;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;padding:0!important;accent-color:#486f35}

/* In-page entry stays with the workspace, above case content. */
#fast59ToolsEntry{position:static!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%!important;max-width:none!important;margin:16px 0!important;padding:16px 20px!important;min-height:58px!important;border:1px solid #cfdfd6!important;border-radius:15px!important;background:#edf5ef!important;color:#244d3c!important;font-size:16px!important;font-weight:700!important;box-shadow:0 3px 12px #173b2310!important;z-index:auto!important;text-align:left!important}
#fast59ToolsEntry::after{content:'開啟 ↗';font-size:12px;font-weight:600;color:#5c7b67;white-space:nowrap}
#fast59ToolsEntry[hidden]{display:none!important}
.field-clean-header + #fast59ToolsEntry{width:calc(100% - 32px)!important;margin:16px!important}
#fast59OpsDialog{margin:auto!important;inset:0!important;height:fit-content!important;min-width:0!important;outline:none!important}
#fast59OpsDialog>div:first-child>div{min-width:0;flex:1}
#fast59OpsDialog [data-close]{flex:0 0 auto!important;white-space:nowrap!important;max-width:80px!important}
#fast59OpsDialog .op-subtitle{font-size:12px!important;margin:5px 0 0!important;color:#71877c}
#fast59OpsDialog #opContent>article{background:white;border:1px solid #e0e8e2!important;border-radius:12px;margin:10px 0}
#fast59OpsDialog #opContent>label:has(#opMinutes){max-width:260px}
#fast59OpsDialog [data-threshold],#fast59OpsDialog [data-issue]{background:#245b43!important;color:white!important;border-color:#245b43!important}
@media(max-width:720px){#fast59OpsDialog{width:calc(100vw - 20px)!important;max-height:90dvh!important;border-radius:18px!important;margin:auto!important}#fast59OpsDialog>div:first-child{padding:18px!important}#fast59OpsDialog h2{white-space:nowrap!important;font-size:22px!important}#fast59OpsDialog>nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}#fast59OpsDialog>nav button{width:100%!important;text-align:center!important}#fast59ToolsEntry{padding:14px 16px!important}}

#fast59ToolsEntry{pointer-events:auto!important;cursor:pointer!important}

#fieldRouterPanel>#fast59ToolsEntry{position:relative!important;z-index:1!important;margin:0 0 20px!important}

.field-clean-header>#fast59ToolsEntry{position:relative!important;flex:0 0 auto!important;width:auto!important;max-width:180px!important;min-height:40px!important;margin:0!important;padding:10px 12px!important;font-size:13px!important;z-index:2!important}.field-clean-header>#fast59ToolsEntry::after{content:"↗"}.field-clean-header .field-clean-identity{min-width:0!important;flex:1!important}@media(max-width:480px){.field-clean-header>#fast59ToolsEntry{max-width:110px!important;font-size:11px!important;padding:8px!important}.field-clean-header>#fast59ToolsEntry::after{display:none}}
