:root {
	--iw-sp-ink: #16352d;
	--iw-sp-green: #187357;
	--iw-sp-dark: #0f4938;
	--iw-sp-soft: #e8f2ed;
	--iw-sp-cream: #f7f4ec;
	--iw-sp-border: #dce6e1;
	--iw-sp-muted: #6b7974;
	--iw-sp-white: #fff;
	--iw-sp-danger: #a93f35;
	--iw-sp-warning: #9a6a12;
	--iw-sp-shadow: 0 14px 42px rgba(21, 58, 47, .07);
}

.iw-sp-shell,
.iw-sp-shell * { box-sizing: border-box; }
.iw-sp-shell { direction: rtl; display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 22px; max-width: 1480px; margin: 28px auto 70px; padding: 0 18px; color: var(--iw-sp-ink); font-family: inherit; }
.iw-sp-sidebar { position: sticky; top: 22px; align-self: start; min-height: calc(100vh - 44px); border: 1px solid var(--iw-sp-border); border-radius: 24px; background: linear-gradient(180deg,#fff,#f8fbf9); box-shadow: var(--iw-sp-shadow); padding: 18px 14px; }
.iw-sp-brand { padding: 14px 12px 16px; border-bottom: 1px solid var(--iw-sp-border); }
.iw-sp-brand span,.iw-sp-topbar span,.iw-sp-card header span { display:block; color:var(--iw-sp-green); font-size:12px; font-weight:800; }
.iw-sp-brand strong { display:block; margin:4px 0; font-size:19px; }
.iw-sp-brand small { color:var(--iw-sp-muted); }
.iw-sp-progress { margin:16px 10px; }
.iw-sp-progress > div { display:flex; justify-content:space-between; gap:10px; font-size:12px; }
.iw-sp-progress i { display:block; height:7px; margin-top:8px; overflow:hidden; border-radius:999px; background:#e4ece8; }
.iw-sp-progress em { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--iw-sp-green),#4ea982); }
.iw-sp-sidebar nav > p { margin:18px 10px 7px; color:#87938e; font-size:11px; font-weight:800; }
.iw-sp-sidebar nav a,.iw-sp-logout { display:flex; align-items:center; gap:10px; min-height:43px; margin:3px 0; border-radius:11px; color:#43564f; padding:8px 10px; font-size:13px; font-weight:750; text-decoration:none; }
.iw-sp-sidebar nav a:hover,.iw-sp-sidebar nav a.is-active { background:var(--iw-sp-soft); color:var(--iw-sp-dark); }
.iw-sp-sidebar nav a .dashicons,.iw-sp-logout .dashicons { width:20px; height:20px; font-size:20px; }
.iw-sp-sidebar nav a b { margin-right:auto; min-width:22px; border-radius:999px; background:var(--iw-sp-green); color:#fff; padding:3px 6px; font-size:10px; text-align:center; }
.iw-sp-logout { margin-top:18px; border-top:1px solid var(--iw-sp-border); border-radius:0; color:var(--iw-sp-danger); padding-top:16px; }
.iw-sp-main { min-width:0; }
.iw-sp-topbar { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:16px; border-radius:22px; background:linear-gradient(125deg,var(--iw-sp-dark),var(--iw-sp-green)); color:#fff; padding:24px 28px; box-shadow:var(--iw-sp-shadow); }
.iw-sp-topbar span { color:#cfe8de; }
.iw-sp-topbar h1 { margin:4px 0 0; color:#fff; font-size:clamp(22px,3vw,32px); }
.iw-sp-top-actions { display:flex; flex-wrap:wrap; gap:8px; }
.iw-sp-top-actions a,.iw-sp-button,.iw-sp-submit { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:42px; border:1px solid var(--iw-sp-border); border-radius:11px; background:#fff; color:var(--iw-sp-dark)!important; padding:9px 14px; font:inherit; font-size:13px; font-weight:800; text-decoration:none; cursor:pointer; }
.iw-sp-top-actions a.is-primary,.iw-sp-submit { border-color:transparent; background:var(--iw-sp-green); color:#fff!important; }
.iw-sp-topbar .iw-sp-top-actions a { border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.12); color:#fff!important; }
.iw-sp-alert { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; margin:0 0 16px; border:1px solid #e8d7a5; border-radius:16px; background:#fff9e8; color:#664d10; padding:14px 16px; }
.iw-sp-alert .dashicons { font-size:28px; width:28px; height:28px; }
.iw-sp-alert strong,.iw-sp-alert p { display:block; margin:0; }
.iw-sp-alert p { margin-top:3px; font-size:12px; }
.iw-sp-alert a { color:#6e4e00; font-weight:800; }
.iw-sp-notice { margin:0 0 16px; border-radius:13px; background:#e4f4eb; color:#15583b; padding:12px 15px; font-weight:700; }
.iw-sp-notice.is-error { background:#f9e8e5; color:var(--iw-sp-danger); }
.iw-sp-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:16px; }
.iw-sp-stat-grid article { display:flex; align-items:center; gap:13px; min-height:105px; border:1px solid var(--iw-sp-border); border-radius:17px; background:#fff; padding:18px; box-shadow:var(--iw-sp-shadow); }
.iw-sp-stat-grid article > .dashicons { display:grid; place-items:center; width:43px; height:43px; border-radius:13px; background:var(--iw-sp-soft); color:var(--iw-sp-green); font-size:24px; }
.iw-sp-stat-grid small { display:block; color:var(--iw-sp-muted); }
.iw-sp-stat-grid strong { display:block; margin-top:5px; font-size:20px; }
.iw-sp-grid { display:grid; gap:14px; }
.iw-sp-grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.iw-sp-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.iw-sp-card { margin-bottom:16px; border:1px solid var(--iw-sp-border); border-radius:19px; background:#fff; box-shadow:var(--iw-sp-shadow); padding:clamp(18px,2.5vw,27px); }
.iw-sp-card > header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.iw-sp-card header h2 { margin:4px 0 0; font-size:clamp(20px,2.5vw,27px); }
.iw-sp-card header p { margin:6px 0 0; color:var(--iw-sp-muted); }
.iw-sp-steps { display:grid; gap:8px; }
.iw-sp-steps a { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; border:1px solid var(--iw-sp-border); border-radius:12px; color:var(--iw-sp-ink); padding:11px 12px; text-decoration:none; }
.iw-sp-steps a i { color:var(--iw-sp-warning); }
.iw-sp-steps a.is-done { background:#f3faf6; }
.iw-sp-steps a.is-done i { color:var(--iw-sp-green); }
.iw-sp-action-list { display:grid; gap:9px; }
.iw-sp-action-list a { display:flex; justify-content:space-between; gap:12px; border-radius:11px; background:var(--iw-sp-cream); color:var(--iw-sp-ink); padding:12px 13px; text-decoration:none; }
.iw-sp-action-list b { min-width:30px; border-radius:999px; background:#fff; padding:4px 7px; text-align:center; }
.iw-sp-form { display:grid; gap:15px; }
.iw-sp-form label { display:grid; gap:7px; color:#344d44; font-size:13px; font-weight:750; }
.iw-sp-form input,.iw-sp-form select,.iw-sp-form textarea { width:100%; min-height:45px; border:1px solid #ccd8d2; border-radius:11px; background:#fff; color:var(--iw-sp-ink); padding:9px 11px; font:inherit; }
.iw-sp-form textarea { min-height:105px; resize:vertical; }
.iw-sp-form input:focus,.iw-sp-form select:focus,.iw-sp-form textarea:focus { border-color:var(--iw-sp-green); outline:0; box-shadow:0 0 0 3px rgba(24,115,87,.11); }
.iw-sp-form label small { color:var(--iw-sp-muted); font-size:11px; font-weight:500; }
.iw-sp-form fieldset { min-width:0; border:1px solid var(--iw-sp-border); border-radius:13px; padding:14px; }
.iw-sp-form legend { padding:0 7px; font-weight:800; }
.iw-sp-check-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.iw-sp-check-grid label,.iw-sp-check { display:flex!important; flex-direction:row!important; align-items:center; gap:8px!important; min-height:38px; border-radius:9px; background:#f8faf9; padding:7px 9px; }
.iw-sp-check-grid input,.iw-sp-check input { width:18px!important; min-height:18px!important; }
.iw-sp-form-actions { display:flex; flex-wrap:wrap; gap:9px; }
.iw-sp-media-preview { display:flex; flex-wrap:wrap; gap:13px; }
.iw-sp-media-preview figure { margin:0; border:1px solid var(--iw-sp-border); border-radius:12px; background:#fafcfb; padding:8px; }
.iw-sp-media-preview img { display:block; max-width:220px; max-height:130px; border-radius:8px; object-fit:cover; }
.iw-sp-media-preview figcaption { margin-top:5px; color:var(--iw-sp-muted); font-size:11px; }
.iw-sp-table { overflow:auto; }
.iw-sp-table table { width:100%; border-collapse:collapse; }
.iw-sp-table th,.iw-sp-table td { border-bottom:1px solid var(--iw-sp-border); padding:12px 9px; text-align:right; vertical-align:middle; white-space:nowrap; }
.iw-sp-table th { color:var(--iw-sp-muted); font-size:11px; }
.iw-sp-table td strong,.iw-sp-table td small { display:block; }
.iw-sp-table td small { margin-top:3px; color:var(--iw-sp-muted); }
.iw-sp-status { display:inline-flex; border-radius:999px; background:#eef3f0; color:#466158; padding:5px 9px; font-size:11px; font-weight:800; }
.iw-sp-status.is-active { background:#e2f4e9; color:#14613e; }
.iw-sp-status.is-pending { background:#fff4d9; color:#7d5a0d; }
.iw-sp-status.is-rejected,.iw-sp-status.is-suspended { background:#fae6e3; color:#8d3028; }
.iw-sp-empty { display:grid; justify-items:center; text-align:center; gap:7px; border:1px dashed #cbd9d2; border-radius:15px; background:#fafcfb; padding:35px 20px; }
.iw-sp-empty .dashicons { width:42px; height:42px; color:var(--iw-sp-green); font-size:42px; }
.iw-sp-empty h3,.iw-sp-empty p { margin:0; }
.iw-sp-empty p { max-width:620px; color:var(--iw-sp-muted); }
.iw-sp-rfq-list,.iw-sp-order-list,.iw-sp-card-list { display:grid; gap:12px; }
.iw-sp-rfq-list article,.iw-sp-order-list article,.iw-sp-card-list article { border:1px solid var(--iw-sp-border); border-radius:14px; background:#fbfdfc; padding:15px; }
.iw-sp-rfq-list article { display:grid; grid-template-columns:minmax(230px,1.2fr) minmax(320px,1fr) auto; align-items:center; gap:14px; }
.iw-sp-rfq-list h3,.iw-sp-rfq-list p,.iw-sp-rfq-list span,.iw-sp-rfq-list small { margin:0; }
.iw-sp-rfq-list span { color:var(--iw-sp-green); font-size:11px; font-weight:800; }
.iw-sp-rfq-list small { color:var(--iw-sp-muted); }
.iw-sp-rfq-list dl,.iw-sp-order-list dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:0; }
.iw-sp-rfq-list dl div,.iw-sp-order-list dl div { border-radius:9px; background:var(--iw-sp-cream); padding:8px; }
.iw-sp-rfq-list dt,.iw-sp-order-list dt { color:var(--iw-sp-muted); font-size:10px; }
.iw-sp-rfq-list dd,.iw-sp-order-list dd { margin:3px 0 0; font-weight:750; }
.iw-sp-rfq-list button,.iw-sp-documents button,.iw-sp-notification-list button { border:0; border-radius:10px; background:var(--iw-sp-green); color:#fff; padding:9px 11px; font:inherit; font-weight:800; cursor:pointer; }
.iw-sp-order-list article > header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.iw-sp-order-list article > header div span,.iw-sp-order-list article > header div strong { display:block; }
.iw-sp-order-list article > header b { border-radius:999px; background:var(--iw-sp-soft); padding:6px 9px; font-size:11px; }
.iw-sp-order-list dl { grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:13px; }
.iw-sp-card-list article { display:flex; align-items:center; gap:14px; }
.iw-sp-card-list article > .dashicons { width:40px; height:40px; color:var(--iw-sp-green); font-size:40px; }
.iw-sp-card-list h3,.iw-sp-card-list p { margin:0; }
.iw-sp-card-list p,.iw-sp-card-list small { color:var(--iw-sp-muted); }
.iw-sp-score { border-radius:999px; background:var(--iw-sp-soft); color:var(--iw-sp-dark); padding:7px 10px; font-size:12px; font-weight:800; }
.iw-sp-review-note { margin-bottom:15px; border-right:4px solid var(--iw-sp-warning); border-radius:10px; background:#fff9e9; padding:12px; }
.iw-sp-documents { margin-top:20px; border-top:1px solid var(--iw-sp-border); padding-top:18px; }
.iw-sp-documents > div { display:grid; gap:8px; }
.iw-sp-documents article { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:10px; border:1px solid var(--iw-sp-border); border-radius:11px; padding:10px 12px; }
.iw-sp-documents article strong,.iw-sp-documents article small { display:block; }
.iw-sp-documents article small { color:var(--iw-sp-muted); }
.iw-sp-documents article > a { color:var(--iw-sp-green); font-weight:800; }
.iw-sp-notification-list { display:grid; gap:8px; }
.iw-sp-notification-list article { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:10px; border:1px solid var(--iw-sp-border); border-radius:12px; padding:12px; }
.iw-sp-notification-list article.is-unread { background:#f0f8f4; border-color:#bddbcd; }
.iw-sp-notification-list p { margin:3px 0; color:#53655f; }
.iw-sp-notification-list small { color:var(--iw-sp-muted); }
.iw-sp-notification-list a { color:var(--iw-sp-green); font-weight:800; }
.iw-sp-mini-feed { display:grid; gap:7px; }
.iw-sp-mini-feed > div { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; border-radius:10px; background:#fafcfb; padding:9px 11px; }
.iw-sp-mini-feed > div.is-unread { background:#edf7f2; }
.iw-sp-mini-feed p,.iw-sp-mini-feed strong { margin:0; }
.iw-sp-mini-feed strong { display:block; }
.iw-sp-mini-feed small { color:var(--iw-sp-muted); }
.iw-sp-mobile-menu { display:none; width:100%; min-height:44px; margin-bottom:10px; border:1px solid var(--iw-sp-border); border-radius:11px; background:#fff; color:var(--iw-sp-dark); padding:8px 12px; font:inherit; font-weight:800; }

@media (max-width:1100px) {
	.iw-sp-shell { grid-template-columns:230px minmax(0,1fr); gap:15px; }
	.iw-sp-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.iw-sp-rfq-list article { grid-template-columns:1fr; }
}

@media (max-width:820px) {
	.iw-sp-shell { display:block; margin-top:16px; padding:0 11px; }
	.iw-sp-mobile-menu { display:flex; align-items:center; justify-content:center; gap:7px; }
	.iw-sp-sidebar { display:none; position:relative; top:auto; min-height:0; margin-bottom:12px; }
	.iw-sp-sidebar.is-open { display:block; }
	.iw-sp-topbar { align-items:flex-start; flex-direction:column; padding:20px; }
	.iw-sp-grid.two,.iw-sp-grid.three,.iw-sp-check-grid { grid-template-columns:1fr; }
	.iw-sp-alert { grid-template-columns:auto 1fr; }
	.iw-sp-alert a { grid-column:2; }
	.iw-sp-rfq-list dl,.iw-sp-order-list dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.iw-sp-documents article,.iw-sp-notification-list article { grid-template-columns:auto 1fr; }
	.iw-sp-documents article > a,.iw-sp-documents article > form,.iw-sp-notification-list article > a,.iw-sp-notification-list article > form { grid-column:2; }
}

@media (max-width:520px) {
	.iw-sp-stat-grid { grid-template-columns:1fr; }
	.iw-sp-stat-grid article { min-height:88px; }
	.iw-sp-top-actions { width:100%; }
	.iw-sp-top-actions a { flex:1; }
	.iw-sp-card { border-radius:15px; padding:16px; }
	.iw-sp-card > header { flex-direction:column; }
	.iw-sp-order-list dl,.iw-sp-rfq-list dl { grid-template-columns:1fr; }
	.iw-sp-mini-feed > div { grid-template-columns:auto 1fr; }
	.iw-sp-mini-feed small { grid-column:2; }
}

/* v1.7.1 — isolate the seller panel from narrow theme page containers. */
body.irowood-seller-panel-page .site-content,
body.irowood-seller-panel-page #content,
body.irowood-seller-panel-page #primary,
body.irowood-seller-panel-page .content-area,
body.irowood-seller-panel-page .site-main,
body.irowood-seller-panel-page article.page,
body.irowood-seller-panel-page article.type-page,
body.irowood-seller-panel-page .entry-content,
body.irowood-seller-panel-page .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	overflow: visible !important;
}
body.irowood-seller-panel-page .entry-header,
body.irowood-seller-panel-page .page-header { display: none !important; }
body.irowood-seller-panel-page .iw-sp-shell {
	position: relative;
	left: 50%;
	width: min(1480px, calc(100vw - 36px));
	max-width: none;
	transform: translateX(-50%);
	isolation: isolate;
}
body.irowood-seller-panel-page .iw-sp-main,
body.irowood-seller-panel-page .iw-sp-card,
body.irowood-seller-panel-page .iw-sp-form { width: 100%; max-width: none; min-width: 0; }
body.irowood-seller-panel-page .iw-sp-card > header > div { min-width: 0; }
body.irowood-seller-panel-page .iw-sp-card > header h2,
body.irowood-seller-panel-page .iw-sp-topbar h1 { overflow-wrap: anywhere; }
body.irowood-seller-panel-page .iw-sp-form input,
body.irowood-seller-panel-page .iw-sp-form select,
body.irowood-seller-panel-page .iw-sp-form textarea { max-width: none !important; }
body.irowood-seller-offer-editor .iw-sp-main { min-width: 720px; }
body.irowood-seller-offer-editor .iw-sp-card { padding: clamp(20px, 2.2vw, 32px); }
body.irowood-seller-offer-editor .iw-sp-form { gap: 18px; }
body.irowood-seller-offer-editor .iw-sp-form fieldset { background: #fbfdfc; }

@media (max-width: 1180px) {
	body.irowood-seller-panel-page .iw-sp-shell {
		grid-template-columns: 230px minmax(0, 1fr);
		width: calc(100vw - 24px);
		gap: 14px;
	}
	body.irowood-seller-offer-editor .iw-sp-main { min-width: 0; }
	body.irowood-seller-offer-editor .iw-sp-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	body.irowood-seller-panel-page .iw-sp-shell {
		display: block;
		left: auto;
		width: 100%;
		transform: none;
		padding: 0 11px;
	}
	body.irowood-seller-offer-editor .iw-sp-grid.two,
	body.irowood-seller-offer-editor .iw-sp-grid.three { grid-template-columns: 1fr; }
}

/* Supplier capability classification v1.0 */
.iw-rfq-capability-guide{margin:18px 0}.iw-rfq-capability-details{margin-top:14px;border-top:1px solid #e5e7eb;padding-top:12px}.iw-rfq-capability-details>summary{cursor:pointer;font-weight:800;color:#1d4ed8;list-style:none}.iw-rfq-capability-details>summary::-webkit-details-marker{display:none}.iw-rfq-capability-details>summary:after{content:'+';float:left;font-size:20px;line-height:1}.iw-rfq-capability-details[open]>summary:after{content:'−'}.iw-rfq-capability-primary{margin-top:16px}.iw-rfq-option-section{margin-top:18px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa}.iw-rfq-option-section h4{margin:0 0 10px;font-size:14px}.iw-rfq-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.iw-rfq-option-grid .iw-sp-check{margin:0;padding:9px 10px;border:1px solid #e5e7eb;border-radius:9px;background:#fff}.iw-rfq-option-grid .iw-sp-check span{font-size:13px}.iw-rfq-capability-item.is-selected{border-color:#93c5fd;box-shadow:0 0 0 1px #dbeafe inset}
@media(max-width:820px){.iw-rfq-option-grid{grid-template-columns:1fr 1fr}.iw-rfq-capability-details>summary{font-size:13px}.iw-rfq-option-section{padding:11px}}
@media(max-width:520px){.iw-rfq-option-grid{grid-template-columns:1fr}}
.iw-rfq-profile-issues { margin: 12px 0; padding: 12px 14px; border: 1px solid #e5c97a; border-radius: 10px; background: #fff9e8; }
.iw-rfq-profile-issues strong { display: block; margin-bottom: 6px; }
.iw-rfq-profile-issues ul { margin: 0; padding-right: 20px; }
.iw-rfq-profile-issues li { margin: 3px 0; }
