/* Shared product workflows: neutral surfaces and the approved four action colors. */
.wf-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:4px 0 28px}.wf-heading h1{font-size:30px;letter-spacing:-1.1px;margin:0 0 8px;font-weight:650}.wf-heading p{color:var(--secondary);font-size:14px;margin:0;line-height:1.6}.wf-heading>.button{flex-shrink:0}
.wf-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}.wf-stats>div{display:flex;align-items:center;gap:14px;padding:22px 24px;border-radius:24px;background:var(--surface);box-shadow:var(--shadow-card)}.wf-stats strong{display:block;font-size:25px;letter-spacing:-.7px;line-height:1.2;margin-bottom:5px}.wf-stats small{color:var(--secondary);font-size:12px}.wf-stats .orb{width:40px;height:40px;flex-shrink:0}
.wf-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.wf-toolbar .tabs{margin:0;overflow:auto}.wf-toolbar .tab{white-space:nowrap}.wf-search{display:flex;gap:9px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:0 13px;max-width:240px;margin:0!important;color:var(--secondary)}.wf-search input{background:none!important;border:0!important;box-shadow:none!important;margin:0!important;min-width:0;padding:13px 0!important;font-size:13px}.wf-search .icon{width:17px;height:17px;flex-shrink:0}
.wf-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.wf-content-card{overflow:hidden;border-radius:24px;background:var(--surface);box-shadow:var(--shadow-card);min-width:0;border:1px solid var(--line)}.wf-content-open{display:block;width:100%;padding:0;background:none;text-align:left;color:var(--ink)}.wf-content-cover{aspect-ratio:4/3;position:relative;overflow:hidden;background:var(--surface-muted)}.wf-content-cover>img,.wf-content-cover>video{width:100%;height:100%;object-fit:cover;display:block}.wf-cover-label{position:absolute;top:12px;left:12px;font-size:11px;font-weight:550;background:var(--glass);color:var(--ink);border:1px solid var(--glass-line);border-radius:20px;padding:6px 10px;backdrop-filter:blur(12px)}.wf-content-copy{padding:18px 18px 16px}.wf-content-copy h3{font-size:15px;font-weight:600;line-height:1.45;margin:0 0 7px;overflow-wrap:anywhere}.wf-content-copy p{font-size:11px;color:var(--secondary);margin:0;display:flex;gap:7px;flex-wrap:wrap}.wf-content-foot{border-top:1px solid var(--line);padding:8px 14px 8px 18px;display:flex;align-items:center;justify-content:space-between}.wf-content-foot .icon-button{width:36px;height:36px;min-height:36px;background:transparent}.wf-content-foot .icon{width:17px;height:17px}.wf-text-cover{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:42px 24px 20px;background:var(--surface-muted);color:var(--secondary)}.wf-text-cover p{font-size:15px;text-align:center;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}.wf-text-cover>.icon{color:var(--accent);width:26px;height:26px}.wf-state{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:550;padding:6px 10px;border-radius:20px;color:var(--secondary);background:var(--control)}.wf-state.is-success{color:var(--success);background:var(--success-bg)}
.wf-empty{grid-column:1/-1;text-align:center;padding:64px 24px;display:flex;align-items:center;flex-direction:column;background:var(--surface);border-radius:26px}.wf-empty>.orb{margin-bottom:18px}.wf-empty h2{font-size:19px;letter-spacing:-.45px;margin:0 0 9px}.wf-empty p{max-width:350px;font-size:13px;line-height:1.7;color:var(--secondary);margin:0}.wf-empty-action{text-align:center;margin-top:20px}
dialog.wf-dialog{width:min(580px,calc(100% - 32px));padding:26px;max-height:calc(100dvh - 48px);overflow-y:auto;border-radius:30px;background:var(--surface)}.wf-dialog .modal-top{margin-bottom:24px}.wf-dialog label{font-size:13px}.wf-dialog input,.wf-dialog textarea,.wf-dialog select{font-size:15px}.wf-dialog .button{min-height:46px}.wf-dialog .modal-top .icon-button{min-width:40px;min-height:40px}.wf-form-actions{display:flex;gap:12px;margin:24px 0 4px}.wf-form-actions>*{flex:1;min-width:0}.wf-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wf-fields>*{min-width:0}.wf-hint{font-size:12px;line-height:1.6;color:var(--secondary);margin:16px 0}.wf-note{background:var(--surface-muted);padding:18px;border-radius:18px;font-size:13px;color:var(--secondary);line-height:1.7;margin:20px 0}.wf-delete{font-size:12px;color:var(--attention);background:none;padding:16px;width:100%;min-height:44px}.wf-danger{background:var(--attention-bg);color:var(--attention);margin-top:12px}
.wf-upload-area{border-radius:21px;background:var(--surface-muted);padding:18px;margin-bottom:20px}.wf-upload-label{display:flex;align-items:center;flex-direction:column;gap:7px;margin:0!important;cursor:pointer;padding:10px}.wf-upload-label strong{font-size:14px;margin-top:4px}.wf-upload-label>span:last-child{font-size:11px;color:var(--secondary);font-weight:400}.wf-file-input{width:1px!important;height:1px!important;opacity:0;position:absolute;overflow:hidden;padding:0!important;margin:0!important}.wf-file-input:focus-visible+.wf-upload-list{outline:2px solid var(--accent)}.wf-upload-list:empty{display:none}.wf-upload-list{margin:12px 0}.wf-upload-row{display:flex;gap:8px;align-items:center;justify-content:space-between;background:var(--surface);border-radius:12px;padding:7px 10px;margin-top:7px}.wf-upload-row>span{display:flex;align-items:center;gap:9px;min-width:0}.wf-upload-row strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wf-upload-row small{font-size:10px;color:var(--secondary);white-space:nowrap}.wf-upload-row .icon{width:17px;height:17px;flex-shrink:0}.wf-upload-row .icon-button{background:none;width:32px;height:32px;min-height:32px;flex-shrink:0}.wf-samples{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}.wf-samples button{position:relative;aspect-ratio:1;border-radius:12px;padding:0;overflow:hidden;background:var(--surface);border:3px solid transparent}.wf-samples button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 2px var(--surface)}.wf-samples img{width:100%;height:100%;object-fit:cover}.wf-upload-area .wf-hint{font-size:10px;margin:12px 0 0;text-align:center}.wf-loading{font-size:12px;color:var(--secondary)}
.wf-viewer-media{display:grid;gap:12px}.wf-viewer-media>img,.wf-viewer-media>video{width:100%;max-height:65dvh;object-fit:contain;border-radius:18px;background:var(--surface-muted)}.wf-viewer-copy{margin:20px 0}.wf-viewer-copy p{white-space:pre-wrap;line-height:1.7;color:var(--ink);font-size:14px}.wf-media-missing{display:flex;align-items:center;justify-content:center;min-height:100px;padding:24px;color:var(--secondary);font-size:12px;text-align:center}
.wf-list{display:grid;gap:10px}.wf-list-row{display:flex;align-items:center;gap:14px;width:100%;padding:18px;background:var(--surface-muted);text-align:left;border-radius:20px;color:var(--ink)}.wf-list-row>span:not(.orb){flex:1;min-width:0}.wf-list-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.wf-list-row small{display:block;font-size:12px;color:var(--secondary);line-height:1.6;margin-top:5px}.wf-list-row .wf-state{margin-top:10px}.wf-list-row>.icon{width:18px;flex-shrink:0}.wf-booking-hero{text-align:center;padding:10px 0 18px}.wf-booking-hero>.orb{margin:0 auto 18px}.wf-booking-hero h3{font-size:21px;letter-spacing:-.5px;line-height:1.5;margin:0 0 8px}.wf-booking-hero p{font-size:13px;color:var(--secondary);margin:0 0 18px}.wf-update-row{position:relative;border-radius:18px;background:var(--surface-muted);padding:20px 52px 20px 20px}.wf-update-row p{font-size:14px;white-space:pre-wrap;line-height:1.7;margin:0 0 12px}.wf-update-row small{font-size:11px;color:var(--secondary)}.wf-update-row>.icon-button{position:absolute;top:12px;right:8px;background:none}.wf-update-row>.button{display:block;margin-top:12px}.wf-message-preview{white-space:pre-wrap;background:var(--surface-muted);border-radius:20px;padding:24px;font-size:16px;line-height:1.7;margin:20px 0}
.wf-attachment-heading{display:flex;align-items:center;gap:16px;margin-bottom:22px}.wf-attachment-heading>.orb{flex-shrink:0}.wf-attachment-heading p{margin:0;color:var(--secondary);font-size:13px;line-height:1.6}.wf-upload-button{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--control);border:1px solid var(--line);border-radius:16px;min-height:48px;cursor:pointer}.wf-attachment-preview{margin-top:18px}.wf-attachment-preview img,.wf-attachment-preview video{display:block;width:100%;max-height:250px;object-fit:contain;border-radius:16px}.wf-attachment-preview audio{width:100%}.wf-recorder{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;background:var(--surface-muted);border-radius:20px;padding:24px;margin-bottom:20px}.wf-recorder>span{width:100%;text-align:center;font-size:36px;font-variant-numeric:tabular-nums;letter-spacing:-1px;margin-bottom:12px}.wf-recorder .button{font-size:12px}.wf-chat-attachment{overflow:hidden;max-width:min(82%,330px);background:var(--chat-incoming);border-radius:19px}.wf-chat-attachment img,.wf-chat-attachment video{display:block;width:100%;max-height:360px;object-fit:contain}.wf-chat-attachment audio{max-width:100%;width:280px;display:block}.wf-history-button{display:block;margin:0 auto 20px;padding:10px 18px;border-radius:24px;background:var(--control);color:var(--secondary);font-size:12px;min-height:44px}.wf-history-button[hidden]{display:none}.offer-image>video{width:100%;height:100%;object-fit:cover}
.wf-camera{position:relative;aspect-ratio:4/3;background:var(--ow-deep);border-radius:22px;overflow:hidden;color:var(--ow-on-dark)}.wf-camera video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.wf-camera>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.wf-camera>div[hidden]{display:none}.wf-camera strong{font-size:18px;text-align:center;max-width:90%}.wf-camera span{font-size:12px;opacity:.65}.wf-camera .icon{width:30px;height:30px}.wf-studio-links{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 24px}.wf-studio-links>.setting-row{background:var(--surface);border-radius:22px;padding:20px;border:0}.wf-studio-links .setting-row small{font-size:12px}
@media(min-width:1200px){body[data-page=library] #main,body[data-page=vault] #main{max-width:1220px}}
@media(max-width:900px){.wf-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-stats>div{padding:18px 16px;gap:10px}.wf-studio-links{gap:12px}.wf-studio-links>.setting-row{padding:16px}}
@media(max-width:600px){.wf-heading{align-items:flex-start;gap:12px;margin:6px 0 24px}.wf-heading h1{font-size:26px}.wf-heading p{font-size:12px;max-width:210px}.wf-heading>.button{font-size:12px;padding:11px 14px;min-height:44px}.wf-heading>.button .icon{width:16px;height:16px}.wf-stats{gap:8px;margin-bottom:22px}.wf-stats>div{padding:16px 12px;flex-direction:column;align-items:flex-start;gap:12px;border-radius:20px}.wf-stats .orb{width:30px;height:30px}.wf-stats .orb>.icon{width:15px;height:15px}.wf-stats strong{font-size:22px}.wf-stats small{font-size:11px}.wf-toolbar{flex-direction:column;align-items:stretch;gap:14px}.wf-toolbar .tabs{width:100%}.wf-toolbar .tab{font-size:12px;padding:10px 14px}.wf-search{max-width:none}.wf-content-grid{gap:12px}.wf-content-copy{padding:13px 13px 14px}.wf-content-copy h3{font-size:13px;margin-bottom:6px}.wf-content-copy p{font-size:10px;gap:5px}.wf-content-card{border-radius:19px}.wf-cover-label{left:8px;top:8px;font-size:9px;padding:5px 8px}.wf-content-foot{padding:4px 8px 4px 12px}.wf-content-foot .wf-state{font-size:9px;padding:5px 7px}.wf-text-cover{padding:36px 15px 15px}.wf-text-cover p{font-size:12px}.wf-studio-links{grid-template-columns:1fr}.wf-empty{padding:44px 22px}.wf-empty h2{font-size:18px}.wf-fields{gap:12px}dialog.wf-dialog{padding:22px;width:calc(100% - 20px);border-radius:28px;max-height:calc(100dvh - 24px)}.wf-dialog input,.wf-dialog select,.wf-dialog textarea{font-size:16px}.wf-dialog .modal-top h2{font-size:22px}.wf-upload-area{padding:14px}.wf-samples{gap:6px}.wf-list-row{padding:16px}.wf-list-row .orb{width:34px;height:34px}.wf-booking-hero h3{font-size:19px}.wf-form-actions>.button{font-size:13px;padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:no-preference){.wf-content-card{animation:wf-appear .22s ease-out}.wf-content-open{transition:opacity .15s}.wf-content-open:active{opacity:.82}@keyframes wf-appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}

/* Native selects retain keyboard behavior; the inset chevron never crosses the field edge. */
:is(select,dialog select,.entry-panel select,.ops-form select){appearance:none;-webkit-appearance:none;max-width:100%;min-width:0;padding-right:44px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23737b78' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:16px 16px!important;text-overflow:ellipsis;cursor:pointer}
[data-theme=dark] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b9bfbb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")!important}
.wf-file-input:focus-visible{position:static;width:100%!important;height:auto!important;opacity:1;padding:8px!important}

@media(min-width:761px){.interior-view[data-page=library] #main,.interior-view[data-page=vault] #main{max-width:1280px}}

.purchases-empty{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:28px;max-width:680px;margin:36px auto 0;padding:54px 28px 46px;box-shadow:var(--shadow-card)}
.purchases-empty-art{position:relative;width:134px;height:90px;margin-bottom:25px}.purchases-empty-art>span:not(.orb){position:absolute;top:8px;left:16px;display:grid;place-items:center;width:60px;height:70px;border-radius:14px;background:var(--surface-muted);border:1px solid var(--line);color:var(--secondary);transform:rotate(-12deg);box-shadow:var(--edge-highlight)}.purchases-empty-art>span:nth-child(2){left:58px;top:2px;transform:rotate(12deg)}.purchases-empty-art>span>.icon{width:24px;height:24px;opacity:.5}.purchases-empty-art>.orb{position:absolute;width:45px;height:45px;left:45px;top:36px}.purchases-empty-art>.orb>.icon{width:20px;height:20px;opacity:1}.purchases-empty h2{font:600 24px/1.3 var(--font);letter-spacing:-.7px;margin-bottom:12px}.purchases-empty p{font-size:14px;line-height:23px;max-width:330px;color:var(--secondary);margin:0}.purchases-empty>.button{margin-top:26px;min-height:46px;font-size:13px}
@media(max-width:760px){.purchases-empty{margin-top:8px;padding:42px 23px;border-radius:25px}.purchases-empty h2{font-size:22px}.purchases-empty p{font-size:13px;line-height:22px}}
/* A single, restrained opening motion for shared overlays and controls. */
@media(prefers-reduced-motion:no-preference){dialog[open]:not(.notification-sheet){animation:ow-dialog-in .2s cubic-bezier(.22,1,.36,1)}dialog.account-menu[open]{animation:ow-menu-in .18s cubic-bezier(.22,1,.36,1)}dialog.bottom-account-menu{transform-origin:left bottom}dialog.top-account-menu{transform-origin:right top}dialog[open]::backdrop{animation:ow-backdrop-in .16s ease-out}.button,.icon-button,.setting-row,.account-menu-links>button,.top-profile-button{transition:background .16s ease,box-shadow .16s ease,transform .16s cubic-bezier(.2,.7,.2,1)}@keyframes ow-dialog-in{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes ow-menu-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes ow-backdrop-in{from{opacity:0}to{opacity:1}}}
@media(prefers-reduced-motion:reduce){dialog[open],dialog[open]::backdrop{animation:none!important;transition:none!important}}
