/* Changes from the first family-beta review. */
.beta-signin-link{color:inherit;font-size:.8rem;font-weight:700;margin-left:auto}
.beta-resource-heading{flex-wrap:wrap;gap:16px}
.beta-resource-heading>a[href="#signin"]{font-size:.85rem}
.beta-signin-frame{width:100%;border:0;min-height:720px}
.card-art{display:block;width:100%;height:180px;object-fit:contain;background:#f0ecf8;border-radius:12px;margin:0 0 20px}
.catalog-card .card-art{height:190px}
.browse-card .card-art{height:220px}
.moment-card .card-art{height:170px;background:#fff9e8}
.purchase-checks .card-art{height:150px;object-fit:cover}
.goal-connections .card-art{height:160px}
.kid-discover .catalog-card{border:0;border-radius:25px;overflow:hidden}
.kid-discover .catalog-card .card-art{height:200px;background:#fff0b2}
.kid-draw-door>img{width:110px;height:155px;object-fit:contain;align-self:center;flex-shrink:0}
.kid-print-door{display:flex;flex-direction:column!important;justify-content:center;align-items:center;gap:16px;padding:24px!important;text-align:center}
.kid-print-door>img{width:min(100%,260px)!important;height:190px!important;max-width:100%!important;object-fit:contain}
.kid-print-door>span{display:grid;gap:8px}
.kid-money-saying{align-self:center}
.kid-money-saying blockquote{margin:0 0 16px}
.kid-money-saying>a{display:block;font-size:14px;line-height:1.5}
.teaching-section{margin:48px 0}
.teaching-section>h2{font-size:2rem;line-height:1.2}
.teaching-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}
.teaching-card{border:1px solid #cbd7d7;border-radius:24px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.teaching-art{display:flex;align-items:center;justify-content:center;min-height:230px;padding:22px;background:#f0ecf8}
.teaching-art img{width:100%;height:210px;object-fit:contain}
.teaching-card>div{padding:28px;display:flex;flex-direction:column;flex:1}
.teaching-card h3{font-size:1.35rem;line-height:1.35;margin:0 0 14px}
.teaching-card p{font-size:1rem;line-height:1.65}
.teaching-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:18px}
.teaching-actions .button{font-size:.86rem;white-space:normal}
.teacher-access{padding:20px;background:#fff3cf;border-radius:16px}
.teaching-home{margin:36px 0;padding:30px;border-radius:24px;background:#e8efdd}
.teaching-home>a{margin:10px 18px 0 0;display:inline-block}
.goal-preview{background:#f5d85e}
.goal-sheet{border-radius:20px;min-height:760px;padding:25px;box-shadow:0 5px 15px #28202b20}
.sheet-brands{border:0;padding-bottom:20px}
.goal-sheet h2{font-family:inherit;font-size:34px;margin:10px 0 18px;color:#442475}
.sheet-goal-line{border:0;border-radius:22px;background:#fff1ac;align-items:center;padding:16px 20px;font-size:17px;flex-wrap:wrap}
.sheet-goal-line strong{font-size:36px;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sheet-body{grid-template-columns:minmax(0,1fr) 155px;gap:22px;margin:25px 0}
.sheet-joe{height:210px;transform:rotate(-5deg)}
.sheet-own-picture{border:2px dashed #baa2d3;border-radius:45% 38% 42% 35%;min-height:110px;display:grid;place-items:center;padding:20px}
.sheet-conversation{font-size:15px}
.sheet-answer-space{min-height:38px;width:100%}
.goal-thermometer{min-height:340px;gap:12px}
.thermometer-track{width:52px;border:3px solid #442475;border-radius:30px;background:repeating-linear-gradient(to top,#fff 0%,#fff 9.5%,#f0e8fa 9.5%,#f0e8fa 10%)}
.thermometer-fill{background:#cfb2ef;border:0}
.thermometer-ticks>div{font-size:16px;font-weight:700;gap:7px}
.thermometer-ticks>div:before{border-color:#9e80bb;width:6px}
.thermometer-ticks>div:first-child{color:#442475;font-size:20px}
.sheet-totals{border:0;padding:0;gap:14px}
.sheet-totals p{border-radius:20px;background:#e6f3d5;padding:14px 17px;font-size:14px}
.sheet-totals p+ p{background:#f1e5ff}
.sheet-totals strong{font-size:30px;line-height:1.25;margin-top:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sheet-footer{font-size:14px;margin:19px 0}
.sheet-credit{border:0;padding-top:4px}
.goal-simple .sheet-goal-line,.goal-simple .sheet-totals p{background:#edf3ef}
.goal-simple .sheet-own-picture{border-radius:18px}
.goal-simple h2{color:#24473e}
@media(max-width:700px){
 .teaching-grid{grid-template-columns:1fr}.teaching-art{min-height:180px}.teaching-art img{height:185px}
 .teaching-card>div{padding:23px}.teaching-section>h2{font-size:1.7rem}
 .card-art,.catalog-card .card-art,.browse-card .card-art{height:170px}
 .goal-sheet{padding:17px}.goal-sheet h2{font-size:28px}.sheet-body{grid-template-columns:minmax(0,1fr) 105px;gap:14px}
 .sheet-goal-line{padding:14px;font-size:15px}.sheet-goal-line strong{font-size:30px}
 .sheet-joe{height:185px}.goal-thermometer{gap:6px}.thermometer-track{width:33px}.thermometer-ticks>div{font-size:12px}.thermometer-ticks>div:first-child{font-size:15px}
 .sheet-totals p{padding:12px;font-size:12px}.sheet-totals strong{font-size:23px}.sheet-own-picture{padding:14px}
}
@media print{
 .goal-sheet{border-radius:0;min-height:0;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .sheet-brands{border:0;padding-bottom:8px}.goal-sheet h2{font-size:26pt;margin:6px 0 12px}
 .sheet-goal-line{padding:10px 16px}.sheet-goal-line strong{font-size:30pt}
 .sheet-body{grid-template-columns:minmax(0,1fr) 160px;flex:1;min-height:345px;margin:14px 0}
 .sheet-joe{height:175px}.sheet-own-picture{min-height:80px;padding:14px}.sheet-conversation{margin:12px 0 5px}
 .sheet-totals p{padding:10px 14px}.sheet-totals strong{font-size:25pt}.thermometer-ticks>div{font-size:14pt}.sheet-answer-space{min-height:28px}
 .sheet-footer{font-size:12px;margin:10px 0}
}

/* One image area and one text area for resource cards across the beta. */
.catalog-card.shared-card{padding:0}
.catalog-card.shared-card>.shared-image{border-radius:0;height:200px;background:#fff0b2}
.catalog-card.shared-card>div{padding:22px}
.kid-discover .catalog-card.shared-card{border:4px solid #fff;border-radius:26px}
.goal-connections.shared-grid{gap:24px}
.goal-connections article.shared-card{padding:0;border:1px solid #d9d0c7}
.goal-connections .shared-image{margin:0;display:flex;font-size:inherit}
.goal-connections .shared-card>div{padding:22px}
.goal-connections h2{font-size:23px;line-height:1.3}
.resource-save-book .shared-image{background:#d6eef1}
.resource-share-book .shared-image{background:#e6dcf4}
.resource-spend-book .shared-image{background:#fff0b2}
.shared-picture-book .shared-image img{mix-blend-mode:multiply}
.parent-situations{margin:8px 0 42px}
.parent-situations>h2{font-size:27px;margin-bottom:22px}
.parent-situations>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.parent-situations>div>a{display:flex;align-items:center;gap:15px;min-height:130px;padding:18px;border:1px solid #d0d9c9;border-radius:18px;background:#f2f5e9;text-decoration:none}
.parent-situations>div>a:nth-child(2n){background:#f8efd9;border-color:#e4d8b6}
.parent-situations>div>a:nth-child(3n){background:#e7f0ed;border-color:#bed5cb}
.parent-situations>div>a:hover{border-color:#456a54;box-shadow:0 3px 0 #456a5420}
.parent-situations img{width:65px;height:85px;object-fit:contain;border-radius:8px;mix-blend-mode:multiply}
.parent-situations strong{display:block;font-size:18px;line-height:1.4;margin-bottom:6px}
.parent-situations a>span>span{font-size:14px;line-height:1.5;display:block;color:#586451}
.parent-more-situations{display:inline-block;margin-top:20px}
.teen-parent-link{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;background:#e7f0ed;padding:18px 22px;border-radius:14px;font-size:14px;margin-bottom:20px}
.teen-parent-link a{font-weight:700}
.parent-teen-conversation{background:#fff0be;padding:30px;border-radius:22px;margin:32px 0}
.parent-teen-conversation h2,.parent-teen-next h2{font-size:27px}
.parent-teen-conversation blockquote{font-size:25px;line-height:1.5;margin:20px 0;color:#254e4c;max-width:760px}
.parent-teen-conversation p,.parent-teen-next p{font-size:17px;line-height:1.7;max-width:760px}
.parent-teen-conversation>a{display:inline-block;margin-top:15px}
.parent-teen-next>a{display:inline-block;margin:18px 18px 0 0}
@media(max-width:950px){.parent-situations>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.parent-situations>div{grid-template-columns:1fr}.parent-situations>div>a{min-height:100px;padding:15px}.parent-situations img{height:65px}.goal-connections article.shared-card{display:flex;flex-direction:column}.goal-connections .shared-image{height:180px}.catalog-card.shared-card>.shared-image{height:100%;min-height:170px}.parent-teen-conversation{padding:22px}.parent-teen-conversation blockquote{font-size:22px}}

/* Keep dates and lesson numbers with the resource, below its title. */
.shared-card p.resource-meta,.resource-detail p.resource-meta,.teaching-card p.resource-meta,.browse-card p.resource-meta{font-size:13px;line-height:1.5;font-weight:400;letter-spacing:normal;text-transform:none;color:#586451;margin:12px 0 0}
.teaching-card h3+.resource-meta{margin:0 0 12px}

/* Preserve artwork proportions and keep app screens readable on phones. */
.shared-image img{min-width:0;max-height:100%}
.shared-app .shared-image{height:240px;padding:14px;background:#e3f0e6}
.shared-app .shared-image img{width:100%;height:100%;object-fit:contain}
.resource-goal .shared-image{background:#c4e2bb}
.resource-goal .shared-image img{object-position:center}
.shared-newsletter .shared-image{display:flex;align-items:center;padding:17px;background:#e7dafa}
.shared-newsletter .shared-image img{height:100%;width:100%;object-fit:contain}
.book-image img{object-fit:contain;mix-blend-mode:multiply}
.kid-app-invitation>img{height:auto;object-fit:contain}
.family-goal-feature{grid-template-columns:170px 1.6fr 1fr}
.family-goal-feature>img{width:170px;height:auto;align-self:center;border-radius:16px}
.kid-maker-main>img{object-fit:contain;border-radius:18px;transform:none}
.kid-purchase-intro>img{border-radius:16px;object-fit:contain}
@media(max-width:900px){.family-goal-feature{grid-template-columns:140px 1fr}.family-goal-feature>img{width:140px}}
@media(max-width:650px){
 .shared-card.shared-app{display:flex;flex-direction:column}
 .shared-app .shared-image{height:auto;min-height:0;aspect-ratio:4/3;padding:16px}
 .shared-app .shared-image img{height:100%;max-height:none;object-fit:contain}
 .kid-app-invitation{flex-direction:column;align-items:stretch}
 .kid-app-invitation>img{width:100%;max-width:100%;height:auto;object-fit:contain}
 .family-goal-feature{grid-template-columns:1fr}
 .family-goal-feature>img{grid-column:1;grid-row:1;width:180px;justify-self:center}
 .family-goal-feature>div:not(.goal-feature-links){grid-column:1;grid-row:2}
 .shared-newsletter .shared-image img{max-height:185px}
}

@media(max-width:650px){.catalog-card.shared-card.resource-purchase-choice{display:flex;flex-direction:column}.catalog-card.shared-card.resource-purchase-choice>.shared-image{height:auto;min-height:0;padding:16px}.resource-purchase-choice .shared-image img{width:100%;height:auto;max-height:none}}
