/* ZINERGI-IP-v1. Explicit client-sharing controls in existing coach screens. */
.tp-publication-options{display:grid;gap:12px;margin:16px 0;padding:18px;background:#f7f3eb;border:1px solid #e7dfd3;border-radius:16px}
.tp-publication-options label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:#332e28}
.tp-publication-options input[type=date]{padding:10px;border:1px solid #d8cebd;background:#fffdf9;border-radius:10px;font:inherit}
.tp-publication-options p{margin:0;font-size:12px;color:#71685e}
#careDocumentShareDialog{box-sizing:border-box;width:min(680px,calc(100% - 32px));max-height:90dvh;padding:24px;border:1px solid #d8cebd;border-radius:22px;color:#332e28;background:#fffdf9;overflow:auto}
#careDocumentShareDialog::backdrop{background:#332e2866}
#careDocumentShareForm{display:grid;gap:16px;padding:0}
#careDocumentShareForm h2,#careDocumentShareForm p{margin:0}
#careDocumentShareForm label{display:grid;gap:8px;font-size:14px;line-height:1.6}
#careDocumentShareForm input[type=checkbox]{width:20px;height:20px;accent-color:#806a55}
#careDocumentShareForm :is(textarea,input[type=date]){box-sizing:border-box;width:100%;padding:12px;border:1px solid #d8cebd;border-radius:12px;background:#fbf8f2;color:#332e28;font:inherit}
#careSharePreview{padding:20px;border:1px solid #d8cebd;border-radius:16px;background:#f7f3eb;overflow-wrap:anywhere}
#careDocumentShareDialog button{min-height:44px}
@media(max-width:540px){#careDocumentShareDialog{padding:20px}#careDocumentShareDialog .document-actions{display:grid;grid-template-columns:1fr}}
@media(max-width:820px){
 body.coach-unified .documents-page .documents-table{display:block!important;width:100%!important;min-width:0!important;table-layout:fixed!important}
 body.coach-unified .documents-page .documents-table tbody{display:grid!important;width:100%;min-width:0}
 body.coach-unified .documents-page .documents-table tr{display:grid!important;grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 body.coach-unified .documents-page .documents-table td{display:block!important;width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere}
 body.coach-unified .documents-page .document-actions{display:flex;flex-wrap:wrap;max-width:100%}
 body.coach-unified .documents-page .document-actions>*{min-width:0;white-space:normal}
}
