body.desktop-workspace{--paper:#f7f7f7;--panel:#fff;--text:#222;--muted:#777;--line:#ddd;--accent:#1687ff;--accent-soft:#e7f1ff;display:grid;grid-template-columns:76px 280px minmax(0,1fr);height:100dvh;overflow:hidden;background:var(--paper);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft Yahei',sans-serif}body.desktop-workspace.dark{--paper:#000;--panel:#161616;--text:#f1f1f1;--muted:#929292;--line:#242424;--accent:#1687ff;--accent-soft:#102b47;background:#000;color:var(--text)}.desktop-workspace .sidebar{position:relative;inset:auto;width:auto;height:100dvh;padding:15px 6px;background:#ededed;border-right:1px solid var(--line);display:flex;align-items:center;overflow-y:auto;gap:9px}.dark.desktop-workspace .sidebar{background:#111}.account-avatar{flex-shrink:0;width:45px;height:45px;border-radius:9px;border:0;background:#254968;color:#fff;font-size:23px;font-weight:600;margin:3px 0 12px}.desktop-workspace .sidebar nav{width:100%;display:flex;flex-direction:column;gap:3px}.desktop-workspace .nav{padding:7px 0;min-height:44px;display:flex;flex-direction:column;justify-content:center;gap:1px;font-size:10px;line-height:1.5;border-radius:7px;color:var(--muted);white-space:nowrap}.desktop-workspace .nav span{font-size:21px;width:auto}.desktop-workspace .nav.active{background:var(--accent-soft);color:var(--accent)}.desktop-workspace .nav-label,.desktop-workspace .side-bottom,.desktop-workspace .brand{display:none}.desktop-secondary{min-width:0;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#eee;overflow:hidden}.dark .desktop-secondary{background:#171717}.secondary-heading{height:72px;display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid var(--line);flex-shrink:0}.secondary-heading h2{font-size:18px;font-weight:600;margin:0}.secondary-heading button{background:none;border:0;color:var(--muted)}#secondary-body{overflow:auto;flex:1;padding:10px 0}.secondary-controls{display:flex;flex-wrap:wrap;gap:8px;padding:8px 15px 15px}.secondary-controls input{width:100%;min-width:0}.secondary-controls button{font-size:12px}.desktop-list-row{display:flex;flex-direction:column;width:100%;text-align:left;gap:8px;border:0;border-radius:0;padding:17px 19px;background:transparent;color:var(--text);font-size:14px;text-decoration:none}.desktop-list-row:hover{background:#e4e4e4}.dark .desktop-list-row:hover{background:#141414}.desktop-list-row.selected{background:var(--accent-soft)}.desktop-list-row strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-list-row small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sync-state{flex-shrink:0;border:0;border-top:1px solid var(--line);padding:13px 10px;text-align:left;font-size:11px;background:transparent;color:var(--muted)}.desktop-workspace main{margin:0;padding:0 30px 30px;max-width:none;height:100dvh;overflow:auto;min-width:0}.desktop-workspace header{height:73px;min-height:73px;border-bottom:1px solid var(--line);margin:0 -30px 24px;padding:0 25px;background:var(--paper);position:sticky;top:0;z-index:5}.desktop-workspace header h1{font-family:inherit;font-size:18px;font-weight:500}.desktop-workspace .eyebrow{display:none}.desktop-workspace .panel,.desktop-workspace .counter-card,.desktop-workspace .home-card{background:var(--panel);border:1px solid var(--line);box-shadow:none;border-radius:8px;color:var(--text)}.desktop-workspace .welcome{margin-bottom:24px}.desktop-workspace h2,.desktop-workspace h3{font-family:inherit}.desktop-workspace .welcome h2{font-size:24px}.desktop-workspace .welcome-seal,.desktop-workspace .welcome .overline{display:none}.desktop-workspace .panel{padding:24px;margin-bottom:18px}.desktop-workspace input,.desktop-workspace select,.desktop-workspace textarea{background:var(--paper);color:var(--text);border-color:var(--line);border-radius:6px}.desktop-workspace button{font-family:inherit}.desktop-workspace .primary{background:var(--accent);border-color:var(--accent);color:#fff}.desktop-workspace .secondary,.desktop-workspace .icon-btn,.desktop-workspace .count-actions button{background:var(--panel);color:var(--text);border:1px solid var(--line)}.desktop-workspace .muted,.desktop-workspace .subtle,.desktop-workspace .header-tools{color:var(--muted)}.desktop-workspace .home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.desktop-workspace .home-card{padding:19px;min-height:145px}.desktop-workspace .home-icon{color:var(--accent);background:var(--accent-soft)}.desktop-workspace .home-card strong{font-size:16px}.desktop-workspace .home-card p{font-size:12px}.desktop-workspace .practice-grid{grid-template-columns:minmax(300px,1.4fr) minmax(220px,1fr);gap:16px}.desktop-workspace .counter{width:min(290px,95%);color:var(--text)}.desktop-workspace #ring{stroke:var(--accent)}.desktop-workspace .progress i{background:var(--accent)}.desktop-workspace .notes-layout{display:block}.desktop-workspace #notes>.panel>.panel-heading{display:none}.desktop-workspace #note-list:empty{display:none}.desktop-workspace #notes>.panel>.field{display:none}.desktop-workspace #note-body{min-height:45vh;font-size:16px;line-height:1.9}.desktop-workspace .notes-layout>.list-stack{display:none}.desktop-workspace #note-editor{border:0;padding:0}.desktop-workspace .profile-heading{display:flex;align-items:center;gap:20px;margin:35px 0}.profile-big-avatar{width:75px;height:75px;border-radius:14px;background:#254968;color:#fff;display:grid;place-items:center;font-size:35px}.desktop-workspace #profile .panel{max-width:900px}.desktop-workspace #profile h3{margin-bottom:18px}.desktop-workspace #secondary-body #room-list .list-item{border:0;border-radius:0;padding:18px;background:transparent;color:var(--text)}.desktop-workspace #secondary-body .resource-grid{display:flex;flex-direction:column;gap:0}.desktop-workspace #secondary-body .resource-card{padding:17px 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.desktop-workspace #secondary-body .resource-card h3{font-size:14px;margin:0 0 10px}.desktop-workspace #secondary-body .resource-card p{font-size:12px;max-height:40px;overflow:hidden;color:var(--muted)}.desktop-workspace #secondary-body .forum-cover{height:90px;object-fit:cover}.desktop-workspace #secondary-body .resource-card button{font-size:11px}.desktop-workspace .chat-messages{min-height:40vh;max-height:55vh;background:var(--paper);border-color:var(--line)}.desktop-workspace .chat-bubble.user{background:var(--accent-soft);color:var(--text)}.desktop-workspace .chat-bubble.assistant{background:var(--panel);color:var(--text);border:1px solid var(--line)}.desktop-workspace .info-box{background:var(--accent-soft);color:var(--text)}.desktop-workspace .reader-body{white-space:pre-wrap}.desktop-workspace .text-btn{color:var(--accent)}.desktop-workspace .empty-state{padding:20px;color:var(--muted);font-size:13px}.desktop-workspace .tag{background:var(--accent-soft);color:var(--accent)}.desktop-workspace .reminder{background:var(--panel);border-color:var(--line)}.desktop-workspace .list-item{background:var(--panel);color:var(--text);border-color:var(--line)}.desktop-workspace .list-collapsed{grid-template-columns:76px 0 minmax(0,1fr)}body.desktop-workspace.list-collapsed{grid-template-columns:76px 0 minmax(0,1fr)}.desktop-workspace.focus{display:block}.desktop-workspace.focus main{height:100dvh}.desktop-workspace.focus .desktop-secondary{display:none}.desktop-workspace #account-info{margin-top:16px}.desktop-workspace #people-chat>.panel-heading .inline-actions{gap:5px}.desktop-workspace #people-chat>.panel-heading button{font-size:11px;padding:6px}.desktop-workspace footer{color:var(--muted)}@media(min-width:1500px){body.desktop-workspace{grid-template-columns:76px 300px minmax(0,1fr)}.desktop-workspace .page{max-width:1250px;margin:auto}}@media(max-width:1150px){body.desktop-workspace{grid-template-columns:68px 230px minmax(0,1fr)}.desktop-workspace .practice-grid{grid-template-columns:1fr}.desktop-workspace .right-stack{display:grid;grid-template-columns:1fr 1fr}.desktop-workspace .reminder{display:none}.desktop-workspace .home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){body.desktop-workspace{grid-template-columns:58px 170px minmax(0,1fr)}.desktop-workspace main{padding:0 15px 25px}.desktop-workspace header{margin:0 -15px 18px;padding:0 15px}.desktop-workspace .header-tools #date{display:none}.desktop-workspace .home-grid{grid-template-columns:1fr}.desktop-workspace .panel{padding:16px}.desktop-workspace .right-stack{display:block}.desktop-workspace .nav{font-size:9px}.desktop-list-row{padding:14px 12px}.desktop-workspace .welcome h2{font-size:20px}.secondary-heading{padding:12px}.secondary-heading h2{font-size:16px}}@media(max-width:540px){body.desktop-workspace{grid-template-columns:54px minmax(0,1fr)}.desktop-secondary{grid-column:2;height:150px;border-bottom:1px solid var(--line)}.desktop-workspace main{grid-column:2;height:calc(100dvh - 150px)}.desktop-workspace .sidebar{grid-row:1/3}.secondary-heading{height:40px}#secondary-body{padding:0;display:flex;gap:0;overflow:auto}.desktop-list-row{min-width:145px;width:auto}.secondary-controls{padding:5px;min-width:150px}.sync-state{padding:5px}.desktop-workspace #secondary-body .resource-grid,.desktop-workspace #secondary-body #note-list,.desktop-workspace #secondary-body #room-list{display:flex;min-width:100%}.desktop-workspace #secondary-body .resource-card{min-width:200px}.desktop-workspace .home-grid{grid-template-columns:1fr}.desktop-workspace .header-tools{gap:4px}body.desktop-workspace.list-collapsed{grid-template-columns:54px minmax(0,1fr)}.list-collapsed .desktop-secondary{display:none}.desktop-workspace.list-collapsed main{height:100dvh}.desktop-workspace .account-avatar{width:37px;height:37px}}
/* Notes follow the supplied desktop reference: summary list + full height editor. */
.desktop-workspace[data-module=notes] main{padding:0;height:100dvh;overflow:hidden;display:flex;flex-direction:column}.desktop-workspace[data-module=notes] main>header{margin:0;height:60px;min-height:60px;padding:0 26px;position:static}.desktop-workspace[data-module=notes] #notes.active{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;max-width:none;margin:0}.desktop-workspace[data-module=notes] #notes>.panel{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;padding:22px 30px 0;border:0;border-radius:0;background:#fff}.dark.desktop-workspace[data-module=notes] #notes>.panel{background:#1b1d1e}.desktop-workspace[data-module=notes] .notes-layout{display:flex;flex:1;min-height:0}.desktop-workspace[data-module=notes] #note-editor:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;width:100%}.desktop-workspace[data-module=notes] #note-editor>.field:has(#note-title){flex-shrink:0;font-size:0;margin:0}.desktop-workspace[data-module=notes] #note-title{font-size:25px;font-weight:650;border:0;border-radius:0;padding:13px 0 20px;background:transparent;box-shadow:none}.desktop-workspace[data-module=notes] #note-editor>.field:has(#note-body){font-size:0;flex:1;min-height:0;display:flex;flex-direction:column;margin:0}.desktop-workspace[data-module=notes] #note-body{font-size:17px;line-height:1.9;flex:1;min-height:0;resize:none;border:0;background:transparent;padding:0 0 25px;box-shadow:none}.desktop-workspace[data-module=notes] #note-editor>.panel-heading{flex-shrink:0;font-size:11px;margin:0;padding:10px 0;border-top:1px solid var(--line)}.desktop-workspace[data-module=notes] #note-editor>.panel-heading .inline-actions{display:none}.desktop-workspace[data-module=notes] #notes>.panel>details{font-size:12px;flex-shrink:0}.notes-toolbar{order:-2;display:flex;gap:8px;align-items:center;padding:10px 24px;min-height:56px;flex-shrink:0;border-bottom:1px solid var(--line);background:#eee}.dark .notes-toolbar{background:#25272a}.notes-toolbar>span{margin-right:auto;font-size:13px}.note-tool{padding:7px 10px;border:0;border-radius:5px;background:transparent;color:var(--muted);white-space:nowrap}.note-tool.active{background:var(--accent-soft);color:var(--accent)}.notes-toolbar>.primary{font-size:12px;padding:8px 12px}.note-findbar{order:-1;display:flex;gap:12px;align-items:center;padding:5px 25px;border-bottom:1px solid var(--line);flex-shrink:0;background:var(--paper)}.note-findbar label{display:flex;align-items:center;gap:10px;margin-right:auto}.note-findbar input{border:0!important;background:transparent!important;padding:8px 0!important;width:230px!important;font-size:13px}.note-findbar>span{color:var(--muted);font-size:12px}.notes-editor-footer{display:flex;justify-content:space-between;padding:10px 26px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);background:var(--panel);flex-shrink:0}.desktop-workspace[data-module=notes] .desktop-secondary{background:#f3f3f3}.dark.desktop-workspace[data-module=notes] .desktop-secondary{background:#1b1d1e}.desktop-workspace[data-module=notes] #secondary-body{padding-top:0}.desktop-workspace[data-module=notes] #note-list{display:flex;flex-direction:column;gap:0}.desktop-workspace[data-module=notes] #note-list .desktop-list-row{padding:18px 19px;gap:10px;min-height:116px;border-bottom:1px solid var(--line)}.desktop-workspace[data-module=notes] #note-list .desktop-list-row.selected{background:#ddd}.dark.desktop-workspace[data-module=notes] #note-list .desktop-list-row.selected{background:#2d2e30}.desktop-workspace[data-module=notes] #note-list strong{font-size:15px;font-weight:600}.desktop-workspace[data-module=notes] #note-list small{font-size:13px}.desktop-workspace[data-module=notes] #note-list time{font-size:11px;color:var(--muted)}.desktop-workspace[data-module=notes] .secondary-controls{border-bottom:1px solid var(--line);padding:12px}.desktop-workspace[data-module=notes] .secondary-controls select{font-size:12px;flex:1;min-width:0}.desktop-workspace[data-module=notes] .secondary-controls input{font-size:13px}.desktop-workspace #secondary-body .secondary-controls #note-search{display:block}@media(max-width:760px){.notes-toolbar{padding:8px;gap:2px;flex-wrap:wrap}.notes-toolbar>span{display:none}.note-tool{padding:7px;font-size:11px}.desktop-workspace[data-module=notes] #notes>.panel{padding:14px 18px 0}.note-findbar{padding:5px 15px}.note-findbar input{width:130px!important}}@media(max-width:540px){.desktop-workspace[data-module=notes] main{height:calc(100dvh - 150px)}.desktop-workspace[data-module=notes] #note-list{flex-direction:row}.desktop-workspace[data-module=notes] #note-list .desktop-list-row{min-width:180px;padding:10px;min-height:80px}.desktop-workspace[data-module=notes] .secondary-controls{min-width:180px}.desktop-workspace[data-module=notes] .secondary-heading{height:35px}.desktop-workspace[data-module=notes] .note-findbar{display:none}}
.desktop-workspace{--bg:var(--paper);--ink:var(--text);--soft:var(--accent-soft)}.desktop-workspace.dark{--bg:#000;--ink:#f1f1f1;--soft:#102b47}.desktop-workspace .mantra h2{color:var(--text)}.desktop-workspace .progress{background:var(--line)}.desktop-workspace .timer-tabs{background:var(--paper)}.desktop-workspace .timer-tabs .selected{background:var(--panel);color:var(--accent)}.desktop-workspace .sidebar nav{margin-top:0}.desktop-workspace .info-box pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}
.pane-subtitle{font-size:11px;font-weight:500;color:var(--muted);padding:8px 18px;margin:12px 0 3px}.desktop-workspace .secondary-controls .fields-grid{display:flex;flex-direction:column;gap:12px;width:100%}.desktop-workspace .secondary-controls .inline-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.desktop-workspace .secondary-controls .field,.desktop-workspace .secondary-controls form{width:100%;min-width:0}.desktop-workspace .secondary-controls .field input,.desktop-workspace .secondary-controls .field select,.desktop-workspace .secondary-controls #world-compare{width:100%;font-size:12px}.desktop-workspace .secondary-controls .field{font-size:12px}.desktop-workspace .secondary-controls #forum-status{font-size:11px;margin:0}.desktop-workspace #secondary-body>#calendar-date{width:calc(100% - 28px);margin:10px 14px;font-size:13px}.desktop-workspace #secondary-body #forum-more{margin:12px}.desktop-workspace #redbook>.panel>#forum-detail:not([hidden]){margin-top:24px}.desktop-workspace .workspace-empty{padding:60px 20px;text-align:center;color:var(--muted);font-size:13px}.desktop-workspace .account-avatar{position:sticky;top:0;z-index:2}.desktop-workspace #secondary-body #book-search{display:block}.desktop-workspace .sidebar{overflow:hidden}.desktop-workspace .sidebar nav{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin}.desktop-workspace .sidebar .nav[data-page=settings]{position:sticky;bottom:0;background:inherit}.desktop-workspace #rooms-back{display:none}
.desktop-workspace #secondary-body #room-list .list-item.selected{background:var(--accent-soft)}.desktop-workspace .chat-system{text-align:center;color:var(--muted);font-size:11px;padding:8px 14px;white-space:pre-wrap}.desktop-workspace .chat-system small{display:none}.desktop-workspace .chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere}
.desktop-workspace .forum-media{display:grid;gap:16px;margin:20px 0}.desktop-workspace .forum-media img{display:block;max-width:100%;max-height:900px;object-fit:contain;border-radius:6px}.desktop-workspace #list-toggle{font-size:16px}.desktop-workspace #secondary-body #world-compare{width:100%}
/* One compact home for account access and feature shortcuts. */
body.desktop-workspace #home>.home-welcome,body.desktop-workspace #home>.mobile-home-intro{display:none}
body.desktop-workspace #home #profile-auth{max-width:none;padding:16px;margin:0 0 12px;scroll-margin-top:85px}
body.desktop-workspace #home .profile-heading{gap:10px;margin:0 0 12px;min-width:0}
body.desktop-workspace #home .profile-big-avatar{width:38px;height:38px;border-radius:10px;font-size:23px;flex:0 0 38px}
body.desktop-workspace #home .profile-heading>div{flex:1;min-width:0}body.desktop-workspace #home .profile-heading h2{font-size:17px;line-height:1.4;margin:0 0 3px}body.desktop-workspace #home #profile-email{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
body.desktop-workspace #home #home-theme{flex:0 0 36px;width:36px;min-height:36px;padding:5px;font-size:20px}
body.desktop-workspace #home #account-login{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}
body.desktop-workspace #home #account-login .field{margin:0;font-size:12px;gap:5px}body.desktop-workspace #home #account-login input{height:42px;min-height:42px;width:100%;padding:9px 12px}
body.desktop-workspace #home #account-login .inline-actions{margin:0}body.desktop-workspace #home #account-login-button{height:42px;padding:9px 16px;white-space:nowrap}
body.desktop-workspace #home #account-panel>p{font-size:11px;line-height:1.5;margin:8px 0 0}body.desktop-workspace #home #community-status{font-size:11px;line-height:1.5;margin:5px 0 0}
body.desktop-workspace #home #account-info{margin:0;padding:9px 12px;font-size:12px;line-height:1.6}
body.desktop-workspace #home .home-grid{gap:10px}body.desktop-workspace #home .home-card{min-height:100px;padding:14px;display:grid;grid-template-columns:34px minmax(0,1fr);align-content:center;align-items:center;column-gap:10px;text-align:left}
body.desktop-workspace #home .home-icon{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;margin:0;font-size:22px;border-radius:9px}body.desktop-workspace #home .home-card strong{font-size:15px;line-height:1.5;letter-spacing:0}body.desktop-workspace #home .home-card p{font-size:11px;line-height:1.5;margin:4px 0 0;grid-column:2}body.desktop-workspace #home .home-card strong>span{display:none}
body.desktop-workspace .home-account-details{margin:14px 0 0;font-size:12px;color:var(--muted)}body.desktop-workspace .home-account-details>summary{min-height:44px;padding:12px 4px;cursor:pointer}body.desktop-workspace .home-account-details .panel{padding:16px}body.desktop-workspace .home-account-details h3{font-size:15px;margin:0 0 10px}body.desktop-workspace .home-account-details p{font-size:12px;line-height:1.7;margin:8px 0}body.desktop-workspace #home>footer{display:none}

body.desktop-workspace #home .is-signed-in #account-info{padding:0;background:transparent;border:0;font-size:11px;color:var(--muted)}

.forum-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;color:var(--muted);font-size:11px;line-height:1.6}.forum-card-author{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forum-card-counts{display:flex;gap:10px;flex-shrink:0}

.account-avatar[aria-current=page]{box-shadow:inset 0 0 0 2px var(--accent)}

body.desktop-workspace[data-module=downloads]{grid-template-columns:76px minmax(0,1fr)}
body.desktop-workspace[data-module=downloads] .desktop-secondary{display:none}
body.desktop-workspace[data-module=downloads] main{display:flex;flex-direction:column;padding:0;min-height:0;overflow:hidden}
body.desktop-workspace[data-module=downloads] main>header{flex:0 0 73px;margin:0;padding:0 25px;position:static}
body.desktop-workspace #downloads.active{display:flex;flex:1;flex-direction:column;min-height:0;max-width:none;width:100%;margin:0}
#downloads-frame{display:block;flex:1;width:100%;height:100%;min-height:0;border:0;background:#fff}

body.desktop-workspace[data-module=offerings]{grid-template-columns:76px minmax(0,1fr)}
body.desktop-workspace[data-module=offerings] .desktop-secondary{display:none}
body.desktop-workspace[data-module=offerings] main{display:flex;flex-direction:column;padding:0;min-height:0;overflow:hidden}
body.desktop-workspace[data-module=offerings] main>header{flex:0 0 73px;margin:0;padding:0 25px;position:static}
body.desktop-workspace #offerings.active{display:flex;flex:1;flex-direction:column;min-height:0;max-width:none;width:100%;margin:0}
#offering-frame{display:block;flex:1;width:100%;height:100%;min-height:0;border:0;background:#fff}
.offering-status{padding:24px 18px;font-size:14px;line-height:1.7;color:var(--muted)}#offering-retry{align-self:flex-start;margin:0 18px 18px}

body.desktop-workspace[data-module=jieyuan]{grid-template-columns:76px minmax(0,1fr)}body.desktop-workspace[data-module=jieyuan] .desktop-secondary{display:none}
.jy-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.jy-filters input{flex:1;min-width:180px}.jy-filters select{padding:10px;min-height:42px}.jy-filters button{min-height:42px}#jy-status{font-size:12px;line-height:1.7;margin:14px 0}
#jy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));grid-auto-rows:4px;gap:10px;align-items:start}#jy-grid .jy-card{grid-row-end:span var(--jy-span,1);align-self:start;position:relative;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0;overflow:hidden}
.jy-cover{display:block;width:calc(100% + 28px);max-width:none;max-height:280px;object-fit:cover;margin:-14px -14px 12px}.jy-card h3{font-size:16px;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}.jy-card p{font-size:12px;line-height:1.7;color:var(--muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.jy-summary{font-size:13px;color:var(--accent);line-height:1.6;margin:6px 0}.jy-card small{display:block;color:var(--muted);font-size:11px;margin-top:9px}.jy-read{position:absolute;inset:0;width:100%;height:100%;opacity:0}.jy-card:focus-within{outline:2px solid var(--accent)}.jy-rules{margin:20px 0;font-size:12px;line-height:1.8;color:var(--muted)}.jy-rules>summary{padding:12px 0;cursor:pointer}#jy-more{margin:16px auto;display:block}
#jy-detail h2{font-size:24px;line-height:1.5;margin:18px 0 8px}#jy-detail .jy-meta{font-size:12px;color:var(--muted);line-height:1.8}#jy-detail .jy-info{border:1px solid var(--line);padding:14px;border-radius:10px;margin:16px 0;font-size:13px;line-height:1.9}#jy-detail .jy-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.9;margin:18px 0}#jy-detail img{max-width:100%;height:auto;border-radius:10px;margin:10px 0}#jy-detail .inline-actions{margin:15px 0}#jy-detail textarea{width:100%;padding:12px}#jy-detail .jy-comment{border-top:1px solid var(--line);padding:14px 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}#jy-compose{width:min(650px,94vw);max-height:90dvh;overflow:auto}#jy-compose-rules{font-size:12px;line-height:1.8}#jy-compose textarea{width:100%}

.chat-bottom-nav{display:flex;flex:0 0 auto;border-top:1px solid var(--line);background:var(--panel);padding:6px 2px;gap:2px}.chat-bottom-nav button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:50px;font-size:11px;color:var(--muted);border-radius:8px}.chat-bottom-nav button>span:first-child{font-size:22px;line-height:24px}.chat-bottom-nav button[aria-current=page]{color:var(--accent);background:var(--accent-soft)}
.chat-assistant-entry{display:flex;align-items:center;width:100%;gap:12px;padding:18px 15px;text-align:left;border-bottom:1px solid var(--line);color:var(--text)}.assistant-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:11px;background:#27935c;color:white;font-size:26px}.chat-assistant-entry>span:last-child{display:flex;flex-direction:column;gap:8px;min-width:0}.chat-assistant-entry strong{font-size:15px}.chat-assistant-entry small{font-size:11px;color:var(--muted)}
.chat-hub-pane{padding:5px 12px 20px;min-width:0}.chat-hub-pane>input{width:100%;margin:12px 0;min-width:0}.chat-hub-pane>.primary{margin:8px 0 14px}.chat-hub-row{display:flex;align-items:center;gap:10px;width:100%;padding:16px 4px;border-bottom:1px solid var(--line);text-align:left;color:var(--text)}.chat-person-icon{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-size:23px}.chat-person-text{display:flex;flex:1;flex-direction:column;gap:7px;min-width:0}.chat-person-text strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-person-text small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.chat-row-arrow{color:var(--muted);font-size:21px}.chat-friend-requests{margin:10px 0;font-size:13px}.chat-friend-requests>summary{padding:12px 0;cursor:pointer}.chat-contact-request,.chat-contact-result{padding:14px 0;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.chat-contact-result small{display:block;margin:8px 0;color:var(--muted);font-size:10px}.chat-contact-result button,.chat-contact-request button{margin:7px 6px 0 0;min-height:38px}.chat-contact-search{display:flex;gap:8px;margin:12px 0}.chat-contact-search input{flex:1;min-width:0;width:0;font-size:14px}.chat-contact-search button{padding:10px}.chat-hub-pane p.muted{font-size:12px;line-height:1.7}.chat-group-form>input{width:100%;margin:12px 0}.chat-group-choices{margin:14px 0}.chat-group-choice{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}.chat-group-choice input{width:20px;height:20px;min-height:20px}.chat-setting{display:flex;align-items:center;gap:10px;padding:20px 0;border-bottom:1px solid var(--line)}.chat-setting>span{flex:1;min-width:0}.chat-setting strong{display:block;font-size:14px;margin-bottom:8px}.chat-setting small{display:block;font-size:11px;line-height:1.8;color:var(--muted)}.chat-setting>input{width:21px;height:21px;min-height:21px;flex:0 0 21px}
.file-assistant-panel{max-width:100%;padding:20px 4px;min-width:0}.file-assistant-panel h2{font-size:23px;margin:0 0 12px}.file-assistant-panel h3{font-size:15px;margin:26px 0 12px}.file-assistant-panel p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.file-assistant-panel .muted{color:var(--muted)}.assistant-status{color:var(--accent);min-height:22px;font-size:12px}.assistant-send{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.assistant-send select{padding:10px;min-width:0;max-width:100%}.assistant-send input{flex:1;min-width:150px;font-size:12px;padding:10px}.assistant-device{margin:6px 0}.assistant-item{padding:15px;border:1px solid var(--line);border-radius:10px;margin-bottom:10px;background:var(--panel);overflow-wrap:anywhere}.assistant-item small{display:block;font-size:11px;line-height:1.8;color:var(--muted);margin:7px 0}.assistant-item button{margin:5px 7px 0 0;min-height:40px}.assistant-item input{max-width:100%;font-size:12px}.chat-assistant-open #chat>.panel{display:none!important}.chat-assistant-open #file-assistant-panel{display:block!important}
.desktop-note-entry{position:relative;min-width:0}.desktop-note-entry>.desktop-list-row{display:flex;flex-direction:row;align-items:center;gap:12px;padding-right:36px}.note-row-text{display:flex;flex-direction:column;gap:9px;flex:1;min-width:0;text-align:left}.note-row-text>strong,.note-row-text>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-row-text time{font-size:11px;color:var(--muted)}.note-pin{color:var(--accent);margin-right:7px}.note-favorite{color:#d8aa4a;margin-right:7px}.note-row-thumbnail{flex:0 0 55px;width:55px;height:55px;object-fit:cover;border-radius:8px}.note-row-more{position:absolute;right:3px;top:9px;width:30px;min-height:38px;padding:0;font-size:23px;color:var(--muted)}
.notes-bottom-nav,.mobile-note-fab,.mobile-notes-menu{display:none}.notes-drawer{position:fixed;left:0;right:auto;top:0;bottom:0;margin:0;width:min(340px,85vw);max-width:85vw;height:100dvh;max-height:100dvh;border:0;border-right:1px solid var(--line);border-radius:0;padding:10px 0;background:var(--panel);color:var(--text);overflow:auto}.notes-drawer::backdrop{background:#0008}.notes-drawer-heading{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:15px 20px}.notes-drawer-heading h2{font-size:21px;margin:0}.notes-drawer-heading button{font-size:26px;min-width:40px}.notes-menu-row{display:flex;width:100%;align-items:center;gap:16px;padding:15px 22px;min-height:54px;border-radius:0;text-align:left;color:var(--text);font-size:16px}.notes-menu-row[aria-current=page]{background:var(--accent-soft);color:var(--accent)}.notes-menu-icon{width:22px;text-align:center;color:var(--muted);font-size:22px}.notes-menu-row small{margin-left:auto;color:var(--muted);font-size:12px}.notes-actions{width:min(430px,92vw);max-height:85dvh;padding:15px;overflow:auto;border-radius:14px;background:var(--panel);color:var(--text)}.notes-actions h2{font-size:18px;line-height:1.6;overflow-wrap:anywhere;margin:5px 8px 15px}.notes-action-row{display:block;min-height:46px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 10px;font-size:15px;color:var(--text)}
body[data-notes-folder=published] #note-list{display:none!important}body:not([data-notes-folder=published]) #notes-resources{display:none}.notes-resources{width:100%;min-width:0}.notes-resource-body{font-size:17px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0}.notes-public-reader{padding:20px;overflow-wrap:anywhere}.notes-public-reader h2{font-size:23px;line-height:1.6}body.notes-public-reading #notes>.panel,body.notes-public-reading #notes>.notes-toolbar,body.notes-public-reading #notes>.note-findbar,body.notes-public-reading #notes>.notes-editor-footer{display:none!important}
/* Navigation preferences remain accessible from the complete personal home. */
.navigation-settings{padding:20px 0;border-bottom:1px solid var(--line)}.navigation-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.navigation-heading h3{margin:0 0 8px}.navigation-heading p{margin:0 0 14px;font-size:13px;line-height:1.6}.navigation-heading>button{flex-shrink:0}.navigation-row{display:flex;align-items:center;gap:8px;min-height:50px;border-bottom:1px solid var(--line)}.navigation-row label{display:flex;align-items:center;gap:12px;flex:1;min-width:0;cursor:pointer}.navigation-row input[type=checkbox]{width:19px;height:19px;accent-color:var(--accent)}.navigation-icon{color:var(--accent);font-size:20px;width:23px;text-align:center}.navigation-row .icon-btn{width:36px;height:36px;min-width:36px;padding:4px}.navigation-row button:disabled{opacity:.25;cursor:default}.desktop-workspace .sidebar .nav[data-page=settings]{position:static}.navigation-settings button:focus-visible,.navigation-settings input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.jy-customer-service{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;margin:16px 0;background:var(--accent-soft);border:1px solid var(--line);border-radius:12px;flex-wrap:wrap}.jy-customer-service>div{overflow-wrap:anywhere}.jy-customer-service button{flex-shrink:0}#jy-compose-fields label:has([name=customer_service_number]){grid-column:1/-1}#jy-compose-fields label small{font-size:13px;line-height:1.6;color:var(--muted)}
.separate-backups{padding-top:20px}.backup-section{padding:16px 0;border-bottom:1px solid var(--line)}.backup-section .field{max-width:360px}.backup-section .inline-actions{flex-wrap:wrap;gap:10px}.backup-section select{width:100%}.backup-section [role=status]{overflow-wrap:anywhere;line-height:1.6}.suite-backup[hidden],.setting[hidden]{display:none!important}
.market-tabs{display:flex;gap:8px;overflow-x:auto;padding:10px 0 14px;border-bottom:1px solid var(--line);margin-bottom:14px;scrollbar-width:thin}.market-tabs button{white-space:nowrap;flex-shrink:0;padding:10px 13px;min-height:42px;border-radius:9px;color:var(--muted)}.market-tabs .active{background:var(--accent-soft);color:var(--accent)}.market-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:18px}.market-filters .field{margin:0;min-width:140px;flex:1}.market-filters input,.market-filters select{width:100%}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.market-card{min-width:0;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--panel)}.market-card img{width:100%;max-height:260px;object-fit:cover;border-radius:8px}.market-card h3{overflow-wrap:anywhere}.market-price{display:block;color:var(--accent);font-size:22px;margin:12px 0}.market-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:16px 0}.market-detail>img{max-width:100%;max-height:700px;border-radius:10px;margin:14px 0}.market-detail .inline-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.market-order-card{padding:18px 0;border-bottom:1px solid var(--line)}.market-order-card>strong{color:var(--accent)}.market-dialog{width:min(560px,calc(100vw - 24px));max-height:88dvh;overflow:auto;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.market-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.market-dialog .field{display:flex;flex-direction:column;margin:14px 0;gap:8px;line-height:1.5}.market-dialog input,.market-dialog select,.market-dialog textarea{width:100%;min-height:44px;font-size:16px;padding:10px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--paper)}.market-dialog .market-check{display:flex;align-items:center;gap:9px;margin-top:16px;line-height:1.5}.market-check input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--accent)}.market-dialog p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.market-dialog .dialog-actions{position:static;display:flex;justify-content:flex-end;gap:10px;padding-top:12px}.market-dialog [hidden]{display:none!important}.market-dialog button{min-height:44px}.market-dialog button:disabled{opacity:.5}.market-tabs+div[hidden]{display:none!important}
@media(max-width:800px),(max-width:1100px) and (pointer:coarse){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.market-card{padding:11px}.market-card h3{font-size:17px;line-height:1.6}.market-card p{font-size:13px!important;line-height:1.5}.market-tabs{margin-top:0}.market-detail{padding:14px!important}.market-dialog{padding:18px;max-height:88dvh}.market-filters .field:first-child{flex-basis:100%}.market-filters .field{min-width:100px}.market-price{font-size:21px}.market-dialog .dialog-actions{flex-wrap:wrap}}
/* Account restoration can refresh the legacy widget; keep it inside its own tab. */
#jieyuan[data-market-mode=market]>#jy-list-view,#jieyuan[data-market-mode=market]>#jy-detail{display:none!important}
.market-card{position:relative;overflow:hidden}
.library-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:5px;border-bottom:1px solid var(--line);padding:5px 0 12px}.library-breadcrumbs button{min-height:38px}.library-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.library-actions button,.library-actions select{min-height:40px;padding:8px 10px;border-radius:9px}.library-actions select{max-width:150px;background:var(--panel);color:var(--text);border:1px solid var(--line)}.library-status{font-size:13px!important;line-height:1.6;color:var(--muted)}.library-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:16px 0}.library-file-card{position:relative;min-width:0;border:1px solid var(--line);background:var(--panel);border-radius:12px;overflow:hidden}.library-open{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;height:100%;min-height:180px;padding:16px 13px;text-align:left;color:var(--text)}.library-open strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere;padding-right:12px}.library-open small{font-size:12px;color:var(--muted);line-height:1.5}.library-open img{width:75px;height:100px;object-fit:cover;align-self:center;border-radius:5px}.library-file-icon{font-size:52px;line-height:1.3;align-self:center;margin:12px 0}.library-book-icon{display:grid;place-items:center;align-self:center;width:66px;height:84px;background:var(--accent-soft);color:var(--accent);border:1px solid var(--line);border-radius:5px;font-size:17px;font-weight:600;margin:7px 0}.library-more{position:absolute;right:4px;bottom:8px;min-width:28px;min-height:40px;color:var(--muted);font-size:22px;padding:0}.library-file-grid[data-layout=list]{display:flex;flex-direction:column;gap:6px}.library-file-grid[data-layout=list] .library-open{display:grid;grid-template-columns:45px minmax(0,1fr);min-height:80px;padding:10px;gap:4px 12px}.library-file-grid[data-layout=list] .library-open>:first-child{grid-row:1/3;grid-column:1;font-size:30px;margin:0}.library-file-grid[data-layout=list] .library-open strong,.library-file-grid[data-layout=list] .library-open small{grid-column:2}.library-file-grid[data-layout=list] .library-book-icon,.library-file-grid[data-layout=list] img{width:38px;height:48px;font-size:11px!important}.library-folder-tree{margin-top:16px}.library-folder-tree .desktop-list-row{min-height:44px;overflow-wrap:anywhere}.library-organize-dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:15px;padding:20px;width:min(440px,calc(100vw - 28px));max-height:80dvh;overflow:auto}.library-organize-dialog::backdrop{background:#0008}.library-organize-dialog .notes-action-row{width:100%;display:block;text-align:left;padding:14px;border-bottom:1px solid var(--line);color:var(--text);background:transparent}
@media(max-width:800px),(max-width:1100px) and (pointer:coarse){body.mobile-workspace #book-list{padding:0 12px 22px}.library-file-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.library-open{min-height:158px;padding:10px 8px;gap:8px}.library-open strong{font-size:14px}.library-open small{font-size:11px}.library-file-icon{font-size:43px;margin:7px 0}.library-book-icon{width:48px;height:65px;font-size:14px;margin:7px 0}.library-open img{width:48px;height:65px}.library-actions{gap:6px}.library-actions button,.library-actions select{font-size:13px!important;min-height:40px!important}.library-actions select{max-width:130px}.library-file-grid .empty-state{grid-column:1/-1}.library-breadcrumbs .text-btn{font-size:14px}.library-more{font-size:20px;min-width:24px}.library-status{margin:8px 0}.library-organize-dialog{padding:16px}}
body.desktop-workspace #book-list{display:block}.library-file-icon{display:block;position:relative;width:58px;height:43px;background:#ffb523;border-radius:5px;font-size:0;box-shadow:inset 0 -3px 0 #e699192b;margin:19px 0 14px}.library-file-icon:before{content:'';position:absolute;left:0;top:-7px;width:26px;height:11px;border-radius:4px 4px 0 0;background:#ffc04d}.library-file-grid[data-layout=list] .library-file-icon{width:34px;height:26px;font-size:0!important;margin:8px 0!important}.library-file-grid[data-layout=list] .library-file-icon:before{width:17px;top:-5px;height:8px}@media(max-width:800px),(max-width:1100px) and (pointer:coarse){.library-file-icon{width:49px;height:37px;font-size:0;margin:17px 0 12px}}

.home-notice{margin-top:16px;padding:16px;min-width:0}.home-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-notice h3{margin:0;font-size:var(--user-heading-font,21px)}#home-notice-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin-top:12px}#home-notice-status:empty{display:none}#home-notice-input{display:block;width:100%;box-sizing:border-box;resize:vertical;margin:8px 0 12px;font:inherit}#home-notice-form[hidden],#home-notice-edit[hidden]{display:none!important}

.forum-boards-button{margin:8px 0;grid-column:1/-1;justify-self:start}.forum-boards-button[hidden]{display:none!important}.forum-boards-dialog{width:min(650px,calc(100vw - 28px));max-height:85dvh;box-sizing:border-box;overflow:auto;padding:18px;background:var(--panel,#161616);color:var(--text,#eee);border:1px solid var(--line,#333);border-radius:16px}.forum-board-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0;border-bottom:1px solid var(--line,#333)}.forum-board-row input,.forum-board-row select{min-width:0;width:100%;box-sizing:border-box}.forum-boards-dialog [data-create]{display:flex;align-items:end;gap:10px;margin:18px 0}.forum-boards-dialog [data-create] label{flex:1;min-width:0}.forum-boards-dialog [data-create] input{width:100%;box-sizing:border-box;margin-top:8px}.forum-boards-dialog [data-confirm] button{margin-right:8px}

/* Compact black workspace: tools share the main header instead of a second title row. */
body.dark.desktop-workspace .desktop-secondary,body.dark.desktop-workspace .desktop-secondary #secondary-body,body.dark.desktop-workspace main,body.dark.desktop-workspace[data-module=notes] #notes>.panel,body.dark.desktop-workspace[data-module=notes] #note-body,body.dark.desktop-workspace[data-module=notes] #note-title,body.dark.desktop-workspace[data-module=notes] .notes-editor-footer,body.dark.desktop-workspace[data-module=notes] .note-findbar{background:#000}
body.dark.desktop-workspace #note-list .desktop-list-row{background:#000}body.dark.desktop-workspace #note-list .desktop-list-row.selected{background:#102235}
main>header>#notes-toolbar{display:none}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header{height:48px;min-height:48px;padding:0 12px;gap:10px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>#notes-toolbar{display:flex;order:0;flex:0 1 auto;min-width:0;margin-left:auto;min-height:0;padding:0;gap:2px;overflow-x:auto;border:0;background:transparent;scrollbar-width:none}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>.header-tools{flex-shrink:0;gap:8px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .note-tool{padding:5px 8px;min-height:30px;font-size:12px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] #notes>.panel{padding:4px 14px 0}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .note-findbar{padding:0 14px;min-height:30px;gap:6px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .note-findbar input{padding:4px 0!important;font-size:12px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] #note-title{font-size:20px;padding:3px 0 5px;min-height:32px;height:32px;line-height:1.2}
body.desktop-workspace #note-editor>.field[hidden]{display:none!important}
body.desktop-workspace:not(.mobile-workspace) #note-editor>.note-title-redundant{display:none!important}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] #note-body{padding:0 0 6px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] #note-editor>.panel-heading{padding:3px 0;border:0;min-height:0}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .notes-editor-footer{padding:4px 14px;font-size:10px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .secondary-heading{height:48px;padding:10px 16px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] #note-list .desktop-list-row{min-height:86px;padding:12px 16px;gap:6px}
body.dark.desktop-workspace[data-module=notes] .desktop-secondary,body.dark.desktop-workspace[data-module=notes] #note-list .desktop-list-row,body.dark.desktop-workspace[data-module=notes] #note-list .desktop-list-row:hover,body.dark.desktop-workspace[data-module=notes] #note-list .desktop-list-row.selected,body.dark.desktop-workspace[data-module=notes] .sync-state{background:#000}
body.dark.desktop-workspace[data-module=notes] #note-list .desktop-list-row.selected{box-shadow:inset 3px 0 var(--accent)}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .notes-layout{margin:0;gap:0}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] #note-editor>.field{gap:0}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .secondary-controls{padding:8px;gap:6px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] .secondary-controls input{padding:7px 9px}

main>header>.note-findbar{display:none}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>.note-findbar{display:flex;order:0;flex:1 1 200px;min-width:85px;max-width:360px;margin-left:auto;padding:0 5px;min-height:30px;border:1px solid var(--line);border-radius:6px;gap:3px;background:var(--paper)}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>.note-findbar label{display:flex;flex:1;min-width:0;gap:5px;margin:0}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>.note-findbar input{width:100%!important;min-width:0;padding:4px 0!important}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>.note-findbar>span{font-size:10px;white-space:nowrap}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>.note-findbar>button{min-width:22px;padding:3px;color:#8b8b8b;background:#202020;border-radius:4px}
body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header>#notes-toolbar{margin-left:0}
body.dark.desktop-workspace[data-module=notes] :is(.desktop-secondary,#secondary-body,#note-list,main,#note-body){color-scheme:dark;scrollbar-color:#454545 #141414;scrollbar-width:thin}
body.dark.desktop-workspace[data-module=notes] :is(.desktop-secondary,#secondary-body,#note-list,main,#note-body)::-webkit-scrollbar{width:10px;height:10px;background:#141414}
body.dark.desktop-workspace[data-module=notes] :is(.desktop-secondary,#secondary-body,#note-list,main,#note-body)::-webkit-scrollbar-track{background:#141414}
body.dark.desktop-workspace[data-module=notes] :is(.desktop-secondary,#secondary-body,#note-list,main,#note-body)::-webkit-scrollbar-thumb{background:#454545;border:2px solid #141414;border-radius:8px}
body.dark.desktop-workspace[data-module=notes] :is(.desktop-secondary,#secondary-body,#note-list,main,#note-body)::-webkit-scrollbar-button{background:#222;color:#777}
body.dark.desktop-workspace[data-module=notes] :is(.desktop-secondary,#secondary-body,#note-list,main,#note-body)::-webkit-scrollbar-corner{background:#141414}
@media(max-width:1200px){body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header{gap:5px}body.desktop-workspace:not(.mobile-workspace)[data-module=notes] main>header #date{display:none}}
