/* Shared compact presentation of the native product demos.
   Individual renderers own their layout; these hooks only normalize small marks. */
:is(.titl-product-page,.titl-demo-presentation){
 --demo-inset:16px;
 --demo-identity-size:20px;
 --demo-mark-ink:#202124;
 --demo-muted-ink:#62666b;
 --record-color:#aeb3b8;
 --record-ink:#202124;
 --record-soft:#f1f3f5;
}
.titl-demo-presentation{
 --titl-ui-text:#202124;
 --titl-ui-muted:#62666b;
 --titl-ui-accent:#202124;
 --titl-success:#00a86b;
 --titl-success-text:#008653;
 --demo-cyan:oklch(79.081% .132899 222.4375);
 --demo-green:oklch(75.6969% .182309 156.3751);
 --demo-pink:oklch(68.7772% .199961 352.6628);
 --demo-sky:oklch(70.4736% .158727 252.3506);
 --demo-yellow:oklch(87.3003% .178613 92.2265);
 --demo-coral:oklch(68.1004% .207389 24.5066);
 font-family:Inter,Arial,sans-serif;
 color:var(--demo-mark-ink);
}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind="deed"]{--record-color:var(--demo-cyan);--record-ink:#202124}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind="mortgage"]{--record-color:var(--demo-green);--record-ink:#006b43}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind="assignment"]{--record-color:var(--demo-pink);--record-ink:#a52963}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind="release"]{--record-color:var(--demo-sky);--record-ink:#202124}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind="lien"]{--record-color:var(--demo-yellow);--record-ink:#6b5100}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind="judgment"]{--record-color:var(--demo-coral);--record-ink:#b52a36}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind="other"]{--record-color:#aeb3b8;--record-ink:#202124}
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind]{--record-soft:color-mix(in oklch,var(--record-color) 16%,white)}

:is(.titl-product-page,.titl-demo-presentation) [data-demo-marker]{position:relative;padding-inline-start:13px}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-marker]::before{content:"";position:absolute;inset-inline-start:0;top:calc(.5em - .5px);width:6px;height:6px;border-radius:50%;background:var(--record-color)}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-value]{display:inline-block;max-width:100%;padding:2px 6px;border-radius:4px;background:var(--record-soft);color:var(--record-ink);font-size:12px;line-height:18px;overflow-wrap:anywhere;box-decoration-break:clone}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-identity],
:is(.titl-product-page,.titl-demo-presentation) [data-record-kind] :is(svg,img)[data-demo-identity],
.titl-demo-presentation[data-record-kind] :is(svg,img)[data-demo-identity]{box-sizing:border-box;width:var(--demo-identity-size);height:var(--demo-identity-size);flex:0 0 var(--demo-identity-size);padding:3px;margin:0;border-radius:4px;background:var(--record-color);color:var(--demo-mark-ink)}

:is(.titl-product-page,.titl-demo-presentation) [data-demo-state]{--demo-state-color:#aeb3b8;display:inline-flex;align-items:center;gap:6px;background:transparent;color:var(--demo-mark-ink)}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-state="complete"]{--demo-state-color:var(--demo-green)}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-state="review"]{--demo-state-color:var(--demo-yellow)}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-state]::before{content:"";display:block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:var(--demo-state-color)}

:is(.titl-product-page,.titl-demo-presentation) [data-demo-details]{margin-top:10px}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-details]>summary{width:fit-content;min-height:30px;padding:5px 0;line-height:20px;font-size:12px;font-weight:500;color:var(--demo-mark-ink);cursor:pointer}
:is(.titl-product-page,.titl-demo-presentation) [data-demo-details]>summary:focus-visible{outline:2px solid var(--demo-mark-ink);outline-offset:3px;border-radius:4px}
@media(pointer:coarse){:is(.titl-product-page,.titl-demo-presentation) [data-demo-details]>summary{min-height:40px}}
