@keyframes cp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cp-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }

.cp-root, .sx-root { position: absolute; inset: 0; overflow: hidden; color: var(--chalk); font-family: var(--font); background: var(--studio); }
.cp-board { position: absolute; inset: 0; }

.cp-cols { position: absolute; inset: 0 0 var(--console) 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)) auto; background: var(--studio); }
.cp-col { position: relative; min-width: 0; overflow: hidden; border-inline-start: 1px solid rgba(0, 0, 0, .45); background: var(--studio-1); animation: cp-fade 320ms ease both; }
.cp-col:first-child { border-inline-start: 0; }
.cp-col .cp-media, .cp-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-col::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; height: 77%; pointer-events: none; background: linear-gradient(to bottom, rgba(16, 15, 14, 0) 0%, rgba(16, 15, 14, .38) 12%, rgba(16, 15, 14, .68) 28%, rgba(16, 15, 14, .85) 48%, rgba(16, 15, 14, .93) 100%); }
.cp-col::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(16, 15, 14, .45), rgba(16, 15, 14, 0)); }
.cp-col .ld-rv-img { transition: filter 300ms ease; }
.cp-cols:hover .cp-col:not(.on) .ld-rv-img, .cp-cols:focus-within .cp-col:not(.on) .ld-rv-img { filter: brightness(.82) saturate(.92); }
.cp-ov { position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: calc(var(--dial-rise) + 2px); z-index: 3; display: flex; flex-direction: column; gap: var(--gap-2, 10px); padding: 0 12px; }
.cp-hd { position: relative; padding: 0 4px; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.cp-name { display: inline-block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--chalk); text-decoration: none; border-radius: var(--r-xs); }
@media (hover: hover) and (pointer: fine) { .cp-name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } }
.cp-type { margin: 3px 0 0; font-size: var(--fs-label, 12px); color: var(--chalk-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-fit { display: inline-flex; align-items: center; gap: 6px; height: 26px; margin-top: 8px; padding-block: 0 0; padding-inline: 7px 9px; border-radius: var(--r-xs); font-size: var(--fs-label, 12px); font-weight: 600; color: var(--lamp-ink); background: var(--lamp); text-shadow: none; white-space: nowrap; max-width: 100%; }
.cp-fit > span { display: grid; flex: none; }
.cp-fit svg { width: 15px; height: 15px; }
.cp-why { margin: 6px 0 0; min-height: 36px; font-size: calc(var(--fs-label, 12px) + .5px); line-height: 1.45; color: var(--chalk-2); text-wrap: pretty; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-why b { font-weight: 500; color: var(--chalk); }
.cp-sheet { padding: 4px 12px 8px; border-radius: var(--r-md); background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); }
.cp-sheet.all { max-height: clamp(150px, calc(100vh - var(--console) - var(--dial-rise) - 400px), 316px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.cp-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 26px; border-bottom: 1px solid var(--cline, rgba(255, 255, 255, .07)); }
.cp-r:last-child { border-bottom: 0; }
.cp-r span { font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-r b { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cp-r.best b { color: var(--sf-accent, var(--lamp)); font-weight: 600; }
.cp-r.best b::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--lamp); }
.cp-r.same b { color: var(--sf-ink-3, var(--chalk-3)); }
.cp-g { padding: 10px 0 2px; font-size: 12px; font-weight: 600; color: var(--sf-ink-2, var(--chalk-2)); }
.cp-g:first-child { padding-top: 4px; }
.cp-none { margin: 0; padding: 10px 0 6px; font-size: 13px; color: var(--sf-ink-3, var(--chalk-3)); }
.cp-ctl { position: absolute; top: -8px; inset-inline-end: 0; z-index: 3; text-shadow: none; display: flex; gap: 2px; padding: 3px; border-radius: var(--r-md); background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.cp-col.ctl-on .cp-ctl, .cp-ctl:focus-within { opacity: 1; pointer-events: auto; transform: none; transition-duration: 150ms; }
.cp-ib, .sx-ib { position: relative; display: grid; place-items: center; width: var(--h-icon, 34px); height: var(--h-icon, 34px); padding: 0; border: 0; border-radius: var(--r-sm); color: var(--sf-ink-2, var(--chalk-2)); background: transparent; cursor: pointer; text-decoration: none; transition: background-color 150ms ease, color 150ms ease, transform 150ms var(--ease-out); }
.cp-ib::after, .sx-ib::after { content: ""; position: absolute; inset: -4px; }
.cp-ib:active, .sx-ib:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .cp-ib:hover, .sx-ib:hover { color: var(--sf-ink, var(--chalk)); background: var(--cf2, var(--field-hover)); } }
.cp-ib svg, .sx-ib svg { width: 17px; height: 17px; }
.cp-heart.on, .sx-ib.on { color: var(--sf-accent, var(--lamp)); }

.cp-addcol { width: clamp(180px, 16vw, 240px); display: grid; place-items: center; padding: 20px 20px calc(var(--dial-rise) + 20px); background: var(--studio); }
.cp-addcol::before, .cp-addcol::after { content: none; }
.cp-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 220px; padding: 16px; border: 0; border-radius: var(--r-lg); color: var(--chalk); background: var(--studio-1); box-shadow: inset 0 0 0 1px var(--rule); font-family: var(--font); text-align: center; cursor: pointer; transition: background-color 150ms ease, transform 150ms var(--ease-out); }
.cp-add:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .cp-add:hover { background: var(--studio-2); } }
.cp-add b { font-size: 15px; font-weight: 600; }
.cp-add small { font-size: 12px; color: var(--chalk-3); }
.cp-add-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--lamp-ink); background: var(--lamp); }
.cp-add-ic svg { width: 22px; height: 22px; }

.cp-topbar { position: absolute; top: var(--top); inset-inline-start: var(--top); inset-inline-end: var(--top); z-index: 5; display: flex; align-items: flex-start; gap: 12px; pointer-events: none; }
.cp-topbar > * { pointer-events: auto; }
.cp-title { flex: 0 1 auto; min-width: 0; max-width: 760px; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-md); background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); }
.cp-trow { flex: none; display: flex; align-items: center; gap: 10px; min-height: 42px; padding-block: 3px 3px; padding-inline: 14px 3px; }
.cp-title h1 { flex: none; margin: 0; color: var(--sf-ink, var(--chalk)); font-size: var(--fs-title, 16px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.cp-sum { flex: 1 1 auto; min-width: 0; margin: 0; font-size: calc(var(--fs-label, 12px) + .5px); line-height: 1.3; color: var(--sf-ink-2, var(--chalk-2)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-more { position: relative; flex: none; display: grid; place-items: center; width: var(--h-icon, 34px); height: var(--h-icon, 34px); padding: 0; border: 0; border-radius: var(--r-sm); color: var(--sf-ink-2, var(--chalk-2)); background: transparent; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.cp-more svg { width: 17px; height: 17px; transition: transform 200ms var(--ease-out); }
.cp-title.open .cp-more svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .cp-more:hover { color: var(--sf-ink, var(--chalk)); background: var(--cf, var(--field)); } }
.cp-verdict { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; padding: 2px 14px 12px; border-top: 1px solid var(--cline, var(--hairline)); animation: cp-in 200ms var(--ease-out) both; }
.cp-verdict[hidden] { display: none; }
.cp-wl { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cp-wl li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; font-size: calc(var(--fs-label, 12px) + .5px); line-height: 1.45; color: var(--sf-ink-2, var(--chalk-2)); }
.cp-wl b { font-weight: 600; color: var(--sf-ink, var(--chalk)); font-variant-numeric: tabular-nums; }
.cp-verdict:has(.cp-take:not([hidden])) .cp-wl { display: none; }
.cp-take { display: flex; gap: 8px; margin-top: 10px; }
.cp-take[hidden] { display: none; }
.cp-take-ic { display: grid; flex: none; padding-top: 2px; color: var(--sf-accent, var(--lamp)); }
.cp-take-ic svg { width: 14px; height: 14px; }
.cp-take p { margin: 0; font-size: calc(var(--fs-label, 12px) + .5px); line-height: 1.45; color: var(--sf-ink-2, var(--chalk-2)); }
.cp-take.busy p { color: var(--sf-ink-3, var(--chalk-3)); }
.cp-ask { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: none; font: 500 13px/1.2 var(--font); color: var(--sf-ink, var(--chalk)); cursor: pointer; }
.cp-ask::after { content: ""; position: absolute; inset: -10px -6px; }
.cp-ask > span:first-child { display: grid; color: var(--sf-accent, var(--lamp)); }
.cp-ask svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .cp-ask:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; } }
.cp-tools { flex: none; margin-inline-start: auto; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); }
:is(body.luz-open, body.ld-sheet-on) .cp-tools { opacity: 0; pointer-events: none; }
.cp-sep { width: 1px; height: 24px; margin: 0 4px; background: var(--rule); }
.cp-seg { display: flex; gap: 2px; }
.cp-seg button { position: relative; height: var(--h-chip, 30px); padding: 0 11px; border: 0; border-radius: var(--r-sm); font: 500 calc(var(--fs-label, 12px) + .5px)/1 var(--font); color: var(--sf-ink-2, var(--chalk-2)); background: transparent; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.cp-seg button::after { content: ""; position: absolute; inset: -4px 0; }
.cp-seg button[aria-pressed="true"] { color: var(--sf-sel-ink, var(--studio)); background: var(--sf-sel-bg, var(--chalk)); }
@media (hover: hover) and (pointer: fine) { .cp-seg button[aria-pressed="false"]:hover { color: var(--sf-ink, var(--chalk)); background: var(--cf, var(--field)); } }

.cp-board.is-empty { display: grid; place-items: center; padding: 24px 20px calc(var(--console) + var(--dial-rise) + 24px); background: radial-gradient(70% 60% at 50% 35%, var(--studio-1), var(--studio)); }
.cp-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 520px; text-align: center; animation: cp-in 320ms var(--ease-out) both; }
.cp-empty h1 { margin: 6px 0 0; font-size: var(--fs-display, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.cp-empty p { margin: 0; font-size: var(--fs-body, 13.5px); line-height: 1.5; color: var(--chalk-2); text-wrap: pretty; }
.cp-empty-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.cp-empty-art { display: flex; gap: 6px; height: 92px; align-items: flex-end; }
.cp-empty-art span { width: 44px; height: calc(52px + var(--i) * 12px); border-radius: var(--r-sm); background: var(--studio-2); box-shadow: inset 0 0 0 1px var(--rule); }
.cp-empty-art span:nth-child(3) { background: var(--lamp); box-shadow: none; }

.cp-pick-list { max-height: min(56vh, 520px); display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.cp-pick-h { padding: 12px 4px 4px; font-size: 12px; font-weight: 500; color: var(--sf-ink-3, var(--chalk-3)); }
.cp-pick-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: var(--r-md); background: transparent; color: inherit; font-family: var(--font); text-align: start; cursor: pointer; transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .cp-pick-row:hover { background: var(--cf, var(--field)); } }
.cp-pick-row .grow { flex: 1; min-width: 0; }
.cp-pick-img { width: 64px; height: 44px; flex: none; border-radius: var(--r-xs); overflow: hidden; background: var(--studio-1); }
.cp-pick-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-pick-row b { display: block; font-weight: 600; }
.cp-pick-row small { color: var(--sf-ink-3, var(--chalk-3)); font-size: 12px; }
.cp-pick-p { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cp-pick-add { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--r-sm); color: var(--sf-ink-2, var(--chalk-2)); background: var(--cf, var(--field)); }
@media (hover: hover) and (pointer: fine) { .cp-pick-row:hover .cp-pick-add { color: var(--lamp-ink); background: var(--lamp); } }
.cp-pick-add svg { width: 16px; height: 16px; }
.cp-pick-none { padding: 24px 8px; text-align: center; color: var(--sf-ink-2, var(--chalk-2)); }
.cp-pick-none b { display: block; margin-bottom: 4px; color: var(--sf-ink, var(--chalk)); }

.cp-share { display: flex; gap: 22px; align-items: flex-start; }
.cp-share-qr { width: 196px; flex: none; padding: 10px; border-radius: var(--r-md); background: var(--sf-ink, var(--chalk)); }
.cp-share-qr svg { width: 100%; height: auto; display: block; }
.cp-share-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cp-share-b > p { margin: 0; color: var(--sf-ink-2, var(--chalk-2)); line-height: 1.5; }
.cp-share-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-share-u { position: relative; width: 74px; height: 52px; border-radius: var(--r-xs); overflow: hidden; }
.cp-share-u img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-share-u b { position: absolute; inset-inline-start: 6px; bottom: 4px; font-size: 12px; color: var(--sf-ink, var(--chalk)); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

.sx-stage { position: absolute; inset: 0; }
.sx-board { position: absolute; inset: 0; pointer-events: none; }
.sx-board > * { pointer-events: auto; }
.sx-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 120ms ease; }
.sx-pins.ready { opacity: 1; transition: opacity 220ms ease 120ms; }
.sx-pins:not(.ready) .sx-pin-tag { pointer-events: none; }
.cp-root img, .sx-root img { -webkit-user-drag: none; user-select: none; }
.cp-root .ld-rv, .sx-root .ld-rv { user-select: none; }
.sx-pin { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; color: var(--chalk); font-family: var(--font); pointer-events: none; }
.sx-pin[hidden] { display: none; }
.sx-pin-tag { position: relative; display: flex; align-items: center; gap: 7px; height: 30px; padding-block: 0 0; padding-inline: 6px 10px; border-radius: var(--r-sm); font-size: var(--fs-label, 12px); font-weight: 500; white-space: nowrap; pointer-events: auto; cursor: pointer; background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); transition: background-color 150ms ease, color 150ms ease, transform 150ms var(--ease-out); }
.sx-pin-tag::after { content: ""; position: absolute; inset: -4px -2px; }
.sx-pin-tag b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--lamp-ink); background: var(--lamp); font-variant-numeric: tabular-nums; }
.sx-pin-tag em { font-style: normal; color: var(--sf-ink-2, var(--chalk-2)); font-variant-numeric: tabular-nums; }
.sx-pin:active .sx-pin-tag { transform: scale(.96); }
.sx-pin.is-open { z-index: 2; }
.sx-pin.is-open .sx-pin-tag { color: var(--sf-sel-ink, var(--studio)); background: var(--sf-sel-bg, var(--chalk)); }
.sx-pin.is-open .sx-pin-tag em { color: var(--sf-sel-ink, #55534F); }
.sx-pin-stem { width: 1px; height: 28px; background: linear-gradient(to bottom, rgba(243, 242, 238, .9), rgba(243, 242, 238, .35)); }
.sx-pin-foot { width: 7px; height: 7px; margin-bottom: -3.5px; border-radius: 50%; background: var(--chalk); box-shadow: 0 0 0 2px rgba(0, 0, 0, .35); }

.sx-panel { position: absolute; inset-inline-start: var(--top); top: var(--top); z-index: 4; width: 344px; max-height: calc(100% - var(--top) - var(--console) - var(--dial-rise) - 12px); display: flex; flex-direction: column; padding: 8px; border-radius: 24px; background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); animation: cp-in 280ms var(--ease-out) both; }
.sx-head { padding: 10px 10px 10px; }
.sx-head h1 { margin: 0; color: var(--sf-ink, var(--chalk)); font-size: calc(var(--fs-title, 16px) + 4px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.sx-head p { margin: 3px 0 0; font-size: var(--fs-label, 12px); color: var(--sf-ink-2, var(--chalk-2)); font-variant-numeric: tabular-nums; }
.sx-list { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column; gap: 2px; }
.sx-list::-webkit-scrollbar { display: none; }
.sx-hm { position: relative; border-radius: var(--r-md); transition: background-color 150ms ease; }
.sx-hm.on, .sx-hm:focus-within { background: var(--cf, var(--field)); }
.sx-hm-a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: var(--gap-2, 10px); padding: 5px; border-radius: var(--r-md); color: inherit; text-decoration: none; }
.sx-hm-img { position: relative; width: 64px; height: 46px; border-radius: var(--r-sm); background: var(--studio-1) center / cover no-repeat; }
.sx-hm-img b { position: absolute; inset-inline-start: 4px; top: 4px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--lamp-ink); background: var(--lamp); box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.sx-hm-t { min-width: 0; }
.sx-hm-t strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.sx-hm-t span { display: block; font-size: var(--fs-label, 12px); color: var(--sf-ink-2, var(--chalk-2)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-st { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px !important; }
.sx-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--avail); }
.sx-st.reserved::before { background: transparent; box-shadow: inset 0 0 0 2px var(--resv); }
.sx-st.sold::before { border-radius: 2px; background: var(--sold); }
.sx-hm-p { padding-inline-end: 6px; font-size: var(--fs-body, 13.5px); font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; }
.sx-hm-act { position: absolute; inset-inline-end: 6px; top: 6px; display: flex; gap: 2px; padding: 2px; border-radius: var(--r-sm); background: var(--sf-bg-strong, var(--glass-strong)); box-shadow: var(--edge); opacity: 0; transition: opacity 150ms ease; }
.sx-hm:hover .sx-hm-act, .sx-hm-act:focus-within { opacity: 1; }
@media (hover: none) { .sx-hm-act { position: static; justify-content: flex-end; margin: -2px 6px 4px; opacity: 1; background: none; box-shadow: none; } }
.sx-hm-act .sx-ib { width: 32px; height: 32px; }
.sx-hm-act .sx-ib::after { inset: -6px; }
.sx-hm-act .sx-ib svg { width: 16px; height: 16px; }
.sx-note-host[hidden] { display: none; }
.sx-note { display: block; padding-block: 0 8px; padding-inline: 84px 8px; }
.sx-note textarea { display: block; width: 100%; min-height: 40px; max-height: 120px; resize: vertical; padding: 8px 10px; border: 0; border-radius: var(--r-sm); font: 400 var(--fs-body, 13.5px)/1.4 var(--font); color: var(--sf-ink, var(--chalk)); background: var(--cf, var(--field)); outline: 0; }
.sx-note textarea:focus { box-shadow: 0 0 0 2px var(--sf-ink, var(--chalk)); }
.sx-note textarea::placeholder { color: var(--sf-ink-3, var(--chalk-3)); }
.sx-change { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-block: -2px 8px; margin-inline: 84px 8px; font-size: 12px; color: var(--resv); }
.sx-change a { color: var(--sf-ink, var(--chalk)); text-underline-offset: 3px; }
.sx-panel hr { flex: none; height: 1px; margin: 8px 6px; border: 0; background: var(--hairline); }
.sx-acts { display: flex; gap: 6px; padding: 4px; }
.sx-acts .orb-btn, .sx-btns .orb-btn, .cp-tools .orb-btn { height: var(--h-btn, 36px); font-size: var(--fs-body, 13.5px); }
.sx-acts .orb-btn { flex: 1; min-width: 0; }
.sx-more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 10px 4px; font-size: 12px; color: var(--sf-ink-3, var(--chalk-3)); }
.sx-more span { margin-inline-start: auto; }
.sx-link { position: relative; padding: 0; border: 0; background: none; font: 500 12px/1.3 var(--font); color: var(--sf-ink-2, var(--chalk-2)); text-decoration: underline; text-decoration-color: rgba(243, 242, 238, .3); text-underline-offset: 3px; cursor: pointer; }
.sx-link::after { content: ""; position: absolute; inset: -10px -4px; }
@media (hover: hover) and (pointer: fine) { .sx-link:hover { color: var(--sf-ink, var(--chalk)); text-decoration-color: currentColor; } }
.sx-emptyp { width: 380px; }
.sx-lede { margin: 0 12px 14px; font-size: 14px; line-height: 1.5; color: var(--sf-ink-2, var(--chalk-2)); text-wrap: pretty; }
.sx-emptyp .sx-link { align-self: flex-start; margin: 6px 12px 6px; }

.sx-acct { position: absolute; inset-inline-end: var(--top); top: var(--top); z-index: 4; display: flex; align-items: center; gap: 8px; height: 44px; padding-block: 0 0; padding-inline: 6px 14px; border: 0; border-radius: var(--r-md); color: var(--sf-ink, var(--chalk)); font: 500 14px/1.2 var(--font); text-align: start; cursor: pointer; background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); transition: background-color 150ms ease, transform 150ms var(--ease-out); }
.sx-acct:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .sx-acct:hover { background: var(--sf-bg-strong, var(--glass-strong)); } }
:is(body.luz-open, body.ld-sheet-on) :is(.sx-acct, .sx-share) { opacity: 0; pointer-events: none; }
.sx-acct .avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--lamp-ink); background: var(--lamp); }
.sx-acct .avatar svg { width: 18px; height: 18px; }
.sx-acct-t { display: flex; flex-direction: column; color: var(--sf-ink, var(--chalk)); }
.sx-acct-t small { font-size: 12px; font-weight: 400; color: var(--sf-ink-3, var(--chalk-3)); }

.sx-share { position: absolute; inset-inline-end: var(--top); bottom: calc(var(--console) + var(--dial-rise) + 12px); z-index: 4; width: 300px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 20px; background: var(--sf-bg, var(--glass)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift)); animation: cp-in 320ms 60ms var(--ease-out) both; }
.sx-qr { width: 96px; height: 96px; padding: 6px; overflow: hidden; border-radius: var(--r-md); background: var(--chalk); }
.sx-qr svg { display: block; width: 100%; height: 100%; }
.sx-share-t { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.sx-share-t b { font-size: var(--fs-title, 16px); font-weight: 600; }
.sx-share-t > span { margin-top: 2px; font-size: var(--fs-label, 12px); line-height: 1.4; color: var(--sf-ink-2, var(--chalk-2)); }
.sx-btns { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; }
.sx-btns .orb-btn { padding: 0 10px; }
.sx-btns .sx-ib { width: var(--h-btn, 36px); height: var(--h-btn, 36px); background: var(--cf, var(--field)); }

.pdfv { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 24px; color: var(--chalk); font-family: var(--font); pointer-events: auto; opacity: 0; transition: opacity 240ms ease; }
.pdfv.open { opacity: 1; }
.pdfv-scrim { position: absolute; inset: 0; background: var(--scrim-modal); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pdfv-sheet:focus { outline: none; }
.pdfv-sheet { position: relative; display: flex; flex-direction: column; width: min(1180px, 100%); height: min(880px, 100%); border-radius: 24px; overflow: hidden; background: var(--studio-1); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift-hi)); transform: translateY(12px) scale(.98); transition: transform 240ms var(--ease-enter); }
.pdfv.open .pdfv-sheet { transform: none; }
.pdfv-hd { display: flex; align-items: center; gap: 12px; padding-block: 14px 14px; padding-inline: 18px 14px; border-bottom: 1px solid var(--rule); }
.pdfv-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--r-sm); color: var(--lamp-ink); background: var(--lamp); }
.pdfv-ic svg { width: 19px; height: 19px; }
.pdfv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pdfv-t b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.pdfv-meta { font-size: 12px; color: var(--chalk-3); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdfv-body { position: relative; flex: 1; min-height: 0; display: flex; background: var(--studio); }
.pdfv-rail { width: 128px; flex: none; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; overflow: auto; border-inline-end: 1px solid var(--rule); }
.pdfv-rail[hidden] { display: none; }
.pdfv-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 4px; background: var(--chalk); opacity: .6; cursor: pointer; transition: opacity 150ms ease, box-shadow 150ms ease; }
@media (hover: hover) and (pointer: fine) { .pdfv-thumb:hover { opacity: .9; } }
.pdfv-thumb.on { opacity: 1; box-shadow: 0 0 0 2px var(--lamp); }
.pdfv-thumb img { display: block; width: 100%; height: auto; border-radius: 4px; }
.pdfv-thumb span { position: absolute; left: 50%; bottom: -2px; transform: translate(-50%, 100%); font-size: 12px; color: var(--chalk-3); }
.pdfv-thumb.l { margin-bottom: 14px; }
.pdfv-thumb.p { width: 70%; align-self: center; margin-bottom: 14px; }
.pdfv-pages { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 28px 32px 36px; overflow: auto; scroll-behavior: smooth; }
.pdfv-page { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; animation: cp-in 300ms var(--ease-out) both; }
.pdfv-page img { display: block; width: 100%; height: auto; border-radius: 3px; background: var(--chalk); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9); }
.pdfv-page.l img { max-width: 920px; }
.pdfv-page.p img { max-width: 600px; }
.pdfv-page figcaption { font-size: 12px; color: var(--chalk-3); font-variant-numeric: tabular-nums; }
.pdfv-skel { width: min(920px, 100%); aspect-ratio: 1.414; flex: none; border-radius: 3px; background: linear-gradient(100deg, var(--studio-1) 20%, var(--studio-2) 40%, var(--studio-1) 60%) 0 0 / 200% 100%; animation: cp-shimmer 1.4s linear infinite; }
.pdfv-skel.p { width: min(600px, 100%); aspect-ratio: .707; }
.pdfv-frame { width: 100%; height: 100%; min-height: 520px; border: 0; border-radius: 4px; background: var(--chalk); }
.pdfv-fine { font-size: 12px; color: var(--chalk-3); }
.pdfv-empty { margin: auto; text-align: center; color: var(--chalk-2); }
.pdfv-empty b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--chalk); }
.pdfv-ft { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px 12px; padding-inline: 18px 14px; border-top: 1px solid var(--rule); }
.pdfv-note { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--chalk-3); }
.pdfv-note > span:first-child { display: grid; }
.pdfv-note svg { width: 16px; height: 16px; }
.pdfv-act { display: flex; gap: 8px; flex: none; }

@media (max-width: 1180px) {
  .cp-sum { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cp-ov { padding: 0 10px; gap: 10px; }
  .cp-name { font-size: 20px; }
  .cp-why { display: none; }
  .cp-r span { font-size: 12px; }
  .cp-r b { font-size: 13px; }
  .cp-sheet { padding: 4px 10px 8px; }
  .cp-tools .orb-btn span { display: none; }
  .sx-panel { width: 316px; }
  .sx-share { width: 276px; grid-template-columns: 84px minmax(0, 1fr); }
  .sx-qr { width: 84px; height: 84px; }
}
@media (max-width: 760px) {
  .cp-cols { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cp-cols::-webkit-scrollbar { display: none; }
  .cp-col { flex: none; width: 86vw; scroll-snap-align: center; }
  .cp-addcol { width: 64vw; }
  .cp-topbar { gap: 8px; }
  .cp-trow { min-height: 48px; padding-inline-start: 12px; gap: 8px; }
  .cp-title h1 { font-size: 16px; }
  .cp-tools .cp-seg, .cp-tools .cp-sep, .cp-tools > .orb-btn:first-of-type { display: none; }
  .cp-ov { bottom: calc(var(--dial-rise) + 64px); }
  .cp-why { display: -webkit-box; }
  .cp-empty h1 { font-size: 28px; }
  .sx-panel { inset-inline-start: 8px; inset-inline-end: 8px; top: auto; bottom: calc(var(--console) + var(--dial-rise) + 64px); width: auto; max-height: 50vh; border-radius: 22px; }
  .sx-head { padding: 8px 10px 8px; }
  .sx-head h1 { font-size: 20px; }
  .sx-hm-a { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; }
  .sx-hm-img { width: 64px; height: 46px; }
  .sx-note textarea { font-size: 16px; }
  .sx-note, .sx-change { padding-inline-start: 8px; margin-inline-start: 8px; }
  .sx-share { display: none; }
  .sx-acct { top: var(--top); inset-inline-end: var(--top); height: 44px; padding: 0 4px; }
  .sx-acct-t { display: none; }
  .sx-pin-tag em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-col, .cp-empty, .sx-panel, .sx-share, .pdfv-page { animation: none; }
  .cp-ctl, .cp-more svg { transition: opacity 150ms ease; transform: none !important; }
  .cp-verdict { animation: none; }
}
.cp-tools, .sx-share { transition: opacity 180ms ease; }
.sx-acct { transition: background-color 150ms ease, transform 150ms var(--ease-out), opacity 180ms ease; }

.hp-card { position: fixed; left: 0; top: 0; z-index: calc(var(--z-modal) + 4); width: 248px; padding: 6px; border-radius: 18px; color: var(--sf-ink, var(--chalk)); font-family: var(--font); background: var(--sf-bg-strong, var(--glass-strong)); -webkit-backdrop-filter: var(--sf-blur, var(--blur)); backdrop-filter: var(--sf-blur, var(--blur)); box-shadow: var(--sf-edge, var(--edge)), var(--sf-shadow, var(--lift-hi)); pointer-events: none; opacity: 0; scale: .97; transition: opacity 120ms ease, scale 120ms var(--ease-out); }
.hp-card.on { opacity: 1; scale: 1; transition-duration: 160ms; }
.hp-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--studio-1); }
.hp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.hp-1 { opacity: 0; transition: opacity 220ms ease; }
.hp-1.in { opacity: 1; }
.hp-b { padding: 8px 6px 4px; }
.hp-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hp-row b { font-size: 14px; font-weight: 600; }
.hp-p { font-size: var(--fs-body, 13.5px); font-weight: 600; font-variant-numeric: tabular-nums; }
.hp-k { margin: 2px 0 0; font-size: var(--fs-label, 12px); color: var(--sf-ink-2, var(--chalk-2)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 4px 0 0; font-size: var(--fs-label, 12px); color: var(--sf-ink-3, var(--chalk-3)); font-variant-numeric: tabular-nums; }
.hp-st { display: inline-flex; align-items: center; gap: 5px; }
.hp-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--avail); }
.hp-st.reserved::before { background: transparent; box-shadow: inset 0 0 0 2px var(--resv); }
.hp-st.sold::before { border-radius: 2px; background: var(--sold); }
@media (hover: none) { .hp-card { display: none; } }
@media (prefers-reduced-motion: reduce) { .hp-card { scale: 1; transition: opacity 120ms ease; } }

:is(.cp-tools, .cp-title, .sx-panel, .sx-share, .hp-card) :is(.orb-btn-quiet, .orb-btn-ghost) { color: var(--sf-ink, var(--chalk)); }
:is(.cp-tools, .cp-title, .sx-panel, .sx-share) .orb-btn-quiet { background: var(--sf-field, rgba(255, 255, 255, .06)); }
@media (hover: hover) and (pointer: fine) { :is(.cp-tools, .cp-title, .sx-panel, .sx-share) :is(.orb-btn-quiet, .orb-btn-ghost):hover { background: var(--sf-hover, rgba(255, 255, 255, .1)); } }
:is(.cp-tools, .cp-title, .sx-panel, .sx-share) .orb-btn-primary { color: var(--sf-sel-ink, var(--studio)) !important; background: var(--sf-sel-bg, var(--chalk)); }
