:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#24324a;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}a{color:#3157a9;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{min-height:100vh;display:flex}.sidebar{width:255px;background:#101e37;color:#d4e0f5;padding:32px 20px;display:flex;flex-direction:column;flex-shrink:0}.brand{font-size:22px;color:white;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand .muted{font-size:10px;letter-spacing:0}.logo{background:#597df6;border-radius:11px;padding:6px;margin-right:4px}.nav-label,.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#788cb3}.nav-label{margin:64px 14px 15px}.sidebar nav a,.sidebar-bottom a,.nav-button{display:block;padding:14px;border-radius:10px;color:#c9d6ec;width:100%;text-align:left;background:none;border:0}.sidebar nav a:hover,.sidebar-bottom a:hover,.nav-button:hover{background:#223552;color:white}.sidebar-bottom{margin-top:auto}.small{font-size:12px;padding:14px}.muted{color:#8997ab}.main{flex:1;padding:54px clamp(22px,5vw,78px);max-width:1600px;min-width:0}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}h1{font-size:clamp(30px,3vw,42px);letter-spacing:-1.5px;margin:10px 0}h2{font-size:18px;letter-spacing:-.4px;margin:0}p{line-height:1.55}.heading p{margin:4px 0}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce3ed;background:#fff;color:#40516b;padding:11px 18px;border-radius:10px;font-weight:650}.btn:hover{filter:brightness(.97)}.btn.primary{background:#4b67e8;color:white;border-color:#4b67e8}.tabs{display:flex;gap:8px;margin:20px 0 26px}.tab{padding:10px 23px;border-radius:30px;background:white;color:#697890;font-weight:700}.tab.selected{background:#243b71;color:white}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card{background:white;border:1px solid #e8ecf4;border-radius:18px;padding:27px;box-shadow:0 8px 28px #243b7108}.wide{grid-column:1/-1}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-head a,.more{font-size:13px;font-weight:750}.date-row,.filters{display:flex;gap:10px;margin-bottom:20px}.date-row input{max-width:190px}.row{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid #f0f2f7;color:#2b3952}.row>span:nth-child(2){flex:1;min-width:0}.row small,.list-item small{display:block;color:#8997ab;margin-top:6px;font-size:12px}.time{font-size:12px;font-weight:800;color:#657bb6;width:60px}.arrow{color:#9aa8bc;margin-left:auto}.note-icon{padding:11px;background:#eef2ff;border-radius:10px;color:#516fe2}.more{display:block;margin-top:17px}.empty{color:#9ba6b7;padding:20px 0}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}.project-tile{display:block;padding:22px;border:1px solid #e9edf5;border-radius:13px;color:#253650;background:#fbfcff}.project-tile strong{display:block;margin-top:13px}.project-tile p{color:#8794a6;font-size:13px;margin-bottom:0}.project-tile small{color:#8794a6}.list{display:grid;gap:12px}.list-item{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e8ecf4;border-radius:14px;padding:21px 24px;color:#24324a}.list-item>div:first-child,.grow{flex:1;min-width:0}.list-item p{color:#7b8ba0;font-size:14px;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.filters{margin:28px 0}.filters input{max-width:400px;flex:1}.filters select{max-width:160px}input,select,textarea{width:100%;border:1px solid #dce3ee;border-radius:10px;padding:12px 13px;background:white;color:#263751;outline-color:#627deb}textarea{resize:vertical;line-height:1.6}label{display:block;font-size:13px;font-weight:700;color:#52627a;margin:18px 0}label input,label select,label textarea{display:block;margin-top:8px}.editor{max-width:880px;margin-top:25px}.two,.three{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.three{grid-template-columns:2fr 1fr 1fr}.actions{display:flex;gap:12px;margin-top:20px}.delete-form{margin-top:28px;padding-top:20px;border-top:1px solid #eef0f5}.danger{background:none;border:0;color:#d64d60;font-weight:700;padding:10px 0}.checkbox{display:flex;align-items:center;gap:9px}.checkbox input{width:auto;margin:0}.done{text-decoration:line-through;opacity:.55}.check{background:#eef2ff;color:#4b67e8;border:0;border-radius:50%;font-size:20px;width:40px;height:40px}.auth{max-width:460px;margin:9vh auto;padding:45px}.auth .full{width:100%;margin-top:10px}.flash{padding:12px 18px;border-radius:10px;margin-bottom:16px;background:#eaf7ee;color:#2e7949}.flash.error{background:#fff0f1;color:#b72e48}.secret{font-family:monospace;overflow-wrap:anywhere;background:#f3f5fa;padding:15px;border-radius:8px}@media(max-width:900px){.sidebar{width:190px;padding:25px 12px}.brand{font-size:17px}.main{padding:35px 20px}.grid{grid-template-columns:1fr}.wide{grid-column:auto}}@media(max-width:620px){.shell{display:block}.sidebar{width:100%;padding:14px;display:block}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar nav a{width:auto;padding:9px}.nav-label,.sidebar-bottom{display:none}.main{padding:25px 14px}.heading{align-items:flex-start}.card{padding:20px}.two,.three{grid-template-columns:1fr}.filters{flex-wrap:wrap}}

/* MyNotes v1.5 folder tree */
.folder-tree{max-height:40vh;overflow:auto;margin:10px 0}.tree-list{list-style:none;margin:0;padding:0 0 0 12px}.folder-drop{border-radius:6px;padding:4px 6px}.folder-drop a{color:#c9d6ec;font-size:12px}.folder-drop.drag-over{background:#506de5;outline:2px dashed #fff}.draggable-note{cursor:grab}.draggable-note:active{cursor:grabbing}

/* MyNotes v1.6: per-user workspace theme presets. */
body.theme-navy{--theme-side:#101e37;--theme-accent:#4b67e8;--theme-soft:#eef2ff;--theme-page:#f5f7fb}
body.theme-forest{--theme-side:#102f28;--theme-accent:#268565;--theme-soft:#e7f6ef;--theme-page:#f3f9f5}
body.theme-plum{--theme-side:#291c3c;--theme-accent:#8354bd;--theme-soft:#f3edfa;--theme-page:#faf6fc}
body.theme-sunset{--theme-side:#39251d;--theme-accent:#c76a3d;--theme-soft:#fff0e7;--theme-page:#fdf7f3}
body.theme-slate{--theme-side:#1e293b;--theme-accent:#52667e;--theme-soft:#eaf0f6;--theme-page:#f5f7f9}
body.theme-ocean{--theme-side:#10313c;--theme-accent:#16899c;--theme-soft:#e4f6f8;--theme-page:#f2fafb}
body[class*="theme-"]{background:var(--theme-page)}
body[class*="theme-"] .sidebar{background:var(--theme-side)}
body[class*="theme-"] .btn.primary{background:var(--theme-accent);border-color:var(--theme-accent)}
body[class*="theme-"] .tab.selected{background:var(--theme-accent)}
body[class*="theme-"] .logo{background:var(--theme-accent)}
body[class*="theme-"] .note-icon{background:var(--theme-soft);color:var(--theme-accent)}
body[class*="theme-"] .folder-drop.drag-over{background:var(--theme-accent)}
/* MyNotes v1.7: override original hard-coded colors; use custom accent. */
body[class*="theme-"] { --effective-accent:var(--custom-accent,#4b67e8); background:var(--theme-page,#f5f7fb); color:#24324a; }
body[class*="theme-"] .main {background:var(--theme-page,#f5f7fb)}
body[class*="theme-"] .sidebar {background:var(--theme-side,#101e37)}
body[class*="theme-"] .btn.primary,body[class*="theme-"] .tab.selected,body[class*="theme-"] .logo {background:var(--effective-accent);border-color:var(--effective-accent)}
body[class*="theme-"] .note-icon {background:var(--theme-soft,#eef2ff);color:var(--effective-accent)}
body[class*="theme-"] a:not(.brand):not(.btn):not(.tab):not(.row):not(.list-item):not(.project-tile):not(.grow):not(.nav-button) {accent-color:var(--effective-accent)}
body[class*="theme-"] input:focus,body[class*="theme-"] select:focus,body[class*="theme-"] textarea:focus {outline-color:var(--effective-accent)}
/* Dark palette. Applied explicitly or when system preference requests dark. */
body.mode-dark,body.mode-system:has(#_never_used) {--dark-page:#111827}
body.mode-dark {background:#101722!important;color:#e6edf8!important}
body.mode-dark .main {background:#101722!important;color:#e6edf8}
body.mode-dark .card,body.mode-dark .list-item,body.mode-dark .tab,body.mode-dark .project-tile,body.mode-dark .auth {background:#1c2738!important;color:#edf2fa!important;border-color:#35445a!important}
body.mode-dark .project-tile p,body.mode-dark .muted,body.mode-dark .list-item p {color:#aebdd1!important}
body.mode-dark .row,body.mode-dark .list-item {color:#edf2fa;border-color:#344357}
body.mode-dark input,body.mode-dark textarea,body.mode-dark select,body.mode-dark .btn:not(.primary) {background:#26354a;color:#f2f6ff;border-color:#465872}
body.mode-dark label,body.mode-dark h1,body.mode-dark h2,body.mode-dark strong {color:#edf2fa}
body.mode-dark .theme-preview {background:#26354a;color:#edf2fa}
@media(prefers-color-scheme:dark){
body.mode-system {background:#101722!important;color:#e6edf8!important}
body.mode-system .main {background:#101722!important;color:#e6edf8}
body.mode-system .card,body.mode-system .list-item,body.mode-system .tab,body.mode-system .project-tile {background:#1c2738!important;color:#edf2fa!important;border-color:#35445a!important}
body.mode-system .muted,body.mode-system .list-item p {color:#aebdd1!important}
body.mode-system input,body.mode-system textarea,body.mode-system select,body.mode-system .btn:not(.primary){background:#26354a;color:#f2f6ff;border-color:#465872}
body.mode-system label,body.mode-system h1,body.mode-system h2,body.mode-system strong{color:#edf2fa}
}
.theme-preview{border:1px solid #c9d4e7;border-radius:14px;padding:22px;margin:18px 0;background:var(--theme-soft,#eef2ff);color:#24324a;transition:background .15s}
.theme-preview .preview-action,.theme-preview .preview-event{display:inline-block;padding:9px 12px;border-radius:9px;margin:8px 8px 0 0}
.theme-preview .preview-action{background:var(--effective-accent);color:white}
.theme-preview .preview-event{border-left:5px solid #2f9b70;background:#fff;color:#24324a}
/* MyNotes v1.8 month calendar */
.month-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.month-calendar{border:1px solid #e4eaf3;border-radius:16px;overflow:hidden;background:#fff}.month-weekdays,.month-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.month-weekdays{background:#eaf0fb;font-size:12px;font-weight:800;color:#52627a;text-align:center}.month-weekdays>div{padding:12px 0}.month-day{min-height:120px;padding:8px;border-top:1px solid #e8edf5;border-right:1px solid #e8edf5;overflow:hidden}.month-day.outside{background:#f6f7fa;opacity:.65}.month-day.today{box-shadow:inset 0 0 0 2px var(--effective-accent,#4b67e8)}.month-number{font-weight:800;font-size:13px;color:#52627a}.month-event{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:6px 0;padding:6px 7px;border-radius:7px;border-left:5px solid var(--event-color);background:color-mix(in srgb,var(--event-color) 13%,white);color:#263751!important;font-size:11px;line-height:1.35}.month-event-time{font-weight:800}.month-event-title{min-width:0;overflow-wrap:anywhere}.month-event-label{font-size:9px;font-weight:800;border-radius:10px;padding:1px 5px;border:1px solid var(--event-color)}.event-label{display:inline-block;border-left:4px solid;padding:2px 7px;border-radius:4px;background:#f1f4f9;font-weight:700}.calendar-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.legend-item{background:#eef2fa;padding:6px 10px;border-radius:20px;font-size:12px}body.mode-dark .month-calendar{background:#1c2738;border-color:#344357}body.mode-dark .month-day{border-color:#344357}body.mode-dark .month-weekdays{background:#26354a;color:#e6edf8}body.mode-dark .month-day.outside{background:#192334}body.mode-dark .month-number{color:#e6edf8}body.mode-dark .month-event{background:color-mix(in srgb,var(--event-color) 25%,#1c2738);color:#fff!important}body.mode-dark .event-label,body.mode-dark .legend-item{background:#26354a;color:#edf2fa}@media(max-width:700px){.month-day{min-height:85px;padding:3px}.month-event{padding:3px;font-size:9px}.month-event-label{display:none}.month-weekdays>div{padding:8px 0}}
/* MyNotes v1.10: compact calendar actions and label controls */
.schedule-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.btn.btn-small{min-height:34px;min-width:96px;height:34px;padding:5px 12px;font-size:12px;line-height:1.2;border-radius:8px;white-space:nowrap}
.month-nav{align-items:center;gap:8px}.month-nav .btn{min-width:96px;min-height:34px;height:34px;padding:5px 12px;font-size:12px}
.month-calendar~.card{margin-top:14px}.filters{align-items:end;gap:8px;flex-wrap:wrap}.filters .compact-filter-label{margin:0;display:flex;flex-direction:column;gap:4px;font-size:12px;min-width:155px;max-width:200px}.filters .compact-filter-label select{margin:0;height:34px;padding:4px 9px;font-size:12px}.filters .btn{min-height:34px;height:34px;padding:5px 12px;font-size:12px}
.label-color-form{display:flex;align-items:center;gap:10px;margin-left:auto}.label-color-form label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}.label-color-form input[type=color]{width:48px;height:34px;padding:2px;cursor:pointer;margin:0}
@media(max-width:650px){.schedule-actions{gap:5px}.btn.btn-small{min-width:80px}.label-color-form{flex-wrap:wrap}}

/* MyNotes Help v1.11 */
.sidebar nav .help-nav-link{display:block;padding:14px;border-radius:10px;color:#c9d6ec}.sidebar nav .help-nav-link:hover{background:#223552;color:white}.help-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:start}.help-toc{position:sticky;top:24px}.help-toc a{display:block;padding:7px 0;font-size:13px}.help-content section{scroll-margin-top:24px;margin-bottom:20px}.help-content li{margin:7px 0;line-height:1.5}.help-content h2{margin-bottom:12px}.help-content code{background:#eef2fa;padding:2px 5px;border-radius:4px}.help-callout{padding:13px 16px;border-left:4px solid #4b67e8;background:#eef2ff;border-radius:8px;margin:14px 0;color:#24324a}body.mode-dark .help-callout{background:#26354a;color:#edf2fa}@media(max-width:850px){.help-layout{grid-template-columns:1fr}.help-toc{position:static}}
/* MyNotes v1.13: mobile navigation and responsive forms/calendar */
.mobile-menu-toggle,.mobile-nav-backdrop{display:none}
@media(max-width:760px){
html,body{max-width:100%;overflow-x:hidden}
.shell{display:block;min-width:0}
.mobile-menu-toggle{display:block;position:sticky;top:0;z-index:1100;width:100%;padding:13px 18px;background:#14233d;color:white;border:0;text-align:left;font-weight:750;font-size:15px;min-height:48px}
.sidebar{position:fixed;z-index:1102;top:0;bottom:0;left:0;width:min(82vw,300px)!important;max-height:100dvh;overflow-y:auto;display:flex!important;flex-direction:column;transform:translateX(-110%);transition:transform .18s ease;box-shadow:10px 0 30px #0004;padding:24px 14px!important}
body.mobile-nav-open .sidebar{transform:translateX(0)}
body.mobile-nav-open .mobile-nav-backdrop{display:block;position:fixed;inset:0;background:#0009;z-index:1101}
.sidebar nav{display:block!important}.sidebar nav a{display:block!important;width:100%!important;min-height:44px;padding:12px!important}
.sidebar .nav-label{display:block;margin:18px 12px 6px}.sidebar .sidebar-bottom{display:block;margin-top:auto}.sidebar .folder-tree{max-height:35vh;overflow-y:auto}
.main{width:100%;min-width:0;max-width:100%;padding:18px 12px 36px!important}
.heading{flex-wrap:wrap;gap:10px}.heading .btn{flex-shrink:0}
.grid,.two,.three,.help-layout{display:grid;grid-template-columns:minmax(0,1fr)!important}
.card,.editor,.auth{max-width:100%;min-width:0;padding:16px!important;margin-left:0;margin-right:0}
.filters,.month-nav,.actions,.schedule-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.filters input,.filters select,.filters label{max-width:100%;min-width:0}.filters .btn,.month-nav .btn{flex:0 0 auto}
input,select,textarea{max-width:100%;min-width:0;font-size:16px}
.list-item,.row{min-width:0;overflow-wrap:anywhere}.list-item>*,.row>*{min-width:0}
.project-grid{grid-template-columns:minmax(0,1fr)!important}
.month-calendar{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.month-week,.month-weekdays{min-width:650px}
.month-day{min-height:92px}.month-event{font-size:10px}
.help-toc{position:static}.help-topic-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px}
.help-visual img{max-width:100%;height:auto}
}
@media(max-width:390px){.help-topic-links{grid-template-columns:1fr}.heading h1{font-size:29px}.btn.btn-small{min-width:0}}
/* MyNotes v1.14 mobile calendar usability and diagnostics */
.timezone-table-wrap{overflow-x:auto;max-width:100%}.timezone-table{width:100%;border-collapse:collapse;min-width:680px}.timezone-table th,.timezone-table td{padding:10px;text-align:left;border-bottom:1px solid #c9d4e755;font-size:13px;vertical-align:top}.mobile-calendar-hint{display:none}
@media(max-width:760px){
.mobile-calendar-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
.mobile-calendar-toolbar .btn{display:flex!important;width:100%;min-width:0!important;min-height:44px!important;height:44px!important;justify-content:center;align-items:center;font-size:13px!important}
.month-nav+.filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:end}
.month-nav+.filters .compact-filter-label{grid-column:1/-1;max-width:none;width:100%}
.month-nav+.filters .compact-filter-label select{width:100%;height:44px;font-size:16px}
.month-nav+.filters .btn{width:100%;height:44px!important;min-height:44px!important;min-width:0!important;white-space:normal;text-align:center}
.mobile-calendar-hint{display:block;font-size:12px;color:#8997ab;margin:8px 0}
.month-calendar{overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin}
.month-week,.month-weekdays{min-width:630px!important}
.month-event{min-height:26px;line-height:1.25}
}

.dst-alert{display:inline-block;color:#d98b22;font-size:11px;font-weight:750;margin:3px}.calendar-swipe-hint{font-size:12px;color:#8997ab}
/* Legal v2: accessible consent and mobile notice */
.legal-consent{display:flex!important;gap:10px;align-items:flex-start;line-height:1.55;margin:14px 0;font-size:13px}.legal-consent input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:3px 0}.legal-consent a{display:inline}.cookie-notice{position:fixed;z-index:2500;bottom:16px;left:16px;right:16px;max-width:900px;margin:auto;display:flex;align-items:center;gap:20px;padding:15px 20px;border-radius:12px;background:#152640;color:#f3f6ff;border:1px solid #4b6485;box-shadow:0 8px 28px #0005}.cookie-notice[hidden]{display:none!important}.cookie-notice p{margin:0;font-size:13px;line-height:1.5;flex:1}.cookie-notice a{color:#b6c9ff}.cookie-notice button{border:0;background:#5577ec;color:white;padding:10px 18px;border-radius:8px;cursor:pointer;min-height:42px;white-space:nowrap}@media(max-width:650px){.cookie-notice{bottom:8px;left:8px;right:8px;flex-direction:column;align-items:stretch;gap:12px;padding:14px}.cookie-notice button{width:100%}}

/* MyNotes v1.23 compact notebook workspace */
.notebook-shell{display:grid;grid-template-columns:215px 225px minmax(0,1fr);min-height:calc(100vh - 80px);height:calc(100dvh - 70px);border:1px solid #33435c;border-radius:12px;overflow:hidden}.notebook-folders,.notebook-pages{min-width:0;overflow-y:auto;padding:12px;background:#172234;color:#e6efff;border-right:1px solid #344357}.notebook-pages{background:#1f2c3e}.notebook-panel-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}.notebook-panel-head a{font-size:12px}.notebook-folders input{width:100%;min-width:0;margin:0 0 12px;padding:9px;font-size:13px}.notebook-folders .tree-list{padding-left:12px}.notebook-folders .folder-drop a,.notebook-unfiled{display:block;color:#d7e5ff;font-size:13px;padding:5px;text-decoration:none}.notebook-current-folder{font-size:12px;color:#a9b9d0}.notebook-page-link{display:block;text-decoration:none;color:#e6efff;padding:12px 10px;border-radius:7px;font-size:13px}.notebook-page-link:hover,.notebook-page-link.active{background:#40516c}.notebook-page-link small{display:block;color:#aabbd4;font-size:10px;margin-top:5px}.notebook-editor-pane{min-width:0;display:flex;flex-direction:column;background:#121b29}.notebook-editor-head{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #35445a;color:#e6efff}.notebook-editor-head a{font-size:12px;color:#b5cfff}.notebook-editor-pane iframe{flex:1;width:100%;min-height:420px;border:0;background:#121b29}.notebook-welcome{padding:30px 25px;color:#e6efff}.notebook-welcome h1{color:inherit}.notebook-shell~*{min-width:0}
.sidebar nav>a,.sidebar-bottom>a{padding-top:8px!important;padding-bottom:8px!important;min-height:35px!important;margin:1px 0!important;line-height:1.3!important}.sidebar-bottom .legal-links{font-size:10px!important;margin-top:auto!important;padding:6px 4px!important;line-height:1.35!important;display:flex;flex-wrap:wrap;gap:5px}.sidebar-bottom .legal-links a{font-size:10px!important;padding:0!important;margin:0!important}.sidebar-bottom{display:flex;flex-direction:column}.sidebar-bottom .legal-links{order:99}.sidebar-bottom .small{order:98}
/* Align label, date and view button on the same baseline */
.schedule-filters-aligned{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap}.schedule-filters-aligned>label{display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important;min-width:140px}.schedule-filters-aligned input[type=date],.schedule-filters-aligned select{height:40px!important;min-height:40px!important;margin:0!important}.schedule-filters-aligned .btn{height:40px!important;min-height:40px!important;padding:7px 14px!important;margin:0!important;align-self:flex-end!important}
@media(max-width:980px){.notebook-shell{grid-template-columns:165px 175px minmax(0,1fr)}}@media(max-width:760px){.notebook-shell{height:auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.notebook-folders,.notebook-pages{max-height:280px}.notebook-editor-pane{grid-column:1/-1;min-height:65vh}.notebook-editor-pane iframe{min-height:65vh}}@media(max-width:400px){.notebook-shell{grid-template-columns:1fr}.notebook-folders,.notebook-pages{max-height:210px}.notebook-editor-pane{grid-column:1}}

/* MyNotes v1.24 compact navigation, headings and legal footer */
.sidebar nav>a,.sidebar-bottom>a{display:flex!important;align-items:center!important;min-height:32px!important;margin:0!important;padding:6px 10px!important;line-height:1.15!important;gap:4px}
.sidebar .nav-label{margin-top:12px!important;margin-bottom:5px!important}
.sidebar .legal-links{display:none!important}
.sidebar .legal-mini-footer{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin-top:auto!important;padding:5px 2px!important;border-top:1px solid #ffffff20!important;font-size:10px!important;line-height:1.1!important;white-space:nowrap}
.sidebar .legal-mini-footer a{display:inline!important;padding:0!important;margin:0!important;font-size:10px!important;line-height:1.1!important;color:#a9bbd7!important;text-decoration:none}
.sidebar .legal-mini-footer span{font-size:10px;color:#8293ac}
.main .eyebrow{margin-bottom:3px!important;line-height:1.1!important}
.main h1{margin-top:3px!important;margin-bottom:9px!important;line-height:1.12!important}
.main .heading{gap:8px!important;margin-bottom:10px!important}
.main .heading p,.main h1+p{margin-top:4px!important;margin-bottom:12px!important}
.main h2{margin-top:8px!important;margin-bottom:8px!important}
.main .tabs{gap:4px!important;margin:8px 0 12px!important}
@media(max-width:760px){.sidebar .legal-mini-footer{margin-top:12px!important}}
