.health-book,.history-hub{max-width:720px;margin:0 auto;color:#163b5a;min-width:0}.health-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 22px}.health-heading h1{font-size:25px;line-height:1.4;margin:0}.health-heading h2{font-size:20px;margin:0}.health-heading p{font-size:12px;line-height:1.7;color:#6a8091;margin:7px 0 0}.health-primary,.health-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:11px 16px;font-size:13px;min-height:44px;font-weight:bold;border:1px solid #d7e5ef;color:#214b6b;background:white}.health-primary{background:#153d63;border-color:#153d63;color:white}.health-primary.icon{width:46px;min-width:46px;padding:10px}.health-section{background:white;border:1px solid #dce7ef;border-radius:18px;padding:22px;margin:18px 0}.health-section h2{font-size:19px;line-height:1.5;margin:0 0 16px}.health-section form{margin-top:18px}.health-section label{font-size:14px}.health-section small{font-size:11px;line-height:1.7;color:#6a8091}.health-section input,.health-section select,.health-section textarea{font-size:16px;min-width:0;max-width:100%}.health-section textarea{min-height:100px}.health-section form>.health-primary{width:100%}.health-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:white;color:#163b5a;padding:16px 0;border-bottom:1px solid #e6eef4;min-width:0}.health-row:last-child{border-bottom:0}.health-row-icon,.history-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;background:#edf5fb;color:#267ca9}.health-row-icon.due{background:#fff3db;color:#9d7426}.health-row-main,.history-row-main{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.health-row-main strong{font-size:16px;overflow-wrap:anywhere}.health-row-main>small{font-size:12px;color:#6a8091}.health-source{font-size:10px!important;padding:3px 8px;border-radius:20px;background:#edf2f7;color:#647c90;align-self:flex-start;line-height:1.5}.health-source.veterinarian,.health-source.hospital{background:#e6f5ee;color:#2e795b}.health-source.owner{background:#fff3df;color:#957326}.health-pet-filter{font-size:12px;margin:0 0 18px}.health-pet-filter select{font-size:16px}.health-footnote{font-size:12px!important;line-height:1.8;color:#6a8091;margin:14px 0}.health-due-item{padding-bottom:12px;border-bottom:1px solid #edf2f7}.health-due-item:last-child{border:0}.health-due-item .health-row{border:0;padding-bottom:8px}.health-due-item>small{display:block;padding-left:54px}.health-overdue{color:#ad5260!important}.health-due-text{color:#927338!important}.health-empty{padding:30px 12px;text-align:center;color:#657e91;line-height:1.8}.health-empty p{font-size:12px;margin:10px 0 18px}.health-back{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#267fac;padding:0;margin:0 0 20px;font-size:13px;min-height:30px}.health-detail{display:grid;gap:16px;margin:22px 0}.health-detail dt{font-size:12px;color:#6a8091}.health-detail dd{margin:5px 0 0;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.health-detail small{display:block}.health-extra{border:1px solid #e0e9f0;border-radius:12px;padding:14px;margin:18px 0}.health-extra summary{cursor:pointer;font-size:13px;color:#315c7d}.health-extra>label{margin-top:15px}.health-extra p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;line-height:1.8}.health-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.health-photo-grid img{width:100%;height:170px;object-fit:contain;background:#f3f8fb;border:1px solid #dde8ef;border-radius:12px}.health-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.health-actions>button{flex:1}.health-text-danger,.health-text-button{border:0;background:transparent;color:#a24b58;font-size:12px;padding:10px 0;min-height:40px}.health-text-button{color:#287bad}.health-icon-button{border:0;background:transparent;color:#294d6a;width:40px;height:40px;display:grid;place-items:center}.history-tabs{display:flex;gap:0;border-bottom:1px solid #d9e6ef;margin-bottom:18px}.history-tabs button{flex:1;background:transparent;border:0;border-bottom:3px solid transparent;color:#6b8296;font-size:14px;padding:13px 8px}.history-tabs button.active{border-bottom-color:#1a79b3;color:#153d63;font-weight:bold}.history-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0}.history-filter-bar>span{font-size:12px;color:#6a8091}.history-list{border:1px solid #dce7ef;border-radius:18px;background:white;padding:0 18px}.history-row{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:0;border-bottom:1px solid #e5edf4;background:white;padding:18px 0;color:#163b5a}.history-row:last-child{border:0}.history-row-main strong{font-size:16px}.history-row-main>span:not(.health-source){font-size:13px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.history-row-main>small{color:#6a8091;font-size:11px}.history-icon.vaccine{background:#e5f4ed;color:#348167}.history-icon.hospital,.history-icon.treatment{background:#f0eafb;color:#7c5ba6}.history-more{display:flex;width:100%;margin:18px 0}.health-loading{text-align:center;color:#6a8091;font-size:13px;margin:20px}.health-filter-sheet{border:1px solid #dce7ef;border-radius:20px;padding:24px;width:calc(100% - 32px);max-width:440px;max-height:90dvh;overflow:auto;color:#163b5a}.health-filter-sheet::backdrop{background:#14344e70}.health-filter-sheet form>.health-primary{width:100%}.health-filter-sheet label{font-size:13px}.health-filter-sheet input,.health-filter-sheet select{font-size:16px}.health-book button:focus-visible,.history-hub button:focus-visible{outline:3px solid #54abe0;outline-offset:3px}@media(max-width:650px){.health-heading h1{font-size:23px}.health-section{padding:18px 16px;border-radius:16px}.health-row-main strong{font-size:15px}.history-list{padding:0 14px}.history-row{gap:10px}.health-filter-sheet{margin:auto 0 0;width:100%;max-width:none;border-radius:22px 22px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom));max-height:90dvh}.health-actions>button{min-width:130px}.health-photo-grid img{height:145px}}
