/* Stage 14: scoped responsive component styles; PHP 5.6-safe standalone route. */
.psc-root{scroll-margin-top:18px}.psc-root *{box-sizing:border-box}.psc-hero strong{color:#ffe2b7}
.psc-date-form{display:grid;grid-template-columns:minmax(135px,1.55fr) repeat(3,minmax(68px,1fr)) minmax(145px,1.25fr);gap:10px;align-items:end;margin:20px 0 12px}.psc-date-form label,.psc-actions>label{display:flex;flex-direction:column;gap:6px;font-weight:700;min-width:0}.psc-root select,.psc-root input:not([type="checkbox"]),.psc-root textarea{font:inherit;color:#382340;background:#fff;border:1px solid #ddc5e3;border-radius:11px;min-height:44px;padding:9px;width:100%;min-width:0}.psc-root textarea{line-height:1.85;min-height:105px;resize:vertical}.psc-root :is(select,button,input,textarea):focus-visible{outline:3px solid #bd77b3;outline-offset:2px}
.psc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0}.psc-stats>div{border:1px solid #e9d5ea;background:#fcf6fe;border-radius:12px;display:flex;flex-direction:column;text-align:center;padding:11px 5px}.psc-stats strong{font-size:1.8rem;line-height:1.5;color:#974f88}.psc-stats span{color:#735f79;font-size:.86rem}.psc-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.psc-heading>strong{color:#6b4675}
.psc-progress{height:13px;background:#eedced;overflow:hidden;border-radius:100px;direction:ltr;margin:12px 0 18px}.psc-progress>span{background:linear-gradient(90deg,#9552a5,#e07c9c);display:block;height:100%;transition:width .25s}.psc-actions,.psc-privacy-actions{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin:13px 0 20px}.psc-actions>label:first-child{flex:1 1 200px}.psc-actions button,.psc-privacy-actions button{font-size:.87rem}.psc-file{border:1px solid #d2b6dd;border-radius:10px;cursor:pointer;background:#fff;padding:9px 12px;color:#5d3371;min-height:43px}.psc-file input{display:none}.psc-status{background:#fbf2fc;border-radius:10px;padding:11px 13px;border-right:3px solid #af6b9f;color:#653e71}
.psc-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.psc-day{min-width:0;border:1px solid #e5d1ea;background:#fff;border-radius:17px;padding:19px;box-shadow:0 4px 20px #50235a0a}.psc-day[hidden]{display:none}.psc-day header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #f0e4f1}.psc-number{font-weight:800;color:#96529a}.psc-dateline{background:#f9eff9;color:#775183;padding:3px 9px;border-radius:8px;font-size:.88rem}.psc-day h3{color:#71377f;margin:5px 0 9px;font-size:1.25rem}.psc-day h4{font-size:1rem;margin:16px 0 5px;color:#6f407c}.psc-lead{color:#675673;font-size:.92rem}.psc-questions{line-height:2.1;padding-right:24px}.psc-questions li{padding:3px 0}.psc-exercise,.psc-example{padding:13px;border-radius:12px;margin:14px 0;background:#f7effb;border:1px solid #e4d0e8}.psc-example{background:#fff9f5;border-color:#f0ddcf}.psc-exercise strong,.psc-example strong{color:#78468d}.psc-exercise p,.psc-example p{margin-bottom:0;font-size:.93rem}.psc-day details{margin:9px 0;border:1px solid #eee0ef;border-radius:10px;padding:9px 12px}.psc-day details>summary{cursor:pointer;font-weight:700;color:#755084}.psc-day details p{margin-bottom:0}.psc-safety{font-size:.9rem;color:#745c70;background:#fff9fc;padding:10px;border-radius:9px}.psc-private{border-top:1px dashed #e1cce3;padding-top:12px;margin-top:13px}.psc-private>label:first-child{font-weight:700;color:#70447d;display:block}.psc-reflection{font-size:.89rem;color:#695672}.psc-done{display:flex;align-items:center;gap:9px;margin-top:12px;cursor:pointer}.psc-done input{width:21px;height:21px;accent-color:#914c8e}.psc-complete{border-color:#acd4c4;background:#fbfffd}.psc-reading{line-height:2.1}.psc-reading p{margin:9px 0 18px}.psc-reading h3{margin:28px 0 12px;color:#734080}
@media(max-width:850px){.psc-date-form{grid-template-columns:repeat(3,minmax(0,1fr))}.psc-date-form label:first-child,.psc-date-form button{grid-column:1/-1}.psc-cards{grid-template-columns:1fr}}
@media(max-width:480px){.psc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.psc-day{padding:13px}.psc-actions button,.psc-actions .psc-file,.psc-privacy-actions button{width:100%;text-align:center;justify-content:center}.psc-heading{display:block}}
@media print{.psc-hero,.psc-date-form,.psc-actions,.psc-privacy-actions,.psc-status,.psc-progress,.psc-related{display:none!important}.psc-day,.psc-day[hidden]{display:block!important;break-inside:avoid;page-break-inside:avoid;box-shadow:none;border:1px solid #ccc;margin:0 0 15px}.psc-cards{display:block}.psc-day details{display:block}.psc-day details>*{display:block}}


/* 22.5 — educational disclosure cards, scoped to the project components. */
.psx-root .pse-guide,.psx-root .pse-practical{margin:10px 0;border:1px solid #e6d2eb;border-radius:12px;background:#fdf9ff;color:#4b365b;overflow:hidden;line-height:1.9;min-width:0}
.psx-root .pse-guide summary,.psx-root .pse-practical summary{padding:10px 13px;cursor:pointer;font-weight:750;color:#743b7e;list-style-position:inside}
.psx-root .pse-guide[open] summary,.psx-root .pse-practical[open] summary{border-bottom:1px solid #ebddef;background:#f8f0fb}
.psx-root .pse-guide p,.psx-root .pse-practical p{padding:0 13px;margin:9px 0 11px;line-height:1.9;overflow-wrap:anywhere}
.psx-root .pse-guide strong,.psx-root .pse-practical strong{color:#6c3678}
.psx-root .pse-context{border-right:4px solid #b773a3;background:#fcf5fd;border-radius:9px;padding:12px 15px;color:#63496f;line-height:1.85}
.psx-root .pse-method-card{border-right:4px solid #b773a3}
.psx-root .pse-next{color:#6e407d;font-weight:650}
.psq-root .pse-topic-pick{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;background:#fcf7ff;border:1px solid #e4cceb;border-radius:14px;padding:15px;margin:18px 0;min-width:0}
.psq-root .pse-topic-pick h3,.psq-root .pse-topic-pick>p{width:100%;margin:0}
.psq-root .pse-topic-pick>p{line-height:1.85}
.psq-root .pse-topic-pick label{flex:1 1 250px;display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:700;color:#704b7e}
.psq-root .pse-topic-pick select{background:white;color:#44304f;border:1px solid #d8c3df;border-radius:9px;padding:9px;min-height:42px;max-width:100%;width:100%}
.psq-root .pse-topic-pick button{flex:0 1 auto;min-height:42px}
.psq-root .pse-topic-tip{background:white;padding:10px;border-radius:9px;overflow-wrap:anywhere}
@media(max-width:580px){.psq-root .pse-topic-pick{display:block}.psq-root .pse-topic-pick label,.psq-root .pse-topic-pick button{display:block;width:100%;margin-top:10px}.psx-root .pse-guide p,.psx-root .pse-practical p{padding:0 10px}}
@media print{.psx-root .pse-guide,.psx-root .pse-practical{break-inside:avoid}.psx-root .pse-guide summary,.psx-root .pse-practical summary{color:#333}.psq-root .pse-topic-pick{display:none}}
