
@media print{body.jaygah-printing-certificate> :not(.jaygah-certificate-document){display:none!important}body.jaygah-printing-certificate{height:auto!important;min-height:0!important;overflow:visible!important}body.jaygah-printing-certificate>.jaygah-certificate-document{position:relative!important;inset:auto!important;display:block!important;width:var(--certificate-print-width,297mm)!important;height:var(--certificate-print-height,209mm)!important;min-height:0!important;max-height:var(--certificate-print-height,209mm)!important;margin:0!important;padding:8mm!important;box-sizing:border-box!important;overflow:hidden!important;break-inside:avoid!important;box-shadow:none!important}body.jaygah-printing-certificate .jaygah-certificate-border{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;height:100%!important;min-height:0!important;margin:0!important;padding:7mm!important}body.jaygah-printing-certificate .jaygah-certificate-copy{flex:1;display:flex;flex-direction:column;justify-content:center;padding:4mm 0!important}body.jaygah-printing-certificate .jaygah-certificate-copy p{font-size:11pt!important;line-height:1.8!important}body.jaygah-printing-certificate .jaygah-certificate-document header,body.jaygah-printing-certificate .jaygah-certificate-document footer{flex-shrink:0!important}body.jaygah-printing-certificate .jaygah-certificate-document footer{position:static!important}body.jaygah-printing-certificate .jaygah-certificate-logo{max-height:18mm!important}body.jaygah-printing-certificate .jaygah-certificate-code svg{width:22mm!important;height:22mm!important}}.jaygah-learning-stats.jaygah-student-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.jaygah-student-stats article{display:flex;flex-direction:column;gap:0;min-width:0;min-height:192px;padding:20px;border:1px solid color-mix(in srgb,var(--jaygah-primary) 12%,var(--jaygah-surface));border-radius:16px;background:var(--jaygah-surface);color:var(--jaygah-text);box-shadow:0 2px 3px rgba(15,23,42,.04);text-align:start;grid-column:auto}
.jaygah-student-stats article>a,.jaygah-student-stats summary{display:flex;flex:1;flex-direction:column;gap:8px;color:inherit;text-decoration:none}
.jaygah-student-stats.jaygah-learning-stats strong{display:block;font-size:30px;line-height:1.2;margin-block:8px;font-weight:900}.jaygah-student-stats small{display:block;font-size:11px;color:var(--jaygah-muted);line-height:1.8}
.jaygah-student-stats article>a>span:first-child,.jaygah-student-stats article>span:first-child,.jaygah-student-stats summary>span:first-child{display:flex;align-items:center;justify-content:space-between;min-height:32px;font-size:12px;font-weight:700;color:var(--jaygah-muted)}
.jaygah-student-stats article>a>span:first-child:after,.jaygah-student-stats article>span:first-child:after,.jaygah-student-stats summary>span:first-child:after{content:'✧';display:grid;place-items:center;inline-size:32px;block-size:32px;border-radius:12px;background:color-mix(in srgb,var(--jaygah-primary) 8%,var(--jaygah-surface));color:var(--jaygah-accent-text,var(--jaygah-primary));font-size:18px}
.jaygah-student-stats article:first-child>a>span:first-child:after{content:'★';color:#b77913;background:#fffaeb}
.jaygah-student-stats article:nth-child(2)>a>span:first-child:after{content:'↗'}
.jaygah-student-stats article:nth-child(2) strong{color:var(--jaygah-accent-text,var(--jaygah-primary))}
.jaygah-student-stats article:nth-child(3)>span:first-child:after{content:'♨';color:#ed7b22;background:#fff7ed}
.jaygah-student-stats article>a>small:last-child,.jaygah-student-stats summary>small:last-child{margin-top:auto;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--jaygah-primary) 9%,var(--jaygah-surface))}
.jaygah-student-stats summary>small:last-child{color:var(--jaygah-accent-text,var(--jaygah-primary))}
.jaygah-student-stats .jaygah-badge-list{height:100%}.jaygah-student-stats .jaygah-badge-list summary{min-height:150px}
.jaygah-student-stats.jaygah-learning-stats article{grid-column:auto}
.jaygah-streak-week>span:not(.is-done){font-size:0}.jaygah-streak-week>span:last-child:not(.is-done){border-color:var(--jaygah-warning);background:color-mix(in srgb,var(--jaygah-warning) 8%,var(--jaygah-surface))}
.jaygah-student-stats summary{cursor:pointer}.jaygah-student-stats a:focus-visible,.jaygah-student-stats summary:focus-visible{outline:2px solid var(--jaygah-primary);outline-offset:4px}
.jaygah-streak-week{display:flex;justify-content:space-between;gap:4px;margin-block:8px;color:var(--jaygah-muted)}.jaygah-streak-week>span{display:grid;place-items:center;width:22px;height:22px;border:1px dashed rgba(var(--jaygah-primary-rgb),.3);border-radius:50%;font-size:11px}.jaygah-streak-week .is-done{color:var(--jaygah-on-primary,#fff);background:var(--jaygah-primary);border-style:solid;font-weight:700}.jaygah-student-stats .jaygah-button{width:100%;font-size:12px;padding:9px 5px;margin-bottom:8px}
.jaygah-flame{display:inline-block;width:14px;height:20px;margin-inline-end:3px;border-radius:70% 30% 65% 35%;background:linear-gradient(160deg,#ffb020 20%,#f04438 78%);box-shadow:inset 0 -5px 0 rgba(255,222,89,.7);transform:rotate(8deg);vertical-align:-3px}
.jaygah-badge-list ul{padding:0;list-style:none;max-height:360px;overflow:auto}.jaygah-badge-list li{display:grid;gap:6px;padding-block:14px;border-bottom:1px solid rgba(var(--jaygah-primary-rgb),.15);font-size:12px}
.jaygah-certificate-language{display:flex;align-items:center;justify-content:center;gap:6px;padding:5px;border:1px solid rgba(var(--jaygah-primary-rgb),.18);border-radius:14px;background:var(--jaygah-surface);box-shadow:var(--jaygah-shadow)}
.jaygah-certificate-language a{min-width:94px;padding:9px 18px;border-radius:10px;color:var(--jaygah-text);font-weight:800;text-align:center;transition:background-color .2s,color .2s,box-shadow .2s}
.jaygah-certificate-language a:hover,.jaygah-certificate-language a:focus-visible{color:var(--jaygah-accent-text,var(--jaygah-primary))}.jaygah-certificate-language a.is-active{background:var(--jaygah-primary);color:var(--jaygah-on-primary,#fff);box-shadow:0 5px 16px rgba(var(--jaygah-primary-rgb),.25)}
.jaygah-certificate-top-tools{display:flex;width:min(900px,100%);justify-content:center;margin-top:-10px}.jaygah-certificate-top-tools .jaygah-certificate-search{width:100%;grid-template-columns:auto minmax(320px,1fr);align-items:center;gap:16px;padding:12px 14px}.jaygah-certificate-top-tools .jaygah-certificate-search>div{grid-template-columns:minmax(0,1fr) auto}.jaygah-certificate-top-tools .jaygah-certificate-search label{white-space:nowrap}
.jaygah-certificate-verification,.jaygah-certificate-verification button,.jaygah-certificate-verification input,.jaygah-certificate-verification>.jaygah-certificate-document{font-family:"Abar",var(--shkrn-var-font-family),sans-serif}.jaygah-certificate-verification>.jaygah-certificate-document[lang=en]{direction:ltr;text-align:left;font-family:"Abar",var(--shkrn-var-font-family),sans-serif}
.jaygah-certificate-copy h2{letter-spacing:-.025em}.jaygah-certificate-document[lang=en] .jaygah-certificate-copy h2{letter-spacing:.01em;font-weight:700}.jaygah-certificate-copy p{line-height:2.05;font-size:clamp(12px,1.25vw,17px)}
.jaygah-certificate-document[dir=rtl] .jaygah-certificate-copy>div{direction:rtl;text-align:right}.jaygah-certificate-document[dir=ltr] .jaygah-certificate-copy>div{direction:ltr;text-align:left}
.jaygah-certificate-copy>div{width:min(840px,100%)}.jaygah-certificate-copy>div>p{margin:0 0 clamp(15px,2vw,25px)}.jaygah-certificate-copy>div>p:first-child{text-align:center;font-size:1.08em}.jaygah-certificate-copy strong{color:var(--certificate-accent);font-weight:900}
.jaygah-certificate-document[dir=ltr] header,.jaygah-certificate-document[dir=ltr] footer{direction:ltr}.jaygah-certificate-document[dir=rtl] header,.jaygah-certificate-document[dir=rtl] footer{direction:rtl}
.jaygah-certificate-copy .jaygah-certificate-metadata{display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;font-size:11px}.jaygah-certificate-metadata>div{display:grid;min-width:150px;gap:3px;padding:7px 13px;border:1px solid rgba(var(--jaygah-primary-rgb),.13);border-radius:9px;background:rgba(255,255,255,.5);text-align:center}.jaygah-certificate-metadata dt{color:var(--certificate-accent);font-weight:800}.jaygah-certificate-metadata dd{margin:0;font-weight:700}.jaygah-certificate-verification>.jaygah-certificate-document{min-height:650px;aspect-ratio:auto;overflow:visible}.jaygah-certificate-border{min-height:600px}.jaygah-certificate-copy>div p+p{margin-top:10px}
.jaygah-certificate-document .jaygah-certificate-logo{max-width:190px;max-height:78px;object-fit:contain;filter:drop-shadow(0 5px 10px rgba(16,80,90,.1))}
.jaygah-certificate-document .jaygah-certificate-border{border-width:2px;border-radius:4px;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.82),transparent 52%)}
.jaygah-certificate-endorsement{display:flex;align-items:flex-end;gap:18px}.jaygah-certificate-issuer{min-width:190px}.jaygah-signature-space{display:block;width:150px;height:54px;border-bottom:1px solid color-mix(in srgb,var(--certificate-text) 45%,transparent);background:linear-gradient(155deg,transparent 47%,rgba(var(--jaygah-primary-rgb),.08) 48%,transparent 52%)}
.jaygah-certificate-issuer>small{margin:6px 0 3px}.jaygah-certificate-hologram{position:relative;isolation:isolate;display:grid;width:86px;height:86px;flex:0 0 86px;place-content:center;justify-items:center;overflow:hidden;border:2px solid rgba(174,119,23,.5);border-radius:50%;background:conic-gradient(from 35deg,#ffe7a0,#8fe9e0,#a9b8ff,#f3a7d8,#ffe889,#96e1d3,#ffe7a0);box-shadow:inset 0 0 0 5px rgba(255,255,255,.48),inset 0 0 16px rgba(121,76,12,.25),0 7px 20px rgba(118,82,18,.2);color:#60410c;text-align:center;text-shadow:0 1px rgba(255,255,255,.8)}
.jaygah-certificate-hologram:before,.jaygah-certificate-hologram:after{content:"";position:absolute;inset:9px;border:1px dashed rgba(92,67,21,.48);border-radius:50%}.jaygah-certificate-hologram:after{inset:19px;border-style:solid}.jaygah-certificate-hologram span,.jaygah-certificate-hologram small{position:relative;z-index:1;font-family:"Abar",var(--shkrn-var-font-family),sans-serif}.jaygah-certificate-hologram span{max-width:66px;font-size:var(--jds-type-small,14px);font-weight:900;line-height:1.2;letter-spacing:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.jaygah-certificate-document[lang=en] .jaygah-certificate-hologram span{display:block;font-size:var(--jds-type-caption,12px);letter-spacing:0;white-space:nowrap}.jaygah-certificate-hologram small{margin-top:5px;font-size:8px;font-weight:800;line-height:1.1;letter-spacing:0}.jaygah-certificate-document[lang=en] .jaygah-certificate-hologram small{letter-spacing:.08em}.jaygah-certificate-code{padding:9px;border:1px solid rgba(var(--jaygah-primary-rgb),.13);border-radius:14px;background:rgba(255,255,255,.52)}
.jaygah-certificate-lookup-result[dir=rtl]{text-align:right}.jaygah-certificate-lookup-result[dir=ltr]{text-align:left}.jaygah-certificate-lookup-result .jaygah-print-certificate{justify-self:end;white-space:nowrap}
@media print{.jaygah-certificate-border{min-height:0}.jaygah-certificate-verification>.jaygah-certificate-document{min-height:0;overflow:hidden}.jaygah-certificate-copy p{font-size:11pt;line-height:1.65}.jaygah-certificate-copy{padding-block:8px}}
@media(max-width:680px){.jaygah-certificate-top-tools .jaygah-certificate-search{grid-template-columns:1fr}.jaygah-certificate-top-tools .jaygah-certificate-search label{white-space:normal}.jaygah-certificate-endorsement{gap:9px}.jaygah-certificate-hologram{width:62px;height:62px;flex-basis:62px}.jaygah-certificate-hologram span,.jaygah-certificate-document[lang=en] .jaygah-certificate-hologram span{max-width:42px;font-size:var(--jds-type-caption,12px)}.jaygah-certificate-document[lang=en] .jaygah-certificate-hologram span{font-size:calc(var(--jds-type-caption,12px)*.75)}.jaygah-certificate-issuer{min-width:110px}.jaygah-signature-space{width:96px;height:35px}}
@media print{.jaygah-certificate-language,.jaygah-certificate-top-tools,.jaygah-certificate-lookup-result,.jaygah-certificate-search{display:none!important}.jaygah-certificate-hologram{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
@media(max-width:1279px){.jaygah-learning-stats.jaygah-student-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:639px){.jaygah-learning-stats.jaygah-student-stats{grid-template-columns:minmax(0,1fr)!important}.jaygah-student-stats article{min-height:0}.jaygah-account-learning .jaygah-course-card h2{font-size:18px}}
.user-panel-dashboard-pnlt>.jaygah-dashboard-empty,.user-panel-dashboard-pnlt>.jaygah-dashboard-continue,.user-panel-dashboard-pnlt>.jaygah-learning-summary{flex:0 0 100%;width:100%;min-width:0;align-self:start!important;height:max-content!important;align-content:start}
.jaygah-student-stats article{align-content:start}.jaygah-student-stats article>a>span,.jaygah-student-stats article>span,.jaygah-student-stats summary>span{font-size:14px}
.jaygah-account-learning .jaygah-course-image:empty,.jaygah-dashboard-cover:empty{display:none}.jaygah-dashboard-copy,.jaygah-course-card-body{min-width:0;overflow-wrap:anywhere}.jaygah-dashboard-continue:has(.jaygah-dashboard-cover:empty){grid-template-columns:1fr}
.user-panel-dashboard-pnlt{display:grid!important;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content!important;align-items:start!important;align-content:start!important}

/* Keep the QR and endorsement in the paper frame on narrow screens. Print stays landscape. */
@media screen and (max-width:680px){.jaygah-certificate-document header{flex-wrap:wrap;justify-content:center}.jaygah-certificate-document .jaygah-certificate-logo{max-width:min(170px,100%);max-height:64px;margin-inline:auto}.jaygah-certificate-document header>span{flex-basis:100%;font-size:12px;text-align:center;overflow-wrap:anywhere}.jaygah-certificate-document footer{flex-wrap:wrap;justify-content:center}.jaygah-certificate-endorsement{min-width:0;max-width:100%}.jaygah-certificate-issuer{overflow-wrap:anywhere}.jaygah-certificate-code{max-width:100%;box-sizing:border-box}}
