/* Keep the update paper natural; its decorative pin must never scale with the text. */
#app[data-reference-layout=learningWeek] > .reference-pin{margin-top:34px!important;overflow:visible!important;padding-top:28px!important}
#app[data-reference-layout=learningWeek] > .reference-pin:before{inset:0!important;background:linear-gradient(#ffffffae,#ffffffae),url('art/classroom-v17/paper.svg') center/420px 420px repeat!important;clip-path:polygon(0 1%,12% 0,25% 1%,41% 0,55% 1%,70% 0,86% 1%,100% 0,99% 99%,86% 100%,71% 99%,57% 100%,40% 99%,24% 100%,10% 99%,0 100%)!important;box-shadow:1px 4px 5px #273e3033!important}
#app[data-reference-layout=learningWeek] > .reference-pin:after{width:16px!important;height:17px!important;top:-9px!important;left:calc(50% - 8px)!important;transform:rotate(-9deg)!important;z-index:3!important}
#app[data-reference-layout=learningWeek] .reference-topic-art{object-fit:contain!important;max-width:130px;max-height:140px;flex-shrink:0}
#app[data-page=learningDetail] > .no-print,#app[data-page=learningDetail] > .learning-print{max-width:720px;margin-left:auto;margin-right:auto}
#app[data-page=learningDetail] > .learning-print{width:calc(100% - 32px)}
@media print{#app[data-page=learningDetail] > :not(.learning-print){display:none!important}#app[data-page=learningDetail] > .learning-print{width:100%;max-width:none;border:0!important;background:#fff!important;box-shadow:none!important;color:#000!important}#app[data-page=learningDetail]{background:#fff!important;border:0!important}}

/* Put learning content on real paper, above legacy cork/pin surface rules. */
html body #app[data-reference-layout=learningWeek]>.reference-paper.reference-pin{background:#fffdf6 url('art/classroom-v17/paper.svg') center/420px 420px!important;border:2px solid #c4afd9!important;border-radius:12px!important;box-shadow:0 3px 8px #29322c24!important;margin:24px auto!important;padding:24px!important;width:calc(100% - 32px);max-width:720px;overflow:hidden!important}
html body #app[data-reference-layout=learningWeek]>.reference-paper.reference-pin:nth-of-type(n):before,html body #app[data-reference-layout=learningWeek]>.reference-paper.reference-pin:nth-of-type(n):after{content:none!important;display:none!important;background:none!important}
html body #app[data-reference-layout=learningWeek]>.reference-paper.reference-pin p{line-height:1.55}
html body #app[data-reference-layout=learningWeek]>.reference-learning-topic{display:flex;align-items:center;gap:20px}
html body #app[data-reference-layout=learningWeek]>.reference-learning-topic>div{min-width:0}
@media(max-width:480px){html body #app[data-reference-layout=learningWeek]>.reference-paper.reference-pin{padding:20px!important}html body #app[data-reference-layout=learningWeek] .reference-topic-art{max-width:90px;max-height:100px}}

/* Learning posts are readable sticky notes on the cork bulletin. */
html body #app[data-reference-layout=learningWeek]>.weekly-learning-sticky.reference-pin{background:linear-gradient(135deg,#fff6b8,#ffec91)!important;border:1px solid #e1c76b!important;border-radius:3px!important;box-shadow:1px 5px 8px #3329132b!important}
html body #app[data-reference-layout=learningWeek]>.reference-learning-topic.reference-pin{background:linear-gradient(135deg,#e4f8f0,#ccefe4)!important;border:1px solid #98cbbb!important;border-radius:3px!important;box-shadow:1px 5px 8px #223d3126!important}
html body #app[data-reference-layout=learningWeek] .learning-topic-label{font:600 13px/1.4 Arial,sans-serif;color:#49685c;margin:0 0 8px}

[data-go="weeklyLearningEdit"][role=button]{cursor:pointer}
[data-go="weeklyLearningEdit"][role=button]:focus-visible{outline:3px solid #8650bf;outline-offset:5px}
[data-go="weeklyLearningEdit"][role=button]:hover{filter:brightness(1.02)}
