
.deep-explain{margin-top:16px;padding:16px;background:#f8fafc;border:1px solid #dbe4f0;border-radius:15px;color:#17243b;text-align:left}.deep-explain h4{margin:0 0 12px;font-size:1.13rem}.parse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:8px;margin:12px 0}.parse-item{display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center;background:white;border:1px solid #dbe4f0;padding:10px 6px;border-radius:11px}.parse-item strong{font-size:1.06rem}.parse-item small{font-size:.78rem;color:#52627a}.role-tag{background:#e8edff;color:#3153cc;padding:3px 13px;border-radius:20px;font-weight:800}.deep-step{margin:10px 0;padding:12px;background:white;border-left:3px solid #4561eb;border-radius:8px}.deep-step p,.choice-reason p{margin:6px 0 0;line-height:1.7}.deep-choices{margin:14px 0;padding:12px;background:white;border:1px solid #dbe4f0;border-radius:10px}.deep-choices summary{cursor:pointer;font-weight:800}.choice-reason{border-top:1px solid #e7ebf2;padding:11px 0}.choice-reason:first-of-type{margin-top:8px}.deep-actions{display:flex;flex-wrap:wrap;gap:8px}.deep-actions button{flex:1;min-width:160px}.feedback .deep-explain{font-weight:normal}

.ref-header{margin-left:auto;background:#fff;color:#253b61;border:1px solid #bfc9da;border-radius:22px;padding:7px 12px;font-weight:700;cursor:pointer}.version{margin-left:6px!important}
.home-status{background:#f4f6fa;border-radius:13px;padding:13px;margin-bottom:12px}.status-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.status-head strong{color:#263c65}.status-head span{font-size:13px;color:#64748b}.status-meters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.status-meters span{display:flex;justify-content:space-between;font-size:12px;color:#52617b}.tiny-meter{height:5px;background:#e0e6ef;border-radius:10px;overflow:hidden;margin-top:7px}.tiny-meter i{display:block;height:100%;width:0;background:#647895;border-radius:10px}
.learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-grid .home-card{min-height:96px;padding:13px;position:relative}.learning-grid .home-card.recommended{border:2px solid #9575e6;background:#fcfaff}.recommend-mark{font-size:11px;font-weight:800;color:#7944c8}.recommend-mark[hidden]{display:none}.progress-link{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:#f4f6fa;border-radius:12px;padding:13px 16px;font-size:14px;font-weight:700;color:#273a55;cursor:pointer;margin-top:11px}
#library:not(.hidden){display:flex!important;position:fixed;inset:0;z-index:999;background:rgba(16,24,40,.5);align-items:center;justify-content:center;padding:12px;overflow:hidden;border:0;box-shadow:none;margin:0;max-width:none}
.reference-shell{height:80dvh;max-height:80vh;width:min(760px,100%);display:flex;flex-direction:column;background:white;border-radius:18px;overflow:hidden;box-shadow:0 18px 70px #14243a55}.reference-top{flex-shrink:0;padding:13px 16px;border-bottom:1px solid #e4e8ef;display:flex;align-items:center;justify-content:space-between;gap:12px}.reference-top strong{font-size:14px}.reference-close{border:1px solid #d5dce8;border-radius:9px;background:white;padding:8px 11px;cursor:pointer}.reference-scroll{overflow-y:auto;padding:16px;overscroll-behavior:contain}.reference-scroll>h2{margin:4px 0 10px}.reference-scroll>.prompt{display:none}
@media(max-width:550px){.compact-header{gap:7px}.compact-header strong{font-size:13px}.ref-header{padding:7px 9px;font-size:12px}.version{display:none}.home-status{padding:10px}.learning-grid .home-card{min-height:91px;padding:12px}.reference-shell{width:100%;border-radius:17px 17px 0 0;height:80dvh;max-height:80dvh}#library:not(.hidden){align-items:flex-end;padding:0}.reference-scroll{padding:12px}}
