.ef-workflow-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 28px);margin:auto;padding:28px;border:1px solid #d9e2f1;border-radius:14px;color:#17315e;background:#fff;overflow:auto;box-shadow:0 16px 60px #11224440}
.ef-workflow-dialog::backdrop{background:#10254c99}.ef-workflow-dialog:not([open]){display:none}.ef-workflow-dialog h2{margin:0 24px 12px 0;font-size:24px}.ef-workflow-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:inherit;font-size:28px;cursor:pointer}
[data-ef-workflow-form]{display:flex;flex-direction:column;gap:14px;min-width:0}[data-ef-workflow-form] [data-ef-field]{display:flex;flex-direction:column;gap:6px;min-width:0}[data-ef-workflow-form] [hidden]{display:none!important}
[data-ef-workflow-form] input:not([type=checkbox]),[data-ef-workflow-form] textarea,[data-ef-workflow-form] select{box-sizing:border-box;min-width:0;width:100%;max-width:100%;padding:10px;border:1px solid #cbd6e8;border-radius:7px;font:inherit}[data-ef-workflow-form] input[type=file]{padding:4px;border:0}[data-ef-workflow-form] textarea{min-height:130px;resize:vertical}[data-ef-workflow-form] input[type=checkbox]{margin-right:8px}
[data-ef-workflow-submit],.ef-workflow-button{padding:12px 18px;background:#0554f2;color:#fff;border:0;border-radius:7px;font:inherit;cursor:pointer}[data-ef-workflow-status],[data-ef-workflow-file-name]{overflow-wrap:anywhere;margin:0}[data-ef-workflow-form] button:disabled{opacity:.55;cursor:wait}
.ef-market-layout{max-width:1240px;margin:32px auto;padding:0 20px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;color:#17315e}.ef-market-content{min-width:0}.ef-market-nav details{border:1px solid #d9e2f1;border-radius:10px;padding:14px}.ef-market-nav summary{cursor:pointer;font-weight:600}.ef-market-nav a{display:block;padding:10px}.ef-market-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.ef-market-actions button{white-space:normal}.ef-market-table{overflow:auto;margin-top:20px}.ef-market-table table{width:100%;border-collapse:collapse}.ef-market-table th,.ef-market-table td{padding:12px;text-align:left;border-bottom:1px solid #d9e2f1}.ef-market-note{padding:16px;border:1px solid #d9e2f1;margin:12px 0;border-radius:8px}.ef-market-note time{display:block;font-size:.85em}.ef-market-pages{margin:20px 0;display:flex;gap:16px}.ef-market-pages [aria-current=page]{font-weight:bold;text-decoration:underline}
@media(min-width:901px){.ef-market-nav details>div{display:block!important}.ef-market-nav summary{display:none}}
@media(max-width:900px){.ef-market-layout{grid-template-columns:minmax(0,1fr);margin:20px auto;gap:16px}.ef-market-actions{flex-direction:column}.ef-market-actions button{width:100%}}
@media(max-width:400px){.ef-workflow-dialog{padding:22px 16px}.ef-workflow-dialog h2{font-size:21px}.ef-market-layout{padding:0 12px}.ef-market-table td,.ef-market-table th{padding:8px}}

/* Оболочка кабинета и оформление заказов без изменения выборки и операций. */
.ef-owned-market{width:100%;max-width:none;padding:110px 0 40px;color:#183153;min-height:60vh}
.ef-owned-market .ef-market-content{min-width:0}
.ef-owned-market .ef-market-table{margin:0;overflow:auto}
.ef-owned-market .ef-market-orders{width:100%;min-width:600px;border-collapse:separate;border-spacing:2px;padding:0 16px;border:1px solid #dbdbdb;border-radius:5px;font-size:18px}
.ef-owned-market .ef-market-orders thead{display:none}
.ef-owned-market .ef-market-orders td{padding:16px 8px;border:0;color:#797979;font-size:18px;line-height:1.4}
.ef-owned-market .ef-market-orders tr:not(:last-child) td{border-bottom:1px solid #dbdbdb}
.ef-owned-market .ef-market-number a{display:inline-flex;align-items:center;gap:16px;color:#2f2f2f;text-decoration:none}
.ef-owned-market .ef-market-number i{font-size:24px;color:#797979}
.ef-owned-market .ef-market-status span{display:inline-block;border:2px solid #cdd5e1;color:#797979;border-radius:4px;padding:6.4px 8px;font-size:14.4px;font-weight:600;line-height:1}
.ef-owned-market tr[data-order-status="wc-completed"] .ef-market-status span{color:#15cd72;border-color:#15cd72}
.ef-owned-market tr[data-order-status="wc-processing"] .ef-market-status span{color:#f79009;border-color:#f79009}
.ef-owned-market .ef-market-pages:has(a:only-child){display:none}
@media(max-width:900px){.ef-owned-market{padding-top:85px}}
/* Представление одного заказа: прежние данные WooCommerce и действия сохраняются. */
.ef-market-order{color:#797979;font-size:16px;line-height:1.4}
.ef-market-order .hp-order__details--primary{margin-bottom:16px}
.ef-market-order .hp-order__details--primary>div:not(:last-child){margin-bottom:8px}
.ef-market-order .woocommerce-order-details__title{display:none}
.ef-market-order .woocommerce-order-details .shop_table{margin-bottom:0}
/* Лишний WooCommerce CTA отсутствует в продовском шаблоне; серверная операция не меняется. */
.ef-market-order .order-again{display:none}
@media(max-width:767px){
    .ef-market-order .order-actions-button{font-size:14px!important;line-height:1.2!important;padding:8px 14px!important}
}
