/* Phase 41.2 — Speaker Invitations & Official Correspondence */
:root{--phase412-blue:#0099FF;--phase412-orange:#FF9900;--phase412-ink:#101828;--phase412-soft:#f5f7fa;--phase412-line:#d7dde5}
.phase412-workspace-banner,.phase412-office-access,.phase412-correspondence-summary{border:1px solid var(--phase412-line);border-radius:18px;background:#fff;padding:20px}
.phase412-workspace-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;background:linear-gradient(135deg,rgba(0,153,255,.08),rgba(255,153,0,.08))}
.phase412-workspace-banner h2,.phase412-office-access h2{margin:4px 0 6px}.phase412-workspace-banner p,.phase412-office-access p{margin:0;color:#344054}
.phase412-caps{display:flex;flex-wrap:wrap;gap:8px}.phase412-cap{border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;background:#eef8ff;color:#0069ad;border:1px solid rgba(0,153,255,.3)}.phase412-cap.on{background:#fff4e5;color:#8a4b00;border-color:rgba(255,153,0,.45)}
.phase412-correspondence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.phase412-invitation-card{border:1px solid var(--phase412-line);border-radius:18px;background:#fff;padding:20px;display:grid;gap:12px}.phase412-invitation-card h3{margin:0;font-size:20px}.phase412-invitation-card p{margin:0;color:#475467}.phase412-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;font-weight:700;color:#475467}.phase412-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.06em;background:#eef8ff;color:#0069ad}.phase412-status.pending_approval{background:#fff4e5;color:#8a4b00}.phase412-status.approved,.phase412-status.accepted,.phase412-status.completed{background:#eafbf2;color:#147a43}.phase412-status.declined,.phase412-status.cancelled{background:#fff0f0;color:#a02626}.phase412-status.sent{background:#f0f4ff;color:#4059ad}
.phase412-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.phase412-objectives{display:grid;gap:8px}.phase412-objective-row{display:grid;grid-template-columns:42px 1fr 42px;gap:8px;align-items:start}.phase412-objective-row span{font-weight:900;color:var(--phase412-blue);padding-top:11px}.phase412-objective-row button{min-height:42px;border:1px solid var(--phase412-line);border-radius:10px;background:#fff;color:#9b1c1c;font-weight:900;cursor:pointer}.phase412-add-objective{justify-self:start}
.phase412-letter-stage{display:grid;gap:14px}.phase412-letter-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:space-between}.phase412-letter-toolbar .actions{display:flex;gap:8px;flex-wrap:wrap}.phase412-export-status{font-size:11px;color:#475467}.phase412-letter-paper{position:relative;width:min(900px,100%);aspect-ratio:1655/2340;margin:0 auto;background:#fff;overflow:hidden;box-shadow:0 18px 50px rgba(16,24,40,.13);font-family:"Montserrat",Arial,sans-serif;color:var(--phase412-ink)}.phase412-letterhead{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.phase412-letter-content{position:absolute;left:4.35%;right:4.35%;top:12.4%;bottom:14.6%;font-size:clamp(8px,1.26vw,15px);line-height:1.46}.phase412-draft-watermark{position:absolute;top:38%;left:15%;right:15%;transform:rotate(-28deg);text-align:center;font-size:clamp(28px,5vw,58px);font-weight:900;color:rgba(255,153,0,.1);pointer-events:none}.phase412-letter-top{display:flex;justify-content:space-between;gap:24px;font-weight:600}.phase412-letter-top>div:first-child{max-width:62%}.phase412-letter-top small{display:block;font-size:.82em;font-weight:500;color:#475467;margin-left:2.3em}.phase412-letter-paper h1{font-size:1.05em;margin:1.05em 0 .65em;font-weight:800;line-height:1.3}.phase412-letter-paper h2{text-align:center;font-size:1em;margin:.6em 0 .5em;font-weight:800}.phase412-letter-paper p{margin:.42em 0}.phase412-letter-paper ol{margin:.25em 0 .7em;padding-left:1.7em}.phase412-letter-paper li{padding-left:.22em;margin:.23em 0}.phase412-letter-contactline strong{color:#006dad}.phase412-letter-contacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin:.65em 0}.phase412-letter-contacts div{display:grid;gap:.15em}.phase412-letter-contacts strong{color:#006dad}.phase412-closing{font-weight:600;margin-top:.75em!important}.phase412-letter-reference{position:absolute;left:0;bottom:.1%;font-size:.7em;font-weight:700;color:#006dad}
.phase412-office-rights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.phase412-office-rights label{border:1px solid var(--phase412-line);border-radius:14px;padding:14px;display:flex!important;gap:10px!important;align-items:flex-start}.phase412-office-rights input{width:auto!important;min-height:0!important;margin-top:3px}.phase412-office-rights strong{display:block;font-size:12px}.phase412-office-rights small{display:block;margin-top:3px;color:#667085;font-size:10px;font-weight:500}
@media(max-width:760px){.phase412-correspondence-grid,.phase412-form-grid{grid-template-columns:1fr}.phase412-workspace-banner{align-items:flex-start;flex-direction:column}.phase412-office-rights{grid-template-columns:1fr}.phase412-letter-content{font-size:clamp(5.8px,2.15vw,10px)}.phase412-letter-top{gap:10px}.phase412-letter-contacts{gap:10px}.phase412-letter-toolbar{align-items:flex-start;flex-direction:column}}
@media print{body{background:#fff!important}.site-header,.admin-header,.member-portal-sidebar,.member-portal-mobilebar,.admin-footer,.site-footer,.mmustcu-assist,.phase412-letter-toolbar,.phase37-skip-link{display:none!important}.member-portal-content,.member-portal-main,.admin-page,.member-shell{display:block!important;padding:0!important;margin:0!important;width:auto!important}.container{width:auto!important;max-width:none!important;margin:0!important}.phase412-letter-stage{display:block!important}.phase412-letter-paper{width:210mm!important;height:297mm!important;aspect-ratio:auto!important;box-shadow:none!important;margin:0!important;page-break-after:avoid}@page{size:A4 portrait;margin:0}}
