.profile-card-list{display:flex;flex-direction:column;gap:14px}.profile-card{min-width:0;background:#fff;border:1px solid #ded2ec;border-radius:15px;padding:18px 20px;scroll-margin-top:90px}.profile-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.profile-card h3{font-size:16px;margin:0}.profile-card>header>div{display:flex;gap:6px}.profile-card button{font-size:14px;min-height:36px;padding:7px 11px;background:#f0e8fa;color:#5c3d86}.profile-condition.work-sheet .work-profile[class]{color:#292238;background:transparent}.profile-condition.work-sheet .work-profile .statement{font:17px/1.7 system-ui,sans-serif;margin:0}.profile-condition.work-sheet .work-profile .diagram-wrap{margin:12px auto;max-width:430px;width:100%}.profile-condition.work-sheet .work-profile .diagram-wrap svg{max-height:310px;display:block;margin:auto}.profile-condition .statement>p{margin:8px 0}.profile-card .work-sheet img{max-width:100%;height:auto}.profile-card .work-sheet svg{max-width:100%;height:auto}.profile-card .work-sheet .katex{font-size:1.12em}.profile-card .work-sheet .katex-display{overflow-x:auto;overflow-y:hidden;padding:4px 0}.profile-answer{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.profile-answer label{display:flex;align-items:center;gap:10px;font-size:14px}.profile-answer input{width:200px;min-width:0;padding:8px 11px}.profile-answer>button{background:#7654ad;color:white}.profile-answer.manual{display:block}.profile-answer.manual label{display:block}.profile-answer textarea{display:block;box-sizing:border-box;width:100%;border:1px solid #ded2ec;border-radius:9px;padding:10px;margin:6px 0;font:16px/1.5 system-ui;resize:vertical}.profile-manual-note,.profile-self-check{font-size:13px;color:#6d6577}.profile-self-check{display:flex;gap:8px;align-items:center;margin:12px 0}.profile-self-check input{width:auto}.profile-feedback{font-size:14px;margin:8px 0}.profile-feedback:empty{display:none}.profile-feedback[data-kind=correct]{color:#22684c}.profile-feedback[data-kind=wrong]{color:#a03948}.profile-help{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:10px}.profile-help details{margin:0;font-size:14px}.profile-help details[open]{width:100%}.profile-help summary{cursor:pointer}.profile-help .work-sheet{margin-top:10px;padding:12px;background:#faf7fd;border-radius:9px;overflow-wrap:anywhere}.profile-help .work-sheet .work-profile[class]{background:transparent}.profile-help .work-sheet .diagram-wrap{max-width:450px!important}.profile-help .work-sheet .statement{font:inherit}#topic-title{scroll-margin-top:100px}#storage-warning{background:#fff2cd;padding:12px;border-radius:8px}
@media(max-width:600px){.profile-card{padding:14px}.profile-card>header{align-items:flex-start;flex-wrap:wrap}.profile-card h3{font-size:15px}.profile-card button{font-size:13px;padding:7px 9px}.profile-answer label{width:100%}.profile-answer input{flex:1;width:120px}.profile-condition.work-sheet .work-profile .statement{font-size:16px}.profile-help .work-sheet{padding:8px}}
@media print{.profile-card{break-inside:avoid;border:0;border-bottom:1px solid #ccc}.profile-card header button,.profile-answer,.profile-help,.profile-feedback,.profile-manual-note{display:none}}

.profile-write{font-size:14px;margin:12px 0}.profile-write summary{cursor:pointer}.profile-write .profile-answer{margin-top:8px}
@media(min-width:1000px){.profile-condition.work-sheet :is(.profile-task1,.profile-task3):has(.diagram-wrap:not(:empty)){display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,32%);align-items:center;gap:18px}.profile-condition.work-sheet :is(.profile-task1,.profile-task3) .diagram-wrap{margin:0;max-width:300px}.profile-condition.work-sheet :is(.profile-task1,.profile-task3) .diagram-wrap svg{max-height:230px}}

.profile-topic-section{display:flex;flex-direction:column;gap:14px;min-width:0;scroll-margin-top:calc(var(--exam-nav-top,80px) + 12px)}.profile-topic-section>h2{margin:8px 0 4px;font-size:23px}.profile-topic-section+.profile-topic-section{margin-top:18px}

.profile-condition.work-sheet .profile-task12 .graph-figure{width:min(100%,320px);margin:14px auto;padding:0;border:0;border-radius:0}.profile-condition.work-sheet .profile-task12 .graph-figure svg{display:block;width:100%;height:auto;max-height:360px}
