.hd-entry-notes { margin: 12px 0; color: #39434d; text-align: left; }
.hd-note-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.hd-note-link { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.hd-note-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; max-height: 6em; }
.hd-note-toggle { padding: 4px 0; font-weight: 600; }
.hd-note-toggle[hidden] { display: none !important; }
.hd-website-card { display: flex; flex-direction: column; border: 1px solid #dce2e6; border-radius: 8px !important; margin-top: 10px; overflow: hidden; background: #f7f9fa; color: #263746; text-decoration: none !important; }
.hd-website-card:hover, .hd-website-card:focus { border-color: #4b8ebd; background: #eef5fa; }
.hd-website-card > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 520px; object-fit: contain; background: #f3f5f7; }
.hd-website-copy { display: flex; flex-direction: column; padding: 12px; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.hd-website-copy small { color: #596670; }
.hd-website-description { font-size: 13px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.hd-website-description.hd-website-url { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-entry-detail h3 { margin-top: 0; }
.hd-entry-files img { max-height: 520px; margin: 12px auto; }
.hd-entry-photos { margin: 12px 0; }
.hd-photo-slides { display: grid; grid-template-columns: repeat(3, minmax(0, 100px)) minmax(0, 1fr); gap: 6px; }
.hd-photo-slide { display: block; position: relative; min-width: 0; overflow: hidden; background: #f2f5f6; border-radius: 4px !important; }
.hd-photo-slide[hidden] { display: none !important; }
.hd-photo-cover { grid-column: 1 / -1; }
.hd-entry-photos .hd-photo-slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; max-height: none; margin: 0; }
.hd-entry-photos .hd-photo-cover img { aspect-ratio: auto; max-height: none; }
.hd-photo-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); color: #fff; font-size: clamp(14px, 2vw, 22px); font-weight: 600; }
.hd-photo-view-all { padding: 10px 0 0; font-weight: 600; }
.hd-photo-slide:hover img { filter: brightness(.96); }
.hd-photo-slide:focus-visible { outline: 3px solid #337ab7; outline-offset: 3px; }
#blueimp-gallery > button { display: block; }
#blueimp-gallery > .prev, #blueimp-gallery > .next { padding: 0; border-radius: 50% !important; }
#blueimp-gallery > .close { background: transparent; border: 0; }
#blueimp-gallery > .play-pause { width: auto; height: auto; min-height: 44px; bottom: 24px; right: 20px; padding: 10px 16px; background: rgba(0, 0, 0, 0.65) !important; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 22px !important; font-size: 14px; opacity: 1; }
#blueimp-gallery > .play-pause::before { content: '\25b6'; margin-right: 8px; }
#blueimp-gallery.blueimp-gallery-playing > .play-pause::before { content: '\275a\275a'; }
#blueimp-gallery.blueimp-gallery-single > .prev, #blueimp-gallery.blueimp-gallery-single > .next, #blueimp-gallery.blueimp-gallery-single > .play-pause { display: none; }
#blueimp-gallery > button:focus-visible { outline: 3px solid #8cc9ff; outline-offset: 3px; }
.hd-pdf-preview { display: block; width: 100%; height: 340px; border: 1px solid #dce2e6; margin: 10px 0; }
.hd-entry-detail .hd-pdf-preview { height: 480px; }
#hd-entry-view .modal-body { max-height: 80vh; overflow-y: auto; }
#hd-entry-view .modal-title { font-size: 24px; font-weight: 700; line-height: 1.3; }
#hd-feedback iframe { width: 100%; height: 65vh; border: 0; }
.hd-sponsor-logo { display: block; max-width: 200px; max-height: 80px; object-fit: contain; margin: 5px auto 15px; }
#home_pro_widget .hd-sponsor-name, #modal-sponsor-card .sponsor-name { font-weight: 700; }
#home_pro_widget .hd-sponsor-company, #modal-sponsor-card .sponsor-company { font-size: 17px; }
#home_pro_widget address { margin: 12px 0; overflow-wrap: anywhere; }
.hd-contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
#modal-sponsor-card .modal-dialog { max-width: calc(100% - 20px); }
.hd-space-order { display: flex; gap: 6px; margin-bottom: 12px; }
.hd-entry-open:focus { outline: 2px solid #337ab7; outline-offset: 2px; }
@media (max-width: 767px) { .hd-pdf-preview { height: 260px; } #hd-entry-view .modal-dialog { margin: 10px; } }

.hd-pdf-preview { height: auto; min-height: 80px; padding: 8px; text-align: center; background: #eef1f4; }
.hd-entry-detail .hd-pdf-preview { height: auto; }
.hd-pdf-preview canvas { display: block; max-width: 100%; max-height: 420px; width: auto; height: auto; margin: 0 auto 6px; background: white; box-shadow: 0 1px 5px #ccd2d8; }
.hd-pdf-preview small { display: block; color: #52616d; }
.hd-pdf-unavailable { min-height: 0; }

.reminder-tasks .hd-entry-notes { margin-left: 40px; margin-right: 12px; }

.hd-video-player{width:100%;aspect-ratio:16/9;min-height:200px;border:0;display:block;margin:12px 0}.hd-pdf-open{cursor:pointer}.hd-pdf-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.hd-pdf-pages{overflow:auto;max-height:70vh;text-align:center}.hd-pdf-pages canvas{max-width:100%;height:auto}.hd-property-row{display:flex;align-items:center}.hd-property-row a{flex:1;padding:10px}.hd-property-row button{margin-right:10px}

.hd-tracking-form fieldset { border: 1px solid #dce2e6; padding: 14px; margin: 12px 0; border-radius: 8px; }
.hd-tracking-form legend { width: auto; border: 0; padding: 0 6px; font-size: 16px; margin-bottom: 0; }
.hd-tracking-form label,.hd-basis-form label { display: block; margin: 10px 0; font-weight: 600; }
.hd-tracking-form input[type=checkbox] { margin-right: 6px; }
.hd-tracking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hd-purchase-onboarding h4{margin:0 0 8px;font-size:18px;font-weight:600;color:#38586b}
.hd-purchase-onboarding h4 small{margin-left:8px;font-size:12px;color:#6c757d}
.hd-purchase-onboarding .hd-tracking-grid{max-width:650px;margin-top:16px}
.hd-purchase-onboarding label{display:block;font-weight:600}
.hd-purchase-onboarding .form-control{margin-top:6px;border:1px solid #b8c4cc;background:#fff;min-height:38px}
.hd-purchase-onboarding .form-control:focus{border-color:#4b83ad;box-shadow:0 0 0 2px rgba(75,131,173,.15)}
@media(max-width:480px){.hd-purchase-onboarding .hd-tracking-grid{grid-template-columns:1fr}}
.hd-tracking-form small,.hd-basis-form small { display: block; font-weight: normal; }
.hd-basis-adjustments{margin:16px 0;padding:12px;border:1px solid #dce2e6;border-radius:6px!important;background:#f8fafb}
.hd-basis-adjustments>summary{font-weight:600;cursor:pointer;color:#38586b}
.hd-basis-adjustments .form-control{border-color:#b8c4cc;background:#fff}
.hd-tracking-card { padding: 20px; border-radius: 8px !important; min-height: 300px; }
.hd-tracking-card h3 { margin: 0 0 16px; font-size: 21px; }
.hd-tracking-total { font-size: 30px; font-weight: 600; color: #255779; }
.hd-basis-breakdown { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.hd-basis-breakdown dd { text-align: right; }
.hd-tracking-list { list-style: none; padding: 0; max-height: 440px; overflow: auto; }
.hd-tracking-list li { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-bottom: 1px solid #e4e9ee; overflow-wrap: anywhere; }
.hd-tracking-list .hd-warranty-urgent { background: #fff1f0; border-left: 4px solid #b42318; color: #b42318; }
.hd-tracking-list .hd-warranty-urgent a { color: #a11912; text-decoration: underline; }
.hd-tracking-card summary,.hd-warranty-fields summary,.hd-warranty-read summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.hd-tracking-card summary::before,.hd-warranty-fields summary::before,.hd-warranty-read summary::before { content: '▸'; display: inline-block; margin-right: 7px; }
.hd-tracking-card details[open]>summary::before,.hd-warranty-fields[open]>summary::before,.hd-warranty-read[open]>summary::before { content: '▾'; }
.hd-tracking-card summary::marker,.hd-warranty-fields summary::marker,.hd-warranty-read summary::marker { content: ''; }
.hd-tracking-card summary::-webkit-details-marker,.hd-warranty-fields summary::-webkit-details-marker,.hd-warranty-read summary::-webkit-details-marker { display: none; }
.hd-basis-suggestion { padding: 12px; background: #edf5fb; border-left: 3px solid #337ab7; }
.hd-basis-suggestion[hidden] { display: none; }
.hd-tracking-badge { padding: 8px; color: #246542; background: #e9f6ed; }
.hd-warranty-read { border: 1px solid #dce2e6; border-radius: 8px; padding: 0 12px 12px; margin: 12px 0; }
.hd-warranty-results { display: block; margin-top: 12px; white-space: pre-wrap; }
.hd-tracking-form .hd-warranty-fields { margin: 12px 0; }
@media(max-width:600px) { .hd-tracking-grid { grid-template-columns: 1fr; gap: 0; } .hd-tracking-total { font-size: 25px; } }
.hd-tax-summary-link { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 0; text-decoration: underline; }
.hd-basis-register { border-radius: 8px !important; padding: 24px !important; }
.hd-basis-table th,.hd-basis-table td { vertical-align: middle !important; }
.hd-basis-table td:nth-child(2) { min-width: 170px; max-width: 420px; overflow-wrap: anywhere; }
.hd-basis-table td:nth-child(4) { white-space: nowrap; }

.hd-record-fields{margin-bottom:8px}.hd-record-fields label{display:block}.hd-record-help{font-size:12px}
#hd-basis-source label,#hd-basis-map label{display:block;margin-bottom:12px}
#hd-import-columns label{margin-bottom:12px}
#hd-import-review input[type=date]{min-width:140px}#hd-import-review select{min-width:150px}
.hd-basis-register .hd-basis-overview{max-width:600px;margin:18px 0 24px}
.hd-basis-register .hd-basis-overview dt,.hd-basis-register .hd-basis-overview dd{padding:4px 0}

.hd-entry-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #edf0f2;font-size:13px}
.hd-entry-actions .btn-link{padding:0;font-size:13px}.hd-entry-share{float:right;margin:0 0 12px 16px}.hd-space-share{margin:8px 0 14px}
.hd-sharing{max-width:1500px}.hd-sharing .portlet{padding:22px!important}.hd-share-form label,.hd-share-edit label{display:block;margin:12px 0;font-weight:600}.hd-share-form input[type=checkbox]{margin-right:8px}.hd-share-form fieldset{border:0;padding:0;min-width:0}.hd-share-permissions{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:16px}.hd-sharing small{display:block}.hd-sharing h5{font-weight:700;margin-top:24px}.hd-share-guest{max-width:650px;margin:60px auto;padding:30px!important}.hd-share-note{white-space:pre-wrap;overflow-wrap:anywhere}.hd-permission-label{display:inline-block;background:#edf3f9;color:#345a7c;padding:6px 10px;margin:4px;border-radius:4px}.hd-shared-files{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.hd-shared-files a{max-width:230px;overflow-wrap:anywhere}.hd-shared-files img{display:block;max-width:220px;max-height:180px;object-fit:contain}.hd-sharing summary{cursor:pointer;margin:14px 0;font-weight:600}.hd-sharing .hd-share-edit{max-width:760px}.hd-sharing input[type=file]{max-width:100%}
@media(max-width:700px){.hd-share-permissions{grid-template-columns:repeat(2,minmax(100px,1fr))}.hd-share-guest{margin:20px}}

.hd-entry-type-picker{margin:0 0 18px}.hd-type-help{margin:0 0 8px;color:#586775;font-size:13px;font-weight:600}.hd-entry-type-tabs{display:flex;gap:4px;border-bottom:1px solid #dbe2e8}.hd-entry-type-tabs button{flex:1;border:0;border-bottom:3px solid transparent;background:#f4f6f9;color:#49769b;padding:12px 8px;font-size:14px;cursor:pointer}.hd-entry-type-tabs button[aria-selected=true]{background:#fff;border-bottom-color:#ec8654;color:#253c4b;font-weight:700}.hd-entry-type-tabs button:hover{background:#eaf1f7}.hd-entry-type-tabs button:focus-visible{outline:2px solid #3d76a2;outline-offset:-2px}.hd-entry-type-tabs i{margin-right:5px}.hd-record-fields>label{display:block;max-width:420px}.hd-converted-reminder-date,.hd-converted-date{display:block;max-width:420px;margin:10px 0 16px}
@media(max-width:480px){.hd-entry-type-tabs{gap:2px}.hd-entry-type-tabs button{font-size:12px;padding:10px 4px}.hd-entry-type-tabs i{display:block;margin:0 0 5px}}

.hd-sidebar-toggle{display:block;width:100%;border:0;background:transparent;color:#b9bdbb;padding:8px;cursor:pointer;font-size:20px;text-align:center}
.hd-sidebar-toggle:hover,.hd-sidebar-toggle:focus-visible{background:#303532;color:#fff}
@media(min-width:992px){
 .page-sidebar-closed .page-sidebar .page-sidebar-menu.page-sidebar-menu-closed>li:hover{width:54px!important}
 .page-sidebar-closed .page-sidebar .page-sidebar-menu.page-sidebar-menu-closed>li>a{padding:16px 0;text-align:center}
 .page-sidebar-closed .page-sidebar .page-sidebar-menu.page-sidebar-menu-closed>li>a>.title{display:none!important}
}
@media(max-width:991px){.hd-sidebar-toggle{display:none}}

/* Collapsed navigation labels sit on their own opaque surface, above page content. */
@media(min-width:992px){
 .page-sidebar-closed #hd-side-menu>li{position:relative}
 .page-sidebar-closed #hd-side-menu>li>a{position:relative;overflow:visible}
 .page-sidebar-closed #hd-side-menu>li>a>i,.page-sidebar-closed #hd-side-menu>li:hover>a>i{margin:0!important}
 .page-sidebar-closed #hd-side-menu>li>a>.title{
  display:none!important;position:absolute;left:100%;top:50%;transform:translateY(-50%);
  width:max-content;max-width:220px;margin:0 0 0 8px;padding:10px 14px!important;
  background:#303532!important;color:#fff!important;border:1px solid #59615b;
  border-radius:5px;box-shadow:0 3px 10px rgba(0,0,0,.22);font-size:14px;
  line-height:1.4;text-align:left;white-space:nowrap;z-index:10001;pointer-events:none;
 }
 .page-sidebar-closed #hd-side-menu>li:hover>a>.title,
 .page-sidebar-closed #hd-side-menu>li>a:focus-visible>.title{display:block!important}
 .page-sidebar-closed #hd-side-menu>li:focus-within{z-index:10001}
}

/* Type tabs control these sections independently of form expansion. */
.hd-tracking-section[hidden]{display:none!important}

/* Give all create/edit forms a visible boundary against the page. */
.form .form-body.hd-entry-editor{background:#fff;border:1px solid #cfd5da;border-radius:8px!important;box-shadow:0 2px 7px rgba(35,50,65,.07);padding:18px}
.hd-entry-editor>.form-actions{border-top:1px solid #e0e4e8;background:#f5f6f7;padding:14px;margin-top:16px}
@media(max-width:480px){.form .form-body.hd-entry-editor{padding:12px}}

.hd-warranty-fields>summary{padding:12px 0;font-weight:600;cursor:pointer}
.hd-tracking-form .hd-basis-toggle{padding:12px 0;margin:0;cursor:pointer}
.hd-basis-fields[hidden]{display:none!important}
.hd-link-editor{clear:both;margin-bottom:10px}
.hd-link-editor[hidden],.hd-basis-eligible[hidden]{display:none!important}
.hd-website-status:empty{display:none}
.hd-entry-editor .form-actions:after{content:"";display:table;clear:both}
.hd-entry-editor .btn-set.pull-left{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.hd-record-fields{display:flex;align-items:flex-start;gap:10px}
.hd-record-fields>label{flex:1;max-width:300px}
.hd-record-info{margin-top:25px;position:relative;color:#65717c}
.hd-record-info>summary{cursor:pointer;list-style:none;font-size:17px;padding:2px}
.hd-record-info>summary::-webkit-details-marker{display:none}
.hd-record-info>p{max-width:280px;font-size:12px;line-height:1.5;margin:6px 0}
@media(max-width:600px){.hd-record-fields{flex-wrap:wrap}.hd-record-info[open]{flex-basis:100%;margin-top:0}.hd-entry-editor .btn-set.pull-right{margin-top:8px}}

.hd-purchase-entry-note[hidden]{display:none!important}

.hd-products[hidden],.hd-product-search-link[hidden]{display:none!important}
.hd-products{margin:16px 0;padding:16px;border:1px solid #dce4e8;border-radius:7px!important;background:#f8fafb}
.hd-products-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#38586b;font-size:16px}
.hd-products-heading .btn{padding:2px 0;font-size:12px}
.hd-product-search-row{display:flex;align-items:flex-end;gap:10px}
.hd-product-search-row label{flex:1;margin:0;font-size:12px;font-weight:600}
.hd-product-search-row .hd-product-quantity-label{flex:0 0 115px}
.hd-product-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hd-product-result{background:#fff;border:1px solid #e0e6ea;padding:12px;border-radius:6px!important;display:flex;flex-direction:column;gap:10px}
.hd-product-result>a{display:flex;flex-direction:column;gap:10px;flex:1;overflow-wrap:anywhere;color:#345c7a}
.hd-product-result img{height:100px;width:100%;object-fit:contain}
.hd-product-result .btn{white-space:normal}
.hd-product-selected{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;margin-bottom:12px;background:#eaf4ef;border:1px solid #c9ded3;border-radius:5px!important}
.hd-product-selected strong{flex-basis:100%;font-size:13px;overflow-wrap:anywhere}
.hd-product-selected .btn{padding:0;font-size:12px;margin-left:auto}
.hd-product-paste{margin-top:12px}.hd-product-paste summary{cursor:pointer;color:#456c8d}.hd-product-paste label{display:block;margin:10px 0}
.hd-product-search-link{display:inline-block;margin-top:12px}
.hd-affiliate-disclosure{font-size:11px;color:#64717a;margin:12px 0 0;line-height:1.5}
.hd-amazon-label{display:block;font-size:12px;margin-top:8px;color:#4a6577}
.hd-website-card.hd-amazon-card{flex-direction:row;align-items:center;gap:12px;padding:12px}
.hd-amazon-thumbnail{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 76px;width:76px;height:76px;border-radius:6px!important;background:#fff;color:#9aa8b1;font-size:26px;overflow:hidden}
.hd-amazon-thumbnail img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;margin:0;padding:4px}
.hd-amazon-thumbnail.has-image>i{display:none}
.hd-amazon-thumbnail>i{font-size:26px}
.hd-amazon-card .hd-website-copy{padding:0;gap:5px;flex:1}
.hd-amazon-card .hd-website-copy strong{font-size:14px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.hd-amazon-card .hd-website-copy>small,.hd-amazon-card .hd-website-description{display:none}
.hd-amazon-card .hd-amazon-label{margin:0;color:#286395;font-weight:600;line-height:1.5}
.hd-amazon-card:hover .hd-amazon-label{text-decoration:underline}
.reminder-tasks .hd-amazon-thumbnail{flex-basis:56px;width:56px;height:56px}
.reminder-tasks .hd-amazon-card{gap:9px;padding:9px}
@media(max-width:600px){.hd-product-search-row{flex-wrap:wrap}.hd-product-search-row>label:first-child{flex-basis:100%}.hd-product-results{grid-template-columns:1fr}}

.hd-products-search-area[hidden],.hd-products-add[hidden]{display:none!important}
.hd-products-add{padding:0;font-size:12px}

.hd-register-summary{margin-bottom:24px}
.hd-register-summary .hd-basis-settings{max-width:700px;border:1px solid #dce2e6;border-radius:6px!important;padding:14px;background:#f8fafb}
.hd-register-summary .hd-basis-settings>summary{cursor:pointer;font-weight:600;color:#38586b}
.hd-register-summary .hd-basis-settings[open]>summary{margin-bottom:12px}

.hd-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:24px 0}.hd-offer-grid>.hd-partner-offer{min-width:0;max-width:none;overflow-wrap:anywhere}@media(max-width:1100px){.hd-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.hd-offer-grid{grid-template-columns:1fr}}.hd-partner-offer{background:#fff;border:1px solid #dce4e8;border-radius:10px!important;overflow:hidden;max-width:620px}.hd-offer-image{width:100%;height:180px;object-fit:cover}.hd-offer-body{padding:24px}.hd-offer-logo{display:block;max-width:160px;max-height:50px;margin-bottom:16px}.hd-offer-partner{font-weight:600;color:#64717a}.hd-partner-offer h3{font-size:23px;line-height:1.3;margin:10px 0}.hd-partner-offer p{line-height:1.6;white-space:pre-line}.hd-offer-disclosure{display:block;margin-top:16px;font-size:12px;color:#64717a}.hd-partner-offer details{margin-top:12px}.hd-partner-offer summary{cursor:pointer}.hd-promo-code{margin-top:14px}.hd-offer-location{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.hd-offer-location label{margin:0}.hd-offer-location input{width:65px;text-transform:uppercase}.hd-offer-location small{color:#64717a}.hd-offers-empty{padding:36px!important;text-align:center;border:1px solid #e2e7ec;border-radius:8px!important}.hd-offers-empty>i{font-size:28px;color:#5a8ba5}.hd-selling-intro{padding:24px!important;margin-top:30px}.hd-selling-intro h3{margin-top:0}.hd-selling-intro p{max-width:850px;line-height:1.7}

#home_pro_widget .hd-sponsor-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
#home_pro_widget .hd-sponsor-social li { float: none; margin: 0; }
#home_pro_widget .hd-sponsor-social a { width: 24px; height: 24px; background-size: 24px auto; }
#home_pro_widget .hd-sponsor-social li:hover > a { background-position: 0 -32.5714px; }

.hd-sponsor-contact-icons{display:flex;align-items:center;gap:8px;margin-top:10px} .hd-sponsor-contact-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #dce5e8;border-radius:6px!important;background:#f6f9fa;color:#4c7587;font-size:18px;text-decoration:none!important}.hd-sponsor-contact-icon:hover,.hd-sponsor-contact-icon:focus{background:#e8f1f4;color:#234e61;border-color:#9ebbc7}.hd-sponsor-contact-icon:focus-visible{outline:2px solid #337ab7;outline-offset:2px}#modal-sponsor-card .hd-sponsor-contact-icons{justify-content:center}

#home_pro_widget .hd-sponsor-social{gap:4px;margin-left:-8px;margin-right:-8px}#home_pro_widget .hd-sponsor-social .hd-contact-save-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:3px!important;background:#d0d0d0;color:#fff;font-size:16px;text-indent:0;cursor:pointer}#home_pro_widget .hd-contact-save-icon:hover,#home_pro_widget .hd-contact-save-icon:focus{background:#527a8a}#home_pro_widget .hd-contact-save-icon:focus-visible{outline:2px solid #337ab7;outline-offset:2px}

/* Display the supplied artwork cropped before the PRO badge (original kept intact). */
.page-header.navbar .page-logo .hd-brand-logo{display:block;width:170px;height:32px;margin-top:16px;background-color:transparent;background-image:url('/img/homediary-logo-canva-v3.png');background-repeat:no-repeat;background-size:contain;background-position:center;border-radius:3px!important;flex-shrink:0}
@media(max-width:767px){.page-header.navbar .page-logo .hd-brand-logo{width:140px;height:26px;margin-top:10px;background-size:175.4px 58.47px;background-position:-4.2px -18.6px}}
@media(min-width:768px){.page-header.navbar .page-logo,.page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .page-logo{width:210px;padding-left:20px;padding-right:20px}}
/* Compact brand uses only the house artwork when the sidebar is collapsed. */
@media(min-width:768px){
 .page-sidebar-closed .page-header.navbar .page-logo{width:54px!important;padding-left:7px!important;padding-right:7px!important}
 .page-sidebar-closed .page-header.navbar .page-logo .hd-brand-logo{width:36px;height:38px;margin-top:15px;background-size:270px 90px;background-position:-6px -28.8px}
}
/* YouTube thumbnails include 4:3 padding; show the centered widescreen image. */
.hd-website-card.hd-video-play > img{aspect-ratio:16/9;object-fit:cover;object-position:center;max-height:none}
.hd-video-player{min-height:0;height:auto;aspect-ratio:16/9}

/* Timeline: keep descriptions beside their gallery, with actions below both. */
.hd-timeline-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.hd-timeline-with-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); }
.hd-timeline-copy, .hd-timeline-media { min-width: 0; overflow-wrap: anywhere; }
.hd-timeline-media .hd-entry-photos { margin: 0; }
.timeline-body-content .hd-timeline-media .hd-photo-slide img { width: 100% !important; height: auto !important; max-height: none; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 767px) {
    .hd-timeline-with-photos { grid-template-columns: minmax(0, 1fr); }
}

/* Handoff choices stay beside their native or Uniform checkboxes. */
#handoff-records-form .hd-handoff-check { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
#handoff-records-form .hd-handoff-check input[type=checkbox] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; }
#handoff-records-form .hd-handoff-check .checker { flex: 0 0 auto; margin: 0; }
.hd-handoff-spaces { margin: 24px 0; }
.hd-handoff-option { padding: 16px 0; border-bottom: 1px solid #e3e9ee; }
.hd-handoff-option > p { margin: 8px 0 0 28px; }
.hd-handoff-plan-list { margin-left: 28px; }
.hd-handoff-plan-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }

/* Photo collections lead the card; only inventory uses a side-by-side square. */
.hd-timeline-gallery { gap: 12px; }
.timeline-body-content .hd-timeline-gallery .hd-photo-cover img { aspect-ratio: auto; max-height: none; object-fit: contain; }
.timeline-body-content .hd-timeline-with-photos .hd-photo-cover img { aspect-ratio: 1; object-fit: contain; }

/* Keep the Home/Personal choice alongside tax basis; stack within narrow forms. */
.hd-entry-classification-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 24px;margin:12px 0}
.hd-entry-classification-row>.hd-tracking-section{flex:0 0 auto;margin:0;padding-top:18px}
.hd-entry-classification-row>.hd-tracking-section>.col-sm-12{padding:0}
.hd-entry-classification-row>.hd-record-scope-section{flex:1 1 260px;min-width:0;max-width:380px}
.hd-entry-classification-row .hd-record-fields{margin-bottom:0}
@media(max-width:600px){.hd-entry-classification-row{flex-direction:column;gap:8px}.hd-entry-classification-row>.hd-tracking-section{padding-top:0}.hd-entry-classification-row>.hd-record-scope-section{flex:auto;width:100%}}

.hd-entry-photos .hd-photo-slide:not(.hd-photo-cover) img,.timeline-body-content .hd-timeline-media .hd-photo-slide:not(.hd-photo-cover) img{aspect-ratio:4/3;object-fit:cover}
.hd-photo-slide:not(.hd-photo-cover) .hd-photo-more{font-size:13px}

.hd-reminder-details summary{cursor:pointer;color:#337ab7;font-weight:600;padding:4px 0;font-size:12px}
.hd-reminder-details .hd-see-less,.hd-reminder-details[open] .hd-see-more{display:none}
.hd-reminder-details[open] .hd-see-less{display:inline}
.hd-reminder-details .hd-note-text{margin-top:6px}

#reminder_widget .task-checkbox{width:26px;min-width:26px;padding-top:2px}#reminder_widget .task-checkbox input[type=checkbox],.hd-reminder-title-checkbox{width:16px;height:16px;vertical-align:middle;margin-right:8px;cursor:pointer}

.hd-reminder-detail-actions{display:grid;margin:4px 12px 0 26px;align-items:start}
.reminder-tasks .hd-reminder-detail-actions .hd-entry-notes{grid-area:1/1;margin:0;min-width:0}
.hd-reminder-detail-actions .hd-reminder-details>summary{width:max-content;max-width:100%;padding:4px 0}
.hd-reminder-detail-actions .hd-reminder-edit-visible{grid-area:1/1;justify-self:start;align-self:start;margin:0;padding:4px 0;font-size:12px;line-height:normal}
.hd-reminder-detail-actions .hd-reminder-details+.hd-reminder-edit-visible{margin-left:100px}
