/* Dashboard-only controls; candidate profiles and other module buttons retain their styles. */
.card.myc2-correspondence-summary:hover{border-color:#dfe7f0;transform:none}
.myc2-correspondence-summary .myc2-summary-activity{margin-top:24px}
.myc2-correspondence-summary .myc2-summary-activity h3{font-size:1rem;letter-spacing:-.015em;margin:0 0 12px}
.myc2-correspondence-summary button{font:inherit;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.myc2-correspondence-summary .myc2-summary-thread{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;max-width:560px;min-height:48px;margin:9px 0;padding:13px 17px;border:1px solid #e0e8ef;border-radius:12px;background:#f5f8fb;color:#203b58;text-align:left;font-size:.93rem;font-weight:550;line-height:1.4;box-shadow:0 2px 5px #142c4504}
.myc2-correspondence-summary .myc2-summary-thread::after{content:'→';font-size:1.15rem;color:#7b91a4;flex-shrink:0;transition:transform .16s ease}
.myc2-correspondence-summary .myc2-summary-thread:hover{background:#edf3f8;border-color:#b4c6d7;box-shadow:0 4px 12px #102a4b0a}
.myc2-correspondence-summary .myc2-summary-thread:hover::after{transform:translateX(3px);color:#203b58}
.myc2-correspondence-summary .myc2-summary-thread.is-unread{border-left:3px solid #167a70;background:#f0f8f6;font-weight:650}
.myc2-correspondence-summary .myc2-summary-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid #edf0f4}
.myc2-correspondence-summary .myc2-summary-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 18px;border-radius:10px;font-size:.9rem;font-weight:600;line-height:1.4}
.myc2-correspondence-summary .is-primary{background:#173650;color:#fff;border:1px solid #173650;box-shadow:0 3px 8px #17365016}
.myc2-correspondence-summary .is-primary::after{content:'→';font-size:1rem}
.myc2-correspondence-summary .is-primary:hover{background:#244b68;border-color:#244b68;box-shadow:0 5px 12px #17365022;transform:translateY(-1px)}
.myc2-correspondence-summary .is-secondary{background:#fff;color:#486177;border:1px solid #d7e1e9}
.myc2-correspondence-summary .is-secondary::before{content:'↻';font-size:1.15rem;line-height:1}
.myc2-correspondence-summary .is-secondary:hover{background:#f4f7fa;border-color:#afc1d0;color:#203b58}
.myc2-correspondence-summary button:focus-visible{outline:3px solid #c19a58;outline-offset:3px}
.myc2-correspondence-summary button:disabled{opacity:.55;cursor:wait;transform:none;box-shadow:none}
@media(max-width:540px){.myc2-correspondence-summary .myc2-summary-actions{align-items:stretch}.myc2-correspondence-summary .myc2-summary-action{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.myc2-correspondence-summary button,.myc2-correspondence-summary .myc2-summary-thread::after{transition:none}.myc2-correspondence-summary .myc2-summary-thread:hover::after,.myc2-correspondence-summary .is-primary:hover{transform:none}}
/* Compact application tiles: one reusable visual language for the dashboard. */
#content:has(.myc2-dashboard-tile){grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;align-items:start}
.card.myc2-dashboard-tile{min-width:0;padding:0;border:1px solid #e0e7ee;border-radius:16px;background:#fff;box-shadow:0 3px 15px #182d4905;transition:border-color .18s ease,box-shadow .18s ease;overflow:hidden}
.card.myc2-dashboard-tile:hover{transform:none;border-color:#adbfce;box-shadow:0 5px 20px #182d490b}
.myc2-tile-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:92px;padding:19px 20px;cursor:pointer;list-style:none;position:relative}
.myc2-tile-header::-webkit-details-marker{display:none}
.myc2-tile-header::after{content:'⌄';position:absolute;bottom:7px;left:20px;color:#8a9bab;font-size:.85rem;line-height:1}
.myc2-dashboard-tile[open]>.myc2-tile-header::after{content:'⌃'}
.myc2-tile-header h2{font-size:1rem;font-weight:620;line-height:1.35;letter-spacing:-.02em;margin:0!important;color:#20364d}
.myc2-attention-count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 8px;border-radius:99px;background:#eff3f6;color:#6e8091;font-size:.79rem;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}
.myc2-attention-count.has-attention{background:#b74049;color:#fff;box-shadow:0 2px 6px #b740491a}
.card.myc2-dashboard-tile[open]{grid-column:1/-1;border-color:#b9c9d6;box-shadow:0 6px 24px #182d4909}
.myc2-dashboard-tile[open]>.myc2-tile-header{min-height:72px;border-bottom:1px solid #ecf0f4;background:#fbfcfe}
.myc2-dashboard-tile[open]>.myc2-tile-header h2{font-size:1.07rem}
.myc2-tile-body{padding:8px 22px 24px}
.myc2-tile-body>p{font-size:.88rem;color:#687c8f}
.myc2-tile-open{font:inherit;font-size:.88rem;font-weight:600;padding:11px 16px;border:1px solid #d6e1e9;border-radius:10px;background:#f8fafc;color:#27475f;cursor:pointer}
.myc2-tile-open:hover{background:#edf3f7;border-color:#afc3d2}
.myc2-tile-header:focus-visible,.myc2-tile-open:focus-visible{outline:3px solid #c19a58;outline-offset:-4px;border-radius:13px}
.myc2-tile-body>details{margin-top:18px;font-size:.9rem;border-top:1px solid #edf1f4;padding-top:14px}
.myc2-tile-body>details>summary{cursor:pointer;color:#3c5870;font-weight:600}
@media(max-width:540px){#content:has(.myc2-dashboard-tile){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.myc2-tile-header{min-height:96px;padding:16px 13px;gap:8px}.myc2-tile-header h2{font-size:.9rem}.myc2-tile-header::after{left:13px}.myc2-tile-body{padding:8px 15px 20px}}
@media(prefers-reduced-motion:reduce){.card.myc2-dashboard-tile{transition:none}}

/* The app launch remains the first, unmistakable action after expansion. */
.myc2-tile-launch{padding-top:16px;margin-bottom:16px}
.myc2-tile-open{background:#173650;color:#fff;border-color:#173650;box-shadow:0 3px 8px #17365016}
.myc2-tile-open:hover{background:#244b68;color:#fff;border-color:#244b68}

/* Reserve a separate badge row on compact tiles; long app names cannot overlap it. */
.myc2-dashboard-tile:not([open])>.myc2-tile-header{display:block;min-height:112px;padding:44px 18px 24px}
.myc2-dashboard-tile:not([open])>.myc2-tile-header h2{min-height:42px;overflow-wrap:break-word}
.myc2-dashboard-tile:not([open])>.myc2-tile-header .myc2-attention-count{position:absolute;top:12px;right:14px}
.myc2-dashboard-tile:not([open])>.myc2-tile-header::after{left:18px}
