.mobile-page .phone{background:radial-gradient(circle at top center,rgba(125,211,252,.26),transparent 46%),linear-gradient(180deg,#e8f7ff,#f5f7fb 26% 100%);display:flex;flex-direction:column}.nav-shell{padding:0 var(--mobile-padding);height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.nav-icon-btn{width:28px;height:28px;border:none;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#111827;padding:0}.nav-icon-btn svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.nav-title-text{flex:1;min-width:0;text-align:center;font-size:17px;font-weight:var(--fw-bold);color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-pill{display:inline-flex;align-items:center;gap:8px;padding:4px 10px;border-radius:18px;background:#ffffffad;border:1px solid rgba(148,163,184,.18);box-shadow:0 4px 12px #7dd3fc24;color:#111827}.nav-pill svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.nav-pill .dots{display:inline-flex;align-items:center;justify-content:center}.nav-pill .dots svg{fill:currentColor;stroke:none}.nav-pill-divider{width:1px;height:14px;background:#0f172a1f}.detail-scroll{flex:1;overflow-y:auto;padding:12px var(--mobile-padding) 116px;position:relative}.toolbar-card{display:flex;flex-direction:column;gap:14px;margin-bottom:14px}.toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.chapter-trigger{border:none;background:transparent;padding:0;display:inline-flex;align-items:center;gap:8px;color:#4b79d8;font-size:14px;font-weight:var(--fw-medium);cursor:pointer}.chapter-trigger svg,.toolbar-search-btn svg,.action-card-btn svg,.bottom-submit-btn svg,.filter-chip svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.toolbar-search-btn{width:34px;height:34px;border:none;border-radius:17px;background:#ffffff9e;color:#0f172a;box-shadow:0 8px 16px #94a3b829;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform var(--transition-fast),box-shadow var(--transition-fast)}.toolbar-search-btn:active,.chapter-trigger:active,.bottom-submit-btn:active,.bottom-outline-btn:active,.action-card-btn:active,.filter-chip:active,.sheet-option:active{transform:translateY(1px)}.search-wrap{display:none;background:#ffffffdb;border-radius:18px;border:1px solid rgba(219,234,254,.92);box-shadow:0 14px 28px #94a3b824;padding:6px 12px;gap:8px;align-items:center}.search-wrap.show{display:flex}.search-wrap svg{width:16px;height:16px;stroke:#94a3b8;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.search-input{flex:1;min-width:0;height:28px;border:none;background:transparent;color:#0f172a;font-size:13px;outline:none}.search-input::placeholder{color:#94a3b8}.filter-row{display:flex;gap:12px;flex-wrap:wrap}.filter-chip{border:none;background:transparent;padding:0;display:inline-flex;align-items:center;gap:4px;color:#334155;font-size:14px;cursor:pointer}.filter-chip svg{width:14px;height:14px}.assignment-list{display:flex;flex-direction:column;gap:14px}.assignment-card{background:#fffffff5;border-radius:20px;padding:16px;box-shadow:0 14px 32px #94a3b824;border:1px solid rgba(226,232,240,.9)}.assignment-head{display:flex;gap:12px;align-items:flex-start}.assignment-icon{width:40px;height:40px;border-radius:12px;background:linear-gradient(160deg,#fde047,#facc15);position:relative;box-shadow:0 8px 18px #facc1552;flex-shrink:0;overflow:hidden}.assignment-icon:before,.assignment-icon:after{content:"";position:absolute;background:#fffffff0;border-radius:999px}.assignment-icon:before{left:8px;top:10px;width:16px;height:4px}.assignment-icon:after{right:7px;bottom:9px;width:18px;height:5px;transform:rotate(-42deg);box-shadow:0 -7px #fffffff0}.assignment-meta{flex:1;min-width:0}.assignment-date{display:inline-flex;align-items:center;gap:6px;color:#6b7280;font-size:12px;margin-bottom:6px}.assignment-date svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.assignment-title{font-size:17px;font-weight:var(--fw-bold);line-height:1.45;color:#111827}.assignment-subtitle{margin-top:6px;color:#64748b;font-size:12px;line-height:1.5}.assignment-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.assignment-actions.single{grid-template-columns:minmax(0,1fr)}.action-card-btn{min-height:48px;border:1px solid #ecf1fb;background:#f7f9fe;border-radius:12px;color:#62738b;font-size:14px;font-weight:var(--fw-medium);display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:background-color var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast),transform var(--transition-fast)}.action-card-btn.primary{color:#1e6de8;background:linear-gradient(180deg,#f6f9ff,#eff5ff);border-color:#e0ebff}.action-card-btn.disabled{color:#9aa7b8;background:#f8fafc;border-color:#eef2f7;cursor:not-allowed;pointer-events:none}.action-card-btn.loading,.action-card-btn:disabled{color:#1d4ed8;background:linear-gradient(180deg,#dbeafe,#bfdbfe);border-color:#bfdbfe;cursor:wait}.btn-spinner{width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:button-spin .8s linear infinite;flex-shrink:0}@keyframes button-spin{to{transform:rotate(360deg)}}.status-badge{margin-top:10px;display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;line-height:1;font-weight:var(--fw-medium);border:1px solid transparent}.status-badge.graded{background:#eefaf4;color:#17803d;border-color:#bfe6cb}.status-badge.pending{background:#fff7ed;color:#c96c12;border-color:#fed7aa}.status-badge.wait-correction{background:#fff8db;color:#a16207;border-color:#fde68a}.status-badge.correction-submitted{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.empty-state{display:none;padding:48px 20px 12px;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#94a3b8;text-align:center}.empty-state svg{width:56px;height:56px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bottom-action-bar{position:absolute;left:0;right:0;bottom:0;padding:12px var(--mobile-padding) 34px;background:#fff;box-shadow:0 -8px 28px #94a3b824;display:flex;gap:12px}.bottom-outline-btn,.bottom-submit-btn{min-height:46px;border-radius:23px;font-size:16px;font-weight:var(--fw-medium);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform var(--transition-fast),box-shadow var(--transition-fast)}.bottom-outline-btn{flex:1;border:1px solid #7db7ff;background:#fff;color:#4884e8}.bottom-submit-btn{flex:1.45;border:none;color:#fff;background:linear-gradient(90deg,#58c1ff,#3c7dff);box-shadow:0 12px 24px #3c7dff47}.sheet-mask{position:absolute;inset:0;background:#0f172a52;z-index:24;display:none;align-items:flex-end}.sheet-mask.show{display:flex}.sheet-panel{width:100%;background:#fff;border-radius:22px 22px 0 0;padding:10px var(--mobile-padding) 24px;box-shadow:0 -18px 40px #0f172a2e;transform:translateY(14px);opacity:0;transition:transform var(--transition-base),opacity var(--transition-base)}.sheet-mask.show .sheet-panel{transform:translateY(0);opacity:1}.sheet-handle{width:42px;height:4px;border-radius:999px;background:#dbe3ee;margin:0 auto 12px}.sheet-title{font-size:15px;font-weight:var(--fw-semibold);color:#111827;margin-bottom:10px;text-align:center}.sheet-options{display:flex;flex-direction:column;gap:8px}.sheet-option{min-height:44px;border-radius:14px;border:1px solid #e7edf6;background:#f8fafd;color:#475569;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color var(--transition-fast),background-color var(--transition-fast),color var(--transition-fast)}.sheet-option.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.toast{position:absolute;left:50%;bottom:118px;transform:translate(-50%) translateY(12px);max-width:260px;background:#0f172aeb;color:#fff;font-size:12px;line-height:1.4;text-align:center;padding:9px 14px;border-radius:999px;opacity:0;pointer-events:none;transition:opacity var(--transition-fast),transform var(--transition-fast);z-index:30}.toast.show{opacity:1;transform:translate(-50%) translateY(0)}@media(prefers-reduced-motion:reduce){.toolbar-search-btn,.chapter-trigger,.bottom-submit-btn,.bottom-outline-btn,.action-card-btn,.filter-chip,.sheet-option,.sheet-panel,.toast{transition:none}}
