/* Owner controls are scoped to WP LAB; no theme or WordPress form resets. */
/* 1.8.1: keep every ownership control intrinsic-width and its label on one line.
 * The row can wrap whole controls; inherited overflow-wrap from community text
 * and theme button widths must not split Uredi / Odstrani into characters. */
.wplr-own-actions{
 display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-start;
 gap:8px;min-width:0;margin:16px 0 0;padding:12px 0 0;
 border-top:1px solid var(--wplr-line,#e4e9e5)
}
/* The first selector also protects already-cached markup from earlier releases. */
.wplr-own-actions > :is(a,button),
:is(.wplr-editorial,.wplr-community,.wplr-account,.wplr-recipe) .wplr-own-actions > .wplr-own-button{
 display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;
 width:max-content;min-width:max-content;max-width:none;height:auto;min-height:44px;
 box-sizing:border-box;gap:8px;margin:0;padding:10px 12px;
 background:#f4f7f0;color:var(--wplr-accent,#4f7f2c);
 border:1px solid #e3e9dc;border-radius:8px;
 font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;
 letter-spacing:normal;text-transform:none;text-align:center;
 white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none;
 cursor:pointer;text-decoration:none!important;box-shadow:none
}
.wplr-own-actions > .wplr-own-remove{color:#9b3c2d;background:#fff8f5;border-color:#ecd7d0}
.wplr-own-actions > .wplr-own-button.wplr-own-remove{color:#9b3c2d;background:#fff8f5;border-color:#ecd7d0}
.wplr-own-actions > :is(a,button) > .wplr-icon,
.wplr-own-actions > .wplr-own-button > .wplr-icon{
 display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 16px;width:16px;min-width:16px;max-width:16px;height:16px;
 font-size:16px;line-height:1;margin:0;color:inherit;-webkit-line-clamp:unset
}
.wplr-own-actions > .wplr-own-button > .wplr-own-label{
 display:inline-block;flex:0 0 auto;width:auto;min-width:max-content;
 margin:0;padding:0;color:inherit;font:inherit;line-height:inherit;
 white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none;
 overflow:visible;-webkit-line-clamp:unset
}
.wplr-own-actions > :is(a,button):hover{filter:brightness(.96)}
.wplr-own-actions > :is(a,button):focus-visible{outline:3px solid var(--wplr-accent,#4f7f2c);outline-offset:3px}
.wplr-own-dialog{font-family:inherit;color:#26352c;width:min(570px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:90vh;max-height:90dvh;overflow-y:auto;border:1px solid #e1e8db;border-radius:18px;padding:28px;background:#fff;box-shadow:0 25px 100px #16231533;margin:auto;box-sizing:border-box}
.wplr-own-dialog::backdrop{background:rgba(19,31,23,.48)}
.wplr-own-dialog *{box-sizing:border-box}.wplr-own-dialog [hidden]{display:none!important}
.wplr-own-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.wplr-own-kicker{font-size:10px;letter-spacing:.12em;font-weight:700;color:var(--wplr-accent,#4f7f2c)}
.wplr-own-dialog h2{font-family:inherit;font-weight:700;line-height:1.25;font-size:24px;letter-spacing:-.025em;margin:0 0 14px;color:#24342a}
.wplr-own-dialog p{font-size:14px;line-height:1.65;margin:0 0 14px}
.wplr-own-dialog [data-own-subject]{font-weight:700;overflow-wrap:anywhere}
.wplr-own-dialog label{display:block;font-size:13px;font-weight:600}.wplr-own-dialog textarea{width:100%;min-height:170px;padding:12px;border:1px solid #d9e2d4;border-radius:9px;margin:8px 0;resize:vertical;font:inherit;font-weight:400;background:#fff;color:#27372e}
.wplr-own-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:22px;flex-wrap:wrap}
.wplr-own-dialog button{background:#f5f7f2;color:#38493e;border:1px solid #dce4d6;border-radius:9px;min-height:44px;padding:10px 17px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;line-height:1.4;box-shadow:none}
.wplr-own-dialog header button{font-size:24px;padding:0;width:38px;min-height:38px;background:transparent;border:0}
.wplr-own-dialog [data-own-confirm]{background:var(--wplr-accent,#4f7f2c);color:#fff;border-color:transparent}
.wplr-own-dialog [data-own-confirm].is-danger{background:#aa4430}
.wplr-own-dialog button:disabled{opacity:.5;cursor:wait}.wplr-own-dialog :focus-visible{outline:3px solid var(--wplr-accent,#4f7f2c);outline-offset:3px}
.wplr-own-dialog [data-own-result]{color:#99412c;font-size:13px;min-height:1px;overflow-wrap:anywhere}
.wplr-own-notice{position:fixed;bottom:24px;left:24px;z-index:100000;background:#243a29;color:white;border-radius:10px;padding:14px 20px;max-width:calc(100% - 48px)}
.wplr-edit-warning{background:#fff9e8;border-left:3px solid #d2a645;border-radius:6px;padding:14px 16px;font-size:13px!important}
.wplr-edit-terms{min-width:0;padding:14px;border:1px solid #e0e7db;border-radius:10px}.wplr-edit-terms legend{font-size:13px;font-weight:600;padding:0 6px}.wplr-edit-terms>div{max-height:160px;overflow:auto;display:flex;flex-direction:column;gap:8px}.wplr-edit-terms label{display:flex;gap:8px;align-items:center;font-size:13px;cursor:pointer}.wplr-edit-terms input[type=checkbox]{min-height:0;width:16px;height:16px;margin:0;flex:0 0 16px;accent-color:var(--wplr-accent,#4f7f2c)}
.wplr-current-featured{margin:18px 0;background:#f6f8f2;padding:16px;border-radius:12px}.wplr-current-featured img{display:block;width:180px;height:120px;object-fit:cover;border-radius:8px;margin:10px 0}.wplr-current-featured p{margin:0}
.wplr-edit-step-image{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.wplr-edit-step-image img{width:100px;height:70px;object-fit:cover;border-radius:8px}.wplr-edit-step-image label{display:flex;align-items:center;gap:8px;font-size:12px!important}.wplr-edit-step-image input[type=checkbox]{min-height:0;width:16px;height:16px}
.wplr-recipe-edit-form [hidden]{display:none!important}.wplr-recipe-edit-form[data-ready] .wplr-edit-loading{display:none}
@media(max-width:560px){.wplr-own-dialog{padding:20px}.wplr-own-dialog h2{font-size:22px}.wplr-own-dialog footer{flex-direction:column-reverse}.wplr-own-dialog footer button{width:100%}.wplr-own-actions{gap:6px}.wplr-own-actions > :is(a,button),:is(.wplr-editorial,.wplr-community,.wplr-account,.wplr-recipe) .wplr-own-actions > .wplr-own-button{padding:10px}.wplr-edit-step-image{grid-column:1/-1}}
/* Narrow profile cards need room for the complete "Uredi recept" control. */
@media(max-width:400px){.wplr-account .wplr-profile-grid{grid-template-columns:1fr}}
@media print{.wplr-own-actions,.wplr-own-dialog,.wplr-own-notice{display:none!important}}
/* Explicit secondary-button colors in both the creation and the editing forms. */
.wplr-community .wplr-recipe-edit-form .wplr-button-secondary,
.wplr-community .wplr-submission-form .wplr-button-secondary{color:var(--wplr-accent,#4f7f2c);background:#fff;border-color:#dfe6d8}
