/* SEVOR MEMO v4.1 · page-local overrides of V4's shared 3-theme design */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.memo-screen{margin-top:14px}
.memo-heading{padding:23px 30px;margin-top:14px;margin-bottom:10px;border-radius:22px}
.memo-heading h1{font-size:clamp(30px,3.3vw,41px);line-height:1.05;margin:9px 0}
.memo-heading p{font-size:12px;max-width:820px;margin:8px 0 0}
.memo-toolbar-compact{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 16px;margin:0;border-radius:20px;min-height:68px}
.memo-search{position:relative;display:flex;align-items:center;flex:1 1 195px;max-width:350px;min-width:150px}
.memo-search>span{position:absolute;left:15px;color:var(--muted);font-size:20px;pointer-events:none;line-height:1}
.memo-toolbar-compact .memo-search .memo-field{width:100%;margin:0;padding:11px 13px 11px 37px;min-height:40px;background:var(--chip)}
.memo-control-line{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.memo-switch,.memo-view-switch{display:flex;align-items:center;padding:3px;border:1px solid var(--stroke);background:var(--chip);border-radius:12px;gap:2px;white-space:nowrap}
.memo-switch .btn{min-height:32px;padding:6px 11px;border:0;background:none;border-radius:9px;font-size:11px}
.memo-switch .btn[aria-pressed="true"],.memo-view-button[aria-pressed="true"]{background:var(--accent);color:var(--buttonText);box-shadow:0 3px 10px rgba(var(--accentRGB),.18)}
.memo-view-button{border:0;min-height:32px;border-radius:9px;color:var(--muted);background:transparent;padding:6px 10px;font-size:12px;font-weight:720;display:flex;align-items:center;justify-content:center;gap:6px}
.memo-view-button span{font-size:11px}
.memo-toolbar-compact .memo-sort{width:auto;min-width:120px;max-width:145px;margin:0;min-height:40px;padding:10px 12px;border-radius:12px}
.memo-new-btn{min-height:40px;padding:10px 13px;white-space:nowrap}
.memo-subline{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 7px 4px}
.memo-subline-actions{display:flex;align-items:center;gap:12px}
.memo-text-button{border:0;background:none;color:var(--muted);font-size:11px;padding:6px 5px;border-radius:6px;white-space:nowrap}
.memo-text-button:hover{color:var(--accentStrong);background:var(--chip)}
.memo-note-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:14px}
.memo-note{display:flex;flex-direction:column;padding:0;min-height:172px;overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,.03);transition:transform .18s,background .18s}
.memo-note:hover{transform:translateY(-3px);background:var(--panelHover)}
.memo-note .memo-cover{height:158px;width:100%;position:relative;flex:none;overflow:hidden;background:var(--chip)}
.memo-note .memo-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.memo-note:hover .memo-cover img{transform:scale(1.035)}
.memo-photo-count{position:absolute;right:11px;bottom:11px;padding:5px 9px;font-size:11px;font-weight:800;border-radius:8px;background:rgba(21,26,32,.68);color:#fff;backdrop-filter:blur(6px)}
.memo-card-copy{display:flex;flex-direction:column;flex:1;min-height:153px;padding:15px 17px}
.memo-card-copy h3{margin:0 0 8px;font-size:15px;line-height:1.35}
.memo-card-copy p{line-height:1.6;font-size:12px;-webkit-line-clamp:4}
.memo-card-copy footer{margin-top:auto;padding-top:14px}
.memo-note-grid.list-view{display:flex;flex-direction:column;gap:8px}
.memo-note-grid.list-view .memo-note{display:block;min-height:0;border-left-width:4px}
.memo-note-grid.list-view .memo-card-copy{padding:13px 17px;display:grid;grid-template-columns:minmax(145px,25%) minmax(0,1fr) auto;align-items:center;gap:16px;min-height:63px}
.memo-note-grid.list-view .memo-card-copy h3{margin:0;max-height:42px;overflow:hidden;font-size:13px}
.memo-note-grid.list-view .memo-card-copy p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;-webkit-line-clamp:unset}
.memo-note-grid.list-view .memo-card-copy footer{margin:0;padding:0;text-align:right;white-space:nowrap}
.memo-note-grid.list-view .memo-cover{display:none}
.memo-status-bar{font-size:10px;margin-top:9px;line-height:1.6}
/* Editor */
.memo-overlay{padding:12px}
.memo-modal{width:min(100%,790px);padding:23px 25px;max-height:94dvh;box-shadow:0 35px 110px rgba(0,0,0,.27)}
.memo-edit-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.memo-edit-head h2{margin:5px 0 0;font-size:27px}
.memo-icon-close{width:35px;height:35px;border:1px solid var(--stroke);background:var(--chip);color:var(--muted);font-size:26px;line-height:1;border-radius:11px}
.memo-modal .memo-field{margin:5px 0 12px}
.memo-editor-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.memo-editor-label>span{font-size:10px;color:var(--subtle)}
.memo-modal textarea.memo-body-input{min-height:230px;max-height:450px;resize:vertical;line-height:1.7;padding:14px 15px}
.memo-modal textarea.memo-body-input.dragover{outline:2px dashed var(--accent)}
.memo-editor-actions{display:flex;align-items:center;gap:8px;margin:-3px 0 10px;flex-wrap:wrap}
.memo-editor-actions .btn{min-height:33px;padding:7px 11px;font-size:11px}
.memo-editor-actions .memo-image-add{color:var(--accentStrong);border-color:rgba(var(--accentRGB),.38)}
.memo-editor-actions .memo-counter{margin-left:auto;white-space:nowrap}
.memo-body-preview{padding:14px 15px;margin:7px 0 10px;border:1px solid var(--stroke);background:var(--chip);border-radius:13px;max-height:290px;overflow:auto}
.memo-preview-hint{font-size:10px;color:var(--subtle);padding-bottom:9px;border-bottom:1px solid var(--rule);margin-bottom:11px}
.memo-rich-content{font-size:13px;line-height:1.7;color:var(--ink);overflow-wrap:anywhere}
.memo-rich-text{white-space:pre-wrap}
.memo-rich-content figure{margin:10px 0;display:block;text-align:left}
.memo-rich-content figure img{max-width:100%;max-height:380px;display:block;border-radius:10px;object-fit:contain;box-shadow:0 7px 18px rgba(0,0,0,.08)}
.memo-attachment-section{margin:8px 0 10px;border:1px solid var(--stroke);border-radius:13px;background:var(--chip);overflow:hidden}
.memo-attachment-section summary{cursor:pointer;display:flex;align-items:center;gap:4px;padding:10px 13px;font-size:11px;color:var(--muted);font-weight:700;list-style:none}
.memo-attachment-section summary::-webkit-details-marker{display:none}
.memo-attachment-section summary b{color:var(--accentStrong)}
.memo-attachment-section summary span{margin-left:auto;color:var(--subtle)}
.memo-image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:9px;padding:5px 13px 9px}
.memo-image-tile{min-width:0;overflow:hidden;background:var(--panel);border:1px solid var(--stroke);border-radius:12px}
.memo-image-tile img{width:100%;height:97px;object-fit:cover;display:block}
.memo-image-tile-actions{display:flex;justify-content:space-between;gap:3px;padding:6px 5px 2px}
.memo-image-tile-actions button{background:var(--chip);color:var(--ink);border:1px solid var(--stroke);border-radius:7px;font-size:10px;padding:4px 5px;flex:1}
.memo-image-tile-actions button:last-child{color:#d98180;flex:0 0 auto}
.memo-image-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 7px 8px;font-size:9px;color:var(--subtle)}
.memo-attachment-tip{font-size:10px;line-height:1.55;color:var(--subtle);margin:0 12px 11px}
.memo-edit-bottom{border-top:1px solid var(--rule);margin-top:13px;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.memo-edit-opts{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.memo-edit-opts .memo-modal-row{margin:3px 0}
.memo-color-row{gap:9px}
.memo-edit-extras{display:flex;align-items:center;gap:6px}
.memo-check-row{gap:13px}
.memo-modal .dialog-actions{margin-top:10px}
.memo-modal .memo-error{min-height:0;margin:5px 0;color:#dd8983;font-size:11px;line-height:1.5}
@media(max-width:1050px){.memo-toolbar-compact .memo-search{max-width:none;flex:1 1 190px}.memo-control-line{flex:1 1 auto}}
@media(max-width:820px){.memo-toolbar-compact .memo-search{width:100%;flex:1 1 100%;max-width:none}.memo-control-line{justify-content:space-between;width:100%}.memo-note-grid.list-view .memo-card-copy{grid-template-columns:minmax(140px,35%) 1fr}.memo-note-grid.list-view .memo-card-copy footer{display:none}}
@media(max-width:620px){
 .memo-heading{margin-top:10px;padding:18px 17px 15px}.memo-heading h1{font-size:28px;margin:7px 0}.memo-heading p{font-size:11px;line-height:1.5}
 .memo-toolbar-compact{padding:10px;gap:9px;min-height:0}.memo-control-line{justify-content:space-between;gap:7px}
 .memo-switch .btn{font-size:10px;padding:6px 9px}.memo-toolbar-compact .memo-sort{min-width:109px;max-width:125px;padding:9px 7px;font-size:11px;min-height:37px}
 .memo-view-switch{order:3}.memo-new-btn{min-height:36px;padding:8px 10px}.memo-view-button{padding:6px 9px}.memo-view-button span{font-size:10px}
 .memo-note-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memo-note{min-height:130px;padding:0}.memo-note .memo-cover{height:115px}.memo-card-copy{min-height:125px;padding:11px}.memo-note h3{font-size:12px}.memo-note p{font-size:11px}.memo-note footer{font-size:9px}
 .memo-note-grid.list-view .memo-card-copy{grid-template-columns:1fr;padding:12px 14px;gap:4px;min-height:0}.memo-note-grid.list-view .memo-card-copy h3{font-size:13px}.memo-note-grid.list-view .memo-card-copy p{font-size:11px}
 .memo-modal{padding:16px;max-height:96dvh}.memo-edit-head h2{font-size:24px}.memo-modal textarea.memo-body-input{min-height:185px}.memo-image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.memo-edit-opts{gap:6px}.memo-color-row,.memo-check-row{width:100%}.memo-edit-extras{margin-left:auto}
}
@media(max-width:380px){.memo-note-grid{grid-template-columns:1fr}.memo-control-line .memo-new-btn{flex:1}}
/* V4.2 · Album / category / labels & 3-density view */
.memo-organize-btn{min-height:40px;white-space:nowrap;padding:9px 12px;font-size:11px;border-radius:12px}
.memo-organize-btn[aria-expanded="true"]{border-color:rgba(var(--accentRGB),.5);color:var(--accentStrong);background:var(--chip)}
.memo-library{border-radius:19px;padding:16px 20px;margin-top:10px;margin-bottom:7px}
.memo-library[hidden],.memo-active-collection[hidden]{display:none!important}
.memo-library-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid var(--rule)}
.memo-library-intro>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.memo-library-intro strong{font-size:14px;color:var(--ink)}
.memo-library-intro span,.memo-muted-small{font-size:11px;color:var(--muted)}
.memo-library-groups{display:grid;gap:16px;margin-top:12px}
.memo-library-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}
.memo-library-group-head h3{font-size:12px;letter-spacing:.01em;margin:0;color:var(--ink);font-family:inherit}
.memo-library-items{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;min-height:30px}
.memo-collection-item{display:flex;align-items:stretch;min-width:130px;max-width:245px;border:1px solid var(--stroke);border-radius:11px;background:var(--chip);transition:background .15s}
.memo-collection-item:hover,.memo-collection-item.selected{background:var(--panelHover);border-color:rgba(var(--accentRGB),.6)}
.memo-collection-select{display:flex;align-items:center;gap:8px;min-width:0;flex:1;text-align:left;border:0;background:none;color:var(--ink);padding:10px 8px 10px 11px;cursor:pointer}
.memo-collection-ico{color:var(--accentStrong);font-weight:800;font-size:14px;flex:none}
.memo-collection-name{font-size:12px;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-weight:650}
.memo-collection-count{font-size:10px;line-height:1.2;margin-left:auto;color:var(--muted)}
.memo-collection-edit{border:0;border-left:1px solid var(--stroke);background:none;color:var(--muted);padding:5px 9px;border-radius:0 10px 10px 0;cursor:pointer}
.memo-collection-edit:hover{background:var(--panelHover);color:var(--ink)}
.memo-active-collection{display:flex;align-items:center;gap:12px;padding:10px 13px;margin:8px 0 0;border:1px solid rgba(var(--accentRGB),.3);border-radius:11px;background:var(--chip);color:var(--ink);font-size:12px;font-weight:650;justify-content:space-between}
.memo-active-collection button{border:0;background:none;color:var(--accentStrong);font-size:11px;cursor:pointer}
.memo-note-grid.compact-view{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.memo-note-grid.compact-view .memo-note{min-width:0;min-height:140px;border-radius:12px}
.memo-note-grid.compact-view .memo-cover{height:81px}
.memo-note-grid.compact-view .memo-cover img{height:100%;object-fit:cover}
.memo-note-grid.compact-view .memo-photo-count{font-size:9px;padding:3px 5px;right:4px;bottom:4px}
.memo-note-grid.compact-view .memo-card-copy{padding:9px 9px 8px;min-height:94px}
.memo-note-grid.compact-view .memo-card-copy h3{font-size:11px;line-height:1.25;margin:0 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.memo-note-grid.compact-view .memo-card-copy p{font-size:10px;line-height:1.35;max-height:30px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:3px}
.memo-note-grid.compact-view .memo-card-copy footer{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:5px}
.memo-note-grid.compact-view .memo-card-tags{display:none}
.memo-card-tags{display:flex;align-items:center;gap:4px;flex-wrap:wrap;max-height:26px;overflow:hidden;margin:3px 0 7px}
.memo-card-tags span{background:var(--chip);color:var(--muted);font-size:9px;border-radius:6px;padding:3px 6px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.memo-note-grid.list-view .memo-card-tags{display:none}
.memo-organize-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:1px 0 8px}
.memo-organize-field{min-width:0}
.memo-organize-field>label,.memo-labels-title>label{font-size:11px;color:var(--muted);display:block;margin-bottom:4px;font-weight:650}
.memo-organize-field>div{display:flex;gap:6px;align-items:center}
.memo-organize-field .memo-field{flex:1;min-width:0;margin:0!important;height:38px;font-size:12px;padding:8px 10px}
.memo-add-collection{height:38px;width:38px;flex:none;border:1px solid var(--stroke);border-radius:10px;background:var(--chip);color:var(--accentStrong);font-size:19px;cursor:pointer}
.memo-add-collection:hover{background:var(--panelHover)}
.memo-labels-editor{padding:2px 0 8px;margin-bottom:8px;border-bottom:1px solid var(--rule)}
.memo-labels-title{display:flex;align-items:center;justify-content:space-between;gap:7px}
.memo-label-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:3px}
.memo-tag-option{display:inline-flex;align-items:center;gap:5px;background:var(--chip);border:1px solid var(--stroke);border-radius:20px;padding:6px 9px;font-size:11px;color:var(--ink);cursor:pointer}
.memo-tag-option:has(input:checked){border-color:rgba(var(--accentRGB),.6);background:var(--panelHover);color:var(--accentStrong)}
.memo-tag-option input{appearance:auto;accent-color:var(--accent);margin:0;width:12px;height:12px}
/* Editorial sans-serif in the PRIVATE EDITOR, without changing the public page's serif display title. */
.memo-modal,.memo-modal h2,.memo-modal .page-kicker,.memo-modal .memo-description,.memo-modal input,.memo-modal textarea,.memo-modal select,.memo-modal button,.memo-rich-content{font-family:Pretendard,'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',Arial,sans-serif!important}
.memo-modal h2{font-weight:750;letter-spacing:-.04em}
@media(max-width:820px){.memo-library{padding:14px}.memo-toolbar-compact .memo-organize-btn{min-height:36px}}
@media(max-width:620px){
 .memo-toolbar-compact .memo-organize-btn{font-size:10px;padding:8px 9px;min-height:36px}
 .memo-view-button{gap:3px;padding:6px 7px}.memo-view-button span{font-size:9px}
 .memo-library{padding:12px}.memo-library-intro>div{display:block}.memo-library-intro>div span{display:block;margin-top:4px}
 .memo-library-items.folder-items .memo-collection-item{flex:1 1 45%}.memo-collection-item{min-width:110px;max-width:none}
 .memo-collection-select{padding:9px 7px;font-size:11px}
 .memo-note-grid.compact-view{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .memo-note-grid.compact-view .memo-cover{height:74px}.memo-note-grid.compact-view .memo-card-copy{padding:7px;min-height:91px}
 .memo-note-grid.compact-view .memo-card-copy h3{font-size:10px}
 .memo-note-grid.compact-view .memo-card-copy p{font-size:9px}
 .memo-note-grid.compact-view .memo-card-copy footer{font-size:8px}
 .memo-organize-fields{gap:6px}.memo-organize-field>label{font-size:10px}.memo-organize-field .memo-field{font-size:11px;padding:7px 5px}.memo-add-collection{width:30px;height:36px}
}
@media(max-width:350px){.memo-note-grid.compact-view{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(min-width:821px){.memo-library-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.memo-library-group{min-width:0}.memo-collection-item{min-width:125px;max-width:none;flex:1 1 120px}.memo-library-items{align-items:stretch}.memo-library-group-head{margin-bottom:10px}}

/* V4.3 compact photographic banner, cropped from the approved generated artwork. */
.memo-screen .memo-visual-banner{
  box-sizing:border-box;display:flex;align-items:center;gap:17px;position:relative;isolation:isolate;overflow:hidden;
  height:135px;min-height:135px;padding:18px 27px;margin:13px 0 11px;border-radius:22px;
  color:#f4f5f8!important;border:1px solid rgba(218,226,240,.18);
  background:linear-gradient(100deg,#191f29 0%,#191f29 36%,rgba(25,31,41,.92) 49%,rgba(25,31,41,.28) 100%),url('/memo/memo-banner.webp?v=4.3') right center/auto 100% no-repeat,#191f29;
  box-shadow:0 15px 34px rgba(5,10,18,.15);
}
.memo-screen .memo-visual-banner .memo-heading-copy{position:relative;z-index:1;min-width:0;}
.memo-screen .memo-visual-banner .memo-heading-symbol{z-index:1;flex:none;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:rgba(233,192,153,.08);color:#deb58f;}
.memo-screen .memo-visual-banner .page-kicker{font:750 9px/1.3 Pretendard,'Noto Sans KR','Malgun Gothic',Arial,sans-serif;letter-spacing:.15em;color:#e4b78f;}
.memo-screen .memo-visual-banner h1{font:750 clamp(21px,2.55vw,31px)/1.12 Pretendard,'Noto Sans KR','Malgun Gothic',Arial,sans-serif!important;letter-spacing:-.045em;margin:7px 0 5px;color:#f5f5f6;}
.memo-screen .memo-visual-banner p{font:400 12px/1.5 Pretendard,'Noto Sans KR','Malgun Gothic',Arial,sans-serif!important;max-width:none;margin:0;color:#bfc5d1;}
@media(max-width:620px){.memo-screen .memo-visual-banner{height:113px;min-height:113px;padding:13px 14px;gap:11px;background:linear-gradient(90deg,#191f29 0%,rgba(25,31,41,.96) 50%,rgba(25,31,41,.55) 100%),url('/memo/memo-banner.webp?v=4.3') right center/auto 100% no-repeat,#191f29}.memo-screen .memo-visual-banner .memo-heading-symbol{height:36px;width:36px}.memo-screen .memo-visual-banner .memo-heading-symbol svg{width:23px;height:23px}.memo-screen .memo-visual-banner h1{font-size:22px;margin:6px 0 5px}.memo-screen .memo-visual-banner p{font-size:10px;line-height:1.35}}
@media(max-width:350px){.memo-screen .memo-visual-banner .memo-heading-symbol{display:none}.memo-screen .memo-visual-banner{padding:14px}}
