/* Presentation for the home page, creation tools and delivered works. */
.visual-system :is(.photo-workflow,.memory-intro,.memory-workbench,.collection-page,.collection-form,.account-page,.product-page,.service-page,.collection-booking-page,.id-checkout-dialog,.career-checkout-dialog){
 --site-title:1.75rem;--site-section:1.25rem;
 --portrait-page-title:var(--site-title);--portrait-section-title:var(--site-section);
}
.visual-system :is(.photo-workflow,.memory-workbench,.collection-page,.collection-form,.account-page,.product-page,.service-page,.id-checkout-dialog,.career-checkout-dialog) .primary{
 min-height:52px;box-sizing:border-box;padding:12px 18px;font-size:.9375rem;line-height:1.6;border-radius:8px;
}
.visual-system :is(.photo-workflow,.memory-workbench,.collection-page,.collection-form,.account-page,.product-page,.service-page,.id-checkout-dialog,.career-checkout-dialog) .secondary{
 min-height:48px;box-sizing:border-box;padding:10px 16px;font-size:.9375rem;line-height:1.6;border-radius:8px;
}
.visual-system :is(.photo-workflow,.memory-workbench,.collection-page,.collection-form,.account-page,.product-page,.service-page,.id-checkout-dialog,.career-checkout-dialog) .text-btn{
 min-height:44px;box-sizing:border-box;font-size:.9375rem;line-height:1.6;white-space:normal;overflow-wrap:anywhere;
}
.visual-system :is(.photo-workflow,.memory-workbench) .career-panel-section :is(.focus-choices,.id-preset-row) .choice{
 box-sizing:border-box;min-height:52px;padding:12px 14px;font-size:.9375rem;line-height:1.5;border-radius:8px;
}
.visual-system :is(.work-info,.work-more,.work-save-note){
 min-width:0;margin:16px 0 0;padding:8px 0 0;border-top:1px solid var(--line);font-size:.875rem;line-height:1.75;color:var(--sub);
}
.visual-system :is(.work-info,.work-more,.work-save-note)>summary{
 display:flex;align-items:center;gap:12px;min-height:44px;box-sizing:border-box;padding:8px 0;list-style:none;cursor:pointer;color:var(--green);font-size:.875rem;line-height:1.6;
}
.visual-system :is(.work-info,.work-more,.work-save-note)>summary::-webkit-details-marker{display:none}
.visual-system :is(.work-info,.work-more,.work-save-note)>summary::after{content:"＋";margin-left:auto;flex:none}
.visual-system :is(.work-info,.work-more,.work-save-note)[open]>summary::after{content:"−"}
.visual-system :is(.work-info,.work-save-note) :is(p,li,small){font-size:.875rem;line-height:1.75;overflow-wrap:anywhere}
.visual-system .work-info dl{margin:8px 0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px}
.visual-system .work-info :is(dt,dd){margin:0;min-width:0;overflow-wrap:anywhere}
.visual-system .work-info dd{color:var(--ink)}
.visual-system .work-more>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;min-width:0}
.visual-system .work-more :is(button,a){max-width:100%;white-space:normal;overflow-wrap:anywhere}
.visual-system :is(.career-tool-footer,.career-results-footer) .work-more{margin-top:8px;width:100%}
.visual-system .work-delivery{animation:workReadyReveal .18s ease-out}
.visual-system .work-delivery :is(h3,p){overflow-wrap:anywhere}
.visual-system .work-delivery>p:empty{display:none}
.visual-system .work-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.visual-system .work-actions>:is(.primary,.secondary){min-height:52px;width:100%;margin:0}
.visual-system :is(.collection-detail-actions,.collection-trash-actions)>:is(.primary,.secondary){min-height:52px}
.visual-system .service-footer a{min-height:44px}
.visual-system .product-mine .product-archive-entry{margin-block:24px}
@keyframes workReadyReveal{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:720px){
 .visual-system :is(.photo-workflow,.memory-intro,.memory-workbench,.collection-page,.collection-form,.account-page,.product-page,.service-page,.collection-booking-page,.id-checkout-dialog,.career-checkout-dialog){--site-title:1.5rem;--site-section:1.1875rem}
 .visual-system :is(.work-info,.work-more,.work-save-note){margin-top:12px}
 .visual-system .work-info dl{grid-template-columns:minmax(0,1fr);gap:3px}
 .visual-system .work-info dd{margin-bottom:8px}
}
@media(prefers-reduced-motion:reduce){.visual-system .work-delivery{animation:none}}

/* ID delivery choices stay parallel without crowding enlarged text. */
.visual-system .id-delivery-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5em),1fr));align-items:stretch}
.visual-system .id-delivery-actions>:is(.primary,.secondary){display:flex;align-items:center;justify-content:center;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center;height:auto}
.visual-system .id-beauty-controls .id-slider{margin-block:20px}

.visual-system .id-workbench .id-effect-controls>.secondary{height:auto;min-height:52px;white-space:normal;overflow-wrap:anywhere;line-height:1.6;text-wrap:balance}

/* Separate recognition, delivery choices and returning to the editor. */
.visual-system .id-workbench .work-delivery>.checkbox{margin-block:20px 0}
.visual-system .id-workbench .work-delivery>:is(.id-delivery-actions,.id-delivery){margin-top:20px}
.visual-system .id-workbench .work-delivery>[data-id-action="back-edit"]{display:block;margin-top:12px;min-height:44px}

/* Career portraits deliver from the live workbench. */
.visual-system .career-direct-delivery{display:grid;width:100%;min-width:0;gap:14px}
.visual-system .career-direct-delivery>.checkbox{margin:0;min-height:32px;line-height:1.75}
.visual-system .career-direct-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5em),1fr));align-items:stretch}
.visual-system .career-direct-actions>:is(.primary,.secondary){display:flex;align-items:center;justify-content:center;min-width:0;min-height:52px;height:auto;margin:0;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:.9375rem;line-height:1.6}
.visual-system .career-direct-delivery>.help{margin:0;font-size:.875rem;line-height:1.6}
.visual-system .collection-checkout-dialog :is(.primary,.secondary){min-height:52px;white-space:normal;overflow-wrap:anywhere}

/* Pending ID edits must also look disabled when delivery uses native links. */
.visual-system .id-direct-delivery a[aria-disabled="true"]{opacity:.45;pointer-events:none;cursor:not-allowed}

/* Keep the full ordered sequence available to assistive technology. */
.photo-workflow-steps:has(> .workflow-step-summary) {
 container: portrait-steps / inline-size;
 position: relative;
 min-inline-size: 0;
}
.photo-workflow-steps > .workflow-step-summary {display:none}
.photo-workflow-steps > .workflow-step-item > span:last-child {white-space:nowrap}
@container portrait-steps (max-width: 18rem) {
 .photo-workflow-steps > .workflow-step-item {
  position:absolute;
  inline-size:1px;
  block-size:1px;
  overflow:hidden;
  clip-path:inset(50%);
 }
 .photo-workflow-steps > .workflow-step-summary {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:2px .4em;
  max-width:100%;
  color:var(--green);
  font-size:.8125rem;
  line-height:1.55;
 }
}
.photo-workflow-steps > .workflow-step-summary > span {white-space:nowrap}

/* The workbench has a compact header. Its progress must size to its contents. */
.visual-system .career-workbench-header:has(> .photo-workflow-steps > .workflow-step-summary) {
 display:flex;
 flex-wrap:wrap;
 gap:4px 12px;
 min-height:0;
 padding:8px clamp(10px,2vw,20px);
}
.visual-system .career-workbench-header > .photo-workflow-steps:has(> .workflow-step-summary) {
 container-type:normal;
 flex:0 1 auto;
 width:auto;
 max-width:100%;
 margin:0 0 0 auto;
}
.visual-system .career-workbench-header .workflow-step-item {
 position:absolute;
 inline-size:1px;
 block-size:1px;
 overflow:hidden;
 clip-path:inset(50%);
}
.visual-system .career-workbench-header .photo-workflow-steps > .workflow-step-summary {
 display:flex;
 flex-wrap:wrap;
 justify-content:flex-end;
 gap:2px .4em;
 color:var(--green);
 font-size:.8125rem;
 line-height:1.55;
}
.visual-system .focus-home>.primary {font-size:var(--site-control);white-space:normal;line-height:1.6}
.visual-system .focus-home .focus-service>div {min-width:0}
.visual-system .focus-home .focus-service .text-btn {white-space:normal}
.visual-system .photo-upload-style-examples>.work-info {margin-top:8px}
.visual-system :is(.photo-workflow.id-workbench,.photo-workflow.career-workbench,.memory-workbench) .career-tool-tabs {
 grid-template-columns:repeat(auto-fit,minmax(min(100%,4.1rem),1fr));
}
.visual-system :is(.photo-workflow.id-workbench,.photo-workflow.career-workbench,.memory-workbench) .career-tool-tabs button {
 min-width:0;
 padding-inline:8px;
 white-space:nowrap;
}

@media(min-width:721px) {
 .visual-system:not(.career-workspace-active):not([data-visual-page="home"]) .product-navigation {display:none}
 .visual-system:not(.career-workspace-active) .desktop-header {height:auto;min-height:84px;padding-block:12px}
 .visual-system:not(.career-workspace-active) .desktop-header nav {font-size:.875rem;flex-wrap:wrap;row-gap:6px}
 .visual-system[data-visual-page="home"] .editorial h1 {font-size:clamp(1.75rem,3.5vw,2.75rem)}
 .visual-system[data-visual-page="home"] .editorial .intro {font-size:var(--site-text)}
 .visual-system[data-visual-page="home"] .focus-service h3 {font-size:var(--site-section)}
 .visual-system[data-visual-page="home"] .focus-service p {font-size:var(--site-help)}
 .visual-system[data-visual-page="home"] .focus-service .text-btn {font-size:var(--site-control)}
 .visual-system:not(.career-workspace-active) .layout:has(.photo-workflow-upload,.memory-intro) .editorial h1 {
  font-size:clamp(1.375rem,2.7vw,2rem);
 }
}

@media(max-width:720px) {
 .visual-system .focus-home>h2 {font-size:1.6875rem;line-height:1.5;text-wrap:balance}
 .visual-system .product-navigation {
  container:portrait-nav / inline-size;
  column-gap:0;
 }
 .visual-system .product-navigation a {font-size:.75rem;line-height:1.25;min-height:44px;white-space:nowrap}
}
@container portrait-nav (max-width:22rem) {
 .product-navigation .nav-label-full {display:none}
 .product-navigation .nav-label-short {display:inline}
}

/* The login page gives the form its own headline and a compact route label. */
.visual-system .account-login-page .topbar .serif {
 font:500 var(--reading-label)/1.5 var(--reading-sans);
}
.visual-system .account-login-page>h2{
 margin:0 0 8px;font-size:var(--reading-title);line-height:1.4;letter-spacing:0;
}
.visual-system .account-login-page .lead{
 margin:0;font-size:var(--reading-body);line-height:1.75;
}
.visual-system .account-login-page .account-form>label:not(.checkbox){
 margin:16px 0 6px;font-size:var(--reading-body);line-height:1.5;
}
.visual-system .account-login-page .account-form>.checkbox{
 display:flex;align-items:flex-start;gap:8px;margin:16px 0 0;
 font-size:var(--reading-label);line-height:1.65;
}
.visual-system .account-login-page .account-form>.primary{margin-top:16px}
.visual-system .account-login-page .account-code-row{align-items:stretch}
.visual-system .account-login-page .account-code-row input{height:100%}
.visual-system .account-login-page .account-code-row button{min-width:0}
.visual-system .account-login-page .account-status{margin:16px 0 0}
.visual-system .account-login-page :is(#account-error,#account-notice):empty{margin:0;padding:0}
.visual-system .account-login-page :is(.primary,.secondary){
 font-size:var(--reading-body);line-height:1.5;
}
@media(min-width:721px){
 .visual-system:not(.career-workspace-active) .layout:has(.account-login-page){
  grid-template-columns:minmax(0,440px);justify-content:center;
 }
 .visual-system:not(.career-workspace-active) .layout:has(.account-login-page) .editorial{display:none}
 .visual-system:not(.career-workspace-active) .layout:has(.account-login-page) #app{min-height:0}
 .visual-system:not(.career-workspace-active) .layout:has(.account-login-page) .account-login-page{padding:24px 28px 32px}
}
@media(min-width:721px) and (max-width:1000px){
 .visual-system:not(.career-workspace-active) .layout:has(.account-login-page){grid-template-columns:minmax(0,390px)}
}
