/* Q648 手寫算式：沿用練習區 esp 按鈕樣式，只補手寫板版面 */
.q648-hand{margin:.75rem 0 1rem;padding:.75rem .9rem;border:1px solid #d5e1e8;border-radius:12px;background:#fff;max-width:100%;box-sizing:border-box}
.q648-hand>summary{cursor:pointer;font-weight:700;color:#0b2d62;min-height:44px;display:flex;align-items:center}
.q648-hand .q648-pad{display:block;width:100%;height:180px;margin:.5rem 0;border:2px dashed #9fb6c8;border-radius:10px;background:#f8fbfd;touch-action:none;cursor:crosshair;box-sizing:border-box}
.q648-hand .q648-expr-label{display:block;font-weight:600;margin-top:.25rem}
.q648-hand .q648-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.35rem 0}
.q648-hand #q648-expr{flex:1 1 12rem;min-width:0;min-height:44px;font-size:1.15rem;padding:.35rem .6rem;border:1px solid #9fb6c8;border-radius:8px;box-sizing:border-box}
.q648-hand #q648-result{flex:0 1 auto;font-size:1.1rem;font-weight:700;color:#137a88;overflow-wrap:anywhere}
.q648-hand .q648-actions button{flex:1 1 7rem;min-height:44px}
@media (min-width:768px){.q648-hand .q648-pad{height:200px}}
