:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#24332f;background:#f4f6f5;font-size:14px;line-height:1.55;--brand:#08766c;--line:#dfe6e3;--muted:#68756f}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}h1,h2,h3,h4,p{margin:0}h1{font-size:23px;line-height:1.35}h2{font-size:21px;line-height:1.4}h3{font-size:16px}h4{font-size:14px;margin:16px 0 8px}a{color:var(--brand);text-underline-offset:3px}button,input,select,textarea{font:inherit}button,.button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border:1px solid #cdd8d2;border-radius:6px;background:#fff;color:#29473f;text-decoration:none;cursor:pointer;line-height:1.4;font-weight:600}button:hover,.button:hover{background:#f0f6f3}button:focus-visible,a:focus-visible{outline:3px solid #8dc9bb;outline-offset:2px}.primary{background:var(--brand);border-color:var(--brand);color:#fff}.primary:hover{background:#075e56}.danger{color:#b42318}button:disabled{opacity:.5;cursor:default}input,select,textarea{min-height:42px;width:100%;min-width:0;padding:8px 10px;border:1px solid #cdd8d2;border-radius:5px;background:#fff;color:#24332f}input:focus,select:focus,textarea:focus{outline:2px solid #9dcabf;outline-offset:1px}input:disabled,select:disabled,textarea:disabled{background:#f3f5f4;color:#66736d}input[type=checkbox]{width:19px;min-height:19px;height:19px;margin:0;accent-color:var(--brand);flex:0 0 19px}input[readonly]{background:#f7f9f8}label{display:grid;gap:6px;font-weight:600}.check{display:flex;align-items:center;gap:9px;font-weight:500;min-height:40px}fieldset{border:0;padding:0;margin:0;min-width:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(1360px,100%);margin:auto;padding:24px 28px}.brand{display:inline-block;margin-bottom:5px;font-size:13px;font-weight:700;text-decoration:none}.page-header p{color:var(--muted);margin-top:5px}.header-actions,.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.workspace{display:grid;grid-template-columns:200px minmax(0,1fr);width:min(1360px,calc(100% - 56px));min-height:calc(100vh - 160px);margin:0 auto 28px;border:1px solid var(--line);border-radius:8px;background:#fff}.directory{display:flex;flex-direction:column;gap:5px;padding:18px 12px;border-right:1px solid var(--line);align-self:stretch}.directory button{justify-content:flex-start;border:0;background:none;text-align:left;font-weight:500}.directory button[aria-current=page]{background:#e9f4ef;color:var(--brand);font-weight:700}.content{min-width:0;padding:26px 28px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.section-heading>div{min-width:0}.section-heading p{max-width:780px;margin-top:8px;color:var(--muted)}.section-heading>button{flex-shrink:0}.eyebrow{display:block;color:var(--brand);font-size:12px;font-weight:700;margin-bottom:4px}.hint{font-size:13px;color:var(--muted);font-weight:400}.status{font-size:14px;color:#446358;overflow-wrap:anywhere}.status:not(:empty){padding:11px 13px;margin:14px 0;border:1px solid #cfe2d6;border-radius:5px;background:#f2f8f3}.status.error{color:#a33125;border-color:#edccc4;background:#fff5f2}.status.warn{color:#845707;border-color:#ecdfbc;background:#fffaf0}body>#pageStatus:not(:empty),body>.notice{width:min(1304px,calc(100% - 56px));margin:0 auto 16px}.notice{padding:16px;background:#f4f8f6;border:1px solid #d7e6dd;border-radius:6px;margin:20px 0}.notice p+button,.notice label,.notice .actions{margin-top:12px}.rule-table-wrap{overflow:auto;margin-top:22px}.rule-table{border-collapse:collapse;width:100%;text-align:center;min-width:570px}.rule-table th,.rule-table td{padding:14px 10px;border-bottom:1px solid var(--line)}.rule-table th{font-size:14px;background:#f7f9f8}.rule-table th:first-child{text-align:left}.rule-table small{display:block;min-height:20px;color:var(--muted);font-weight:400;font-size:11px}.rule-table label{display:flex;justify-content:center;align-items:center;min-height:28px}.rule-table-wrap+.hint{margin-top:12px}.subheading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 13px}.subheading p{font-size:13px;color:var(--muted);margin-top:3px}.search{flex:1;max-width:340px}.subheading .search span{font-size:12px}.recipient-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;max-height:360px;overflow:auto;border-block:1px solid var(--line);overscroll-behavior:contain}.recipient{display:flex;align-items:center;gap:11px;padding:14px 10px;border-bottom:1px solid #eef2ef;min-width:0}.recipient>span{display:grid;min-width:0;gap:4px;overflow-wrap:anywhere}.recipient small{font-size:12px;font-weight:400;color:var(--muted)}.recipient.unavailable{color:#9a4e1b}.empty{padding:34px 14px;text-align:center;color:var(--muted);grid-column:1/-1}.savebar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.filters{display:flex;align-items:end;gap:12px;margin:22px 0}.filters label:first-child{width:180px}.record-list{border-top:1px solid var(--line)}.record{padding:18px 0;border-bottom:1px solid var(--line)}.record-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:16px}.record strong{display:block;overflow-wrap:anywhere}.record p,.record time{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.record details{margin-top:10px;font-size:13px;color:var(--muted)}.record summary{cursor:pointer}.record details p{margin-top:6px}.badge{display:inline-block;padding:3px 8px;border-radius:4px;background:#eef5f1;color:#27614e;font-size:12px}.badge.failed,.badge.unknown,.badge.blocked{background:#fff0e6;color:#8c5018}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:18px;color:var(--muted)}.pagination span{margin-right:auto}.binding-summary{padding:26px 0}.binding-summary strong{font-size:18px}.binding-summary p{color:var(--muted);margin-top:7px}.binding-summary~.hint{margin-top:24px}.config-section{padding:22px 0;border-bottom:1px solid var(--line)}.config-section .subheading{margin:0 0 12px}.config-section>label,.config-section>.field-grid{margin-top:15px}.config-section>.hint{margin:8px 0}.field-grid,.mapping-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mapping-list{display:grid;gap:8px;margin:8px 0 12px}.mapping-row{display:flex;align-items:center;gap:7px}.mapping-row>.parameter-number{flex:0 0 26px;color:var(--muted);text-align:center}.mapping-row>input,.mapping-row>select{flex:1;min-width:0}.mapping-row button{padding:5px 9px;min-width:35px;font-size:13px}.mapping-row button[data-move]{padding:5px;min-width:28px}.callback-field input{font-size:12px}.config-section:last-of-type{border-bottom:0}dialog{width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:9px;color:#24332f}dialog::backdrop{background:#152b2866}dialog h2{font-size:20px}dialog p,dialog label{margin-top:15px}dialog .actions{justify-content:flex-end;margin-top:20px}@media(max-width:1000px){.page-header{padding:20px}.workspace{width:calc(100% - 40px);grid-template-columns:175px minmax(0,1fr)}.content{padding:22px}.mapping-columns{grid-template-columns:1fr}.record-main{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.record-main>.actions{justify-content:flex-end}.recipient-list{grid-template-columns:1fr}body>#pageStatus:not(:empty),body>.notice{width:calc(100% - 40px)}}@media(max-width:700px){.page-header{padding:18px 15px;align-items:flex-start;gap:14px}.page-header h1{font-size:20px}.page-header p{font-size:12px}.header-actions{gap:6px;justify-content:flex-end;max-width:130px}.header-actions>*{min-height:36px;padding:7px 9px;font-size:12px}.workspace{display:block;width:100%;margin:0;border-radius:0;border-inline:0}.directory{position:sticky;top:0;z-index:5;flex-direction:row;overflow:auto;padding:8px 10px;border:0;border-bottom:1px solid var(--line);background:#fff}.directory button{flex:0 0 auto;min-height:42px;padding:8px 10px;font-size:13px}.content{padding:20px 15px 32px}.section-heading{gap:10px}.section-heading h2{font-size:19px}.section-heading p{font-size:13px}.section-heading>button{min-height:36px;padding:7px 9px;font-size:12px}.subheading{align-items:flex-start;flex-direction:column;gap:10px}.subheading .search{max-width:none;width:100%}.rule-table{min-width:0}.rule-table th,.rule-table td{padding:10px 3px;font-size:12px}.rule-table small{font-size:10px;line-height:1.35}.rule-table th:first-child{width:56px}.rule-table input{height:21px;width:21px}.rule-table td label{min-height:38px}.filters{display:grid;grid-template-columns:minmax(0,1fr) auto}.filters label:first-child{width:auto}.filters .search{grid-column:1/-1;grid-row:2;max-width:none}.filters>button{grid-column:2;grid-row:1}.record-main{gap:10px}.record-main>.actions button{min-height:42px}.pagination{flex-wrap:wrap}.pagination span{width:100%}.field-grid{grid-template-columns:1fr;gap:12px}.config-section .subheading{flex-direction:row;align-items:center}.mapping-row{gap:4px}.mapping-row button{min-height:42px}.mapping-row input,.mapping-row select{padding:7px 5px;font-size:12px}.mapping-row>.parameter-number{flex-basis:20px}.savebar{align-items:flex-start}.savebar button{flex-shrink:0}body>#pageStatus:not(:empty),body>.notice{width:calc(100% - 30px)}dialog{padding:20px}}
.group-notice-settings{margin-top:22px;padding:18px 0;border-top:1px solid var(--line)}.group-notice-settings>summary{font-weight:600;font-size:15px;color:#29473f;cursor:pointer}.group-notice-settings>summary .hint{margin-left:8px}.group-notice-settings[open]>summary{margin-bottom:16px}.group-notice-settings>.hint{margin-top:12px}.group-notice-settings>.field-grid,.group-notice-settings>label{margin-top:16px}@media(max-width:700px){.group-notice-settings>summary .hint{display:block;margin:4px 0 0 16px}}
/* Four internal event types remain on this optional settings page only. */
.business-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 24px}.business-rule{min-width:0;padding:14px;border:1px solid #dce3eb;border-radius:8px;background:#fff}.business-rule .recipient-list{max-height:240px;overflow:auto;margin-top:10px}.business-rule summary{cursor:pointer;font-size:14px}.business-rule .hint{margin:8px 0 12px}@media(max-width:700px){.business-rules{grid-template-columns:1fr}}
