/* Home shares Writer's compact geometry; its photograph carries the editorial tone. */
@keyframes home-route-out {to {opacity:0;}}
@keyframes home-route-in {from {opacity:0;}}
html.home-nav-transition::view-transition-old(root) {animation:home-route-out 320ms cubic-bezier(.22,1,.36,1) both;}
html.home-nav-transition::view-transition-new(root) {animation:home-route-in 320ms cubic-bezier(.22,1,.36,1) both;}
@media(prefers-reduced-motion:reduce) {html.home-nav-transition::view-transition-old(root),html.home-nav-transition::view-transition-new(root) {animation:none;}}
@media screen {
  body.studio-refined.splash-home #sidebar {background:transparent;}
  body.studio-refined.splash-home #sidebar header#brand {border-bottom-color:transparent;background:transparent;}
  body.studio-refined.splash-home #main {z-index:1;background:transparent;}
  body.studio-refined.splash-home #empty {position:relative;isolation:isolate;display:flex!important;flex-direction:column;align-items:center;justify-content:center;height:auto;min-height:100%;padding:32px 0;}
  #homeBackdrop {position:fixed;z-index:0;inset:0;overflow:hidden;background:var(--surface-0);pointer-events:none;}
  body:not(.splash-home)>#homeBackdrop {display:none;}
  #homeBackdrop>img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 56%;filter:grayscale(1);opacity:.48;}
  #homeBackdrop::after {position:absolute;inset:0;content:'';background:linear-gradient(90deg,#111616b8,#1116163d 70%),linear-gradient(0deg,#111616b8,transparent 75%);}
  #homePhotoCredit {display:none;}
  body.splash-home #homePhotoCredit {position:fixed;z-index:2;right:24px;bottom:12px;display:block;padding:3px 6px;border-radius:3px;background:#11161680;color:#c0c7c4;font:400 10px/16px var(--sans);text-decoration:none;}
  body.splash-home #homePhotoCredit:hover {color:var(--text);background:#111616cc;}
  body.studio-refined #empty .studioWelcome {--home-project-width:226px;position:relative;flex:none;box-sizing:border-box;width:min(1008px,100%);max-width:1008px;margin:0 auto;padding:0 40px;}
  body.studio-refined #empty .studioHero {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:48px;}
  body.studio-refined #empty .studioHeroCopy {min-width:0;}
  body.studio-refined #empty .studioEyebrow {display:block;margin:0 0 12px;color:var(--dim);font:500 11px/18px var(--sans);letter-spacing:1.2px;}
  body.studio-refined #empty .studioHero h2 {margin:0;color:var(--text);font:400 40px/1.1 Georgia,'Times New Roman',serif;letter-spacing:-1.3px;}
  body.studio-refined #empty .studioHero h2 em {color:var(--accent);font-weight:400;}
  body.studio-refined #empty .studioHeroCopy>p {max-width:440px;margin:14px 0 16px;color:var(--dim);font:400 13px/21px var(--sans);}
  body.studio-refined #empty .studioHeroActions {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
  body.studio-refined #empty .studioHeroActions :is(.studioPrimary,.studioTextButton) {display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:28px;min-height:28px;margin:0;padding:0 9px;border:1px solid var(--line);border-radius:5px;font:500 11px/18px var(--sans);white-space:nowrap;}
  body.studio-refined #empty .studioHeroActions .studioPrimary {border-color:var(--accent);background:var(--accent);color:var(--accent-on);}
  body.studio-refined #empty .studioHeroActions .studioTextButton {background:var(--surface-2);color:var(--text);}
  body.studio-refined #empty .studioHeroActions :is(.studioPrimary,.studioTextButton):hover {filter:brightness(1.06);}
  body.studio-refined #empty .studioHeroActions svg {display:block;flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  body.studio-refined #empty .homeActionLabel {position:relative;top:var(--writer-label-offset);display:block;}
  body.studio-refined #empty .studioHeroActions .studioTextButton>.homeActionLabel {margin:0;color:inherit;}

  body.studio-refined #empty .homeDemo {min-width:0;overflow:hidden;border:1px solid #c9d1ca24;border-radius:7px;background:#202626;box-shadow:0 12px 32px #00000024;}
  body.studio-refined #empty .homeDemo #demoLink {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;height:56px;margin:0;padding:8px 12px;border:0;border-radius:0;background:var(--surface-1);color:var(--text);text-align:left;}
  body.studio-refined #empty .homeDemo #demoLink:hover {background:var(--surface-2);}
  body.studio-refined #empty .homeDemo #demoLink:focus-visible {outline-offset:-3px;}
  body.studio-refined #empty .homeDemoScript {height:212px;overflow:hidden;margin:0;padding:20px 24px 16px;mask-image:linear-gradient(#000 88%,transparent);color:#d7ddd7;text-align:left;font:400 11px/17px var(--mono);}
  body.studio-refined #empty .homeDemoScript p {margin:0 0 10px;font:inherit;color:inherit;}
  body.studio-refined #empty .homeDemoScript .homeDemoSlug {font-weight:700;}
  body.studio-refined #empty .homeDemoDialogue {width:76%;margin:0 auto;}
  body.studio-refined #empty .homeDemoDialogue>b {display:block;margin:0;text-align:center;font:inherit;}
  body.studio-refined #empty .homeDemoCopy {position:relative;top:var(--writer-label-offset);display:grid;align-content:center;gap:1px;min-width:0;}
  body.studio-refined #empty .homeDemoCopy b {margin:0;color:var(--text);font:550 13px/18px var(--sans);}
  body.studio-refined #empty #demoLink .homeDemoCopy small {display:block;margin:0;color:var(--dim);font:400 11px/16px var(--sans);}
  body.studio-refined #empty #demoLink>.homeDemoArrow {display:grid;place-items:center;flex:none;width:28px;height:28px;margin:0;border:1px solid var(--line);border-radius:5px;background:var(--surface-2);color:var(--icon-mint);}
  body.studio-refined #empty .homeDemoArrow svg {display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

  body.studio-refined #empty .systemRecentProjects {width:100%;margin:32px 0 0;padding:20px 0 0;border-top:0;}
  body.studio-refined #empty .systemHomeProjectsHead {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;margin:0 0 8px;}
  body.studio-refined #empty .systemHomeProjectsHead h3 {margin:0;font:550 14px/20px var(--sans);}
  .homeProjectUtilities {display:flex;align-items:center;gap:8px;}
  .recoveryProjectPicker {margin:0 0 8px;}
  .recoveryProjectPicker select {display:block;box-sizing:border-box;width:100%;height:28px;min-height:28px;margin:0;padding:0 8px;border:1px solid var(--line);border-radius:5px;background:var(--surface-2);color:var(--text);font:500 11px/18px var(--sans);}
  .recoveryProjectPicker[hidden] {display:none;}
  body.studio-refined #empty .systemHomeProjectsToggle {display:flex;align-items:center;height:28px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;text-align:left;box-shadow:none;}
  body.studio-refined #empty .systemHomeProjectsToggle:is(:hover,:focus-visible,[aria-expanded="true"]) {background:none;color:var(--icon-mint);box-shadow:none;transform:none;filter:none;}
  body.studio-refined #empty .systemHomeProjectsToggle:focus-visible {outline:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;}
  body.studio-refined #empty .systemRecentProjects .recentProjectList {position:relative;display:grid;grid-template-columns:repeat(auto-fill,var(--home-project-width));gap:8px;}
  body.studio-refined #empty .systemRecentProjects .recentProject {--home-project-action-inset:8px;position:relative;display:block;min-width:0;margin:0;padding:0;border:1px solid transparent;border-radius:7px;background:var(--surface-1);}
  body.studio-refined #empty .systemRecentProjects .recentProject:hover {background:var(--surface-2);}
  body.studio-refined #empty .systemRecentProjects .recentProject.current {background:color-mix(in srgb,var(--icon-mint) 8%,var(--surface-1));}
  body.studio-refined #empty .systemRecentProjects .recentProjectOpen {--home-project-inset:12px;display:flex;align-items:center;gap:var(--home-project-inset);min-height:76px;height:100%;padding:10px var(--home-project-inset)!important;}
  body.studio-refined #empty .systemRecentProjects .recentProjectGlyph {display:grid;place-items:center;flex:none;width:28px;height:28px;background:color-mix(in srgb,var(--icon-mint) 7%,transparent);color:var(--icon-mint);}
  body.studio-refined #empty .systemRecentProjects .recentProjectGlyph svg {display:block;width:16px;height:16px;stroke-width:1.8;}
  body.studio-refined #empty .systemRecentProjects .recentProjectCopy {position:relative;top:var(--writer-label-offset);display:grid;align-content:center;gap:1px;min-width:0;}
  body.studio-refined #empty .systemRecentProjects .recentProjectCopy b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:36px;font:550 13px/18px var(--sans);}
  body.studio-refined #empty .systemRecentProjects .recentProjectCopy small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 11px/16px var(--sans);}
  body.studio-refined #empty #recentProjects:not(.hasProjects) {display:block!important;}
  body.studio-refined #empty .recentProjectsEmpty {display:block;min-height:0;margin:0;padding:12px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--dim);text-align:left;}
  body.studio-refined #empty .recentProjectsEmpty>span,body.studio-refined #empty .recentProjectsEmpty>small {display:none;}
  body.studio-refined #empty .recentProjectsEmpty>b {display:block;margin:0;color:var(--dim);font:400 12px/20px var(--sans);text-align:left;}
  body.studio-refined #empty .systemRecentProjects .studioProjectActions {top:var(--home-project-action-inset);right:var(--home-project-action-inset);}
  body.studio-refined #empty .systemRecentProjects .recentProject>.recentProjectActions {position:absolute;top:var(--home-project-action-inset);right:var(--home-project-action-inset);}
  body.studio-refined #empty .studioProjectActions .recentProjectActions {width:152px;top:calc(100% + 8px);gap:2px;padding:4px;border-radius:6px;}
  body.studio-refined #empty .studioProjectActions .recentProjectActions button {display:flex;align-items:center;justify-content:flex-start;gap:6px;height:28px;min-height:28px;padding:0 8px!important;font:500 11px/18px var(--sans);}
  body.studio-refined #empty .studioProjectActions .recentProjectActions .studioProjectActionLabel {position:relative;top:var(--writer-label-offset);font:inherit;}
  body.studio-refined #empty .studioProjectActions .recentProjectActions svg {display:block;flex:none;width:14px;height:14px;}
  .homeProjectDelete,.homeProjectRename {position:relative;height:var(--writer-control-height);min-width:0;}
  .homeProjectRename>[data-recent-rename] {position:absolute;inset:0;transition:opacity 160ms ease;}
  .homeProjectRename.is-editing>[data-recent-rename] {opacity:0;pointer-events:none;}
  .homeProjectRename>.writerInlineConfirm {--inline-control-size:calc(var(--writer-control-height) - var(--writer-segment-trim));position:absolute;inset:0;grid-template-columns:minmax(0,1fr) var(--inline-control-size);height:var(--writer-control-height);}
  body.studio-refined #empty .homeProjectRenameForm input {display:block;box-sizing:border-box;width:100%;min-width:0;height:var(--inline-control-size);margin:0;padding:0 5px;border:1px solid var(--line);border-radius:3px;background:var(--surface-2);color:var(--text);font:500 11px/18px var(--sans);}
  body.studio-refined #empty .homeProjectRenameForm input:focus {outline:0;border-color:color-mix(in srgb,var(--icon-mint) 40%,var(--line));}
  .homeProjectDelete>[data-recent-delete] {position:absolute;inset:0;transition:opacity 160ms ease;}
  .homeProjectDelete.is-confirming>[data-recent-delete] {opacity:0;pointer-events:none;}
  .homeProjectDelete>.writerInlineConfirm {--inline-control-size:calc(var(--writer-control-height) - var(--writer-segment-trim));position:absolute;inset:0;height:var(--writer-control-height);}
  body.studio-refined #empty .studioProjectActions :is(.homeProjectDelete,.homeProjectRename) .writerInlineCircle {display:grid;place-items:center;justify-content:center;gap:0;box-sizing:border-box;width:var(--inline-control-size);height:var(--inline-control-size);min-width:0;min-height:0;margin:0;padding:0!important;border:1px solid color-mix(in srgb,var(--icon-mint) 35%,var(--line))!important;border-radius:3px!important;background:color-mix(in srgb,var(--icon-mint) 9%,var(--panel))!important;}
  body.studio-refined #empty .studioProjectActions .homeProjectDelete .writerInlineCircle.cancel {border-color:color-mix(in srgb,var(--icon-coral) 35%,var(--line))!important;background:color-mix(in srgb,var(--icon-coral) 8%,var(--panel))!important;}
  body.studio-refined #empty .studioProjectActions .homeProjectDelete .writerInlineCircle:hover {background:color-mix(in srgb,var(--icon-mint) 20%,var(--panel))!important;}
  body.studio-refined #empty .studioProjectActions .homeProjectDelete .writerInlineCircle.cancel:hover {background:color-mix(in srgb,var(--icon-coral) 20%,var(--panel))!important;}
  body.studio-refined #empty .studioProjectActions :is(.homeProjectDelete,.homeProjectRename) .writerInlineCircle svg {width:12px;height:12px;}
  @media(prefers-reduced-motion:reduce) {.homeProjectDelete>[data-recent-delete],.homeProjectRename>[data-recent-rename] {transition:none;}}

  @media(min-width:981px) and (max-width:1007px) {
    body.studio-refined #empty .studioWelcome {--home-project-width:calc((100vw - 104px)/4);}
    body.studio-refined #empty .studioHero {gap:40px;}
  }
}

/* The project library stays anchored to Home, with actions inside its own rows. */
body.studio-refined .systemProjectsFlyout {--library-list-height:194px;--library-edge-fade:26px;position:fixed;z-index:1300;display:flex;flex-direction:column;gap:var(--writer-content-gap,8px);box-sizing:border-box;width:360px;max-width:calc(100vw - 16px);max-height:min(248px,calc(100dvh - 16px));margin:0;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface-1);color:var(--text);box-shadow:0 12px 32px #0006;font:500 11px/18px var(--sans);}
.systemProjectsFlyout[hidden] {display:none!important;}
.systemLibraryTop {display:flex;align-items:center;gap:8px;flex:none;min-width:0;}
.systemLibraryBulk {display:flex;align-items:center;flex:none;min-width:0;}
body.studio-refined .systemProjectsFlyout .systemLibrarySearch {display:block;flex:1;min-width:0;margin:0;}
body.studio-refined .systemProjectsFlyout .systemLibrarySearch input {--field-inset:calc((var(--writer-control-height,28px) - 18px - 2px) / 2);box-sizing:border-box;display:block;width:100%;min-width:0;height:var(--writer-control-height,28px);min-height:0;margin:0;padding:calc(var(--field-inset) + var(--writer-label-offset,-1px)) 8px calc(var(--field-inset) - var(--writer-label-offset,-1px));border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--text);font:500 11px/18px var(--sans);letter-spacing:normal;appearance:none;}
.systemProjectsFlyout input::placeholder {font:inherit;color:var(--dim);opacity:1;}
.systemLibraryScroll {flex:1;min-height:0;max-height:var(--library-list-height,194px);overflow:auto;overscroll-behavior:contain;scroll-padding:var(--library-edge-fade,26px) 8px;}
.systemLibraryScroll.can-scroll-down {mask-image:linear-gradient(to bottom,#000 calc(100% - var(--library-edge-fade,26px)),transparent);}
.systemLibraryScroll.can-scroll-up {mask-image:linear-gradient(to bottom,transparent,#000 var(--library-edge-fade,26px));}
.systemLibraryScroll.can-scroll-up.can-scroll-down {mask-image:linear-gradient(to bottom,transparent,#000 var(--library-edge-fade,26px),#000 calc(100% - var(--library-edge-fade,26px)),transparent);}
.systemProjectsFlyout .recentTitle {display:none;}
body.studio-refined .systemProjectsFlyout .recentProjectList {display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:0;padding:0;}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProject {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;box-sizing:border-box;min-width:0;width:100%;height:52px;min-height:52px;margin:0;padding:8px;border:1px solid transparent;border-radius:6px;background:var(--surface-2);box-shadow:none;}
body.studio-refined .systemProjectsFlyout .recentProject.current {border-color:color-mix(in srgb,var(--icon-mint) 26%,transparent);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectOpen {grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:flex-start;gap:10px;box-sizing:border-box;min-width:0;min-height:34px;width:100%;height:34px;margin:0;padding:0!important;border:0;border-radius:0;background:transparent;text-align:left;color:var(--text);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectOpen:hover {color:var(--icon-mint);transform:none;}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectGlyph {display:grid;place-items:center;flex:none;width:24px;height:24px;border:0;border-radius:0;background:transparent;color:var(--icon-copper);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectGlyph svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.systemProjectsFlyout .recentProjectGlyph .iconAccent {stroke:var(--text);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectCopy {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 5px;min-width:0;flex:1;}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectCopy b {display:block;grid-column:1;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:550 12px/18px var(--sans);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectCopy small {display:block;grid-column:1/-1;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dim);font:400 11px/16px var(--sans);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentDuplicateName {grid-column:2;grid-row:1;align-self:center;white-space:nowrap;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-transform:none;letter-spacing:0;font:500 9px/14px var(--sans);color:var(--icon-copper,var(--dim));}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectActions {position:static;display:flex;align-items:center;justify-content:center;gap:2px;box-sizing:border-box;flex:none;width:76px;height:28px;margin:0;padding:2px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);box-shadow:none;}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectActions button {display:grid;place-items:center;box-sizing:border-box;flex:none;width:22px;height:22px;min-width:0;min-height:0;margin:0;padding:3px;border:0;border-radius:3px;background:transparent;color:var(--dim);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectActions button:hover {background:color-mix(in srgb,var(--icon-mint) 12%,var(--surface-2));color:var(--icon-mint);transform:none;}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectActions [data-recent-delete]:hover {background:color-mix(in srgb,var(--icon-rose,#c48484) 14%,var(--surface-2));color:var(--icon-rose,#d49a9a);}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProjectActions svg {display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.systemProjectsFlyout .recentProjectActions .iconAccent {stroke:currentColor;}
.systemProjectsFlyout .systemLibraryEmpty,.systemProjectsFlyout .recentProjectsEmpty {display:block;min-height:0;margin:0;padding:16px 8px;border:0;background:none;color:var(--dim);text-align:center;font:400 11px/18px var(--sans);}
.systemProjectsFlyout .recentProjectsEmpty>span,.systemProjectsFlyout .recentProjectsEmpty>small {display:none;}
.systemProjectsFlyout .recentProjectsEmpty>b {font:inherit;}
body.studio-refined .systemProjectsFlyout .systemLibraryDeleteAll {display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:max-content;height:var(--writer-control-height,28px);min-width:0;min-height:0;margin:0;padding:0 9px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--dim);font:500 11px/18px var(--sans);}
body.studio-refined .systemProjectsFlyout .systemLibraryDeleteAll:hover {background:var(--surface-2);color:var(--text);}
.systemProjectsFlyout .systemLibraryDeleteAll>span {position:relative;top:var(--writer-label-offset,-1px);}
.systemProjectsFlyout .systemLibraryDeleteAll[hidden] {display:none!important;}
.systemProjectsFlyout .is-library-editing>.recentProjectActions {display:none!important;}
.systemLibraryRowEditor {grid-column:2;grid-row:1;min-width:0;width:max-content;}
.systemLibraryRowEditor.is-rename {width:180px;max-width:48vw;}
body.studio-refined .systemProjectsFlyout .systemLibraryInline {--inline-control-size:calc(var(--writer-control-height,28px) - var(--writer-segment-trim,6px));display:grid;grid-template-columns:minmax(0,1fr) var(--inline-control-size) var(--inline-control-size);align-items:center;gap:var(--writer-segment-gap,2px);box-sizing:border-box;width:100%;height:var(--writer-control-height,28px);min-width:0;min-height:0;margin:0;padding:var(--writer-segment-inset,2px);border:var(--writer-segment-border,1px) solid var(--line);border-radius:5px;background:var(--surface-0);}
body.studio-refined .systemProjectsFlyout .systemLibraryInline.is-rename {grid-template-columns:minmax(0,1fr) var(--inline-control-size);}
.systemProjectsFlyout .systemLibraryInline:not(.is-rename):not(.is-bulk) {grid-template-columns:max-content var(--inline-control-size) var(--inline-control-size);width:max-content;max-width:100%;margin-left:auto;}
body.studio-refined .systemProjectsFlyout .systemLibraryInline.is-bulk {width:150px;grid-template-columns:minmax(0,1fr) var(--inline-control-size) var(--inline-control-size);}
.systemLibraryBulk .systemLibraryRowEditor {width:auto;}
.systemProjectsFlyout .systemLibraryInline>.writerInlineQuestion {display:grid;place-items:center;box-sizing:border-box;min-width:0;width:100%;height:var(--inline-control-size);margin:0;padding:0 8px;border:0;border-radius:3px;background:var(--surface-2);font:500 11px/18px var(--sans);}
body.studio-refined .systemProjectsFlyout .systemLibraryInline>input {--field-inset:calc((var(--inline-control-size) - 18px - 2px) / 2);box-sizing:border-box;min-width:0;width:100%;height:var(--inline-control-size);min-height:0;margin:0;padding:calc(var(--field-inset) + var(--writer-label-offset,-1px)) 6px calc(var(--field-inset) - var(--writer-label-offset,-1px));border:1px solid var(--line);border-radius:3px;background:var(--surface-2);color:var(--text);font:500 11px/18px var(--sans);outline:0;overflow:hidden;text-overflow:ellipsis;}
.systemProjectsFlyout .systemLibraryInline.is-bulk>input {text-align:center;}
body.studio-refined .systemProjectsFlyout .systemLibraryInline>.writerInlineCircle {display:grid;place-items:center;box-sizing:border-box;flex:none;width:var(--inline-control-size);height:var(--inline-control-size);min-width:0;min-height:0;margin:0;padding:3px;border:1px solid color-mix(in srgb,var(--icon-mint) 35%,var(--line));border-radius:3px;background:color-mix(in srgb,var(--icon-mint) 9%,var(--panel));color:var(--icon-mint);}
body.studio-refined .systemProjectsFlyout .systemLibraryInline>.writerInlineCircle.cancel {border-color:color-mix(in srgb,var(--icon-coral) 35%,var(--line));background:color-mix(in srgb,var(--icon-coral) 8%,var(--panel));color:var(--icon-coral);}
.systemProjectsFlyout .systemLibraryInline .writerInlineCircle svg {width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
body.studio-refined .systemProjectsFlyout .systemLibraryResults .recentProject.is-library-editing {height:52px;}
.systemProjectsFlyout .systemLibraryModified {display:none!important;}
@media print {.systemProjectsFlyout {display:none!important;}}
/* A fresh Home has no empty library, utility buttons, or orphaned divider. */
@media screen {
  body.studio-refined #empty .systemRecentProjects:not(:has(>#recentProjects.hasProjects)) {display:none;}
}

@media screen and (min-width:1400px) and (min-height:800px) {body.studio-refined #empty .studioWelcome {transform:translateY(clamp(-64px,-5vh,-32px));}}

/* Hide the scan mount edges while preserving the archival photograph itself. */
#homeBackdrop:is([data-photo="canyon-de-chelly"],[data-photo="glacier-lake"],[data-photo="grand-canyon"],[data-photo="zion"])>img {scale:1.025;}
