
.hsc-wrap,
.hsc-wrap * {
    box-sizing: border-box;
}

.hsc-wrap {
    width: 100%;
    margin: 15px 0;
    color: #1f2933;
    font-family: inherit;
}

.hsc-card {
    width: 100%;
    margin: 15px 0;
    padding: 18px;
    border: 1px solid rgba(98, 139, 180, 0.28);
    background: #ffffff;
}

.hsc-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
}

.hsc-input,
.hsc-combo-input,
.hsc-contact-text {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid rgba(98, 139, 180, 0.58);
    border-radius: 0;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    outline: none;
    box-shadow: none;
}

.hsc-input:focus,
.hsc-combo-input:focus,
.hsc-contact-text:focus {
    border-color: #628bb4;
    box-shadow: 0 0 0 2px rgba(98, 139, 180, 0.12);
}

.hsc-wide {
    grid-column: span 1;
}

.hsc-combo {
    position: relative;
    width: 100%;
}

.hsc-combo-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 3px);
    z-index: 50;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #628bb4;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.hsc-combo.is-open .hsc-combo-list {
    display: block;
}

.hsc-option {
    display: block;
    width: 100%;
    padding: 12px 13px;
    border: 0;
    border-bottom: 1px solid rgba(98, 139, 180, 0.14);
    background: #ffffff;
    color: #111827;
    text-align: left;
    font-size: 15px;
    line-height: 1.45;
    cursor: pointer;
}

.hsc-option:hover,
.hsc-option:focus {
    background: #000000;
    color: #ffffff;
    outline: none;
}

.hsc-result-button,
.hsc-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 15px 0 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    background: #000000;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.hsc-result-button:hover,
.hsc-contact-button:hover,
.hsc-result-button:focus,
.hsc-contact-button:focus {
    background: #1f2937;
    color: #ffffff;
    outline: none;
}

.hsc-result-box {
    margin-top: 15px;
}

.hsc-result-line,
.hsc-info-line {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 12px 13px;
    border-left: 4px solid #628bb4;
    background: rgba(98, 139, 180, 0.08);
    color: #1f2933;
    line-height: 1.65;
}

.hsc-result-line.is-alert {
    border-left-color: #000000;
    background: #f5f5f5;
}

.hsc-topic-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px;
    width: 100%;
    margin-bottom: 15px;
}

.hsc-topic-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 62px;
    padding: 10px;
    border: 1px solid #628bb4;
    border-radius: 0;
    background: #ffffff;
    color: #628bb4;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
}

.hsc-topic-button.is-active,
.hsc-topic-button:hover,
.hsc-topic-button:focus {
    background: #628bb4;
    color: #ffffff;
    outline: none;
}

.hsc-detail-area {
    width: 100%;
}

.hsc-info-result {
    margin-top: 15px;
}

.hsc-info-name {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 13px;
    border: 1px solid rgba(98, 139, 180, 0.45);
    background: #f8fbfd;
    color: #24415f;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.hsc-info-text {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(98, 139, 180, 0.22);
    background: #ffffff;
    color: #1f2933;
    line-height: 1.75;
    white-space: pre-line;
}

.hsc-full-text {
    max-height: 460px;
    overflow-y: auto;
    font-size: 14px;
}

.hsc-contact-card {
    border-color: rgba(0, 0, 0, 0.16);
}

.hsc-contact-title {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

.hsc-contact-text {
    min-height: 130px;
    resize: vertical;
}

.hsc-contact-message {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding: 12px 13px;
    background: rgba(98, 139, 180, 0.1);
    color: #24415f;
    line-height: 1.6;
}

.hsc-contact-message.is-show {
    display: block;
}

.hsc-share-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 15px 18px;
    margin: 0 0 15px;
    border: 1px solid #315f63;
    border-radius: 0;
    background: linear-gradient(180deg, #548a8f 0%, #3d747a 48%, #315f63 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.hsc-share-button:hover,
.hsc-share-button:focus {
    filter: saturate(1.05);
    color: #ffffff;
    outline: none;
}

a.eitc-apply-button,
a.eitc-apply-button:link,
a.eitc-apply-button:visited,
a.eitc-apply-button:hover,
a.eitc-apply-button:focus,
a.eitc-apply-button:active {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 56px;
padding: 16px 20px;
margin: 15px 0 25px;
border: 1px solid #4d759c;
background: linear-gradient(180deg, #7399c0 0%, #628bb4 48%, #4d759c 100%);
color: #ffffff !important;
font-size: 18px;
font-weight: 800;
letter-spacing: -0.02em;
text-decoration: none !important;
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
overflow: hidden;
transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
animation: eitcApplyPulse 1.7s ease-in-out infinite;
box-sizing: border-box;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button span,
a.eitc-apply-button span:link,
a.eitc-apply-button span:visited,
a.eitc-apply-button span:hover,
a.eitc-apply-button span:focus,
a.eitc-apply-button span:active {
position: relative;
z-index: 2;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button::before {
content: '';
position: absolute;
top: 0;
left: -30%;
width: 24%;
height: 100%;
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0) 100%);
transform: skewX(-18deg);
animation: eitcApplyShine 2.8s linear infinite;
z-index: 1;
}

a.eitc-apply-button:hover,
a.eitc-apply-button:focus {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(-1px);
box-shadow: 0 16px 28px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.25);
filter: saturate(1.05);
}

a.eitc-apply-button:active {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(1px);
box-shadow: 0 8px 16px rgba(98, 139, 180, 0.26), inset 0 2px 6px rgba(0,0,0,0.15);
}

@keyframes eitcApplyPulse {
0%, 100% {
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
}
50% {
box-shadow: 0 16px 30px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.3);
}
}

@keyframes eitcApplyShine {
0% {
left: -30%;
}
100% {
left: 120%;
}
}

@media (max-width: 520px) {
    .hsc-card {
        padding: 14px;
    }
    .hsc-form-grid {
        grid-template-columns: 1fr;
    }
    .hsc-wide {
        grid-column: span 1;
    }
    .hsc-topic-buttons {
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    }
    .hsc-topic-button {
        min-height: 58px;
        font-size: 14px;
    }
}
