/*!
 * cogo-post-editor-r1.css
 * 코고 「공지·게시글 작성 / 게시글 수정」 창 새 디자인 r1 (2026-11-21)
 *
 * - 짝 파일 cogo-post-editor-r1.js 가 <html data-cogo-pe-r1="1"> 을 켰을 때만 적용됩니다.
 * - 적용 범위: 공용 팝업 dialog#modal 안에 form#opsPostEditor22 가 열려 있을 때만. 다른 팝업은 그대로입니다.
 * - 색은 사이트 토큰(--cgl1-*)을 따라갑니다 → 다크 모드, 역할별 색(학생·손님 파랑 / 선생님 초록 / 관리자 보라),
 *   고대비 모드가 자동으로 맞춰집니다.
 * - 사이트 CSS는 cascade layer(cogo-web-design-r1 등) 안에서 !important를 씁니다. 그래서 이 파일 전체를
 *   @layer cogo-pe-r1 로 감쌌고, JS가 <head> 맨 앞에 <style>@layer cogo-pe-r1;</style> 을 넣어
 *   이 layer를 "가장 먼저 선언된 layer"로 만듭니다(!important끼리는 먼저 선언된 layer가 이김).
 *   선택자도 기존 패치(phase4-r1, refine-r2, 데스크톱 cw 규칙)보다 구체적으로 썼습니다.
 * - 편집은 build/cogo-post-editor-r1.src.css 에서 하고 build_css.py 로 다시 만드는 것을 권장합니다.
 */
@layer cogo-pe-r1{
/* 0 ─ JS가 이 파일이 연결됐는지 확인하는 표시 (:has()를 지원하는 브라우저에서만 → 못 하면 JS가 스스로 꺼져 예전 모습 유지) */
@supports selector(:has(*)){html[data-cogo-pe-r1="1"]{--pe-loaded:1}}
/* 작성 창이 아닐 때 머리말 안내 문구는 숨김 */
html[data-cogo-pe-r1="1"] dialog .dialog-head > .pe-sub{display:none !important}

/* 1 ─ 토큰 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22){--pe-accent:var(--cgl1-accent,#2f6bff);--pe-accent-deep:var(--cgl1-accent-deep,#2055d4);--pe-accent-soft:var(--cgl1-soft,#e8efff);--pe-on-accent:var(--cgl1-on-accent,#fff);--pe-paper:var(--cgl1-paper,#f7f7f4);--pe-card:var(--cgl1-surface,#fff);--pe-ink:var(--cgl1-ink,#101322);--pe-muted:var(--cgl1-muted,#626775);--pe-line:var(--cgl1-line,rgba(16,19,34,.10));--pe-line-strong:rgba(16,19,34,.16);--pe-line-strong:color-mix(in srgb,var(--pe-ink) 16%,transparent);--pe-field:#fbfbfa;--pe-field:color-mix(in srgb,var(--pe-paper) 50%,var(--pe-card));--pe-field-hover:#efefec;--pe-field-hover:color-mix(in srgb,var(--pe-paper) 96%,var(--pe-ink));--pe-ring:rgba(47,107,255,.22);--pe-ring:color-mix(in srgb,var(--pe-accent) 24%,transparent);--pe-yellow:#ffc83d;--pe-yellow-ink:#8a5d00;--pe-yellow-soft:#fff6dc;--pe-yellow-soft:color-mix(in srgb,var(--pe-yellow) 16%,var(--pe-card));--pe-danger:#e5484d;--pe-danger-soft:#fdeeee;--pe-danger-soft:color-mix(in srgb,var(--pe-danger) 9%,var(--pe-card));--pe-warn:#b86e00;--pe-ok:#16855a;--pe-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E");--pe-shadow:0 48px 120px -44px rgba(16,19,34,.55),0 18px 40px -26px rgba(16,19,34,.30),0 0 0 1px rgba(16,19,34,.05);--pe-lift:0 1px 2px rgba(16,19,34,.06),0 8px 20px -12px rgba(16,19,34,.28);--pe-font:var(--cw-font,'Pretendard','Pretendard Variable','Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif);--pe-ease:cubic-bezier(.2,.8,.2,1);--pe-spring:cubic-bezier(.34,1.56,.64,1)}
html[data-cogo-pe-r1="1"][data-theme="dark"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22){--pe-accent:var(--cgl1-accent,#8cb0ff);--pe-accent-deep:var(--cgl1-accent-deep,#adc5ff);--pe-accent-soft:var(--cgl1-soft,#24375d);--pe-on-accent:var(--cgl1-on-accent,#101322);--pe-paper:var(--cgl1-paper,#111521);--pe-card:var(--cgl1-surface,#1a2030);--pe-ink:var(--cgl1-ink,#f0f3fa);--pe-muted:var(--cgl1-muted,#b5bfd2);--pe-line:var(--cgl1-line,rgba(198,213,255,.17));--pe-line-strong:rgba(240,243,250,.20);--pe-line-strong:color-mix(in srgb,var(--pe-ink) 20%,transparent);--pe-field:#151a28;--pe-field:color-mix(in srgb,var(--pe-paper) 55%,var(--pe-card));--pe-field-hover:#1d2333;--pe-field-hover:color-mix(in srgb,var(--pe-card) 92%,var(--pe-ink));--pe-yellow:#ffd35c;--pe-yellow-ink:#ffdc7a;--pe-yellow-soft:#2c2a22;--pe-yellow-soft:color-mix(in srgb,var(--pe-yellow) 12%,var(--pe-card));--pe-danger:#ff8589;--pe-danger-soft:#33202a;--pe-danger-soft:color-mix(in srgb,var(--pe-danger) 12%,var(--pe-card));--pe-warn:#ffc85a;--pe-ok:#5fd3a0;--pe-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101322' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E");--pe-shadow:0 48px 120px -40px rgba(0,0,0,.85),0 0 0 1px rgba(198,213,255,.10);--pe-lift:0 1px 2px rgba(0,0,0,.35),0 8px 20px -12px rgba(0,0,0,.7)}
html[data-cogo-pe-r1="1"][data-contrast="high"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22){--pe-accent:Highlight;--pe-accent-deep:Highlight;--pe-accent-soft:Canvas;--pe-on-accent:HighlightText;--pe-paper:Canvas;--pe-card:Canvas;--pe-ink:CanvasText;--pe-muted:CanvasText;--pe-line:CanvasText;--pe-line-strong:CanvasText;--pe-field:Canvas;--pe-field-hover:Canvas;--pe-ring:Highlight;--pe-yellow-soft:Canvas;--pe-danger-soft:Canvas;--pe-shadow:0 0 0 2px CanvasText;--pe-lift:none}

/* 2 ─ 창 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22){display:flex !important;flex-direction:column !important;box-sizing:border-box !important;width:min(720px,calc(100vw - 48px)) !important;max-width:none !important;height:fit-content !important;min-height:0 !important;max-height:calc(100vh - 48px) !important;max-height:min(940px,calc(100dvh - 48px)) !important;margin:auto !important;padding:0 !important;border:0 !important;border-radius:28px !important;background:var(--pe-paper) !important;color:var(--pe-ink) !important;box-shadow:var(--pe-shadow) !important;overflow:hidden !important;font-family:var(--pe-font) !important;-webkit-font-smoothing:antialiased !important;animation:pe-pop .52s var(--pe-ease) backwards !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) *,html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) *::before,html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) *::after{box-sizing:border-box !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22)::backdrop{background:rgba(10,13,24,.46) !important;-webkit-backdrop-filter:blur(8px) saturate(1.1) !important;backdrop-filter:blur(8px) saturate(1.1) !important;animation:pe-fade .35s ease backwards !important}
html[data-cogo-pe-r1="1"][data-theme="dark"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22)::backdrop{background:rgba(0,0,0,.62) !important}

/* 3 ─ 머리말: 아이콘 타일 + 제목 + 한 줄 안내 + 닫기 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head{display:grid !important;grid-template-columns:auto minmax(0,1fr) auto !important;grid-template-areas:"icon title close" "icon sub close" !important;align-items:center !important;justify-items:stretch !important;justify-content:normal !important;column-gap:14px !important;row-gap:3px !important;margin:0 !important;padding:24px 22px 18px 26px !important;background:transparent !important;border:0 !important;animation:pe-rise .5s var(--pe-ease) .04s backwards !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head::before{content:"" !important;grid-area:icon !important;width:48px !important;height:48px !important;border-radius:16px !important;background:linear-gradient(150deg,var(--pe-accent-soft),var(--pe-card)) !important;box-shadow:inset 0 0 0 1px var(--pe-line),var(--pe-lift) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head::after{content:"" !important;grid-area:icon !important;justify-self:center !important;align-self:center !important;width:24px !important;height:24px !important;background:var(--pe-accent) !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5h4L19 9a2.3 2.3 0 0 0-3.3-3.3L5.2 16.2l-.7 3.3z'/%3E%3Cpath d='M14.2 7.2l3.3 3.3M12.5 19.5h7'/%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5h4L19 9a2.3 2.3 0 0 0-3.3-3.3L5.2 16.2l-.7 3.3z'/%3E%3Cpath d='M14.2 7.2l3.3 3.3M12.5 19.5h7'/%3E%3C/svg%3E") center/contain no-repeat !important;animation:pe-icon .8s var(--pe-spring) .12s backwards !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22[data-pe-kind="notice"]) > .dialog-head::before{background:linear-gradient(150deg,var(--pe-yellow-soft),var(--pe-card)) !important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pe-yellow) 45%,var(--pe-line)),var(--pe-lift) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22[data-pe-kind="notice"]) > .dialog-head::after{background:var(--pe-yellow-ink) !important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.2v3.6c0 .7.6 1.2 1.2 1.2H7l6.3 3.6c.8.4 1.7-.1 1.7-1V5.4c0-.9-.9-1.4-1.7-1L7 9H5.2C4.6 9 4 9.5 4 10.2z'/%3E%3Cpath d='M18.5 9.2a4 4 0 0 1 0 5.6M7.6 15.2l1.1 4'/%3E%3C/svg%3E") !important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.2v3.6c0 .7.6 1.2 1.2 1.2H7l6.3 3.6c.8.4 1.7-.1 1.7-1V5.4c0-.9-.9-1.4-1.7-1L7 9H5.2C4.6 9 4 9.5 4 10.2z'/%3E%3Cpath d='M18.5 9.2a4 4 0 0 1 0 5.6M7.6 15.2l1.1 4'/%3E%3C/svg%3E") !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > h2{grid-area:title !important;align-self:end !important;margin:0 !important;padding:0 !important;font-family:inherit !important;font-size:21px !important;font-weight:800 !important;line-height:1.25 !important;letter-spacing:-.035em !important;color:var(--pe-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .pe-sub{grid-area:sub !important;align-self:start !important;display:block !important;margin:0 !important;font-size:13.5px !important;font-weight:500 !important;line-height:1.45 !important;letter-spacing:-.01em !important;color:var(--pe-muted) !important;text-wrap:balance !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .icon-btn{grid-area:close !important;align-self:start !important;display:grid !important;place-items:center !important;position:relative !important;width:42px !important;height:42px !important;min-height:0 !important;margin:0 !important;padding:0 !important;border-radius:14px !important;flex:none !important;border:1px solid var(--pe-line) !important;background:var(--pe-card) !important;color:var(--pe-muted) !important;box-shadow:0 1px 2px rgba(16,19,34,.05) !important;cursor:pointer !important;transition:background-color .18s,color .18s,border-color .18s,transform .18s var(--pe-ease) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .icon-btn svg{width:20px !important;height:20px !important;transition:transform .35s var(--pe-spring) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .icon-btn:hover{color:var(--pe-ink) !important;background:var(--pe-field-hover) !important;border-color:var(--pe-line-strong) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .icon-btn:hover svg{transform:rotate(90deg) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .icon-btn:active{transform:scale(.94) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .icon-btn:focus-visible{outline:2px solid var(--pe-accent) !important;outline-offset:2px !important}

/* 4 ─ 흰 카드(스크롤 영역) */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent{flex:1 1 auto !important;min-height:0 !important;margin:0 12px 12px !important;padding:0 !important;overflow-x:hidden !important;overflow-y:auto !important;overscroll-behavior:contain !important;scroll-padding-bottom:104px !important;background:var(--pe-card) !important;border:1px solid var(--pe-line) !important;border-radius:22px !important;box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 12px 32px -26px rgba(16,19,34,.35) !important;scrollbar-width:thin !important;scrollbar-color:var(--pe-line-strong) transparent !important}

/* 5 ─ 폼 격자 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22{display:grid !important;grid-template-columns:minmax(0,1fr) auto auto !important;column-gap:10px !important;row-gap:22px !important;align-items:stretch !important;justify-items:stretch !important;margin:0 !important;padding:26px 26px 16px !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;font-family:inherit !important;color:var(--pe-ink) !important;overflow:hidden !important;overflow:clip !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > *{grid-column:1 / -1 !important;min-width:0 !important;margin:0 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 [hidden]:not(#pe-0):not(#pe-1):not(#pe-2):not(#pe-3){display:none !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > *{animation:pe-rise .55s var(--pe-ease) backwards !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > :nth-child(2){animation-delay:.05s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > :nth-child(3){animation-delay:.09s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > :nth-child(4){animation-delay:.13s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > :nth-child(5){animation-delay:.17s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > :nth-child(6){animation-delay:.21s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > :nth-child(7){animation-delay:.25s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > :nth-child(n+8){animation-delay:.29s !important}

/* 순서: 게시판 → 알약 버튼 → (공지 옵션) → 제목 → 내용 → 사진 → 오류 → 아래 바 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> select[name="kind"]){order:-3 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg{order:-2 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint{order:10 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel{order:11 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel){order:12 !important}

/* 6 ─ 항목 제목(라벨) + 글자 수 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> select[name="kind"]),
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> input[name="title"]),
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> textarea[name="content"]){display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;align-items:end !important;justify-items:stretch !important;column-gap:12px !important;row-gap:10px !important;padding:0 !important;background:none !important;border:0 !important;font-size:13.5px !important;font-weight:700 !important;line-height:1.2 !important;letter-spacing:-.01em !important;color:var(--pe-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> select[name="kind"]){margin-bottom:-10px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-ready="1"] > label > select[name="kind"]{display:none !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > :is(input,textarea,select){grid-column:1 / -1 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > .pe-count{grid-column:2 !important;grid-row:1 !important;justify-self:end !important;font-size:12px !important;font-weight:600 !important;line-height:1.2 !important;letter-spacing:0 !important;color:var(--pe-muted) !important;font-variant-numeric:tabular-nums !important;transition:color .2s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > .pe-count[data-level="warn"]{color:var(--pe-warn) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > .pe-count[data-level="max"]{color:var(--pe-danger) !important;font-weight:800 !important}

/* 7 ─ 입력칸 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 input[name="title"],
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 textarea[name="content"]{display:block !important;width:100% !important;min-width:0 !important;margin:0 !important;font-family:inherit !important;color:var(--pe-ink) !important;background:var(--pe-field) !important;border:1px solid var(--pe-line-strong) !important;border-radius:15px !important;box-shadow:0 1px 0 rgba(16,19,34,.02) !important;outline:0 !important;-webkit-appearance:none !important;appearance:none !important;transition:border-color .18s,box-shadow .2s,background-color .18s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 input[name="title"]{height:56px !important;min-height:0 !important;padding:0 18px !important;font-size:17px !important;font-weight:600 !important;line-height:1.2 !important;letter-spacing:-.02em !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 textarea[name="content"]{min-height:196px !important;max-height:min(46vh,440px) !important;padding:16px 18px !important;resize:none !important;overflow-y:hidden !important;font-size:15.5px !important;font-weight:400 !important;line-height:1.75 !important;letter-spacing:-.01em !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 :is(input[name="title"],textarea[name="content"])::placeholder{color:var(--pe-muted) !important;opacity:.72 !important;font-weight:400 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 :is(input[name="title"],textarea[name="content"]):hover{background:var(--pe-field-hover) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 :is(input[name="title"],textarea[name="content"]):focus{background:var(--pe-card) !important;border-color:var(--pe-accent) !important;box-shadow:0 0 0 4px var(--pe-ring),0 10px 24px -18px var(--pe-accent) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 :is(input[name="title"],textarea[name="content"]):user-invalid{border-color:var(--pe-danger) !important;box-shadow:0 0 0 4px color-mix(in srgb,var(--pe-danger) 18%,transparent) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label[data-pe-shake] > :is(input,textarea){animation:pe-shake .42s var(--pe-ease) !important;border-color:var(--pe-danger) !important}

/* 8 ─ 게시판 알약 버튼 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg{position:relative !important;isolation:isolate !important;display:inline-flex !important;justify-self:start !important;gap:4px !important;padding:5px !important;background:var(--pe-field) !important;border:1px solid var(--pe-line) !important;border-radius:17px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-seg-ind{position:absolute !important;left:0 !important;top:0 !important;z-index:-1 !important;pointer-events:none !important;border-radius:12px !important;background:var(--pe-card) !important;box-shadow:0 0 0 1px var(--pe-line),var(--pe-lift) !important;transition:transform .46s var(--pe-spring),width .46s var(--pe-spring),height .3s var(--pe-ease),opacity .2s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-seg-ind[data-instant]{transition:none !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-seg-ind[data-hidden]{opacity:0 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip{position:relative !important;display:inline-flex !important;align-items:center !important;gap:8px !important;height:44px !important;padding:0 20px 0 15px !important;border-radius:12px !important;font-size:14.5px !important;font-weight:700 !important;letter-spacing:-.015em !important;white-space:nowrap !important;color:var(--pe-muted) !important;cursor:pointer !important;user-select:none !important;-webkit-user-select:none !important;-webkit-tap-highlight-color:transparent !important;transition:color .2s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip svg{width:20px !important;height:20px !important;flex:none !important;fill:none !important;stroke:currentColor !important;stroke-width:1.8 !important;stroke-linecap:round !important;stroke-linejoin:round !important;transition:transform .45s var(--pe-spring),color .2s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip:hover{color:var(--pe-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip[aria-checked="true"]{color:var(--pe-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip[aria-checked="true"] svg{color:var(--pe-accent) !important;transform:scale(1.08) rotate(-6deg) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip[data-value="notice"][aria-checked="true"] svg{color:var(--pe-yellow-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip[data-value="notice"][aria-checked="true"] svg path:first-child{fill:var(--pe-yellow) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip[aria-disabled="true"]{opacity:.42 !important;cursor:not-allowed !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip:focus{outline:0 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip:focus-visible{outline:2px solid var(--pe-accent) !important;outline-offset:2px !important}

/* 9 ─ 공지 지정 같은 체크 옵션 (예: 자유게시판 공지 지정) */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> input[type="checkbox"]){display:flex !important;flex-direction:row !important;align-items:flex-start !important;gap:12px !important;padding:14px 16px !important;background:var(--pe-field) !important;border:1px solid var(--pe-line) !important;border-radius:16px !important;font-size:14px !important;font-weight:600 !important;line-height:1.4 !important;color:var(--pe-ink) !important;cursor:pointer !important;transition:border-color .2s,background-color .2s,box-shadow .2s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> input[type="checkbox"]:checked){background:var(--pe-yellow-soft) !important;border-color:color-mix(in srgb,var(--pe-yellow) 60%,var(--pe-line)) !important;box-shadow:0 10px 26px -22px var(--pe-yellow) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > input[type="checkbox"],
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1 > input[type="checkbox"]{-webkit-appearance:none !important;appearance:none !important;flex:none !important;margin:0 !important;cursor:pointer !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > input[type="checkbox"]{width:22px !important;height:22px !important;min-height:0 !important;min-width:0 !important;padding:0 !important;margin-top:1px !important;border-radius:7px !important;border:1.5px solid var(--pe-line-strong) !important;background:var(--pe-card) center/16px no-repeat !important;transition:background-color .2s,border-color .2s,transform .2s var(--pe-spring) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > input[type="checkbox"]:checked{background-color:var(--pe-accent) !important;border-color:var(--pe-accent) !important;background-image:var(--pe-check) !important;transform:scale(1.04) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > input[type="checkbox"]:focus-visible{outline:2px solid var(--pe-accent) !important;outline-offset:2px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> input[type="checkbox"]) > span{display:block !important;min-width:0 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> input[type="checkbox"]) strong{display:block !important;font-size:14.5px !important;font-weight:700 !important;letter-spacing:-.015em !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label:has(> input[type="checkbox"]) small{display:block !important;margin-top:3px !important;font-size:12.5px !important;font-weight:500 !important;line-height:1.5 !important;color:var(--pe-muted) !important}

/* 10 ─ 마이 하우스 대표 사진: 스위치 카드 + 상태 + 미리보기 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > section.house-photo-field-r1{display:block !important;position:relative !important;overflow:hidden !important;padding:0 !important;background:var(--pe-field) !important;border:1px solid var(--pe-line) !important;border-radius:18px !important;transition:border-color .25s,background-color .25s,box-shadow .25s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > section.house-photo-field-r1:has(input[name="house_photo_r1"]:checked){background:var(--pe-accent-soft) !important;background:color-mix(in srgb,var(--pe-accent-soft) 60%,var(--pe-card)) !important;border-color:color-mix(in srgb,var(--pe-accent) 40%,var(--pe-line)) !important;box-shadow:0 14px 34px -26px var(--pe-accent) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1{position:relative !important;display:flex !important;flex-direction:row !important;align-items:center !important;gap:14px !important;margin:0 !important;padding:14px 16px !important;cursor:pointer !important;text-align:left !important;font-size:14.5px !important;font-weight:700 !important;letter-spacing:-.015em !important;line-height:1.35 !important;color:var(--pe-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1::before{content:"" !important;flex:none !important;width:44px !important;height:44px !important;border-radius:14px !important;background:var(--pe-card) !important;box-shadow:inset 0 0 0 1px var(--pe-line),var(--pe-lift) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1::after{content:"" !important;position:absolute !important;left:27px !important;top:50% !important;width:22px !important;height:22px !important;margin-top:-11px !important;background:var(--pe-accent) !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.6 12 4l8 6.6V19a1 1 0 0 1-1 1h-4.5v-5.2h-5V20H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.6 12 4l8 6.6V19a1 1 0 0 1-1 1h-4.5v-5.2h-5V20H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center/contain no-repeat !important;transition:transform .4s var(--pe-spring) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1:has(input:checked)::after{transform:translateY(-1px) scale(1.08) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1 > span{display:block !important;flex:1 1 auto !important;min-width:0 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1 > span::after{content:"코고 타운에서 찍은 내 방 대표 사진이 글과 함께 보여요" !important;display:block !important;margin-top:3px !important;font-size:12.5px !important;font-weight:500 !important;letter-spacing:-.01em !important;color:var(--pe-muted) !important;text-wrap:pretty !important}
/* 스위치 (손잡이는 그라데이션으로 그려서 모든 브라우저에서 같게 보임) */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1 > input[type="checkbox"]{order:2 !important;margin-left:auto !important;width:46px !important;height:28px !important;min-height:0 !important;min-width:0 !important;padding:0 !important;border-radius:999px !important;border:0 !important;background-color:var(--pe-line-strong) !important;background-image:radial-gradient(circle at 14px 50%,#fff 0 10.5px,rgba(0,0,0,.14) 11px,transparent 12.5px) !important;background-repeat:no-repeat !important;background-size:46px 28px !important;background-position:0 0 !important;transition:background-color .25s,background-position .38s var(--pe-spring) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1 > input[type="checkbox"]:checked{background-color:var(--pe-accent) !important;background-position:18px 0 !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1 > input[type="checkbox"]:focus-visible{outline:2px solid var(--pe-accent) !important;outline-offset:3px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-feedback-r1{display:flex !important;align-items:center !important;flex-wrap:wrap !important;gap:10px !important;margin:0 !important;padding:0 16px 14px 74px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-status-r1{display:flex !important;align-items:center !important;gap:8px !important;flex:1 1 220px !important;min-width:0 !important;margin:0 !important;font-size:13px !important;font-weight:600 !important;line-height:1.45 !important;color:var(--pe-muted) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-status-r1:empty{display:none !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-status-r1[data-pe-tone="loading"]::before{content:"" !important;flex:none !important;width:15px !important;height:15px !important;border-radius:50% !important;border:2px solid color-mix(in srgb,var(--pe-accent) 25%,transparent) !important;border-top-color:var(--pe-accent) !important;animation:pe-spin .75s linear infinite !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-status-r1[data-pe-tone="error"]{color:var(--pe-danger) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-status-r1[data-pe-tone="ok"]{color:var(--pe-ok) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-status-r1:is([data-pe-tone="error"],[data-pe-tone="ok"])::before{content:"" !important;flex:none !important;width:17px !important;height:17px !important;background:currentColor !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") center/contain no-repeat !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-feedback-r1 [data-house-retake-r1]{display:inline-flex !important;min-height:0 !important;align-items:center !important;gap:6px !important;width:auto !important;height:34px !important;margin:0 !important;padding:0 13px 0 11px !important;border-radius:11px !important;border:1px solid var(--pe-line-strong) !important;background:var(--pe-card) !important;color:var(--pe-ink) !important;font-family:inherit !important;font-size:13px !important;font-weight:700 !important;cursor:pointer !important;box-shadow:none !important;transition:background-color .18s,border-color .18s,transform .18s var(--pe-ease) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-feedback-r1 [data-house-retake-r1]::before{content:"" !important;width:16px !important;height:16px !important;background:currentColor !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7h2l1.4-2h6.2L16.5 7h2A1.5 1.5 0 0 1 20 8.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.4'/%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7h2l1.4-2h6.2L16.5 7h2A1.5 1.5 0 0 1 20 8.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.4'/%3E%3C/svg%3E") center/contain no-repeat !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-feedback-r1 [data-house-retake-r1]:hover{background:var(--pe-field-hover) !important;border-color:var(--pe-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-feedback-r1 [data-house-retake-r1]:active{transform:scale(.96) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-preview-r1{position:relative !important;display:block !important;width:auto !important;max-width:360px !important;aspect-ratio:16 / 10 !important;margin:0 16px 16px 74px !important;padding:0 !important;overflow:hidden !important;border-radius:14px !important;border:1px solid var(--pe-line) !important;background:var(--pe-card) !important;box-shadow:var(--pe-lift) !important;animation:pe-photo .55s var(--pe-spring) backwards !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-preview-r1:not(:has(img[src]:not([src=""]))){display:none !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-preview-r1 img{display:block !important;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-preview-r1::after{content:"코고 타운 · 마이 하우스" !important;position:absolute !important;left:10px !important;bottom:10px !important;padding:5px 10px !important;border-radius:999px !important;background:rgba(16,19,34,.62) !important;color:#fff !important;font-size:11.5px !important;font-weight:700 !important;letter-spacing:-.01em !important;-webkit-backdrop-filter:blur(6px) !important;backdrop-filter:blur(6px) !important}

/* 11 ─ 저장 오류 문구 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > p[data-server-error]{display:flex !important;align-items:flex-start !important;gap:10px !important;padding:12px 14px !important;border-radius:14px !important;background:var(--pe-danger-soft) !important;color:var(--pe-danger) !important;border:1px solid color-mix(in srgb,var(--pe-danger) 28%,transparent) !important;font-size:13.5px !important;font-weight:600 !important;line-height:1.5 !important;animation:pe-shake .42s var(--pe-ease) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > p[data-server-error]:empty{display:none !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > p[data-server-error]::before{content:"" !important;flex:none !important;width:18px !important;height:18px !important;margin-top:1px !important;background:currentColor !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") center/contain no-repeat !important}

/* 12 ─ 아래 고정 바: 단축키 안내 · 취소 · 저장 */
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint,
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel,
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel){position:sticky !important;bottom:16px !important;margin-top:4px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint{grid-column:1 !important;z-index:1 !important;align-self:stretch !important;justify-self:stretch !important;display:flex !important;align-items:center !important;gap:5px !important;min-width:0 !important;font-size:12.5px !important;font-weight:600 !important;color:var(--pe-muted) !important;white-space:nowrap !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint::before{content:"" !important;position:absolute !important;left:-100vmax !important;right:-100vmax !important;top:-15px !important;bottom:-16px !important;z-index:-1 !important;background:var(--pe-card) !important;border-top:1px solid var(--pe-line) !important;box-shadow:0 -16px 28px -24px rgba(16,19,34,.35) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint kbd{display:inline-grid !important;place-items:center !important;min-width:24px !important;height:23px !important;padding:0 6px !important;border-radius:7px !important;border:1px solid var(--pe-line-strong) !important;border-bottom-width:2px !important;background:var(--pe-field) !important;color:var(--pe-ink) !important;font:700 11px/1 var(--pe-font) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel{grid-column:2 !important;z-index:2 !important;align-self:center !important;height:48px !important;min-height:0 !important;width:auto !important;padding:0 20px !important;margin-left:0 !important;border-radius:14px !important;border:1px solid var(--pe-line-strong) !important;background:var(--pe-card) !important;color:var(--pe-ink) !important;font-family:inherit !important;font-size:15px !important;font-weight:700 !important;letter-spacing:-.01em !important;cursor:pointer !important;transition:background-color .18s,border-color .18s,transform .18s var(--pe-ease) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel:hover{background:var(--pe-field-hover) !important;border-color:var(--pe-ink) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel:active{transform:scale(.97) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel:focus-visible{outline:2px solid var(--pe-accent) !important;outline-offset:2px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel){grid-column:3 !important;z-index:2 !important;align-self:center !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:8px !important;width:auto !important;min-width:132px !important;height:48px !important;min-height:0 !important;padding:0 24px 0 20px !important;background-size:100% 100% !important;background-position:0 0 !important;background-repeat:no-repeat !important;border:0 !important;border-radius:14px !important;background-color:var(--pe-accent) !important;color:var(--pe-on-accent) !important;background-image:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0) 55%) !important;font-family:inherit !important;font-size:15.5px !important;font-weight:800 !important;letter-spacing:-.01em !important;cursor:pointer !important;box-shadow:0 12px 26px -14px var(--pe-accent),inset 0 1px 0 rgba(255,255,255,.22) !important;transition:transform .2s var(--pe-ease),box-shadow .22s,background-color .2s,opacity .2s !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel)::before{content:"" !important;flex:none !important;width:18px !important;height:18px !important;background:currentColor !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat !important;transition:transform .35s var(--pe-spring) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel):hover{background-color:var(--pe-accent-deep) !important;transform:translateY(-1px) !important;box-shadow:0 16px 30px -14px var(--pe-accent),inset 0 1px 0 rgba(255,255,255,.22) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel):hover::before{transform:scale(1.12) rotate(-8deg) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel):active{transform:translateY(0) scale(.98) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel):focus-visible{outline:2px solid var(--pe-accent) !important;outline-offset:3px !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel):disabled{opacity:.5 !important;cursor:not-allowed !important;transform:none !important;box-shadow:none !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-busy] > button:not([type="button"]):not(.pe-cancel){pointer-events:none !important;background-color:var(--pe-accent-deep) !important}
html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22[data-pe-busy] > button:not([type="button"]):not(.pe-cancel)::before{-webkit-mask:none !important;mask:none !important;background:transparent !important;border:2.4px solid currentColor !important;border-right-color:transparent !important;border-radius:50% !important;width:17px !important;height:17px !important;animation:pe-spin .7s linear infinite !important}

/* 13 ─ 고대비 */
html[data-cogo-pe-r1="1"][data-contrast="high"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22){box-shadow:0 0 0 2px CanvasText !important}
html[data-cogo-pe-r1="1"][data-contrast="high"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 input[name="title"],
html[data-cogo-pe-r1="1"][data-contrast="high"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 textarea[name="content"]{border-width:2px !important}
html[data-cogo-pe-r1="1"][data-contrast="high"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip[aria-checked="true"]{outline:2px solid CanvasText !important;outline-offset:-2px !important}
html[data-cogo-pe-r1="1"][data-contrast="high"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22)::backdrop{-webkit-backdrop-filter:none !important;backdrop-filter:none !important;background:rgba(0,0,0,.7) !important}

/* 14 ─ 모바일: 아래에서 올라오는 시트 */
@media (max-width:600px){
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22){width:100% !important;max-width:100% !important;margin:auto 0 0 !important;max-height:calc(100vh - 10px) !important;max-height:calc(100dvh - 10px) !important;border-radius:26px 26px 0 0 !important;animation:pe-sheet .46s var(--pe-ease) backwards !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head{position:relative !important;padding:24px 14px 14px 18px !important;column-gap:12px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > h2{font-size:19px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .pe-sub{font-size:12.5px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head::before{width:42px !important;height:42px !important;border-radius:14px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head::after{width:21px !important;height:21px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > .dialog-head > .icon-btn{width:40px !important;height:40px !important;border-radius:13px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent{margin:0 !important;border-radius:22px 22px 0 0 !important;border-left:0 !important;border-right:0 !important;border-bottom:0 !important;scroll-padding-bottom:110px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22{grid-template-columns:0 minmax(0,1fr) minmax(0,1.7fr) !important;column-gap:0 !important;row-gap:20px !important;padding:20px 16px calc(16px + env(safe-area-inset-bottom)) !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint,html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel,html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel){bottom:calc(16px + env(safe-area-inset-bottom)) !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint > *{display:none !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint::before{bottom:calc(-16px - env(safe-area-inset-bottom)) !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-cancel{margin-right:10px !important;height:52px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > button:not([type="button"]):not(.pe-cancel){min-width:0 !important;height:52px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg{display:flex !important;justify-self:stretch !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip{flex:1 1 0 !important;justify-content:center !important;padding:0 12px !important;height:46px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 input[name="title"]{height:54px !important;font-size:16.5px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 textarea[name="content"]{min-height:168px !important;max-height:38vh !important;font-size:16px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-feedback-r1{padding-left:16px !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-preview-r1{margin-left:16px !important;max-width:none !important}
}
/* 모바일 시트 위쪽 손잡이 */
@media (max-width:600px){
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22)::before{content:"" !important;position:absolute !important;top:8px !important;left:50% !important;width:40px !important;height:5px !important;margin-left:-20px !important;border-radius:3px !important;background:var(--pe-line-strong) !important}
}
@media (hover:none){
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-hint > *{display:none !important}
}

/* 15 ─ 움직임 */
@keyframes pe-pop{from{opacity:0;transform:translateY(18px) scale(.965)}to{opacity:1;transform:none}}
@keyframes pe-sheet{from{transform:translateY(100%)}to{transform:none}}
@keyframes pe-fade{from{opacity:0}to{opacity:1}}
@keyframes pe-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes pe-icon{from{opacity:0;transform:scale(.4) rotate(-25deg)}to{opacity:1;transform:none}}
@keyframes pe-photo{from{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:none}}
@keyframes pe-shake{0%,100%{transform:none}20%{transform:translateX(-6px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}
@keyframes pe-spin{to{transform:rotate(360deg)}}

@media (prefers-reduced-motion:reduce){
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22):not(#pe-0):not(#pe-1):not(#pe-2):not(#pe-3),html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22):not(#pe-0):not(#pe-1):not(#pe-2):not(#pe-3)::backdrop,html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22):not(#pe-0):not(#pe-1):not(#pe-2):not(#pe-3) *,html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22):not(#pe-0):not(#pe-1):not(#pe-2):not(#pe-3) *::before,html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22):not(#pe-0):not(#pe-1):not(#pe-2):not(#pe-3) *::after{animation:none !important;transition:none !important}
}
@media (forced-colors:active){
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 .house-photo-toggle-r1 > input[type="checkbox"],
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > label > input[type="checkbox"]{border:1px solid CanvasText !important;forced-color-adjust:none !important}
  html[data-cogo-pe-r1="1"] body dialog#modal#modal[open]:has(> #modalContent > #opsPostEditor22) > #modalContent > #opsPostEditor22 > .pe-seg > .pe-chip[aria-checked="true"]{outline:2px solid CanvasText !important}
}
}
