/* OSC Email Center — integrated manager workspace */
.osc-mail-workspace{--oe-brand:#772949;--oe-line:#ead9e0;--oe-ink:#291822;--oe-muted:#82727a;color:var(--oe-ink)}
.oe-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#2c1423,#632442 80%,#8e4557);padding:32px 36px;border-radius:21px;color:#fff;margin-bottom:20px;box-shadow:0 18px 50px #401b3420}
.oe-hero:after{content:"✳";position:absolute;right:-18px;top:-100px;opacity:.09;font:350px Georgia;line-height:1}
.oe-hero .oe-eyebrow{color:#ffbdc5;font-size:11px;font-weight:800;letter-spacing:.21em}
.oe-hero h2{color:#fff;font-size:clamp(26px,3vw,40px);letter-spacing:-.05em;margin:12px 0 8px}
.oe-hero p{color:#f1dfe7;max-width:740px;font-size:13px;line-height:1.8;margin:0}
.oe-status{font-size:11px;color:#75344e;background:#ffe5ee;border:1px solid #e0b4c5;border-radius:20px;padding:8px 15px;display:inline-flex;gap:7px;align-items:center;margin-top:17px}
.oe-status[data-ready=true]{background:#e8f7ed;color:#1d6539;border-color:#bbebc8}
.oe-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--oe-line);padding-bottom:11px;margin:0 0 21px}
.oe-tabs button{padding:11px 17px;border-radius:12px;background:#f8f3f6;border:1px solid transparent;color:#76435c;font-size:12px;font-weight:800;transition:background .2s,color .2s}
.oe-tabs button[aria-selected=true]{background:#732946;color:#fff;box-shadow:0 8px 20px #7e31512d}
.oe-panel[hidden]{display:none!important}
.oe-panel{display:grid;gap:17px}
.oe-card{background:#fff;border:1px solid var(--oe-line);border-radius:18px;padding:clamp(17px,3vw,28px);box-shadow:0 8px 27px #4d173009}
.oe-card h3{font-size:18px;letter-spacing:-.03em;margin:0 0 7px}
.oe-card p{font-size:12px;color:var(--oe-muted);line-height:1.85;margin:0 0 13px}
.oe-card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.oe-kicker{font-size:10px;font-weight:800;letter-spacing:.15em;color:#9b4c6c;text-transform:uppercase}
.oe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.oe-form{display:grid;gap:15px}
.oe-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.oe-field label{font-size:12px;font-weight:800;color:#493341}
.oe-field :is(input,select,textarea){width:100%;max-width:100%;min-height:44px;border:1px solid #dfcfd6;background:#fffcfe;color:#30212a;border-radius:11px;padding:10px 12px;font:13px "Be Vietnam Pro",sans-serif;transition:border-color .2s,box-shadow .2s}
.oe-field :is(input,select,textarea):focus{outline:none;border-color:#ab5077;box-shadow:0 0 0 3px #cc8aa720}
.oe-field textarea{min-height:160px;resize:vertical;line-height:1.8}
.oe-field small{font-size:11px;color:#947e88;line-height:1.7}
.oe-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;flex-wrap:wrap}
.oe-btn{border-radius:11px;padding:11px 18px;min-height:44px;border:1px solid #cba9b8;background:#fff;color:#7b2a4d;font-weight:800;font-size:12px;transition:transform .2s,background .2s}
.oe-btn:hover:not(:disabled){transform:translateY(-2px);background:#faf0f4}
.oe-btn.primary{background:#722946;border-color:#722946;color:white}
.oe-btn.primary:hover:not(:disabled){background:#4f1b32}
.oe-btn:disabled{opacity:.48;cursor:not-allowed}
.oe-note{font-size:12px;color:#745768;line-height:1.75;background:#f9eef3;border:1px solid #ead4de;border-radius:12px;padding:13px 16px}
.oe-hint{font-size:11px;color:#997886}
.oe-preview-list{margin:13px 0 0;border-top:1px solid #eee2e7}
.oe-preview-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:15px;align-items:center;border-bottom:1px solid #efe6ea;padding:12px 0;font-size:12px}
.oe-preview-row small{font-size:11px;color:#917880}
.oe-pill{display:inline-block;background:#f5e6ee;border-radius:50px;padding:6px 11px;font-size:10px;font-weight:800;color:#813657}
.oe-pill.success{background:#e5f6ed;color:#19663a}.oe-pill.warning{background:#fff2df;color:#9a6220}
.oe-job{display:flex;justify-content:space-between;align-items:center;gap:19px;padding:16px 0;border-bottom:1px solid #f0e5e9}
.oe-job:last-child{border:0}
.oe-job strong{display:block;font-size:14px}
.oe-job small{display:block;font-size:11px;color:#86717b;margin:6px 0 0;line-height:1.7}
.oe-styles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.oe-formatted-preview{max-height:380px;overflow:auto;background:#faf7f8;border:1px solid #eadddf;border-radius:13px;padding:23px;line-height:1.85}
.oe-formatted-preview p{white-space:pre-wrap;font-size:inherit;color:inherit}
.oe-mini-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:5px 0}
.oe-mini-toolbar button{font-weight:900;background:#f8eef3;color:#732a4b;border:1px solid #e8cfd9;border-radius:8px;padding:6px 13px;font-size:13px}
.oe-ticket-shortcut{margin-top:13px;display:flex;flex-wrap:wrap;gap:9px;align-items:center;background:#f6ebf1;border:1px solid #e5ced9;padding:13px;border-radius:13px;font-size:12px}
.oe-template-input textarea{min-height:320px}
.oe-hide{display:none!important}
@media(max-width:1050px){.oe-styles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.oe-hero{padding:24px 19px}.oe-grid{grid-template-columns:1fr}.oe-styles{grid-template-columns:1fr 1fr}.oe-preview-row{grid-template-columns:1fr auto}.oe-preview-row>span:nth-child(2){display:none}.oe-job{align-items:flex-start;flex-direction:column}.oe-tabs button{flex:1;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.oe-btn,.oe-tabs button{transition:none}}


/* Email workspace usability and accessible term-aware queue */
.osc-mail-workspace .oe-hero{padding:clamp(22px,3.4vw,38px);margin-bottom:22px}
.osc-mail-workspace .oe-hero h2{letter-spacing:-.035em;line-height:1.2}
.osc-mail-workspace .oe-hero p{max-width:850px}
.oe-term-chip{display:inline-flex;margin:15px 0 0 10px;border:1px solid #fad7e6;background:#fff7fb;color:#73324e;padding:7px 13px;border-radius:99px;font-size:11px;font-weight:800;vertical-align:middle}
.oe-tabs{gap:9px;position:sticky;top:0;z-index:3;background:#fffdfd;padding:10px 0 13px;border-bottom:1px solid #eadce1}
.oe-tabs button{min-height:44px;white-space:normal;text-align:center;line-height:1.4}
.oe-panel>.oe-card{max-width:100%;min-width:0}
.oe-card-header h3{font-size:19px;line-height:1.4}
.oe-field input:focus-visible,.oe-field select:focus-visible,.oe-field textarea:focus-visible,.oe-btn:focus-visible,.oe-tabs button:focus-visible{outline:2px solid #a5446c;outline-offset:2px}
.oe-queue-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 14px;margin-bottom:11px;background:#f9f4f6;border:1px solid #ebdfe4;border-radius:12px}
.oe-queue-toolbar label{display:flex;align-items:center;gap:10px;font-size:12px;color:#6a4356;font-weight:700}
.oe-queue-toolbar select{min-width:165px;border:1px solid #d9c3cd;border-radius:9px;padding:9px 11px;background:#fff;color:#482739;font:inherit}
#oe-queue-count{color:#866476;font-size:12px}
.oe-job{display:grid;grid-template-columns:minmax(250px,1fr) auto auto;align-items:center;gap:14px;margin-bottom:9px;padding:17px 16px;border:1px solid #e9dfe4;border-radius:13px;background:#fff;box-shadow:0 3px 14px #7f2a480a}
.oe-job:last-child{border:1px solid #e9dfe4}
.oe-job>div:first-child{min-width:0}
.oe-job strong{font-size:14px;overflow-wrap:anywhere}
.oe-job small{font-size:11px;line-height:1.8;overflow-wrap:anywhere}
.oe-job .oe-actions{justify-content:flex-start}
.oe-job .oe-pill{white-space:nowrap}
.oe-job .oe-btn{white-space:normal}
.oe-note{overflow-wrap:anywhere}
@media(max-width:1120px){.oe-job{grid-template-columns:minmax(0,1fr) auto}.oe-job>.oe-actions{grid-column:1/-1}}
@media(max-width:760px){.oe-tabs{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.oe-job{display:flex;flex-direction:column;align-items:stretch}.oe-job .oe-btn{width:100%}.oe-queue-toolbar{align-items:stretch}.oe-queue-toolbar label{justify-content:space-between}.oe-term-chip{margin:10px 0 0}}


/* Quỹ CLB: responsive, accessible unpaid-member reminder selection */
.oe-reminder-top-actions{justify-content:flex-start;margin:12px 0 18px}
.oe-reminder-candidates{display:grid;gap:9px;margin:12px 0 16px;max-height:470px;overflow:auto;padding-right:3px}
.oe-reminder-person{display:grid;grid-template-columns:20px minmax(0,1fr) minmax(145px,auto);gap:14px;align-items:center;cursor:pointer;border:1px solid #eee0e7;background:#fffdfe;border-radius:12px;padding:14px}
.oe-reminder-person:hover{border-color:#d9a8bf;background:#fdf6f9}
.oe-reminder-person input,.oe-reminder-selectall input,.oe-reminder-consent input{accent-color:#79324e;width:18px;height:18px;margin:0;flex:none}
.oe-reminder-person-info{display:grid;gap:6px;min-width:0}
.oe-reminder-person-info strong{font-size:13px;color:#301c27;overflow-wrap:anywhere}
.oe-reminder-person-info small{font-size:11px;color:#927580;overflow-wrap:anywhere}
.oe-reminder-amount{display:grid;gap:6px;text-align:right;font-size:12px;color:#765467}
.oe-reminder-amount strong{font-weight:800;color:#a13752}
.oe-reminder-selectall,.oe-reminder-consent{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:12px;font-weight:700;line-height:1.7}
.oe-reminder-sample{margin:15px 0;padding:18px;border:1px solid #e8dce3;background:#faf6f8;border-radius:13px}
.oe-reminder-sample>strong{font-size:14px}
.oe-reminder-sample p{font-weight:700;color:#713852;margin:10px 0!important}
.oe-reminder-sample pre{font:12px/1.8 "Be Vietnam Pro",Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;max-height:270px;overflow:auto;background:#fff;border-radius:9px;padding:14px}
@media(max-width:650px){.oe-reminder-person{grid-template-columns:20px minmax(0,1fr)}.oe-reminder-amount{grid-column:2;text-align:left}}
