/* Four restrained stages; real project files remain selectable in the Finder. */
.gy-workflow { display: grid; grid-template-columns: minmax(174px, 19%) minmax(0, 1fr); gap: 16px; margin-top: 28px; color: var(--gy-text); container-type: inline-size; }
.gy-workflow, .gy-workflow *, .gywf-dialog, .gywf-dialog * { box-sizing: border-box; }
.gy-workflow button, .gy-workflow a, .gywf-dialog button, .gywf-dialog a, .gywf-dialog select { visibility: visible !important; }
.gywf-nav { padding: 28px 18px 35px 24px; }
.room .gywf-nav h2 { margin: 0 0 25px; color: var(--gy-muted); font: 500 14px/1.5 var(--sans); }
.gywf-tabs { display: grid; gap: clamp(19px, 3.8cqw, 43px); }
.gywf-tab { position: relative; display: flex; align-items: flex-start; gap: 13px; width: 100%; min-height: 79px; padding: 14px 0; border: 0; color: var(--gy-text); background: none; font-family: var(--sans); text-align: left; cursor: pointer; }
.gywf-number { flex: none; width: 25px; padding-top: 1px; color: var(--gy-muted); font: 400 16px/1.6 ui-monospace, monospace; }
.gywf-tab-text { display: grid; min-width: 0; gap: 7px; }
.gywf-tab-text strong { font: 500 clamp(14px, 1.7cqw, 18px)/1.5 var(--sans); }
.gywf-tab-text small { color: var(--gy-muted); font: 400 clamp(11px, 1.18cqw, 13px)/1.6 var(--sans); }
.gywf-tab::before { position: absolute; top: 14px; bottom: 16px; left: -13px; width: 3px; border-radius: 3px; background: transparent; content: ""; }
.gywf-tab.is-selected, .gywf-tab:hover, .gywf-tab.is-selected .gywf-number { color: var(--gy-blue); }
.gywf-tab.is-selected::before { background: var(--gy-blue); }
.gywf-panel { min-width: 0; padding: 25px 25px 17px; overflow: hidden; }
.room .gywf-label { margin: 0 0 10px; color: var(--gy-blue); font: 400 14px/1.5 var(--sans); }
.room .gywf-copy h3 { margin: 0 0 11px; color: var(--gy-text); font: 600 clamp(20px, 2.45cqw, 28px)/1.45 var(--sans); letter-spacing: -.025em; }
.room .gywf-description { margin: 0 0 19px; max-width: none; color: var(--gy-muted); font: 400 clamp(13px, 1.55cqw, 17px)/1.8 var(--sans); }
.gywf-content { min-width: 0; padding: 8px; border-radius: 14px; background: #f5f4f1; }
.gywf-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 3px 0; color: var(--gy-muted); font: 400 12px/1.5 var(--sans); }
.gywf-footer > button { display: inline-flex; align-items: center; gap: 6px; padding: 3px 0; border: 0; color: var(--gy-blue); background: transparent; font: 400 13px/1.5 var(--sans); cursor: pointer; }
.gywf-icon { display: inline-block; flex: none; width: 16px; height: 16px; background: currentColor; mask: var(--gywf-icon) center / contain no-repeat; -webkit-mask: var(--gywf-icon) center / contain no-repeat; }
.gywf-footer .gywf-icon { width: 14px; height: 14px; }
.gy-workflow button:focus-visible, .gy-workflow a:focus-visible, .gywf-dialog button:focus-visible, .gywf-dialog a:focus-visible, .gywf-dialog select:focus-visible { outline: 2px solid var(--gy-blue, #0087ff); outline-offset: 3px; }
.gywf-loading { display: grid; place-content: center; min-height: 390px; padding: 30px; color: var(--gy-muted); text-align: center; font: 400 15px/1.7 var(--sans); }
.gywf-loading button { justify-self: center; padding: 8px 16px; border: 1px solid var(--gy-border); border-radius: 8px; background: var(--gy-card); color: var(--gy-blue); font: inherit; cursor: pointer; }
.gywf-finder { display: grid; grid-template-rows: 35px minmax(0, 1fr) 23px; min-width: 0; width: 100%; aspect-ratio: 1.32; overflow: hidden; border: 1px solid #dce0e2; border-radius: 12px; background: #fff; color: #26282b; box-shadow: 0 3px 12px #24201c0b; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif; container-type: inline-size; }
.gywf-finder-toolbar { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 10px; border-bottom: 1px solid #e5e5e5; background: #f8f8f9; }
.gywf-finder-toolbar > strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(9px, 1.12cqw, 11px); font-weight: 600; }
.gywf-traffic { display: flex; flex: none; gap: 4px; margin-right: 2px; }
.gywf-traffic i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; }
.gywf-traffic i:nth-child(2) { background: #febc2e; }
.gywf-traffic i:nth-child(3) { background: #28c840; }
.gywf-history, .gywf-toolbar-icons { display: flex; gap: 4px; color: #50545b; }
.gywf-history .gywf-icon { width: 13px; height: 13px; }
.gywf-toolbar-icons { margin-left: auto; gap: 11px; }
.gywf-toolbar-icons .gywf-icon { width: 13px; height: 13px; }
.gywf-finder-search { display: flex; align-items: center; flex: 0 1 22%; gap: 4px; min-width: 32px; padding: 4px 6px; border: 1px solid #e7e7e8; border-radius: 7px; color: #93969b; background: #ffffff8c; font-size: clamp(7px, 1cqw, 10px); }
.gywf-finder-search .gywf-icon { width: 11px; height: 11px; }
.gywf-finder-body { display: grid; min-width: 0; min-height: 0; grid-template-columns: 14% 20% 23% minmax(0, 1fr); }
.gywf-sidebar { min-height: 0; padding: 8px 5px 6px; overflow: hidden; border-right: 1px solid #e8e8e8; background: #f6f6f7; }
.gywf-sidebar-row { display: flex; align-items: center; gap: 4px; min-height: 17px; padding: 2px 3px; white-space: nowrap; border-radius: 4px; font-size: clamp(8px, 1.02cqw, 10px); }
.gywf-sidebar-row .gywf-icon { width: 12px; height: 12px; }
.gywf-sidebar-row.is-active { background: #e7e7e9; }
.gywf-sidebar-heading { display: block; margin: 8px 3px 4px; color: #909195; font-size: clamp(6px, .93cqw, 9px); }
.gywf-tag-dot { width: 7px; height: 7px; margin: 0 3px; border-radius: 50%; background: #9b9ba0; }
.gywf-tag-red { background: #ff3c35; }.gywf-tag-orange { background: #ff9300; }.gywf-tag-yellow { background: #ffc000; }.gywf-tag-green { background: #2acb42; }.gywf-tag-blue { background: #1686ff; }.gywf-tag-purple { background: #b650d1; }
.gywf-project-folders { min-width: 0; padding: 8px 5px; border-right: 1px solid #e6e6e8; overflow: hidden; }
.gywf-folder-row { display: flex; align-items: center; gap: 5px; min-height: 24px; padding: 4px 5px; border-radius: 4px; font-size: clamp(9px, 1.12cqw, 11px); }
.gywf-folder-row.is-active { background: #e0e0e1; }
.gywf-folder-row > span:not(.gywf-icon) { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gywf-folder-icon { width: 17px; height: 17px; color: #36b9ee; }
.gywf-folder-chevron { width: 10px; height: 10px; margin-left: auto; color: #a0a1a4; }
.gywf-document-list { min-width: 0; padding: 8px 5px; border-right: 1px solid #e6e6e8; }
.gywf-file { display: flex; align-items: center; gap: 4px; width: 100%; min-width: 0; min-height: 27px; padding: 5px 4px; border: 0; border-radius: 5px; color: #242529; background: transparent; text-align: left; font: 400 clamp(9px, 1.08cqw, 11px)/1.4 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; cursor: pointer; }
.gywf-file > span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gywf-file .gywf-icon { width: 15px; height: 15px; }
.gywf-pdf-icon { color: #db4338; }
.gywf-file:hover { background: #edf3fb; }.gywf-file.is-selected { color: #fff; background: #0669e8; }.gywf-file.is-selected .gywf-icon { color: #fff; }
.gywf-preview { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-height: 0; min-width: 0; padding: 20px 16px 15px; background: #fff; }
.gywf-page-preview { position: relative; display: grid; place-items: center; min-height: 0; min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gywf-page-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 1px 8px #00000016; }
.gywf-preview-name { display: grid; gap: 5px; min-width: 0; font-size: clamp(7px, 1.03cqw, 10px); }
.gywf-preview-name strong { overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }.gywf-preview-name > span { color: #96989d; }
.gywf-finder-path { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 2px 8px; border-top: 1px solid #e6e6e8; color: #92959b; font-size: clamp(6px, .9cqw, 8px); }
.gywf-finder-path > span { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }.gywf-finder-path .gywf-icon { width: 9px; height: 9px; }.gywf-path-file { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gywf-finder-path > .gywf-pager, .gywf-finder-path > .gywf-page-count { flex: none; margin-left: auto; }
.gywf-pager { display: inline-flex; align-items: center; gap: 5px; color: #737780; font: 400 11px/1.5 -apple-system, sans-serif; }
.gywf-pager > button { display: grid; place-items: center; width: 22px; height: 21px; padding: 2px; border: 0; border-radius: 4px; color: #3e4856; background: transparent; cursor: pointer; }
.gywf-pager > button:hover:not(:disabled) { background: #e8edf5; }.gywf-pager > button:disabled { opacity: .3; cursor: default; }
.gywf-pager .gywf-icon { width: 13px; height: 13px; }.gywf-page-count { font: 400 9px/1.5 -apple-system, sans-serif; }
.gywf-inline-image-error { position: absolute; inset: 20% 5%; display: grid; place-content: center; color: #6b7380; font-size: 11px; line-height: 1.7; }
.gywf-dialog { --gy-blue: #0087ff; display: none; width: min(1140px, calc(100vw - 44px)); height: min(960px, calc(100dvh - 44px)); max-width: none; max-height: none; padding: 0; border: 1px solid #e0e2e5; border-radius: 17px; color: #20242a; background: #f4f5f7; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", var(--sans), sans-serif; box-shadow: 0 22px 70px #0004; }
.gywf-dialog[open] { display: flex; flex-direction: column; }.gywf-dialog::backdrop { background: #18222d80; backdrop-filter: blur(6px); }
.gywf-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 20px; padding: 17px 20px; border-bottom: 1px solid #dfe3e8; background: #fff; }
.gywf-dialog-toolbar > div:first-child { flex: 1; min-width: 0; }.gywf-dialog-eyebrow { display: block; margin-bottom: 5px; color: #7c838d; font-size: 11px; }.gywf-dialog-toolbar h2 { margin: 0; overflow-wrap: anywhere; font-size: 19px; font-weight: 600; line-height: 1.4; }
.gywf-dialog-actions { display: flex; align-items: center; flex: none; gap: 17px; }.gywf-dialog-actions > button { display: grid; place-items: center; width: 33px; height: 33px; padding: 7px; border: 0; border-radius: 50%; background: #f0f2f5; color: #4e5763; cursor: pointer; }
.gywf-dialog-actions .gywf-pager { font-size: 13px; }.gywf-dialog-actions .gywf-pager > button { width: 28px; height: 28px; }
.gywf-pdf-link { display: inline-flex; align-items: center; gap: 6px; color: #0879e8; text-decoration: none; font-size: 13px; }.gywf-pdf-link .gywf-icon { width: 15px; height: 15px; }
.gywf-dialog-body { display: grid; grid-template-columns: 211px minmax(0, 1fr); min-height: 0; flex: 1; }
.gywf-dialog-files { overflow: auto; padding: 17px 12px 25px; background: #fff; border-right: 1px solid #dfe3e8; overscroll-behavior: contain; }
.gywf-dialog-files p { margin: 19px 8px 7px; color: #858c96; font-size: 11px; }.gywf-dialog-files p:first-child { margin-top: 4px; }
.gywf-dialog-files button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 11px 8px; border: 0; border-radius: 7px; color: #47505b; background: none; text-align: left; font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1.5; cursor: pointer; }.gywf-dialog-files button .gywf-icon { width: 18px; height: 18px; color: #a2a9b3; }.gywf-dialog-files button:hover { background: #f1f5fa; }.gywf-dialog-files button.is-selected { background: #eaf3ff; color: #0674e8; }.gywf-dialog-files button.is-selected .gywf-icon { color: #0674e8; }
.gywf-dialog-scroll { min-width: 0; overflow: auto; padding: 24px; overscroll-behavior: contain; }
.gywf-preview-modal { display: block; padding: 0; background: none; }.gywf-modal-page { max-width: 730px; margin: 0 auto; }.gywf-modal-page img { display: block; width: 100%; height: auto; box-shadow: 0 2px 12px #141e2b14; }
.gywf-document-note, .gywf-document-image-error { margin: 17px 0 0; color: #7d8590; font-size: 12px; line-height: 1.6; text-align: center; }.gywf-document-image-error { color: #b04c40; }
.gywf-mobile-document-picker { display: none; }
:root[data-theme="night"] .gywf-content { background: #1b1e23; }
:root[data-theme="night"] .gywf-finder { filter: brightness(.89); }
:root[data-theme="night"] .gywf-dialog { color: #e7ebf0; background: #252a32; border-color: #434b58; }
:root[data-theme="night"] .gywf-dialog-toolbar, :root[data-theme="night"] .gywf-dialog-files { background: #1f242b; border-color: #3a424e; }
:root[data-theme="night"] .gywf-dialog-files button { color: #bec5ce; }:root[data-theme="night"] .gywf-dialog-files button:hover { background: #2a3340; }:root[data-theme="night"] .gywf-dialog-files button.is-selected { color: #7abaff; background: #293f5b; }
@container (max-width: 780px) {
  .gy-workflow { grid-template-columns: minmax(146px, 21%) minmax(0, 1fr); gap: 13px; }
  .gywf-nav { padding: 23px 12px 24px 19px; }.gywf-tab { gap: 8px; }.gywf-tabs { gap: 12px; }.gywf-tab-text strong { font-size: 15px; }.gywf-tab-text small { font-size: 11px; }
  .gywf-panel { padding: 23px 18px 16px; }.gywf-content { padding: 6px; }.gywf-finder { grid-template-rows: 30px minmax(0, 1fr) 23px; }
  .gywf-toolbar-icons { gap: 5px; }.gywf-finder-search { display: none; }.gywf-preview { padding: 14px 10px 10px; gap: 8px; }.gywf-sidebar-row { min-height: 14px; }.gywf-sidebar-heading { margin-top: 5px; }
  .gywf-sidebar-row .gywf-icon { width: 10px; height: 10px; }.gywf-tag-dot { width: 6px; height: 6px; }.gywf-folder-row { min-height: 20px; padding: 3px; }.gywf-folder-icon { width: 14px; height: 14px; }.gywf-file { min-height: 23px; padding: 4px 2px; }
}
@container (max-width: 600px) {
  .gy-workflow { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
  .gywf-nav { padding: 19px 19px 15px; }.room .gywf-nav h2 { margin-bottom: 10px; font-size: 13px; }
  .gywf-tabs { grid-template-columns: minmax(0, 1fr); gap: 0; }.gywf-tab { align-items: center; min-height: 51px; padding: 8px 0; gap: 12px; }.gywf-tab-text { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 12px; }.gywf-tab-text strong { white-space: nowrap; font-size: 15px; }.gywf-tab-text small { font-size: 11px; text-align: right; }
  .gywf-tab::before { left: -9px; top: 13px; bottom: 13px; }.gywf-number { width: 24px; font-size: 15px; }.gywf-panel { padding: 21px 15px 15px; }.room .gywf-copy h3 { font-size: 22px; }.room .gywf-description { font-size: 13px; line-height: 1.7; margin-bottom: 15px; }
  .gywf-finder { aspect-ratio: .78; grid-template-rows: 34px minmax(0, 1fr) 29px; }.gywf-finder-body { grid-template-columns: 38% minmax(0, 1fr); }.gywf-sidebar, .gywf-project-folders, .gywf-history, .gywf-toolbar-icons { display: none; }.gywf-finder-toolbar { gap: 8px; }.gywf-finder-toolbar > strong { font-size: 10px; }.gywf-traffic i { width: 6px; height: 6px; }.gywf-document-list { padding: 8px 4px; }.gywf-file { gap: 3px; min-height: 41px; padding: 5px 3px; font-size: 10px; }.gywf-file > span:last-child { white-space: normal; overflow-wrap: anywhere; }.gywf-file .gywf-icon { width: 14px; height: 14px; }.gywf-preview { padding: 15px 9px; gap: 12px; }.gywf-preview-name { font-size: 9px; gap: 4px; }.gywf-preview-name strong { white-space: normal; overflow-wrap: anywhere; }.gywf-finder-path { gap: 2px; padding: 3px 6px; font-size: 8px; }.gywf-finder-path > span:nth-child(-n+3), .gywf-path-file { display: none; }.gywf-finder-path > span:nth-child(4) { display: inline-flex; }.gywf-finder-path > .gywf-pager { display: inline-flex; }.gywf-pager { font-size: 10px; }.gywf-pager > button { width: 26px; height: 24px; }.gywf-footer { padding-top: 14px; font-size: 10px; }.gywf-footer > button { font-size: 12px; }.gywf-loading { min-height: 310px; padding: 25px 15px; font-size: 13px; }
}
@media (max-width: 650px) {
  .gywf-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 12px; }.gywf-dialog-toolbar { padding: 13px 12px; gap: 8px; }.gywf-dialog-toolbar h2 { font-size: 15px; }.gywf-dialog-eyebrow { font-size: 10px; }.gywf-dialog-actions { gap: 9px; }.gywf-dialog-actions .gywf-pager { gap: 2px; font-size: 11px; }.gywf-dialog-actions .gywf-pager > button { width: 25px; height: 25px; }.gywf-pdf-link { font-size: 11px; }.gywf-pdf-link .gywf-icon { display: none; }.gywf-dialog-actions > button { width: 29px; height: 29px; padding: 6px; }.gywf-dialog-body { display: block; }.gywf-dialog-files { display: none; }.gywf-dialog-scroll { height: 100%; padding: 12px; }.gywf-mobile-document-picker { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #dfe3e8; background: #fff; font-size: 11px; color: #747d89; }.gywf-mobile-document-picker select { flex: 1; min-width: 0; padding: 8px; border: 1px solid #dfe3e8; border-radius: 7px; background: #fff; color: #28313e; font: 400 12px/1.5 -apple-system, sans-serif; }.gywf-document-note { font-size: 11px; }
  :root[data-theme="night"] .gywf-mobile-document-picker, :root[data-theme="night"] .gywf-mobile-document-picker select { background: #1f242b; border-color: #3a424e; color: #bbc4ce; }
}
@media (max-width: 859px) {
  .gy-workflow { grid-template-columns: minmax(0, 1fr); }
  .gywf-nav { padding: 19px 19px 15px; }
  .room .gywf-nav h2 { margin-bottom: 10px; font-size: 13px; }
  .gywf-tabs { gap: 0; }
  .gywf-tab { align-items: center; min-height: 51px; padding: 8px 0; gap: 12px; }
  .gywf-tab-text { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 12px; }
  .gywf-tab-text strong { white-space: nowrap; font-size: 15px; }
  .gywf-tab-text small { font-size: 11px; text-align: right; }
  .gywf-tab::before { left: -9px; top: 13px; bottom: 13px; }
  .gywf-number { width: 24px; font-size: 15px; }
}
