.performance-story{color:#f4f7fc;background:radial-gradient(at 90% 0,#29486c 0%,#0000 60%),#172d4d;border:1px solid #304d70;border-radius:16px;margin-bottom:24px;overflow:hidden;box-shadow:0 8px 24px #172d4d14}.story-toolbar{color:#d8e3f1;border-bottom:1px solid #ffffff19;justify-content:space-between;align-items:center;gap:12px;padding:17px 26px;font-size:12px;display:flex}.story-toolbar>div{gap:12px;display:flex}.story-toolbar button{color:#f4f7fc;border:1px solid #748ca5;border-radius:6px;align-items:center;gap:6px;padding:6px 10px;font-size:11px;display:flex}.story-toolbar button:hover{background:#ffffff14}.story-layout{grid-template-columns:minmax(0,1fr) 260px;gap:36px;padding:28px;display:grid}.story-eyebrow{color:#c8d5e6;letter-spacing:1px;font-size:12px}.story-main h2{color:#fff;margin:9px 0 8px;font-size:24px;font-weight:650;line-height:1.5}.story-total{letter-spacing:-2px;font-variant-numeric:tabular-nums;color:#f2d490;font-size:72px;font-weight:700;line-height:1.3}.story-total small{letter-spacing:0;margin-left:12px;font-size:19px}.story-summary{color:#d7e2ee;font-variant-numeric:tabular-nums;font-size:12px;line-height:1.8}.story-line{margin:12px 0 2px}.story-line svg{width:100%;max-height:180px;display:block}.story-days{scrollbar-width:thin;scrollbar-color:#728ba7 transparent;max-height:280px;padding-right:5px;overflow-y:auto}.story-day{font-variant-numeric:tabular-nums;color:#d8e3f1;grid-template-columns:42px minmax(0,1fr) 95px 42px;align-items:center;gap:10px;padding:5px 0;font-size:11px;display:grid}.story-day strong{text-align:right;color:#f2d490;font-size:12px}.story-day small{text-align:right;color:#c3d1e1}.story-track{background:#ffffff12;border-radius:10px;height:10px;overflow:hidden}.story-track i{background:#e1c585;border-radius:10px;height:100%;display:block}.story-track i.highest{background:#7bafe0}.story-aside img{object-fit:cover;object-position:right center;border:1px solid #cbb27e;border-radius:12px;width:112px;height:144px;margin:0 auto 20px;display:block}.story-best{opacity:.35;background:#ffffff0b;border-radius:12px;padding:16px;transition:opacity .7s,transform .7s;transform:translateY(8px)}.story-best.revealed{opacity:1;transform:translateY(0)}.story-best>p{color:#f2d490;align-items:center;gap:7px;font-size:13px;display:flex}.story-best h3{color:#f2d490;font-variant-numeric:tabular-nums;font-size:30px}.story-best h3 small{margin-left:6px;font-size:12px}.story-best>span,.story-best>small{color:#d1deeb;font-size:10px;display:block}.story-best ol{margin-top:12px;padding:0;list-style:none}.story-best li{border-bottom:1px solid #ffffff10;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:5px;padding:5px 0;font-size:11px;display:grid}.story-best li>span:nth-child(2){overflow-wrap:anywhere}.story-best li strong{color:#f2d490;font-variant-numeric:tabular-nums;white-space:nowrap}.story-rank{color:#c5d7eb;justify-content:center;align-items:center;display:flex}.story-rank.gold{color:#f4d388}.story-rank.silver{color:#dbe5f0}.story-rank.bronze{color:#d4a685}.story-foot{color:#c5d5e6;border-top:1px solid #ffffff14;justify-content:space-between;gap:15px;padding:13px 26px;font-size:10px;display:flex}.story-progress{background:#ffffff14;height:3px}.story-progress i{background:#e1c585;height:100%;display:block}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=850px){.story-layout{grid-template-columns:minmax(0,1fr) 210px;gap:20px;padding:22px}.story-main h2{font-size:21px}.story-total{font-size:58px}}@media (width<=600px){.story-toolbar{padding:14px 16px;font-size:10px}.story-toolbar>div{gap:6px}.story-toolbar button{padding:5px 7px;font-size:10px}.story-layout{grid-template-columns:1fr;gap:20px;padding:20px 17px}.story-main h2{font-size:19px}.story-total{font-size:59px}.story-total small{font-size:15px}.story-eyebrow,.story-summary{font-size:10px}.story-day{grid-template-columns:35px minmax(0,1fr) 80px 33px;gap:7px}.story-aside{grid-template-columns:84px minmax(0,1fr);align-items:start;gap:16px;display:grid}.story-aside img{width:84px;height:110px;margin:0}.story-best{padding:12px}.story-best ol{margin-top:8px}.story-foot{flex-direction:column;gap:3px;padding:12px 17px}.story-days{max-height:245px}}@media (prefers-reduced-motion:reduce){.story-best{transition:none}}:root{--bg:#f2f4f7;--ink:#1d2c42;--muted:#53647a;--line:#d6dde7;--gold:#4267a8;--green:#4267a8;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font:14px/1.6 PingFang TC,Noto Sans TC,Microsoft JhengHei,sans-serif}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button{color:inherit;background:0 0;border:0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{flex-shrink:0}button{transition:background .15s,transform .15s}button:not(:disabled):active{transform:translateY(1px)}.topbar{border-bottom:1px solid var(--line);background:var(--white);justify-content:space-between;align-items:center;gap:32px;height:82px;padding:0 max(28px,50vw - 700px);display:flex}.brand{letter-spacing:.6px;align-items:center;gap:13px;font-weight:700;display:flex}.brand-mark{color:#fff;background:#4267a8;border-radius:13px;place-content:center;width:45px;height:45px;font:800 28px Georgia,serif;display:grid;position:relative}.brand-mark span{color:#dbe5f3;position:absolute;bottom:3px;right:5px}.brand>div>span{color:var(--muted);letter-spacing:2px;font-size:10px;font-weight:400;display:block}nav{gap:35px;height:100%;margin-left:70px;margin-right:auto;display:flex}nav a{color:#53647a;align-items:center;gap:8px;font-size:13px;display:flex;position:relative}nav a.active{color:var(--ink);font-weight:600}nav a.active:after{content:"";background:var(--green);border-radius:4px;height:3px;position:absolute;bottom:0;left:0;right:0}.private{color:var(--muted);border:1px solid var(--line);border-radius:20px;align-items:center;gap:7px;padding:7px 12px;font-size:11px;display:flex}main{max-width:1460px;margin:auto;padding:38px 30px 0}.intro{justify-content:space-between;align-items:center;gap:25px;margin-bottom:30px;display:flex}.eyebrow{letter-spacing:2.4px;color:#4267a8;font-size:10px;font-weight:600}.intro h1{letter-spacing:1px;margin:9px 0 8px;font-size:29px;font-weight:650}.intro h1 span{color:var(--gold)}.subtitle{color:var(--muted);font-size:13px}.intro-actions{flex-shrink:0;gap:10px;display:flex}.button{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:11px 17px;font-size:12px;font-weight:600;display:inline-flex}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#35578f}.subtle{background:#fff;border:1px solid #d6dde7}.subtle:hover{background:#edf1f6}.datebar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.date-control{align-items:center;gap:12px;display:flex}.date-control label{font-size:12px;font-weight:600}.date-control input{color:var(--ink);background:0 0;border:1px solid #d6dde7;border-radius:7px;padding:6px 10px;font-size:13px}.status{color:#3d608b;align-items:center;gap:5px;font-size:11px;display:flex}.status.draft{color:#b07a36}.muted{color:var(--muted)}.datehint{font-size:11px}.stats{grid-template-columns:1.32fr 1fr .85fr 1fr;gap:15px;margin-bottom:25px;display:grid}.stat-main,.stat{border-radius:12px;min-width:0;padding:22px 24px}.stat-main{color:#fff;background:#29466f;position:relative;overflow:hidden}.stat-main:before,.stat-main:after{content:"";pointer-events:none;border:1px solid #446388;border-radius:50%;width:170px;height:170px;position:absolute;top:-43px;right:-84px}.stat-main:after{top:-17px;right:-63px}.stat-label{color:#53647a;justify-content:space-between;align-items:center;font-size:12px;display:flex}.stat-main .stat-label{color:#dfe7f3}.big-number{letter-spacing:-1.5px;font-variant-numeric:tabular-nums;font-size:48px;font-weight:600;line-height:1.4}.big-number small{letter-spacing:0;margin-left:9px;font-size:14px;font-weight:400}.stat-foot{color:#dfe7f3;justify-content:space-between;font-size:11px;display:flex}.stat-foot span{background:#3b5b82;border-radius:10px;padding:1px 7px;font-size:9px}.stat{border:1px solid var(--line);background:var(--white)}.stat-number{letter-spacing:-1px;font-variant-numeric:tabular-nums;font-size:36px;font-weight:600;line-height:1.75}.stat-number small{margin-left:7px;font-size:13px;font-weight:400}.stat>p{color:var(--muted);font-size:10px}.dot{background:#6584ae;border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}.stat.motto{background:#e7edf5;border-color:#d6dde7}.motto p{color:#304f75;letter-spacing:2px;margin-top:13px;font-family:Noto Serif TC,Songti TC,serif;font-size:19px;line-height:1.6;position:relative}.motto p span{float:right;color:#4267a8;font-size:27px}.motto-line{background:#4267a8;width:33px;height:2px;margin-top:11px}.workspace{grid-template-columns:400px 1fr;align-items:start;gap:22px;display:grid}.panel{background:var(--white);border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:22px 24px;display:flex}.panel h2{align-items:center;gap:10px;font-size:16px;font-weight:650;display:flex}.panel h2 svg{color:#4267a8}.panel-title p{color:var(--muted);margin-top:4px;font-size:11px}.step{color:#d6dde7;font-family:Georgia,serif;font-size:28px}.editor-body{padding:20px 22px}.input-top{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:11px;display:flex}.input-top label{font-weight:600}.input-top button{color:#53647a;align-items:center;gap:5px;font-size:10px;display:flex}.editor textarea{resize:vertical;color:#304f75;white-space:pre;background:#f7f9fc;border:1px solid #d6dde7;border-radius:9px;width:100%;height:390px;min-height:230px;max-height:700px;padding:16px 13px;font-size:12px;line-height:2.15;display:block}.editor textarea:focus{outline-offset:1px;outline:2px solid #a8b8cf}.editor textarea::placeholder{color:#53647a}.parse-info{color:#53647a;justify-content:space-between;align-items:center;margin:9px 0 17px;font-size:10px;display:flex}.parse-info>span:first-child{color:#53647a;align-items:center;gap:4px;display:flex}.save-note{color:#53647a;background:#edf1f6;border-radius:7px;align-items:start;gap:9px;margin-bottom:16px;padding:11px;font-size:10px;display:flex}.save-note svg{margin-top:3px}.save{width:100%;padding:13px;font-size:13px}.editor-links{color:#53647a;justify-content:space-between;align-items:center;gap:5px;margin-top:13px;font-size:9px;display:flex}.editor-links button{font-size:10px;text-decoration:underline}.table-toolbar{border-bottom:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;display:flex}.tabs{background:#edf1f6;border-radius:7px;padding:3px;display:flex}.tabs button{white-space:nowrap;color:#53647a;border-radius:5px;padding:5px 13px;font-size:11px}.tabs button.selected{color:#304f75;background:#fff;font-weight:600;box-shadow:0 1px 4px #1d2c4210}.search{color:#64748b;align-items:center;gap:8px;display:flex}.search input{width:100px;color:var(--ink);background:0 0;border:0;font-size:11px}.table-scroll{scrollbar-width:thin;scrollbar-color:#a8b8cf transparent;max-height:582px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#53647a;z-index:1;background:#f7f9fc;padding:10px 20px;font-size:10px;font-weight:500;position:sticky;top:0}th:first-child{width:77px;padding-left:25px}.align-right{text-align:right;white-space:nowrap}td{border-bottom:1px solid #edf1f6;height:49px;padding:10px 20px}.rank{color:#64748b;justify-content:center;align-items:center;width:25px;height:25px;font-size:10px;display:flex}.rank.gold,.rank.silver,.rank.bronze{border-radius:7px}.rank.gold{color:#b99444;background:#f6efdc}.rank.silver{color:#8899a3;background:#edf1f2}.rank.bronze{color:#aa8065;background:#f5ede5}.student{white-space:nowrap;font-weight:500}.amount{text-align:right;font-variant-numeric:tabular-nums;color:#304f75;font-size:15px;font-weight:650}.bar-cell{width:120px;padding-right:25px}.bar-bg{background:#edf1f6;border-radius:5px;width:100%;height:4px}.bar-bg span{background:#96accb;border-radius:5px;height:100%;display:block}.tag{color:#456181;background:#e7edf5;border-radius:4px;margin-left:8px;padding:2px 5px;font-size:9px;font-weight:400}.table-footer{border-top:1px solid var(--line);color:#53647a;justify-content:space-between;align-items:center;gap:14px;padding:16px 24px;font-size:10px;display:flex}.table-footer>div{gap:16px;display:flex}.table-footer button{white-space:nowrap;color:#304f75;align-items:center;gap:5px;font-size:10px;display:flex}.empty{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:260px;display:flex}.empty strong{color:#53647a;font-size:15px;font-weight:500}.empty span{font-size:11px}.history{margin-top:24px}.history-count{color:#53647a;background:#edf1f6;border-radius:20px;padding:5px 12px;font-size:11px}.history-body{grid-template-columns:1fr 310px;gap:35px;padding:24px;display:grid}.history-list{grid-template-columns:repeat(2,1fr);align-content:start;gap:12px;max-height:330px;display:grid;overflow:auto}.day-card{text-align:left;background:#fff;border:1px solid #d6dde7;border-radius:8px;align-items:center;gap:15px;padding:17px 15px;display:flex}.day-card:hover{background:#edf1f6}.day-card.chosen{background:#edf1f6;border-color:#a8b8cf}.day-label{flex-shrink:0;width:50px;font-size:18px;font-weight:600;line-height:1.3}.day-label small{letter-spacing:1px;color:#64748b;margin-top:4px;font-size:9px;font-weight:400;display:block}.day-card>div{flex:1}.day-card strong{letter-spacing:-.5px;font-size:19px;font-weight:600}.day-card strong small{color:#53647a;font-size:10px;font-weight:400}.day-card>div>span{color:#53647a;font-size:9px;display:block}.day-card>svg{color:#64748b}.history-aside{border-left:1px solid #d6dde7;padding:2px 0 0 30px}.history-aside h3{letter-spacing:1px;margin:8px 0 10px;font-size:19px;font-weight:500;line-height:1.7}.history-aside>p{color:#53647a;font-size:11px;line-height:1.9}.delete{color:#b08477;align-items:center;gap:6px;margin-top:20px;font-size:10px;display:flex}.notice{color:#9a7840;background:#faf2df;border-radius:7px;margin-bottom:12px;padding:10px;font-size:11px}.notice button{margin-left:4px;text-decoration:underline}.error{color:#a75d40;background:#fdf0e9;border:1px solid #efd8c7;border-radius:8px}.banner{align-items:center;gap:15px;margin-bottom:18px;padding:12px 18px;font-size:12px;display:flex}.banner>span{flex:1}.banner button{align-items:center;gap:5px;display:flex}.banner a{text-decoration:underline}.small{margin-bottom:12px;padding:12px;font-size:11px}.small p{margin-top:9px}.small p span{opacity:.8;word-break:break-all;font-size:10px}.ignored{color:#53647a;margin-bottom:12px;font-size:10px}.ignored p{padding:3px 8px}.ignored summary{cursor:pointer}footer{color:#53647a;justify-content:space-between;align-items:center;gap:15px;padding:26px 0;font-size:10px;display:flex}footer>span:first-child{align-items:center;gap:10px;display:flex}.footer-logo{color:#53647a;font:700 19px Georgia,serif}.toast{color:#fff;z-index:30;background:#1d2c42;border-radius:10px;align-items:center;gap:10px;max-width:92vw;padding:13px 20px;font-size:12px;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 10px 35px #1d2c4225}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1600px){main{padding-top:46px}.intro{margin-bottom:36px}}@media (width<=1150px){.workspace{grid-template-columns:350px 1fr}.stat-main,.stat{padding:19px 20px}.stats{grid-template-columns:1.15fr 1fr .85fr}.motto{display:none}.intro h1{font-size:24px}nav{margin-left:20px}.bar-cell,.bar-head{display:none}.intro-actions .button{padding:10px 12px}.table-toolbar{padding:14px 16px}.table-footer{padding:16px}.history-body{grid-template-columns:1fr 240px}}@media (width<=850px){.topbar{height:72px;padding:0 22px}.private{display:none}nav{gap:18px;margin:0}.intro{flex-direction:column;align-items:flex-start}.intro-actions{width:100%}.stats{gap:10px}.stat-main,.stat{padding:16px}.big-number{font-size:39px}.stat-number{font-size:29px}.stat-label{font-size:10px}.stat-foot span,.datehint{display:none}.workspace{grid-template-columns:1fr}.editor textarea{height:235px}.table-scroll{max-height:590px}.bar-cell,.bar-head{display:table-cell}.editor-links{font-size:10px}.history-body{grid-template-columns:1fr}.history-aside{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.history-aside h3 br{display:none}.history-aside h3{font-size:16px}.history-aside .eyebrow{display:none}.delete{margin-top:12px}.history-body{gap:20px}main{padding:26px 20px 0}.intro h1{font-size:25px}.intro{margin-bottom:24px}}@media (width<=540px){.brand-mark{width:36px;height:36px;font-size:24px}.brand{gap:9px;font-size:12px}.brand>div>span{font-size:8px}.topbar{gap:10px;padding:0 16px}nav{gap:16px}nav a{font-size:10px}nav svg{display:none}main{padding:22px 14px 0}.intro h1{letter-spacing:.1px;font-size:21px}.eyebrow{font-size:8px}.subtitle{font-size:11px}.intro-actions .button{flex:1;font-size:11px}.stats{grid-template-columns:1fr 1fr}.stat-main{grid-column:1/-1;padding:20px 23px}.big-number{font-size:49px}.stat-main .stat-label{font-size:12px}.stat-foot span{display:block}.date-control{gap:8px}.date-control label{font-size:11px}.date-control input{padding:5px 7px;font-size:11px}.status{font-size:9px}.panel-title{padding:19px 18px}.panel-title p{font-size:10px}.editor-body{padding:18px}.table-toolbar{gap:10px;padding:12px}.tabs button{padding:5px 10px;font-size:10px}.search input{width:85px}.bar-cell,.bar-head{display:none}td,th{padding-left:12px;padding-right:16px}.table-footer{align-items:flex-start;gap:10px;padding:14px}.table-footer>div{gap:10px}.table-footer button{font-size:9px}.history-list{grid-template-columns:1fr}.history-body{padding:18px}.table-scroll{max-height:560px}.banner{flex-wrap:wrap}.banner>span{flex-basis:100%}footer{flex-direction:column;align-items:flex-start;gap:5px;font-size:9px}.toast{width:max-content;bottom:18px}.tag{font-size:8px}.student{font-size:12px}.stat>p{font-size:9px}.step{font-size:23px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.daily-chart{margin-bottom:24px}.daily-chart .panel-title{border-bottom:0;padding-bottom:12px}.month-select{color:#53647a;align-items:center;gap:9px;font-size:11px;display:flex}.month-select input{color:#304f75;background:0 0;border:1px solid #d6dde7;border-radius:7px;padding:6px 9px;font-size:12px}.chart-meta{color:#53647a;gap:17px;margin-bottom:3px;padding:0 26px;font-size:10px;display:flex}.chart-meta>span{align-items:center;gap:5px;display:flex}.legend-dot{background:#96accb;border-radius:2px;width:7px;height:7px;display:inline-block}.legend-dot.selected{background:#4267a8}.chart-meta .chart-unit{color:#64748b;margin-left:auto}.chart-viewport{scrollbar-width:thin;padding:4px 16px 0;overflow-x:auto}.chart-viewport svg{width:100%;min-width:650px;max-height:270px;display:block}.chart-bar{cursor:pointer;outline-offset:-2px}.chart-bar:hover rect:not([fill=transparent]){filter:brightness(.9)}.chart-bottom{color:#53647a;justify-content:space-between;padding:2px 27px 18px;font-size:10px;display:flex}@media (width<=540px){.daily-chart .panel-title{align-items:flex-start;gap:12px}.daily-chart h2{font-size:14px}.daily-chart .panel-title p{max-width:185px;font-size:9px}.month-select>span{display:none}.month-select input{width:108px;font-size:10px}.chart-meta{gap:10px;padding:0 18px;font-size:9px}.chart-viewport{padding:0 2px}.chart-bottom{gap:10px;padding:5px 18px 16px;font-size:9px}.chart-bottom>span:last-child{display:none}}.workspace.read-only{grid-template-columns:1fr}.workspace.read-only .table-scroll{max-height:680px}.workspace.read-only .bar-cell{width:38%}
