/* UX-02 R3 · client Hometax information review */
.hs-tabs{display:flex;gap:7px;margin:-3px 0 18px;border-bottom:1px solid #dce5f1;padding-bottom:13px}
.hs-tabs button{font-size:12px;padding:9px 16px;border-radius:7px;color:#74859d;font-weight:550}
.hs-tabs button[aria-selected=true]{background:#e8f0ff;color:#1760c6}
.hs-auth{display:flex;gap:11px;align-items:center;padding:15px 16px;margin:0 0 18px;border:1px solid #dce7f7;border-radius:9px;background:#eef4fd}
.hs-auth.individual{background:#f5f2fc;border-color:#e7def8}
.hs-auth-icon{width:34px;height:34px;border-radius:9px;background:white;display:grid;place-items:center;flex:none;color:#5886c2}
.hs-auth.individual .hs-auth-icon{color:#8c72b2}
.hs-auth-icon svg{width:17px;height:17px}
.hs-auth>div:nth-child(2){flex:1;min-width:0}
.hs-auth strong{font-size:12px;color:#355b88;display:block}
.hs-auth.individual strong{color:#6a528d}
.hs-auth p{font-size:10px;color:#7e91aa;line-height:1.7;margin:5px 0 0}
.hs-auth .ht-status{white-space:nowrap;font-size:10px}
.hs-auth>.link-button{font-size:10px;white-space:nowrap;color:#5b7fae}
.hs-target{display:flex;gap:14px;align-items:center;margin:0 0 18px;font-size:12px;padding:0 3px;color:#7a8ca4}
.hs-target strong{font-size:14px;color:#314c6e}
.hs-target small{margin-left:auto;font-size:10px;color:#8d9cb0}
.hs-service-card{margin-bottom:16px}
.hs-result-header{padding:21px;display:flex;gap:15px;align-items:center;justify-content:space-between}
.hs-result-header h4{font-size:15px;margin:0 0 7px}
.hs-result-header h4 span{color:#2267cd;margin-left:5px;font-size:13px}
.hs-result-header p{font-size:10px;color:#8b99ad;margin:0}
.hs-buttons{display:flex;gap:7px}
.hs-buttons .button{font-size:11px;min-height:35px}
.hs-empty{display:flex;flex-direction:column;align-items:center;padding:48px 18px 55px;gap:13px;border-top:1px solid #edf1f6;color:#889ab0;text-align:center}
.hs-empty>svg{width:32px;height:32px;color:#a5b9d2;margin-bottom:3px}
.hs-empty strong{font-size:14px;color:#5f7897;font-weight:550}
.hs-empty p{font-size:11px;line-height:1.7;margin:0}
.hs-result-footer{display:flex;justify-content:space-between;gap:12px;padding:14px 21px;background:#fafbfd;border-top:1px solid #edf1f6;font-size:10px;color:#8c9aaf;line-height:1.7}
.hs-result-footer>span{display:flex;gap:6px;align-items:center}
.hs-result-footer svg{width:12px;height:12px;flex:none}
.hs-table-scroll{overflow:auto}
.hs-table{border-collapse:collapse;min-width:630px;width:100%;text-align:left;font-size:12px}
.hs-table th{background:#f8fafd;border-top:1px solid #e7edf4;border-bottom:1px solid #e7edf4;font-size:11px;font-weight:500;color:#8b9aaf;padding:13px 18px}
.hs-table td{padding:19px 18px;border-bottom:1px solid #edf1f6;color:#4c6380;white-space:nowrap}
.hs-table tbody tr:last-child td{border-bottom:0}
.hs-table .ht-status{font-size:10px}
.hs-flow{padding:14px 3px;font-size:11px;color:#8b9ab0;display:flex;gap:17px;line-height:1.9}
.hs-flow>span{white-space:nowrap;font-weight:600;color:#6a809d}
.hs-flow p{margin:0}
.hs-auth-steps{display:flex;gap:15px;margin-bottom:25px;font-size:11px;color:#98a5b7}
.hs-auth-steps b{color:#1d64c9}
.hs-secondary{display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 15px;background:#f6f3fb;border-radius:9px;color:#6a568a;gap:14px}
.hs-secondary>svg{width:30px;height:30px;color:#9a84b7}
.hs-secondary strong{font-size:17px}
.hs-secondary p{font-size:12px;margin:0;line-height:1.8}
.hs-secondary small{font-size:10px;color:#a094b4;line-height:1.9}
.hs-auth-message{background:#f2f6fc;border-radius:8px;padding:20px;font-size:13px;line-height:1.9;color:#5c779b}
@media(max-width:700px){
 .hs-tabs{gap:3px}.hs-tabs button{padding:9px 12px;font-size:11px}
 .hs-auth{flex-wrap:wrap;padding:13px;gap:9px}
 .hs-auth>div:nth-child(2){flex-basis:calc(100% - 50px)}
 .hs-auth .ht-status{margin-left:43px}.hs-auth>.link-button{margin-left:auto}
 .hs-target{flex-wrap:wrap;gap:8px;font-size:11px}.hs-target small{width:100%;margin:0}
 .hs-result-header{padding:17px;flex-direction:column;align-items:stretch;gap:17px}
 .hs-buttons .button{flex:1;justify-content:center}
 .hs-result-footer{padding:12px 17px;flex-direction:column;gap:5px}
 .hs-flow{gap:8px;font-size:10px;flex-direction:column}
}
.drawer#client-dialog.hometax-detail-active{width:1000px}
.hometax-detail-active .drawer-top{padding:16px 26px 12px}
.hometax-detail-active .drawer-hero{padding:0 26px 18px;gap:13px}
.hometax-detail-active .client-monogram{width:52px;height:52px;font-size:24px;border-radius:15px}
.hometax-detail-active .detail-title-line h2{font-size:25px}
.hometax-detail-active #detail-subtitle{margin:5px 0 9px}
.hometax-detail-active .drawer-body{background:#f6f8fb;padding:24px 26px}
.hometax-detail-active .drawer-footer{padding:12px 26px}
.hdi-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:19px}
.hdi-heading h3{font-size:20px;letter-spacing:-.6px;margin:0 0 7px}
.hdi-heading p{font-size:12px;color:#77879d;margin:0;line-height:1.6}
.hdi-heading .button{white-space:nowrap;font-size:12px;padding:11px 14px;flex:none}
.hdi-status-strip{display:grid;grid-template-columns:1fr 1.4fr 1fr;border:1px solid #dce5f1;background:white;border-radius:11px;padding:18px 0;margin-bottom:16px}
.hdi-status-strip>div{padding:0 20px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;border-right:1px solid #e8edf4}
.hdi-status-strip>div:last-child{border:0}
.hdi-status-strip small{font-size:11px;color:#7c8ca1}
.hdi-status-strip strong{font-size:14px;font-weight:650;color:#2c4668;font-variant-numeric:tabular-nums}
.hdi-status-strip .hdi-count{color:#1763ce}
.hdi-example-bar{border:1px dashed #bdcfea;background:#eef4ff;border-radius:8px;padding:11px 14px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#607a9f;font-size:11px;line-height:1.6}
.hdi-example-bar strong{color:#396599;margin-right:9px}
.hdi-example-bar button{font-size:11px;flex:none;white-space:nowrap}
.hdi-group-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:22px}
.hdi-card{border:1px solid #e1e7ef;background:white;border-radius:10px;overflow:hidden}
.hdi-card.hdi-wide{grid-column:1/-1}
.hdi-card-title{display:flex;align-items:center;gap:8px;padding:15px 19px;border-bottom:1px solid #edf1f6}
.hdi-card-title svg{width:16px;height:16px;color:#7292b9}
.hdi-card-title h4{font-size:13px;font-weight:700;margin:0;color:#304965}
.hdi-card-title>span{margin-left:auto;font-size:10px;color:#8c9aab}
.hdi-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;padding:18px 20px;margin:0}
.hdi-wide .hdi-values{grid-template-columns:repeat(3,minmax(0,1fr))}
.hdi-values>div{min-width:0}
.hdi-values>div.wide{grid-column:1/-1}
.hdi-values dt{font-size:11px;color:#8291a5;margin-bottom:7px}
.hdi-values dd{font-size:13px;color:#314b68;line-height:1.6;margin:0;overflow-wrap:anywhere}
.hdi-values dd.is-changed{color:#1662cb;font-weight:600}
.hdi-value-note{display:inline-block;font-size:9px;padding:1px 5px;color:#2b6cca;background:#ecf3ff;border-radius:4px;margin-left:6px;font-weight:500;vertical-align:1px}
.hdi-missing{color:#9aa8b9;font-weight:400}
.hdi-note{font-size:10px;color:#8996a8;margin:0;padding:0 20px 16px;line-height:1.7}
.hdi-compare{margin-bottom:16px}
.hdi-applied{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px;padding:12px 15px;background:#eaf6f1;border:1px solid #d0e8de;border-radius:8px;font-size:11px;color:#28735d}
.hdi-applied>span{display:flex;align-items:center;gap:7px}
.hdi-applied svg{width:15px;height:15px;flex:none}
.hdi-applied button{font-size:11px;color:#28735d;white-space:nowrap}
.hdi-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 11px}
.hdi-section-heading h4{font-size:14px;margin:0;display:flex;align-items:center;gap:8px}
.hdi-section-heading h4 span{font-size:11px;color:#2065c6;background:#e7efff;border-radius:5px;padding:3px 7px}
.hdi-section-heading button{font-size:11px;color:#6c829e}
.hdi-compare-empty{padding:18px 20px;font-size:12px;color:#7c8ca2;line-height:1.7;background:white;border:1px solid #e1e7ef;border-radius:9px;display:flex;align-items:center;gap:9px}
.hdi-compare-empty svg{width:17px;height:17px;color:#5a9988;flex:none}
.hdi-compare-scroll{overflow:auto}
.hdi-compare-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
.hdi-compare-table th{padding:11px 12px;font-weight:500;background:#f9fbfd;color:#8190a4;text-align:left;border-bottom:1px solid #e7edf5;font-size:11px}
.hdi-compare-table td{padding:13px 12px;border-bottom:1px solid #edf1f6;vertical-align:middle;line-height:1.65;overflow-wrap:anywhere}
.hdi-compare-table tbody tr:last-child td{border-bottom:0}
.hdi-compare-table th:first-child,.hdi-compare-table td:first-child{width:40px;text-align:center;padding-right:5px}
.hdi-compare-table th:nth-child(2){width:96px}
.hdi-compare-table .hdi-old{color:#8391a4}
.hdi-compare-table .hdi-new{color:#185fc5;background:#f6f9ff;font-weight:550}
.hdi-compare-table input{width:15px;height:15px;accent-color:#1a62d3;cursor:pointer}
.hdi-apply-bar{background:#fff;border-top:1px solid #e6edf5;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.hdi-apply-bar strong{font-size:12px;color:#2f4f77;display:block}
.hdi-apply-bar small{display:block;font-size:10px;color:#8a98aa;line-height:1.7;margin-top:4px}
.hdi-apply-bar .button{font-size:12px;white-space:nowrap}
.hdi-history{background:white;border:1px solid #e1e7ef;border-radius:9px;margin-top:14px}
.hdi-history summary{padding:15px 18px;font-size:12px;font-weight:600;cursor:pointer;color:#405974}
.hdi-history summary span{float:right;font-size:11px;font-weight:400;color:#8795a8}
.hdi-history-list{border-top:1px solid #edf1f6;padding:0 18px}
.hdi-history-row{display:flex;gap:17px;padding:12px 0;border-bottom:1px solid #edf1f6;align-items:flex-start;font-size:11px;line-height:1.6}
.hdi-history-row:last-child{border:0}
.hdi-history-row time{color:#8293a9;width:116px;flex:none;font-variant-numeric:tabular-nums}
.hdi-history-row strong{display:block;color:#3e5776;font-weight:550}
.hdi-history-row small{color:#8c98a8;display:block;font-size:10px}
.hdi-history-row>span{margin-left:auto;white-space:nowrap;color:#538a79}
.hdi-bottom-note{display:flex;align-items:center;gap:7px;margin:15px 0 0;font-size:10px;line-height:1.7;color:#8494aa}
.hdi-bottom-note svg{width:13px;height:13px;flex:none}
.hdi-bottom-note button{color:#5a7fae;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.hdi-confirm-list{margin:0;padding:0;list-style:none}
.hdi-confirm-list li{padding:12px 0;border-bottom:1px solid #e8eef5;font-size:12px;line-height:1.7}
.hdi-confirm-list strong{display:block;margin-bottom:4px;font-size:11px;color:#74879f}
@media(max-width:700px){
 .drawer#client-dialog.hometax-detail-active{width:100%;border-radius:0}
 .hometax-detail-active .drawer-top{padding:14px 18px 10px}
 .hometax-detail-active .drawer-hero{padding:0 18px 15px}
 .hometax-detail-active .drawer-body{padding:19px 16px}
 .hometax-detail-active .drawer-footer{padding:10px 16px}
 .hometax-detail-active .detail-title-line h2{font-size:22px}
 .hdi-heading{align-items:flex-start;flex-direction:column;gap:13px}
 .hdi-heading h3{font-size:18px}
 .hdi-heading .button{width:100%;justify-content:center}
 .hdi-status-strip{grid-template-columns:1fr 1.5fr;padding:15px 0;gap:16px 0}
 .hdi-status-strip>div{padding:0 14px}
 .hdi-status-strip>div:nth-child(2){border:0}
 .hdi-status-strip>div:last-child{grid-column:1/-1;border-top:1px solid #edf1f6;padding-top:13px;flex-direction:row;align-items:center;gap:12px;margin:0 14px;padding-left:0;padding-right:0}
 .hdi-status-strip strong{font-size:12px}
 .hdi-example-bar{align-items:flex-start;font-size:10px;gap:8px}
 .hdi-example-bar strong{display:block;margin-right:0}
 .hdi-group-grid{grid-template-columns:1fr;gap:12px}
 .hdi-wide .hdi-values{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hdi-values{padding:16px;gap:17px 16px}
 .hdi-card-title{padding:13px 16px}
 .hdi-compare-table{table-layout:auto;min-width:560px}
 .hdi-compare-table th:nth-child(2){width:80px}
 .hdi-apply-bar{flex-direction:column;align-items:stretch;padding:14px}
 .hdi-apply-bar .button{justify-content:center}
 .hdi-history-row{gap:10px;flex-wrap:wrap}
 .hdi-history-row time{width:100%;font-size:10px}
 .hdi-bottom-note{flex-wrap:wrap}
}
