.editor-photo-workspace{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;background:#f6f3ed;color:#25201c;container-type:inline-size}
.editor-photo-workspace__views{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:13px 18px;border-bottom:1px solid #d9d2c9;background:#fffdf8}
.editor-photo-workspace__views button{display:inline-flex;align-items:center;gap:8px;min-height:34px;border:1px solid transparent;border-radius:99px;padding:6px 13px;background:transparent;color:#625b54;font:600 11px/1.2 system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.editor-photo-workspace__views button[aria-selected=true]{border-color:#d1c8bd;background:#eee8df;color:#221d19}
.editor-photo-workspace__views button span{font-size:10px;font-weight:500;opacity:.7}
.article-workbench__panel-paper>header .editor-photo-workspace__views{border:0;padding:0;background:transparent}
.article-workbench__panel-dialog:not([data-active-panel="gallery"]) .editor-photo-workspace__views{display:none!important}
.article-workbench__panel-dialog[data-active-panel="gallery"] [data-workbench-panel="gallery"]:has(>[data-photo-workspace]){display:block;min-height:0;overflow:hidden;border-top:0;padding:0}
.editor-photo-workspace__tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;padding:10px 18px;border-bottom:1px solid #ded7ce}
.editor-photo-workspace__body{display:flex;flex:1;min-width:0;min-height:0;overflow:hidden}
.editor-photo-workspace__browse{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:15px}
.editor-photo-workspace__browse>[hidden],.editor-photo-workspace [hidden]{display:none!important}
.editor-photo-workspace__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));align-items:start;gap:12px;margin:0;padding:0;list-style:none}
.editor-photo-card{display:grid;min-width:0;overflow:hidden;border:1px solid #d6cec3;border-radius:11px;background:#fffdf9;transition:border-color 160ms,box-shadow 160ms}
.editor-photo-card:has([aria-pressed=true]){border-color:#99192f;box-shadow:0 0 0 1px #99192f}
.editor-photo-card__select{display:grid;gap:0;width:100%;min-width:0;border:0;padding:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.editor-photo-card__image{display:block;position:relative;overflow:hidden;height:145px;background:#e8e2d9}
.editor-photo-card__image img{display:block;width:100%;height:100%;object-fit:contain}
.editor-photo-card__image.is-cropped{aspect-ratio:var(--photo-ratio);height:auto;max-height:190px}
.editor-photo-card__image img[draggable=true]{cursor:grab}
.editor-photo-card__image img[draggable=true]:active{cursor:grabbing}
.editor-photo-card__label{overflow:hidden;padding:9px 10px 2px;color:#332a24;font:500 11px/1.4 system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}
.editor-photo-card__bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 10px 9px}
.editor-photo-card__badge{overflow:hidden;color:#756a60;font:500 10px/1.3 system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}
.editor-photo-card.is-lead .editor-photo-card__badge{color:#99192f;font-weight:700}
.editor-photo-card__bar button,.editor-photo-workspace__actions button,.editor-photo-workspace__details>header button{border:0;padding:5px 0;background:transparent;color:#822139;font:600 10px/1.3 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.editor-photo-card__add{min-height:31px;margin:0 9px 9px;border:1px solid #d5c9be;border-radius:99px;background:transparent;color:#342b25;font:600 10px/1.2 system-ui,sans-serif;cursor:pointer}
.editor-photo-card__add:disabled{border-color:transparent;color:#797168;cursor:default}
.editor-photo-card__dismiss{justify-self:center;border:0;padding:0 9px 9px;background:transparent;color:#8a7b6e;font:400 9px/1.4 system-ui,sans-serif;cursor:pointer}
.editor-photo-workspace__details{display:flex;flex:none;flex-direction:column;gap:14px;width:min(270px,44%);min-width:230px;min-height:0;overflow:auto;overscroll-behavior:contain;border-left:1px solid #d7cec4;padding:15px 17px 20px;background:#fffdf8;transition:opacity 160ms,display 160ms allow-discrete}
.editor-photo-workspace__details>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.editor-photo-workspace__details>header span{color:#7d7267;font:500 10px/1.3 system-ui,sans-serif}
.editor-photo-workspace__details figure{display:grid;gap:5px;margin:0}
.editor-photo-workspace__details figure>img{width:100%;height:125px;object-fit:contain;border-radius:7px;background:#eee8e0}
.editor-photo-workspace__details figcaption{overflow:hidden;color:#80746a;font:400 10px/1.4 system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}
.editor-photo-workspace__fields{display:grid;gap:12px}
.editor-photo-workspace__fields label{display:grid;grid-template-columns:1fr auto;gap:6px;color:#51453b;font:600 11px/1.4 system-ui,sans-serif}
.editor-photo-workspace__fields small{color:#938579;font-weight:400;font-size:10px}
.editor-photo-workspace__fields :is(input,textarea){grid-column:1/-1;width:100%;min-width:0;min-height:37px;border:1px solid #cfc3b7;border-radius:7px;padding:8px 9px;background:#fff;color:#29221d;font:400 12px/1.5 system-ui,sans-serif;resize:vertical}
.editor-photo-workspace__fields :is(input,textarea):read-only{border-color:transparent;padding-left:0;background:transparent;resize:none}
.editor-photo-workspace__save{display:grid;gap:6px}
.editor-photo-workspace__save>.button{min-height:36px;border-radius:99px;font-size:10px}
.editor-photo-workspace__save>span{color:#73675d;font-size:10px}
.editor-photo-workspace__actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px 15px;border-top:1px solid #e4dbd0;padding-top:9px}
.editor-photo-workspace__actions [data-photo-remove]{color:#8b2739}
.editor-photo-workspace__filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.editor-photo-workspace__filters button{min-height:29px;border:1px solid #d5cabe;border-radius:99px;padding:4px 10px;background:transparent;color:#6b5d52;font:600 9px/1.2 system-ui,sans-serif;cursor:pointer}
.editor-photo-workspace__filters button.is-active{border-color:#3e352d;background:#3e352d;color:#fffdf7}
.editor-photo-workspace__empty{margin:24px 0;color:#827669;text-align:center;font:400 13px/1.5 Georgia,serif}
.editor-photo-workspace__error{margin:0;padding:10px 17px;border-bottom:1px solid #e2c7be;background:#fff0e9;color:#902a3b;font:500 11px/1.5 system-ui,sans-serif}
.editor-photo-workspace :is(button,input,textarea):focus-visible,.editor-photo-workspace__views button:focus-visible{outline:2px solid #99192f;outline-offset:3px}
.editor-photo-workspace button:disabled{cursor:default;opacity:.55}
.editor-photo-workspace[data-photo-detail-open=true] .editor-photo-workspace__grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.article-workbench__panel-scroll>.individual-story-gallery:has([data-photo-workspace]){display:block;padding:0;overflow:hidden}
@starting-style{.editor-photo-workspace__details:not([hidden]){opacity:0}}
@container (max-width:560px){.editor-photo-workspace[data-photo-detail-open=true] .editor-photo-workspace__browse{display:none}.editor-photo-workspace__details{flex:1;width:100%;border-left:0;padding:15px 20px 24px}.editor-photo-workspace__details figure>img{height:150px}}
@media(prefers-reduced-motion:reduce){.editor-photo-card,.editor-photo-workspace__details{transition:none}}
