/* Full titles, aligned mobile tools and transparent compact cards. */
 .project.display-full .paper .paper-head>.title{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;max-width:none!important;width:100%!important;line-height:1.4!important;flex:1 1 100%!important}
 .project.display-full .paper .paper-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;padding:0!important;height:auto!important;flex-wrap:nowrap!important}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-height:28px;position:relative;z-index:9}.header-actions .head-spacer,.header-actions .count{display:none}.header-actions .format-dock{margin:0}.header-actions .handle{margin-right:auto}.header-action-toggle{display:none;border:1px solid var(--border);background:var(--bar);color:var(--ink);font:12px system-ui;border-radius:8px;padding:5px 9px;cursor:pointer}
@media(max-width:700px){
body:not(.mobile-reading) #projects.mobile-overview-grid>.project{background:var(--note-card-background,#fff)!important}
.mobile-note-more{display:none!important}.mobile-note-label{padding-right:8px!important;background:var(--note-card-background,#fff)!important}
.mobile-reader-count,.mobile-reader-bar button[aria-label="便签操作"]{display:none!important}.mobile-reader-bar{gap:3px!important;min-height:49px;box-sizing:border-box}.mobile-reader-bar button{min-height:34px;padding:5px 8px!important}.mobile-reader-bar .reader-note-action:first-of-type{margin-left:auto}.mobile-reader-bar .reader-done{margin-left:auto;border:1px solid var(--border);border-radius:9px;padding:5px 13px!important;color:var(--ink);font-weight:600}
body .paper-head>.header-actions,body .project>.header-actions,body .paper-head>.header-action-toggle{display:none!important}body[data-header-plan=B] .paper-head{padding-right:0!important}
.mobile-accessory .mobile-editor-bar{display:none!important}.mobile-reading .mobile-reader-note .mobile-accessory{padding-bottom:env(safe-area-inset-bottom);border-radius:14px 14px 0 0;background:var(--bar)}
body .mobile-reader-note .mobile-accessory .mobile-format-panel.mobile-format-open{display:grid!important;position:static!important;inset:auto!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:40px 40px!important;align-items:stretch!important;gap:2px!important;width:100%!important;padding:7px 8px!important;border:0!important;border-radius:14px 14px 0 0!important;box-sizing:border-box!important}
body .mobile-accessory .mobile-format-panel .tool,body .mobile-accessory .mobile-format-panel .font-picker-trigger{display:flex!important;align-items:center!important;justify-content:center!important;justify-self:stretch!important;align-self:stretch!important;width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;padding:4px!important;margin:0!important;line-height:1!important;font-size:13px!important;border-radius:7px!important;background:transparent!important;box-sizing:border-box!important}
body .mobile-accessory .mobile-format-panel .tool::before{display:none!important}.mobile-accessory .mobile-format-panel svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
body .mobile-accessory .mobile-format-panel .size-down{grid-column:1!important;grid-row:1!important}body .mobile-accessory .mobile-format-panel .size-up{grid-column:2!important;grid-row:1!important}body .mobile-accessory .mobile-format-panel .font-picker{grid-column:3 / span 2!important;grid-row:1!important}body .mobile-accessory .mobile-format-panel .picture-tool{grid-column:5!important;grid-row:1!important}body .mobile-accessory .mobile-format-panel .bold-tool{grid-column:6!important;grid-row:1!important}
body .mobile-accessory .mobile-format-panel .item-tool{grid-column:1!important;grid-row:2!important}body .mobile-accessory .mobile-format-panel .bullet-tool{grid-column:2!important;grid-row:2!important}body .mobile-accessory .mobile-format-panel .number-tool{grid-column:3!important;grid-row:2!important}body .mobile-accessory .mobile-format-panel .color-tool{grid-column:4!important;grid-row:2!important}body .mobile-accessory .mobile-format-panel .bg-tool{grid-column:5!important;grid-row:2!important}body .mobile-accessory .mobile-format-panel .clear-format-tool{grid-column:6!important;grid-row:2!important;font-size:11px!important}
body .mobile-accessory .mobile-format-panel .note-trash-tool{display:none!important}
body .mobile-accessory .mobile-format-panel .font-picker{align-self:stretch!important;margin:0!important;padding:0!important;height:40px!important}
body:not(.mobile-reading) .paper-head{padding-right:0!important}.mobile-reading .paper-head>.title{white-space:normal!important}
}

@media(max-width:700px){body.mobile-reading .shell{padding-left:4px!important;padding-right:4px!important}body.mobile-reading .mobile-reader-note>.paper{max-width:none!important;left:var(--edge-offset,0px)} }

@media(max-width:700px){body:not(.mobile-reading) .mobile-note-label{height:22px!important;line-height:20px!important;padding:1px 8px!important}}

.project.display-full>.header-actions{min-height:30px;margin:0 auto 8px;max-width:100%;padding:0 8px;box-sizing:border-box}.project.display-full>.header-actions .built-in-bow{display:none}.paper .custom-color-control{display:none!important}

.note-color-entry{padding:5px 10px;border:1px solid var(--border);border-radius:8px;background:var(--bar);color:var(--ink);font:inherit;font-size:12px;line-height:1.5;cursor:pointer}
@media(max-width:700px){.mobile-reader-bar .note-color-entry{padding:5px 6px!important;font-size:11px;min-height:34px}}

.write-area[contenteditable=true],.write-area[contenteditable=true] .entry-text{-webkit-user-select:text;user-select:text;outline:none}

/* Adopted A: distinguish titles through size and weight, without a rule. */
.project.display-full .paper .paper-head>.title{font-size:18px!important;font-weight:700!important;line-height:1.4!important}
/* No additional cast shadow in opened notes, overview or PNG composites. */
.paper,.paper-art,.reflow-art,.mobile-paper-snapshot{filter:none!important;box-shadow:none!important}
@media(max-width:700px){body.mobile-reading .write-area[contenteditable=true]{font-size:16px;-webkit-text-size-adjust:100%}.mobile-reader-note .entry-text,.mobile-reader-note .title-editable{-webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default;touch-action:auto}}

/* C: a folded memo with switching arrows; preserve native picker behavior. */
.style-pick svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65}

/* External title space must not rescale the printed body line leading. */
.paper[data-title-rule-lock]{--ruled-step:var(--title-fixed-rule-pitch)!important}
