.letter-dialog{width:min(680px,calc(100vw - 24px));max-width:680px;max-height:calc(100vh - 28px);overflow:auto;padding:16px}.letter-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e8f0;padding-bottom:10px}.letter-dialog-heading h2{margin:0}.letter-dialog-heading p{margin:3px 0 0;color:#64748b}.letter-close{border:0;background:#111;color:#fff;width:28px;height:28px;border-radius:50%;font-size:22px;line-height:24px;padding:0}.letter-section{margin-top:14px}.letter-section-title{display:block;font-size:13px;color:#334155;margin-bottom:8px}.letter-recipient-list,.letter-template-list{display:grid;gap:6px;max-height:190px;overflow:auto}.letter-recipient,.letter-template{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:1px solid #dfe5eb;background:#fff;border-radius:9px;padding:9px 10px}.letter-recipient.selected,.letter-template.selected{border-color:#16864a;background:#f0faf4;box-shadow:0 0 0 1px rgba(22,134,74,.12)}.letter-recipient strong,.letter-recipient small,.letter-template strong,.letter-template small{display:block}.letter-recipient small,.letter-template small{color:#64748b;margin-top:2px}.letter-radio{width:14px;height:14px;border:1.5px solid #94a3b8;border-radius:50%;flex:0 0 14px;box-shadow:inset 0 0 0 3px #fff}.selected>.letter-radio{background:#16864a;border-color:#16864a}.letter-address{margin-top:8px;border:1px solid #dfe5eb;border-radius:9px;background:#f8fafc;padding:10px}.letter-address strong,.letter-address span{display:block}.letter-address span{margin-top:4px;color:#475569;white-space:pre-line}.letter-template-heading{display:flex;align-items:center;justify-content:space-between}.letter-template-heading span{font-size:11px;color:#64748b}.letter-category-chips{display:flex;gap:5px;overflow-x:auto;padding-bottom:7px}.letter-category-chips button{white-space:nowrap;border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:5px 8px;font-size:11px}.letter-category-chips button.active{border-color:#16864a;background:#eaf7ef;color:#116c3b}.letter-category-chips span{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#eef2f6;font-size:10px}.letter-template-search{width:100%;margin-bottom:8px}.letter-output{margin-top:14px;padding:12px;border:1px solid #cfe3d5;border-radius:10px;background:#fbfefc}.letter-output label{display:block;margin-top:8px}.letter-output label:first-child{margin-top:0}.letter-output select,.letter-output input{width:100%;margin-top:5px}@media(max-width:460px){.letter-dialog{width:calc(100vw - 12px);padding:12px}.letter-recipient-list,.letter-template-list{max-height:155px}}
/* Lawsyst eMail Create Letter refinement v1.0.0-alpha.10.88 */
.confirm-backdrop{padding:4px!important;align-items:stretch!important;justify-content:stretch!important}
.letter-dialog{box-sizing:border-box!important;width:100%!important;max-width:none!important;height:calc(100vh - 8px)!important;max-height:none!important;margin:0!important;border-radius:14px!important;padding:14px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.letter-dialog-heading{flex:0 0 auto}
.letter-dialog>.letter-section{min-height:0}
.letter-dialog>.letter-section:first-of-type{flex:0 0 auto}
.letter-dialog>.letter-section:nth-of-type(2){flex:1 1 auto;display:flex;flex-direction:column;min-height:220px}
.letter-recipient-list{max-height:150px!important}
.letter-template-list{flex:1 1 auto;max-height:none!important;min-height:150px}
.letter-category-chips{scrollbar-width:thin}
.letter-output{flex:0 0 auto;margin-top:10px!important;padding:12px!important}
.letter-template-search,.letter-output input,.letter-output select{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;padding:9px 11px!important;font:inherit;color:#0f172a;outline:none;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.letter-template-search:focus,.letter-output input:focus,.letter-output select:focus{border-color:#16864a!important;box-shadow:0 0 0 3px rgba(22,134,74,.13)!important}
.letter-output label{font-size:12px;font-weight:700;color:#334155}
.letter-output label input,.letter-output label select{font-weight:400}
.letter-address{padding:11px 12px!important;background:#f8fafc!important}
.letter-address span{line-height:1.45;overflow-wrap:anywhere;white-space:pre-line!important}
.letter-recipient,.letter-template{min-height:50px;padding:10px 11px!important}
.letter-template-search{margin:0 0 8px!important}
.letter-dialog .confirm-actions{margin-top:12px;position:sticky;bottom:0;background:#fbfefc;padding-top:8px}
@media (min-width:700px){.letter-dialog{width:min(980px,calc(100vw - 16px))!important;height:min(760px,calc(100vh - 16px))!important;margin:auto!important}}
/* v1.0.0-alpha.10.89 regression fixes */
.document-filters>input,.document-filters .folder-trigger{box-sizing:border-box!important;height:46px!important;min-height:46px!important}
.document-filters>input{padding-top:0!important;padding-bottom:0!important}
/* v1.0.0-alpha.10.90 requested refinements */
.letter-backdrop{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.letter-folder-select{padding-left:42px!important;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d2ad42' d='M3 6a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v9a3 3 0 0 1-3 3H5a2 2 0 0 1-2-2V6Z'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:12px center!important;background-size:20px 20px!important}
.letter-template-list{border-top:0!important}
