.favorite-control{display:inline-flex;position:relative;flex:0 0 44px}.favorite-toggle,.detail-actions .favorite-toggle{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:8px;margin:0;border:0;border-radius:50%;background:transparent;color:#6b776d;cursor:pointer;touch-action:manipulation}.favorite-toggle:hover{background:#e8ede4}.favorite-toggle:disabled{cursor:wait;opacity:.65}.favorite-toggle:focus-visible{outline:2px solid #284c3b;outline-offset:2px}.favorite-heart{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible;transform-origin:center}.favorite-toggle[aria-pressed=true]{color:#d74455}.favorite-toggle[aria-pressed=true] .favorite-heart{fill:#d74455;stroke:#d74455}.favorite-pop .favorite-heart{animation:favorite-pop .3s ease-out both}@keyframes favorite-pop{0%{transform:scale(1)}40%{transform:scale(1.16) rotate(-3deg)}70%{transform:scale(.97) rotate(1deg)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.favorite-pop .favorite-heart{animation:none}}.favorite-error{position:absolute;z-index:4;top:100%;right:0;width:220px;max-width:calc(100vw - 40px);font-size:12px;line-height:1.6;padding:8px;border:1px solid #d1d8ca;border-radius:6px;background:#fffefb;color:#702b2b}.favorite-photo-column{width:min(180px,100%);margin-bottom:12px}.favorite-photo-column .representative-photo{margin-bottom:0}.detail-refresh .detail-actions.favorite-photo-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:8px 0 0}.detail-refresh .favorite-photo-actions .work-add-button{min-width:0;padding:10px 12px;font-size:16px;white-space:nowrap;flex:0 1 auto}.form-favorite{display:flex;justify-content:flex-end;width:180px;max-width:100%;margin:4px 0 8px}@media(max-width:600px){.form-favorite{width:150px}}.favorite-indicator{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fffefbf0;box-shadow:0 1px 3px #0003;pointer-events:none}.favorite-card-photo{display:block;position:relative}.favorite-indicator .favorite-heart{width:21px;height:21px;fill:#d74455;stroke:#d74455;stroke-width:1.5}.favorite-sort-control{display:flex;align-items:center;gap:2px;font-size:12px;white-space:nowrap}.list-filters:has(.favorite-sort-control){flex-wrap:wrap}.wc-choices{min-width:0;position:relative}.wc-edit-link,.wc-expand{background:transparent;border:0;color:#28724b;cursor:pointer;font:inherit;min-height:44px;text-align:left}.wc-edit-link{display:block;margin:-28px 0 8px auto;font-size:13px;text-decoration:underline;text-underline-offset:4px}.wc-expand{font-size:14px;padding:8px 0;overflow-wrap:anywhere}.wc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wc-grid label{display:flex;align-items:center;gap:8px;min-width:0;min-height:49px;padding:9px;border:1px solid #d1dacb;border-radius:7px;font-size:15px;cursor:pointer}.wc-grid input{flex-shrink:0;accent-color:#079d50;width:19px;height:19px}.wc-grid span{min-width:0;overflow-wrap:anywhere;line-height:1.6}.wc-grid label:has(:checked){background:#dcf7e7;border-color:#079d50}.wc-retained{margin:16px 0;padding:16px;border:1px solid #d5dfd3;border-radius:8px;background:#f5f4eb}.wc-retained h3{font-size:16px;margin:0 0 8px}.wc-retained p{font-size:12px;line-height:1.8}.wc-dialog{width:min(960px,calc(100% - 24px));height:90dvh;max-height:calc(100dvh - 16px);padding:0;border:1px solid #d5dfd3;border-radius:12px;background:#f6f7f2;color:#273c31;overflow:auto;overscroll-behavior:contain}.wc-dialog::backdrop,.wc-delete-dialog::backdrop{background:#17362799}.wc-editor{padding:24px;max-width:960px;margin:auto}.wc-editor h2{font-size:23px}.wc-editor section{background:#fffefb;border:1px solid #e0e5db;border-radius:10px;margin:20px 0;padding:20px}.wc-editor h3{font-size:17px;line-height:1.7;margin:0 0 10px;overflow-wrap:anywhere}.wc-editor h3 small{font-size:12px;font-weight:400;float:right}.wc-editor ul{list-style:none;padding:0;margin:0}.wc-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;border-top:1px solid #e4e9df;padding:8px 0;min-width:0}.wc-row:first-child{border-top:0}.wc-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:15px;line-height:1.6;font-weight:600}.wc-row-actions{display:flex;gap:4px;flex-shrink:0}.wc-row-actions button,.wc-add button,.wc-delete-dialog button{min-width:44px;min-height:44px;border:1px solid #d4dfd7;border-radius:7px;color:#063d2a;background:#fff;font:inherit;font-size:12px;padding:6px;cursor:pointer}.wc-row-actions .wc-delete{color:#8b514b;border-color:transparent;background:transparent}.wc-row-error{flex:0 0 100%;color:#9b3434;font-size:13px;line-height:1.7;margin:4px 0}.wc-entry label{display:block;font-size:13px}.wc-add{display:flex;gap:8px;margin-top:12px}.wc-add input{min-width:0;flex:1;font:inherit;font-size:16px;padding:11px;border:1px solid #bacbbf;border-radius:7px}.wc-add button{flex-shrink:0}.wc-save{display:flex;gap:10px;position:static;align-items:center;flex-wrap:wrap;margin-top:20px}.wc-save .register-button{flex:1;font-size:15px}.wc-delete-dialog{width:min(440px,calc(100% - 32px));border:1px solid #d5dfd3;border-radius:12px;background:#fffefb;padding:24px;color:#273c31;max-height:90dvh;overflow:auto}.wc-delete-dialog h3{overflow-wrap:anywhere}.wc-delete-dialog p{font-size:14px;line-height:1.8}.wc-delete-dialog button{margin:6px}.wc-dialog button:focus-visible{outline:3px solid #59856b;outline-offset:2px}@media(max-width:760px){.wc-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border:0;border-radius:0}.wc-editor{padding:16px 12px}.wc-editor section{padding:16px 10px}.wc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wc-grid label{font-size:14px;padding:8px;gap:6px}.wc-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px;padding:6px 0}.wc-name{font-size:13px;line-height:1.55}.wc-row-actions{gap:3px}.wc-row-actions button{font-size:11px;min-width:44px;padding:6px 3px}.wc-row-actions button:nth-last-child(2){min-width:64px}.wc-long .wc-name{grid-column:1/-1}.wc-long .wc-row-actions{grid-column:2}.wc-row-error{grid-column:1/-1}.wc-entry-focused .wc-editor:after{content:"";display:block;height:clamp(100px,24svh,160px);pointer-events:none}.wc-save{padding-bottom:env(safe-area-inset-bottom)}}
