/* 1.11 — owned service identity, uses the panel's light/dark brand tokens. */
body.hyrca-theme .hyrca-identity [hidden], body.hyrca-theme [data-identity-original][hidden] { display:none!important; }
.hyrca-active-services { margin:28px 0; }
.hyrca-active-services__heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
body.hyrca-theme .hyrca-active-services__heading h2 { margin:4px 0 6px; font-size:24px; }
.hyrca-active-services__heading p { color:var(--hy-muted); font-size:13px; margin:0; }
.hyrca-active-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:20px; }
.hyrca-active-card { display:flex; flex-direction:column; min-width:0; background:var(--hy-surface); border:1px solid var(--hy-border); border-radius:24px; padding:24px; box-shadow:var(--hy-shadow); position:relative; isolation:isolate; }
.hyrca-active-card::before { content:""; position:absolute; top:0; inset-inline:24px; height:2px; background:linear-gradient(90deg,transparent,var(--hy-gold-line),transparent); }
.hyrca-active-card__top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.hyrca-active-mark { display:grid; place-items:center; width:48px; height:48px; background:var(--hy-gold-soft); color:var(--hy-accent); border-radius:16px; }
.hyrca-active-mark svg { width:27px; height:27px; }
.hyrca-active-status { display:inline-flex; gap:7px; align-items:center; color:var(--hy-accent); background:var(--hy-accent-softer,var(--hy-raised)); border-radius:99px; padding:6px 10px; font-size:12px; }
.hyrca-active-status > span { width:6px; height:6px; border-radius:50%; background:currentColor; }
body.hyrca-theme .hyrca-active-card h3 { color:var(--hy-text); font-size:21px; font-weight:700; line-height:1.7; margin:0; overflow-wrap:anywhere; }
.hyrca-identity-original, .hyrca-active-domain { color:var(--hy-muted); font-size:12px; line-height:1.9; margin:4px 0 0; overflow-wrap:anywhere; }
.hyrca-active-domain { font-size:13px; }
.hyrca-identity { margin-top:18px; min-width:0; color:var(--hy-text); }
.hyrca-identity-ip { display:flex; align-items:center; gap:12px; min-width:0; background:var(--hy-gold-soft); border:1px solid var(--hy-border); border-radius:16px; padding:12px; }
.hyrca-identity-ip__icon { display:grid; place-items:center; width:32px; height:32px; color:var(--hy-gold-ink); flex-shrink:0; }
.hyrca-identity-ip__icon svg { width:22px; height:22px; }
.hyrca-identity-ip__value { min-width:0; flex:1; display:flex; flex-direction:column; gap:4px; }
.hyrca-identity-ip__value small { font-size:11px; color:var(--hy-muted); }
.hyrca-identity-ip__value bdi { font-family:"Segoe UI",Arial,sans-serif; font-size:16px; font-weight:600; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; text-align:right; }
.hyrca-identity-ip.is-pending .hyrca-identity-ip__value > span { font-size:12px; color:var(--hy-muted); }
body.hyrca-theme .hyrca-identity-copy { display:grid; place-items:center; min-width:44px; height:44px; padding:10px; border-radius:12px; background:var(--hy-surface); border:1px solid var(--hy-border); color:var(--hy-accent); cursor:pointer; flex-shrink:0; transition:background .18s,transform .18s; }
.hyrca-identity-copy svg { width:20px; height:20px; }
.hyrca-identity-copy:active { transform:scale(.94); }
.hyrca-identity-copy.is-copied { background:var(--hy-accent-softer,var(--hy-raised)); }
.hyrca-identity-editor { margin-top:8px; }
.hyrca-identity-editor > summary { display:flex; align-items:center; gap:8px; min-height:44px; width:fit-content; padding:8px 4px; color:var(--hy-gold-ink); font-size:12px; font-weight:500; cursor:pointer; list-style:none; border-radius:6px; }
.hyrca-identity-editor > summary::-webkit-details-marker { display:none; }
.hyrca-identity-editor > summary svg { width:17px; height:17px; }
.hyrca-identity-editor[open] > summary { color:var(--hy-accent); }
.hyrca-identity-form { padding:16px; background:var(--hy-raised); border:1px solid var(--hy-border); border-radius:16px; margin-top:2px; animation:hyrcaIdentityEnter .2s ease-out; }
body.hyrca-theme .hyrca-identity-form label { display:block; color:var(--hy-text); font-size:13px; margin:0 0 8px; }
body.hyrca-theme .hyrca-identity-form .form-control { width:100%; min-width:0; min-height:46px; font-size:16px; border-radius:12px; background:var(--hy-surface); color:var(--hy-text); }
.hyrca-identity-hint { font-size:11px; line-height:1.9; color:var(--hy-muted); margin:8px 0; }
.hyrca-identity-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
body.hyrca-theme .hyrca-identity-actions .btn { min-height:44px; padding:9px 14px; font-size:12px; display:inline-flex; width:auto; margin:0; }
.hyrca-identity-feedback, .hyrca-identity-notice { font-size:12px; line-height:1.9; margin:0; color:var(--hy-accent); }
.hyrca-identity-feedback:not(:empty) { margin:8px 0; }
.hyrca-identity-feedback.is-error { color:#a53933; }
html[data-theme="dark"] .hyrca-identity-feedback.is-error { color:#ffb3a9; }
.hyrca-identity-notice:empty { display:none; }
.hyrca-active-manage { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:16px; margin-top:auto; border-top:1px solid var(--hy-border); font-weight:600; font-size:13px; color:var(--hy-accent); min-height:52px; }
.hyrca-active-manage svg { width:19px; height:19px; transition:transform .2s; }
.hyrca-active-card > .hyrca-identity { margin-bottom:12px; }
.hyrca-svc-hero .hyrca-identity { max-width:480px; }
.hyrca-identity :is(summary,button,input):focus-visible, .hyrca-active-manage:focus-visible { outline:2px solid var(--hy-accent); outline-offset:4px; }
@media(hover:hover) { .hyrca-identity-copy:hover { background:var(--hy-raised); } .hyrca-active-manage:hover svg { transform:translateX(-4px); } }
@media(max-width:767px) { .hyrca-active-grid { grid-template-columns:minmax(0,1fr); } .hyrca-active-card { padding:20px; } .hyrca-active-services__heading { align-items:start; } body.hyrca-theme .hyrca-active-services__heading h2 { font-size:20px; } .hyrca-active-services__heading .hyrca-panel-link { font-size:12px; flex-shrink:0; margin-top:24px; } }
@keyframes hyrcaIdentityEnter { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .hyrca-identity-form { animation:none; } .hyrca-identity-copy,.hyrca-active-manage svg { transition:none; } }
