.kunst-account-mobile-add, .kunst-account-label-short { display:none; }

body.kunst-konto-paneel .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    max-width: none;
}

.kunst-konto-ava {
    display: inline-flex;
    gap: .7em;
    align-items: center;
    margin: 0 0 1.5rem;
    padding: .7rem 1rem;
    border: 1px solid #315f41;
    border-radius: 4px;
    background: #315f41;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.kunst-konto-ava:hover,
.kunst-konto-ava:focus-visible {
    background: #244730;
    color: #fff;
}

.kunst-konto-kate {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, .43);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

body.kunst-konto-paneel .woocommerce-MyAccount-navigation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    box-sizing: border-box;
    width: min(400px, 90vw);
    height: 100vh;
    height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 1.5rem 1.5rem 2rem;
    overflow-y: auto;
    float: none;
    background: #fff;
    box-shadow: -4px 0 30px rgba(0, 0, 0, .16);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
}

body.kunst-konto-paneel.kunst-konto-avatud {
    overflow: hidden;
}

body.kunst-konto-avatud .kunst-konto-kate,
body.kunst-konto-avatud .woocommerce-MyAccount-navigation {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.kunst-konto-pahe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .5rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid #cad5ce;
    font-size: 1.15rem;
    font-weight: 600;
}

.kunst-konto-sulge {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

body.kunst-konto-paneel .woocommerce-MyAccount-navigation ul {
    display: block;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.kunst-konto-paneel .woocommerce-MyAccount-navigation li {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    list-style: none;
}

body.kunst-konto-paneel .woocommerce-MyAccount-navigation li a {
    display: block;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: .28rem .35rem;
    color: #20352d;
    font: 500 16px/1.4 system-ui, -apple-system, sans-serif;
    text-decoration: none;
}

body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.is-active > a {
    font-weight: 700;
}

body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--lemmikud::before {
    display: block;
    margin: .8rem 0 .25rem;
    padding: .45rem 0 .3rem;
    border-bottom: 1px solid #cad5ce;
    color: #315f41;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard::before { content: "Konto ja profiil"; margin-top: 0; }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders::before { content: "Tellimused ja maksed"; }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--lemmikud::before { content: "Minu kogu"; }

body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: .8rem;
    padding-top: .55rem;
    border-top: 1px solid #cad5ce;
}

.kunst-konto-ulesande-vorm {
    max-width: 1050px;
    font: 16px/1.55 system-ui, -apple-system, sans-serif;
    color: #243028;
}

.kunst-konto-ulesande-vorm .acf-tab-wrap {
    border: 0;
    background: transparent;
    margin: 1rem 0 0;
}

.kunst-konto-ulesande-vorm .acf-tab-group {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    width:100%;
    gap:.75rem;
    border:0;
    padding:0;
    margin:0 0 1rem;
    justify-content:stretch;
}

.kunst-konto-ulesande-vorm .acf-tab-group li,
.kunst-konto-ulesande-vorm .acf-tab-group li a {
    margin: 0;
    width:100%;
    border-radius: 8px;
}
@media (max-width: 1100px) {
    .kunst-konto-ulesande-vorm .acf-tab-group { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .kunst-konto-ulesande-vorm .acf-tab-group { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .kunst-konto-ulesande-vorm .acf-tab-group li a { min-height:64px; font-size:15px !important; }
}
@media (max-width: 460px) {
    .kunst-konto-ulesande-vorm .acf-tab-group { grid-template-columns:minmax(0,1fr); }
}

.kunst-konto-ulesande-vorm .acf-tab-group li a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:76px;
    width:100%;
    padding:1rem 1.1rem;
    border:1px solid #cbd5cc;
    background:#f1f5ef !important;
    color:#244730 !important;
    font:700 clamp(16px,1.5vw,18px)/1.2 system-ui,-apple-system,sans-serif !important;
    text-align:center;
    text-decoration:none;
}

/* Kõik vormi sakid on sama rohelise kujundusega. */
.kunst-konto-ulesande-vorm .acf-tab-group li a:hover,
.kunst-konto-ulesande-vorm .acf-tab-group li a:focus-visible,
.kunst-konto-ulesande-vorm .acf-tab-group li:is(.active, .-active) a {
    border-color: #315f41 !important;
    background: #315f41 !important;
    color: #fff !important;
}

.kunst-konto-ulesande-vorm .acf-fields {
    border: 0;
    border-radius: 12px;
    background: #f7f8f6;
    padding: 1.25rem 1.5rem;
}

.kunst-konto-ulesande-vorm .acf-fields > .acf-field {
    padding: 1rem 0;
    border: 0;
}

.kunst-konto-ulesande-vorm .acf-fields > .acf-field:last-child {
    border-bottom: 0;
}

.kunst-konto-ulesande-vorm .acf-label label {
    color: #315f41;
    font: 700 15px/1.4 system-ui, -apple-system, sans-serif;
}

.kunst-konto-ulesande-vorm input[type="text"],
.kunst-konto-ulesande-vorm textarea,
.kunst-konto-ulesande-vorm select {
    box-sizing: border-box;
    max-width: 100%;
    border: 1px solid #9fb5a4;
    border-radius: 7px;
    background: #fff;
    color: #243028;
    font: inherit;
}

.kunst-konto-ulesande-vorm .acf-field .description {
    color: #526258;
    font-size: .9rem;
}

.kunst-konto-ulesande-vorm .acf-form-submit {
    margin: 1.3rem 0 0;
}

.kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"] {
    min-height: 44px;
    padding: .6rem 1.1rem;
    border: 0;
    border-radius: 8px;
    background: #315f41;
    color: #fff;
    font: 700 15px/1.35 system-ui, -apple-system, sans-serif;
    cursor: pointer;
}

/* Lemmikud kasutavad ülesannete kataloogi sama kaardipaigutust. */
.kunst-konto-lemmikud { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:18px; }
.kunst-konto-lemmikud .kk-catalog-card { display:block; padding:16px; border-radius:12px; background:#f7f8f6; color:#243028; text-decoration:none; }
.kunst-konto-lemmikud .kk-catalog-card:hover { outline:2px solid #63856a; }
.kunst-konto-lemmikud .kk-catalog-card img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:#f1f4ef; border-radius:8px; }
.kunst-konto-lemmikud .kk-catalog-card h2 { font-size:1.35rem; line-height:1.25; margin:14px 0 6px; }
.kunst-konto-lemmikud .kk-catalog-card p { font-size:.9rem; line-height:1.5; margin:0 0 8px; }
.kunst-konto-lemmikud .kunst-konto-lemmik-kaart { display:flex; flex-direction:column; min-width:0; border:1px solid #dbe5dc; border-radius:12px; overflow:hidden; background:#f7f8f6; }
.kunst-konto-lemmikud .kunst-konto-lemmik-kaart .kk-catalog-card { flex:1; }
.kunst-konto-lemmikud .kunst-raamat-action { margin:0; padding:0 16px 16px; }
.kunst-konto-lemmikud .kunst-raamat-action button { width:100%; padding:9px 12px; border:1px solid #315f41; border-radius:7px; background:#315f41; color:#fff; font:600 14px/1.4 system-ui,-apple-system,sans-serif; cursor:pointer; }
.kunst-konto-lemmikud .kunst-raamat-action button:hover { background:#244a31; }

.kunst-ulesande-lisad {
    margin: 1rem 0 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: #fdfdf9;
    border: 1px solid #dbe2d9;
}

.kunst-ulesande-lisad h3 {
    margin: 1.25rem 0 .55rem;
    padding-bottom: 0;
    border-bottom: 0;
    color: #315f41;
    font: 700 1.2rem/1.35 system-ui, -apple-system, sans-serif;
}

.kunst-ulesande-lisad h3:first-child { margin-top: 0; }

.kunst-lisad-grid,
.kunst-terminid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: .65rem 1rem;
}

.kunst-lisad-grid label,
.kunst-terminid-grid label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font: 500 14px/1.45 system-ui, -apple-system, sans-serif;
    color: #243028;
}

.kunst-lisad-grid label { flex-direction: column; align-items: flex-start; }
.kunst-lisad-grid input { width: 100%; max-width: 100%; font-size: 13px; }
.kunst-terminid { border: 0; margin: .8rem 0; padding: 0; }
.kunst-terminid legend { margin-bottom: .5rem; font-weight: 700; color: #315f41; }

@media (max-width: 600px) {
    .kunst-konto-ulesande-vorm .acf-fields { padding: .75rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .kunst-konto-kate,
    body.kunst-konto-paneel .woocommerce-MyAccount-navigation { transition: none; }
}

.kunst-konto-uletai { display:flex; flex-wrap:wrap; justify-content:center; align-items:stretch; gap:.65rem; margin:0 auto 2rem; }
.kunst-konto-uletai .kunst-konto-ava,
.kunst-konto-uletai .kunst-konto-uletai-nupp { box-sizing:border-box; display:inline-flex; justify-content:center; align-items:center; min-height:48px; margin:0; padding:.7rem 1rem; border:1px solid #315f41; border-radius:8px; background:#315f41; color:#fff; font:700 15px/1.3 system-ui,-apple-system,sans-serif; text-decoration:none; cursor:pointer; }
.kunst-konto-uletai .kunst-konto-ava:hover,
.kunst-konto-uletai .kunst-konto-uletai-nupp:hover:not(:disabled) { background:#244730; color:#fff; }
.kunst-konto-uletai .kunst-konto-uletai-nupp:disabled { opacity:.55; cursor:default; }
.kunst-konto-ulesande-vorm .acf-form-submit { display:flex; justify-content:center; text-align:center; }
.kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"]:hover { background:#244730; color:#fff; }
.kunst-kohustuslik { color:#c62828; margin-left:0; }
.kunst-pildisilt { display:inline-flex; align-items:baseline; white-space:nowrap; gap:0; }
.kunst-marksonad-silt { display:block; margin:.75rem 0 .35rem; }
.kunst-ulesande-lisad #kunst-marksonad { box-sizing:border-box; width:100%; max-width:600px; min-height:42px; padding:.5rem .7rem; border:1px solid #9fb5a4; border-radius:7px; background:#fff; color:#243028; font:inherit; }

/* Kunstiülesande vaate jaotiste värvid ka sisestusvormis. */
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(1) a,
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(2) a { background:#f7faf7 !important; color:#294b35 !important; }
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(3) a { background:#eaf7ed !important; color:#28613b !important; }
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(4) a { background:#fff0e4 !important; color:#7c461f !important; }
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(5) a { background:#e9f0f7 !important; color:#31577b !important; }
.kunst-konto-ulesande-vorm .acf-tab-group li:is(.active, .-active) a { background:#315f41 !important; border-color:#315f41 !important; color:#fff !important; }
.kunst-konto-ulesande-vorm .acf-tab-group li:is(.active, .-active):nth-child(4) a { background:#915425 !important; border-color:#915425 !important; }
.kunst-konto-ulesande-vorm .acf-tab-group li:is(.active, .-active):nth-child(5) a { background:#355a7c !important; border-color:#355a7c !important; }
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(3):is(.active, .-active)) .acf-fields { background:#f1f7f0; }
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active, .-active)) .acf-fields { background:#fdf5ed; }
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active, .-active)) .acf-fields { background:#f1f5f9; }
.kunst-konto-ulesande-vorm .acf-field { border-top:0 !important; border-bottom:0 !important; }
.kunst-konto-ulesande-vorm .wp-media-buttons button,
.kunst-konto-ulesande-vorm .wp-media-buttons .button,
body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms input[type="submit"],
body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms input[type="button"]:not([class*="password"]):not([class*="visibility"]):not([class*="toggle"]),
body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms .kunst-profiili-nupp { background:#315f41 !important; border:1px solid #315f41 !important; color:#fff !important; border-radius:7px; }
.kunst-konto-ulesande-vorm .wp-media-buttons button:hover,
body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms input[type="submit"]:hover { background:#244730 !important; color:#fff !important; }
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-profiili-nupp { background:#315f41 !important; border:1px solid #315f41 !important; color:#fff !important; border-radius:7px; }
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-profiili-nupp:hover { background:#244730 !important; color:#fff !important; }

/* Parooli nähtavuse silm jääb läbipaistvaks. */
body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms button:has(svg),
body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms button:has(.dashicons-visibility),
body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms button:has(.dashicons-hidden) { background:transparent !important; border:1px solid #9fb5a4 !important; color:#315f41 !important; box-shadow:none !important; }

/* Kataloogi kaardid säilitavad suuruse ka ühe tulemuse korral. */
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),330px)); gap:18px; justify-content:start; width:100%; max-width:none; }
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid > * { box-sizing:border-box; width:100%; max-width:330px; }
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid .kk-catalog-card { width:100%; max-width:330px; }
.kunst-konto-kaart { overflow:hidden; border:1px solid #dce8dc; border-radius:12px; background:#fff; }
.kunst-konto-kaart-link { display:block; text-decoration:none; color:inherit; }
.kunst-konto-kaart img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.kunst-konto-kaart-sisu { padding:16px; }
.kunst-konto-kaart h4 { margin:.5rem 0; font-size:1.3rem; line-height:1.3; }
.kunst-konto-kaart p { margin:.5rem 0 0; font-size:.94rem; }
.kunst-konto-staatus { display:inline-block; padding:.15rem .6rem; border-radius:1rem; background:#eef5ee; color:#315f41; font-size:.8rem; font-weight:700; }

/* Sakiriba all ja ümber ei kuvata eraldi tausta ega eraldusjooni. */
.kunst-konto-ulesande-vorm .acf-tab-wrap,
.kunst-konto-ulesande-vorm .acf-tab-group { background:transparent !important; border:0 !important; box-shadow:none !important; }
.kunst-konto-ulesande-vorm .acf-tab-wrap::before,
.kunst-konto-ulesande-vorm .acf-tab-wrap::after,
.kunst-konto-ulesande-vorm .acf-tab-group::before,
.kunst-konto-ulesande-vorm .acf-tab-group::after { content:none !important; border:0 !important; }
.kunst-konto-ulesande-vorm .acf-tab-group li { background:transparent !important; border:0 !important; }
.kunst-konto-ulesande-vorm .acf-tab-wrap { height:auto !important; overflow:visible !important; padding-bottom:5px !important; }
.kunst-konto-ulesande-vorm .acf-tab-group { height:auto !important; min-height:0 !important; overflow:visible !important; padding-bottom:5px !important; margin-bottom:1rem !important; align-items:stretch; }
.kunst-konto-ulesande-vorm .acf-tab-group li,
.kunst-konto-ulesande-vorm .acf-tab-group li a { height:auto !important; overflow:visible !important; border-radius:8px !important; }

.kunst-failivalik { position:relative; display:flex; align-items:center; gap:.5rem; width:100%; min-height:40px; color:#243028; cursor:pointer; }
.kunst-failinupp { display:inline-flex; align-items:center; padding:.4rem .8rem; border:1px solid #315f41; border-radius:6px; background:#315f41; color:#fff; white-space:nowrap; }
.kunst-failivalik:hover .kunst-failinupp { background:#244730; }
.kunst-failinimi { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kunst-failivalik input[type="file"] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.kunst-failivalik:focus-within .kunst-failinupp { outline:2px solid #315f41; outline-offset:2px; }
@media(max-width:380px) { body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid { grid-template-columns:minmax(0,1fr); } }

/* Konto kaartidel sama neljane ruudustik ja pildi/teksti paigutus nagu kataloogis. */
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
    max-width:1060px;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid > *,
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid .kk-catalog-card {
    width:100%; max-width:none; min-width:0;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart {
    overflow:hidden; border:1px solid #e1e8e1; border-radius:12px; background:transparent; color:#293b33;
    font:14px/1.45 system-ui,-apple-system,sans-serif;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart:hover,
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart:focus-within {
    border-color:#6a9976; box-shadow:0 6px 18px rgba(20,70,40,.12);
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart .kunst-konto-kaart-link,
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart .kk-catalog-card {
    display:block; flex:1; padding:0 0 20px; border-radius:0; background:transparent; color:inherit; text-decoration:none;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart .kunst-konto-arhiivipilt {
    display:block; width:100%; aspect-ratio:16/9; overflow:hidden; margin:0 0 16px; background:#f1f4ef;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart .kunst-konto-arhiivipilt img {
    display:block; width:100%; height:100%; max-width:none; margin:0; border-radius:0; object-fit:contain;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart .kunst-konto-kaart-sisu { padding:0; }
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart h2,
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart h4 {
    margin:0 18px 9px; color:inherit; font-size:1.2rem; line-height:1.35;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart p { margin:0 18px; line-height:1.5; }
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart .kunst-konto-staatus { margin:0 18px 9px; }
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-arhiivikaart .kunst-raamat-action { padding:0 18px 18px; }
@media(max-width:1050px) { body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-kaardid { grid-template-columns:minmax(0,1fr); } }
.kunst-opetajaraamat-jarjesta [data-book-id] { cursor:grab; }
.kunst-opetajaraamat-jarjesta [data-book-id]:active { cursor:grabbing; }
.kunst-opetajaraamat-jarjesta .kunst-raamat-lohistamisel { opacity:.45; }
body.kunst-raamat-lohistab { user-select:none; cursor:grabbing; }
body.kunst-raamat-lohistab * { cursor:grabbing !important; }
.kunst-raamat-jarjestus-teade:empty { display:none; }

/* Sisestusväljad järgivad ülesande avaliku vaate värvilisi sisulõike. */
.kunst-konto-ulesande-vorm .acf-field[data-name="tea"],
.kunst-konto-ulesande-vorm .acf-field[data-name="loo"],
.kunst-konto-ulesande-vorm .acf-field[data-name="vaata_ja_marka"]{
    box-sizing:border-box;
    margin:1.25rem 0;
    padding: .65rem 0 .85rem 1rem !important;
    border-left:4px solid #508d5e !important;
    background:transparent;
}
.kunst-konto-ulesande-vorm .acf-field[data-name="loo"]{ border-left-color:#b57136 !important; }
.kunst-konto-ulesande-vorm .acf-field[data-name="vaata_ja_marka"]{ border-left-color:#6489aa !important; }
.kunst-konto-ulesande-vorm .acf-field[data-name="tea"] > .acf-label label,
.kunst-konto-ulesande-vorm .acf-field[data-name="loo"] > .acf-label label,
.kunst-konto-ulesande-vorm .acf-field[data-name="vaata_ja_marka"] > .acf-label label{
    display:block;
    color:#28613b;
    font-size:1rem;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.kunst-konto-ulesande-vorm .acf-field[data-name="loo"] > .acf-label label{ color:#90501e; }
.kunst-konto-ulesande-vorm .acf-field[data-name="vaata_ja_marka"] > .acf-label label{ color:#345b81; }

/* Ülesande ja õpetaja väljad kasutavad sama rohelise joonega esitust. */
.kunst-konto-ulesande-vorm .acf-field:is(
    [data-name="ulesande_luhikirjeldus"],
    [data-name="oppekontekst"],
    [data-name="juhendamise_vajadus"],
    [data-name="ajakulu"],
    [data-name="toovorm"],
    [data-name="toovahendid_ja_materjalid"],
    [data-name="muud_materjalid"],
    [data-name="kunstitehnika"],
    [data-name="muu_tehnika"],
    [data-name="ettevalmistuse_vajadus"],
    [data-name="ulesande_eesmark"],
    [data-name="opitulemused"],
    [data-name="uldpadevused"],
    [data-name="valdkonnapadevused"],
    [data-name="labivad_teemad"],
    [data-name="ulesande_kohandamine__diferentseerimine"],
    [data-name="hindamine_ja_tagasiside"],
    [data-name="opetaja_markused"],
    [data-name="ulesande_algallikas"]
) {
    box-sizing:border-box;
    margin:1.25rem 0;
    padding:.65rem 0 .85rem 1rem !important;
    border-left:4px solid #528461 !important;
    background:transparent;
}
.kunst-konto-ulesande-vorm .acf-field:is(
    [data-name="ulesande_luhikirjeldus"],
    [data-name="oppekontekst"],
    [data-name="juhendamise_vajadus"],
    [data-name="ajakulu"],
    [data-name="toovorm"],
    [data-name="toovahendid_ja_materjalid"],
    [data-name="muud_materjalid"],
    [data-name="kunstitehnika"],
    [data-name="muu_tehnika"],
    [data-name="ettevalmistuse_vajadus"],
    [data-name="ulesande_eesmark"],
    [data-name="opitulemused"],
    [data-name="uldpadevused"],
    [data-name="valdkonnapadevused"],
    [data-name="labivad_teemad"],
    [data-name="ulesande_kohandamine__diferentseerimine"],
    [data-name="hindamine_ja_tagasiside"],
    [data-name="opetaja_markused"],
    [data-name="ulesande_algallikas"]
) > .acf-label label {
    display:block;
    color:#305b3b;
    font-size:1rem;
    font-weight:800;
    letter-spacing:.075em;
    text-transform:uppercase;
}

/* Lühikesed valikud kõrvuti; pikad kirjeldused kogu laiuses. */
@media (min-width:760px) {
    .kunst-konto-ulesande-vorm .acf-fields {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        column-gap:1.5rem;
        align-items:start;
    }
    .kunst-konto-ulesande-vorm .acf-fields > .acf-tab-wrap,
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-type="tab"],
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="ulesande_luhikirjeldus"],
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-type="wysiwyg"],
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-type="textarea"] {
        grid-column:1 / -1;
    }
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="toovahendid_ja_materjalid"],
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="kunstitehnika"] {
        grid-column:1 / -1;
    }
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field:is(
        [data-name="oppekontekst"], [data-name="juhendamise_vajadus"],
        [data-name="ajakulu"], [data-name="toovorm"],
        [data-name="muud_materjalid"], [data-name="muu_tehnika"],
        [data-name="ettevalmistuse_vajadus"]
    ) { margin:.55rem 0; }
    .kunst-konto-ulesande-vorm .acf-field[data-name="toovahendid_ja_materjalid"] .acf-checkbox-list,
    .kunst-konto-ulesande-vorm .acf-field[data-name="kunstitehnika"] .acf-checkbox-list {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:.2rem 1rem;
    }
}
@media (max-width:759px) {
    .kunst-konto-ulesande-vorm .acf-fields { display:block; }
}

/* Ülesande sisestamise järjestus ja avara vaate kolm tulpa. */
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad { min-width:0; }
@media (min-width:760px) {
    .kunst-konto-ulesande-vorm .acf-fields > .kunst-ulesande-lisad,
    .kunst-konto-ulesande-vorm .acf-fields > .kunst-ulesande-pealkiri { grid-column:1 / -1; }
}
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.kunst-konto-ulesande-vorm .kunst-ulesande-pildid,
.kunst-konto-ulesande-vorm .kunst-ulesande-teemad,
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad { min-width:0; }
.kunst-konto-ulesande-vorm .kunst-lisad-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.kunst-konto-ulesande-vorm .kunst-terminid-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad { margin-top:0; }
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad input { width:100%; }
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad input[type="text"]{box-sizing:border-box;max-width:none;min-height:42px;padding:8px 11px;border:1px solid #9fb5a4;border-radius:7px}
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad input::placeholder{white-space:nowrap;font-size:14px}

.kunst-konto-ulesande-vorm .acf-field:is([data-name="muud_materjalid"], [data-name="muu_tehnika"], [data-name="ulesande_algallikas"]) input[type="text"] { box-sizing:border-box; width:100%; max-width:none; }
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:is(.active, .-active):not(:first-child)) .kunst-ulesande-lisad { display:none; }
@media (min-width:1000px) {
    .kunst-konto-ulesande-vorm .acf-fields { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .kunst-konto-ulesande-vorm .acf-fields > .kunst-ulesande-pealkiri,
    .kunst-konto-ulesande-vorm .acf-fields > .kunst-ulesande-lisad,
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="toovahendid_ja_materjalid"],
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="kunstitehnika"] { grid-column:1 / -1; }
    .kunst-konto-ulesande-vorm .acf-field[data-name="toovahendid_ja_materjalid"] .acf-checkbox-list,
    .kunst-konto-ulesande-vorm .acf-field[data-name="kunstitehnika"] .acf-checkbox-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="uldpadevused"],
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="valdkonnapadevused"],
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="labivad_teemad"] { grid-column:auto; }
}
@media (max-width:759px) {
    .kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud { grid-template-columns:1fr; }
    .kunst-konto-ulesande-vorm .kunst-terminid-grid { grid-template-columns:1fr; }
}
@media (min-width:760px) {
    .kunst-konto-ulesande-vorm .acf-fields > .acf-field:is([data-name="muud_materjalid"], [data-name="muu_tehnika"], [data-name="ulesande_algallikas"]) { grid-column:1 / -1; }
}
@media (max-width:1050px) {
    .kunst-konto-ulesande-vorm .kunst-lisad-grid { grid-template-columns:1fr; }
}

/* Ühes stiilis lihtsad ikoonid konto toimingutele. */
.kunst-ikoon-lemmikud,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--lemmikud > a { --kunst-toimingu-ikoon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.5%205.5%200%200%200-7.8%200L12%205.7l-1.1-1.1a5.5%205.5%200%200%200-7.8%207.8L12%2021l8.8-8.6a5.5%205.5%200%200%200%200-7.8Z%22%2F%3E%3C%2Fsvg%3E"); }
.kunst-ikoon-raamat,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--opetajaraamat > a { --kunst-toimingu-ikoon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205C9.5%203.4%206.5%203%203%204v15c3.5-1%206.5-.6%209%201m0-15c2.5-1.6%205.5-2%209-1v15c-3.5-1-6.5-.6-9%201M12%205v15%22%2F%3E%3C%2Fsvg%3E"); }
body.kunst-konto-paneel .kunst-ikoon-lemmikud::before,
body.kunst-konto-paneel .kunst-ikoon-raamat::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--lemmikud > a::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--opetajaraamat > a::before { content:""; display:inline-block; flex:none; width:1em; height:1em; margin-right:.45em; vertical-align:-.12em; background:currentColor; -webkit-mask:var(--kunst-toimingu-ikoon) center / contain no-repeat; mask:var(--kunst-toimingu-ikoon) center / contain no-repeat; }
body.kunst-konto-paneel .kunst-ikoon-lisa::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--minu-lisatud-sisu > a::before { content:"+"; display:inline-block; margin-right:.45em; font:400 1.3em/1 system-ui,-apple-system,sans-serif; }
/* Konto nupud kasutavad sama rohelist joont ja vaoshoitud hover-olekut. */
.kunst-konto-uletai .kunst-konto-ava,.kunst-konto-uletai .kunst-konto-uletai-nupp{min-height:42px;padding:8px 13px;border-radius:7px;background:transparent;color:#244730;font:400 14px/1.45 system-ui,-apple-system,sans-serif;transition:background-color .16s ease,border-color .16s ease}
.kunst-konto-uletai .kunst-konto-ava:hover,.kunst-konto-uletai .kunst-konto-uletai-nupp:hover:not(:disabled){background:#edf4ee;border-color:#315f41;color:#244730}
.kunst-konto-uletai a[href*="lisa-ulesanne"]{background:#315f41;color:#fff;font-weight:600}
.kunst-konto-uletai a[href*="lisa-ulesanne"]:hover{background:#294e37;color:#fff}
.kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"],.kunst-konto-lemmikud .kunst-raamat-action button{border:1px solid #315f41;border-radius:7px;background:#315f41;color:#fff;font-weight:600;transition:background-color .16s ease}
.kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"]:hover,.kunst-konto-lemmikud .kunst-raamat-action button:hover{background:#294e37;color:#fff}
.kunst-konto-ulesande-vorm .wp-media-buttons button,.kunst-konto-ulesande-vorm .wp-media-buttons .button,body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms .kunst-profiili-nupp{background:transparent!important;border:1px solid #4c6252!important;color:#244730!important;font-weight:400!important;box-shadow:none!important}
.kunst-konto-ulesande-vorm .wp-media-buttons button:hover,body.kunst-konto-paneel .woocommerce-MyAccount-content .wppb-user-forms .kunst-profiili-nupp:hover{background:#edf4ee!important;color:#244730!important}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"]{border:1px solid #315f41;border-radius:7px;background:#315f41;color:#fff;font:600 14px/1.4 system-ui,-apple-system,sans-serif;box-shadow:none;transition:background-color .16s ease}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"]:hover,body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"]:hover{background:#294e37;color:#fff}
/* Konto ülevaade on ülemise nupurea peamine tegevus. */
.kunst-konto-uletai .kunst-konto-ava{background:#315f41;color:#fff;font-weight:600}
.kunst-konto-uletai .kunst-konto-ava:hover,.kunst-konto-uletai .kunst-konto-ava:focus-visible{background:#294e37;color:#fff}
.kunst-konto-uletai a[href*="lisa-ulesanne"]{background:transparent;color:#244730;font-weight:400}
.kunst-konto-uletai a[href*="lisa-ulesanne"]:hover,.kunst-konto-uletai a[href*="lisa-ulesanne"]:focus-visible{background:#edf4ee;color:#244730}

.kunst-konto-materjali-vorm .acf-fields{margin-top:1.25rem}
.kunst-konto-materjali-vorm .acf-field input[type="text"]{width:100%;min-height:42px;padding:8px 11px}
.kunst-konto-materjali-vorm .acf-field .description{margin:6px 0 0}
.kunst-konto-materjali-vorm .wp-editor-wrap{max-width:100%}
.kunst-konto-materjali-vorm .acf-form-submit input[type="submit"]:hover{background:#244730;color:#fff}

/* Kunstimaterjali vorm järgib ülesande vormi värve ja täidab konto sisuala. */
.kunst-konto-materjali-vorm{max-width:none;width:100%}
.kunst-konto-materjali-vorm .acf-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(18px,4vw,52px);align-items:start;width:100%;box-sizing:border-box}
.kunst-konto-materjali-vorm .acf-field{min-width:0}
.kunst-konto-materjali-vorm .kunst-materjal-pealkiri,.kunst-konto-materjali-vorm .kunst-materjal-sisu,.kunst-konto-materjali-vorm .kunst-materjal-opilase-sisu{grid-column:1 / -1}
.kunst-konto-materjali-vorm .kunst-materjal-pealkiri input,.kunst-konto-materjali-vorm .kunst-materjal-marksonad input{width:100%;max-width:none;box-sizing:border-box}
.kunst-konto-materjali-vorm :is(.kunst-materjal-sisu,.kunst-materjal-opilase-sisu) :is(.wp-editor-wrap,.wp-editor-container,textarea){width:100%;max-width:none;box-sizing:border-box}
.kunst-konto-materjali-vorm .kunst-materjal-sisu .acf-label .description{margin:2px 0 14px}
.kunst-materjal-pildilisaja{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.kunst-materjal-pildinupp{display:inline-block;padding:7px 12px;border:1px solid #9fb5a4;border-radius:7px;background:#fff;color:#315f41;font:400 14px/1.35 system-ui,-apple-system,sans-serif;cursor:pointer}
.kunst-materjal-pildinupp:hover,.kunst-materjal-pildilisaja:focus-within .kunst-materjal-pildinupp{background:#eff5f0;border-color:#315f41}
.kunst-materjal-pildilisaja input{position:absolute;width:1px;height:1px;opacity:0}
.kunst-materjal-pilditeade{font-size:14px;color:#526258}
@media(max-width:650px){.kunst-konto-materjali-vorm .acf-fields{grid-template-columns:minmax(0,1fr)}.kunst-konto-materjali-vorm .kunst-materjal-pealkiri,.kunst-konto-materjali-vorm .kunst-materjal-sisu,.kunst-konto-materjali-vorm .kunst-materjal-opilase-sisu{grid-column:auto}}

/* Materjali redaktori meedianupp kasutab ülesande redaktori nuppu. */
.kunst-konto-materjali-vorm .kunst-materjal-pildilisaja{display:flex;align-items:center;gap:12px;margin:0 0 8px}
.kunst-konto-materjali-vorm .kunst-materjal-pildinupp.button{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:32px;margin:0;padding:5px 11px;border:1px solid #4c6252;border-radius:7px;background:transparent;color:#244730;font:400 14px/1.4 system-ui,-apple-system,sans-serif;box-shadow:none;cursor:pointer}
.kunst-konto-materjali-vorm .kunst-materjal-pildinupp.button:hover,.kunst-konto-materjali-vorm .kunst-materjal-pildilisaja:focus-within .kunst-materjal-pildinupp.button{background:#edf4ee;color:#244730}
.kunst-konto-materjali-vorm .kunst-materjal-pildinupp .wp-media-buttons-icon{display:inline-block;width:18px;height:18px;margin:0;background:none}
.kunst-konto-materjali-vorm .kunst-materjal-pildinupp .wp-media-buttons-icon:before{content:"\f104";font:normal 18px/1 dashicons;color:inherit}

.kunst-konto-toolehe-vorm .kunst-worksheet-settings,.kunst-konto-toolehe-vorm .kunst-worksheet-link{grid-column:auto}
.kunst-worksheet-selects{display:flex;flex-wrap:wrap;gap:14px}
.kunst-worksheet-selects label{display:grid;gap:5px;min-width:155px;font-weight:400}
.kunst-konto-toolehe-vorm .kunst-worksheet-link select{width:100%;min-height:42px;max-width:none}
.kunst-konto-toolehe-vorm .kunst-worksheet-pdf{grid-column:1 / -1}
.kunst-worksheet-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:24px;align-items:start}
.kunst-worksheet-editor,.kunst-worksheet-preview-wrap{min-width:0}
.kunst-worksheet-preview-wrap{overflow:auto;padding:12px}
.kunst-worksheet-preview-wrap > strong{display:block;margin:0 0 10px;color:#315f41}
.kunst-worksheet-preview-wrap .kunst-worksheet-page{position:relative;box-sizing:border-box;width:var(--kunst-page-width,210mm);min-height:var(--kunst-page-height,297mm);padding:10mm;background:#fff;box-shadow:0 2px 12px #162a2030;overflow:hidden;font:14px/1.45 system-ui,-apple-system,sans-serif}
.kunst-worksheet-preview-wrap .kunst-worksheet-safe{position:absolute;inset:10mm;outline:1px dashed #8ba38e;pointer-events:none}
.kunst-worksheet-preview-content{position:relative;overflow-wrap:anywhere}
.kunst-worksheet-preview-content img{max-width:100%;height:auto}
@media(max-width:1050px){.kunst-worksheet-editor-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.kunst-konto-toolehe-vorm .kunst-worksheet-pdf{grid-column:auto}}

.kunst-worksheet-overflow{margin:10px 0 0;color:#855a2a;font-size:13px}
.kunst-worksheet-overflow[hidden]{display:none}
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block,.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block,.kunst-konto-toolehe-vorm .kunst-worksheet-design-block{grid-column:1/-1;min-width:0;width:100%}
.kunst-worksheet-upload-block,.kunst-worksheet-meta-block,.kunst-worksheet-design-block{padding:22px;border:1px solid #dce5dc;border-radius:8px;margin:0 0 18px}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf{box-sizing:border-box;margin:14px 0 18px;padding:18px 20px;border:1px solid #d7e2d8;border-left:4px solid #528461;border-radius:8px;background:#f8faf8}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .acf-label{margin-bottom:8px}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .acf-label > label,
.kunst-konto-materjali-vorm .kunst-ready-pdf-block .acf-label > label,
.kunst-konto-toolehe-vorm .kunst-ready-pdf-block .acf-label > label{
    font-size:1rem;
    font-weight:800;
    letter-spacing:.075em;
    text-transform:uppercase;
}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .description{margin:8px 0 0}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf{display:block;width:100%;max-width:none;grid-column:1/-1}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .acf-field{width:100%;max-width:none}
.kunst-editor-help{margin:10px 0 0;color:#526258;font:400 .88rem/1.5 system-ui,-apple-system,sans-serif}
.kunst-editor-help summary{display:list-item;width:max-content;max-width:100%;color:#315f41;cursor:pointer}
.kunst-editor-help p{margin:6px 0 0}
.kunst-editor-help-list{margin:6px 0 0 18px;padding:0;color:#526258}
.kunst-editor-help-list li{margin:3px 0}
.kunst-konto-materjali-vorm > .acf-fields > .kunst-worksheet-upload-block{grid-column:1/-1;margin:0 0 4px;background:#f8faf8;border-left:4px solid #528461}
.kunst-worksheet-upload-block h3,.kunst-worksheet-meta-block h3{margin:0 0 16px;font-size:18px;color:#315f41}
.kunst-worksheet-upload-row{display:flex;align-items:end;flex-wrap:wrap;gap:20px}
.kunst-worksheet-upload-row .acf-field{min-width:220px;flex:1;margin:0}
.kunst-worksheet-upload-row .kunst-worksheet-settings{flex:2}
.kunst-worksheet-selects{align-items:end}
.kunst-worksheet-selects button,.kunst-worksheet-preview-head button{padding:9px 13px;border:1px solid #315f41;border-radius:7px;background:transparent;color:#315f41;font:400 14px/1.4 system-ui,-apple-system,sans-serif;cursor:pointer}
.kunst-worksheet-selects button:hover,.kunst-worksheet-preview-head button:hover{background:#edf4ee}
.kunst-worksheet-meta-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kunst-worksheet-meta-block h3,.kunst-worksheet-meta-block .kunst-worksheet-link{grid-column:1/-1}
.kunst-worksheet-editor-grid{display:block;width:100%}
.kunst-worksheet-editor{width:100%}
.kunst-worksheet-preview-wrap{position:fixed;z-index:100001;right:24px;top:90px;width:min(470px,calc(100vw - 24px));max-height:calc(100vh - 112px);box-sizing:border-box;overflow:hidden;background:#e8ede8;padding:0 12px 12px;box-shadow:0 8px 30px #162a2040;border:1px solid #b4c6b7;border-radius:9px}
.kunst-worksheet-preview-wrap[hidden]{display:none!important}
.kunst-worksheet-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;cursor:grab;touch-action:none;color:#315f41}
.kunst-worksheet-preview-head:active{cursor:grabbing}
.kunst-worksheet-preview-head div{display:flex;gap:6px}
.kunst-worksheet-preview-scroll{max-height:calc(100vh - 190px);overflow:auto}
@media(max-width:650px){.kunst-worksheet-meta-block{grid-template-columns:1fr}.kunst-worksheet-preview-wrap{right:12px;top:70px}}
.kunst-worksheet-required{color:#bb2832}
.kunst-worksheet-design-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:16px 24px;margin:0 0 8px}
.kunst-worksheet-design-toolbar .kunst-materjal-pildilisaja{margin:0 0 3px}
.kunst-worksheet-design-toolbar .kunst-worksheet-settings{flex:1 1 340px}
.kunst-worksheet-design-toolbar .kunst-worksheet-selects{justify-content:flex-end}
.kunst-worksheet-design-toolbar .kunst-worksheet-selects label{min-width:125px;max-width:180px;flex:1 1 125px}
.kunst-worksheet-design-toolbar .kunst-worksheet-safe-note{margin:4px 0 14px}
@media(max-width:760px){.kunst-worksheet-design-toolbar .kunst-worksheet-selects{justify-content:flex-start}}
/* Materjali ja töölehe vormi väljade pealkirjad järgivad ülesande vormi. */
.kunst-konto-materjali-vorm .acf-field > .acf-label > label,
.kunst-konto-toolehe-vorm .acf-field > .acf-label > label{
    display:block;
    color:#305b3b;
    font:800 1rem/1.4 system-ui,-apple-system,sans-serif;
    letter-spacing:.075em;
    text-transform:uppercase;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-sisu,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block{
    border-left:4px solid #528461;
    padding-left:1rem;
}
.kunst-konto-toolehe-vorm .kunst-worksheet-required,
.kunst-konto-materjali-vorm .kunst-worksheet-required{color:#bb2832}
/* Iga sisestusosa on ülesande vormiga kooskõlas eraldi õhukese äärisega plokk. */
.kunst-konto-materjali-vorm .acf-fields{row-gap:14px}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field,
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field,
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block{
    box-sizing:border-box;
    margin:0;
    padding:18px 20px 20px;
    border:1px solid #d7e2d8;
    border-left:4px solid #528461;
    border-radius:8px;
    background:#fafcf9;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field:nth-child(3n + 2),
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field:nth-child(3n + 2){background:#f8faf8;border-left-color:#729078}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field:nth-child(3n),
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field:nth-child(3n){background:#fbfaf7;border-left-color:#998670}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-sisu,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block{background:#f8fbf8;border-left-color:#528461}
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block{box-sizing:border-box;padding:0;border:0;gap:14px;background:transparent}
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block .kunst-worksheet-link{grid-column:1/-1}
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block{background:#f8faf8}
.kunst-konto-materjali-vorm .acf-field > .acf-label{margin-bottom:8px}
.kunst-konto-materjali-vorm .acf-field > .acf-label > label{margin:0}
@media(max-width:650px){.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field,.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field,.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block,.kunst-konto-toolehe-vorm .kunst-worksheet-design-block{padding:15px 16px}}
/* Kunstiülesande sisestusvormi väljad järgivad samu eraldi plokke. */
#kunst-konto-ulesande-vorm .acf-fields{row-gap:14px;background:transparent;border:0;padding:0}
#kunst-konto-ulesande-vorm .acf-fields > .acf-field:not([data-type="tab"]),
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid,
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad{
    box-sizing:border-box;
    min-width:0;
    margin:0 !important;
    padding:18px 20px 20px !important;
    border:1px solid #d7e2d8 !important;
    border-left:4px solid #528461 !important;
    border-radius:8px;
    background:#fafcf9;
}
#kunst-konto-ulesande-vorm .acf-fields > .acf-field:nth-child(3n + 2),
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad{background:#f8faf8;border-left-color:#729078 !important}
#kunst-konto-ulesande-vorm .acf-fields > .acf-field:nth-child(3n),
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad{background:#fbfaf7;border-left-color:#998670 !important}
#kunst-konto-ulesande-vorm .acf-field:is([data-name="loo"]){background:#fffaf5;border-left-color:#b57136 !important}
#kunst-konto-ulesande-vorm .acf-field:is([data-name="vaata_ja_marka"]){background:#f6f9fc;border-left-color:#6489aa !important}
#kunst-konto-ulesande-vorm .acf-fields > .acf-field > .acf-label label,
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad h3{
    font-size:1rem;
    font-weight:800;
    letter-spacing:.075em;
    text-transform:uppercase;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad{display:grid;gap:14px;padding:0;margin:0 0 14px;border:0;background:transparent}
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud{gap:14px}
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad h3{margin:0 0 12px}
@media(max-width:650px){#kunst-konto-ulesande-vorm .acf-fields > .acf-field:not([data-type="tab"]),#kunst-konto-ulesande-vorm .kunst-ulesande-pildid,#kunst-konto-ulesande-vorm .kunst-ulesande-teemad,#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad{padding:15px 16px !important}}

/* Poolelioleva sisu mustandid */
.kunst-submit-actions,
.kunst-draft-actions { display:flex; align-items:center; flex-wrap:wrap; }
.kunst-draft-actions { margin:16px 0 0; }
.kunst-konto-jatka { padding:0 18px 18px; margin:0; }
.kunst-konto-jatka .button,
.kunst-save-draft { text-decoration:none; }


/* Mustandi ja ülevaatamise nupud – saidi kujundusloogika */
.kunst-submit-actions,
.kunst-draft-actions{
    justify-content:center;
    gap:12px;
    margin-top:22px;
}
.kunst-submit-actions button,
.kunst-draft-actions .kunst-save-draft,
#kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"]{
    appearance:none;
    -webkit-appearance:none;
    min-height:44px;
    padding:10px 18px;
    border-radius:7px;
    font:600 15px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    box-shadow:none;
    cursor:pointer;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.kunst-submit-actions .kunst-save-draft,
.kunst-draft-actions .kunst-save-draft{
    border:1px solid #4c6252 !important;
    background:transparent !important;
    color:#244730 !important;
}
.kunst-submit-actions .kunst-save-draft:hover,
.kunst-draft-actions .kunst-save-draft:hover{
    border-color:#315f41 !important;
    background:#edf4ee !important;
    color:#244730 !important;
}
.kunst-submit-actions button[value="review"],
#kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"]{
    border:1px solid #315f41 !important;
    background:#315f41 !important;
    color:#fff !important;
}
.kunst-submit-actions button[value="review"]:hover,
#kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"]:hover{
    background:#294e37 !important;
    border-color:#294e37 !important;
    color:#fff !important;
}
.kunst-submit-actions button:focus-visible,
.kunst-draft-actions .kunst-save-draft:focus-visible,
#kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"]:focus-visible{
    outline:2px solid #315f41;
    outline-offset:3px;
}
@media(max-width:620px){
    .kunst-submit-actions,
    .kunst-draft-actions{align-items:stretch;}
    .kunst-submit-actions button,
    .kunst-draft-actions .kunst-save-draft,
    #kunst-konto-ulesande-vorm .acf-form-submit input[type="submit"]{width:100%;justify-content:center;text-align:center;}
}

/* Ülesande ACF submit-rida: mõlemad tegevusnupud alati ühel joonel. */
#kunst-konto-ulesande-vorm .acf-form-submit.kunst-submit-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;
    flex-wrap:wrap !important;
}
#kunst-konto-ulesande-vorm .acf-form-submit.kunst-submit-actions .kunst-save-draft,
#kunst-konto-ulesande-vorm .acf-form-submit.kunst-submit-actions input[type="submit"]{
    margin:0 !important;
    vertical-align:middle !important;
}
@media(max-width:620px){
    #kunst-konto-ulesande-vorm .acf-form-submit.kunst-submit-actions{align-items:stretch !important;}
}


/* 1.9.40: poolelioleva sisu jätkamise nupp on kaardil esmane tegevus. */
.kunst-konto-jatka{padding:0 18px 20px;margin:8px 0 0}
.kunst-konto-jatka .button{
    display:flex !important;align-items:center;justify-content:center;width:100%;box-sizing:border-box;
    min-height:48px;padding:11px 18px !important;border:1px solid #315f41 !important;border-radius:8px !important;
    background:#315f41 !important;color:#fff !important;text-decoration:none !important;font-weight:700 !important;
    box-shadow:none !important;
}
.kunst-konto-jatka .button:hover{background:#294e37 !important;border-color:#294e37 !important;color:#fff !important}
.kunst-konto-jatka--actions{display:flex;align-items:stretch;gap:8px}
.kunst-konto-jatka--actions .button{flex:1 1 auto;width:auto;min-width:0;padding-left:8px !important;padding-right:8px !important}
.kunst-konto-jatka--actions form{display:flex;flex:0 0 auto;margin:0}
.kunst-konto-jatka--actions .kunst-konto-kustuta{min-height:48px;padding:10px 12px;border:1px solid #8b5149;border-radius:8px;background:transparent;color:#783c34;font:600 14px/1.25 system-ui,-apple-system,sans-serif;cursor:pointer}
.kunst-konto-jatka--actions .kunst-konto-kustuta:hover{background:#fbf0ee}
.kunst-konto-jatka--actions .kunst-konto-kustuta:focus-visible{outline:2px solid #8b5149;outline-offset:2px}
.kunst-konto-jatka--actions .button{font-size:13px !important;letter-spacing:-.015em;padding:8px 5px !important}
.kunst-konto-jatka--actions .kunst-konto-kustuta{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:48px;padding:0}
.kunst-konto-jatka--actions .kunst-konto-kustuta svg{display:block}
@media(max-width:390px){.kunst-konto-jatka--actions{gap:5px}.kunst-konto-jatka--actions .button{font-size:12px !important}}
.kunst-delete-overlay[hidden]{display:none}
.kunst-delete-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(25,41,31,.5)}
.kunst-delete-dialog{position:relative;box-sizing:border-box;width:min(100%,420px);padding:28px;border:1px solid #cbd9cc;border-radius:12px;background:#fff;color:#23342d;box-shadow:0 16px 48px rgba(0,0,0,.19)}
.kunst-delete-dialog h2{margin:0 38px 14px 0;color:#23342d;font:700 25px/1.2 Georgia,serif}
.kunst-delete-dialog p{margin:0 0 24px;font:15px/1.55 system-ui,-apple-system,sans-serif}
.kunst-delete-close{position:absolute;right:16px;top:14px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #aebfaf;border-radius:8px;background:#fff;color:#23342d;font-size:24px;cursor:pointer}
.kunst-delete-actions{display:flex;justify-content:flex-end;gap:9px}
.kunst-delete-actions button{min-height:40px;padding:7px 15px;border:1px solid #315f41;border-radius:8px;background:#fff;color:#244730;font:600 14px/1.3 system-ui,-apple-system,sans-serif;cursor:pointer}
.kunst-delete-actions .kunst-delete-confirm{background:#315f41;color:#fff}
.kunst-delete-actions button:hover{background:#edf4ee}
.kunst-delete-actions .kunst-delete-confirm:hover{background:#294e37}
.kunst-delete-dialog button:focus-visible{outline:2px solid #315f41;outline-offset:2px}
body.kunst-delete-open{overflow:hidden}
.kunst-konto-ulesande-vorm .acf-field[data-name="toovahendid_ja_materjalid"] input[type="text"]{box-sizing:border-box;width:100%;max-width:none;min-height:42px;padding:8px 11px;border:1px solid #9fb5a4;border-radius:7px}
.kunst-existing-files{margin:9px 0 4px;padding:9px 11px;border-radius:7px;background:#edf4ee;color:#244730;font-size:14px;line-height:1.45}
.kunst-existing-files strong{font-weight:700}
.kunst-existing-files ul{margin:5px 0 0 18px;padding:0}
.kunst-existing-files a{color:#244730;text-decoration:underline;text-underline-offset:2px}

/* 1.9.43: mustandite ja olemasolevate failide selgem UX */
.kunst-konto-jatka .button{font:700 15px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;white-space:nowrap !important;word-break:normal !important;}
.kunst-file-hover{position:relative;display:inline-block;color:#244730;text-decoration:underline;text-underline-offset:2px;cursor:zoom-in;}
.kunst-file-hover::after{content:"";position:absolute;left:0;bottom:calc(100% + 8px);width:220px;aspect-ratio:4/3;background:#fff var(--kunst-preview) center/contain no-repeat;border:1px solid #cbd9cc;border-radius:8px;box-shadow:0 8px 24px rgba(22,42,32,.2);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);transition:.14s ease;z-index:50;}
.kunst-file-hover:hover::after,.kunst-file-hover:focus::after{opacity:1;visibility:visible;transform:none;}
.kunst-konto-arhiivipilt img{display:block;width:100%;height:100%;object-fit:contain;background:#f1f4ef;}
@media(max-width:650px){.kunst-file-hover::after{display:none}}



/* 1.9.48: töölehe kujundustööriistade puhas joondus. */
.kunst-worksheet-design-toolbar{
    display:grid;
    grid-template-columns:minmax(240px,auto) minmax(0,1fr);
    align-items:start;
    column-gap:32px;
    row-gap:16px;
    margin:0 0 18px;
}
.kunst-worksheet-upload-group{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
    padding-top:28px;
    margin:0;
}
.kunst-worksheet-upload-group .kunst-materjal-pildilisaja{margin:0;}
.kunst-worksheet-filetypes{
    margin:0 !important;
    color:#58685d;
    font:600 13px/1.35 system-ui,-apple-system,sans-serif;
}
.kunst-worksheet-design-toolbar .kunst-worksheet-settings{
    margin:0;
    padding:0;
    min-width:0;
}
.kunst-worksheet-design-toolbar .kunst-worksheet-selects{
    display:grid;
    grid-template-columns:auto minmax(145px,180px) minmax(165px,200px);
    align-items:end;
    justify-content:end;
    gap:14px;
}
.kunst-worksheet-design-toolbar .kunst-worksheet-selects label{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
    width:100%;
    margin:0;
}
.kunst-worksheet-preview-action{
    display:flex;
    align-items:flex-end;
    min-width:0;
    margin:0;
}
.kunst-worksheet-preview-action button{
    white-space:nowrap;
    margin:0;
}
/* Selgitus kuulub ainult eelvaate aknasse. */
.kunst-worksheet-preview-note{
    margin:0 0 10px;
    padding:0 2px;
    color:#58685d;
    font:400 13px/1.45 system-ui,-apple-system,sans-serif;
}
@media(max-width:900px){
    .kunst-worksheet-design-toolbar{grid-template-columns:1fr;}
    .kunst-worksheet-upload-group{padding-top:0;}
    .kunst-worksheet-design-toolbar .kunst-worksheet-selects{
        justify-content:start;
        grid-template-columns:auto minmax(125px,1fr) minmax(145px,1fr);
    }
}
@media(max-width:560px){
    .kunst-worksheet-design-toolbar .kunst-worksheet-selects{grid-template-columns:1fr 1fr;}
    .kunst-worksheet-preview-action{grid-column:1 / -1;}
}


/* 1.9.53: õiguste kinnitus enne sisu ülevaatamisele saatmist */
.kunst-rights-confirmation{
  margin:24px 0 14px;
  padding:16px 18px;
  border:1px solid #d7ded9;
  border-radius:4px;
  background:#f7f9f7;
}
.kunst-rights-confirmation label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  line-height:1.45;
}
.kunst-rights-confirmation input[type="checkbox"]{
  margin:3px 0 0;
  flex:0 0 auto;
}
.kunst-rights-confirmation p{
  margin:9px 0 0 28px;
  font-size:.92em;
  line-height:1.45;
}
.kunst-rights-confirmation a{ text-decoration:underline; }


/* 1.9.54: konto saldod ja arveldused */
.kunst-account-balances{
  margin:4px 0 24px;
  font-size:18px;
  line-height:1.5;
  color:#5d6b62;
}
.kunst-account-balances strong{color:#506056;}
.kunst-balance-dot{display:inline-block;margin:0 12px;color:#8a958e;}
.kunst-ledger-table-wrap{overflow-x:auto;margin-top:18px;}
.kunst-ledger-table{width:100%;border-collapse:collapse;}
.kunst-ledger-table th,.kunst-ledger-table td{
  padding:12px 10px;border-bottom:1px solid #dfe4e0;text-align:left;vertical-align:top;
}
.kunst-ledger-table th{font-weight:700;color:#506056;}

/* 1.9.54: kinnituskast nuppude alla ja sisuosa laiuseks */
.kunst-rights-confirmation{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box;
  margin:14px 0 0 !important;
  order:99;
}
.kunst-rights-confirmation label{max-width:none;}
.kunst-rights-confirmation p{max-width:none;}

/* 1.9.54: kompaktsemad tööetappide tabid, laius teksti järgi */
.kunst-student-tabs,
.kunst-task-tabs,
.kunst-view-tabs,
.kunst-lesson-tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:stretch !important;
  gap:8px !important;
}
.kunst-student-tabs > *,
.kunst-task-tabs > *,
.kunst-view-tabs > *,
.kunst-lesson-tabs > *{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  min-height:64px !important;
  height:auto !important;
  padding:12px 24px !important;
  box-sizing:border-box !important;
  margin:0 !important;
}
.kunst-student-tabs .active,
.kunst-task-tabs .active,
.kunst-view-tabs .active,
.kunst-lesson-tabs .active{
  transform:none !important;
}

/* 1.9.55: saldo kohe Minu konto pealkirja all, enne tegevusnuppe */
.kunst-account-balances{
  margin-top:-6px;
  margin-bottom:28px;
}


/* 1.9.56: allalaadimised Minu kogu sees */
.kunst-kogu-allalaadimised{
  margin:0 0 28px;
  padding:0 0 24px;
  border-bottom:1px solid #d8dfda;
}
.kunst-ikoon-allalaadimised::before{
  content:"↓";
  display:inline-block;
  margin-right:9px;
  font-weight:700;
  color:#315f41;
}
.kunst-download-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px;
}
.kunst-download-item{
  display:flex;
  align-items:center;
  gap:9px;
  width:fit-content;
  color:#315f41;
  text-decoration:none;
  font-weight:600;
}
.kunst-download-item:hover{text-decoration:underline;}
.kunst-download-arrow{
  font-size:1.15em;
  line-height:1;
  font-weight:700;
}

/* 1.9.57: jalus alati vaate alumisse serva */
html, body{min-height:100%;}
body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
#page, .site{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  width:100%;
}
#content, .site-content{
  flex:1 0 auto;
}
#colophon, .site-footer{
  margin-top:auto !important;
  flex-shrink:0;
}

/* 1.9.57: failide õiguste lühimeeldetuletus */
.kunst-upload-rights-note{
  width:100%;
  box-sizing:border-box;
  margin:10px 0 14px;
  font-size:.92em;
  line-height:1.45;
  color:#5d6b62;
}
.kunst-rights-popup-open{
  border:0;
  background:none;
  padding:0;
  margin:0 0 0 4px;
  color:#315f41;
  text-decoration:underline;
  cursor:pointer;
  font:inherit;
}
.kunst-rights-modal[hidden]{display:none!important;}
.kunst-rights-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-sizing:border-box;
}
.kunst-rights-modal-card{
  position:relative;
  width:min(680px,100%);
  max-height:80vh;
  overflow:auto;
  background:#fff;
  border-radius:8px;
  padding:28px 32px;
  box-sizing:border-box;
  box-shadow:0 16px 50px rgba(0,0,0,.18);
}
.kunst-rights-modal-card h3{margin-top:0;}
.kunst-rights-modal-close{
  position:absolute;
  right:14px;
  top:10px;
  border:0;
  background:none;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}

/* Allalaadimised Minu kogu sees */
#allalaadimised{scroll-margin-top:24px;}


/* 1.9.58: saldo nähtav Minu konto pealkirja all */
.kunst-dashboard-balance-slot{
  width:100%;
  margin:0 0 18px;
}
.kunst-dashboard-balance-slot .kunst-account-balances{
  margin:0;
}

/* Allalaadimiste otsetee, kui töölaua nav seda eraldi ei väljasta */
.kunst-top-downloads-wrap{margin:12px 0 20px;}
.kunst-top-downloads{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#315f41;
  text-decoration:none;
  font-weight:600;
}




/* 1.9.60: Allalaadimiste nooleikoon parempoolses Minu kogu menüüs */
body.kunst-konto-paneel
.woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--downloads > a{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
body.kunst-konto-paneel
.woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--downloads > a::before{
  content:"↓";
  display:inline-block;
  flex:0 0 auto;
  font-size:1.15em;
  line-height:1;
  font-weight:700;
  text-decoration:none;
}


/* 1.9.61: Kunstipunktid ja Raha nagu pealkirja alune meta-rida */
.kunst-dashboard-balance-slot{
  width:100% !important;
  max-width:none !important;
  margin:6px auto 26px !important;
}
.kunst-dashboard-balance-slot .kunst-account-balances{
  width:100% !important;
  margin:0 auto !important;
  text-align:center !important;
  display:block !important;
  font-size:26px !important;
  line-height:1.35 !important;
  color:#66756c !important;
  font-weight:400 !important;
}
.kunst-dashboard-balance-slot .kunst-account-balances strong{
  color:#4f6157 !important;
  font-weight:700 !important;
}
.kunst-dashboard-balance-slot .kunst-balance-dot{
  display:inline-block;
  margin:0 14px !important;
  color:#98a39d !important;
}

/* väiksematel ekraanidel rahulikum */
@media (max-width: 900px){
  .kunst-dashboard-balance-slot .kunst-account-balances{
    font-size:21px !important;
  }
}
@media (max-width: 640px){
  .kunst-dashboard-balance-slot .kunst-account-balances{
    font-size:18px !important;
    line-height:1.45 !important;
  }
  .kunst-dashboard-balance-slot .kunst-balance-dot{
    margin:0 8px !important;
  }
}

/* 1.9.62: loetavad, madalad ning teksti pikkusele vastavad ACF-sakid. */
#kunst-konto-ulesande-vorm .acf-tab-group{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1.45fr) minmax(0,.8fr) minmax(0,1.25fr) !important;
  gap:8px !important;
  width:100% !important;
  margin:0 0 16px !important;
}
#kunst-konto-ulesande-vorm .acf-tab-group > li{
  min-width:0 !important;
  width:auto !important;
  float:none !important;
  margin:0 !important;
}
#kunst-konto-ulesande-vorm .acf-tab-group > li > a{
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:48px !important;
  height:100% !important;
  padding:8px 10px !important;
  font-size:clamp(13px,1.15vw,16px) !important;
  line-height:1.25 !important;
  white-space:normal !important;
  text-align:center !important;
}
@media(max-width:760px){
  #kunst-konto-ulesande-vorm .acf-tab-group{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  #kunst-konto-ulesande-vorm .acf-tab-group > li:nth-child(3){grid-column:span 2;}
}
@media(max-width:460px){
  #kunst-konto-ulesande-vorm .acf-tab-group{grid-template-columns:1fr !important;}
  #kunst-konto-ulesande-vorm .acf-tab-group > li:nth-child(3){grid-column:auto;}
}

/* Sama sisuosa laius kõigil kolmel vormil; juhis ja kinnitus nuppude järel. */
.kunst-konto-ulesande-vorm .kunst-form-rights-footer{
  width:100%;
  max-width:none;
  box-sizing:border-box;
  margin:22px 0 0;
}
.kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-upload-rights-note,
.kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-rights-confirmation{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box;
  margin:0 0 12px !important;
}
.kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-rights-confirmation{
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-rights-confirmation label{
  font-size:.92em;
  font-weight:400;
}

/* Saldo on pealkirja vahetu, tagasihoidlik meta-rida. */
.kunst-dashboard-balance-slot{
  margin:-40px auto 38px !important;
  text-align:center !important;
}
.kunst-dashboard-balance-slot .kunst-account-balances{
  font-size:16px !important;
  line-height:1.45 !important;
  color:#111 !important;
}
.kunst-dashboard-balance-slot .kunst-balance-label{color:#111 !important;font-weight:400 !important;}
.kunst-dashboard-balance-slot .kunst-account-balances .kunst-balance-value{color:#315f41 !important;font-weight:700 !important;}
@media(max-width:640px){
  .kunst-dashboard-balance-slot{margin:-18px auto 30px !important;}
  .kunst-dashboard-balance-slot .kunst-account-balances{font-size:15px !important;}
}

/* Väikesel mustandikaardil mahuvad tegevused alati kõrvuti. */
.kunst-konto-jatka.kunst-konto-jatka--actions .button{font-size:13px !important;letter-spacing:-.015em;padding:8px 5px !important}
@media(max-width:390px){.kunst-konto-jatka.kunst-konto-jatka--actions .button{font-size:12px !important}}

/* Ülesande, materjali ja töölehe PDF-ploki ühtne paigutus. */
.kunst-ready-pdf-block .description{margin:8px 0 12px}
.kunst-ready-pdf-block .kunst-existing-files + .description{margin:8px 0 0}


/* 1.9.76: sisutüüpide rahulik tunnusvärvisüsteem.
   Roheline jääb tegevusnuppude ja saidi põhivärviks; materjal ja tööleht
   saavad värvi ainult taustades, joontes ja abielementides. */
:root{
    --kunst-action:#315f41;
    --kunst-action-hover:#244730;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="vaata_ja_marka"]{
    background:#f6f9fc!important;
    border-left-color:#6489aa!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="vaata_ja_marka"] .kunst-editor-help summary{color:#345b81}
#kunst-konto-ulesande-vorm .acf-field[data-name="vaata_ja_marka"] .kunst-editor-help{
    padding:10px 12px;
    border-left:2px solid #6489aa;
    background:#f0f3f6;
}

/* Materjali lisamisvorm: sinakashall identiteet, kuid nupud jäävad roheliseks. */
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-sisu,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-ready-pdf-block{
    background:var(--kunst-material-soft)!important;
    border-left-color:var(--kunst-material-rule)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-ready-pdf-block{border-color:var(--kunst-material-rule)!important}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-ready-pdf-block .acf-label>label,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-sisu>.acf-label>label{color:var(--kunst-material-accent)!important}

/* Töölehe lisamisvorm: soe savipruun identiteet. */
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block{
    background:var(--kunst-worksheet-soft)!important;
    border-color:var(--kunst-worksheet-rule)!important;
    border-left:4px solid var(--kunst-worksheet-rule)!important;
}
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block h3,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block h3,
.kunst-konto-toolehe-vorm .kunst-ready-pdf-block .acf-label>label{color:var(--kunst-worksheet-accent)!important}
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block>.acf-field{border-left-color:var(--kunst-worksheet-rule)!important}

/* Kõik tegevusnupud jäävad sõltumata sisutüübist roheliseks. */
.kunst-konto-materjali-vorm .acf-form-submit input[type="submit"],
.kunst-konto-toolehe-vorm .acf-form-submit input[type="submit"],
.kunst-konto-materjali-vorm .kunst-failinupp,
.kunst-konto-toolehe-vorm .kunst-failinupp{background:var(--kunst-action)!important;border-color:var(--kunst-action)!important;color:#fff!important}
.kunst-konto-materjali-vorm .acf-form-submit input[type="submit"]:hover,
.kunst-konto-toolehe-vorm .acf-form-submit input[type="submit"]:hover,
.kunst-konto-materjali-vorm .kunst-failivalik:hover .kunst-failinupp,
.kunst-konto-toolehe-vorm .kunst-failivalik:hover .kunst-failinupp{background:var(--kunst-action-hover)!important;color:#fff!important}


/* 1.9.79: sisutüübi värv on läbiv. Värv tähistab nüüd sisu, mitte nupu funktsiooni. */
:root{
    --kunst-task-accent:#315f41;
    --kunst-task-hover:#244730;
    --kunst-task-soft:#f1f5ef;
    --kunst-task-rule:#9fb5a4;
    --kunst-material-accent:#516a78;
    --kunst-material-hover:#3f5663;
    --kunst-material-soft:#f2f5f7;
    --kunst-material-rule:#b4c2c8;
    --kunst-worksheet-accent:#7a604b;
    --kunst-worksheet-hover:#604936;
    --kunst-worksheet-soft:#f7f3ee;
    --kunst-worksheet-rule:#cdbeaf;
}

/* Konto ülariba: iga lisamisnupp kannab selle sisu tunnusvärvi. */
.kunst-konto-uletai .kunst-content-action--lesson{
    border-color:var(--kunst-task-accent)!important;color:var(--kunst-task-accent)!important;background:transparent!important;
}
.kunst-konto-uletai .kunst-content-action--lesson:hover{
    border-color:var(--kunst-task-accent)!important;color:var(--kunst-task-hover)!important;background:var(--kunst-task-soft)!important;
}
.kunst-konto-uletai .kunst-content-action--material{
    border-color:var(--kunst-material-accent)!important;color:var(--kunst-material-accent)!important;background:transparent!important;
}
.kunst-konto-uletai .kunst-content-action--material:hover{
    border-color:var(--kunst-material-accent)!important;color:var(--kunst-material-hover)!important;background:var(--kunst-material-soft)!important;
}
.kunst-konto-uletai .kunst-content-action--worksheet{
    border-color:var(--kunst-worksheet-accent)!important;color:var(--kunst-worksheet-accent)!important;background:transparent!important;
}
.kunst-konto-uletai .kunst-content-action--worksheet:hover{
    border-color:var(--kunst-worksheet-accent)!important;color:var(--kunst-worksheet-hover)!important;background:var(--kunst-worksheet-soft)!important;
}

/* Materjali lisamisvorm: kõik plokid, väljad ja tegevused sinakashalli perekonda. */
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm){
    --kunst-content-accent:var(--kunst-material-accent);
    --kunst-content-hover:var(--kunst-material-hover);
    --kunst-content-soft:var(--kunst-material-soft);
    --kunst-content-rule:var(--kunst-material-rule);
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-ready-pdf-block{
    background:var(--kunst-content-soft)!important;
    border-color:var(--kunst-content-rule)!important;
    border-left-color:var(--kunst-content-rule)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field:nth-child(3n + 2),
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field:nth-child(3n),
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-sisu{
    background:var(--kunst-content-soft)!important;
    border-left-color:var(--kunst-content-rule)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-field > .acf-label > label,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-ready-pdf-block .acf-label > label{
    color:var(--kunst-content-accent)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) input[type="text"],
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) input[type="search"],
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) select,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) textarea,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .wp-editor-container{
    border-color:var(--kunst-content-rule)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-failinupp,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-pildinupp.button,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions button[value="review"]{
    background:var(--kunst-content-accent)!important;border-color:var(--kunst-content-accent)!important;color:#fff!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-failivalik:hover .kunst-failinupp,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-pildinupp.button:hover,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions button[value="review"]:hover{
    background:var(--kunst-content-hover)!important;border-color:var(--kunst-content-hover)!important;color:#fff!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions .kunst-save-draft{
    background:transparent!important;border-color:var(--kunst-content-accent)!important;color:var(--kunst-content-accent)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions .kunst-save-draft:hover{
    background:var(--kunst-content-soft)!important;border-color:var(--kunst-content-accent)!important;color:var(--kunst-content-hover)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) :is(button,input,a):focus-visible{
    outline-color:var(--kunst-content-accent)!important;
}

/* Töölehe lisamisvorm: kogu vormi pind, jooned, pealkirjad ja nupud savipruuni perekonda. */
.kunst-konto-toolehe-vorm{
    --kunst-content-accent:var(--kunst-worksheet-accent);
    --kunst-content-hover:var(--kunst-worksheet-hover);
    --kunst-content-soft:var(--kunst-worksheet-soft);
    --kunst-content-rule:var(--kunst-worksheet-rule);
}
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block,
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field{
    background:var(--kunst-content-soft)!important;
    border-color:var(--kunst-content-rule)!important;
    border-left:4px solid var(--kunst-content-rule)!important;
}
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field:nth-child(3n + 2),
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field:nth-child(3n){
    background:var(--kunst-content-soft)!important;
    border-left-color:var(--kunst-content-rule)!important;
}
.kunst-konto-toolehe-vorm .acf-field > .acf-label > label,
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block h3,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block h3,
.kunst-konto-toolehe-vorm .kunst-ready-pdf-block .acf-label > label{
    color:var(--kunst-content-accent)!important;
}
.kunst-konto-toolehe-vorm input[type="text"],
.kunst-konto-toolehe-vorm input[type="search"],
.kunst-konto-toolehe-vorm select,
.kunst-konto-toolehe-vorm textarea,
.kunst-konto-toolehe-vorm .wp-editor-container{
    border-color:var(--kunst-content-rule)!important;
}
.kunst-konto-toolehe-vorm .kunst-failinupp,
.kunst-konto-toolehe-vorm .kunst-materjal-pildinupp.button,
.kunst-konto-toolehe-vorm .kunst-worksheet-selects button,
.kunst-konto-toolehe-vorm .kunst-submit-actions button[value="review"]{
    background:var(--kunst-content-accent)!important;border-color:var(--kunst-content-accent)!important;color:#fff!important;
}
.kunst-konto-toolehe-vorm .kunst-failivalik:hover .kunst-failinupp,
.kunst-konto-toolehe-vorm .kunst-materjal-pildinupp.button:hover,
.kunst-konto-toolehe-vorm .kunst-worksheet-selects button:hover,
.kunst-konto-toolehe-vorm .kunst-submit-actions button[value="review"]:hover{
    background:var(--kunst-content-hover)!important;border-color:var(--kunst-content-hover)!important;color:#fff!important;
}
.kunst-konto-toolehe-vorm .kunst-submit-actions .kunst-save-draft{
    background:transparent!important;border-color:var(--kunst-content-accent)!important;color:var(--kunst-content-accent)!important;
}
.kunst-konto-toolehe-vorm .kunst-submit-actions .kunst-save-draft:hover{
    background:var(--kunst-content-soft)!important;border-color:var(--kunst-content-accent)!important;color:var(--kunst-content-hover)!important;
}
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-wrap{
    background:var(--kunst-content-soft)!important;border-color:var(--kunst-content-rule)!important;
}
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-head{color:var(--kunst-content-accent)!important}
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-head button{
    border-color:var(--kunst-content-accent)!important;color:var(--kunst-content-accent)!important;background:transparent!important;
}
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-head button:hover{
    background:#eee6de!important;color:var(--kunst-content-hover)!important;
}
.kunst-konto-toolehe-vorm :is(button,input,a):focus-visible{outline-color:var(--kunst-content-accent)!important}

/* Ka lisamislehe põhipealkiri järgib sisutüüpi. */
body.kunst-account-content--lesson .woocommerce-MyAccount-content > h2{color:var(--kunst-task-accent)}
body.kunst-account-content--material .woocommerce-MyAccount-content > h2{color:var(--kunst-material-accent)}
body.kunst-account-content--worksheet .woocommerce-MyAccount-content > h2{color:var(--kunst-worksheet-accent)}

/* 1.9.79: sisutüübi värvieristus jääb ainult taustadesse.
   Pealkirjad, nupud, vormiväljade piirjooned ja fookused kasutavad taas ühist rohelist. */
:root{
  --kunst-ui-green:#315f41;
  --kunst-ui-green-hover:#244730;
  --kunst-ui-green-rule:#9fb5a4;
  --kunst-ui-green-soft:#f1f5ef;
}

/* Konto ülariba kolm lisamisnuppu on jälle ühe kujundusega. */
.kunst-konto-uletai .kunst-content-action--lesson,
.kunst-konto-uletai .kunst-content-action--material,
.kunst-konto-uletai .kunst-content-action--worksheet{
  border-color:var(--kunst-ui-green)!important;
  color:var(--kunst-ui-green)!important;
  background:transparent!important;
}
.kunst-konto-uletai .kunst-content-action--lesson:hover,
.kunst-konto-uletai .kunst-content-action--material:hover,
.kunst-konto-uletai .kunst-content-action--worksheet:hover{
  border-color:var(--kunst-ui-green)!important;
  color:var(--kunst-ui-green-hover)!important;
  background:var(--kunst-ui-green-soft)!important;
}

/* Materjal: sinakashall jääb plokkide taustaks, muu kasutajaliides on roheline. */
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-fields > .acf-field,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-ready-pdf-block,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-sisu{
  background:var(--kunst-material-soft)!important;
  border-color:#d7e2d8!important;
  border-left-color:#528461!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .acf-field > .acf-label > label,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-ready-pdf-block .acf-label > label,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) h3{
  color:var(--kunst-ui-green)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) input[type="text"],
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) input[type="search"],
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) select,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) textarea,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .wp-editor-container{
  border-color:var(--kunst-ui-green-rule)!important;
}

/* Tööleht: savipruun jääb plokkide taustaks, pealkirjad/jooned/nupud on rohelised. */
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block,
.kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field,
.kunst-konto-toolehe-vorm .kunst-ready-pdf-block,
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-wrap{
  background:var(--kunst-worksheet-soft)!important;
  border-color:#d7e2d8!important;
  border-left-color:#528461!important;
}
.kunst-konto-toolehe-vorm .acf-field > .acf-label > label,
.kunst-konto-toolehe-vorm .kunst-worksheet-upload-block h3,
.kunst-konto-toolehe-vorm .kunst-worksheet-design-block h3,
.kunst-konto-toolehe-vorm .kunst-ready-pdf-block .acf-label > label,
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-head{
  color:var(--kunst-ui-green)!important;
}
.kunst-konto-toolehe-vorm input[type="text"],
.kunst-konto-toolehe-vorm input[type="search"],
.kunst-konto-toolehe-vorm select,
.kunst-konto-toolehe-vorm textarea,
.kunst-konto-toolehe-vorm .wp-editor-container{
  border-color:var(--kunst-ui-green-rule)!important;
}

/* Kõigi kolme sisutüübi tegevused kasutavad sama rohelist. */
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-failinupp,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-pildinupp.button,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions button[value="review"],
.kunst-konto-toolehe-vorm .kunst-failinupp,
.kunst-konto-toolehe-vorm .kunst-materjal-pildinupp.button,
.kunst-konto-toolehe-vorm .kunst-worksheet-selects button,
.kunst-konto-toolehe-vorm .kunst-submit-actions button[value="review"]{
  background:var(--kunst-ui-green)!important;
  border-color:var(--kunst-ui-green)!important;
  color:#fff!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-failivalik:hover .kunst-failinupp,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-materjal-pildinupp.button:hover,
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions button[value="review"]:hover,
.kunst-konto-toolehe-vorm .kunst-failivalik:hover .kunst-failinupp,
.kunst-konto-toolehe-vorm .kunst-materjal-pildinupp.button:hover,
.kunst-konto-toolehe-vorm .kunst-worksheet-selects button:hover,
.kunst-konto-toolehe-vorm .kunst-submit-actions button[value="review"]:hover{
  background:var(--kunst-ui-green-hover)!important;
  border-color:var(--kunst-ui-green-hover)!important;
  color:#fff!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions .kunst-save-draft,
.kunst-konto-toolehe-vorm .kunst-submit-actions .kunst-save-draft,
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-head button{
  background:transparent!important;
  border-color:var(--kunst-ui-green)!important;
  color:var(--kunst-ui-green)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) .kunst-submit-actions .kunst-save-draft:hover,
.kunst-konto-toolehe-vorm .kunst-submit-actions .kunst-save-draft:hover,
.kunst-konto-toolehe-vorm .kunst-worksheet-preview-head button:hover{
  background:var(--kunst-ui-green-soft)!important;
  border-color:var(--kunst-ui-green)!important;
  color:var(--kunst-ui-green-hover)!important;
}
.kunst-konto-materjali-vorm:not(.kunst-konto-toolehe-vorm) :is(button,input,a):focus-visible,
.kunst-konto-toolehe-vorm :is(button,input,a):focus-visible{
  outline-color:var(--kunst-ui-green)!important;
}

/* Lisamislehe põhipealkiri ei muuda värvi vastavalt sisutüübile. */
body.kunst-account-content--lesson .woocommerce-MyAccount-content > h2,
body.kunst-account-content--material .woocommerce-MyAccount-content > h2,
body.kunst-account-content--worksheet .woocommerce-MyAccount-content > h2{
  color:var(--kunst-ui-green)!important;
}

/* 1.9.82: konto ikooniga jaotisepealkirjad on visuaalselt keskel. */
body.kunst-konto-paneel .woocommerce-MyAccount-content > h2.kunst-ikoon-lisa,
body.kunst-konto-paneel .woocommerce-MyAccount-content > h2.kunst-ikoon-lemmikud,
body.kunst-konto-paneel .woocommerce-MyAccount-content > h2.kunst-ikoon-raamat,
body.kunst-konto-paneel .woocommerce-MyAccount-content h3.kunst-ikoon-allalaadimised {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  text-align:center;
}

/* 1.9.93: lehe päis, laius ja vertikaalne rütm tulevad ainult pluginast Kunsti ühine mall. */

/* 1.11.0: sisupartneri personaalne statistika */
.kunst-creator-periods{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.kunst-creator-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:18px 0}
.kunst-creator-stats-grid>div{border:1px solid #dfe7df;border-radius:8px;padding:16px;background:#fff}
.kunst-creator-stats-grid strong{display:block;font-size:1.45rem;color:#315f41;margin-bottom:4px}
.kunst-creator-stats-grid span{font-size:.9rem;color:#657168}
.kunst-creator-stats-table{margin-top:20px}


/* 1.12.7: Minu konto menüü ikoonid ja maksete/plaanide jaotuse korrastus */
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders::before{
    display:none;
    content:"";
}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li > a{
    display:flex;
    align-items:center;
    gap:.62em;
}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li > a::before{
    content:"";
    display:inline-block;
    flex:0 0 auto;
    width:1.08em;
    height:1.08em;
    background:currentColor;
    -webkit-mask:var(--kunst-konto-ikoon) center / contain no-repeat;
    mask:var(--kunst-konto-ikoon) center / contain no-repeat;
}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--dashboard > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.8V21h14V9.8'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--muuda-profiili > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.7-3.4 5-5 8-5s6.3 1.6 8 5'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--edit-account > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M2 20c1.7-3.4 4.5-5 7-5'/%3E%3Cpath d='m14 6 4 4'/%3E%3Cpath d='M13 17l6.8-6.8a1.4 1.4 0 0 0 0-2L17.8 6a1.4 1.4 0 0 0-2 0L9 12.8 8 17l4-.9Z'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--edit-address > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.3-6-11a6 6 0 1 1 12 0c0 5.7-6 11-6 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--muugikonto > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h18l-1.5 12h-15Z'/%3E%3Cpath d='M7 8a5 5 0 0 1 10 0'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--arveldused > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10v18l-2-1.5-3 1.5-3-1.5L7 21Z'/%3E%3Cpath d='M9 8h6M9 12h6'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--sisulooja-leping > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7Z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--payment-methods > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18M7 14h3'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--lemmikud > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--downloads > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m7.5 10.5 4.5 4.5 4.5-4.5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--minu-lisatud-sisu > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--minu-statistika > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M7 16v-5M12 16V7M17 16v-8'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--opetajaraamat > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5C9.5 3.4 6.5 3 3 4v15c3.5-1 6.5-.6 9 1m0-15c2.5-1.6 5.5-2 9-1v15c-3.5-1-6.5-.6-9 1M12 5v15'/%3E%3C/svg%3E"); }
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--customer-logout > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 16l4-4-4-4'/%3E%3Cpath d='M9 12h9'/%3E%3Cpath d='M11 4H5v16h6'/%3E%3C/svg%3E"); }


/* 1.12.8: konto külgmenüü täpne joondus */
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li > a{
    display:grid !important;
    grid-template-columns:28px minmax(0,1fr);
    align-items:center !important;
    column-gap:12px !important;
    min-height:38px;
    padding:.22rem .35rem !important;
    line-height:1.25 !important;
}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li > a::before{
    box-sizing:border-box;
    width:24px !important;
    height:24px !important;
    margin:0 !important;
    justify-self:center;
    align-self:center;
    font-size:24px !important;
    line-height:24px !important;
    text-align:center;
}
/* Eemaldame vanade üksikikoonide marginaalid ja flex-seaded. */
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--lemmikud > a,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--downloads > a,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--opetajaraamat > a{
    display:grid !important;
    align-items:center !important;
    gap:0 !important;
    column-gap:12px !important;
}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--lemmikud > a::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--downloads > a::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--minu-lisatud-sisu > a::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--opetajaraamat > a::before{
    margin:0 !important;
}
/* Jaotiste pealkirjad algavad täpselt menüü vasakust sisuservast. */
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard::before,
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--lemmikud::before{
    box-sizing:border-box;
    width:100%;
    margin:.95rem 0 .35rem !important;
    padding:.45rem .35rem .3rem !important;
}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard::before{
    margin-top:0 !important;
}


/* 2026-10-05: vormi plokid ja materjali õpilase sisu kasutavad kogu sisulaiust. */
.kunst-konto-ulesande-vorm .kunst-materjal-opilase-sisu,
.kunst-konto-ulesande-vorm .kunst-materjal-opilase-sisu .wp-editor-wrap,
.kunst-konto-ulesande-vorm .kunst-materjal-opilase-sisu .wp-editor-container{width:100%!important;max-width:none!important}
.kunst-konto-ulesande-vorm .acf-field[data-name="kunst_pilt_1"],
.kunst-konto-ulesande-vorm .acf-field[data-name="kunst_pilt_2"],
.kunst-konto-ulesande-vorm .acf-field[data-name="kunst_pilt_3"]{box-sizing:border-box;width:33.333%;float:left;padding-right:12px}
.kunst-konto-ulesande-vorm .acf-field[data-name="piltide_info"]{clear:both;width:100%}
.kunst-konto-ulesande-vorm .acf-field[data-name="marksonad"],
.kunst-konto-ulesande-vorm .acf-field[data-name="toovahendid_ja_materjalid"]{box-sizing:border-box;width:49%;display:inline-block;vertical-align:top}
@media(max-width:720px){
 .kunst-konto-ulesande-vorm .acf-field[data-name="kunst_pilt_1"],
 .kunst-konto-ulesande-vorm .acf-field[data-name="kunst_pilt_2"],
 .kunst-konto-ulesande-vorm .acf-field[data-name="kunst_pilt_3"],
 .kunst-konto-ulesande-vorm .acf-field[data-name="marksonad"],
 .kunst-konto-ulesande-vorm .acf-field[data-name="toovahendid_ja_materjalid"]{width:100%;display:block;float:none;padding-right:0}
}


/* 1.12.18: pildiploki paarid, eraldi märksõnade ja töövahendite plokid. */
.kunst-konto-ulesande-vorm .kunst-lisad-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.kunst-konto-ulesande-vorm .kunst-lisad-grid > :nth-child(1){grid-column:1;grid-row:1}
.kunst-konto-ulesande-vorm .kunst-lisad-grid > :nth-child(2){grid-column:1;grid-row:2}
.kunst-konto-ulesande-vorm .kunst-lisad-grid > :nth-child(3){grid-column:2;grid-row:1}
.kunst-konto-ulesande-vorm .kunst-lisad-grid > :nth-child(4){grid-column:2;grid-row:2}
.kunst-konto-ulesande-vorm .kunst-lisad-grid > :nth-child(5){grid-column:3;grid-row:1}
.kunst-konto-ulesande-vorm .kunst-lisad-grid > :nth-child(6){grid-column:3;grid-row:2}
.kunst-konto-ulesande-vorm .kunst-ulesande-teemad,
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad,
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid{
  min-width:0;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad,
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid{
  margin-top:0;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-marksonad input,
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid input{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  min-height:42px;
  padding:8px 11px;
  border:1px solid #9fb5a4;
  border-radius:7px;
}
@media(max-width:1050px){
  .kunst-konto-ulesande-vorm .kunst-lisad-grid,
  .kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud{
    grid-template-columns:1fr!important;
  }
  .kunst-konto-ulesande-vorm .kunst-lisad-grid > *{
    grid-column:1!important;
    grid-row:auto!important;
  }
}


/* 1.12.19: töövahendite sisestus on üks terviklik plokk. */
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid{
  box-sizing:border-box;
  padding:.85rem 1rem 1rem 1rem;
  border:1px solid #dbe2d9;
  border-left:4px solid #528461;
  border-radius:10px;
  background:#fdfdf9;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid h3{
  margin:0 0 .55rem;
  padding:0;
  border:0;
  color:#305b3b;
  font:800 1rem/1.35 system-ui,-apple-system,sans-serif;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid .kunst-marksonad-silt{
  margin:.2rem 0 .45rem;
  color:#243028;
  font-weight:400;
}


/* 1.12.20: Töövorm ja Mõisted kõrvuti; ettevalmistuse väli on eemaldatud. */
@media(min-width:1000px){
  .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="toovorm"]{grid-column:1!important}
  .kunst-konto-ulesande-vorm .acf-fields > .acf-field:is([data-name="moisted_valik"],[data-name="moisted"]){grid-column:2!important}
}


/* 1.12.20: töövahendite plokk kasutab sama kaardistiili nagu teised väljad. */
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid{
  box-sizing:border-box!important;
  margin:.55rem 0!important;
  padding:.85rem 1rem 1rem 1rem!important;
  border:1px solid #dbe2d9!important;
  border-left:4px solid #528461!important;
  border-radius:10px!important;
  background:#fdfdf9!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid h3{
  margin:0 0 .55rem!important;
  padding:0!important;
  border:0!important;
  color:#305b3b!important;
  font:800 1rem/1.35 system-ui,-apple-system,sans-serif!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid label{
  display:block!important;
  margin:0 0 .45rem!important;
  color:#243028!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid input[type="text"]{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-height:42px!important;
  padding:8px 11px!important;
  border:1px solid #9fb5a4!important;
  border-radius:7px!important;
  background:#fff!important;
}


/* 1.12.21: pildiploki kolm veergu pildi + kirjelduse paaridena. */
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:.7rem 1rem!important;
  align-items:start!important;
}
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(1),
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(2){grid-column:1!important}
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(3),
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(4){grid-column:2!important}
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(5),
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(6){grid-column:3!important}
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(odd){grid-row:1!important}
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > :nth-child(even){grid-row:2!important}
.kunst-konto-ulesande-vorm .kunst-pildi-optimeerimise-info{
  margin:.7rem 0 0!important;
  color:#526258!important;
  font-size:.92rem!important;
}
@media(max-width:760px){
  .kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired{grid-template-columns:1fr!important}
  .kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > *{
    grid-column:1!important;
    grid-row:auto!important;
  }
}


/* 1.12.22: Mõisted kaart, töövahendite kaart, pildiplokk ja Edasi nupp. */
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted{
  box-sizing:border-box!important;
  margin:0!important;
  padding:1rem!important;
  border:1px solid #dbe2d9!important;
  border-left:4px solid #528461!important;
  border-radius:10px!important;
  background:#fdfdf9!important;
  min-width:0!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label{
  margin:0 0 .45rem!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label label{
  color:#305b3b!important;
  font:800 1rem/1.35 system-ui,-apple-system,sans-serif!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted input[type="text"],
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted textarea{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

.kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud{
  align-items:stretch!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-teemad,
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-marksonad,
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-moisted{
  height:100%;
}

.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired > *{
  min-width:0!important;
}
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired .kunst-pildi-kirjeldus{
  width:100%!important;
  margin:0!important;
}
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired .kunst-pildi-kirjeldus input,
.kunst-konto-ulesande-vorm .kunst-lisad-grid.kunst-lisad-grid--paired .kunst-pildi-kirjeldus textarea{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-optimeerimise-info{
  order:99;
}

.kunst-konto-ulesande-vorm .kunst-submit-actions{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:.65rem!important;
  flex-wrap:wrap!important;
}
.kunst-konto-ulesande-vorm .kunst-next-tab{
  min-height:44px!important;
  padding:.6rem 1.1rem!important;
  border:1px solid #315f41!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#315f41!important;
  font:700 15px/1.35 system-ui,-apple-system,sans-serif!important;
  cursor:pointer!important;
}
.kunst-konto-ulesande-vorm .kunst-next-tab:hover{
  background:#edf4ee!important;
}


/* 1.12.24: ÜLESANNE TAB-i paigutus ja navigeerimisnupud. */
@media(min-width:1000px){
  .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="oppekontekst"]{
    grid-column:1 / -1!important;
  }
  .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="juhendamise_vajadus"]{
    grid-column:1!important;
  }
  .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="toovorm"]{
    grid-column:2!important;
  }
  .kunst-konto-ulesande-vorm .acf-fields > .acf-field[data-name="ajakulu"]{
    grid-column:3!important;
  }
}
.kunst-konto-ulesande-vorm .kunst-tools-before-tabs{
  grid-column:1 / -1!important;
  width:100%!important;
  margin:.55rem 0 1rem!important;
}
.kunst-konto-ulesande-vorm .kunst-prev-tab,
.kunst-konto-ulesande-vorm .kunst-next-tab{
  min-height:44px!important;
  padding:.6rem 1.1rem!important;
  border:1px solid #315f41!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#315f41!important;
  font:700 15px/1.35 system-ui,-apple-system,sans-serif!important;
  cursor:pointer!important;
}
.kunst-konto-ulesande-vorm .kunst-prev-tab:hover,
.kunst-konto-ulesande-vorm .kunst-next-tab:hover{
  background:#edf4ee!important;
}
.kunst-konto-ulesande-vorm .kunst-prev-tab[hidden],
.kunst-konto-ulesande-vorm .kunst-next-tab[hidden],
.kunst-konto-ulesande-vorm .kunst-tools-before-tabs[hidden]{
  display:none!important;
}


/* 1.12.25: enne TAB-e on alati nähtavad ainult PDF, pealkiri ja lühikirjeldus. */
.kunst-konto-ulesande-vorm .kunst-always-visible{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  grid-column:1 / -1!important;
}
.kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf,
.kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri,
.kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"]{
  grid-column:1 / -1!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad{
  grid-column:1 / -1!important;
}


/* 1.12.26: ÜLESANNE TAB-il on oma violetselt-hall värviperekond. */
.kunst-konto-ulesande-vorm .acf-tab-group li:first-child a{
  border-color:#b9a6c2!important;
  background:#f3eef5!important;
  color:#5d4866!important;
}
.kunst-konto-ulesande-vorm .acf-tab-group li:first-child a:hover,
.kunst-konto-ulesande-vorm .acf-tab-group li:first-child a:focus-visible,
.kunst-konto-ulesande-vorm .acf-tab-group li:first-child:is(.active, .-active) a{
  border-color:#6f5879!important;
  background:#6f5879!important;
  color:#fff!important;
}

/* ÜLESANNE TAB-i väljad kasutavad sama värvi. */
.kunst-konto-ulesande-vorm .kunst-tab-ulesanne-field,
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block{
  border-left-color:#8d7698!important;
}
.kunst-konto-ulesande-vorm .kunst-tab-ulesanne-field > .acf-label label,
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block h3,
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label label{
  color:#634f6d!important;
}
.kunst-konto-ulesande-vorm .kunst-tab-ulesanne-field{
  background:#fbf9fc!important;
}

/* Mõisted | Märksõnad | Töövahendid ühel real; Teemad eraldi täislaiuses. */
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-teemad--full{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin-top:1rem!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-teemad--full .kunst-terminid-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:1050px){
  .kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud{
    grid-template-columns:1fr!important;
  }
  .kunst-konto-ulesande-vorm .kunst-ulesande-teemad--full .kunst-terminid-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:600px){
  .kunst-konto-ulesande-vorm .kunst-ulesande-teemad--full .kunst-terminid-grid{
    grid-template-columns:1fr!important;
  }
}

/* Esimese TAB-i lisaplokkide peitmine on üheselt juhitud aktiivse TAB-i järgi. */
.kunst-konto-ulesande-vorm .kunst-ulesande-lisad[hidden]{
  display:none!important;
}


/* 1.12.27: lõplik TAB-värvisüsteem, pildiplokk ja 1200 px vormilaius. */
.kunst-konto-ulesande-vorm{
  max-width:1200px!important;
}

/* TAB-id: igaühel oma tunnusvärv. */
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(1) a{background:#f3eef5!important;color:#5d4866!important;border-color:#b9a6c2!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(2) a{background:#f6f1ed!important;color:#6a5545!important;border-color:#c9b9aa!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(3) a{background:#eef6ef!important;color:#3f6848!important;border-color:#b7cdbb!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(4) a{background:#fff2e8!important;color:#814b25!important;border-color:#e3c1a7!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(5) a{background:#edf3f8!important;color:#365b7a!important;border-color:#b8cbdc!important}

.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(1):is(.active,.-active) a{background:#6f5879!important;border-color:#6f5879!important;color:#fff!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(2):is(.active,.-active) a{background:#7a6250!important;border-color:#7a6250!important;color:#fff!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(3):is(.active,.-active) a{background:#52765a!important;border-color:#52765a!important;color:#fff!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(4):is(.active,.-active) a{background:#915425!important;border-color:#915425!important;color:#fff!important}
.kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(5):is(.active,.-active) a{background:#355a7c!important;border-color:#355a7c!important;color:#fff!important}

/* TAB-i sisuväljad kasutavad sama värviperekonda. */
.kunst-konto-ulesande-vorm .kunst-tab-stage-1{--kunst-tab-accent:#8d7698;--kunst-tab-title:#634f6d;--kunst-tab-bg:#fbf9fc}
.kunst-konto-ulesande-vorm .kunst-tab-stage-2{--kunst-tab-accent:#9a806b;--kunst-tab-title:#6d5847;--kunst-tab-bg:#fcf9f6}
.kunst-konto-ulesande-vorm .kunst-tab-stage-3{--kunst-tab-accent:#6f9877;--kunst-tab-title:#466b4f;--kunst-tab-bg:#f7fbf7}
.kunst-konto-ulesande-vorm .kunst-tab-stage-4{--kunst-tab-accent:#bf7a46;--kunst-tab-title:#81502b;--kunst-tab-bg:#fffaf6}
.kunst-konto-ulesande-vorm .kunst-tab-stage-5{--kunst-tab-accent:#6486a4;--kunst-tab-title:#3d6282;--kunst-tab-bg:#f7fafc}

.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"]{
  box-sizing:border-box!important;
  border-left:4px solid var(--kunst-tab-accent)!important;
  border-radius:10px!important;
  background:var(--kunst-tab-bg)!important;
  padding:1rem!important;
}
.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"] > .acf-label label{
  color:var(--kunst-tab-title)!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block{
  border-left:4px solid #8d7698!important;
  background:#fbf9fc!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block h3,
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label label{
  color:#634f6d!important;
}

/* PDF, pealkiri ja lühikirjeldus on TAB-idest sõltumatu neutraalne üldosa. */
.kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf,
.kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri,
.kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"]{
  border-left:4px solid #a69d8e!important;
  background:#fcfbf8!important;
}
.kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri > .acf-label label,
.kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"] > .acf-label label{
  color:#4d544f!important;
}

/* Pildid: kolm tulpa, igas üleslaadimine ja üks kirjeldusväli. */
.kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1rem!important;
  align-items:start!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-tulp{
  min-width:0!important;
  gap:.55rem!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-tulp > label{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:.45rem!important;
  min-width:0!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-tulp .kip-alt-label{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-tulp .kip-alt-input{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
@media(max-width:800px){
  .kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid{grid-template-columns:1fr!important}
}

/* Kellele ülesanne sobib: valikud mahuvad kompaktsemalt mitmesse tulpa. */
.kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{
  display:grid!important;
  gap:.35rem 1.25rem!important;
}
@media(max-width:900px){
  .kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{grid-template-columns:1fr!important}
}


/* 1.12.28: lõplik värvireegel. Sama TAB = sama värvilahendus. */
.kunst-konto-ulesande-vorm{
  --kunst-active:#315f41;
  --kunst-active-soft:#edf4ee;
  --kunst-active-title:#315f41;
}
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(1):is(.active,.-active)){
  --kunst-active:#6f5879; --kunst-active-soft:#f4eff6; --kunst-active-title:#634f6d;
}
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(2):is(.active,.-active)){
  --kunst-active:#7a6250; --kunst-active-soft:#f7f2ee; --kunst-active-title:#6d5847;
}
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(3):is(.active,.-active)){
  --kunst-active:#52765a; --kunst-active-soft:#eef6ef; --kunst-active-title:#466b4f;
}
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active,.-active)){
  --kunst-active:#915425; --kunst-active-soft:#fff2e8; --kunst-active-title:#81502b;
}
.kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active,.-active)){
  --kunst-active:#355a7c; --kunst-active-soft:#edf3f8; --kunst-active-title:#3d6282;
}

/* Üldosa enne TAB-e: roheline aktiivsusjoon. */
.kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf,
.kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri,
.kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"]{
  border-left:4px solid #315f41!important;
}

/* Aktiivse TAB-i väljad, pealkirjad ja nupud ühe värviga. */
.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"],
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block{
  border-left-color:var(--kunst-active)!important;
  background:var(--kunst-active-soft)!important;
}
.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"] > .acf-label label,
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block h3,
.kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label label{
  color:var(--kunst-active-title)!important;
}
.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"] button:not(.mce-btn),
.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"] .button:not(.mce-btn),
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block button,
.kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block .kunst-failinupp{
  border-color:var(--kunst-active)!important;
  background:var(--kunst-active)!important;
  color:#fff!important;
}
.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"] input[type="checkbox"],
.kunst-konto-ulesande-vorm .acf-field[class*="kunst-tab-stage-"] input[type="radio"]{
  accent-color:var(--kunst-active)!important;
}

/* Pilditulbad: pealkiri üleval, üleslaadimine + kirjeldus samas reas. */
.kunst-konto-ulesande-vorm .kunst-pildi-tulp{
  display:flex!important;
  flex-direction:column!important;
  gap:.45rem!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-tulp > label:first-child{
  display:contents!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-tulp > label:first-child > span:first-child{
  display:block!important;
  font-weight:600!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-rida{
  display:grid!important;
  grid-template-columns:minmax(150px,.9fr) minmax(150px,1.1fr)!important;
  gap:.6rem!important;
  align-items:center!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-rida .kunst-failivalik,
.kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-label,
.kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-input{
  width:100%!important;
  min-width:0!important;
}
.kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-label{margin:0!important}
@media(max-width:1050px){
  .kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid{grid-template-columns:1fr!important}
  .kunst-konto-ulesande-vorm .kunst-pildi-rida{grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr)!important}
}
@media(max-width:620px){
  .kunst-konto-ulesande-vorm .kunst-pildi-rida{grid-template-columns:1fr!important}
}

/* Õppekava seosed Õpitulemuste juures pop-upina. */
.kunst-curriculum-link{
  display:inline-flex!important;
  margin:.35rem 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--kunst-active)!important;
  font:600 14px/1.4 system-ui,-apple-system,sans-serif!important;
  text-decoration:underline!important;
  cursor:pointer!important;
}
.kunst-curriculum-modal[hidden]{display:none!important}
.kunst-curriculum-modal{position:fixed;inset:0;z-index:100000}
.kunst-curriculum-backdrop{position:absolute;inset:0;background:rgba(20,28,23,.48)}
.kunst-curriculum-dialog{
  position:relative;
  z-index:1;
  width:min(920px,calc(100vw - 32px));
  max-height:calc(100vh - 48px);
  margin:24px auto;
  overflow:auto;
  box-sizing:border-box;
  padding:28px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 24px 60px rgba(0,0,0,.22);
}
.kunst-curriculum-dialog h2{margin:0 0 .25rem;color:var(--kunst-active-title)}
.kunst-curriculum-note{margin:0 0 1.2rem;color:#647068}
.kunst-curriculum-close{
  position:absolute;right:16px;top:12px;
  width:36px;height:36px;border:0!important;border-radius:50%!important;
  background:#f2f2f2!important;color:#333!important;font-size:24px!important;line-height:1!important;cursor:pointer
}
.kunst-curriculum-fields{display:grid;grid-template-columns:1fr;gap:1rem}
.kunst-curriculum-fields .acf-field{
  display:block!important;
  border-left:4px solid var(--kunst-active)!important;
  background:var(--kunst-active-soft)!important;
  padding:1rem!important;
  border-radius:10px!important;
}
body.kunst-modal-open{overflow:hidden}

/* ÕPETAJALE: eesmärk -> märkused -> ülejäänud väljad. */

/* Kellele sobib: 4 tulpa laias vaates. */
.kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}


/* 1.12.29: ülesande vormi plokkide vasakjoon järgib aktiivse TAB-i värvi. */
#kunst-konto-ulesande-vorm .acf-fields > .acf-field:not([data-type="tab"]),
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid,
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad{
    border-left-color:#528461 !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active, .-active)) .acf-fields > .acf-field:not([data-type="tab"]),
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active, .-active)) .kunst-ulesande-pildid,
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active, .-active)) .kunst-ulesande-teemad,
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active, .-active)) .kunst-ulesande-marksonad{
    border-left-color:#b57136 !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active, .-active)) .acf-fields > .acf-field:not([data-type="tab"]),
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active, .-active)) .kunst-ulesande-pildid,
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active, .-active)) .kunst-ulesande-teemad,
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active, .-active)) .kunst-ulesande-marksonad{
    border-left-color:#6489aa !important;
}


/* 1.12.30: kompaktsem ülaruum ja lõplik TAB-värviloogika. */
body.kunst-konto-paneel .woocommerce-MyAccount-content{
    padding-top:24px !important;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content > :first-child,
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-selgitus:first-child{
    margin-top:0 !important;
}
body.kunst-konto-paneel .woocommerce-MyAccount-content .kunst-konto-selgitus > h2:first-child{
    margin-top:0 !important;
}

/* TAB-ide eelne üldosa on alati roheline. */
#kunst-konto-ulesande-vorm .kunst-always-visible,
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf{
    border-left-color:#528461 !important;
}

/* TAB-ide sees joon vastab aktiivse TAB-i tunnusvärvile. */
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(1):is(.active,.-active)) .acf-field[class*="kunst-tab-stage-"],
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(2):is(.active,.-active)) .acf-field[class*="kunst-tab-stage-"],
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(3):is(.active,.-active)) .acf-field[class*="kunst-tab-stage-"]{
    border-left-color:#528461 !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active,.-active)) .acf-field[class*="kunst-tab-stage-"]{
    border-left-color:#b57136 !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active,.-active)) .acf-field[class*="kunst-tab-stage-"]{
    border-left-color:#6489aa !important;
}


/* 1.12.32: WYSIWYG tööriistariba nupud on neutraalsed, valikuid ei piirata. */
#kunst-konto-ulesande-vorm .wp-editor-wrap .mce-toolbar .mce-btn,
#kunst-konto-ulesande-vorm .wp-editor-wrap .mce-toolbar .mce-widget,
#kunst-konto-ulesande-vorm .wp-editor-wrap .mce-toolbar button,
#kunst-konto-ulesande-vorm .wp-editor-wrap .quicktags-toolbar .button{
    background:transparent !important;
    background-color:transparent !important;
    color:inherit !important;
    box-shadow:none !important;
}
#kunst-konto-ulesande-vorm .wp-editor-wrap .mce-toolbar .mce-btn:hover,
#kunst-konto-ulesande-vorm .wp-editor-wrap .mce-toolbar .mce-btn:focus,
#kunst-konto-ulesande-vorm .wp-editor-wrap .quicktags-toolbar .button:hover{
    background:#f3f3f3 !important;
    background-color:#f3f3f3 !important;
}


/* 1.12.33: vasakjoon järgib alati aktiivse TAB-i päris tunnusvärvi. */
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(1):is(.active,.-active)) :is(
  .acf-field[class*="kunst-tab-stage-"],
  .kunst-ulesanne-tab-block,
  .kunst-always-visible,
  .kunst-lesson-ready-pdf,
  .kunst-ulesande-pildid,
  .kunst-ulesande-teemad,
  .kunst-ulesande-marksonad
){
  border-left-color:#8d7698 !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(2):is(.active,.-active)) :is(
  .acf-field[class*="kunst-tab-stage-"],
  .kunst-ulesanne-tab-block,
  .kunst-always-visible,
  .kunst-lesson-ready-pdf,
  .kunst-ulesande-pildid,
  .kunst-ulesande-teemad,
  .kunst-ulesande-marksonad
){
  border-left-color:#9a806b !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(3):is(.active,.-active)) :is(
  .acf-field[class*="kunst-tab-stage-"],
  .kunst-ulesanne-tab-block,
  .kunst-always-visible,
  .kunst-lesson-ready-pdf,
  .kunst-ulesande-pildid,
  .kunst-ulesande-teemad,
  .kunst-ulesande-marksonad
){
  border-left-color:#6f9877 !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(4):is(.active,.-active)) :is(
  .acf-field[class*="kunst-tab-stage-"],
  .kunst-ulesanne-tab-block,
  .kunst-always-visible,
  .kunst-lesson-ready-pdf,
  .kunst-ulesande-pildid,
  .kunst-ulesande-teemad,
  .kunst-ulesande-marksonad
){
  border-left-color:#bf7a46 !important;
}
#kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(5):is(.active,.-active)) :is(
  .acf-field[class*="kunst-tab-stage-"],
  .kunst-ulesanne-tab-block,
  .kunst-always-visible,
  .kunst-lesson-ready-pdf,
  .kunst-ulesande-pildid,
  .kunst-ulesande-teemad,
  .kunst-ulesande-marksonad
){
  border-left-color:#6486a4 !important;
}


/* 1.12.34: tänase vormikujunduse lõplik ühtlustus. */
/* TEEMAD ja KELLELE ÜLESANNE SOBIB kasutavad sama sisemist rütmi ja 4 veergu. */
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad h3,
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] > .acf-label > label{
    display:block!important;
    margin:0 0 14px!important;
    padding:0!important;
    color:#634f6d!important;
    font:800 16px/1.35 system-ui,-apple-system,sans-serif!important;
    letter-spacing:.075em!important;
    text-transform:uppercase!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid,
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-input{
    margin:0!important;
    padding:0!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid-grid,
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:14px 28px!important;
    margin:0!important;
    padding:0!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid-grid label,
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list li label{
    display:flex!important;
    align-items:flex-start!important;
    gap:8px!important;
    margin:0!important;
    font:500 14px/1.35 system-ui,-apple-system,sans-serif!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list li{
    margin:0!important;
    padding:0!important;
}

/* Pildid jäävad alati samasse kolme võrdsesse tulpa; kirjeldus ei venita tulpa laiemaks. */
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid{
    gap:16px!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp{
    width:auto!important;
    max-width:none!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp > label,
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp > .kip-alt-label,
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp .kip-alt-input{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
@media(max-width:900px){
    #kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid-grid,
    #kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    #kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid{
        grid-template-columns:1fr!important;
    }
}


/* 1.12.35: TAB-ide kohal olev üldosa on alati roheline. */
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf,
#kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri,
#kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"],
#kunst-konto-ulesande-vorm .kunst-always-visible{
    border-left-color:#315f41 !important;
}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .acf-label > label,
#kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri > .acf-label label,
#kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"] > .acf-label label,
#kunst-konto-ulesande-vorm .kunst-always-visible > .acf-label label{
    color:#315f41 !important;
}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .kunst-failinupp,
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf button,
#kunst-konto-ulesande-vorm .kunst-always-visible button:not(.mce-btn),
#kunst-konto-ulesande-vorm .kunst-always-visible .button:not(.mce-btn){
    background:#315f41 !important;
    border-color:#315f41 !important;
    color:#fff !important;
}


/* 1.12.35: kõik konto vormid kasutavad läbivalt system-ui fonti. */
body.kunst-konto-paneel .woocommerce-MyAccount-content form,
body.kunst-konto-paneel .woocommerce-MyAccount-content form input,
body.kunst-konto-paneel .woocommerce-MyAccount-content form textarea,
body.kunst-konto-paneel .woocommerce-MyAccount-content form select,
body.kunst-konto-paneel .woocommerce-MyAccount-content form button,
body.kunst-konto-paneel .woocommerce-MyAccount-content form label,
body.kunst-konto-paneel .woocommerce-MyAccount-content form legend,
body.kunst-konto-paneel .woocommerce-MyAccount-content form .button,
body.kunst-konto-paneel .woocommerce-MyAccount-content form .acf-label,
body.kunst-konto-paneel .woocommerce-MyAccount-content form .acf-input{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}


/* 1.12.37: pildirea ja kolme infoploki visuaalne lõppühtlustus. */
/* Pildid: faili valik + failinimi + lühem kirjeldusväli mahuvad laias vaates ühele reale. */
#kunst-konto-ulesande-vorm .kunst-pildi-rida{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 150px!important;
    gap:8px!important;
    align-items:center!important;
}
#kunst-konto-ulesande-vorm .kunst-pildi-rida .kunst-failivalik{
    min-width:0!important;
    width:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
}
#kunst-konto-ulesande-vorm .kunst-pildi-rida .kunst-failinimi{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
#kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-label{
    width:150px!important;
    max-width:150px!important;
    min-width:150px!important;
    margin:0!important;
}
#kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-input{
    width:150px!important;
    max-width:150px!important;
    min-width:0!important;
    box-sizing:border-box!important;
    height:36px!important;
    min-height:36px!important;
}
@media(max-width:1050px){
    #kunst-konto-ulesande-vorm .kunst-pildi-rida{
        grid-template-columns:minmax(0,1fr) 190px!important;
    }
    #kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-label,
    #kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-input{
        width:190px!important;
        max-width:190px!important;
    }
}
@media(max-width:620px){
    #kunst-konto-ulesande-vorm .kunst-pildi-rida{grid-template-columns:1fr!important}
    #kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-label,
    #kunst-konto-ulesande-vorm .kunst-pildi-rida .kip-alt-input{
        width:100%!important;
        max-width:100%!important;
    }
}

/* Mõisted, Märksõnad ja Töövahendid: üks tüpograafia, üks kõrgus ja sisend samal real. */
#kunst-konto-ulesande-vorm .kunst-ulesande-moisted,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad,
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid{
    box-sizing:border-box!important;
    height:100%!important;
    min-height:178px!important;
    display:flex!important;
    flex-direction:column!important;
    padding:16px!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid > h3{
    margin:0 0 8px!important;
    padding:0!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label > label,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid > h3{
    color:var(--kunst-active-title)!important;
    font-family:var(--kunst-ui-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
    font-size:var(--kunst-ui-heading-size,16px)!important;
    font-weight:800!important;
    line-height:1.35!important;
    letter-spacing:.075em!important;
    text-transform:uppercase!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-moisted .description,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad .kunst-marksonad-silt,
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid .kunst-marksonad-silt{
    box-sizing:border-box!important;
    min-height:58px!important;
    margin:0 0 10px!important;
    color:#45564b!important;
    font-family:var(--kunst-ui-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
    font-size:14px!important;
    font-weight:400!important;
    line-height:1.55!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-moisted .acf-input,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad > input,
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid > input{
    margin-top:auto!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-moisted input[type="text"],
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad input[type="text"],
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid input[type="text"]{
    box-sizing:border-box!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:9px 11px!important;
    font-family:var(--kunst-ui-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
    font-size:14px!important;
    line-height:24px!important;
}


/* 1.12.38: sihtrühma loend ilma tühja esimese kohata + videohaldur. */
/* Peida ACF-i tühi checkbox-kirje, et esimene koht gridis ei jääks tühjaks. */
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list > li:has(input[value=""]),
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list > li:has(label:empty){
    display:none!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] > .acf-label{
    margin-bottom:8px!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-input,
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{
    margin-top:0!important;
    padding-top:0!important;
}

/* Video link + pealkiri + Lisa moodustavad ühe töörea, lisatud videod kuvatakse kohe all. */
#kunst-konto-ulesande-vorm .kunst-video-manager{
    grid-column:1 / -1!important;
    box-sizing:border-box!important;
    margin:-6px 0 14px!important;
    padding:0!important;
    font-family:var(--kunst-ui-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
}
#kunst-konto-ulesande-vorm .kunst-video-add{
    min-height:38px!important;
    padding:8px 16px!important;
    border:1px solid var(--kunst-active)!important;
    border-radius:7px!important;
    background:var(--kunst-active)!important;
    color:#fff!important;
    font:700 14px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    cursor:pointer!important;
}
#kunst-konto-ulesande-vorm .kunst-video-list{
    display:grid!important;
    gap:8px!important;
    margin-top:10px!important;
}
#kunst-konto-ulesande-vorm .kunst-video-list:empty{
    display:none!important;
}
#kunst-konto-ulesande-vorm .kunst-video-item{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
    align-items:center!important;
    padding:10px 12px!important;
    border:1px solid color-mix(in srgb, var(--kunst-active) 28%, #fff)!important;
    border-radius:8px!important;
    background:rgba(255,255,255,.58)!important;
}
#kunst-konto-ulesande-vorm .kunst-video-item-copy{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
}
#kunst-konto-ulesande-vorm .kunst-video-item-copy strong{
    color:var(--kunst-active-title)!important;
    font-size:14px!important;
    line-height:1.35!important;
}
#kunst-konto-ulesande-vorm .kunst-video-item-copy a{
    min-width:0!important;
    overflow:hidden!important;
    color:#526258!important;
    font-size:var(--kunst-ui-text-size,13px)!important;
    line-height:1.35!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
#kunst-konto-ulesande-vorm .kunst-video-remove{
    padding:6px 10px!important;
    border:1px solid var(--kunst-active)!important;
    border-radius:7px!important;
    background:transparent!important;
    color:var(--kunst-active)!important;
    font:600 13px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    cursor:pointer!important;
}
#kunst-konto-ulesande-vorm .kunst-video-remove:hover{
    background:var(--kunst-active-soft)!important;
}


/* 1.12.39: Mõisted, Märksõnad ja Töövahendid täpselt samale joonele. */
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-moisted,
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-marksonad,
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-toovahendid{
    margin:0!important;
    align-self:stretch!important;
    height:auto!important;
    min-height:178px!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-moisted > .acf-label,
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-marksonad > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud > .kunst-ulesande-toovahendid > h3{
    min-height:22px!important;
}
@media(max-width:1050px){
    #kunst-konto-ulesande-vorm .kunst-ulesande-lisad-veerud{
        grid-template-columns:1fr!important;
    }
}


/* 1.12.40: oppekonteksti ACF clearfix ei tohi võtta gridis esimest lahtrit. */
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list::before,
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list::after{
    content:none!important;
    display:none!important;
}


/* 1.12.41: ACF-i pseudoelemendid ei tohi võtta valikugridides tühje lahtreid. */
#kunst-konto-ulesande-vorm .acf-checkbox-list::before,
#kunst-konto-ulesande-vorm .acf-checkbox-list::after,
#kunst-konto-ulesande-vorm .acf-radio-list::before,
#kunst-konto-ulesande-vorm .acf-radio-list::after{
    content:none!important;
    display:none!important;
}


/* 1.12.42: valikugridide sisemised tulbad joondatakse ülalt. */
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list,
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid-grid{
    align-items:start!important;
    align-content:start!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list > li,
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid-grid > label{
    align-self:start!important;
    margin-top:0!important;
}


/* 1.12.42: videohaldur jääb oma TAB-i sisse; navinupud jäävad nähtavaks vastavalt TAB-ile. */
#kunst-konto-ulesande-vorm .acf-field[data-name$="_video_title"] .kunst-video-manager{
    margin:8px 0 0!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name$="_video_title"].acf-hidden .kunst-video-manager,
#kunst-konto-ulesande-vorm .acf-field[data-name$="_video_title"][style*="display: none"] .kunst-video-manager{
    display:none!important;
}
#kunst-konto-ulesande-vorm .kunst-submit-actions .kunst-next-tab,
#kunst-konto-ulesande-vorm .kunst-submit-actions .kunst-prev-tab{
    flex:0 0 auto!important;
}


/* 1.12.43: video link, pealkiri ja Lisa on üks plokk. */
#kunst-konto-ulesande-vorm .kunst-video-entry-block{
    box-sizing:border-box!important;
    display:block!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block > .acf-label{
    margin:0 0 8px!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block > .acf-input{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;
    gap:12px!important;
    align-items:end!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block > .acf-input > input{
    grid-column:1!important;
    width:100%!important;
    box-sizing:border-box!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-title-nested{
    grid-column:2!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    min-height:0!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-title-nested > .acf-label{
    margin:0 0 8px!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-title-nested > .acf-input{
    margin:0!important;
    padding:0!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-title-nested input{
    width:100%!important;
    box-sizing:border-box!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-manager{
    grid-column:3!important;
    align-self:end!important;
    margin:0!important;
    padding:0!important;
}
@media(max-width:760px){
    #kunst-konto-ulesande-vorm .kunst-video-entry-block > .acf-input{
        grid-template-columns:1fr!important;
    }
    #kunst-konto-ulesande-vorm .kunst-video-entry-block > .acf-input > input,
    #kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-title-nested,
    #kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-manager{
        grid-column:1!important;
    }
}


/* 1.12.44: viited asuvad kinnituste juures tagasihoidliku väljana. */
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references{
    box-sizing:border-box!important;
    margin:0 0 12px!important;
    padding:0 0 12px!important;
    border-bottom:1px solid #dfe6df!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references > .acf-label{
    margin:0 0 6px!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references > .acf-label > label{
    color:#45564b!important;
    font:700 14px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .acf-input{
    margin:0!important;
    padding:0!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-add,
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-remove{
    border:1px solid #9fb5a4!important;
}


/* 1.12.45: pildid on suure PILDID ploki sees kolm videoplokkidega samas stiilis alamplokki. */
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp{
    box-sizing:border-box!important;
    min-width:0!important;
    margin:0!important;
    padding:14px 16px 16px!important;
    border:1px solid color-mix(in srgb, var(--kunst-active) 22%, #fff)!important;
    border-left:4px solid var(--kunst-active)!important;
    border-radius:10px!important;
    background:var(--kunst-active-soft)!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp > label:first-child{
    margin:0!important;
    color:var(--kunst-active-title)!important;
    font:700 14px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-rida{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(120px,.9fr)!important;
    gap:10px!important;
    align-items:end!important;
    width:100%!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-failivalik{
    flex-wrap:nowrap!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kip-alt-label,
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kip-alt-input{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kip-alt-input{
    height:44px!important;
    min-height:44px!important;
}
#kunst-konto-ulesande-vorm .kunst-video-link-label{
    display:block!important;
    margin:0 0 8px!important;
    color:var(--kunst-active-title)!important;
    font:700 14px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
@media(max-width:1050px){
    #kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid{
        grid-template-columns:1fr!important;
    }
    #kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-rida{
        grid-template-columns:minmax(0,1fr) minmax(180px,.7fr)!important;
    }
}
@media(max-width:620px){
    #kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-rida{
        grid-template-columns:1fr!important;
    }
}


/* 1.12.46: üks videoplokk iga tööetapi lõpus. */
#kunst-konto-ulesande-vorm .kunst-video-entry-block{
    width:100%!important;
    grid-column:1 / -1!important;
    margin-top:14px!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block[hidden]{
    display:none!important;
}


/* 1.12.47: TAB-ide kohal olev üldosa alati roheline; TAB-i enda värvid jäävad muutmata. */
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf,
#kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri,
#kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"]{
    border-left-color:#315f41!important;
}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .acf-label > label,
#kunst-konto-ulesande-vorm .kunst-ulesande-pealkiri > .acf-label > label,
#kunst-konto-ulesande-vorm .acf-field[data-key="field_6ab539ac449dd"] > .acf-label > label{
    color:#315f41!important;
}
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf .kunst-failinupp,
#kunst-konto-ulesande-vorm .kunst-lesson-ready-pdf button:not(.mce-btn){
    background:#315f41!important;
    border-color:#315f41!important;
    color:#fff!important;
}


/* 1.12.48: PILDID plokk kompaktseks kolmeks ühe rea alamkaardiks. */
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid{
    padding:16px 18px 18px!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid > h3{
    margin:0 0 4px!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-juhis{
    margin:0 0 12px!important;
    color:#526258!important;
    font:400 14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid,
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid.kunst-lisad-grid--paired{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp,
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid.kunst-lisad-grid--paired > .kunst-pildi-tulp{
    grid-row:auto!important;
    grid-column:auto!important;
    order:initial!important;
    min-height:0!important;
    padding:12px 14px!important;
    gap:8px!important;
    border:1px solid #ddd4e1!important;
    border-left:4px solid #8d7698!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.28)!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp:nth-child(1){order:1!important}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp:nth-child(2){order:2!important}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp:nth-child(3){order:3!important}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-tulp > label:first-child > span:first-child{
    margin:0 0 2px!important;
    font-size:14px!important;
    line-height:1.35!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-pildi-rida{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    align-items:stretch!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-failivalik{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-failinupp{
    flex:0 0 auto!important;
    min-height:36px!important;
    padding:7px 12px!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-failinimi{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:var(--kunst-ui-text-size,13px)!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kip-alt-input{
    height:38px!important;
    min-height:38px!important;
    padding:6px 9px!important;
    font-size:var(--kunst-ui-text-size,13px)!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-existing-files{
    margin-top:2px!important;
    font-size:12px!important;
}
@media(max-width:900px){
    #kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid,
    #kunst-konto-ulesande-vorm .kunst-ulesande-pildid .kunst-lisad-grid.kunst-lisad-grid--paired{
        grid-template-columns:1fr!important;
    }
}


/* 1.12.49: lisatud videod kuvatakse kompaktse lingiloendina. */
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-manager{
    display:contents!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-add{
    grid-column:3!important;
    align-self:end!important;
    margin:0!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-list{
    grid-column:1 / -1!important;
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    margin:8px 0 0!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-list:empty{
    display:none!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-item{
    display:flex!important;
    align-items:baseline!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-item-link,
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-remove{
    display:inline!important;
    width:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font:400 14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    text-decoration:underline!important;
    cursor:pointer!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-item-link{
    color:#315f41!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-remove{
    color:#7b4f2d!important;
}
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-remove:hover,
#kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-item-link:hover{
    text-decoration-thickness:2px!important;
}
@media(max-width:760px){
    #kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-add,
    #kunst-konto-ulesande-vorm .kunst-video-entry-block .kunst-video-list{
        grid-column:1!important;
    }
}


/* 1.12.50: viited päris lõpus, ilma kaardita ja tagasihoidliku kujundusega. */
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references{
    order:999!important;
    margin:10px 0 0!important;
    padding:10px 0 0!important;
    border-top:1px solid #dfe6df!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references > .acf-label{
    margin:0 0 4px!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references > .acf-label > label{
    color:#526258!important;
    font:600 13px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    letter-spacing:0!important;
    text-transform:none!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .description{
    margin:0 0 8px!important;
    color:#6c776f!important;
    font-size:12px!important;
    line-height:1.45!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-row{
    display:grid!important;
    grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:end!important;
    margin:0 0 8px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-row label{
    color:#526258!important;
    font-size:12px!important;
    font-weight:400!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-row input{
    height:34px!important;
    min-height:34px!important;
    margin-top:3px!important;
    padding:5px 8px!important;
    font-size:var(--kunst-ui-text-size,13px)!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-add,
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-remove{
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#315f41!important;
    box-shadow:none!important;
    font:400 12px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    text-decoration:underline!important;
    cursor:pointer!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-remove{
    color:#7b4f2d!important;
    align-self:end!important;
    margin-bottom:8px!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-add{
    margin-top:2px!important;
}
@media(max-width:700px){
    #kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-row{
        grid-template-columns:1fr!important;
    }
    #kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references .kunst-reference-remove{
        justify-self:start!important;
        margin-bottom:0!important;
    }
}


/* 1.12.53: sihtrühma valikute reavahe sama kompaktne nagu juhendamise vajadusel, töövormil ja ajakulul. */
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list{
    row-gap:.2rem!important;
    column-gap:1.25rem!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list > li{
    margin:0!important;
    padding:0!important;
    line-height:1.4!important;
    min-height:0!important;
}
#kunst-konto-ulesande-vorm .acf-field[data-name="oppekontekst"] .acf-checkbox-list > li > label{
    display:flex!important;
    align-items:center!important;
    gap:.45rem!important;
    margin:0!important;
    padding:0!important;
    line-height:1.4!important;
}


/* 1.12.55: Teemad ploki reavahe sama nagu Kellele ülesanne sobib. */
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid-grid{
    row-gap:.2rem!important;
}
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad .kunst-terminid-grid > label{
    margin:0!important;
    padding:0!important;
    line-height:1.4!important;
    min-height:0!important;
    align-items:center!important;
}


/* 1.12.56: vormi tüpograafia ühtne — tavatekst 13px, pealkirjad 16px. */
#kunst-konto-ulesande-vorm p,
#kunst-konto-ulesande-vorm span,
#kunst-konto-ulesande-vorm label,
#kunst-konto-ulesande-vorm input,
#kunst-konto-ulesande-vorm textarea,
#kunst-konto-ulesande-vorm select,
#kunst-konto-ulesande-vorm button:not(.mce-btn),
#kunst-konto-ulesande-vorm .description,
#kunst-konto-ulesande-vorm .acf-input,
#kunst-konto-ulesande-vorm .kunst-failinimi,
#kunst-konto-ulesande-vorm .kunst-reference-row,
#kunst-konto-ulesande-vorm .kunst-video-item{
    font-size:var(--kunst-ui-text-size,13px)!important;
}
#kunst-konto-ulesande-vorm input::placeholder,
#kunst-konto-ulesande-vorm textarea::placeholder{
    font-size:var(--kunst-ui-text-size,13px)!important;
}
#kunst-konto-ulesande-vorm .acf-field > .acf-label > label,
#kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid > h3{
    font-size:var(--kunst-ui-heading-size,16px)!important;
    line-height:1.35!important;
}
#kunst-konto-ulesande-vorm .acf-tab-group a{
    font-size:var(--kunst-ui-text-size,13px)!important;
}


/* 1.12.57: konto vorm kasutab keskse KUNST UI kujundussüsteemi muutujaid. */
#kunst-konto-ulesande-vorm{font-family:var(--kunst-ui-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;font-size:var(--kunst-ui-text-size,13px)!important;}


/* 1.12.58: lõplik vormi tüpograafia lukustus — kõik tavatekstid 13px, pealkirjad 16px. */
#kunst-konto-ulesande-vorm .acf-field .acf-input label,
#kunst-konto-ulesande-vorm .acf-field .acf-input li,
#kunst-konto-ulesande-vorm .acf-field .acf-input p,
#kunst-konto-ulesande-vorm .acf-field .acf-input span,
#kunst-konto-ulesande-vorm .acf-field .description,
#kunst-konto-ulesande-vorm .kunst-terminid-grid > label,
#kunst-konto-ulesande-vorm .kunst-lisad-grid label,
#kunst-konto-ulesande-vorm .kunst-pildi-juhis,
#kunst-konto-ulesande-vorm .kunst-marksonad-silt,
#kunst-konto-ulesande-vorm .kunst-video-entry-block a,
#kunst-konto-ulesande-vorm .kunst-video-entry-block button,
#kunst-konto-ulesande-vorm .kunst-reference-list label,
#kunst-konto-ulesande-vorm .kunst-reference-list button,
#kunst-konto-ulesande-vorm input,
#kunst-konto-ulesande-vorm textarea,
#kunst-konto-ulesande-vorm select,
#kunst-konto-ulesande-vorm input::placeholder,
#kunst-konto-ulesande-vorm textarea::placeholder{
    font-family:var(--kunst-ui-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
    font-size:var(--kunst-ui-text-size,13px)!important;
}

#kunst-konto-ulesande-vorm .acf-field > .acf-label > label,
#kunst-konto-ulesande-vorm .kunst-ulesanne-tab-block > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-pildid > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-teemad > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-marksonad > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-toovahendid > h3,
#kunst-konto-ulesande-vorm .kunst-ulesande-moisted > .acf-label > label{
    font-family:var(--kunst-ui-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
    font-size:var(--kunst-ui-heading-size,16px)!important;
    line-height:1.35!important;
}


/* 1.12.59: VIITED on TAB-idest sõltumatu üldväljana kinnituse all. */
#kunst-konto-ulesande-vorm .kunst-form-rights-footer{
    display:block!important;
    grid-column:1 / -1!important;
    width:100%!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-rights-confirmation{
    display:block!important;
    margin:0 0 12px!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:100%!important;
    grid-column:1 / -1!important;
    margin:0!important;
    padding:12px 0 0!important;
    border:0!important;
    border-top:1px solid var(--kunst-ui-border,#dfe6df)!important;
    border-left:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
#kunst-konto-ulesande-vorm .kunst-form-rights-footer .kunst-footer-references.acf-hidden{
    display:block!important;
}


/* 1.12.77: rahulikumad "Lisa ülesanne" ja "Lisa tööleht" vormid.
   Värv jääb navigatsiooni ja põhitegevuste juurde; sisuväljad on neutraalsed. */
body.kunst-konto-paneel #kunst-konto-ulesande-vorm,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm{
    --kunst-form-text:#343a36;
    --kunst-form-muted:#666c67;
    --kunst-form-line:#dededb;
    --kunst-form-input:#c9ceca;
    --kunst-form-soft:#f7f8f6;
    color:var(--kunst-form-text);
}

/* Ülesande vormi sakid: vaiksed valged nupud, aktiivne sakk tumedam. */
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-tab-group{
    gap:8px;
    margin-bottom:18px !important;
}
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-tab-group li a,
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-tab-group li:nth-child(n) a{
    min-height:58px;
    padding:12px 14px;
    border:1px solid var(--kunst-form-line) !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#4d5952 !important;
    font-weight:600 !important;
    box-shadow:none !important;
}
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-tab-group li a:hover,
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-tab-group li a:focus-visible{
    border-color:#9eaaa1 !important;
    background:var(--kunst-form-soft) !important;
    color:#343a36 !important;
}
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-tab-group li:is(.active,.-active):nth-child(n) a{
    border-color:#4d5952 !important;
    background:#4d5952 !important;
    color:#fff !important;
}

/* Vormi taust ei vaheta enam tabi järgi värvi. */
body.kunst-konto-paneel #kunst-konto-ulesande-vorm:has(.acf-tab-group li:nth-child(n):is(.active,.-active)) .acf-fields{
    background:transparent !important;
}

/* Ülesande kõik sisukaardid ühe neutraalse kujundusega. */
body.kunst-konto-paneel #kunst-konto-ulesande-vorm :is(
    .acf-fields > .acf-field:not([data-type="tab"]),
    .kunst-ulesande-pildid,
    .kunst-ulesande-teemad,
    .kunst-ulesande-marksonad,
    .kunst-lesson-ready-pdf
){
    border:1px solid var(--kunst-form-line) !important;
    border-left:1px solid var(--kunst-form-line) !important;
    border-radius:8px !important;
    background:#fff !important;
    box-shadow:none !important;
}

/* Etappide värvilised jooned ja toonitud taustad eemaldatakse. */
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-field:is(
    [data-name="tea"],
    [data-name="loo"],
    [data-name="vaata_ja_marka"],
    [data-name="tea_opetajale"],
    [data-name="loo_opetajale"],
    [data-name="motesta_opetajale"]
){
    border-left:1px solid var(--kunst-form-line) !important;
    background:#fff !important;
}
body.kunst-konto-paneel #kunst-konto-ulesande-vorm .acf-field:is(
    [data-name="tea"],
    [data-name="loo"],
    [data-name="vaata_ja_marka"],
    [data-name="tea_opetajale"],
    [data-name="loo_opetajale"],
    [data-name="motesta_opetajale"]
) > .acf-label label{
    color:var(--kunst-form-text) !important;
}

/* Pealkirjad ja abitekstid on rahulikumad, kuid hierarhia jääb selgeks. */
body.kunst-konto-paneel :is(#kunst-konto-ulesande-vorm,#kunst-konto-toolehe-vorm)
:is(.acf-field > .acf-label > label,.kunst-ulesande-lisad h3){
    color:var(--kunst-form-text) !important;
    letter-spacing:.045em !important;
}
body.kunst-konto-paneel :is(#kunst-konto-ulesande-vorm,#kunst-konto-toolehe-vorm)
:is(.description,.kunst-editor-help,.kunst-worksheet-filetypes){
    color:var(--kunst-form-muted) !important;
}

/* Sisestuskastid sama neutraalse joonega. */
body.kunst-konto-paneel :is(#kunst-konto-ulesande-vorm,#kunst-konto-toolehe-vorm)
:is(input[type="text"],input[type="url"],textarea,select){
    border-color:var(--kunst-form-input) !important;
    background:#fff !important;
    color:var(--kunst-form-text) !important;
    box-shadow:none !important;
}

/* Töölehe vorm: kolm põhiosa, mitte kirju kaart-kaardi-sees kompositsioon. */
body.kunst-konto-paneel #kunst-konto-toolehe-vorm > .acf-fields{
    row-gap:16px;
    padding:0 !important;
    background:transparent !important;
}
body.kunst-konto-paneel #kunst-konto-toolehe-vorm :is(
    .kunst-worksheet-upload-block,
    .kunst-worksheet-meta-block,
    .kunst-worksheet-design-block
){
    box-sizing:border-box;
    margin:0 !important;
    border:1px solid var(--kunst-form-line) !important;
    border-left:1px solid var(--kunst-form-line) !important;
    border-radius:8px !important;
    background:#fff !important;
    box-shadow:none !important;
}
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-meta-block{
    padding:20px !important;
    gap:18px;
}

/* Meta-ploki üksikud väljad ei ole enam eraldi värvilised kaardid. */
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-meta-block > .acf-field{
    padding:0 !important;
    border:0 !important;
    border-left:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-upload-block,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-design-block{
    padding:20px !important;
}

/* Faili- ja eelvaatenupud on sekundaarsed, mitte rasked rohelised klotsid. */
body.kunst-konto-paneel :is(#kunst-konto-ulesande-vorm,#kunst-konto-toolehe-vorm)
:is(.kunst-failinupp,.kunst-materjal-pildinupp.button,.kunst-worksheet-selects button,.kunst-worksheet-preview-head button){
    border:1px solid #9eaaa1 !important;
    background:transparent !important;
    color:#4d5952 !important;
    box-shadow:none !important;
    font-weight:500 !important;
}
body.kunst-konto-paneel :is(#kunst-konto-ulesande-vorm,#kunst-konto-toolehe-vorm)
:is(.kunst-failivalik:hover .kunst-failinupp,.kunst-materjal-pildinupp.button:hover,.kunst-worksheet-selects button:hover,.kunst-worksheet-preview-head button:hover){
    border-color:#7f8d83 !important;
    background:var(--kunst-form-soft) !important;
    color:#343a36 !important;
}

/* Eelvaate ujuv aken jääb töövahendiks, kuid kaotab roheka taustakasti. */
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-preview-wrap{
    border-color:var(--kunst-form-line) !important;
    background:#f4f5f3 !important;
    box-shadow:0 10px 28px rgba(35,45,38,.16) !important;
}
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-preview-head{
    color:var(--kunst-form-text) !important;
}

@media(max-width:650px){
    body.kunst-konto-paneel #kunst-konto-toolehe-vorm :is(.kunst-worksheet-upload-block,.kunst-worksheet-meta-block,.kunst-worksheet-design-block){
        padding:16px !important;
    }
}


/* 1.12.78: Lisa tööleht redaktor kasutab tavalise WordPressi WYSIWYG kujundust. */
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-design-block{
    padding:20px !important;
    border:1px solid #dededb !important;
    border-left:1px solid #dededb !important;
    border-radius:8px !important;
    background:#fff !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-design-toolbar{
    display:block !important;
    grid-template-columns:none !important;
    margin:0 0 10px !important;
    padding:0 !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-upload-group{
    display:block !important;
    padding:0 !important;
    margin:0 0 8px !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-materjal-pildilisaja{
    display:block !important;
    margin:0 0 4px !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-materjal-pildinupp.button{
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    min-height:30px !important;
    margin:0 !important;
    padding:0 10px !important;
    border:1px solid #c3c4c7 !important;
    border-radius:3px !important;
    background:#f6f7f7 !important;
    color:#2c3338 !important;
    font:400 13px/28px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
    box-shadow:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-materjal-pildinupp.button:hover,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-materjal-pildilisaja:focus-within .kunst-materjal-pildinupp.button{
    border-color:#8c8f94 !important;
    background:#f0f0f1 !important;
    color:#1d2327 !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-materjal-pildinupp .wp-media-buttons-icon{
    width:18px !important;
    height:18px !important;
    margin:0 !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-filetypes{
    margin:4px 0 0 !important;
    color:#646970 !important;
    font:400 12px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
    letter-spacing:0 !important;
    text-transform:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-settings{
    margin:8px 0 0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-selects{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-end !important;
    justify-content:flex-start !important;
    gap:10px !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-selects label{
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    min-width:125px !important;
    max-width:180px !important;
    margin:0 !important;
    font-weight:400 !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-selects button{
    min-height:30px !important;
    padding:0 10px !important;
    border:1px solid #c3c4c7 !important;
    border-radius:3px !important;
    background:#f6f7f7 !important;
    color:#2c3338 !important;
    font:400 13px/28px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-selects button:hover{
    border-color:#8c8f94 !important;
    background:#f0f0f1 !important;
    color:#1d2327 !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-editor-grid,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-worksheet-editor{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .wp-editor-wrap{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .wp-editor-container{
    border:1px solid #dcdcde !important;
    border-top:0 !important;
    background:#fff !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-tinymce{
    border:1px solid #dcdcde !important;
    box-shadow:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-top-part::before{
    box-shadow:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-toolbar-grp,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .quicktags-toolbar{
    background:#f6f7f7 !important;
    border-color:#dcdcde !important;
    box-shadow:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-btn{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-btn:hover,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-btn:focus{
    background:#e9e9e9 !important;
    border-color:#c3c4c7 !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-btn button,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .mce-ico{
    color:#50575e !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .wp-switch-editor{
    border-color:#dcdcde !important;
    background:#f6f7f7 !important;
    color:#2c3338 !important;
    box-shadow:none !important;
}

body.kunst-konto-paneel #kunst-konto-toolehe-vorm .html-active .switch-html,
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .tmce-active .switch-tmce{
    background:#fff !important;
    border-bottom-color:#fff !important;
}

/* Töölehe sisu pealkirja järel ei jää suurt tühja ala. */
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-materjal-sisu > .acf-label{
    margin-bottom:12px !important;
}
body.kunst-konto-paneel #kunst-konto-toolehe-vorm .kunst-materjal-sisu > .acf-label .description{
    margin:2px 0 0 !important;
}

/* Mobile account navigation stays on one row, with creation in a disclosure. */
@media (max-width:650px) {
  body.kunst-konto-paneel .kunst-konto-uletai {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;
    align-items:stretch!important;
    gap:8px!important;
    overflow:visible;
  }
  body.kunst-konto-paneel .kunst-konto-uletai:not(:has(.kunst-account-mobile-add)) {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.kunst-konto-paneel .kunst-konto-uletai > :is(a.kunst-ikoon-lisa, .kunst-account-book) {
    display:none!important;
  }
  body.kunst-konto-paneel .kunst-konto-uletai > :is(.kunst-konto-ava, .kunst-account-collection) {
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    padding:8px 6px!important;
    gap:5px!important;
    font:600 13px/1.2 var(--kunst-ui-font,system-ui,sans-serif)!important;
    white-space:nowrap;
  }
  body.kunst-konto-paneel .kunst-konto-uletai .kunst-account-collection::before {
    flex-shrink:0;
    font-size:16px;
  }

}
@media (max-width:380px) {
  .kunst-account-label-full { display:none; }
  .kunst-account-label-short { display:inline; }
}


/* 1.13.34: mobiilis vormikaartide vahel väike ühtlane õhuvahe. */
@media (max-width:650px){
    body.kunst-konto-paneel :is(
        #kunst-konto-ulesande-vorm,
        #kunst-konto-materjali-vorm,
        #kunst-konto-toolehe-vorm
    ) > .acf-fields > .acf-field:not([data-type="tab"]){
        margin:0 0 8px !important;
    }

    body.kunst-konto-paneel #kunst-konto-ulesande-vorm :is(
        .kunst-ulesande-pildid,
        .kunst-ulesande-teemad,
        .kunst-ulesande-marksonad,
        .kunst-ulesande-toovahendid,
        .kunst-ulesande-moisted,
        .kunst-lesson-ready-pdf
    ){
        margin-bottom:8px !important;
    }
}

/* Teacher-book actions belong to the card, with the platform outline button. */
body.kunst-konto-paneel .kunst-raamat-action{margin:0;}
body.kunst-konto-paneel .kf-card-book-action{margin:16px 16px 16px;}
body.kunst-konto-paneel .kunst-raamat-action button.kunst-ikoon-raamat{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;max-width:100%;padding:8px 12px;
  border:1px solid #315f41!important;border-radius:8px!important;
  background:transparent!important;color:#315f41!important;
  box-shadow:none!important;font:600 14px/1.4 system-ui,-apple-system,sans-serif;
  text-transform:none;letter-spacing:normal;white-space:normal;cursor:pointer;
}
body.kunst-konto-paneel .kunst-raamat-action button.kunst-ikoon-raamat:hover{background:#edf3ee!important;}
body.kunst-konto-paneel .kunst-raamat-action button.kunst-ikoon-raamat:focus-visible{outline:2px solid #315f41;outline-offset:3px;}
@media(max-width:600px){body.kunst-konto-paneel .kf-card-book-action .kunst-raamat-action button{width:100%;}}

/* One card list with search, content kind and personal relationship filters. */
body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-controls{
  display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:16px;align-items:end;
}
.kunst-personal-collection .kunst-collection-controls label{min-width:0;}
.kunst-personal-collection .kunst-collection-controls :is(input,select){width:100%;box-sizing:border-box;min-height:44px;}
.kunst-personal-collection .kunst-collection-entry[hidden]{display:none!important;}
.kunst-personal-collection .kunst-collection-entry{min-width:0;}
.kunst-personal-collection .kf-card{height:100%;box-sizing:border-box;}
.kunst-collection-badges{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px;font:600 12px/1.4 system-ui,sans-serif;}
.kunst-collection-badge{padding:4px 8px;border-radius:6px;background:#edf3ee;color:#315f41;}
.kunst-collection-status{padding:4px 8px;border:1px solid #d5ded6;border-radius:6px;color:#435247;}
.kunst-collection-simple-content{padding:16px;}
.kunst-personal-collection .kf-card-book-action{display:flex;flex-direction:column;gap:12px;}
body.kunst-konto-paneel .kunst-collection-action{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
  min-height:44px;padding:8px 12px;border:1px solid #315f41;border-radius:8px;
  background:transparent;color:#315f41;font:600 14px/1.4 system-ui,sans-serif;
  text-decoration:none;overflow-wrap:anywhere;
}
.kunst-collection-action:hover{background:#edf3ee;}
.kunst-collection-action:focus-visible{outline:2px solid #315f41;outline-offset:3px;}
.kunst-collection-count{color:#435247;font-size:14px;}
@media(max-width:800px){body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-controls{grid-template-columns:repeat(2,minmax(0,1fr));}.kunst-personal-collection .kunst-collection-controls label:first-child{grid-column:1/-1;}}
@media(max-width:480px){body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-controls{grid-template-columns:minmax(0,1fr);}}

/* Draft deletion is a secondary action beside save/continue, never a nested form. */
body.kunst-konto-paneel .kunst-konto-kustuta{
 display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;
 flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;
 padding:0!important;margin:0!important;border:1px solid #8b5149!important;border-radius:8px!important;
 background:transparent!important;color:#783c34!important;box-shadow:none!important;cursor:pointer;
}
body.kunst-konto-paneel .kunst-konto-kustuta svg{display:block;width:19px;height:19px;}
body.kunst-konto-paneel .kunst-konto-kustuta:hover{background:#fbf0ee!important;}
body.kunst-konto-paneel .kunst-konto-kustuta:focus-visible{outline:2px solid #8b5149;outline-offset:3px;}
body.kunst-konto-paneel .kunst-konto-kustuta:disabled{opacity:.45;cursor:default;}
.kunst-collection-draft-actions{display:flex;align-items:center;gap:12px;}
.kunst-collection-draft-actions .kunst-collection-action{flex:1;min-width:0;}
form.kunst-draft-delete-form[hidden]{display:none!important;}

/* Shared add menu, last in the account toolbar at every width. */
  body.kunst-konto-paneel .kunst-account-mobile-add {
    display:block;
    position:relative;
    min-width:0;
  }
  body.kunst-konto-paneel .kunst-account-add-toggle {
    display:flex!important;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:44px!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #315f41!important;
    border-radius:8px!important;
    background:#315f41!important;
    color:#fff!important;
    font:400 30px/1 var(--kunst-ui-font,system-ui,sans-serif)!important;
    cursor:pointer;
  }
  body.kunst-konto-paneel .kunst-account-add-toggle:is(:hover,[aria-expanded="true"]) {
    background:#244730!important;
  }
  body.kunst-konto-paneel .kunst-account-add-options {
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:100;
    width:210px;
    max-width:calc(100vw - 28px);
    padding:6px;
    border:1px solid #dfe6df;
    border-radius:8px;
    background:#fff;
    box-shadow:0 8px 24px rgba(35,45,38,.16);
  }
  body.kunst-konto-paneel .kunst-account-add-options[hidden] { display:none!important; }
  body.kunst-konto-paneel .kunst-account-add-option {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:8px 12px;
    border:0;
    border-radius:5px;
    background:#fff!important;
    color:#244730!important;
    font:400 15px/1.3 var(--kunst-ui-font,system-ui,sans-serif);
    text-decoration:none;
  }
  body.kunst-konto-paneel .kunst-account-add-option:hover { background:#edf4ee!important; }
  body.kunst-konto-paneel :is(.kunst-account-add-toggle,.kunst-account-add-option):focus-visible {
    outline:2px solid #315f41;
    outline-offset:2px;
  }
body.kunst-konto-paneel .kunst-account-add-option{box-sizing:border-box;width:100%;text-align:left;cursor:pointer;margin:0;}

/* Calm collection cards: consistent image, metadata and action hierarchy. */
body.kunst-konto-paneel .kunst-personal-collection .kf-card{display:flex;flex-direction:column;border:1px solid #dfe5df;border-radius:12px;background:#fff;overflow:visible}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-image{box-sizing:border-box;aspect-ratio:16/9;margin:0 0 16px;border-radius:11px 11px 0 0;background:#f2f4f2;overflow:hidden}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-image img{object-fit:contain;width:100%;height:100%}
body.kunst-konto-paneel .kunst-personal-collection .kf-kind{position:absolute;top:10px;left:10px;border:0!important;border-radius:4px!important;background:#ffffffed!important;color:#647367!important;padding:4px 7px!important;font:400 12px/1.4 system-ui!important;box-shadow:none}
body.kunst-konto-paneel .kunst-personal-collection .kf-kind-icon{color:#647367!important}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-image>.kk-access-badge{display:none}
body.kunst-konto-paneel .kunst-personal-collection .kf-placeholder{background:transparent!important;box-shadow:none!important}
.kunst-collection-placeholder{color:#9aa69c;font:36px/1 system-ui}
body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-simple-content{padding:0 16px}
body.kunst-konto-paneel .kunst-personal-collection h3{margin:0 0 10px;font:600 18px/1.35 var(--kunst-ui-font,system-ui,sans-serif)}
body.kunst-konto-paneel .kunst-personal-collection h3 a{text-decoration:none;color:inherit}
body.kunst-konto-paneel .kunst-personal-collection :is(.kf-card-main>p:not(.kf-card-facts),.kunst-collection-excerpt){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font:400 14px/1.5 var(--kunst-ui-font,system-ui,sans-serif);color:#58645b;margin:12px 0}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-facts{font:400 12px/1.5 system-ui;color:#718076}
body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-badges{gap:8px;margin:8px 0;font:400 12px/1.4 system-ui;color:#7b847e}
body.kunst-konto-paneel .kunst-personal-collection :is(.kunst-collection-badge,.kunst-collection-status){padding:0;border:0;background:transparent;color:inherit;border-radius:0}
body.kunst-konto-paneel .kunst-personal-collection :is(.kunst-collection-status--draft,.kunst-collection-status--pending){padding:2px 6px;background:#f5efdf;border-radius:4px;color:#8a713c}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-book-action{margin-top:auto;padding-top:16px;gap:8px}
body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-action:not(.kunst-download-item){justify-content:flex-start;width:auto;min-height:36px;border:0;background:transparent;padding:4px 0;font:400 13px/1.4 system-ui;color:#66776b}
body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-action:hover{text-decoration:underline;background:transparent}
.kunst-collection-more{position:relative;margin-left:auto}
.kunst-collection-more>summary{display:flex;align-items:center;justify-content:center;width:36px;height:36px;cursor:pointer;list-style:none;color:#718076;font:24px/1 system-ui}
.kunst-collection-more>summary::-webkit-details-marker{display:none}
.kunst-collection-more-menu{position:absolute;right:0;bottom:calc(100% + 4px);z-index:5;display:flex;align-items:center;gap:8px;padding:8px 12px;white-space:nowrap;border:1px solid #dfe5df;border-radius:8px;background:#fff;box-shadow:0 4px 16px #24342a18;color:#783c34;font:13px/1.4 system-ui}
.kunst-collection-more>summary:focus-visible{outline:2px solid #315f41;border-radius:4px}

/* Align draft and published card text, metadata and placeholder icons. */
body.kunst-konto-paneel .kunst-personal-collection .kf-card h3{min-height:49px;font-size:18px;line-height:1.35}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-main>h3{margin:0 16px 10px}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-main>.kunst-collection-badges{margin:8px 16px}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-main>p:not(.kf-card-facts){margin:12px 16px}
body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-badges{align-items:center;min-height:24px;line-height:20px}
body.kunst-konto-paneel .kunst-personal-collection .kunst-collection-badges>span{display:inline-flex;align-items:center;box-sizing:border-box;min-height:24px;line-height:20px}
body.kunst-konto-paneel .kunst-personal-collection .kf-kind{display:inline-flex;align-items:center;gap:5px;min-height:24px;box-sizing:border-box}
body.kunst-konto-paneel .kunst-personal-collection .kf-kind-icon{width:14px!important;height:14px!important;flex:0 0 14px;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
body.kunst-konto-paneel .kunst-personal-collection .kf-kind-icon::before{width:14px!important;height:14px!important;background:#647367!important;box-shadow:none!important}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-image--empty>.kf-placeholder{width:auto!important;height:auto!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-image--empty .kf-placeholder-icon{background:transparent!important;color:#8a978d!important;box-shadow:none!important;border:0!important;border-radius:0!important}
body.kunst-konto-paneel .kunst-personal-collection .kf-card-image--empty .kf-placeholder-icon::before{background:#8a978d!important;width:30px!important;height:30px!important}

.woocommerce-MyAccount-content .kunst-collection-controls .kunst-collection-filter-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){
 .woocommerce-MyAccount-content .kunst-collection-controls{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}
 .woocommerce-MyAccount-content .kunst-collection-controls label{display:block;margin:0;padding:0}
 .woocommerce-MyAccount-content .kunst-collection-controls :is(input,select){display:block;margin:0;min-height:44px;padding:8px 12px;font:16px/1.4 system-ui,sans-serif}
}

.woocommerce-MyAccount-content .kunst-collection-intro{text-align:center}.woocommerce-MyAccount-content .kunst-collection-intro a{display:inline;color:inherit;text-decoration:underline;text-underline-offset:3px}

/* Account messages and collection-first navigation. */
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--lemmikud::before{margin-top:0;}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard::before{margin-top:24px;}
.kunst-account-notifications{display:grid;gap:28px;font:400 13px/1.6 system-ui,-apple-system,sans-serif;color:#263b2c;}
.kunst-account-notifications h3{font:600 16px/1.4 system-ui;color:#315f41;}
.kunst-notification{border-top:1px solid #dfe6df;padding:12px 0;}
.kunst-notification summary{cursor:pointer;}
.kunst-notification summary span{display:block;color:#647269;margin:4px 0 0;}
.kunst-notification summary strong{font-weight:600;}
.kunst-notification a{color:#315f41;}
body.kunst-konto-paneel .woocommerce-MyAccount-navigation-link--teavitused > a{ --kunst-konto-ikoon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'5'%20width%3D'18'%20height%3D'14'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'm3%206%209%207%209-7'%2F%3E%3C%2Fsvg%3E"); }
