.hgpc{--pc-blue:#123d96;--pc-green:#19563f;box-sizing:border-box;width:100%;max-width:1180px;margin:22px auto;padding:24px;border:1px solid #d7e2dd;border-radius:16px;background:#fff;color:#17271f;font:16px/1.6 system-ui,-apple-system,"Malgun Gothic",sans-serif}.hgpc *{box-sizing:border-box}.hgpc [hidden]{display:none!important}.hgpc h2{font-size:28px;margin:6px 0 10px;line-height:1.4}.hgpc h3{font-size:21px;margin:12px 0}.hgpc p{margin:8px 0 14px}.pc-kicker{font-size:13px;font-weight:700;letter-spacing:.06em;color:#19563f}.pc-controls{display:grid;grid-template-columns:1fr;gap:12px;align-items:end}.pc-controls label{font-size:14px;font-weight:650;min-width:0}.hgpc input,.hgpc select{display:block;width:100%;min-width:0;height:46px;margin-top:6px;padding:8px 10px;border:1px solid #acbdb3;border-radius:7px;background:white;color:#17271f;font:inherit}.hgpc button{min-height:44px;border:1px solid #b8cbc0;border-radius:7px;padding:8px 13px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer;background:#f2f7f4;color:#19563f}.hgpc .pc-controls button,.hgpc button[aria-pressed=true]{background:#19563f;color:#fff}.hgpc :focus-visible{outline:3px solid #c68b00;outline-offset:3px}.pc-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:16px}.pc-period{display:flex;gap:6px}.pc-small,#pc-status{font-size:13px;color:#53645c}.pc-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14px}.pc-legend span{display:inline-flex;gap:7px;align-items:center}.pc-legend svg{width:34px;height:12px}.pc-graph{position:relative;width:100%;border:1px solid #dce5df;border-radius:9px;overflow:hidden;background:#fff}.pc-graph>svg{display:block;width:100%;height:420px;touch-action:pan-y}.pc-readout{background:#7CFC00;border:1px solid #63ca00;border-radius:8px;margin-top:10px;padding:10px 14px;font-size:21px;font-weight:700;font-variant-numeric:tabular-nums}.pc-readout strong{display:block;margin-bottom:5px}.pc-values{display:flex;flex-wrap:wrap;gap:5px 22px}.pc-values span{white-space:normal}.pc-tip{position:absolute;z-index:2;pointer-events:none;background:rgba(255,255,255,.97);border:1px solid #8d9ba9;box-shadow:0 4px 16px #0002;border-radius:7px;padding:9px 12px;max-width:85%;font-size:12px;line-height:1.7}.pc-tip span{display:block}.pc-warnings{font-size:13px;color:#80551b}.pc-guide{border-top:1px solid #dce5df;padding-top:15px;margin-top:20px;font-size:14px}.pc-guide summary{cursor:pointer;font-weight:700;color:#19563f}.hgpc button:disabled{opacity:.5;cursor:wait}@media(max-width:600px){.hgpc{padding:13px;font-size:15px}.hgpc h2{font-size:23px}.pc-controls{grid-template-columns:1fr}.pc-controls button{width:100%}.pc-graph>svg{height:350px}.pc-legend{font-size:12px;gap:6px 12px}.pc-readout{font-size:18px;padding:9px}.pc-values{gap:4px 12px}.pc-tip{font-size:11px}}


.hgpc .pc-controls{display:block;max-width:560px}.hgpc .pc-controls label{display:block}.hgpc #pc-search{width:100%;font-size:16px}.hgpc .pc-toolbar{justify-content:flex-start}

.hgpc .pc-screen{margin:18px 0;padding:16px;border:1px solid #adc7b7;border-radius:10px;background:#f3f8f5}
.hgpc .pc-screen h3{display:block;width:100%;box-sizing:border-box;font-size:20px;line-height:1.4;font-weight:700;margin:0 0 16px;background:#17382d;border:0;border-radius:6px 6px 0 0;padding:12px 14px;color:#fff}
.hgpc #pc-screen-form{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.hgpc #pc-min-gap{width:96px;display:inline-block;margin:0;height:44px}
.hgpc #pc-screen-submit{background:#19563f;color:white}
.hgpc .pc-screen-list{display:grid;gap:10px;max-height:460px;overflow-y:auto;padding:3px}
.hgpc .pc-screen-card{background:white;border:1px solid #d6e2da;border-radius:8px;padding:13px}
.hgpc .pc-screen-card p{margin:6px 0;font-size:14px}
.hgpc .pc-screen-gap{display:inline-block;margin-left:14px;color:#123d96;font-size:20px}
.hgpc #pc-result{scroll-margin-top:25px}
@media(max-width:480px){.hgpc #pc-screen-submit{width:100%}.hgpc .pc-screen{padding:12px}.hgpc .pc-screen-gap{display:block;margin-left:0}}

.hgpc .pc-readout strong,.hgpc .pc-readout .pc-values,.hgpc .pc-readout .pc-values span{font-size:inherit;font-weight:700}
