.draft-shelf.svelte-1l2y2uy{border-radius:1rem;border:1px solid var(--border-light);background:color-mix(in oklch,var(--bg-card) 78%,var(--bg-body));padding:1rem;box-shadow:inset 0 -6px 12px color-mix(in oklch,var(--text-primary) .6%,transparent),var(--shadow-sm)}.draft-shelf__head.svelte-1l2y2uy{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.draft-shelf__eyebrow.svelte-1l2y2uy{margin-bottom:.125rem;color:var(--text-muted);font-size:.5625rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em}.draft-shelf__title.svelte-1l2y2uy{color:var(--text-primary);font-size:1.125rem;font-weight:650}.draft-shelf__toggle.svelte-1l2y2uy{display:inline-flex;align-items:center;gap:.375rem;min-height:2.25rem;border-radius:9999px;border:1px solid var(--border-light);background:var(--bg-card);color:var(--text-secondary);padding:0 .75rem;font-family:var(--font-label);font-size:.75rem;font-weight:650;cursor:pointer}.draft-shelf__toggle.svelte-1l2y2uy:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.draft-shelf__chevron.svelte-1l2y2uy{width:.875rem;height:.875rem;transition:transform var(--duration-normal) var(--ease-out-1)}.draft-shelf__chevron--open.svelte-1l2y2uy{transform:rotate(180deg)}.draft-shelf__list.svelte-1l2y2uy{display:flex;flex-direction:column;gap:.5rem}.draft-card.svelte-1l2y2uy{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.25rem;border-radius:.875rem;border:1px solid var(--border-light);background:var(--bg-card);padding:.875rem 1rem .875rem 1.125rem;box-shadow:inset 0 -4px 8px color-mix(in oklch,var(--text-primary) .5%,transparent)}@media (hover: hover) and (pointer: fine){.draft-card.svelte-1l2y2uy{transition:transform var(--duration-normal) var(--ease-out-1),border-color var(--duration-normal) var(--ease-out-1),box-shadow var(--duration-slow) var(--ease-out-1)}.draft-card.svelte-1l2y2uy:hover{transform:translateY(-1px);border-color:color-mix(in oklch,var(--brand-primary) 24%,var(--border-light));box-shadow:inset 0 -4px 8px color-mix(in oklch,var(--text-primary) .4%,transparent),var(--shadow-md)}.draft-card__delete.svelte-1l2y2uy{opacity:0;transform:scale(.92)}.draft-card.svelte-1l2y2uy:hover .draft-card__delete:where(.svelte-1l2y2uy),.draft-card__delete.svelte-1l2y2uy:focus-visible{opacity:1;transform:scale(1)}}.draft-card__delete.svelte-1l2y2uy{position:absolute;left:-.625rem;top:-.625rem;display:inline-flex;align-items:center;justify-content:center;width:1.875rem;height:1.875rem;border-radius:9999px;border:1px solid color-mix(in oklch,var(--status-error) 30%,var(--border-light));background:var(--bg-overlay);color:var(--status-error);box-shadow:var(--shadow-md);cursor:pointer;transition:opacity var(--duration-fast) ease,transform var(--duration-normal) var(--ease-out-1),background var(--duration-fast) ease}.draft-card__delete.svelte-1l2y2uy svg:where(.svelte-1l2y2uy){width:.875rem;height:.875rem}.draft-card__delete.svelte-1l2y2uy:focus-visible{outline:2px solid var(--status-error);outline-offset:2px}.draft-card__body.svelte-1l2y2uy{min-width:0}.draft-card__title.svelte-1l2y2uy{color:var(--text-primary);font-size:.875rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-card__meta.svelte-1l2y2uy{margin-top:.25rem;color:var(--text-muted);font-size:.75rem}.draft-card__resume.svelte-1l2y2uy{display:inline-flex;align-items:center;gap:.375rem;min-height:2rem;flex-shrink:0;border-radius:9999px;background:var(--brand-primary);color:var(--text-on-primary);padding:0 .75rem;font-family:var(--font-label);font-size:.8125rem;font-weight:650;text-decoration:none;transition:filter var(--duration-fast) ease,transform var(--duration-fast) ease}@media (hover: hover) and (pointer: fine){.draft-card__resume.svelte-1l2y2uy:hover{filter:brightness(1.08);transform:translateY(-1px)}}.draft-card__resume.svelte-1l2y2uy:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.draft-card__resume--loading.svelte-1l2y2uy{pointer-events:none;filter:brightness(1.04)}.draft-card__resume-icon.svelte-1l2y2uy{width:.8125rem;height:.8125rem}.draft-card__resume-spinner.svelte-1l2y2uy{width:.8125rem;height:.8125rem;flex-shrink:0;border-radius:9999px;border:2px solid color-mix(in oklch,var(--text-on-primary) 36%,transparent);border-top-color:var(--text-on-primary);animation:svelte-1l2y2uy-draft-card-spin .65s linear infinite}.draft-dialog.svelte-1l2y2uy{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:1rem}.draft-dialog__backdrop.svelte-1l2y2uy{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:color-mix(in oklch,var(--bg-body) 45%,var(--text-primary));opacity:.72;cursor:default}.draft-dialog__panel.svelte-1l2y2uy{position:relative;width:min(100%,28rem);border-radius:1rem;border:1px solid var(--border-light);background:var(--bg-card);padding:1.25rem;box-shadow:var(--shadow-xl)}.draft-dialog__title.svelte-1l2y2uy{color:var(--text-primary);font-size:1.25rem;font-weight:650;line-height:1.2}.draft-dialog__body.svelte-1l2y2uy{margin-top:.5rem;color:var(--text-secondary);font-size:.875rem;line-height:1.5}.draft-dialog__actions.svelte-1l2y2uy{display:flex;justify-content:flex-end;gap:.625rem;margin-top:1rem}.draft-dialog__cancel.svelte-1l2y2uy,.draft-dialog__danger.svelte-1l2y2uy{min-height:2.25rem;border-radius:9999px;padding:0 .875rem;font-family:var(--font-label);font-size:.8125rem;font-weight:650;cursor:pointer}.draft-dialog__cancel.svelte-1l2y2uy{border:1px solid var(--border-light);background:var(--bg-card);color:var(--text-secondary)}.draft-dialog__danger.svelte-1l2y2uy{border:1px solid color-mix(in oklch,var(--status-error) 24%,var(--border-light));background:var(--status-error);color:var(--text-on-primary)}@media (max-width: 640px){.draft-card.svelte-1l2y2uy{align-items:flex-start;flex-direction:column}.draft-card__resume.svelte-1l2y2uy{align-self:flex-start}.draft-dialog__actions.svelte-1l2y2uy{flex-direction:column-reverse}.draft-dialog__cancel.svelte-1l2y2uy,.draft-dialog__danger.svelte-1l2y2uy,.draft-dialog__actions.svelte-1l2y2uy form:where(.svelte-1l2y2uy){width:100%}}.subject-tile.svelte-1l2y2uy{display:flex;border-radius:.875rem}.subject-tile__link.svelte-1l2y2uy{display:flex;flex-direction:column;width:100%;padding:1rem 1.125rem 1.125rem;border-radius:.875rem;border:1px solid var(--border-light);background-color:color-mix(in oklch,var(--bg-card) 82%,var(--bg-body));color:var(--text-primary);text-decoration:none;cursor:pointer;box-shadow:inset 0 -6px 12px #00000002,inset 0 1px #ffffff0d,var(--shadow-sm)}@media (hover: hover) and (pointer: fine){.subject-tile__link.svelte-1l2y2uy{transition:transform .24s var(--ease-out-1),border-color .24s var(--ease-out-1),background-color .28s var(--ease-out-1),box-shadow .3s var(--ease-out-1)}.subject-tile__link.svelte-1l2y2uy:hover{transform:translateY(-1px);border-color:color-mix(in oklch,var(--domain-accent, var(--brand-accent)) 22%,var(--border-light));background-color:color-mix(in oklch,var(--domain-accent, var(--brand-accent)) 3%,var(--bg-card));box-shadow:inset 0 -6px 12px #00000002,inset 0 1px #ffffff0f,0 4px 8px #00000012,0 8px 20px #0000000d}}@media (hover: hover) and (pointer: fine){.dark .subject-tile__link.svelte-1l2y2uy:hover{box-shadow:inset 0 -6px 12px #00000003,inset 0 1px #ffffff12,0 4px 8px #00000038,0 8px 20px #00000029}}.subject-tile__link.svelte-1l2y2uy:focus-visible{outline:2px solid var(--domain-accent, var(--brand-accent));outline-offset:2px}.subject-tile__link--pending.svelte-1l2y2uy{cursor:progress;border-color:color-mix(in oklch,var(--domain-accent, var(--brand-accent)) 34%,var(--border-light));background-color:color-mix(in oklch,var(--domain-accent, var(--brand-accent)) 6%,var(--bg-card))}.subject-tile__head.svelte-1l2y2uy{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.375rem}.subject-tile__name.svelte-1l2y2uy{font-size:.9375rem;font-weight:600;color:var(--text-primary)}.subject-tile__arrow.svelte-1l2y2uy{width:.875rem;height:.875rem;color:var(--text-muted);flex-shrink:0}.subject-tile__spinner.svelte-1l2y2uy{display:none;width:.875rem;height:.875rem;border-radius:9999px;border:2px solid currentColor;border-top-color:transparent;color:var(--domain-accent, var(--brand-accent));animation:svelte-1l2y2uy-subject-tile-spin var(--duration-slow) linear infinite;flex-shrink:0}.subject-tile__link--pending.svelte-1l2y2uy .subject-tile__arrow:where(.svelte-1l2y2uy){display:none}.subject-tile__link--pending.svelte-1l2y2uy .subject-tile__spinner:where(.svelte-1l2y2uy){display:inline-block}@keyframes svelte-1l2y2uy-subject-tile-spin{to{transform:rotate(360deg)}}@media (hover: hover) and (pointer: fine){.subject-tile__arrow.svelte-1l2y2uy{transition:transform .32s var(--ease-out-1),color .22s var(--ease-out-1)}.subject-tile__link.group.svelte-1l2y2uy:hover .subject-tile__arrow:where(.svelte-1l2y2uy){color:var(--domain-accent, var(--brand-accent));transform:translate(3px)}}.subject-tile__meta.svelte-1l2y2uy{display:flex;align-items:baseline;gap:.375rem;margin-bottom:.75rem}.subject-tile__count.svelte-1l2y2uy{display:inline-flex;align-items:baseline;gap:.125rem;font-variant-numeric:tabular-nums}.subject-tile__count-num.svelte-1l2y2uy{font-size:1rem;font-weight:600;color:var(--domain-accent, var(--brand-accent));line-height:1}.subject-tile__count-total.svelte-1l2y2uy{font-size:.8125rem;font-weight:500;color:var(--text-muted)}.subject-tile__count-label.svelte-1l2y2uy{font-size:.75rem;color:var(--text-muted)}.subject-tile__uploads.svelte-1l2y2uy{display:flex;align-items:center;gap:.375rem;margin-top:-.375rem;margin-bottom:.5rem}.subject-tile__upload-icon.svelte-1l2y2uy{width:.75rem;height:.75rem;color:var(--text-muted);flex-shrink:0}.subject-tile__upload-count.svelte-1l2y2uy{font-size:.6875rem;color:var(--text-muted)}.subject-tile__track.svelte-1l2y2uy{position:relative;height:.4375rem;border-radius:9999px;background:color-mix(in oklch,var(--bg-body) 85%,var(--border-light));box-shadow:inset 0 2px 3px #0000000f,inset 0 1px #00000005;overflow:hidden}.subject-tile__track-fill.svelte-1l2y2uy{position:absolute;left:0;top:0;bottom:0;border-radius:9999px;background:linear-gradient(to right,color-mix(in oklch,var(--domain-accent, var(--brand-accent)) 80%,transparent),var(--domain-accent, var(--brand-accent)));box-shadow:inset 0 1px #ffffff1a,0 0 10px color-mix(in oklch,var(--domain-accent, var(--brand-accent)) 30%,transparent);transition:width .64s var(--ease-out-1)}@media (prefers-reduced-motion: reduce){.subject-tile__link.svelte-1l2y2uy,.subject-tile__arrow.svelte-1l2y2uy,.subject-tile__track-fill.svelte-1l2y2uy{transition:none}.subject-tile__spinner.svelte-1l2y2uy{animation:none}.subject-tile__link.svelte-1l2y2uy:hover{transform:none}.subject-tile__link.group.svelte-1l2y2uy:hover .subject-tile__arrow:where(.svelte-1l2y2uy){transform:none}}.subject-grid-section.svelte-1l2y2uy{content-visibility:auto;contain-intrinsic-size:auto 600px}.history.svelte-1l2y2uy{content-visibility:auto;contain-intrinsic-size:auto 200px}@keyframes svelte-1l2y2uy-historyFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.history__list--fade-in.svelte-1l2y2uy{animation:svelte-1l2y2uy-historyFadeIn .28s cubic-bezier(.16,1,.3,1) both}@media (prefers-reduced-motion: reduce){.history__list--fade-in.svelte-1l2y2uy{animation:none}}.history__toggle.svelte-1l2y2uy{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;padding:.875rem 1rem;border-radius:.875rem;border:1px solid var(--border-light);background:color-mix(in oklch,var(--bg-card) 75%,var(--bg-body));box-shadow:inset 0 1px #ffffff0a,0 1px 3px #0000000a;cursor:pointer;transition:background var(--duration-fast) ease,border-color var(--duration-fast) ease;text-align:left}@media (hover: hover) and (pointer: fine){.history__toggle.svelte-1l2y2uy:hover{background:color-mix(in oklch,var(--status-success) 5%,var(--bg-card));border-color:color-mix(in oklch,var(--status-success) 25%,var(--border-light))}}.history__toggle.svelte-1l2y2uy:focus-visible{outline:2px solid var(--brand-accent);outline-offset:2px}.history__toggle-left.svelte-1l2y2uy{display:flex;align-items:center;gap:.625rem}.history__toggle-icon.svelte-1l2y2uy{width:1rem;height:1rem;color:var(--text-muted);flex-shrink:0}.history__toggle-label.svelte-1l2y2uy{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.09em;color:var(--text-primary)}.history__toggle-count.svelte-1l2y2uy{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .3rem;border-radius:9999px;background:color-mix(in oklch,var(--status-success) 12%,var(--bg-card));border:1px solid color-mix(in oklch,var(--status-success) 28%,var(--border-light));color:var(--status-success);font-size:.625rem;font-weight:700}.history__toggle-chevron.svelte-1l2y2uy{width:.9375rem;height:.9375rem;color:var(--text-muted);flex-shrink:0;transition:transform var(--duration-normal) var(--ease-out-1)}.history__toggle-chevron--open.svelte-1l2y2uy{transform:rotate(180deg)}.history__list.svelte-1l2y2uy{margin-top:.375rem;border-radius:0 0 .875rem .875rem;border:1px solid var(--border-light);border-top:none;overflow:hidden}.history__row.svelte-1l2y2uy{display:flex;align-items:center;gap:1rem;padding:.875rem 1rem;border-top:1px solid var(--border-light);background:color-mix(in oklch,var(--bg-card) 65%,var(--bg-body));text-decoration:none;color:inherit;transition:background var(--duration-fast) ease,border-color var(--duration-fast) ease}.history__row.svelte-1l2y2uy:first-child{border-top:none}@media (hover: hover) and (pointer: fine){.history__row.svelte-1l2y2uy:hover{background:color-mix(in oklch,var(--status-success) 5%,var(--bg-card))}.history__row.svelte-1l2y2uy:hover .history__row-arrow:where(.svelte-1l2y2uy){transform:translate(3px);color:var(--status-success)}}.history__row.svelte-1l2y2uy:focus-visible{outline:2px solid var(--brand-accent);outline-offset:-2px}.history__row-main.svelte-1l2y2uy{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.history__row-title.svelte-1l2y2uy{font-size:.875rem;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history__row-subject.svelte-1l2y2uy{font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--status-success)}.history__row-uploaded.svelte-1l2y2uy{color:var(--text-muted);text-transform:none;letter-spacing:normal}.history__row-meta.svelte-1l2y2uy{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;flex-shrink:0}.history__row-date.svelte-1l2y2uy{font-size:.75rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.history__row-arrow.svelte-1l2y2uy{width:.875rem;height:.875rem;color:var(--text-muted);flex-shrink:0;transition:transform var(--duration-normal) var(--ease-out-1),color var(--duration-fast) ease}.history__row-spinner.svelte-1l2y2uy{display:none;width:.875rem;height:.875rem;border-radius:9999px;border:2px solid currentColor;border-top-color:transparent;color:var(--status-success);animation:svelte-1l2y2uy-history-row-spin var(--duration-slow) linear infinite;flex-shrink:0}.history__row--pending.svelte-1l2y2uy{cursor:progress;background:color-mix(in oklch,var(--status-success) 6%,var(--bg-card))}.history__row--pending.svelte-1l2y2uy .history__row-arrow:where(.svelte-1l2y2uy){display:none}.history__row--pending.svelte-1l2y2uy .history__row-spinner:where(.svelte-1l2y2uy){display:inline-block}@keyframes svelte-1l2y2uy-history-row-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.draft-shelf__chevron.svelte-1l2y2uy,.draft-card.svelte-1l2y2uy,.draft-card__delete.svelte-1l2y2uy,.draft-card__resume.svelte-1l2y2uy,.history__toggle-chevron.svelte-1l2y2uy,.history__row-arrow.svelte-1l2y2uy,.history__toggle.svelte-1l2y2uy{transition:none}.draft-shelf__chevron--open.svelte-1l2y2uy,.draft-card.svelte-1l2y2uy:hover,.draft-card__delete.svelte-1l2y2uy,.draft-card.svelte-1l2y2uy:hover .draft-card__delete:where(.svelte-1l2y2uy),.draft-card__delete.svelte-1l2y2uy:focus-visible,.draft-card__resume.svelte-1l2y2uy:hover{transform:none}.draft-card__resume-spinner.svelte-1l2y2uy,.history__row-spinner.svelte-1l2y2uy{animation:none}}@keyframes svelte-1l2y2uy-draft-card-spin{to{transform:rotate(360deg)}}
