/* Sookmyung evidence template; scoped to preserve the seven-book gallery. */
@font-face{font-family:JinPrincipleSans;src:url('/classes/sookmyung/assets/site-sans.woff') format('woff');font-weight:100 900;font-display:swap}
@font-face{font-family:JinPrincipleSans;src:url('/classes/jinmyeong/assets/principles/noto-supplement-400.woff') format('woff');font-weight:400;font-display:swap;unicode-range:U+B193,U+B9BC,U+BD10,U+C90D,U+C9DA,U+D3EC}
@font-face{font-family:JinPrincipleSans;src:url('/classes/jinmyeong/assets/principles/noto-supplement-700.woff') format('woff');font-weight:700;font-display:swap;unicode-range:U+B193,U+B9BC,U+BD10,U+C90D,U+C9DA,U+D3EC}
#jin-principle-module{font-family:JinPrincipleSans,Pretendard,'Noto Sans KR',sans-serif;color:#fff;background:#222;font-size:1rem;line-height:1.7;word-break:keep-all;margin-inline:-24px;padding:28px 24px;color-scheme:light}
    #jin-principle-module *{box-sizing:border-box}
    #jin-principle-module h3,#jin-principle-module h4,#jin-principle-module p,#jin-principle-module figure{margin:0}
    #jin-principle-module h3{line-height:1.3;letter-spacing:-.055em;font-weight:700}
    #jin-principle-module h4{font-weight:700}
    #jin-principle-module button{font:inherit;border:0;border-radius:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
    #jin-principle-module button:focus-visible{outline:3px solid #bbb;outline-offset:5px}
    #jin-principle-module .index{font-size:.8125rem;letter-spacing:.12em;font-weight:700;color:#c6c6c6}
    #jin-principle-module .example-section{margin-top:46px;padding-top:32px;border-top:1px solid #535353;min-width:0;margin-bottom:44px}
    #jin-principle-module .example-section>h3{font-size:1.6rem;margin:12px 0 24px;line-height:1.5}
    #jin-principle-module .evidence-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:thin}
    #jin-principle-module .evidence-tabs button{flex:none;padding:11px 17px;border:1px solid #676767;color:#dddddd;font-size:.875rem;background:transparent;min-height:44px}
    #jin-principle-module .evidence-tabs button[aria-selected=true]{background:#e5e5e5;border-color:#e5e5e5;color:#222222}
    #jin-principle-module .evidence-copy{padding:18px 0 22px}
    #jin-principle-module .evidence-copy h4{font-size:1.2rem;line-height:1.5;margin-bottom:10px}
    #jin-principle-module .evidence-copy p{font-size:.9375rem;line-height:1.8;color:#c7c7c7}
    #jin-principle-module .evidence-images{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
    #jin-principle-module .evidence-images figure{min-width:0}
    #jin-principle-module .evidence-image{display:flex;align-items:center;justify-content:center;width:100%;height:300px;padding:18px;background:#f6f6f6;overflow:hidden;cursor:zoom-in}
    #jin-principle-module .evidence-image img{display:block;max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto}
    #jin-principle-module figcaption{font-size:.8125rem;color:#c7c7c7;line-height:1.8;margin-top:12px;word-break:keep-all}
    #jin-principle-module .evidence-foot{font-size:.75rem;color:#c7c7c7;line-height:1.8;margin-top:20px}
    #jin-principle-module .image-dialog{border:0;padding:0;width:min(940px,94vw);max-height:92vh;color:#222222;background:#fff;box-shadow:0 20px 90px #0006}
    #jin-principle-module .image-dialog::backdrop{background:#222222bf}
    #jin-principle-module .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px;position:sticky;top:0;background:#fff;border-bottom:1px solid #e1e1e1}
    #jin-principle-module .dialog-head b{font-size:.875rem}
    #jin-principle-module .dialog-head button{padding:8px 14px;background:#f6f6f6;color:#222;font-size:.8125rem}
    #jin-principle-module .image-dialog>img{display:block;margin:24px auto;max-width:calc(100% - 40px);max-height:75vh;object-fit:contain;width:auto;height:auto}
    @media(max-width:600px){
      #jin-principle-module{margin-inline:-20px;padding:24px 20px}
      #jin-principle-module .example-section{margin-top:32px;padding-top:24px}
      #jin-principle-module .example-section>h3{font-size:1.3rem;margin-bottom:20px}
      #jin-principle-module .evidence-tabs button{padding:10px 13px}
      #jin-principle-module .evidence-copy h4{font-size:1.0625rem}
      #jin-principle-module .evidence-copy p{font-size:.875rem}
      #jin-principle-module .evidence-images{gap:22px}
      #jin-principle-module .evidence-image{height:300px;padding:12px}
      #jin-principle-module figcaption{font-size:.75rem}
      #jin-principle-module .evidence-foot{font-size:.6875rem}
      #jin-principle-module .image-dialog>img{max-height:none}
      #jin-principle-module .dialog-head{padding:12px}
      #jin-principle-module .dialog-head b{font-size:.75rem}
    }
