:root {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #202a27;
    background: #f5f5ef;
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
button,
input,
textarea {
    font: inherit;
}
button,
a,
input,
textarea {
    outline-offset: 4px;
}
button {
    cursor: pointer;
}
button:disabled {
    opacity: 0.55;
    cursor: wait;
}
a {
    color: inherit;
}
header {
    background: #1c2e29;
    color: #f8faf7;
    padding: 23px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.6px;
}
.mark {
    border: 1px solid #bed1ba;
    display: grid;
    place-items: center;
    width: 31px;
    height: 34px;
    color: #d0e6bf;
    font-size: 20px;
}
.brand small {
    font-size: 10px;
    display: block;
    font-weight: 400;
    letter-spacing: 1.7px;
    color: #b8c7be;
    margin-top: 4px;
}
.account {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #c6d2cc;
}
.quiet {
    border: 1px solid #64766b;
    background: transparent;
    color: inherit;
    padding: 8px 12px;
    border-radius: 4px;
}
main {
    max-width: 1420px;
    margin: auto;
    padding: 50px 5%;
}
.intro {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 28px;
}
.eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 650;
    color: #66776b;
}
.intro h1 {
    font-family: Georgia, serif;
    font-size: 43px;
    letter-spacing: -1.5px;
    font-weight: 400;
    margin: 12px 0;
}
.intro p {
    font-size: 14px;
    color: #68746b;
    line-height: 1.7;
    margin: 0;
}
.count {
    font-family: Georgia, serif;
    font-size: 34px;
}
.count span {
    font:
        11px Inter,
        sans-serif;
    display: block;
    color: #68746b;
    margin-top: 5px;
}
.save-card {
    border: 1px solid #d6ded1;
    background: #eaf0e3;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 38px;
}
.save-card label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.save-row {
    display: flex;
    gap: 10px;
}
.save-row input {
    flex: 1;
    min-width: 0;
}
input,
textarea {
    border: 1px solid #cbd4c7;
    border-radius: 5px;
    background: #fff;
    color: #24352a;
    padding: 13px 15px;
    font-size: 13px;
}
.primary {
    border: 0;
    border-radius: 5px;
    background: #294c38;
    color: #fff;
    padding: 13px 25px;
    font-size: 13px;
    font-weight: 600;
}
.save-note {
    font-size: 11px;
    color: #62745e;
    margin: 12px 0 0;
    line-height: 1.6;
}
details {
    margin-top: 15px;
    font-size: 12px;
}
summary {
    cursor: pointer;
    color: #3e5b3b;
    width: fit-content;
}
.optional {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    margin-top: 16px;
}
.optional input,
.optional textarea {
    width: 100%;
    margin-top: 7px;
}
.optional label {
    margin: 0;
}
.optional textarea {
    height: 44px;
    resize: vertical;
}
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.toolbar h2 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
.toolbar input {
    width: 280px;
    background: transparent;
    padding: 10px 13px;
}
.library {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
    border: 1px solid #dce0d6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    min-height: 400px;
}
.capture-list {
    padding: 8px;
    border-right: 1px solid #e5e8df;
}
.capture {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid transparent;
    background: transparent;
    padding: 20px 18px;
    border-radius: 5px;
    color: inherit;
}
.capture + .capture {
    margin-top: 3px;
}
.capture:hover {
    background: #f5f7f0;
}
.capture.selected {
    background: #edf2e7;
    border-color: #d5dfc9;
}
.capture-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.domain {
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}
.url {
    font-size: 11px;
    color: #738070;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 7px 0 13px;
}
.meta {
    font-size: 10px;
    color: #727e70;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.pill {
    font-size: 10px;
    border: 1px solid #dce4d4;
    border-radius: 20px;
    padding: 4px 8px;
    background: #f4f7f0;
    color: #526947;
    white-space: nowrap;
}
.pill.failed,
.pill.blocked {
    background: #fcf0eb;
    border-color: #edd6cc;
    color: #98532e;
}
.pill.capturing,
.pill.queued {
    background: #fff8e8;
    color: #8b6b28;
    border-color: #f0e4c8;
}
.detail {
    padding: 26px;
    min-width: 0;
    background: #fcfcf8;
}
.detail h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 26px;
    margin: 14px 0 8px;
    overflow-wrap: anywhere;
}
.detail-url {
    font-size: 11px;
    color: #6e7d67;
    overflow-wrap: anywhere;
    line-height: 1.6;
}
.detail dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    font-size: 11px;
    gap: 12px;
    line-height: 1.6;
    margin: 22px 0;
}
.detail dt {
    color: #7b8477;
}
.detail dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.preview {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    object-position: top;
    background: #fff;
    border: 1px solid #dfe4d9;
    border-radius: 4px;
    margin: 15px 0;
}
.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.actions button {
    font-size: 11px;
    border: 1px solid #cfd9c7;
    color: #365030;
    background: #fff;
    padding: 9px 12px;
    border-radius: 4px;
}
.notice {
    font-size: 11px;
    color: #7c7559;
    background: #f7f5e9;
    border: 1px solid #e9e4d1;
    border-radius: 4px;
    padding: 12px;
    line-height: 1.7;
}
.notes,
.text-preview {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.8;
}
.text-preview {
    max-height: 320px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e0e4db;
    padding: 15px;
}
.empty {
    padding: 75px 28px;
    text-align: center;
    color: #7b8674;
    font-size: 13px;
    line-height: 1.9;
}
.empty strong {
    display: block;
    color: #44573b;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 7px;
}
.empty-icon {
    font-size: 32px;
    color: #9aaf8d;
    margin-bottom: 16px;
}
.error {
    background: #faece6;
    color: #8f4028;
    font-size: 12px;
    padding: 12px 16px;
    border: 1px solid #e8cabe;
    border-radius: 4px;
    margin: 12px 0;
    line-height: 1.6;
}
.success {
    font-size: 12px;
    color: #355c32;
    margin: 12px 0;
}
footer {
    margin-top: 23px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.3px;
    color: #7e8977;
}
.login {
    min-height: 100vh;
    background: #192c25;
    color: #edf3e7;
    display: grid;
    place-items: center;
    padding: 30px;
}
.login-card {
    max-width: 390px;
    width: 100%;
}
.login .brand {
    margin-bottom: 80px;
}
.login h1 {
    font:
        50px Georgia,
        serif;
    letter-spacing: -1.5px;
    font-weight: 400;
}
.login p {
    font-size: 14px;
    line-height: 1.9;
    color: #b0c3af;
}
.login .primary {
    margin: 25px 0;
    background: #d6e8bf;
    color: #203520;
    width: 100%;
}
.login .eyebrow {
    color: #93ab8f;
}
.login .login-foot {
    font-size: 11px;
    margin-top: 40px;
}
.boot {
    padding: 50px;
    color: #62735b;
}
[hidden] {
    display: none !important;
}
@media (max-width: 850px) {
    main {
        padding: 30px 5%;
    }
    .library {
        grid-template-columns: 1fr;
    }
    .capture-list {
        border-right: 0;
        border-bottom: 1px solid #e5e8df;
    }
    .intro h1 {
        font-size: 35px;
    }
    .account {
        gap: 10px;
    }
    .account > span {
        display: none;
    }
    .detail {
        padding: 22px;
    }
    .optional {
        grid-template-columns: 1fr;
    }
    .toolbar input {
        width: 55%;
    }
    .count {
        font-size: 27px;
    }
    .save-card {
        padding: 18px;
    }
    .save-row {
        flex-wrap: wrap;
    }
    .save-row input {
        width: 100%;
        flex-basis: 100%;
    }
    .save-row button {
        width: 100%;
    }
    footer {
        gap: 15px;
        line-height: 1.8;
    }
    .empty {
        padding: 45px 20px;
    }
}
