:root{font-family:"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;color:#17333e;background:#f5f3ed;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,select{font:inherit}
button,a,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:#08705c;text-underline-offset:4px}
button,select{color:#17333e;background:#fffefa;border:1px solid #b9cbbf;border-radius:7px;padding:10px 13px;min-height:44px;font-size:.9375rem}
button:hover{background:#eaf0e8}
:is(a,button,select):focus-visible{outline:3px solid #df9b3c;outline-offset:3px}
[hidden]{display:none!important}
.history-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 32px;border-bottom:1px solid #cbd8ce;background:#fcfbf7}
.history-header>div{display:flex;align-items:baseline;gap:28px}
.brand{font-size:1.25rem;font-weight:700;text-decoration:none;color:#17333e;white-space:nowrap}
.brand span{font-size:.9375rem;font-weight:400;margin-left:7px}
h1{font-size:1.5rem;font-weight:600;margin:0}
.back-link{font-size:.9375rem;white-space:nowrap}
main{padding:20px 32px 30px;max-width:1920px;margin:auto}
.history-intro{font-size:1rem;line-height:1.7;color:#52686e;margin:0 0 20px}
.load-status{padding:30px;border:1px solid #cbd8ce;border-radius:10px;line-height:1.8}
.toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding:18px 20px;background:#eaf0e8;border:1px solid #c4d5c9;border-radius:12px}
.mode-switch{display:flex;align-self:end;background:#fcfbf7;border:1px solid #a6bfb0;border-radius:8px;padding:3px;margin-right:3px}
.mode-switch button{border:0;background:none;min-height:40px;padding:9px 15px}
.mode-switch button[aria-pressed=true]{background:#173f38;color:#f6f8f0}
.toolbar label{display:flex;flex-direction:column;gap:7px;font-size:.875rem}
.version-control{flex:1;min-width:170px}
.toolbar select{width:100%;max-width:100%}
.page-control{min-width:180px}
#swap{background:transparent}
.view-meta{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:15px 0}
.view-meta p{font-size:.875rem;color:#52686e;line-height:1.6;margin:0}
.view-meta label{display:flex;align-items:center;gap:9px;font-size:.875rem;white-space:nowrap}
.view-meta select{padding:6px 9px;min-height:38px;font-size:.875rem}
.history-workspace{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start}
.timeline{padding:0 16px 0 0;border-right:1px solid #d0dcd3}
.timeline-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.timeline h2{font-size:1rem;margin:0;font-weight:600}
.timeline-heading>span{font-size:.8125rem;color:#637469}
.timeline>p{font-size:.8125rem;color:#637469;margin:8px 0 13px}
.timeline ol{list-style:none;padding:0 0 0 10px;margin:0;max-height:calc(100vh - 365px);min-height:340px;overflow:auto;scrollbar-width:thin}
.timeline li{position:relative;padding:0 0 9px 14px;border-left:1px solid #b8c9bd}
.timeline li::before{content:"";position:absolute;top:18px;left:-4px;width:7px;height:7px;border-radius:50%;background:#a1b9a8}
.timeline button{display:flex;flex-direction:column;align-items:start;text-align:left;width:100%;padding:11px 10px;border:1px solid transparent;background:transparent;gap:5px}
.timeline button[aria-pressed=true]{background:#e4eddf;border-color:#adc5b2}
.timeline button[data-comparison=true]{border-style:dashed;border-color:#8aaba1}
.timeline button:hover{background:#eaf0e8}
.release-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.8125rem;color:#61786c}
.release-meta strong{color:#08705c;font-weight:600}
.release-title{font-size:.9375rem;font-weight:550;line-height:1.55}
.release-summary{font-size:.8125rem;color:#637469;line-height:1.6}
.version-panes{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.version-panes.is-comparing{grid-template-columns:repeat(2,minmax(0,1fr))}
.version-pane{min-width:0;border:1px solid #bdcec3;border-radius:11px;overflow:hidden;background:#fcfbf7}
.version-pane>header{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:16px 18px 8px}
.pane-version{font-size:.8125rem;line-height:1.6;color:#08705c;font-weight:550}
.version-pane h2{font-size:1.0625rem;font-weight:600;line-height:1.6;margin:4px 0 0}
.open-version{font-size:.8125rem;line-height:1.6;white-space:nowrap;padding:3px 0}
.pane-summary{font-size:.875rem;color:#52686e;line-height:1.7;margin:0;padding:0 18px 15px;min-height:3.7em}
.frame-stage{position:relative;height:max(540px,calc(100vh - 420px));overflow:hidden;border-top:1px solid #cdd9cf;background:#e9ece4}
.frame-stage iframe{display:block;border:0;background:#f5f3ed;width:100%;height:100%;transform-origin:top left}
.is-comparing .frame-stage{height:max(520px,calc(100vh - 420px))}
.frame-stage.is-reading{overflow-x:auto}
.frame-message{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:32px;height:100%;line-height:1.8}
.frame-message strong{font-size:1.125rem;font-weight:600}
.frame-message p{font-size:.9375rem;color:#637469;margin:0;max-width:28em}
.frame-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f5f3ed;color:#637469;font-size:.9375rem;z-index:1}
.viewer-note{font-size:.8125rem;color:#637469;line-height:1.7;margin:13px 0 0}
@media(min-width:1600px){.history-workspace{grid-template-columns:265px minmax(0,1fr)}}
@media(max-width:1100px){.history-workspace{grid-template-columns:190px minmax(0,1fr);gap:17px}.history-header,main{padding-left:20px;padding-right:20px}.version-pane>header{flex-wrap:wrap}.mode-switch{flex-basis:auto}.page-control{flex:1}.toolbar{gap:13px}}
@media(max-width:800px){.history-header>div{display:block}.history-header h1{margin-top:8px;font-size:1.375rem}.brand{font-size:1.0625rem}.brand span{font-size:.8125rem}.history-workspace{grid-template-columns:minmax(0,1fr)}.timeline{order:2;border-right:0;border-top:1px solid #cbd8ce;padding:20px 0 0}.timeline ol{max-height:400px;min-height:0}.version-panes.is-comparing{grid-template-columns:minmax(0,1fr)}.is-comparing .frame-stage{height:460px}.history-intro{margin-bottom:15px}.toolbar{padding:15px}.mode-switch{flex-basis:100%;width:max-content;max-width:100%}.mode-switch button{flex:1}.toolbar label{flex:1;min-width:135px}.view-meta{align-items:start}.view-meta label{flex-direction:column;align-items:end;gap:5px}.frame-stage{height:620px}.pane-summary{min-height:0}.history-header{padding:18px 20px}.back-link{font-size:.875rem}}
@media(max-width:440px){main{padding:16px 14px 25px}.history-header{padding:16px 14px;gap:10px}.brand span{display:block;margin:3px 0 0}.toolbar{gap:12px}.version-pane>header{padding:14px 15px 8px}.pane-summary{padding:0 15px 13px}.view-meta{flex-wrap:wrap}.view-meta label{flex-direction:row;align-items:center}.toolbar .version-control{min-width:0;flex-basis:calc(50% - 6px)}.is-comparing .frame-stage{height:400px}}
