.hr-learning-program,.hr-customer-intake{padding:1.25rem;margin:1.25rem 0;border:1px solid var(--line,#dce3e9);border-radius:16px;background:var(--surface,#fff);min-width:0}.learning-assignment-list,.hr-intake-list{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.learning-steps{display:grid;gap:.5rem;padding-left:1.5rem}.learning-steps li{padding:.25rem;overflow-wrap:anywhere}.learning-steps button{white-space:normal;text-align:left;max-width:100%}.learning-reader{padding:1rem;border:1px solid #cbd5e1;border-radius:12px;scroll-margin-top:1rem}.learning-scroll{height:min(68vh,780px);overflow:auto;border:1px solid #cbd5e1;padding:1rem;background:#f8fafc}.learning-scroll canvas,.learning-scroll img{display:block;max-width:100%;height:auto;margin:auto}.learning-scroll .hr-library-body{max-width:70ch}.learning-page-controls{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:.75rem 0}.learning-checksum{display:block;font-size:.78rem;overflow-wrap:anywhere;color:#526274}.learning-signature-form{display:grid;gap:.75rem;margin-top:1rem}.learning-signature-form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:.5rem}.learning-signature-form input[type=checkbox]{width:20px;height:20px;flex:none}.learning-signature{width:min(100%,640px);height:auto;touch-action:none;background:#fff;border:1px solid #64748b;border-radius:8px}.hr-customer-intake pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:28rem;overflow:auto}.hr-customer-intake .table-scroll{overflow:auto;max-width:100%}.hr-customer-intake td{max-width:22rem;overflow-wrap:anywhere}.hr-customer-intake article{scroll-margin-top:1rem}.hr-learning-program details,.hr-customer-intake details{margin:.75rem 0}.hr-learning-program form,.hr-customer-intake form{margin:1rem 0}.hr-learning-program input:not([type=checkbox]),.hr-learning-program select,.hr-customer-intake input:not([type=checkbox]),.hr-customer-intake textarea{max-width:100%;min-width:0}@media(max-width:650px){.hr-learning-program,.hr-customer-intake{padding:.75rem}.learning-steps{padding-left:1.1rem}.learning-reader{padding:.6rem}.learning-scroll{padding:.4rem}.learning-page-controls{flex-wrap:wrap}.learning-assignment-list button,.hr-intake-list button{width:100%;white-space:normal;text-align:left}.hr-customer-intake .form-grid{grid-template-columns:minmax(0,1fr)}}

/* The scroll container remains the reading/heartbeat boundary; only the inner prose is styled. */
.learning-scroll>.hr-library-body{max-width:74ch;margin:0 auto;padding:.5rem .25rem 1.5rem}
.learning-scroll:has(>.hr-library-body){background:#fff}

.learning-version-info{color:#52685b;font-size:13px;line-height:1.8}.learning-version-info summary{cursor:pointer}.learning-version-info[open]{padding-bottom:.75rem}

.learning-signed-receipt{margin-top:18px;padding:16px;border:1px solid #c8dfd1;border-radius:10px;background:#f3f9f5}.learning-signed-receipt img{display:block;width:min(320px,100%);height:auto;background:#fff;border:1px solid #d2dfd6}.learning-signed-receipt p{line-height:1.8}
