.hm-wrap{padding-bottom:92px}.hm-first{margin:10px 0;padding:28px 22px;border-radius:26px;background:linear-gradient(145deg,#3b2b1d,#745035);color:#fff;text-align:center;box-shadow:0 20px 45px rgba(54,39,24,.2)}.hm-first>span{font-size:58px}.hm-first small{display:block;color:#e7c985;font-weight:900;letter-spacing:.12em;margin-top:8px}.hm-first h1{font-size:29px;line-height:1.08;margin:12px 0}.hm-first p{font-size:13px;line-height:1.6;color:rgba(255,255,255,.82)}.hm-first .btn{margin:12px 0}.hm-first>div{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.hm-first>div b{font-size:9px;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.1)}.hm-hero{display:flex;justify-content:space-between;gap:15px;align-items:flex-end;padding:21px;border-radius:24px;background:linear-gradient(145deg,#4b3826,#755336);color:#fff}.hm-back{display:block;border:0;background:rgba(255,255,255,.1);color:#fff;padding:7px 9px;border-radius:10px;font-size:9px;font-weight:800;margin-bottom:14px}.hm-hero small{color:#e9cd8b;font-size:8px;font-weight:900;letter-spacing:.12em}.hm-hero h1{font-size:27px;margin:5px 0}.hm-hero p{font-size:11px;color:rgba(255,255,255,.75);margin:0}.hm-hero-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.hm-hero-actions button,.hm-title button,.hm-title>div+div button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.11);color:#fff;border-radius:10px;padding:8px 10px;font-size:9px;font-weight:800}.hm-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.hm-kpis>div{background:#fff;border:1px solid #ece9e4;border-radius:15px;padding:11px;text-align:center}.hm-kpis span{font-size:20px;display:block}.hm-kpis b{font-size:15px;display:block;color:#3e3023;margin:5px 0 2px}.hm-kpis small{font-size:8px;color:#7b756e}.hm-balance{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dedbd5;border:1px solid #dedbd5;border-radius:17px;overflow:hidden;margin-bottom:12px}.hm-balance>div{background:#faf9f6;padding:12px}.hm-balance small{display:block;font-size:7px;font-weight:900;color:#8e867b;letter-spacing:.06em}.hm-balance b{font-size:13px;color:#315e45}.hm-balance.negative>div:first-child b{color:#9c3a31}.hm-balance>p{grid-column:1/-1;background:#faf9f6;margin:0;padding:7px 12px;font-size:8px;color:#8e867b}.hm-assistant{border:1px solid #e1d8c9;border-radius:21px;background:linear-gradient(180deg,#fff,#fbf8f2);padding:16px;margin-bottom:12px}.hm-assistant-head{display:flex;gap:11px;align-items:center}.hm-c{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#163f2e;color:#e1bd62;font-size:18px;font-weight:900}.hm-assistant-head small{font-size:8px;color:#a47c24;font-weight:900;letter-spacing:.08em}.hm-assistant-head h2{font-size:17px;margin:2px 0;color:#2b352f}.hm-assistant-head p{font-size:10px;color:#72766f;margin:0}.hm-assistant-input{display:grid;grid-template-columns:1fr 42px auto;gap:6px;margin-top:12px}.hm-assistant-input textarea{min-height:58px;border:1px solid #dedfd8;border-radius:13px;padding:10px;resize:vertical;font:inherit;font-size:11px}.hm-assistant-input button{border:0;border-radius:12px;background:#163f2e;color:#fff;font-size:10px;font-weight:800;padding:0 12px}.hm-assistant-input #hmVoice{font-size:17px;padding:0}.hm-example{display:flex;gap:5px;overflow:auto;padding-top:7px}.hm-example button{white-space:nowrap;border:1px solid #ddd8cd;background:#fff;border-radius:999px;padding:6px 8px;font-size:8px;color:#6c604b}.hm-ai-loading,.hm-ai-question,.hm-ai-draft,.hm-ai-error{margin-top:10px;padding:12px;border-radius:13px;background:#f3f5f1;font-size:10px;color:#566057}.hm-ai-loading span{display:inline-block;width:5px;height:5px;background:#a7852c;border-radius:50%;margin-right:3px}.hm-ai-question b,.hm-ai-draft span{color:#8b6c20;font-weight:900}.hm-ai-draft h3{font-size:12px;line-height:1.45;color:#243c31}.hm-ai-draft>div{display:flex;gap:6px}.hm-ai-draft .btn{font-size:9px;padding:8px 10px}.hm-quick,.hm-panel{background:#fff;border:1px solid #e8e9e4;border-radius:20px;padding:15px;margin-bottom:12px}.hm-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px}.hm-title small{font-size:8px;font-weight:900;color:#a47b25;letter-spacing:.09em}.hm-title h2{font-size:17px;color:#253a31;margin:2px 0}.hm-title>button,.hm-title>div+div button{color:#315443;background:#f5f7f4;border-color:#e3e8e4}.hm-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.hm-quick-grid button{border:1px solid #e7e8e2;background:#fafbf9;border-radius:14px;padding:11px 5px;min-height:78px}.hm-quick-grid span{font-size:22px;display:block;margin-bottom:6px}.hm-quick-grid b{font-size:9px;color:#35473f}.hm-tabs{position:sticky;top:4px;z-index:4;display:grid;grid-template-columns:repeat(5,1fr);gap:5px;background:rgba(248,250,248,.94);backdrop-filter:blur(10px);padding:7px;border-radius:16px;margin:12px 0}.hm-tabs button{border:0;border-radius:11px;background:transparent;padding:7px 3px;color:#7b827d}.hm-tabs button span{display:block;font-size:17px}.hm-tabs button small{font-size:7px;font-weight:800}.hm-tabs button.active{background:#163f2e;color:#fff}.hm-fin-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:11px}.hm-fin-summary>div{background:#f7f8f6;border-radius:12px;padding:10px}.hm-fin-summary small{display:block;font-size:8px;color:#81877f}.hm-fin-summary b{font-size:13px;color:#315645}.hm-ledger,.hm-history,.hm-animal-list,.hm-stock-list{display:grid;gap:6px}.hm-ledger>div,.hm-stock-list>div,.hm-animal-list>button{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;border:1px solid #e8ebe8;background:#fff;border-radius:12px;padding:10px;text-align:left}.hm-ledger>div>span{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#f9ecea;color:#a23d34}.hm-ledger>div.revenue>span{background:#e9f5e9;color:#39713c}.hm-ledger b,.hm-stock-list b,.hm-animal-list b{font-size:10px;color:#2f4038}.hm-ledger small,.hm-stock-list small,.hm-animal-list small{display:block;font-size:8px;color:#858b87;margin-top:2px}.hm-ledger strong{font-size:10px;color:#a23d34}.hm-ledger .revenue strong{color:#37743b}.hm-stock-list>div>span,.hm-animal-list>button>span{font-size:20px}.hm-stock-list strong,.hm-animal-list em{font-style:normal;font-size:10px;color:#577063}.hm-search{display:flex;align-items:center;gap:7px;border:1px solid #e3e7e4;border-radius:12px;padding:0 9px;margin-bottom:9px}.hm-search input{border:0;outline:0;width:100%;padding:10px 0;font-size:10px}.hm-history>div{display:grid;grid-template-columns:80px 1fr;gap:3px 10px;border-left:3px solid #dfc274;padding:8px 10px;background:#fafaf8;border-radius:0 11px 11px 0}.hm-history span{font-size:8px;color:#8a8f8c}.hm-history b{font-size:10px;color:#35463f}.hm-history small{grid-column:2;font-size:8px;color:#868b87}.hm-note,.hm-backup{padding:11px;border-radius:13px;background:#f7f6f1;margin-top:10px}.hm-note b{font-size:10px}.hm-note p,.hm-backup small{display:block;font-size:8px;color:#79766d;line-height:1.45}.hm-backup{display:flex;gap:7px;flex-wrap:wrap}.hm-backup button,.hm-backup label{border:1px solid #ddd9ce;background:#fff;border-radius:10px;padding:8px 10px;font-size:8px;font-weight:800;color:#516056}.hm-backup small{width:100%}.hm-empty{padding:26px 15px;text-align:center;color:#8a8f8c;font-size:10px;border:1px dashed #daddd9;border-radius:13px}.hm-form{display:grid;gap:10px}.hm-form label{font-size:9px;font-weight:800;color:#59645e}.hm-form input,.hm-form select,.hm-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #dde2de;border-radius:11px;padding:10px;background:#fff;font:inherit;font-size:11px;color:#263b31}.hm-form textarea{min-height:72px}.hm-inline-field{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:end}.hm-inline-field button{height:36px;border:1px solid #d9dfda;background:#f6f8f5;color:#315443;border-radius:10px;padding:0 9px;font-size:8px;font-weight:800}.hm-local-note{display:flex;gap:9px;align-items:flex-start;padding:10px 12px;margin:-2px 0 12px;border-radius:13px;background:#f6f4ed;border:1px solid #e5decd}.hm-local-note>span{font-size:16px}.hm-local-note b{display:block;font-size:9px;color:#4d4738}.hm-local-note small{display:block;font-size:8px;line-height:1.45;color:#7a7467;margin-top:2px}.hm-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.hm-form details{border:1px solid #e4e6e1;border-radius:13px;padding:10px}.hm-form summary{font-size:10px;font-weight:900;color:#315443;cursor:pointer}.hm-audio-tip{display:flex;gap:9px;align-items:flex-start;padding:10px;border-radius:13px;background:#f6f4ed}.hm-audio-tip button{width:34px;height:34px;border:0;border-radius:10px;background:#163f2e;color:#fff}.hm-audio-tip p{font-size:9px;color:#6f6b60;line-height:1.5;margin:0}.hm-confirm-overlay{position:fixed;inset:0;z-index:8;background:rgba(20,30,25,.42);backdrop-filter:blur(3px);display:grid;place-items:center;padding:18px;overflow:auto}.hm-confirm-overlay .hm-confirm{width:min(460px,100%);background:#fff;border-radius:20px;padding:20px;box-shadow:0 24px 60px rgba(0,0,0,.2)}.hm-confirm{text-align:center}.hm-confirm>span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#a47b25}.hm-confirm h2{font-size:21px;color:#244033}.hm-confirm>div:nth-of-type(1){padding:14px;border-radius:13px;background:#f7f8f5;font-size:11px;line-height:1.6}.hm-read{margin:10px 0;border:0;background:transparent;color:#315e45;font-size:9px;font-weight:800}.hm-confirm-actions{display:grid;gap:6px}.hm-cancel{border:0;background:transparent;color:#887f74;padding:8px;font-size:9px}.hm-confirm>small{display:block;margin-top:8px;color:#92968f;font-size:8px}.hm-animal-id{display:flex;gap:12px;align-items:center}.hm-animal-id>span{font-size:42px}.hm-animal-id small{font-size:7px;color:#9e7b2d;font-weight:900}.hm-animal-id h2{margin:2px 0;font-size:22px;color:#264236}.hm-animal-id p{margin:0;font-size:9px;color:#7c837f}.hm-sheet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0}.hm-sheet-grid>div{padding:9px;background:#f6f8f5;border-radius:11px}.hm-sheet-grid small{display:block;font-size:7px;color:#858b87}.hm-sheet-grid b{font-size:9px;color:#34473e}.hm-sheet-actions{display:flex;gap:6px;flex-wrap:wrap}.hm-sheet-actions button{border:1px solid #e1e5e1;background:#fff;border-radius:10px;padding:8px 9px;font-size:8px;font-weight:800;color:#385548}.hm-animal-sheet h3{font-size:12px;color:#31493f;margin-top:16px}@media(max-width:600px){.hm-hero{align-items:flex-start;flex-direction:column}.hm-kpis{grid-template-columns:repeat(2,1fr)}.hm-balance{grid-template-columns:repeat(2,1fr)}.hm-assistant-input{grid-template-columns:1fr 42px}.hm-assistant-input #hmAssistantSend{grid-column:1/-1;padding:11px}.hm-quick-grid{grid-template-columns:repeat(4,1fr)}.hm-grid{grid-template-columns:1fr}.hm-sheet-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:800px){.hm-wrap{max-width:1100px;margin:auto}.hm-quick-grid{grid-template-columns:repeat(8,1fr)}.hm-panel{padding:20px}.hm-assistant{padding:20px}}.hm-cloud{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;border-radius:16px;margin:0 0 12px;background:#eef6f0;border:1px solid #d7e8dc}.hm-cloud>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff;font-size:19px;box-shadow:0 5px 16px rgba(20,62,44,.08)}.hm-cloud>div{flex:1;min-width:0}.hm-cloud small{display:block;font-size:7px;letter-spacing:.1em;font-weight:900;color:#4d7a63}.hm-cloud b{display:block;margin:2px 0;font-size:11px;color:#254a38}.hm-cloud p{margin:3px 0 0;font-size:8px;line-height:1.5;color:#698077}.hm-cloud button{margin-top:7px;border:0;border-radius:9px;background:#163f2e;color:#fff;padding:8px 10px;font-size:8px;font-weight:850}.hm-cloud-actions{display:flex;gap:6px;flex-wrap:wrap}.hm-cloud-actions button+button{background:#fff;color:#365448;border:1px solid #d7e0db}.hm-cloud.offline,.hm-cloud.pending,.hm-cloud.error{background:#f7f4ea;border-color:#e8dfc5}.hm-cloud.offline small,.hm-cloud.pending small,.hm-cloud.error small{color:#927328}.hm-cloud.conflict{background:#fff2ed;border-color:#efcec0}.hm-cloud.conflict small{color:#a24c32}.hm-cloud.conflict b{color:#713523}.hm-cloud.syncing>span{animation:hm-spin 1.1s linear infinite}@keyframes hm-spin{to{transform:rotate(360deg)}}.hm-share-menu{display:grid;gap:8px}.hm-share-menu>button{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;text-align:left;border:1px solid #e3e8e4;background:#fff;border-radius:14px;padding:11px;color:#294438}.hm-share-menu>button>span{font-size:22px}.hm-share-menu>button b{display:block;font-size:10px}.hm-share-menu>button small{display:block;font-size:8px;line-height:1.4;color:#7b847f;margin-top:2px}.hm-share-preview small{display:block;font-size:8px;font-weight:900;letter-spacing:.1em;color:#a47b25}.hm-share-preview h2{font-size:20px;color:#244033;margin:4px 0 6px}.hm-share-preview>p{font-size:9px;line-height:1.5;color:#6f7974}.hm-share-preview pre{white-space:pre-wrap;word-break:break-word;background:#f6f8f5;border:1px solid #e1e6e2;border-radius:14px;padding:12px;max-height:45vh;overflow:auto;font:inherit;font-size:10px;line-height:1.55;color:#31463c}.hm-share-preview .btn{width:100%;margin-top:9px}.hm-share-preview .hm-cancel{width:100%;margin-top:4px}