/* Safe PDD clause locator enhancement to existing public teacher search */
#teacher-ref .clause-desk{margin-top:24px;padding:19px;border:1px solid #42654a;border-radius:17px;background:linear-gradient(135deg,#182a22,#14221b);color:#edf5ea}
#teacher-ref .clause-desk h3{font-size:21px;margin:0 0 7px;color:#e5f5e9}
#teacher-ref .clause-desk p{line-height:1.55;color:#c1d2c7}
#teacher-ref .clause-subtitle{font-size:13px;margin:0 0 12px}
#teacher-ref .clause-examples{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 15px}
#teacher-ref .clause-examples button{border:1px solid #557854;border-radius:100px;padding:7px 13px;background:#263b29;color:#eaf5e7;cursor:pointer}
#teacher-ref .clause-examples button:hover{border-color:#b4ea77}
#teacher-ref .clause-status{font-size:12px;font-weight:700;color:#b7ea82;letter-spacing:.2px;margin:12px 0}
#teacher-ref .clause-answer-card{padding:17px 16px;border:1px solid #38523f;border-radius:13px;background:#182720}
#teacher-ref .clause-answer-card h3{font-size:18px;margin:0 0 8px}
#teacher-ref .clause-answer-card p{font-size:13px;margin:7px 0;color:#c7d8cb}
#teacher-ref .clause-chapter{color:#b4ed87!important;font-weight:700}
#teacher-ref .clause-fine{font-size:11px!important;color:#a5b8ac!important}
#teacher-ref .clause-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#teacher-ref .clause-link{display:inline-block;max-width:100%;border:1px solid #6a915e;border-radius:9px;padding:9px 11px;color:#c1f38c;text-decoration:none;font-size:12px}
#teacher-ref .clause-help{font-size:13px}
@media(max-width:600px){#teacher-ref .clause-desk{padding:13px}#teacher-ref .clause-actions{flex-direction:column}#teacher-ref .clause-link{width:100%}}

/* Revision and provenance status */
#teacher-ref .revision-info{margin:13px 0 19px;border:1px solid #728358;background:#1e2b23;border-radius:13px;color:#dfece0}
#teacher-ref .revision-info summary{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:14px 15px;cursor:pointer;list-style:none}
#teacher-ref .revision-info summary::-webkit-details-marker{display:none}
#teacher-ref .revision-info summary strong{font-size:14px;color:#c8f1a0}
#teacher-ref .revision-info summary span{font-size:11px;color:#c3c9b8}
#teacher-ref .revision-body{border-top:1px solid #455d45;padding:10px 15px 16px}
#teacher-ref .revision-item{padding:12px 0;border-bottom:1px solid #334936}
#teacher-ref .revision-item strong{color:#e8f4e7}
#teacher-ref .revision-item p,#teacher-ref .revision-warning{font-size:12px;line-height:1.65;color:#c9d5c8}
#teacher-ref .revision-warning{color:#e4d5aa!important}
#teacher-ref .revision-links{display:flex;gap:10px;flex-wrap:wrap}
#teacher-ref .revision-links a{font-size:12px;color:#cbf4a7;text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){#teacher-ref .revision-info summary{display:block}#teacher-ref .revision-info summary span{display:block;margin-top:5px}}
