/* Approved redesign. Unslop by @heydamir, CC BY 4.0: github.com/heydamir/unslop */
:root{--bg-cream:#f5f5f1;--bg-slot:#eaf0e9;--bg-card:#fff;--sage:#365746;--sage-dark:#294637;--sage-soft:#eaf0e9;--brown:#626b64;--brown-soft:#eaf0e9;--border-warm:#dce0da;--text-main:#252c28;--text-sub:#626b64}
.slo-redesign body{background:#f5f5f1!important;color:#252c28!important;font-family:'Noto Sans KR','Malgun Gothic',system-ui,sans-serif;line-height:1.6;word-break:keep-all}
.slo-redesign button{min-height:44px;cursor:pointer;box-shadow:none!important;transition:background-color 160ms,color 160ms!important}.slo-redesign :focus-visible{outline:2px solid #365746!important;outline-offset:2px}.slo-redesign input,.slo-redesign select,.slo-redesign textarea{min-height:48px;font-size:16px!important;border-radius:8px!important}.slo-redesign [hidden]{display:none!important}
.slo-redesign body>header nav,.slo-redesign body>nav:not(.slo-bottomnav),.slo-redesign #btnFloatingAdd{display:none!important}.slo-redesign header{background:#f5f5f1!important;backdrop-filter:none!important}.slo-redesign header>div{max-width:none}.slo-redesign #btnBrandLogo>span,.slo-redesign #spaceIndicatorIcon{display:none}.slo-redesign #btnBrandLogo .tracking-wider{display:none}
.slo-sidebar{position:fixed;inset:0 auto 0 0;width:240px;border-right:1px solid #dce0da;background:#f5f5f1;padding:32px 20px;display:flex;flex-direction:column;z-index:31}.slo-brand{font-size:24px;font-weight:700;text-align:left;padding:0}.slo-sidebar p,.slo-sidebar small{font-size:12px;color:#626b64}.slo-space{margin:32px 0 24px;padding:16px 0;border-block:1px solid #dce0da;font-size:14px}.slo-sidebar nav{display:grid;gap:4px}.slo-sidebar nav button{text-align:left;padding:12px 16px;border-radius:8px;font-size:16px}.slo-sidebar button:hover,.slo-bottomnav button:hover{background:#e8eae4}[data-slo-view][aria-current=page]{background:#eaf0e9;color:#365746;font-weight:600}.slo-sidebar-foot{margin-top:auto}.slo-sidebar-foot button{display:block;text-align:left;padding:8px 0;font-size:14px}.slo-bottomnav{display:none}.slo-skip{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:16px}.slo-skip:focus{top:8px}
.slo-redesign body>header,.slo-redesign body>main,.slo-redesign body>footer,.slo-redesign #reviewControlBar{margin-left:240px}.slo-redesign body>main{max-width:1280px;padding:32px 40px 64px!important}.slo-redesign #viewInventory>div:first-child{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;align-items:center}.slo-redesign #invTitleText{font-size:32px!important;line-height:1.35!important}.slo-redesign #invSpaceTypeTag{display:block;background:transparent!important;padding:0!important;color:#626b64!important}.slo-redesign #viewInventory>div:first-child>div:first-child>div{display:block}.slo-redesign #invSubtitleText{font-size:14px!important;margin-top:8px}.slo-redesign #btnInvAddMain{display:inline-flex!important;background:#365746!important;color:#fff!important;min-height:48px;border-radius:8px!important}.slo-redesign #btnOpenShareChoiceModal{font-size:12px!important;background:transparent!important;border:0!important}.slo-redesign #btnOpenShareChoiceModal>span:first-child{display:none}.slo-redesign #inventoryContainer.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
.slo-nudge{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-block:1px solid #dce0da;font-size:14px}.slo-nudge button{text-decoration:underline;text-underline-offset:4px}.slo-tools{padding:0!important;border:0!important;background:transparent!important}.slo-filter-extra>summary,.slo-report-extra>summary,.slo-form-extra>summary,.slo-reorder>summary{cursor:pointer;min-height:44px;padding:8px 0;font-size:14px;color:#626b64}.slo-filter-extra>div{margin-top:12px}.slo-redesign #categoryFilterBar{flex-wrap:wrap}.slo-redesign #statusFilterHelp{font-size:12px}.slo-redesign #inputSearchItem+span{display:none}.slo-redesign #inputSearchItem{padding-left:12px!important}.slo-redesign #checkNeededAccordionWrap{display:none!important}.slo-redesign #dragDropTargetsBar{font-size:12px}.slo-redesign #listSummaryLine{font-size:12px}
.slo-redesign .slo-card{padding:20px!important;display:block!important;border:1px solid #dce0da!important;border-radius:12px!important;box-shadow:none!important;background:white!important;min-width:0}.slo-card-top{display:flex;gap:20px;align-items:center}.slo-art{width:112px;height:128px;background:#f1f1eb;border-radius:8px;display:grid;place-items:center;flex-shrink:0;overflow:hidden;color:#626b64;font-size:12px}.slo-art img{width:100%;height:100%;object-fit:contain}.slo-info{min-width:0}.slo-card h3 button{font-size:18px!important;font-weight:700!important;text-align:left;line-height:1.5;padding:0;white-space:normal;overflow-wrap:anywhere}.slo-meta{font-size:12px;color:#626b64}.slo-price{margin-top:8px;font-variant-numeric:tabular-nums}.slo-price>span{font-size:18px!important;font-weight:700}.slo-date-strip{border-top:1px dashed #b5beb4;margin-top:20px;padding-top:12px;display:grid;grid-template-columns:1fr 32px 1fr;align-items:center;font-size:12px;color:#626b64}.slo-date-strip>div:last-child{text-align:right}.slo-date-strip>span{text-align:center}.slo-date-strip time{display:block;font-size:16px;color:#252c28;font-variant-numeric:tabular-nums}.slo-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;font-size:12px;color:#626b64}.slo-card-bottom button{white-space:nowrap;font-size:14px;color:#365746}.slo-reorder{border-top:1px solid #dce0da;margin-top:8px}.slo-reorder>div{display:flex;flex-wrap:wrap;gap:8px}.slo-reorder>summary{font-size:12px}
.slo-redesign [data-slo-view] {touch-action:manipulation}.slo-redesign #modalItemDetail>div{background:white!important}.slo-redesign #modalItemForm>div{background:white!important}.slo-form-extra{border-block:1px solid #dce0da}.slo-form-extra>div{margin:16px 0}.slo-form-submit{position:sticky;bottom:0;background:white;padding:12px 0!important}.slo-redesign #formItemSubmit{padding-bottom:16px!important}.slo-redesign .slo-form-submit button[type=submit]{background:#365746!important;color:white!important}.slo-redesign #magazineSectionWrap{margin-top:24px}.slo-redesign [data-slo-view=records][aria-current=page]{background:#eaf0e9}body[data-slo-view=records] #dragDropTargetsBar,body[data-slo-view=records] [data-status-filter],body[data-slo-view=review] [data-status-filter=purchased],body[data-slo-view=review] [data-status-filter=dropped]{display:none!important}
@media(min-width:1024px){.slo-redesign #modalItemDetail{justify-content:flex-end!important;padding:0!important}.slo-redesign #modalItemDetail>div{height:100dvh;max-height:100dvh!important;width:520px!important;border-radius:0!important}}
@media(max-width:1023px){.slo-sidebar{display:none}.slo-redesign body>header,.slo-redesign body>main,.slo-redesign body>footer,.slo-redesign #reviewControlBar{margin-left:0}.slo-bottomnav{display:grid!important;grid-template-columns:repeat(4,1fr);position:fixed;inset:auto 0 0;background:#fff;border-top:1px solid #dce0da;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:30}.slo-bottomnav button{font-size:12px;border-radius:8px;min-height:48px}.slo-redesign body>main{padding:24px 24px 104px!important}.slo-redesign body>footer{padding-bottom:96px}}
@media(max-width:639px){.slo-redesign body>main{padding:24px 16px 104px!important}.slo-redesign #viewInventory{gap:16px}.slo-redesign #invTitleText{font-size:28px!important}.slo-redesign #invSpaceTypeTag{display:none}.slo-redesign #viewInventory>div:first-child{flex-direction:row!important;align-items:flex-start!important;gap:8px!important}.slo-redesign #viewInventory>div:first-child>div:last-child{justify-content:flex-end}.slo-redesign #btnInvAddMain{white-space:nowrap;padding:8px 12px!important}.slo-redesign #btnOpenShareChoiceModal{padding:4px!important;font-size:11px!important}.slo-redesign #inventoryContainer.grid{grid-template-columns:1fr!important;gap:16px!important}.slo-redesign .slo-card{padding:16px!important}.slo-card-top{gap:16px}.slo-art{width:88px;height:104px}.slo-card h3 button{font-size:16px!important}.slo-price>span{font-size:16px!important}.slo-date-strip{margin-top:16px}.slo-date-strip time{font-size:14px}.slo-redesign #modalItemForm,.slo-redesign #modalItemDetail{padding:0!important;align-items:stretch!important}.slo-redesign #modalItemForm>div,.slo-redesign #modalItemDetail>div{height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.slo-redesign #formItemSubmit{padding:16px!important}.slo-redesign #headerUserName{max-width:72px}.slo-redesign #inputSearchItem{min-width:0;width:100%}.slo-redesign #selectSortMode{max-width:140px}.slo-redesign #viewInventory>div:first-child>div:first-child{min-width:0}.slo-redesign #invSubtitleText{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.slo-redesign *{transition:none!important;animation:none!important}}

/* 공동/개인 저장 공간을 모든 뷰와 화면 크기에서 명확하게 표시 */
.slo-active-scope{margin:8px 0 0;color:#365746;font-size:14px;font-weight:600;overflow-wrap:anywhere}

/* 2026-11-17 보완: 1440 가로 넘침(본문 width:100%+왼쪽 여백), 모바일 첫 상품 위치, 조건 패널 */
.slo-redesign body>main{width:auto!important;margin-right:0!important}
.slo-active-scope[data-scope=personal]{display:none}
.slo-active-scope[data-scope=shared]{padding:8px 12px;background:#eaf0e9;border-radius:8px;display:inline-block}
.slo-filter-toggle{flex:none;padding:0 16px;border:1px solid #dce0da;border-radius:8px;background:#fff;color:#252c28;font-size:14px;min-height:48px}
.slo-filter-toggle[aria-expanded=true]{background:#eaf0e9;border-color:#365746;color:#365746;font-weight:600}
.slo-filter-extra{margin-top:12px;padding:16px;border:1px solid #dce0da;border-radius:12px;background:#fff;display:grid;gap:12px}
.slo-filter-extra[hidden]{display:none!important}
.slo-sort{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;color:#626b64}
.slo-sort select{min-width:0;max-width:100%!important}
.slo-redesign .slo-tools .w-full{gap:8px}
.slo-nudge{padding:4px 0}
@media(max-width:639px){
 .slo-redesign #viewInventory>*+*{margin-top:12px!important}
 .slo-redesign #viewInventory>div:first-child{margin-bottom:4px}
 .slo-redesign body>main{padding-top:16px!important}
}
@media(min-width:640px){.slo-redesign .slo-tools .relative.flex-1{flex:0 1 400px!important;width:400px!important}}
/* 보기 전용: 상태를 바꾸는 드롭 영역·정렬 안내를 숨긴다(동작은 스크립트에서도 막음) */
body[data-slo-role=viewer] #dragDropTargetsBar,body[data-slo-role=viewer] #dragSortHintLine,body[data-slo-role=viewer] .slo-reorder{display:none!important}
