.sp-tools{margin:14px 0;padding:16px 22px!important}.sp-tools>details>summary{cursor:pointer;color:#e4cb8f;font-weight:700;font-size:calc(15px * var(--fz,1.25));min-height:30px;display:list-item}.sp-study{scroll-margin-top:220px}.sp-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sp-tool-grid button{min-height:52px;text-align:left}.sp-scroll{overflow-x:auto;max-width:100%;margin:16px 0}.sp-scroll table{min-width:580px;width:100%;font-variant-numeric:tabular-nums}.sp-scroll th,.sp-scroll td{padding:12px;white-space:normal}.sp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.sp-fields label{display:flex;flex-direction:column;gap:7px;min-width:0}.sp-fields input,.sp-fields select,.sp-fields textarea{box-sizing:border-box;width:100%;min-width:0;background:#0e2720;border:1px solid #486658;color:#ecebd7;padding:12px;font:inherit;border-radius:4px}.sp-fields small{color:#b1c0b5}.sp-dialog{width:min(820px,calc(100vw - 28px));max-width:none;max-height:90dvh;padding:0;border:1px solid #65745a;border-radius:9px;background:#132f26;color:#eee9d6;font-size:calc(15px * var(--fz,1.25));box-shadow:0 20px 80px #0008}.sp-dialog::backdrop{background:#04110bdd;backdrop-filter:blur(4px)}.sp-dialog form{display:flex;flex-direction:column;max-height:90dvh}.sp-dialog header,.sp-dialog footer{padding:18px 22px;display:flex;gap:12px;align-items:center;border-bottom:1px solid #345347;flex-shrink:0}.sp-dialog h2{margin:0;font-size:calc(21px * var(--fz,1.25))}.sp-dialog header button{margin-left:auto}.sp-dialog footer{border-bottom:0;border-top:1px solid #345347;justify-content:flex-end;flex-wrap:wrap}.sp-dialog-content{padding:20px 22px;overflow-y:auto;overscroll-behavior:contain}.sp-dialog button,.sp-study button,.sp-tools button{font:inherit;color:#eee9d6;background:#1c3a2e;border:1px solid #57715d;border-radius:4px;padding:11px 15px;cursor:pointer;min-height:44px}.sp-dialog button.sl-primary,.sp-study button.sl-primary{color:#102a23;background:#e4cb8f}.sp-dialog details{border-bottom:1px solid #365648;padding:12px 0}.sp-dialog summary{cursor:pointer;padding:7px 0}.sp-dialog fieldset{border:1px solid #395849;margin:12px 0;padding:12px;min-width:0}.sp-dialog legend{font-size:calc(14px * var(--fz,1.25))}.sp-check{display:inline-flex;align-items:center;margin:8px 15px 8px 0;gap:7px}.sp-check input{width:20px;height:20px}.sp-error{color:#ffcc98;white-space:pre-line}.sp-study{margin:20px 0}.sp-study h3{margin-top:26px}.sp-study-photo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sp-study-photo img{width:100%;max-height:240px;object-fit:contain;background:#092019}.sp-study-photo figure{margin:0}.sp-study-photo figcaption{font-size:calc(12px * var(--fz,1.25));overflow-wrap:anywhere}.sp-pill{display:inline-block;border:1px solid #6a8069;border-radius:20px;padding:5px 10px;font-size:calc(12px * var(--fz,1.25))}.sp-missing{color:#eccb8b}.sp-study-report{display:none}.sp-chart{width:100%;height:250px;min-height:170px}.sp-chart text{font:13px sans-serif;fill:currentColor}.sp-study [hidden]{display:none!important}
@media(max-width:700px){.sp-tool-grid,.sp-fields{grid-template-columns:1fr}.sp-dialog header,.sp-dialog footer,.sp-dialog-content{padding:14px}.sp-dialog{width:calc(100vw - 16px);max-height:94dvh}.sp-dialog form{max-height:94dvh}.sp-dialog h2{font-size:calc(18px * var(--fz,1.25))}.sp-study-photo{grid-template-columns:1fr 1fr}.sp-tool-grid{grid-template-columns:1fr 1fr}.sp-tool-grid button{font-size:calc(13px * var(--fz,1.25));padding:12px}.sp-chart{height:200px}.sp-study .sl-actions{display:flex;flex-wrap:wrap;gap:9px}}
@media print{body[data-study-print]{color-scheme:light!important;background:white!important;color:#15251d!important}body[data-study-print]>*{display:none!important}body[data-study-print]>.sp-study-report{display:block!important;font:11px 'Malgun Gothic',sans-serif;color:#111;padding:0;background:white}body[data-study-print] .sp-study-report h1{font-size:23px}body[data-study-print] .sp-study-report h2{font-size:17px;margin:24px 0 10px}body[data-study-print] .sp-study-report h3{font-size:14px}body[data-study-print] table{border-collapse:collapse;width:100%;font-size:10px}body[data-study-print] th,body[data-study-print] td{border:1px solid #aaa;padding:6px;color:#111;white-space:normal}body[data-study-print] thead{display:table-header-group}body[data-study-print] tr,body[data-study-print] figure{break-inside:avoid}body[data-study-print] .sp-scroll{overflow:visible}body[data-study-print] .sp-scroll table{min-width:0}body[data-study-print] .sp-study-photo{grid-template-columns:1fr 1fr}body[data-study-print] .sp-study-photo img{max-height:200px}body[data-study-print] .sl-warning{border:1px solid #aaa;padding:10px;color:#333}body[data-study-print] .sp-chart{height:190px;min-height:0}body[data-study-print] .sp-study-report section{break-inside:auto}body[data-study-print] .sl-note{color:#333}@page{size:A4;margin:15mm}}
/* 화면의 큰 글씨 배율이 인쇄 본문만 커지게 하지 않도록 출력 서체를 한곳에서 고정합니다. */
.sp-range-chart,.sp-chart{stroke:none}
.sp-range-chart text{fill:#15352b!important;stroke:none}
@media print{body[data-study-print]>.sp-study-report{font:14px/1.55 'Malgun Gothic',sans-serif;width:100%;max-width:none;box-sizing:border-box}body[data-study-print] .sp-study-report p,body[data-study-print] .sp-study-report .sl-note,body[data-study-print] .sp-study-report .sl-warning{font:14px/1.55 'Malgun Gothic',sans-serif;margin:10px 0;color:#222}body[data-study-print] .sp-study-report .sp-scroll table{width:100%!important;min-width:0!important;table-layout:fixed;font:12px/1.5 'Malgun Gothic',sans-serif}body[data-study-print] .sp-study-report td,body[data-study-print] .sp-study-report th{overflow-wrap:anywhere;box-sizing:border-box;background:white!important}body[data-study-print] .sp-study-report h1,body[data-study-print] .sp-study-report h2,body[data-study-print] .sp-study-report h3{break-after:avoid}body[data-study-print] .sp-study-report .sp-scroll{margin:10px 0}body[data-study-print] .sp-study-report figcaption{font:12px/1.5 'Malgun Gothic',sans-serif}}
