/* Figma Main only: isolated from the previous visual-editor selectors. */
.shell:has(> .pipsa-main) { width:100%; max-width:none; padding:0; background:#fff; }
.pipsa-main { box-sizing:border-box; min-height:900px; background:#fff; color:#292832; font-family:'Noto Sans KR',sans-serif; }
.pipsa-main * { box-sizing:border-box; }
.pipsa-main button { font:inherit; cursor:pointer; border:0; box-shadow:none; margin:0; letter-spacing:normal; }
.pipsa-main button:focus-visible,.pipsa-main textarea:focus-visible { outline:2px solid #8176ae; outline-offset:3px; }
.pipsa-main-nav { height:88px; padding:0 48px; display:flex; align-items:center; justify-content:flex-end; gap:24px; }
.pipsa-main-nav button { background:transparent; color:#6e6b79; padding:8px 0; font-size:14px; white-space:nowrap; }
.pipsa-main-nav button:last-child { color:#292832; }
.pipsa-main-content { width:min(760px,calc(100% - 40px)); margin:0 auto; padding-top:64px; display:flex; flex-direction:column; align-items:center; gap:24px; }
.pipsa-main-logo { display:block; width:340px; height:110px; object-fit:contain; }
.pipsa-main-message { width:100%; text-align:center; }
.pipsa-main-message h1 { color:#292832; font-size:36px; line-height:1.45; font-weight:700; letter-spacing:-1.08px; margin:0 0 12px; }
.pipsa-main-message p { color:#6e6b79; font-size:16px; line-height:1.45; margin:0; }
.pipsa-mobile-break { display:none; }
.pipsa-main-search { width:100%; margin:0; position:relative; }
.pipsa-file-input { display:none; }
.pipsa-search-bar { width:100%; min-height:68px; display:flex; align-items:center; gap:8px; padding:8px; border:1px solid #dedce5; border-radius:34px; background:#fff; box-shadow:0 3px 6px #1a1a260f; }
.pipsa-photo-control { flex:0 0 48px; position:relative; }
.pipsa-add-photo { width:48px; height:48px; border-radius:24px; background:#f5f5f7; display:flex; align-items:center; justify-content:center; padding:0; }
.pipsa-add-photo img { display:block; }
.pipsa-photo-menu { position:absolute; top:56px; left:0; z-index:20; width:270px; padding:8px; background:white; border:1px solid #dedce5; border-radius:16px; box-shadow:0 8px 24px #29283220; }
.pipsa-photo-menu button { width:100%; min-height:44px; padding:10px 12px; text-align:left; border-radius:10px; color:#292832; background:#fff; }
.pipsa-photo-menu button:hover { background:#f5f5f7; }
.pipsa-photo-menu small { display:block; padding:8px 12px; font-size:12px; line-height:1.5; color:#6e6b79; }
.pipsa-search-bar textarea { min-width:0; width:0; flex:1; height:48px; min-height:48px; padding:12px 4px; resize:none; border:0; border-radius:12px; background:#fff; color:#292832; font:400 16px/24px 'Noto Sans KR',sans-serif; box-shadow:none; }
.pipsa-search-submit { display:flex; align-items:center; justify-content:center; gap:8px; flex-shrink:0; height:48px; min-width:138px; padding:0 20px; border-radius:24px; background:#f5f5f7; color:#292832; font-size:16px; }
.pipsa-search-submit img { display:none; }
.pipsa-search-submit:disabled { cursor:default; color:#9998a2; opacity:1; }
.pipsa-search-help { margin:12px 8px 0; font-size:13px; color:#6e6b79; line-height:1.5; }
.pipsa-selected-image { display:flex; gap:10px; align-items:center; margin-bottom:12px; }
.pipsa-selected-image img { width:56px; height:56px; object-fit:contain; border-radius:8px; }
.pipsa-selected-image span { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.pipsa-selected-image button { min-height:44px; padding:0 12px; background:#f5f5f7; border-radius:12px; color:#292832; }
@media(max-width:800px) {
 .pipsa-main { min-height:844px; }
 .pipsa-main-nav { height:76px; padding:0 20px; gap:12px; }
 .pipsa-main-nav button { font-size:13px; }
 .pipsa-main-content { width:calc(100% - 40px); max-width:350px; padding-top:88px; gap:24px; }
 .pipsa-main-logo { width:214px; height:69px; }
 .pipsa-main-message h1 { font-size:22px; letter-spacing:-.66px; line-height:1.45; margin-bottom:12px; }
 .pipsa-main-message p { font-size:16px; line-height:1.45; word-break:keep-all; }
 .pipsa-mobile-break { display:inline; }
 .pipsa-desktop-space { display:none; }
 .pipsa-search-bar { height:64px; min-height:64px; padding:7px 8px; }
 .pipsa-search-submit { width:44px; min-width:44px; height:44px; padding:0; }
 .pipsa-search-submit img { display:block; }
 .pipsa-search-submit span { display:none; }
}
/* Match the search input focus ring to the logo blue. */
#ai-finder-action.pipsa-main-search textarea:focus,
#ai-finder-action.pipsa-main-search textarea:focus-visible {
  outline: 3px solid #61d1f7;
  outline-offset: 3px;
}
