:root{font-family:Segoe UI,PingFang SC,Microsoft YaHei,Noto Sans,ui-sans-serif,system-ui,sans-serif;color:#ecfdf5;background:#04110f;color-scheme:dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;--bg: #04110f;--bg-deep: #020a09;--panel: rgba(255, 255, 255, .07);--panel-strong: rgba(255, 255, 255, .12);--line: rgba(255, 255, 255, .12);--line-strong: rgba(255, 255, 255, .22);--text: #ecfdf5;--muted: #9db8ae;--accent: #34d399;--accent-deep: #0f766e;--amber: #fbbf24;--danger: #f87171;--mint: #a7f3d0;--status-normal: #34d399;--status-sick: #fbbf24;--status-dead: #f87171;--status-treatment: #a7f3d0;--radius-xl: 28px;--radius-lg: 22px;--radius-md: 16px;--shadow-card: 0 18px 44px rgba(0, 0, 0, .28);--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box}html,body,#mobile-app{min-height:100%}html{background:var(--bg)}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;overflow-x:hidden;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}svg{display:block}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.glass{background:linear-gradient(160deg,#ffffff1b,#ffffff0a),#04110f8c;border:1px solid var(--line);box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.eyebrow{margin:0;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.mobile-app{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;overflow-x:clip}.mobile-ambient{position:fixed;z-index:-2;inset:0;overflow:hidden;background:radial-gradient(circle at 18% 8%,rgba(15,118,110,.42),transparent 32%),radial-gradient(circle at 82% 18%,rgba(180,83,9,.2),transparent 28%),radial-gradient(circle at 50% 100%,rgba(6,78,59,.5),transparent 55%),linear-gradient(180deg,#061613,#04110f 52%,#020a09)}.ambient-orb{position:absolute;border-radius:50%;filter:blur(42px);opacity:.34;animation:orb-drift 16s ease-in-out infinite alternate}.orb-a{width:240px;height:240px;top:-60px;left:-50px;background:var(--accent)}.orb-b{width:210px;height:210px;top:22%;right:-90px;background:var(--amber);animation-delay:-5s}.orb-c{width:260px;height:260px;bottom:-110px;left:20%;background:var(--danger);opacity:.2;animation-delay:-9s}.ambient-grain{position:absolute;inset:0;opacity:.16;background-image:radial-gradient(rgba(255,255,255,.35) .6px,transparent .6px);background-size:3px 3px;-webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 78%);mask-image:linear-gradient(180deg,#000 0%,transparent 78%)}.primary-button,.secondary-button,.danger-button,.danger-outline-button{min-height:52px;padding:0 20px;border-radius:var(--radius-md);display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:700;letter-spacing:.01em;transition:transform .16s ease,background .16s ease,border-color .16s ease}.primary-button{width:100%;color:#04251a;background:linear-gradient(135deg,#6ee7b7,#34d399 55%,#22c55e);box-shadow:0 14px 30px #34d3993d}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled),.danger-button:active:not(:disabled),.danger-outline-button:active:not(:disabled){transform:scale(.978)}.primary-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.primary-button.compact{width:auto;min-width:112px}.secondary-button{width:100%;color:var(--text);background:#ffffff14;border:1px solid var(--line-strong)}.danger-button{width:100%;color:#3b0a0a;background:linear-gradient(135deg,#fca5a5,#f87171)}.danger-outline-button{width:100%;color:#fecaca;background:#f8717117;border:1px solid rgba(248,113,113,.4)}.text-button{padding:6px 2px;color:var(--accent);background:transparent;font-size:12px;font-weight:600}.icon-button{width:40px;height:40px;flex:0 0 40px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:13px;color:var(--text);background:#ffffff0f}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.button-loading{display:inline-flex;align-items:center;justify-content:center;gap:8px}.button-loading i{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.login-screen{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:max(34px,var(--safe-top)) 18px calc(28px + var(--safe-bottom))}.login-panel{width:min(430px,100%);margin:0 auto;display:grid;gap:20px}.login-hero{display:grid;gap:8px}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:8px}.brand-mark{width:52px;height:52px;display:grid;place-items:center;flex:0 0 52px;border-radius:18px;color:var(--accent);background:radial-gradient(circle at 30% 20%,rgba(110,231,183,.28),transparent 55%),#ffffff12;border:1px solid rgba(110,231,183,.24);box-shadow:0 12px 30px #34d39926}.brand-mark svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.brand-name{font-size:16px;font-weight:700;letter-spacing:.02em}.login-hero h1{margin:2px 0 0;font-size:clamp(34px,9vw,44px);line-height:1.06;letter-spacing:-.035em;background:linear-gradient(110deg,#fff 15%,#a7f3d0 55%,#5eead4);-webkit-background-clip:text;background-clip:text;color:transparent}.login-subtitle{margin:0;max-width:340px;color:var(--muted);font-size:14px;line-height:1.65}.language-switch{width:100%;padding:4px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;border:1px solid var(--line);border-radius:15px;background:#ffffff0e}.language-option{min-height:40px;padding:0 8px;border-radius:11px;color:var(--muted);background:transparent;font-size:12px;font-weight:600;transition:color .16s ease,background .16s ease,box-shadow .16s ease}.language-option.active{color:#04251a;background:linear-gradient(135deg,#a7f3d0,#34d399);box-shadow:0 8px 18px #34d3992e}.login-card{display:grid;gap:18px;padding:22px;border-radius:var(--radius-xl)}.step-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.step-pill{padding:5px 9px;border-radius:99px;color:var(--muted);background:#ffffff0f;font-size:10px;font-weight:700;letter-spacing:.04em}.step-dots{display:flex;gap:5px}.step-dots i{width:18px;height:4px;border-radius:99px;background:#ffffff21;transition:background .2s ease,width .2s ease}.step-dots i.active{width:26px;background:var(--accent)}.step-body{display:grid;gap:12px}.field-label{color:var(--text);font-size:12px;font-weight:600}.input-wrap{position:relative;display:flex;align-items:center}.input-wrap>svg{position:absolute;left:15px;width:20px;height:20px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.input-wrap input{width:100%;height:54px;padding:0 50px 0 46px;border:1px solid var(--line);border-radius:15px;color:var(--text);background:#00000038;font-size:16px;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.input-wrap input::placeholder{color:#9db8ae9e}.input-wrap input:focus{border-color:#6ee7b78c;background:#0000004d;box-shadow:0 0 0 4px #34d39914}.input-wrap input:-webkit-autofill{-webkit-text-fill-color:var(--text);-webkit-box-shadow:0 0 0 1000px #0a211b inset;caret-color:var(--text)}.eye-button{position:absolute;right:7px;width:40px;height:40px;display:grid;place-items:center;border-radius:11px;color:var(--muted);background:transparent}.eye-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.account-chip{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:#ffffff0b}.account-avatar{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;color:#04251a;background:linear-gradient(135deg,#a7f3d0,#34d399);font-size:12px;font-weight:800}.account-avatar.large{width:50px;height:50px;flex-basis:50px;font-size:18px}.account-name{min-width:0;overflow:hidden;color:var(--text);font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.account-chip .text-button{margin-left:auto;flex:0 0 auto}.form-error,.form-notice{margin:0;padding:10px 12px;border-radius:12px;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.form-error{color:#fecaca;background:#f871711a;border:1px solid rgba(248,113,113,.24)}.form-notice{color:#fde68a;background:#fbbf2417;border:1px solid rgba(251,191,36,.22)}.login-foot{margin:0;color:#9db8aeb3;font-size:11px;text-align:center;letter-spacing:.04em}.auth-step-enter-active,.auth-step-leave-active{transition:opacity .18s ease,transform .18s ease}.auth-step-enter-from{opacity:0;transform:translate(18px)}.auth-step-leave-to{opacity:0;transform:translate(-18px)}.app-screen{min-height:100vh;min-height:100dvh}.mobile-header{position:sticky;top:0;z-index:20;width:min(780px,100%);margin:0 auto;padding:calc(10px + var(--safe-top)) 18px 12px;display:flex;align-items:center;gap:10px;background:linear-gradient(180deg,#04110ff5,#04110fc7 68%,#04110f00);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.header-mark{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:13px;color:#04251a;background:linear-gradient(135deg,#a7f3d0,#34d399);font-size:15px;font-weight:800;box-shadow:0 8px 20px #34d3992e}.header-titles{min-width:0;flex:1;display:grid;gap:2px}.header-titles strong{overflow:hidden;color:var(--text);font-size:16px;font-weight:700;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.header-titles span{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.avatar-button{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:1px solid rgba(167,243,208,.32);border-radius:50%;color:#04251a;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.55),transparent 42%),linear-gradient(135deg,#a7f3d0,#34d399);font-size:13px;font-weight:800}.mobile-content{width:min(780px,100%);margin:0 auto;padding:4px 18px calc(36px + var(--safe-bottom))}.farm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.farm-card{position:relative;min-height:172px;padding:16px;display:flex;flex-direction:column;align-items:stretch;gap:9px;overflow:hidden;border-radius:var(--radius-lg);color:var(--text);text-align:left;animation:card-in .5s both;animation-delay:var(--delay, 0ms);transition:transform .16s ease,border-color .16s ease}.farm-card:before{content:"";position:absolute;inset:-40% -20% auto auto;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(52,211,153,.2),transparent 65%);pointer-events:none}.farm-card:active{transform:scale(.975)}.farm-card.special{grid-column:1 / -1;min-height:154px;border-color:#fbbf2480;background:radial-gradient(circle at 88% 12%,rgba(248,113,113,.22),transparent 42%),linear-gradient(135deg,#fbbf2429,#f8717114 52%,#ffffff0a)}.farm-card.special:before{background:radial-gradient(circle,rgba(251,191,36,.26),transparent 65%)}.farm-index{position:absolute;top:8px;right:12px;color:#ffffff57;font-size:44px;font-weight:800;line-height:1;letter-spacing:-.06em;opacity:.42;pointer-events:none}.farm-top{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative}.farm-code{color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.12em}.special-badge{padding:4px 8px;border-radius:99px;color:#3b2600;background:linear-gradient(135deg,#fde68a,#fbbf24);font-size:9px;font-weight:800;letter-spacing:.04em}.farm-name{position:relative;color:var(--text);font-size:19px;font-weight:750;line-height:1.24;letter-spacing:-.015em;overflow-wrap:anywhere}.farm-metrics{position:relative;display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:auto;color:var(--muted);font-size:11px}.farm-metrics span{display:inline-flex;align-items:center;gap:4px}.farm-metrics svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.status-normal{--status-color: var(--status-normal);--status-soft: rgba(52, 211, 153, .16)}.status-sick{--status-color: var(--status-sick);--status-soft: rgba(251, 191, 36, .16)}.status-dead{--status-color: var(--status-dead);--status-soft: rgba(248, 113, 113, .16)}.status-treatment{--status-color: var(--status-treatment);--status-soft: rgba(167, 243, 208, .16)}.status-bar{position:relative;width:100%;height:6px;display:flex;gap:2px;overflow:hidden;border-radius:99px;background:#ffffff14}.status-bar i{display:block;height:100%;border-radius:99px;background:#ffffff2e;transition:width .4s ease}.status-bar i.status-normal{background:var(--status-normal)}.status-bar i.status-sick{background:var(--status-sick)}.status-bar i.status-dead{background:var(--status-dead)}.status-bar i.status-treatment{background:var(--status-treatment)}.status-badge{width:fit-content;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:99px;color:#04251a;font-size:11px;font-weight:800;letter-spacing:.01em;line-height:1}.status-badge svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.status-badge.badge-sm{padding:4px 8px;gap:4px;font-size:10px}.status-badge.badge-sm svg{width:12px;height:12px}.status-badge.status-normal{background:var(--status-normal)}.status-badge.status-sick{background:var(--status-sick)}.status-badge.status-dead{background:var(--status-dead);color:#3b0a0a}.status-badge.status-treatment{background:var(--status-treatment)}.house-list{display:grid;gap:12px}.house-card{display:flex;align-items:center;gap:13px;padding:14px;border-radius:var(--radius-lg);color:var(--text);text-align:left;animation:card-in .45s both;animation-delay:var(--delay, 0ms);transition:transform .16s ease,border-color .16s ease}.house-card:active{transform:scale(.982)}.house-tile{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border:1px solid rgba(110,231,183,.26);border-radius:17px;color:#a7f3d0;background:radial-gradient(circle at 30% 20%,rgba(110,231,183,.25),transparent 55%),#34d39914;font-size:22px;font-weight:800;letter-spacing:-.03em}.house-main{min-width:0;flex:1;display:grid;gap:5px}.house-name{overflow-wrap:anywhere;color:var(--text);font-size:17px;font-weight:700;line-height:1.2}.house-meta{color:var(--muted);font-size:11px}.row-chevron{width:19px;height:19px;flex:0 0 19px;color:#9db8aeb8;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.monkey-summary{margin-bottom:12px;padding:13px 14px;display:grid;gap:11px;border-radius:20px}.monkey-total{color:var(--muted);font-size:12px}.monkey-total span{color:var(--text);font-weight:600}.filter-chips{display:flex;flex-wrap:wrap;gap:7px;overflow:visible;padding-bottom:1px}.filter-chip{min-height:34px;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border:1px solid var(--line);border-radius:99px;color:var(--muted);background:#ffffff0a;font-size:11px;font-weight:600;transition:background .16s ease,border-color .16s ease,color .16s ease}.filter-chip b{color:inherit;font-size:10px;font-weight:700;opacity:.78}.filter-chip.active{color:var(--text);border-color:var(--line-strong);background:#ffffff21}.chip-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#ffffff6b}.filter-chip.status-normal .chip-dot{background:var(--status-normal)}.filter-chip.status-sick .chip-dot{background:var(--status-sick)}.filter-chip.status-dead .chip-dot{background:var(--status-dead)}.filter-chip.status-treatment .chip-dot{background:var(--status-treatment)}.monkey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.monkey-card{position:relative;min-height:112px;padding:13px 12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;overflow:hidden;border-color:#ffffff1a;border-left:4px solid var(--status-color);border-radius:19px;background:radial-gradient(circle at 100% 0%,var(--status-soft),transparent 58%),linear-gradient(155deg,#ffffff13,#ffffff06);animation:card-in .45s both;animation-delay:var(--delay, 0ms)}.monkey-card.status-sick{border-color:#fbbf2438;border-left-color:var(--status-sick)}.monkey-card.status-dead{border-color:#f8717133;border-left-color:var(--status-dead);opacity:.9}.monkey-card.status-treatment{border-color:#a7f3d033;border-left-color:var(--status-treatment)}.monkey-glow{position:absolute;top:-26px;right:-26px;width:80px;height:80px;border-radius:50%;background:radial-gradient(circle,var(--status-soft),transparent 68%);pointer-events:none}.monkey-card.status-sick .monkey-glow{animation:soft-pulse 3.2s ease-in-out infinite}.monkey-no{position:relative;max-width:100%;color:var(--text);font-size:15px;font-weight:750;line-height:1.18;letter-spacing:.015em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.monkey-card{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.monkey-card.selecting{cursor:pointer}.monkey-card.selected{border-color:#6ee7b7d9;box-shadow:0 0 0 2px #34d39959,0 0 24px #34d39933}.monkey-card.not-selectable{opacity:.42}.monkey-select{position:absolute;top:9px;right:9px;z-index:2;width:22px;height:22px;display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.35);border-radius:50%;background:#04110f8c;color:transparent}.monkey-select.checked{border-color:var(--accent);background:var(--accent);color:#052e22}.monkey-select svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.batch-tip{margin:10px 2px 12px;color:var(--muted);font-size:11px;line-height:1.5}.batch-bar{position:sticky;top:8px;z-index:20;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:12px 0;padding:10px 12px;border:1px solid rgba(110,231,183,.3);border-radius:16px;background:#081c16f0;box-shadow:0 12px 30px #00000059;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.batch-bar-info{display:flex;flex-direction:column;gap:1px}.batch-bar-info strong{font-size:13px}.batch-bar-info .text-button{align-self:flex-start;min-height:0;padding:0;font-size:10px}.batch-bar-actions{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}.batch-bar-button{min-height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#ffffff12;color:var(--text);font-size:11px;font-weight:700}.batch-bar-button.primary{border-color:#6ee7b780;background:linear-gradient(135deg,#6ee7b7,#34d399);color:#052e22}.batch-bar-button.danger{border-color:#f871718c;background:#f8717129;color:#fecaca}.batch-hint{margin:-2px 2px 10px;color:var(--amber);font-size:11px;line-height:1.45}.batch-result{margin:12px 0;padding:12px;border-color:#6ee7b747;border-radius:16px}.batch-result.has-failures{border-color:#f8717161}.batch-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.batch-result-head strong{font-size:12px;line-height:1.4}.batch-result-head .text-button{flex:0 0 auto;min-height:0;padding:0;font-size:10px}.batch-result-label{margin:10px 0 4px;color:var(--muted);font-size:10px;font-weight:700}.batch-failures{display:grid;gap:6px;max-height:180px;margin:0;padding:0;overflow:auto;list-style:none}.batch-failures li{display:grid;gap:2px;padding:7px 9px;border:1px solid rgba(248,113,113,.16);border-radius:9px;background:#f8717114}.batch-failures b{color:#fecaca;font-size:11px}.batch-failures span{color:var(--muted);font-size:10px;line-height:1.4}.batch-sheet-layer{position:fixed;inset:0;z-index:120;display:flex;align-items:flex-end;justify-content:center}.batch-sheet-backdrop{position:absolute;inset:0;background:#010806ad;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.batch-sheet{position:relative;display:grid;gap:12px;width:100%;max-width:560px;max-height:88vh;padding:18px 16px calc(18px + var(--safe-bottom));overflow-y:auto;border:1px solid rgba(255,255,255,.14);border-radius:24px 24px 0 0;background:linear-gradient(160deg,#143026fa,#04110ffc);box-shadow:0 -20px 50px #00000073;animation:batch-sheet-in .24s ease-out both}.batch-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.batch-sheet-head h2{margin:4px 0 0;font-size:19px}.batch-sheet .action-form-actions{margin-top:4px}.batch-progress{margin:0;color:var(--mint);font-size:11px}@keyframes batch-sheet-in{0%{transform:translateY(24px);opacity:.6}to{transform:translateY(0);opacity:1}}@media(max-width:360px){.batch-bar{padding:9px 10px}.batch-bar-info{flex:1 1 100%;flex-direction:row;align-items:center;justify-content:space-between}.batch-bar-actions{width:100%;margin-left:0}.batch-bar-button{flex:1 1 0}.batch-sheet{padding:16px 12px calc(16px + var(--safe-bottom))}.batch-sheet-head h2{font-size:17px}}@media(prefers-reduced-motion:reduce){.batch-sheet{animation:none}}.scroll-sentinel{height:1px}.load-more{display:flex;justify-content:center;padding:18px 0 4px}.load-more .secondary-button{width:auto;min-width:150px;min-height:44px;font-size:13px}.no-more{margin:0;color:#9db8aeb3;font-size:11px}.empty-state,.error-state{width:100%;padding:28px 20px;display:grid;justify-items:center;gap:8px;border-radius:var(--radius-xl);text-align:center}.empty-art,.error-art{width:84px;height:84px;display:grid;place-items:center;margin-bottom:4px;border-radius:50%;background:#34d39914;color:var(--accent)}.empty-art svg,.error-art svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.error-art{color:var(--danger);background:#f8717117}.error-art svg{width:40px;height:40px}.empty-state h3,.error-state h3{margin:0;color:var(--text);font-size:18px;font-weight:700}.empty-state p,.error-state p{max-width:300px;margin:0;color:var(--muted);font-size:12px;line-height:1.65;overflow-wrap:anywhere}.empty-state .secondary-button,.error-state .primary-button{width:auto;min-width:126px;min-height:44px;margin-top:8px;font-size:13px}.error-actions{display:flex;align-items:center;gap:10px;margin-top:8px}.error-actions .primary-button{margin-top:0}.skeleton-grid{display:grid;gap:12px}.skeleton-farm{grid-template-columns:repeat(2,minmax(0,1fr))}.skeleton-house{grid-template-columns:1fr}.skeleton-monkey{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.skeleton-card{position:relative;min-height:112px;padding:16px;display:grid;align-content:start;gap:9px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-lg);background:#ffffff0a}.skeleton-card:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.08) 46%,transparent 62%);transform:translate(-100%);animation:shimmer 1.5s ease-in-out infinite}.skeleton-line{display:block;width:100%;height:12px;border-radius:99px;background:#ffffff17}.skeleton-line.short{width:56%}.skeleton-line.tiny{width:34%;height:8px}.skeleton-pill{width:74px;height:10px;margin-top:8px;border-radius:99px;background:#ffffff14}.state-screen{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:max(24px,var(--safe-top)) 18px calc(30px + var(--safe-bottom))}.state-card{width:min(420px,100%);padding:30px 24px;display:grid;justify-items:center;gap:11px;border-radius:var(--radius-xl);text-align:center}.state-icon{width:66px;height:66px;display:grid;place-items:center;margin-bottom:4px;border-radius:50%;border:1px solid var(--line);background:#ffffff0f}.state-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.state-icon.tone-setup{color:var(--accent);background:#34d3991a;border-color:#34d39942}.state-icon.tone-lock{color:var(--amber);background:#fbbf241a;border-color:#fbbf2442}.state-icon.tone-error,.state-icon.tone-notfound{color:var(--danger);background:#f871711a;border-color:#f8717142}.state-card h1{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.02em}.state-description{max-width:310px;margin:0;color:var(--muted);font-size:13px;line-height:1.7}.state-actions{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px}.state-actions .primary-button,.state-actions .secondary-button{width:auto;min-width:135px;min-height:46px;font-size:13px}.boot-screen{min-height:100vh;min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:11px;padding:24px;text-align:center}.boot-mark{width:86px;height:86px;display:grid;place-items:center;margin-bottom:5px;border:1px solid rgba(110,231,183,.26);border-radius:28px;color:var(--accent);background:radial-gradient(circle at 30% 20%,rgba(110,231,183,.24),transparent 55%),#ffffff0f;box-shadow:0 22px 50px #34d39929;animation:float 3.2s ease-in-out infinite}.boot-mark svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.boot-screen h1{margin:0;font-size:26px;letter-spacing:-.03em}.boot-screen p{margin:0;color:var(--muted);font-size:12px}.loading-dots{display:flex;gap:6px;margin-top:5px}.loading-dots i{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:dot-bounce 1s ease-in-out infinite}.loading-dots i:nth-child(2){animation-delay:.14s}.loading-dots i:nth-child(3){animation-delay:.28s}.sheet-backdrop{position:fixed;z-index:60;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#0000008f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.bottom-sheet{width:min(560px,100%);max-height:88vh;max-height:88dvh;overflow-y:auto;padding:9px 20px calc(22px + var(--safe-bottom));border-radius:28px 28px 0 0;outline:none}.sheet-grip{width:42px;height:4px;margin:0 auto 12px;border-radius:99px;background:#ffffff38}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:4px}.sheet-head h2{margin:0;font-size:18px;letter-spacing:-.01em}.sheet-close{width:34px;height:34px;flex-basis:34px;border-radius:11px}.sheet-section{margin-top:20px}.sheet-section h3{margin:0 0 9px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.account-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:18px;background:#ffffff0b}.account-info{min-width:0;display:grid;gap:3px}.account-info strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.account-info span{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.confirm-hint{margin:0 0 10px;color:var(--muted);font-size:12px}.confirm-actions{display:flex;gap:9px}.confirm-actions .secondary-button,.confirm-actions .danger-button{min-height:46px;font-size:13px}.sheet-enter-active,.sheet-leave-active{transition:opacity .22s ease}.sheet-enter-from,.sheet-leave-to{opacity:0}.sheet-enter-active .bottom-sheet{animation:sheet-up .3s cubic-bezier(.2,.9,.2,1)}@media(min-width:560px){.monkey-grid,.skeleton-monkey{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:640px){.farm-grid,.skeleton-farm{grid-template-columns:repeat(3,minmax(0,1fr))}.monkey-grid,.skeleton-monkey{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-header,.mobile-content{padding-left:24px;padding-right:24px}}@media(max-width:360px){.login-screen{padding-left:14px;padding-right:14px}.login-card{padding:18px}.language-option{font-size:11px}.farm-card{padding:14px;min-height:164px}.farm-name{font-size:17px}.mobile-header{gap:8px;padding-left:14px;padding-right:14px}.mobile-content{padding-left:14px;padding-right:14px}}@media(max-height:760px){.login-screen{align-items:flex-start}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}@keyframes card-in{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes orb-drift{0%{transform:translateZ(0) scale(1)}to{transform:translate3d(22px,26px,0) scale(1.08)}}@keyframes soft-pulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.12)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes dot-bounce{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}@keyframes shimmer{to{transform:translate(100%)}}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 2px 10px}.section-head h2{display:flex;align-items:center;gap:8px;margin:0;color:var(--text);font-size:12px;font-weight:750;letter-spacing:.08em}.section-head h2:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px #34d3998c}.section-head>span{color:var(--muted);font-size:10px}.farm-list-head{margin-top:12px}.monkey-lookup{margin:2px 0 14px}.lookup-bar{min-height:48px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid rgba(167,243,208,.16);border-radius:16px;background:linear-gradient(155deg,#ffffff1a,#ffffff09),#04110f9e;box-shadow:0 12px 26px #00000029}.lookup-bar.active{border-color:#6ee7b799;box-shadow:0 0 0 3px #34d39917,0 14px 30px #0003}.lookup-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#8fd9bd;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.lookup-bar input{min-width:0;flex:1;border:0;outline:0;padding:0;color:var(--text);background:transparent;font-size:12px}.lookup-bar input::placeholder{color:#9db8aea8}.lookup-clear{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:50%;color:var(--muted);background:#ffffff14;font-size:15px;line-height:1}.lookup-hint{margin:7px 2px 0;color:#9db8aeb8;font-size:10px;line-height:1.5}.lookup-results{margin-top:12px}.lookup-status{min-height:58px;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px;border-radius:var(--radius-md);color:var(--muted);font-size:11px}.lookup-status .loading-dots{margin:0}.lookup-message{padding:16px;border-radius:var(--radius-md);text-align:center}.lookup-message strong{display:block;color:var(--text);font-size:13px;font-weight:700}.lookup-message p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.lookup-message .text-button{margin-top:5px}.lookup-empty svg{width:26px;height:26px;margin:0 auto 5px;fill:none;stroke:var(--muted);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.lookup-error{border-color:#f871713d;background:#f871710f}.lookup-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 9px}.lookup-result-head strong{color:var(--text);font-size:12px;font-weight:750;letter-spacing:.06em}.lookup-result-head span{color:var(--muted);font-size:10px}.lookup-result-list{display:grid;gap:10px}.lookup-card{width:100%;display:grid;gap:8px;padding:14px;border-radius:20px;color:var(--text);text-align:left;transition:transform .16s ease,border-color .16s ease}.lookup-card:active{transform:scale(.985)}.lookup-card.is-sick-farm{border-color:#fbbf2452}.lookup-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.lookup-no{color:#f0fdf8;font-family:Cascadia Mono,Consolas,monospace;font-size:16px;font-weight:750;letter-spacing:.01em;overflow-wrap:anywhere}.lookup-location{display:grid;gap:6px;padding:9px 10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#04110f47}.lookup-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.lookup-label{flex:0 0 auto;color:var(--muted);font-size:10px}.lookup-value{min-width:0;color:var(--text);font-size:11px;font-weight:650;text-align:right;overflow-wrap:anywhere}.lookup-value small{margin-left:4px;color:var(--amber);font-family:Cascadia Mono,Consolas,monospace;font-size:9px;font-weight:600}.lookup-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:2px;color:var(--mint);font-size:11px;font-weight:700}.lookup-cta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.lookup-foot{margin:10px 2px 0;color:#9db8ae94;font-size:9.5px;line-height:1.5}.isolation-pill{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid rgba(251,191,36,.3);border-radius:99px;color:#fde68a;background:#fbbf2417;font-size:9px;font-weight:750;white-space:nowrap}.isolation-pill:before{content:"";width:4px;height:4px;border-radius:50%;background:var(--amber);box-shadow:0 0 8px #fbbf24a6}.farm-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;min-height:48px;margin:0 0 14px;padding:4px;border:1px solid rgba(255,255,255,.11);border-radius:16px;background:#ffffff0b;box-shadow:inset 0 1px #ffffff09}.switch-option{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:12px;color:#ecfdf58a;background:transparent;font-size:12px;font-weight:650;letter-spacing:.01em;transition:color .18s ease,background .18s ease}.switch-option b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;color:#ecfdf59e;background:#ffffff14;font-size:9px;font-weight:750;line-height:1}.switch-option.active.normal{color:#04251a;background:linear-gradient(135deg,#a7f3d0,#34d399);box-shadow:0 8px 20px #34d3992e}.switch-option.active.normal b{color:#065f46;background:#04251a1f}.switch-option.active.sick{color:#3b2600;background:linear-gradient(135deg,#fde68a,#fbbf24);box-shadow:0 8px 20px #fbbf2429}.switch-option.active.sick b{color:#78350f;background:#3b260021}.switch-dot{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.55}.switch-option.active .switch-dot{opacity:.9}.sick-summary{position:relative;display:grid;gap:9px;padding:14px 16px;overflow:hidden;border:1px solid rgba(251,191,36,.3);border-radius:20px;background:radial-gradient(circle at 92% 8%,rgba(248,113,113,.2),transparent 42%),linear-gradient(135deg,#fbbf2426,#f8717112 52%,#ffffff09);box-shadow:var(--shadow-card)}.sick-summary:before{content:"";position:absolute;top:-42px;right:-24px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(251,191,36,.22),transparent 66%);pointer-events:none}.sick-summary-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px}.sick-summary-top .farm-code{color:#fff7e594}.sick-summary-name{position:relative;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.sick-summary-name strong{color:#fff7e5;font-size:21px;font-weight:750;line-height:1.1;letter-spacing:-.02em}.sick-summary-name span{color:#fff7e58a;font-size:10px}.sick-summary-metrics{position:relative;display:flex;flex-wrap:wrap;gap:6px 14px;color:#fff7e5b8;font-size:10px}.sick-summary-metrics span{display:inline-flex;align-items:center;gap:4px}.sick-summary-metrics svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sick-houses-head{margin-top:15px}.sick-note{display:flex;align-items:flex-start;gap:6px;margin:11px 2px 0;color:#9db8aea6;font-size:9.5px;line-height:1.5}.sick-note svg{width:12px;height:12px;flex:0 0 12px;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.focus-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:10px 13px;border-radius:var(--radius-md);border-color:#6ee7b73d;background:#34d39912}.focus-banner-label{display:inline-flex;align-items:center;gap:7px;color:var(--mint);font-size:11px;font-weight:700}.focus-banner-label i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #34d3991f}.focus-banner .text-button{flex:0 0 auto}.monkey-card{transition:border-color .18s ease,box-shadow .18s ease}.monkey-card.target-focus{border-color:#6ee7b7d1;box-shadow:0 0 0 2px #34d3994d,0 0 30px #34d3993d;animation:target-pulse 1s ease 2}@keyframes target-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.018)}}@media(max-width:360px){.lookup-bar{padding:0 11px}.lookup-bar input{font-size:11px}.switch-option{gap:5px;font-size:11px}.switch-option b{min-width:16px;height:16px;padding:0 4px}.sick-summary{padding:13px 14px}.sick-summary-name strong{font-size:19px}.lookup-card{padding:13px}}@media(prefers-reduced-motion:reduce){.monkey-card.target-focus{animation:none}}.monkey-card[role=button]{cursor:pointer;-webkit-tap-highlight-color:transparent}.monkey-card[role=button]:active{transform:scale(.975)}.monkey-action-layer{position:fixed;z-index:100;inset:0;display:flex;align-items:stretch;justify-content:center;padding:max(12px,env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))}.monkey-action-backdrop{position:absolute;inset:0;background:#020a098f;-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15)}.monkey-action-panel{position:relative;z-index:1;width:min(100%,520px);height:100%;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:28px;background:radial-gradient(circle at 18% 0%,rgba(52,211,153,.16),transparent 36%),linear-gradient(150deg,#091e19db,#030c0aeb);box-shadow:0 30px 80px #0000008c,inset 0 1px #ffffff14;-webkit-backdrop-filter:blur(30px) saturate(1.25);backdrop-filter:blur(30px) saturate(1.25);transform-origin:top left;will-change:transform,opacity}.action-panel-content{display:flex;flex-direction:column;height:100%;min-height:0}.action-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 18px 13px;border-bottom:1px solid rgba(255,255,255,.09)}.action-heading{min-width:0;display:grid;gap:3px}.action-heading .eyebrow{margin:0 0 2px;color:var(--mint);font-size:9px;font-weight:800;letter-spacing:.16em}.action-heading strong{overflow:hidden;color:var(--text);font-family:Cascadia Mono,Consolas,monospace;font-size:18px;font-weight:750;letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap}.action-heading-location{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.action-close{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:13px;color:var(--text);background:#ffffff0f}.action-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.action-panel-body{display:grid;align-content:start;grid-auto-rows:max-content;flex:1;gap:14px;min-height:0;overflow-y:auto;padding:16px 18px calc(22px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.action-hero{position:relative;display:grid;gap:7px;overflow:hidden;padding:17px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:radial-gradient(circle at 100% 0%,var(--status-soft),transparent 58%),linear-gradient(155deg,#ffffff14,#ffffff06)}.action-hero.is-clickable{cursor:pointer;transition:border-color .16s ease,transform .16s ease}.action-hero.is-clickable:active{transform:scale(.99)}.action-hero-glow{position:absolute;top:-35px;right:-25px;width:125px;height:125px;border-radius:50%;background:radial-gradient(circle,var(--status-soft),transparent 70%);pointer-events:none}.action-hero .status-badge{width:fit-content;position:relative}.action-hero-no{position:relative;color:var(--text);font-family:Cascadia Mono,Consolas,monospace;font-size:27px;font-weight:800;letter-spacing:.01em;line-height:1.15;overflow-wrap:anywhere}.action-hero-location{position:relative;display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.action-hero-location svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.action-detail-button{width:100%;display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(110,231,183,.22);border-radius:18px;color:var(--text);background:linear-gradient(135deg,#34d3991a,#ffffff09);text-align:left}.action-detail-button:active{transform:scale(.988)}.action-detail-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;color:var(--mint);background:#34d3991f}.action-detail-icon svg,.action-chevron{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.action-detail-button>span:nth-child(2){min-width:0;flex:1;display:grid;gap:3px}.action-detail-button strong{font-size:13px;font-weight:700}.action-detail-button small{color:var(--muted);font-size:10px;line-height:1.4}.action-chevron{flex:0 0 18px;color:var(--muted)}.action-section-title{margin:2px 2px -3px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.12em}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.action-tile{position:relative;min-height:132px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:13px;border:1px solid rgba(255,255,255,.1);border-radius:18px;color:var(--text);background:linear-gradient(155deg,#ffffff12,#ffffff06);text-align:left;transition:transform .16s ease,border-color .16s ease}.action-tile:active{transform:scale(.975)}.action-tile-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:var(--mint);background:#34d3991a}.action-tile-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.action-tile strong{font-size:13px;font-weight:700}.action-tile small{color:var(--muted);font-size:9.5px;line-height:1.45}.action-tile em{margin-top:auto;color:var(--danger);font-size:9px;font-style:normal;font-weight:700}.action-tile.danger{border-color:#f871713d;background:radial-gradient(circle at 100% 0%,rgba(248,113,113,.16),transparent 55%),linear-gradient(155deg,#ffffff0f,#ffffff05)}.action-tile.danger .action-tile-icon{color:var(--danger);background:#f871711f}.action-pending{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid rgba(251,191,36,.24);border-radius:14px;background:#fbbf2414}.action-pending-mark{width:18px;height:18px;flex:0 0 18px;display:grid;place-items:center;border-radius:50%;color:#3b2600;background:var(--amber);font-size:10px;font-weight:800}.action-pending strong{display:block;color:#fde68a;font-size:11px;font-weight:700}.action-pending p{margin:3px 0 0;color:#fde68aad;font-size:9.5px;line-height:1.5}.action-audit-note{margin:0 2px;color:#9db8ae94;font-size:9px;line-height:1.5;text-align:center}.action-back-button{display:inline-flex;align-items:center;gap:4px;width:fit-content;padding:5px 2px;color:var(--mint);background:transparent;font-size:11px;font-weight:650}.action-back-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.action-info-card{padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:linear-gradient(155deg,#ffffff12,#ffffff06)}.action-info-card h2{margin:0;color:var(--text);font-size:12px;font-weight:750;letter-spacing:.08em}.action-info-card dl{display:grid;gap:0;margin:12px 0 0}.action-info-card dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07)}.action-info-card dl>div:last-child{padding-bottom:0;border-bottom:0}.action-info-card dt{color:var(--muted);font-size:10px}.action-info-card dd{margin:0;min-width:0;color:var(--text);font-size:12px;font-weight:650;text-align:right;overflow-wrap:anywhere}.action-more-note{margin:0 2px;color:#9db8aea6;font-size:10px;line-height:1.5;text-align:center}@media(max-width:360px){.monkey-action-layer{padding:max(8px,env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom))}.action-panel-header{padding:15px 14px 12px}.action-panel-body{padding:14px 14px calc(18px + env(safe-area-inset-bottom))}.action-hero{padding:15px}.action-hero-no{font-size:23px}.action-grid{gap:8px}.action-tile{min-height:122px;padding:11px}}@media(prefers-reduced-motion:reduce){.monkey-card[role=button]:active,.action-tile,.action-detail-button{transition:none}}.action-form-hint,.action-form-error,.action-locked{margin:0;padding:10px 12px;border-radius:12px;font-size:10px;line-height:1.5}.action-form-hint{color:var(--muted);background:#ffffff09}.action-form-error{color:#fecaca;border:1px solid rgba(248,113,113,.25);background:#f871711a}.action-locked{color:#fde68a;border:1px solid rgba(251,191,36,.22);background:#fbbf2414}.action-tile:disabled,.action-death-button:disabled{opacity:.42;pointer-events:none}.action-death-button{width:100%;display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid rgba(248,113,113,.24);border-radius:16px;color:var(--text);background:radial-gradient(circle at 100% 0%,rgba(248,113,113,.14),transparent 55%),linear-gradient(155deg,#ffffff0f,#ffffff05);text-align:left}.action-death-button .action-tile-icon{color:var(--danger);background:#f871711f}.action-death-button>span:nth-child(2){min-width:0;flex:1;display:grid;gap:3px}.action-death-button strong{font-size:12px}.action-death-button small{color:var(--muted);font-size:9px}.action-death-button em{color:var(--danger);font-size:9px;font-style:normal;font-weight:700}.action-form-title{margin:0;color:var(--text);font-size:17px;font-weight:750}.action-form-field{display:grid;gap:6px;color:var(--muted);font-size:10px;font-weight:650}.action-input,.action-textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:10px 11px;color:var(--text);background:#ffffff0e;font:inherit;font-size:12px;outline:none;color-scheme:dark}.action-input:focus,.action-textarea:focus{border-color:#6ee7b78c;box-shadow:0 0 0 3px #34d3991a}.action-dose-control{display:flex;align-items:center;gap:8px;width:100%;min-width:0;box-sizing:border-box;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:0 11px;background:#ffffff0e;color-scheme:dark;transition:border-color .15s ease,box-shadow .15s ease}.action-dose-control:focus-within{border-color:#6ee7b78c;box-shadow:0 0 0 3px #34d3991a}.action-dose-input{flex:1 1 auto;width:0;min-width:0;border:0;padding:10px 0;color:var(--text);background:transparent;font:inherit;font-size:12px;outline:none;color-scheme:dark}.action-dose-unit{flex:0 1 auto;max-width:62%;overflow:hidden;padding-left:8px;border-left:1px solid rgba(110,231,183,.28);color:#a7f3d0;font-size:11px;font-weight:750;line-height:1;text-overflow:ellipsis;white-space:nowrap}.action-textarea{min-height:84px;resize:vertical;line-height:1.5}.action-form-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.action-submit,.action-secondary{width:100%;min-height:42px;border-radius:13px;font-size:12px;font-weight:700}.action-submit{border:1px solid rgba(110,231,183,.38);color:#052e22;background:linear-gradient(135deg,#6ee7b7,#34d399)}.action-submit:disabled{opacity:.45}.action-submit.danger{border-color:#f8717161;color:#fff;background:linear-gradient(135deg,#ef4444,#b91c1c)}.action-secondary{border:1px solid rgba(255,255,255,.13);color:var(--text);background:#ffffff0f}.action-secondary:disabled{opacity:.4}.action-cause-card,.action-current-treatment{display:grid;gap:5px;padding:13px;border:1px solid rgba(52,211,153,.22);border-radius:15px;background:#34d39914}.action-current-treatment{border-color:#fbbf2438;background:#fbbf2414}.action-cause-card span,.action-current-treatment span{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em}.action-cause-card strong,.action-current-treatment strong{color:var(--text);font-size:13px}.action-cause-card small{color:var(--muted);font-size:9px}.action-infant-card{display:grid;gap:9px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:#ffffff09}.action-infant-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.action-infant-head strong{color:var(--text);font-size:12px;font-weight:750}.action-infant-remove{border:0;padding:2px 4px;color:#fca5a5;background:transparent;font:inherit;font-size:11px;font-weight:650;cursor:pointer}.action-wean-add{min-height:38px}.action-wean-result{display:grid;gap:6px}.action-med-form{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr);gap:9px}.action-subheading{margin:14px 0 4px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.08em}.action-timeline-row{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.07)}.action-timeline-row:last-child{border-bottom:0;padding-bottom:0}.action-timeline-row strong{color:var(--text);font-size:11px;font-weight:650}.action-timeline-row span{color:var(--muted);font-size:9px;line-height:1.45;overflow-wrap:anywhere}.danger-text{color:#fca5a5}@media(max-width:360px){.action-med-form,.action-form-actions{grid-template-columns:1fr}.action-form-title{font-size:15px}}.action-health-record{display:grid;gap:4px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.07)}.action-health-record:last-of-type{border-bottom:0}.action-health-record strong{color:var(--text);font-size:11px;font-weight:650}.action-health-record>span{color:var(--muted);font-size:9px;line-height:1.45}.action-med-inline{padding-left:8px;border-left:1px solid rgba(52,211,153,.24);color:#9db8aed9!important}.action-more-button{width:100%;margin-top:10px;padding:9px 10px;border:1px solid rgba(110,231,183,.18);border-radius:11px;color:var(--mint);background:#34d3990f;font-size:10px;font-weight:650}.action-more-button:active{transform:scale(.99)}.search-select-trigger{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;padding:10px 11px;border:1px solid rgba(255,255,255,.12);border-radius:12px;color:var(--text);background:#ffffff0e;font:inherit;font-size:12px;text-align:left;-webkit-tap-highlight-color:transparent}.search-select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-select-trigger.placeholder{color:#9db8aeb8}.search-select-trigger.open,.search-select-trigger:focus-visible{border-color:#6ee7b78c;box-shadow:0 0 0 3px #34d3991a;outline:none}.search-select-trigger:disabled{opacity:.45}.search-select-trigger svg{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.search-select-layer{position:fixed;z-index:200;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:12px 12px calc(12px + env(safe-area-inset-bottom));background:#020a0994;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.search-select-sheet{width:min(100%,520px);max-height:70vh;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:22px;background:radial-gradient(circle at 18% 0%,rgba(52,211,153,.14),transparent 38%),linear-gradient(155deg,#091e19f7,#030c0afa);box-shadow:0 24px 70px #00000094,inset 0 1px #ffffff14;animation:search-select-in .22s cubic-bezier(.2,.85,.2,1)}@keyframes search-select-in{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}.search-select-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px 10px}.search-select-header strong{color:var(--text);font-size:14px;font-weight:750}.search-select-close{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:11px;color:var(--text);background:#ffffff0f}.search-select-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.search-select-search{display:flex;align-items:center;gap:8px;margin:0 14px 8px;padding:9px 11px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#ffffff0e}.search-select-search:focus-within{border-color:#6ee7b78c;box-shadow:0 0 0 3px #34d3991a}.search-select-search svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.search-select-search input{width:100%;min-width:0;border:0;padding:0;color:var(--text);background:transparent;font:inherit;font-size:14px;outline:none}.search-select-search input::placeholder{color:#9db8ae9e}.search-select-options{overflow-y:auto;padding:6px 10px calc(14px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.search-select-option{width:100%;display:flex;align-items:center;gap:10px;padding:11px 10px;border:0;border-radius:10px;color:var(--text);background:transparent;text-align:left;font:inherit}.search-select-option:active{background:#ffffff0e}.search-select-option.selected{background:#34d3991a}.search-select-option.disabled{opacity:.42}.search-select-copy{min-width:0;flex:1;display:grid;gap:3px}.search-select-copy strong{overflow:hidden;color:var(--text);font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.search-select-copy small{color:var(--muted);font-size:9px;line-height:1.4}.search-select-check{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:var(--mint);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.search-select-empty{margin:0;padding:24px 12px;color:var(--muted);font-size:10px;text-align:center}@media(prefers-reduced-motion:reduce){.search-select-sheet{animation:none}}
