
/* Anchor House Agent Lifecycle */
.al-panel{border:1px solid #ccdcd5;background:#fff}
.al-desc,.al-panel p{line-height:1.6}
.al-controls{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.al-controls button{border:1px solid #cbd9d3;border-radius:999px;padding:10px 15px;cursor:pointer;font:700 .72rem Manrope,Arial,sans-serif;background:#f8faf9;color:#193d47}
.al-controls button.active{background:#143a48;color:#fff;border-color:#143a48}
.al-controls small{font-size:.68rem;opacity:.7}
.al-search{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 15px}
.al-search input{border:1px solid #cfded9;border-radius:8px;flex:1;min-width:180px;padding:11px;font:500 .73rem Manrope,Arial,sans-serif}
.al-search small,.al-muted{font-size:.7rem;color:#77888a}
.al-list-wrap{overflow:auto}
.al-list-wrap .bo-table{min-width:630px}
.al-list-wrap td small{display:block;font-size:.66rem;color:#697e82;margin-top:4px}
.al-empty{padding:26px!important;text-align:center;color:#75858a}
.al-note{font-size:.71rem;line-height:1.5;min-height:16px;margin:12px 0;color:#396d5b}
.al-note.bad{color:#9d4537}
.al-state{display:inline-block;font-size:.64rem;font-weight:800;background:#eaf3ed;color:#30624a;border-radius:99px;padding:5px 10px}
.al-state.al-archived,.al-state.al-terminated,.al-state.al-inactive{background:#f9f0e0;color:#88643d}
.al-state.al-deleted{background:#f2f0f4;color:#675e70}
.al-dialog{border:1px solid #d6e4dd;border-radius:16px;width:min(770px,calc(100% - 30px));max-height:min(90dvh,850px);padding:26px;background:#fff;color:#163844;box-shadow:0 20px 65px #09213070;font-family:Manrope,Arial,sans-serif}
.al-dialog::backdrop{background:#081d2ac4}
.al-dialog[open]{display:block}
.al-dialog *{box-sizing:border-box}
.al-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.al-eyebrow{font-size:.64rem;letter-spacing:.1em;color:#a28b61;font-weight:800}
.al-dialog h2{font:600 2.1rem/1.1 Georgia,serif;margin:8px 0}
.al-modal-header p{font-size:.73rem;color:#6b8082;margin:0}
.al-close{border:0;background:#eff3f1;color:#375963;font-size:1.6rem;border-radius:50%;width:38px;height:38px;cursor:pointer}
.al-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:22px 0 13px}
.al-facts div{border:1px solid #e0ebe6;border-radius:10px;background:#f6f9f7;padding:12px;display:grid;gap:5px}
.al-facts span{font-size:.65rem;color:#718688}
.al-facts strong{font-size:.78rem;overflow-wrap:anywhere}
.al-warnings{padding-left:18px;line-height:1.65;font-size:.72rem;color:#667a7e;margin:12px 0}
.al-decisions{display:flex;flex-wrap:wrap;gap:10px;margin:19px 0 15px}
.al-retention{background:#fcf8f2;border:1px solid #ece2d2;border-radius:12px;padding:15px 17px;color:#695b4f}
.al-retention strong{font-size:.74rem}
.al-retention p,.al-retention ul{font-size:.7rem;line-height:1.7;margin:5px 0}
.al-retention ul{max-height:140px;overflow:auto;padding-left:20px}
.al-description{font-size:.77rem;line-height:1.6;color:#435d66;margin:19px 0}
.al-dialog label{display:block;font-size:.72rem;font-weight:800;margin:12px 0 6px}
.al-dialog input,.al-dialog textarea{width:100%;border:1px solid #c5d7d0;border-radius:8px;padding:12px;font:500 .77rem Manrope,Arial,sans-serif}
.al-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px}
.al-history{border-top:1px solid #e5eeea;margin:18px 0 0;padding-top:16px}
.al-history summary{cursor:pointer;font-size:.72rem;font-weight:800}
.al-history ul{padding-left:22px;max-height:160px;overflow:auto}
.al-history li{margin-bottom:10px;font-size:.7rem}
.al-history li small,.al-history li span{display:block;color:#678087;margin-top:3px}
@media(max-width:750px){.al-facts{grid-template-columns:repeat(2,1fr)}.al-dialog{padding:20px}}
