:root {
    --spft-ink: #172554;
    --spft-muted: #626D86;
    --spft-line: #DDD6FE;
    --spft-violet: #5B3DF5;
    --spft-violet-dark: #4325D0;
    --spft-soft: #F5F7FF;
}
body.page-id-5957 .site-header,
body.page-id-5957 .site-footer,
body.page-id-5958 .site-header,
body.page-id-5958 .site-footer {
    display: none !important;
}
body.page-id-5957,
body.page-id-5958 {
    background: #F5F7FF !important;
}
body.page-id-5957 #page,
body.page-id-5958 #page,
body.page-id-5957 .site,
body.page-id-5958 .site {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.spft-app, .spft-app * { box-sizing: border-box; }
.spft-app {
    min-height: 100vh;
    background: #F5F7FF;
    color: var(--spft-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
}
.spft-app a { text-decoration: none; }
.spft-app h1, .spft-app h2, .spft-app h3, .spft-app p { font-family: inherit; }
.spft-app-header {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px max(28px, calc((100% - 1160px)/2));
    border-bottom: 1px solid #efedf4;
    background: rgba(255,255,255,.98);
}
.spft-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--spft-ink) !important; }
.spft-brand-mark {
    width: 42px; height: 42px; display: grid; place-items: center;
    border-radius: 13px; background: var(--spft-violet); color: #fff;
    font-size: 23px; font-weight: 850; letter-spacing: -2px;
}
.spft-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.spft-brand-copy strong { font-size: 17px; font-weight: 850; letter-spacing: .045em; }
.spft-brand-copy strong span { color: var(--spft-violet); }
.spft-brand-copy small { margin-top: 5px; color: #898796; font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.spft-app-nav { display: flex; align-items: center; gap: 8px; }
.spft-app-nav a { padding: 10px 14px; border-radius: 9px; color: #6e6c7a; font-size: 13px; font-weight: 650; transition: .18s ease; }
.spft-app-nav a:hover, .spft-app-nav a.is-active { background: #EAE5FF; color: var(--spft-violet-dark); }
.spft-wrap { width: min(100% - 48px, 1040px); margin: 0 auto; padding: 0 0 68px; color: var(--spft-ink); }
.spft-hero { padding: 76px 0 48px; }
.spft-kicker, .spft-section-label { display: inline-flex; align-items: center; gap: 9px; color: var(--spft-violet); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.spft-live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #8d78ff; box-shadow: 0 0 0 4px #f0edff; }
.spft-hero h1, .spft-converter-hero h1 {
    margin: 21px 0 16px; color: #20202c; font-size: clamp(42px, 6.2vw, 68px);
    line-height: 1.05; letter-spacing: -.055em; font-weight: 850;
}
.spft-hero h1 span, .spft-converter-hero h1 span { color: var(--spft-violet); }
.spft-hero > p, .spft-converter-hero > p { max-width: 570px; margin: 0; color: var(--spft-muted); font-size: 16px; line-height: 1.8; }
.spft-search {
    display: flex; align-items: center; gap: 12px; width: min(100%, 590px); min-height: 58px;
    margin-top: 30px; padding: 0 17px; border: 1px solid #e5e1ef; border-radius: 13px;
    background: #fff; box-shadow: 0 8px 28px rgba(43,31,89,.045);
}
.spft-search > span { color: var(--spft-violet); font-size: 29px; line-height: 1; transform: rotate(-15deg); }
.spft-search input { width: 100%; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; color: var(--spft-ink); font: inherit; font-size: 14px; }
.spft-search kbd { color: #a4a1b0; font-size: 9px; font-family: inherit; letter-spacing: .1em; }
.spft-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 23px; color: #777584; font-size: 11px; }
.spft-hero-meta i { margin-right: 5px; color: var(--spft-violet); font-style: normal; font-weight: 900; }
.spft-tools-section { padding-top: 17px; }
.spft-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.spft-section-heading h2, .spft-workspace-heading h2, .spft-file-heading h2 { margin: 5px 0 0; color: #242331; font-size: 27px; font-weight: 800; letter-spacing: -.035em; }
.spft-tool-count { padding: 7px 10px; border: 1px solid #e9e5f5; border-radius: 7px; color: #8c879c; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.spft-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.spft-tool-card {
    display: flex; flex-direction: column; min-width: 0; min-height: 275px; padding: 23px;
    border: 1px solid #e9e7ef; border-radius: 15px; background: #fff; color: var(--spft-ink);
    box-shadow: 0 4px 15px rgba(34,27,66,.025); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.spft-tool-card:hover { transform: translateY(-4px); border-color: #d6ccff; box-shadow: 0 16px 35px rgba(55,39,114,.09); color: var(--spft-ink); }
.spft-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 23px; }
.spft-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 14px; }
.spft-icon svg { width: 24px; height: 24px; }
.spft-icon-violet { background: #EAE5FF; color: #5B3DF5; }
.spft-icon-orange { background: #fff2e8; color: #d97c39; }
.spft-icon-green { background: #eaf8f0; color: #318b61; }
.spft-card-arrow { color: #aaa5bb; font-size: 21px; }
.spft-card-category { margin-bottom: 7px; color: #8b879a; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.spft-card-title { display: block; margin-bottom: 8px; color: #252431; font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.spft-card-desc { display: block; color: #777584; font-size: 12px; line-height: 1.8; }
.spft-card-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; color: var(--spft-violet-dark); font-size: 12px; font-weight: 800; }
.spft-card-action span { font-size: 17px; }
.spft-coming { background: #fbfafc; }
.spft-coming .spft-card-title { color: #5f5d6b; }
.spft-status-badge { padding: 5px 7px; border-radius: 5px; background: #f0eef4; color: #858191; font-size: 8px; font-weight: 850; letter-spacing: .06em; white-space: nowrap; }
.spft-muted-action { color: #aaa6b2; }
.spft-no-results { padding: 30px; border: 1px dashed #ddd7ed; border-radius: 12px; color: var(--spft-muted); text-align: center; }
.spft-privacy-banner { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 19px 20px; border: 1px solid #ece8f8; border-radius: 12px; background: #faf9fe; }
.spft-privacy-symbol { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; background: #efebff; color: var(--spft-violet); font-size: 20px; }
.spft-privacy-banner strong { display: block; color: #383546; font-size: 12px; }
.spft-privacy-banner p { margin: 3px 0 0; color: #858190; font-size: 11px; line-height: 1.7; }
.spft-app-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px max(24px, calc((100% - 1040px)/2)); border-top: 1px solid #efedf4; color: #92909e; font-size: 10px; }
.spft-app-footer strong { color: #656273; letter-spacing: .08em; }
.spft-back-link { display: inline-flex; margin-top: 35px; color: #777284; font-size: 12px; font-weight: 700; }
.spft-back-link:hover { color: var(--spft-violet); }
.spft-converter-hero { padding: 35px 0 32px; }
.spft-converter-hero h1 { margin-top: 17px; font-size: clamp(40px, 5.3vw, 56px); }
.spft-privacy-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; padding: 8px 12px; border: 1px solid #e8e2ff; border-radius: 8px; background: #faf9ff; color: #6653b4; font-size: 11px; font-weight: 700; }
.spft-workspace { padding: clamp(19px, 4vw, 34px); border: 1px solid #DDD6FE; border-radius: 17px; background: #fff; box-shadow: 0 10px 35px rgba(39,30,74,.045); }
.spft-workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.spft-workspace-heading h2 { font-size: 21px; }
.spft-workspace-heading p { margin: 5px 0 0; color: var(--spft-muted); font-size: 12px; }
.spft-step-number { color: #aaa5b7; font-size: 9px; font-weight: 850; letter-spacing: .1em; white-space: nowrap; }
.spft-upload { padding: 34px 15px; border: 1.5px dashed #A99AFB; border-radius: 13px; background: #F6F3FF; text-align: center; outline: none; transition: background .18s ease, border-color .18s ease; }
.spft-upload:focus-visible { outline: 3px solid #dcd3ff; outline-offset: 3px; }
.spft-upload.spft-dragging { border-color: var(--spft-violet); background: #f2efff; }
.spft-upload-icon { display: grid; place-items: center; width: 49px; height: 49px; margin: 0 auto 13px; border-radius: 14px; background: #efebff; color: var(--spft-violet); }
.spft-upload-icon svg { width: 25px; height: 25px; }
.spft-upload h3 { margin: 0 0 5px; color: #302d3d; font-size: 17px; font-weight: 800; }
.spft-upload p { margin: 0 0 16px; color: #888494; font-size: 12px; }
.spft-upload small { display: block; margin-top: 14px; color: #9995a4; font-size: 10px; }
.spft-upload small span { padding: 0 4px; color: #c1b9d8; }
.spft-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 12px 19px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.spft-button:focus-visible, .spft-text-button:focus-visible { outline: 3px solid #dcd3ff; outline-offset: 3px; }
.spft-button:disabled { cursor: not-allowed; opacity: .45; }
.spft-button-primary { width: 100%; margin-top: 14px; background: var(--spft-violet); color: #fff !important; }
.spft-button-primary:hover:not(:disabled) { background: var(--spft-violet-dark); }
.spft-button-primary span { font-size: 17px; }
.spft-button-secondary { background: #efebff; color: #5b43c8; }
.spft-button-secondary:hover { background: #e3dcff; }
.spft-settings-heading { margin-top: 32px; }
.spft-settings { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin: 20px 0 28px; }
.spft-settings label { display: flex; flex-direction: column; gap: 8px; color: #5c596b; font-size: 11px; font-weight: 750; }
.spft-settings select { width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid #e4e0ed; border-radius: 8px; background: #fff; color: #373444; font: inherit; font-size: 11px; }
.spft-file-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 28px 0 13px; }
.spft-file-heading h2 { font-size: 19px; }
.spft-file-heading h2 span { color: #9993ab; font-size: 13px; font-weight: 650; }
.spft-text-button { padding: 7px 0; border: 0; background: transparent; color: var(--spft-violet-dark); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.spft-text-button:disabled { opacity: .35; cursor: not-allowed; }
.spft-empty { display: flex; flex-direction: column; align-items: center; padding: 26px 12px; border: 1px dashed #e4e0ed; border-radius: 10px; color: #9994a5; text-align: center; font-size: 12px; }
.spft-empty > span { margin-bottom: 7px; color: #a69bda; font-size: 25px; }
.spft-empty strong { color: #656172; font-size: 12px; }
.spft-empty p { margin: 3px 0 0; color: #9994a5; font-size: 11px; }
.spft-file-list { display: grid; gap: 9px; }
.spft-file-row { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid #eae7f0; border-radius: 10px; background: #fff; }
.spft-file-row img { display: block; width: 54px; height: 54px; border-radius: 7px; object-fit: cover; background: #f3f1f8; }
.spft-file-name { overflow-wrap: anywhere; color: #353242; font-size: 12px; font-weight: 750; }
.spft-file-meta { margin-top: 4px; color: #9691a2; font-size: 10px; }
.spft-file-actions { display: flex; align-items: center; gap: 5px; }
.spft-file-actions button { min-width: 32px; min-height: 34px; padding: 5px; border: 1px solid #e8e4ef; border-radius: 7px; background: #fff; color: #625b77; cursor: pointer; }
.spft-file-actions button:hover:not(:disabled) { border-color: #cfc4ff; background: #f5f2ff; }
.spft-file-actions button:disabled { opacity: .3; cursor: not-allowed; }
.spft-status { margin-top: 13px; color: #777284; font-size: 12px; line-height: 1.6; }
.spft-status.spft-error { color: #b42318; }
.spft-status.spft-success { color: #067647; }
.spft-create-area { margin-top: 28px; padding-top: 22px; border-top: 1px solid #efedf4; }
.spft-create-area > p { margin: 10px 0 0; color: #9691a0; font-size: 10px; text-align: center; }
@media (max-width: 760px) {
    .spft-app-header { min-height: 70px; padding: 12px 20px; }
    .spft-app-nav { gap: 2px; }
    .spft-app-nav a { padding: 9px 10px; font-size: 11px; }
    .spft-wrap { width: min(100% - 36px, 620px); }
    .spft-hero { padding-top: 56px; }
    .spft-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .spft-tool-card { min-height: 260px; padding: 18px; }
    .spft-settings { grid-template-columns: 1fr; gap: 12px; }
    .spft-settings select { min-height: 47px; }
}
@media (max-width: 480px) {
    .spft-app-header { align-items: flex-start; flex-direction: column; gap: 12px; padding: 13px 18px; }
    .spft-brand-mark { width: 37px; height: 37px; }
    .spft-app-nav { width: 100%; justify-content: space-between; }
    .spft-app-nav a { padding: 8px 9px; font-size: 10px; }
    .spft-wrap { width: calc(100% - 32px); padding-bottom: 42px; }
    .spft-hero { padding: 43px 0 36px; }
    .spft-hero h1 { font-size: 45px; }
    .spft-hero > p, .spft-converter-hero > p { font-size: 14px; }
    .spft-search { min-height: 52px; margin-top: 23px; padding: 0 12px; }
    .spft-search kbd { display: none; }
    .spft-hero-meta { gap: 10px 14px; font-size: 10px; }
    .spft-section-heading h2 { font-size: 24px; }
    .spft-grid { grid-template-columns: 1fr; }
    .spft-tool-card { min-height: 230px; padding: 21px; }
    .spft-card-top { margin-bottom: 17px; }
    .spft-privacy-banner { padding: 14px; }
    .spft-app-footer { align-items: flex-start; flex-direction: column; gap: 5px; padding: 19px 18px; }
    .spft-back-link { margin-top: 23px; }
    .spft-converter-hero { padding: 27px 0 25px; }
    .spft-converter-hero h1 { font-size: 43px; }
    .spft-workspace { padding: 16px 13px; border-radius: 13px; }
    .spft-workspace-heading h2 { font-size: 18px; }
    .spft-workspace-heading p { max-width: 220px; font-size: 11px; }
    .spft-step-number { font-size: 8px; }
    .spft-upload { padding: 25px 9px; }
    .spft-upload small { font-size: 9px; }
    .spft-file-row { grid-template-columns: 45px minmax(0,1fr); gap: 9px; }
    .spft-file-row img { width: 45px; height: 45px; }
    .spft-file-actions { grid-column: 2; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .spft-app *, .spft-app *::before, .spft-app *::after { transition: none !important; scroll-behavior: auto !important; }
}
