/* LINE E.N.G V5.56.21: shared six-role typography for office application.
 * Respect existing layout dimensions, viewport, scroll bars and print templates.
 * Scope to interactive office page; modal templates are not rewritten.
 */
html.le55621-typography {
  --le-type-font:'Malgun Gothic','맑은 고딕',Arial,sans-serif;
  --le-type-page-title:18px;--le-type-section-title:15px;--le-type-sub-title:12px;
  --le-type-field-label:11px;--le-type-body:12px;--le-type-emphasis:13px;
  --le-type-page-weight:800;--le-type-section-weight:800;--le-type-sub-weight:700;
  --le-type-label-weight:700;--le-type-body-weight:600;--le-type-emphasis-weight:800;
  --le-type-emphasis-color:#9b2c2c;
}
@media screen {
  html.le55621-typography body,
  html.le55621-typography body .main,
  html.le55621-typography #app,
  html.le55621-typography #app :is(button,input,select,textarea,table) {
    font-family:var(--le-type-font)!important;
  }
  html.le55621-typography #app {font-size:var(--le-type-body)!important;}
  /* 대제목 / 중간제목 / 소제목 */
  html.le55621-typography #app :is(h1,.le55621-page-title,.uy561-pagehead h2,.v5150-head h2,.v5160-pagehead h2),
  html.le55621-typography #app .le42-inquiry .uy561-pagehead h2 {
    font-size:var(--le-type-page-title)!important;font-weight:var(--le-type-page-weight)!important;line-height:1.25!important;
  }
  html.le55621-typography #app :is(h2,.le55621-section-title,.uy590-panel>h3,.v5160-title,.uy590-panel h3,.le85-pane-head),
  html.le55621-typography #app .le42-inquiry .uy590-panel h3,
  html.le55621-typography #app .le42-inquiry .le74-claim h3 {
    font-size:var(--le-type-section-title)!important;font-weight:var(--le-type-section-weight)!important;line-height:1.23!important;
  }
  html.le55621-typography #app :is(h3,h4,.le55621-sub-title,.v5171-list-title,.le510-context),
  html.le55621-typography #app .le42-inquiry .uy591-mini h4 {
    font-size:var(--le-type-sub-title)!important;font-weight:var(--le-type-sub-weight)!important;
  }
  /* 바탕제목글: field labels, headers, lookup labels */
  html.le55621-typography #app :is(label,legend,th,.le55621-field-label),
  html.le55621-typography #app .le42-inquiry label,
  html.le55621-typography #app .le42-inquiry .uy592-customergrid .uy55-field label,
  html.le55621-typography #app .le42-inquiry .uy590-field,
  html.le55621-typography #app .le42-inquiry .uy591-detailfield {
    font-size:var(--le-type-field-label)!important;font-weight:var(--le-type-label-weight)!important;
  }
  /* 바탕글: data and editable values. Respect fixed compact row heights. */
  html.le55621-typography #app :is(td,input:not([type=checkbox]):not([type=radio]),select,textarea,button,.btn,.le55621-body-text),
  html.le55621-typography #app .le42-inquiry :is(button,input,select,textarea),
  html.le55621-typography #app .le42-inquiry .uy55-table td {
    font-size:var(--le-type-body)!important;line-height:1.18!important;
  }
  html.le55621-typography #app :is(td,.le55621-body-text) {font-weight:var(--le-type-body-weight);}
  /* 강조글씨: decorative colors and status colors are intentionally preserved. */
  html.le55621-typography #app :is(.le55621-emphasis,.uy591-money,.v5160-money,.v5150-stage,.v5160-badge),
  html.le55621-typography #app .le42-inquiry .uy591-money {
    font-size:var(--le-type-emphasis)!important;font-weight:var(--le-type-emphasis-weight)!important;
  }
  html.le55621-typography #app .le55621-emphasis {color:var(--le-type-emphasis-color)!important;}
}
/* Never modify printed statements, document templates, or fixed-height dashboard rows. */
/* Legacy compact inquiry rules are intentionally overridden for the six roles only. */
@media screen {
 html.le55621-typography #app .le42-inquiry{font-size:var(--le-type-body)!important;}
 html.le55621-typography #app .le42-inquiry :is(.uy55-table th,.le510-table th,.v5171-quote-scroll th,.v5181-contract-tablewrap th,.le74-claim-scroll th){font-size:var(--le-type-field-label)!important;font-weight:var(--le-type-label-weight)!important;}
 html.le55621-typography #app .le42-inquiry :is(.uy55-table td,.le510-table td,.v5171-quote-scroll td,.v5181-contract-tablewrap td,.le74-claim-scroll td){font-size:var(--le-type-body)!important;}
 html.le55621-typography #app .le42-inquiry :is(.le510-context,.uy590-field,.uy591-detailfield){line-height:1.2!important;}
}
.le55621-admin-type{background:#f8fbff;border:1px solid #c4d9ee;border-radius:9px;padding:13px;margin:15px 0 18px;}
.le55621-admin-type>h3{margin:0 0 6px!important;color:#183b5d}
.le55621-admin-type>p{font-size:12px;line-height:1.5}
.le55621-toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:9px 0}
.le55621-toolbar label{display:flex!important;align-items:center;gap:8px}
.le55621-toolbar select{min-height:30px;border:1px solid #b7c9da;border-radius:5px}
.le55621-toolbar input[type=color]{width:44px;height:29px;cursor:pointer;border:1px solid #b7c9da;padding:2px;border-radius:4px}
.le55621-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 12px}
.le55621-grid label{display:flex!important;flex-direction:column;gap:4px;margin:3px 0!important;font-size:11px}
.le55621-grid label>span{font-size:10px!important;color:#61778b;font-weight:500}
.le55621-grid input,.le55621-grid select{height:32px;padding:4px 7px;border:1px solid #b7c9da;border-radius:5px;max-width:100%;min-width:0;width:100%;background:white}
.le55621-preview{border:1px dashed #aac5dd;border-radius:6px;padding:11px;background:white;display:grid;gap:7px;margin:13px 0}
@media(max-width:1000px){.le55621-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.le55621-grid{grid-template-columns:1fr}}
