.notification-flow-preview{--np-line:#bdb0d6;color:#202b42;gap:18px;min-width:0;margin-top:22px;display:grid;container:notification-preview/inline-size}.notification-flow-preview *,.notification-flow-preview :before,.notification-flow-preview :after{box-sizing:border-box}.notification-flow-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.notification-flow-heading h4,.notification-event-detail h4{margin:0;font-size:18px;line-height:1.5}.notification-flow-heading p{color:#647089;margin:6px 0 0;font-size:15px;line-height:1.65}.notification-flow-heading>span{color:#375f69;border:1px solid #b8d2d4;border-radius:5px;flex:none;padding:6px 10px;font-size:14px}.notification-flow-legend{flex-wrap:wrap;gap:8px 20px;font-size:14px;display:flex}.notification-flow-category-note{color:#526078;margin:8px 0 0;font-size:14px;line-height:1.65}.notification-flow-topology{min-width:0;padding:26px 26px 0;position:relative}.notification-flow-connectors{pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.notification-flow-connectors>path{fill:none;stroke:var(--np-line);stroke-width:2px;stroke-linejoin:round}.notification-flow-connectors marker path{fill:none;stroke:#b4a6cb;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.notification-flow-lane{background:#faf9ff;border:1px solid #e0d9ed;border-radius:12px;min-width:0;padding:20px 22px 28px;position:relative}.notification-flow-lane[aria-label=客戶文件]{background:#f7fbfb;border-color:#d1e4e4}.notification-flow-lane h5{margin:0 0 52px;font-size:16px;line-height:1.5}.notification-flow-common{background:0 0;border:0;max-width:850px;margin:auto;padding:0 0 58px}.notification-flow-path{grid-template-columns:minmax(0,1fr);gap:78px;margin:0;padding:0;list-style:none;display:grid}.notification-flow-node{text-align:left;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:8px 14px;min-width:0;min-height:62px;display:grid;position:relative}.notification-flow-dot{color:#77668e;z-index:2;background:#fff;border:2px solid #d5cee2;border-radius:50%;grid-area:1/1/span 2;place-items:center;width:42px;height:42px;font-size:16px;font-weight:700;display:grid;box-shadow:0 0 0 5px #fff}.notification-flow-node>strong{overflow-wrap:anywhere;grid-column:2;padding-top:9px;font-size:15px;line-height:1.5}.notification-flow-node.is-selected .notification-flow-dot{border-color:#7044cf;box-shadow:0 0 0 5px #eee7fc}.notification-flow-node.is-selected>strong{color:#6335c2;text-underline-offset:4px;text-decoration:underline}.notification-flow-source-events{z-index:3;grid-column:2;justify-items:start;gap:4px;display:grid;position:relative}.notification-flow-source-events>small{color:#526078;font-size:13px}.notification-flow-source-label{color:#526078;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.notification-flow-source-events>div{gap:5px;display:flex}.notification-flow-edge-events{z-index:4;align-items:center;gap:5px;display:flex;position:absolute;transform:translate(-50%,-100%)translateY(-8px)}:is(.notification-flow-source-events:has([role=tooltip]),.notification-flow-edge-events:has([role=tooltip])){z-index:12}.notification-flow-preview button.notification-event-envelope{cursor:pointer;min-width:44px;min-height:36px;box-shadow:none;background:#fff;border:1px solid;border-radius:6px;place-items:center;padding:4px 6px;font-size:14px;line-height:1;display:grid;position:relative}.notification-event-envelope>span:first-child{align-items:center;gap:4px;display:flex}.notification-event-envelope small{font-size:12px;font-weight:600}.notification-flow-preview button.notification-event-envelope[aria-pressed=true]{outline-offset:2px;background:#f0eaff;outline:2px solid}.notification-envelope-tooltip{z-index:8;color:#283247;text-align:left;white-space:normal;pointer-events:none;background:#fff;border:1px solid #ded8e8;border-radius:6px;width:max-content;max-width:min(280px,70vw);padding:9px 11px;font-size:14px;font-weight:400;line-height:1.6;display:block;position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%);box-shadow:0 6px 18px #25203526}.notification-flow-source-events .notification-envelope-tooltip{left:0;transform:none}.notification-flow-preview button:focus-visible{outline-offset:3px;outline:3px solid #9872eb}.notification-event-task{color:#6140aa}.notification-event-progress{color:#216d77}.notification-event-exception{color:#a13a31}.notification-event-required{color:#73591b}.notification-flow-branches{min-width:0;position:relative}.notification-flow-fork{color:#647089;text-align:center;margin:0;padding:48px 20px 26px;font-size:14px;line-height:1.65}.notification-flow-lanes{gap:28px;min-width:0;display:grid}.notification-flow-closure{color:#526078;z-index:2;background:#f9fafc;border:1px solid #d9dce3;border-radius:8px;margin:64px 0 0;padding:13px 16px;font-size:14px;line-height:1.65;position:relative}.notification-event-badge{overflow-wrap:anywhere;background:#fff;border:1px solid;border-radius:6px;justify-content:center;align-items:center;max-width:100%;padding:6px 9px;font-size:14px;font-weight:600;line-height:1.5;display:inline-flex}button.notification-event-badge{cursor:pointer;white-space:normal;min-height:44px;font-size:14px}button.notification-event-badge[aria-pressed=true]{outline-offset:2px;outline:2px solid}.notification-related-events{flex-wrap:wrap;gap:10px;margin:16px 0;display:flex}.notification-other-events{border:1px solid #ded8ed;border-radius:8px;padding:0 16px}.notification-other-events summary{cursor:pointer;min-height:48px;padding:12px 0;font-size:15px;font-weight:600}.notification-other-events summary>span{color:#647089;margin-left:10px;font-size:14px;font-weight:400}.notification-other-events>div{flex-wrap:wrap;gap:10px;padding-bottom:16px;display:flex}.notification-event-detail{background:#fff;border:1px solid #c3b4df;border-left:4px solid #8063b8;border-radius:8px;min-width:0;padding:20px}.notification-event-detail>header{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.notification-event-detail>p{overflow-wrap:anywhere;margin:10px 0;font-size:15px;line-height:1.65}.notification-event-detail .notification-explanation{color:#647089;font-size:14px}.notification-event-routing{color:#647089}.notification-recipient-totals{color:#647089;border-top:1px solid #e1dcea;flex-wrap:wrap;gap:10px 22px;margin:18px 0 0;padding:12px 0;font-size:14px;display:flex}.notification-recipient-totals>strong{color:#23734c}.notification-event-detail .notification-recipient-list{margin-top:0}.notification-event-detail .notification-recipient-list li>div:last-child{max-width:none}@container notification-preview (width>=560px){.notification-flow-lane[data-flow-length=short] .notification-flow-path{grid-template-columns:repeat(var(--notification-node-count), minmax(0, 1fr));gap:24px}.notification-flow-lane[data-flow-length=short] .notification-flow-node{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.notification-flow-lane[data-flow-length=short] .notification-flow-node>strong{padding-top:0}.notification-flow-lane[data-flow-length=short] .notification-flow-source-events{justify-items:center}}@container notification-preview (width>=860px){.notification-flow-lane[data-flow-length=long]:not(.notification-flow-serial) .notification-flow-path{grid-template-columns:repeat(var(--notification-node-count), minmax(0, 1fr));gap:12px}.notification-flow-lane[data-flow-length=long]:not(.notification-flow-serial) .notification-flow-node{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.notification-flow-lane[data-flow-length=long]:not(.notification-flow-serial) .notification-flow-node>strong{padding-top:0}.notification-flow-lane[data-flow-length=long]:not(.notification-flow-serial) .notification-flow-source-events{justify-items:center}}@container notification-preview (width<=559px){.notification-flow-heading{flex-direction:column;gap:10px}.notification-flow-topology{padding:20px 22px 0}.notification-flow-lane{padding:18px 12px 26px}.notification-flow-common{padding:0 12px 58px}.notification-flow-preview button.notification-event-envelope{min-height:44px}.notification-flow-edge-events .notification-envelope-tooltip{max-width:min(250px,65vw);left:0;transform:none}.notification-flow-fork{text-align:left;padding:48px 0 24px 28px}.notification-event-detail{padding:16px}.notification-event-detail .notification-recipient-list li>div:last-child{gap:5px;max-width:none;display:grid}}.notification-flow-owner{color:#647089;grid-column:2;font-size:14px;line-height:1.5}.notification-flow-legacy>p{color:#647089;margin:0 0 18px;font-size:14px}.notification-flow-phase-grid{gap:54px 26px;display:grid}.notification-flow-phase{background:#fcfbff;border:1px solid #e0d9ed;border-radius:10px;min-width:0;padding:18px 16px 28px}.notification-flow-phase>h5{gap:8px;margin:0 0 52px;font-size:16px;display:flex}.notification-flow-phase>h5>span{color:#7659d2;font-size:12px;line-height:24px}.notification-flow-phase>.notification-flow-lane{background:0 0;border:0;padding:0}.notification-flow-phase>.notification-flow-lane>h5,.notification-flow-lane-switch{display:none}@container notification-preview (width>=860px){.notification-flow-phase-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.notification-flow-phase:first-child{grid-column:span 2}.notification-flow-phase:nth-child(2){grid-column:span 4}.notification-flow-phase:nth-child(3),.notification-flow-phase:nth-child(4){grid-column:span 3}.notification-flow-phase .notification-flow-path{grid-template-columns:repeat(var(--notification-node-count), minmax(0, 1fr));gap:14px}.notification-flow-phase .notification-flow-node{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.notification-flow-phase .notification-flow-node>strong{padding-top:0}.notification-flow-phase .notification-flow-source-events{justify-items:center}}@container notification-preview (width<=760px){.notification-flow-lane-switch{z-index:2;background:#fbf9ff;border:1px solid #ddd5ee;border-radius:10px;gap:10px;margin:0 0 28px;padding:15px;display:grid;position:relative}.notification-flow-lane-switch>p{margin:0;font-size:15px;font-weight:600}.notification-flow-lane-switch>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.notification-flow-preview .notification-flow-lane-switch button{color:#514369;text-align:left;background:#fff;border:1px solid #d8cbea;border-radius:7px;gap:5px;min-height:70px;padding:10px;display:grid}.notification-flow-lane-switch button[aria-pressed=true]{background:#eee7ff;border-color:#7750c5;box-shadow:inset 0 0 0 1px #7750c5}.notification-flow-lane-switch button b{font-size:15px}.notification-flow-lane-switch button span,.notification-flow-lane-switch small{color:#647089;font-size:13px;line-height:1.5}.notification-flow-mobile-hidden{display:none}}.notification-flow-edge-events[data-direction=vertical]{transform:translate(8px,-50%)}.notification-flow-preview .notification-event-envelope.notification-event-progress{background:#f0f8f8;border-color:#9cbfc5}.notification-flow-preview .notification-event-envelope.notification-event-task{background:#f7f3ff;border-color:#baa4dd}.notification-flow-preview .notification-event-envelope.notification-event-exception{background:#fff5f3;border-color:#dfaaa5}.notification-flow-preview .notification-event-envelope.notification-event-required{background:#fffbef;border-color:#d7c28b}.notification-flow-preview .notification-event-envelope:hover{border-color:currentColor}.notification-flow-terminal{z-index:2;background:#f5f7fa;border:1px solid #c6ccd7;border-radius:10px;margin:30px 0;padding:18px 20px;position:relative}.notification-flow-terminal h5{margin:0 0 10px;font-size:17px}.notification-flow-terminal p{color:#526078;margin:8px 0 0;font-size:15px;line-height:1.65}.notification-flow-stopped-details>summary{z-index:2;cursor:pointer;background:#faf9fc;border:1px solid #dcd5e7;border-radius:8px;min-height:48px;padding:13px;font-size:15px;position:relative}.notification-flow-stopped-details[open]>summary{margin-bottom:24px}.notification-flow-stopped-details .notification-flow-fork{display:none}.notification-management{gap:24px;display:grid}.notification-mail-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.notification-settings-link{color:#5a36bb;background:#fff;border:1px solid #c6b8eb;border-radius:8px;align-items:center;min-height:44px;padding:10px 16px;font-size:14px;font-weight:600;display:inline-flex}.notification-settings-link:focus-visible{outline-offset:3px;outline:2px solid #6b42df}.notification-selected-case{overflow-wrap:anywhere;background:#f7f5fb;padding:12px;font-size:14px}.notification-intro h2{margin:0 0 8px}.notification-intro p,.notification-settings-panel p{line-height:1.65}.notification-settings-panel{min-width:0;padding:24px}.notification-section-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.notification-section-head h3{margin:0 0 8px;font-size:18px}.notification-section-head p{color:#647089;margin:0}.notification-section-head>span{color:#647089;flex-shrink:0;font-size:14px}.notification-master-row,.notification-category-row,.notification-member-options label{align-items:flex-start;gap:12px;min-height:44px;display:flex}.notification-master-row{align-items:center;font-size:16px;font-weight:700}.notification-management input[type=checkbox],.notification-categories input[type=checkbox]{width:18px;height:18px;accent-color:var(--purple,#6b42df);flex:0 0 18px;margin-top:4px}.notification-categories{border:1px solid #ded8ed;border-radius:10px;gap:14px;min-width:0;margin:16px 0;padding:16px;display:grid}.notification-categories legend{padding:0 8px;font-size:15px;font-weight:700}.notification-category-row{cursor:pointer}.notification-category-option{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.notification-category-row:has(input:disabled){opacity:.65;cursor:default}.notification-master-heading{align-items:center;gap:8px;display:flex}.notification-master-heading>label{flex:1}.notification-category-row>span,.notification-member-options label>span{gap:4px;min-width:0;display:grid}.notification-category-row b,.notification-member-options b{font-size:15px}.notification-category-row small,.notification-member-options small{color:#647089;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.notification-explanation{color:#647089;margin:12px 0;font-size:14px}.notification-form-actions{justify-content:flex-end;margin-top:20px;display:flex}.notification-management button,.notification-management select,.notification-settings-modal .modal-actions button,.notification-settings-modal .notification-source-note button{min-height:44px;font-size:15px}.notification-warehouse-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.notification-warehouse{border:1px solid #ded8ed;border-radius:10px;min-width:0;padding:16px}.notification-warehouse legend{padding:0 8px;font-size:17px;font-weight:700}.notification-warehouse>p{color:#647089;margin:0 0 14px;font-size:14px}.notification-warehouse details{border-top:1px solid #e8e3f0}.notification-warehouse summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:15px;font-weight:700}.notification-warehouse summary span{color:#647089;margin-left:12px;font-size:14px;font-weight:400}.notification-member-options{gap:10px;max-height:300px;padding:8px 0;display:grid;overflow-y:auto}.notification-routing-heading,.notification-routing-rules,.notification-assignment-help,.notification-invalid-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.notification-routing-heading{align-items:center}.notification-routing-heading h3{margin-bottom:0}.notification-routing-rules{background:#f7f5fb;border-radius:8px;margin:14px 0 20px;padding:12px 14px}.notification-routing-rules>p,.notification-assignment-help>p{color:#46536b;margin:0;font-size:14px}.notification-assignment-help{padding:4px 0 8px}.notification-routing-example{color:#46536b;border-left:3px solid #b4a3d2;margin:14px 0 0;padding-left:12px;font-size:14px}.notification-warehouse[data-disabled=true] .notification-member-options label{opacity:.65}.notification-member-options label{cursor:pointer;padding:6px 0}.notification-member-options label:has(input:disabled){cursor:default}.notification-member-options label>span{overflow-wrap:anywhere;flex:1}.notification-invalid-count{color:#9b5c15;margin-top:6px;font-weight:600;display:block}.notification-invalid-saved{background:#fff8eb;border:1px solid #e3bd83;border-radius:8px;min-width:0;margin:10px 0;padding:12px}.notification-invalid-heading{color:#835318;align-items:center;font-size:14px}.notification-invalid-person{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.notification-invalid-person>span{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.notification-invalid-person b,.notification-invalid-person small{font-size:14px;line-height:1.5}.notification-invalid-person small{color:#647089}.notification-invalid-person button{white-space:nowrap;flex-shrink:0}.notification-preview-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.notification-preview-inputs{border-bottom:1px solid #ded8ed;padding:18px 0 24px}.notification-preview-inputs h4,.notification-preview-results h4{margin:0;font-size:17px;line-height:1.5}.notification-preview-inputs>p{color:#647089;margin:6px 0 16px;font-size:14px}.notification-preview-field{align-content:start;gap:8px;min-width:0;display:grid}.notification-field-heading{justify-content:space-between;align-items:center;gap:8px;min-height:32px;display:flex}.notification-field-heading label{font-size:15px;font-weight:700}.notification-preview-controls select{color:#20263b;background-color:#fff;border:1px solid #b9accf;border-radius:8px;width:100%;min-width:0;min-height:48px;padding:10px 32px 10px 12px;font-size:15px;font-weight:500;box-shadow:0 1px 2px #21163708}.notification-preview-controls select:hover{border-color:#886aac}.notification-preview-controls select:focus-visible{outline-offset:2px;outline:2px solid #7044e6}.notification-preview-results{min-width:0;padding-top:24px}.notification-preview-results-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.notification-preview-results-heading>span{color:#647089;font-size:14px}.notification-preview-results .notification-selected-case{background:#f7f5fb;border-left:3px solid #aa94ca;margin:12px 0}.notification-preview-results .notification-saved-routing{color:#647089;overflow-wrap:anywhere;font-size:14px}.notification-preview-summary{flex-wrap:wrap;gap:12px 32px;margin:12px 0;font-size:14px;display:flex}.notification-preview-summary>div{gap:4px;min-width:0;display:grid}.notification-preview-summary dt{color:#647089}.notification-preview-summary dd{overflow-wrap:anywhere;margin:0}.notification-master-setting .notification-master-heading{margin-bottom:2px;display:flex}.notification-resolution{margin-top:18px}.notification-resolution>p{overflow-wrap:anywhere;margin:8px 0;font-size:14px}.notification-recipient-list{border-top:1px solid #e1dcea;margin:16px 0 0;padding:0;list-style:none}.notification-recipient-list li{border-bottom:1px solid #e1dcea;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;padding:14px 0;display:grid}.notification-recipient-list li>div{gap:6px;min-width:0;display:grid}.notification-recipient-list li>div:last-child{flex-shrink:0}.notification-recipient-list b,.notification-recipient-list span,.notification-recipient-list strong,.notification-recipient-list small{overflow-wrap:anywhere;font-size:14px;line-height:1.5}.notification-recipient-list span,.notification-recipient-list small{color:#647089}.notification-will-send{color:#23734c}.notification-suppressed{color:#647089}.notification-empty{background:#f7f5fb;padding:16px;font-size:15px}.notification-error,.notification-unsaved{color:#835318;background:#fff8eb;border:1px solid #e3bd83;border-radius:8px;padding:14px 16px;font-size:14px;line-height:1.6}.notification-error{color:#a3223c;background:#fff5f6;border-color:#e0a4ae}.notification-success{color:#23734c;background:#edf8f0;border-radius:8px;padding:14px 16px;font-size:14px}.notification-rules-tabs{flex-wrap:wrap;gap:8px;margin:0 0 24px;display:flex}.notification-rules-tabs button{min-height:44px;padding:10px 20px;font-size:15px}.notification-rules-tabs button[aria-selected=true]{background:var(--purple,#6b42df);color:#fff;border-color:var(--purple,#6b42df);font-weight:700}.notification-record-details{margin-top:12px}.notification-record-details summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:14px;font-weight:700}.notification-settings-modal .notification-categories{margin:16px 0}.notification-settings-modal .notification-source-note{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (width<=700px){.notification-settings-panel{padding:18px}.notification-section-head{flex-direction:column;gap:8px}.notification-warehouse-grid,.notification-preview-controls{grid-template-columns:minmax(0,1fr)}.notification-recipient-list li{grid-template-columns:minmax(0,1fr);gap:10px}.notification-recipient-list li>div:last-child{flex-wrap:wrap;gap:12px;display:flex}.notification-form-actions button{width:100%}.notification-invalid-person{flex-direction:column;align-items:flex-start;gap:8px}.notification-settings-modal{max-height:calc(100dvh - 24px);overflow-y:auto}}.notification-preview-date-range{border:1px solid #ded8f5;border-radius:12px;min-width:0;margin:0 0 1rem;padding:1rem}.notification-preview-date-range legend{padding:0 .4rem;font-weight:700}.notification-preview-date-range input[type=date]{box-sizing:border-box;background:#fff;border:1px solid #b9accf;border-radius:8px;width:100%;min-width:0;min-height:44px;padding:10px 12px}.notification-preview-date-range .notification-form-actions{flex-wrap:wrap}
