/* Selected visual: full-site-v1/03-work.png and 19-admin-work-edit.png. */
.sws-site--sonar-work .sws-sonar-page { padding: 0; }
.sws-work-archive { --work-paper: #f3efe6; --work-ink: #0b0b0b; --work-brass: #b79867; background: var(--work-paper); }
.sws-work-archive [hidden] { display: none !important; }
html:has(.sws-work-drawer[open]) { overflow-y: hidden; }
.sws-work-archive:not(.is-ready) :is(.sws-work-filters, .sws-work-edit-mode, .sws-work-record__admin) { display: none; }
.sws-work-heading { padding: 23px 4.65vw 0; }
.sws-work-heading__line { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sws-site--suite .sws-work-heading h1 { font: 400 clamp(72px, 7.2vw, 110px)/1 'SWS Cormorant', Georgia, serif; font-variant-caps: small-caps; letter-spacing: -3px; margin: 0; color: var(--work-ink); }
.sws-work-eyebrow { color: #4a4943; font: 600 11px/1.5 Raleway, sans-serif; letter-spacing: 1.7px; text-transform: uppercase; margin: 8px 0 14px; }
.sws-work-filters { display: flex; flex-wrap: wrap; gap: 5px 40px; padding: 4px 0 12px; }
.sws-work-filters button { position: relative; border: 0; border-radius: 0; min-height: 44px; background: none; color: #191916; padding: 8px 0; font: 700 11px/1.4 Raleway, sans-serif; text-transform: uppercase; letter-spacing: 1.1px; }
.sws-work-filters button::after { position: absolute; content: ''; bottom: 7px; height: 2px; left: 0; right: 0; background: #c81754; transform: scaleX(0); transform-origin: left; transition: transform var(--sws-motion-base, 260ms) var(--sws-ease, cubic-bezier(.22,.68,0,1.01)); }
.sws-work-filters button[aria-pressed="true"] { color: #b21349; }
.sws-work-filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.sws-work-stage { display: grid; grid-template-columns: 39.4% minmax(0, 1fr); background: var(--work-ink); color: var(--work-paper); }
.sws-work-index { min-width: 0; padding: 24px 0 30px 4.65vw; border-right: 1px solid var(--work-brass); display: flex; flex-direction: column; }
.sws-work-archive.is-ready .sws-work-index { height: clamp(550px, 43vw, 740px); }
.sws-work-archive.is-ready .sws-work-records { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #a68c61 #0b0b0b; padding-left: 5px; margin-left: -5px; }
.sws-work-record { position: relative; border-bottom: 1px solid #77664c; margin: 0; }
.sws-work-record > a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 92px; padding: 20px 34px 20px 0; text-decoration: none; color: #e4dfd4; transition: color var(--sws-motion-fast, 160ms) var(--sws-ease, ease); }
.sws-work-number { color: var(--work-brass); font: 400 24px/1 'SWS Cormorant', Georgia, serif; transition: color var(--sws-motion-fast, 160ms) var(--sws-ease, ease); }
.sws-work-record__title { font: 400 clamp(21px, 1.7vw, 28px)/1.15 'SWS Cormorant', Georgia, serif; font-variant-caps: small-caps; overflow-wrap: anywhere; }
.sws-work-record__category { max-width: 105px; color: var(--work-brass); font: 500 10px/1.6 Raleway, sans-serif; letter-spacing: 1px; text-transform: uppercase; overflow-wrap: anywhere; text-align: right; }
.sws-work-record.is-active { border-bottom-color: #c2a16b; box-shadow: 0 1px #c2a16b; }
.sws-work-record.is-active .sws-work-number { color: #e12a65; }
.sws-work-record.is-active::after { content: ''; position: absolute; right: 23%; bottom: -2px; height: 4px; width: 28px; background: #c81754; pointer-events: none; }
.sws-work-record > a:hover { color: #fff; }
.sws-work-record > a:focus-visible { outline-offset: -3px; }
.sws-work-transport { display: flex; align-items: center; gap: 16px; margin-top: auto; padding: 28px 25px 0 0; color: var(--work-brass); }
.sws-work-transport > span { font: 500 10px/1.7 Raleway, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.sws-work-transport__buttons { display: flex; flex-direction: column; }
.sws-work-transport button { width: 44px; height: 44px; border: 1px solid #6c5f4a; background: transparent; color: #d7bc8f; padding: 0; transition: border-color var(--sws-motion-fast, 160ms), color var(--sws-motion-fast, 160ms), transform var(--sws-motion-fast, 160ms) var(--sws-ease, ease); }
.sws-work-transport button + button { border-top: 0; }
.sws-work-transport button:hover { color: #fff; border-color: #c81754; }
.sws-work-transport button:active:not(:disabled) { transform: scale(.94); }
.sws-work-transport button:disabled { opacity: .3; cursor: default; }
.sws-work-transport output { font: 400 16px/1.5 'SWS Cormorant', Georgia, serif; white-space: nowrap; margin-left: auto; }
.sws-work-screen { min-width: 0; }
.sws-work-project { margin: 0; scroll-margin-top: 20px; }
.sws-work-archive.is-ready .sws-work-screen { position: relative; height: clamp(550px, 43vw, 740px); overflow: hidden; }
.sws-work-archive.is-ready .sws-work-project { position: absolute; inset: 0; display: flex; flex-direction: column; }
.sws-work-project.is-moving { will-change: transform; }
.sws-work-photo { position: relative; min-height: 0; flex: 1; overflow: hidden; touch-action: pan-y pinch-zoom; }
.sws-work-archive.has-work-navigation .sws-work-photo { cursor: grab; user-select: none; -webkit-user-select: none; }
.sws-work-archive.is-dragging .sws-work-photo { cursor: grabbing; }
.sws-work-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sws-work-archive.is-ready .sws-work-photo img { -webkit-user-drag: none; }
.sws-work-no-results { display: grid; place-items: center; height: 100%; margin: 0; padding: 32px; text-align: center; color: var(--work-paper); font: 400 28px/1.3 'SWS Cormorant', Georgia, serif; }
.sws-work-archive:not(.is-ready) .sws-work-photo { aspect-ratio: 8 / 5; }
.sws-work-photo__credit { position: absolute; bottom: 13px; left: 20px; font: 500 9px/1.5 Raleway, sans-serif; letter-spacing: .9px; color: #f3efe6; background: #0b0b0bbd; padding: 4px 7px; }
.sws-work-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px; background: var(--work-paper); color: var(--work-ink); border-top: 1px solid var(--work-brass); min-height: 80px; padding: 16px 5.8%; }
.sws-site--suite .sws-work-caption h2 { font-size: 24px; font-variant-caps: small-caps; line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.sws-work-caption > span { font: 600 10px/1.5 Raleway, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; max-width: 110px; overflow-wrap: anywhere; }
.sws-work-view { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: 700 11px/1.5 Raleway, sans-serif; letter-spacing: 1.3px; text-transform: uppercase; text-decoration: underline; text-decoration-color: #c81754; text-underline-offset: 9px; color: #a90f45; }
.sws-work-notes { color: #dad1c4; padding: 24px; }
.sws-work-archive.is-ready .sws-work-notes { display: none; }
.sws-work-cta { padding: 28px 24px; min-height: 108px; display: flex; align-items: center; justify-content: center; gap: 32px; border-top: 1px solid #bfb299; }
.sws-work-cta p { margin: 0; color: #191916; font: 700 11px/1.5 Raleway, sans-serif; text-transform: uppercase; letter-spacing: 1.2px; }
.sws-work-cta .sws-workspace-action { min-width: 245px; text-align: center; }
.sws-work-edit-mode { display: flex; gap: 20px; align-items: center; }
.sws-work-edit-mode > span { color: #a90f45; text-transform: uppercase; font-size: 10px; letter-spacing: 1px; }
.sws-work-record__admin { display: flex; justify-content: flex-end; align-items: center; gap: 20px; padding: 0 34px 8px 0; margin-top: -15px; font: 500 9px/1.5 Raleway, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #c0ae91; }
.sws-work-record__admin button { background: transparent; color: #e5d9c4; border: 0; text-decoration: underline; text-underline-offset: 5px; min-height: 35px; padding: 4px 0 4px 14px; text-transform: uppercase; }
.sws-work-empty { padding: 80px 8vw; background: #0b0b0b; color: #eee7da; min-height: 390px; }
.sws-work-empty .sws-work-eyebrow { color: #b79867; }
.sws-work-empty p:last-child { color: #b8b1a4; }
/* Native dialogs keep focus and form semantics; no duplicate modal framework. */
.sws-work-drawer { position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; padding: 0; width: min(472px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-left: 1px solid #a99c88; border-radius: 0; color: #191916; background: #f3efe6; overflow-y: auto; }
.sws-work-drawer::backdrop { background: #0b0b0b38; }
.sws-work-drawer[open] { animation: sws-work-drawer-in var(--sws-motion-base, 260ms) var(--sws-ease, cubic-bezier(.22,.68,0,1.01)); }
.sws-work-drawer.is-closing { animation: sws-work-drawer-out var(--sws-motion-fast, 160ms) var(--sws-ease, ease) forwards; }
.sws-work-drawer__header { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 27px 30px 20px; background: #f3efe6; border-bottom: 1px solid #d0c5b5; }
.sws-work-drawer__header h2 { margin: 6px 0 0; font-variant-caps: small-caps; }
.sws-work-drawer__header p { margin: 4px 0; color: #a90f45; }
.sws-work-drawer__header [data-work-close] { flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 0; padding: 0; background: transparent; color: #28251f; font-size: 17px; width: 44px; height: 44px; }
.sws-work-drawer__body { padding: 24px 30px 36px; }
.sws-work-drawer :is(.sws-field, .sws-work-drawer__field) { margin-bottom: 19px; }
.sws-work-drawer__eyebrow { font: 600 10px/1.5 Raleway, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.sws-work-drawer__image-note { font: 400 10px/1.5 Raleway, sans-serif; color: #665d50; margin: 7px 0; }
.sws-work-drawer .sws-label { display: block; margin-bottom: 7px; font-size: 10px; }
.sws-work-drawer .sws-input { width: 100%; font-size: 14px; }
.sws-work-drawer :is(.sws-modal-grid, .sws-work-drawer__grid) { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sws-work-drawer :is(.sws-modal__actions, .sws-work-drawer__actions) { display: flex; justify-content: flex-end; gap: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #c8bcaa; background: transparent; }
.sws-work-drawer :is(.sws-service-image-preview, .sws-work-image-preview, .sws-work-drawer__preview img) { display: block; width: 180px; height: 100px; object-fit: cover; margin: 4px 0 12px; border-radius: 0; }
.sws-work-drawer__preview { margin: 4px 0 16px; }
.sws-work-drawer .sws-file-picker { background: transparent; border: 0; border-radius: 0; padding: 0; }
.sws-work-drawer .sws-file-picker__button { background: transparent; color: #24211d; border: 1px solid #9c907d; border-radius: 0; min-height: 44px; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
.sws-work-drawer .sws-file-picker__name { font-size: 11px; color: #625747; overflow-wrap: anywhere; }
.sws-work-drawer :is(.sws-service-danger-zone, .sws-work-drawer__danger) { padding: 25px 0 0; margin-top: 30px; border: 0; border-top: 1px solid #c8bcaa; border-radius: 0; background: none; }
.sws-work-drawer :is(.sws-service-danger-zone, .sws-work-drawer__danger) p { font-size: 12px; color: #625b50; line-height: 1.6; }
.sws-work-drawer .sws-danger-action { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; padding: 8px 0; }
.sws-work-detail { width: min(570px, 100%); }
.sws-work-detail__image { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.sws-work-detail__credit { font-size: 10px; color: #6b6357; margin: 7px 0 22px; }
.sws-site--suite .sws-work-detail h2 { margin: 24px 0 18px; font-size: 42px; font-variant-caps: small-caps; overflow-wrap: anywhere; }
.sws-work-detail__summary { font: 400 21px/1.6 'SWS Cormorant', Georgia, serif; white-space: normal; overflow-wrap: anywhere; margin: 0 0 32px; }
.sws-work-archive :is(.sws-work-eyebrow, .sws-work-filters button, .sws-work-record__category, .sws-work-transport > span, .sws-work-photo__credit, .sws-work-caption > span, .sws-work-view, .sws-work-cta p, .sws-work-record__admin, .sws-work-drawer__eyebrow, .sws-work-drawer__image-note) { font-family: 'SWS Raleway', Arial, sans-serif; }
.sws-work-filters button, .sws-work-eyebrow { font-size: 12px; }
.sws-work-record__category, .sws-work-transport > span { font-size: 11px; }
.sws-site--suite .sws-work-drawer .sws-input { font: 400 20px/1.3 'SWS Cormorant', Georgia, serif; min-height: 42px; padding: 8px 12px; }
.sws-site--suite .sws-work-drawer textarea.sws-input { min-height: 100px; }
.sws-work-drawer__field { margin-bottom: 16px; }
.sws-work-drawer .sws-work-drawer__preview img { width: min(320px, 100%); height: 140px; margin-bottom: 6px; }
.sws-work-drawer .sws-work-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 20px; margin-top: 20px; }
.sws-site--suite .sws-work-drawer .sws-secondary-action { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; background: transparent; color: #24211d; border: 1px solid #8a8378; font: 700 11px/1.5 'SWS Raleway', Arial, sans-serif; border-radius: 1px; letter-spacing: 1px; }
.sws-work-drawer .sws-work-drawer__danger h3 { font: 700 11px/1.5 'SWS Raleway', Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #a90f45; }
@keyframes sws-work-drawer-in { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes sws-work-drawer-out { to { transform: translateX(40px); opacity: 0; } }
@media (max-width: 1100px) {
    .sws-work-stage { grid-template-columns: 43% minmax(0, 1fr); }
    .sws-work-index { padding-left: 30px; }
    .sws-work-record > a { grid-template-columns: 25px minmax(0, 1fr); gap: 12px; padding-right: 24px; }
    .sws-work-record__category { grid-column: 2; text-align: left; max-width: none; margin-top: -7px; }
    .sws-work-caption { grid-template-columns: 1fr auto; gap: 8px 20px; }
    .sws-work-caption > span { grid-row: 2; }
    .sws-work-view { grid-column: 2; grid-row: 1 / 3; }
    .sws-work-transport { flex-wrap: wrap; gap: 10px; }
    .sws-work-transport__buttons { flex-direction: row; }
    .sws-work-transport button + button { border-top: 1px solid #6c5f4a; border-left: 0; }
    .sws-work-transport > span { flex-basis: 100%; order: 3; }
}
@media (max-width: 760px) {
    .sws-work-heading { padding: 26px 22px 0; }
    .sws-site--suite .sws-work-heading h1 { font-size: 78px; }
    .sws-work-eyebrow { margin-top: 5px; margin-bottom: 12px; font-size: 10px; }
    .sws-work-filters { gap: 3px 25px; padding-bottom: 12px; }
    .sws-work-filters button { font-size: 10px; }
    .sws-work-stage { display: flex; flex-direction: column; }
    .sws-work-index { padding: 0 22px; border-right: 0; }
    .sws-work-archive.is-ready .sws-work-index { height: auto; }
    .sws-work-archive.is-ready .sws-work-records { max-height: 240px; }
    .sws-work-record > a { grid-template-columns: 24px minmax(0, 1fr) auto; min-height: 70px; padding: 16px 0; }
    .sws-work-record__title { font-size: 23px; }
    .sws-work-record__category { grid-column: auto; max-width: 90px; text-align: right; margin: 0; font-size: 9px; }
    .sws-work-record.is-active::after { right: 0; }
    .sws-work-number { font-size: 21px; }
    .sws-work-transport { padding: 10px 0; flex-wrap: nowrap; }
    .sws-work-transport > span { flex-basis: auto; order: 0; font-size: 8px; }
    .sws-work-transport__buttons { gap: 4px; }
    .sws-work-transport button, .sws-work-transport button + button { border: 0; }
    .sws-work-archive.is-ready .sws-work-screen { height: clamp(380px, 100vw, 580px); border-top: 1px solid #76654b; }
    .sws-work-caption { padding: 16px 22px; min-height: 86px; }
    .sws-site--suite .sws-work-caption h2 { font-size: 24px; }
    .sws-work-caption > span { font-size: 9px; }
    .sws-work-cta { gap: 17px; padding-inline: 22px; justify-content: space-between; }
    .sws-work-cta .sws-workspace-action { min-width: 0; padding: 12px 18px; font-size: 10px; }
    .sws-work-cta p { font-size: 9px; }
    .sws-work-edit-mode { flex-direction: column; align-items: flex-end; gap: 5px; }
    .sws-work-edit-mode .sws-secondary-action { padding: 10px 12px; font-size: 9px; }
    .sws-work-record__admin { padding-right: 0; }
    .sws-work-drawer__header { padding: 22px; }
    .sws-work-drawer__body { padding: 22px; }
    .sws-work-drawer :is(.sws-modal-grid, .sws-work-drawer__grid) { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .sws-work-drawer[open], .sws-work-drawer.is-closing { animation: none; }
    .sws-work-filters button::after, .sws-work-record > a, .sws-work-number, .sws-work-transport button { transition: none; }
    .sws-work-transport button:active:not(:disabled) { transform: none; }
}
