@layer components{[data-plan-subject]{--subj:#ffe24a;--subj-soft:#fff3a8;--subj-ink:#17161b}[data-plan-subject=biology]{--subj:#8be08f;--subj-soft:#cbf3cd}[data-plan-subject=physics]{--subj:#7dbbff;--subj-soft:#c6e2ff}[data-plan-subject=chemistry]{--subj:#ffb057;--subj-soft:#ffd9a8}[data-plan-subject=math],[data-plan-subject=calculus],[data-plan-subject=geometry],[data-plan-subject=discrete],[data-plan-subject=mathstat]{--subj:#c4a5ff;--subj-soft:#e4d6ff}[data-plan-subject=religion]{--subj:#63dccb;--subj-soft:#bdf2ea}[data-plan-subject=english]{--subj:#ff8e7c;--subj-soft:#ffc9c0}[data-plan-subject=arabic]{--subj:#cdeb52;--subj-soft:#eaf7b0}[data-plan-subject=literature]{--subj:#c9c56c;--subj-soft:#e7e5b9}[data-plan-subject=sociology]{--subj:#ff75c8;--subj-soft:#ffc4e7}[data-plan-subject=history]{--subj:#e8b88a;--subj-soft:#f6dfc8}[data-plan-subject=geography]{--subj:#66c4f2;--subj-soft:#c2e7fb}[data-plan-subject=philosophy],[data-plan-subject=logic]{--subj:#aab6c9;--subj-soft:#dee3ec}[data-plan-subject=psychology]{--subj:#85e0b2;--subj-soft:#ccf3df}[data-plan-subject=economics]{--subj:#8f9cf5;--subj-soft:#d4d9fc}[data-plan-subject=geology]{--subj:#c79f7d;--subj-soft:#ecdccd}.ptm{z-index:45;inset-inline-end:14px;bottom:calc(var(--toast-offset) + env(safe-area-inset-bottom) + 68px);position:fixed}.ptm-dot{background:var(--surface);width:60px;height:60px;box-shadow:var(--shadow-float);color:var(--ink);touch-action:manipulation;animation:ptm-in var(--dur-2) var(--ease-bounce);transition:transform var(--dur-1) var(--ease);border-radius:50%;place-items:center;display:grid;position:relative}.ptm-dot:active{transform:scale(.94)}.ptm-dot>span{font-family:var(--font-display);font-variant-numeric:tabular-nums;place-items:center;font-size:18px;font-weight:800;line-height:1;display:grid}.ptm-dot>span svg{width:20px;height:20px}.ptm-dot>span small{font-family:var(--font-body);color:var(--ink-2);margin-block-start:1px;font-size:9.5px;font-weight:600}.ptm-ring{position:absolute;inset:3px;rotate:-90deg}.ptm-ring circle{fill:none;stroke:var(--canvas-deep);stroke-width:4px}.ptm-ring circle:last-child{stroke:var(--subj,var(--hl-deep));stroke-linecap:round;transition:stroke-dasharray 1s linear}.ptm[data-paused] .ptm-ring circle:last-child{stroke:var(--line-strong)}.ptm[data-over] .ptm-ring circle:last-child{stroke:var(--green)}.ptm[data-over]:not([data-open]) .ptm-dot{animation:ptm-call 1.8s var(--ease) infinite}@keyframes ptm-in{0%{opacity:0;transform:scale(.7)}}@keyframes ptm-call{50%{box-shadow:0 0 0 8px var(--green-soft), var(--shadow-float)}}.ptm-card:focus{outline:none}.ptm-card{border-radius:var(--r-lg);background:var(--surface);width:min(312px,100vw - 28px);box-shadow:var(--shadow-float);animation:ptm-in var(--dur-2) var(--ease);transform-origin:0 100%;gap:12px;padding:14px 14px 10px;display:grid}.ptm-card header{justify-content:space-between;align-items:center;gap:8px;display:flex}.ptm-card header b{font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:800;overflow:hidden}.ptm-icon{background:var(--canvas-deep);width:40px;height:40px;color:var(--ink-2);border-radius:50%;flex:none;place-items:center;display:grid}.ptm-icon svg{width:18px;height:18px}.ptm-face{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;display:grid}.ptm-face .ptm-ring{width:64px;height:64px;position:static}.ptm-face p{line-height:1.5;display:grid}.ptm-face strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:32px;font-weight:800;line-height:1.2}.ptm-face span{color:var(--ink-3);font-size:12.5px}.ptm-actions{flex-wrap:wrap;gap:6px;display:flex}.ptm-actions>*{flex:auto}.ptm-actions svg{width:16px;height:16px}.ptm-stop{min-height:40px;color:var(--ink-3);justify-self:center;align-items:center;gap:5px;padding-inline:10px;font-size:12.5px;display:inline-flex}.ptm-stop svg{width:14px;height:14px}@media (prefers-reduced-motion:reduce){.ptm-dot,.ptm-card,.ptm[data-over]:not([data-open]) .ptm-dot{animation:none}.ptm-ring circle:last-child{transition:none}}@media print{.ptm{display:none}}}
