.ta-teoslomake { max-width: 760px; margin: 0 auto; }
.ta-teoslomake label { display: block; font-weight: 600; margin-bottom: .4rem; }
.ta-teoslomake input:not([type=checkbox]):not([type=hidden]),
.ta-teoslomake select, .ta-teoslomake textarea { box-sizing: border-box; width: 100%; max-width: 100%; padding: .7rem; font: inherit; border: 1px solid #9da4ad; border-radius: 5px; background: #fff; color: #20252b; }
.ta-teoslomake small { display: block; margin-top: .4rem; }
.ta-teoslomake .ta-check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; }
.ta-teoslomake .ta-check input { flex-shrink: 0; margin-top: .35rem; }
.ta-teoslomake .ta-errors { border-left: 4px solid #b3261e; background: #fff1f0; color: #591510; padding: 1rem; margin-bottom: 1rem; }
.ta-teoslomake .ta-success { border-left: 4px solid #24734d; background: #edf8f1; color: #174d34; padding: 1rem; }
.ta-teoslomake :is(input, textarea, select, button):focus-visible { outline: 3px solid #245ba8; outline-offset: 3px; }
.ta-own-works{max-width:1470px;margin:0 auto;padding:12px 0 40px}
.ta-own-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}
.ta-own-card{border:1px solid #dce1e6;border-radius:8px;overflow:hidden;padding:0 16px 20px;background:#fff;min-width:0}
.ta-own-card>img{width:calc(100% + 32px);max-width:none;margin-left:-16px;height:170px;object-fit:cover}
.ta-own-card h2{font-size:19px;margin:16px 0 8px;overflow-wrap:anywhere}
.ta-work-actions,.ta-work-pages{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px}
.ta-work-actions a,.ta-work-button{display:inline-block;border:1px solid #b8c3cd;padding:8px 12px;border-radius:5px;text-decoration:none}
.ta-work-error{padding:16px;border-left:4px solid #b3261e;background:#fff1f0;color:#591510}
.ta-work-success{padding:16px;border-left:4px solid #24734d;background:#edf8f1;color:#174d34}
.ta-current-image{display:block;max-width:280px;height:auto;margin:20px 0}
@media(max-width:1000px){.ta-own-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.ta-own-grid{grid-template-columns:1fr}}

.ta-teoslomake .ta-success.ta-publish-confirmation {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    margin: 1rem 0;
    border: 2px solid #155438;
    border-radius: .65rem;
    background: #155438;
    color: white;
    line-height: 1.5;
}
.ta-publish-confirmation strong { font-size: 1.35rem; color: inherit; }
.ta-publish-mark { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: white; color: #155438; font-size: 1.65rem; font-weight: bold; }

.ta-own-card > .ta-own-image-link {
    display: block;
    margin: 0 -16px;
    height: 170px;
    flex: none;
}
.ta-own-card > .ta-own-image-link > img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.ta-own-image-link:focus-visible { outline: 3px solid currentColor; outline-offset: -3px; }
