/* v4 我的 sub-pages, part B: 匯出報表, 備份與還原, 隱私權政策, 服務條款, 聯絡客服, 關於與版權 (+ license pages).
   Builds on meow-v4.css (cards, leather icons, buttons, group titles); everything here is prefixed v4pb-. */

/* Small tags: 免費 / Pro / paper (最後更新, 版本) */
html.v4 .v4pb-tag{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:2px 7px;border-radius:6px;border:1px solid;font-size:11px;line-height:16px;font-weight:700;white-space:nowrap}
html.v4 .v4pb-tag.free{background:var(--v4-ok-bg);border-color:var(--v4-ok-line);color:var(--v4-ok-ink)}
html.v4 .v4pb-tag.pro{background:var(--v4-pro-bg);border-color:var(--v4-pro-bg);color:var(--v4-pro-ink)}
html.v4 .v4pb-tag.paper{background:var(--v4-tile);border-color:var(--v4-tile-line);color:var(--v4-sub);padding:3px 8px;font-size:12px;line-height:17px}
html.v4 .v4pb-tag.head{padding:3px 8px;font-size:12px;line-height:17px;margin-top:7.5px}

/* Shared text, rows and buttons */
html.v4 .v4pb-text{margin:0;font-size:13px;line-height:20px;font-weight:400;color:var(--v4-sub)}
html.v4 .v4pb-fine{margin:0;font-size:11px;line-height:16px;font-weight:400;color:var(--v4-muted)}
html.v4 .v4pb-fine.lg{font-size:12px;line-height:18px}
html.v4 .v4pb-foot{margin:0;text-align:center;font-size:12px;line-height:18px;font-weight:400;color:var(--v4-muted-bg)}
html.v4 .v4pb-card.v4pb-gap6{gap:6px}
html.v4 .v4pb-card.v4pb-gap8{gap:8px}
html.v4 .v4pb-card.v4pb-pad16{padding:16px}
html.v4 .v4pb-row{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px 0;margin:0;background:none;border:0;border-radius:0;box-shadow:none;text-align:left;color:inherit;font:inherit;text-decoration:none}
html.v4 button.v4pb-row{cursor:pointer}
html.v4 .v4pb-row-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
html.v4 .v4pb-row-text b{font-size:15px;line-height:21px;font-weight:700;color:var(--v4-ink)}
html.v4 .v4pb-row-text small{font-size:12px;line-height:17px;font-weight:400;color:var(--v4-muted)}
html.v4 .v4pb-row.locked .v4pb-row-text b{color:var(--v4-muted)}
html.v4 .v4pb-chev{flex:none;font-size:18px;color:var(--v4-muted);stroke-width:2}
html.v4 .v4pb-lock{flex:none;font-size:16px;color:var(--v4-muted)}
html.v4 .v4pb-mini{flex:none;height:30px;padding:0 12px;border-radius:9px;border:1px solid var(--v4-red-line);background:var(--v4-field);color:var(--v4-red-text);font-size:13px;line-height:18px;font-weight:700;cursor:pointer}
html.v4 .v4pb-btn{text-decoration:none}
html.v4 .v4pb-btn48{height:48px;font-size:16px}
html.v4 .v4pb-btn46{height:46px}
html.v4 .v4pb-two{display:flex;gap:10px}
html.v4 .v4pb-two>.v4-btn{flex:1 1 0;min-width:0}

/* 匯出報表 */
html.v4 .v4pb-seg{display:flex;gap:6px}
html.v4 .v4pb-seg>button{position:relative;flex:1 1 0;min-width:0;height:40px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:11px;border:1px solid var(--v4-tile-line);background:var(--v4-field);color:var(--v4-sub);font-size:13px;line-height:18px;font-weight:700;cursor:pointer;white-space:nowrap}
html.v4 .v4pb-seg>button.on{border-color:#755136;background:var(--v4-leather-brown);box-shadow:0 6px 12px rgba(70,40,20,.2),0 3px 0 #5a3a26,inset 0 1px 0 rgba(255,255,255,.14);color:#fff7ec;font-family:var(--v4-serif);font-weight:900;text-shadow:0 1px 0 rgba(70,16,10,.45)}
html.v4 .v4pb-seg>button.on::before{content:"";position:absolute;inset:2.5px;border:1.2px dashed rgba(255,241,226,.55);border-radius:7.5px;pointer-events:none}
html.v4 .v4pb-preview{gap:0}
html.v4 .v4pb-kv{display:flex;align-items:center;gap:8px;padding:8px 0}
html.v4 .v4pb-kv>span{flex:1;min-width:0;font-size:14px;line-height:20px;font-weight:700;color:var(--v4-sub)}
html.v4 .v4pb-kv>b{flex:none;font-size:15px;line-height:22px;font-weight:900;color:var(--v4-ink);white-space:nowrap}
html.v4 .v4pb-kv.total>b{font-size:18px}

/* 備份與還原 */
html.v4 .v4pb-auto{gap:0}
html.v4 .v4pb-text.v4pb-gap{margin:10px 0}
html.v4 .v4pb-danger{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:46px;padding:0;border-radius:14px;border:1.5px solid var(--v4-red);background:var(--v4-card);color:var(--v4-red);font-size:15px;line-height:20px;font-weight:700;cursor:pointer}
html.v4 .v4pb-danger .v4-ic{font-size:18px}

/* 隱私權政策・服務條款 */
html.v4 .v4pb-date{display:flex}
html.v4 .v4pb-legal{padding:16px;gap:8px}
html.v4 .v4pb-legal.v4pb-gap6{gap:6px}
html.v4 .v4pb-h{margin:0;font-family:var(--v4-serif);font-weight:900;font-size:16px;line-height:24px;letter-spacing:.04em;color:var(--v4-title)}
html.v4 .v4pb-p{margin:0;font-size:14px;line-height:23px;font-weight:400;color:var(--v4-sub)}
html.v4 .v4pb-sub{display:flex;flex-direction:column;gap:2px}
html.v4 .v4pb-sub>b{font-size:14px;line-height:21px;font-weight:700;color:var(--v4-ink)}
html.v4 .v4pb-links{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}
html.v4 .v4pb-links>button{background:none;border:0;padding:0;margin:0;font-size:13px;line-height:18px;font-weight:700;color:var(--v4-red-text);cursor:pointer;white-space:nowrap}

/* 聯絡客服 */
html.v4 .v4pb-mailhead{display:flex;align-items:center;gap:12px;min-width:0}
html.v4 .v4pb-mailhead>span:not(.v4-lic){flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
html.v4 .v4pb-mailhead small{font-size:12px;line-height:16px;font-weight:700;color:var(--v4-muted)}
html.v4 .v4pb-mailhead b{font-size:17px;line-height:24px;font-weight:900;color:var(--v4-ink);overflow-wrap:anywhere}
html.v4 .v4pb-faq{gap:6px}
html.v4 .v4pb-faq-q{width:100%;margin:0;padding:0;background:none;border:0;text-align:left;cursor:pointer;color:inherit;font:inherit}
html.v4 .v4pb-faq-a{margin:0;font-size:13px;line-height:21px;font-weight:400;color:var(--v4-sub)}
html.v4 .v4pb-faq:not(.open) .v4pb-faq-a{display:none}

/* 關於與版權 */
html.v4 .v4pb-brand{padding:18px;gap:6px;align-items:center}
html.v4 .v4pb-cat{display:block;width:114px;height:130px;object-fit:contain}
html.v4 .v4pb-appname{margin:0;font-family:var(--v4-serif);font-weight:900;font-size:22px;line-height:30px;letter-spacing:.04em;color:var(--v4-title);text-align:center}
html.v4 .v4-card-head h3.v4pb-copy{flex:0 1 auto;letter-spacing:.02em}
html.v4 .v4pb-motto{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-family:var(--v4-serif);font-weight:900;font-size:14px;line-height:20px;letter-spacing:.06em;color:var(--v4-sub)}
html.v4 .v4pb-motto .v4-ic{font-size:16px;color:var(--v4-red-text)}
html.v4 .v4pb-pkg{display:flex;flex-direction:column;gap:1px}
html.v4 .v4pb-pkg b{font-size:14px;line-height:20px;font-weight:700;color:var(--v4-ink);overflow-wrap:anywhere}
html.v4 .v4pb-pkg small{font-size:12px;line-height:17px;font-weight:400;color:var(--v4-muted)}
html.v4 .v4pb-lichead h3{white-space:normal}
html.v4 .v4pb-license{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--v4-sans);font-size:12px;line-height:18px;font-weight:400;color:var(--v4-sub);background:none;border:0;padding:0}
