/* =========================================================
   UNIT 06 期中提案：OnePage 網站企劃工作坊（前綴 wp-）
   需搭配 web-neo.css + web-unit.css（.wu-light 白底變數）
   ========================================================= */

/* ---------- 共用小元件 ---------- */
.wp-btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--nx-sans); font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 10px; border: 1.5px solid #0b0d14; background: #0b0d14; color: #c6ff3d; cursor: pointer; transition: all .2s var(--nx-ease); line-height: 1.3; white-space: nowrap; }
.wp-btn:hover { box-shadow: 0 0 0 4px rgba(61, 122, 0, .16), 0 10px 22px -10px rgba(11, 13, 20, .5); transform: translateY(-1px); }
.wp-btn.ghost { background: #fff; color: #141a2e; border-color: var(--nx-line); }
.wp-btn.ghost:hover { border-color: #3d7a00; color: #2f6300; box-shadow: none; }
.wp-btn.sm { font-size: 12.5px; padding: 6px 11px; border-radius: 8px; }
.wp-btn:disabled { opacity: .4; pointer-events: none; }
.wp-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.wp-row.wp-center { justify-content: center; }
.wp-note { font-size: 13.5px; color: var(--nx-dim); font-family: var(--nx-mono); }
.wp-note .ok { color: #3d7a00; }
.wu-main p.wp-hint, .wp-hint { font-size: 14.5px !important; line-height: 1.8 !important; color: var(--nx-dim) !important; margin: 0 0 12px !important; }
.wp-lbl { display: block; font-size: 13.5px; font-weight: 700; color: #141a2e; margin: 12px 0 6px; }
.wp-lbl small { font-weight: 500; color: var(--nx-faint); font-family: var(--nx-mono); font-size: 11.5px; margin-left: 4px; }
.wp-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.wp-pills button { font-family: var(--nx-sans); font-size: 13.5px; padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--nx-line); background: #fff; color: #2b3350; cursor: pointer; transition: all .18s; }
.wp-pills button:hover { border-color: #3d7a00; color: #2f6300; }
.wp-pills button[aria-pressed="true"] { background: #0b0d14; border-color: #0b0d14; color: #c6ff3d; font-weight: 700; }
.wp-pvbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--nx-mono); font-size: 12px; color: var(--nx-dim); margin-bottom: 8px; }
.wp-pvbar i { color: #3d7a00; }

/* ---------- 完成度 ---------- */
.wp-meter { border: 1px solid var(--nx-line); border-radius: 18px; background: #fff; padding: 20px 22px; margin: 6px 0 26px; box-shadow: 0 14px 34px -22px rgba(20, 30, 80, .4); position: relative; overflow: hidden; }
.wp-meter::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #3a63e0, #3d7a00, #c6ff3d); }
.wp-meter-hd { display: flex; justify-content: space-between; align-items: baseline; }
.wp-meter-hd b { font-family: var(--nx-display); font-size: 18px; color: #0b1020; display: flex; gap: 8px; align-items: center; } .wp-meter-hd b i { color: #3d7a00; }
.wp-meter-hd span { font-family: var(--nx-display); font-size: 30px; font-weight: 700; color: #3d7a00; letter-spacing: -.02em; }
.wp-meter-bar { height: 8px; border-radius: 8px; background: #e1e5f0; overflow: hidden; margin: 8px 0 14px; }
.wp-meter-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3a63e0, #3d7a00); transition: width .5s var(--nx-ease); }
.wp-meter-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 640px) { .wp-meter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wp-meter-list a { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; color: var(--nx-dim) !important; text-decoration: none !important; border: 1px dashed var(--nx-line); transition: all .2s; }
.wp-meter-list a:hover { border-color: #3d7a00; color: #2f6300 !important; }
.wp-meter-list li.ok a { border-style: solid; border-color: rgba(61, 122, 0, .35); background: #eef6dc; color: #1f3d00 !important; font-weight: 700; }
.wp-meter-list li.ok i { color: #3d7a00; }
.wp-meter-ft { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; border-top: 1px solid var(--nx-line); padding-top: 12px; font-size: 13px; color: var(--nx-dim); line-height: 1.7; }
.wp-meter-ft > span:first-child { flex: 1 1 280px; } .wp-meter-ft strong { color: #0b1020; }
.wp-meter-ft .grp { display: flex; gap: 6px; flex-wrap: wrap; }
.wp-meter-ft .wp-btn { font-size: 12.5px; padding: 6px 11px; }

/* ---------- 題目發想器 ---------- */
.wp-ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.wp-ideas:empty { display: none; }
@media (max-width: 700px) { .wp-ideas { grid-template-columns: 1fr; } }
.wp-idea { border: 1px solid var(--nx-line); border-radius: 14px; padding: 14px 16px; background: linear-gradient(160deg, #f8fbef, #fff 60%); animation: wuPop .35s var(--nx-ease); display: flex; flex-direction: column; gap: 4px; }
.wp-idea .tp { font-family: var(--nx-mono); font-size: 11px; color: #3d7a00; letter-spacing: .06em; }
.wp-idea b { font-family: var(--nx-display); font-size: 17px; color: #0b1020; }
.wu-main .wp-idea p { font-size: 14px !important; line-height: 1.7 !important; color: var(--nx-dim) !important; margin: 0 0 8px !important; flex: 1; }
.wp-idea .wp-btn { align-self: flex-start; }

/* ---------- 題目健檢 ---------- */
.wp-health { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; }
@media (max-width: 760px) { .wp-health { grid-template-columns: 1fr; } }
.wp-hctrl { display: grid; gap: 12px; }
.wp-hrow { display: grid; grid-template-columns: minmax(0, 1fr) 130px 22px; gap: 12px; align-items: center; }
.wp-hrow b { display: block; font-size: 14.5px; color: #0b1020; } .wp-hrow span { display: block; font-size: 12.5px; color: var(--nx-dim); line-height: 1.5; }
.wp-hrow em { font-style: normal; font-family: var(--nx-mono); font-weight: 700; color: #3d7a00; text-align: right; }
.wp-hrow input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #d62c7e, #f2a541, #3d7a00); outline: none; }
.wp-hrow input[type=range].unset { filter: grayscale(1); opacity: .45; }
.wp-hrow input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #0b0d14; cursor: grab; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.wp-hrow input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #0b0d14; cursor: grab; }
.wp-hout { text-align: center; }
.wp-gauge { position: relative; width: 190px; margin: 0 auto 4px; }
.wp-gauge svg { width: 100%; display: block; }
.wp-gauge path { fill: none; stroke-width: 11; stroke-linecap: round; }
.wp-gauge .bg { stroke: #e1e5f0; } .wp-gauge .fg { stroke: url(#none); stroke: #3d7a00; stroke-dasharray: 158; stroke-dashoffset: 158; transition: stroke-dashoffset .5s var(--nx-ease); }
.wp-gauge b { position: absolute; left: 0; right: 0; bottom: 4px; font-family: var(--nx-display); font-size: 36px; color: #0b1020; line-height: 1; }
.wp-gauge small { position: absolute; left: 0; right: 0; bottom: -14px; font-family: var(--nx-mono); font-size: 11px; color: var(--nx-faint); }
.wp-hout .wu-verdict { margin-top: 18px; font-size: 16px; }
.wp-hout .wp-hint { margin-top: 6px !important; text-align: left; }

/* ---------- 企劃工作台 ---------- */
.wp-bench { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .wp-bench { grid-template-columns: 1fr; } }
.wp-form .wu-stepcard { margin: 0; }
.wp-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.wp-f { grid-column: 1 / -1; position: relative; }
.wp-f.half { grid-column: auto; }
.wp-f .wu-input { font-family: var(--nx-sans); font-size: 15px; padding: 10px 12px; }
.wp-f textarea.wu-input { resize: vertical; line-height: 1.7; min-height: 52px; }
.wp-f select.wu-input { cursor: pointer; }
.wp-cnt { display: block; text-align: right; font-family: var(--nx-mono); font-size: 11.5px; color: var(--nx-faint); margin-top: 3px; }
.wp-cnt.ok { color: #3d7a00; }
.wp-mini { max-width: 260px; font-size: 13.5px !important; padding: 7px 11px !important; }
.wp-tipbox { margin-top: 16px; border-radius: 12px; background: #f4f7ee; border: 1px dashed rgba(61, 122, 0, .35); padding: 12px 16px; font-size: 14px; line-height: 1.75; color: #2b3350; }
.wp-tipbox > b { display: flex; gap: 6px; align-items: center; color: #2f6300; font-size: 13.5px; }
.wp-tipbox ul { margin: 6px 0 0; padding-left: 20px; } .wp-tipbox li { margin-bottom: 2px; }
.wp-ex { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(61, 122, 0, .2); animation: wuPop .3s var(--nx-ease); }
.wp-ex > b { display: flex; gap: 6px; align-items: center; color: #0b6da8; font-size: 13.5px; }
.wp-ex dl { margin: 8px 0 10px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; }
.wp-ex dt { font-size: 12.5px; color: var(--nx-dim); font-weight: 700; } .wp-ex dd { margin: 0; font-size: 13.5px; color: #2b3350; }
.wp-stepbtns { justify-content: space-between; margin-top: 16px; }
.wp-stepbtns #pbNext { margin-left: auto; }
.wp-pvwrap { position: sticky; top: 92px; }
@media (max-width: 1000px) { .wp-pvwrap { top: 120px; } }
@media (max-width: 960px) { .wp-pvwrap { position: static; } }
.wp-saved { color: var(--nx-faint); transition: color .3s; } .wp-saved.flash { color: #3d7a00; }

/* 關鍵字、色彩、字體 */
.wp-pal { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; font-size: 12.5px; color: var(--nx-dim); }
.wp-pal button { display: inline-flex; align-items: center; gap: 0; padding: 4px 8px 4px 4px; border-radius: 8px; border: 1px solid var(--nx-line); background: #fff; cursor: pointer; transition: all .2s; }
.wp-pal button:hover { border-color: #3d7a00; transform: translateY(-1px); }
.wp-pal button i { width: 14px; height: 20px; display: block; } .wp-pal button i:first-child { border-radius: 4px 0 0 4px; } .wp-pal button i:nth-child(5) { border-radius: 0 4px 4px 0; }
.wp-pal button em { font-style: normal; font-size: 12px; color: #2b3350; margin-left: 6px; }
.wp-colors { display: grid; gap: 6px; }
.wp-crow { display: grid; grid-template-columns: 42px minmax(0, 1fr) 104px; gap: 10px; align-items: center; padding: 6px 8px; border: 1px solid var(--nx-line); border-radius: 10px; background: #fafbfd; }
.wp-crow input[type=color] { width: 42px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px; }
.wp-crow input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .wp-crow input[type=color]::-webkit-color-swatch { border: 1px solid rgba(0, 0, 0, .15); border-radius: 8px; }
.wp-crow b { display: block; font-size: 13.5px; color: #0b1020; } .wp-crow small { display: block; font-size: 11.5px; color: var(--nx-dim); line-height: 1.45; }
.wp-crow .hex { font-family: var(--nx-mono) !important; font-size: 13px !important; padding: 6px 8px !important; text-transform: lowercase; }
.wp-contrast { margin-top: 10px; display: grid; gap: 6px; }
.wp-contrast .hd { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--nx-dim); font-family: var(--nx-mono); }
.wp-contrast > div:not(.hd) { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 18px; gap: 10px; align-items: center; font-size: 13.5px; }
.wp-contrast .sw { border-radius: 6px; padding: 4px 0; text-align: center; font-weight: 700; font-size: 13px; border: 1px solid rgba(0, 0, 0, .1); }
.wp-contrast b { color: #2b3350; font-weight: 500; } .wp-contrast em { font-style: normal; font-family: var(--nx-mono); font-size: 12.5px; }
.wp-contrast .ok i { color: #3d7a00; } .wp-contrast .bad i, .wp-contrast .bad em { color: #d62c7e; }
.wp-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .wp-fonts, .wp-fgrid { grid-template-columns: 1fr; } }
.wp-fonts label span { display: block; font-size: 12.5px; color: var(--nx-dim); margin-bottom: 4px; }
.wp-fontpv { margin-top: 10px; border: 1px solid var(--nx-line); border-radius: 12px; padding: 14px 16px; background: #fafbfd; }
.wp-fontpv .h { font-size: 26px; font-weight: 700; color: #0b1020; line-height: 1.3; margin-bottom: 6px; }
.wu-main .wp-fontpv p { margin: 0 !important; font-size: 15px !important; line-height: 1.8 !important; color: #2b3350 !important; }

/* 企劃卡 */
.wp-card { border-radius: 18px; overflow: hidden; background: var(--c-bg); color: var(--c-text); font-family: var(--f-body); box-shadow: 0 24px 50px -28px rgba(20, 30, 80, .55); border: 1px solid rgba(0, 0, 0, .08); transition: background .3s; }
.wp-card .ph { opacity: .45; font-style: italic; }
.pc-top { background: var(--c-main); color: var(--c-on); padding: 22px 22px 20px; position: relative; overflow: hidden; }
.pc-top::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -50px; top: -60px; background: var(--c-sub); opacity: .35; }
.pc-type { font-family: var(--nx-mono); font-size: 11px; letter-spacing: .08em; opacity: .8; position: relative; z-index: 1; }
.pc-top h4 { font-family: var(--f-head); font-size: 26px; font-weight: 700; margin: 4px 0 4px; color: inherit; line-height: 1.25; position: relative; z-index: 1; }
.pc-slogan { margin: 0 0 12px !important; font-size: 14.5px !important; color: inherit !important; opacity: .9; position: relative; z-index: 1; font-family: var(--f-head); }
.pc-btn { display: inline-block; background: var(--c-acc); color: var(--c-onacc); font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; position: relative; z-index: 1; }
.pc-body { padding: 16px 20px 18px; }
.wu-main .pc-one { font-size: 14px !important; line-height: 1.7 !important; color: var(--c-text) !important; margin: 0 0 10px !important; padding: 8px 12px; border-left: 3px solid var(--c-acc); background: rgba(127, 127, 127, .07); border-radius: 0 8px 8px 0; }
.pc-sec { margin-top: 12px; }
.pc-sec h5 { font-family: var(--f-head); font-size: 13px; font-weight: 700; margin: 0 0 5px; color: var(--c-main); letter-spacing: .04em; }
.pc-sec ol { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.65; }
.pc-persona { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(127, 127, 127, .08); }
.pc-persona .av { width: 38px; height: 38px; border-radius: 50%; background: var(--c-sub); color: var(--c-text); display: grid; place-items: center; font-weight: 700; flex: none; font-family: var(--f-head); }
.pc-persona b { font-size: 14px; display: block; } .pc-persona small { font-size: 12px; opacity: .75; display: block; }
.wu-main .pc-persona p { margin: 3px 0 0 !important; font-size: 13px !important; line-height: 1.6 !important; color: var(--c-text) !important; }
.pc-kw { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.pc-kw span { font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--c-main); color: var(--c-main); }
.pc-sw { display: flex; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .1); }
.pc-sw i { flex: 1; height: 34px; position: relative; } .pc-sw i em { position: absolute; bottom: -18px; left: 0; right: 0; font-style: normal; font-family: var(--nx-mono); font-size: 9.5px; color: var(--c-text); opacity: .7; text-align: center; }
.pc-sw { margin-bottom: 18px; }
.pc-blocks { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12px; }
.pc-blocks span { padding: 2px 8px; border-radius: 6px; background: rgba(127, 127, 127, .12); }
.pc-blocks i { font-size: 10px; opacity: .5; }

/* ---------- 區塊線框 ---------- */
.wp-lib { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.wp-lib button { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding: 6px 10px 6px 9px; border-radius: 9px; border: 1px solid var(--nx-line); background: #fff; color: #2b3350; cursor: pointer; transition: all .18s; }
.wp-lib button i { color: #3a63e0; } .wp-lib button span { font-family: var(--nx-mono); color: #3d7a00; font-weight: 700; }
.wp-lib button:hover { border-color: #3d7a00; background: #f4f9ea; transform: translateY(-1px); }
.wp-laygrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 6px; }
@media (max-width: 900px) { .wp-laygrid { grid-template-columns: 1fr; } }
.wp-blocks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; counter-reset: bl; }
.wp-blocks li { counter-increment: bl; display: grid; grid-template-columns: 18px 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 8px; border: 1.5px solid var(--nx-line); border-radius: 12px; background: #fff; transition: border-color .2s, background .2s, opacity .2s; }
.wp-blocks li.empty { display: block; text-align: center; color: var(--nx-faint); font-size: 14px; padding: 18px; border-style: dashed; }
.wp-blocks li.sel { border-color: #3d7a00; background: #f6fbec; }
.wp-blocks li.drag { opacity: .4; } .wp-blocks li.over { border-color: #3a63e0; border-style: dashed; }
.wp-blocks .hdl { cursor: grab; color: var(--nx-faint); font-size: 16px; touch-action: none; }
.wp-blocks .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #e9eeff; color: #2f55d4; position: relative; }
.wp-blocks .ic::after { content: counter(bl); position: absolute; top: -6px; left: -6px; width: 15px; height: 15px; border-radius: 50%; background: #0b0d14; color: #c6ff3d; font-family: var(--nx-mono); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.wp-blocks .bd { min-width: 0; display: grid; gap: 2px; }
.wp-blocks input { border: 0; background: transparent; outline: 0; width: 100%; padding: 2px 4px; border-radius: 5px; font-family: var(--nx-sans); }
.wp-blocks input:focus { background: #f0f3fa; }
.wp-blocks input.t { font-weight: 700; font-size: 14px; color: #0b1020; } .wp-blocks input.d { font-size: 12.5px; color: var(--nx-dim); }
.wp-blocks .ops { display: flex; gap: 2px; }
.wp-blocks .ops button { width: 26px; height: 26px; border-radius: 7px; border: 0; background: transparent; color: var(--nx-dim); cursor: pointer; display: grid; place-items: center; }
.wp-blocks .ops button:hover { background: #eef1f8; color: #0b1020; } .wp-blocks .ops button[data-op=rm]:hover { background: #fde5ef; color: #d62c7e; }
.wp-blocks .ops button:disabled { opacity: .25; pointer-events: none; }
.wp-laywarn { display: grid; gap: 6px; margin-top: 10px; }
.wp-laywarn div { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.6; padding: 8px 11px; border-radius: 9px; }
.wp-laywarn .ok { background: #eaf6d6; color: #1f3d00; } .wp-laywarn .warn { background: #fff6dc; color: #6b4b00; } .wp-laywarn .bad { background: #fde5ef; color: #8a1550; }
.wp-dev button { flex: none; padding: 5px 10px; font-size: 12px; }
.wp-wfstage { position: relative; background: repeating-linear-gradient(45deg, #eef1f7, #eef1f7 8px, #e8ecf4 8px, #e8ecf4 16px); border-radius: 14px; padding: 14px; max-height: 560px; overflow-y: auto; border: 1px solid var(--nx-line); }
.wp-wf { margin: 0 auto; background: var(--c-bg); color: var(--c-text); border-radius: 10px; overflow: hidden; box-shadow: 0 16px 34px -18px rgba(20, 30, 80, .5); transition: max-width .4s var(--nx-ease); max-width: 100%; position: relative; }
.wp-wf.mob { max-width: 240px; border-radius: 22px; border: 6px solid #0b0d14; }
.wf-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: var(--c-bg); border-bottom: 1px solid rgba(127, 127, 127, .2); position: sticky; top: 0; z-index: 2; }
.wf-nav b { font-family: var(--f-head); font-size: 13px; color: var(--c-main); }
.wf-nav span { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .wf-nav a { font-size: 10.5px; color: var(--c-text) !important; opacity: .75; text-decoration: none !important; }
.wf-sec { position: relative; padding: 18px 14px 14px; border-bottom: 1px dashed rgba(127, 127, 127, .3); cursor: pointer; transition: box-shadow .2s; }
.wf-sec:hover { box-shadow: inset 0 0 0 2px rgba(58, 99, 224, .4); }
.wf-sec.sel { box-shadow: inset 0 0 0 3px #3d7a00; }
.wf-tag { position: absolute; top: 3px; left: 6px; font-family: var(--nx-mono); font-size: 9px; color: var(--c-text); opacity: .5; }
.wf-h { display: block; text-align: center; font-family: var(--f-head); font-size: 13px; color: var(--c-main); margin-bottom: 8px; }
.wf-sec .ln { display: block; height: 6px; border-radius: 4px; background: currentColor; opacity: .18; margin: 5px 0; }
.wf-sec .ln.h { opacity: .45; height: 8px; } .wf-sec .ln.on { background: var(--c-on); opacity: .6; margin: 6px auto; }
.wf-sec .im { display: grid; place-items: center; background: rgba(127, 127, 127, .18); border-radius: 6px; aspect-ratio: 4 / 3; color: rgba(127, 127, 127, .8); font-size: 14px; }
.wf-sec .im.sm { aspect-ratio: 16 / 9; } .wf-sec .im.map { aspect-ratio: 4 / 3; color: var(--c-acc); font-size: 20px; }
.wf-sec .bt { display: inline-block; background: var(--c-acc); color: var(--c-onacc); font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.wf-hero { background: var(--c-main); color: var(--c-on); margin: -18px -14px -14px; padding: 34px 16px 28px; text-align: center; }
.wf-hero .tt { display: block; font-family: var(--f-head); font-size: 19px; line-height: 1.3; }
.wp-wf.mob .wf-hero .tt { font-size: 15px; }
.wf-2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; align-items: center; }
.wf-n { display: grid; gap: 8px; } .wf-n.c2 { grid-template-columns: repeat(2, 1fr); } .wf-n.c3 { grid-template-columns: repeat(3, 1fr); } .wf-n.c4 { grid-template-columns: repeat(4, 1fr); }
.wf-n .cd { border: 1px solid rgba(127, 127, 127, .25); border-radius: 7px; padding: 8px; text-align: center; font-size: 13px; color: var(--c-main); }
.wf-n.c2 .cd { text-align: left; }
.wf-n .pr { display: block; font-family: var(--nx-mono); font-size: 10px; color: var(--c-acc); font-weight: 700; }
.wf-n .tm { text-align: center; } .wf-n .tm .av { display: block; width: 70%; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 4px; background: rgba(127, 127, 127, .2); }
.wf-tl { border-left: 2px solid var(--c-main); margin-left: 8px; padding-left: 14px; display: grid; gap: 8px; }
.wf-tl > div { position: relative; } .wf-tl .dot { position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-acc); }
.wf-vid { aspect-ratio: 16 / 9; background: #111; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 26px; }
.wf-faq { display: grid; gap: 5px; } .wf-faq > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid rgba(127, 127, 127, .25); border-radius: 6px; padding: 4px 8px; } .wf-faq .ln { flex: 1; margin: 0; } .wf-faq i { font-size: 11px; opacity: .6; }
.wf-form { display: grid; gap: 6px; max-width: 75%; margin: 0 auto; } .wf-form .fi { height: 16px; border: 1px solid rgba(127, 127, 127, .35); border-radius: 5px; background: rgba(255, 255, 255, .4); } .wf-form .fi.tall { height: 36px; } .wf-form .bt { justify-self: center; }
.wf-footer { background: #15171f; color: #fff; padding: 14px; border-bottom: 0; } .wf-footer .wf-tag { color: #fff; }
.wf-foot { display: grid; justify-items: center; } .wf-foot .ln { background: #fff; opacity: .35; }
/* 手機版：多欄改成單欄／兩欄 */
.wp-wf.mob .wf-2 { grid-template-columns: 1fr; }
.wp-wf.mob .wf-n.c3:not(.g), .wp-wf.mob .wf-n.c2 { grid-template-columns: 1fr; }
.wp-wf.mob .wf-n.g, .wp-wf.mob .wf-n.c4 { grid-template-columns: repeat(2, 1fr); }
.wp-wf.mob .wf-form { max-width: 100%; }
.wp-lay .wu-code pre { max-height: 360px; }

/* ---------- 時程表 ---------- */
.wp-gantt-wrap { overflow-x: auto; border: 1px solid var(--nx-line); border-radius: 14px; background: #fff; }
.wp-gantt { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 13px; }
.wp-gantt th { font-family: var(--nx-mono); font-size: 11.5px; font-weight: 600; color: #3d7a00; background: #eef3e4; padding: 8px 2px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--nx-line); }
.wp-gantt th:first-child { text-align: left; padding-left: 12px; min-width: 190px; }
.wp-gantt th small { display: block; font-size: 9.5px; color: #d62c7e; font-weight: 700; } .wp-gantt th.fin small { color: #0b6da8; }
.wp-gantt th.mid { background: #fde5ef; } .wp-gantt th.fin { background: #e3f1fb; }
.wp-gantt td { padding: 3px 0; border-bottom: 1px solid #eef0f5; text-align: center; }
.wp-gantt td:first-child { padding: 3px 6px 3px 8px; }
.wp-gantt td input { width: 100%; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 5px 6px; font-family: var(--nx-sans); font-size: 13px; color: #0b1020; outline: 0; }
.wp-gantt td input:hover { border-color: var(--nx-line); } .wp-gantt td input:focus { border-color: #3d7a00; background: #f8fbf2; }
.wp-gantt td button { width: 100%; height: 26px; border: 0; background: transparent; cursor: pointer; display: block; position: relative; }
.wp-gantt td button:hover { background: #eef1f8; }
.wp-gantt td button.on { background: linear-gradient(90deg, #3a63e0, #3d7a00); background-size: 1300% 100%; }
.wp-gantt td button.on { background: #3d7a00; margin: 0; }
.wp-gantt td button.on.l { border-radius: 8px 0 0 8px; margin-left: 3px; width: calc(100% - 3px); } .wp-gantt td button.on.r { border-radius: 0 8px 8px 0; width: calc(100% - 3px); } .wp-gantt td button.on.l.r { border-radius: 8px; width: calc(100% - 6px); }
.wp-gantt tbody tr:hover td { background: #fafbfd; }
.wp-gantt td button.rm { width: 26px; height: 26px; border-radius: 7px; color: var(--nx-faint); margin: 0 4px; } .wp-gantt td button.rm:hover { background: #fde5ef; color: #d62c7e; }
.wp-gantt tfoot td { font-family: var(--nx-mono); font-size: 11px; color: var(--nx-faint); padding: 6px 0; border-bottom: 0; }
.wp-gantt tfoot td:first-child { text-align: left; padding-left: 12px; }
.wp-gantt .ld { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; } .wp-gantt .ld:not(:empty) { background: #eef1f8; color: #2b3350; } .wp-gantt .ld.hi { background: #fde5ef; color: #d62c7e; font-weight: 700; }

/* ---------- 企劃書逐頁 ---------- */
.wp-pages { border: 1px solid var(--nx-line); border-radius: 18px; background: #fff; overflow: hidden; margin: 14px 0 22px; box-shadow: 0 14px 34px -22px rgba(20, 30, 80, .4); }
.wp-pgnav { display: flex; overflow-x: auto; gap: 4px; padding: 10px; background: #f4f6fb; border-bottom: 1px solid var(--nx-line); }
.wp-pgnav button { flex: none; font-size: 13px; padding: 7px 12px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--nx-dim); cursor: pointer; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.wp-pgnav button span { font-family: var(--nx-mono); font-size: 11px; color: var(--nx-faint); }
.wp-pgnav button:hover { background: #fff; color: #0b1020; }
.wp-pgnav button[aria-selected="true"] { background: #0b0d14; color: #c6ff3d; font-weight: 700; } .wp-pgnav button[aria-selected="true"] span { color: #c6ff3d; }
.wp-pg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 18px 20px 20px; animation: wuPop .3s var(--nx-ease); }
@media (max-width: 820px) { .wp-pg { grid-template-columns: 1fr; } }
.wp-pg .wu-fig { margin: 0 0 12px; } .wp-pg .wu-fig img { width: 100%; }
.wp-pg .k { display: flex; gap: 6px; align-items: center; font-size: 14px; margin: 8px 0 4px; } .wp-pg .k.ok { color: #2f6300; } .wp-pg .k.bad { color: #b0235f; }
.wp-pg ul { margin: 0 0 6px; padding-left: 20px; font-size: 14px; line-height: 1.75; color: #2b3350; }
.wp-mine { white-space: pre-wrap; word-break: break-word; margin: 0; font-family: var(--nx-sans); font-size: 14px; line-height: 1.8; color: #1a2140; background: #f7f9f2; border: 1px dashed rgba(61, 122, 0, .4); border-radius: 12px; padding: 14px 16px; min-height: 160px; }
.wu-code pre.wp-md { white-space: pre-wrap; max-height: 380px; font-family: var(--nx-mono); font-size: 12.5px; color: #c3cbe0; }
.wu-code-bar .grp { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 講稿＋計時器 ---------- */
.wp-pitch { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .wp-pitch { grid-template-columns: 1fr; } }
.wp-pitch .wu-tool { margin: 0 0 16px; }
.wp-script { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: sc; }
.wp-script li { counter-increment: sc; border: 1.5px solid var(--nx-line); border-radius: 12px; padding: 8px 12px 6px; transition: all .3s; background: #fff; }
.wp-script li.now { border-color: #3d7a00; background: #f2f9e6; box-shadow: 0 0 0 4px rgba(61, 122, 0, .12); }
.wp-script .hd { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.wp-script .hd b::before { content: counter(sc) " "; font-family: var(--nx-mono); color: #3d7a00; }
.wp-script .hd b { color: #0b1020; } .wp-script .hd span { font-family: var(--nx-mono); font-size: 11px; color: var(--nx-faint); }
.wp-script .hd button { margin-left: auto; font-size: 11.5px; border: 0; background: none; color: #0b6da8; cursor: pointer; }
.wp-script textarea { width: 100%; border: 0; resize: none; outline: 0; background: transparent; font-family: var(--nx-sans); font-size: 14.5px; line-height: 1.75; color: #2b3350; padding: 2px 0; overflow: hidden; }
.wp-timer { text-align: center; position: sticky; top: 100px; }
.wp-clock { font-family: var(--nx-display); font-size: 64px; font-weight: 700; color: #0b1020; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; transition: color .3s; }
.wp-clock.warn { color: #c77700; } .wp-clock.over { color: #d62c7e; animation: wpBlink 1s steps(2) infinite; }
@keyframes wpBlink { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .wp-clock.over { animation: none; } }
.wp-tmbar { height: 6px; border-radius: 6px; background: #e1e5f0; overflow: hidden; margin: 10px 0; } .wp-tmbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3a63e0, #3d7a00); transition: width 1s linear; }
.wu-main p.wp-tmcue { font-size: 14px !important; color: var(--nx-dim) !important; min-height: 48px; margin: 0 0 6px !important; line-height: 1.7 !important; } .wp-tmcue b { color: #2f6300 !important; font-size: 17px; }
.wp-tmlen { margin-top: 12px; }

/* ---------- AI、範例 ---------- */
.wp-ai { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 20px; }
@media (max-width: 820px) { .wp-ai { grid-template-columns: 1fr; } }
.wp-aicard { border: 1px solid var(--nx-line); border-radius: 14px; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 26px -18px rgba(20, 30, 80, .35); }
.wp-aicard .hd { display: flex; gap: 10px; align-items: center; padding: 12px 14px; }
.wp-aicard .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #e9eeff; color: #2f55d4; font-size: 17px; flex: none; }
.wp-aicard .hd b { display: block; font-size: 15px; color: #0b1020; } .wp-aicard .hd small { display: block; font-size: 12px; color: var(--nx-dim); }
.wp-aicard .hd .wp-btn { margin-left: auto; }
.wp-aicard pre { margin: 0; flex: 1; white-space: pre-wrap; font-family: var(--nx-mono); font-size: 12px; line-height: 1.7; color: #c3cbe0; background: #0b0d14; padding: 12px 14px; max-height: 190px; overflow-y: auto; }
.wp-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
@media (max-width: 820px) { .wp-samples { grid-template-columns: 1fr; } }

/* =========================================================
   企劃書／提案簡報產生器、下載中心（web06-deck.js）
   ========================================================= */
.wp-pvbar .grp, .wp-row .grp { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wp-push { margin-left: auto; }
.wp-hout > .wp-btn { margin-top: 4px; }
.wp-btn.is-busy { opacity: .6; cursor: progress; }
.wp-btn.is-busy i { animation: wdSpin 1s linear infinite; }
@keyframes wdSpin { to { transform: rotate(360deg); } }
.wu-code-bar button:disabled { opacity: .5; }

/* 封面資料＋圖片 */
.wd-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 640px) { .wd-who { grid-template-columns: 1fr; } }
.wd-who span { display: block; font-size: 12.5px; font-weight: 700; color: #141a2e; margin-bottom: 4px; }
.wd-who .wu-input { font-family: var(--nx-sans); padding: 9px 12px; }
.wd-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
@media (max-width: 700px) { .wd-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wd-slot { position: relative; text-align: center; }
.wd-slot label { display: grid; place-content: center; gap: 2px; aspect-ratio: 1; border-radius: 14px; border: 2px dashed var(--nx-line); background: #f8f9fc center / cover no-repeat; color: var(--nx-faint); cursor: pointer; transition: all .2s; font-size: 12.5px; }
.wd-slot label i { font-size: 22px; }
.wd-slot label:hover { border-color: #3d7a00; color: #2f6300; background-color: #f4f9ea; }
.wd-slot.has label { border-style: solid; border-color: rgba(18, 28, 64, .2); }
.wd-slot:first-child.has label { background-size: contain; background-color: #fff; }
.wd-slot b { display: block; font-size: 12.5px; color: #2b3350; margin-top: 5px; }
.wd-slot button { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #0b0d14; color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 15px; }
.wd-slot button:hover { background: #d62c7e; }

/* 簡報預覽 */
.wd-deck { border: 1px solid var(--nx-line); border-radius: 18px; background: #fff; padding: 14px; margin: 14px 0 20px; box-shadow: 0 14px 34px -22px rgba(20, 30, 80, .4); }
.wd-bar2 { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.wd-bar2 .wu-seg2 button { flex: none; padding: 7px 12px; font-size: 13px; }
.wd-count { font-family: var(--nx-mono); font-size: 12.5px; color: var(--nx-dim); min-width: 150px; text-align: center; }
.wd-view { background: #e9ecf3; border-radius: 12px; overflow: hidden; }
.wd-stage { position: relative; width: 100%; overflow: hidden; border-radius: 10px; box-shadow: 0 16px 34px -20px rgba(20, 30, 80, .6); }
.wd-stage > .wd-s, .wd-thumbs .tw > .wd-s { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.wd-view:fullscreen { background: #000; display: grid; place-items: center; border-radius: 0; cursor: pointer; }
.wd-view:fullscreen .wd-stage { width: min(100vw, 177.78vh); border-radius: 0; box-shadow: none; }
.wd-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; }
.wd-thumbs button { flex: none; width: 150px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.wd-thumbs .tw { display: block; position: relative; width: 150px; height: 84.4px; overflow: hidden; border-radius: 7px; border: 2px solid transparent; transition: border-color .2s; pointer-events: none; }
.wd-thumbs button:hover .tw { border-color: #9db4ff; }
.wd-thumbs button[aria-current="true"] .tw { border-color: #3d7a00; box-shadow: 0 0 0 3px rgba(61, 122, 0, .2); }
.wd-thumbs em { display: block; font-style: normal; font-size: 11.5px; color: var(--nx-dim); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-thumbs button[aria-current="true"] em { color: #2f6300; font-weight: 700; }
.wd-notes { border-radius: 12px; background: #f4f6fb; padding: 10px 14px; margin-top: 6px; }
.wd-notes b { font-size: 12.5px; color: var(--nx-dim); display: flex; gap: 6px; }
.wu-main .wd-notes p { margin: 4px 0 0 !important; font-size: 14.5px !important; line-height: 1.75 !important; color: #2b3350 !important; }
.wd-exp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--nx-line); margin-top: 14px; padding-top: 14px; }
.wd-exp > b { font-size: 14px; color: #0b1020; margin-right: 4px; display: flex; gap: 6px; } .wd-exp > b i { color: #3d7a00; }

/* 文件版 */
.wd-docrow { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 22px; align-items: center; border: 1px solid var(--nx-line); border-radius: 18px; background: #fff; padding: 18px 20px; margin: 14px 0 20px; box-shadow: 0 14px 34px -22px rgba(20, 30, 80, .4); }
@media (max-width: 560px) { .wd-docrow { grid-template-columns: 1fr; } .wd-docpv { display: none !important; } }
.wd-docpv { aspect-ratio: 1 / 1.414; border-radius: 8px; border: 1px solid var(--nx-line); background: #fff; padding: 12px 10px; display: grid; align-content: start; gap: 7px; box-shadow: 0 10px 22px -12px rgba(20, 30, 80, .45); }
.wd-docpv i { display: block; height: 5px; border-radius: 3px; background: #e1e5f0; }
.wd-docpv i.t { height: 34px; background: linear-gradient(135deg, #3a63e0, #3d7a00); border-radius: 5px; }
.wd-docpv i.s { width: 60%; background: #3d7a00; opacity: .5; }

/* 下載中心 */
.wd-dlall { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; border-radius: 18px; padding: 20px 22px; margin: 6px 0 18px; background: linear-gradient(120deg, #0b0d14, #1b2a6b); color: #c3cbe0; }
.wd-dlall > div { flex: 1 1 320px; } .wd-dlall b { display: flex; gap: 8px; color: #fff; font-family: var(--nx-display); font-size: 18px; margin-bottom: 4px; } .wd-dlall b i { color: #c6ff3d; }
.wd-dlall span { font-size: 14px; line-height: 1.75; }
.wd-dlall .wp-btn { background: #c6ff3d; color: #06070b; border-color: #c6ff3d; }
.wd-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (max-width: 700px) { .wd-dl { grid-template-columns: 1fr; } }
.wd-dl .wu-card { padding: 16px 18px; }
.wd-dl h4 { display: flex; gap: 8px; align-items: center; font-size: 16px !important; margin-bottom: 10px !important; } .wd-dl h4 i { color: #3a63e0; }
.wd-dl .b { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 簡報編輯 ---------- */
.wd-view.is-hidden { position: relative; }
.wd-view.is-hidden::after { content: "已隱藏：不會出現在下載的簡報"; position: absolute; left: 12px; top: 12px; background: #0b0d14; color: #c6ff3d; font-size: 12.5px; font-family: var(--nx-mono); padding: 5px 10px; border-radius: 8px; }
.wd-view.is-hidden .wd-stage { opacity: .45; }
.wd-thumbs button.off .tw { opacity: .35; border-style: dashed; border-color: var(--nx-faint); }
.wd-ops { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; border-top: 1px dashed var(--nx-line); margin-top: 6px; }
.wp-btn.danger:hover { border-color: #d62c7e; color: #d62c7e; }
.wd-edit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 10px; }
@media (max-width: 860px) { .wd-edit { grid-template-columns: 1fr; } }
.wd-panel { border: 1px solid var(--nx-line); border-radius: 14px; background: #fafbfd; padding: 12px 14px; min-width: 0; }
.wd-panel .hd { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 8px; }
.wd-panel .hd b { font-size: 14.5px; color: #0b1020; display: flex; gap: 6px; } .wd-panel .hd b i { color: #3d7a00; }
.wd-panel .hd small { font-size: 12px; color: var(--nx-dim); }
#deckPanel { display: grid; gap: 8px; max-height: 620px; overflow-y: auto; padding-right: 4px; }
.wd-fld { display: block; }
.wd-fld > span { display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: #2b3350; margin-bottom: 3px; }
.wd-fld > span em { font-style: normal; font-weight: 500; font-size: 10.5px; padding: 1px 7px; border-radius: 5px; background: #e3f1fb; color: #0b6da8; }
.wd-fld > span em.o { background: #eef1f8; color: var(--nx-dim); }
.wd-fld .wu-input { font-family: var(--nx-sans); font-size: 14px; padding: 7px 10px; background: #fff; }
.wd-fld textarea.wu-input { resize: vertical; line-height: 1.6; }
.wd-fld.note { border-top: 1px dashed var(--nx-line); padding-top: 8px; margin-top: 2px; }
.wd-fld.note .wu-input { background: #fffdf3; }
.wd-gedit { overflow-x: auto; border: 1px solid var(--nx-line); border-radius: 10px; background: #fff; }
.wd-gedit table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 11px; }
.wd-gedit th { font-family: var(--nx-mono); color: #3d7a00; font-weight: 600; padding: 4px 1px; text-align: center; background: #eef3e4; }
.wd-gedit th:first-child { text-align: left; padding-left: 8px; }
.wd-gedit td { padding: 2px 1px; border-top: 1px solid #eef0f5; text-align: center; }
.wd-gedit td:first-child { min-width: 150px; padding: 2px 4px; }
.wd-gedit td .wu-input { padding: 4px 6px !important; font-size: 12.5px !important; }
.wd-gedit td button { width: 100%; min-width: 20px; height: 22px; border: 0; border-radius: 4px; background: #f1f3f8; cursor: pointer; }
.wd-gedit td button:hover { background: #dfe6f3; } .wd-gedit td button.on { background: #3d7a00; }
.wd-gedit td button.rm { background: transparent; color: var(--nx-faint); font-size: 15px; } .wd-gedit td button.rm:hover { color: #d62c7e; }
.wd-themes button { flex: 1; padding: 7px 4px; font-size: 13px; }
.wd-crows { display: grid; gap: 5px; }
.wd-crow { display: grid; grid-template-columns: 36px 1fr 96px; gap: 8px; align-items: center; }
.wd-crow input[type=color] { width: 36px; height: 30px; border: 0; padding: 0; background: none; cursor: pointer; }
.wd-crow b { font-size: 13px; color: #2b3350; }
.wd-crow .wu-input { font-family: var(--nx-mono) !important; font-size: 12.5px !important; padding: 5px 8px !important; }
.wd-pal { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.wd-pal button { display: inline-flex; align-items: center; padding: 3px 7px 3px 3px; border-radius: 7px; border: 1px solid var(--nx-line); background: #fff; cursor: pointer; }
.wd-pal button:hover { border-color: #3d7a00; }
.wd-pal button i { width: 11px; height: 18px; display: block; } .wd-pal button em { font-style: normal; font-size: 11.5px; color: #2b3350; margin-left: 5px; }
.wd-fsel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .wd-fsel small { display: block; font-size: 11.5px; color: var(--nx-dim); }
.wd-fsel .wu-input { font-size: 13px; padding: 6px 8px; }
.wu-main p.wd-ctr { font-size: 13px !important; line-height: 1.6 !important; margin: 8px 0 0 !important; display: flex; gap: 6px; }
.wu-main p.wd-ctr.ok { color: #2f6300 !important; } .wu-main p.wd-ctr.bad { color: #b0235f !important; }

/* ---------- 套入企劃 ---------- */
.wd-apply { border: 1px solid var(--nx-line); border-radius: 18px; background: #fff; padding: 16px 18px; margin: 12px 0 22px; box-shadow: 0 14px 34px -22px rgba(20, 30, 80, .4); }
.wd-apply .hd { display: grid; gap: 4px; margin-bottom: 10px; }
.wd-apply .hd b { display: flex; gap: 8px; align-items: center; font-size: 16px; color: #0b1020; } .wd-apply .hd b i { color: #3d7a00; }
.wd-apply .hd span { font-size: 13.5px; color: var(--nx-dim); line-height: 1.7; }
.wd-apply ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 760px) { .wd-apply ul { grid-template-columns: 1fr; } }
.wd-apply li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--nx-line); }
.wd-apply li.ok { background: #f4f9ea; border-color: rgba(61, 122, 0, .3); } .wd-apply li.ok > i { color: #3d7a00; }
.wd-apply li.warn { background: #fffaf0; border-color: rgba(199, 119, 0, .3); } .wd-apply li.warn > i { color: #c77700; }
.wd-apply li b { display: block; font-size: 13.5px; color: #0b1020; } .wd-apply li small { display: block; font-size: 12px; color: var(--nx-dim); line-height: 1.5; }
.wd-apply .acts { display: flex; gap: 4px; }
.wd-apply .acts a, .wd-apply .acts button { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--nx-line); background: #fff; color: #2b3350 !important; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.wd-apply .acts a:hover, .wd-apply .acts button:hover { border-color: #3d7a00; color: #2f6300 !important; }
.wd-chk { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--nx-dim); cursor: pointer; }
.wd-chk input { accent-color: #3d7a00; }
.wd-src { font-size: 12.5px; color: var(--nx-dim); background: #eef4fb; border-radius: 8px; padding: 6px 10px; }
.wd-src a { font-weight: 700; }
.wd-mapg { border: 1px solid var(--nx-line); border-radius: 10px; background: #fff; padding: 8px 10px; margin-top: 6px; }
.wd-mapg b { font-size: 12.5px; color: #3d7a00; margin-right: 6px; } .wd-mapg small { font-size: 12.5px; color: #2b3350; }
.wd-mapg .wp-pills { margin-top: 6px; gap: 5px; } .wd-mapg .wp-pills button { font-size: 12.5px; padding: 4px 10px; }
