.adp-human-editor{
    --orange:#fc9012;
    --orange-dark:#e67d05;
    --cyan:#00bddd;
    --cyan-soft:#eafaff;
    --ink:#172033;
    --muted:#667085;
    --line:#e4e9ef;
    --soft:#f7f9fb;
    --white:#fff;

    width:100%;
    max-width:1380px;
    margin:0 auto;

    color:var(--ink);
    direction:ltr;

    font-family:
        "Montserrat",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

.adp-human-editor *,
.adp-human-editor *::before,
.adp-human-editor *::after{
    box-sizing:border-box;
}

.adp-human-editor button,
.adp-human-editor textarea,
.adp-human-editor select{
    font:inherit;
}

/* HERO */

.adp-human-editor__hero{
    position:relative;

    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);
    gap:24px;

    margin-bottom:24px;
    padding:34px;

    overflow:hidden;

    border:1px solid #e7edf2;
    border-radius:24px;

    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(0,189,221,.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(252,144,18,.09),
            transparent 33%
        ),
        #fff;
}

.adp-human-editor__hero-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.adp-human-editor__badge{
    align-self:flex-start;

    margin-bottom:15px;
    padding:7px 14px;

    border:1px solid rgba(252,144,18,.28);
    border-radius:999px;

    background:#fff7ed;
    color:#d56e00;

    font-size:12px;
    font-weight:800;
}

.adp-human-editor__hero h1{
    max-width:760px;
    margin:0;

    color:var(--ink);

    font-size:clamp(34px,4.5vw,54px);
    line-height:1.25;
    font-weight:850;
}

.adp-human-editor__hero h1 span{
    color:var(--cyan);
}

.adp-human-editor__hero-copy > p{
    max-width:760px;

    margin:17px 0 0;

    color:var(--muted);

    font-size:16px;
    line-height:1.9;
}

.adp-human-editor__trust{
    display:flex;
    flex-wrap:wrap;
    gap:8px;

    margin-top:21px;
}

.adp-human-editor__trust span{
    padding:7px 11px;

    border:1px solid var(--line);
    border-radius:999px;

    background:#fff;

    color:#475467;

    font-size:11px;
    font-weight:700;
}

.adp-human-editor__hero-card{
    padding:22px;

    border:1px solid rgba(0,189,221,.18);
    border-radius:18px;

    background:rgba(255,255,255,.8);

    box-shadow:
        0 18px 45px rgba(23,32,51,.06);
}

.adp-human-editor__human-score{
    display:flex;
    align-items:center;
    gap:13px;

    padding-bottom:17px;

    border-bottom:1px solid var(--line);
}

.adp-human-editor__human-icon{
    width:48px;
    height:48px;

    display:grid;
    place-items:center;

    flex:0 0 auto;

    border-radius:14px;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ffad43
        );

    color:#fff;

    font-family:"Montserrat",sans-serif;
    font-size:16px;
    font-weight:800;
}

.adp-human-editor__human-score small,
.adp-human-editor__human-score strong{
    display:block;
}

.adp-human-editor__human-score small{
    margin-bottom:3px;

    color:var(--muted);
    font-size:10px;
}

.adp-human-editor__human-score strong{
    font-size:13px;
    line-height:1.6;
}

.adp-human-editor__hero-card ul{
    display:grid;
    gap:9px;

    margin:17px 0 0;
    padding:0;

    list-style:none;
}

.adp-human-editor__hero-card li{
    position:relative;

    padding-left:19px;

    color:#475467;

    font-size:11px;
}

.adp-human-editor__hero-card li::before{
    content:"";

    position:absolute;
    top:.55em;
    left:0;

    width:7px;
    height:7px;

    border-radius:50%;

    background:var(--cyan);
}


/* WORKSPACE */

.adp-human-editor__workspace{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:22px;
    align-items:start;
}

.adp-human-editor__main{
    display:grid;
    gap:22px;
}

.adp-human-editor__panel,
.adp-human-editor__sidebar{
    border:1px solid var(--line);
    border-radius:20px;

    background:#fff;

    box-shadow:
        0 12px 38px rgba(23,32,51,.045);
}

.adp-human-editor__panel{
    padding:22px;
}

.adp-human-editor__sidebar{
    position:sticky;
    top:22px;

    padding:20px;
}

.adp-human-editor__panel-head,
.adp-human-editor__sidebar-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;

    margin-bottom:18px;
}

.adp-human-editor__panel-head > div:first-child,
.adp-human-editor__sidebar-head{
    display:flex;
    align-items:center;
    gap:11px;
}

.adp-human-editor__panel-head h2,
.adp-human-editor__sidebar-head h2{
    margin:0;

    font-size:17px;
    font-weight:800;
}

.adp-human-editor__panel-head p,
.adp-human-editor__sidebar-head p{
    margin:3px 0 0;

    color:var(--muted);

    font-size:10px;
    line-height:1.6;
}

.adp-human-editor__step{
    width:36px;
    height:36px;

    display:grid;
    place-items:center;

    flex:0 0 auto;

    border-radius:11px;

    background:#fff4e7;
    color:var(--orange);

    font-family:"Montserrat",sans-serif;
    font-size:10px;
    font-weight:800;
}

.adp-human-editor__step--cyan{
    background:var(--cyan-soft);
    color:#078aa1;
}

.adp-human-editor__counter{
    color:var(--muted);

    font-size:10px;
}

.adp-human-editor__counter strong{
    color:var(--ink);
}

.adp-human-editor__textarea{
    width:100%;
    min-height:390px;

    padding:18px;

    resize:vertical;

    border:1px solid var(--line);
    border-radius:14px;

    background:#fcfdfe;
    color:var(--ink);

    outline:none;

    font-size:15px;
    line-height:2;
}

.adp-human-editor__textarea:focus{
    border-color:var(--cyan);

    box-shadow:
        0 0 0 4px rgba(0,189,221,.08);

    background:#fff;
}

.adp-human-editor__textarea::placeholder{
    color:#98a2b3;
}

.adp-human-editor__text-actions{
    display:flex;
    justify-content:flex-end;

    margin-top:10px;
}

.adp-human-editor__mini-btn,
.adp-human-editor__copy{
    min-height:36px;

    padding:6px 12px;

    border:1px solid var(--line);
    border-radius:9px;

    background:#fff;
    color:#475467;

    cursor:pointer;

    font-size:10px;
    font-weight:700;
}

.adp-human-editor__mini-btn:hover,
.adp-human-editor__copy:hover:not(:disabled){
    border-color:#cbd5e1;
    background:var(--soft);
}

.adp-human-editor__copy:disabled{
    opacity:.45;
    cursor:not-allowed;
}


/* RESULT */

.adp-human-editor__result{
    min-height:280px;

    padding:18px;

    border:1px dashed #ced8e1;
    border-radius:14px;

    background:#fbfcfd;
}

.adp-human-editor__empty{
    min-height:240px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.adp-human-editor__empty-icon{
    width:54px;
    height:54px;

    display:grid;
    place-items:center;

    margin-bottom:12px;

    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            rgba(252,144,18,.13),
            rgba(0,189,221,.13)
        );

    color:#344054;

    font-family:"Montserrat",sans-serif;
    font-weight:800;
}

.adp-human-editor__empty strong{
    font-size:14px;
}

.adp-human-editor__empty p{
    margin:5px 0 0;

    color:var(--muted);

    font-size:11px;
}


/* HUMAN MODE */

.adp-human-editor__human-mode{
    margin-bottom:17px;
    padding:15px;

    border:1px solid rgba(0,189,221,.2);
    border-radius:14px;

    background:
        linear-gradient(
            135deg,
            #f8fdff,
            #fff
        );
}

.adp-human-editor__mode-title{
    display:flex;
    justify-content:space-between;
    gap:10px;
    align-items:center;

    margin-bottom:12px;
}

.adp-human-editor__mode-title strong,
.adp-human-editor__mode-title small{
    display:block;
}

.adp-human-editor__mode-title strong{
    font-size:12px;
}

.adp-human-editor__mode-title small{
    margin-top:2px;

    color:var(--muted);

    font-size:9px;
}

.adp-human-editor__mode-title > span{
    padding:4px 7px;

    border-radius:999px;

    background:#eafaff;
    color:#078aa1;

    font-size:8px;
    font-weight:800;
}

.adp-human-editor__tone-pills{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.adp-tone-pill{
    padding:6px 10px;

    border:1px solid var(--line);
    border-radius:999px;

    background:#fff;
    color:#475467;

    cursor:pointer;

    font-size:9px;
    font-weight:700;
}

.adp-tone-pill:hover{
    border-color:rgba(252,144,18,.4);
    color:#d97000;
}

.adp-tone-pill.is-active{
    border-color:var(--orange);

    background:#fff5e9;
    color:#d97000;
}


/* FIELDS */

.adp-human-editor__fields{
    display:grid;
    gap:11px;
}

.adp-human-editor__two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
}

.adp-human-field{
    display:grid;
    gap:5px;
}

.adp-human-field > span{
    color:#344054;

    font-size:10px;
    font-weight:750;
}

.adp-human-field select{
    width:100%;
    min-height:42px;

    padding:7px 9px;

    border:1px solid var(--line);
    border-radius:10px;

    background:#fff;
    color:var(--ink);

    outline:none;

    font-size:10px;
}

.adp-human-field select:focus{
    border-color:var(--cyan);

    box-shadow:
        0 0 0 3px rgba(0,189,221,.07);
}


/* ADVANCED */

.adp-human-editor__advanced{
    margin-top:15px;

    border:1px solid var(--line);
    border-radius:12px;

    overflow:hidden;
}

.adp-human-editor__advanced summary{
    padding:12px 13px;

    cursor:pointer;

    background:#fafbfc;

    color:#344054;

    font-size:10px;
    font-weight:800;
}

.adp-human-editor__switches{
    display:grid;
    gap:6px;

    padding:10px;
}

.adp-human-editor__switches label{
    display:flex;
    align-items:flex-start;
    gap:8px;

    padding:9px;

    border-radius:9px;

    cursor:pointer;
}

.adp-human-editor__switches label:hover{
    background:var(--soft);
}

.adp-human-editor__switches input{
    margin-top:3px;

    accent-color:var(--orange);
}

.adp-human-editor__switches strong,
.adp-human-editor__switches small{
    display:block;
}

.adp-human-editor__switches strong{
    color:#344054;

    font-size:10px;
}

.adp-human-editor__switches small{
    margin-top:2px;

    color:var(--muted);

    font-size:8px;
    line-height:1.55;
}


/* SUBMIT */

.adp-human-editor__submit{
    width:100%;
    min-height:54px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;

    margin-top:17px;
    padding:10px 16px;

    border:0;
    border-radius:12px;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ffad43
        );

    color:#fff;

    cursor:pointer;

    font-size:12px;
    font-weight:800;

    box-shadow:
        0 10px 25px rgba(252,144,18,.2);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.adp-human-editor__submit:hover{
    transform:translateY(-1px);

    box-shadow:
        0 14px 30px rgba(252,144,18,.25);
}

.adp-human-editor__submit:disabled{
    opacity:.6;
    cursor:not-allowed;
    transform:none;
}

.adp-human-editor__submit-icon{
    width:27px;
    height:27px;

    display:grid;
    place-items:center;

    border-radius:8px;

    background:rgba(255,255,255,.18);

    font-family:"Montserrat",sans-serif;
    font-size:9px;
}

.adp-human-editor__status{
    margin:10px 0 0;

    color:var(--muted);

    font-size:8px;
    line-height:1.6;
    text-align:center;
}

.adp-human-editor__prompt-preview{
    direction:ltr;
    white-space:pre-wrap;

    color:#344054;

    font-size:13px;
    line-height:1.95;
}


/* RESPONSIVE */

@media(max-width:1024px){

    .adp-human-editor__workspace{
        grid-template-columns:1fr;
    }

    .adp-human-editor__sidebar{
        position:static;
    }

}

@media(max-width:760px){

    .adp-human-editor__hero{
        grid-template-columns:1fr;

        padding:23px;

        border-radius:18px;
    }

    .adp-human-editor__hero-card{
        display:none;
    }

    .adp-human-editor__hero h1{
        font-size:34px;
    }

    .adp-human-editor__hero-copy > p{
        font-size:14px;
    }

    .adp-human-editor__panel,
    .adp-human-editor__sidebar{
        padding:15px;

        border-radius:16px;
    }

    .adp-human-editor__panel-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .adp-human-editor__two{
        grid-template-columns:1fr;
    }

    .adp-human-editor__textarea{
        min-height:300px;
    }

}


/* =========================================================
   ADP NATURAL STYLE ANALYSIS V030
   ========================================================= */

.adp-style-analysis{
    margin-top:16px;
    padding:17px;

    border:1px solid #dfe9ef;
    border-radius:15px;

    background:
        linear-gradient(
            135deg,
            rgba(0,189,221,.045),
            rgba(252,144,18,.035)
        ),
        #fff;
}

.adp-style-analysis__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}

.adp-style-analysis__eyebrow{
    display:block;
    margin-bottom:3px;

    color:#078aa1;

    font-size:9px;
    font-weight:800;
}

.adp-style-analysis h3{
    margin:0;

    color:#172033;

    font-size:14px;
    line-height:1.5;
    font-weight:800;
}

.adp-style-analysis__head p{
    max-width:540px;

    margin:4px 0 0;

    color:#667085;

    font-size:9px;
    line-height:1.7;
}

.adp-style-score{
    min-width:72px;
    height:56px;

    display:flex;
    align-items:baseline;
    justify-content:center;
    gap:2px;

    padding:9px 12px;

    border:1px solid rgba(0,189,221,.18);
    border-radius:13px;

    background:#fff;

    direction:ltr;
}

.adp-style-score strong{
    color:#172033;

    font-family:"Montserrat",sans-serif;
    font-size:23px;
    line-height:1;
    font-weight:800;
}

.adp-style-score span{
    color:#98a2b3;

    font-family:"Montserrat",sans-serif;
    font-size:9px;
    font-weight:700;
}

.adp-style-analysis__bar{
    width:100%;
    height:7px;

    margin-top:14px;

    overflow:hidden;

    border-radius:999px;

    background:#edf2f5;
}

.adp-style-analysis__bar span{
    display:block;

    width:0;
    height:100%;

    border-radius:inherit;

    background:
        linear-gradient(
            90deg,
            #fc9012,
            #00bddd
        );

    transition:width .3s ease;
}

.adp-style-analysis__metrics{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;

    margin-top:13px;
}

.adp-style-analysis__metrics article{
    min-width:0;

    padding:10px;

    border:1px solid #e7edf2;
    border-radius:10px;

    background:rgba(255,255,255,.82);
}

.adp-style-analysis__metrics small,
.adp-style-analysis__metrics strong{
    display:block;
}

.adp-style-analysis__metrics small{
    margin-bottom:3px;

    color:#98a2b3;

    font-size:8px;
}

.adp-style-analysis__metrics strong{
    overflow:hidden;

    color:#344054;

    font-size:9px;
    font-weight:800;

    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-style-analysis__insight{
    margin-top:10px;
    padding:10px 12px;

    border-left:3px solid #00bddd;
    border-radius:8px;

    background:#f5fcfe;
    color:#475467;

    font-size:9px;
    line-height:1.75;
}

.adp-style-analysis__note{
    margin-top:8px;

    color:#98a2b3;

    font-size:7.5px;
    line-height:1.6;
}

@media(max-width:650px){

    .adp-style-analysis__head{
        align-items:center;
    }

    .adp-style-analysis__metrics{
        grid-template-columns:1fr 1fr;
    }

}


/* =========================================================
   ADP CLEAN FINAL TEXT V031
   ========================================================= */

.adp-human-editor__final-text{
    max-height:520px;
    overflow:auto;

    padding:2px 4px 8px;

    color:#263244;

    white-space:pre-wrap;
    word-break:break-word;

    font-size:14px;
    line-height:2;

    scrollbar-width:thin;
}

.adp-human-editor__result{
    max-height:560px;
    overflow:auto;
}

@media(max-width:760px){

    .adp-human-editor__final-text{
        max-height:430px;

        font-size:13px;
        line-height:1.95;
    }

    .adp-human-editor__result{
        max-height:470px;
    }

}
