* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #1d2430;
    background: #f4f6f8;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.login {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.panel {
    width: min(420px, 100%);
    padding: 28px;
    background: #fff;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
}

h1 {
    margin: 0;
    font-size: 24px;
}

label {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #bac5d1;
    border-radius: 6px;
    font: inherit;
}

button {
    width: 100%;
    margin-top: 22px;
    padding: 12px;
    color: #fff;
    background: #1463ff;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.error {
    padding: 10px 12px;
    color: #8a1f11;
    background: #ffe9e5;
    border-radius: 6px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(16px, 4vw, 44px);
    color: #fff;
    background: #1d2430;
}

.topbar p {
    margin: 6px 0 0;
    color: #b9c4d0;
}

.container {
    width: min(980px, calc(100% - 32px));
    margin: 24px auto;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
}

.row a {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.parent {
    display: block;
}

.icon {
    display: inline-block;
    width: 42px;
    margin-right: 8px;
    color: #64748b;
    font-size: 12px;
}

.meta {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 14px;
}

.empty {
    color: #64748b;
}

@media (max-width: 640px) {
    .topbar,
    .row {
        align-items: flex-start;
        flex-direction: column;
    }

    .meta {
        font-size: 13px;
    }
}
