.accounting-tutor{box-sizing:border-box;width:min(760px,94vw);max-height:88vh;overflow:auto;border:1px solid #a6c8e7;border-radius:18px;padding:24px;background:#f7fbff;color:#173e60;box-shadow:0 20px 70px #071d3e66}.accounting-tutor::backdrop{background:#06182e88}.accounting-tutor header{display:flex;align-items:center;gap:16px}.accounting-tutor header img{width:74px;height:110px;object-fit:contain}.accounting-tutor h2{flex:1;margin:0;font-size:24px}.accounting-tutor p{line-height:1.8}.accounting-tutor textarea{box-sizing:border-box;display:block;width:100%;margin:16px 0;padding:12px;border:1px solid #a9c4df;border-radius:8px;background:white;color:#173e60;font-size:16px}.accounting-tutor select{padding:8px;margin-left:8px;background:white;color:#173e60;border:1px solid #a9c4df}.accounting-tutor button{padding:10px 18px;background:#1768a8;color:white;border:0;border-radius:8px;cursor:pointer}.accounting-tutor button:disabled{opacity:.55}.accounting-tutor-answer p,.accounting-tutor article p{white-space:pre-wrap}.accounting-tutor article{border-top:1px solid #c8dcec;padding:12px 0}.quick-card[data-accounting-tutor]{display:flex;flex-direction:column;gap:8px}.quick-card[data-accounting-tutor] span{font-size:13px}@media(max-width:600px){.accounting-tutor{padding:16px}.accounting-tutor h2{font-size:20px}.accounting-tutor header img{width:48px;height:75px}}

.accounting-tutor-floating{position:fixed;right:22px;bottom:26px;z-index:80;display:flex;align-items:center;gap:7px;padding:8px 15px 8px 9px;border:1px solid #a4c9ec;border-radius:32px;background:#1768a8;color:#fff;box-shadow:0 5px 20px #163c6555;cursor:pointer;font:600 15px/1.4 sans-serif}.accounting-tutor-floating img{width:40px;height:54px;object-fit:contain;flex-shrink:0}.accounting-tutor-floating:hover{background:#12568c}.accounting-tutor-floating:focus-visible{outline:3px solid #ffce71;outline-offset:3px}.accounting-tutor-floating[hidden],.student-locked .accounting-tutor-floating{display:none!important}@media(max-width:700px){.accounting-tutor-floating{right:10px;bottom:calc(86px + env(safe-area-inset-bottom,0px));padding:6px 11px 6px 7px;font-size:13px;gap:4px}.accounting-tutor-floating img{width:29px;height:40px}}
