.sts-card{
    --sts-surface-1:#f4f3ef;
    --sts-surface-2:#ffffff;
    --sts-text-primary:#1c1c1a;
    --sts-text-secondary:#5f5e5a;
    --sts-text-muted:#8a8983;
    --sts-border:#e2e0d8;
    --sts-accent:#185fa5;
    font-family:-apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:var(--sts-surface-2);
    color:var(--sts-text-primary);
    border:1px solid var(--sts-border);
    border-radius:12px;
    padding:1.5rem;
    max-width:420px;
    box-sizing:border-box;
}
.sts-card *{ box-sizing:border-box; }
.sts-card-title{
    font-size:20px;
    font-weight:600;
    margin:0 0 1.25rem;
}
.sts-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:1.5rem;
}
.sts-row label{
    font-size:14px;
    color:var(--sts-text-secondary);
    white-space:nowrap;
}
.sts-input{
    flex:1;
    height:36px;
    padding:0 10px;
    border:1px solid var(--sts-border);
    border-radius:8px;
    background:var(--sts-surface-2);
    color:var(--sts-text-primary);
    font-size:14px;
}
.sts-grid3{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:12px;
    margin-bottom:1rem;
}
.sts-metric{
    background:var(--sts-surface-1);
    border-radius:8px;
    padding:1rem;
}
.sts-metric p{ margin:0; }
.sts-label{
    font-size:13px;
    color:var(--sts-text-secondary);
    margin-bottom:4px;
}
.sts-value{
    font-size:24px;
    font-weight:600;
}
.sts-details{
    border-top:1px solid var(--sts-border);
    padding-top:12px;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.sts-detail-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:13px;
}
.sts-left{ color:var(--sts-text-secondary); }
.sts-right{ font-weight:600; }
.sts-mono{ font-family:"Courier New", monospace; }
.sts-hint{
    font-size:13px;
    color:var(--sts-text-muted);
    margin:0 0 1.1rem;
}
.sts-hint-error{
    color:#b3261e;
}

.sts-age-card{ max-width:460px; }

.sts-date-row{
    margin-bottom:1.1rem;
}
.sts-date-label{
    display:block;
    font-size:14px;
    font-weight:600;
    color:var(--sts-text-primary);
    margin-bottom:6px;
}
.sts-date-fields{
    display:flex;
    gap:8px;
}
.sts-select{
    flex:1.4;
    height:38px;
    padding:0 8px;
    border:1px solid var(--sts-border);
    border-radius:6px;
    background:var(--sts-surface-2);
    color:var(--sts-text-primary);
    font-size:14px;
    transition:border-color .15s ease, box-shadow .15s ease;
}
.sts-select-narrow{
    flex:1;
}
.sts-date-fields .sts-input{
    height:38px;
}
.sts-select:focus,
.sts-date-fields .sts-input:focus{
    outline:none;
    border-color:var(--sts-accent);
    box-shadow:0 0 0 3px rgba(24,95,165,0.15);
}

.sts-btn{
    display:block;
    width:100%;
    height:42px;
    background:var(--sts-accent);
    color:#ffffff;
    border:none;
    border-radius:8px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    margin:0.25rem 0 1.5rem;
    transition:background-color .15s ease, transform .1s ease;
}
.sts-btn:hover{
    background-color:#124a80;
}
.sts-btn:active{
    transform:scale(0.98);
}
/* When .sts-btn is used on an <a> (download buttons), make sure the
   theme's global link styling (underline, blue link color, visited
   color) never leaks through - the button must always look like a
   solid button, not a text link. */
a.sts-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none!important;
    border-bottom:none!important;
    color:#ffffff!important;
}
a.sts-btn:hover,
a.sts-btn:focus,
a.sts-btn:visited{
    text-decoration:none!important;
    color:#ffffff!important;
}

.sts-results{
    opacity:0;
    transform:translateY(6px);
    max-height:0;
    overflow:hidden;
    transition:opacity .35s ease, transform .35s ease;
}
.sts-results-visible{
    opacity:1;
    transform:translateY(0);
    max-height:600px;
}

.sts-age-summary{
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-top:3px solid var(--sts-accent);
    border-radius:10px;
    padding:1.5rem 1.25rem 1.25rem;
    text-align:center;
}
.sts-age-eyebrow-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:4px;
    text-align:left;
}
.sts-age-eyebrow-row .sts-age-eyebrow{
    margin:0;
}
.sts-age-eyebrow{
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--sts-text-muted);
    margin:0 0 6px;
}
.sts-age-primary{
    font-size:28px;
    font-weight:700;
    line-height:1.25;
    color:var(--sts-text-primary);
    margin:2px 0 6px;
}
.sts-age-subtitle{
    font-size:14px;
    color:var(--sts-text-secondary);
    margin:0 0 18px;
}
.sts-dot-sep{
    color:var(--sts-text-muted);
    margin:0 8px;
}
.sts-age-eyebrow-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:6px;
}
.sts-age-eyebrow-row .sts-age-eyebrow{
    margin:0;
}
.sts-live-badge{
    display:none;
    align-items:center;
    gap:5px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:#1a7a3c;
}
.sts-live-badge-on{
    display:inline-flex;
}
.sts-live-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#1a7a3c;
    animation:sts-pulse 1.4s ease-in-out infinite;
}
@keyframes sts-pulse{
    0%, 100%{ opacity:1; }
    50%{ opacity:.35; }
}

.sts-live-counter{
    display:grid;
    grid-template-columns:1fr auto 1fr auto 1fr;
    align-items:center;
    justify-items:center;
    gap:2px;
    background:var(--sts-surface-2);
    border:1px solid var(--sts-border);
    border-radius:8px;
    padding:0.9rem 0.4rem;
    margin-bottom:12px;
}
.sts-live-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:0;
    width:100%;
    max-width:100%;
}
.sts-live-value{
    font-family:"Courier New", monospace;
    font-size:clamp(12px, 4.6vw, 22px);
    font-weight:700;
    color:var(--sts-text-primary);
    line-height:1.1;
    letter-spacing:-0.02em;
    white-space:nowrap;
    max-width:100%;
}
.sts-live-label{
    font-size:9px;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--sts-text-muted);
    margin-top:3px;
    white-space:nowrap;
}

/* Divider between Hours / Minutes / Seconds - solid, high-contrast "hard" bar on desktop */
.sts-live-colon{
    position:relative;
    width:2px;
    align-self:stretch;
    margin:2px 6px 14px;
    padding:0;
    font-size:0;
    color:transparent;
    background:linear-gradient(180deg, transparent, var(--sts-text-primary) 18%, var(--sts-text-primary) 82%, transparent);
    border-radius:2px;
    opacity:.55;
}

@media (max-width:600px){
    /* Row-wise stacked list on mobile: Hours / Minutes / Seconds each on their own row */
    .sts-live-counter{
        display:flex;
        flex-direction:column;
        gap:0;
        padding:0.35rem 0.9rem;
    }
    .sts-live-box{
        flex-direction:row-reverse;
        align-items:center;
        justify-content:space-between;
        width:100%;
        padding:0.65rem 0;
        border-bottom:1px solid var(--sts-border);
    }
    .sts-live-box:last-of-type{
        border-bottom:none;
    }
    .sts-live-value{
        font-size:19px;
        letter-spacing:0;
    }
    .sts-live-label{
        font-size:11px;
        margin-top:0;
    }
    .sts-live-colon{
        display:none;
    }
}

.sts-flash{
    animation:sts-flash-anim .4s ease;
}
@keyframes sts-flash-anim{
    0%{ color:var(--sts-accent); }
    100%{ color:var(--sts-text-primary); }
}

.sts-age-footnote{
    font-size:13px;
    color:var(--sts-text-secondary);
    margin:0;
    border-top:1px solid var(--sts-border);
    padding-top:10px;
}
.sts-age-footnote .sts-weekday{
    font-weight:600;
    color:var(--sts-text-primary);
}

/* =========================================================
   Image Resizer & Compressor
   ========================================================= */
.sts-resizer-card{
    max-width:520px;
    --sts-success:#1a7a3c;
    --sts-success-bg:#e9f6ee;
    --sts-info:#185fa5;
    --sts-info-bg:#eaf2fb;
}
.sts-resizer-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:6px;
}
.sts-resizer-header .sts-card-title{ margin:0; }
.sts-privacy-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.03em;
    color:var(--sts-success);
    background:var(--sts-success-bg);
    border:1px solid rgba(26,122,60,0.18);
    border-radius:999px;
    padding:5px 10px;
    white-space:nowrap;
}
.sts-privacy-dot{
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--sts-success);
    flex:none;
}

/* Drop zone */
.sts-resizer-drop{
    position:relative;
    border:2px dashed var(--sts-border);
    border-radius:14px;
    background:linear-gradient(180deg, var(--sts-surface-1) 0%, var(--sts-surface-2) 100%);
    padding:2.4rem 1.25rem;
    text-align:center;
    cursor:pointer;
    transition:border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.sts-resizer-drop:hover{
    border-color:var(--sts-accent);
}
.sts-resizer-drop:focus-visible{
    outline:none;
    border-color:var(--sts-accent);
    box-shadow:0 0 0 3px rgba(24,95,165,0.15);
}
.sts-resizer-drop-active{
    border-color:var(--sts-accent);
    background:var(--sts-info-bg);
    transform:scale(1.01);
}
.sts-resizer-drop-icon{
    color:var(--sts-accent);
    margin-bottom:10px;
}
.sts-resizer-drop-title{
    font-size:15px;
    font-weight:600;
    color:var(--sts-text-primary);
    margin:0 0 4px;
}
.sts-resizer-drop-sub{
    font-size:12.5px;
    color:var(--sts-text-muted);
    margin:0;
}

/* Original image summary */
.sts-resizer-original{
    display:flex;
    align-items:center;
    gap:14px;
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-radius:12px;
    padding:12px;
    margin:0.25rem 0 1.25rem;
}
.sts-resizer-original-thumb{
    width:64px;
    height:64px;
    border-radius:8px;
    overflow:hidden;
    flex:none;
    background:var(--sts-surface-2);
    border:1px solid var(--sts-border);
}
.sts-resizer-original-preview{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.sts-resizer-original-meta{ min-width:0; flex:1; }
.sts-resizer-filename{
    font-size:13.5px;
    font-weight:600;
    color:var(--sts-text-primary);
    margin:0 0 3px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.sts-resizer-dims-size{
    font-size:12.5px;
    color:var(--sts-text-secondary);
    margin:0 0 6px;
}
.sts-resizer-change-btn{
    border:none;
    background:none;
    color:var(--sts-accent);
    font-size:12.5px;
    font-weight:600;
    cursor:pointer;
    padding:0;
}
.sts-resizer-change-btn:hover{ text-decoration:underline; }

/* Multi-file selection: summary bar + per-file rows */
.sts-resizer-files-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:0.25rem 0 0.6rem;
}
.sts-resizer-files-summary{
    font-size:13px;
    font-weight:600;
    color:var(--sts-text-primary);
    margin:0;
}
.sts-resizer-files-head-actions{
    display:flex;
    gap:14px;
    flex:none;
}
.sts-resizer-add-more-btn{
    border:none;
    background:none;
    color:var(--sts-accent);
    font-size:12.5px;
    font-weight:600;
    cursor:pointer;
    padding:0;
}
.sts-resizer-add-more-btn:hover{ text-decoration:underline; }

.sts-resizer-file-list{
    max-height:260px;
    overflow-y:auto;
    border:1px solid var(--sts-border);
    border-radius:12px;
    margin-bottom:1.25rem;
}
.sts-resizer-file-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 12px;
    background:var(--sts-surface-1);
}
.sts-resizer-file-row + .sts-resizer-file-row{
    border-top:1px solid var(--sts-border);
}
.sts-resizer-file-thumb{
    width:44px;
    height:44px;
    border-radius:8px;
    overflow:hidden;
    flex:none;
    background-color:var(--sts-surface-2);
    background-size:cover;
    background-position:center;
    border:1px solid var(--sts-border);
}
.sts-resizer-file-meta{ min-width:0; flex:1; }
.sts-resizer-file-name{
    font-size:13px;
    font-weight:600;
    color:var(--sts-text-primary);
    margin:0 0 2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.sts-resizer-file-info{
    font-size:11.5px;
    color:var(--sts-text-secondary);
    margin:0 0 2px;
}
.sts-resizer-file-status{
    font-size:11.5px;
    color:var(--sts-text-muted);
    margin:0;
}
.sts-resizer-file-status-done{ color:var(--sts-success); font-weight:600; }
.sts-resizer-file-status-error{ color:#b3261e; font-weight:600; }
.sts-resizer-file-actions{ flex:none; }
.sts-resizer-file-download{
    font-size:12.5px;
    font-weight:700;
    color:var(--sts-accent);
    text-decoration:none;
    white-space:nowrap;
}
.sts-resizer-file-download:hover{ text-decoration:underline; }

/* "Maintain aspect ratio" checkbox (replaces the old lock-icon toggle) */
.sts-resizer-aspect-check{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    font-weight:600;
    color:var(--sts-text-secondary);
    margin:-0.4rem 0 1rem;
    cursor:pointer;
    user-select:none;
}
.sts-resizer-aspect-checkbox{
    width:16px;
    height:16px;
    accent-color:var(--sts-accent);
    cursor:pointer;
}
.sts-resizer-batch-dim-hint,
.sts-resizer-batch-target-hint{
    display:none;
    margin:-0.4rem 0 1rem;
}

/* Tabs */
.sts-resizer-tabs{
    display:flex;
    gap:6px;
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-radius:10px;
    padding:4px;
    margin-bottom:1.1rem;
}
.sts-resizer-tab{
    flex:1;
    border:none;
    background:none;
    padding:9px 10px;
    font-size:13px;
    font-weight:600;
    color:var(--sts-text-secondary);
    border-radius:7px;
    cursor:pointer;
    transition:background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.sts-resizer-tab-active{
    background:var(--sts-surface-2);
    color:var(--sts-accent);
    box-shadow:0 1px 3px rgba(0,0,0,0.08);
}

.sts-resizer-panel{ margin-bottom:0.25rem; }

/* Pixel dims row */
.sts-resizer-dim-row{
    display:flex;
    align-items:flex-end;
    gap:10px;
    margin-bottom:1rem;
}
.sts-resizer-dim-field{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:6px;
}
.sts-resizer-dim-field label{
    font-size:12px;
    font-weight:600;
    color:var(--sts-text-secondary);
}

.sts-resizer-chip-row{
    display:flex;
    gap:8px;
    margin-bottom:1.1rem;
}
.sts-resizer-chip{
    flex:1;
    height:32px;
    border:1px solid var(--sts-border);
    background:var(--sts-surface-2);
    color:var(--sts-text-secondary);
    border-radius:999px;
    font-size:12.5px;
    font-weight:600;
    cursor:pointer;
    transition:border-color .15s ease, color .15s ease, background-color .15s ease;
}
.sts-resizer-chip:hover{
    border-color:var(--sts-accent);
    color:var(--sts-accent);
    background:var(--sts-info-bg);
}

.sts-resizer-field-row{
    margin-bottom:1.1rem;
}
.sts-resizer-field-row label{
    display:block;
    font-size:12px;
    font-weight:600;
    color:var(--sts-text-secondary);
    margin-bottom:6px;
}
.sts-resizer-target-inputs{
    display:flex;
    gap:8px;
}
.sts-resizer-target-inputs .sts-input{ height:38px; }
.sts-resizer-target-inputs .sts-select{ max-width:90px; }

.sts-resizer-png-hint{
    font-size:12px;
    color:var(--sts-text-muted);
    background:var(--sts-surface-1);
    border-radius:8px;
    padding:8px 10px;
    margin:-0.4rem 0 1rem;
}

/* Status / spinner */
.sts-resizer-status{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    color:var(--sts-text-secondary);
    padding:0.5rem 0 0.25rem;
}
.sts-resizer-spinner{
    width:16px;
    height:16px;
    border-radius:50%;
    border:2px solid var(--sts-border);
    border-top-color:var(--sts-accent);
    animation:sts-spin .7s linear infinite;
    flex:none;
}
@keyframes sts-spin{
    to{ transform:rotate(360deg); }
}

/* Result */
.sts-resizer-result{
    margin-top:0.5rem;
    animation:sts-fade-up .3s ease;
}
@keyframes sts-fade-up{
    from{ opacity:0; transform:translateY(6px); }
    to{ opacity:1; transform:translateY(0); }
}
.sts-resizer-result-badge{
    display:flex;
    justify-content:center;
    margin-bottom:14px;
}
.sts-resizer-badge-pill{
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.02em;
    padding:6px 14px;
    border-radius:999px;
}
.sts-badge-down{
    color:var(--sts-success);
    background:var(--sts-success-bg);
    border:1px solid rgba(26,122,60,0.2);
}
.sts-badge-up{
    color:var(--sts-info);
    background:var(--sts-info-bg);
    border:1px solid rgba(24,95,165,0.2);
}
.sts-badge-flat{
    color:var(--sts-text-secondary);
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
}

.sts-resizer-compare{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:1.25rem;
}
.sts-resizer-compare-col{
    flex:1;
    min-width:0;
    text-align:center;
}
.sts-resizer-compare-label{
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--sts-text-muted);
    margin:0 0 8px;
}
.sts-resizer-compare-thumb{
    width:100%;
    aspect-ratio:1/1;
    border-radius:10px;
    background-color:var(--sts-surface-1);
    background-size:cover;
    background-position:center;
    border:1px solid var(--sts-border);
}
.sts-resizer-compare-stat{
    font-size:11.5px;
    color:var(--sts-text-secondary);
    margin:8px 0 0;
    word-break:break-word;
}
.sts-resizer-compare-arrow{
    flex:none;
    color:var(--sts-text-muted);
}

.sts-resizer-download-btn{
    text-decoration:none;
    text-align:center;
    line-height:42px;
    margin:0;
}
.sts-resizer-result-summary{
    text-align:center;
    margin:0 0 1rem;
}
.sts-resizer-download-zip-btn{
    display:none;
    width:100%;
    margin:0;
}

@media (max-width:420px){
    .sts-resizer-header{ flex-direction:column; align-items:flex-start; gap:6px; }
    .sts-resizer-original{ flex-direction:row; }
}

/* =========================================================
   Increase / Decrease direction toggle
   (used by Image Resizer + PDF Resizer)
   ========================================================= */
.sts-direction-label{
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
    color:var(--sts-text-muted);
    margin:0 0 8px;
}
.sts-direction-toggle{
    display:flex;
    gap:8px;
    margin-bottom:0.6rem;
}
.sts-direction-btn{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    height:44px;
    border:1.5px solid var(--sts-border);
    background:var(--sts-surface-2);
    color:var(--sts-text-secondary);
    border-radius:10px;
    font-size:13.5px;
    font-weight:700;
    cursor:pointer;
    transition:border-color .15s ease, color .15s ease, background-color .15s ease;
}
.sts-direction-btn:hover{
    border-color:var(--sts-accent);
    color:var(--sts-accent);
}
.sts-direction-btn-active.sts-direction-btn-decrease{
    border-color:var(--sts-success, #1a7a3c);
    color:var(--sts-success, #1a7a3c);
    background:var(--sts-success-bg, #e9f6ee);
}
.sts-direction-btn-active.sts-direction-btn-increase{
    border-color:var(--sts-info, #185fa5);
    color:var(--sts-info, #185fa5);
    background:var(--sts-info-bg, #eaf2fb);
}
.sts-direction-hint{ margin-bottom:1.1rem; }

/* Icon-based thumbs (PDF, where there's no image preview yet) */
.sts-icon-thumb{
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--sts-text-muted);
    background-image:none !important;
}

/* Reorder controls (position badge + up/down/remove) used in the
   Document Converter's file lists (JPG to PDF page order, Merge PDF
   order). These had no styling before, so they fell back to raw
   browser/theme button defaults - fixed here to match the app. */
.sts-file-actions-group{
    display:flex;
    align-items:center;
    gap:5px;
    flex:none;
}
.sts-file-order-badge{
    display:flex;
    align-items:center;
    justify-content:center;
    width:20px;
    height:20px;
    border-radius:50%;
    background:var(--sts-surface-1);
    color:var(--sts-text-secondary);
    font-size:11px;
    font-weight:700;
    flex:none;
}
.sts-file-move-btn,
.sts-file-remove-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    flex:none;
    padding:0;
    border-radius:50%;
    border:1px solid var(--sts-border);
    background:var(--sts-surface-2);
    color:var(--sts-text-secondary);
    cursor:pointer;
    transition:background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.sts-file-move-btn:hover:not(:disabled),
.sts-file-move-btn:focus-visible:not(:disabled){
    background:var(--sts-accent);
    border-color:var(--sts-accent);
    color:#ffffff;
}
.sts-file-move-btn:active:not(:disabled){ transform:scale(0.92); }
.sts-file-move-btn:disabled{
    opacity:0.35;
    cursor:not-allowed;
}
.sts-file-remove-btn:hover,
.sts-file-remove-btn:focus-visible{
    background:#fdeceb;
    border-color:#e0342c;
    color:#e0342c;
}
.sts-file-remove-btn:active{ transform:scale(0.92); }

/* Single-row result preview (Document Converter: JPG->PDF and Merge
   PDF results) - reuses the same file-row/thumb/meta look as the
   upload list so previews stay consistent before and after. */
.sts-resizer-file-list:empty{ display:none; }

/* =========================================================
   "Pro Preview" layout - thumbnail grid + right options panel
   (shared by Document Converter, Image Resizer, PDF Resizer,
   Passport Photo workspaces)
   ========================================================= */
.sts-pro-card{ max-width:1040px; }

.sts-pro-workspace{
    display:grid !important;
    grid-template-columns:minmax(240px,320px) 1fr;
    gap:28px;
    align-items:start;
}
@media (max-width:760px){
    .sts-pro-workspace{ grid-template-columns:1fr; }
}

.sts-pro-files-col{
    min-width:0;
}
.sts-pro-options-col{
    min-width:0;
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-radius:14px;
    padding:18px;
}
@media (min-width:761px){
    .sts-pro-files-col{ position:sticky; top:16px; }
}

.sts-pro-options-title{
    margin:0 0 12px;
    font-size:14px;
    font-weight:700;
    color:var(--sts-text-primary);
}

/* Toolbar above the file grid: summary + pill-style actions */
.sts-pro-files-col .sts-resizer-files-head{
    flex-wrap:wrap;
    margin-bottom:0.75rem;
}
.sts-pro-files-col .sts-resizer-files-head-actions{
    gap:8px;
}
.sts-pro-pill-btn{
    display:inline-flex;
    align-items:center;
    gap:5px;
    border:1px solid var(--sts-border);
    background:var(--sts-surface-2);
    color:var(--sts-text-primary);
    font-size:11.5px;
    font-weight:600;
    border-radius:999px;
    padding:6px 12px;
    cursor:pointer;
    transition:background-color .15s ease, border-color .15s ease;
}
.sts-pro-pill-btn:hover{
    background:var(--sts-info-bg, var(--sts-surface-2));
    border-color:var(--sts-accent);
}
.sts-pro-pill-btn.sts-pro-add-btn{
    background:var(--sts-text-primary);
    color:#fff;
    border-color:var(--sts-text-primary);
}
.sts-pro-pill-btn.sts-pro-add-btn:hover{ opacity:.9; }
.sts-pro-sort-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:999px;
    border:1px solid var(--sts-border);
    background:var(--sts-surface-2);
    color:var(--sts-text-secondary);
    cursor:pointer;
    flex:none;
}
.sts-pro-sort-btn:hover{ border-color:var(--sts-accent); color:var(--sts-accent); }
.sts-pro-sort-btn.sts-pro-sort-active{ color:var(--sts-accent); border-color:var(--sts-accent); }

/* Thumbnail grid (replaces the plain list look, inside .sts-pro-files-col only) */
.sts-pro-files-col .sts-resizer-file-list{
    display:grid !important;
    grid-template-columns:repeat(auto-fill, minmax(86px, 1fr));
    gap:10px;
    max-height:420px;
    overflow-y:auto;
    border:none;
    border-radius:0;
    padding:2px;
}
.sts-pro-files-col .sts-resizer-file-row{
    position:relative;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch;
    gap:0;
    padding:0;
    border:1px solid var(--sts-border);
    border-radius:10px;
    overflow:hidden;
    background:var(--sts-surface-1);
    width:auto !important;
    height:auto !important;
}
.sts-pro-files-col .sts-resizer-file-row + .sts-resizer-file-row{ border-top:1px solid var(--sts-border); }
.sts-pro-files-col .sts-resizer-file-thumb{
    width:100%;
    height:86px;
    border-radius:0;
    border:none;
    border-bottom:1px solid var(--sts-border);
}
.sts-pro-files-col .sts-resizer-file-meta{ padding:6px 7px 7px; }
.sts-pro-files-col .sts-resizer-file-name{
    font-size:10.5px;
    margin:0 0 1px;
}
.sts-pro-files-col .sts-resizer-file-info{ font-size:9.5px; margin:0; }

/* Order badge + remove button become small overlays on the tile */
.sts-pro-files-col .sts-file-actions-group{
    position:absolute;
    top:4px;
    left:4px;
    right:4px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:0;
}
.sts-pro-files-col .sts-file-order-badge{
    background:rgba(20,20,20,0.72);
    color:#fff;
    font-size:9.5px;
    width:16px;
    height:16px;
}
.sts-pro-files-col .sts-file-move-btn,
.sts-pro-files-col .sts-file-remove-btn{
    width:18px;
    height:18px;
    background:rgba(20,20,20,0.72);
    color:#fff;
    border:none;
}
.sts-pro-files-col .sts-file-move-btn svg,
.sts-pro-files-col .sts-file-remove-btn svg{ width:10px; height:10px; }
.sts-pro-files-col .sts-file-remove-btn{ background:rgba(200,40,40,0.85); }

/* Simpler rows that only have a remove button (no reorder arrows) */
.sts-pro-files-col .sts-resizer-file-actions{
    position:absolute;
    top:4px;
    right:4px;
}
.sts-pro-files-col .sts-resizer-file-actions .sts-file-remove-btn{
    width:18px;
    height:18px;
    background:rgba(200,40,40,0.85);
    color:#fff;
    border:none;
}
.sts-pro-files-col .sts-resizer-file-actions .sts-file-remove-btn svg{ width:10px; height:10px; }
.sts-pro-files-col .sts-icon-thumb{
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--sts-text-muted);
}

/* Segmented toggle used for Orientation / Margin choices */
.sts-seg-toggle{
    display:flex !important;
    gap:8px;
    flex-wrap:wrap;
    width:auto !important;
}
.sts-seg-btn{
    flex:1 1 auto;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center;
    gap:6px;
    width:auto !important;
    height:auto !important;
    min-width:0;
    padding:9px 14px !important;
    margin:0 !important;
    border:1.5px solid var(--sts-border) !important;
    border-radius:9px !important;
    background:var(--sts-surface-2) !important;
    color:var(--sts-text-secondary) !important;
    font-size:12.5px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    cursor:pointer;
    text-transform:none !important;
    box-shadow:none !important;
    transition:border-color .15s ease, color .15s ease, background-color .15s ease;
}
.sts-seg-btn:hover{ border-color:var(--sts-accent) !important; }
.sts-seg-btn.sts-seg-btn-active{
    border-color:var(--sts-accent) !important;
    color:#fff !important;
    background:var(--sts-accent) !important;
}
.sts-seg-btn svg{ width:15px !important; height:15px !important; flex:none; }
.sts-seg-btn.sts-seg-btn-disabled{ opacity:.4; cursor:not-allowed; pointer-events:none; }

.sts-pro-options-col .sts-resizer-field-row:first-child{ margin-top:0; }
.sts-pro-options-col > .sts-btn{ width:100%; margin-top:6px; }
.sts-pro-merge-check{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12.5px;
    font-weight:600;
    color:var(--sts-text-primary);
    margin:2px 0 16px;
    cursor:pointer;
}
.sts-pro-merge-check input{ width:16px; height:16px; }

/* =========================================================
   Resizer Hub chooser (Image vs PDF)
   ========================================================= */
.sts-hub-card{ max-width:520px; }
.sts-hub-intro{ margin-bottom:1rem; }
.sts-hub-choices{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:0.5rem;
}
.sts-hub-choice-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:6px;
    padding:1.5rem 1rem;
    border:1.5px solid var(--sts-border);
    background:linear-gradient(180deg, var(--sts-surface-1) 0%, var(--sts-surface-2) 100%);
    border-radius:14px;
    cursor:pointer;
    transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sts-hub-choice-card:hover{
    border-color:var(--sts-accent);
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(0,0,0,0.07);
}
.sts-hub-choice-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    border-radius:50%;
    background:var(--sts-info-bg, #eaf2fb);
    color:var(--sts-accent);
    margin-bottom:4px;
}
.sts-hub-choice-title{
    font-size:15px;
    font-weight:700;
    color:var(--sts-text-primary);
}
.sts-hub-choice-desc{
    font-size:12px;
    color:var(--sts-text-muted);
}
.sts-hub-panel{ margin-top:0.25rem; }
.sts-hub-panel .sts-resizer-card,
.sts-hub-panel .sts-card{
    border:none;
    padding:0;
    max-width:none;
}
.sts-hub-back-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border:none;
    background:none;
    color:var(--sts-accent);
    font-size:12.5px;
    font-weight:700;
    cursor:pointer;
    padding:0;
    margin-bottom:12px;
}
.sts-hub-back-btn:hover{ text-decoration:underline; }

@media (max-width:420px){
    .sts-hub-choices{ grid-template-columns:1fr; }
}

/* =========================================================
   Passport Photo Maker
   ========================================================= */
.sts-passport-card{ max-width:560px; }

.sts-passport-check-row{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13.5px;
    font-weight:600;
    color:var(--sts-text-primary);
    margin-bottom:0.75rem;
    cursor:pointer;
}
.sts-passport-check-row input{
    width:16px;
    height:16px;
    accent-color:var(--sts-accent);
    flex:none;
}

.sts-passport-custom-size-row,
.sts-passport-custom-page-row{
    display:flex;
    gap:10px;
    margin:-0.4rem 0 1.1rem;
}
.sts-passport-custom-size-row .sts-resizer-dim-field,
.sts-passport-custom-page-row .sts-resizer-dim-field{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:6px;
}
.sts-passport-custom-size-row label,
.sts-passport-custom-page-row label{
    font-size:12px;
    font-weight:600;
    color:var(--sts-text-secondary);
}

.sts-passport-cropper-wrap{
    display:flex;
    flex-direction:column;
    align-items:center;
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-radius:12px;
    padding:1rem;
    margin-bottom:1rem;
}
.sts-passport-crop-canvas{
    border-radius:6px;
    box-shadow:0 2px 10px rgba(0,0,0,0.14);
    cursor:grab;
    touch-action:none;
    background:#ddd;
}
.sts-passport-crop-canvas:active{ cursor:grabbing; }
.sts-passport-zoom-row{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    max-width:260px;
    margin-top:12px;
    color:var(--sts-text-muted);
}
.sts-passport-zoom-row input[type=range]{
    flex:1;
    accent-color:var(--sts-accent);
}

.sts-passport-preview-row{
    display:flex;
    align-items:center;
    gap:14px;
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-radius:12px;
    padding:1rem;
    margin-bottom:1.25rem;
}
.sts-passport-preview-box{
    flex:none;
    display:flex;
    align-items:center;
    justify-content:center;
    background-color:#f7f6f2;
    background-image:
        linear-gradient(45deg, #eceae2 25%, transparent 25%),
        linear-gradient(-45deg, #eceae2 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eceae2 75%),
        linear-gradient(-45deg, transparent 75%, #eceae2 75%);
    background-size:14px 14px;
    background-position:0 0, 0 7px, 7px -7px, -7px 0;
    border:1px solid var(--sts-border);
    border-radius:8px;
    padding:6px;
}
.sts-passport-preview-box canvas{
    display:block;
    max-width:120px;
    max-height:160px;
    width:auto;
    height:auto;
    box-shadow:0 1px 6px rgba(0,0,0,0.18);
}
.sts-passport-preview-meta{ flex:1; min-width:0; }
.sts-passport-preview-label{
    font-size:11px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--sts-text-muted);
    margin:0 0 4px;
}
.sts-passport-preview-size{
    font-size:13px;
    color:var(--sts-text-secondary);
    margin:0;
}

.sts-passport-date-row{ display:flex; gap:8px; }
.sts-passport-date-row .sts-input{ flex:1; }
.sts-passport-today-btn{
    flex:none;
    height:36px;
    padding:0 12px;
    border:1px solid var(--sts-border);
    background:var(--sts-surface-2);
    color:var(--sts-accent);
    font-size:12.5px;
    font-weight:700;
    border-radius:8px;
    cursor:pointer;
    transition:border-color .15s ease, background-color .15s ease;
}
.sts-passport-today-btn:hover{
    border-color:var(--sts-accent);
    background:var(--sts-info-bg, #eaf2fb);
}

.sts-passport-text-fields,
.sts-passport-sign-fields{
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-radius:10px;
    padding:1rem;
    margin:-0.35rem 0 1rem;
}
.sts-passport-sign-height-val{
    font-weight:700;
    color:var(--sts-accent);
}

.sts-btn-secondary{
    background:var(--sts-surface-2);
    color:var(--sts-accent);
    border:1.5px solid var(--sts-accent);
}
.sts-btn-secondary:hover{
    background:var(--sts-info-bg, #eaf2fb);
    background-color:var(--sts-info-bg, #eaf2fb);
}

.sts-passport-autofit-btn{ align-self:flex-end; }

.sts-passport-sheet-count{
    text-align:center;
    font-size:13px;
    font-weight:600;
    color:var(--sts-text-primary);
    background:var(--sts-surface-1);
    border-radius:8px;
    padding:8px;
    margin:0 0 1rem;
}

.sts-passport-sheet-preview-wrap{
    display:flex;
    justify-content:center;
    background:var(--sts-surface-1);
    border:1px solid var(--sts-border);
    border-radius:12px;
    padding:1rem;
    margin-bottom:1.25rem;
    overflow:auto;
}
.sts-passport-sheet-preview-wrap canvas{
    max-width:100%;
    height:auto;
    background:#fff;
    box-shadow:0 2px 14px rgba(0,0,0,0.16);
}

.sts-passport-sheet-download-row{
    display:flex;
    gap:10px;
}
.sts-passport-sheet-download-row .sts-btn{
    flex:1;
    margin:0.25rem 0 0.5rem;
}

@media (max-width:480px){
    .sts-passport-preview-row{ flex-direction:column; text-align:center; }
    .sts-passport-sheet-download-row{ flex-direction:column; }
}

/* ==========================================================================
   All Tools - main landing grid ([sts_all_tools])
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&family=Inter:wght@400;500;600&display=swap');

.sts-alltools-wrap{
    --sts-ink:#0e1a2b;
    --sts-canvas:#f5f7fb;
    --sts-surface:#ffffff;
    --sts-border:#e6e9f2;
    --sts-muted:#6b7488;
    --sts-brand:#1657c9;
    --sts-font-display:'Plus Jakarta Sans', -apple-system, "Segoe UI", sans-serif;
    --sts-font-body:'Inter', -apple-system, "Segoe UI", sans-serif;
    font-family:var(--sts-font-body);
    color:var(--sts-ink);
    max-width:1160px;
    margin:0 auto;
    padding:2.75rem 1.25rem 1.5rem;
    box-sizing:border-box;
}
.sts-alltools-wrap *{ box-sizing:border-box; }
.sts-alltools-wrap a,
.sts-alltools-wrap a:hover,
.sts-alltools-wrap a:visited,
.sts-alltools-wrap a:active,
.sts-alltools-wrap a:focus{
    text-decoration:none !important;
    border-bottom:none !important;
    color:var(--sts-ink) !important;
}

.sts-alltools-header{
    text-align:center;
    margin-bottom:2.75rem;
}
.sts-alltools-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:7px;
    font-family:var(--sts-font-display);
    font-size:11.5px;
    font-weight:700;
    letter-spacing:.09em;
    color:var(--sts-brand);
    background:#eef4ff;
    border:1px solid #d7e3fb;
    padding:6px 14px 6px 12px;
    border-radius:999px;
    margin-bottom:20px;
}
.sts-alltools-live-dot{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#1a9b53;
    display:inline-block;
    animation:sts-alltools-pulse 1.6s ease-in-out infinite;
}
@keyframes sts-alltools-pulse{
    0%, 100%{ opacity:1; transform:scale(1); }
    50%{ opacity:.4; transform:scale(.75); }
}
.sts-alltools-title{
    font-family:var(--sts-font-display);
    font-size:clamp(32px, 4.4vw, 46px);
    font-weight:800;
    letter-spacing:-0.025em;
    margin:0 0 10px;
    line-height:1.1;
}
.sts-alltools-tagline{
    font-size:16px;
    color:var(--sts-muted);
    margin:0;
}

.sts-alltools-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:16px;
}
@media (max-width:900px){
    .sts-alltools-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
.sts-alltools-card{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
    background:color-mix(in srgb, var(--sts-cat-bg, var(--sts-canvas)) 55%, #fff);
    border:1px solid color-mix(in srgb, var(--sts-cat-color, var(--sts-border)) 22%, var(--sts-border));
    border-radius:20px;
    padding:1.6rem 1.4rem 1.5rem;
    isolation:isolate;
    transition:transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease;
}
a.sts-alltools-card{ cursor:pointer; }
a.sts-alltools-card:hover{
    transform:translateY(-6px);
    border-color:var(--sts-cat-color);
    box-shadow:0 18px 34px -16px color-mix(in srgb, var(--sts-cat-color) 55%, transparent);
}
a.sts-alltools-card:hover .sts-alltools-icon{
    transform:scale(1.1) rotate(-4deg);
}
a.sts-alltools-card:hover .sts-alltools-cta{
    transform:translateY(-3px) scale(1.045);
    gap:10px;
    box-shadow:
        0 12px 24px -8px color-mix(in srgb, var(--sts-cat-color) 75%, transparent),
        0 2px 0 rgba(255,255,255,.35) inset!important;
}
a.sts-alltools-card:hover .sts-alltools-cta::before{
    left:130%;
}
a.sts-alltools-card:active .sts-alltools-cta{
    transform:translateY(-1px) scale(.97);
    box-shadow:
        0 4px 10px -6px color-mix(in srgb, var(--sts-cat-color) 70%, transparent),
        0 1px 0 rgba(255,255,255,.25) inset!important;
}
a.sts-alltools-card:hover .sts-alltools-cta svg{
    transform:translateX(4px);
}
a.sts-alltools-card:focus-visible{
    outline:2px solid var(--sts-cat-color, var(--sts-brand));
    outline-offset:3px;
}

.sts-alltools-card-soon{
    background:var(--sts-surface);
    border-color:var(--sts-border);
}

.sts-alltools-soon-badge{
    position:absolute;
    top:16px;
    right:16px;
    display:inline-flex;
    align-items:center;
    gap:5px;
    font-family:var(--sts-font-display);
    font-size:10px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--sts-muted);
    background:linear-gradient(135deg, #ffffff 0%, var(--sts-canvas) 100%);
    border:1px solid var(--sts-border);
    padding:5px 11px 5px 8px;
    border-radius:999px;
    box-shadow:0 2px 8px -4px rgba(15,23,42,.18);
}
.sts-alltools-soon-badge::before{
    content:"";
    width:5px;
    height:5px;
    flex:0 0 auto;
    border-radius:50%;
    background:#b7bdcc;
    animation:sts-alltools-soon-pulse 2s ease-in-out infinite;
}
@keyframes sts-alltools-soon-pulse{
    0%, 100%{ opacity:.45; transform:scale(.8); }
    50%{ opacity:1; transform:scale(1.2); }
}

.sts-alltools-icon{
    width:50px;
    height:50px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1.1rem;
    box-shadow:0 6px 14px -6px color-mix(in srgb, var(--sts-cat-color, transparent) 60%, transparent);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1);
}
.sts-alltools-card-soon .sts-alltools-icon{
    box-shadow:none;
}

.sts-alltools-card-title{
    font-family:var(--sts-font-display);
    font-size:16.5px;
    font-weight:700;
    letter-spacing:-0.01em;
    margin-bottom:6px;
}
.sts-alltools-card-soon .sts-alltools-card-title{
    color:var(--sts-muted) !important;
}
.sts-alltools-card-desc{
    font-size:13.5px;
    line-height:1.5;
}

.sts-alltools-cta{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-top:1.3rem;
    font-family:var(--sts-font-display);
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.015em;
    padding:9.5px 16px;
    border-radius:11px;
    border:none!important;
    background:linear-gradient(135deg,
        color-mix(in srgb, var(--sts-cat-color) 100%, #fff 8%) 0%,
        var(--sts-cat-color) 55%,
        color-mix(in srgb, var(--sts-cat-color) 82%, #000 22%) 100%)!important;
    box-shadow:
        0 5px 14px -6px color-mix(in srgb, var(--sts-cat-color) 65%, transparent),
        0 1px 0 rgba(255,255,255,.3) inset,
        0 -6px 10px -6px rgba(0,0,0,.18) inset!important;
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), gap .2s ease, box-shadow .3s ease;
    animation:sts-cta-breathe 3.6s ease-in-out infinite;
}

/* diagonal shine sweep that travels across the pill on hover */
.sts-alltools-cta::before{
    content:"";
    position:absolute;
    top:0;
    left:-65%;
    width:35%;
    height:100%;
    background:linear-gradient(115deg, transparent, rgba(255,255,255,.65), transparent);
    transform:skewX(-22deg);
    transition:left .6s cubic-bezier(.4,0,.2,1);
    pointer-events:none;
}

/* soft idle glow ring that gently pulses so the button feels alive at rest */
@keyframes sts-cta-breathe{
    0%, 100%{
        box-shadow:
            0 5px 14px -6px color-mix(in srgb, var(--sts-cat-color) 55%, transparent),
            0 1px 0 rgba(255,255,255,.3) inset,
            0 -6px 10px -6px rgba(0,0,0,.18) inset;
    }
    50%{
        box-shadow:
            0 7px 20px -6px color-mix(in srgb, var(--sts-cat-color) 78%, transparent),
            0 1px 0 rgba(255,255,255,.3) inset,
            0 -6px 10px -6px rgba(0,0,0,.18) inset;
    }
}

.sts-alltools-cta svg{ transition:transform .3s cubic-bezier(.34,1.56,.64,1); }

@media (prefers-reduced-motion: reduce){
    .sts-alltools-card,
    .sts-alltools-icon,
    .sts-alltools-cta,
    .sts-alltools-cta::before,
    .sts-alltools-cta svg,
    .sts-alltools-soon-badge::before,
    .sts-alltools-live-dot{ animation:none !important; transition:none !important; }
    a.sts-alltools-card:hover{ transform:none; }
    a.sts-alltools-card:hover .sts-alltools-cta{ transform:none; }
}

/* ==========================================================================
   All Tools grid - compact 3-column mobile layout
   ========================================================================== */
@media (max-width:600px){
    .sts-alltools-grid{
        grid-template-columns:repeat(2, minmax(0,1fr)) !important;
        gap:10px !important;
    }
    .sts-alltools-card{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:flex-start !important;
        text-align:center !important;
        padding:0.9rem 0.6rem 0.8rem !important;
        border-radius:16px !important;
        aspect-ratio:1 / 1 !important;
        min-height:0 !important;
        height:auto !important;
        width:100% !important;
    }
    .sts-alltools-soon-badge{
        position:static !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        margin:0 0 0.4rem !important;
        font-size:7px !important;
        line-height:1.4 !important;
        padding:3px 7px 3px 5px !important;
        white-space:nowrap !important;
        order:-1 !important;
    }
    .sts-alltools-icon{
        width:44px !important;
        height:44px !important;
        min-width:44px !important;
        min-height:44px !important;
        border-radius:12px !important;
        margin:0 0 0.6rem !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        flex-shrink:0 !important;
    }
    .sts-alltools-icon svg{ width:21px !important; height:21px !important; }
    .sts-alltools-card-title{
        font-size:13.5px !important;
        font-weight:700 !important;
        line-height:1.3 !important;
        margin:0 0 0.5rem !important;
        display:-webkit-box !important;
        -webkit-line-clamp:2 !important;
        -webkit-box-orient:vertical !important;
        overflow:hidden !important;
        width:100% !important;
    }
    .sts-alltools-card-desc{
        display:none !important;
    }
    .sts-alltools-cta{
        margin-top:auto !important;
        padding:7px 6px !important;
        font-size:11px !important;
        font-weight:700 !important;
        gap:4px !important;
        border-radius:8px !important;
        width:100% !important;
        max-width:100% !important;
        justify-content:center !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
    }
    .sts-alltools-cta svg{ width:10px !important; height:10px !important; flex-shrink:0 !important; }
    .sts-alltools-card-soon{
        justify-content:flex-start !important;
    }
    .sts-alltools-soon-badge{
        font-size:8px !important;
    }
}
@media (max-width:360px){
    .sts-alltools-grid{ gap:8px !important; }
    .sts-alltools-card{ padding:0.7rem 0.5rem 0.65rem !important; }
    .sts-alltools-icon{ width:38px !important; height:38px !important; min-width:38px !important; min-height:38px !important; }
    .sts-alltools-icon svg{ width:18px !important; height:18px !important; }
    .sts-alltools-card-title{ font-size:12px !important; }
    .sts-alltools-cta{ font-size:10px !important; padding:6px 5px !important; }
}
