/* Personal wardrobe editions */
.cat-library,.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,227px),1fr));gap:17px}
.cat-library{grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));margin-bottom:24px}
.cat-cover-card,.cat-banner{background:#792737;color:#fff7ec;border-radius:21px;position:relative;overflow:hidden}
.cat-cover-card{display:flex;align-items:center;gap:17px;padding:23px;min-height:145px}.cat-cover-card>div{flex:1;min-width:0}
.cat-cover-mark,.cat-gate-mark{display:grid;place-items:center;border:1px solid #ffffff38;border-radius:50%;width:55px;height:55px;flex:none}
.cat-cover-mark .icon{width:27px;height:27px}
.cat-cover-card h2,.cat-box h2,.cat-section-head h2,.cat-group h3,.cat-day-view header h2,.cat-gate h2{font:400 34px/1.08 var(--serif);margin:4px 0}
.cat-cover-card small,.cat-kicker,.cat-outfit-copy>small,.cat-tile-body>small{display:block;font:700 10px/1.5 var(--sans);letter-spacing:.08em;text-transform:uppercase}
.cat-cover-card p{color:#f0d4d6;font-size:13px}.cat-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(22px,4vw,48px);margin:14px 0 19px;background:linear-gradient(117deg,#622337,#942d41)}
.cat-banner h1,.cat-banner h2{font:400 clamp(34px,4.6vw,62px)/1.04 var(--serif);overflow-wrap:anywhere;margin:8px 0 12px}.cat-banner p{color:#f2d9d9;font-size:15px}
.cat-kicker{color:#f6dfcf}.cat-monogram{border:1px solid #ffffff40;border-radius:50%;width:86px;height:86px;display:grid;place-items:center;flex:none}.cat-monogram>.icon{width:49px;height:49px;stroke-width:1}
.cat-toolbar,.cat-reader-tools,.cat-reader-intro,.cat-section-head,.cat-group>header,.cat-day-view>header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.cat-toolbar{justify-content:flex-start;gap:8px;margin:14px 0 22px}.cat-toolbar form,.cat-access form{margin:0}
.cat-details{background:var(--card);border:1px solid var(--line);border-radius:14px;margin:9px 0;overflow:hidden}
.cat-details>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:15px 19px;font-weight:bold;cursor:pointer}
.cat-details>summary::-webkit-details-marker{display:none}.cat-details>summary .icon:last-child{margin-left:auto;width:16px}.cat-details[open]>summary{border-bottom:1px solid var(--line)}
.cat-box,.cat-details .cat-form,.cat-access,.cat-guide{padding:20px}.cat-box{margin:18px 0}.cat-form{margin:12px 0 0}.cat-form .admin-button{margin-top:16px}
.cat-form small,.cat-modal small,.cat-access small{display:block;color:var(--muted);font-weight:400;font-size:12px;margin-top:4px}
.cat-access{display:grid;justify-items:start;gap:10px}.cat-code{display:block;letter-spacing:.07em;font:700 17px/1.8 var(--sans);overflow-wrap:anywhere}.cat-current-photo{display:flex;align-items:center;gap:15px}.cat-current-photo img{width:62px;height:76px;object-fit:contain}.cat-remove{margin-top:12px}
.cat-index{margin:35px 0 14px}.cat-section-head p,.cat-group>header span,.cat-day-view>header p{color:var(--muted);font-size:14px}.cat-index label,.cat-reader-tools label{font-size:13px;font-weight:bold}
.cat-index select,.cat-reader-tools select{max-width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--card);font-size:14px}
.cat-group{margin:24px 0 34px;scroll-margin-top:22px}.cat-group>header,.cat-day-view>header{justify-content:flex-start;padding-bottom:9px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.cat-tile{min-width:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card)}
.cat-thumb,.cat-outfit-photo{display:grid;place-items:center;background:#ece5de;position:relative}
.cat-thumb{height:206px}.cat-thumb img,.cat-outfit-photo img{width:100%;height:100%;object-fit:contain;min-height:0}.cat-thumb>.icon{width:44px;height:44px;color:#927f7a}
.cat-tile-body{padding:14px 17px}.cat-tile-body small,.cat-outfit-copy>small{color:var(--red)}.cat-tile-body h4{font:400 26px/1.1 var(--serif);margin:5px 0 8px;overflow-wrap:anywhere}.cat-tile-body p{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.cat-tile-body>div{display:flex;justify-content:space-between;align-items:center;margin-top:15px;border-top:1px solid var(--line);padding-top:10px}
.cat-modal [data-moving-title]{font-size:15px;margin:8px 0 16px}
.cat-reader>header{margin-bottom:20px}.cat-reader-tools{justify-content:flex-end;margin:0 0 8px}.cat-reader-tools select{margin-left:6px}
.cat-reader-tools .text-button{border:0;background:transparent;display:inline-flex;align-items:center;gap:7px;color:var(--plum);font-size:13px;font-weight:bold}.cat-reader-tools .icon{width:16px}
.cat-gate{display:grid;grid-template-columns:auto minmax(0,470px);justify-content:center;align-items:start;gap:24px;padding:clamp(24px,5vw,65px);border:1px solid var(--line);border-radius:20px;background:var(--card)}
.cat-gate-mark{color:var(--plum);background:#f5e5df}.cat-gate-mark .icon{width:31px;height:31px}
.cat-gate p,.cat-reader-intro p{color:var(--muted);font-size:15px}.cat-gate form{margin-top:23px;display:grid;justify-items:start;gap:8px}.cat-gate label{font-weight:bold;font-size:13px}.cat-gate input{width:100%;min-width:0;border:1px solid #cebab7;border-radius:10px;background:white;padding:13px;font-size:16px}.cat-gate .button{margin-top:8px}.cat-gate [role=status]{margin-top:9px;color:var(--red)}
.cat-reader-intro{align-items:flex-start;margin:13px 0 20px}.cat-reader-intro p{flex:1;min-width:min(240px,100%);overflow-wrap:anywhere}.cat-reader-intro a{flex:none}.cat-guide,.cat-outfit-copy p{white-space:pre-line;overflow-wrap:anywhere}
.cat-days{position:relative;display:flex;gap:8px;overflow:auto;padding:5px 1px 9px;margin:22px 0 18px}.cat-days a{display:grid;min-width:77px;white-space:nowrap;padding:8px 13px;border:1px solid var(--line);border-radius:13px;background:var(--card);font-size:14px;font-weight:bold;text-align:center}
.cat-days a small{font-size:11px;font-weight:400}.cat-days [aria-current]{background:var(--plum);border-color:var(--plum);color:white}
.cat-outfit{display:grid;grid-template-columns:minmax(0,41%) minmax(0,1fr);border:1px solid var(--line);border-radius:21px;overflow:hidden;background:var(--card);margin-bottom:20px}
.cat-outfit.text-only{grid-template-columns:1fr}.cat-outfit-photo{min-height:295px;height:min(46vw,490px)}.cat-outfit-photo span{display:grid;place-items:center;position:absolute;bottom:12px;right:12px;background:#fff7eeeb;border-radius:50%;width:35px;height:35px}
.cat-outfit-copy{align-self:center;min-width:0;padding:clamp(20px,4vw,50px)}.cat-outfit-copy h3{font:400 clamp(31px,4vw,49px)/1.08 var(--serif);margin:7px 0 15px;overflow-wrap:anywhere}.cat-outfit-copy h4{margin:16px 0 4px;color:var(--plum);font-size:13px}.cat-outfit-copy p{color:var(--muted)}
.cat-link{margin:7px 0 20px}.cat-details>summary:focus-visible{outline-offset:-4px}
@media(max-width:720px){
.cat-monogram{width:49px;height:49px}.cat-monogram>.icon{width:30px;height:30px}.cat-outfit{grid-template-columns:1fr}.cat-outfit-photo{height:min(100vw,450px);min-height:200px}
.cat-toolbar .admin-button{padding:9px 12px;font-size:12px}.cat-gate{grid-template-columns:minmax(0,1fr);gap:12px}.cat-gate-mark{width:44px;height:44px}
.cat-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.cat-group>header{gap:5px 12px}.cat-reader-tools{align-items:flex-start}.cat-reader-tools label{max-width:100%}.cat-reader-tools select{display:block;margin:5px 0}
.mobile-tabs a[href*="outfits"]{font-size:10px}
}
@media(min-width:721px) and (max-width:920px){.mast-nav{gap:10px}.mast-nav a{font-size:12px}.mast-inner{gap:10px}}
.cat-reader:has(.cat-banner)>header{display:none}.cat-reader-actions{display:flex;align-items:flex-start;gap:9px;flex-wrap:wrap}.cat-reader-actions .cat-details{margin:0;max-width:100%}.cat-reader-actions .cat-details:not([open]){border-radius:99px}.cat-reader-actions .cat-details summary{min-height:44px;padding:8px 15px;font-size:14px}.cat-reader-actions .cat-details[open]{width:100%}.cat-reader-actions .button{min-height:45px}.cat-guide p{margin-bottom:14px}.cat-reader .cat-reader-tools{margin-bottom:5px}.cat-reader .cat-banner{margin-top:6px}
@media(max-width:720px){.cat-reader-tools form{margin-left:auto}.cat-reader-actions .button{padding:8px 12px}.cat-reader-actions .cat-details summary{padding:8px 12px}.cat-reader-actions .icon{width:16px;height:16px}.cat-reader .cat-days{margin-top:15px}}
@media(min-width:921px) and (max-width:1180px){.mast-inner{gap:14px}.mast-nav{gap:clamp(11px,1.5vw,18px)}.mast-nav a{font-size:13px}.mast-nav .nav-book{padding-inline:15px}}
.cat-period-note{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:15px 0;color:var(--muted);font-size:14px}.cat-period-note a{color:var(--red)}
.catalog-structure {padding:0 20px 20px}
.catalog-structure>section {padding:14px 0;border-bottom:1px solid var(--line)}
.catalog-structure h3 {font:400 23px/1.2 var(--serif);margin:0 0 8px}
.catalog-structure h4 {margin:12px 0 3px}
.cat-details .section-edit>summary {display:flex;justify-content:space-between;padding:8px 2px;font-size:14px;font-weight:500}
.section-edit[open] {margin-bottom:8px}
.cat-details .section-edit .cat-form {padding:6px 0 12px;margin:0}
.client-invite:not([hidden]) {display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;justify-content:space-between;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:16px 20px;margin:14px auto}
.client-invite p {margin:4px 0;font-size:14px;color:var(--muted)}
.notice-controls,.client-invite nav {display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.client-invite nav:empty {display:none}
.client-invite nav a {color:var(--plum);text-decoration:underline}
.notice-controls .text-button {background:none;border:0;color:var(--ink);cursor:pointer}
.cat-details .section-card {margin-top:8px;padding:0 12px;border:1px solid var(--line);border-radius:12px}
.cat-details .section-card>summary {padding:12px 0;font-weight:700}
.outfit-section-title {font:400 clamp(23px,3vw,34px)/1.12 var(--serif);padding:18px 0 6px}
