.mc-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0;box-shadow:inset 0 0 0 1px #00000018;filter:none;background:#aaa}
.mc-trigger{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;font-size:12px;min-height:32px;padding:6px 10px;border-radius:14px;background:#eee;color:#333}
.mc-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:10px 0}
.mc-toolbar.mc-copy-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto}
.mc-copy-toolbar>button{min-width:0;white-space:nowrap}
.mc-copy-toolbar>button:first-child{overflow:hidden;text-overflow:ellipsis;justify-self:start;max-width:100%}
.mc-copy-status{position:fixed;z-index:180;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:calc(100vw - 32px);margin:0;padding:12px 20px;border-radius:24px;background:rgba(58,44,26,.92);color:#fff;font-size:13px;line-height:1.5;box-shadow:0 6px 20px #392e1f18;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);pointer-events:none}
.mc-copy-status[hidden]{display:none}
.mc-toolbar>button{font-size:12px;min-height:32px;padding:6px 10px}
.memo-category{margin-bottom:12px}
.mc-dialog{color:#242424;background:#fff;border:0;border-radius:24px;width:calc(100% - 28px);max-width:470px;max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto;box-shadow:0 18px 70px #0002}
.mc-dialog::backdrop{background:#0005}
.mc-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px}
.mc-dialog h2{font-size:19px;margin:0;font-weight:550}
.mc-dialog button{font:inherit;font-size:13px;min-height:32px;border:0;border-radius:14px;background:#eee;color:#333;padding:7px 10px;cursor:pointer}
.mc-dialog button:disabled{opacity:.5;cursor:wait}
.mc-dialog .mc-close{width:32px;padding:0;font-size:22px}
.mc-tabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.mc-tabs button,.mc-option{display:flex;align-items:center;gap:7px;max-width:100%}
.mc-tabs span{overflow-wrap:anywhere}
.mc-tabs [aria-pressed=true],.mc-options [aria-pressed=true]{background:#d9d9d9}
.mc-fields{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:10px;margin:14px 0}
.mc-fields label{display:grid;gap:5px;font-size:12px;color:#666;margin:0}
.mc-fields input{font:inherit;font-size:16px;min-width:0;width:100%;border:1px solid #ddd;border-radius:12px;padding:8px;background:#fafafa;color:#222}
.mc-caption,.mc-message{font-size:12px;color:#666;line-height:1.5;margin:10px 0}
.mc-palette{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px}
.mc-color-column{display:grid;gap:6px;min-width:0;text-align:center}
.mc-color-column>span{font-size:11px;color:#777}
.mc-dialog .mc-swatch{width:100%;min-height:0;height:24px;padding:0;border-radius:7px;border:1px solid #00000012;box-shadow:none}
.mc-dialog .mc-swatch[aria-pressed=true]{outline:2px solid #222;outline-offset:2px}
.mc-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 0}
.mc-dialog .mc-save{background:#242424;color:#fff;margin-left:auto}
.mc-delete-confirm{font-size:12px;line-height:1.6;background:#f4f4f4;padding:10px;border-radius:12px;margin-top:10px}
.mc-options{display:grid;gap:6px;margin-bottom:12px}
.mc-dialog .mc-option{width:100%;text-align:left;justify-content:flex-start;padding:10px;min-height:42px}
.mc-option span{overflow-wrap:anywhere}
.sidebar-memo-row{display:flex;align-items:center;gap:3px;background:#fff;border-radius:12px;margin:1px 0;height:33px;min-width:0}
.sidebar-memo-row .sidebar-memo-item{min-width:0;flex:1;background:none;margin:0}
.sidebar-memo-row .mc-trigger{background:transparent;max-width:70px;min-height:28px;padding:4px 5px;font-size:10px;flex-shrink:0}
.sidebar-memo-row .mc-dot{width:6px;height:6px}
.sidebar-memos .mc-toolbar>button{font-size:10px;padding:4px 5px;min-height:28px}
@media(max-width:360px){.mc-dialog{padding:15px}.mc-palette{gap:5px}.mc-dialog .mc-swatch{height:22px}}

.mc-dot.mc-red-1,.mc-dialog .mc-swatch.mc-red-1{background:hsl(0 35.0% 91.0%)}
.mc-dot.mc-red-2,.mc-dialog .mc-swatch.mc-red-2{background:hsl(0 36.5% 85.0%)}
.mc-dot.mc-red-3,.mc-dialog .mc-swatch.mc-red-3{background:hsl(0 38.0% 79.0%)}
.mc-dot.mc-red-4,.mc-dialog .mc-swatch.mc-red-4{background:hsl(0 39.5% 73.0%)}
.mc-dot.mc-red-5,.mc-dialog .mc-swatch.mc-red-5{background:hsl(0 41.0% 67.0%)}
.mc-dot.mc-red-6,.mc-dialog .mc-swatch.mc-red-6{background:hsl(0 42.5% 61.0%)}
.mc-dot.mc-red-7,.mc-dialog .mc-swatch.mc-red-7{background:hsl(0 44.0% 55.0%)}
.mc-dot.mc-red-8,.mc-dialog .mc-swatch.mc-red-8{background:hsl(0 45.5% 49.0%)}
.mc-dot.mc-red-9,.mc-dialog .mc-swatch.mc-red-9{background:hsl(0 47.0% 43.0%)}
.mc-dot.mc-red-10,.mc-dialog .mc-swatch.mc-red-10{background:hsl(0 47.0% 37.0%)}
.mc-dot.mc-orange-1,.mc-dialog .mc-swatch.mc-orange-1{background:hsl(28 42.0% 91.0%)}
.mc-dot.mc-orange-2,.mc-dialog .mc-swatch.mc-orange-2{background:hsl(28 43.5% 85.0%)}
.mc-dot.mc-orange-3,.mc-dialog .mc-swatch.mc-orange-3{background:hsl(28 45.0% 79.0%)}
.mc-dot.mc-orange-4,.mc-dialog .mc-swatch.mc-orange-4{background:hsl(28 46.5% 73.0%)}
.mc-dot.mc-orange-5,.mc-dialog .mc-swatch.mc-orange-5{background:hsl(28 48.0% 67.0%)}
.mc-dot.mc-orange-6,.mc-dialog .mc-swatch.mc-orange-6{background:hsl(28 49.5% 61.0%)}
.mc-dot.mc-orange-7,.mc-dialog .mc-swatch.mc-orange-7{background:hsl(28 51.0% 55.0%)}
.mc-dot.mc-orange-8,.mc-dialog .mc-swatch.mc-orange-8{background:hsl(28 52.5% 49.0%)}
.mc-dot.mc-orange-9,.mc-dialog .mc-swatch.mc-orange-9{background:hsl(28 54.0% 43.0%)}
.mc-dot.mc-orange-10,.mc-dialog .mc-swatch.mc-orange-10{background:hsl(28 54.0% 37.0%)}
.mc-dot.mc-yellow-1,.mc-dialog .mc-swatch.mc-yellow-1{background:hsl(50 48.0% 91.0%)}
.mc-dot.mc-yellow-2,.mc-dialog .mc-swatch.mc-yellow-2{background:hsl(50 49.5% 85.0%)}
.mc-dot.mc-yellow-3,.mc-dialog .mc-swatch.mc-yellow-3{background:hsl(50 51.0% 79.0%)}
.mc-dot.mc-yellow-4,.mc-dialog .mc-swatch.mc-yellow-4{background:hsl(50 52.5% 73.0%)}
.mc-dot.mc-yellow-5,.mc-dialog .mc-swatch.mc-yellow-5{background:hsl(50 54.0% 67.0%)}
.mc-dot.mc-yellow-6,.mc-dialog .mc-swatch.mc-yellow-6{background:hsl(50 55.5% 61.0%)}
.mc-dot.mc-yellow-7,.mc-dialog .mc-swatch.mc-yellow-7{background:hsl(50 57.0% 55.0%)}
.mc-dot.mc-yellow-8,.mc-dialog .mc-swatch.mc-yellow-8{background:hsl(50 58.5% 49.0%)}
.mc-dot.mc-yellow-9,.mc-dialog .mc-swatch.mc-yellow-9{background:hsl(50 60.0% 43.0%)}
.mc-dot.mc-yellow-10,.mc-dialog .mc-swatch.mc-yellow-10{background:hsl(50 60.0% 37.0%)}
.mc-dot.mc-green-1,.mc-dialog .mc-swatch.mc-green-1{background:hsl(108 28.0% 91.0%)}
.mc-dot.mc-green-2,.mc-dialog .mc-swatch.mc-green-2{background:hsl(108 29.5% 85.0%)}
.mc-dot.mc-green-3,.mc-dialog .mc-swatch.mc-green-3{background:hsl(108 31.0% 79.0%)}
.mc-dot.mc-green-4,.mc-dialog .mc-swatch.mc-green-4{background:hsl(108 32.5% 73.0%)}
.mc-dot.mc-green-5,.mc-dialog .mc-swatch.mc-green-5{background:hsl(108 34.0% 67.0%)}
.mc-dot.mc-green-6,.mc-dialog .mc-swatch.mc-green-6{background:hsl(108 35.5% 61.0%)}
.mc-dot.mc-green-7,.mc-dialog .mc-swatch.mc-green-7{background:hsl(108 37.0% 55.0%)}
.mc-dot.mc-green-8,.mc-dialog .mc-swatch.mc-green-8{background:hsl(108 38.5% 49.0%)}
.mc-dot.mc-green-9,.mc-dialog .mc-swatch.mc-green-9{background:hsl(108 40.0% 43.0%)}
.mc-dot.mc-green-10,.mc-dialog .mc-swatch.mc-green-10{background:hsl(108 40.0% 37.0%)}
.mc-dot.mc-cyan-1,.mc-dialog .mc-swatch.mc-cyan-1{background:hsl(174 32.0% 91.0%)}
.mc-dot.mc-cyan-2,.mc-dialog .mc-swatch.mc-cyan-2{background:hsl(174 33.5% 85.0%)}
.mc-dot.mc-cyan-3,.mc-dialog .mc-swatch.mc-cyan-3{background:hsl(174 35.0% 79.0%)}
.mc-dot.mc-cyan-4,.mc-dialog .mc-swatch.mc-cyan-4{background:hsl(174 36.5% 73.0%)}
.mc-dot.mc-cyan-5,.mc-dialog .mc-swatch.mc-cyan-5{background:hsl(174 38.0% 67.0%)}
.mc-dot.mc-cyan-6,.mc-dialog .mc-swatch.mc-cyan-6{background:hsl(174 39.5% 61.0%)}
.mc-dot.mc-cyan-7,.mc-dialog .mc-swatch.mc-cyan-7{background:hsl(174 41.0% 55.0%)}
.mc-dot.mc-cyan-8,.mc-dialog .mc-swatch.mc-cyan-8{background:hsl(174 42.5% 49.0%)}
.mc-dot.mc-cyan-9,.mc-dialog .mc-swatch.mc-cyan-9{background:hsl(174 44.0% 43.0%)}
.mc-dot.mc-cyan-10,.mc-dialog .mc-swatch.mc-cyan-10{background:hsl(174 44.0% 37.0%)}
.mc-dot.mc-blue-1,.mc-dialog .mc-swatch.mc-blue-1{background:hsl(219 38.0% 91.0%)}
.mc-dot.mc-blue-2,.mc-dialog .mc-swatch.mc-blue-2{background:hsl(219 39.5% 85.0%)}
.mc-dot.mc-blue-3,.mc-dialog .mc-swatch.mc-blue-3{background:hsl(219 41.0% 79.0%)}
.mc-dot.mc-blue-4,.mc-dialog .mc-swatch.mc-blue-4{background:hsl(219 42.5% 73.0%)}
.mc-dot.mc-blue-5,.mc-dialog .mc-swatch.mc-blue-5{background:hsl(219 44.0% 67.0%)}
.mc-dot.mc-blue-6,.mc-dialog .mc-swatch.mc-blue-6{background:hsl(219 45.5% 61.0%)}
.mc-dot.mc-blue-7,.mc-dialog .mc-swatch.mc-blue-7{background:hsl(219 47.0% 55.0%)}
.mc-dot.mc-blue-8,.mc-dialog .mc-swatch.mc-blue-8{background:hsl(219 48.5% 49.0%)}
.mc-dot.mc-blue-9,.mc-dialog .mc-swatch.mc-blue-9{background:hsl(219 50.0% 43.0%)}
.mc-dot.mc-blue-10,.mc-dialog .mc-swatch.mc-blue-10{background:hsl(219 50.0% 37.0%)}
.mc-dot.mc-purple-1,.mc-dialog .mc-swatch.mc-purple-1{background:hsl(285 30.0% 91.0%)}
.mc-dot.mc-purple-2,.mc-dialog .mc-swatch.mc-purple-2{background:hsl(285 31.5% 85.0%)}
.mc-dot.mc-purple-3,.mc-dialog .mc-swatch.mc-purple-3{background:hsl(285 33.0% 79.0%)}
.mc-dot.mc-purple-4,.mc-dialog .mc-swatch.mc-purple-4{background:hsl(285 34.5% 73.0%)}
.mc-dot.mc-purple-5,.mc-dialog .mc-swatch.mc-purple-5{background:hsl(285 36.0% 67.0%)}
.mc-dot.mc-purple-6,.mc-dialog .mc-swatch.mc-purple-6{background:hsl(285 37.5% 61.0%)}
.mc-dot.mc-purple-7,.mc-dialog .mc-swatch.mc-purple-7{background:hsl(285 39.0% 55.0%)}
.mc-dot.mc-purple-8,.mc-dialog .mc-swatch.mc-purple-8{background:hsl(285 40.5% 49.0%)}
.mc-dot.mc-purple-9,.mc-dialog .mc-swatch.mc-purple-9{background:hsl(285 42.0% 43.0%)}
.mc-dot.mc-purple-10,.mc-dialog .mc-swatch.mc-purple-10{background:hsl(285 42.0% 37.0%)}
.mc-dot.mc-white-1,.mc-dialog .mc-swatch.mc-white-1{background:hsl(38 10.0% 98.0%)}
.mc-dot.mc-white-2,.mc-dialog .mc-swatch.mc-white-2{background:hsl(38 10.0% 95.0%)}
.mc-dot.mc-white-3,.mc-dialog .mc-swatch.mc-white-3{background:hsl(38 10.0% 92.0%)}
.mc-dot.mc-white-4,.mc-dialog .mc-swatch.mc-white-4{background:hsl(38 10.0% 89.0%)}
.mc-dot.mc-white-5,.mc-dialog .mc-swatch.mc-white-5{background:hsl(38 10.0% 86.0%)}
.mc-dot.mc-white-6,.mc-dialog .mc-swatch.mc-white-6{background:hsl(38 10.0% 83.0%)}
.mc-dot.mc-white-7,.mc-dialog .mc-swatch.mc-white-7{background:hsl(38 10.0% 80.0%)}
.mc-dot.mc-white-8,.mc-dialog .mc-swatch.mc-white-8{background:hsl(38 10.0% 77.0%)}
.mc-dot.mc-white-9,.mc-dialog .mc-swatch.mc-white-9{background:hsl(38 10.0% 74.0%)}
.mc-dot.mc-white-10,.mc-dialog .mc-swatch.mc-white-10{background:hsl(38 10.0% 71.0%)}
.mc-dot.mc-black-1,.mc-dialog .mc-swatch.mc-black-1{background:hsl(0 0% 45%)}
.mc-dot.mc-black-2,.mc-dialog .mc-swatch.mc-black-2{background:hsl(0 0% 41%)}
.mc-dot.mc-black-3,.mc-dialog .mc-swatch.mc-black-3{background:hsl(0 0% 37%)}
.mc-dot.mc-black-4,.mc-dialog .mc-swatch.mc-black-4{background:hsl(0 0% 33%)}
.mc-dot.mc-black-5,.mc-dialog .mc-swatch.mc-black-5{background:hsl(0 0% 29%)}
.mc-dot.mc-black-6,.mc-dialog .mc-swatch.mc-black-6{background:hsl(0 0% 25%)}
.mc-dot.mc-black-7,.mc-dialog .mc-swatch.mc-black-7{background:hsl(0 0% 21%)}
.mc-dot.mc-black-8,.mc-dialog .mc-swatch.mc-black-8{background:hsl(0 0% 17%)}
.mc-dot.mc-black-9,.mc-dialog .mc-swatch.mc-black-9{background:hsl(0 0% 13%)}
.mc-dot.mc-black-10,.mc-dialog .mc-swatch.mc-black-10{background:hsl(0 0% 9%)}

/* Compact reading surfaces; the full body remains scrollable without opening it. */
.memo{margin:10px 0;padding:14px 16px;border-radius:22px}
.memo .memo-text{font-size:12.8px;line-height:1.5;max-height:240px;min-height:24px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;text-overflow:clip;-webkit-overflow-scrolling:touch}
.memo .memo-tools{gap:6px;margin-top:9px}
.memo .memo-tools small{font-size:8.8px;line-height:1.4}
.memo .memo-tools .actions{gap:5px}
.memo .memo-tools button{font-size:9.6px;padding:5px 9px;min-height:30px}
.memo .memo-category{font-size:9.6px;margin-bottom:8px;min-height:28px;padding:4px 8px;gap:5px}
.memo-input-wrap{position:relative;height:144px;overflow:hidden}
.memo .memo-input-wrap textarea{position:absolute;top:0;left:0;font-size:16px;line-height:1.5;transform:scale(.8);transform-origin:top left;width:125%;max-width:none;height:125%;min-height:0;max-height:none;resize:none}
.sidebar{padding-left:16px;padding-right:16px}
.sidebar .brand{font-size:17.6px;gap:9px;margin-bottom:20px}
.sidebar .brand small{font-size:8px}
.sidebar .brand-mark{width:32px;height:34px}
.sidebar .brand-mark img{width:22px;height:22px}
.sidebar .new-note{font-size:10.4px;min-height:35px;margin-bottom:18px;padding:0 12px}
.sidebar .main-nav{gap:3px}
.sidebar .main-nav .nav-item{font-size:10.4px;min-height:35px;padding:0 10px;gap:6px}
.sidebar .main-nav .nav-item img{width:15px;height:15px}
.sidebar .nav-heading{font-size:8.8px;margin:16.8px 4px 4.8px 7px}
.sidebar .nav-heading .icon-button{width:22px;height:22px;min-height:22px;padding:4px}
.sidebar #tag-nav{min-height:26.4px}
.sidebar #tag-nav .nav-item,.sidebar #category-settings-open{min-height:26.4px;font-size:10.4px;line-height:1.3;padding:0 7px;gap:5px}
.sidebar #category-settings-open{margin-top:7.2px}
.sidebar #category-settings-open img{width:14px;height:14px}
.sidebar .count{font-size:8.8px}
.sidebar #tag-nav .tag-dot{width:6px;height:6px;margin:0 4px}
.sidebar-memos{margin-top:12px;padding:10px;border-radius:20px}
.sidebar-memos .memo-nav{font-size:10.4px;gap:6px}
.sidebar-memos .memo-nav img{width:13px;height:13px}
.sidebar-memos #sidebar-memo-count,.sidebar-memos #sidebar-memo-page{font-size:8px}
.sidebar-memos .mc-toolbar{margin:6px 0;gap:4px}
.sidebar-memos .mc-toolbar>button{font-size:8px;min-height:25px;padding:3px 5px}
.sidebar-memos #sidebar-memo-list{min-height:0;padding:3px 0}
.sidebar-memos .sidebar-memo-row{height:auto;min-height:29px;margin:3px 0;padding:3px 4px;gap:2px;align-items:flex-start}
.sidebar-memos .sidebar-memo-row .mc-trigger{max-width:56px;font-size:8px;line-height:1.4;min-height:24px;padding:3px;gap:3px}
.sidebar-memos .sidebar-memo-row .sidebar-memo-item{font-size:8.8px;line-height:1.4;height:auto;max-height:84px;min-height:24px;padding:3px 4px;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;text-overflow:clip;-webkit-overflow-scrolling:touch}
.sidebar-memos footer button{width:25px;min-height:25px;font-size:16px}
.sidebar .side-bottom{padding-top:18px}
.sidebar .connection{margin-top:12px;padding-top:13px;gap:6px}
.sidebar .connection strong{font-size:8.8px}.sidebar .connection small{font-size:8px}

.sidebar-memos .sidebar-memo-row{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:5px 7px;padding:8px;margin:5px 0}
.sidebar-memos .sidebar-memo-row .mc-trigger{grid-column:1;max-width:100%;justify-self:start}
.sidebar-memos .sidebar-memo-row .sidebar-memo-copy{grid-column:2;grid-row:1;width:28px;height:28px;min-height:28px;padding:6px;border-radius:10px;align-self:center}
.sidebar-memo-copy img{width:13px;height:13px}
.sidebar-memos .sidebar-memo-row .sidebar-memo-item{grid-column:1/-1;font-size:9.68px;line-height:15px;height:45px;min-height:45px;max-height:45px;padding:0;margin:0;border-radius:0}

.memo .memo-text{font-size:14.08px;line-height:1.65}
.memo{padding:17px 18px;margin:12px 0}
.memo .memo-category{margin-bottom:10px}
.memo .memo-tools{margin-top:12px}
.memo-input-wrap{height:170px}
.memo .memo-input-wrap textarea{font-size:16px;line-height:1.65;transform:scale(.88);width:113.636364%;height:113.636364%}
#memo-sidebar{position:fixed;inset:0 auto 0 0;width:220px;z-index:40;background:#fff;border-right:1px solid #ebebeb;padding:28px 16px;overflow:auto}
#memo-sidebar header{margin:0 0 24px;display:flex;justify-content:space-between;align-items:center}
#memo-sidebar header strong{font-size:22px;font-weight:600}
#memo-sidebar>a,#memo-sidebar>button,#memo-nav-categories>button{display:flex;align-items:center;gap:8px;width:100%;padding:9px 12px;margin:4px 0;border-radius:14px;font-size:12px;text-align:left;justify-content:flex-start;min-height:36px;background:transparent}
#memo-sidebar a:hover,#memo-sidebar button:hover,#memo-sidebar [aria-pressed=true]{background:#ededed}
.memo-nav-heading{margin:22px 12px 8px;color:#777;font-size:10px}
#memo-nav-categories .mc-trigger span{white-space:normal;overflow-wrap:anywhere}
#memo-nav-close,#memo-nav-open{display:none}
#memo-nav-scrim{position:fixed;inset:0;width:100%;height:100%;border-radius:0;background:#0005;z-index:35}
@media(min-width:768px){body:has(#memo-sidebar){padding-left:220px}#memo-nav-scrim{display:none}}
@media(max-width:767px){#memo-sidebar{width:252px;transform:translateX(-100%);visibility:hidden;transition:transform .2s,visibility .2s}#memo-sidebar.open{transform:translateX(0);visibility:visible}#memo-nav-open{display:inline-flex;vertical-align:middle;margin-right:10px;padding:8px;width:34px;height:34px;min-height:34px;border-radius:50%}#memo-nav-close{display:inline-flex;font-size:22px;width:32px;height:32px;min-height:32px;padding:0;justify-content:center;align-items:center}}

/* Neutral gray family for the category palette. */
.mc-dot.mc-gray-1,.mc-dialog .mc-swatch.mc-gray-1{background:hsl(220 8.0% 87.0%)}
.mc-dot.mc-gray-2,.mc-dialog .mc-swatch.mc-gray-2{background:hsl(220 8.0% 81.0%)}
.mc-dot.mc-gray-3,.mc-dialog .mc-swatch.mc-gray-3{background:hsl(220 8.0% 75.0%)}
.mc-dot.mc-gray-4,.mc-dialog .mc-swatch.mc-gray-4{background:hsl(220 8.0% 69.0%)}
.mc-dot.mc-gray-5,.mc-dialog .mc-swatch.mc-gray-5{background:hsl(220 8.0% 63.0%)}
.mc-dot.mc-gray-6,.mc-dialog .mc-swatch.mc-gray-6{background:hsl(220 8.0% 57.0%)}
.mc-dot.mc-gray-7,.mc-dialog .mc-swatch.mc-gray-7{background:hsl(220 8.0% 51.0%)}
.mc-dot.mc-gray-8,.mc-dialog .mc-swatch.mc-gray-8{background:hsl(220 8.0% 45.0%)}
.mc-dot.mc-gray-9,.mc-dialog .mc-swatch.mc-gray-9{background:hsl(220 8.0% 39.0%)}
.mc-dot.mc-gray-10,.mc-dialog .mc-swatch.mc-gray-10{background:hsl(220 8.0% 33.0%)}

/* Memo category dialogs use the card category surface and palette. */
.mc-dialog{--mc-bg:#fffdf9;--mc-soft:#f3ece0;--mc-text:#2a2419;--mc-secondary:#5c5343;--mc-muted:#8b8069;--mc-accent:#a04a1f;--mc-accent-soft:#f7e7dc;box-sizing:border-box;width:min(78vw,561.6px);max-width:none;max-height:78dvh;padding:12px;margin:auto;border:0;border-radius:18px;background:var(--mc-bg);color:var(--mc-text);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;box-shadow:0 8px 32px rgba(58,44,26,.13);overflow:auto;scrollbar-width:none}
.mc-dialog:not([open]){display:none}
.mc-dialog[open]{display:flex;flex-direction:column}
.mc-dialog.mc-manager{height:78dvh;overflow:hidden}
.mc-dialog::backdrop{background:rgba(58,44,26,.18);backdrop-filter:blur(4px)}
.mc-dialog *{box-sizing:border-box}
.mc-dialog header{flex:none;gap:6px;margin:0 0 8px;padding:0 0 6px;box-shadow:0 4px 8px -7px rgba(58,44,26,.16)}
.mc-dialog h2{font-size:12px;font-weight:550;line-height:1.3}
.mc-dialog button{font-family:inherit;min-height:24px;font-size:9px;font-weight:500;padding:0 6px;border-radius:9px;background:var(--mc-soft);color:var(--mc-secondary)}
.mc-dialog .mc-close{width:24px;height:24px;min-height:24px;padding:0;border-radius:8px;font-size:16px}
.mc-dialog .mc-tabs,.mc-dialog .mc-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row;grid-auto-rows:24px;gap:3px;margin:0 0 10px;flex:none}
.mc-dialog .mc-tabs button,.mc-dialog .mc-option{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;width:100%;height:24px;min-height:24px;padding:0 3px;border-radius:999px;line-height:1;box-shadow:0 1px 3px rgba(58,44,26,.04)}
.mc-dialog .mc-tabs span,.mc-dialog .mc-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
.mc-dialog .mc-tabs .mc-dot,.mc-dialog .mc-option .mc-dot{width:4px;height:4px}
.mc-dialog .mc-tabs [aria-pressed=true],.mc-dialog .mc-options [aria-pressed=true]{background:var(--mc-accent-soft);color:var(--mc-accent);box-shadow:0 1px 4px rgba(160,74,31,.08)}
.mc-dialog .mc-new{align-self:flex-start;flex:none;margin:0 0 8px}
.mc-dialog form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;scrollbar-width:none;padding:2px}
.mc-dialog .mc-fields{flex:none;grid-template-columns:minmax(0,1fr) 40px;gap:6px;margin:0 0 8px}
.mc-dialog .mc-fields label{display:block;position:relative;min-width:0;height:38px;font-size:7.2px;font-weight:450;line-height:1.4;color:color-mix(in srgb,var(--mc-secondary) 70%,var(--mc-bg));overflow:hidden}
.mc-dialog .mc-fields input{position:absolute;left:0;bottom:0;width:222.222222%;height:53.333333px;min-height:53.333333px;margin:0;padding:12px 11px;border:0;border-radius:18px;background:var(--mc-soft);color:var(--mc-muted);font-family:inherit;font-size:16px;font-weight:400;line-height:28px;transform:scale(.45);transform-origin:bottom left;box-shadow:none}
.mc-dialog .mc-caption,.mc-dialog .mc-message{font-size:9px;font-weight:400;line-height:1.5;color:var(--mc-muted);margin:0 0 8px;flex:none}
.mc-dialog .mc-message:empty{display:none}
.mc-dialog .mc-palette{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px;min-width:0;padding:3px;flex:none}
.mc-dialog .mc-color-column{gap:4px}
.mc-dialog .mc-color-column>span{font-size:8px;color:var(--mc-secondary)}
.mc-dialog .mc-swatch{width:100%;height:21.84px;min-height:21.84px;padding:0;border:0;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(58,44,26,.06)}
.mc-dialog .mc-swatch[aria-pressed=true]{outline:0;box-shadow:inset 0 0 0 1px var(--mc-accent),inset 0 0 0 2px var(--mc-bg)}
.mc-dialog .mc-swatch:focus,.mc-dialog .mc-swatch:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--mc-accent),inset 0 0 0 3px var(--mc-bg)}
.mc-dialog .mc-footer{gap:6px;margin: auto 0 0;padding-top:10px;flex:none}
.mc-dialog .mc-save,.mc-dialog .mc-manage{height:28px;min-height:28px;background:var(--mc-accent);color:var(--mc-bg);font-size:10px}
.mc-dialog .mc-manage{margin-top:8px}
.mc-dialog .mc-delete-confirm{background:var(--mc-soft);color:var(--mc-secondary);font-size:9px}
.mc-dialog::-webkit-scrollbar,.mc-dialog form::-webkit-scrollbar{display:none;width:0;height:0}

/* Category selection is an anchored secondary menu, separate from category management. */
.mc-dialog.mc-picker[open]{position:fixed;inset:auto;margin:0;width:224px;max-width:calc(100vw - 24px);max-height:320px;padding:6px;border-radius:15px;overflow:hidden;gap:0;background:#fffdf9;box-shadow:0 3px 8px rgba(58,44,26,.06),0 12px 32px rgba(58,44,26,.14);animation:mc-menu-in 120ms linear both!important}
.mc-dialog.mc-picker::backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:none!important}
.mc-picker header{display:flex;align-items:center;justify-content:space-between;flex:none;margin:0;padding:2px 5px 5px;box-shadow:none}
.mc-picker header h2{font-size:10px;line-height:1.3;font-weight:400;color:#9a9082}
.mc-dialog.mc-picker .mc-close{width:24px;height:24px;min-height:24px;background:transparent;color:#9a9082;box-shadow:none}
.mc-dialog.mc-picker .mc-options{display:flex;flex-direction:column;gap:1px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dfd7cc transparent;margin:0;padding:0}
.mc-dialog.mc-picker .mc-option{position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:auto;min-height:34px;margin:0;padding:6px 10px;border:0;border-radius:8px;background:transparent;box-shadow:none;font-size:12px;font-weight:400;line-height:1.4;text-align:left;color:#70695e}
.mc-dialog.mc-picker .mc-option span{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.mc-dialog.mc-picker .mc-option .mc-dot{width:6px;height:6px}
.mc-dialog.mc-picker .mc-option::after{content:'✓';flex:0 0 14px;text-align:center;visibility:hidden;font-size:12px;color:#976047}
.mc-dialog.mc-picker .mc-option[aria-pressed=true]{background:#f2eae2;color:#81563e;box-shadow:none}
.mc-dialog.mc-picker .mc-option[aria-pressed=true]::after{visibility:visible}
.mc-dialog.mc-picker .mc-manage{flex:0 0 auto;align-self:stretch;display:flex;align-items:center;justify-content:space-between;min-height:32px;height:32px;margin:5px 0 0;padding:5px 10px;border-radius:8px;background:transparent;box-shadow:0 -1px 0 #eee7de;color:#928879;font-size:11px;font-weight:400}
.mc-dialog.mc-picker .mc-manage::after{content:'›';font-size:15px;color:#a69a8c}
.mc-dialog.mc-picker .mc-message{flex:none;margin:4px 8px;font-size:10px}
.mc-dialog.mc-picker button:focus-visible{outline:1px solid #976047;outline-offset:-1px}
@media(hover:hover){.mc-dialog.mc-picker .mc-option:hover,.mc-dialog.mc-picker .mc-manage:hover{background:#f5f0e9}}
@keyframes mc-menu-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.mc-dialog.mc-picker[open]{animation:none!important}}

/* Cardfolio page lists: 20261016-sidebar-type-v3 */
/* Scoped production styling for the approved seven lists. */
html body #sidebar.cfsl-host,html body.cfsl-art .side,html body.cfsl-art #menu.cfsl-host{--cfsl-ink:#34302f;--cfsl-muted:#766e6a;--cfsl-accent:#875b68;--cfsl-soft:#f4f0ed;--cfsl-selected:#f3e8eb;--cfsl-line:#e9e3df;background:#fdfbf9!important;color:var(--cfsl-ink)!important;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif!important;box-sizing:border-box}
html body #sidebar.cfsl-host{width:min(181.5px,calc(100vw - 24px))!important;padding:18px 12px 14px!important;overflow-y:auto!important;overflow-x:hidden!important}
html body #sidebar.cfsl-host .sidebar-memos{display:none!important}
html body #sidebar.cfsl-host .brand{font-size:17px!important;margin-bottom:20px!important}.cfsl-host .brand small{font-size:10px!important}.cfsl-host .brand-en{font-size:9px!important}
html body #sidebar.cfsl-host .new-note{min-height:34px!important;font-size:12px!important;background:#875b68!important;color:#fff!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
html body #sidebar.cfsl-host .main-nav .nav-item{min-height:35px!important;font-size:10.2px!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:7px 10px!important;border-radius:10px!important;gap:10px!important;justify-content:flex-start!important;color:#766e6a!important}
html body #sidebar.cfsl-host .main-nav .nav-item img{width:17px!important;height:17px!important}
html body #sidebar.cfsl-host .main-nav .nav-item.active{background:#f3e8eb!important;color:#875b68!important}
html body #sidebar.cfsl-host .main-nav .nav-item .count{background:transparent!important;color:inherit!important;font-size:9.35px!important;margin-left:auto!important}
html body #sidebar.cfsl-host .sidebar-card-row{padding:0!important;margin:0!important;border-radius:10px!important;overflow:visible!important;background:transparent!important}
html body #sidebar.cfsl-host .sidebar-card-row #cards-nav-link{margin:0!important;padding-left:10px!important}
html body #sidebar.cfsl-host .sidebar-card-options{background:transparent!important;box-shadow:none!important;padding:3px 0 4px 8px!important;border:0!important}
html body :is(#sidebar,#menu,.side) .cfsl{display:block!important;flex-shrink:0!important;margin:22px 0 0!important;padding:19px 0 0!important;border:0!important;border-top:1px solid var(--cfsl-line,#e9e3df)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important;color:#34302f!important;line-height:1.55!important;box-sizing:border-box!important;text-align:left!important}
html body :is(#sidebar,#menu,.side) .cfsl *{box-sizing:border-box}.cfsl [hidden]{display:none!important}
html body :is(#sidebar,#menu,.side) .cfsl svg,html body :is(#sidebar,#menu,.side) .cfsl-nav svg{display:block!important;width:17px!important;height:17px!important;flex:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body :is(#sidebar,#menu,.side) .cfsl button{appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;font-family:inherit!important;font-weight:400!important;letter-spacing:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;text-align:left!important;transition:background-color .16s!important;min-width:0!important;margin:0!important}
html body :is(#sidebar,#menu,.side) .cfsl button:disabled{opacity:.4!important;cursor:default!important}html body :is(#sidebar,#menu,.side) .cfsl button:focus-visible,html body :is(#sidebar,#menu,.side) .cfsl input:focus-visible{outline:2px solid #875b68!important;outline-offset:3px!important}
html body :is(#sidebar,#menu,.side) .cfsl-heading{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 16px!important;padding:0!important;min-height:27px!important}
html body :is(#sidebar,#menu,.side) .cfsl-heading h2{font:600 14.45px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif!important;color:#34302f!important;letter-spacing:-.02em!important;margin:0 auto 0 0!important;padding:0!important}
html body :is(#sidebar,#menu,.side) .cfsl-heading>span{font-size:9.35px!important;color:#766e6a!important;font-variant-numeric:tabular-nums}
html body :is(#sidebar,#menu,.side) .cfsl .cfsl-icon{display:inline-grid!important;place-items:center!important;width:29px!important;min-width:29px!important;height:31px!important;min-height:31px!important;padding:6px!important;border-radius:8px!important;color:#766e6a!important;flex:none!important}
html body :is(#sidebar,#menu,.side) .cfsl .cfsl-icon:hover{background:#f4f0ed!important;color:#875b68!important}html body :is(#sidebar,#menu,.side) .cfsl .cfsl-icon svg{width:14px!important;height:14px!important}
html body :is(#sidebar,#menu,.side) .cfsl-search{display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;padding:8px 9px!important;margin:0 0 12px!important;border:0!important;border-radius:8px!important;background:#f4f0ed!important;min-width:0!important;height:auto!important;box-shadow:none!important}
html body :is(#sidebar,#menu,.side) .cfsl-search>svg{width:14px!important;height:14px!important;color:#766e6a!important}
html body :is(#sidebar,#menu,.side) .cfsl-search input{display:block!important;width:100%!important;min-width:0!important;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;font:400 10.2px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif!important;padding:0!important;margin:0!important;color:#34302f!important;caret-color:#875b68!important}
html body :is(#sidebar,#menu,.side) .cfsl-search input::placeholder{color:#766e6a!important;opacity:1!important}
html body :is(#sidebar,#menu,.side) .cfsl-filters{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:0 0 10px!important;padding:0!important}
html body :is(#sidebar,#menu,.side) .cfsl-filters button{display:block!important;min-height:28px!important;padding:4px 9px!important;border-radius:7px!important;font-size:9.35px!important;line-height:1.6!important;color:#766e6a!important;width:auto!important}
html body :is(#sidebar,#menu,.side) .cfsl-filters button[aria-pressed=true]{color:#875b68!important;background:#f3e8eb!important}
html body :is(#sidebar,#menu,.side) .cfsl-items{display:grid!important;gap:0!important;min-width:0!important;padding:0!important;margin:0!important}
html body :is(#sidebar,#menu,.side) .cfsl-row{display:flex!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;padding:15px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #e9e3df!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body :is(#sidebar,#menu,.side) .cfsl-row:last-child{border-bottom:0!important}
html body :is(#sidebar,#menu,.side) .cfsl .cfsl-open{display:flex!important;align-items:flex-start!important;gap:9px!important;flex:1!important;min-width:0!important;width:auto!important;min-height:36px!important;height:auto!important;padding:0!important;border-radius:0!important;line-height:1.6!important;white-space:normal!important}
html body :is(#sidebar,#menu,.side) .cfsl-content{display:block!important;flex:1!important;min-width:0!important;text-align:left!important;overflow-wrap:anywhere!important}
html body :is(#sidebar,#menu,.side) .cfsl-content>strong{display:block!important;font-size:11.05px!important;font-weight:550!important;line-height:1.65!important;color:#34302f!important;white-space:normal!important;overflow-wrap:anywhere!important;letter-spacing:0!important}
html body :is(#sidebar,#menu,.side) :is(.cfsl-memos,.cfsl-art,.cfsl-photos) .cfsl-content>strong{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;max-height:3.3em!important}
html body :is(#sidebar,#menu,.side) .cfsl-cards .cfsl-content>strong{font-size:12.75px!important;font-weight:500!important}
html body :is(#sidebar,#menu,.side) .cfsl-sub{display:block!important;font-size:9.35px!important;color:#766e6a!important;line-height:1.7!important;margin-top:4px!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body :is(#sidebar,#menu,.side) .cfsl-meta{display:block!important;font-size:9.35px!important;color:#766e6a!important;line-height:1.7!important;margin-top:7px!important;white-space:normal!important}
html body :is(#sidebar,#menu,.side) .cfsl-body{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;font-size:10.2px!important;line-height:1.8!important;color:#766e6a!important;white-space:pre-wrap!important;margin-top:6px!important;max-height:3.6em!important}
html body :is(#sidebar,#menu,.side) .cfsl-cards .cfsl-meta{display:inline-block!important;padding:2px 7px!important;background:#efe9e3!important;color:#716051!important;border-radius:5px!important}
html body :is(#sidebar,#menu,.side) .cfsl-cards .cfsl-meta.cfsl-due{background:#f2e2e4!important;color:#875b68!important}
html body :is(#sidebar,#menu,.side) .cfsl-index{font-size:9.35px!important;min-width:12px!important;padding-top:4px!important;color:#766e6a!important;font-variant-numeric:tabular-nums}
html body :is(#sidebar,#menu,.side) .cfsl-avatar,html body :is(#sidebar,#menu,.side) .cfsl-device,html body :is(#sidebar,#menu,.side) .cfsl-code{display:grid!important;place-items:center!important;flex:none!important;width:30px!important;min-height:31px!important;padding:5px!important;border-radius:8px!important;background:#f0e7e4!important;color:#875b68!important;font-size:10.2px!important;line-height:1.6!important;overflow-wrap:anywhere!important}
html body :is(#sidebar,#menu,.side) .cfsl-code{width:auto!important;min-width:32px!important;max-width:68px!important;background:#f3e8eb!important;font-weight:600!important}
html body :is(#sidebar,#menu,.side) .cfsl-photo{display:block!important;width:44px!important;height:58px!important;object-fit:cover!important;border-radius:7px!important;flex:none!important;margin-top:1px!important;opacity:1!important}
html body :is(#sidebar,#menu,.side) .cfsl-dot{width:6px!important;height:6px!important;border-radius:50%!important;background:#b69e77!important;flex:none!important;margin:7px 3px 0 auto!important}
html body :is(#sidebar,#menu,.side) .cfsl-dot.cfsl-ready{background:#467963!important}html body :is(#sidebar,#menu,.side) .cfsl-meta.cfsl-ready{color:#467963!important}
html body :is(#sidebar,#menu,.side) .cfsl-pages{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;margin:9px 0 0!important;padding:4px 0!important;font-size:9.35px!important;color:#766e6a!important}
html body :is(#sidebar,#menu,.side) .cfsl-empty{font-size:10.2px!important;line-height:1.8!important;color:#766e6a!important;padding:12px 0!important;margin:0!important;white-space:normal!important}
html body :is(#sidebar,#menu,.side) .cfsl-nav{display:grid!important;gap:3px!important;padding:0!important;margin:14px 0!important;border:0!important;background:none!important}
html body :is(#sidebar,#menu,.side) .cfsl-nav a{display:flex!important;align-items:center!important;gap:10px!important;padding:7px 10px!important;min-height:35px!important;border-radius:10px!important;font:400 10.2px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif!important;color:#766e6a!important;text-decoration:none!important;background:transparent!important}
html body :is(#sidebar,#menu,.side) .cfsl-nav a[aria-current=page]{background:#f3e8eb!important;color:#875b68!important;font-weight:600!important}
html body #cfsl-notice{position:fixed!important;z-index:10000!important;bottom:calc(22px + env(safe-area-inset-bottom,0px))!important;left:50%!important;transform:translateX(-50%)!important;max-width:calc(100vw - 28px)!important;padding:10px 15px!important;border-radius:10px!important;color:#fff!important;background:#4a3e3eeb!important;font:12px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif!important;box-shadow:0 5px 20px #3a25251a!important}
@media(min-width:761px){html body.cfsl-art .app{grid-template-columns:170.5px minmax(0,1fr)!important}html body.cfsl-art .side{padding-left:12px!important;padding-right:12px!important}}
@media(max-width:760px){html body.cfsl-art #menu.show.cfsl-host{width:min(181.5px,calc(100vw - 24px))!important;min-width:0!important;max-width:181.5px!important;padding:18px 12px!important;overflow-x:hidden!important;overflow-y:auto!important}html body :is(#sidebar,#menu,.side) .cfsl-search input{font-size:16px!important;zoom:.6375!important}html body :is(#sidebar,#menu,.side) .cfsl-nav a{font-size:10.2px!important;min-height:35px!important}}
@media(prefers-reduced-motion:reduce){html body :is(#sidebar,#menu,.side) .cfsl *,html body :is(#sidebar,#menu,.side) .cfsl-nav *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html body #sidebar[data-cfsl-kind="qq"] #all-count,html body #sidebar[data-cfsl-kind="sk5"] #all-count,html body #sidebar[data-cfsl-kind="router"] #all-count,html body #sidebar[data-cfsl-kind="photos"] #all-count{display:none!important}

/* Compact rail: preserve readable content while reducing chrome and whitespace. */
html body #sidebar.cfsl-host .brand{margin-bottom:14px!important;gap:7px!important;min-width:0!important;font-size:16px!important}
html body #sidebar.cfsl-host .brand-mark{width:26px!important;height:26px!important;flex:none!important}
html body #sidebar.cfsl-host .new-note{width:100%!important;min-width:0!important;min-height:31px!important;padding:7px!important;gap:6px!important}
html body #sidebar.cfsl-host .new-note>img{width:14px!important;height:14px!important}
html body #sidebar.cfsl-host .new-note .shortcut{display:none!important}
html body #sidebar.cfsl-host .main-nav .nav-item{min-height:32px!important;padding:6px 7px!important;gap:7px!important}
html body #sidebar.cfsl-host .sidebar-primary-nav{gap:2px!important;padding-bottom:0!important;margin-bottom:0!important}
html body #sidebar.cfsl-host .main-nav .sidebar-primary-link{height:32px!important}
html body #sidebar.cfsl-host .main-nav .nav-item .count{font-size:8.5px!important}
html body #sidebar.cfsl-host .sidebar-card-row #cards-nav-link{padding-left:7px!important;flex:1!important;min-width:0!important}
html body #sidebar.cfsl-host #cards-nav-toggle{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:6px!important;flex:0 0 28px!important}
html body #sidebar.cfsl-host .main-nav .sidebar-primary-link>svg,html body :is(#menu,.side) .cfsl-nav svg{display:block!important;width:14px!important;height:14px!important;flex:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body :is(#sidebar,#menu,.side) .cfsl{margin-top:16px!important;padding-top:14px!important}
html body :is(#sidebar,#menu,.side) .cfsl-heading{gap:6px!important;margin-bottom:11px!important}
html body :is(#sidebar,#menu,.side) .cfsl .cfsl-icon{width:25px!important;min-width:25px!important;height:28px!important;min-height:28px!important;padding:5px!important}
html body :is(#sidebar,#menu,.side) .cfsl .cfsl-icon svg{width:13px!important;height:13px!important}
html body :is(#sidebar,#menu,.side) .cfsl-search{gap:5px!important;padding:6px 7px!important;margin-bottom:9px!important}
html body :is(#sidebar,#menu,.side) .cfsl-filters{gap:4px!important;margin-bottom:6px!important}
html body :is(#sidebar,#menu,.side) .cfsl-filters button{min-height:26px!important;padding:3px 6px!important}
html body :is(#sidebar,#menu,.side) .cfsl-row{gap:4px!important;padding:11px 0!important}
html body :is(#sidebar,#menu,.side) .cfsl .cfsl-open{gap:6px!important}
html body :is(#sidebar,#menu,.side) :is(.cfsl-avatar,.cfsl-device){width:24px!important;min-height:26px!important;padding:4px!important}
html body :is(#sidebar,#menu,.side) .cfsl-code{min-width:28px!important;min-height:27px!important;padding:4px!important}
html body :is(#sidebar,#menu,.side) .cfsl-photo{width:32px!important;height:44px!important}
html body :is(#sidebar,#menu,.side) .cfsl-pages{gap:4px!important;font-size:8.5px!important}
html body :is(#sidebar,#menu,.side) .cfsl-pages>span{min-width:0!important;text-align:center!important;line-height:1.5!important}
html body :is(#menu,.side) .cfsl-nav{gap:2px!important;margin:10px 0!important}
html body :is(#menu,.side) .cfsl-nav a{min-height:32px!important;padding:6px 7px!important;gap:7px!important}
html body #sidebar.cfsl-host .side-bottom{min-width:0!important;padding:0!important}
html body #sidebar.cfsl-host .connection{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;gap:6px!important;padding:8px 0!important}
html body #sidebar.cfsl-host .connection-icon{display:none!important}
html body #sidebar.cfsl-host .connection>div{min-width:0!important}
html body #sidebar.cfsl-host .connection strong{font-size:11px!important;white-space:normal!important}
html body #sidebar.cfsl-host .connection small{font-size:9px!important;white-space:normal!important;line-height:1.5!important}
html body #sidebar.cfsl-host .connection .icon-button{width:28px!important;height:28px!important;min-width:28px!important;padding:6px!important}
html body.cfsl-art .side{min-width:0!important}
