/* The search stays inside its menu list, including the folded narrow-screen overlay. */
[data-settings-find-slot]{min-width:0;margin-bottom:8px}
.lx-find.settings-find-field{display:flex;width:100%;min-width:0}
.settings-find-field input{box-sizing:border-box;width:100%;min-width:0;min-height:34px;padding:6px 9px;border:1px solid var(--ds-line);border-radius:8px;background:var(--ds-surface);color:var(--ds-text);font:inherit;font-size:13px}
.settings-find-field input:focus-visible,.settings-find-row:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}
.settings-find-results{display:flex;flex-direction:column;gap:2px;max-height:55vh;overflow-y:auto;overflow-wrap:anywhere}
.settings-find-note{margin:8px 4px;color:var(--ds-text-3);font-size:12px}
button.settings-find-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:36px;margin:0;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--ds-text);font:inherit;font-size:13px;text-align:left;white-space:normal;box-shadow:none;cursor:pointer}
button.settings-find-row:hover{background:var(--ds-accent-soft)}
.settings-find-row small{color:var(--ds-text-3);font-size:11px}
[data-settings-searching]>:is([data-entry],[data-snav-group]){display:none!important}
.settings-find-highlight{outline:2px solid var(--ds-accent)!important;outline-offset:4px;background-color:var(--ds-accent-soft)!important;scroll-margin-block:96px}
@media(prefers-reduced-motion:reduce){.settings-find-highlight{scroll-behavior:auto}}

/* ---- 설정 › 운영 screens (Phase 4 fork A: web-ai-settings, desktop-ai-settings, drawing-policy, gemini-cli-settings,
   shadow-ai-candidates, web-ai-conversations, web-ai-rules-review, outage-mode-settings, retention). Layout only:
   the headline keeps a section's room from what follows, a card's buttons stand at its head's right end, and a
   label : value list lines its values up. Sizes, colours and type are the parts'. */
:is(#web-ai-settings-root,#desktop-ai-settings-root,#drawing-policy-root,#gemini-cli-settings-root,#shadow-ai-candidates-root,#web-ai-conversation-settings-root,#web-ai-rules-review-root,#outage-mode-settings-root,#web-ai-conversations-root)>.lx-lede{margin:0 0 var(--sp-5)}
:is(#web-ai-settings-root,#desktop-ai-settings-root,#drawing-policy-root,#gemini-cli-settings-root,#shadow-ai-candidates-root,#web-ai-conversation-settings-root,#web-ai-rules-review-root,#outage-mode-settings-root) .lx-card-h>:is(h2,h3):first-child{margin-right:auto}
:is(#web-ai-settings-root,#desktop-ai-settings-root,#drawing-policy-root,#gemini-cli-settings-root,#web-ai-rules-review-root,#outage-mode-settings-root)>.lx-card+.lx-card{margin-top:var(--gap)}
#web-ai-settings-root>[data-web-ai-summary]{gap:var(--sp-2);margin-bottom:var(--gap-section)}
#web-ai-settings-root [data-web-ai-rollout] dd{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-1) var(--sp-2);min-width:0;margin:0}
#web-ai-settings-root [data-web-ai-rollout] dd>.lx-sub{flex-basis:100%}
/* Gemini CLI: a fold's body (the limits and 지원 조건, the device settings) stands a step under its summary; 지원 조건
   is a paragraph, not indented lines (B1 G5-39). */
#gemini-cli-settings-root :is([data-gemini-cli-limits],[data-gemini-cli-settings])>.lx-stack{margin-top:var(--sp-3)}
#gemini-cli-settings-root [data-gemini-cli-devices-summary]{margin:var(--sp-2) 0}
/* Shadow AI 후보: one toolbar row -- the classification chips, then the search and the kind at its end. */
#shadow-ai-candidates-root [data-shadow-find]{margin:var(--sp-3) 0}
#shadow-ai-candidates-root [data-shadow-find]>.lx-row{flex:0 1 auto}
#shadow-ai-candidates-root [data-shadow-find]>.lx-find{flex:0 1 280px;min-width:180px;margin-left:auto}
/* 관찰 · 예외: the view switch keeps its room from the headline above and the list below. */
#web-ai-rules-review-root [data-web-ai-review-views]{margin-bottom:var(--sp-4)}
/* 웹 AI 대화: the period choice ends the service chips' row. */
#web-ai-conversations-root [data-list-lede]{margin-bottom:var(--sp-2)}
#web-ai-conversations-root [data-list-window]{gap:var(--sp-2);margin-left:auto}
/* 장애 시 정책: the unsaved note keeps its room from the intro above and the two ways below. */
#outage-mode-settings-root [data-outage-mode-unset]{margin:var(--sp-2) 0}
/* 데이터 보관: 퇴사자 처리 is as wide as the other retention cards. */
[data-testid="person-departure-setting"]{max-width:720px}
[data-person-departure-form] [data-person-departure-days]{gap:var(--sp-2)}
