.herpcharts-profile,.herpcharts-profile *{box-sizing:border-box}.herpcharts-profile{--hc-primary:#2f6f4e;--hc-bg:#f5f7f5;--hc-card:#fff;--hc-text:#1f2923;--hc-muted:#6b756e;--hc-border:#e1e7e3;max-width:1180px;margin:30px auto;padding:24px;background:var(--hc-bg);border:1px solid var(--hc-border);border-radius:20px;font-family:"Century Gothic",Arial,sans-serif;color:var(--hc-text)}.herpcharts-profile__main{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.65fr);gap:24px}.herpcharts-profile__photo-card,.herpcharts-profile__details-card,.herpcharts-profile__bio-card{background:#fff;border:1px solid var(--hc-border);border-radius:16px}.herpcharts-profile__photo-card{overflow:hidden}.herpcharts-profile__photo-wrap{position:relative;aspect-ratio:4/5;min-height:390px;overflow:hidden;background:#dfe6e1}.herpcharts-profile__photo{width:100%;height:100%;object-fit:cover}.herpcharts-profile__photo-overlay{position:absolute;inset:auto 0 0;padding:70px 22px 22px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff}.herpcharts-profile__name{margin:0 0 7px;color:#fff;font-size:38px}.herpcharts-profile__species{margin:0}.herpcharts-profile__photo-footer{display:flex;justify-content:space-between;padding:18px 20px}.herpcharts-profile__id-label,.herpcharts-profile__data-label{font-size:10px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;color:var(--hc-muted)}.herpcharts-profile__id-number,.herpcharts-profile__data-value{font-weight:700}.herpcharts-profile__type-tag{padding:7px 11px;background:#f4efe7;border-radius:50px;font-size:11px;font-weight:700}.herpcharts-profile__content{display:flex;flex-direction:column;gap:24px}.herpcharts-profile__details-card,.herpcharts-profile__bio-card{padding:26px}.herpcharts-profile__section-heading{display:flex;gap:12px;align-items:center;margin:0 0 22px;font-size:17px}.herpcharts-profile__section-heading:before{content:"";width:4px;height:20px;background:var(--hc-primary);border-radius:10px}.herpcharts-profile__data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--hc-border)}.herpcharts-profile__data-item{padding:18px 20px 18px 0;border-bottom:1px solid var(--hc-border)}.herpcharts-profile__data-item:nth-child(even){padding-left:20px;border-left:1px solid var(--hc-border)}.herpcharts-profile__data-label{display:block;margin-bottom:7px}.herpcharts-profile__bio{line-height:1.8}.hcar-tabs{display:flex;gap:8px;overflow:auto;margin:24px 0 14px}.hcar-tabs button,.hcar-manager-form button,.hcar-qr-public button{border:0;border-radius:8px;padding:10px 14px;cursor:pointer;background:#fff}.hcar-tabs button.active,.hcar-manager-form button[type=submit],.hcar-qr-public button{background:var(--hc-primary);color:#fff}.hcar-tab{display:none}.hcar-tab.active{display:block}.hcar-inline-editor,.hcar-manager-form,.hcar-empty,.hcar-table-wrap,.hcar-growth-timeline,.hcar-notes-list,.hcar-qr-public{background:#fff;border:1px solid var(--hc-border);border-radius:16px;padding:20px;margin-bottom:16px}.hcar-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hcar-form-grid label,.hcar-manager-form>label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.hcar-form-grid .wide{grid-column:1/-1}.hcar-manager-form input,.hcar-manager-form select,.hcar-manager-form textarea{width:100%;padding:10px;border:1px solid var(--hc-border);border-radius:8px}.hcar-manager-form button{margin-top:12px}.hcar-form-message{margin-top:10px;font-weight:700}.hcar-table{width:100%;border-collapse:collapse}.hcar-table th,.hcar-table td{padding:12px;text-align:left;border-bottom:1px solid var(--hc-border);vertical-align:top}.hcar-row-actions{white-space:nowrap}.hcar-row-actions button{border:0;background:#edf3ef;padding:6px 9px;border-radius:6px;margin:2px;cursor:pointer}.hcar-delete-record,.hcar-delete-growth{color:#a00}.hcar-growth-timeline article{display:grid;grid-template-columns:160px 1fr;gap:18px;padding:16px 0;border-bottom:1px solid var(--hc-border)}.hcar-growth-timeline img{width:160px;height:120px;object-fit:cover;border-radius:10px}.hcar-notes-list article{padding:12px 0;border-bottom:1px solid var(--hc-border)}.hcar-notes-list time{margin-left:10px;color:var(--hc-muted);font-size:12px}.hcar-qr-public{text-align:center}.hcar-qr-public img{display:block;max-width:260px;margin:auto}.hcar-inventory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hcar-inventory-grid article{display:flex;flex-direction:column;padding:14px;border:1px solid var(--hc-border);border-radius:10px}.hcar-front-dashboard,.hcar-inventory-dashboard{max-width:1180px;margin:auto}.hcar-dashboard-head{display:flex;justify-content:space-between;gap:20px}.hcar-animal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.hcar-animal-card{display:flex;gap:14px;padding:14px;background:#fff;border:1px solid #ddd;border-radius:14px;text-decoration:none;color:inherit}.hcar-animal-card img{width:100px;height:100px;object-fit:cover;border-radius:10px}@media(max-width:850px){.herpcharts-profile__main,.hcar-animal-grid{grid-template-columns:1fr}.hcar-inventory-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.herpcharts-profile{padding:12px}.herpcharts-profile__data-grid,.hcar-form-grid,.hcar-inventory-grid{grid-template-columns:1fr}.herpcharts-profile__data-item:nth-child(even){padding-left:0;border-left:0}.hcar-growth-timeline article{grid-template-columns:1fr}.hcar-growth-timeline img{width:100%;height:220px}.hcar-table-wrap{overflow:auto}}

/* HerpCharts 1.2 dashboard and jungle theme */
.hcar-jungle-surface{position:relative;isolation:isolate;overflow:hidden;background-color:#f4f7f3;background-image:linear-gradient(rgba(244,247,243,.93),rgba(244,247,243,.93)),url('../jungle-pattern.svg');background-size:auto,760px auto;background-position:center,center top;border-radius:24px;padding:24px}
.hcar-jungle-surface>*{position:relative;z-index:1}
.hcar-dashboard-head{align-items:center;margin-bottom:22px}
.hcar-dashboard-head h2{margin:2px 0 0;font-size:clamp(28px,4vw,42px)}
.hcar-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#2f6f4e}
.hcar-dashboard-tools{display:flex;gap:10px;align-items:center}
.hcar-dashboard-tools input{min-width:240px;padding:12px 14px;border:1px solid #dce5df;border-radius:10px;background:#fff}
.hcar-toggle-animal-form{border:0;border-radius:10px;padding:12px 16px;background:#2f6f4e;color:#fff;font-weight:700;cursor:pointer}
.hcar-add-animal-form{margin-bottom:24px;box-shadow:0 12px 34px rgba(31,41,35,.08)}
.hcar-animal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hcar-animal-card{display:block;padding:0;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(31,41,35,.08);transition:transform .18s ease,box-shadow .18s ease;aspect-ratio:1/1}
.hcar-animal-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(31,41,35,.13)}
.hcar-card-photo{position:relative;height:54%;background:#dfe8e1;overflow:hidden}
.hcar-card-photo img{width:100%;height:100%;object-fit:cover;border-radius:0}
.hcar-card-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:42px;font-weight:800;color:#2f6f4e}
.hcar-card-id{position:absolute;left:14px;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.9);backdrop-filter:blur(6px);font-size:11px;font-weight:800;color:#233229}
.hcar-card-body{padding:16px 17px}
.hcar-card-body h3{margin:0 0 3px;font-size:21px;color:#1f2923}
.hcar-card-species{margin:0 0 13px;color:#6b756e;font-size:13px}
.hcar-card-facts{display:grid;gap:8px}
.hcar-card-facts span{display:block;font-size:12px;line-height:1.35;color:#344239}
.hcar-card-facts small{display:block;margin-bottom:2px;text-transform:uppercase;letter-spacing:.7px;font-size:9px;font-weight:800;color:#7a887f}
.hcar-inventory-dashboard{padding:24px}
.herpcharts-profile.hcar-jungle-surface{background-color:#f5f7f5}
@media(max-width:980px){.hcar-animal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hcar-dashboard-head,.hcar-dashboard-tools{align-items:stretch;flex-direction:column}.hcar-dashboard-tools input{min-width:0;width:100%}.hcar-animal-grid{grid-template-columns:1fr}.hcar-animal-card{aspect-ratio:auto}.hcar-card-photo{height:250px}.hcar-jungle-surface{padding:14px}}

/* HerpCharts 1.3 care and feeding editor */
.hcar-toggle-care-manager{border:1px solid #cfdcd3;border-radius:10px;padding:12px 16px;background:#fff;color:#2f6f4e;font-weight:700;cursor:pointer}
.hcar-dashboard-care{margin-bottom:22px}
.hcar-dashboard-animal-select{display:flex;flex-direction:column;gap:7px;max-width:420px;margin-bottom:16px;font-size:12px;font-weight:700}
.hcar-dashboard-animal-select select{width:100%;padding:11px 12px;border:1px solid #dce5df;border-radius:9px;background:#fff}
.hcar-care-form[hidden],.hcar-dashboard-care[hidden]{display:none!important}
.hcar-care-form .hcar-form-message{color:#2f6f4e}
@media(max-width:650px){.hcar-toggle-care-manager{width:100%}}

/* v1.4 dashboard management and inventory photos */
.hcar-card-main{display:block;color:inherit;text-decoration:none}
.hcar-card-actions{display:flex;gap:8px;padding:0 16px 16px}
.hcar-card-actions button{flex:1;border:1px solid #d8e1db;background:#fff;border-radius:9px;padding:9px 12px;cursor:pointer;font-weight:700}
.hcar-card-actions .hcar-delete-animal{color:#a32727}
.hcar-dashboard-log-select{display:block;max-width:480px;margin:0 0 18px;font-weight:700}
.hcar-dashboard-log-select select{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #d8e1db;border-radius:10px;background:#fff}
.hcar-dashboard-log-panel[hidden]{display:none!important}
.hcar-inventory-photo{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;margin-bottom:10px}

/* v1.4.1: Restore dashboard 1:1 animal profile cards */
.hcar-front-dashboard .hcar-animal-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;margin-top:22px!important;visibility:visible!important;opacity:1!important}
.hcar-front-dashboard .hcar-animal-card{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;aspect-ratio:1/1!important;min-width:0!important;min-height:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;border:1px solid rgba(47,111,78,.12)!important;border-radius:18px!important;box-shadow:0 12px 35px rgba(31,41,35,.08)!important;visibility:visible!important;opacity:1!important}
.hcar-front-dashboard .hcar-card-main{display:grid!important;grid-template-rows:52% minmax(0,1fr)!important;min-height:0!important;color:inherit!important;text-decoration:none!important}
.hcar-front-dashboard .hcar-card-photo{position:relative!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#dfe8e1!important}
.hcar-front-dashboard .hcar-card-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
.hcar-front-dashboard .hcar-card-body{min-height:0!important;padding:14px 16px 10px!important;overflow:hidden!important}
.hcar-front-dashboard .hcar-card-body h3{margin:0 0 3px!important;font-size:20px!important;line-height:1.15!important}
.hcar-front-dashboard .hcar-card-species{margin:0 0 10px!important}
.hcar-front-dashboard .hcar-card-facts{gap:6px!important}
.hcar-front-dashboard .hcar-card-facts span{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
.hcar-front-dashboard .hcar-card-actions{display:flex!important;gap:8px!important;padding:0 16px 14px!important;background:#fff!important}
@media(max-width:980px){.hcar-front-dashboard .hcar-animal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.hcar-front-dashboard .hcar-animal-grid{grid-template-columns:1fr!important}.hcar-front-dashboard .hcar-animal-card{aspect-ratio:1/1!important}}

/* v1.4.2: Full-width responsive dashboard and animal profiles */
html,body{overflow-x:clip}
.hcar-front-dashboard,
.hcar-inventory-dashboard,
.herpcharts-profile,
.hcar-single-page,
.hcar-single-container{
  width:100%;
  max-width:none!important;
  min-width:0;
  box-sizing:border-box;
}
.hcar-front-dashboard,
.hcar-inventory-dashboard,
.herpcharts-profile{
  width:100vw;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:clamp(16px,3vw,48px);
  padding-right:clamp(16px,3vw,48px);
}
.hcar-single-page,
.hcar-single-container{
  margin:0!important;
  padding:0!important;
}
.herpcharts-profile__main{
  width:100%;
  grid-template-columns:minmax(300px,26%) minmax(0,1fr);
  align-items:start;
}
.herpcharts-profile__photo-card,
.herpcharts-profile__content,
.herpcharts-profile__details-card,
.herpcharts-profile__bio-card,
.hcar-tab,
.hcar-inline-editor,
.hcar-table-wrap{
  min-width:0;
  max-width:100%;
}
.hcar-front-dashboard .hcar-animal-grid{
  width:100%;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;
}
.hcar-dashboard-head,
.hcar-dashboard-tools{
  flex-wrap:wrap;
}
.hcar-dashboard-tools{
  justify-content:flex-end;
}
.hcar-table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.hcar-table{
  min-width:720px;
}
@media(max-width:1100px){
  .herpcharts-profile__main{grid-template-columns:minmax(280px,38%) minmax(0,1fr)}
  .herpcharts-profile__data-grid{grid-template-columns:1fr}
  .herpcharts-profile__data-item:nth-child(even){padding-left:0;border-left:0}
}
@media(max-width:780px){
  .hcar-front-dashboard,
  .hcar-inventory-dashboard,
  .herpcharts-profile{
    padding-left:16px;
    padding-right:16px;
    border-radius:0;
  }
  .herpcharts-profile__main{grid-template-columns:1fr;gap:18px}
  .herpcharts-profile__photo-wrap{aspect-ratio:16/10;min-height:0}
  .hcar-dashboard-head,
  .hcar-dashboard-tools{display:flex;align-items:stretch;flex-direction:column;width:100%}
  .hcar-dashboard-tools input,
  .hcar-dashboard-tools button{width:100%;min-width:0}
  .hcar-front-dashboard .hcar-animal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hcar-tabs{padding-bottom:4px}
}
@media(max-width:560px){
  .hcar-front-dashboard,
  .hcar-inventory-dashboard,
  .herpcharts-profile{padding:12px}
  .hcar-front-dashboard .hcar-animal-grid{grid-template-columns:1fr!important;gap:14px!important}
  .hcar-front-dashboard .hcar-animal-card{aspect-ratio:1/1!important}
  .herpcharts-profile__photo-wrap{aspect-ratio:4/3}
  .herpcharts-profile__details-card,
  .herpcharts-profile__bio-card,
  .hcar-inline-editor,
  .hcar-manager-form,
  .hcar-table-wrap,
  .hcar-growth-timeline,
  .hcar-notes-list,
  .hcar-qr-public{padding:16px}
  .hcar-inventory-grid{grid-template-columns:1fr}
}

/* HerpCharts 1.4.3: four dashboard cards per row */
.hcar-front-dashboard .hcar-animal-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:1200px){
  .hcar-front-dashboard .hcar-animal-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .hcar-front-dashboard .hcar-animal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
  .hcar-front-dashboard .hcar-animal-grid{grid-template-columns:1fr!important}
}

/* HerpCharts 1.4.4 */
.hcar-front-dashboard .hcar-animal-card{
  aspect-ratio:auto!important;
  grid-template-rows:auto auto!important;
}
.hcar-front-dashboard .hcar-card-main{
  grid-template-rows:auto auto!important;
}
.hcar-front-dashboard .hcar-card-photo{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
}
.hcar-front-dashboard .hcar-card-body{
  overflow:visible!important;
}
.hcar-card-feeding small,
.hcar-card-schedule small,
.hcar-card-schedule-form small{display:block;text-transform:uppercase;letter-spacing:.06em;color:var(--hc-muted);font-size:10px;font-weight:700;margin-bottom:4px}
.hcar-card-feeding ul{margin:4px 0 8px;padding-left:17px;font-size:12px;line-height:1.45}
.hcar-card-feeding em{display:block;margin:4px 0 8px;color:var(--hc-muted);font-size:12px}
.hcar-card-schedule-form{padding:0 16px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end}
.hcar-card-schedule-form label{min-width:0}
.hcar-card-schedule-form input{width:100%;min-width:0;padding:8px;border:1px solid var(--hc-border);border-radius:8px;font-size:12px}
.hcar-card-schedule-form button{padding:8px 10px;border:0;border-radius:8px;background:var(--hc-primary);color:#fff;cursor:pointer}
.hcar-card-schedule-form .hcar-form-message{grid-column:1/-1;font-size:11px;margin:0}
.hcar-card-schedule{padding:0 16px 12px;margin:0;font-size:12px}
.hcar-profile-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;background:#fff;border-top:1px solid var(--hc-border)}
.hcar-profile-gallery a{display:block;aspect-ratio:1/1;border-radius:9px;overflow:hidden;background:#e5ebe7}
.hcar-profile-gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.hcar-profile-gallery a:hover img{transform:scale(1.04)}
.hcar-edit-note,.hcar-delete-note{border:0;background:#edf3ef;padding:6px 9px;border-radius:6px;margin-right:5px;cursor:pointer}
.hcar-delete-note{color:#a00}
@media(max-width:600px){.hcar-card-schedule-form{grid-template-columns:1fr}.hcar-card-schedule-form button{width:100%}}

/* v1.4.5: administrator-controlled typography, forest buttons and rich note editors */
.hcar-front-dashboard,
.herpcharts-profile,
.hcar-inventory-dashboard{
  color:var(--hcar-page-text,#1f2923)!important;
  font-size:max(14px,var(--hcar-base-font,14px))!important;
}
.hcar-front-dashboard *,
.herpcharts-profile *,
.hcar-inventory-dashboard *{
  font-size:max(14px,var(--hcar-base-font,14px));
}
.hcar-front-dashboard h1,.hcar-front-dashboard h2,
.herpcharts-profile h1,.herpcharts-profile h2,
.hcar-inventory-dashboard h1,.hcar-inventory-dashboard h2{
  font-size:var(--hcar-heading-font,28px)!important;
}
.hcar-front-dashboard h3,.herpcharts-profile h3,.hcar-inventory-dashboard h3{
  font-size:max(18px,calc(var(--hcar-base-font,14px) + 4px))!important;
}
.hcar-front-dashboard button,
.herpcharts-profile button,
.hcar-inventory-dashboard button,
.hcar-tabs button,
.hcar-row-actions button,
.hcar-card-actions button,
.hcar-manager-form button,
.hcar-qr-public button,
.hcar-media-button{
  background:var(--hcar-button-color,#2f6f4e)!important;
  color:var(--hcar-button-text,#fff)!important;
  border-color:var(--hcar-button-color,#2f6f4e)!important;
  font-size:max(14px,var(--hcar-base-font,14px))!important;
  font-weight:700!important;
}
.hcar-front-dashboard button:hover,
.herpcharts-profile button:hover,
.hcar-inventory-dashboard button:hover{
  filter:brightness(.9);
}
.hcar-manager-form label,.hcar-manager-form input,.hcar-manager-form select,.hcar-manager-form textarea,
.hcar-table,.hcar-card-body,.hcar-card-facts,.hcar-card-facts small,.hcar-card-id,
.hcar-notes-list time,.hcar-eyebrow{
  font-size:max(14px,var(--hcar-base-font,14px))!important;
}
.hcar-rich-note p:first-child{margin-top:0}.hcar-rich-note p:last-child{margin-bottom:0}
.hcar-manager-form .wp-editor-wrap{width:100%;margin-top:6px}
.hcar-manager-form .wp-editor-container{border:1px solid var(--hc-border,#dce5df);border-radius:8px;overflow:hidden}
.hcar-manager-form .mce-toolbar .mce-btn button,
.hcar-manager-form .quicktags-toolbar input.button{
  background:#f6f7f7!important;
  color:#1d2327!important;
  border-color:#c3c4c7!important;
  font-size:14px!important;
  font-weight:400!important;
  filter:none!important;
}


/* Animal profile photo selector */
.hcar-animal-photo-field{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;border:1px solid var(--hc-border,#dfe6e1);border-radius:12px;background:#fff}
.hcar-animal-photo-field .hcar-field-label{flex-basis:100%;font-weight:700}
.hcar-animal-photo-preview{width:110px;aspect-ratio:1/1;border:1px dashed #aebbb2;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f5f7f5;text-align:center;padding:8px}
.hcar-animal-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}
.hcar-animal-photo-preview span{font-size:14px;color:#66726a}
.hcar-animal-photo-field .hcar-field-help{flex-basis:100%;margin:0;color:#66726a;font-size:14px}


/* v1.4.8: assigned enclosure equipment and decor cards */
.hcar-assigned-inventory-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.hcar-assigned-inventory-card{
  display:block!important;
  padding:0!important;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--hc-border);
  border-radius:14px!important;
}
.hcar-assigned-inventory-card .hcar-inventory-photo{
  display:block;
  width:100%;
  aspect-ratio:3/2;
  height:auto;
  margin:0;
  object-fit:cover;
  border-radius:0;
  background:#eef2ef;
}
.hcar-inventory-photo--placeholder{
  display:flex!important;
  align-items:center;
  justify-content:center;
  color:var(--hc-muted);
  font-size:14px;
  font-weight:700;
}
.hcar-assigned-inventory-content{padding:16px}
.hcar-assigned-inventory-content h3{
  margin:0 0 14px;
  color:var(--hc-text);
  font-size:max(17px,var(--hc-base-font,14px));
  line-height:1.3;
}
.hcar-assigned-inventory-content dl{margin:0}
.hcar-assigned-inventory-content dl>div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:8px 0;
  border-top:1px solid var(--hc-border);
}
.hcar-assigned-inventory-content dt{
  color:var(--hc-muted);
  font-weight:700;
}
.hcar-assigned-inventory-content dd{
  margin:0;
  color:var(--hc-text);
  font-weight:700;
  text-align:right;
}
@media(max-width:1050px){.hcar-assigned-inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hcar-assigned-inventory-grid{grid-template-columns:1fr}}

/* v1.4.11: QR scanner, events, environmental data and reorder actions */
.hcar-qr-scanner-modal[hidden]{display:none!important}
.hcar-qr-scanner-modal{position:fixed;inset:0;z-index:999999;background:rgba(9,25,17,.78);display:flex;align-items:center;justify-content:center;padding:20px}
.hcar-qr-scanner-panel{position:relative;width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.hcar-close-qr-scanner{position:absolute;right:12px;top:10px;width:42px;height:42px;border-radius:50%;padding:0!important;font-size:26px!important;line-height:1!important}
.hcar-qr-video{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#101814;border-radius:14px;margin:16px 0}
.hcar-qr-file-label{display:block;padding:14px;border:1px dashed var(--hc-border,#dfe6e1);border-radius:10px;font-weight:700}
.hcar-qr-file-label input{display:block;margin-top:8px;width:100%}
.hcar-qr-status{min-height:24px;margin-top:12px;font-weight:700;color:var(--hc-primary-dark,#214f38)}
.hcar-card-events{margin-top:14px;padding-top:12px;border-top:1px solid var(--hc-border,#dfe6e1)}
.hcar-card-events small{display:block;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.hcar-card-events ul{list-style:none;margin:0;padding:0}
.hcar-card-events li{margin:5px 0;line-height:1.4}
.hcar-card-events em{font-style:normal;color:var(--hc-muted,#6b756e)}
.hcar-reorder-wrap{margin:14px 0 0}
a.hcar-reorder-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 15px;border-radius:8px;background:var(--hcar-button-color,#2f6f4e);color:var(--hcar-button-text,#fff)!important;text-decoration:none!important;font-weight:700;font-size:max(14px,var(--hcar-base-font,14px))}
a.hcar-reorder-button:hover{filter:brightness(.9);color:var(--hcar-button-text,#fff)!important}
.hcar-inventory-grid article .hcar-reorder-button{margin-top:12px}
@media(max-width:600px){.hcar-qr-scanner-panel{padding:20px 16px}.hcar-qr-video{aspect-ratio:4/5}}


/* v1.4.12: compact dashboard QR scanner icon button */
.hcar-qr-icon-button{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;padding:0!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 64px!important;background:var(--hcar-button-color,#2f6f4e)!important;color:var(--hcar-button-text,#fff)!important}
.hcar-qr-icon-button svg{display:block;width:34px;height:34px;fill:currentColor}
.hcar-qr-icon-button:hover,.hcar-qr-icon-button:focus{filter:brightness(.9);color:var(--hcar-button-text,#fff)!important}
.hcar-qr-icon-button:focus-visible{outline:3px solid rgba(47,111,78,.3);outline-offset:3px}


/* v1.4.13: compact dashboard action icon buttons */
.hcar-dashboard-icon-button{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;padding:0!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 64px!important;background:var(--hcar-button-color,#2f6f4e)!important;color:var(--hcar-button-text,#fff)!important}
.hcar-dashboard-icon-button svg{display:block;width:34px;height:34px;fill:currentColor}
.hcar-dashboard-icon-button:hover,.hcar-dashboard-icon-button:focus{filter:brightness(.9);color:var(--hcar-button-text,#fff)!important}
.hcar-dashboard-icon-button:focus-visible{outline:3px solid rgba(47,111,78,.3);outline-offset:3px}
@media(max-width:600px){.hcar-dashboard-tools{gap:10px}.hcar-dashboard-icon-button,.hcar-qr-icon-button{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;flex-basis:56px!important}.hcar-dashboard-icon-button svg,.hcar-qr-icon-button svg{width:30px;height:30px}}

/* v1.4.14: responsive dashboard icon toolbar — up to five icons per row */
.hcar-dashboard-tools{
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
}
.hcar-dashboard-tools .hcar-dashboard-icon-button,
.hcar-dashboard-tools .hcar-qr-icon-button{
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  min-height:64px!important;
  flex:0 0 64px!important;
}
@media (max-width:780px){
  .hcar-dashboard-tools{
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
  }
  .hcar-dashboard-tools .hcar-animal-search{
    flex:1 0 100%!important;
    width:100%!important;
    min-width:0!important;
  }
  .hcar-dashboard-tools .hcar-dashboard-icon-button,
  .hcar-dashboard-tools .hcar-qr-icon-button{
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    min-height:64px!important;
    flex:0 0 64px!important;
  }
}
@media (max-width:420px){
  .hcar-dashboard-tools{gap:10px!important}
  .hcar-dashboard-tools .hcar-dashboard-icon-button,
  .hcar-dashboard-tools .hcar-qr-icon-button{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    min-height:56px!important;
    flex:0 0 56px!important;
  }
}

/* v1.4.15 frontend enclosure manager */
.hcar-enclosure-manager{margin:0 0 24px;padding:20px;border:1px solid #dfe7e1;border-radius:16px;background:rgba(255,255,255,.94)}
.hcar-enclosure-manager .hcar-manager-form{margin-bottom:20px}
.hcar-enclosure-manager .hcar-manager-form:last-child{margin-bottom:0}
.hcar-form-photo-preview{display:block;width:min(100%,420px);aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin:12px 0}
.hcar-checkbox{display:flex!important;align-items:center;gap:8px}
.hcar-checkbox input{width:auto!important}
.hcar-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hcar-delete-enclosure{background:#2f6f4e!important;color:#fff!important}
@media(max-width:640px){.hcar-enclosure-manager{padding:14px}.hcar-form-actions>*{width:100%}}

/* v1.4.16 enclosure display and hidden manager */
.hcar-enclosure-actions{display:flex;justify-content:flex-end;margin:0 0 16px}
.hcar-toggle-enclosure-manager{background:#2f6f4e!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:11px 18px!important;font-weight:700;cursor:pointer}
.hcar-enclosure-manager[hidden]{display:none!important}
.hcar-enclosure-overview{display:grid;gap:20px}
.hcar-enclosure-hero{display:block;width:100%;max-height:520px;aspect-ratio:16/9;object-fit:cover;border-radius:18px;background:#eef3ef}
.hcar-enclosure-hero--placeholder{display:grid;place-items:center;color:#58705f;font-weight:700}
.hcar-temperature-log .hcar-table{min-width:700px}
@media(max-width:640px){.hcar-enclosure-actions{justify-content:stretch}.hcar-toggle-enclosure-manager{width:100%}.hcar-enclosure-hero{aspect-ratio:4/3;border-radius:14px}}

/* v1.4.17 profile tabs and enclosure presentation */
.herpcharts-profile .hcar-tabs{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;overflow:visible}
.herpcharts-profile .hcar-tabs button,
.herpcharts-profile .hcar-tabs button.active{
  background:#fff!important;color:#000!important;border:2px solid #000!important;border-radius:8px!important;
  font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;box-shadow:none!important;
}
.herpcharts-profile .hcar-tabs button:hover,.herpcharts-profile .hcar-tabs button:focus{background:#f2f2f2!important}
.hcar-enclosure-overview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:20px;align-items:start}
.hcar-enclosure-hero{width:100%;aspect-ratio:3/2!important;max-height:none!important;object-fit:cover;border-radius:16px;background:#eef3ef}
.hcar-enclosure-info-card{min-width:0}.hcar-enclosure-info-card .herpcharts-profile__details-card{height:100%;margin:0}
.hcar-enclosure-overview>.hcar-assigned-items,.hcar-enclosure-overview>.hcar-temperature-log,.hcar-enclosure-overview>.hcar-empty{grid-column:1/-1}
.hcar-temperature-log .hcar-environment-form{margin:0 0 18px}
.hcar-delete-environment{color:#a00!important}
@media(max-width:900px){.herpcharts-profile .hcar-tabs{grid-template-columns:repeat(3,minmax(120px,1fr))}.hcar-enclosure-overview{grid-template-columns:1fr}}
@media(max-width:560px){.herpcharts-profile .hcar-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.herpcharts-profile .hcar-tabs button{min-width:0;padding:10px 8px!important}.hcar-enclosure-hero{border-radius:12px}}
