:root{color-scheme:light;font-family:system-ui,'Tajawal',sans-serif}*{box-sizing:border-box}body{margin:0;background:#f5f8f7;color:#143943}.email-header{background:#134b49;display:flex;justify-content:space-between;gap:12px;padding:16px max(18px,calc((100vw - 1120px)/2))}.email-header a{color:#fff;text-decoration:none;font-weight:700}.email-main{max-width:1130px;margin:24px auto 70px;padding:0 16px}.email-hero{border-radius:20px;background:linear-gradient(120deg,#0b5650,#164e5b);padding:28px;color:#fff;box-shadow:0 12px 32px #17424a19}.email-hero span{color:#ffe2a1;font-weight:700}.email-hero h1{margin:9px 0;font-size:clamp(24px,4vw,34px)}.email-hero p{line-height:1.9;margin:0}.email-hero strong{direction:ltr;unicode-bidi:isolate}.panel{background:#fff;border:1px solid #d7e5e3;border-radius:17px;padding:22px;margin:18px 0;box-shadow:0 4px 18px #1640400a}.topline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.panel h2{margin:0 0 12px;font-size:20px}.panel h3{font-size:16px}.pill{border-radius:30px;padding:7px 14px;font-size:12px;font-weight:700;background:#ebf3f1;color:#23615b}.pill.ok{background:#e1f2e7;color:#177044}.status{padding:13px 16px;background:#e8f2f3;border-radius:12px;font-weight:600}.status.error{background:#fff1eb;color:#992c23}.hint{color:#5d7377;font-size:13px;line-height:1.8}.setup{border:1px dashed #b7cec6;background:#fbfdfb;border-radius:13px;padding:14px}.layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.layout>div{min-width:0}label:not(.check){display:block;font-weight:700;margin:12px 0 7px}input[type=search],input[type=text],#mailSubject,textarea{width:100%;font:inherit;background:#fff;border:1px solid #b9d0cc;border-radius:10px;padding:12px;outline-offset:2px}textarea{resize:vertical;min-height:180px}.check{display:flex;gap:10px;align-items:center;margin:15px 0;line-height:1.6}.check input{accent-color:#15734c;flex-shrink:0}button{font:inherit;border-radius:10px;padding:10px 16px;cursor:pointer;border:1px solid #b8cfc8;background:#fff;color:#195d56;font-weight:700}button.primary,#savePrefs,#setupBtn{background:#14704a;color:#fff;border-color:#14704a}button:hover:not(:disabled){filter:brightness(.96)}button:disabled{opacity:.58;cursor:not-allowed}.candidates{margin:8px 0;display:grid;gap:7px}.candidate{display:flex;text-align:right;align-items:center;justify-content:space-between;gap:8px}.candidate small{display:block;color:#667b7a;font-weight:400}.candidate[disabled]{background:#f5f5f5;color:#7a8180}.chips{display:flex;flex-wrap:wrap;gap:7px;padding:10px;min-height:46px;background:#f6faf9;border-radius:12px}.chips button{background:#dcefe8;color:#194d43;padding:7px 10px;font-size:12px}.scroll{overflow:auto}.scroll table{width:100%;min-width:570px;border-collapse:collapse;text-align:right}.scroll td,.scroll th{padding:10px;border-bottom:1px solid #e0ece9;font-size:13px}footer{padding:16px}footer a{color:#17665b}@media(max-width:720px){.layout{grid-template-columns:1fr}.email-hero{padding:19px}.panel{padding:16px}.email-main{margin-top:12px}}
