/* HoriHomi referral surfaces. Scoped to the new components. */
.hh-ref-ui,.hh-ref-hero,.hh-ref-inventory,.hh-ref-report,.hh-ref-details,.hh-ref-share{--ref-ink:#10251f;--ref-muted:#52665f;--ref-green:#073e36;--ref-mint:#bfecdc;--ref-lime:#d9f04d;--ref-line:#dfe8e3;color:var(--ref-ink);font-family:inherit;line-height:1.5}
:is(.hh-ref-ui,.hh-ref-hero,.hh-ref-inventory,.hh-ref-report,.hh-ref-details,.hh-ref-share) *{box-sizing:border-box}
:is(.hh-ref-ui,.hh-ref-share,.hh-ref-details) [hidden]{display:none!important}
:is(.hh-ref-ui,.hh-ref-share,.hh-ref-details,.hh-ref-report) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #0c8070;outline-offset:3px}
.hh-ref-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1.6;color:#386459;margin-bottom:9px}
.hh-ref-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hh-ref-button,.sskpos-seller-app.hh-express .hh-ref-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:11px 16px;border:1px solid transparent;border-radius:11px;box-shadow:none;font:inherit;font-size:13px;font-weight:750;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;cursor:pointer;touch-action:manipulation}
.hh-ref-button svg{flex:0 0 20px}
.hh-ref-button-primary,.sskpos-seller-app.hh-express .hh-ref-button-primary{background:var(--ref-green,#073e36);color:#fff;border-color:var(--ref-green,#073e36)}
.hh-ref-button-primary:hover,.sskpos-seller-app.hh-express .hh-ref-button-primary:hover{background:#075a4d;color:#fff}
.hh-ref-button-secondary,.sskpos-seller-app.hh-express .hh-ref-button-secondary{background:#fff;color:var(--ref-green,#073e36);border-color:#b7cec3}
.hh-ref-button-secondary:hover,.sskpos-seller-app.hh-express .hh-ref-button-secondary:hover{background:#e8f8f0;color:#073e36}
.hh-ref-button:disabled,.sskpos-seller-app.hh-express .hh-ref-button:disabled{background:#ebefed;color:#66756e;border-color:#d8e1dc;cursor:wait}
.hh-ref-share{min-width:0}
.hh-ref-feedback{font-size:12px;margin:8px 0 0;min-height:0;overflow-wrap:anywhere;color:#385e51}
.hh-ref-feedback:empty{display:none}
.hh-ref-copy-manual{display:block;font-size:12px;font-weight:650;margin-top:9px}
.hh-ref-copy-manual input,.hh-ref-own-check input{display:block;width:100%;margin-top:6px;min-height:44px;border:1px solid #9dbcae;border-radius:9px;padding:9px 11px;background:#fff;color:#173c2f;font:inherit;font-size:13px}
.hh-ref-text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#073e36;font-size:13px;font-weight:750;text-underline-offset:4px;text-decoration:underline}
.hh-ref-muted{font-size:12px;color:var(--ref-muted,#52665f);overflow-wrap:anywhere}
.hh-ref-hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(190px,.8fr);gap:34px;align-items:center;padding:30px 34px;background:var(--ref-mint);border:1px solid #acdcca;border-radius:19px;position:relative;overflow:hidden}
.hh-ref-hero-copy{position:relative;min-width:0;max-width:700px}
.sskpos-seller-app.hh-express .hh-ref-hero h2{font-size:clamp(25px,2.8vw,38px);line-height:1.15;letter-spacing:-.045em;margin:0 0 12px;max-width:560px;color:#073e36}
.hh-ref-hero-copy>p{font-size:14px;margin:0 0 22px;max-width:565px;color:#254d40}
.hh-ref-hero .hh-ref-button-primary{background:var(--ref-lime);border-color:#c8df36;color:#173326}
.sskpos-seller-app.hh-express .hh-ref-hero .hh-ref-button-primary{background:var(--hh-accent);border-color:transparent;color:#231c17}
.hh-ref-hero .hh-ref-button-primary:hover{background:#e4f779;color:#173326}
.hh-ref-hero .hh-ref-button-secondary{background:#ffffff8c;border-color:#95c8b2}
.hh-ref-window{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0;padding:20px 6px;color:#073e36}
.hh-ref-window::before{content:"";position:absolute;width:175px;height:175px;border:1px solid #7ebba3;border-radius:50%;top:8px;left:50%;transform:translateX(-50%);pointer-events:none;opacity:.5}
.hh-ref-window-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#e8f9ae;border:1px solid #bfdd70;border-radius:50%;z-index:1;margin:-7px 0 5px}
.hh-ref-window>strong{font-size:72px;font-weight:800;letter-spacing:-.07em;line-height:1.05;z-index:1}
.hh-ref-window>strong>span{display:block;font-size:17px;letter-spacing:-.02em}
.hh-ref-window.is-owner>strong{font-size:56px}
.hh-ref-window p{font-size:12px;max-width:220px;margin:20px 0 15px;z-index:1}
.hh-ref-mini-badge{display:block;font-size:10px;font-weight:650;line-height:1.6;border:1px solid #9bceb9;border-radius:8px;padding:5px 9px;background:#d6f2e6}
.hh-ref-details{min-width:0;border:1px solid var(--ref-line);border-radius:13px;background:#fff;overflow:hidden}
.hh-ref-details>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;padding:14px 18px;cursor:pointer;font-size:13px;font-weight:750;list-style:none;color:#173c2f}
.hh-ref-details>summary::-webkit-details-marker{display:none}
.hh-ref-details>summary::after{content:"+";flex:0 0 22px;font-size:20px;line-height:1;text-align:center;font-weight:400}
.hh-ref-details[open]>summary::after{content:"−"}
.hh-ref-details[open]>summary{border-bottom:1px solid #e4ede7;background:#f8fbf9}
.hh-ref-detail-body{padding:16px 18px;min-width:0}
.hh-ref-detail-body>p{margin:0 0 14px;font-size:13px}
.hh-ref-verified{display:flex;gap:12px;align-items:flex-start;margin:0 0 15px}
.hh-ref-verified>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#dff5e9;color:#07503b;font-size:19px}
.hh-ref-verified strong{display:block;font-size:14px}
.hh-ref-verified p{font-size:12px;margin:3px 0 0;color:#52665f}
.hh-ref-own-check label{display:block;font-size:12px;font-weight:650}
.hh-ref-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 16px}
.sskpos-seller-app.hh-express .hh-ref-section-head h2{margin:0 0 5px;font-size:21px;letter-spacing:-.025em}
.hh-ref-section-head p{margin:0;font-size:13px;color:#52665f}
.hh-ref-private{display:inline-flex;padding:7px 11px;font-size:11px;font-weight:650;color:#37604f;background:#e7f4ec;border-radius:8px}
.hh-ref-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:17px}
.hh-ref-metric{border:1px solid #dbe8df;border-radius:13px;padding:17px;background:#fff;min-width:0}
.hh-ref-metric:nth-child(2){background:#e8f6ef;border-color:#bedcc9}
.hh-ref-metric>span,.hh-ref-metric>small{display:block;font-size:11px;color:#4f685b}
.hh-ref-metric>strong{display:block;font-size:clamp(20px,2.1vw,30px);line-height:1.25;margin:9px 0 8px;letter-spacing:-.04em;overflow-wrap:anywhere}
.hh-ref-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:0 0 18px;max-width:100%}
.hh-ref-filters label{display:block;min-width:0;flex:1 1 180px;max-width:340px;font-size:12px;font-weight:650}
.hh-ref-filters input,.hh-ref-filters select,.hh-ref-form input,.hh-ref-form textarea,.hh-ref-form select{display:block;width:100%;min-height:44px;margin:5px 0 0;padding:9px 11px;border:1px solid #b6cbc0;border-radius:9px;box-shadow:none;background:#fff;color:#10251f;font:inherit;font-size:14px}
.hh-ref-orders{display:grid;gap:12px}
.hh-ref-order{min-width:0;border:1px solid #dce7df;border-radius:15px;background:#fff;padding:20px}
.hh-ref-order>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.hh-ref-order>header .hh-ref-kicker{margin-bottom:3px;font-size:9px}
.sskpos-seller-app.hh-express .hh-ref-order h3,.hh-ref-order h3{font-size:20px;letter-spacing:-.03em;margin:0 0 4px;color:#10251f}
.hh-ref-order>header p{margin:0;font-size:11px;color:#52665f}
.hh-ref-badge{display:inline-flex;align-items:center;max-width:100%;padding:6px 10px;background:#edf1ef;border:1px solid #d6e0da;border-radius:7px;font-size:11px;font-weight:700;line-height:1.5;color:#345547;overflow-wrap:anywhere}
.hh-ref-badge:is([data-status=payable],[data-status=paid]){background:#e0f4e7;border-color:#b2d7c0;color:#185a39}
.hh-ref-badge:is([data-status=disputed],[data-status=recovery]){background:#fff0e9;border-color:#e6c2af;color:#8c3a28}
.hh-ref-order-amounts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:0 0 15px}
.hh-ref-order-amounts>div{min-width:0}
.hh-ref-order-amounts dt{font-size:11px;line-height:1.45;color:#52665f;margin:0 0 5px}
.hh-ref-order-amounts dd{font-size:18px;line-height:1.3;letter-spacing:-.025em;font-weight:750;overflow-wrap:anywhere;margin:0}
.hh-ref-reasons{list-style:none;margin:0 0 15px;padding:10px 13px;border-left:3px solid #dbb655;background:#fff9e9;border-radius:0 8px 8px 0;font-size:12px;color:#6a5427}
.hh-ref-reasons li+li{margin-top:5px}
.hh-ref-order .hh-ref-details{background:#f8fbf9;border-color:#e1eae4}
.hh-ref-order .hh-ref-details>summary{min-height:44px;font-size:12px;padding:11px 13px}
.hh-ref-lines{list-style:none;padding:0;margin:0 0 18px}
.hh-ref-lines li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e2eae5;font-size:12px}
.hh-ref-lines li>div{min-width:0}
.hh-ref-lines :is(strong,small){display:block;overflow-wrap:anywhere}
.hh-ref-lines li>div>span,.hh-ref-lines small{display:block;color:#52665f;font-size:11px;margin-top:3px}
.hh-ref-lines li>span{white-space:nowrap;font-weight:700}
.hh-ref-facts{display:flex;gap:15px;flex-wrap:wrap;margin:0 0 15px;font-size:12px}
.hh-ref-facts>div{flex:1 1 160px}
.hh-ref-facts dt{color:#52665f;margin:0 0 4px}
.hh-ref-facts dd{margin:0;font-weight:700}
.hh-ref-history{list-style:none;margin:15px 0 0;padding:0 0 0 14px;border-left:2px solid #bdd8c9}
.hh-ref-history li{position:relative;display:flex;gap:7px;flex-wrap:wrap;align-items:baseline;padding:0 0 15px;font-size:12px}
.hh-ref-history li:last-child{padding-bottom:0}
.hh-ref-history li::before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#5b987a;left:-19px;top:5px}
.hh-ref-history time{color:#52665f;font-size:11px}
.hh-ref-history p{flex:0 0 100%;margin:0;color:#52665f;overflow-wrap:anywhere}
.hh-ref-empty{padding:34px 22px;text-align:center;border:1px dashed #b9d6c6;border-radius:15px;background:linear-gradient(145deg,#f0f8f3,#fff)}
.hh-ref-empty-icon{display:flex;width:48px;height:48px;align-items:center;justify-content:center;margin:0 auto 13px;background:#d9f2e5;border-radius:15px;color:#07503b}
.hh-ref-empty h3,.hh-ref-empty h2{font-size:18px;margin:0 0 8px}
.hh-ref-empty p{font-size:13px;max-width:540px;margin:0 auto 10px;color:#52665f}
.hh-ref-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:16px 0 0;font-size:12px}
.hh-ref-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}
.hh-ref-guide-grid>div{min-width:0}
.hh-ref-guide-grid>div>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#e4f3eb;color:#245541;font-size:11px;font-weight:750;margin:0 0 11px}
.sskpos-seller-app.hh-express .hh-ref-guide-grid h3{font-size:13px;margin:0 0 8px}
.hh-ref-guide-grid p{margin:0;font-size:12px;color:#52665f}
.hh-ref-guide-note{grid-column:1/-1;padding-top:13px;border-top:1px solid #e1ebe5}
.hh-ref-inventory{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:20px 23px;background:#e1f5eb;border:1px solid #c7e4d6;border-radius:14px}
.hh-ref-notice{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px 18px;margin:0 0 16px;border:1px solid #c5dfce;border-radius:13px;background:#edf7ef}.hh-ref-notice-icon{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:11px;background:#d9edc5;color:#174832;flex:0 0 37px}.hh-ref-notice>div{flex:1 1 220px;min-width:0}.hh-ref-notice strong{font-size:13px}.hh-ref-notice p{font-size:12px;color:#52665f;margin:4px 0 0}.hh-ref-notice form{margin:0}
.hh-ref-inventory>div:first-child{flex:1 1 240px;min-width:0}
.hh-ref-inventory .hh-ref-kicker{font-size:9px;margin-bottom:5px}
.sskpos-seller-app.hh-express .hh-ref-inventory h3{font-size:19px;letter-spacing:-.025em;margin:0 0 6px}
.hh-ref-inventory p{font-size:12px;margin:0;color:#52665f}
.hh-ref-inventory .hh-ref-text-link{font-size:12px;margin-top:3px}
.sskpos-product-actions>.hh-ref-share{flex:1 1 100%;width:100%;padding-top:5px}
.sskpos-product-actions>.hh-ref-share .hh-ref-button{min-height:44px;font-size:12px;padding:9px 12px}
.hh-ref-public{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:20px 0;padding:18px 20px;border:1px solid #cde5d8;border-radius:14px;background:#edf8f1;clear:both;text-align:left}
.hh-ref-public>div:first-child{flex:1 1 180px;min-width:0}
.hh-ref-public .hh-ref-kicker{font-size:9px;margin:0 0 5px}
.hh-ref-public h3{font-size:18px;line-height:1.3;margin:0 0 6px;color:#073e36}
.hh-ref-public p{font-size:12px;line-height:1.5;margin:0;color:#52665f}
.hh-ref-public .hh-ref-feedback{margin-top:8px}
.hh-ref-home-share{max-width:1200px;margin:0 auto;padding:0 20px}
.hh-ref-consent{position:fixed;bottom:16px;left:16px;right:16px;z-index:9999;display:flex;align-items:center;flex-wrap:wrap;gap:14px;max-width:980px;margin:0 auto;padding:19px 22px;background:#fff;border:1px solid #b9d8c6;border-radius:16px;box-shadow:0 10px 48px #153d3026;text-align:left}
.hh-ref-consent>div:first-child{flex:1 1 350px;min-width:0}
.hh-ref-consent strong{font-size:14px;color:#103e2d}
.hh-ref-consent p{font-size:12px;line-height:1.6;margin:5px 0;color:#52665f}
.hh-ref-consent a{font-size:12px;color:#07563e;text-decoration:underline;text-underline-offset:3px}
.hh-ref-consent[data-state=active]{position:relative;bottom:auto;left:auto;right:auto;margin:16px auto;box-shadow:none;border-radius:12px;background:#f1f9f4}
.hh-ref-consent[data-state=declined]{position:relative;bottom:auto;left:auto;right:auto;margin:16px auto;box-shadow:none;border-radius:12px;background:#f7f9f8}
.hh-ref-consent[data-state=inactive]{position:relative;bottom:auto;left:auto;right:auto;margin:16px auto;box-shadow:none;border-radius:12px;background:#fff8ed}
.hh-ref-consent[data-state=expired],.hh-ref-consent[data-state=withdrawn]{position:relative;bottom:auto;left:auto;right:auto;margin:16px auto;box-shadow:none;border-radius:12px;background:#f7f9f8}
.hh-ref-consent[data-state=active] .hh-ref-button{font-size:12px}
.hh-ref-error{padding:13px 16px;border:1px solid #e3c4b8;border-radius:10px;background:#fff1ec;color:#8d392a;font-size:13px;overflow-wrap:anywhere}
.hh-ref-admin{max-width:1180px;margin-top:24px;padding-right:16px}
.hh-ref-admin h1{font-size:30px;font-weight:750;letter-spacing:-.035em;padding:0;margin:0 0 10px}
.hh-ref-admin-heading{margin-bottom:25px}
.hh-ref-admin-heading p{font-size:14px;color:#52665f}
.hh-ref-admin .e-notice__content{min-width:0;max-width:100%}.hh-ref-admin .e-notice__actions{flex-wrap:wrap}.hh-ref-admin .e-notice__actions a{max-width:100%;white-space:normal}
.hh-ref-party+.hh-ref-party{border-top:1px solid #dce8e0;padding-top:12px;margin-top:12px}.hh-ref-party>strong{display:block;font-size:13px;margin-bottom:10px}
.hh-ref-admin-actions{border-top:1px solid #e0e9e3;padding-top:20px;margin-top:20px}
.hh-ref-admin-actions>.hh-ref-details{margin-top:10px}
.hh-ref-provider{margin-bottom:18px;background:#f6fbf8;border-color:#bcd9c9}
.hh-ref-provider h2{font-size:22px;line-height:1.25;letter-spacing:-.025em;margin:0 0 6px;color:#123e2e}
.hh-ref-provider-intro{max-width:780px;font-size:13px;color:#426352;margin:0 0 18px}
.hh-ref-provider-item{background:#fff;border:1px solid #d6e5dc;border-radius:12px;padding:18px;margin-top:14px;min-width:0}
.hh-ref-provider-item>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.hh-ref-provider-item>header p{font-size:12px;margin:4px 0 0;overflow-wrap:anywhere}
.hh-ref-provider-item h3{font-size:17px}
.hh-ref-provider-item :is(code,dd){overflow-wrap:anywhere;word-break:break-word}
.hh-ref-provider-item>.hh-ref-details{margin-top:9px}
.hh-ref-provider .hh-ref-details p{font-size:12px;color:#52665f}
@media(max-width:600px){.hh-ref-provider-item{padding:13px}.hh-ref-provider h2{font-size:20px}}
.hh-ref-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.hh-ref-form label{display:block;font-size:12px;font-weight:650;min-width:0}
.hh-ref-form>button{justify-self:start}
.hh-ref-form .hh-ref-muted{grid-column:1/-1;margin:0}
.hh-ref-dispute-loss{grid-column:1/-1;border:1px solid #e3c9ae;border-radius:10px;padding:15px;background:#fff9ef;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;min-width:0}.hh-ref-dispute-loss legend{font-size:12px;font-weight:700;color:#715126;padding:0 5px}.hh-ref-form code{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:1050px){.hh-ref-hero{gap:15px;padding:25px}.hh-ref-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hh-ref-order-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hh-ref-hero{grid-template-columns:minmax(0,1fr);padding:23px 20px;gap:20px}.hh-ref-hero-copy>p{font-size:13px;margin-bottom:19px}.hh-ref-window{display:grid;grid-template-columns:63px minmax(0,1fr);column-gap:15px;align-items:center;padding:17px 0 0;border-top:1px solid #9fceb9;text-align:left}.hh-ref-window::before,.hh-ref-window-mark{display:none}.hh-ref-window>strong{grid-column:1;grid-row:1;font-size:44px;text-align:center}.hh-ref-window>strong>span{font-size:12px}.hh-ref-window p{grid-column:2;grid-row:1;font-size:11px;margin:0;max-width:none}.hh-ref-mini-badge{grid-column:1/-1;margin-top:15px;text-align:center;font-size:9px}.hh-ref-hero .hh-ref-actions{display:grid;grid-template-columns:1fr}.hh-ref-hero .hh-ref-button{width:100%}.hh-ref-metrics{grid-template-columns:1fr;gap:9px}.hh-ref-metric{display:grid;grid-template-columns:1fr auto;column-gap:10px;padding:14px}.hh-ref-metric>strong{grid-column:2;grid-row:1/3;font-size:23px;margin:0;align-self:center}.hh-ref-metric>small{margin-top:4px;font-size:10px}.hh-ref-order{padding:17px 14px}.hh-ref-order-amounts{gap:13px}.hh-ref-order-amounts dd{font-size:17px}.hh-ref-order-amounts dt{font-size:10px}.hh-ref-guide-grid{grid-template-columns:1fr;gap:20px}.hh-ref-inventory{padding:18px}.hh-ref-inventory>.hh-ref-share{width:100%}.hh-ref-inventory .hh-ref-actions{display:grid;grid-template-columns:1fr}.hh-ref-filters label{max-width:none}.hh-ref-filters>.hh-ref-button{flex:1 1 auto}.hh-ref-consent{bottom:10px;left:10px;right:10px;padding:16px;gap:11px;max-height:calc(100dvh - 30px);overflow-y:auto}.hh-ref-consent>.hh-ref-actions{width:100%;display:grid;grid-template-columns:1fr}.hh-ref-consent[data-state=active]{margin:12px}.hh-ref-public{padding:16px;gap:14px}.hh-ref-public .hh-ref-share{width:100%}.hh-ref-public .hh-ref-actions{display:grid;grid-template-columns:1fr}.hh-ref-form{grid-template-columns:1fr}.hh-ref-form>button{width:100%}.hh-ref-detail-body{padding:14px}.hh-ref-details>summary{padding:13px 14px}.hh-ref-admin{padding-right:8px}.hh-ref-admin h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.hh-ref-button{transition:none}}
@media(max-width:600px){.hh-ref-dispute-loss{grid-template-columns:1fr}}
/* Preserve the optional-address accessible label without the theme's full-width overflow. */
.woocommerce-checkout .form-row label.screen-reader-text{position:absolute!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;border:0!important}
