/* R153: screen-only hierarchy. Form labels, values and section titles are distinct. */
@media screen {
html body :is(h1,h2,h3,h4){font-weight:750!important}
html body :is(.form-table,.formgrid,.form-grid,.input-table) th{font-weight:700!important;background:#eaf0f7!important;color:#162a3e!important}
html body label:not(:has(input[type="checkbox"],input[type="radio"])){font-weight:700!important}
html body label :is(input,select,textarea){font-weight:400!important}

html body .label153{font-weight:700!important;color:#162a3e!important;background:#eaf0f7!important;line-height:1.5!important;font-size:13px!important}
html body .formgrid>.field>.label153{border-right:1px solid #c4cedb!important;align-self:stretch!important;display:flex!important;align-items:center!important;padding:9px 10px!important}
html body .field>.label153:not(:first-child){border-right:0!important}
html body :is(.section-head,.card-head,.section-title,.form-section>h3,.section>h3,.panel-head) :is(h2,h3,b),html body :is(.section>h3,.form-section>h3,.section-title>span:first-child){font-weight:750!important;color:#172b40!important}
html body :is(.section-head,.form-section>.card-head,.section>.section-title){background:#e8eef6!important;border-bottom:1px solid #bbc9da!important}
html body :is(.field,.formgrid,.form-field) :is(input,select,textarea){font-weight:400!important}
html body :is(.field,.formgrid) input:is(.money,.money-input){font-weight:600!important}
html body :is(.section-head,.card-head) small{font-weight:400!important}
html body .court153-tools{grid-column:2/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:3px 5px 5px;min-width:0}
html body .court153-hint{font-size:11px;color:#557087;line-height:1.5}
html body .court153-tools button{border:0;background:transparent;color:#176bd0;font-size:11px;text-decoration:underline;min-height:24px;padding:2px 4px}
html body .order153-button{border:1px solid #2376e5!important;background:white!important;color:#1765c9!important;padding:7px 10px!important;margin:2px 5px 2px 0!important;min-height:34px!important;border-radius:0!important;font-size:13px!important;font-weight:600!important}
html body .order153-error{display:block;color:#b92b32;font-size:12px;line-height:1.5}
html body input[data-date153]{font-variant-numeric:tabular-nums;letter-spacing:.2px}
html body input[data-date153][aria-invalid="true"]{border-color:#c34646!important;background:#fff8f7!important}
}
@media print{[data-date153-popup],.date153-wrap>[data-date153-toggle],.court153-tools,.order153-button,.order153-error{display:none!important}}

/* R154: Remove redundant customer-list shortcuts and collapse their spacing. */
@media screen {
  #crmPage .crm-actions > [data-crmaction="고객파일함"],
  #crmPage .crm-actions > [data-detail150],
  #crmPage .crm-tabs > [data-scope="all"],
  #crmPage .crm-tabs > [data-scope="crm"],
  #crmPage .crm-tabs > [data-scope="case"] {
    display: none !important;
  }
  #crmPage .crm-tabs {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 0 !important;
  }
  #crmPage .crm-actions:not(:has(> :not([data-crmaction="고객파일함"]):not([data-detail150]))) {
    display: none !important;
  }
}

/* R159 compact list and aligned application rows. */
@media screen {
 html body #crmPage .crm-tabs{display:none!important}
 html body #crmPage .crm-title{min-height:0!important;padding-top:8px!important;padding-bottom:8px!important;margin-bottom:0!important}
 html body #crmPage .crm-sticky{margin-top:0!important;padding-top:0!important}
 html body .crm-compact-modes{display:none!important}
 html body .court-grid159>.field{align-items:stretch!important}
 html body .court-grid159>.field>div{align-self:stretch!important;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}
 html body .court-grid159>.field>div>input{flex:0 0 auto}
 html body .court-grid159 .court153-tools{grid-column:auto;flex:0 0 auto;margin:4px 0 0;padding:0;gap:4px;line-height:1.4}
 html body #median[readonly]{background:#e9edf2!important;border-color:#c8d1dc!important;color:#334155!important;cursor:default;box-shadow:none!important}
 .fixed-note159{display:block;padding-top:4px;color:#526274;font-size:11px;font-weight:500;line-height:1.4}
}

/* R171 shared date controls; first layer wins over legacy important rules. */
@layer ts-date171 {
@media screen {
html body .date171-wrap{position:relative!important;display:inline-flex!important;align-items:center!important;width:100%!important;min-width:0!important;vertical-align:middle!important;padding:0!important;background:none!important}
html body .date171-wrap>input{width:100%!important;min-width:0!important;height:36px!important;box-sizing:border-box!important;padding:5px 44px 5px 9px!important;margin:0!important;background-image:none!important;border-radius:0!important}
html body .date171-wrap>button:not([hidden]){position:absolute!important;inset:auto 4px auto auto!important;top:50%!important;transform:translateY(-50%)!important;width:35px!important;min-width:35px!important;height:27px!important;min-height:27px!important;max-height:27px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#edf4ff!important;color:#1664c5!important;font:11px 'Malgun Gothic',sans-serif!important;line-height:27px!important;box-shadow:none!important;display:block!important}
html body .date171-wrap>button[hidden]{display:none!important}
html body .date171-wrap>button:disabled{opacity:.45!important;cursor:default!important}
html body .date171-wrap:before,html body .date171-wrap:after{display:none!important}
html body #court .court-grid159{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important}
html body #court .court-grid159>.field{grid-column:auto!important;grid-template-columns:100px minmax(0,1fr)!important;min-height:46px!important;align-items:center!important}
html body #court .court-grid159>.field>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;flex-direction:row!important;align-items:center!important;align-content:center!important;justify-content:stretch!important;gap:6px!important;min-width:0!important;min-height:36px!important;height:auto!important;margin:0!important;padding:5px!important}
html body #court .court-grid159>.field>div.compact171{grid-template-columns:minmax(0,1fr) auto!important}
html body #court .court-grid159>.field>div>input:not([type=checkbox]),html body #court .court-grid159>.field>div>select{height:36px!important;min-height:36px!important;max-height:36px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;flex:none!important;margin:0!important}
html body #court .compact171>.date171-wrap{width:100%!important;min-width:0!important;height:36px!important;flex:none!important}
html body #court .compact171>small{white-space:nowrap!important;margin:0!important;font-size:11px!important}
html body #court .compact171>.check{display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;margin:0!important;font-size:11px!important;min-height:0!important}
html body #court .compact171>.check:has(input[data-order153]){display:none!important}
html body #court .compact171 .court153-tools{display:inline-flex!important;flex-direction:row!important;align-items:center!important;grid-column:auto!important;margin:0!important;padding:0!important;gap:4px!important;flex-wrap:nowrap!important}
html body #court .compact171 .court153-hint{width:auto!important;height:auto!important;white-space:nowrap!important;display:inline!important;border:0!important;font-size:11px!important;line-height:1.4!important;color:#557087!important}
html body #court .compact171 .court153-tools button{white-space:nowrap!important;min-height:28px!important}
html body #court .court-grid159>.field>div.compact171.orders171{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #court .compact171 .order153-button{display:inline-flex!important;justify-content:center!important;width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;box-sizing:border-box!important;align-items:center!important;margin:0!important;padding:4px 6px!important;white-space:nowrap!important;font-size:12px!important}
html body #court .compact171 .order153-error{grid-column:1/-1!important}

}
}

/* R174: applicant identity and refund account - table lines only. */
@media screen {
html body .formgrid .field:has(input[data-basic118="name"],input[data-basic118="residentNumber"],input[data-basic118="mobile"],input[data-basic118="additionalPhone"],input[data-basic118="refundBank"]) input:not([type="hidden"]) {
 border:1px solid transparent!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;outline:none!important;
}
html body .formgrid .field:has(input[data-basic118="name"],input[data-basic118="residentNumber"],input[data-basic118="mobile"],input[data-basic118="additionalPhone"],input[data-basic118="refundBank"]) input:not([type="hidden"]):hover {background:#f4f8fc!important}
html body .formgrid .field:has(input[data-basic118="name"],input[data-basic118="residentNumber"],input[data-basic118="mobile"],input[data-basic118="additionalPhone"],input[data-basic118="refundBank"]) input:not([type="hidden"]):focus {background:#f4f8ff!important;box-shadow:inset 0 -2px 0 #176bd0!important;outline:2px solid transparent!important}
html body .formgrid .field input[data-basic118][aria-invalid="true"] {box-shadow:inset 0 -2px 0 #c34646!important;background:#fff8f7!important}
@media (forced-colors:active){html body .formgrid .field input[data-basic118]:focus{outline:2px solid Highlight!important}}
}

/* R174: stronger hierarchy, scoped to the applicant identity section. */
@media screen {
html body .section:has(input[data-basic118="name"])>.section-head {background:#193b56!important;border-bottom:1px solid #193b56!important;color:#fff!important}
html body .section:has(input[data-basic118="name"])>.section-head :is(h2,h3,b,small,.section-counter) {color:#fff!important}
html body .section:has(input[data-basic118="name"])>.section-head img.icon {background:#e6f1fc!important;padding:5px!important;box-sizing:content-box!important}
html body .section:has(input[data-basic118="name"]) .formgrid {background:#fff!important;border-color:#aabed0!important}
html body .section:has(input[data-basic118="name"]) .formgrid>.field {border-color:#b8c9d8!important}
html body .section:has(input[data-basic118="name"]) .formgrid>.field>:is(span:first-child,.label153) {background:#e1eaf2!important;color:#17364d!important;font-weight:700!important;border-right-color:#aabed0!important}
html body .section:has(input[data-basic118="name"]) .formgrid>.field>div {background:#fff!important}
html body .section:has(input[data-basic118="name"]) .formgrid input {color:#172b3c!important}
html body .section:has(input[data-basic118="name"]) .formgrid input::placeholder {color:#627587!important;opacity:1!important}
html body .section:has(input[data-basic118="name"]) .refund130>label {color:#334f67!important}
}

/* R174.2: light label cells and stronger text, identity section only. */
@media screen {
html body .section:has(input[data-basic118="name"]) .formgrid>.field>:is(span:first-child,.label153) {background:#edf3fc!important;color:#17212b!important;font-family:"Malgun Gothic","맑은 고딕",sans-serif!important;font-size:14px!important;font-weight:700!important;line-height:1.45!important;letter-spacing:0!important}
html body .section:has(input[data-basic118="name"]) .formgrid>.field>:is(span:first-child,.label153) em {color:#c74235!important;font-size:inherit!important}
}

/* R174.3: application editors, including dynamically added rows. */
@layer ts-date171 {
@media screen {
html[data-ts-application1743="1"] body :is(input:not([type]),input:is([type="text"],[type="number"],[type="tel"],[type="email"],[type="url"],[type="search"],[type="date"],[type="month"],[type="datetime-local"]),textarea) {border:1px solid transparent!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;outline:none!important}
html[data-ts-application1743="1"] body :is(input:not([type]),input:is([type="text"],[type="number"],[type="tel"],[type="email"],[type="url"],[type="search"],[type="date"],[type="month"],[type="datetime-local"]),textarea):not(:disabled):not([readonly]):hover {background:#f4f8fc!important}
html[data-ts-application1743="1"] body :is(input:not([type]),input:is([type="text"],[type="number"],[type="tel"],[type="email"],[type="url"],[type="search"],[type="date"],[type="month"],[type="datetime-local"]),textarea):not(:disabled):not([readonly]):focus {background:#f4f8ff!important;box-shadow:inset 0 -2px 0 #176bd0!important;outline:2px solid transparent!important}
html[data-ts-application1743="1"] body :is(input:not([type]),input:is([type="text"],[type="number"],[type="tel"],[type="email"],[type="url"],[type="search"],[type="date"],[type="month"],[type="datetime-local"]),textarea):is([readonly],:disabled) {background:#eef1f5!important;color:#607085!important;cursor:default!important}
html[data-ts-application1743="1"] body :is(input:not([type]),input:is([type="text"],[type="number"],[type="tel"],[type="email"],[type="url"],[type="search"],[type="date"],[type="month"],[type="datetime-local"]),textarea)[aria-invalid="true"] {background:#fff8f7!important;box-shadow:inset 0 -2px 0 #c34646!important}
html[data-ts-application1743="1"] body .formgrid>.field:has(input[data-basic118="residentNumber"]) {grid-template-columns:110px minmax(0,1fr)!important}
html[data-ts-application1743="1"] body .formgrid>.field:has(input[data-basic118="residentNumber"])>:is(span:first-child,.label153) {padding:9px 4px!important;flex-wrap:nowrap!important;white-space:nowrap!important;gap:2px!important}
html[data-ts-application1743="1"] body .formgrid>.field:has(input[data-basic118="residentNumber"])>:is(span:first-child,.label153) em {display:inline!important;flex:0 0 auto!important;margin:0!important}
html[data-ts-application1743="1"] body .refund130>label {font-weight:700!important;color:#17212b!important}
html[data-ts-application1743="1"] body .refund130>label input {font-weight:400!important}
}
@media screen and (forced-colors:active) {
html[data-ts-application1743="1"] body :is(input:not([type]),input:is([type="text"],[type="number"],[type="tel"],[type="email"],[type="url"],[type="search"],[type="date"],[type="month"],[type="datetime-local"]),textarea) {border-color:CanvasText!important}
html[data-ts-application1743="1"] body :is(input:not([type]),input:is([type="text"],[type="number"],[type="tel"],[type="email"],[type="url"],[type="search"],[type="date"],[type="month"],[type="datetime-local"]),textarea):focus {outline:2px solid Highlight!important}
}
}

/* R174.3: reserve space for field titles without changing the two-column form. */
@layer ts-date171 {
@media screen {
html[data-ts-application1743="1"] body :is(.formgrid,#court .court-grid159)>.field {grid-template-columns:140px minmax(0,1fr)!important}
html[data-ts-application1743="1"] body .formgrid>.field:has(input[data-basic118="residentNumber"]) {grid-template-columns:140px minmax(0,1fr)!important}
html[data-ts-application1743="1"] body :is(.formgrid,.form-grid)>.field>:is(span:first-child,label:first-child,.label153):not(:has(input,select,textarea,button)) {background:#edf3fc!important;color:#17212b!important;font-family:"Malgun Gothic","맑은 고딕",sans-serif!important;font-size:14px!important;font-weight:700!important;line-height:1.45!important;letter-spacing:0!important;padding:8px!important;box-sizing:border-box!important;word-break:keep-all!important;text-wrap:wrap!important}
html[data-ts-application1743="1"] body .formgrid>.field>div {min-width:0!important}
html[data-ts-application1743="1"] body .formgrid>.field input:not([type="checkbox"]):not([type="radio"]),html[data-ts-application1743="1"] body .formgrid>.field textarea {min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
}
@media screen and (max-width:700px) {
html[data-ts-application1743="1"] body :is(.formgrid,#court .court-grid159)>.field,html[data-ts-application1743="1"] body .formgrid>.field:has(input[data-basic118="residentNumber"]) {grid-template-columns:124px minmax(0,1fr)!important}
}
}

/* R174.4: basic information cards only; preserve input and label styling. */
@layer ts-date171 {
@media screen {
html[data-ts-basic1744="1"] body .section {background:#fff!important;border:1px solid #aeb5bc!important;border-radius:8px!important;box-shadow:0 2px 6px #172b4020!important;margin-bottom:18px!important}
html[data-ts-basic1744="1"] body .section>.section-head {background:#fff!important;color:#17212b!important;border:0!important;border-radius:8px 8px 0 0!important;min-height:42px!important;padding:12px 16px 5px!important}
html[data-ts-basic1744="1"] body .section>.section-head>div {gap:7px!important;align-items:center!important}
html[data-ts-basic1744="1"] body .section>.section-head :is(h2,h3,b) {color:#17212b!important;font-size:17px!important;font-weight:700!important;line-height:1.4!important;margin:0!important}
html[data-ts-basic1744="1"] body .section>.section-head :is(h2,h3)::before {content:"▸";color:#3d568a;font-size:12px;margin-right:7px;vertical-align:2px}
html[data-ts-basic1744="1"] body .section>.section-head img.icon {display:none!important}
html[data-ts-basic1744="1"] body .section>.section-head :is(small,.section-counter) {color:#64748b!important}
html[data-ts-basic1744="1"] body .section>.section-body {padding-top:10px!important}
html[data-ts-basic1744="1"] body .section>.section-nav {background:#fff!important;border-top:1px solid #e5e9ee!important;border-radius:0 0 8px 8px!important}
}
}

/* R174.5: compact basic cards with a visible, restrained gradient. */
@layer ts-date171 {
@media screen {
html[data-ts-basic1744="1"] body .section {background:linear-gradient(180deg,#fff 0%,#f5f8fc 65%,#e8eef6 100%)!important;border-color:#9daab9!important;box-shadow:0 3px 8px #20374c30,0 1px 2px #20374c18!important;margin-bottom:16px!important}
html[data-ts-basic1744="1"] body .section>.section-head {background:transparent!important;padding:11px 15px 7px!important;min-height:38px!important}
html[data-ts-basic1744="1"] body .section>.section-head>div {flex-wrap:wrap!important;gap:4px 12px!important}
html[data-ts-basic1744="1"] body .section>.section-head :is(h2,h3,b) {font-family:"Malgun Gothic","맑은 고딕",sans-serif!important;font-weight:800!important;color:#101820!important;font-size:17px!important}
html[data-ts-basic1744="1"] body .section>.section-head small {display:inline!important;font-size:11px!important;font-weight:400!important;line-height:1.5!important;color:#64748b!important}
html[data-ts-basic1744="1"] body .section>.section-body {padding:4px 15px 14px!important;background:transparent!important}
html[data-ts-basic1744="1"] body .section>.section-body>.section-intro {display:none!important}
html[data-ts-basic1744="1"] body .section>.section-nav {display:none!important}
html[data-ts-basic1744="1"] body .section>.section-nav:has(.next155) {display:flex!important;justify-content:flex-end!important;padding:0 15px 12px!important;background:transparent!important;border:0!important}
html[data-ts-basic1744="1"] body .section>.section-nav:has(.next155)>:not(.next155) {display:none!important}
html[data-ts-basic1744="1"] body .section .formgrid {background:#fff!important}
html[data-ts-basic1744="1"] body .section .formgrid>.field {min-height:38px!important}
html[data-ts-basic1744="1"] body .section .formgrid>.field>div {padding:3px 5px!important;min-height:32px!important}
html[data-ts-basic1744="1"] body .section .formgrid>.field>:is(span:first-child,.label153) {padding:6px 8px!important}
html[data-ts-basic1744="1"] body .section .formgrid input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),html[data-ts-basic1744="1"] body .section .formgrid select {height:32px!important;min-height:32px!important;max-height:32px!important;padding-top:4px!important;padding-bottom:4px!important}
html[data-ts-basic1744="1"] body #court .court-grid159>.field {min-height:40px!important}
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div {min-height:32px!important;padding:3px 5px!important}
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div>input:not([type="checkbox"]),html[data-ts-basic1744="1"] body #court .court-grid159>.field>div>select,html[data-ts-basic1744="1"] body #court .compact171>.date171-wrap {height:32px!important;min-height:32px!important;max-height:32px!important}
html[data-ts-basic1744="1"] body .field>div:has(> #current-address) {display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
html[data-ts-basic1744="1"] body #current-address:not([hidden]) {order:0!important;flex:1 1 340px!important;min-width:0!important}
html[data-ts-basic1744="1"] body .field>div:has(> #current-address)>.check {order:1!important;flex:0 0 auto!important;white-space:nowrap!important;margin:0!important;min-height:32px!important}
html[data-ts-basic1744="1"] body #current-address .address {width:100%!important;min-width:0!important}
html[data-ts-basic1744="1"] body #current-address .address .street {flex:1!important;min-width:0!important}
}
}

/* R174.10: court name has priority over inline guidance. */
@layer ts-date171 {
@media screen {
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div.compact171:has([data-basic118="court"]) {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px 8px!important}
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div.compact171>[data-basic118="court"] {flex:1 1 200px!important;width:200px!important;min-width:min(200px,100%)!important;max-width:100%!important}
html[data-ts-basic1744="1"] body #court .compact171:has([data-basic118="court"]) .court153-tools {flex:1 1 140px!important;min-width:0!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:2px 6px!important}
html[data-ts-basic1744="1"] body #court .compact171:has([data-basic118="court"]) .court153-hint {white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important}
}
}

/* R174.12: restore the selected basic card design, with roomier rows. */
@layer ts-date171 {
@media screen {
html[data-ts-basic1744="1"] body .section :is(.formgrid,#court .court-grid159)>.field {min-height:48px!important;align-items:stretch!important}
html[data-ts-basic1744="1"] body .section .formgrid>.field>div,
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div {min-height:46px!important;padding:6px!important;align-content:center!important}
html[data-ts-basic1744="1"] body .section .formgrid>.field>:is(span:first-child,.label153) {align-content:center!important;padding:10px 8px!important;line-height:1.5!important}
html[data-ts-basic1744="1"] body .section .formgrid input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-ts-basic1744="1"] body .section .formgrid select,
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div>input:not([type="checkbox"]),
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div>select,
html[data-ts-basic1744="1"] body #court .compact171>.date171-wrap {height:34px!important;min-height:34px!important;max-height:34px!important}
html[data-ts-basic1744="1"] body .section .address {display:grid!important;grid-template-columns:80px 72px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-width:0!important;width:100%!important}
html[data-ts-basic1744="1"] body .section .address>.zip {width:80px!important;min-width:0!important;max-width:80px!important;margin:0!important}
html[data-ts-basic1744="1"] body .section .address>.address-search {width:72px!important;min-width:72px!important;height:34px!important;min-height:34px!important;padding:4px!important;margin:0!important;box-sizing:border-box!important}
html[data-ts-basic1744="1"] body .section .address>.street {width:100%!important;min-width:0!important;margin:0!important}
html[data-ts-basic1744="1"] body #court .court-grid159>.field>div.compact171>[data-basic118="court"] {flex:1 1 180px!important;width:180px!important;min-width:min(180px,100%)!important}
html[data-ts-basic1744="1"] body #court .compact171:has([data-basic118="court"]) .court153-tools {flex:0 1 auto!important;flex-wrap:nowrap!important;gap:6px!important}
html[data-ts-basic1744="1"] body #court .compact171:has([data-basic118="court"]) .court153-hint {white-space:nowrap!important}
}
@media screen and (max-width:600px) {
html[data-ts-basic1744="1"] body .section .address {grid-template-columns:70px 72px!important}
html[data-ts-basic1744="1"] body .section .address>.street {grid-column:1/-1!important}
html[data-ts-basic1744="1"] body .section .address>.zip {width:70px!important}
}
}
/* R174.7: align application dropdowns with borderless text inputs. */
@layer ts-date171 {
@media screen {
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select {border:1px solid transparent!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important;outline:none!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select:not(:disabled):hover {background-color:#f4f8fc!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select:not(:disabled):focus {background-color:#f4f8ff!important;box-shadow:inset 0 -2px 0 #176bd0!important;outline:2px solid transparent!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select:disabled {background-color:#eef1f5!important;color:#607085!important;cursor:default!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select[aria-invalid="true"] {background-color:#fff8f7!important;box-shadow:inset 0 -2px 0 #c34646!important}
}
@media screen and (forced-colors:active) {
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select {border-color:CanvasText!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select:focus {outline:2px solid Highlight!important}
}
}

/* Styled native option popup where supported; native keyboard behavior retained. */
@supports (appearance:base-select) {
@layer ts-date171 {
@media screen {
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select:not([multiple]):not([size]),
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select:not([multiple]):not([size])::picker(select) {appearance:base-select!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select:not([multiple]):not([size]) {display:inline-flex!important;align-items:center!important;gap:6px!important;cursor:pointer!important;background-image:none!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select::picker-icon {color:#173b60!important;font-size:11px!important;margin-inline-start:auto!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select::picker(select) {background:#fff!important;color:#17354f!important;border:1px solid #a7bfdc!important;border-radius:0!important;padding:3px!important;box-shadow:0 3px 8px #17354f24!important;max-height:260px!important;overflow-y:auto!important;font:13px/1.5 "Malgun Gothic",sans-serif!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select option {padding:9px 12px!important;min-height:38px!important;background:#fff!important;color:#17354f!important;border:1px solid #cfdae8!important;border-radius:0!important;margin:0!important;font-weight:400!important;white-space:normal!important;overflow-wrap:anywhere!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select option:is(:hover,:focus,:checked) {background:#edf4ff!important;color:#123d70!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select option:disabled {color:#8b96a5!important;background:#f4f5f7!important}
html[data-ts-application1743="1"]:not([data-ts-basic1744="1"]) body select option::checkmark {display:none!important}
}
}
}


/* Keep current section icons in the restored card headings. */
@layer ts-date171 {
@media screen {
html[data-ts-basic1744="1"] body .section>.section-head :is(h2,h3)::before {content:none!important}
html[data-ts-basic1744="1"] body .section>.section-head img.icon {display:inline-block!important;width:20px!important;height:20px!important;padding:0!important;background:transparent!important;flex:0 0 20px!important;object-fit:contain!important}
}
}

/* R174.13: basic and repayment use statement section styling. */
@layer ts-date171 {
@media screen {
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section{background:#fff!important;border:1px solid #93aac8!important;border-radius:0!important;box-shadow:none!important;margin-bottom:16px!important;font-family:"Malgun Gothic","맑은 고딕",sans-serif!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head{background:#f3f8fe!important;border:0!important;border-bottom:1px solid #c6d8ed!important;border-radius:0!important;min-height:57px!important;padding:10px 17px!important;box-sizing:border-box!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head>div{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head :is(h2,h3,b){font-family:"Malgun Gothic","맑은 고딕",sans-serif!important;color:#153b5b!important;font-size:17px!important;font-weight:700!important;line-height:1.45!important;margin:0!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head :is(h2,h3)::before{content:none!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head img.icon{display:inline-block!important;width:34px!important;height:34px!important;flex:0 0 34px!important;box-sizing:border-box!important;padding:6px!important;background:#e1f0f4!important;border-radius:0!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head small{display:none!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head .section-counter{font-size:12px!important;color:#17416b!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-body{padding:17px!important;background:#fff!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-body>.section-intro{display:block!important;background:transparent!important;border:0!important;padding:0!important;margin:0 0 14px!important;color:#17212b!important;font-size:12px!important;line-height:1.6!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav,html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav:has(.next155){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 15px!important;background:#f8f8f8!important;border:0!important;border-top:1px solid #e3e3e3!important;border-radius:0!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav>small,html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav:has(.next155)>small{display:block!important;font-size:11px!important;font-weight:400!important;color:#274765!important;text-align:center!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav>button,html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav:has(.next155)>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:7px 14px!important;font-size:13px!important;border-radius:0!important;box-shadow:none!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav>button:not(.next155){background:#fff!important;border:1px solid #c6d8ed!important;color:#17416b!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav>button:disabled{opacity:.5!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .formgrid{background:#fff!important;border-color:#cfcfcf!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section :is(.formgrid,#court .court-grid159)>.field{min-height:46px!important;border-color:#cfcfcf!important;align-items:stretch!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .formgrid>.field>div{min-height:44px!important;padding:5px 6px!important;align-content:center!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section :is(.formgrid,.form-grid)>.field>:is(span:first-child,label:first-child,.label153):not(:has(input,select,textarea,button)){background:#f3f8fe!important;color:#153b5b!important;font-size:13px!important;font-weight:700!important;padding:9px 10px!important;border-color:#cfcfcf!important;align-content:center!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .formgrid input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .formgrid select{height:34px!important;min-height:34px!important;max-height:34px!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section select{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important;border-radius:0!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section select:focus{box-shadow:inset 0 -2px 0 #176bd0!important;background-color:#f4f8ff!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section :is(.muted,.hint){line-height:1.6!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .tablewrap table th{background:#f3f8fe!important;color:#153b5b!important}
}
}

/* R174.14: use the same webfont resource declared by statement_r26. */
@font-face {font-family:TSStatement17414;src:url('/static/workspace_r108/media/9599f12fd42fc0bce1cd.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@layer ts-date171 {
@media screen {
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section,
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section :is(h1,h2,h3,h4,p,small,label,input,select,option,textarea,button,td,th,b,strong,em,span:not(.bi):not(.icon):not(.i)),
html[data-ts-form17413="1"][data-ts-application1743="1"] body :is(.statement-top,#toc-links) {font-family:TSStatement17414,Pretendard,"Malgun Gothic",sans-serif!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head :is(h2,h3),
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head :is(h2,h3) :is(span,b,strong) {font-family:TSStatement17414,Pretendard,"Malgun Gothic",sans-serif!important;font-size:17px!important;font-weight:700!important;font-style:normal!important;letter-spacing:normal!important;line-height:1.4!important}
}
}

/* Match statement label emphasis, blue icons and unboxed footer guidance. */
@layer ts-date171 {
@media screen {
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .formgrid>.field>:is(span:first-child,.label153),
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .formgrid>.field>:is(span:first-child,.label153) :is(span,b,strong),
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section .refund130>label {font-family:TSStatement17414,Pretendard,"Malgun Gothic",sans-serif!important;font-weight:700!important;color:#153b5b!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-head img.icon {filter:brightness(0) saturate(100%) invert(45%) sepia(99%) saturate(2646%) hue-rotate(181deg) brightness(101%) contrast(106%)!important;background:transparent!important}
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav>small,
html[data-ts-form17413="1"][data-ts-application1743="1"] body .section>.section-nav:has(.next155)>small {background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;color:#274765!important}
}
}

/* R174.15: black entered values throughout application editors. */
@layer ts-date171 {
@media screen {
html[data-ts-black17415="1"][data-ts-application1743="1"] body :is(input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select,select option) {color:#000!important;-webkit-text-fill-color:#000!important;opacity:1!important}
html[data-ts-black17415="1"][data-ts-application1743="1"] body :is(input,textarea)::placeholder {color:#707070!important;-webkit-text-fill-color:#707070!important;opacity:1!important}
}
@media screen and (forced-colors:active) {
html[data-ts-black17415="1"][data-ts-application1743="1"] body :is(input,textarea,select,select option) {color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}
}
}

/* R174.15: enlarge field labels and values by one typographic point from 13px. */
@layer ts-date171 {
@media screen {
html[data-ts-black17415="1"][data-ts-application1743="1"] body :is(.section,.statement-section) :is(input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select,select option),
html[data-ts-black17415="1"][data-ts-application1743="1"] body :is(.formgrid,.form-grid)>.field>:is(span:first-child,.label153,label:first-child):not(:has(input,select,textarea,button)),
html[data-ts-black17415="1"][data-ts-application1743="1"] body .fields>label,
html[data-ts-black17415="1"][data-ts-application1743="1"] body .section .refund130>label {font-size:calc(13px + 1pt)!important}
html[data-ts-black17415="1"][data-ts-application1743="1"] body :is(.formgrid,.form-grid)>.field>:is(span:first-child,.label153,label:first-child):not(:has(input,select,textarea,button)) :is(span,b,strong),
html[data-ts-black17415="1"][data-ts-application1743="1"] body .fields>label :is(span,b,strong) {font-size:inherit!important}
}
}
