/* This page inherits branding, type, background, header, navigation, decks and
   buttons from the existing /training.css. Only trainer-specific layout below. */
.properties-main{max-width:1000px}.properties-breadcrumbs{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted);margin:0 0 12px}.properties-breadcrumbs a{text-decoration:none}.properties-intro{padding:18px 0 20px;margin-bottom:22px}.properties-intro h1{font-size:clamp(28px,4vw,40px);max-width:820px;margin:12px auto;line-height:1.3}.properties-intro .title-star{font-size:30px}.properties-intro p{font-size:16px}.properties-setup{padding:28px 30px}.setup-section{margin:0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading h2,.session-settings h2{font-size:20px;margin:8px 0;line-height:1.5}.bank-count{font-size:12px;color:var(--muted);white-space:nowrap}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.property-topic{position:relative;text-align:left;padding:16px 18px;background:#fffefa;color:var(--ink);border:1px solid #e4d9e9;border-radius:14px;box-shadow:0 3px 0 #eee7f1;min-height:106px}.property-topic:hover{background:#faf6fe;border-color:#b798cb}.property-topic strong{font-size:16px;line-height:1.5;display:block;padding-right:20px}.property-topic small{display:block;font-size:12px;margin:5px 0;color:var(--muted);line-height:1.5}.topic-count{font-size:11px;color:var(--muted)}.property-topic[aria-pressed=true]{background:#f1e8f8;border-color:#bca0d3;box-shadow:inset 0 0 0 1px #bca0d3,0 3px 0 #e7daed}.property-topic[aria-pressed=true]:after{content:'✓';position:absolute;right:15px;top:16px;font-weight:800;color:#77558d}.session-settings{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid #eee5e9;padding-top:24px;margin-top:28px}.length-picker{display:flex;gap:8px;margin-top:13px}.length-picker button{background:#fffefa;color:var(--ink);border:1px solid #e4d9e9;border-radius:10px;min-height:42px;padding:7px 18px}.length-picker button[aria-pressed=true]{background:#eee3f5;border-color:#b79acb}.muted{font-size:13px;line-height:1.7;color:var(--muted)}.start-actions{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:280px}.start-actions>.primary{min-width:245px}.start-actions small{font-size:11px;line-height:1.6;text-align:center;color:var(--muted)}.start-actions .text-button:disabled{opacity:.45}.how-it-works{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px;border-top:1px solid #eee5e9;padding-top:12px}.how-it-works>div{display:flex;gap:10px;align-items:start}.how-it-works>div>span{background:#f1eaf5;color:#806b90;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:11px;margin-top:8px}.how-it-works p{font-size:12px;line-height:1.6}.how-it-works strong{display:block;font-size:13px;color:var(--ink)}.session-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-top:20px}#session-progress{margin:12px 0 18px}.reaction-card{margin-top:0}.reaction-card-top{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:18px}.mini-label{font-size:11px;font-weight:800;letter-spacing:.1em;color:#867097}.step-tag{font-size:11px;padding:4px 10px;border-radius:8px;background:#f1eaf5;color:#735786;white-space:nowrap}.reaction-card h2{font-size:23px;margin-top:0;line-height:1.5}.reaction-reagents{background:#fff;border:1px solid #e8deec;border-radius:17px;box-shadow:0 5px 0 #f1eaf5;text-align:center;font:400 clamp(24px,3.5vw,32px)/1.65 Arial,sans-serif;padding:25px 15px;margin:20px 0 25px;overflow-wrap:anywhere}.conditions{padding:13px 17px;border:1px dashed #d8cbb8;background:#fbf4eb;border-radius:13px;margin-bottom:20px}.conditions>span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#8d6e4f}.conditions p{margin:5px 0 0;font-size:15px;line-height:1.6;color:#55475d}.question-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.question-options button{position:relative;background:#fffefa;color:var(--ink);border:1px solid #e4d9e9;border-radius:14px;min-height:62px;padding:15px;font-size:16px;line-height:1.6;box-shadow:0 3px 0 #eee7f1}.question-options button:hover:not(:disabled){background:#f5eff9;border-color:#b798cb}.question-options.products{grid-template-columns:1fr}.question-options.products button{font:400 21px/1.5 Arial,sans-serif;text-align:center}.question-options button.chosen-correct{border:2px solid #81a879;background:#eef5ec;box-shadow:0 3px 0 #dce9d5}.question-options button.chosen-wrong{border:2px solid #cc9d86;background:#fff0ea;box-shadow:0 3px 0 #f0ded3}.answer-feedback{margin-top:22px;padding:17px 20px;border:1px dashed #dbcab9;background:#fbf2e8;border-radius:16px;font-size:15px;line-height:1.75}.answer-feedback.correct{background:#f6f8f0;border-color:#c5d5bc}.answer-feedback>strong{font-size:17px;display:block;color:#5a6f4f}.answer-feedback p{color:#55475d;font-size:15px;line-height:1.7}.feedback-equation{font:400 20px/1.8 Arial,sans-serif;color:var(--ink);padding:8px 0;overflow-wrap:anywhere}.question-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:23px}.session-hint{text-align:center;font-size:12px;color:var(--muted);margin:20px 0}.results-card h2{font-size:28px;line-height:1.4}.result-value{font-size:43px;font-weight:800;color:#73558b;margin:20px 0}.results-card p{font-size:15px;line-height:1.8}.result-topics{display:grid;gap:10px;margin:23px 0}.result-topic{display:flex;justify-content:space-between;gap:15px;padding-bottom:8px;border-bottom:1px solid #eee5e9;font-size:14px}.result-topic strong{white-space:nowrap}.result-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.error-summary{padding:15px 17px;border:1px dashed #dbcab9;border-radius:13px;background:#fbf4eb;margin:10px 0}.error-summary summary{cursor:pointer;font-size:15px;font-weight:700;line-height:1.6}.error-summary p{font-size:14px}#properties-notice{padding:13px 17px;border:1px solid #e3c6a6;border-radius:12px;background:#fbf2e8;line-height:1.7;font-size:14px;margin:15px 0}.reaction-card h2:focus,.results-card h2:focus{outline:none}
@media(max-width:700px){.properties-intro{padding:12px 0}.properties-setup{padding:24px 18px}.section-heading{align-items:start;flex-direction:column;gap:3px}.session-settings{align-items:stretch;flex-direction:column;gap:16px}.start-actions{max-width:none;align-items:stretch}.how-it-works{grid-template-columns:1fr;gap:4px}.how-it-works p{margin:6px 0}.properties-intro h1{font-size:29px}.properties-intro .title-star{font-size:25px;margin-left:7px}.properties-breadcrumbs{font-size:11px}.properties-intro p{font-size:15px}}
@media(max-width:500px){.topic-grid{grid-template-columns:1fr}.property-topic{min-height:0;padding:14px 16px}.property-topic strong{font-size:15px}.session-top{font-size:11px;flex-wrap:wrap;gap:7px}.session-top .text-button{font-size:12px}.reaction-card{padding:23px 16px}.reaction-card h2{font-size:20px}.reaction-card .mini-label{font-size:10px;line-height:1.6}.question-options{gap:9px}.question-options button{font-size:14px;padding:13px 9px}.question-options.products button{font-size:19px}.question-bottom .primary{width:100%}.result-value{font-size:36px}.results-card h2{font-size:24px}.feedback-equation{font-size:18px}.properties-page footer{gap:14px;flex-wrap:wrap}.reaction-reagents{font-size:25px}}


/* Compact practice: one context block, one answer area, no repeated introduction. */
.properties-main{max-width:1120px;margin:20px auto 0}.properties-page .top{padding:16px 30px}.properties-page .learning-tools a{padding:13px 20px}.properties-page .learning-tools strong{font-size:18px}.properties-page .learning-tools small{font-size:12px;margin-top:3px}.properties-breadcrumbs{font-size:11px;margin-bottom:7px}.properties-intro{padding:5px 0 12px;margin-bottom:12px}.properties-intro h1{font-size:28px;max-width:1050px;margin:8px auto;line-height:1.3}.properties-intro p{font-size:14px;margin:5px 0}.properties-intro .title-star{font-size:24px;margin-left:8px}.properties-intro .eyebrow{font-size:10px}.properties-setup{padding:20px 24px}.section-heading{margin-bottom:13px}.section-heading h2{font-size:18px;margin:3px 0}.section-heading .eyebrow{font-size:10px}.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.property-topic{min-height:78px;padding:10px 13px;border-radius:11px;box-shadow:0 2px 0 #eee7f1}.property-topic strong{font-size:14px;line-height:1.35}.property-topic small{font-size:11px;margin:3px 0;line-height:1.35}.topic-count{font-size:10px}.property-topic[aria-pressed=true]:after{top:10px;right:11px}.session-settings{margin-top:16px;padding-top:13px;gap:16px}.session-settings p{margin:0 0 4px;font-size:14px;font-weight:700;color:var(--ink)}.session-settings small{font-size:11px;color:var(--muted)}.start-actions{max-width:none;flex-direction:row;align-items:center;gap:15px}.start-actions>.primary{min-width:210px;font-size:14px;min-height:42px;padding:9px 17px}.start-actions .text-button{font-size:12px}.properties-storage-note{font-size:10px;color:var(--muted);margin:10px 0 0}.session-top{margin:0;font-size:12px}.session-top .text-button{padding:5px 0}#session-progress{margin:8px 0 13px;height:5px}.reaction-card{padding:20px 24px;border-radius:20px}.reaction-card-top{margin-bottom:8px}.reaction-card h2{font-size:21px;margin:0 0 13px}.reaction-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:center}.reaction-context{padding:14px 17px;background:#f8f4fc;border:1px solid #e8deec;border-radius:13px}.reaction-reagents{padding:0 0 10px;margin:0 0 9px;border:0;border-bottom:1px solid #e8deec;background:none;border-radius:0;box-shadow:none;font-size:27px;line-height:1.5}.conditions{padding:0;margin:0;background:none;border:0;border-radius:0}.conditions>span{font-size:9px;letter-spacing:.09em}.conditions p{font-size:13px;line-height:1.5;margin:3px 0 0}.reaction-answer .muted{font-size:12px;line-height:1.5;margin:0 0 8px}.question-options{gap:9px;margin:0}.question-options button{min-height:48px;padding:9px 12px;font-size:15px;box-shadow:0 2px 0 #eee7f1;border-radius:11px}.question-options.products button{font-size:19px;padding:8px 13px;min-height:43px}.answer-feedback{display:grid;grid-template-columns:100px minmax(0,1fr);gap:1px 14px;margin-top:15px;padding:11px 15px;border-radius:12px;font-size:13px;line-height:1.55}.answer-feedback>strong{grid-column:1;grid-row:1 / span 2;align-self:center;font-size:15px}.answer-feedback .feedback-equation{grid-column:2;padding:0;font-size:18px;line-height:1.6}.answer-feedback p{grid-column:2;font-size:13px;line-height:1.55;margin:0}.question-bottom{margin-top:13px;gap:13px;justify-content:flex-end}.question-bottom .button{font-size:14px;min-height:42px;padding:9px 18px}.question-bottom .text-button{font-size:12px}.properties-page:has(#session-view:not([hidden])) .properties-main{margin-top:16px}.properties-page:has(#session-view:not([hidden])) footer{margin-top:22px}.properties-page footer{margin-top:25px;padding-top:15px;padding-bottom:15px}
@media(max-width:800px){.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.properties-intro h1{font-size:25px}.start-actions{gap:10px}.session-settings{flex-direction:column;align-items:stretch}.start-actions>.primary{min-width:0}.reaction-workspace{gap:13px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.reaction-reagents{font-size:24px}.reaction-context{padding:12px}.answer-feedback{grid-template-columns:85px minmax(0,1fr)}}
@media(max-width:550px){.properties-page .top{padding:15px 18px}.properties-page .learning-tools a{padding:10px 15px}.properties-page .learning-tools strong{font-size:16px}.properties-page .learning-tools small{font-size:11px}.properties-main{margin-top:15px}.properties-breadcrumbs{flex-wrap:wrap;font-size:10px}.properties-intro h1{font-size:23px}.properties-intro p{font-size:13px}.properties-setup{padding:17px 14px}.property-topic{padding:10px;min-height:87px}.property-topic strong{font-size:12px;line-height:1.45;padding-right:13px}.property-topic small{font-size:10px;line-height:1.4}.topic-count{font-size:10px}.section-heading h2{font-size:16px}.start-actions{flex-wrap:wrap;align-items:center;justify-content:space-between}.start-actions>.primary{flex:1;min-width:170px}.reaction-card{padding:17px 15px}.reaction-card h2{font-size:18px}.reaction-workspace{grid-template-columns:1fr;gap:13px}.reaction-context{padding:11px 13px}.reaction-reagents{font-size:25px;text-align:left;padding-bottom:7px;margin-bottom:6px}.conditions p{font-size:12px}.question-options button{font-size:14px;min-height:44px}.question-options.products button{font-size:18px}.answer-feedback{display:block;padding:11px 13px}.answer-feedback>strong{margin-bottom:4px}.answer-feedback .feedback-equation{font-size:17px;line-height:1.7}.answer-feedback p{font-size:12px}.question-bottom{justify-content:flex-end}.question-bottom .primary{width:auto;flex:1;min-width:160px}.properties-page footer{font-size:11px;gap:12px}.properties-page:has(#session-view:not([hidden])) .learning-tools{display:none}}

/* A little notebook detail; all deciding conditions stay in the reaction. */
.reaction-card{position:relative;background:linear-gradient(135deg,#fffefa,#fffcff);overflow:visible}
.reaction-card:before{content:'';position:absolute;left:28px;top:-7px;width:61px;height:15px;background:#e8ddf0b3;border-left:1px dashed #c7b6d4;border-right:1px dashed #c7b6d4;transform:rotate(-4deg);pointer-events:none}
.reaction-card-top .mini-label{display:inline-flex;align-items:center;gap:7px;letter-spacing:.055em}
.reaction-card-top .mini-label:before{content:'✧';font-size:19px;line-height:1;color:#a08ab2}
.reaction-context{position:relative;isolation:isolate;padding:25px 17px 18px;background:#faf7fd;border:1px solid #e8deec;box-shadow:0 3px 0 #eee6f1;overflow:hidden}
.reaction-context:after{content:'';position:absolute;right:-15px;bottom:-28px;width:95px;height:65px;border:1px solid #d8c8e3;border-radius:50%;transform:rotate(-35deg);opacity:.35;z-index:-1;pointer-events:none}
.reaction-paper-label{position:absolute;top:0;left:14px;padding:2px 9px 4px;border-radius:0 0 7px 7px;background:#eee5f4;color:#8d739e;font-size:9px;letter-spacing:.04em}
.reaction-reagents{display:flex;align-items:center;justify-content:center;gap:13px;border:0;padding:7px 0 0;margin:0;text-align:center;font-size:26px;min-height:85px;overflow-wrap:normal}
.notation-reagents{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-width:0}
.notation-term{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px 5px;max-width:100%;line-height:1.4}
.notation-formula{white-space:nowrap}
.notation-qualifier{font:600 11px/1.45 Nunito,sans-serif;color:#826491;white-space:normal;max-width:132px}
.notation-plus{font:400 21px/1.2 Arial,sans-serif;color:#ad98bb}
.notation-arrow{display:grid;grid-template-rows:minmax(17px,auto) 27px minmax(17px,auto);align-items:center;justify-items:center;min-width:86px;max-width:135px;flex-shrink:0;color:#83649d}
.arrow-above,.arrow-below{font:600 10px/1.4 Nunito,sans-serif;text-align:center;max-width:135px;overflow-wrap:anywhere}
.arrow-shaft{font:400 47px/27px Arial,sans-serif;letter-spacing:0;display:block}
.arrow-below:empty,.arrow-above:empty{min-height:14px}
.question-options.products button{background:linear-gradient(110deg,#fffefa,#fff);transition:border-color .15s,background .15s}
.question-options.products button:before{content:'';position:absolute;left:12px;top:50%;width:5px;height:5px;border-radius:50%;background:#d5c6df;transform:translateY(-50%)}
.question-options.products button.chosen-correct:before{background:#81a879}
.question-options.products button.chosen-wrong:before{background:#cc9d86}
.notation-solved{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:4px 0 6px;font-size:18px}
.notation-solved .notation-reagents{justify-content:flex-start;gap:6px}
.notation-solved .notation-qualifier{font-size:10px;max-width:130px}
.notation-solved .notation-arrow{min-width:72px;max-width:150px;grid-template-rows:minmax(14px,auto) 20px minmax(12px,auto)}
.notation-solved .arrow-shaft{font-size:36px;line-height:20px}
.notation-solved .arrow-above,.notation-solved .arrow-below{font-size:9px;max-width:150px}
.notation-products{line-height:1.5}
@media(max-width:800px){.reaction-reagents{font-size:24px;gap:8px}.notation-qualifier{font-size:10px;max-width:110px}.notation-arrow{min-width:73px;max-width:110px}.arrow-above,.arrow-below{max-width:110px}.notation-reagents{gap:6px}}
@media(max-width:550px){.reaction-context{padding:23px 13px 13px}.reaction-reagents{min-height:66px;font-size:25px}.notation-qualifier{font-size:11px}.reaction-card:before{width:46px;left:23px}.answer-feedback .notation-solved{font-size:17px;gap:6px}.notation-solved .notation-reagents{flex-wrap:wrap}.reaction-reagents .notation-arrow{min-width:90px}.question-options.products button{padding-left:23px}}

.notation-unit{display:inline-flex;align-items:center;gap:7px;max-width:100%;min-width:0}.notation-plus{flex-shrink:0}.notation-term{min-width:0}


/* On phones, let complete reagent groups and the arrow share one wrapping row.
   A nested, shrinking reagent column used to leave the arrow beside its middle. */
@media(max-width:550px){
 .reaction-reagents{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 9px;font-size:23px;min-height:66px;padding:8px 0 2px}
 .reaction-reagents .notation-reagents,.notation-solved .notation-reagents{display:contents}
 .notation-unit{flex:0 0 auto;align-items:baseline;gap:6px;max-width:100%}
 .notation-term{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;gap:1px}
 .notation-formula{white-space:nowrap;line-height:1.45}
 .notation-qualifier{font-size:10px;line-height:1.35;max-width:120px;text-align:center}
 .notation-plus{font-size:19px;align-self:flex-start;margin-top:5px}
 .reaction-reagents .notation-arrow{min-width:55px;max-width:135px;flex:0 0 auto;grid-template-rows:minmax(12px,auto) 24px minmax(12px,auto)}
 .reaction-reagents .arrow-shaft{font-size:39px;line-height:24px}
 .notation-solved{align-items:center;gap:9px 7px}
 .notation-solved .notation-unit{gap:5px}
 .notation-solved .notation-plus{font-size:16px;margin-top:3px}
 .notation-solved .notation-arrow{min-width:50px;flex:0 0 auto}
}
