main{padding-bottom:40px}.intro{margin:35px 0 20px}#editor section,.summary{background:white;border:1px solid #dedbd7;border-radius:14px;margin:14px 0;padding:20px}.summary{display:flex;align-items:center;gap:2em;background:#272335;color:white}.summary strong{display:block;font-size:2.1rem}.summary small{color:#dacefb}#basis{max-width:50ch}h2,h3{margin:0 0 12px;letter-spacing:-.03em}.fields,.actions,.line,.grouphead{display:flex;flex-wrap:wrap;gap:10px;align-items:end}label{display:grid;gap:4px;font-size:.875rem}input,select,button,.file{border:1px solid #cbc6cf;border-radius:7px;padding:8px;background:white;color:inherit;font:inherit}button,.file{cursor:pointer}button:hover{background:#eee9fa}.fields input,.line input,.grouphead input{min-width:0;width:100%}.group{background:#f8f7fa;border:1px solid #e3dfe9;border-radius:10px;padding:14px;margin:12px 0}.line{margin:10px 0}.line label:first-child,.grouphead label:first-child{flex:1;min-width:150px}.num{max-width:105px}.groupoutput{font-weight:650;color:#513c81}.actions button:first-child{background:#6148b1;color:white}.file input{max-width:210px}#report{display:none}.scaleRow{display:flex;gap:10px;align-items:end;margin-bottom:10px}.scaleRow input{width:100px}#report table{border-collapse:collapse;width:100%}#report td,#report th{text-align:left;padding:5px;border-bottom:1px solid #ccc}@media print{header,.intro,#editor{display:none}#report{display:block}body{background:white}.wrap{width:100%}tr{break-inside:avoid}}

#grade-note{max-width:52ch;color:#e5ddf7;font-size:.9rem;margin:.6rem 0 0}@media(max-width:590px){.summary{display:grid;gap:.75rem}}
