/* Shared compact layout for student and coach accounts. */
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}header{padding-top:20px;padding-bottom:20px;border-bottom-width:4px}header h1,h1{font-size:clamp(25px,4vw,34px);letter-spacing:-.7px;margin:12px 0 4px}header p{font-size:13px;line-height:1.5}.brandrow,.brand{gap:12px}.bjj-logo,.brand img{max-width:62px;max-height:62px;object-fit:contain}.brand{font-size:12px;letter-spacing:1.5px}.discipline{font-size:13px}.slogan{font-size:11px!important;letter-spacing:.08em;margin-top:10px!important}main{padding-top:18px}.panel,.card,article{border-radius:12px;padding:18px;box-shadow:0 2px 8px #173c5405}.panel{margin:14px 0}.grid{gap:14px}.card h2,.card h3,article h3{margin:7px 0 10px;line-height:1.3}.card p,article p{margin:9px 0}.summary{padding:14px 16px;margin:16px 0;gap:16px}.summary strong{font-size:21px}.filters{margin:16px 0;gap:8px}input,select,textarea{padding:9px 11px;border-radius:8px}button,.video-link{padding:9px 12px;font-size:14px;border-radius:8px;min-height:40px}nav{gap:8px}.category-tabs{margin:14px 0}.notice{padding:12px!important;font-size:13px;line-height:1.5;margin:12px 0!important}.progress-help{background:rgba(128,150,170,.08);color:inherit;border:1px solid #526579;border-radius:10px;padding:12px 14px;margin:12px 0}.progress-help summary,.mistakes summary{cursor:pointer;font-size:13px;font-weight:700}.mistakes{padding:10px 12px!important;margin:12px 0!important;border-radius:8px}.mistakes ul{margin:8px 0 0;padding-left:20px;font-size:14px}.signoff{margin-top:12px;padding-top:12px}.small,.muted{line-height:1.45}footer{padding:16px 0;font-size:12px}#programs,#account{margin:16px auto!important;padding:18px!important}#programs h2,#account h2{font-size:21px;margin:0 0 8px}#programs>p,#account>p{font-size:14px;margin:8px 0 12px}#program-list{gap:8px!important}#session-actions{font-size:13px}#coach-panel{margin-top:18px;padding-top:16px;border-top:1px solid #dce5eb}.coach-fields{margin-top:12px;padding-top:10px}.coach-fields label{margin:8px 0;font-size:12px}#step-title{font-size:23px;margin:20px 0 12px}.skill-section{font-size:18px}.eyebrow{font-size:11px;letter-spacing:.07em}.belt{height:30px}#stripes{width:112px}.stripe{width:13px}#skills>article .eyebrow{color:#527387}#skills>article p{font-size:14px}.roster-row{padding:10px 0}details>summary{font-size:14px}#coaching-view>h2{margin:14px 0}#coaching-view{margin-top:16px}@media(max-width:640px){header{padding:18px}.grid{grid-template-columns:1fr}main{padding:16px 12px}.panel,.card,article{padding:15px}.summary{gap:12px}.summary strong{font-size:20px}#programs,#account{padding:15px!important;margin:12px!important}.top{gap:12px}.top>div{max-width:100%}.top button{font-size:12px}.brand img{width:56px}#steps{gap:6px}#steps button{font-size:12px}.notice{font-size:12px}.signoff .fields{gap:8px}}
@media print{.progress-help[open] .notice{display:block}.mistakes{break-inside:avoid}details.mistakes>ul{display:block}}

/* Consistent high-contrast video controls across curricula. */
.technique-guide>summary,.assigned-video>summary{background:#f0bf4c!important;color:#172437!important;border:1px solid #c99122!important;border-radius:8px;padding:11px 13px!important;font-weight:750;cursor:pointer;line-height:1.4;box-shadow:0 2px 4px #00000012}
.technique-guide>summary:hover,.assigned-video>summary:hover{background:#ffcf61!important}
.technique-guide>summary:focus-visible,.assigned-video>summary:focus-visible{outline:3px solid #3b92e8;outline-offset:3px}
.assigned-video .video-link,.technique-guide a{background:#f0bf4c!important;color:#172437!important;border-radius:7px;padding:8px 11px;display:inline-block;font-weight:700;text-decoration:none;margin:5px 4px 5px 0}

.program-group{width:100%;margin:0;padding:12px 0;border-bottom:1px solid #687b8e40}.program-group:last-child{border-bottom:0}.program-group h3{font-size:12px;text-transform:uppercase;letter-spacing:.09em;margin:0 0 9px;color:inherit;opacity:.75}.program-row{display:flex;flex-wrap:wrap;gap:8px}.program-row button{margin:0}@media(max-width:600px){.program-row{display:grid;grid-template-columns:1fr}.program-row button{text-align:left;width:100%}}

#program-list button:disabled{background:#30343b!important;color:#a0a4ac!important;border-color:#52565e!important;opacity:1!important;cursor:not-allowed!important;box-shadow:none!important}#program-list button:disabled:hover{background:#30343b!important;color:#a0a4ac!important}

/* Clear, consistent Home navigation across rank pages. */
a[href="/"]:not(.video-link),a[href="./"]:not(.video-link){display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border:1px solid #34445d;border-radius:10px;background:#172234;color:#fff;text-decoration:none;font-weight:700;font-size:15px}

/* Consistent curriculum download buttons. */
a[download],a.download,a[href$=".pdf"]{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px!important;margin:8px 0;border:1px solid #34445d!important;border-radius:10px!important;background:#172234!important;color:#fff!important;text-decoration:none!important;font:700 15px/1.4 system-ui,sans-serif!important;cursor:pointer}a[download]:focus-visible,a.download:focus-visible{outline:3px solid #6398ff;outline-offset:3px}

/* Account sign-out belongs on the Hub home screen only. */
body:not(.g1-hub-home) #logout,body:not(.g1-hub-home) #signout,body:not(.g1-hub-home) #sign-out{display:none!important}
