/* Scoped shared references only; tee-shot HUD and existing app layout are unchanged. */
.gy661-course-details{background:#f5f1e6;color:#14382b;padding:20px 20px 120px;min-height:100vh;font:15px/1.55 system-ui,sans-serif;overflow-wrap:anywhere}
.gy661-course-details header,.gy661-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px}
.gy661-course-details h2,.gy661-dialog h2{font-size:23px;margin:4px 0 12px}.gy661-course-details h3{font-size:21px}.gy661-course-details h4{font-size:17px;margin:24px 0 8px}
.gy661-course-details button,.gy661-course-details select,.gy661-dialog button,.gy661-dialog select{min-height:44px;border:1px solid #bccabb;border-radius:10px;background:#fffdf7;color:#14382b;font:inherit;padding:9px 13px}
.gy661-selectors{display:flex;gap:12px;margin:20px 0}.gy661-selectors label{flex:1}.gy661-selectors select,.gy661-origin select{display:block;width:100%;margin:4px 0}
.gy661-status{font-weight:700;color:#7a5514}.gy661-note{font-size:13px;color:#526858}.gy661-review{border-left:3px solid #b99247;background:#fff7e6;border-radius:6px;padding:12px;margin:12px 0}.gy661-review summary{cursor:pointer;font-weight:650}.gy661-review p{font-size:13px;margin:10px 0}
.gy661-course-details dl{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr);gap:8px 12px}.gy661-course-details dt{font-weight:650}.gy661-course-details dd{margin:0;font-variant-numeric:tabular-nums}
.gy661-table-wrap{overflow:auto}.gy661-table-wrap table{width:100%;font-size:12px;border-collapse:collapse;min-width:470px}.gy661-table-wrap th,.gy661-table-wrap td{text-align:left;padding:9px;border-bottom:1px solid #d7dfd2}.gy661-table-wrap tr[data-review=true]{background:#fff0df}
.gy661-hazard{display:grid;gap:3px;border:1px solid #d7dfd2;border-radius:10px;background:#fffdf7;padding:12px;margin:8px 0}.gy661-hazard span,.gy661-hazard small{font-size:13px}.gy661-hazard p{font-size:12px;overflow-wrap:anywhere;margin:4px 0}.gy661-hazard[data-review=true]{border-left:3px solid #b99247}.gy661-hazard details summary{cursor:pointer;font-size:12px}
.gy661-photo-library{margin:25px 0}.gy661-library-toggle{width:100%;font-weight:700!important;text-align:left}.gy661-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}.gy661-photo-grid button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px}.gy661-photo-grid img{width:100%;height:170px;object-fit:contain;background:#eee}.gy661-photo-grid b{font-size:13px}.gy661-photo-grid small{font-size:11px}
.gy661-dialog{border:1px solid #c4cfbf;border-radius:16px;max-width:760px;width:calc(100% - 24px);max-height:88dvh;overflow:auto;background:#f5f1e6;color:#14382b;padding:18px;font:14px/1.5 system-ui}.gy661-dialog::backdrop{background:#10291bd0}.gy661-dialog header{position:sticky;top:-18px;background:#f5f1e6;padding:8px 0;z-index:1}.gy661-dialog header button{font-size:25px;min-width:44px}.gy661-dialog button:disabled,.gy661-dialog option:disabled{opacity:.45}
.gy661-full-photo{display:block;max-height:65dvh;max-width:100%;height:auto;margin:auto;object-fit:contain}.gy661-photo-nav{display:flex;justify-content:space-between;gap:12px;margin-top:15px}.gy661-assigned-photo{max-width:100%;max-height:380px;object-fit:contain}
.gy661-reference-distances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gy661-reference-distances div{padding:12px 6px;text-align:center;background:white;border:1px solid #d7dfd2;border-radius:10px}.gy661-reference-distances b,.gy661-reference-distances span{display:block}.gy661-reference-distances b{text-transform:capitalize;font-size:12px}.gy661-reference-distances span{font-size:18px;margin-top:6px}
@media(max-width:450px){.gy661-course-details{padding:16px 14px 110px}.gy661-course-details dl{grid-template-columns:1fr}.gy661-course-details dd{margin-bottom:7px}.gy661-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
