
:root{--ink:#17304a;--muted:#68798d;--line:#dbe4ef;--bg:#f3f6fb;--panel:#ffffff;--blue:#2867ac;--blue2:#174377;--timeline:#ecf3fb;--shadow:0 8px 24px rgba(30,46,74,.07)}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}
a{color:#215f9f;text-decoration:none}.top{display:flex;align-items:center;gap:20px;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.brand{font:700 26px Georgia,serif;white-space:nowrap}.sub{font-size:12px;color:var(--muted)}.tabs{display:flex;gap:8px;margin-left:14px}.tab{padding:10px 12px;border:0;background:#fff;border-radius:10px;color:#617285;font-weight:600}.tab.active{background:#e9f2fc;color:var(--blue)}.search{margin-left:auto;min-width:260px;width:26vw;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fbfdff}
main{display:grid;grid-template-columns:245px minmax(420px,1fr) 355px;min-height:calc(100vh - 71px)}aside,.detail{background:#fff;padding:18px 16px}.detail{border-left:1px solid var(--line);position:sticky;top:71px;max-height:calc(100vh - 71px);overflow:auto}.side-title{font-size:18px;font-weight:800;margin:4px 0 18px}.main{padding:18px;min-width:0}.section{margin-bottom:20px}.small{font-size:12px;color:var(--muted)}.tiny{font-size:11px;color:var(--muted)}.check{display:flex;align-items:center;gap:8px;font-size:13px;margin:10px 0}.check input{accent-color:var(--blue)}.dot{width:11px;height:11px;border-radius:50%;display:inline-block;flex-shrink:0}.chip{display:inline-block;font-size:11px;padding:5px 8px;border-radius:999px;background:#edf4fd;color:#215f9f;border:1px solid #d8e7fb}.hidden{display:none!important}.card,.timeline-card,.map-card,.footcard{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.footcard{padding:15px}.toolbar{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.range{font-size:18px;font-weight:800;margin-top:2px}.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.actions button,.actions select,.actions input[type=number]{padding:8px 10px;border:1px solid var(--line);background:#fff;border-radius:10px;color:var(--ink)}.timeline-card{overflow:hidden}.axis{margin-left:160px;height:54px;position:relative;background:#f7fbff;border-bottom:1px solid var(--line)}.tick{position:absolute;top:16px;transform:translateX(-50%);font-size:11px;color:#627289;white-space:nowrap}.tick:after{content:'';height:12px;border-left:1px solid #c5d1df;display:block;margin:8px auto 0;width:1px}.epochs{margin-left:160px;display:flex;height:37px;overflow:hidden;background:#f0f4f8}.epoch{font-size:10px;padding:5px 3px;text-align:center;border-right:1px solid #fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lane{display:grid;grid-template-columns:160px 1fr;border-top:1px solid #edf2f7}.lanehead{padding:15px 12px;background:#fbfdff;font-weight:700;font-size:13px}.laneplot{position:relative;padding:6px 0 8px 0;background-image:linear-gradient(to right, rgba(34,62,97,.06) 1px, transparent 1px);background-size:100px 100%}.event{position:absolute;height:26px;border-radius:8px;border:1px solid rgba(20,32,55,.12);padding:0 8px;text-align:left;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#17304a;box-shadow:0 2px 6px rgba(24,37,65,.06)}.event.selected{outline:3px solid rgba(34,108,175,.18)}.event.uncertain{border-style:dashed}.empty{padding:16px;color:#7d8ca0;font-size:13px}.tablelist{display:grid;gap:11px}.rowcard{padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start}.rowcard h4{margin:3px 0 5px;font-size:16px}.rowmeta{font-size:12px;color:#607085;margin-bottom:6px}.rowactions{display:flex;gap:8px;flex-wrap:wrap}.rowactions button{border:1px solid var(--line);background:#fff;padding:7px 10px;border-radius:10px}.compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-bottom:16px}.compare-card{padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.compare-card.active-reading{box-shadow:0 0 0 3px rgba(42,103,173,.13)}.compare-card h3{margin:7px 0 10px;font-size:18px}.compare-card h3 button{all:unset;color:var(--blue2);font-weight:700;cursor:pointer}.compare-meta{font-size:12px;color:#56677b;margin-bottom:6px}.compare-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.compare-toolbar button,.reader-button,.compare-link{padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:#fff}.reader-button{background:#edf5ff;color:#205a95;border-color:#d6e7fb}.compare-table{border-collapse:collapse;width:100%;font-size:13px;background:#fff}.compare-table th,.compare-table td{border:1px solid #e5ebf3;padding:10px;vertical-align:top;text-align:left}.compare-table th{background:#f8fbff}.kicker{font-size:11px;letter-spacing:.03em;text-transform:uppercase;color:#6f8196;font-weight:800}.detail h2{margin:0 0 6px;font-size:22px}.detail figure{margin:14px 0}.detail img{width:100%;height:auto;border-radius:14px;border:1px solid var(--line);background:#f3f6fa}.detail .meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.detail .meta > div{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fbfdff}.detail ul{padding-left:18px}.detail .sources a{display:block;margin:7px 0}.detail .note{padding:12px;background:#f8fbff;border:1px solid #dde9f8;border-radius:12px;margin:12px 0}.legend{display:flex;gap:10px;flex-wrap:wrap}.legend .item{display:flex;align-items:center;gap:6px;font-size:12px;color:#55677b}
.map-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:12px}.map-card{padding:14px}.map-top{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.slider-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.slider-wrap input[type=range]{width:min(520px,54vw)}.map-svg-wrap{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:linear-gradient(#cfe4f4,#d7ecf8)}#mapSvg{width:100%;height:auto;display:block}.map-list{display:grid;gap:10px}.map-list section{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}.map-list button{width:100%;text-align:left;padding:7px 8px;border:1px solid transparent;border-radius:9px;background:#f7fbff;margin-top:6px}.map-list button:hover,.map-list button.active{border-color:#cfe0f5;background:#eaf3ff}.map-caption{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-top:8px}.playbtn{background:#215f9f;color:#fff;border:0;padding:8px 11px;border-radius:10px}.outlinebtn{background:#fff;color:#205a95;border:1px solid #cfe0f5;padding:8px 11px;border-radius:10px}.badge{display:inline-block;padding:4px 8px;background:#eef5fd;border-radius:999px;border:1px solid #d8e7fb;color:#2a5f99;font-size:11px}.warn{padding:12px;border-radius:12px;background:#fff6ed;border:1px solid #f0ddc3;color:#7d5a26}.muted-box{padding:12px;border-radius:12px;background:#f8fbff;border:1px solid #e2ebf7}.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
@media(max-width:1200px){main{grid-template-columns:220px minmax(0,1fr)}.detail{grid-column:1 / -1;position:relative;top:auto;max-height:none;border-left:0;border-top:1px solid var(--line)}.map-grid{grid-template-columns:1fr}}
@media(max-width:900px){.top{flex-wrap:wrap}.search{width:100%;order:99;margin-left:0}.tabs{margin-left:0;width:100%;overflow:auto}.axis,.epochs{margin-left:0}.lane{grid-template-columns:1fr}.lanehead{border-bottom:1px solid #eef3f8}.map-grid{grid-template-columns:1fr}.toolbar{display:block}}

#modernMap{height:570px;min-height:430px;border-radius:14px;border:1px solid #dce4ee;background:#d9e8f4}.modern-info{margin-top:10px}.story-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.story-list{display:grid;gap:7px;margin:12px 0}.story-item{display:block;text-align:left;width:100%;border:1px solid #d8e1ed;background:#fff;border-radius:10px;padding:11px}.story-item.active{border-color:#4678ab;background:#eef5fc}.story-item strong{display:block}.story-item span{font-size:12px;color:#64748b}.text-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px}.text-card{background:#fff;border:1px solid #dce4ee;border-radius:14px;padding:15px}.text-card h3{margin:4px 0 8px;font-size:17px}.text-card p{font-size:13px;line-height:1.55}.archive-grid{display:grid;gap:9px}.archive-card{background:white;border:1px solid #dce4ee;border-radius:12px;padding:11px 14px;display:flex;align-items:start;justify-content:space-between;gap:12px}.archive-card h4{margin:2px 0 7px}.archive-card button,.storybar button{border:1px solid #ccdced;border-radius:8px;padding:7px 9px;background:#f3f8fe;color:#245a90}.storybar{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.par-label{font-size:11px;letter-spacing:.08em;color:#7d8998;text-transform:uppercase;font-weight:800}.par-refs{font-size:12px;background:#eaf2ff;border-radius:8px;padding:7px 9px;display:inline-block;margin-top:6px}.archive-warning{background:#fff4e6;padding:10px;border-radius:9px;border:1px solid #f0d5ae;font-size:12px;color:#745327;margin-top:8px}.leaflet-container{font-family:Segoe UI,Arial,sans-serif}

/* V7 – mobile-first navigation and reading drawer */
html{scroll-behavior:smooth}button{touch-action:manipulation} .event{min-height:28px}
.v7toolbar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:0 0 12px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px}.v7toolbar button{border:1px solid #d4e1ee;padding:8px 10px;border-radius:9px;background:#f7faff;color:var(--ink)}.v7toolbar button.on{background:#2464a3;color:white;border-color:#2464a3}.v7toolbar label{font-size:12px;font-weight:700}.v7toolbar select{min-width:130px;max-width:210px;padding:8px;border-radius:9px;border:1px solid #d6e1ec}.v7stats{font-size:12px;color:var(--muted);flex:1}.v7group{padding:12px 14px;border-bottom:1px solid #e7edf5;background:#fff}.v7group h3{margin:0 0 7px;color:#234663;font-size:14px}.v7cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:7px}.v7event{display:block;text-align:left;width:100%;border:1px solid #dbe4ec;padding:10px 11px;border-radius:10px;background:#f8fbff;min-height:66px}.v7event.selected{outline:2px solid #4786bd}.v7event .date{display:block;font-size:11px;color:#5c738d;margin-top:4px}.v7event .name{display:block;font-size:13px;font-weight:700}.v7collapsed .v7cards{display:none}.v7read{line-height:1.65}.v7read h3{font-size:15px;margin:17px 0 5px}.v7read p{margin:5px 0 10px}.v7read a{word-break:break-word}.v7read .readinglink{display:block;padding:9px 10px;border:1px solid #d7e4ef;border-radius:9px;margin:6px 0}.v7mobile-read{display:none}
@media(max-width:900px){.top{position:relative;padding:11px 13px;gap:8px}.brand{font-size:21px}.sub{font-size:11px}.tabs{margin:0;gap:5px;display:flex;overflow-x:auto;width:100%;scrollbar-width:thin;white-space:nowrap}.tab{flex:0 0 auto;padding:10px 11px}.search{min-width:0;order:3;width:100%}main{display:flex;flex-direction:column;min-height:0}aside{order:2;padding:10px 13px;border-top:1px solid var(--line)}.main{order:1;padding:12px;min-width:0}.detail{order:3;position:relative;top:auto;max-height:none;padding:18px;border-left:none;border-top:1px solid var(--line)}.side-title{font-size:15px;margin:0 0 8px}.section{margin-bottom:10px}.check{display:inline-flex;margin:6px 9px 6px 0}.v7mobile-read{display:inline-block;border:1px solid #cadeef;background:#f2f8ff;color:#14538b;border-radius:9px;padding:9px 13px}.v7cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.timeline-card{overflow:visible}.compare-grid{grid-template-columns:1fr!important}.map-card{padding:8px}.map-top{align-items:flex-start}.map-grid{grid-template-columns:1fr!important}.detail figure img{max-height:260px;object-fit:contain}}
@media(max-width:520px){.v7cards{grid-template-columns:1fr}.v7toolbar select{width:100%;max-width:none}.v7toolbar{align-items:stretch}.v7toolbar label{width:100%}.v7stats{flex-basis:100%}.top .brand{font-size:20px}.rowcard{grid-template-columns:1fr}.rowactions{justify-content:flex-start}.map-svg-wrap{max-width:100%}#modernMap{height:360px!important}.detail h2{font-size:21px}}

/* V7.1 stabilization: responsive map and accessible small-screen reading */
#modernMap{width:100%;height:clamp(420px,65vh,700px);min-width:0;z-index:1}
.map-grid{min-width:0;grid-template-columns:minmax(0,1fr) minmax(200px,240px)}
.map-card,.map-grid>div{min-width:0}
.map-list{max-height:650px;overflow-y:auto}
.storybar input[type=range]{flex:1;min-width:125px;width:auto!important}
.top .tabs{overscroll-behavior-x:contain}
.detail{scroll-margin-top:18px}
@media(max-width:1200px){.map-grid{grid-template-columns:minmax(0,1fr)}.map-list{max-height:none}}
@media(max-width:900px){
 .top{position:sticky;top:0;z-index:100;padding:8px 10px;background:#fff}
 .top .tabs{order:3;width:100%}.top .search{order:4;margin:0}
 .main{padding:9px;overflow-x:hidden}.toolbar,.v7toolbar{gap:7px}
 .timeline-card{overflow:hidden}.laneplot{overflow:hidden}
 .map-card{padding:8px}.map-top,.story-header{gap:8px}
 #modernMap{height:54vh;min-height:320px;max-height:530px}
 .map-list{max-height:none}.v7read{line-height:1.65}
 .detail{padding:16px;scroll-margin-top:125px}
}
@media(max-width:520px){
 .brand{font-size:19px}.sub{font-size:10px}.top .tab{padding:9px 10px;font-size:12px}
 .actions{gap:5px}.actions button{font-size:12px;padding:7px}
 .storybar{width:100%;display:flex;flex-wrap:wrap}.storybar input[type=range]{order:-1;flex-basis:100%;width:100%!important}
 #modernMap{height:48vh;min-height:295px}
 .map-list section{padding:8px}.v7cards{grid-template-columns:1fr}
 .detail .meta{grid-template-columns:1fr 1fr}
}

/* V8.3 – curated research pathways and navigable contextual timeline */
.v83-inline-callout{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px;padding:13px 15px;background:linear-gradient(105deg,#eaf3fd,#f5f9fe);border:1px solid #cedff2;border-radius:13px}
.v83-inline-callout div{display:flex;gap:7px;align-items:flex-start;flex-direction:column}
.v83-inline-callout span{font-size:12px;color:#56718d}
.v83-inline-callout button,.v83-btn-primary{background:#245d99;color:#fff;border:1px solid #245d99;border-radius:9px;padding:10px 12px;font-weight:700}
.v83-path-hero{padding:22px;border:1px solid #dbe6f2;border-radius:17px;background:linear-gradient(125deg,#fff,#eef5fc);margin-bottom:14px}
.v83-path-hero h2{font-size:24px;line-height:1.18;margin:5px 0 8px}
.v83-path-hero p{font-size:13px;line-height:1.65;color:#4f657b;max-width:850px;margin:0}
.v83-path-hero .v83-metrics{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.v83-metrics span{padding:5px 9px;background:#fff;border:1px solid #dbe7f4;border-radius:99px;font-size:11px;color:#456888}
.v83-paths{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin-bottom:14px}
.v83-path-choice{background:#fff;border:1px solid #dfe7f2;border-radius:13px;padding:12px;text-align:left;min-height:90px;display:flex;gap:5px;flex-direction:column;align-items:flex-start}
.v83-path-choice b{font-size:13px;line-height:1.25}
.v83-path-choice span{font-size:11px;color:#657789;line-height:1.35}
.v83-path-choice.active{background:#eaf3ff;border-color:#6c9fce;box-shadow:0 0 0 2px rgba(83,137,192,.12)}
.v83-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin:12px 0}
.v83-toolbar-actions{display:flex;gap:7px;flex-wrap:wrap}
.v83-toolbar-actions button{padding:8px 10px;border-radius:9px;background:#fff;border:1px solid #d4e1ef;font-size:12px;color:#28547c}
.v83-toolbar-actions button.on{background:#275f9e;color:#fff;border-color:#275f9e}
.v83-explore-map{background:#fff;border:1px solid #dce6f2;border-radius:14px;overflow:hidden;padding:14px}
.v83-plot-scroller{overflow-x:auto;overflow-y:hidden;padding-bottom:12px;overscroll-behavior-x:contain}
.v83-plot{position:relative;width:1080px;min-width:1080px}
.v83-axis{position:relative;height:43px;margin-left:135px;border-bottom:1px solid #dce6f2;background:linear-gradient(180deg,#f9fbfe,#fff)}
.v83-tick{position:absolute;top:8px;transform:translateX(-50%);font-size:10px;color:#63788d;text-align:center;white-space:nowrap}
.v83-tick:after{content:'';display:block;border-left:1px solid #b7c9dd;height:11px;margin:6px auto 0;width:1px}
.v83-lane{display:grid;grid-template-columns:135px 1fr;border-bottom:1px solid #edf1f7}
.v83-lane-label{background:#f7faff;padding:12px 9px;font-size:12px;font-weight:700;border-right:1px solid #e4ebf3}
.v83-lane-label small{display:block;font-weight:400;color:#6e8195;line-height:1.35;margin-top:4px}
.v83-lane-body{position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent 188px,#f1f5fa 189px,#f1f5fa 190px)}
.v83-event-card{position:absolute;min-height:52px;width:144px;padding:7px 8px;border-radius:9px;border:1px solid #dce6f2;background:#fff;text-align:left;box-shadow:0 2px 5px rgba(22,46,72,.05);font-size:11px;overflow:hidden;line-height:1.24}
.v83-event-card b{display:block;line-height:1.3;max-height:31px;overflow:hidden}
.v83-event-card small{display:block;font-size:10px;color:#58748a;margin-top:2px}
.v83-event-card.active{outline:2px solid #2b6dac;background:#eaf3ff}
.v83-event-card.unreviewed{border-style:dashed}
.v83-anchor{position:absolute;width:7px;height:7px;border-radius:50%;background:#2d688c;bottom:7px;transform:translateX(-50%);pointer-events:none}
.v83-rangebar{position:absolute;height:4px;bottom:8px;border-radius:8px;opacity:.6;pointer-events:none}
.v83-stem{position:absolute;bottom:11px;width:1px;background:#c4d1df;pointer-events:none}
.v83-caption{font-size:11px;color:#70849a;padding:10px 2px 0;line-height:1.5}
.v83-sequence{display:grid;gap:9px;counter-reset:sequence}
.v83-sequence-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;background:#fff;border:1px solid #dce6f2;padding:12px;border-radius:12px}
.v83-sequence-number{width:32px;height:32px;border-radius:50%;background:#e5f1fc;color:#245f91;display:grid;place-items:center;font-size:13px;font-weight:800}
.v83-sequence-item h4{margin:3px 0 6px;font-size:14px}
.v83-sequence-item p{margin:0 0 9px;font-size:12px;line-height:1.55;color:#51667e}
.v83-sequence-item .v83-line-actions{display:flex;flex-wrap:wrap;gap:7px}
.v83-sequence-item button,.v83-connection button{background:#f0f6fe;border:1px solid #d3e3f6;border-radius:8px;color:#215a91;font-size:12px;padding:7px 10px}
.v83-dating{font-size:11px;color:#456f92;font-weight:700}
.v83-dating em{font-weight:400;font-style:normal;color:#8b5f4d}
.v83-connections{display:grid;gap:10px;margin-top:10px}
.v83-connection{border:1px solid #dce5f0;border-radius:12px;padding:13px;background:#fff}
.v83-connection p{font-size:12.5px;line-height:1.6;color:#4f6377;margin:7px 0}
.v83-connection h4{font-size:13px;margin:4px 0 5px}
.v83-tag{display:inline-block;border-radius:7px;background:#f0f4fa;color:#526c86;padding:4px 7px;font-size:10px;font-weight:800}
.v83-tag.literary{background:#f1eaf8;color:#7254a2}.v83-tag.context{background:#eaf2fd;color:#2c669b}.v83-tag.continuity{background:#e8f5e9;color:#3c7851}.v83-tag.debate{background:#fff2e6;color:#94612e}
.v83-context{padding:13px;background:#f5f9ff;border:1px solid #d9e7f8;border-radius:12px;font-size:12px;line-height:1.65;color:#475f79;margin-top:14px}
.v83-context b{color:#274a70}
.v83-panel{background:#fff;border:1px solid #dfe8f2;border-radius:15px;padding:16px;margin-top:14px}
.v83-panel h3{margin:2px 0 11px;font-size:17px}
.v83-empty{padding:17px;border:1px solid #dfe8f2;background:#fff;border-radius:12px;color:#607589;font-size:13px}
@media(max-width:760px){.v83-inline-callout{flex-direction:column;align-items:stretch}.v83-path-hero{padding:15px}.v83-path-hero h2{font-size:21px}.v83-paths{grid-template-columns:repeat(2,minmax(0,1fr))}.v83-path-choice{min-height:104px}.v83-plot{width:960px;min-width:960px}.v83-toolbar{align-items:stretch}.v83-toolbar-actions{width:100%}.v83-toolbar-actions button{flex:1}.v83-panel{padding:12px}.v83-explore-map{padding:10px}.v83-sequence-item{grid-template-columns:28px minmax(0,1fr);gap:7px;padding:10px}.v83-sequence-number{width:25px;height:25px;font-size:11px}}
@media(max-width:440px){.v83-paths{grid-template-columns:1fr 1fr}.v83-path-choice b{font-size:12px}}

/* V8.4 – mobile workflow, readable panels, compact filter and persistent navigation */
:root { --v84-tap:44px; }
html{scroll-behavior:smooth;scroll-padding-top:86px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2875c4;outline-offset:2px}
button{touch-action:manipulation}
.v84-filter-toggle,.v84-bottom-nav,.v84-read-peek,.v84-more-menu{display:none}
.v84-reader-backdrop[hidden],.v84-more-backdrop[hidden],.v84-more-menu[hidden]{display:none!important}
.v84-reader-bar{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:-5px 0 13px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.v84-reader-bar strong{font-size:12px;color:#3b5e80}
.v84-reader-actions{display:flex;gap:7px;align-items:center}
.v84-reader-actions button{padding:9px 11px;border:1px solid #d4e2f0;border-radius:9px;background:#f2f7fe;color:#205e93;min-height:38px;font-weight:650;font-size:12px}
.v84-reader-actions button:last-child{background:#fff;color:#566778}
.v84-reader-actions .v84-close{display:none}
.v84-reader-backdrop,.v84-more-backdrop{position:fixed;inset:0;background:rgba(12,30,52,.55);z-index:190;backdrop-filter:blur(2px)}
.v84-return{margin-bottom:12px;padding:11px 14px;border-radius:12px;background:#edf5ff;border:1px solid #d7e5f5;display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.v84-return button{border:1px solid #c4daf2;color:#195c98;background:white;border-radius:9px;padding:8px 11px}
.v84-return span{font-size:12px;color:#536c85}
#v84FilterBody{min-width:0}
#v84FilterBody input[type=number]{border:1px solid #cfdce9;padding:7px;border-radius:8px;max-width:100%}
.v84-bottom-nav{z-index:170}
.v84-more-menu{z-index:220}
.v84-reader-backdrop{z-index:230}
@media(max-width:900px){
 body{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 .top{position:relative!important;top:auto!important;gap:8px!important}
 .top .tabs{display:none!important}
 .top .search{order:3!important;margin-left:0!important;min-width:0;width:100%;min-height:42px}
 .top .brand{font-size:23px}
 main{display:flex!important;flex-direction:column!important;min-width:0}
 #v84Sidebar{order:0!important;border-top:0!important;border-bottom:1px solid var(--line);padding:8px 12px!important;background:#fff}
 .main{order:1!important;min-width:0;padding:10px 10px 18px!important;overflow:visible!important}
 .v84-filter-toggle{display:flex;width:100%;justify-content:space-between;align-items:center;border:1px solid #d7e5f2;border-radius:10px;background:#f5f9fd;padding:11px 14px;font-size:13px;color:#214a75;font-weight:700;min-height:44px}
 #v84Sidebar:not(.v84-filters-open) #v84FilterBody{display:none}
 #v84FilterBody{margin-top:12px;padding:0 2px 8px}
 .v84-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #ccdae9;box-shadow:0 -5px 24px rgba(15,35,61,.1);padding:5px max(5px,env(safe-area-inset-left,0px)) calc(5px + env(safe-area-inset-bottom,0px));z-index:170}
 .v84-bottom-nav button{border:0;background:transparent;color:#62788f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:9px;min-height:50px;padding:4px 2px;min-width:0}
 .v84-bottom-nav button span{font-size:21px;line-height:21px}
 .v84-bottom-nav button small{font-size:10px;white-space:nowrap;letter-spacing:-.1px}
 .v84-bottom-nav button.active{background:#e9f3ff;color:#205c99;font-weight:750}
 .v84-read-peek{display:flex;position:fixed;bottom:calc(75px + env(safe-area-inset-bottom,0px));right:12px;max-width:min(82vw,270px);align-items:center;gap:7px;z-index:165;padding:11px 13px;background:#205e99;color:#fff;border:none;border-radius:15px;box-shadow:0 6px 23px rgba(21,64,112,.32);font-size:12px;font-weight:750}
 #v84PeekLabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .detail{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:93dvh!important;max-height:93dvh!important;min-height:0!important;overflow-y:auto!important;z-index:240!important;border-radius:20px 20px 0 0!important;border:1px solid #ccdbea!important;box-shadow:0 -16px 55px rgba(10,26,50,.23);background:#fff;transform:translateY(110%);opacity:0;pointer-events:none;padding:13px 17px calc(40px + env(safe-area-inset-bottom,0px))!important;transition:transform .24s ease,opacity .24s ease;scroll-margin-top:0!important;overscroll-behavior-y:contain}
 body.v84-reader-open .detail{transform:translateY(0);opacity:1;pointer-events:auto}
 body.v84-reader-open,body.v84-more-open{overflow:hidden}
 body.v84-reader-open .v84-read-peek{display:none}
 .v84-reader-bar{position:sticky;top:-13px;z-index:5;padding:9px 2px 13px;margin:-13px -1px 13px;background:#fff}
 .v84-reader-bar .v84-close{display:inline-flex;align-items:center}
 .v84-reader-bar strong{font-size:11px;max-width:120px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .detail h2{font-size:21px;line-height:1.3}
 .detail .meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .detail .meta>div{min-width:0;overflow-wrap:anywhere}
 .detail img{max-height:270px;object-fit:contain}
 .v82read,.v7read{line-height:1.65;overflow-wrap:anywhere}
 .v82-sources a,.sources a{overflow-wrap:anywhere}
 .v84-more-backdrop{z-index:205}
 .v84-more-menu{display:block;position:fixed;left:10px;right:10px;bottom:calc(72px + env(safe-area-inset-bottom,0px));padding:16px;border:1px solid #d7e2ee;border-radius:17px;background:#fff;box-shadow:0 18px 60px rgba(14,34,60,.25);max-height:74dvh;overflow:auto}
 .v84-more-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:16px}
 .v84-more-heading button{background:#f1f5fa;border:0;border-radius:9px;min-width:40px;min-height:40px}
 .v84-more-grid{display:grid;gap:7px;grid-template-columns:1fr 1fr}
 .v84-more-grid button{min-width:0;min-height:58px;border:1px solid #dce5ef;border-radius:12px;background:#f8fbff;text-align:left;padding:10px;color:#245784;font-size:14px}
 .v84-more-grid button span{font-weight:650}
 .v84-more-grid button.active{background:#e7f2ff;border-color:#8fb8de}
 .v7toolbar{gap:7px!important}
 .v7toolbar button,.v7toolbar select,.actions button,.storybar button,.v83-toolbar-actions button{min-height:40px}
 .v83-path-hero{margin-bottom:11px}
 .v83-paths{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v83-path-choice{min-width:0}
 .v83-plot-scroller{scrollbar-color:#9fbbda #edf4fb;scrollbar-width:auto}
 .v83-plot-scroller:focus-visible{outline:3px solid #2a74b4;outline-offset:1px}
 .v83-toolbar-actions button{flex:1 1 auto}
 .compare-grid,.text-grid,.archive-grid{grid-template-columns:minmax(0,1fr)!important}
 .compare-section{max-width:100%;overflow-x:auto}
 .compare-table th,.compare-table td{min-width:145px}
 #mapView{min-width:0}
}
@media(max-width:370px){
 .v84-bottom-nav button small{font-size:9px}
 .v84-read-peek{right:7px}
 .v83-paths{grid-template-columns:1fr 1fr}
 .v84-more-grid{grid-template-columns:1fr}
 .detail{padding-left:13px!important;padding-right:13px!important}
}
@media(prefers-reduced-motion:reduce){.detail{transition:none!important}html{scroll-behavior:auto}}

/* V8.5: stabil CSS extraherad från V8.4 utan ändringar i kartan */


/* V8.5.1 – externa söklänkar */
.external-search-links{display:grid;gap:8px;margin-top:12px}.external-search-links .readinglink{overflow-wrap:anywhere}.external-search-links .tiny{margin:2px 0 0;line-height:1.5}

/* V8.6 curated research cards */
.v86-article{margin:16px 0 24px;padding:17px;border:1px solid #bed5ef;border-radius:14px;background:#f9fcff;line-height:1.6;overflow-wrap:anywhere}
.v86-article h2{font-size:20px;margin:8px 0}.v86-article h3{margin:15px 0 7px;font-size:14px}
.v86-tag{display:inline-block;padding:5px 9px;color:#1d5b79;background:#e3f1f8;border:1px solid #c8e1f1;border-radius:20px;font-size:11px;font-weight:700}
.v86-sources{padding-left:20px}.v86-source{margin:10px 0;padding:8px 10px;background:#fff;border:1px solid #e3ebf5;border-radius:9px}
.v86-source a{font-weight:650;overflow-wrap:anywhere}
@media(max-width:550px){.v86-article{padding:12px}.v86-source{padding:8px}}

/* V8.7 – source-aware religious comparisons */
.v87-article{margin:18px 0;padding:18px;border:1px solid #d6e3ef;border-radius:15px;background:linear-gradient(#fff,#f8fbff);font-size:14px;line-height:1.65}.v87-article h2{font-size:20px;margin:8px 0 12px}.v87-article h3{font-size:14px;margin:16px 0 6px}.v87-article p{margin:8px 0}.v87-warning{background:#fff5e9;border:1px solid #f0d4a8;padding:12px;border-radius:10px}.v87-assessment{background:#eaf4ee;border:1px solid #bfd8c6;padding:12px;border-radius:10px}.v87-sources{padding-left:18px}.v87-sources li{margin:8px 0;overflow-wrap:anywhere}.v87-index{margin-bottom:18px;padding:16px;background:#fff;border-radius:16px;border:1px solid #dce6f2;box-shadow:0 6px 19px rgba(32,52,81,.05)}.v87-index h2{font-size:20px;margin:8px 0}.v87-indexhead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.v87-indexhead p{font-size:13px;color:#596b82;line-height:1.55}.v87-count{padding:7px 10px;background:#edf4ff;color:#235b91;border-radius:12px;white-space:nowrap;font-weight:700;font-size:12px}.v87-group{margin:17px 0}.v87-group>h3{font-size:13px;color:#244b72;margin:0 0 8px}.v87-cardgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px}.v87-card{text-align:left;padding:13px;display:flex;flex-direction:column;gap:7px;background:#fbfcff;border:1px solid #dce5f0;border-radius:12px;color:#1b2a40;cursor:pointer}.v87-card:hover,.v87-card:focus-visible{border-color:#467fb9;box-shadow:0 0 0 2px #dceaff}.v87-card strong{font-size:14px}.v87-card span:not(.tiny){font-size:12px;line-height:1.5}.v87-cardlink{color:#245e9c;font-weight:700}.v87-index .tiny{font-size:11px;color:#7b8899}@media(max-width:690px){.v87-indexhead{flex-direction:column}.v87-count{align-self:flex-start}.v87-cardgrid{grid-template-columns:1fr}.v87-article{padding:13px}}


/* V8.8: thematic primary text locator and source panel */
.v88-index{background:linear-gradient(125deg,#f1f6fc,#fff 38%);border:1px solid #d8e5f2;border-radius:16px;padding:18px;margin-bottom:17px}
.v88-indexhead{display:flex;align-items:flex-start;justify-content:space-between;gap:13px}.v88-indexhead h2{font-size:23px;margin:8px 0}.v88-indexhead p{font-size:13px;line-height:1.55;color:#526b83;max-width:840px}
.v88-count,.v88-status{font-size:11px;border-radius:999px;padding:6px 9px;white-space:nowrap}.v88-count{background:#dfeaf9;color:#21568b;font-weight:750}.v88-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 17px;font-size:12px;font-weight:650}.v88-controls select{min-width:200px;max-width:100%;border:1px solid #cddced;border-radius:9px;padding:9px;background:#fff}
.v88-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:11px}.v88-card{border:1px solid #dce7f3;background:#fff;border-radius:13px;padding:15px;display:flex;flex-direction:column;gap:8px}.v88-card h3{font-size:16px;margin:3px 0}.v88-card p{font-size:12px;line-height:1.55;margin:0;color:#55697e;flex:1}.v88-card button{align-self:flex-start;border:1px solid #cddff3;background:#edf5ff;border-radius:9px;padding:8px 11px;color:#225b94;font-weight:700}.v88-refchips{display:flex;gap:5px;flex-wrap:wrap}.v88-refchips span{border-radius:6px;background:#eff1f6;color:#456177;padding:5px 7px;font-size:10px}.v88-foot{font-size:12px;line-height:1.6;border-top:1px solid #dce7f3;margin-top:17px;padding-top:11px}.v88-foot p{margin:5px 0}
.v88-article{border:1px solid #bcd7e8;background:linear-gradient(#f8fbff,#fff);border-radius:14px;padding:15px;margin:14px 0}.v88-article h2{font-size:19px;margin:9px 0}.v88-article h3{font-size:14px;margin-top:17px}.v88-article p{font-size:13px;line-height:1.57}.v88-theme{color:#55768a;font-size:12px}.v88-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}.v88-passage{background:#fff;border:1px solid #dae6ef;border-radius:11px;padding:12px;overflow-wrap:anywhere}.v88-passage-top{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.v88-passage-top strong{font-size:12px}.v88-status{white-space:normal;background:#e1f3e8;color:#23634a}.v88-status.v88-pending{background:#fff0d7;color:#805622}.v88-kind{font-size:11px;color:#60768b;margin-top:5px}.v88-sourcetitle{font-size:13px;font-weight:700;margin-top:9px}.v88-passage p{margin:5px 0}.v88-passage a{display:inline-block;color:#215d9e;font-weight:650;font-size:12px;overflow-wrap:anywhere}.v88-caution{border:1px solid #ead8ba;background:#fff9ee;border-radius:11px;padding:12px;margin-top:13px}.v88-caution p{margin:6px 0 0}.v88-related{display:flex;flex-wrap:wrap;gap:7px}.v88-related button{border:1px solid #cfe0f1;background:#edf5fd;color:#215d91;border-radius:9px;padding:9px;text-align:left;font-size:12px}
@media(max-width:650px){.v88-index{padding:12px}.v88-indexhead{display:block}.v88-count{display:inline-block;margin-top:7px}.v88-indexhead h2{font-size:20px}.v88-controls{align-items:stretch}.v88-controls select{width:100%}.v88-grid{grid-template-columns:1fr}.v88-article{padding:12px}}

/* Tidens väv V8.9 – motif-aligned text comparisons */
.v89-lab{padding:18px;border:1px solid #bed6ea;border-radius:18px;background:linear-gradient(145deg,#ecf4fc,#fff 37%);margin:0 0 17px;box-shadow:0 6px 24px rgba(24,50,76,.06)}
.v89-lab *{box-sizing:border-box}.v89-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.v89-head h2{font-size:24px;line-height:1.25;margin:5px 0 9px}.v89-head p{font-size:13px;line-height:1.55;color:#53677e;margin:0}.v89-count{font-size:11px;background:#dae9f6;color:#235b8c;padding:7px 10px;border-radius:12px;white-space:nowrap}
.v89-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:16px 0 12px}.v89-picker label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.v89-picker select{width:100%;background:#fff;border:1px solid #c4d7e7;border-radius:10px;padding:11px 12px;color:#163657;font-size:13px}.v89-navbtn{border:1px solid #c4d7e7;color:#215a8e;background:white;border-radius:10px;padding:11px 12px;white-space:nowrap}
.v89-title{font-size:18px;font-weight:800;margin:15px 0 5px;color:#173957}.v89-sub{color:#5f7184;font-size:13px;line-height:1.5}.v89-logic{font-size:12px;padding:11px 13px;background:#f1f6fa;border:1px solid #d8e5ef;border-radius:11px;margin:12px 0;line-height:1.55}.v89-chips{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0 15px}.v89-chips button{border:1px solid #bcd3e5;border-radius:11px;padding:9px 11px;background:#fff;color:#315b7c;font-size:12px;text-align:left}.v89-chips button.active{background:#235d92;color:#fff;border-color:#235d92}
.v89-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.v89-source{border:1px solid #d7e4f1;border-radius:14px;padding:14px;background:#fff;min-width:0;display:flex;flex-direction:column}.v89-source.v89-left{border-top:4px solid #9574ba}.v89-source.v89-right{border-top:4px solid #328b85}.v89-label{font-size:10px;letter-spacing:.075em;color:#687c91;font-weight:800}.v89-source h3{font-size:16px;margin:7px 0}.v89-reference{font-size:13px;font-weight:750;color:#285f94;margin:0 0 8px}.v89-source dl{font-size:11px;color:#455c75;margin:0 0 9px}.v89-source dt{font-weight:750;margin-top:6px}.v89-source dd{margin:1px 0 0}.v89-reading{margin-top:auto;background:#f5f8fd;border-radius:11px;padding:12px;border:1px solid #e1eaf3}.v89-reading strong{display:block;font-size:12px;color:#32506d;margin-bottom:7px}.v89-reading p{font-size:13px;line-height:1.62;margin:0}.v89-foot-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 0}.v89-foot-actions a,.v89-foot-actions button{border:1px solid #cfe0ef;border-radius:9px;padding:8px 10px;background:#eff6ff;color:#225b8d;font-size:12px;font-weight:700;text-decoration:none;text-align:center}.v89-status{font-size:11px;line-height:1.5;color:#697c90;margin-top:8px}.v89-analysis{margin-top:13px;display:grid;gap:10px}.v89-compare-row{padding:12px 14px;border-radius:12px;border:1px solid #dbe7f1;background:#fff}.v89-compare-row h4{font-size:12px;margin:0 0 5px;color:#234565}.v89-compare-row p{font-size:13px;margin:0;line-height:1.55}.v89-compare-row.v89-uncertain{background:#fff9f0;border-color:#eadfc6}.v89-notice{font-size:12px;line-height:1.55;margin-top:12px;color:#586c7d}.v89-appendix{font-size:12px;border-top:1px solid #dce5ee;margin-top:14px;padding-top:12px;display:flex;gap:8px;flex-wrap:wrap}.v89-appendix a{color:#27679f;text-decoration:underline;overflow-wrap:anywhere}
@media(max-width:700px){.v89-lab{padding:12px}.v89-head{display:block}.v89-head h2{font-size:20px}.v89-count{display:inline-block;margin-top:10px}.v89-cols{grid-template-columns:1fr}.v89-picker{grid-template-columns:1fr}.v89-navbtn{justify-self:start}.v89-source{padding:12px}.v89-title{font-size:17px}.v89-chips button{flex:1 1 auto}}

/* V8.9.1 – Swedish Bible 2000: explicit links for each supported chapter. */
.v89-bible-extras{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px}
.v89-bible-extras a{display:inline-block;padding:7px 10px;border:1px solid #bed6ec;background:#eef6fd;border-radius:9px;color:#205c91;text-decoration:none;font-size:12px;font-weight:650;line-height:1.4}
.v89-bible-panel{margin:14px 0;padding:14px;border:1px solid #b9d7ee;border-radius:12px;background:#f0f7fd}
.v89-bible-panel b{font-size:14px}
.v89-bible-panel p{font-size:12px;line-height:1.6;margin:6px 0 0;color:#4c647d}

.v89-bible-translation{font-size:11px;font-weight:650;color:#1f658c;padding:5px 7px;background:#eaf5fb;border-radius:7px;margin-bottom:8px}

/* V8.10: Discoverable archival source reviews and topic-filtered text comparison */
.v810-directory {margin: 18px 0 25px; border:1px solid var(--line, #dce6f2); border-radius:16px; padding:19px; background:var(--panel, #fff)}
.v810-directory h2 {margin:.35em 0}
.v810-directory >p {max-width:72ch;line-height:1.6}
.v810-cardgrid {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin-top:14px}
.v810-researchlink {display:flex;flex-direction:column;gap:7px;text-align:left;align-items:flex-start;padding:14px;border-radius:12px;border:1px solid #ceddf0;background:#f9fbfe;color:#183d61;cursor:pointer;font:inherit}
.v810-researchlink:hover,.v810-researchlink:focus-visible {background:#e9f3ff;border-color:#4679aa;outline-offset:2px}
.v810-researchlink small {font-size:.74em;color:#60758e}
.v810-researchlink strong {font-size:.98em;line-height:1.35}
.v810-researchlink span {font-size:.81em;line-height:1.5;color:#50667a}
.v810-researchlink em {font-style:normal;font-size:.79em;font-weight:650;color:#2c6499;margin-top:auto}
@media(max-width:650px){.v810-directory{padding:12px}.v810-cardgrid{grid-template-columns:1fr}}
/* V8.11 – bibliography timeline and narrative/composition/witness separation */
.v811-hero{border:1px solid #d4e1ef;border-radius:18px;padding:22px;background:linear-gradient(130deg,#f5f9fe,#e9f3f9 82%);margin-bottom:16px}
.v811-hero h2{font-size:27px;margin:5px 0 9px;letter-spacing:-.025em;color:#163d62}
.v811-hero>p{font-size:14px;color:#435d76;line-height:1.65;max-width:76ch}
.v811-methodgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}
.v811-methodgrid>div{background:#fff;border:1px solid #dae5f2;border-radius:12px;padding:13px;display:grid;gap:5px;font-size:12px;color:#50647b;line-height:1.45}
.v811-methodgrid strong{color:#204764;font-size:13px}
.v811-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:14px 0}
.v811-controls label{display:grid;gap:5px;font-size:12px;color:#405773;font-weight:700;flex:1;min-width:145px}
.v811-controls input,.v811-controls select{font:inherit;color:#213d59;border:1px solid #bdcedf;border-radius:10px;background:#fff;min-height:42px;padding:9px;max-width:100%}
.v811-layout{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.4fr);gap:14px;align-items:start}
.v811-directory{display:grid;gap:9px;max-height:640px;overflow:auto;padding:1px}
.v811-item{font:inherit;display:grid;gap:7px;text-align:left;width:100%;border:1px solid #d9e5ef;background:#fff;color:#1b3c5a;padding:13px;border-radius:12px;cursor:pointer}
.v811-item.selected{background:#eaf4ff;border-color:#3776b3;box-shadow:inset 3px 0 #3776b3}
.v811-item strong{font-size:14px;line-height:1.35}.v811-item small{color:#667b90;font-size:11px;line-height:1.35}.v811-item span{font-size:11px;color:#46617d}
.v811-article{padding:19px 20px;background:#fff;border:1px solid #d5e2ee;border-radius:16px;min-width:0;line-height:1.65}
.v811-article h3{font-size:17px;color:#1e456c;margin:21px 0 8px}
.v811-article h2{font-size:21px;line-height:1.35;margin:6px 0 10px}
.v811-article p{font-size:13px;margin:6px 0 10px;color:#344b61}
.v811-caution{background:#fff8eb;border:1px solid #f1dabb;border-radius:11px;padding:12px;margin:12px 0;font-size:12.5px;color:#694b27}
.v811-times{display:grid;gap:9px;margin:15px 0}
.v811-time{display:grid;grid-template-columns:115px 1fr;gap:9px;align-items:center;font-size:12px}
.v811-time .name{color:#435975;font-weight:700}
.v811-time .content{background:#f4f8fb;border:1px solid #d8e5f0;padding:10px 12px;border-radius:10px;font-size:12px;color:#234867}
.v811-scale{margin:17px 0 4px;padding:15px;border:1px solid #dde7f0;border-radius:12px;background:#f9fbff;overflow:hidden}
.v811-scaleheader{position:relative;height:19px;font-size:10px;color:#647991;border-bottom:1px solid #d7e3ef;padding:0 0 7px;margin-bottom:9px}
.v811-track{position:relative;height:25px;border-radius:6px;margin:7px 0;background:repeating-linear-gradient(to right,#eef4fa,#eef4fa calc(25% - 1px),#d8e3f0 calc(25% - 1px),#d8e3f0 25%)}
.v811-range{position:absolute;top:4px;height:17px;border-radius:5px;min-width:4px;background:#2f729f}
.v811-range.witness{background:#b7833d}
.v811-trackrow{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px;align-items:center;font-size:11px;color:#526780}
.v811-stages{display:grid;gap:10px;border-left:2px solid #c6d8e8;margin-left:8px;padding-left:15px}
.v811-stage{position:relative;background:#f5f9fe;border:1px solid #e0e9f3;padding:10px 12px;border-radius:10px}
.v811-stage:before{content:'';position:absolute;left:-21px;top:13px;width:8px;height:8px;border:2px solid white;border-radius:50%;background:#5080ad}
.v811-stage .when{font-size:11px;color:#6d829a}.v811-stage strong{font-size:13px;color:#1f4669}.v811-stage p{margin:4px 0 0}
.v811-bullets{font-size:12.5px;color:#344b61;padding-left:19px}.v811-bullets li{padding:3px 0}
.v811-sources{display:grid;gap:9px}.v811-source{padding:11px;border:1px solid #dae7f4;border-radius:10px;background:#f8fbff;overflow-wrap:anywhere;font-size:12px}.v811-source a{display:block;font-weight:700}.v811-source small{display:block;color:#566b82;margin-top:4px;font-size:11px}
.v811-links{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}.v811-links a,.v811-links button,.v811-compare-action{font:inherit;font-size:12px;background:#eef5fd;border:1px solid #cbddf1;padding:8px 10px;border-radius:9px;color:#245b89;cursor:pointer;text-decoration:none}
.v811-comparison{margin-top:17px;border:1px solid #cfdff0;background:#f5faff;border-radius:14px;padding:15px}
.v811-comparison h3{margin:0 0 9px;font-size:16px}
.v811-comparegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v811-comparegrid>div{padding:12px;background:#fff;border-radius:10px;border:1px solid #deebf5;min-width:0}
.v811-comparegrid h4{font-size:14px;margin:0 0 8px}.v811-comparegrid dl{font-size:12px;margin:0}.v811-comparegrid dt{color:#728398;margin-top:9px}.v811-comparegrid dd{margin:0;color:#294766}
.v811-empty{font-size:12px;color:#6f8397;padding:13px;border:1px dashed #bdcede;border-radius:11px}
@media(max-width:1000px){.v811-layout{grid-template-columns:1fr}.v811-directory{max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}.v811-article{padding:15px}}
@media(max-width:550px){.v811-hero{padding:15px}.v811-hero h2{font-size:23px}.v811-methodgrid,.v811-directory,.v811-comparegrid{grid-template-columns:1fr}.v811-time{grid-template-columns:1fr}.v811-trackrow{grid-template-columns:78px minmax(0,1fr)}.v811-scale{padding:11px}}
/* No horizontal overflow when the new tab and longer search field share the header. */
@media(min-width:901px){.top{gap:12px}.top .tabs{margin-left:5px;gap:5px}.top .search{min-width:150px;width:20vw;max-width:225px;flex:0 1 225px}}
@media(max-width:650px){.v811-controls{display:grid;grid-template-columns:minmax(0,1fr)}.v811-controls label{min-width:0;width:100%}.v811-controls input,.v811-controls select{width:100%;box-sizing:border-box}}

/* V8.12 – friend-ready entry point and reviewed versus archive chronology */
.v812-hero{padding:25px;background:linear-gradient(132deg,#153957,#285d84 85%);border-radius:18px;color:#fff}
.v812-hero .kicker{color:#c2d9ed}.v812-hero h1{font:700 clamp(25px,4vw,38px)/1.17 Georgia,serif;margin:9px 0 10px}.v812-hero p{max-width:68ch;color:#dceaf7;line-height:1.7;font-size:14px}
.v812-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}
.v812-quick button{display:flex;flex-direction:column;gap:8px;text-align:left;min-width:0;padding:17px;border:1px solid #cfdeeb;border-radius:14px;color:#1d4569;background:#fff;min-height:156px;line-height:1.45}
.v812-quick button b{font-size:17px}.v812-quick button span{font-size:12px;color:#506980}.v812-quick button em{font-size:12px;font-style:normal;font-weight:800;color:#2a699e;margin-top:auto}
.v812-quick button:hover{border-color:#5593c3;background:#eff6fd}
.v812-notes{background:#fff;border:1px solid #d5e3ef;border-radius:15px;padding:17px;margin-top:12px}.v812-notes h3{margin:0 0 8px}.v812-notes p{line-height:1.6;color:#4b6278;font-size:13px}
.v812-indicators{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.v812-indicators span{font-size:11px;font-weight:700;border-radius:999px;background:#ecf3fa;color:#305b7e;padding:7px 10px}
.v812-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:15px 0}.v812-controls label{font-size:12px;font-weight:750;color:#3d5976;display:grid;gap:5px;flex:1;min-width:160px}.v812-controls input,.v812-controls select{min-height:42px;border-radius:10px;padding:9px 11px;border:1px solid #cbd9e9;background:#fff;color:#284665;width:100%}
.v812-feature-list{display:grid;gap:11px}.v812-feature{border:1px solid #d5e2ed;background:#fff;border-radius:13px;padding:14px;min-width:0}.v812-feature h3{font-size:16px;margin:4px 0 6px}.v812-feature p{font-size:12.5px;line-height:1.65;color:#425b73;margin:5px 0 9px}
.v812-feature-meta{font-size:11px;letter-spacing:.02em;font-weight:750;color:#4d7191}.v812-feature-note{padding:10px 11px;border-radius:9px;background:#fff8ec;border:1px solid #f0e0bf;font-size:12px;line-height:1.6;color:#735b38}.v812-feature-src{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.v812-feature-src a,.v812-feature-src button{background:#edf5ff;border:1px solid #c8deee;border-radius:9px;padding:8px 10px;font-size:11px;line-height:1.3;color:#24608e;font-weight:700;text-decoration:none}.v812-source-detail{font-size:11px;color:#576f84;margin:5px 0 3px}
.v812-flag{border:1px solid #efcfaa;background:#fff8ee;border-radius:10px;padding:11px;margin:8px 0 12px;line-height:1.55;font-size:12px;color:#704c24}.v812-flag strong{display:block;margin-bottom:4px}.v812-flag button{border:1px solid #d7b88e;background:#fff;color:#825c2b;border-radius:8px;padding:7px 10px;margin-top:8px;font-weight:700}
.v812-archive-sub{font-size:15px;font-weight:800;color:#204c74;margin:3px 0 5px}.v812-archive-oldtitle{font-size:11px;font-weight:400;color:#75869b;margin-top:5px}
.v812-method{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.v812-method>div{background:#f5f9ff;border:1px solid #d6e5ef;padding:14px;border-radius:12px}.v812-method b{display:block;font-size:13px}.v812-method p{font-size:12px;margin:6px 0 0}
@media(min-width:901px){.top .tabs{min-width:0;overflow-x:auto;flex:1;margin-left:3px;gap:2px;scrollbar-width:thin}.top .tab{white-space:nowrap;flex:0 0 auto;padding:9px 8px;font-size:11px}.top .search{flex:0 0 170px!important;width:170px!important;min-width:130px!important}}
@media(max-width:900px){.v812-quick{grid-template-columns:1fr}.v812-quick button{min-height:0}.v812-method{grid-template-columns:1fr}.v812-hero{padding:17px}}
/* First visit: hide unrelated legacy filters and selected record until reader intentionally navigates. */
body.v812-start .v84-read-peek, body.v812-chronology .v84-read-peek{display:none!important}
body.v812-start .top .search, body.v812-chronology .top .search{display:none!important}
body.v812-start #v84Sidebar,body.v812-chronology #v84Sidebar{display:none!important}
body.v812-start .detail{display:none!important}
body.v812-start main{display:block!important;min-height:calc(100dvh - 70px)}
body.v812-start main .main{max-width:1120px;margin:0 auto;padding:22px}
body.v812-chronology main{grid-template-columns:minmax(0,1fr) 355px}
.v812-proof{border:1px solid #dbe6f1;background:#f9fbfe;border-radius:10px;padding:9px 12px;font-size:12px;color:#415d78;margin:12px 0}
.v812-proof summary{cursor:pointer;font-weight:750;color:#27557a}.v812-proof li{margin:7px 0;line-height:1.6}.v812-proof ul{padding-left:18px;margin-bottom:3px}
@media(max-width:1200px){body.v812-chronology main{display:flex!important;flex-direction:column!important}body.v812-chronology main .main{width:100%}}
@media(max-width:900px){body.v812-start main .main{padding:12px 10px 24px!important}body.v812-chronology main .main{padding:10px!important}}

/* V8.13 – datumtyp, forskningsläge och historiskt proportionell graf */
.v813-panel{background:#f7faff;border:1px solid #cadae8;border-radius:14px;padding:15px;margin:8px 0 14px;display:grid;gap:10px}
.v813-intro{display:grid;gap:4px}.v813-intro strong{font-size:15px;color:#183f5e}.v813-intro span{font-size:12px;color:#4c647b;line-height:1.55}
.v813-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.v813-actions label{display:grid;gap:5px;font-size:12px;color:#42617a;font-weight:750;flex:1;min-width:220px}
.v813-actions select{padding:10px;border-radius:9px;border:1px solid #b8cde0;background:#fff;font-size:13px;color:#1c466b;width:100%;min-width:0}
.v813-actions button{padding:10px;border:1px solid #ccdce9;background:white;border-radius:9px;color:#2c5d85}
.v813-summary{display:flex;flex-wrap:wrap;gap:8px}.v813-summary span{font-size:11px;padding:8px 10px;background:#eaf3fc;border-radius:8px;color:#315e82;line-height:1.5}
.v813-legend{display:flex;flex-wrap:wrap;gap:7px}.v813-key{border-radius:7px;padding:5px 8px;font-size:11px;background:white;border:1px solid #d3e0ec;color:#35536f}.v813-key:before{content:'●';margin-right:5px}
.v813-key.research:before{color:#70859c}.v813-key.assessed:before{color:#2c6b9b}.v813-key.phased:before{color:#1c766c}.v813-key.original:before{color:#adb1bd}
.v813-method{padding:10px 12px;border:1px solid #d0dfed;border-radius:10px;background:#fff;font-size:12px;color:#475e70}.v813-method summary{cursor:pointer;font-weight:800;color:#315b79}.v813-method p{line-height:1.6}
.v813-cardgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(178px,1fr));gap:9px}.v813-list-item{display:grid;gap:6px;text-align:left;align-content:start;min-width:0;background:#fff;border:1px solid #d5e0eb;border-left:4px solid #70859c;border-radius:10px;padding:10px 11px;min-height:102px;color:#18354d}
.v813-list-item strong{font-size:12px;line-height:1.32}.v813-list-item span{font-weight:750;font-size:12px;color:#2c5875}.v813-list-item small{line-height:1.3;font-size:10px;color:#67798d}
.v813-list-item.assessed{border-left-color:#2c6b9b;background:#f7fbff}.v813-list-item.phased{border-left-color:#1c766c;background:#f7fdfa}.v813-list-item.original{border-left-color:#adb1bd;border-style:dashed}.v813-list-item.selected{outline:2px solid #3875a9}
.v813-group{min-width:0}.v813-chartgroup{padding:10px 10px 13px;background:#fff;border:1px solid #dce5ef;border-radius:13px;margin-bottom:12px}.v813-chartgroup header{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#34516d;padding:1px 1px 8px;gap:8px}
.v813-chartgroup header span{font-size:11px;color:#69819a}.v813-chartrows{display:grid;gap:7px}.v813-plotrow{display:flex;gap:8px;align-items:center;min-height:34px}.v813-plotline{position:relative;flex:1;min-width:0;height:32px;background:linear-gradient(90deg,rgba(43,73,105,.06) 1px, transparent 1px);background-size:20% 100%;border-bottom:1px solid #edf2f7}
.v813-range{position:absolute;height:7px;top:13px;border-radius:6px;opacity:.78}.v813-dot{position:absolute;top:8px;display:block;height:17px;width:4px;border-radius:3px;background:#2c6b9b;box-shadow:0 0 0 3px #dcecf8}
.v813-plotlabel{position:absolute;top:0;z-index:2;max-width:150px;min-width:0;text-align:left;line-height:1.2;height:30px;border:1px solid #d2e1ec;background:#fff;border-radius:6px;padding:5px 7px;font-size:10px;font-weight:700;color:#2e516a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transform:translateX(4px)}.v813-plotlabel.right{transform:translateX(calc(-100% - 4px))}.v813-plotrow.phased .v813-plotlabel{border-color:#8ac9be;color:#11564e}.v813-plotrow.original .v813-plotlabel{border-style:dashed;color:#7a8390}.v813-plotdate{width:116px;text-align:right;flex:none;font-size:10px;color:#5c7183}
.v813-reader-note{border:1px solid #beded3;background:#f4fbf8;border-radius:12px;padding:13px;margin-top:13px}.v813-reader-note h3{margin:7px 0 9px;font-size:15px}.v813-sourceinterval{display:grid;gap:5px;padding:10px 0;border-top:1px solid #dceee6;font-size:12px}.v813-sourceinterval>span{color:#217165;font-weight:800}.v813-sourceinterval p{margin:2px 0;color:#466a60;line-height:1.55}.v813-sourcelinks{display:flex;flex-wrap:wrap;gap:6px}.v813-sourcelinks a{padding:6px 8px;background:#fff;border:1px solid #c2dfd2;border-radius:7px;font-size:11px}
@media(max-width:900px){.v813-panel{padding:11px}.v813-actions{display:grid}.v813-actions label{min-width:0}.v813-actions button{width:100%}.v813-cardgrid{grid-template-columns:1fr 1fr}.v813-plotrow{display:block}.v813-plotdate{display:none}.v813-chartgroup{padding:9px}.v813-plotline{height:36px}}
@media(max-width:520px){.v813-cardgrid{grid-template-columns:1fr}.v813-list-item{min-height:0}.v813-summary{display:grid}}

/* Mobil: visa själva tidslinjen tidigare utan att dölja metod i desktopvyn */
@media(max-width:900px){#timelineView>.v83-inline-callout{display:none!important}.v813-legend{display:none}.v813-summary{display:none}.v813-panel{gap:7px}.v813-intro span{font-size:11px}.v813-actions select{min-height:42px}.v813-actions button{padding:8px}}

/* V8.14 – fast filterpanel, fast tidsaxel och läsbar filtrerad skala */
@media (min-width:901px){
  #v84Sidebar{
    position:sticky;top:var(--tv-header-height,64px);align-self:start;
    max-height:calc(100dvh - var(--tv-header-height,64px));
    overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;
    scrollbar-width:thin;border-right:1px solid #e0e8f0;
  }
}
#timelineView .timeline-card{overflow:visible!important;isolation:isolate}
#timelineView #axis{
  position:sticky;top:var(--tv-header-height,0px);z-index:41;
  background:#eff6fd;box-shadow:0 3px 9px rgba(27,54,81,.12);
  border-bottom:2px solid #b3cee8;
}
#timelineView.v814-scale-mode #axis{
  margin-left:12px;margin-right:126px;width:auto;
  border-radius:5px 5px 0 0;
}
#timelineView.v814-scale-mode #axis .tick:first-child{transform:translateX(-3px)}
#timelineView.v814-scale-mode #axis .tick:last-child{transform:translateX(-95%)}
#timelineView .v813-chartgroup{isolation:auto}
#timelineView .v813-plotlabel{z-index:1}
#timelineView .v813-panel select:focus-visible,
#timelineView .v813-list-item:focus-visible{outline:3px solid #2874ba;outline-offset:2px}
@media (max-width:900px){
  /* overflow-x:hidden would accidentally create a scrolling ancestor and defeat sticky positioning. */
  body,html{overflow-x:clip}
  body .main{overflow:visible!important}
  #timelineView .timeline-card{overflow:visible!important}
  #timelineView #axis{top:0;z-index:45;margin-left:0;margin-right:0;}
  #timelineView.v814-scale-mode #axis{margin-left:9px;margin-right:9px}
  #timelineView.v814-scale-mode .tick{font-size:9px}
}


/* V8.15 – hierarkiska kategorier med proportionella och tydligt icke-kontinuerliga sammanfattningar */
#timelineView.v815-hierarchical:not(.v814-scale-mode) #axis{margin-left:12px;margin-right:126px;width:auto}
.v815-toolbar-divider{width:1px;height:27px;background:#d7e2ed;margin:0 2px}
#v815CollapseAll,#v815ExpandAll{font-weight:700;border-color:#bacfe1;background:#f3f8ff;color:#245880}
.v815-status{font-size:11px;color:#546f8a;flex:1 1 100%}
.v815-category{transition:background .12s ease}
.v815-category.v815-folded{background:#f9fbfe}
.v815-category.v815-folded .v813-chartrows,.v815-category.v815-folded .v813-cardgrid,.v815-category.v815-folded>.tiny{display:none}
.v813-chartgroup header .v815-toggle{margin:0}
.v815-toggle{display:flex;width:100%;align-items:center;gap:8px;min-height:32px;padding:3px 5px;background:transparent;border:0;text-align:left;color:#214667;border-radius:8px}
.v815-toggle:hover{background:#ebf4fd}
.v815-toggle:focus-visible{outline:3px solid #2477bf;outline-offset:2px}
.v815-chevron{font-size:17px;color:#1f659c;font-weight:800;width:14px;text-align:center;flex:none}
.v815-toggle strong{font-size:12px;line-height:1.35}
.v815-count{font-size:11px;color:#667d94;font-weight:600;white-space:nowrap}
.v815-action{margin-left:auto;font-size:11px;color:#316998;white-space:nowrap}
.v815-summaryrow{display:flex;gap:8px;align-items:center;min-height:21px;padding:1px 0 6px}
.v815-summarytrack{height:13px;flex:1;min-width:0;position:relative;background:repeating-linear-gradient(90deg,rgba(49,82,119,.055) 0,rgba(49,82,119,.055) 1px,transparent 1px,transparent 20%);border-bottom:1px solid #dce7f1}
.v815-summaryline{position:absolute;top:6px;height:0;border-top:3px dashed #3177ae;border-radius:2px}
.v815-endpoint{position:absolute;top:3px;width:6px;height:6px;border-radius:100%;background:#276c9f;transform:translateX(-50%)}
.v815-summarypoint{position:absolute;top:1px;width:4px;height:12px;border-radius:4px;background:#276c9f;transform:translateX(-50%)}
.v815-summarydate{width:116px;flex:none;text-align:right;font-size:10px;color:#60768c;white-space:nowrap}
.v815-compact-header{padding-bottom:3px}
.v815-compact-header .v815-toggle{padding-left:0}
.v815-category.v7group{border:1px solid #dce5ef;margin:0 0 10px;border-radius:12px;background:#fff;padding:11px 12px}
.v815-category.v7group .v815-summaryrow{margin-bottom:6px}
.v815-category .v813-chartrows{margin-top:4px}
@media(max-width:900px){
 #timelineView.v815-hierarchical:not(.v814-scale-mode) #axis{margin-left:9px;margin-right:9px}
 .v815-summarydate{display:none}
 .v815-toolbar-divider{display:none}
 .v815-toggle{min-height:40px}
 .v815-action{font-size:10px}
 #v815CollapseAll,#v815ExpandAll{min-height:42px}
}
@media(max-width:460px){.v815-count{display:none}.v815-toggle{gap:6px}}

/* V8.18 – Archaeological dossier: four distinct epistemic columns. */
.v818-hero{border:1px solid #c8d6e8;background:linear-gradient(125deg,#ecf3fc,#fff);padding:22px;border-radius:14px;margin-bottom:16px}.v818-hero h2{margin:7px 0 12px;font-size:1.55rem;color:#173757}.v818-hero p{line-height:1.65;max-width:820px}
.v818-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:14px 0}.v818-controls label{display:flex;flex-direction:column;gap:5px;font-size:.85em;color:#355475}.v818-controls select,.v818-controls input{padding:9px 12px;border:1px solid #cbd9e8;background:#fff;border-radius:9px;max-width:100%;min-width:205px}
.v818-cases{display:grid;gap:12px}.v818-case{border:1px solid #ccd9e9;background:#fff;border-radius:12px;overflow:hidden}.v818-head{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;width:100%;border:0;background:#fff;padding:15px 18px;cursor:pointer;color:#1d3c62}.v818-head:hover{background:#f1f6fd}.v818-head>span:first-child{display:grid;gap:4px}.v818-head strong{font-size:1.07em}.v818-tag{font-size:.77em;color:#53789f;font-weight:650}.v818-details{padding:4px 15px 17px;border-top:1px solid #e6eef7}.v818-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.v818-grid section{border-radius:9px;background:#f2f6fb;border:1px solid #dbe5f1;padding:13px}.v818-grid section.v818-limits{background:#fff7ed;border-color:#ecd5b4}.v818-grid h4{color:#264e76;margin:0 0 7px;font-size:.9em}.v818-grid p{margin:0;font-size:.9em;line-height:1.55}.v818-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.v818-links a,.v818-links button,.v818-reader button{border:1px solid #cad9ec;border-radius:8px;background:#eff5fc;padding:8px 11px;font-size:.83em;text-decoration:none;color:#245b91;cursor:pointer}.v818-method{background:#fff6e8;border:1px solid #e9d6b5;padding:12px;border-radius:10px;margin:16px 0;line-height:1.5;font-size:.89em}.v818-reader{border-top:1px solid #d9e6f2;margin-top:12px;padding-top:13px}.v818-reader h3{margin:0 0 7px}.v818-reader button{margin:4px 4px 4px 0}
@media(max-width:720px){.v818-grid{grid-template-columns:1fr}.v818-hero{padding:15px}.v818-controls label,.v818-controls select,.v818-controls input{width:100%;min-width:0}.v818-head{padding:13px}}


/* V8.19 – explicit competing scholarly interpretations */
.v819-debate{border:1px solid #b4cde3;background:#f6faff;border-radius:10px;padding:14px;margin:12px 0}.v819-debate-title{font-weight:800;color:#193d64;margin-bottom:9px}.v819-debate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v819-debate-grid section{padding:12px;background:white;border:1px solid #dae6f0;border-radius:9px}.v819-debate-grid h4{margin:0 0 8px;color:#174976}.v819-debate-grid p{font-size:.88em;line-height:1.55}@media(max-width:720px){.v819-debate-grid{grid-template-columns:1fr}}

/* V8.20 – religionshistorisk undersökningsvy */
.v820-hero{background:linear-gradient(125deg,#e9eefb,#f8f9fc);border:1px solid #d7dfeb;border-radius:16px;padding:21px 23px;margin:0 0 14px;color:#1b2f4a}.v820-hero h2{font-size:clamp(20px,2.2vw,29px);margin:8px 0}.v820-hero p{line-height:1.65;max-width:920px}.v820-headstats{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.v820-headstats span{background:white;border:1px solid #d7e3f5;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:650}.v820-phases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.v820-phases>div{min-width:0;border-top:4px solid #6685b8;border-radius:9px;background:#eff3f9;padding:13px 10px;display:flex;flex-direction:column;gap:6px}.v820-phases>div:nth-child(2){border-color:#7c6cad}.v820-phases>div:nth-child(3){border-color:#b98465}.v820-phases>div:nth-child(4){border-color:#418d7d}.v820-phases strong{font-size:13px;color:#173250}.v820-phases small{color:#465972;line-height:1.4}.v820-phase-note{font-size:12px;color:#53647a;padding:0 3px}.v820-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:12px 0}.v820-controls label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:12px;min-width:180px;flex:1}.v820-controls input,.v820-controls select{width:100%;min-width:0;box-sizing:border-box;min-height:39px;border:1px solid #cbd9ec;border-radius:8px;background:#fff;padding:7px 10px;color:#163552}.v820-cards{display:grid;gap:9px}.v820-card{border:1px solid #d6e2ed;border-radius:12px;background:#fff;overflow:hidden}.v820-cardhead{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:15px;width:100%;border:0;background:transparent;padding:15px 16px;cursor:pointer;color:#173250}.v820-cardhead:hover{background:#f5f8fc}.v820-cardhead>span:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}.v820-cardhead strong{font-size:16px}.v820-cardhead small{font-size:11px;color:#597086}.v820-label{font-size:11px;color:#2a699e;font-weight:700;letter-spacing:.01em}.v820-body{border-top:1px solid #e1eaf5;padding:16px}.v820-summary{font-size:14px;line-height:1.7;color:#233c55;background:#eff5fd;padding:13px;border-radius:8px}.v820-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.v820-grid section{border:1px solid #dce7f2;border-radius:10px;padding:12px;min-width:0}.v820-grid section:last-child{grid-column:1/-1}.v820-grid h4,.v820-debate h4{margin:0 0 7px;font-size:13px;color:#16395b}.v820-grid p{margin:0;line-height:1.65;font-size:13px}.v820-limits{background:#fff7eb;border-color:#ead8bf!important}.v820-debate{margin:16px 0;padding:14px;background:#f6f2fb;border-radius:10px}.v820-debate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px}.v820-debate-grid section{background:white;border:1px solid #e3d6f3;border-radius:8px;padding:10px;font-size:12px;line-height:1.5}.v820-debate-grid section p{margin:6px 0}.v820-debate-grid small{color:#52647a}.v820-proof{background:#f6f8fb;border:1px solid #e0e8ef;padding:10px;border-radius:8px;margin-bottom:11px}.v820-proof summary{cursor:pointer;font-size:13px;font-weight:700}.v820-proof li{font-size:12px;margin:7px 0;line-height:1.5}.v820-links{display:flex;flex-wrap:wrap;gap:7px}.v820-links a,.v820-links button,.v820-footer button,.v820-reader button{font:inherit;color:#1a548f;background:#eff5ff;border:1px solid #c7dcee;border-radius:8px;padding:8px 11px;text-decoration:none;font-weight:650;font-size:12px;cursor:pointer}.v820-links a:hover,.v820-links button:hover{background:#dfeefd}.v820-footer{margin-top:14px;background:#f6f8fc;border:1px solid #dbe4ee;border-radius:12px;padding:15px;line-height:1.6}.v820-footer p{font-size:13px}.v820-reader{margin-top:16px;padding:14px;border:1px solid #d9d5ec;border-radius:11px;background:#f6f4fb}.v820-reader h3{margin:0 0 7px}.v820-reader button{display:block;margin-top:7px;text-align:left}.v820-reader p{font-size:12px;color:#576279}
@media(max-width:700px){.v820-hero{padding:16px}.v820-phases{grid-template-columns:repeat(2,minmax(0,1fr))}.v820-grid{grid-template-columns:1fr}.v820-grid section:last-child{grid-column:auto}.v820-controls{flex-direction:column;align-items:stretch}.v820-controls label{width:100%}.v820-cardhead{padding:12px}.v820-body{padding:11px}.v820-links a,.v820-links button{max-width:100%;overflow-wrap:anywhere}.v820-debate-grid{grid-template-columns:1fr}}

/* New research view is not a selected timeline record; remove stale mobile reader teaser. */
body.v820-religion .v84-read-peek{display:none!important}


/* V8.21: exilens dokument och bibeltexternas tillkomst */
.v821-chain{display:flex;align-items:stretch;gap:4px;overflow-x:auto;padding:12px 2px 8px;scrollbar-width:thin;overscroll-behavior-x:contain}
.v821-milestone{flex:1 0 130px;min-width:0;text-align:left;background:#f1f6fc;border:1px solid #cddfeb;border-radius:10px;padding:12px;cursor:pointer;color:#153c5e;display:flex;flex-direction:column;gap:6px}
.v821-milestone:hover,.v821-milestone:focus-visible{outline:2px solid #337fba;background:#e9f2fd}
.v821-milestone small{font-weight:700;color:#326992}.v821-milestone strong{font-size:12px;line-height:1.35}
.v821-arrow{color:#7d96ac;align-self:center;font-weight:bold}
.v821-compare{border-radius:13px;padding:18px;background:#f4f8fd;border:1px solid #d8e5f1;margin:15px 0}
.v821-compare h3{margin:0 0 7px;color:#173958}.v821-compare>p{font-size:13px;color:#47657f}
.v821-compare-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.v821-compare-controls label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:5px}
.v821-compare-controls select{width:100%;min-width:0;background:#fff;padding:8px;border:1px solid #bfcee0;border-radius:8px;font-size:12px}
.v821-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v821-compare-grid section{min-width:0;background:#fff;border:1px solid #dae5f2;border-radius:10px;padding:14px}
.v821-compare-kicker{color:#557a99;font-size:10px;font-weight:700}.v821-compare-grid h4{font-size:14px;margin:8px 0;line-height:1.4}
.v821-compare-grid p{font-size:12px;line-height:1.62;overflow-wrap:anywhere}
#exileView .v820-card{scroll-margin-top:110px}#exileView .v820-footer button+button{margin-left:8px;margin-top:8px}
@media(max-width:700px){.v821-compare{padding:12px}.v821-compare-controls,.v821-compare-grid{grid-template-columns:1fr}.v821-milestone{flex-basis:145px}}
@media(max-width:900px){body.v821-exile .v84-read-peek{display:none!important}}

/* Den nya forskningsvyn har egna filter; tidslinjens filterpanel döljs här. */
body.v821-exile #v84Sidebar{display:none!important}
@media(min-width:1201px){body.v821-exile main{grid-template-columns:minmax(0,1fr) 355px}}
@media(min-width:901px) and (max-width:1200px){body.v821-exile main{grid-template-columns:minmax(0,1fr)}}

/* V8.22 – tydligare vittnesdatering och andra templets textvärld. */
.v822-periods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:13px 0 4px}
.v822-periods button{min-width:0;padding:12px 10px;text-align:left;border:1px solid #cadae8;background:#f2f7fc;color:#1b496a;border-radius:10px;cursor:pointer;display:grid;gap:5px;align-content:start}
.v822-periods button:hover,.v822-periods button:focus-visible{background:#e6f1fe;outline:2px solid #6096bb}
.v822-periods b{font-size:12px;line-height:1.3}.v822-periods small{font-size:11px;font-weight:700;color:#4a7190}
.v822-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.v822-three>div{min-width:0;border:1px solid #d7e3ee;background:#fafcfe;border-radius:10px;padding:11px}
.v822-three small{font-size:10px;font-weight:700;letter-spacing:.04em;color:#50708b;text-transform:uppercase}
.v822-three p{font-size:12px;line-height:1.55;color:#2b425b;margin:8px 0 0;overflow-wrap:anywhere}
.v822-sourcechain{border-left:4px solid #6687b0;background:#f1f5fa;padding:11px 14px;border-radius:7px;font-size:12px;color:#344d6a;line-height:1.65;margin:12px 0}
#hellenismView .v820-card{scroll-margin-top:105px}#hellenismView .v820-footer button+button{margin-left:8px;margin-top:8px}
body.v822-hellenism #v84Sidebar{display:none!important}
@media(min-width:1201px){body.v822-hellenism main{grid-template-columns:minmax(0,1fr) 355px}}
@media(min-width:901px) and (max-width:1200px){body.v822-hellenism main{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){body.v822-hellenism .v84-read-peek{display:none!important}}
@media(max-width:760px){.v822-periods{grid-template-columns:repeat(2,minmax(0,1fr))}.v822-three{grid-template-columns:1fr}}

/* V8.23: first-century dossier */
body.v823-roman #v84Sidebar{display:none!important}
@media(min-width:1201px){body.v823-roman main{grid-template-columns:minmax(0,1fr) 355px}}
@media(min-width:901px) and (max-width:1200px){body.v823-roman main{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){body.v823-roman .v84-read-peek{display:none!important}}
#romanView .v820-card{scroll-margin-top:106px}

/* V8.25 – första användningen och läsbarhet */
.v825-welcome{background:#f4f8fe;border:1px solid #bfd4e9;padding:18px;margin:12px 0 19px;border-radius:15px;color:#213c58}
.v825-welcome-head{display:flex;align-items:start;justify-content:space-between;gap:15px}.v825-welcome-head small{font-weight:800;letter-spacing:.06em;color:#2c5e8b}.v825-welcome-head h3{font-size:22px;margin:8px 0}.v825-welcome-head p{line-height:1.6;margin:8px 0 0}.v825-beta{display:inline-block;max-width:200px;font-size:11px;font-weight:650;background:#fffbeb;color:#805a22;border:1px solid #e3c68e;border-radius:999px;padding:8px 10px;flex-shrink:0}
.v825-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.v825-steps button{border:1px solid #c2d7ea;border-radius:12px;background:#fff;min-height:96px;padding:12px;text-align:left;display:grid;gap:7px;align-content:start;cursor:pointer;color:#1c3c5b}.v825-steps button:hover,.v825-steps button:focus-visible{outline:3px solid #7aade4;outline-offset:1px}.v825-steps button strong{font-size:14px}.v825-steps button span{font-size:12px;line-height:1.55}.v825-note{font-size:12px;line-height:1.65;margin:0;background:#fff;padding:12px;border-radius:9px}
@media(max-width:720px){.v825-steps{grid-template-columns:1fr}.v825-steps button{min-height:0}.v825-welcome-head{display:block}.v825-beta{margin-top:12px}.v825-welcome{padding:12px}}

/* V8.26 - private usability evaluation */
body.v826-pilot #v84Sidebar{display:none!important}
@media(min-width:1201px){body.v826-pilot main{grid-template-columns:minmax(0,1fr) 355px}}
@media(min-width:901px) and (max-width:1200px){body.v826-pilot main{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){body.v826-pilot .v84-read-peek{display:none!important}}
.v826-invitation{border:1px solid #a4c5e8;border-radius:13px;background:#ebf4ff;padding:13px 16px;display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:12px}.v826-invitation p{margin:5px 0 0;font-size:12px;line-height:1.5}.v826-invitation button,.v826-actions button,.v826-caveats button{border:1px solid #94bce4;background:#fff;color:#1c5589;border-radius:9px;padding:11px 12px;font-weight:700;cursor:pointer}
.v826-hero{background:linear-gradient(120deg,#e8f0fb,#fff);border:1px solid #c7d9ea;border-radius:15px;padding:22px;margin-bottom:17px}.v826-hero h2{margin:8px 0;font-size:24px}.v826-hero p{line-height:1.6;font-size:14px}.v826-block{background:white;border:1px solid #d7e2ee;border-radius:14px;padding:18px;margin:12px 0}.v826-block h3{margin:0 0 10px;color:#173756}.v826-block>p{line-height:1.65;font-size:13px}.v826-tasks{display:grid;gap:8px}.v826-tasks label{border:1px solid #d6e4ef;background:#f8fbff;border-radius:10px;padding:12px;display:flex;gap:11px;align-items:center;min-width:0}.v826-tasks input{width:20px;height:20px;flex-shrink:0}.v826-tasks span{display:grid;flex:1;gap:4px;min-width:0}.v826-tasks span b{font-size:14px}.v826-tasks span small{font-size:12px;color:#556e83;line-height:1.5}.v826-tasks button{padding:8px 11px;border:1px solid #b1cbe4;border-radius:9px;background:#fff;white-space:nowrap;color:#245d92;font-weight:700;cursor:pointer}.v826-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:15px 0}.v826-form label{font-size:12px;font-weight:700;display:grid;gap:6px;min-width:0}.v826-form label:last-child{grid-column:1/-1}.v826-form input,.v826-form select,.v826-form textarea{padding:10px;border:1px solid #bacfe2;border-radius:9px;min-width:0;width:100%;font-size:13px;color:#173756;font:inherit}.v826-form textarea{min-height:130px;resize:vertical}.v826-actions{display:flex;gap:9px;flex-wrap:wrap;margin:11px 0}.v826-actions button:first-child{background:#255d92;color:white;border-color:#255d92}.v826-private{font-size:12px;color:#526a7e}.v826-block #v826CopyText{width:100%;max-width:100%;border:1px solid #c4d5e4;border-radius:9px;padding:9px}.v826-block #v826ExportStatus{font-size:12px;min-height:20px;color:#2c5d87;margin-top:8px}
@media(max-width:650px){.v826-invitation{display:grid}.v826-tasks label{flex-wrap:wrap}.v826-tasks button{margin-left:30px}.v826-form{grid-template-columns:1fr}.v826-form label:last-child{grid-column:auto}.v826-block{padding:13px}.v826-hero{padding:14px}.v826-hero h2{font-size:20px}}
/* V8.27 – navigering och global sökning */
.top{overflow:visible!important}.top .tabs{max-width:min(72vw,790px);gap:3px}
.top .tabs #navPilot,.top .tabs #navChronology,.top .tabs #navArchaeology,.top .tabs #navReligion,.top .tabs #navExile,.top .tabs #navHellenism,.top .tabs #navRoman,.top .tabs #navFormation,.top .tabs #navArchive,.top .tabs #navAbout{display:none!important}
.v827-navholder{position:relative;flex:none;z-index:111}.v827-navholder>button{border:1px solid #bed4e7;border-radius:10px;padding:9px 12px;color:#205686;background:#edf5fd;font-weight:750;white-space:nowrap}
#v827ResearchMenu{position:absolute;right:0;top:calc(100% + 7px);min-width:235px;max-height:65vh;overflow-y:auto;background:white;border:1px solid #cbddeb;border-radius:12px;padding:7px;box-shadow:0 15px 30px #0f2c4e38;z-index:600}
#v827ResearchMenu[hidden]{display:none}#v827ResearchMenu button{display:block;width:100%;padding:9px 12px;text-align:left;background:white;border:0;border-radius:6px;color:#254c6f}#v827ResearchMenu button:hover{background:#eaf3fd}
#v827SearchResults{position:fixed;z-index:700;right:16px;top:var(--v814-header,75px);width:min(470px,calc(100vw - 25px));max-height:min(68vh,560px);overflow:auto;background:#fff;box-shadow:0 15px 40px #153a5a40;border:1px solid #c5d7ea;border-radius:13px;padding:9px}
#v827SearchResults[hidden]{display:none}#v827SearchResults .v827-searchhint{font-size:11px;color:#5e758e;padding:7px}
#v827SearchResults button{display:grid;gap:4px;width:100%;background:#fff;border:0;border-bottom:1px solid #e9eef5;padding:9px 10px;text-align:left;color:#183d63}#v827SearchResults button:hover{background:#f0f6ff}#v827SearchResults small{font-size:10px;color:#71869c}#v827SearchResults b{font-size:13px}
/* V8.27 – a readable temporal viewport and horizontal time pan */
.v827-pancontrols{padding:12px 15px;margin:0 0 12px;background:#f4f8fd;border:1px solid #d7e3f0;border-radius:12px}.v827-pantop,.v827-panrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.v827-pancontrols b{color:#2b5279;font-size:13px}.v827-pancontrols small{font-size:11px;color:#5a718a}.v827-panrow{margin:10px 0}.v827-panrow input{flex:1;min-width:80px;accent-color:#316b9f}.v827-panrow button{flex:none;background:white;color:#255a8a;border:1px solid #c4d7e8;border-radius:8px;padding:9px;font-size:12px}
/* Labels move outside of interval graphics, ensuring dates and endpoints remain visible. */
#timelineView.v814-scale-mode .v813-plotrow{display:grid;grid-template-columns:minmax(148px,198px) minmax(0,1fr) 116px;gap:7px;align-items:center}
#timelineView.v814-scale-mode .v813-plotrow>.v827-leftlabel{position:static;transform:none!important;display:block;width:100%;max-width:none;height:auto;min-height:30px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;overflow:hidden;text-overflow:ellipsis;background:#fff;border:1px solid #e0e8f0;color:#375772;text-align:left;padding:6px 7px;font-size:11px}
#timelineView.v814-scale-mode .v813-plotline{height:31px;cursor:grab}#timelineView.v814-scale-mode .v813-plotline:active{cursor:grabbing}
#timelineView.v814-scale-mode #axis{margin-left:210px!important;margin-right:125px!important;width:auto!important}
#timelineView.v814-scale-mode #epochs{margin-left:210px!important;margin-right:125px!important;width:auto!important}
#timelineView.v814-scale-mode .v815-summaryrow{padding-left:205px}
/* Refine oversized dotted category spans. */
.v815-summaryline{border-top:1px dashed #7d9db8!important;top:6px!important;opacity:.82}
.v815-endpoint{width:4px;height:4px;top:4px;background:#7899b5}.v815-summarypoint{height:9px;width:3px;top:3px;background:#7d9bb6}
.v815-summarytrack{background:repeating-linear-gradient(90deg,rgba(49,82,119,.028) 0,rgba(49,82,119,.028) 1px,transparent 1px,transparent 20%)}
.v827-chronological{border:1px solid #dce4ec;background:#fff;border-radius:12px;padding:14px}.v827-chronological header{margin-bottom:10px}.v827-chronological header h3{margin:4px 0 6px}.v827-chronological header p{font-size:12px;color:#60758c;margin:0}
.v827-chronoitem{width:100%;display:grid;grid-template-columns:170px 1fr;gap:12px;align-items:center;padding:10px 12px;border:0;border-bottom:1px solid #e7edf5;background:white;text-align:left;color:#214767}.v827-chronoitem:hover{background:#eef5fc}.v827-chrono-when{font-size:11px;font-weight:750;color:#3f668a}.v827-chronoitem b{display:block;font-size:13px}.v827-chronoitem small{display:block;color:#6e8196;font-size:11px;margin-top:4px}
/* Correspondences with explicit evidence classes */
.v827-reader-rel,.v827-relationship-panel{padding:14px;border:1px solid #bed7ea;background:#f6faff;border-radius:12px;margin:14px 0;scroll-margin-top:120px}
.v827-reader-rel h3{margin:3px 0 6px;font-size:15px}.v827-reader-rel p,.v827-relationship-panel p{font-size:12px;line-height:1.6;color:#44617d}.v827-reader-rel button{border:1px solid #bfd1e6;color:#235a91;background:white;padding:9px 12px;border-radius:9px;font-weight:700}
.v827-relationship-panel h2{font-size:20px;margin:8px 0}.v827-relationship-panel label{display:grid;gap:6px;font-size:12px;font-weight:700}.v827-relationship-panel select{max-width:100%;padding:10px;border:1px solid #cbdaeb;border-radius:8px;background:white}
.v827-relation{background:#fff;padding:12px 15px;border:1px solid #d4e2ef;border-radius:11px;margin-top:10px}.v827-reltype{font-size:10px;color:#2a608e;text-transform:uppercase;font-weight:800;letter-spacing:.03em}.v827-relpath{font-size:13px;font-weight:750;color:#24445f;margin:7px 0}.v827-linkrow{display:flex;flex-wrap:wrap;gap:6px}.v827-linkrow button,.v827-linkrow a{border:1px solid #c7d9e7;background:#f4f9ff;padding:7px 8px;border-radius:7px;color:#285d8a;font-size:11px;text-decoration:none}
@media(max-width:900px){.top .tabs{max-width:100%}.v827-navholder{order:3}.top .search{order:4}#v827SearchResults{top:125px;right:8px}.v827-pantop{display:grid}.v827-panrow button{padding:7px}.v827-chronoitem{grid-template-columns:1fr;gap:3px}#timelineView.v814-scale-mode .v813-plotrow{grid-template-columns:1fr;gap:1px}#timelineView.v814-scale-mode .v813-plotrow>.v827-leftlabel{width:auto}#timelineView.v814-scale-mode #axis,#timelineView.v814-scale-mode #epochs{margin-left:8px!important;margin-right:8px!important}#timelineView.v814-scale-mode .v815-summaryrow{padding-left:0}}
@media(max-width:480px){.v827-panrow button{font-size:10px}.v827-pancontrols{padding:9px}.v827-navholder>button{padding:7px 9px}}

/* Context-specific filters: show timeline checkboxes only where they apply. */
body[data-v827-view="explore"] #v84Sidebar,body[data-v827-view="religion"] #v84Sidebar,body[data-v827-view="exile"] #v84Sidebar,body[data-v827-view="hellenism"] #v84Sidebar,body[data-v827-view="roman"] #v84Sidebar,body[data-v827-view="formation"] #v84Sidebar,body[data-v827-view="archaeology"] #v84Sidebar,body[data-v827-view="pilot"] #v84Sidebar{display:none!important}
@media(min-width:1201px){body[data-v827-view="explore"] main,body[data-v827-view="religion"] main,body[data-v827-view="exile"] main,body[data-v827-view="hellenism"] main,body[data-v827-view="roman"] main,body[data-v827-view="formation"] main,body[data-v827-view="archaeology"] main,body[data-v827-view="pilot"] main{grid-template-columns:minmax(0,1fr) 355px}}

/* The all-category chronological list spans the whole filtered research period. */
#timelineView.v827-chrono-mode #axis,#timelineView.v827-chrono-mode #epochs,#timelineView.v827-chrono-mode #v827PanControls{display:none!important}

/* V8.28: stronger category distinction through shape, text and consistent color */
.v828-dossier{border:1px solid #bed3e3;border-left:5px solid #2f6c9b;background:#fcfdff;border-radius:13px;padding:16px;margin:17px 0;line-height:1.6}
.v828-dossier.v828-new{border-left-color:#237e6e}
.v828-dossier h2{font-size:18px;line-height:1.3;margin:9px 0 13px;color:#123c59}
.v828-dossier h3{font-size:13px;color:#31516b;margin:17px 0 5px}
.v828-dossier p{font-size:13px;margin:5px 0 9px}
.v828-sourcewarning{background:#fff5e8;border:1px solid #f0d9b8;padding:10px;border-radius:9px;color:#72501c}
.v828-sources{list-style:none;padding:0!important;margin:8px 0!important;display:grid;gap:7px}
.v828-sources li{padding:9px;border:1px solid #dbe6ef;border-radius:8px;background:white}
.v828-sources a{display:block;font-weight:750;font-size:12px;color:#205a8c}
.v828-sources small{display:block;margin-top:3px;color:#5c748a;font-size:11px}
.v828-coverage{font-size:11px;color:#61768b;display:block;margin-top:8px}
.v828-collapsed{border:1px solid #d8e5ef;margin:11px 0;border-radius:10px;overflow:hidden}
.v828-collapsed>summary{padding:11px 13px;font-weight:750;font-size:12px;color:#245c82;cursor:pointer;background:#eef5fc}
.v828-collapsed>.v828-dossier{margin:0;border:0;border-radius:0}
.v828-archivebanner{border-left:4px solid #287969;background:#eef9f6;color:#1f544d;border-radius:8px;padding:11px 15px;margin:12px 0}
.v828-archivebanner strong{font-size:13px}.v828-archivebanner p{font-size:12px;margin:5px 0 0;line-height:1.5}
/* Chronological Gantt retains axis and pan, unlike V8.27's plain list. */
#timelineView.v828-chrono-gantt #axis{display:block!important;position:sticky!important;top:var(--tv-header-height,60px)!important;z-index:45!important;margin-left:217px!important;margin-right:131px!important;width:auto!important}
#timelineView.v828-chrono-gantt #v827PanControls{display:block!important}
#timelineView.v828-chrono-gantt #epochs{display:none!important}
#timelineView.v828-chrono-gantt .v828-gantt{background:#fff;border:1px solid #d4dfe9;border-radius:12px;padding:11px}
.v828-gantt-intro h3{font-size:16px;margin:0 0 5px;color:#153e5f}
.v828-gantt-intro p{font-size:12px;line-height:1.5;color:#5d748b;margin:0 0 8px}
.v828-categories{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 14px}
.v828-color-key{display:inline-flex;gap:5px;align-items:center;border:1px solid #dbe5ee;border-radius:6px;padding:5px 8px;font-size:11px;color:#405c73;background:#fbfdff}
.v828-color-key i{display:inline-block;height:9px;width:9px;border-radius:2px;flex:none}
.v828-gantt-row{display:grid;grid-template-columns:198px minmax(0,1fr) 116px;align-items:center;gap:7px;border-bottom:1px solid #e6edf3;min-height:44px}
.v828-gantt-row:nth-child(odd){background:#f8fbff}
.v828-gantt-label{display:flex;align-items:center;gap:8px;text-align:left;background:transparent;border:0;padding:6px 7px;font-size:11px;color:#1a3e5a;min-width:0}
.v828-gantt-label span:last-child{overflow:hidden;min-width:0}
.v828-gantt-label b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v828-gantt-label small{display:block;font-size:9px;color:#617890;margin-top:2px}
.v828-catmark{width:5px;height:26px;border-radius:4px;flex:none}
.v828-gantt-track{position:relative;min-width:0;height:35px;background:linear-gradient(90deg,rgba(50,83,113,.075) 1px,transparent 1px);background-size:20% 100%}
.v828-period{position:absolute;top:14px;height:8px;min-width:3px;opacity:.83;border-radius:6px}
.v828-point{position:absolute;top:10px;height:17px;width:4px;border-radius:3px;box-shadow:0 0 0 2px #e1ebf4}
.v828-gantt-date{font-size:10px;text-align:right;color:#60778b;background:transparent;border:0;padding:4px;cursor:pointer}
.v828-gantt-label:hover,.v828-gantt-date:hover{background:#e4f1ff}
#timelineView.v828-chrono-gantt .v828-gantt-row:focus-within{outline:2px solid #235c93;outline-offset:-2px}
#timelineView .v813-list-item{border-left-width:5px}
#timelineView .v813-range{opacity:.86}
/* strong but quiet controls */
#timelineView .v813-panel{background:#f4f8fd}
#timelineView .v827-pancontrols{border-left:4px solid #527b9e}
#timelineView .v815-summaryline{border-top-width:1px;opacity:.70}
@media(max-width:900px){
 #timelineView.v828-chrono-gantt #axis{top:0!important;margin-left:8px!important;margin-right:8px!important}
 .v828-gantt-row{grid-template-columns:1fr;gap:2px;padding:7px 1px}
 .v828-gantt-label{padding:3px 8px;font-size:12px}
 .v828-gantt-track{width:100%;height:26px}
 .v828-period{top:11px}
 .v828-point{top:6px}
 .v828-gantt-date{text-align:left;font-size:10px;padding-left:8px}
 .v828-gantt-intro p{font-size:11px}
 .v828-categories{gap:4px}
 .v828-color-key{font-size:9px;padding:4px}
}

.v828-catalog{background:#fff;border:1px solid #cadde9;border-radius:15px;padding:17px;margin:16px 0 32px}
.v828-catalog>h2{margin:8px 0;font-size:20px;color:#163e5c}
.v828-catalog>p{font-size:12px;color:#526b80;line-height:1.6}
.v828-catalog-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr);gap:8px;margin:14px 0}
.v828-catalog-controls input,.v828-catalog-controls select{width:100%;min-width:0;padding:10px;border:1px solid #bfcede;border-radius:9px;background:white;color:#244765}
.v828-catalog-count{font-weight:800;color:#2d5c7a!important}
.v828-catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:7px;max-height:560px;overflow:auto;padding:4px}
.v828-catalog-card{display:grid;gap:5px;text-align:left;align-content:start;border:1px solid #d7e4ed;border-left:4px solid #3e759d;background:#fafdff;border-radius:9px;padding:11px;color:#173b5b}
.v828-catalog-card:hover{background:#eaf3ff;border-color:#b4cfe6}
.v828-catalog-card>span{font-size:10px;color:#526b7f}.v828-catalog-card>b{font-size:12px;line-height:1.32}
.v828-catalog-card>small{font-size:10px;color:#678094}.v828-catalog-card[hidden]{display:none}
.v828-catalog-method{background:#fff7eb;border-left:4px solid #c68b3b;padding:10px;border-radius:8px}
#timelineView.v828-chrono-gantt #v815CollapseAll,#timelineView.v828-chrono-gantt #v815ExpandAll,#timelineView.v828-chrono-gantt #v815CollapseStatus{display:none!important}
@media(max-width:700px){.v828-catalog-controls{grid-template-columns:1fr}.v828-catalog-grid{grid-template-columns:1fr;max-height:400px}}

/* Tidens väv V8.29: visible selection, dependable back route, honest relation origin, adjustable reading width */
#v829BackBar{display:flex;align-items:center;gap:12px;min-height:36px;margin:0 0 9px}
#v829Back{border:1px solid #b9d3e9;border-radius:9px;background:#edf5fc;color:#174c79;padding:8px 13px;font-size:12px;font-weight:750;cursor:pointer}
#v829Back:disabled{opacity:.46;cursor:default}
#v829CurrentLocation{font-size:11px;color:#526c83;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v828-catalog-card.v829-selected,.v828-catalog-card[aria-pressed="true"]{background:#dcecff!important;border-color:#3568a1!important;border-left:6px solid #194e87!important;box-shadow:inset 0 0 0 2px #a2c3e7,0 2px 8px #193f6430;color:#113c64!important}
.v828-catalog-card.v829-selected::after{content:"✓ Vald post";font-size:11px;font-weight:800;color:#144f82}
.v828-gantt-row.v829-selected,.v828-gantt-row.v829-target{background:#dceeff!important;box-shadow:inset 0 0 0 2px #558dcc;border-radius:6px}
.v813-plotrow.v829-target,.v815-category .v829-target{outline:3px solid #2c6ca8;outline-offset:2px;background:#e0efff}
.v828-gantt-row.v829-target::after{content:"◀ HÄR";font-size:10px;color:#114b78;font-weight:850;grid-column:1 / -1;margin-left:12px}
.v829-origin{border:1px solid #9cbfe2;background:#edf5ff;border-radius:11px;padding:13px;margin:14px 0}
.v829-origin h3{font-size:16px;margin:7px 0}.v829-origin p{margin:7px 0}
.v829-origin button{border:1px solid #95bddd;background:white;border-radius:8px;padding:8px 10px;color:#1d5488;font-size:12px}
.v829-origin .v829-caution{border-left:3px solid #ca8c32;padding-left:10px;color:#715c38;background:#fff9ed}
.v829-candidate{display:grid;gap:4px;border-top:1px solid #d6e6f4;padding:9px 0}.v829-candidate button{justify-self:start}.v829-candidate small{font-size:11px;line-height:1.5;color:#526980}
#v829WidthControls{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0 0 13px;border-bottom:1px solid #e3edf4;padding:0 0 9px}
#v829WidthControls b{font-size:11px;color:#5a7186;margin-right:auto}
#v829WidthControls button{font-size:15px;border:1px solid #c4d9eb;background:#f5faff;color:#255a81;padding:5px 11px;min-width:38px;border-radius:8px}
#v829ReaderGrip{display:none}
@media(min-width:1101px){
 main{grid-template-columns:225px minmax(0,1fr) var(--v829-reader-width,410px)!important}
 body[data-v827-view="explore"] main,body[data-v827-view="religion"] main,body[data-v827-view="exile"] main,body[data-v827-view="hellenism"] main,body[data-v827-view="roman"] main,body[data-v827-view="formation"] main,body[data-v827-view="archaeology"] main,body[data-v827-view="pilot"] main{grid-template-columns:minmax(0,1fr) var(--v829-reader-width,410px)!important}
 #v829ReaderGrip{position:absolute;display:block;left:0;top:0;bottom:0;width:9px;cursor:col-resize;z-index:10;background:transparent;border-left:2px solid #d0e1ef}
 #v829ReaderGrip:hover,#v829ReaderGrip:focus-visible{background:#dcecf9;border-left-color:#3773a7}
 .detail{min-width:0!important;padding-left:22px!important}
}
@media(max-width:1100px){#v829ReaderGrip,#v829WidthControls{display:none!important}}

/* V8.31 – make Research Areas usable on narrow screens and zoomed mobile browsers. */
@media (max-width:900px){
  .v827-navholder{max-width:100%;min-width:0;position:relative}
  .v827-navholder>button{max-width:calc(100vw - 24px);white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.3}
  #v827ResearchMenu{position:fixed;left:12px;right:12px;top:var(--v831-research-top,145px);width:auto;min-width:0;max-width:none;max-height:calc(100dvh - var(--v831-research-top,145px) - 82px);box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;z-index:900}
  #v827ResearchMenu button{max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.4}
}
@media (max-width:480px){.v827-navholder>button{font-size:14px;padding:9px 11px}}
