@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans KR',sans-serif;color:#282734;background:#fafbfc;font-synthesis:none;--purple:#7c5ce5;--muted:#92909e;--line:#efedf3}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b09ae9}a{color:inherit;text-decoration:none}.sidebar{width:246px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:38px 23px 0;z-index:5}.brand{font-size:25px;font-weight:800;letter-spacing:-1.1px;display:flex;align-items:center;white-space:nowrap}.brand>span:not(.brand-icon):not(.brand-dot){color:var(--purple)}.brand-icon{font-size:26px;color:white;background:var(--purple);border-radius:13px;width:35px;height:36px;display:inline-grid;place-items:center;margin-right:8px}.brand-dot{color:var(--purple)}.workspace-label{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#aaa6b5;margin:49px 15px 18px}.nav{border:0;background:none;width:100%;display:flex;align-items:center;gap:13px;text-align:left;color:#85818f;padding:15px 16px;border-radius:10px;font-size:14px;font-weight:500;margin-bottom:7px}.nav.active{background:#f0ebfc;color:#7956db;font-weight:700}.nav:hover{background:#f7f4fe}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle;stroke-width:1.7}.nav-new{font-size:9px;margin-left:auto;color:#a59daf;letter-spacing:1px}.sidebar-bottom{margin-top:auto}.side-note{margin:45px 0 25px;text-align:center;padding:0 10px 22px;border-bottom:1px solid var(--line)}.side-note strong{font-size:13px;font-weight:600}.side-note p{font-size:11px;color:#9995a5;margin:8px 0}.side-note .cat{width:160px;height:130px;margin:0 auto 6px}.back-link{font-size:13px;color:#85818f;display:flex;justify-content:space-between;padding:4px 13px 23px}.profile{display:flex;gap:10px;align-items:center;padding:21px 4px;border-top:1px solid var(--line)}.avatar{background:#ede6fa;color:#8364bb;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:14px;font-weight:600}.profile strong{font-size:13px}.profile small{display:block;font-size:10px;color:#aaa3b3;margin-top:4px}.profile-more{color:#a7a0b3;margin-left:auto}.shell{margin-left:246px}.topbar{height:81px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 43px}.breadcrumbs{font-size:12px;color:#a29daa;display:flex;gap:17px}.breadcrumbs strong{font-weight:500;color:#5e5969}.top-actions{display:flex;align-items:center;gap:18px}.demo-badge{font-size:11px;color:#9a7a37;background:#fff9e9;padding:6px 10px;border-radius:5px}.demo-badge.live{color:#417e64;background:#eef8f1}.icon-button{background:transparent;border:0;color:#93909f;padding:6px}.header-divider{width:1px;height:19px;background:#ece9f0}.top-actions select{border:0;background:white;color:#6b6577;font-size:12px}.avatar.small{width:29px;height:29px;font-size:11px}main{max-width:1510px;margin:auto;padding:43px 43px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.eyebrow{font-size:10px;letter-spacing:2px;color:#9787b9;font-weight:700}h1{font-size:28px;letter-spacing:-1.3px;font-weight:700;margin:11px 0}.title-dot{color:var(--purple);margin-left:3px}.page-heading p{font-size:13px;color:#9791a1;margin:10px 0 0}.button{border:1px solid #e4e0ec;border-radius:8px;padding:10px 14px;background:white;color:#645c73;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;white-space:nowrap}.button .icon{width:15px;height:15px}.button:hover{border-color:#a993dc;background:#fcfaff}.button.primary{background:var(--purple);border-color:var(--purple);color:#fff}.filterbar{display:flex;align-items:center;margin-bottom:24px;gap:15px}.student-selector{display:flex;align-items:center;gap:11px}.student-avatar{height:39px;width:39px;background:#f0eafd;color:#8365bb;border-radius:13px;display:grid;place-items:center;font-size:14px;font-weight:600}.student-selector strong{font-size:14px}.student-selector div>span{display:block;font-size:10px;margin-top:3px;color:#aaa4b2}.student-tag{font-size:10px;color:#8d799c;border:1px solid #e7def1;border-radius:4px;padding:3px 6px;margin-left:3px}.periods{display:flex;background:#f0eef4;border-radius:7px;padding:3px;margin-left:auto}.periods button{border:0;border-radius:5px;background:none;color:#9e97aa;font-size:11px;padding:7px 13px}.periods button.selected{background:white;color:#5f526f;box-shadow:0 1px 3px #34224a0c}.date-range{font-size:11px;color:#8d849b;border:1px solid #e6e1ee;border-radius:7px;padding:9px 12px}.welcome{position:relative;background:linear-gradient(110deg,#f1ecfc,#f6f3fc 60%,#f2edfc);border:1px solid #eae1fa;border-radius:14px;min-height:157px;padding:27px 30px;overflow:hidden;margin-bottom:22px}.welcome .pill{font-size:10px;color:#9877cf;background:#fff9;border-radius:4px;padding:5px 8px;display:inline-block}.welcome h2{font-size:21px;letter-spacing:-.8px;margin:13px 0 9px;font-weight:600}.welcome h2 em{font-style:normal;color:#8560d0}.welcome p{font-size:12px;color:#9c8daf;margin:0;line-height:1.7;max-width:65%}.welcome .cat{position:absolute;right:26px;bottom:-8px;width:235px;height:178px;mix-blend-mode:multiply}.welcome .sparkle{position:absolute;right:260px;top:35px;color:#c2abf2;font-size:23px}.cat{background-image:url('./cats-multishot.png');background-size:300% 100%;background-repeat:no-repeat}.cat-wave{background-position:0% center}.cat-study{background-position:50% center}.cat-trophy{background-position:100% center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{padding:21px 22px 18px;border:1px solid var(--line);background:white;border-radius:12px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#96909e}.stat-icon{display:grid;place-items:center;background:#f5f1fc;color:#9c81d4;width:29px;height:29px;border-radius:8px}.stat-icon .icon{width:15px;height:15px}.stat:nth-child(2) .stat-icon{color:#84ad9a;background:#f0f7f4}.stat:nth-child(3) .stat-icon{color:#d1ab69;background:#fbf6ed}.stat:nth-child(4) .stat-icon{color:#829dca;background:#f0f4fa}.stat-value{font-size:28px;letter-spacing:-1px;font-weight:600;margin:14px 0 11px}.stat-value small{font-size:14px;font-weight:400;color:#a59dac;margin-left:4px;letter-spacing:0}.stat-foot{font-size:10px;color:#aba3b3}.stat-foot b{color:#74a48e;font-weight:500;margin-right:6px}.grid-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr);gap:21px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:23px 25px;min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel h2{font-size:15px;font-weight:600;margin:0;letter-spacing:-.3px}.panel-subtitle{font-size:10px;color:#aaa3b3;margin:8px 0 0}.legend{font-size:10px;color:#aaa3b3;display:flex;gap:13px;align-items:center}.legend span{display:flex;align-items:center;gap:5px}.dot{width:6px;height:6px;border-radius:50%;background:#9675e2;display:inline-block}.dot.light{background:#e6ddf8}.chart-wrap{height:220px;position:relative;margin:20px 0 4px;padding-left:34px}.chart-grid{position:absolute;inset:0 0 25px 34px;display:flex;flex-direction:column;justify-content:space-between}.chart-grid div{border-top:1px dashed #eeebf2;position:relative}.chart-grid span{position:absolute;right:calc(100% + 10px);top:-6px;font-size:9px;color:#b8b0c2;white-space:nowrap}.bars{height:100%;position:relative;display:flex;justify-content:space-around;gap:9px}.bar-group{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;min-width:0}.bar-pair{height:calc(100% - 25px);width:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.bar{width:20px;background:#9b7ce1;border-radius:4px 4px 0 0;position:relative;min-height:2px;transition:height .4s}.bar.previous{background:#ebe5f7}.bar:hover:after{content:attr(data-label);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#3b304c;color:white;font-size:10px;padding:5px 7px;border-radius:5px;white-space:nowrap;z-index:3}.bar-label{font-size:10px;color:#a69daf;height:25px;padding-top:12px}.chart-note{background:#faf8fe;color:#9984b5;padding:10px 12px;border-radius:6px;font-size:10px;margin-top:13px}.donut-area{display:flex;align-items:center;justify-content:center;gap:23px;margin:27px 0 24px}.donut{width:140px;height:140px;flex-shrink:0;border-radius:50%;display:grid;place-items:center}.donut-hole{background:white;width:110px;height:110px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut-hole small{font-size:10px;color:#a59caf}.donut-hole strong{font-size:23px;font-weight:600;letter-spacing:-1px;margin-top:5px}.subjects{flex:1;max-width:135px}.subject{display:flex;align-items:center;gap:6px;font-size:10px;margin:14px 0;color:#948a9f}.subject b{margin-left:auto;color:#62556f;font-weight:500}.subject-note{border-top:1px solid var(--line);padding-top:15px;display:flex;justify-content:space-between;font-size:10px;color:#a399ae}.subject-note b{color:#85718e;font-weight:500}.grid-bottom{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr);gap:21px}.text-button{border:0;background:transparent;color:#a296b3;font-size:10px;display:flex;align-items:center;gap:6px}.text-button:hover{color:var(--purple)}.record-table{width:100%;border-collapse:collapse;text-align:left;margin-top:17px;font-size:11px}.record-table th{background:#faf9fc;font-size:10px;font-weight:400;color:#aaa1b5;padding:11px 10px}.record-table td{padding:15px 10px;border-bottom:1px solid #f3f0f7;color:#8f859a}.record-table tr:last-child td{border-bottom:0}.record-table td:first-child{color:#62566f}.subject-badge{display:inline-block;border-radius:5px;padding:4px 8px;background:#f1ebfc;color:#9475c7}.subject-badge.english{color:#749caa;background:#eef6f8}.subject-badge.korean{color:#b49868;background:#faf5eb}.subject-badge.science{color:#80a892;background:#f1f7f3}.completion{color:#83ad99!important;font-size:10px}.goal-panel{position:relative;overflow:hidden}.goal-row{display:flex;justify-content:space-between;align-items:center;margin-top:23px;font-size:11px;color:#8a8098}.goal-row strong{color:#8d67cf;font-size:12px;font-weight:500}.progress{height:6px;border-radius:5px;background:#f0eaf8;overflow:hidden;margin-top:11px}.progress>span{height:100%;display:block;background:#a482e3;border-radius:5px}.goal-caption{font-size:10px;color:#b0a4bb;margin-top:8px}.reward{display:flex;align-items:center;gap:12px;margin-top:19px;padding:10px 13px;background:#fbf9fe;border-radius:8px}.reward .cat{width:74px;height:75px;flex-shrink:0;mix-blend-mode:multiply}.reward strong{font-size:11px;color:#8b75a2;font-weight:500}.reward p{font-size:10px;color:#b0a0bf;margin:7px 0;line-height:1.6}footer{display:flex;justify-content:space-between;gap:16px;font-size:9px;color:#b5afbd;margin-top:28px;padding:0 2px}footer b{font-size:11px;color:#a49aae;font-weight:500}.connection-panel{max-width:750px;margin:0 auto;padding:40px}.connection-panel .cat{width:210px;height:185px;margin:auto}.connection-panel h2{font-size:22px;margin-bottom:15px}.connection-panel p{color:#8c8199;font-size:14px;line-height:1.9}.connection-actions{display:flex;gap:10px;margin-top:25px}.full-records{overflow-x:auto}.empty{padding:50px;text-align:center;color:#9a8aa9;font-size:14px}.goals-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.habit-days{display:flex;gap:9px;margin-top:25px;flex-wrap:wrap}.habit-day{background:#f7f4fb;border-radius:10px;min-width:43px;padding:12px 10px;text-align:center;color:#b6a9c7;font-size:12px}.habit-day.done{background:#eee6fc;color:#8a61d1}.habit-day span{display:block;margin-top:10px;font-size:17px}dialog{border:1px solid #ebe4f4;border-radius:18px;padding:35px;width:min(440px,calc(100% - 32px));box-shadow:0 20px 100px #30204624}dialog::backdrop{background:#28203855;backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin:15px 0}dialog p{font-size:13px;line-height:1.8;color:#96899f}dialog label{font-size:12px;display:block;margin:24px 0 10px}dialog input{width:100%;padding:13px;border:1px solid #e4dbee;border-radius:8px;font-size:14px}dialog .primary{width:100%;margin-top:10px}.dialog-close{position:absolute;right:15px;top:12px;background:none;border:0;font-size:25px;color:#ac9bbb}.form-error{color:#b35b64;min-height:20px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#41334f;color:white;padding:13px 20px;border-radius:9px;font-size:13px;z-index:20;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){main{padding-top:48px}.welcome{min-height:180px}.welcome .cat{height:205px;width:270px}.stat{padding:26px}.chart-wrap{height:245px}}@media(max-width:1180px){.sidebar{width:210px;padding-left:17px;padding-right:17px}.brand{font-size:22px}.brand-icon{width:30px;font-size:21px}.shell{margin-left:210px}main{padding:30px 26px}.topbar{padding:0 26px}.stats{gap:10px}.stat{padding:18px 14px}.stat-value{font-size:24px}.panel{padding:21px 18px}.donut-area{gap:13px}.donut{width:119px;height:119px}.donut-hole{width:92px;height:92px}.grid-main,.grid-bottom{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr)}}@media(max-width:950px){.sidebar{width:180px;padding:30px 12px 0}.brand{font-size:19px}.brand-icon{width:28px;height:30px;font-size:18px;margin-right:5px}.shell{margin-left:180px}.nav{padding:13px 11px;gap:10px;font-size:13px}.nav-new{display:none}.workspace-label{font-size:9px;margin-left:9px}.grid-main,.grid-bottom{grid-template-columns:1fr}.donut-area{justify-content:flex-start;gap:40px}.donut{width:140px;height:140px}.donut-hole{width:110px;height:110px}.subjects{max-width:none}.side-note .cat{width:140px}.date-range{display:none}h1{font-size:25px}.stat-value{font-size:22px}.stats{grid-template-columns:repeat(2,1fr)}.welcome .cat{right:-13px;width:200px;height:165px}.welcome h2{font-size:19px}.welcome .sparkle{display:none}.top-actions{gap:10px}.breadcrumbs{font-size:11px;gap:10px}.topbar{padding:0 22px}.goals-grid{grid-template-columns:1fr}}@media(max-width:650px){.sidebar{position:static;width:100%;height:auto;padding:20px 18px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:23px}.brand-icon{width:32px;height:33px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:18px;gap:3px}.nav{justify-content:center;padding:11px 5px;font-size:11px;gap:5px;margin-bottom:9px;white-space:nowrap}.nav .icon{width:14px}.shell{margin-left:0}.topbar{height:58px;padding:0 20px}.breadcrumbs{display:none}.top-actions{width:100%;gap:14px}.top-actions .demo-badge{margin-right:auto}main{padding:26px 18px 18px}.page-heading{align-items:flex-start;gap:8px}.page-heading .button{font-size:0;padding:10px;margin-top:22px}.page-heading .button .icon{width:17px;height:17px}.page-heading h1{font-size:22px;letter-spacing:-.9px}.page-heading p{font-size:11px;line-height:1.8;max-width:280px}.eyebrow{font-size:8px}.filterbar{gap:8px}.student-tag{display:none}.student-selector strong{font-size:13px}.periods button{padding:7px 9px;font-size:10px}.welcome{padding:23px 20px;min-height:157px}.welcome h2{font-size:17px;max-width:65%;line-height:1.5}.welcome p{font-size:10px;max-width:60%}.welcome .cat{width:150px;height:139px;right:-12px;bottom:-2px}.stats{gap:10px;margin-bottom:17px}.stat{padding:17px}.stat-top{font-size:11px}.stat-value{font-size:25px}.stat-foot{font-size:9px}.panel{padding:22px 18px}.panel h2{font-size:14px}.grid-main,.grid-bottom{gap:17px}.record-table td,.record-table th{padding:12px 6px;font-size:10px}.legend{font-size:9px;gap:9px}.chart-wrap{height:200px}.bar{width:14px}.chart-note{font-size:9px;line-height:1.6}.connection-panel{padding:27px}footer{font-size:8px;flex-direction:column;gap:8px}.connection-actions{flex-wrap:wrap}.full-records .record-table{min-width:500px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
[hidden]{display:none!important}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font-size:12px;color:#9b8aab;gap:15px}.pagination>div{display:flex;gap:8px}#subjectFilter{border:1px solid #e9e1f2;border-radius:6px;color:#867098;padding:6px 11px;font-size:12px;background:white}.connection-detail{display:grid;grid-template-columns:85px 1fr;gap:17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;margin:23px 0;font-size:13px}.connection-detail span{color:#a193ad}.connection-detail strong{font-weight:500;color:#7c698d}.connection-panel .mock-note{font-size:12px;color:#ad9bb9;margin-top:25px}.panel-header>.icon{color:#b2a2c7}.record-table{line-height:1.6}.welcome p,.page-heading p{font-size:14px}.panel-subtitle,.chart-note,.subject-note,.goal-caption,.reward p,.stat-foot{font-size:12px}.stat-top,.goal-row,.subject,.reward strong{font-size:13px}.record-table td{font-size:12px}.record-table th{font-size:11px}.nav,.button,.student-selector strong{font-size:14px}.side-note strong{font-size:14px}.side-note p{font-size:12px}.top-actions select,.date-range{font-size:12px}.welcome{min-height:180px}.welcome .cat{width:235px;height:200px}.welcome p{line-height:1.9}.legend,.text-button{font-size:12px}.subject{margin:15px 0}.donut-hole strong{white-space:nowrap;font-size:20px}.chart-note{line-height:1.7}.reward{min-height:100px}.welcome h2{max-width:calc(100% - 220px);line-height:1.5}.goals-grid .reward{margin-top:30px}.goal-caption{line-height:1.6}footer{font-size:11px}.connection-panel .eyebrow{display:block;margin-top:10px}.side-note .cat{height:160px}.cat{background-size:300% 100%}@media(max-width:1180px){.welcome h2{max-width:calc(100% - 175px)}.welcome .cat{width:200px;height:180px}.welcome p{max-width:calc(100% - 155px)}.donut-area{flex-wrap:wrap}.subjects{min-width:95px}}@media(max-width:650px){.nav{font-size:11px}.button{font-size:12px}.welcome{min-height:191px}.welcome h2{max-width:65%}.welcome p{font-size:12px;max-width:63%}.welcome .cat{width:150px;height:150px;right:-4px}.stat-top{font-size:12px}.stat-foot{font-size:11px;line-height:1.6}.page-heading p{font-size:12px}.panel-subtitle{line-height:1.7}.record-table td{font-size:11px}.record-table th{font-size:10px}.subject-note{font-size:11px}.legend{font-size:10px}.reward p{font-size:11px}.reward strong{font-size:12px}.chart-note{font-size:11px}.pagination{font-size:11px}footer{font-size:10px}.top-actions select{font-size:12px}}
body{word-break:keep-all;overflow-wrap:break-word}.welcome .cat{width:200px;height:200px;right:38px}.panel-subtitle,.stat-top,.stat-foot,.page-heading p,.subject-note,.goal-caption{color:#817889}.record-table td{color:#766c80}.chart-grid span,.bar-label{color:#968aa2}@media(max-width:1180px){.welcome .cat{width:180px;height:180px;right:10px}}@media(max-width:650px){.welcome .cat{width:145px;height:145px;right:0}.welcome h2{max-width:68%;font-size:16px}.welcome p{max-width:61%}.page-heading h1{font-size:21px}.filterbar{margin-bottom:24px}.record-table td:first-child{white-space:nowrap}}

/* Brand-colored header, shared across desktop and mobile. */
.topbar {
  background: var(--purple);
  border-bottom-color: #704dd5;
  color: #fff;
}
.topbar .breadcrumbs { color: #f0eaff; }
.topbar .breadcrumbs strong,
.topbar .icon-button,
.topbar .top-actions select { color: #fff; }
.topbar .top-actions select { background: transparent; }
.topbar .top-actions select option { background: #fff; color: #282734; }
.topbar .header-divider { background: #ffffff40; }
.topbar .demo-badge { background: #ffffff; color: #6948b7; }
.topbar .avatar { background: #ede6fa; color: #6948b7; }
.topbar .icon-button:hover { background: #ffffff20; border-radius: 6px; }
.topbar button:focus-visible,
.topbar select:focus-visible { outline-color: #fff; }

/* Compact, deeper StudyNyang header. */
.topbar {
  height: 64px;
  background: #6547bd;
  border-bottom-color: #5c3ead;
}
@media (max-width: 650px) {
  .topbar { height: 50px; }
}
