/* ==========================================================================
   Cheerway 出海策略規劃工具 - 前台樣式
   依 CHEERWAY-TOOL-STANDARD.md 1.1-1.4 規範
   ========================================================================== */

.cw-gr-root {
	--cw-gr-navy: #2b427d;
	--cw-gr-navy-deep: #1c2d57;
	--cw-gr-orange: #EE9F4E;
	--cw-gr-orange-hover: #e08e38;
	--cw-gr-mist: #EAF1F6;
	--cw-gr-blue: #1B82C0;
	box-sizing: border-box;
	font-family: 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', 'Helvetica Neue', Arial, sans-serif;
}
.cw-gr-root *, .cw-gr-root *::before, .cw-gr-root *::after { box-sizing: inherit; }

/* SOP 3.1:覆蓋佈景主題的 flex 規則,確保 [hidden] 真的隱藏 */
.cw-gr-root [hidden] { display: none !important; }

/* -------------------- Hero(SOP 1.1) -------------------- */
.cw-gr-hero {
	width: 100%;
	background: linear-gradient(135deg, var(--cw-gr-navy) 0%, var(--cw-gr-navy-deep) 100%);
	padding: 100px 24px;
}
.cw-gr-hero-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

/* -------------------- 左側文字區(SOP 1.2) -------------------- */
.cw-gr-hero-text { color: #ffffff; }

/* 佈景主題常對 h1/p/ul/li 下全域規則,會蓋掉插件樣式(尤其字級)。
   因此 Hero 文字區一律使用「.cw-gr-root .cw-gr-hero .cw-gr-hero-text 標籤.類別」
   這種高特異性選擇器鏈 + !important,並用絕對 px 鎖死字級。 */
.cw-gr-root .cw-gr-hero .cw-gr-hero-text h1.cw-gr-eyebrow {
	font-size: 14px !important;
	line-height: 1.5 !important;
	font-weight: 600 !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	color: var(--cw-gr-orange) !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: none !important;
	text-align: left !important;
}
.cw-gr-root .cw-gr-hero .cw-gr-hero-text .cw-gr-headline {
	font-size: 64px !important;
	line-height: 1.25 !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 0 24px !important;
	padding: 0 !important;
	letter-spacing: normal !important;
	text-align: left !important;
}
.cw-gr-root .cw-gr-hero .cw-gr-hero-text p.cw-gr-body {
	font-size: 16px !important;
	line-height: 1.8 !important;
	color: #d8e3ee !important;
	margin: 0 0 24px !important;
	padding: 0 !important;
	max-width: 560px;
	text-align: left !important;
}
.cw-gr-root .cw-gr-hero .cw-gr-hero-text ul.cw-gr-checklist {
	list-style: none !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
}
.cw-gr-root .cw-gr-hero .cw-gr-hero-text ul.cw-gr-checklist li {
	font-size: 16px !important;
	line-height: 1.8 !important;
	color: #eef4f9 !important;
	padding: 0 0 0 28px !important;
	margin: 0 0 8px !important;
	position: relative;
	list-style: none !important;
	text-align: left !important;
}
.cw-gr-root .cw-gr-hero .cw-gr-hero-text ul.cw-gr-checklist li::before,
.cw-gr-root .cw-gr-hero .cw-gr-hero-text ul.cw-gr-checklist li::marker {
	content: none !important;
}
.cw-gr-root .cw-gr-hero .cw-gr-hero-text p.cw-gr-special {
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: #b9c9dc !important;
	margin: 0 0 20px !important;
}
.cw-gr-check {
	position: absolute;
	left: 0;
	top: 0;
	color: var(--cw-gr-orange);
	font-weight: 700;
}
.cw-gr-hero-disclaimer {
	font-size: 13px;
	line-height: 1.7;
	color: #d8e3ee;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 6px;
	padding: 12px 16px;
	margin: 8px 0 0;
}

/* -------------------- Hero 右側:分析流程圖 -------------------- */
.cw-gr-hero-flow {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 14px;
	padding: 28px 24px;
}
.cw-gr-flow-title {
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 2px;
	color: var(--cw-gr-orange) !important;
	margin: 0 0 18px !important;
	text-align: center;
}
.cw-gr-flow-step {
	display: flex;
	align-items: center;
	gap: 14px;
	background: rgba(255,255,255,0.08);
	border-radius: 10px;
	padding: 14px 16px;
}
.cw-gr-flow-num {
	flex: 0 0 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cw-gr-orange);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cw-gr-flow-name { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.4; }
.cw-gr-flow-desc { font-size: 12px; color: #b9c9dc; margin-top: 2px; line-height: 1.5; }
.cw-gr-flow-arrow { text-align: center; color: var(--cw-gr-orange); font-size: 18px; line-height: 1; padding: 6px 0; }

/* ==========================================================================
   表單區:Hero 下方,白底,1400px 置中
   ========================================================================== */
.cw-gr-form-section { background: #ffffff; padding: 80px 24px; }
.cw-gr-form-inner { max-width: 1400px; margin: 0 auto; }

/* 展開式段落 */
.cw-gr-step {
	border: 1px solid #e3eaf0;
	border-radius: 12px;
	margin-bottom: 14px;
	overflow: hidden;
	background: #fff;
}
.cw-gr-step-head {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	background: #f7fafc;
	border-bottom: 1px solid #e3eaf0;
	padding: 18px 24px;
	text-align: left;
}
.cw-gr-step-num {
	flex: 0 0 34px;
	height: 34px;
	border-radius: 50%;
	background: #d6dee6;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cw-gr-step-num { background: var(--cw-gr-blue); }
.cw-gr-step-title { flex: 1; font-size: 18px; font-weight: 700; color: var(--cw-gr-navy); }
.cw-gr-step-body { padding: 24px; }

/* 兩欄式欄位列 */
.cw-gr-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* 表單欄位 */
.cw-gr-field { margin-bottom: 20px; }
.cw-gr-field label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #2b2b2b;
	margin-bottom: 8px;
}
.cw-gr-required { color: #c0392b; }
.cw-gr-field input[type="text"],
.cw-gr-field input[type="email"],
.cw-gr-field input[type="number"],
.cw-gr-field select,
.cw-gr-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d6dee6;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	color: #222;
	background: #fff;
}
.cw-gr-field textarea { resize: vertical; }
.cw-gr-field input:focus,
.cw-gr-field select:focus,
.cw-gr-field textarea:focus {
	outline: none;
	border-color: var(--cw-gr-blue);
	box-shadow: 0 0 0 3px rgba(27,130,192,0.15);
}
.cw-gr-hint { font-size: 13px; color: #777; margin: 8px 0 0; line-height: 1.6; }
.cw-gr-hint a { color: var(--cw-gr-blue); }
.cw-gr-error { font-size: 13px; color: #c0392b; margin: 6px 0 0; }
.cw-gr-error:empty { display: none; }

/* 單選列 */
.cw-gr-radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cw-gr-radio {
	display: flex !important;
	align-items: center;
	gap: 8px;
	border: 1px solid #d6dee6;
	border-radius: 8px;
	padding: 10px 20px !important;
	cursor: pointer;
	font-weight: 500 !important;
	font-size: 15px !important;
	margin-bottom: 0 !important;
	background: #fff;
}
.cw-gr-radio input { width: auto !important; }
.cw-gr-radio:has(input:checked) { border-color: var(--cw-gr-blue); background: #f0f8fd; }

/* 條件式子欄位 */
.cw-gr-subfields {
	border-left: 3px solid var(--cw-gr-mist);
	padding-left: 18px;
	margin: 0 0 20px 8px;
}

/* 預算說明 */
.cw-gr-budget-note {
	background: var(--cw-gr-mist);
	border-radius: 8px;
	padding: 14px 16px;
	margin-top: 12px;
}
.cw-gr-budget-note p { font-size: 13px; color: #45596e; line-height: 1.7; margin: 0 0 6px; }
.cw-gr-budget-note p:last-child { margin-bottom: 0; }
.cw-gr-budget-note strong { color: var(--cw-gr-navy); }

.cw-gr-input-group { display: flex; align-items: center; gap: 10px; }
.cw-gr-input-group input[type="number"] { flex: 1; min-width: 0; }
.cw-gr-input-prefix,
.cw-gr-input-suffix { font-size: 15px; color: #56697d; white-space: nowrap; font-weight: 600; }

/* 管道複選 */
.cw-gr-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px;
}
.cw-gr-service-chip {
	display: flex !important;
	align-items: center;
	gap: 10px;
	border: 1px solid #d6dee6;
	border-radius: 8px;
	padding: 14px 16px !important;
	cursor: pointer;
	font-size: 14px !important;
	font-weight: 500 !important;
	margin-bottom: 0 !important;
	background: #fff;
}
.cw-gr-service-chip.is-checked { border-color: var(--cw-gr-blue); background: #f0f8fd; }
.cw-gr-service-chip input { width: auto !important; flex: 0 0 auto; }

/* 動態細項 */
.cw-gr-detail-zone {
	background: #f7fafc;
	border: 1px dashed #c9d6e2;
	border-radius: 10px;
	padding: 18px 20px;
	margin-top: 20px;
}
.cw-gr-detail-row {
	display: grid;
	grid-template-columns: 1fr 1fr 200px;
	gap: 14px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #e6ecf2;
}
.cw-gr-detail-row:last-child { border-bottom: none; }
.cw-gr-detail-service { font-size: 14px; font-weight: 700; color: var(--cw-gr-navy); }
.cw-gr-detail-label { font-size: 13px !important; color: #56697d !important; font-weight: 500 !important; margin: 0 !important; }

.cw-gr-checkbox-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.cw-gr-checkbox {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #333;
	margin-bottom: 0 !important;
	cursor: pointer;
}
.cw-gr-checkbox input { width: auto !important; }

.cw-gr-submit-btn {
	width: 100%;
	max-width: 420px;
	background: var(--cw-gr-orange);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 17px;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 8px;
	font-family: inherit;
}
.cw-gr-submit-btn:hover { background: var(--cw-gr-orange-hover); }
.cw-gr-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.cw-gr-form-error { color: #c0392b; font-size: 14px; margin-top: 12px; }

/* Honeypot */
.cw-gr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

/* -------------------- 行動裝置(<768px):Hero 單欄堆疊(SOP 1.1) -------------------- */
@media (max-width: 767px) {
	.cw-gr-hero { padding: 60px 20px; }
	.cw-gr-hero-inner { grid-template-columns: 1fr; gap: 32px; }
	.cw-gr-root .cw-gr-hero .cw-gr-hero-text .cw-gr-headline { font-size: 36px !important; }
	.cw-gr-hero-form { padding: 24px; }
	.cw-gr-checkbox-group { grid-template-columns: 1fr; }
	.cw-gr-form-section { padding: 48px 16px; }
	.cw-gr-step-head { padding: 16px; }
	.cw-gr-field-row { grid-template-columns: 1fr; gap: 0; }
	.cw-gr-step-title { font-size: 16px; }
	.cw-gr-step-body { padding: 18px 16px; }
	.cw-gr-service-grid { grid-template-columns: 1fr; }
	.cw-gr-detail-row { grid-template-columns: 1fr; gap: 8px; }
	.cw-gr-radio { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Modal(SOP 1.4)
   ========================================================================== */
.cw-gr-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 20, 40, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 20px;
}
.cw-gr-modal {
	position: relative;
	background: #ffffff;
	border-radius: 14px;
	max-width: 1200px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	padding: 48px 52px;
}
.cw-gr-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: #f0f2f5;
	color: #444;
	font-size: 16px;
	cursor: pointer;
	line-height: 1;
}
.cw-gr-modal-close:hover { background: #e2e6ea; }

.cw-gr-modal-loading { text-align: center; padding: 60px 20px; }
.cw-gr-spinner {
	width: 44px; height: 44px;
	border: 4px solid #e3eaf0;
	border-top-color: var(--cw-gr-blue);
	border-radius: 50%;
	margin: 0 auto 20px;
	animation: cw-gr-spin 0.9s linear infinite;
}
@keyframes cw-gr-spin { to { transform: rotate(360deg); } }
#cw-gr-loading-text { font-size: 15px; color: #555; }

/* -------------------- 結果內容 -------------------- */
.cw-gr-result-disclaimer {
	font-size: 14px;
	line-height: 1.9;
	color: #8a6d3b;
	background: #fff8ec;
	border: 1px solid #f0e2c0;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 24px;
}
.cw-gr-result-summary {
	font-size: 18px;
	font-weight: 600;
	color: var(--cw-gr-navy);
	line-height: 1.9;
	margin-bottom: 30px;
}

/* ==========================================================================
   分析結果:甘特圖(時程) + 階段明細(完整資料與費用)
   甘特圖與明細同時顯示 —— 甘特圖回答「什麼時候做」,明細回答「做什麼、花多少」。
   ========================================================================== */

.cw-gr-section-title {
	font-size: 17px;
	line-height: 1.6;
	font-weight: 700;
	color: var(--cw-gr-navy);
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--cw-gr-mist);
}

/* --- 真甘特圖:橫軸為 12 個季度,每一列是一項服務 --- */
.cw-gr-gantt-wrap { margin-bottom: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cw-gr-gantt { min-width: 1020px; }

.cw-gr-gantt-head {
	display: grid;
	grid-template-columns: 220px repeat(12, 1fr);
	align-items: end;
	margin-bottom: 6px;
}
.cw-gr-gantt-head-spacer { grid-column: 1; }
.cw-gr-gantt-year {
	grid-row: 1;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: var(--cw-gr-navy);
	background: var(--cw-gr-mist);
	border-radius: 4px 4px 0 0;
	padding: 7px 0;
	line-height: 1.5;
	margin: 0 1px;
}
.cw-gr-gantt-quarters {
	display: grid;
	grid-template-columns: 220px repeat(12, 1fr);
	margin-bottom: 8px;
}
.cw-gr-gantt-q {
	text-align: center;
	font-size: 14px;
	color: #8a9bb0;
	padding: 5px 0;
	line-height: 1.5;
}

.cw-gr-gantt-row {
	display: grid;
	grid-template-columns: 220px repeat(12, 1fr);
	align-items: center;
	min-height: 52px;
	border-top: 1px solid #eef2f6;
}
.cw-gr-gantt-name {
	grid-column: 1;
	font-size: 14px;
	font-weight: 600;
	color: #33475b;
	padding-right: 14px;
	line-height: 1.6;
	display: flex;
	align-items: center;
	gap: 6px;
}
.cw-gr-gantt-swatch {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	flex: 0 0 10px;
}
.cw-gr-gantt-cell {
	height: 100%;
	border-left: 1px dashed #eef2f6;
}
.cw-gr-gantt-bar {
	height: 32px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	padding: 0 10px;
	overflow: hidden;
	white-space: nowrap;
	margin: 0 2px;
}

/* --- 階段明細 --- */
.cw-gr-phase-block {
	border: 1px solid #d9e4ec;
	border-radius: 10px;
	margin-bottom: 18px;
	overflow: hidden;
}
.cw-gr-phase-head {
	background: var(--cw-gr-navy);
	color: #fff;
	padding: 14px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.cw-gr-phase-head-left { font-size: 17px; font-weight: 700; line-height: 1.5; }
.cw-gr-phase-head-left span { font-size: 14px; font-weight: 400; opacity: 0.85; display: block; margin-top: 5px; line-height: 1.6; }
.cw-gr-phase-total {
	font-size: 15px;
	font-weight: 700;
	color: var(--cw-gr-orange);
	text-align: right;
	white-space: nowrap;
	line-height: 1.6;
}
.cw-gr-phase-total span { display: block; font-size: 14px; font-weight: 400; color: #c3d0e0; margin-top: 3px; line-height: 1.5; }
.cw-gr-phase-body { padding: 16px 18px; }
.cw-gr-phase-rationale {
	font-size: 15px;
	color: #555;
	line-height: 2.0;
	margin: 0 0 20px;
	padding-left: 16px;
	border-left: 3px solid var(--cw-gr-mist);
}

.cw-gr-service-item {
	border: 1px solid #e6ecf2;
	border-left-width: 4px;
	border-radius: 8px;
	padding: 18px 20px;
	margin-bottom: 14px;
	background: #fcfdfe;
}
.cw-gr-service-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
}
.cw-gr-service-name { font-size: 15px; font-weight: 700; color: var(--cw-gr-navy); margin: 0; }
.cw-gr-service-name a { color: var(--cw-gr-blue); text-decoration: none; }
.cw-gr-service-name a:hover { text-decoration: underline; }
.cw-gr-service-cost {
	font-size: 14px;
	font-weight: 700;
	color: var(--cw-gr-orange);
	white-space: nowrap;
	text-align: right;
}
.cw-gr-service-cost span { display: block; font-size: 14px; font-weight: 400; color: #999; margin-top: 3px; line-height: 1.5; }
.cw-gr-service-stage {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	border-radius: 4px;
	padding: 5px 12px;
	margin: 10px 8px 0 0;
	line-height: 1.5;
}
.cw-gr-service-reason { font-size: 14px; color: #666; line-height: 1.9; margin: 12px 0 0; }
.cw-gr-service-focus { font-size: 14px; color: #555; line-height: 1.9; margin: 8px 0 0; }

.cw-gr-cost-breakdown {
	margin: 10px 0 0;
	padding: 10px 12px;
	background: var(--cw-gr-mist);
	border-radius: 6px;
}
.cw-gr-cost-line {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #45596e;
	padding: 6px 0;
	gap: 14px;
	line-height: 1.6;
}
.cw-gr-cost-line strong { color: var(--cw-gr-navy); font-weight: 600; white-space: nowrap; }
.cw-gr-cost-note { font-size: 14px; color: #7b8a99; margin: 10px 0 0; line-height: 1.85; }

.cw-gr-grand-total {
	background: var(--cw-gr-navy);
	color: #fff;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.cw-gr-grand-total-label { font-size: 15px; font-weight: 600; line-height: 1.6; }
.cw-gr-grand-total-label span { display: block; font-size: 14px; font-weight: 400; color: #c3d0e0; margin-top: 6px; line-height: 1.6; }
.cw-gr-grand-total-value { font-size: 24px; font-weight: 700; color: var(--cw-gr-orange); line-height: 1.4; }

@media (max-width: 767px) {
	.cw-gr-modal { padding: 24px 18px; }
	.cw-gr-gantt-hint { display: block; }
	.cw-gr-service-cost { text-align: left; }
	.cw-gr-grand-total-value { font-size: 18px; }
}
.cw-gr-gantt-hint {
	display: none;
	font-size: 14px;
	color: #8a9bb0;
	margin: 0 0 10px;
	line-height: 1.6;
}

/* -------------------- CTA -------------------- */
.cw-gr-cta {
	text-align: center;
	background: var(--cw-gr-mist);
	border-radius: 10px;
	padding: 32px 24px;
	margin: 28px 0;
}
.cw-gr-cta-title { font-size: 19px; font-weight: 700; color: var(--cw-gr-navy); margin: 0 0 8px; }
.cw-gr-cta-copy { font-size: 14px; color: #555; line-height: 1.7; margin: 0 0 20px; }
.cw-gr-cta-btn {
	display: inline-block;
	background: var(--cw-gr-orange);
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	padding: 16px 40px;
	border-radius: 8px;
}
.cw-gr-cta-btn:hover { background: var(--cw-gr-orange-hover); }

.cw-gr-post-submit-status {
	text-align: center;
	font-size: 14px;
	color: #777;
	margin-top: 18px;
	line-height: 1.7;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* ==========================================================================
   v1.2.0:表單細項輸入 + 預算充足度評估
   ========================================================================== */

/* 數字輸入 + 單位後綴 */
.cw-gr-input-group { display: flex; align-items: center; gap: 8px; }
.cw-gr-input-group input[type="number"] { flex: 1; min-width: 0; }
.cw-gr-input-suffix { font-size: 14px; color: #666; white-space: nowrap; }

/* 管道複選清單 */
.cw-gr-service-list {
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid #e3eaf0;
	border-radius: 8px;
	padding: 10px 12px;
	background: #fbfcfd;
}
.cw-gr-service-option { padding: 4px 0; border-bottom: 1px solid #f0f4f7; }
.cw-gr-service-option:last-child { border-bottom: none; }
.cw-gr-service-qty {
	margin: 6px 0 8px 24px;
	padding: 8px 10px;
	background: var(--cw-gr-mist);
	border-radius: 6px;
}
.cw-gr-service-qty label {
	font-size: 12px !important;
	font-weight: 500 !important;
	color: #56697d !important;
	margin-bottom: 4px !important;
}
.cw-gr-service-qty input { font-size: 14px !important; padding: 6px 10px !important; }

/* 預算充足度區塊 */
.cw-gr-verdict {
	border: 2px solid;
	border-radius: 12px;
	padding: 20px 22px;
	margin-bottom: 28px;
	background: #fff;
}
.cw-gr-verdict-head {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.cw-gr-verdict-badge {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 9px 20px;
	border-radius: 6px;
	white-space: nowrap;
	line-height: 1.5;
}
.cw-gr-verdict-nums { font-size: 14px; color: #55677a; line-height: 1.9; }
.cw-gr-verdict-nums strong { color: var(--cw-gr-navy); font-size: 15px; }
.cw-gr-verdict-nums span { color: #8a9bb0; }
.cw-gr-verdict-gap { font-size: 14px; color: #C62828; margin: 0 0 12px; line-height: 1.7; }
.cw-gr-verdict-gap strong { font-size: 16px; }
.cw-gr-verdict-message {
	font-size: 15px;
	line-height: 2.0;
	color: #445566;
	margin: 0;
}
.cw-gr-verdict-years {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	flex-wrap: wrap;
}
.cw-gr-verdict-year {
	flex: 1;
	min-width: 150px;
	border: 1px solid #e3eaf0;
	border-radius: 8px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.cw-gr-verdict-year-label { font-size: 14px; font-weight: 700; color: var(--cw-gr-navy); line-height: 1.6; }
.cw-gr-verdict-year-badge {
	font-size: 14px;
	font-weight: 700;
	border: 1px solid;
	border-radius: 4px;
	padding: 4px 10px;
	line-height: 1.5;
}
.cw-gr-verdict-year-need { font-size: 14px; color: #8a9bb0; width: 100%; margin-top: 4px; line-height: 1.6; }

.cw-gr-service-flag {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #6a7d90;
	background: #eef2f6;
	border-radius: 4px;
	padding: 3px 10px;
	line-height: 1.5;
	margin-left: 4px;
	vertical-align: middle;
}

@media (max-width: 767px) {
	.cw-gr-verdict { padding: 16px; }
	.cw-gr-verdict-badge { font-size: 14px; padding: 6px 14px; }
	.cw-gr-verdict-year { min-width: 100%; }
}


/* ==========================================================================
   官網基礎診斷
   ========================================================================== */
.cw-gr-website-box {
	border: 2px solid;
	border-radius: 12px;
	padding: 20px 22px;
	margin-bottom: 22px;
	background: #fff;
}
.cw-gr-website-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cw-gr-website-badge {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 8px 18px;
	border-radius: 6px;
	line-height: 1.5;
}
.cw-gr-website-domain { font-size: 14px; color: #56697d; line-height: 1.6; }
.cw-gr-website-metrics { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cw-gr-website-metric {
	flex: 1;
	min-width: 110px;
	background: var(--cw-gr-mist);
	border-radius: 8px;
	padding: 12px 14px;
	text-align: center;
}
.cw-gr-website-metric strong { display: block; font-size: 20px; color: var(--cw-gr-navy); line-height: 1.3; }
.cw-gr-website-metric span { font-size: 14px; color: #7b8a99; line-height: 1.5; display: block; margin-top: 4px; }
.cw-gr-website-message { font-size: 15px; line-height: 2.0; color: #445566; margin: 0; }

@media (max-width: 767px) {
	.cw-gr-website-box { padding: 16px; }
	.cw-gr-website-metric { min-width: calc(50% - 5px); }
}


/* 服務群組(電商平台)選擇區 */
.cw-gr-group-block {
	background: #fff;
	border: 1px solid #d6dee6;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 14px;
}
.cw-gr-group-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--cw-gr-navy);
	margin: 0 0 10px;
}

/* B2C 平台適配性警語 */
.cw-gr-b2c-warn {
	border: 2px solid;
	border-radius: 12px;
	padding: 18px 20px;
	margin-bottom: 22px;
	background: #fffaf5;
}
.cw-gr-b2c-title { font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.6; }
.cw-gr-b2c-message { font-size: 15px; line-height: 2.0; color: #445566; margin: 0; }


/* 事件型甘特區塊(新聞稿、展會):單季獨立方塊 */
.cw-gr-gantt-event {
	border-radius: 5px;
	font-size: 14px;
	justify-content: center;
	margin: 0 4px;
}
/* 平均價 */
.cw-gr-avg {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #c3d0e0;
	margin-top: 6px;
	line-height: 1.5;
}
