:root{--brand:#00625c;--brand-hover:#004d48;--brand-accent:#15c6a6;--brand-soft:#e6f6f2;--brand-focus:#15c6a64d;}
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
*{box-sizing:border-box}body{margin:0;background:#fafcfb;color:#12383e;font-family:'DM Sans',sans-serif;display:grid;grid-template-columns:44% 56%;min-height:100dvh}aside{background:#08373c;color:white;padding:42px 12%;position:relative;overflow:hidden;display:flex;flex-direction:column}aside:after{content:'';position:absolute;width:600px;height:600px;border:1px solid #ffffff0b;border-radius:50%;left:-170px;top:190px;box-shadow:0 0 0 60px #ffffff03,0 0 0 120px #ffffff03;pointer-events:none}.brand{color:inherit;text-decoration:none;font-size:34px;font-weight:800;display:flex;gap:10px;align-items:center}.brand:first-letter{color:#16c3a3}.brand span{font-size:25px;letter-spacing:-1px}.story{margin:auto 0;position:relative;z-index:1;padding:65px 0}.eyebrow{font-size:10px;letter-spacing:2px;color:#78dbc8;font-weight:700}h1{font:700 clamp(30px,3.3vw,50px)/1.23 Manrope,sans-serif;letter-spacing:-1.8px;margin:24px 0}aside p{color:#b9d1d2;line-height:1.8;font-size:15px;max-width:340px}.pet-art{font-size:90px;white-space:nowrap;margin:35px 0;filter:saturate(.75)}.pet-art span{font-size:45px;color:#22c7a5;vertical-align:top}.sample{display:flex;gap:15px;align-items:center;background:#ffffff0b;border:1px solid #ffffff13;border-radius:15px;padding:18px}.sample strong{font-size:12px}.sample small{display:block;font-size:11px;color:#adc9c9;margin-top:7px}.paw{background:#ffffff14;border-radius:12px;padding:10px}footer{font-size:11px;color:#90b3b5}main{padding:40px 8%;display:flex;flex-direction:column}header{display:flex;justify-content:space-between;font-size:11px;color:#799090;gap:12px}.secure{color:#4c7770}#app{width:100%;max-width:410px;margin:auto; padding:52px 0}.step{font-size:11px;font-weight:700;color:var(--brand);letter-spacing:1.2px;text-transform:uppercase}.progress{display:flex;gap:6px;margin:15px 0 32px}.progress i{height:3px;background:#e2ece8;flex:1;border-radius:3px}.progress i.on{background:var(--brand-accent)}h2{font:800 30px/1.3 Manrope,sans-serif;letter-spacing:-1px;margin:10px 0}p.sub{font-size:14px;color:#718386;line-height:1.7;margin:10px 0 30px}label{font-size:12px;font-weight:700;display:block;margin:21px 0 9px}input{width:100%;border:1px solid #d9e3df;background:white;padding:15px;border-radius:9px;font:14px 'DM Sans',sans-serif;color:#12383e;outline:none}input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-focus)}input::placeholder{color:#a0adad}.password{position:relative}.password input{padding-right:66px}.password button{position:absolute;right:10px;top:11px;background:none;border:0;color:#54817b;font-size:11px;padding:6px;cursor:pointer}.hint{font-size:11px;color:#7b8d8d;line-height:1.6;margin:8px 0}.primary,.secondary{width:100%;padding:15px 20px;border-radius:9px;font:700 14px 'DM Sans',sans-serif;cursor:pointer;margin-top:26px;border:0;background:var(--brand);color:white;transition:.2s}.primary:hover{background:var(--brand-hover);transform:translateY(-1px)}button:disabled{opacity:.55;cursor:wait;transform:none}.secondary{background:white;color:var(--brand);border:1px solid var(--brand);margin-top:10px}.bottom{text-align:center;font-size:12px;color:#81918f;margin:25px 0 0}.link{border:0;background:none;color:var(--brand);text-decoration:underline;font:inherit;cursor:pointer;padding:0 3px}.main-foot{text-align:center;color:#a2aeaa}.notice{background:#e9f7f2;color:#146c59;padding:14px;border-radius:9px;font-size:13px;line-height:1.6;margin:20px 0}.error{background:#fff0ee;color:#a33d32}#status:empty{display:none}.pet-icon{width:76px;height:76px;background:#e3f5ed;border:1px dashed #9bcebb;border-radius:24px;display:grid;place-items:center;font-size:35px;margin:25px 0}.petcard{display:flex;align-items:center;gap:16px;border:1px solid #dce7e2;background:white;border-radius:16px;padding:20px;margin:20px 0}.petcard .pet-icon{margin:0;width:55px;height:55px;font-size:25px}.petcard h3{margin:0 0 5px;font:800 18px Manrope}.petcard p{margin:0;color:#83918c;font-size:12px}.empty{border:1px dashed #ccdfd5;border-radius:14px;padding:24px;text-align:center;font-size:13px;color:#7a8b83;line-height:1.7}.success{font-size:40px;color:#03ab8d;margin-bottom:20px}.topline{display:flex;justify-content:space-between;align-items:center;gap:15px}.account{font-size:11px;color:#7b8d88;overflow-wrap:anywhere}@media(max-width:850px){body{grid-template-columns:36% 64%}aside{padding:30px 10%}.pet-art{font-size:55px}.sample{display:none}main{padding:30px 9%}h1{font-size:31px}.eyebrow{font-size:9px}}@media(max-width:620px){body{display:block}aside{padding:20px 25px;background:#08373c}.brand span{font-size:22px}.brand{font-size:27px}.story,aside footer{display:none}main{min-height:calc(100dvh - 75px);padding:22px 26px}header{font-size:10px}#app{padding:35px 0;max-width:420px}h2{font-size:28px}.main-foot{padding:20px 0}.progress{margin-bottom:26px}}

.logo-window{display:block;width:220px;height:90px;position:relative;overflow:hidden;background:white;border-radius:12px}.logo-window img{position:absolute;width:310px;max-width:none;left:-46px;top:-113px} @media(max-width:620px){.logo-window{width:170px;height:65px}.logo-window img{width:245px;left:-37px;top:-91px}}.profile-mode{grid-template-columns:30% 70%}.profile-mode aside{padding:32px 12%;position:sticky;top:0;max-height:100dvh;min-height:100dvh}.profile-mode .story h1{font-size:34px}.profile-mode .pet-art{font-size:65px}.profile-mode .sample{display:none}.profile-mode #app{max-width:760px;margin:35px auto;padding:16px 0 40px}.profile-mode main{padding:34px 7%}.pet-link{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer;transition:.2s}.pet-link:hover{border-color:var(--brand);box-shadow:0 4px 20px #073b3509}.pet-card-copy{display:flex;flex-direction:column;gap:8px;min-width:0}.pet-card-copy strong{font:800 20px Manrope;overflow-wrap:anywhere}.pet-card-copy>span{font-size:12px;color:#83918c}.chevron{margin-left:auto;color:var(--brand);font-size:21px}.pet-header{display:flex;gap:25px;align-items:center;margin:36px 0 30px}.avatar{width:100px;height:100px;flex-shrink:0;background:#e4f4ed;border-radius:29px;overflow:hidden;display:grid;place-items:center;font-size:40px}.avatar img{width:100%;height:100%;object-fit:cover}.pet-header h2{font-size:36px;overflow-wrap:anywhere}.pet-birth{font-size:13px;color:#6e8580;margin:6px 0}.profile-tabs{display:flex;gap:26px;border-bottom:1px solid #d9e6e0;margin-bottom:28px}.profile-tabs button{background:none;border:none;border-bottom:3px solid transparent;padding:14px 2px;font:700 14px 'DM Sans';color:#738b83;cursor:pointer}.profile-tabs button[aria-current=page]{color:var(--brand);border-color:var(--brand-accent)}.profile-tabs span{display:inline-block;background:#eaf2ed;padding:2px 8px;border-radius:6px;font-size:11px;margin-left:6px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0 24px}h3{font:800 18px Manrope;margin:0;overflow-wrap:anywhere}.section-title p{font-size:12px;color:#82918a;line-height:1.6;margin:8px 0 0}.compact{width:auto;display:inline-block;font-size:12px;padding:12px 16px;white-space:nowrap;margin-top:0;text-decoration:none}.empty-profile{padding:36px 20px;background:#f3f8f5}.empty-icon{display:block;font-size:37px;color:#4b9f89;margin-bottom:18px}.empty-profile h3{font-size:17px;color:#335f50}.empty-profile p{font-size:12px}.empty-profile .secondary{background:white;margin-top:12px}.document-card{display:flex;width:100%;gap:16px;align-items:center;padding:20px;background:white;border:1px solid #dfe8e2;border-radius:12px;margin:12px 0;cursor:pointer;text-align:left;color:inherit}.document-card:hover{border-color:#49af99}.doc-icon{width:46px;height:50px;border-radius:10px;display:grid;place-items:center;background:#e6eaff;color:#6874be;font-size:11px;font-weight:700;flex-shrink:0}.doc-icon.vaccination{background:#ffe8ef;color:#b7517b}.doc-icon.imaging{background:#fff0ce;color:#9e7b2c}.doc-icon.prescription{background:#def7ed;color:#268770}.doc-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.doc-copy strong{font-size:14px;overflow-wrap:anywhere}.category-label{font-size:10px;color:#648479}.doc-copy small{font-size:11px;color:#8b9991}.privacy-note{font-size:11px;color:#8c9e94;line-height:1.7;text-align:center;margin:28px 0 0}select{width:100%;border:1px solid #d9e3df;background:white;padding:15px;border-radius:9px;font:14px 'DM Sans';color:#12383e}input[type=file]{font-size:12px;padding:12px;background:#fff;max-width:100%}input::file-selector-button{background:#e4f3ec;border:0;padding:10px;border-radius:6px;color:var(--brand);font:600 12px 'DM Sans';margin-right:12px;cursor:pointer}.upload-panel{background:#f1f7f3;border:1px dashed #b6d3c3;border-radius:14px;padding:20px;margin-bottom:24px}.upload-panel label{margin:0 0 12px}.upload-panel .primary{margin-top:12px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.photo-tile{border:1px solid #e1eae4;border-radius:12px;overflow:hidden;background:#edf5f0;padding:0;cursor:pointer;text-align:left;min-width:0}.photo-tile img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.photo-tile>span{display:block;padding:10px;font:11px 'DM Sans';overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6b8376;background:white}.selection:empty{display:none}.selection p{font-size:12px;overflow-wrap:anywhere;color:#547c69}.selection img{max-width:180px;max-height:140px;border-radius:10px;object-fit:contain}.form-step{display:block;margin-top:35px}.file-dialog{border:1px solid #d5e5dc;border-radius:18px;padding:0;width:min(900px,94vw);max-height:92dvh;color:#12383e;box-shadow:0 20px 80px #0003;background:#fafcfb}.file-dialog::backdrop{background:#072c35b8}.preview-top{display:flex;align-items:center;justify-content:space-between;padding:22px;border-bottom:1px solid #e0ebe4;gap:15px}.preview-top h3{font-size:18px}.preview-top p{font-size:12px;color:#6f8b7b}.close-preview{border:0;background:#eaf2ed;border-radius:50%;width:36px;height:36px;font-size:25px;color:#416e5b;cursor:pointer;flex-shrink:0}.preview-body{padding:20px;text-align:center;min-height:160px}.preview-body img{max-width:100%;max-height:60dvh;object-fit:contain;border-radius:7px}.preview-body iframe{width:100%;height:60dvh;border:0}.preview-bottom{padding:0 22px 22px;text-align:right}.profile-mode button:focus-visible,.file-dialog button:focus-visible,.file-dialog a:focus-visible{outline:3px solid var(--brand-accent);outline-offset:3px}
@media(max-width:1000px){.profile-mode{grid-template-columns:26% 74%}.profile-mode .story{display:none}.profile-mode .logo-window{width:150px;height:65px}.profile-mode .logo-window img{width:225px;left:-34px;top:-82px}.profile-mode .brand{max-width:100%}.profile-mode main{padding:30px 6%}}@media(max-width:700px){.profile-mode{display:block}.profile-mode aside{position:static;min-height:0;max-height:none;padding:15px 24px}.profile-mode aside footer{display:none}.profile-mode main{padding:22px 24px}.profile-mode #app{margin:16px auto;padding-top:5px}.pet-header{gap:18px;margin-top:30px}.pet-header h2{font-size:30px}.avatar{width:80px;height:80px;border-radius:22px}.section-title{align-items:flex-start;flex-wrap:wrap;gap:14px}.section-title .primary{width:100%}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-tabs{gap:24px}.profile-mode .main-foot{padding:10px 0}.preview-top{padding:16px}.petcard{padding:16px}.preview-body{padding:12px}}

.petcard .pet-icon{flex-shrink:0;overflow:hidden}.petcard .pet-icon img{width:100%;height:100%;object-fit:cover;display:block}
.lab-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:10px;color:#74867d;margin:20px 0}.lab-legend span:first-child{color:#338e4d}.lab-legend span:nth-child(2){color:#bd811c}.lab-legend span:nth-child(3){color:#7286c0}.lab-test{margin:30px 0}.lab-test>h3{padding-bottom:12px;border-bottom:1px solid #d2e1d8}.lab-parameter{border:1px solid #e0e9e3;background:#fff;border-radius:12px;margin:10px 0;padding:17px}.lab-value-row{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:14px}.lab-value-row>span{white-space:nowrap}.lab-value-row small{font-weight:400;color:#698a78}.lab-parameter .hint{margin:9px 0}.result-flag{font-size:11px}.result-flag.normal{color:#2d914a}.result-flag.outside{color:#b77a18}.result-flag.unknown{color:#697fba}details{font-size:11px;color:#6c8177;margin-top:13px}summary{cursor:pointer}.source-row{overflow-wrap:anywhere;line-height:1.7}.raw-data pre{max-height:300px;overflow:auto;white-space:pre-wrap;font-size:10px}.lab-edit-test{border-top:2px solid #cae0d2;margin:25px 0;padding-top:10px}.lab-edit-row{min-width:0;background:white;border:1px solid #d8e6dd;border-radius:12px;margin:20px 0;padding:16px}.lab-edit-row legend{font-size:12px;color:#547561}.lab-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.lab-edit-row label{margin-top:14px}.lab-edit-row input{font-size:13px;padding:12px;min-width:0}.check-label{display:flex;align-items:center;gap:10px;line-height:1.7}.check-label input{width:18px;height:18px;flex-shrink:0}.danger{color:#ad6254;margin:15px 10px}.lab-actions{margin:24px 0}@media(max-width:450px){.lab-value-row{align-items:flex-start;flex-direction:column;gap:8px}.lab-fields{grid-template-columns:1fr 1fr}.lab-edit-row{padding:12px}}
.brand .brand-logo{display:block;width:174px;height:auto;max-width:100%;object-fit:contain}.header-brand{display:flex;align-items:center}.header-brand img{display:block;width:100px;height:auto}main>header{align-items:center;min-height:40px}.document-item{border:1px solid #dfe8e2;border-radius:13px;background:#fff;overflow:hidden;margin:14px 0}.document-item .document-card{border:0;margin:0;border-radius:0}.document-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding:0 18px 16px;font-size:11px}.classification-label{color:#8c9d92;margin-right:auto}.document-controls .danger{margin:0}.doc-icon.descriptive{background:#fff0ce;color:#9e7b2c}.doc-icon.referral{background:#f1e8fa;color:#8864ac}.doc-icon.visit{background:#e4f2fa;color:#3e789b}.confirmation-dialog{max-width:480px;padding:28px}.confirmation-dialog p{overflow-wrap:anywhere}.dialog-actions{display:flex;gap:12px;align-items:center;margin-top:20px}.dialog-actions .primary,.dialog-actions .secondary{margin:0}.delete-button{background:#b1493d}.delete-button:hover{background:#9d382d}.dialog-status{font-size:12px;line-height:1.6;margin-top:16px}@media(max-width:700px){.brand .brand-logo{width:145px}main>header .header-brand{display:none}main>header{justify-content:flex-end;min-height:20px}.confirmation-dialog{padding:22px}.document-controls{gap:12px;font-size:11px}}
.document-list{display:grid;gap:22px}.document-item{border:0;border-radius:23px;margin:0;box-shadow:0 8px 18px #12392b0b;overflow:visible;background:#fff}.document-item .document-card{display:block;padding:23px 24px 15px;border-radius:23px;width:100%;transition:background .15s}.document-item .document-card:hover{background:#f8fcfa}.document-heading{display:grid;grid-template-columns:44px max-content minmax(0,1fr);gap:14px;align-items:center}.document-heading time{font-size:15px;font-weight:800;color:#143a35}.document-title{font-size:15px;line-height:1.5;overflow-wrap:anywhere;color:#26463f}.document-heading .doc-icon{width:44px;height:44px;border-radius:50%;background:#e4eaff;color:#5d7cde}.doc-icon svg{width:24px;height:24px}.document-heading .descriptive{background:#ffe9a1;color:#c39a05}.document-heading .medical{background:#ead9f5;color:#9b5bc4}.document-heading .visit{background:#ddf0e7;color:#438b6b}.document-heading .referral{background:#e9e0f8;color:#8d6ab4}.document-heading .prescription{background:#ddf5f0;color:#2d9b82}.document-heading .vaccination{background:#ffe0ed;color:#c16c93}.document-tests{padding-left:23px;margin:13px 0 0 5px;font-size:14px;line-height:1.9;color:#26463f}.document-controls{padding:0 24px 15px;gap:12px;justify-content:space-between;align-items:center}.classification-label{font-size:10px}.document-menu{position:relative;margin:0;font-size:11px}.document-menu>summary{list-style:none;color:#68877a;padding:7px 0}.document-menu>summary::-webkit-details-marker{display:none}.document-menu-items{display:flex;flex-direction:column;align-items:flex-start;gap:16px;position:absolute;right:0;top:100%;background:#fff;min-width:180px;padding:18px;border-radius:12px;border:1px solid #deebe3;box-shadow:0 8px 20px #12392b20;z-index:5}.document-menu-items .link{text-align:left;font-size:12px}.document-processing{display:block;margin-top:10px;color:#8b9476;font-size:11px}@media(max-width:700px){.document-list{gap:18px}.document-item{border-radius:20px}.document-item .document-card{padding:18px 18px 11px}.document-heading{grid-template-columns:38px max-content minmax(0,1fr);gap:10px}.document-heading .doc-icon{width:38px;height:38px}.doc-icon svg{width:22px;height:22px}.document-heading time{font-size:13px}.document-title{font-size:13px}.document-tests{font-size:13px;margin-top:10px;line-height:1.8}.document-controls{padding:0 18px 12px}.document-heading .document-title{min-width:0}}@media(max-width:380px){.document-heading{grid-template-columns:36px 1fr;gap:4px 10px}.document-heading .doc-icon{grid-row:span 2}.document-title{grid-column:2}}

/* Compact laboratory readings, including narrow phone screens. */
.lab-test{margin:22px 0}.lab-test>h3{font-size:15px;padding:0 0 9px}.lab-parameter{position:relative;margin:7px 0;padding:11px 12px;border:0;background:#fff;box-shadow:0 1px 4px #14392b08;border-radius:10px}.lab-parameter.has-source{padding-right:43px}.lab-compact-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(40px,max-content) minmax(28px,max-content);gap:8px;align-items:baseline;font-size:13px;line-height:1.45}.lab-name{font-weight:500;overflow-wrap:anywhere}.lab-name small{font-size:11px;font-weight:400;color:#698a78}.lab-number{display:flex;align-items:center;gap:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.lab-number b{font-size:13px;font-weight:700}.lab-unit{font-size:11px;overflow-wrap:anywhere;max-width:65px}.result-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 8px;background:#697fba}.result-dot.normal{background:#69b82d}.result-dot.outside{background:#e4a510}.result-dot.unknown{background:#6c84e2}.lab-reference{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;font-size:10px;color:#6e8580;line-height:1.5;margin:5px 0 0}.lab-reference>span:first-child{font-weight:600;font-variant-numeric:tabular-nums}.review-tag{font-size:9px;font-weight:500;color:#657bbb;background:#edf0ff;border-radius:4px;padding:0 4px;margin-left:auto}.lab-source{margin:0;font-size:11px}.lab-source summary{position:absolute;right:6px;top:7px;display:grid;place-items:center;list-style:none;width:30px;height:30px;min-width:30px;border-radius:50%;color:#668781;background:#f0f5f2;font-size:17px}.lab-source summary::-webkit-details-marker{display:none}.lab-source summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.lab-source[open] summary{background:var(--brand-soft);color:var(--brand)}.lab-source .source-row{margin:8px 0 0;padding-top:8px;border-top:1px solid #e4ede7;font-size:11px;line-height:1.6}.lab-legend{gap:6px 12px;font-size:10px;margin:15px 0}.lab-edit-row{padding:0;margin:8px 0;border-radius:10px}.lab-edit-row>summary{display:flex;align-items:center;gap:10px;justify-content:space-between;list-style:none;min-height:46px;padding:11px 12px;font-size:12px;line-height:1.5;color:#214b40}.lab-edit-row>summary::-webkit-details-marker{display:none}.lab-edit-row>summary:after{content:'⌄';color:var(--brand);font-size:17px}.lab-edit-row[open]>summary:after{content:'⌃'}.lab-edit-row>summary>span:first-child{min-width:0;overflow-wrap:anywhere}.lab-edit-row>summary small{color:#80968a;font-weight:400}.edit-summary-value{margin-left:auto;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}.lab-edit-fields{padding:0 12px 12px;border-top:1px solid #e4ede7}.lab-edit-fields label{font-size:11px;margin:10px 0 5px}.lab-edit-fields input{padding:10px;font-size:13px}.lab-edit-fields .hint{font-size:10px}.lab-edit-fields .check-label{font-size:11px}.lab-edit-fields .danger{font-size:11px;margin:10px 0 0}.lab-edit-test{margin:18px 0}.lab-edit-test>.compact{margin-top:5px}.lab-actions{margin:18px 0}#lab-content>.notice{padding:10px 12px;font-size:12px;margin:12px 0}#lab-content>.hint{margin:5px 0;font-size:10px}#lab-content>.primary,#lab-content>.secondary{margin-top:12px}
@media(max-width:450px){.lab-parameter{padding:10px 10px;margin:6px 0}.lab-parameter.has-source{padding-right:39px}.lab-compact-row{font-size:12px;gap:6px;grid-template-columns:minmax(0,1fr) minmax(37px,max-content) minmax(22px,max-content)}.lab-name small{font-size:10px}.lab-number b{font-size:12px}.lab-unit{font-size:10px;max-width:48px}.lab-reference{font-size:9px;gap:4px;margin-top:4px}.lab-source summary{right:4px;top:6px}.lab-test>h3{font-size:14px}.lab-test{margin:18px 0}.lab-edit-row>summary{font-size:12px;padding:10px;gap:6px}.lab-edit-fields{padding:0 10px 10px}}
.parameter-history-trigger{width:100%;border:0;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer;padding:0;border-radius:4px;min-height:26px}.parameter-history-trigger:hover .lab-name{color:var(--brand);text-decoration:underline;text-underline-offset:3px}.parameter-history-trigger:focus-visible{outline:2px solid var(--brand);outline-offset:4px}.history-title{font-size:25px;margin-top:28px}.history-title small{font-size:17px;font-weight:500;color:#78928a}.history-context{margin-bottom:18px}.history-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:12px 0 16px}.history-controls label{font-size:11px;margin:0}.history-controls select{margin-top:7px;padding:11px;font-size:12px}.history-checkbox{grid-column:1/-1;margin:0!important}.history-legend{display:flex;flex-wrap:wrap;gap:10px 14px;font-size:10px;line-height:1.5;margin:20px 0 15px}.history-legend>span{display:flex;align-items:center;gap:6px}.unconfirmed-dot{display:inline-block;width:9px;height:9px;border:2px solid #92a1ae;border-radius:50%;background:white}.history-chart{width:100%;overflow:hidden;border-radius:12px;background:#fff;border:1px solid #e0e9e3;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.history-svg{width:100%;display:block;height:auto}.chart-grid{stroke:#dfe8e4;stroke-dasharray:2 3;stroke-width:1}.chart-axis{font:10px 'DM Sans',sans-serif;fill:#6e8580}.chart-unit{font:11px 'DM Sans',sans-serif;fill:#214c40}.chart-line{fill:none;stroke:#9bace8;stroke-width:2}.chart-value{font:700 10px 'DM Sans',sans-serif;fill:#214c40}.chart-point{cursor:pointer;outline:none}.chart-point:focus .point-visible,.chart-point:hover .point-visible{stroke-width:4}.history-note{font-size:11px;line-height:1.6;padding:11px 13px;margin:14px 0}.history-results{margin:25px 0}.history-results>h3{font-size:16px}.history-results h3 small{font-size:12px;font-weight:400;color:#81998a}.history-result{padding:13px 14px;margin:12px 0;background:#fff;border:1px solid #e0e9e3;border-radius:12px}.history-result.is-selected{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.history-result-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.history-result time{font-weight:700}.history-confirmation{font-size:10px;color:#889b91}.history-result-values{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 7px;font-size:12px}.history-result-values>span{display:flex;align-items:center;gap:5px}.history-open{font-size:11px;margin-left:auto;min-height:28px}.history-converted{color:#6b8277}.history-warning{font-size:11px;color:#ad7b24;line-height:1.6;margin:8px 0}.history-document{font-size:10px;color:#8c9f94;margin:7px 0 0;overflow-wrap:anywhere}.history-result .hint{font-size:10px;margin:7px 0 0}.result-dot.hollow{background:white;border:2px solid #92a1ae;width:9px;height:9px;flex-basis:9px}.result-dot.hollow.normal{border-color:#69b82d}.result-dot.hollow.outside{border-color:#e4a510}.result-dot.hollow.unknown{border-color:#6c84e2}@media(max-width:450px){.history-title{font-size:21px}.history-controls{gap:10px}.history-controls select{padding:10px 8px}.history-result{padding:12px}.history-result-values{gap:8px}.history-open{font-size:10px}.history-legend{font-size:9px;gap:8px 11px}}

/* Fit the plot to its container instead of scaling a fixed SVG canvas. */
.profile-mode main,#app,.history-chart{min-width:0}.history-chart{width:100%;max-width:100%;overflow:hidden}.history-svg{display:block;width:100%;max-width:100%;height:auto;min-width:0}.history-axis-unit{position:relative;padding:12px 12px 0 55px;min-height:29px;font-size:12px;line-height:1.4;color:#214c40;overflow-wrap:anywhere}.chart-axis{font-size:10px}.chart-value{font-size:10px}.chart-point .point-visible{vector-effect:non-scaling-stroke}.lab-parameter.with-history{padding-right:47px}.lab-parameter.with-history.has-source{padding-right:80px}.parameter-chart-icon{position:absolute;right:7px;top:8px;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:#edf4f1;color:var(--brand);cursor:pointer;padding:6px}.parameter-chart-icon svg{width:19px;height:19px}.parameter-chart-icon:hover{background:var(--brand-soft)}.lab-parameter.with-history.has-source .lab-source summary{right:43px}.parameter-chart-icon:focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media(max-width:450px){.history-axis-unit{padding-left:47px;font-size:11px}.lab-parameter.with-history{padding-right:44px}.lab-parameter.with-history.has-source{padding-right:75px}.parameter-chart-icon{right:4px;top:6px;width:31px;height:31px}.lab-parameter.with-history.has-source .lab-source summary{right:38px}}
.share-profile-button{margin:0 0 14px;font-size:12px}.share-code-panel{border:1px solid #cce2d7;border-radius:16px;background:#eef8f3;padding:22px;text-align:center;margin:24px 0}.share-code-panel h3{font-size:17px}.share-code-panel p{font-size:13px;line-height:1.7}.share-code-panel a{color:var(--brand)}.share-code{font:800 48px/1.4 Manrope,sans-serif;letter-spacing:6px;margin:20px 0 8px;color:var(--brand)}.share-request{border:1px solid var(--brand-accent);border-radius:15px;padding:22px;margin:20px 0;background:#fff}.share-request h3{margin-top:14px}.share-request>p{font-size:13px;line-height:1.7}.share-active{margin:30px 0}.share-active h3 small{font-size:12px;color:#8ba297}.share-session{padding:17px;border:1px solid #dbe9e1;border-radius:12px;margin:12px 0;background:white}.share-session .secondary{margin-top:7px}.vet-mode{display:flex;flex-direction:column;min-height:100dvh;background:#f5f9f6}.vet-header{background:#08373c;color:white;padding:20px max(24px,calc((100vw - 1000px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px}.vet-header img{display:block;width:145px;height:auto}.vet-main{width:100%;max-width:1000px;margin:0 auto;padding:40px 28px;flex:1;display:block}.vet-welcome{max-width:430px;margin:30px auto}.vet-welcome h1{font-size:37px;color:#12383e}.vet-welcome h2{font-size:28px}.vet-no-account{text-align:center;margin-top:24px}.vet-footer{text-align:center;font-size:11px;padding:20px 24px;color:#8aa095}.vet-wait-icon{font-size:65px;color:var(--brand);margin:35px 0 15px}.vet-fingerprint{font:800 26px Manrope;letter-spacing:4px;color:var(--brand)}#vet-status:empty{display:none}.vet-session-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;background:#e4f5ed;border:1px solid #cce7d8;padding:14px 17px;border-radius:12px;font-size:11px;margin-bottom:30px}.vet-readonly{font-weight:700;color:var(--brand)}.vet-pet h1{font-size:34px;letter-spacing:-1px;margin:12px 0;color:#12383e}.vet-mode .document-list{max-width:900px}.vet-mode .preview-body{text-align:left}.vet-mode .preview-body iframe{height:62dvh}.vet-mode .lab-test{margin:20px 0}.vet-mode .file-dialog .preview-bottom{display:flex;gap:12px;justify-content:flex-end}.vet-mode .preview-body>img{display:block;margin:auto}.vet-mode .vet-header a{color:inherit}.vet-welcome .primary{margin-top:22px}.vet-mode #vet-code{font-size:27px;letter-spacing:4px;text-align:center;font-weight:700}@media(max-width:620px){.vet-header{padding:16px 22px;font-size:11px}.vet-header img{width:125px}.vet-main{padding:25px 22px}.vet-welcome{margin:20px auto}.vet-welcome h1{font-size:31px}.vet-session-bar{font-size:10px;padding:12px;gap:9px}.vet-pet h1{font-size:29px}.share-code{font-size:40px}.share-code-panel{padding:18px}.share-request{padding:18px}.share-profile-button{width:100%;margin-bottom:10px}.vet-mode .preview-bottom{flex-wrap:wrap}}
/* Document search and responsive source previews */
.document-filters,.search-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.filter-chip,.search-chip{width:auto;margin:0;padding:9px 12px;border:1px solid var(--border,#d7e1df);border-radius:22px;background:#fff;color:inherit;font:inherit;font-size:13px;cursor:pointer}.filter-chip[aria-pressed=true]{background:var(--brand);color:#fff;border-color:var(--brand)}.search-chip{background:#e5f5f1}.keyword-form{display:flex;align-items:flex-end;gap:8px}.keyword-form label{flex:1;min-width:0;margin:0}.keyword-form input{margin-bottom:0}.keyword-form button{width:auto;margin:0;flex-shrink:0}.search-label{font-size:14px}.search-mode{font-size:12px;display:flex;align-items:center;gap:10px;margin:8px 0}.search-mode select{width:auto;max-width:100%;margin:0;padding:7px}.document-matches{padding:0 18px 14px}.matched-parameter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;width:100%;border:0;border-top:1px solid #dde6e4;background:transparent;color:inherit;padding:12px 0;text-align:left;cursor:pointer}.matched-parameter span:first-child{display:flex;flex-direction:column;gap:4px}.matched-parameter .hint{grid-column:1/-1;margin:0}.matched-parameter small{font-size:11px;font-weight:400}.search-excerpt{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.extracted-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.6;margin:16px 0}.inline-document-preview{width:100%;min-width:0;margin:16px 0 24px}.inline-document-preview iframe{width:100%;height:clamp(260px,48vh,520px);border:1px solid #dbe5e3;border-radius:10px;display:block}.inline-document-preview img{display:block;width:100%;max-height:520px;object-fit:contain;background:#f1f5f4;border-radius:10px}.inline-document-preview a{display:inline-block;font-size:12px;margin-top:8px}.vet-document-content{padding:0 20px 20px;min-width:0}.parameter-search{margin:18px 0}.lab-test[hidden],.lab-parameter[hidden]{display:none!important}.vet-document-content .history-chart{max-width:760px}.file-dialog{max-height:92dvh;overflow:auto}.search-count{margin:8px 0 16px}
@media(max-width:540px){.keyword-form{flex-wrap:wrap}.keyword-form label{flex-basis:100%}.keyword-form button{padding:7px 12px;font-size:12px}.search-mode{align-items:flex-start;flex-direction:column;gap:3px}.document-filters{gap:6px}.filter-chip{font-size:11px;padding:7px 10px}.vet-document-content{padding:0 12px 16px}.document-matches{padding:0 12px 10px}}

.matched-parameter b{display:flex;align-items:center;gap:5px}.extracted-text{max-width:100%;overflow-x:hidden}

.filter-chip{display:flex;align-items:center;gap:7px}.filter-chip .filter-icon{width:25px;height:25px;min-width:25px}.filter-chip .filter-icon svg{width:16px;height:16px}
/* Read-only comparison uses the existing PetFolder palette. */
.vet-comparison{margin:18px 0 22px;padding:16px;border:1px solid #d5e4de;border-radius:12px;background:#fff;min-width:0}.vet-comparison>summary{cursor:pointer;font-weight:700;color:var(--brand);padding:4px 0}.vet-comparison>summary .hint{font-weight:400;margin-left:8px}.comparison-chips{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.comparison-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.comparison-controls label{margin:10px 0}.comparison-controls .check-label{grid-column:1/-1}.comparison-panel{min-width:0;margin:20px 0 10px;padding-top:18px;border-top:1px solid #dce7e3}.comparison-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.comparison-panel-heading h3{margin:0;font-size:15px}.comparison-unit{margin:0;font-size:11px;max-width:150px}.comparison-unit select{margin:5px 0 10px;padding:7px;font-size:12px}.comparison-guide{stroke:#93aaa5;stroke-width:1;stroke-dasharray:3 4}.comparison-day{padding:12px 0;font-size:12px}.comparison-reading{padding:10px 0;border-bottom:1px solid #e3ece7}.comparison-reading>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.comparison-reading .hint{margin:4px 0}.comparison-add{font-size:12px;margin:0 0 10px;padding:6px 0;display:inline-block}.comparison-add:disabled{opacity:1;cursor:default;color:#657e75;text-decoration:none}.matched-parameter-container{border-top:1px solid #dde6e4}.matched-parameter-container>.matched-parameter{border-top:0}.matched-parameter-container>.comparison-add{margin:0 0 6px}.vet-document-content .lab-parameter>.comparison-add{margin:4px 0 0}.vet-comparison .history-chart{max-width:100%}.vet-comparison .section-title{margin:14px 0}.vet-comparison .section-title h3{font-size:14px}
@media(max-width:540px){.vet-comparison{padding:12px}.comparison-controls{grid-template-columns:1fr}.comparison-controls .check-label{grid-column:auto}.comparison-panel-heading{align-items:flex-start}.comparison-unit{max-width:105px;flex-shrink:0}.comparison-panel-heading h3{font-size:13px}.vet-comparison>summary .hint{display:block;margin-left:15px}}
.comparison-panel-heading>div{min-width:0;overflow-wrap:anywhere}.comparison-controls>label{min-width:0}.comparison-controls select{max-width:100%}.comparison-panel .history-axis-unit{overflow-wrap:anywhere}
