/* 希伯来历专用界面。所有选择器封装在 hc-app 中，不更改网站其他栏目。 */
.hc-app{--hc-blue:#12365f;--hc-blue-deep:#0c2849;--hc-red:#b2263b;--hc-green:#176b49;--hc-line:#d9e4ed;--hc-ink:#1a314e;--hc-muted:#4c6174;color:var(--hc-ink);font-size:16px;line-height:1.65;max-width:100%}.hc-app *{box-sizing:border-box}.hc-app button,.hc-app input,.hc-app select{font:inherit}.hc-app button{cursor:pointer}.hc-app button:focus-visible,.hc-app input:focus-visible,.hc-app select:focus-visible,.hc-app a:focus-visible{outline:3px solid var(--hc-red);outline-offset:3px}.hc-hero{margin:24px 0 14px;padding:28px clamp(18px,4vw,38px);background:linear-gradient(112deg,#112f53,#1e507a);color:#fff;border-radius:12px}.hc-hero h1{color:#fff;font-size:clamp(27px,3vw,40px);line-height:1.25;margin:6px 0 12px}.hc-hero p{margin:8px 0;max-width:85ch}.hc-overline{letter-spacing:.08em;color:#b8d7ef;font-size:13px;font-weight:750}.hc-hero strong{color:#fff}.hc-pane{background:#fff;border:1px solid var(--hc-line);border-radius:12px;margin:18px 0;padding:clamp(16px,2.3vw,24px);min-width:0}.hc-pane h2{font-size:clamp(20px,2.5vw,26px);margin:0 0 14px;color:var(--hc-blue)}.hc-pane h3{font-size:17px;color:var(--hc-blue);margin:0 0 8px}.hc-muted{color:var(--hc-muted)}.hc-small{color:var(--hc-muted);font-size:13px}.hc-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:13px;align-items:end}.hc-fields label{font-size:14px;font-weight:680;color:var(--hc-blue)}.hc-fields input,.hc-fields select{display:block;margin-top:5px;width:100%;min-height:44px;border:1px solid #a2b4c8;background:#fff;color:var(--hc-ink);border-radius:7px;padding:7px 10px;max-width:100%;min-width:0}.hc-check{display:inline-flex!important;align-items:center;gap:9px;min-height:44px;font-weight:500!important;line-height:1.4}.hc-check input{width:18px;height:18px;margin:0;accent-color:var(--hc-blue)}.hc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}.hc-app button.hc-action,.hc-app button.hc-subaction{min-height:42px;border-radius:6px;padding:8px 16px;font-weight:650;line-height:1.45}.hc-app .hc-action{background:var(--hc-blue);border:1px solid var(--hc-blue);color:white}.hc-app .hc-subaction{background:#fff;border:1px solid #b3c5d8;color:var(--hc-blue)}.hc-app .hc-subaction:hover{background:#eaf2f9}.hc-hint{font-size:14px;color:var(--hc-muted);margin:12px 0 0}.hc-result-main{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.hc-result-date{font-size:clamp(20px,3.2vw,30px);font-weight:760;color:var(--hc-blue);line-height:1.35;margin:6px 0}.hc-result-info{display:grid;gap:7px;font-size:13px;color:var(--hc-muted)}.hc-rtl{font-size:20px;color:var(--hc-green);display:inline-block}.hc-result-events{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.hc-badge{background:#ecf3f9;color:var(--hc-blue);border:1px solid #c6d8e8;border-radius:4px;font-size:12px;font-weight:650;line-height:1.4;padding:2px 7px;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-badge.hc-biblical{background:#f8e9ec;color:#8f1e34;border-color:#eac4ca}.hc-badge.hc-traditional{background:#edf5ef;color:#176b49;border-color:#cce3d2}.hc-badge.hc-fast{background:#f8f2e8;color:#865620;border-color:#e9d9b6}.hc-badge.hc-month{background:#eef1f7;color:#344b68}.hc-badge.hc-more{background:#f3f6fa}.hc-controlbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;justify-content:space-between}.hc-controlbar label{font-size:13px;font-weight:650}.hc-controlbar select,.hc-controlbar input{margin-top:3px;min-height:41px;max-width:190px;border:1px solid #a6bbcc;border-radius:6px;padding:5px 9px;background:#fff;color:var(--hc-ink);width:100%}.hc-control-group{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.hc-control-group label{min-width:105px}.hc-toggle{display:inline-flex;border:1px solid var(--hc-line);border-radius:8px;overflow:hidden;vertical-align:middle}.hc-toggle button{border:0;border-radius:0;min-height:40px;padding:7px 12px;background:#fff;color:var(--hc-blue)}.hc-toggle button[aria-pressed="true"]{background:var(--hc-blue);color:#fff}.hc-gridbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.hc-gridbar h3{font-size:20px;margin:0;color:var(--hc-blue)}.hc-gridbar p{margin:2px 0;font-size:13px;color:var(--hc-muted)}.hc-gridnav{display:flex;gap:8px}.hc-gridnav button{min-height:38px;background:#fff;color:var(--hc-blue);border:1px solid #b9c9d8;border-radius:5px;padding:5px 12px}.hc-weeknames,.hc-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.hc-weeknames{margin:14px 0 5px}.hc-weeknames div{color:var(--hc-muted);font-size:13px;text-align:center;font-weight:650;padding:3px}.hc-app .hc-day{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;min-height:105px;min-width:0;padding:7px;border:1px solid #dce5ed;background:#fff;color:var(--hc-ink);border-radius:5px;overflow:hidden;text-align:left}.hc-app .hc-day:hover{background:#f1f6fa}.hc-app .hc-day.hc-outside{background:#f8fafc;color:#788695}.hc-app .hc-day.hc-selected{outline:2px solid var(--hc-blue);outline-offset:-2px;background:#ecf3fa}.hc-app .hc-day.hc-today .hc-day-num{background:var(--hc-red);color:white;border-radius:4px;padding:0 5px}.hc-day-num{font-weight:800;font-size:18px;line-height:1.3}.hc-day-other{font-size:11px;max-width:100%;color:var(--hc-muted);word-break:break-word;line-height:1.3}.hc-day-events{display:flex;flex-direction:column;gap:2px;width:100%;overflow:hidden;margin-top:3px}.hc-day-events .hc-badge{font-size:10px;padding:2px 4px;max-width:100%;display:block}.hc-day:disabled{cursor:default;opacity:.35}.hc-month-description{font-size:14px;color:var(--hc-muted);margin:12px 0 0}.hc-month-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(203px,1fr));gap:10px}.hc-app .hc-month-card{background:#f8fbfe;color:var(--hc-ink);border:1px solid #d8e3ec;text-align:left;border-radius:8px;padding:13px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;min-height:132px}.hc-app .hc-month-card:hover{background:#eaf2fa}.hc-app .hc-month-card.hc-active{border:2px solid var(--hc-blue);background:#eaf3fa;padding:12px}.hc-month-label{font-weight:750;font-size:16px;color:var(--hc-blue)}.hc-month-he{font-size:20px;color:var(--hc-green)}.hc-month-sub,.hc-month-alias{font-size:12px;color:var(--hc-muted);overflow-wrap:anywhere}.hc-holiday-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:9px}.hc-app .hc-holiday-row{background:#fff;color:var(--hc-ink);border:1px solid #dbe5ed;border-radius:8px;display:grid;grid-template-columns:116px 1fr;gap:10px;text-align:left;min-height:89px;padding:13px;align-items:center}.hc-app .hc-holiday-row:hover{background:#f0f6fa;border-color:#91b2c9}.hc-holiday-date{font-size:12px;color:var(--hc-red);font-weight:780;overflow-wrap:anywhere}.hc-holiday-body{display:flex;flex-direction:column;gap:3px;min-width:0}.hc-holiday-body strong{font-size:15px;color:var(--hc-blue)}.hc-holiday-body small,.hc-holiday-detail{font-size:12px;color:var(--hc-muted);line-height:1.5}.hc-holiday-arrow{font-size:12px;color:var(--hc-green);display:none}.hc-legend{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.hc-sources{padding-left:20px}.hc-sources li{padding:3px 0}.hc-legal{font-size:14px;line-height:1.7;color:var(--hc-muted)}.hc-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.hc-reverse-result{margin:13px 0 0;color:var(--hc-blue);font-weight:650;overflow-wrap:anywhere}.hc-table-wrap{overflow-x:auto}.hc-table-wrap table{min-width:490px;width:100%;border-collapse:collapse}.hc-table-wrap th{background:var(--hc-blue);color:#fff}.hc-table-wrap td,.hc-table-wrap th{padding:8px 12px;border-bottom:1px solid var(--hc-line);text-align:left;font-size:13px}.hc-app .hc-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.hc-year-note{font-size:14px;color:var(--hc-muted);font-weight:600}.hc-app .hc-notice{border-left:4px solid var(--hc-red);background:#f9f1f3;padding:12px 15px;border-radius:5px;font-size:14px}.hc-print-only{display:none}
@media(max-width:980px){.hc-holiday-list{grid-template-columns:1fr}.hc-bottom-grid{grid-template-columns:1fr}.hc-app .hc-day{min-height:92px}}@media(max-width:600px){.hc-hero{padding:20px}.hc-pane{padding:14px}.hc-weeknames,.hc-days{gap:3px}.hc-app .hc-day{padding:4px;min-height:86px}.hc-day-num{font-size:16px}.hc-day-other{font-size:10px}.hc-day-events .hc-badge{font-size:9px;padding:1px 2px}.hc-month-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-app .hc-month-card{padding:9px;min-height:125px}.hc-app .hc-month-card.hc-active{padding:8px}.hc-month-label{font-size:14px}.hc-month-he{font-size:18px}.hc-month-sub,.hc-month-alias{font-size:11px}.hc-control-group label{flex:1 1 116px}.hc-controlbar select,.hc-controlbar input{max-width:100%}.hc-holiday-list{grid-template-columns:1fr}}@media(max-width:360px){.hc-app .hc-day{min-height:78px;padding:3px 2px}.hc-day-num{font-size:14px}.hc-day-other{font-size:9px}.hc-day-events{gap:1px}.hc-day-events .hc-badge{font-size:8px;padding:1px}.hc-month-list{grid-template-columns:1fr}.hc-app .hc-holiday-row{grid-template-columns:92px 1fr;padding:10px}.hc-holiday-date{font-size:11px}}
@media print{.hc-app button,.hc-app form,.hc-controlbar,.hc-gridnav,.hc-holiday-arrow{display:none!important}.hc-app .hc-pane{break-inside:avoid}.hc-app .hc-day{min-height:65px}.hc-print-only{display:block}}

/* 第十三轮：城市日落参考输入及小屏可访问性 */
.hc-sunset-tool{margin:16px 0 8px;padding:16px;border:1px solid #bbccd7;border-radius:12px;background:#f5f9fd;color:#122c40}
.hc-sunset-tool h3{margin:0 0 8px;font-size:1.05rem}
.hc-sunset-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr) auto;align-items:end;gap:10px;margin:12px 0}
.hc-sunset-controls label{display:flex;flex-direction:column;gap:5px;font-size:.9rem;min-width:0}
.hc-sunset-controls select,.hc-sunset-controls input{width:100%;min-width:0;min-height:42px;padding:7px;border:1px solid #8da5b9;border-radius:7px;background:#fff;color:#122c40}
.hc-sunset-controls button{min-height:42px}
.hc-sunset-result{font-size:.96rem;line-height:1.6;margin:12px 0;color:#0b3b58;font-weight:600;overflow-wrap:anywhere}
@media(max-width:640px){.hc-sunset-tool{padding:12px}.hc-sunset-controls{grid-template-columns:minmax(0,1fr)}.hc-sunset-controls button{width:100%}}

/* 第十四轮：跨城市日期确认与七日比较语义 */
.hc-confirm-local{display:flex;align-items:flex-start;gap:8px;line-height:1.55;margin:8px 0;color:#203e53;cursor:pointer}
.hc-confirm-local input{width:18px;height:18px;min-width:18px;margin:3px 0 0;accent-color:#155484}
.hc-sunset-zone-warning{font-size:.93rem;line-height:1.65;color:#7b3217;background:#fff5e9;border-inline-start:3px solid #bf6c38;padding:8px 12px;margin:8px 0;overflow-wrap:anywhere}
.hc-evening-mark{font-size:.85em;font-weight:700;color:#175478}

/* 小屏显示可辨日期与节期项数，完整节期随所选日期呈现。 */
.hc-day-event-count{display:none}
.hc-selected-detail{margin-top:14px;border:1px solid #b7cbdc;border-radius:7px;background:#f0f5fa;padding:14px 16px;line-height:1.75}
.hc-selected-detail p{margin:7px 0;font-size:16px}
.hc-app button:disabled{cursor:not-allowed;opacity:.45}
.hc-gridnav{flex-wrap:wrap}
.hc-app .hc-holiday-body small,.hc-app .hc-holiday-detail,.hc-app .hc-holiday-date,.hc-app .hc-month-sub,.hc-app .hc-month-alias,.hc-app .hc-result-info,.hc-app .hc-small,.hc-app .hc-year-note{font-size:14px}
.hc-app .hc-day-events .hc-badge{font-size:12px;line-height:1.4}
.hc-app .hc-badge{white-space:normal;text-overflow:clip}
.hc-app .hc-overline,.hc-app .hc-controlbar label,.hc-app .hc-gridbar p,.hc-app .hc-weeknames div{font-size:14px}
.hc-app #calendar-result:focus,.hc-app #calendar-grid-title:focus{outline:2px solid var(--hc-blue);outline-offset:5px}
@media(max-width:600px){.hc-app .hc-day-events{display:none}.hc-app .hc-day-event-count{display:inline-block;font-size:12px;line-height:1.4;color:#12365f;background:#e3edf5;border-radius:3px;padding:1px 3px}.hc-app .hc-day{min-height:83px;padding:5px 2px;align-items:center}.hc-app .hc-day-num{font-size:18px}.hc-app .hc-day-other{font-size:12px;overflow-wrap:anywhere;text-align:center}.hc-app .hc-day.hc-outside{opacity:.65}.hc-selected-detail{padding:12px}.hc-app .hc-holiday-row{grid-template-columns:minmax(0,1fr);gap:5px}.hc-app .hc-month-card{min-height:150px}.hc-app .hc-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,158px),1fr))}}
@media(prefers-reduced-motion:reduce){.hc-app *{scroll-behavior:auto!important}}
@media print{.hc-app .hc-pane{break-inside:auto}.hc-app button.hc-day,.hc-app button.hc-month-card{display:flex!important;color:#000;border:1px solid #777;opacity:1}.hc-app button.hc-holiday-row{display:grid!important;color:#000;break-inside:avoid;opacity:1}.hc-app .hc-day-events{display:flex!important}.hc-app .hc-day-event-count,.hc-selected-detail button,.hc-sunset-tool{display:none!important}.hc-app .hc-holiday-row:disabled,.hc-app .hc-month-card:disabled{display:none!important}.hc-app .hc-gridnav,.hc-app .hc-controlbar{display:none!important}.hc-app .hc-month-card{break-inside:avoid}}

/* 日期换算与月历相邻；可选日落估算保留在原位置的折叠面板中。 */
.hc-hero{margin-top:10px;padding:20px 24px}.hc-hero h1{font-size:28px}.hc-hero .hc-overline{font-size:14px;letter-spacing:0}.hc-section-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 18px}.hc-section-links a{display:inline-flex;align-items:center;min-height:42px;font-size:15px;color:#12365f}.hc-sunset-tool summary{font-weight:700;cursor:pointer;min-height:32px;line-height:1.8}.hc-sunset-tool[open] summary{margin-bottom:10px}.hc-conversion .hc-result{margin-top:18px;padding-top:16px;border-top:1px solid #d9e4ed}.hc-app h2[id]{scroll-margin-top:18px}
@media(min-width:1100px){.hc-workbench{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}.hc-workbench>.hc-pane{margin:0;padding:18px}.hc-conversion .hc-fields,.hc-conversion .hc-sunset-controls{grid-template-columns:minmax(0,1fr)}.hc-conversion .hc-result-date{font-size:24px}.hc-workbench .hc-control-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:8px}.hc-workbench .hc-control-group label{min-width:0}.hc-workbench .hc-control-group select,.hc-workbench .hc-control-group input{max-width:none;font-size:14px}.hc-workbench .hc-title-row{gap:4px}.hc-workbench .hc-title-row h2{font-size:23px}.hc-workbench .hc-day{min-height:90px}.hc-workbench .hc-toggle{margin-top:6px}}
@media(max-width:600px){.hc-hero{padding:16px}.hc-hero h1{font-size:24px}.hc-section-links{gap:4px 14px}.hc-section-links a{font-size:14px}.hc-conversion .hc-result{margin-top:14px}}
@media print{.hc-workbench{display:block}.hc-section-links{display:none!important}}
