@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), url('./../fonts/Lato-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    src: local('Lato Italic'), url('./../fonts/Lato-Italic.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: local('Lato Hairline'), url('./../fonts/Lato-Hairline.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 100;
    src: local('Lato Hairline Italic'), url('./../fonts/Lato-HairlineItalic.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: local('Lato Light'), url('./../fonts/Lato-Light.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 300;
    src: local('Lato Light Italic'), url('./../fonts/Lato-LightItalic.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), url('./../fonts/Lato-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 700;
    src: local('Lato Bold Italic'), url('./../fonts/Lato-BoldItalic.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: local('Lato Black'), url('./../fonts/Lato-Black.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 900;
    src: local('Lato Black Italic'), url('./../fonts/Lato-BlackItalic.woff') format('woff');
}

body {
    font-family: 'Lato', sans-serif;
    color: #27272a;
}

/* De-AI Writing UI */
.score-block {
    margin-top: .5rem;
}

.score-label {
    display: inline-block;
    width: 150px;
    font-size: .72rem;
    color: #52525b;
}

.score-val {
    display: inline-block;
    width: 34px;
    text-align: right;
    font-size: .72rem;
    margin-left: .4rem;
}

.seg-orig,
.seg-new {
    white-space: pre-wrap;
    font-size: .85rem;
    border-radius: .375rem;
    padding: .5rem .6rem;
    background: #f4f4f5;
    max-height: 320px;
    overflow: auto;
}

.seg-new {
    background: #ecfdf5;
}

.diff-view {
    white-space: pre-wrap;
    font-size: .9rem;
    line-height: 1.6;
    background: #fff;
}

.diff-view ins {
    background: #d1fae5;
    color: #065f46;
    text-decoration: none;
}

.diff-view del {
    background: #fee2e2;
    color: #991b1b;
    text-decoration: line-through;
}
