/* 수업 노트 · Minimal layout. The approved cool white / blue palette is applied below. */
@font-face{font-family:LectureSans;src:url('../fonts/Pretendard-Regular.ttf') format('truetype');font-weight:100 600;font-display:swap}
@font-face{font-family:LectureSans;src:url('../fonts/Pretendard-Bold.ttf') format('truetype');font-weight:650 900;font-display:swap}
:root,:root[data-theme='light'],:root[data-theme='dark']{--bg:#fafafa;--panel:#fff;--ink:#171717;--muted:#777;--line:#e7e7e7;--line-strong:#d5d5d5;--chip:#f1f1f1;--accent:#252525;--accent-soft:#ececec;--accent-ink:#fff;--danger:#444;--mark:#e5e5e5;--code:#f1f1f1;--shadow:rgba(0,0,0,.06);--card-shadow:none;--serif:LectureSans,system-ui,sans-serif;color-scheme:light}
@media(prefers-color-scheme:dark){:root:not([data-theme='light']){--bg:#fafafa;--panel:#fff;--ink:#171717;--muted:#777;--line:#e7e7e7;--line-strong:#d5d5d5;--chip:#f1f1f1;--accent:#252525;--accent-soft:#ececec;--accent-ink:#fff;--danger:#444;--mark:#e5e5e5;--code:#f1f1f1;--shadow:rgba(0,0,0,.06);--card-shadow:none;color-scheme:light}}
*{box-sizing:border-box}html,body{font:14px/1.55 LectureSans,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink)}body{margin:0}button,input,textarea,select{font-family:inherit}button,.btn{background:#fff;border:1px solid var(--line-strong);border-radius:5px;padding:7px 12px;font-weight:400;box-shadow:none;transition:background .14s,border-color .14s}button:hover,.btn:hover{background:#f1f1f1;filter:none}button.primary,button.primary:hover{background:#222;border-color:#222;color:#fff}button.ghost,.btn.ghost{background:transparent;border-color:transparent}button.ghost:hover,.btn.ghost:hover{background:#eee}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:2px solid #555;outline-offset:2px}input,select,textarea{border:1px solid var(--line-strong);border-radius:5px;background:#fff;padding:8px 10px}input:focus,select:focus,textarea:focus{outline:1px solid #888}input::placeholder{color:#888}input[type=checkbox]{accent-color:#252525}a{color:inherit}.minimal-icon{display:inline-block;flex:0 0 auto;vertical-align:middle}.meta,.muted{color:var(--muted);font-size:12px}h1,h2,.brand,.hero h1,.title-input{font-family:inherit;letter-spacing:-.025em}h2{color:#222;font-size:15px}.dot{background:#666!important}.chip,.chip.on{background:#eaeaea;border:0;color:#222;font-size:11px;padding:3px 9px;border-radius:999px}.chip button{color:#555}.chip.add{background:transparent;border:1px solid #ddd;color:#777}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;background:transparent;border:0;border-radius:5px}.icon-btn:hover{background:#eaeaea}.page{max-width:1240px;padding:22px}.home-shell{display:grid;grid-template-columns:220px minmax(0,1fr);padding:0;margin:0;gap:0;max-width:none;min-height:100dvh;background:#fafafa}.home-main{min-width:0;padding:22px 26px 28px}.home-main .hero,.home-main .wide-actions,.redesign-stat-strip{display:none!important}.home-main .topbar.home-top{display:flex;position:static;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px;padding:0;background:transparent;min-height:36px;box-shadow:none}.home-main .topbar.home-top .sem-btn{display:inline-flex;align-items:center;gap:8px;color:#171717;font-size:15px;font-weight:700;letter-spacing:0;padding:6px 0;background:transparent;border:0}.sem-btn .minimal-icon{width:14px;height:14px}.top-actions{margin-left:auto}.minimal-mobile-brand{display:none}.side-nav{display:flex;flex-direction:column;gap:8px;width:220px;position:sticky;top:0;align-self:start;height:100dvh;padding:30px 15px 18px;background:#f2f2f2;border-right:1px solid #ddd;overflow-y:auto;z-index:15}.side-nav .brand{order:0;display:block;flex:0 0 auto;text-align:left;font-size:19px;font-weight:700;border:0;border-radius:0;background:none;padding:0 8px;margin:0 0 2px;color:#111}.side-nav .brand-mark{display:none}.redesign-side-search{order:1;display:flex;align-items:center;gap:9px;min-height:34px;padding:7px 9px;border:1px solid #d8d8d8;border-radius:5px;background:#fafafa;color:#747474;font-size:12px}.redesign-side-search .minimal-icon{width:15px;height:15px;color:#222}.redesign-side-search kbd{margin-left:auto;font:10px inherit;color:#888;white-space:nowrap}.minimal-all-notes{order:2;font-size:12px!important;color:#777!important;min-height:28px!important;padding:5px 8px!important}.side-group{order:3;display:flex;flex-direction:column;gap:3px;margin:0}.side-group .side-label{font-size:10px;color:#8b8b8b;letter-spacing:0;display:none}.side-group+.side-group{margin-top:2px}.side-item{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;border:0;border-radius:5px;padding:7px 9px;text-align:left;font-size:13px;line-height:1.4;background:none;color:#2c2c2c}.side-item.on{background:#dfdfdf;color:#111;font-weight:500}.side-item:hover{background:#e6e6e6}.side-item .minimal-icon{width:18px;height:18px}.minimal-course-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.minimal-count{margin-left:auto;color:#666;font-size:11px}.side-group:nth-of-type(1){margin-top:12px}.side-group .pill{font-size:9px;padding:1px 5px;color:#777;background:none;margin-left:auto}.side-item.muted{font-size:11px;min-height:26px;color:#888;padding:5px 9px}.side-account{order:7;margin-top:auto;display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:12px 8px;color:#777;font-size:11px;min-height:54px}.side-account .txt{display:flex;flex-direction:column;min-width:0;text-align:left}.side-account .mail{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.side-account .meta{font-size:10px}.side-account .ico{background:none;border:0;color:#555}.side-nav .redesign-side-new{order:8;display:block;min-height:36px;flex:0 0 auto;background:#fafafa;color:#171717;border:1px solid #d5d5d5;border-radius:5px;font-weight:500;padding:7px;width:100%;box-shadow:none}.side-nav .redesign-side-new:hover{background:#e9e9e9}.home-cols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-areas:'courses courses' 'recent todos';gap:18px;align-items:stretch}.col-courses{grid-area:courses;min-width:0}.home-cols>.col-recent,.home-cols>.col-todos{margin:0;min-width:0;min-height:250px;border:1px solid #e2e2e2;border-radius:6px;padding:12px 9px;background:#fff}.home-cols>.col-recent{grid-area:recent}.home-cols>.col-todos{grid-area:todos;display:block}.col-courses>.section-head{display:flex;justify-content:flex-end;margin:0;min-height:0}.col-courses>.section-head h2{display:none}.col-courses>.section-head .ghost{font-size:11px;padding:0 2px 7px;color:#888}.grid,.home-cols .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card.course,.home-cols .card.course{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;min-height:132px;padding:18px 32px 17px 17px;border:1px solid #ddd;border-left:1px solid #ddd!important;border-radius:6px;background:#fff;box-shadow:none;overflow:hidden;cursor:pointer}.card.course.is-recent{background:#eee;border-color:#a0a0a0!important}.card.course:hover{background:#efefef;border-color:#a5a5a5!important;box-shadow:none}.card.course .minimal-folder-icon{width:28px;height:28px;margin:0 0 5px;stroke-width:1.35}.card.course .minimal-course-chevron{position:absolute;right:13px;top:60%;width:15px;height:15px}.card.course .course-name,.home-cols .card.course .course-name{font-size:16px;line-height:1.35;letter-spacing:-.025em;margin:0}.card.course .course-prof{font-size:12px;color:#777;margin:0;padding:0}.card.course .course-foot{display:none}.card.course:before,.card.course:after{display:none}.card.form{border:1px solid #ddd;border-radius:6px;padding:16px;background:white;box-shadow:none}.card.form .swatch{display:none}.minimal-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 5px 8px;min-height:24px}.minimal-panel-head h2,.col-recent h2,.col-todos h2{font-size:15px;color:#171717;letter-spacing:0;font-weight:700;margin:0}.minimal-panel-head a{font-size:11px;color:#444}.minimal-panel-head .meta{font-size:11px}.col-recent>p,.col-todos>p{padding:25px 10px;line-height:1.7}.list,.list.cards{display:block;list-style:none;margin:0;padding:0;background:white;box-shadow:none;border-radius:0;overflow:visible}.list .minimal-note-item,.list.cards .minimal-note-item{position:relative;display:block;border:0;border-bottom:1px solid #ececec;margin:0;padding:0;background:none}.list .minimal-note-item:last-child{border-bottom:0}.list li>a.note-row,.list.cards li>a.note-card{display:flex;align-items:center;gap:11px;padding:10px 38px 10px 12px;min-height:45px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#252525;grid-template-areas:none}.list li>a.note-row:hover,.list.cards li>a.note-card:hover{background:#f4f4f4;box-shadow:none}.minimal-note-icon{width:17px;height:19px;stroke-width:1.45;color:#333}.minimal-note-main{display:flex;flex:1;min-width:0;align-items:center;gap:8px;flex-wrap:wrap}.list li>a .title,.list.cards li>a.note-card .title{font-size:13px;font-weight:400;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%;flex:0 1 auto;grid-area:auto}.list li>a .meta,.list.cards li>a.note-card .meta{font-size:11px;font-weight:400;color:#777;white-space:nowrap;grid-area:auto;flex:0 0 auto}.list li>a .tags,.list.cards li>a.note-card .tags{display:flex;gap:4px;flex-wrap:nowrap;grid-area:auto}.note-card .tags .chip{font-size:10px;padding:2px 7px;background:#ececec;color:#444}.minimal-row-menu{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;width:27px;height:30px;padding:5px;color:#333;border-radius:4px}.minimal-row-menu .minimal-icon{width:17px;height:17px;stroke-width:2.5}.col-recent .minimal-row-menu{display:none}.col-recent .list li>a.note-row{padding:9px 7px;gap:9px}.col-recent .list li>a .title{font-size:12px;flex:1}.col-recent .list li>a .meta{font-size:10px;white-space:normal;text-align:right;max-width:78px;line-height:1.45}.col-recent .minimal-note-main{flex-wrap:nowrap}.list li>a.with-snippet .minimal-note-main{display:block}.list li>a .snippet{display:block;font-size:12px;line-height:1.6;margin-top:3px;color:#777}.todo-panel{display:grid;gap:0;background:transparent;box-shadow:none;padding:0}.todo{display:flex;align-items:flex-start;gap:10px;padding:12px 8px;border:0;font-size:13px;background:none}.todo input{appearance:auto;width:17px;height:17px;margin:2px 0 0;flex:0 0 auto;border:1px solid #888;border-radius:3px}.todo .txt{flex:1;min-width:0}.todo .src{display:none}.todo.done .txt{color:#999;text-decoration:line-through}.home-main>.fab{display:none}.home-main .course-head{margin:0 0 14px;padding:0;background:transparent!important;border:0;border-radius:0;box-shadow:none}.minimal-course-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px;min-height:35px}.minimal-breadcrumb{display:flex;align-items:center;gap:11px;color:#555;font-size:12px;min-width:0}.minimal-breadcrumb .minimal-icon{width:12px;height:12px}.minimal-breadcrumb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-actions{gap:6px;flex:0 0 auto}.list-actions .ghost{font-size:11px;padding:6px}.new-note-group{display:inline-flex;align-items:center;gap:5px}.new-note-group .week-pick{font-size:11px;background:#fff;border:1px solid #ddd;padding:7px 4px;width:66px}.new-note-group .primary{font-size:12px;white-space:nowrap;padding:8px 11px}.minimal-course-title{display:flex;justify-content:space-between;gap:20px;align-items:center}.course-head h1{font-size:23px;font-weight:700;line-height:1.3;margin:0}.course-head .sub{margin:5px 0 0;color:#888;font-size:12px;line-height:1.4}.redesign-week-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.redesign-week-tabs button{border:0;padding:6px 13px;background:#f0f0f0;border-radius:999px;font-size:12px}.redesign-week-tabs button.on{background:#dcdcdc;color:#111}.redesign-course-tools{display:flex;gap:8px;align-items:center;margin:0 0 14px;padding:10px;background:#f2f2f2;border:1px solid #e5e5e5;border-radius:5px}.redesign-note-search{min-width:0;flex:1;height:36px;font-size:12px}.redesign-course-tools select{font-size:11px;height:36px}.minimal-week-section{border:1px solid #e2e2e2;border-radius:6px;margin:0 0 14px;overflow:hidden;background:#fff}.week-head{display:flex;align-items:center;gap:10px;padding:8px 13px;margin:0;background:#ececec;min-height:34px}.week-head h2{margin:0;font-size:13px;letter-spacing:0;color:#111;line-height:1.3}.week-head .meta{font-size:11px;color:#888}.week-head .rule{display:none}.new-note-bar{display:none}.minimal-course-page .home-main{padding-top:20px}.minimal-search-page{max-width:1120px;min-height:100vh;padding:28px}.minimal-search-page .topbar{position:static;margin:0 0 22px;padding:0;background:none}.minimal-search-page .topbar h1{font-size:24px}.minimal-search-page .search-bar{margin-bottom:20px}.minimal-search-page .list{border:1px solid #ddd;border-radius:6px;overflow:hidden}.home-main>.redesign-note-search{width:100%;margin:10px 0}.home-main>.list.cards{border:1px solid #e2e2e2;border-radius:6px;overflow:hidden}.redesign-mobile-nav{display:none}.overlay{z-index:120;background:rgba(0,0,0,.26);backdrop-filter:none}.dialog{border:1px solid #d9d9d9;border-radius:8px;box-shadow:0 12px 50px #0002;padding:22px;background:#fff;max-height:calc(100dvh - 36px);overflow:auto}.dialog input{max-width:100%;min-width:0}.menu-list button{border-radius:5px;background:#f7f7f7}.preview-page{background:#fff}.notice{color:#555}.status,.status.dirty,.status.saving,.status.saved{background:none;color:#777;font-size:11px;padding:0}.redesign-editor-shell{--note-side:210px;min-height:100dvh;background:#fff}.redesign-note-sidebar{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:32;width:var(--note-side);background:#f1f1f1;border-right:1px solid #ddd;padding:22px 10px 16px;gap:10px;overflow:hidden}.sidebar-closed .redesign-note-sidebar{display:none}.redesign-sidebar-head{display:flex;flex-direction:column;gap:2px;padding:0 9px 12px;border-bottom:1px solid #ddd;flex:0 0 auto}.redesign-sidebar-head>a{font-size:16px;font-weight:700}.redesign-sidebar-head .meta{font-size:11px}.minimal-sidebar-search{display:flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #ddd;border-radius:5px;background:#fafafa;flex:0 0 auto;height:31px}.minimal-sidebar-search .minimal-icon{width:14px;height:14px;color:#777}.minimal-sidebar-search input{background:none;border:0;border-radius:0;padding:0;min-width:0;width:100%;font-size:11px;outline:0}.redesign-sidebar-notes{flex:1 1 auto;min-height:0;overflow-y:auto}.redesign-sidebar-notes>section{padding:0;margin:0 0 13px}.redesign-week-label{display:flex;align-items:center;gap:12px;background:#e8e8e8;color:#222;padding:5px 8px;margin:0 0 3px;font-size:11px;border-radius:3px}.redesign-week-label span{color:#888;font-size:10px}.redesign-note-link{display:flex;align-items:center;gap:8px;padding:8px 7px;min-height:34px;font-size:12px;border-radius:5px;background:transparent;color:#2a2a2a}.redesign-note-link>.minimal-icon{width:16px;height:18px;stroke-width:1.45}.redesign-note-link>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.redesign-note-link.on{background:#dbdbdb;color:#111}.redesign-note-link:hover{background:#e1e1e1}.minimal-sidebar-add{flex:0 0 auto;min-height:34px;background:#fafafa;border:1px solid #d0d0d0;font-size:12px}.minimal-sidebar-shade{display:none}.editor-page,.redesign-editor-shell .editor-page{position:fixed;left:0;right:0;top:var(--vvt,0px);height:var(--vvh,100dvh);width:100%;max-width:none;margin:0;padding:0;display:flex;flex-direction:column;background:#fff;overflow:hidden}.sidebar-open .editor-page{left:var(--note-side);width:calc(100% - var(--note-side))}.editor-page .topbar{order:0;display:flex;flex-wrap:nowrap;align-items:center;gap:9px;position:static;flex:0 0 auto;min-height:53px;margin:0;padding:10px 20px;border-bottom:0;background:#fff;box-shadow:none;max-width:none}.editor-page .topbar .back{display:none}.editor-page .topbar .course-crumb{display:flex;align-items:center;gap:10px;min-width:0;flex:1;font-size:11px;white-space:nowrap;color:#777;overflow:hidden}.course-crumb .minimal-icon{height:11px;width:11px}.minimal-title-crumb{overflow:hidden;text-overflow:ellipsis;color:#333}.minimal-editor-actions{gap:12px;flex:0 0 auto}.editor-page .topbar .week-select{font-size:10px;padding:4px;border:0;background:transparent;max-width:64px}.minimal-drive-btn{display:inline-flex;align-items:center;gap:7px;font-size:11px;padding:6px 9px;white-space:nowrap;background:#fff}.minimal-drive-btn .minimal-icon{width:15px;height:15px}.editor-page .tool-slot{order:1;flex:0 0 auto;margin:0 20px;padding:3px 8px;background:#fff!important;border:1px solid #ddd;border-radius:6px;min-width:0}.editor-page .tool-slot>*{max-width:none;margin:0}.editor-page .tool-slot .editor-tools{display:flex;align-items:center;justify-content:flex-start;gap:0;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.editor-page .tool-slot .fmtbar{display:flex;flex:0 0 auto;align-items:center;gap:1px;padding:0;margin:0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}.editor-page .tool-slot .fmt-row2{border-left:1px solid #ddd;margin-left:4px;padding-left:5px}.fmt-sep{height:19px;margin:0 4px;background:#ddd}.editor-page .tool-slot .fmtbar button,.editor-page .tool-slot .fmtbar button.labeled{display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:32px;padding:5px 6px;border-radius:4px;font-size:14px;background:none;color:#161616}.editor-page .tool-slot .fmtbar button:hover,.editor-page .tool-slot .fmtbar button.on{background:#e8e8e8;color:#111}.editor-page .tool-slot .fmtbar button .cap,.editor-page .tool-slot .fmtbar button .lbl{display:none}.editor-page .tool-slot .fmtbar button .ico{display:inline;font-size:14px;line-height:1}.editor-page .tool-slot .fmtbar .minimal-icon{width:17px;height:17px}.editor-page .tool-slot .fs-ctl select{height:30px;padding:3px;border:0;border-radius:3px;font-size:12px;background:none;width:48px}.editor-page .tool-slot .color-row{gap:0;margin:0}.editor-page .tool-slot .color-row .swatch:not(.custom){display:none}.editor-page .tool-slot .color-row .swatch.custom{background:none!important;border:0;border-radius:3px;font-size:0;width:30px;min-width:30px}.editor-page .tool-slot .color-row .swatch.custom:before{content:'A';font-size:14px;line-height:1.1;border-bottom:3px solid #222;color:#222}.editor-page .tool-slot .fmtbar mark{background:#e6e6e6;color:#222}.editor-page .editor-head{order:2;flex:0 0 auto;position:static;margin:0;padding:29px 6% 0;background:#fff;border:0;box-shadow:none}.editor-page .editor-head>*{max-width:900px;margin-left:auto;margin-right:auto}.editor-page .title-row{display:flex;align-items:center;gap:8px;margin:0 auto 4px}.editor-page .title-input{width:100%;min-width:0;flex:1;margin:0;padding:4px 0 10px;font:700 clamp(23px,2.6vw,34px)/1.3 LectureSans,system-ui,sans-serif;letter-spacing:-.035em;background:none;border:0;border-radius:0;box-shadow:none;color:#111;outline:0}.editor-page .title-input::placeholder{color:#969696}.editor-page .more-btn{height:32px;min-width:30px;align-self:center;padding:3px;font-size:22px;border:0;background:transparent}.editor-page .editor-head .tag-chips{display:flex;gap:7px;padding:0 0 18px;margin-top:0;margin-bottom:0;border-bottom:1px solid #ddd}.editor-page .tag-chips .chip{font-size:11px;background:#e9e9e9;color:#333;padding:3px 9px}.editor-page .tag-chips .chip.add{background:transparent;border:0;color:#888;font-size:10px}.editor-page .editor-scroll{order:3;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:18px 6% 80px;margin:0;background:#fff;background-image:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.editor-page .wysiwyg{display:block;width:100%;max-width:900px;margin:0 auto;background:none;gap:0;border:0;box-shadow:none}.editor-page .tiptap-body{border:0;border-radius:0;padding:0;margin:0;min-height:50vh;outline:none;background:#fff;box-shadow:none;line-height:1.75;font-family:inherit;font-size:15px}.editor-page .tiptap-body:focus{outline:none}.tiptap-body h1,.tiptap-body h2,.tiptap-body h3{font-family:inherit;letter-spacing:-.025em;border:0;padding-left:0;line-height:1.45;color:inherit}.tiptap-body h2{font-size:1.3em;margin:1em 0 .45em;font-weight:700}.tiptap-body h2:first-child{margin-top:0}.tiptap-body blockquote{background:#eee;border:0;border-radius:5px;margin:8px 0 24px;padding:10px 15px;color:inherit}.tiptap-body blockquote p:last-child{margin-bottom:0}.tiptap-body hr{height:1px;border:0;background:#ddd;margin:22px 0}.tiptap-body ul[data-type=taskList]{padding:0}.tiptap-body ul[data-type=taskList] input{accent-color:#222}.tiptap-body .is-empty:before{color:#aaa}.editor-page .attachments{max-width:900px;margin-left:auto;margin-right:auto}.editor-tools .on{background:#e5e5e5!important;color:#111!important}.search-bar{gap:8px}.search-bar input{min-width:0}.preview-bar{background:#f1f1f1}.preview-page .preview-frame{background:white}.archived{font-size:12px}.archived-toggle{color:#777;font-size:11px}
@media(min-width:1500px){.home-main{padding:26px 40px 40px}.home-cols{gap:22px}.card.course,.home-cols .card.course{min-height:150px;padding:22px}.side-nav{width:240px}.home-shell{grid-template-columns:240px minmax(0,1fr)}.redesign-editor-shell{--note-side:230px}.editor-page .editor-head{padding-top:36px}.minimal-note-main .title{font-size:14px}}
@media(max-width:1100px) and (min-width:760px){.home-shell{grid-template-columns:190px minmax(0,1fr)}.side-nav{width:190px;padding:24px 11px 16px}.home-main{padding:18px 20px 25px}.home-cols{gap:14px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.card.course,.home-cols .card.course{padding:15px 26px 14px 14px;min-height:119px}.card.course .course-name,.home-cols .card.course .course-name{font-size:14px}.card.course .minimal-folder-icon{width:24px;height:24px}.card.course .course-prof{font-size:11px}.minimal-course-top{gap:5px}.minimal-breadcrumb{font-size:11px;gap:6px}.minimal-export,.minimal-archive{display:none}.minimal-course-title{gap:10px}.redesign-week-tabs{gap:4px}.redesign-week-tabs button{padding:5px 10px;font-size:11px}.col-recent .list li>a .meta{max-width:57px;font-size:9px}.col-recent .list li>a .title{font-size:11px}.todo{font-size:12px;gap:7px;padding:10px 5px}.minimal-panel-head h2{font-size:14px}.editor-page .topbar{padding:8px 14px}.minimal-sem-crumb{display:none}.minimal-title-crumb{max-width:200px}.minimal-drive-btn{font-size:10px}.minimal-editor-actions{gap:8px}.editor-page .tool-slot{margin:0 14px}.editor-page .editor-head{padding:25px 6% 0}}
@media(max-width:899px){.redesign-editor-shell{--note-side:205px}.sidebar-open .editor-page{left:0;width:100%}.redesign-note-sidebar{z-index:110;box-shadow:6px 0 25px #0001}.minimal-sidebar-shade{display:block;position:fixed;inset:0;z-index:105;background:#0003;border:0;border-radius:0}.minimal-title-crumb{display:none}.minimal-editor-actions{gap:7px}.minimal-drive-btn{padding:6px}.editor-page .topbar .course-crumb{gap:6px}.course-crumb .minimal-icon:last-of-type{display:none}.col-recent .minimal-note-main{max-width:100%}.home-cols{grid-template-columns:1fr;grid-template-areas:'courses' 'recent' 'todos'}.home-cols>.col-recent,.home-cols>.col-todos{min-height:0}.col-recent .list li>a .title{font-size:13px}.col-recent .list li>a .meta{font-size:11px;max-width:none;white-space:nowrap}}
@media(max-width:759px){html,body{font-size:14px}.home-shell{display:block;min-height:100dvh;background:#fff}.side-nav{display:none}.home-main{padding:18px 17px 92px;background:#fff}.home-main .topbar.home-top{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px;padding:0}.minimal-mobile-brand{display:block;flex-basis:100%;font-size:23px;font-weight:700;margin:2px 0 5px}.home-main .topbar.home-top .sem-btn{font-size:13px;font-weight:500;padding:7px 9px;border:1px solid #ddd;border-radius:5px}.top-actions .primary{font-size:12px;padding:8px 11px}.top-actions .icon-btn{width:29px}.home-cols{gap:15px;display:grid;grid-template-columns:1fr;grid-template-areas:'courses' 'recent' 'todos'}.grid,.home-cols .grid{display:grid;grid-template-columns:1fr;gap:8px}.card.course,.home-cols .card.course{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:13px;row-gap:3px;min-height:80px;padding:13px 34px 13px 14px}.card.course .minimal-folder-icon{grid-row:1 / 3;grid-column:1;margin:0;width:27px;height:27px;align-self:center}.card.course .course-name,.home-cols .card.course .course-name{grid-column:2;font-size:15px}.card.course .course-prof{grid-column:2;font-size:11px}.card.course .minimal-course-chevron{top:calc(50% - 7px)}.col-courses>.section-head .ghost{padding-bottom:7px;font-size:11px}.home-cols>.col-recent,.home-cols>.col-todos{padding:12px 8px;min-height:0;margin:0}.minimal-panel-head h2{font-size:14px}.col-recent .list li>a.note-row{gap:8px;padding:10px 5px}.col-recent .list li>a .title{font-size:12px}.col-recent .list li>a .meta{font-size:10px;max-width:62px;white-space:normal}.todo{font-size:12px;padding:11px 6px}.redesign-mobile-nav{display:flex;align-items:center;justify-content:space-around;position:fixed;z-index:40;bottom:0;left:0;right:0;height:calc(62px + env(safe-area-inset-bottom,0px));padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid #e2e2e2;background:#fff}.redesign-mobile-nav>a,.redesign-mobile-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:72px;min-height:44px;font-size:10px;color:#999;background:none;border:0;border-radius:5px;padding:4px}.redesign-mobile-nav .on{color:#111;background:#efefef}.redesign-mobile-nav svg{width:20px;height:20px}.minimal-course-page .home-main{padding:16px 15px 137px}.minimal-course-top{margin-bottom:20px;gap:8px}.minimal-breadcrumb{font-size:10px;gap:6px;min-width:0}.minimal-breadcrumb>span{max-width:92px}.minimal-export,.minimal-archive{display:none}.minimal-course-top .new-note-group{display:none}.minimal-course-title{flex-direction:column;align-items:stretch;gap:13px}.course-head h1{font-size:22px}.course-head .sub{font-size:11px}.redesign-week-tabs{flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:2px}.redesign-week-tabs button{font-size:12px;flex:0 0 auto;padding:6px 14px}.redesign-course-tools{flex-wrap:wrap;padding:8px;gap:6px}.redesign-course-tools .redesign-note-search{flex-basis:100%}.redesign-course-tools select{font-size:11px;max-width:50%;flex:1}.minimal-week-section{margin-bottom:12px}.week-head{padding:8px 10px}.list li>a.note-row,.list.cards li>a.note-card{gap:8px;min-height:53px;padding:10px 32px 10px 10px}.list li>a .title,.list.cards li>a.note-card .title{font-size:12px;white-space:normal;line-height:1.45}.list li>a .meta,.list.cards li>a.note-card .meta{font-size:9px;max-width:49px;white-space:normal;text-align:right}.minimal-note-main{gap:4px}.note-card .tags .chip{font-size:9px;padding:1px 6px}.minimal-row-menu{right:3px;width:25px}.minimal-note-icon{width:15px;height:17px}.new-note-bar{display:flex;position:fixed;bottom:calc(73px + env(safe-area-inset-bottom,0px));left:15px;right:15px;z-index:25;padding:0;background:none;border:0;box-shadow:none}.new-note-bar .new-note-group{width:100%;display:flex;gap:6px}.new-note-bar .week-pick{width:79px;height:39px;font-size:12px}.new-note-bar .primary{flex:1;height:39px;font-size:13px}.minimal-search-page{padding:20px 15px 92px}.minimal-search-page .topbar h1{font-size:22px}.search-bar{flex-wrap:wrap}.search-bar .search-input{width:100%;flex-basis:100%}.search-bar .search-course{width:100%}.editor-page .topbar{min-height:49px;padding:7px 12px;gap:6px}.editor-page .topbar .course-crumb{font-size:10px;gap:4px}.minimal-sem-crumb,.minimal-title-crumb,.course-crumb .minimal-icon{display:none}.minimal-editor-actions{gap:5px}.minimal-drive-btn{font-size:0;width:28px;height:30px;padding:5px;border:0}.minimal-drive-btn .minimal-icon{width:16px;height:16px}.editor-page .topbar .week-select{display:none}.editor-page .status{font-size:9px;white-space:nowrap}.minimal-sidebar-toggle{width:27px;height:30px;padding:4px}.editor-page .editor-head{order:1;padding:18px 19px 0}.editor-page .title-input{font-size:24px;line-height:1.35;padding-bottom:9px}.editor-page .more-btn{min-width:24px;padding:0}.editor-page .editor-head .tag-chips{padding-bottom:14px;gap:5px}.editor-page .tag-chips .chip{font-size:10px;padding:3px 8px}.editor-page .editor-scroll{order:2;padding:17px 19px 35px}.editor-page .tiptap-body{font-size:15px;line-height:1.75;min-height:35vh}.editor-page .tool-slot{order:3;margin:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid #ddd;border-radius:0;background:#fff!important}.editor-page .tool-slot .fmtbar button,.editor-page .tool-slot .fmtbar button.labeled{height:38px;min-width:33px;font-size:15px}.editor-page .tool-slot .fs-ctl select{height:36px;width:43px}.editor-page .tool-slot .editor-tools{scrollbar-width:thin}.dialog{max-width:calc(100vw - 30px);padding:19px}.redesign-note-sidebar{padding-top:18px}.minimal-sidebar-shade{top:var(--vvt,0px);height:var(--vvh,100dvh)}.redesign-note-sidebar{top:var(--vvt,0px);height:var(--vvh,100dvh);bottom:auto}.preview-bar{padding:10px}.home-main>.section-head h1{font-size:22px}.home-main>.section-head .primary{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.side-nav,.redesign-mobile-nav,.redesign-note-sidebar,.minimal-sidebar-shade,.tool-slot,.editor-page .topbar,.editor-head .more-btn,.chip.add{display:none!important}.editor-page,.sidebar-open .editor-page{position:static;width:100%;height:auto;left:0;overflow:visible}.editor-page .editor-scroll{overflow:visible;padding:20px}.home-shell{display:block}.home-main{padding:20px}}

/* Current minimal layout + the previously approved cool white / blue palette. Colors only. */
:root,:root[data-theme],:root:not([data-theme='light']){--bg:#f7f8fa;--panel:#fff;--ink:#1c2533;--muted:#758094;--line:#e6eaf0;--line-strong:#d8dee8;--chip:#f0f3f7;--accent:#357ac5;--accent-soft:#eaf3ff;--accent-ink:#fff;--code:#f1f3f6;--mark:#e5efff;color-scheme:light}
html,body,.home-shell{background:#f7f8fa;color:#1c2533}h1,h2,.brand,.title-input,.minimal-mobile-brand{color:#1c2533}button,.btn,input,select,textarea{border-color:#d8dee8;color:#263345}button:hover,.btn:hover{background:#f0f3f7}button.primary,button.primary:hover{background:#252e3d;border-color:#252e3d;color:#fff}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline-color:#6092ca}input:focus,select:focus,textarea:focus{outline-color:#6092ca}input[type=checkbox],.todo input,.tiptap-body ul[data-type=taskList] input{accent-color:#357ac5}.meta,.muted,.course-head .sub{color:#758094}.dot{background:#6894c8!important}.side-nav{background:#f2f4f7;border-color:#dce2eb}.side-nav .brand,.home-main .topbar.home-top .sem-btn{color:#1c2533}.redesign-side-search{background:#fbfcfe;border-color:#dce2eb;color:#758094}.redesign-side-search .minimal-icon{color:#536780}.side-item{color:#344052}.side-item.on{background:#e4eefc;color:#2e6ab1}.side-item.on .minimal-icon,.side-item.on .minimal-count{color:#357ac5}.side-item:hover{background:#eaf0f7}.side-item.muted,.side-account{color:#8290a3}.side-nav .redesign-side-new{background:#fbfcfe;border-color:#d8dee8;color:#263345}.side-nav .redesign-side-new:hover{background:#edf3fa}.card.course,.home-cols .card.course{background:#fff;border-color:#dde3eb!important}.card.course.is-recent{background:#edf4fe;border-color:#97b7df!important}.card.course.is-recent .minimal-folder-icon{color:#357ac5}.card.course:hover{background:#f1f6fd;border-color:#a7bfde!important}.card.course .course-prof{color:#758094}.home-cols>.col-recent,.home-cols>.col-todos,.minimal-week-section{background:#fff;border-color:#e0e5ec}.minimal-panel-head h2,.col-recent h2,.col-todos h2{color:#1c2533}.minimal-panel-head a{color:#657990}.list .minimal-note-item{border-color:#edf0f4}.list li>a.note-row,.list.cards li>a.note-card{color:#263345}.list li>a.note-row:hover,.list.cards li>a.note-card:hover{background:#f2f6fb}.minimal-note-icon,.minimal-row-menu{color:#53657b}.list li>a .meta,.list.cards li>a.note-card .meta{color:#7d899a}.chip,.chip.on,.note-card .tags .chip,.editor-page .tag-chips .chip{background:#e8f1ff;color:#356da9}.chip.add,.editor-page .tag-chips .chip.add{background:transparent;color:#8190a5}.week-head,.redesign-week-label{background:#f0f3f7}.week-head h2,.redesign-week-label{color:#29364a}.redesign-week-tabs button{background:#f0f3f7;color:#718096}.redesign-week-tabs button.on{background:#e2edfd;color:#2d6db5}.redesign-course-tools{background:#f2f5f9;border-color:#e1e6ee}.minimal-breadcrumb{color:#718096}.redesign-note-sidebar{background:#f2f4f7;border-color:#dce2eb}.redesign-sidebar-head{border-color:#e0e5ec}.minimal-sidebar-search{background:#fbfcfe;border-color:#dce2eb}.redesign-note-link{color:#344052}.redesign-note-link.on{background:#e3edfb;color:#2e6ab1}.redesign-note-link:hover{background:#eaf0f7}.minimal-sidebar-add{background:#fbfcfe;border-color:#d8dee8}.editor-page .topbar .course-crumb{color:#7a8799}.minimal-title-crumb{color:#334052}.editor-page .title-input{color:#172334}.editor-page .status.saved{color:#5d83b4}.editor-page .tool-slot{border-color:#dce2eb}.editor-page .tool-slot .fmt-row2{border-color:#dce2eb}.editor-page .tool-slot .fmtbar button{color:#263345}.editor-page .tool-slot .fmtbar button:hover,.editor-page .tool-slot .fmtbar button.on,.editor-tools .on{background:#e5effd!important;color:#2e6ab1!important}.editor-page .tool-slot .color-row .swatch.custom:before{color:#356da9;border-color:#357ac5}.editor-page .editor-head .tag-chips{border-color:#e0e5ec}.tiptap-body blockquote{background:#f0f3f7}.tiptap-body hr{background:#e0e5ec}.redesign-mobile-nav{background:#fff;border-color:#e1e6ee}.redesign-mobile-nav>a,.redesign-mobile-nav>button{color:#8491a2}.redesign-mobile-nav .on{background:#edf4fe;color:#357ac5}.dialog{border-color:#dce2eb}.menu-list button{background:#f5f7fa}.icon-btn:hover,button.ghost:hover{background:#edf2f8}.minimal-drive-btn{color:#516a8a}.preview-bar{background:#f1f4f8}
@media(max-width:759px){.home-shell,.home-main{background:#fff}.editor-page .tool-slot{border-color:#dce2eb}.home-main .topbar.home-top .sem-btn{border-color:#dce2eb}}

@media(max-width:700px){.editor-page .topbar .week-select{display:block;width:62px;min-width:62px;font-size:10px;padding:4px 2px}}

/* Restore readable controls where the original colored course header used white text. */
.course-head,.course-head h1{color:#1c2533}
.course-head .icon-btn,.course-head .ghost{color:#53657b;background:transparent;border-radius:5px}
.course-head .primary{color:#fff;background:#252e3d;border-color:#252e3d;border-radius:5px}
.new-note-group{background:transparent;box-shadow:none;overflow:visible;border-radius:0}
.new-note-group .week-pick,.new-note-group .week-pick:focus{color:#263345;background:#fff;border:1px solid #d8dee8;border-radius:5px;font-weight:400}
.new-note-group>button{border-radius:5px}
.new-note-bar .new-note-group{height:auto}
