* { box-sizing: border-box; }
body { margin: 0; background: #f8f9f6; color: #263a33; font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button { border: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button[disabled] { cursor: default; }
img { display: inline-block; object-fit: contain; vertical-align: middle; }
input,textarea { box-sizing: border-box; font: inherit; color: inherit; }
textarea { resize: vertical; }
input::placeholder,textarea::placeholder { color: #a3af95; opacity: 1; }
input:focus,textarea:focus { border-color: #90a57b; outline: 2px solid #a0b78922; }
button:focus-visible,[role="button"]:focus-visible { outline: 2px solid #779864; outline-offset: 4px; }
button:active { transform: scale(.98); }
.filter-scroll { overflow-x: auto; scrollbar-width: none; }.filter-scroll::-webkit-scrollbar { display: none; }
.sheet-scroll { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d5dfc9 transparent; }
.sheet { overflow: hidden; }
.name-open,.candidate-body,.daily-card,.ai-entry,.quick-name { cursor: pointer; }
.sidebar img,.topbar img { flex-shrink: 0; }
.nav-item img { width: 20px; height: 20px; opacity: .77; }
.nav-item.active img { opacity: 1; }
.button img { width: 16px; height: 16px; }
.search-box img { width: 17px; height: 17px; opacity: .65; flex-shrink: 0; }
.icon-button img { width: 17px; height: 17px; opacity: .6; }
.icon-button.is-saved img { opacity: 1; }
.rail-header img { width: 18px; height: 18px; opacity: .6; }
.link-row img { width: 19px; height: 19px; }
.empty-state img { width: 32px; height: 32px; opacity: .5; }
.visibility-option img { width: 17px; height: 17px; opacity: .65; }
.mobile-nav-item img { width: 22px; height: 22px; opacity: .5; }
.mobile-nav-item.active img { opacity: 1; }
.stats-grid > div { text-align: center; border-right: 1px solid #e1e6d8; }.stats-grid > div:last-child { border: none; }
.landscape { object-fit: cover; }
.search-box input { padding: 0; }
.sidebar .side-poem { white-space: normal; }
.search-box { min-height: 44px; }
.name-card,.candidate-card,.note-card,.sheet,.daily-card,.ai-entry { -webkit-font-smoothing: antialiased; }
body:has(.modal-backdrop) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { button:active { transform: none; } }
@media (max-width: 600px) { .ai-bottom > span { display: none; } }
