:root{color-scheme:dark;--bg:#101211;--surface:#191c19;--ink:#eeeae0;--muted:#b0b6a8;--line:#363c32;--gold:#d4bd85}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 Arial,sans-serif}header,main,footer{max-width:1320px;margin:auto;padding:26px 40px}header{display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--line)}header button{margin-left:auto}.brand{font:25px Georgia,serif;letter-spacing:.25em;color:var(--gold);text-decoration:none}.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--muted)}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.12}h1{font-size:clamp(36px,5vw,64px);max-width:800px;margin:18px 0 22px}h2{font-size:32px}h3{font-size:23px;margin:12px 0}p{max-width:720px}.muted,small{color:var(--muted)}.intro{padding:22px 0 28px;border-bottom:1px solid var(--line)}.layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:42px;padding-top:26px}.sidebar{border-right:1px solid var(--line);padding-right:26px}.sidebar button{display:block;width:100%;text-align:left;margin:8px 0}.selected{border-color:var(--gold)}form{display:grid;gap:14px;max-width:560px}label{display:grid;gap:6px;color:var(--muted);font-size:13px}input,select,textarea,button,.button{font:inherit;border:1px solid var(--line);border-radius:3px;background:var(--surface);color:var(--ink);padding:11px 14px;max-width:100%}input,select,textarea{width:100%}input[type=checkbox]{width:18px;height:18px;accent-color:var(--gold)}input[type=file]{padding:14px}button,.button{cursor:pointer;text-decoration:none;display:inline-block;width:fit-content}button:hover,.button:hover{border-color:var(--gold)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--gold);color:#171b16;border-color:var(--gold)}.row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.section{padding:22px 0;border-bottom:1px solid var(--line)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.frame{margin:0;border:1px solid var(--line);background:var(--surface);min-width:0}.frame img{display:block;width:100%;height:240px;object-fit:contain;background:#0b0d0b}.frame label{display:flex;align-items:center;gap:10px;padding:12px;overflow-wrap:anywhere}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-grid img{height:420px}.status{padding:15px;border:1px solid var(--line);color:var(--muted)}.link-box{padding:20px;border:1px solid var(--gold);margin-top:18px;overflow-wrap:anywhere}.job{padding:10px 0;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.review-row{padding:16px 0;border-top:1px solid var(--line)}.login{max-width:620px;margin:8vh auto}.login h1{font-size:54px}#notice{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);max-width:calc(100% - 28px);padding:10px 20px;background:var(--gold);color:#171b16;border-radius:3px;display:none;z-index:3}footer{font-size:11px;color:var(--muted);border-top:1px solid var(--line);margin-top:35px;padding-bottom:45px}a{color:var(--gold)}:focus-visible{outline:2px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}@media(max-width:740px){header,main,footer{padding:20px}header{gap:16px}.brand{font-size:20px}.eyebrow{font-size:9px}.layout{grid-template-columns:1fr;gap:15px}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px}.sidebar button{display:inline-block;width:auto;margin-right:8px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-grid{grid-template-columns:1fr}.review-grid img{height:auto;max-height:600px}.login h1{font-size:42px}.frame img{height:180px}}

.frame.is-selected{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.upload-summary{margin:0;font-size:13px}.review-status{margin-bottom:4px;font-weight:600}button:disabled{cursor:not-allowed}button[aria-busy=true]{cursor:wait}input:disabled{opacity:.65}

.section>label{max-width:560px;margin:14px 0}.review-comment{white-space:pre-wrap;overflow-wrap:anywhere}

summary{cursor:pointer;font:27px Georgia,serif;padding:8px 0}details[open]>summary{margin-bottom:16px}.delivery-controls{max-width:560px;display:grid;gap:14px}.check-option{display:flex;align-items:center;gap:10px}.delivery-caption{padding:16px;display:grid;gap:12px;overflow-wrap:anywhere}.delivery-caption p{margin:0}.delivery-caption button{width:100%}.link-box .button,.link-box button{margin:6px 8px 0 0}
.credit-card{padding:24px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.credit-card img{display:block;max-width:100%;max-height:420px;margin:18px 0;object-fit:contain}.credit-card .check-option{max-width:640px}.credit-card .row{margin-top:18px}.studio-navigation{margin-top:18px}
.studio-navigation>summary{font:14px Arial,sans-serif;color:var(--muted)}
.photo-details-toolbar{margin:12px 0 20px}.photo-details-button{margin:0 12px 14px;font-size:13px}.photo-details-dialog{width:min(640px,calc(100% - 28px));max-height:88vh;overflow:auto;padding:26px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink)}.photo-details-dialog::backdrop{background:rgb(0 0 0 / .7)}.photo-details-dialog h2{font-size:29px;margin:0}.photo-details-dialog>.row{margin-bottom:22px;align-items:flex-start}.photo-details-form{width:100%;max-width:none}.photo-details-form summary{font:14px Arial,sans-serif;color:var(--muted)}.photo-details-form .check-option{margin-bottom:9px}.photo-details-status:empty{display:none}.photo-details-status{padding:12px;border:1px solid var(--gold);overflow-wrap:anywhere}.photo-details-form textarea{resize:vertical;min-height:110px}@media(max-width:740px){.photo-details-dialog{padding:20px}.photo-details-dialog h2{font-size:25px}.photo-details-toolbar{align-items:flex-start;flex-direction:column}}

.feedback-review>label{display:grid;max-width:740px;margin:24px 0}.feedback-review textarea{min-height:110px}.feedback-marks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.feedback-marks button{width:100%;min-width:0;padding:10px 5px;min-height:44px;white-space:nowrap;font-size:14px}.feedback-marks button[aria-pressed=true]{border-color:var(--gold);background:#343b2c}.feedback-image-button{display:block;padding:0;width:100%;border:0}.frame.is-rejected img,.feedback-detail-image.is-rejected{opacity:.5}.feedback-detail-image.is-selected{outline:2px solid var(--gold);outline-offset:-2px}.feedback-detail-image{width:100%;object-fit:contain;max-height:40dvh}.feedback-dialog{overflow-wrap:anywhere}.feedback-dialog>.row h2{min-width:0;flex:1}.feedback-dialog::backdrop{background:#000b}.feedback-actions{padding:16px 0}.feedback-dialog>button{margin:10px 10px 0 0}
@media(max-width:600px){.feedback-actions{position:sticky;bottom:0;background:var(--bg);padding:14px 0 calc(14px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr}.feedback-actions button{width:100%;min-height:48px}.feedback-review .row{gap:8px}.feedback-review .row>button{flex:1;min-height:44px}.feedback-dialog{max-height:calc(100dvh - 16px);width:calc(100% - 16px);padding:18px}.feedback-detail-image{max-height:30dvh}.feedback-dialog textarea{font-size:16px}.feedback-review .review-grid img{max-height:52dvh}}
.brand{display:inline-flex;align-items:center;gap:12px}
.brand img{width:38px;height:38px;object-fit:contain}
.studio-intro{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap;padding:4px 0 10px}
.studio-intro h1{font-size:clamp(28px,4vw,40px);margin:0 auto 0 0}
.studio-intro .studio-navigation{display:inline-flex;align-items:center;min-height:44px;margin:0;font-size:13px;text-underline-offset:3px}
.project-navigation button{background:transparent}
.feedback-actions{position:sticky;top:0;bottom:auto;z-index:2;background:var(--bg);border-block:1px solid var(--line);margin:16px 0}
.feedback-actions>p:first-child{margin:0 auto 0 0;font-weight:600}
.feedback-actions .status{flex-basis:100%;margin:0;padding:0;border:0;font-size:13px}
.feedback-card-actions{display:flex;gap:8px;margin-top:8px}
.feedback-card-actions button{flex:1;min-height:44px}
.feedback-card-actions button[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}
.feedback-review .review-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}
.feedback-review .review-grid img{height:auto;aspect-ratio:4/5}
.feedback-viewer-nav{margin:10px 0}
.portfolio-draft-grid .credit-card{border:1px solid var(--line);padding:12px;background:var(--surface)}
.portfolio-draft-grid .credit-card>img{width:100%;height:auto;aspect-ratio:4/5;margin:0;object-fit:contain;background:var(--bg)}
@media(max-width:740px){
  .brand{gap:8px}
  .brand img{width:28px;height:28px}
  .feedback-review .review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .feedback-actions>p{grid-column:1/-1}
  .feedback-card-actions{flex-wrap:wrap}
  .feedback-card-actions button{padding-inline:8px}
  .feedback-viewer-nav button{font-size:13px;padding-inline:8px}
}
.version-status {
  display: block;
  padding: 0.25rem 0.75rem 0.65rem;
  opacity: 0.72;
}
.version-status.latest {
  color: var(--gold);
  opacity: 1;
}
.photo-versions {
  min-width: 0;
}
.photo-versions > details > summary {
  color: var(--muted);
  font: inherit;
  font-size: 13px;
}
.photo-versions > details > .frame + .frame {
  margin-top: 8px;
}
.delivery-actions {
  margin-top: 10px;
  gap: 8px;
}
.draft-return-form{width:100%;max-width:none}.draft-return-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}.draft-return-comparison figure{margin:0;min-width:0;background:var(--surface);border:1px solid var(--line);padding:10px}.draft-return-comparison img{display:block;width:100%;height:180px;object-fit:contain}.draft-return-comparison figcaption{font-size:13px;overflow-wrap:anywhere;margin-top:8px}.draft-return-form>button{min-height:44px}.draft-return-form>label{margin-block:18px}@media(max-width:480px){.draft-return-comparison{gap:8px}.draft-return-comparison figure{padding:6px}.draft-return-comparison img{height:130px}}
.credit-selection-preview{display:block;width:100%;max-height:240px;object-fit:contain;background:var(--surface);border:1px solid var(--line);margin:0 0 18px}.credit-selection-preview[hidden]{display:none}
@media(max-width:480px){header>.eyebrow{display:none}header .brand,header button{white-space:nowrap}header button{flex-shrink:0}.portfolio-draft-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.feedback-card-actions{display:grid;grid-template-columns:minmax(0,1fr)}.feedback-card-actions button{width:100%;white-space:nowrap}}
.workspace-project-controls{display:grid;gap:12px;margin-bottom:18px}.workspace-project-controls>button{font-size:12px;margin:0}.workspace-project-count{font-size:12px;margin:0}.workspace-project-row{padding:8px 0;border-bottom:1px solid var(--line)}.workspace-project-row>button{margin:0 0 2px;overflow-wrap:anywhere}.workspace-project-row>small{display:block;font-size:11px}.workspace-project-row>button[aria-pressed=true]{border-color:var(--gold)}@media(max-width:740px){.workspace-project-controls{grid-template-columns:1fr 1fr}.workspace-project-controls>label:first-child{grid-column:1/-1}.workspace-project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-project-row>button{width:100%;text-align:left}}
#notice{width:max-content;max-width:calc(100% - 32px);line-height:1.4;font-size:14px;box-shadow:0 4px 18px #0006;pointer-events:none}

.project-settings>summary{cursor:pointer;color:var(--muted);font-size:14px}.project-settings form{margin-top:18px}.project-settings input{width:100%;min-width:0}.project-settings{overflow-wrap:anywhere}
.feedback-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.feedback-filters button{width:100%;min-height:44px;padding:10px 6px;font-size:13px}.feedback-filters button[aria-pressed=true]{background:#343b2e;border-color:var(--gold);color:var(--ink)}@media(max-width:360px){.feedback-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

.photo-details-previews{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding-bottom:8px}.photo-details-previews figure{margin:0;flex:0 0 125px;min-width:0}.photo-details-previews img{width:125px;height:110px;object-fit:contain;background:var(--surface)}.photo-details-previews figcaption{font-size:11px;overflow-wrap:anywhere;color:var(--muted)}

.photo-details-dialog[aria-labelledby=photo-details-title]>.row{position:sticky;top:-24px;background:var(--bg);z-index:2;padding-block:10px;border-bottom:1px solid var(--line)}

/* One contact sheet with workflow controls tied to exact photo versions. */
.project-contact-sheet{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;align-items:start;max-block-size:min(66dvh,760px);overflow:auto;padding:5px;scroll-padding:5px}
.project-contact-sheet .frame{min-width:0}
.project-photo-preview{display:block;width:100%;padding:0;border:0}
.project-contact-sheet .project-photo-preview img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.project-contact-sheet .frame label{min-width:0;padding:4px 7px;min-height:33px;gap:6px}
.project-contact-sheet .frame label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-contact-sheet .frame label input{flex:none;margin:0}
.project-photo-actions{display:flex;flex-wrap:wrap;gap:3px;padding:0 3px 4px}
.project-photo-actions button{font-size:11px;padding:4px 5px;margin:0;min-height:30px}
@media(max-width:740px){.project-photo-actions button{min-height:44px}}
.project-contact-sheet .version-status,.project-photo-marker{display:block;font-size:11px;padding:2px 7px}
.project-contact-sheet .is-context-marked{border-color:#91bdaa}
.project-photo-marker{background:#253932;color:#d9eee5}
.project-contact-sheet .is-selected{outline:2px solid var(--gold);outline-offset:1px}
.project-contact-sheet .photo-versions summary{font:12px/1.5 Arial,sans-serif}
.project-navigation button[aria-pressed=true]{background:#30372b;border-color:var(--gold)}
.project-mode-hint{margin-block:10px;font-size:13px}
.project-upload{margin-top:12px}
.project-upload>summary{font:15px/1.5 Arial,sans-serif;color:var(--gold)}
.project-photo-dialog img{display:block;width:100%;max-height:68dvh;object-fit:contain}
.project-photo-dialog h2{overflow-wrap:anywhere;min-width:0;font-size:22px}
.project-settings-slot{margin-block:12px}
@media(max-width:740px){
  .project-contact-sheet{grid-template-columns:repeat(2,minmax(0,1fr));max-block-size:none;overflow:visible}
}

.project-contact-sheet-readonly .frame img{height:auto;aspect-ratio:4/3}
.project-navigation+button,.project-tools>button{font-size:13px;margin-top:10px}
.delivery-photo-grid img{height:auto;aspect-ratio:4/3}
.studio-release-preview{display:block;width:96px;height:72px;object-fit:contain;margin-block:8px}
.delivery-photo-open{display:block;width:100%;padding:0;border:0;border-radius:0}
.delivery-photo-open:focus-visible{outline-offset:-4px}
.shared-photo-viewer{width:min(760px,calc(100% - 28px));max-height:88dvh}
.shared-photo-viewer>.shared-photo-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.shared-photo-viewer .shared-photo-preview{display:block;width:100%;max-width:none;height:min(52dvh,540px);max-height:none;margin:0;object-fit:contain;background:var(--surface)}
.shared-photo-viewer button{min-height:44px}
.shared-photo-viewer [role=status]:empty{display:none}
@media(max-width:480px){.shared-photo-viewer{padding:14px}}
.delivery-photo-grid .delivery-caption p{font-size:13px;color:var(--muted)}
@media(min-width:741px){.delivery-photo-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}

/* Keep the project library within reach without putting it above the photos on mobile. */
.studio-layout{padding-top:16px}
.studio-project-list>summary{font-size:23px;padding:0 0 8px}
.studio-project-list[open]>summary{margin-bottom:8px}
.studio-project-title{margin:0 0 4px;overflow-wrap:anywhere}
.studio-project-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;margin-bottom:6px;font-size:13px}
.studio-project-meta>.eyebrow{text-transform:uppercase}
.studio-project-photos{padding-top:4px;container-type:inline-size}
.studio-project-photos .project-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,480px);margin-top:6px;gap:6px}
.studio-project-photos .project-navigation button{width:100%;min-width:0;min-height:44px;padding:4px;line-height:1.2;font-size:.8125rem}
@container (max-width: 24rem){
  .studio-project-photos .project-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.proof-upload-recovery:empty{display:none}
.proof-upload-remaining{margin-block:10px;overflow-wrap:anywhere}
.proof-upload-remaining ul{max-block-size:10rem;overflow:auto;padding-inline-start:24px}
.proof-upload-actions{margin-block-start:12px}
.studio-photo-toolbar{position:sticky;top:0;z-index:2;background:var(--bg);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 14px;margin:5px 0 4px;border-bottom:1px solid var(--line)}
.studio-photo-shortcuts{gap:0 8px}
.studio-photo-shortcuts .photo-details-toolbar{margin:0;gap:6px}
.studio-photo-shortcuts small:empty{display:none}
.studio-selection-note{color:var(--gold);font-size:12px}
.project-contact-sheet,.project-contact-sheet .frame{scroll-margin-top:9rem}
.studio-photo-shortcuts button{min-height:44px;padding:5px 10px;font-size:13px}
/* The jump link and editing action sit below the workflow tabs. */
.studio-controls-shortcut{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 6px;color:var(--gold);font-size:13px;text-underline-offset:3px}
.studio-controls-shortcut:hover{color:var(--ink)}
.studio-photo-shortcuts .photo-details-toolbar button{background:#26372f;border-color:#53685c;color:var(--ink)}
.studio-photo-shortcuts .photo-details-toolbar button:disabled{opacity:.55;cursor:default}
.studio-project-photos .project-mode-hint{margin:6px 0;font-size:13px}
@media(max-width:960px){
  main:has(.studio-layout){padding-top:8px}
  header:has(+main .studio-layout){padding-block:8px}
  .studio-intro{gap:0 10px;padding:0 0 2px}
  .studio-intro h1{font-size:25px}
  .studio-intro .studio-navigation{font-size:12px}
  .studio-layout{grid-template-columns:minmax(0,1fr);gap:8px;padding-top:8px}
  .studio-layout .sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 4px}
  .studio-layout .project-contact-sheet{grid-template-columns:repeat(auto-fill,minmax(min(140px,46%),1fr));max-block-size:none;overflow:visible}
  .studio-project-list>summary{font:14px/1.4 Arial,sans-serif;min-height:44px;padding:12px 0 8px;color:var(--gold)}
  .studio-project-title{font-size:clamp(23px,6vw,30px)}
}

.studio-permission-dialog>.row{flex-wrap:nowrap;align-items:center;margin-bottom:14px}
.studio-permission-dialog>.studio-details-nav{margin-bottom:8px}
.studio-permission-dialog>.row h2{font-size:clamp(19px,5.5vw,26px)}
.studio-permission-dialog>.row button{flex:none;min-height:44px}

.studio-details-hero{display:grid;gap:8px;margin-bottom:12px}
.studio-details-hero>img{width:100%;max-height:55dvh;object-fit:contain;background:#0b0d0b}
.studio-details-hero>p{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.studio-details-hero>img,.credit-composer-photo>img,.publication-version-focused .publication-version-identity>img{touch-action:pan-y pinch-zoom}
.studio-details-identity{min-width:0;text-align:center;font-size:12px}
.studio-details-identity p{margin:0;overflow-wrap:anywhere}
.studio-details-nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
.studio-details-nav button{min-height:44px;margin:0;padding:4px 6px;border-color:transparent;background:transparent;color:var(--gold);font-size:13px;line-height:1.2}
.studio-details-nav button:disabled{color:var(--muted);opacity:.55}
.studio-details-edit-actions{display:flex;justify-content:center;margin-top:8px}
.studio-details-edit-actions .photo-details-button{min-height:44px;margin:0}

.studio-project-workspace .studio-project-links{
  display:flex;align-items:center;flex-wrap:wrap;gap:0 14px;
  border-bottom:1px solid var(--line);margin-bottom:16px
}
.studio-project-links .studio-project-back,.studio-project-links .studio-project-list>summary{
  min-height:44px;margin:0;padding:8px 0;color:var(--gold);
  font:13px/28px Arial,sans-serif
}
.studio-project-links .studio-project-back{border:0;background:none;text-decoration:underline;text-underline-offset:3px}
.studio-project-links .studio-project-list{position:relative;margin-right:auto}
.studio-project-switcher{
  position:absolute;inset-inline-start:0;top:100%;z-index:4;width:min(18rem,calc(100vw - 36px));
  max-height:min(65dvh,28rem);overflow:auto;
  padding:12px;border:1px solid var(--line);background:var(--surface);border-radius:4px;box-shadow:0 8px 28px #0008
}
.studio-project-switcher input,.studio-project-switcher .quick-project-list button{width:100%}
.studio-project-workspace .studio-project-title{font-size:clamp(26px,4vw,40px)}
.studio-project-workspace .studio-project-photos .project-navigation{
  display:flex;flex-wrap:wrap;width:100%;gap:2px 8px;border-bottom:1px solid var(--line)
}
.studio-project-workspace .project-navigation button{
  width:auto;flex:0 1 auto;padding-inline:12px;border-color:transparent;color:var(--muted)
}
.studio-project-workspace .project-navigation button[aria-pressed=true]{border-color:var(--gold);color:var(--ink)}
.studio-project-workspace .studio-photo-toolbar{border-block:1px solid var(--line)}
.studio-project-workspace .studio-selection-bar>span{color:var(--ink);font-weight:600}
.studio-project-workspace .studio-controls-shortcut{padding-inline:10px;background:#28271f;border:1px solid #5c543d;border-radius:3px;text-decoration:none}
.studio-project-workspace .project-contact-sheet:not(.project-contact-sheet-readonly){
  grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;padding:4px;max-block-size:min(66dvh,760px)
}
.studio-project-workspace .project-contact-sheet .photo-versions .frame{
  background:transparent;border-color:transparent;box-shadow:none
}
.studio-project-workspace .project-contact-sheet .is-selected{outline:none}
.studio-project-workspace .frame.is-selected .project-photo-preview{outline:2px solid var(--gold);outline-offset:-2px}
.studio-project-workspace .frame.is-context-marked .project-photo-preview{border-bottom:2px solid #91bdaa}
.studio-project-workspace .studio-photo-caption{
  display:flex;align-items:center;justify-content:space-between;gap:4px
}
.studio-project-workspace .studio-photo-caption label{padding:4px 0}
.studio-project-workspace .studio-photo-caption .project-photo-actions{flex:none;padding:0}
.studio-project-workspace .project-photo-actions button{
  min-height:44px;background:none;border-color:transparent;color:var(--gold);font-size:12px
}
.studio-project-workspace .project-contact-sheet .version-status{padding:0;color:var(--muted)}
.studio-project-workspace .photo-versions summary{color:var(--muted)}
.studio-project-workspace .project-contact-sheet .empty-proofs{grid-column:1/-1}
dialog.studio-permission-dialog{width:min(calc(100% - 24px),880px)}
.studio-photo-mode-slot:empty{display:none}
.studio-photo-modes{display:flex;gap:6px;margin:0 0 16px;border-bottom:1px solid var(--line)}
.studio-photo-modes button{min-height:44px;padding:6px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-size:13px}
.studio-photo-modes button[aria-pressed=true]{border-bottom-color:var(--gold);color:var(--ink)}
.studio-photo-modes button:hover{color:var(--gold)}
@media(max-width:380px){.studio-photo-modes{gap:2px}.studio-photo-modes button{padding-inline:6px;font-size:12px}}
.studio-inspector-layout,.publication-version-focused.studio-inspector-layout{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px
}
.studio-inspector-tools{min-width:0}
.studio-inspector-layout .studio-details-hero>img,
.studio-inspector-layout .credit-composer-photo img,
.publication-version-focused.studio-inspector-layout .publication-version-identity>img{
  width:100%;max-height:50dvh;aspect-ratio:4/3;object-fit:contain;background:#0b0d0b;border:0
}
@media(max-width:960px){
  .studio-project-workspace .project-contact-sheet:not(.project-contact-sheet-readonly){
    grid-template-columns:repeat(2,minmax(0,1fr));max-block-size:none;overflow:visible
  }
}
@media(max-width:650px){
  .studio-inspector-layout,.publication-version-focused.studio-inspector-layout{grid-template-columns:minmax(0,1fr);gap:12px}
  .studio-inspector-layout .studio-details-hero>img,
  .studio-inspector-layout .credit-composer-photo img,
  .publication-version-focused.studio-inspector-layout .publication-version-identity>img{max-height:40dvh}
}
@media(max-width:480px){
  .studio-project-workspace .studio-project-links{
    position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);
    justify-items:start;margin-bottom:10px;gap:0 14px
  }
  .studio-project-links .studio-project-list{position:static;margin:0}
  .studio-project-workspace .project-navigation button{padding-inline:7px}
  .studio-project-workspace .studio-photo-caption .project-photo-actions button{font-size:11px;padding-inline:2px}
}
.studio-metadata>summary{font:inherit;color:var(--gold)}
.studio-metadata .photo-details-form{margin:4px 0 10px}
.photo-details-form>button{justify-self:start}
.studio-metadata-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.studio-metadata-fields>div:has(textarea){grid-column:1/-1}
.studio-metadata-fields input,.studio-metadata-fields textarea{padding:6px 9px}
.studio-metadata-fields textarea{field-sizing:content;min-height:42px;max-height:32dvh}
.photo-tag-editor{min-width:0;border-top:1px solid var(--line);margin:8px 0;padding-top:4px}
.photo-tag-header,.photo-tag-heading{display:flex;align-items:center;gap:8px}
.photo-tag-header{justify-content:space-between}
.photo-tag-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.photo-tag-footer>button:last-child{margin-left:auto;min-height:36px;padding:2px 4px;border:0;background:transparent;color:var(--gold);font-size:12px}
@media(pointer:coarse){.photo-tag-footer>button:last-child{min-height:44px;min-width:44px}}
.photo-tag-heading h3,.photo-tag-cloud h4{font:600 12px/1.4 Arial,sans-serif;margin:0}
.photo-tag-heading span,.photo-tag-empty{font-size:12px}
.photo-tag-cloud h4{margin:6px 0}
.photo-tag-header button,.photo-tag-more,.photo-tag-removal button{min-height:32px;padding:2px 4px;border:0;background:transparent;color:var(--gold);font-size:12px;text-align:left}
.photo-tag-removal{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.photo-tag-removal span{min-width:0;overflow-wrap:anywhere}
.photo-tag-removal button{flex:none;text-decoration:underline;text-underline-offset:3px}
.tag-chip-list{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 6px}
.tag-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:26px;padding:0 9px;border:1px solid var(--line);border-radius:16px;background:var(--surface);font-size:12px;overflow-wrap:anywhere}
.tag-chip>span{min-width:0}
.tag-chip small{flex:none;font-size:11px}
.tag-chip button{flex:none;margin:0;padding:0;min-width:24px;min-height:24px;border:0;border-radius:50%;background:transparent;color:var(--muted)}
.tag-chip button:hover,.tag-chip button:focus-visible{color:var(--ink);background:#343d34}
.photo-tag-editor.is-editing .tag-chip{padding-right:2px}
.photo-tag-empty{margin:2px 0 4px}
.photo-tag-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;max-width:none}
.photo-tag-form>input,.photo-tag-form>button{min-height:36px;padding:5px 10px;font-size:13px}
.photo-tag-form>input{min-width:0}
.photo-tag-suggestions{margin-top:6px}
.photo-tag-suggestion-label{font-size:12px;color:var(--muted);margin:0}
.photo-tag-suggestion-row{display:flex;gap:6px;overflow-x:auto;padding:3px 0;scrollbar-width:thin}
.photo-tag-suggestion-row button{flex:none;max-width:100%;min-height:26px;padding:1px 9px;border:1px solid #51492f;border-radius:15px;background:#231f15;color:var(--gold);font-size:12px;overflow-wrap:anywhere}
.photo-tag-suggestion-row button:focus-visible{outline-offset:-3px}
.photo-tag-editor>.photo-details-status{padding:0;border:0;font-size:13px;color:var(--muted)}
.photo-tag-editor>.photo-tag-announcement{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.photo-tag-editor>.photo-tag-announcement:empty{display:block}
@media(pointer:coarse){
  .photo-tag-header button,.photo-tag-more,.photo-tag-removal button,.photo-tag-form>input,.photo-tag-form>button{min-height:44px;min-width:44px}
  .photo-tag-form>input{font-size:16px}
  .photo-tag-editor.is-editing .tag-chip,.photo-tag-suggestion-row button{position:relative;isolation:isolate;min-height:44px;min-width:44px;border:0;background:transparent}
  .photo-tag-editor.is-editing .tag-chip::before,.photo-tag-suggestion-row button::before{content:'';position:absolute;inset:9px 0;z-index:-1;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
  .photo-tag-suggestion-row button::before{border-color:#51492f;background:#231f15}
  .tag-chip button{min-width:44px;min-height:44px}
}
@media(max-width:740px){.studio-details-hero>img{max-height:44dvh}}
@media(max-width:380px){.studio-details-nav button{padding-inline:5px;font-size:12px}}
.studio-credit-pending{color:var(--gold);font-size:13px}
.studio-permission-batch{margin-bottom:12px}

.studio-selection-bar{display:flex;align-items:center;flex-wrap:wrap;gap:0 10px;min-height:44px;color:var(--muted);font-size:12px}
.studio-selection-bar button{padding:0 3px;min-height:34px;border:0;background:transparent;color:var(--gold);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.studio-selection-bar button:disabled{cursor:default;text-decoration:none}
@media(pointer:coarse){.studio-selection-bar button{min-height:44px}}
.studio-library{max-width:1120px;margin:0 auto}
.project-library-title-bar{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;margin-bottom:10px}
.project-library-title{font-size:clamp(27px,4vw,40px);margin:0}
.project-library-title-bar>button{min-height:44px;padding:7px 12px;font-size:13px}
.project-create-dialog .studio-create-project{margin-top:16px}
.project-create-dialog .row{justify-content:flex-end}
.project-create-status{margin:0}
.project-create-status:empty{display:none}
.project-library-top,.project-library-tabs,.project-library-links,.project-library-summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
.project-library-top{justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:16px}
.project-library-tabs{gap:2px 12px}
.project-library-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;min-height:44px;padding:4px 5px;margin:0;color:var(--muted);font-size:14px}
.project-library-tabs button[aria-pressed=true]{border-bottom-color:var(--gold);color:var(--gold)}
.project-library-links a{display:inline-flex;align-items:center;min-height:44px;margin:0;font-size:13px;text-underline-offset:3px}
.project-library-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.project-library-controls>button,.project-library-summary button{min-height:44px;margin:0}
.project-library-search-row{position:relative;min-width:0;z-index:2}
.project-library-search{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:4px;padding:0 8px}
.project-library-search:focus-within{border-color:var(--gold)}
.project-library-search input{display:block;min-width:0;min-height:42px;border:0;background:transparent;padding:6px 2px;outline-offset:-3px;margin:0}
.project-library-chips{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:0 6px}
.project-library-chips button{min-height:32px;max-width:100%;margin:0;padding:3px 0;border:0;background:transparent;font-size:12px;overflow-wrap:anywhere}
.project-library-chips button span{display:inline-block;padding:3px 9px;border-radius:999px;background:#30372b;color:var(--gold)}
.project-library-chips button:hover span,.project-library-chips button:focus-visible span{background:#3c4535}
.project-search-suggestions{position:absolute;inset:calc(100% + 3px) 0 auto;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 18px #0008;max-height:min(360px,50dvh);overflow:auto}
.project-search-help{margin:8px 10px;color:var(--muted);font-size:12px}
.project-search-option{display:grid;min-height:44px;align-content:center;padding:6px 10px;overflow-wrap:anywhere;cursor:pointer}
.project-search-option:hover,.project-search-option[aria-selected=true]{background:#30372b}
.project-search-option[aria-disabled=true]{cursor:default;color:var(--muted)}
.project-search-option small{color:var(--muted);font-size:12px}
.project-library-dates{width:min(340px,calc(100vw - 32px));padding:14px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);box-shadow:0 8px 20px #0009}
.project-library-dates:not(:popover-open){display:none}
.project-library-dates:popover-open{display:grid;gap:12px}
@supports(position-area:bottom span-left){
  .project-library-dates{inset:auto;margin:6px 0;position-area:bottom span-left;justify-self:end;position-try-fallbacks:flip-block}
}
.project-library-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.project-library-dates label{min-width:0}
.project-library-dates input{min-width:0;min-height:44px;padding:8px}
.project-library-date-actions{justify-content:flex-end;gap:8px}
.project-library-date-actions button{min-height:44px;padding:6px 11px;font-size:13px}
.project-library-date-summary{grid-column:1/-1;justify-self:end;margin:0;color:var(--muted);font-size:12px}
@media(pointer:coarse){.project-library-chips button{min-height:44px}.project-library-tabs button{min-width:44px}}
.project-library-summary p{margin:5px 0}
.project-library-summary button{padding:0 6px;border:0;background:none;color:var(--gold);text-decoration:underline;text-underline-offset:3px;font-size:13px}
.project-library-month{margin:16px 0 10px;border-bottom:1px solid var(--line);padding-bottom:7px;color:var(--gold);font:600 12px/1.4 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.project-library-grid+.project-library-month{margin-top:32px}
.project-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.project-library-item{min-width:0;position:relative;padding-bottom:4px}
.project-library-item button.project-library-star{position:absolute;right:5px;top:5px;width:44px;min-height:44px;text-align:center;background:#121611ed;color:var(--gold);border:1px solid var(--line);border-radius:4px;font-size:18px}
.curation-library-link{display:grid;gap:3px;color:var(--ink);text-decoration:none}
.project-library-top{border-bottom:0;margin-bottom:0}
.project-library-tabs{gap:4px 10px}
.studio-project-photos.is-gallery .project-contact-sheet{max-height:none;overflow:visible}
.studio-project-photos.is-gallery .studio-photo-caption{padding-block:1px}
.studio-project-photos.is-gallery .version-status{color:var(--muted)}
.studio-project-photos.is-gallery .project-photo-preview{aspect-ratio:4/3}
.studio-project-photos.is-gallery .project-photo-preview img{width:100%;height:100%;object-fit:contain}
.studio-gallery-viewer{width:min(1080px,calc(100% - 24px));max-height:96dvh}
.studio-gallery-viewer .studio-details-hero>img{max-height:68dvh}
.studio-gallery-viewer .studio-details-edit-actions{flex-wrap:wrap;gap:6px}
.studio-profile-photo-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;min-width:0}
.studio-profile-photo-tools:empty{display:none}
.studio-profile-photo-tools button{padding:6px 8px;color:var(--gold);background:transparent;border:0;min-height:36px}
.studio-curation-picker{width:min(620px,calc(100% - 24px));max-height:88dvh}
.studio-curation-picker>input{width:100%}
.curation-picker-results{display:grid;gap:5px;margin:12px 0;max-height:36dvh;overflow:auto}
.curation-picker-results button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;overflow-wrap:anywhere}
.curation-picker-results button small{flex:none;color:var(--muted)}
.studio-curation-picker form,.curation-new{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.studio-curation-picker form[hidden],.curation-new[hidden]{display:none}
.portfolio-workspace-tabs{display:flex;flex-wrap:wrap;gap:2px 10px;border-bottom:1px solid var(--line);margin:12px 0 22px}
 .portfolio-workspace-tabs[hidden]{display:none}
.portfolio-workspace-tabs button{min-height:44px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:5px 10px}
.portfolio-workspace-tabs button[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}
.studio-curation{margin:20px 0}
.curation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:20px;margin:16px 0}
.studio-curation .curation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.curation-grid[data-layout=editorial],.curation-grid[data-layout=comp]{grid-template-columns:minmax(0,1fr);max-width:780px;margin-inline:auto}
.curation-grid[data-layout=comp]{max-width:540px}
.curation-grid img,.curation-viewer img{width:100%;height:auto;object-fit:contain;display:block}
.curation-viewer img{max-height:62dvh;touch-action:pan-y pinch-zoom}
.curation-card{min-width:0;padding-bottom:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.curation-card h3{margin:8px 0 4px}
.curation-cover{display:grid;place-items:center;width:100%;aspect-ratio:5/4;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:3px}
.curation-cover img{width:100%;height:100%;object-fit:cover}
.curation-image-button{display:block;width:100%;padding:0;border:0;background:transparent}
.curation-state{display:inline-block;border-radius:50px;background:#2b2920;color:#f0d89b;padding:3px 8px;font-size:.78rem;line-height:1.3}
.curation-state.is-ready{background:#25382d;color:#bce2cc}
.curation-recipient{max-width:1100px;margin-inline:auto}
.curation-presentation-note{white-space:pre-line}
.curation-recipient-photo{margin:0;min-height:150px;display:grid;gap:8px;align-content:start}
.curation-recipient-photo button{justify-self:start}
@media(max-width:680px){
  .studio-curation .curation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .studio-gallery-viewer .studio-details-hero>img{max-height:54dvh}
}
.project-library-item button{display:block;width:100%;padding:0;text-align:left;color:var(--ink);background:transparent;border:0;margin:0;overflow-wrap:anywhere}
.project-library-cover{aspect-ratio:4/3;background:var(--surface);border:1px solid var(--line);border-radius:4px;overflow:hidden}
.project-library-cover img{display:block;width:100%;height:100%;object-fit:cover}
.project-library-card-title{display:block;margin-top:6px;font-weight:600}
.project-library-item small{display:block;margin-top:2px;color:var(--muted);font-size:12px}
.project-library-pages{margin-block:16px}
.project-library-pages button{min-height:44px}
.quick-project-list.workspace-project-list{display:grid;grid-template-columns:1fr;gap:5px;margin-block:8px}
.quick-project-list button{margin:0;text-align:left;min-height:44px;white-space:normal;overflow-wrap:anywhere}
.quick-project-list button[aria-pressed=true]{border-color:var(--gold)}
.project-metadata-form{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}
@media(max-width:960px){.project-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
  .project-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .project-library-top{gap:0 8px;margin-bottom:10px}
  .project-library-tabs{gap:2px 8px}
  .project-library-tabs button{font-size:13px}
  .project-library-links a{font-size:12px}
  .project-library-search input,.project-library-dates input{font-size:16px}
}

.beta-feedback-dialog{width:min(620px,calc(100% - 24px));max-height:90dvh;overflow:auto}.beta-feedback-dialog textarea{width:100%;box-sizing:border-box}.beta-feedback-dialog label{display:block;margin-top:12px}.beta-usage{display:grid;grid-template-columns:max-content 1fr;gap:8px 20px}.beta-usage dd{margin:0}@media(max-width:600px){.beta-usage{grid-template-columns:1fr;gap:4px}.beta-usage dd{margin-bottom:10px}}

.beta-feedback-dialog{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:3px;padding:20px}.beta-feedback-dialog::backdrop{background:rgba(0,0,0,.72)}.beta-feedback-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.beta-feedback-heading h2{font-size:28px;margin:0}.beta-feedback-heading button{flex-shrink:0}.beta-feedback-dialog form{gap:8px;max-width:none}.beta-feedback-dialog p.muted{font-size:12px;line-height:1.5}.beta-feedback-dialog label{margin-top:8px}.beta-feedback-dialog textarea{resize:vertical}@media(max-width:600px){.beta-feedback-heading h2{font-size:24px}}
