/* 中文日期组件的样式（web/zh-date.js）。字号只用 13/16，圆角 8/12，间距 4 的倍数；颜色取壳令牌，壳关时回退到 index.html 的 :root 颜色。 */
.zd-input{font-variant-numeric:tabular-nums;letter-spacing:.02em}
.zd-input.zd-bad{border-color:var(--danger,#b3382c);box-shadow:0 0 0 1px var(--danger,#b3382c)}
.zd-pop{position:fixed;z-index:100000;width:308px;box-sizing:border-box;padding:12px;background:var(--paper,#fff);color:var(--sh-ink,var(--ink,#1b2432));border:1px solid var(--sh-line,var(--line,#d7dde5));border-radius:12px;box-shadow:0 8px 24px rgba(10,45,85,.24);font-size:13px;line-height:20px;-webkit-user-select:none;user-select:none}
.zd-pop[hidden]{display:none}
.zd-head{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:8px}
.zd-head b{flex:1;text-align:center;font-size:16px;line-height:24px;font-weight:600}
.zd-nav{width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--sh-ink2,var(--muted,#475467));font-size:16px;line-height:24px;cursor:pointer}
.zd-nav:hover{background:var(--sh-blue-soft,#e8f1fb)}
.zd-week,.zd-days{display:grid;grid-template-columns:repeat(7,1fr);gap:0}
.zd-week span{text-align:center;color:var(--sh-ink2,var(--muted,#475467));padding:4px 0}
.zd-months{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.zd-cell{height:36px;min-height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font-size:13px;line-height:20px;font-variant-numeric:tabular-nums;cursor:pointer}
.zd-cell:hover{background:var(--sh-blue-soft,#e8f1fb)}
.zd-cell.zd-out{color:var(--sh-ink2,var(--muted,#475467));opacity:.55}
.zd-cell.zd-today{box-shadow:inset 0 0 0 1px var(--sh-blue,#0265c2);font-weight:600}
.zd-cell.zd-sel{background:var(--sh-blue,#0265c2);color:#fff;opacity:1}
.zd-cell:focus-visible,.zd-nav:focus-visible,.zd-foot button:focus-visible{outline:2px solid var(--sh-blue,#0265c2);outline-offset:1px}
.zd-foot{display:flex;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid var(--sh-line,var(--line,#d7dde5))}
.zd-foot button{height:32px;min-height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--sh-blue,#0265c2);font-size:13px;line-height:20px;cursor:pointer}
.zd-foot button:hover{background:var(--sh-blue-soft,#e8f1fb)}
@media (pointer:coarse),(max-width:900px){.zd-pop{width:min(320px,calc(100vw - 16px))}.zd-cell{height:44px;min-height:44px}.zd-nav{width:44px;height:44px;min-height:44px}.zd-foot button{height:44px;min-height:44px}}
