:root{font-family:system-ui,sans-serif;color:#1d312a;background:#f4f3ed;line-height:1.5}*{box-sizing:border-box}body{margin:0}.shell{width:min(1060px,calc(100% - 2rem));margin:auto}.top{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 0;border-bottom:1px solid #d8ded2;margin-bottom:2.2rem}.brand{color:#174f3d;font-weight:800;font-size:1.3rem;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,6vw,3.5rem);line-height:1.05;letter-spacing:-.045em;margin-bottom:1rem}h2{line-height:1.15}main{padding-bottom:3rem}.card{background:#fff;border:1px solid #d7dfd4;border-radius:1rem;padding:clamp(1rem,3vw,1.7rem);margin-bottom:1rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:1rem}.grid .card{margin:0}.row{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin:.75rem 0}.field{display:grid;gap:.3rem;margin:.65rem 0;font-weight:650}input,textarea,select,button{font:inherit;border:1px solid #9cafa3;border-radius:.45rem;padding:.45rem .65rem;color:inherit;background:#fff}textarea{min-width:0;resize:vertical;width:100%}button{cursor:pointer;font-weight:700}button.primary{background:#195842;color:#fff;border-color:#195842}button:disabled{opacity:.55;cursor:wait}input[type=checkbox]{accent-color:#195842}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #887931;outline-offset:2px}.item{border-top:1px solid #d7dfd4;padding:1rem 0}.status{min-height:1.5em;color:#62372c}.muted{color:#405a4f}.assignment{break-inside:avoid;border-bottom:1px solid #aaa;padding:1rem 0}.assignment img{width:92px;height:92px;display:block}.award{width:100%;height:auto;display:block;border-radius:.6rem}.history{display:grid;gap:.45rem}.profiles{display:grid;gap:.45rem}.profiles button,.history button{text-align:left}.print-area{background:#fff;padding:1rem;margin-top:1rem}.footer-check{margin:.8rem 0}.hidden,[hidden]{display:none!important}@media print{body{background:#fff;color:#111}.shell{width:100%}.top,.screen-only{display:none!important}.print-area{margin:0;padding:0}.award{border-radius:0;max-height:94vh;object-fit:contain}.assignment{padding:.5rem 0}.assignment img{width:78px;height:78px}@page{margin:12mm}}

details{margin:.65rem 0}summary{cursor:pointer}
.worksheet-page,.worksheet-page img{display:block;width:100%;height:auto}
@media print{.worksheet-page{break-inside:avoid;break-after:page}.worksheet-page:last-child{break-after:auto}.worksheet-page img{width:auto;max-width:100%;max-height:260mm;margin:auto}}

.matching{width:100%;border-spacing:0 .4rem}.matching td{width:50%}

.draft-preview{display:block;width:100%;max-width:760px;height:auto;margin:1rem auto;border:1px solid #ddd}

.review-note{border-left:4px solid #a86c19;background:#fff6e4;padding:.7rem 1rem;margin:.7rem 0}.review-note p{margin:.3rem 0}

@page picture-landscape{size:A4 landscape;margin:10mm}@media print{.worksheet-page.landscape{page:picture-landscape}.worksheet-page.landscape img{max-height:188mm}}

@media print{.worksheet-page.measured img{width:180mm;height:auto;max-width:none;max-height:none;margin:auto}}
@media print{main{padding-bottom:0}}

/* Studio areas */
.top{gap:1rem;flex-wrap:wrap}.tabs{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;flex:1}
.tabs a{border-radius:.45rem;padding:.45rem .65rem;font-weight:650;color:inherit;text-decoration:none;white-space:nowrap}.tabs a:hover{background:#e7ebe2}
.tabs a[aria-current]{background:#195842;color:#fff}.tabs .quiet{margin-left:auto;font-weight:500;color:#405a4f;display:flex;gap:.2rem .6rem;align-items:center;flex-wrap:wrap}
.tabs .quiet a{font-weight:500;text-decoration:underline;padding:.2rem .3rem}.tabs .classes{display:flex;gap:.2rem;align-items:center;flex-wrap:wrap}
.lead{font-size:1.1rem;color:#405a4f;max-width:46rem}.narrow{max-width:30rem;margin-inline:auto}.narrow h1{font-size:2rem}
.turn{padding:.5rem .8rem;border-radius:.6rem;background:#f4f3ed}.turn.user{background:#e9f1ea}
.history button[aria-current]{border-color:#195842;box-shadow:inset 4px 0 #195842}
h1{font-size:clamp(1.8rem,5vw,2.6rem)}
@media(max-width:640px){.tabs{order:3;flex-basis:100%}.tabs .quiet{margin-left:auto}.top{padding:.8rem 0;margin-bottom:1.4rem}}
.examples{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.example{display:flex;flex-direction:column;gap:.4rem}
.example img{width:100%;aspect-ratio:1240/1754;object-fit:contain;background:#fff;border:1px solid #d7dfd4;border-radius:.4rem}
.example h3{margin:.3rem 0 0;font-size:1.05rem}.example p{margin:0;font-size:.9rem}
.example button{margin-top:auto}.based-on{background:#e9f1ea;border-radius:.6rem;padding:.6rem .8rem;display:flex;flex-wrap:wrap;gap:.3rem .6rem;align-items:center}
.based-on button{padding:.1rem .5rem;font-weight:500}.based-on .muted{flex-basis:100%;font-size:.9rem}
button.link{border:0;background:none;padding:0;color:#174f3d;text-decoration:underline;font-weight:600}
.field.inline{grid-template-columns:1fr auto;align-items:center;font-weight:500}.material-preview{height:150px;overflow:hidden;display:grid;place-items:center;background:#fff;border:1px solid #d7dfd4;border-radius:.4rem}
.material-preview img{max-width:100%;max-height:148px;aspect-ratio:auto;border:0}.material-preview p{padding:.5rem;font-size:.8rem;align-self:start}
h2{font-size:1.3rem;margin-top:1.6rem}.card h2{margin-top:0}
.privacy{font-size:.9rem;margin:-.3rem 0 .8rem;max-width:46rem}.review-note.blocked{border-left-color:#a3261d;background:#fdecea}

/* Studio pages: links that act as buttons, status chips and progress */
a{color:#174f3d}a.button{display:inline-block;border:1px solid #9cafa3;border-radius:.45rem;padding:.45rem .65rem;font-weight:700;text-decoration:none;background:#fff;color:inherit}
a.button.primary{background:#195842;color:#fff;border-color:#195842}.example a.button{margin-top:auto;text-align:center}
.count{display:inline-block;min-width:1.5em;margin-left:.4em;padding:0 .4em;border-radius:1em;background:#a86c19;color:#fff;font-size:.8em;text-align:center}
.crumb{margin-bottom:.6rem}.crumb a{font-weight:600}
.plain{list-style:none;padding:0;margin:0;display:grid;gap:.4rem}
.chip{font-size:.85rem;font-weight:650;border-radius:1em;padding:.05rem .65rem;background:#e7ebe2}.chip.making{background:#fff6e4;color:#6d4408}
.chip.ready{background:#e9f1ea;color:#174f3d}.chip.failed{background:#fdecea;color:#8a1f17}.chip.new{background:#a86c19;color:#fff}
.chip.done{background:#195842;color:#fff}.chip.example{background:#e6eaf3;color:#2c3f66}
.progress{margin:.5rem 0}.progress p{margin:.3rem 0 0}progress{display:block;width:100%;height:1rem;accent-color:#195842}
.field.check{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:.5rem}
.lead{overflow-wrap:anywhere}h1{overflow-wrap:anywhere}h1:focus{outline:none}
.card>.item:first-child{border-top:0;padding-top:0}
.saved-profiles{list-style:none;padding:0;margin:.25rem 0 1rem}.saved-profiles li{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem 0;border-bottom:1px solid #e1e0d8;font-weight:600}.saved-profiles:empty{display:none}
.saved-profiles li.awards{display:block;font-weight:400;padding:.2rem 0 .9rem}.saved-profiles li.awards .muted{margin:0}
.example a.button{margin-top:0}.example a.button:first-of-type{margin-top:auto}
.example-pages{display:grid;gap:1.2rem;margin-top:1.2rem}.example-page{display:block;background:#fff;border:1px solid #d7dfd4;border-radius:.5rem;overflow:hidden}.example-page img{display:block;width:100%;height:auto}

/* The Worksheets overview: toolbar, status filters, and one card for every kind of item */
.toolbar{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin-bottom:.9rem}.search{display:flex;gap:.4rem;flex:1 1 16rem;min-width:0}.search input{flex:1;min-width:0}
.filters{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.7rem}
.filters a{border:1px solid #c5d0c6;border-radius:2em;padding:.2rem .8rem;font-weight:650;text-decoration:none;color:inherit;background:#fff;white-space:nowrap}
.filters a:hover{background:#e7ebe2}.filters a[aria-current]{background:#195842;border-color:#195842;color:#fff}.filters .n{font-weight:500;opacity:.75}
.summary{margin-bottom:.3rem}.summary+.status:empty{min-height:0;margin:0}.overview{margin-top:.9rem}.empty{background:#fff;border:1px dashed #b9c6ba;border-radius:.8rem;padding:1rem 1.2rem;max-width:46rem}h2.shelf{margin-bottom:.3rem}
.sheets{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:1rem;margin-bottom:1rem}
.sheet{display:flex;flex-direction:column;background:#fff;border:1px solid #d7dfd4;border-radius:.8rem;overflow:hidden;min-width:0}
.sheet-view{display:block;aspect-ratio:5/4;background:#eef0ea;border-bottom:1px solid #d7dfd4;overflow:hidden}
.sheet-view img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.sheet-blank{display:block;width:100%;height:100%;background:repeating-linear-gradient(#0000 0 1.05rem,#dfe4da 1.05rem 1.2rem) 1.2rem 1.4rem/calc(100% - 2.4rem) calc(100% - 2.8rem) no-repeat,#f7f7f2}
.sheet.failed .sheet-blank{background-color:#f9efed}
.sheet.making .sheet-blank{animation:waiting 2.4s ease-in-out infinite alternate}@keyframes waiting{to{opacity:.45}}@media(prefers-reduced-motion:reduce){.sheet.making .sheet-blank{animation:none}}
.sheet-body{display:flex;flex-direction:column;gap:.3rem;padding:.7rem .85rem .8rem;flex:1;min-width:0}.sheet-body p{margin:0}
.sheet-status{display:flex;gap:.3rem;flex-wrap:wrap}.sheet h3{margin:0;font-size:1.02rem;line-height:1.25;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sheet h3 a{color:inherit;text-decoration:none}.sheet h3 a:hover{text-decoration:underline}.sheet-meta{font-size:.88rem}.sheet .progress{margin:.2rem 0 0}.sheet .progress p{font-size:.88rem}
.sheet-actions{display:flex;gap:.25rem .55rem;flex-wrap:wrap;align-items:baseline;margin-top:auto!important;padding-top:.45rem;font-size:.86rem}.sheet-actions:empty{display:none}
.sheet-actions a,.sheet-actions button.link{font-weight:600;text-align:left}button.link.danger{color:#8a1f17}.sheet-actions .danger{margin-left:auto}
@media(max-width:520px){.sheets{grid-template-columns:1fr;gap:.7rem}.sheet{flex-direction:row}.sheet-view{flex:0 0 6.2rem;aspect-ratio:auto;min-height:7.5rem;border-bottom:0;border-right:1px solid #d7dfd4}.search button{display:none}}

/* People: the class team, invitations, and what is shown once to be passed on */
.person p{margin:0 0 .25rem}.person .row{margin:.35rem 0 0}.person .field{margin:0}.person .field.inline{display:flex;gap:.4rem;align-items:center}
.hand-over{border-left:4px solid #a86c19;background:#fff6e4;border-radius:.3rem;padding:.7rem 1rem;margin:.9rem 0}.hand-over input{width:100%;min-width:0;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.95rem}.hand-over p{margin:.3rem 0 0;min-height:0}.hand-over p:empty{display:none}.hand-over,.person,.roster,.narrow.people{overflow-wrap:anywhere}.hand-over .field,.people .field{grid-template-columns:minmax(0,1fr)}.roster .status:empty,.person+.status:empty{min-height:0;margin:0}
form.row{align-items:flex-end}form.row .field{flex:1 1 16rem;min-width:0;margin:0}.people input:not([type=checkbox]),.people select{width:100%;min-width:0}form.row.people button{flex:0 0 auto}

/* Learning profiles: their cards, the filter by profile, the forms, parents and replies */
.sheet-profile{font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-profile a{font-weight:600}.sheet-profile::before{content:"◆ ";color:#a86c19;font-size:.7em;vertical-align:.15em}
.filters.by-profile{align-items:center}.filters-label{font-size:.9rem;font-weight:650;color:#405a4f;margin-right:.2rem}.filters.by-profile a{max-width:16rem;overflow:hidden;text-overflow:ellipsis}
.profile-cards{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}.profile-card .sheet-body{padding:.9rem 1rem 1rem}.profile-card h3{-webkit-line-clamp:4}
.profile-text{white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:.94rem}
.profile-text.full{display:block;overflow:visible;font-size:1.08rem;max-width:46rem;background:#fff;border:1px solid #d7dfd4;border-left:4px solid #195842;border-radius:.5rem;padding:.8rem 1rem}
.profile-form input:not([type=checkbox]),.profile-form select{width:100%;min-width:0}.profile-form .field{grid-template-columns:minmax(0,1fr)}.profile-form .privacy{margin:.2rem 0 .6rem}
details.card>summary{font-weight:700}details.card[open]>summary{margin-bottom:.8rem}details.card:not([open]){padding:.7rem 1rem}
.field{grid-template-columns:minmax(0,1fr)}select{max-width:100%}
.profile-row{margin:.4rem 0 .8rem}.profile-row .field{margin:0}.profile-row .field.inline{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;min-width:0}.profile-row select{max-width:min(22rem,100%);min-width:0}
.checklist{border:1px solid #d7dfd4;border-radius:.6rem;padding:.4rem .9rem .6rem;margin:.65rem 0;min-width:0}.checklist legend{font-weight:650;padding:0 .3rem}.checklist .field{margin:.3rem 0;font-weight:500}
h3.people-part{margin:1.2rem 0 .4rem;font-size:1.05rem}.card>.row.people{align-items:flex-end}
.reply-text{white-space:pre-line;overflow-wrap:anywhere;margin:.2rem 0 .4rem}.reply p{margin-bottom:.2rem}.reply-form textarea{width:100%}
.top.family .tabs{justify-content:flex-end}
@media(max-width:520px){.sheet.profile-card{flex-direction:column}.profile-cards{grid-template-columns:1fr}.filters.by-profile a{max-width:100%}}

/* The composer: one box for a request, a change or an answer, with its materials as chips and a + menu */
.icon{display:inline-block;flex:0 0 auto;width:1.15rem;height:1.15rem;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.icon-plus{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")}
.icon-close{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E")}
.icon-upload{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.5l-8.2 8.2a5 5 0 0 1-7.1-7.1l8.5-8.5a3.4 3.4 0 0 1 4.8 4.8l-8.5 8.5a1.7 1.7 0 0 1-2.4-2.4l7.8-7.8'/%3E%3C/svg%3E")}
.icon-library{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.6'/%3E%3Cpath d='M21 15.5l-5-5L5.5 20'/%3E%3C/svg%3E")}
.composer-field{margin:.5rem 0 .4rem;min-width:0}.composer-label{display:block;font-weight:650;margin-bottom:.4rem}
.composer{position:relative;background:#fff;border:1px solid #cfd8cd;border-radius:1.1rem;box-shadow:0 1px 2px #1d312a0d,0 4px 18px #1d312a12;padding:.5rem .55rem .5rem;transition:border-color .15s,box-shadow .15s}
.composer:focus-within{border-color:#7f988a;box-shadow:0 0 0 3px #19584217,0 4px 18px #1d312a14}
.composer.dropping{border-color:#195842;border-style:dashed;background:#f5f9f5}
.composer-input{display:block;width:100%;border:0;border-radius:.5rem;padding:.4rem .5rem;margin:0;background:transparent;resize:none;min-height:4.2rem;max-height:22rem;field-sizing:content;line-height:1.5}
.composer-input:focus-visible{outline:none}.composer-input::placeholder{color:#7a8b82}
.composer-chips{list-style:none;margin:0;padding:.15rem .15rem .35rem;display:flex;flex-wrap:wrap;gap:.45rem}
.composer-chip{display:flex;align-items:center;gap:.55rem;min-width:0;max-width:100%;background:#f6f6f1;border:1px solid #dfe3da;border-radius:.8rem;padding:.3rem .3rem .3rem .3rem}
.chip-thumb{display:block;flex:0 0 auto;width:2.75rem;height:2.75rem;border-radius:.55rem;object-fit:cover;background:#fff;border:1px solid #e0e4dc}
.chip-doc{background:repeating-linear-gradient(#0000 0 .32rem,#cfd7cc .32rem .42rem) .55rem .6rem/calc(100% - 1.1rem) calc(100% - 1.1rem) no-repeat,#fff}
.composer-chip.pending .chip-thumb{background:#eef0ea;animation:waiting 1.2s ease-in-out infinite alternate}
.chip-words{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;min-width:0;line-height:1.2}
.chip-name{font-size:.88rem;font-weight:650;max-width:13rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chip-use{font-size:.76rem;font-weight:650;line-height:1.3;border:1px solid #cdd6cb;border-radius:1em;padding:.05rem .55rem;background:#fff;color:#405a4f}
button.chip-use:hover{border-color:#195842;color:#195842}button.chip-use.print{background:#195842;border-color:#195842;color:#fff}
.chip-use.fixed{border-color:transparent;background:none;padding:0;font-weight:500}
.chip-remove{display:grid;place-items:center;flex:0 0 auto;width:1.7rem;height:1.7rem;padding:0;border:0;border-radius:50%;background:none;color:#405a4f;align-self:flex-start}
.chip-remove:hover{background:#e3e7de;color:#1d312a}.chip-remove .icon{width:.95rem;height:.95rem}
.composer .status{min-height:0;margin:.1rem .5rem .2rem;font-size:.9rem}.composer .status:empty{display:none}
.composer-bar{position:relative;display:flex;align-items:center;gap:.5rem;padding-top:.15rem}
.composer-plus{display:grid;place-items:center;width:2.2rem;height:2.2rem;padding:0;border:1px solid #d3dbd1;border-radius:50%;background:#fff;color:#1d312a}
.composer-plus:hover,.composer-plus[aria-expanded=true]{background:#eef1ea;border-color:#b9c6ba}
.composer-tip{position:absolute;left:1.1rem;bottom:calc(100% + .4rem);transform:translateX(-50%);background:#1d312a;color:#fff;font-size:.78rem;font-weight:600;line-height:1.2;padding:.25rem .5rem;border-radius:.4rem;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s .25s}
.composer-plus:hover+.composer-tip,.composer-plus:focus-visible+.composer-tip{opacity:1}.menu-open .composer-tip{opacity:0!important;transition:none}
.composer-menu{position:absolute;left:0;bottom:calc(100% + .45rem);z-index:20;min-width:min(17.5rem,calc(100vw - 3rem));background:#fff;border:1px solid #d7dfd4;border-radius:.85rem;box-shadow:0 10px 30px #1d312a2e,0 1px 3px #1d312a14;padding:.3rem}
.menu-item{display:flex;align-items:center;gap:.65rem;width:100%;border:0;border-radius:.55rem;background:none;padding:.5rem .6rem;font-weight:550;text-align:left;color:inherit}
.menu-item:hover,.menu-item:focus{background:#eef1ea;outline:none}.menu-item:focus-visible{box-shadow:inset 0 0 0 2px #887931}
.menu-label{flex:1}.menu-keys{font:inherit;font-size:.82rem;font-weight:500;color:#62756b}
.composer-send{margin-left:auto;border-radius:2em;padding:.4rem 1.05rem}
.composer-field>.muted{font-size:.9rem;margin:.45rem 0 0;max-width:46rem}
.picker[open]{display:flex;flex-direction:column;gap:.4rem}
.picker{width:min(42rem,calc(100% - 2rem));max-height:min(40rem,calc(100% - 2rem));padding:1rem 1.1rem;border:1px solid #d7dfd4;border-radius:1rem;box-shadow:0 18px 50px #1d312a40;color:inherit;background:#fff}
.picker::backdrop{background:#1d312a4d}
.picker-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.picker-head h2{margin:0;font-size:1.2rem}
.picker-close{display:grid;place-items:center;width:2rem;height:2rem;padding:0;border:0;border-radius:50%;background:none}.picker-close:hover{background:#eef1ea}
.picker-search{margin:.2rem 0}.picker-search input{width:100%;border-radius:.6rem}
.picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(8.4rem,1fr));gap:.6rem;overflow:auto;padding:.2rem;min-height:6rem;align-content:start}.picker-grid>p{grid-column:1/-1}
.picker-item{position:relative;display:flex;flex-direction:column;gap:.25rem;min-width:0;padding:.4rem;border:1px solid #d7dfd4;border-radius:.75rem;background:#fff;cursor:pointer;font-size:.88rem;font-weight:600}
.picker-item:hover{border-color:#9cafa3}.picker-item:has(input:checked){border-color:#195842;box-shadow:inset 0 0 0 1px #195842;background:#f3f8f3}
.picker-item:has(input:disabled){opacity:.5;cursor:not-allowed}.picker-item:has(input:focus-visible){outline:3px solid #887931;outline-offset:2px}
.picker-item input{position:absolute;top:.65rem;right:.65rem;width:1.15rem;height:1.15rem;margin:0}
.picker-thumb{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:.5rem;border:1px solid #e1e5dc;background-color:#f6f6f1}
.picker-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.picker-kind{font-size:.78rem;font-weight:500}
.picker-count{margin:.2rem 0 0;font-size:.88rem}.picker-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.6rem;margin-top:.3rem}.picker-foot a{margin-right:auto}
@media(max-width:520px){.chip-name{max-width:9.5rem}.picker{padding:.8rem}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@supports not (field-sizing:content){.composer-input{resize:vertical}}
.composer .status[data-tone=good]{color:#405a4f}
/* Reward cards in the studio: a kit's pictures over a chequered ground, its sample cards, and the approval preview. */
.reward-panel h3{margin:1.2rem 0 .4rem}.reward-panel h4{margin:.9rem 0 .4rem;font-size:1rem}.kit-box{border-top:1px solid #d7dfd4;padding-top:.8rem;margin-top:.8rem}
.kit-facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.2rem .8rem;margin:.4rem 0 .8rem}.kit-facts dt{font-weight:650}.kit-facts dd{margin:0;overflow-wrap:anywhere}
.swatches{display:flex;gap:.4rem;flex-wrap:wrap;margin:.4rem 0 .8rem}.swatch{width:7.5rem;height:1.5rem;border-radius:.3rem;border:1px solid #d7dfd4}
.kit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(8.4rem,1fr));gap:.6rem;margin:.6rem 0}.kit-tile{margin:0;display:flex;flex-direction:column;gap:.3rem;min-width:0}
.kit-tile.wide{grid-column:span 2}.kit-tile canvas{width:100%;height:auto;border-radius:.4rem;border:1px solid #d7dfd4}.kit-tile.failed canvas{border:2px solid #b3261e}
.checker{background:repeating-conic-gradient(#e4e7e0 0 25%,#fff 0 50%) 0 0/16px 16px}.kit-tile figcaption{display:flex;flex-direction:column;gap:.25rem;align-items:flex-start;font-size:.85rem}
.kit-tile figcaption button{font-size:.82rem;padding:.25rem .5rem}.chip.ok{background:#e9f1ea;color:#174f3d}.chip.warn{background:#fdecea;color:#8a1f17}
.sample-row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:flex-start}.sample-card{width:min(9.5rem,30vw);height:auto;border-radius:.5rem;box-shadow:0 2px 8px #0002}
.kit-choice{border-top:1px solid #d7dfd4;padding-top:.8rem;margin-top:1rem}.kit-choice select{width:100%;min-width:0}
.card-preview{margin-top:.8rem}.preview-row{border-top:1px solid #d7dfd4;padding:.6rem 0;display:grid;gap:.4rem}.preview-card{margin:0;display:flex;flex-direction:column;gap:.2rem;font-size:.8rem}
.reward-choice input[type=number]{max-width:6rem}
@media(max-width:520px){.kit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kit-tile.wide{grid-column:span 2}.kit-facts{grid-template-columns:minmax(0,1fr)}.sample-card{width:calc((100% - 1.2rem)/3)}}
.kit-tile.left-out canvas{opacity:.35}
