.tlt-wrapper {
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tlt-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.tlt-disclaimer {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.tlt-form {
    margin-bottom: 1.5rem;
}

.tlt-field {
    margin-bottom: 1rem;
}

.tlt-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.tlt-field textarea,
.tlt-field select,
.tlt-output-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.tlt-field textarea:focus,
.tlt-field select:focus,
.tlt-output-field textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.tlt-field-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tlt-subfield {
    flex: 1 1 150px;
}

.tlt-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.tlt-status {
    font-size: 0.9rem;
    color: #555;
}

.tlt-status-error {
    color: #c00;
}

.tlt-button {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    border: 1px solid #777;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 0.95rem;
}

.tlt-button:hover {
    background: #ececec;
}

.tlt-button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.tlt-button-primary:hover {
    background: #135e96;
}

.tlt-output {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.tlt-output-title {
    margin-top: 0;
    font-size: 1.2rem;
}

.tlt-note {
    font-size: 0.9rem;
    color: #555;
}

.tlt-output-field {
    margin: 1rem 0;
}

.tlt-output-actions {
    margin-bottom: 1rem;
}

.tlt-share {
    margin-top: 0.5rem;
}

.tlt-share-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tlt-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tlt-share-note {
    font-size: 0.85rem;
    color: #666;
}

.tlt-notice {
    padding: 0.8rem 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 600px) {
    .tlt-wrapper {
        margin: 1rem;
        padding: 1rem;
    }

    .tlt-field-inline {
        flex-direction: column;
    }
}
