.prapti-font-tester--pending{display:none!important}

.prapti-font-tester{
    --pft-accent:#7064f2;
    --pft-accent-soft:rgba(112,100,242,.10);
    --pft-text:#161616;
    --pft-muted:#777b82;
    --pft-border:#dedfe3;
    --pft-line:#ececee;
    --pft-track:#ececee;
    --pft-thumb:#a8a8ad;
    clear:both;
    width:100%;
    margin:22px 0 28px;
    padding:0;
    background:transparent;
    color:var(--pft-text);
    font-family:inherit;
    box-sizing:border-box;
    display:block;
    grid-column:1 / -1;
    min-width:0;
    max-width:100%;
    flex:0 0 auto;
    align-self:stretch;
}
.prapti-font-tester *,
.prapti-font-tester *:before,
.prapti-font-tester *:after{box-sizing:border-box}

.prapti-font-tester__intro{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:28px;
    padding:0 0 8px;
    margin:0 0 10px;
    border-bottom:1px solid var(--pft-line);
}
.prapti-font-tester__eyebrow{
    color:#2b2b2b;
    font-family:inherit;
    font-size:12px;
    font-weight:600;
    line-height:1.3;
    letter-spacing:.035em;
    text-transform:uppercase;
}
.prapti-font-tester__hint{
    color:#96989d;
    font-family:inherit;
    font-size:11px;
    font-weight:400;
    line-height:1.3;
    text-align:right;
}

.prapti-font-tester__controls{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
    width:100%;
    margin:0 0 10px;
    padding:0 0 10px;
    border-bottom:1px solid var(--pft-line);
}
.prapti-font-tester__input-wrap{position:relative;min-width:0}
.prapti-font-tester__input-wrap input{
    display:block;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0 38px 0 12px!important;
    border:1px solid #cfd1d6!important;
    border-radius:4px!important;
    outline:0!important;
    background:#fff!important;
    color:#2a2a2a!important;
    font-family:inherit!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:36px!important;
    box-shadow:none!important;
    transition:border-color .16s ease,box-shadow .16s ease;
}
.prapti-font-tester__input-wrap input:hover{border-color:#b9bbc2!important}
.prapti-font-tester__input-wrap input:focus{
    border-color:var(--pft-accent)!important;
    box-shadow:0 0 0 2px var(--pft-accent-soft)!important;
}
.prapti-font-tester__clear{
    appearance:none;
    position:absolute;
    top:50%;right:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:22px;height:22px;
    margin:0!important;padding:0!important;
    transform:translateY(-50%);
    border:0!important;border-radius:50%!important;
    background:transparent!important;color:#a2a5aa!important;
    font-family:Arial,sans-serif!important;font-size:17px!important;font-weight:300!important;line-height:1!important;
    box-shadow:none!important;cursor:pointer;
    transition:color .16s ease,background-color .16s ease;
}
.prapti-font-tester__clear:hover,.prapti-font-tester__clear:focus{
    color:var(--pft-accent)!important;background:var(--pft-accent-soft)!important;outline:0!important;
}
.prapti-font-tester__sizes{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:max-content}
.prapti-font-size-button{
    appearance:none;display:inline-flex;align-items:center;justify-content:center;
    min-width:42px;height:30px;margin:0!important;padding:0 10px!important;
    border:1px solid #d6d7db!important;border-radius:999px!important;
    background:#fff!important;color:#202124!important;
    font-family:inherit!important;font-size:9px!important;font-weight:400!important;line-height:28px!important;
    text-transform:none!important;box-shadow:none!important;cursor:pointer;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.prapti-font-size-button__value{font-size:11px;line-height:1;white-space:nowrap}
.prapti-font-size-button:hover,.prapti-font-size-button:focus{
    border-color:var(--pft-accent)!important;color:var(--pft-accent)!important;background:#fff!important;outline:0!important;
}
.prapti-font-size-button:active{transform:translateY(1px)}
.prapti-font-size-button.is-active,.prapti-font-size-button.is-active:hover,.prapti-font-size-button.is-active:focus{
    border-color:var(--pft-accent)!important;background:var(--pft-accent)!important;color:#fff!important;
}
.prapti-font-size-button.is-active .prapti-font-size-button__value{font-weight:500}

.prapti-font-tester__error{display:none;margin:-3px 0 12px;color:#b42318;font-size:11px;line-height:1.4}
.prapti-font-tester__error.is-visible{display:block}

.prapti-font-tester__samples{width:100%}
.prapti-font-tester__sample{width:100%;padding:8px 0 10px;border-bottom:1px solid var(--pft-line)}
.prapti-font-tester__sample + .prapti-font-tester__sample{padding-top:10px}
.prapti-font-tester__sample-head{display:flex;align-items:center;justify-content:space-between;min-height:14px;margin:0 0 11px}
.prapti-font-tester__style-label{
    display:block;max-width:100%;overflow:hidden;color:#595c63;font-family:inherit;font-size:11px;font-weight:500;
    line-height:1.25;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;text-transform:none;
}
.prapti-font-tester__viewport{
    position:relative;
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0;
    text-align:left;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
}
.prapti-font-tester__viewport::-webkit-scrollbar{display:none;width:0;height:0}

/* Browser-independent custom scrollbar. This avoids the bulky Windows native bar. */
.prapti-font-tester__scrollbar{
    position:relative;
    width:100%;
    height:6px;
    margin:-1px 0 0;
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease;
}
.prapti-font-tester__scrollbar.is-visible{
    opacity:0;
    pointer-events:none;
}
.prapti-font-tester__sample:hover .prapti-font-tester__scrollbar.is-visible,
.prapti-font-tester__sample:focus-within .prapti-font-tester__scrollbar.is-visible,
.prapti-font-tester__scrollbar.is-visible.is-hovering,
.prapti-font-tester__scrollbar.is-visible.is-dragging{
    opacity:1;
    pointer-events:auto;
}
.prapti-font-tester__scrollbar-track{
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:1px;
    transform:translateY(-50%);
    border-radius:999px;
    background:#efeff2;
    cursor:pointer;
}
.prapti-font-tester__scrollbar-thumb{
    position:absolute;
    left:0;
    top:50%;
    display:block;
    min-width:72px;
    height:2px;
    transform:translateY(-50%);
    border-radius:999px;
    background:#babcc2;
    cursor:grab;
    touch-action:none;
    transition:background-color .16s ease,height .16s ease,box-shadow .16s ease;
}
.prapti-font-tester__scrollbar:hover .prapti-font-tester__scrollbar-thumb,
.prapti-font-tester__scrollbar-thumb:hover{
    height:2px;
    background:#babcc2;
}
.prapti-font-tester__scrollbar-thumb.is-dragging{
    height:2px;
    background:#9fa2a8;
    cursor:grabbing;
    box-shadow:none;
}
.prapti-font-tester__render-wrap{
    position:relative;display:flex;align-items:flex-start;justify-content:flex-start;width:max-content;min-width:100%;min-height:42px;padding:0;line-height:0;
}
.prapti-font-tester__loading{
    display:inline-flex;align-items:center;min-height:42px;color:#a1a3a8;font-size:9px;font-family:inherit;white-space:nowrap;
}
.prapti-font-tester__image{display:none;max-width:none!important;height:auto;user-select:none;-webkit-user-drag:none;vertical-align:top;background:transparent!important;border:0!important;box-shadow:none!important;line-height:0!important}
.prapti-font-tester__sample.is-loaded .prapti-font-tester__loading{display:none}
.prapti-font-tester__sample.is-loading .prapti-font-tester__viewport{opacity:1}
.prapti-font-tester__sample.is-loaded .prapti-font-tester__image{display:block;margin:0;padding:0}
.prapti-font-tester__sample.is-loading .prapti-font-tester__image{opacity:1}
.prapti-font-tester__sample.is-failed .prapti-font-tester__loading{display:inline-flex;color:#a1a3a8}

@media(max-width:900px){
    .prapti-font-tester__controls{grid-template-columns:minmax(0,1fr) auto}
    .prapti-font-size-button{min-width:42px;padding:0 9px!important}
}
@media(max-width:700px){
    .prapti-font-tester{margin:18px 0 22px}
    .prapti-font-tester__intro{align-items:flex-start;flex-direction:column;gap:2px;padding-bottom:7px;margin-bottom:16px}
    .prapti-font-tester__hint{text-align:left}
    .prapti-font-tester__controls{grid-template-columns:1fr;gap:7px;padding-bottom:8px;margin-bottom:12px}
    .prapti-font-tester__sizes{width:100%;min-width:0;justify-content:flex-start}
    .prapti-font-size-button{flex:1 1 25%;min-width:0;padding:0 7px!important}
    .prapti-font-tester__sample{padding-bottom:8px}
    .prapti-font-tester__sample + .prapti-font-tester__sample{padding-top:10px}
    .prapti-font-tester__style-label{font-size:10px}
    .prapti-font-tester__viewport{padding:0}
    .prapti-font-tester__render-wrap,.prapti-font-tester__loading{min-height:40px}
}

.prapti-font-tester__sample.is-loaded .prapti-font-tester__image{
    image-rendering:auto;
}

/* Keep font labels and rendered preview images aligned to the same left edge. */
.prapti-font-tester__sample-head,
.prapti-font-tester__viewport,
.prapti-font-tester__render-wrap{margin-left:0!important;padding-left:0!important;}
.prapti-font-tester__image{margin-left:0!important;}
