/* ===== 修改示意標示（R-xxx）===== 本檔僅供示意，廠商正式上線時請勿帶入 */
:root{--amend-done:#ffb300;--amend-pending:#3d8bfd;--amend-removed:#8e44ad;}
.amend-tag{display:inline-flex;align-items:center;gap:6px;font:600 13px/1.3 "Noto Sans TC","Microsoft JhengHei",sans-serif;
  color:#1b1b1b;background:var(--amend-done);border-radius:999px;padding:4px 11px;margin:4px 6px 4px 0;
  box-shadow:0 2px 8px rgba(0,0,0,.25);letter-spacing:0;text-transform:none;white-space:normal;max-width:100%;
  position:relative;z-index:50;vertical-align:middle;text-align:left;cursor:help}
.amend-tag b{background:#1b1b1b;color:#fff;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700;white-space:nowrap}
.amend-tag.amend-pending{background:var(--amend-pending);color:#fff}
.amend-tag.amend-pending b{background:#fff;color:var(--amend-pending)}
.amend-tag.amend-removed{background:var(--amend-removed);color:#fff}
.amend-tag.amend-removed b{background:#fff;color:var(--amend-removed)}
.amend-hl{outline:3px dashed var(--amend-done)!important;outline-offset:4px}
.amend-hl-pending{outline:3px dashed var(--amend-pending)!important;outline-offset:4px}
.amend-tags-abs{position:absolute;left:0;top:calc(100% + 6px);display:flex;flex-wrap:wrap;gap:4px;z-index:60;width:max-content;max-width:70vw}
.amend-rel{position:relative}
.amend-block{display:block;padding:18px 0;text-align:center}
.amend-block-box{border:3px dashed var(--amend-removed);border-radius:16px;padding:22px;margin:10px auto;max-width:1100px;background:rgba(142,68,173,.05)}
body.amend-off .amend-tag,body.amend-off .amend-tags-abs,body.amend-off .amend-block{display:none!important}
body.amend-off .amend-hl,body.amend-off .amend-hl-pending{outline:none!important}
body.amend-off .amend-block-box{display:none!important}

/* 浮動面板 */
#amend-panel{position:fixed;left:16px;bottom:16px;z-index:2147483000;font:14px/1.45 "Noto Sans TC","Microsoft JhengHei",sans-serif;color:#1b1b1b}
#amend-panel .ap-btns{display:flex;gap:8px;flex-wrap:wrap}
#amend-panel button,#amend-panel a.ap-link{all:unset;cursor:pointer;background:#1b1b1b;color:#fff;border-radius:999px;padding:9px 15px;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.3)}
#amend-panel button.ap-on{background:var(--amend-done);color:#1b1b1b}
#amend-panel .ap-list{display:none;margin-bottom:10px;background:#fff;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.3);padding:14px 16px;max-height:60vh;overflow:auto;width:min(420px,calc(100vw - 32px))}
#amend-panel.open .ap-list{display:block}
#amend-panel .ap-list h4{font-size:15px;margin:0 0 8px;color:#1b1b1b}
#amend-panel .ap-item{display:block;padding:7px 8px;border-radius:8px;cursor:pointer;color:#1b1b1b;text-decoration:none}
#amend-panel .ap-item:hover{background:#fff3cd}
#amend-panel .ap-item b{display:inline-block;min-width:52px;color:#b26a00}
#amend-panel .ap-item.p b{color:var(--amend-pending)}
#amend-panel .ap-item.r b{color:var(--amend-removed)}
#amend-panel .ap-legend{font-size:12px;color:#555;margin-top:8px;border-top:1px solid #eee;padding-top:8px}
#amend-panel .ap-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin:0 4px 0 8px;vertical-align:-1px}
.amend-flash{animation:amendFlash 1.6s ease 2}
@keyframes amendFlash{0%,100%{box-shadow:0 2px 8px rgba(0,0,0,.25)}50%{box-shadow:0 0 0 8px rgba(255,179,0,.55)}}

/* ===== 以下為實際修改內容的樣式（廠商可參考） ===== */
/* R-023 語言切換按鈕拿掉箭頭 */
.nice-select.form-select{background-image:none!important;justify-content:center;padding-left:18px;padding-right:18px}

/* R-015 主視覺「航昇船務」滑鼠移上去顯示四家關係企業 */
.slider-title .hs-co{position:relative;display:inline-block;cursor:default;outline:none;
  text-decoration:underline dashed rgba(255,255,255,.55);text-decoration-thickness:2px;text-underline-offset:10px}
.slider-title .hs-co .hs-pop{position:absolute;left:0;top:100%;margin-top:18px;z-index:30;display:flex;flex-direction:column;gap:8px;
  background:rgba(12,16,32,.88);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:16px;padding:16px 22px;
  font-size:20px;line-height:1.35;font-weight:500;letter-spacing:.5px;white-space:nowrap;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.slider-title .hs-co .hs-pop span{color:#fff!important;display:flex;align-items:center;gap:10px}
.slider-title .hs-co .hs-pop span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--tj-color-theme-primary,#e5262b);flex:none}
.slider-title .hs-co:hover .hs-pop,.slider-title .hs-co:focus .hs-pop,.slider-title .hs-co:focus-within .hs-pop{opacity:1;visibility:visible;transform:none}
.hs-co-mobile{display:none}

/* R-027 地圖新增港口 */
.location-indicator.loc-14{top:10%;inset-inline-start:46%}
.location-indicator.loc-15{top:32%;inset-inline-start:76%}

/* R-017～R-021 聯絡頁卡片 */
.amend-contact{display:flex;flex-direction:column;gap:6px}
.amend-contact .ac-row{display:flex!important;gap:10px;align-items:baseline;flex-wrap:wrap}
.amend-contact .ac-l{font-style:normal;font-weight:600;min-width:64px;opacity:.75;flex:none}
.amend-contact .ac-v{user-select:text;-webkit-user-select:text}
.amend-contact .ac-sub{display:block;font-size:.9em;opacity:.8}
.amend-contact a{-webkit-user-drag:none;user-select:text;-webkit-user-select:text}
.amend-contact .ac-map{font-size:.85em;text-decoration:underline;margin-left:4px;white-space:nowrap}
/* 版面微調（示意用） */
.amend-hdr{top:calc(100% + 8px);left:10px;max-width:calc(100vw - 60px)}
.slider-title .hs-co .hs-pop{z-index:300}
.amend-contact,.amend-contact .ac-v,.amend-contact a{font-weight:400}
.amend-contact .ac-l{font-weight:600}
/* R-026 台北卡片標誌：平時紅色，滑鼠移上去（卡片變紅）時轉白 */
.tj-careers:hover .hansen-tp img{filter:brightness(0) invert(1);transition:all .4s ease-in-out}

/* 打勾完成 */
.amend-tag.amend-isdone{display:none!important}
#amend-panel .ap-row{display:flex;align-items:center;gap:6px}
#amend-panel .ap-row .ap-item{flex:1}
#amend-panel .ap-chk{width:18px;height:18px;accent-color:#16a34a;flex:none;cursor:pointer}
#amend-panel .ap-row.done .ap-item{text-decoration:line-through;opacity:.5}
/* R-015 浮出方向改為往右（2026-11-06） */
.slider-title .hs-co .hs-pop{left:100%;top:50%;margin:0 0 0 28px;transform:translate(-8px,-50%)}
.slider-title .hs-co:hover .hs-pop,.slider-title .hs-co:focus .hs-pop,.slider-title .hs-co:focus-within .hs-pop{transform:translate(0,-50%)}
.slider-title .hs-co .hs-pop{top:0;transform:translateX(-8px)}
.slider-title .hs-co:hover .hs-pop,.slider-title .hs-co:focus .hs-pop,.slider-title .hs-co:focus-within .hs-pop{transform:none}
/* 修正：上方選單下拉時，標示標籤不可擋住子選單（2026-11-06） */
.amend-hdr{pointer-events:none;z-index:0;transition:opacity .15s}
.amend-hdr .amend-tag{z-index:auto}
.header-wrapper:has(.has-dropdown:hover) .amend-hdr,.header-wrapper:has(.has-dropdown:focus-within) .amend-hdr{opacity:0}

/* 面板指定的項目 */
.amend-tag.amend-focus{box-shadow:0 0 0 4px #fff,0 0 0 8px var(--amend-done);z-index:70}
.amend-tag.amend-pending.amend-focus{box-shadow:0 0 0 4px #fff,0 0 0 8px var(--amend-pending)}
.amend-tag.amend-removed.amend-focus{box-shadow:0 0 0 4px #fff,0 0 0 8px var(--amend-removed)}
body.amend-embedded #amend-panel .ap-link{display:none}

/* ===== 標示改版（2026-11-06）：低調、像設計稿上的註記 ===== */
:root{--an-ink:#1f2933;--an-navy:#1f3a5f;--an-done:#d99a06;--an-pend:#2f6fb5;--an-rm:#7d4ea3;--an-line:rgba(31,58,95,.22)}
.amend-tag{font:400 12px/1.35 "Noto Sans TC","Microsoft JhengHei",sans-serif;color:var(--an-ink);background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid var(--an-line);border-radius:6px;padding:3px 9px 3px 8px;margin:3px 6px 3px 0;
  box-shadow:0 1px 2px rgba(15,30,60,.08),0 4px 12px rgba(15,30,60,.06);gap:7px;letter-spacing:0;cursor:help}
.amend-tag::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--an-done);flex:none}
.amend-tag.amend-pending::before{background:var(--an-pend)}
.amend-tag.amend-removed::before{background:var(--an-rm)}
.amend-tag b{all:unset;font-weight:700;font-size:11px;letter-spacing:.03em;color:var(--an-navy);font-variant-numeric:tabular-nums}
.amend-tag.amend-pending,.amend-tag.amend-removed{background:rgba(255,255,255,.9);color:var(--an-ink)}
.amend-tag.amend-pending b,.amend-tag.amend-removed b{color:var(--an-navy)}
.amend-tag.amend-removed{color:#5f6b76}
.amend-hl{outline:1px dashed rgba(217,154,6,.75)!important;outline-offset:6px}
.amend-hl-pending{outline:1px dashed rgba(47,111,181,.7)!important;outline-offset:6px}
.amend-block-box{border:1px dashed rgba(125,78,163,.55);border-radius:10px;padding:14px;margin:8px auto;max-width:1100px;
  background:repeating-linear-gradient(135deg,rgba(125,78,163,.06) 0 6px,transparent 6px 14px)}
.amend-block{padding:10px 0}
.amend-tag.amend-focus{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--an-pend),0 6px 20px rgba(47,111,181,.25);z-index:70}
.amend-tag.amend-pending.amend-focus,.amend-tag.amend-removed.amend-focus{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--an-pend),0 6px 20px rgba(47,111,181,.25)}
@keyframes amendFlash{0%,100%{box-shadow:0 1px 2px rgba(15,30,60,.08)}50%{box-shadow:0 0 0 6px rgba(47,111,181,.28)}}
/* 左下角面板 */
#amend-panel{font-size:13px}
#amend-panel button,#amend-panel a.ap-link{background:rgba(255,255,255,.92);color:var(--an-navy);border:1px solid var(--an-line);border-radius:8px;padding:7px 12px;font-weight:600;font-size:12.5px;box-shadow:0 2px 10px rgba(15,30,60,.12);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#amend-panel button:hover,#amend-panel a.ap-link:hover{background:#fff}
#amend-panel button.ap-on{background:var(--an-navy);color:#fff;border-color:var(--an-navy)}
#amend-panel .ap-list{border-radius:12px;box-shadow:0 12px 36px rgba(15,30,60,.22);border:1px solid var(--an-line);font-size:12.5px}
#amend-panel .ap-list h4{font-size:13px;color:var(--an-navy)}
#amend-panel .ap-item b{color:var(--an-navy);font-size:11.5px}
#amend-panel .ap-item.p b,#amend-panel .ap-item.r b{color:var(--an-navy)}
#amend-panel .ap-item:hover{background:rgba(31,58,95,.06)}
#amend-panel .ap-legend i{border-radius:50%}
/* R-015 主視覺的提示底線改細 */
.slider-title .hs-co{text-decoration-color:rgba(255,255,255,.4);text-decoration-thickness:1.5px}
/* 紅底卡片內的白字規則不可蓋過標籤文字 */
.amend-tag,.amend-tag span{color:var(--an-ink)!important}.amend-tag.amend-removed{color:#5f6b76!important}.amend-tag b{color:var(--an-navy)!important}
/* 內嵌在修改面板時，頁內小面板移到右下，避免和左側清單打架 */
body.amend-embedded #amend-panel{left:auto;right:16px;bottom:16px}
body.amend-embedded #amend-panel .ap-btns{justify-content:flex-end}
body.amend-embedded #amend-panel .ap-list{margin-left:auto}

/* ===== 標示再調（2026-11-06）：白底標籤上淡，改成「色碼圖釘＋白色說明」 ===== */
.amend-tag{padding:0 10px 0 0;gap:8px;background:#fff;border:1px solid rgba(31,58,95,.28);box-shadow:0 1px 2px rgba(15,30,60,.12),0 6px 18px rgba(15,30,60,.14);overflow:hidden}
.amend-tag::before{display:none}
.amend-tag b{all:unset;display:inline-flex;align-items:center;align-self:stretch;padding:4px 8px;font-weight:700;font-size:11.5px;letter-spacing:.03em;color:#fff!important;background:var(--an-done);font-variant-numeric:tabular-nums}
.amend-tag.amend-pending b{background:var(--an-pend)}
.amend-tag.amend-removed b{background:var(--an-rm)}
.amend-tag,.amend-tag span{color:#1f2933!important;font-weight:500}
.amend-tag.amend-removed{color:#1f2933!important}
.amend-hl{outline:1.5px dashed rgba(217,154,6,.9)!important;outline-offset:6px}
.amend-hl-pending{outline:1.5px dashed rgba(47,111,181,.9)!important;outline-offset:6px}
.amend-block-box{border:1.5px dashed rgba(125,78,163,.7)}

/* ===== 圖釘模式（2026-11-06）：畫面上只留小圓釘，說明移到浮出提示 ===== */
:root{--pin-done:#39ff14;--pin-pend:#ff2d95;--pin-rm:#9aa3af}
.amend-tag{all:unset;box-sizing:border-box;position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;
  background:var(--pin-done);border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.35),0 4px 12px rgba(0,0,0,.18);cursor:pointer;vertical-align:middle;margin:0 3px;z-index:60;
  font:800 10.5px/1 "Noto Sans TC","Microsoft JhengHei",sans-serif;color:#111!important;letter-spacing:0;font-variant-numeric:tabular-nums;transition:transform .12s}
.amend-tag:hover{transform:scale(1.18);z-index:80}
.amend-tag.amend-pending{background:var(--pin-pend);color:#111!important}
.amend-tag.amend-removed{background:var(--pin-rm);color:#fff!important}
.amend-tag b{all:unset;display:none}
.amend-tag span,.amend-tag::before,.amend-tag::after{display:none}
.amend-tag .pin-n{display:block;color:inherit!important}
.amend-tag.amend-removed .pin-n{color:#fff!important}
/* 標籤容器不佔版面 */
.amend-block{position:relative;height:0!important;padding:0!important;margin:0!important;overflow:visible;z-index:60;text-align:left!important;line-height:0}
.amend-block>.amend-tag{top:-12px}
.amend-block br{display:none}
.amend-block-box{border:0;background:none;padding:0;margin:0;min-height:0}
.amend-block-box::before{content:"";display:block;height:34px;margin:4px auto;max-width:1100px;border:1.5px dashed rgba(154,163,175,.8);border-radius:10px;background:repeating-linear-gradient(135deg,rgba(154,163,175,.12) 0 6px,transparent 6px 14px)}
.amend-block-box>.amend-tag{top:-30px;left:50%;margin-left:-12px}
.amend-tags-abs{gap:2px;top:calc(100% - 6px)}
.amend-hdr{left:12px;top:calc(100% - 4px)}
/* 範圍框：淡，被點選時才明顯 */
.amend-hl{outline:1px dashed rgba(57,255,20,.6)!important;outline-offset:5px}
.amend-hl-pending{outline:1px dashed rgba(255,45,149,.6)!important;outline-offset:5px}
/* 被面板點選的圖釘 */
.amend-tag.amend-focus{box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(17,17,17,.85),0 6px 18px rgba(0,0,0,.3)}
.amend-tag.amend-focus.amend-pending{box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(17,17,17,.85),0 6px 18px rgba(0,0,0,.3)}
@keyframes amendFlash{0%,100%{transform:scale(1)}50%{transform:scale(1.35)}}
.amend-flash{animation:amendFlash .5s ease 3}
/* 浮出說明 */
#amend-tip{position:fixed;z-index:2147483001;max-width:360px;background:#fff;color:#1f2933;border:1px solid rgba(31,58,95,.25);border-radius:8px;padding:8px 11px;
  font:500 12.5px/1.5 "Noto Sans TC","Microsoft JhengHei",sans-serif;box-shadow:0 8px 24px rgba(15,30,60,.22);pointer-events:none;opacity:0;transition:opacity .12s}
#amend-tip.on{opacity:1}
#amend-tip b{display:inline-block;font-weight:800;font-size:11px;padding:1px 6px;border-radius:4px;background:var(--pin-done);color:#111;margin-right:6px;vertical-align:1px}
#amend-tip.p b{background:var(--pin-pend)}
#amend-tip.r b{background:var(--pin-rm);color:#fff}
#amend-tip .st{display:block;color:#5f6b76;font-size:11.5px;margin-top:3px}
/* 面板清單圓點顏色同步 */
#amend-panel .ap-legend i{box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.amend-tag{font-size:0}.amend-tag .pin-n{font-size:10.5px;font-style:normal}
.amend-tag .pin-n{display:flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:1}
/* 圖釘放大一倍 */
.amend-tag{width:40px;height:40px;border-width:3px;margin:0 4px}
.amend-tag .pin-n{font-size:15px;font-weight:800}
.amend-block>.amend-tag{top:-20px}
.amend-block-box>.amend-tag{top:-38px;margin-left:-20px}
.amend-block-box::before{height:44px}
.amend-tags-abs{gap:4px}
/* 廠商打勾完成：圖釘不消失，變暗 */
.amend-tag.amend-isdone{display:inline-flex!important;background:#aeb4bd!important;opacity:.45;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.amend-tag.amend-isdone .pin-n{color:#fff!important}
.amend-tag.amend-isdone:hover{opacity:.9}
.amend-tag.amend-isdone+.amend-hl,.amend-tag.amend-isdone+.amend-hl-pending{outline:none!important}
/* 頁首圖釘要能 hover；下拉選單展開時整排讓開 */
.amend-hdr{pointer-events:none}
.amend-hdr .amend-tag{pointer-events:auto}
.header-wrapper:has(.has-dropdown:hover) .amend-hdr .amend-tag,.header-wrapper:has(.has-dropdown:focus-within) .amend-hdr .amend-tag{pointer-events:none}
/* 已移除＝螢光紫；廠商完成＝螢光黃（暗掉） */
:root{--pin-rm:#c04cff;--pin-fin:#f2ff00}
.amend-tag.amend-removed{background:var(--pin-rm)}
.amend-tag.amend-removed .pin-n{color:#fff!important}
#amend-tip.r b{background:var(--pin-rm);color:#fff}
.amend-tag.amend-isdone{background:var(--pin-fin)!important;opacity:.5}
.amend-tag.amend-isdone .pin-n{color:#111!important}
.amend-tag.amend-isdone:hover{opacity:1}
/* 浮出說明字級放大 */
#amend-tip{font-size:16px;line-height:1.55;max-width:460px;padding:10px 14px;border-radius:10px}
#amend-tip b{font-size:13px;padding:2px 8px;margin-right:8px}
#amend-tip .st{font-size:13.5px;margin-top:4px}
