:root{--zw-rail: clamp(224px, 20vw, 280px);--zw-ink: #392d48;--zw-accent: #77529a;--zw-rule: #e8e1ed}.zw-sidebar,.zw-topbar,#zwDrawer{box-sizing:border-box;color:var(--zw-ink);font:500 15px/1.5 system-ui,PingFang SC,sans-serif;letter-spacing:normal;background:#fff}.zw-sidebar,.zw-drawer-inner{display:flex;flex-direction:column}.zw-sidebar{position:fixed;z-index:10;inset:0 auto 0 0;width:var(--zw-rail);padding:32px 20px 20px;overflow-y:auto;border-right:1px solid var(--zw-rule)}.zw-brand{display:inline-flex;gap:12px;align-items:center;width:fit-content;color:var(--zw-ink);font:700 22px/1.25 Songti SC,"Noto Serif CJK SC",serif;text-decoration:none}.zw-brand img{border-radius:8px}.zw-nav{display:grid;gap:6px;margin:32px 0 16px}.zw-nav a{display:flex;align-items:center;gap:14px;min-height:48px;padding:0 14px;border-radius:10px;color:#62586c;text-decoration:none}.zw-nav a:hover,.zw-nav a:focus-visible{background:#f6f2f8}.zw-nav a[aria-current]{background:#f1eafa;color:#604180;font-weight:700}.zw-nav i{width:20px;font: 22px/1 system-ui;text-align:center}.zw-legal{display:flex;gap:16px;margin-top:auto;padding:16px 4px 0;border-top:1px solid var(--zw-rule)}.zw-legal a{color:#75697c;font-size:13px;text-decoration:none}.zw-legal a:hover{text-decoration:underline}.zw-topbar,#zwDrawer:not([open]){display:none}#zwDrawer{position:fixed;inset:0 auto 0 0;width:min(84vw,340px);height:100%;height:100dvh;max-height:none;max-width:none;margin:0;padding:0;border:0}#zwDrawer::backdrop{background:#23163061}.zw-drawer-inner{box-sizing:border-box;min-height:100%;padding:max(env(safe-area-inset-top),16px) 20px max(env(safe-area-inset-bottom),20px)}.zw-drawer-head{display:flex;align-items:center;justify-content:space-between}.zw-menu-open{overflow:hidden}.zw-topbar button,#zwClose{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:0 10px;border:0;border-radius:8px;color:var(--zw-ink);font:inherit;background:transparent;cursor:pointer}#zwClose{font-size:26px}.zw-menu-lines{width:16px;height:11px;box-sizing:border-box;border-block:2px solid currentColor}.zwds-home .form-title{margin:0 0 20px;font:650 1.4rem/1.35 system-ui;color:var(--zw-ink)}.zwds-home .form-label{display:block;margin:0 0 6px;font:600 .85rem/1.5 system-ui;color:#5e5069}@media(min-width:901px){body{box-sizing:border-box;padding-inline-start:var(--zw-rail)}.zwds-home .page-shell{width:min(100% - 64px,816px);padding:32px 0}.zwds-home .form-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:28px;border:1px solid var(--zw-rule);border-radius:14px;background:#fff}.zwds-home .form-panel>.field,.zwds-home .form-panel>a,.zwds-home .form-panel>button{margin:0}.zwds-home .form-title,.zwds-home .solar-time-hint{grid-column:1 / -1;margin:0}.zwds-home .birth-time-field,.zwds-home .birth-time-field+.field{grid-column:1 / -1}.history-page,.report-page,.dst-page,.edit-shell{width:min(100% - 64px,840px)}.zwds-history .history-swipe{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--zw-rule)}.zwds-history .history-row{order:-1;flex:1;min-width:0;border:0;transform:none!important}.zwds-history .history-swipe .history-delete,.zwds-history .history-swipe .history-edit,.zwds-history .history-swipe.has-edit.is-revealing .history-delete,.zwds-history .history-swipe.has-edit:not(.is-revealing) .history-edit{position:static;width:auto;min-height:44px;padding:0 10px;opacity:1;pointer-events:auto;color:var(--zw-accent);background:transparent}.zwds-history .history-swipe .history-delete{color:#aa3447}.legal-page{max-width:800px}.bottom-picker{align-items:center;padding:16px}.bottom-picker .picker-sheet{border-radius:16px}.picker-handle{display:none}.report-unlock-dock{left:calc(50% + var(--zw-rail) / 2);width:min(calc(100vw - var(--zw-rail) - 64px),840px)}.edit-bottom{left:var(--zw-rail);padding-inline:max(32px,calc((100vw - var(--zw-rail) - 840px) / 2))}}@media(max-width:900px){.zw-sidebar{display:none}.zw-topbar{display:flex;flex:none;align-items:center;justify-content:space-between;padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left));border-bottom:1px solid var(--zw-rule)}.zw-topbar .zw-brand{font-size:19px;gap:9px}.zw-topbar .zw-brand img{width:29px;height:29px}.edit-line-main{white-space:normal;overflow-wrap:anywhere}}@media(pointer:fine){.picker-column-list.is-wheel .picker-option{pointer-events:auto;cursor:pointer}.picker-column-list.is-wheel .picker-option:hover{color:var(--zw-accent)}}
