
:root{--paper:#faf6ed;--surface:#fffdf7;--ink:#342c28;--muted:#6c6156;--maroon:#722f37;--maroon-dark:#552129;--gold:#9a7437;--line:#d9cbb7;--leaf:#4d6246;--font:'Telugu Sangam MN','Nirmala UI',sans-serif;--heading:'Telugu MN','Nirmala UI',serif;--base:20px}
*{box-sizing:border-box}html{font-size:var(--base);scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);line-height:1.65}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{min-height:52px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:9px 17px;line-height:1.5}button:hover{border-color:var(--maroon);background:#f5ece2}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #176b83;outline-offset:4px}button.primary{background:var(--maroon);color:#fffdf5;border-color:var(--maroon)}button.primary:hover{background:var(--maroon-dark)}button.quiet{background:transparent;border-color:transparent;color:var(--maroon)}button.small{font-size:.84rem;min-height:48px;padding:8px 12px}button svg{width:23px;height:23px;vertical-align:-4px;margin-right:8px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button.icon{padding:10px;min-width:52px}button.icon svg{margin:0}a{color:var(--maroon);text-underline-offset:4px}.skip{position:fixed;top:-100px;left:16px;background:white;padding:12px;z-index:100}.skip:focus{top:16px}.toran{height:26px;overflow:hidden;background-color:var(--maroon);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cpath d='M0 3Q24 19 48 3Q72 19 96 3' fill='none' stroke='%23c7a06a' stroke-width='1'/%3E%3Cpath d='M18 9Q12 27 4 22Q4 13 18 9M30 9Q36 27 44 22Q44 13 30 9M66 9Q60 27 52 22Q52 13 66 9M78 9Q84 27 92 22Q92 13 78 9' fill='%23c7a06a'/%3E%3C/svg%3E")}
header{background:var(--surface);border-bottom:1px solid var(--line)}.header-inner{max-width:1600px;margin:auto;padding:22px 40px;display:flex;justify-content:space-between;align-items:center;gap:25px}.brand{display:flex;gap:16px;align-items:center}.brand-mark{width:62px;height:62px;color:var(--maroon);flex-shrink:0}.brand h1{font-family:var(--heading);font-size:1.6rem;font-weight:600;line-height:1.5;margin:0;color:var(--maroon)}.brand p{font-size:.8rem;margin:0;color:var(--muted)}.header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tabs{display:flex;max-width:1520px;margin:auto;gap:30px;padding:0 0 0 0}.tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:15px 8px;color:var(--muted)}.tabs button[aria-current=page]{color:var(--maroon);border-bottom-color:var(--maroon);font-weight:600}.topnav{border-top:1px solid #eee5d7;padding:0 40px}
main{max-width:1600px;margin:auto;padding:30px 40px 50px}.welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.welcome h2{font-family:var(--heading);font-size:1.9rem;line-height:1.5;font-weight:500;margin:0 0 3px}.welcome p{margin:0;color:var(--muted);font-size:.95rem}.count{color:var(--maroon);font-family:Georgia,serif;font-size:2rem;line-height:1.2;text-align:center;padding:0 25px;border-left:1px solid var(--line)}.count span{display:block;font-family:var(--font);font-size:.72rem;color:var(--muted);white-space:nowrap}.search-wrap{display:flex;align-items:center;gap:14px;position:relative;margin-bottom:24px}.search-box{display:flex;align-items:center;gap:12px;max-width:600px;width:100%;background:var(--surface);border:1px solid #b4a38c;border-radius:8px;padding:0 16px;min-height:58px}.search-box svg{width:25px;height:25px;fill:none;stroke:var(--muted);stroke-width:1.7;flex-shrink:0}.search-box input{border:0;background:transparent;width:100%;min-height:56px;outline:none;font-size:.95rem}.search-box:focus-within{outline:3px solid #176b83;outline-offset:3px}.search-box input:focus-visible{outline:none}.search-results{position:absolute;top:65px;left:0;z-index:12;width:min(600px,100%);max-height:420px;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 25px #342c2820}.result{display:block;text-align:left;border:0;border-radius:0;border-bottom:1px solid var(--line);width:100%;padding:14px 20px}.result span{display:block;font-size:.75rem;color:var(--muted)}.search-note{font-size:.8rem;color:var(--muted)}
.layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:28px}.sidebar{border-right:1px solid var(--line);padding-right:24px}.side-caption{font-size:.8rem;color:var(--muted);margin:0 0 10px}.sidebar button{display:block;text-align:left;width:100%;border:0;background:none;padding:12px 9px;margin-bottom:4px;border-radius:6px;font-size:.86rem}.sidebar button.active{background:#eee2d4;color:var(--maroon);box-shadow:inset 3px 0 var(--maroon)}.sidebar button em{font-size:.72rem;display:block;font-style:normal;color:var(--muted)}.sidebar .side-heading{padding-top:20px;margin-top:18px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}.side-note{font-size:.74rem;color:var(--muted);line-height:1.9;padding-top:18px;border-top:1px solid var(--line);margin-top:24px}.tree-area{min-width:0}.breadcrumbs{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-bottom:14px;font-size:.78rem;color:var(--muted)}.breadcrumbs button{min-height:44px;font-size:inherit;padding:4px 8px;border:0;background:transparent;color:var(--maroon)}.breadcrumbs span{padding:0 3px}.tree-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.tree-toolbar p{font-size:.85rem;color:var(--muted);margin:0}.tree-stage{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:27px 24px 32px;position:relative;overflow:hidden}.tree-stage:before,.tree-stage:after{content:'';position:absolute;width:30px;height:30px;border:1px solid #b59868;pointer-events:none}.tree-stage:before{left:9px;top:9px;border-right:0;border-bottom:0}.tree-stage:after{right:9px;bottom:9px;border-left:0;border-top:0}.family-caption{text-align:center;color:var(--muted);font-size:.77rem;margin:0 0 14px}.node-row{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.family-node{position:relative;background:#fffdf9;border:1px solid #ccb99d;border-radius:7px;text-align:left;padding:17px;display:flex;gap:13px;align-items:center;min-width:0;width:100%;transition:background .12s,border-color .12s}.family-node .name{font-size:1.03rem;line-height:1.6;font-weight:500;display:block;overflow-wrap:anywhere}.family-node .secondary{font-size:.72rem;color:var(--muted);display:block;line-height:1.7}.family-node .node-foot{color:var(--maroon);font-size:.73rem;display:block;margin-top:6px}.portrait{height:54px;width:54px;border-radius:50%;background:#eee4d5;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#866e50;border:1px solid #dfcfb7;overflow:hidden}.portrait img{width:100%;height:100%;object-fit:cover}.portrait svg{height:37px;width:37px;stroke:currentColor;fill:none;stroke-width:1.2;margin:0}.focus-row{align-items:stretch;display:flex;justify-content:center;flex-wrap:wrap;gap:16px}.focus-person{max-width:400px;width:100%;background:#f5eadb;border:1.5px solid #ab8758;border-radius:8px;padding:20px;display:flex;align-items:center;gap:16px}.focus-person .name{font-size:1.3rem;line-height:1.65;font-family:var(--heading);color:var(--maroon);font-weight:600}.focus-person .secondary{font-size:.8rem;color:var(--muted);display:block}.focus-person .portrait{width:70px;height:70px}.spouse-block{max-width:300px;display:flex;flex-direction:column;justify-content:center;gap:8px}.spouse-block .family-node{padding:11px}.spouse-block .portrait{height:40px;width:40px}.spouse-block .portrait svg{height:28px;width:28px}.spouse-block .name{font-size:.85rem}.spouse-label{font-size:.72rem;color:var(--muted);margin:0 0 2px}.connector{width:1px;height:30px;background:var(--gold);margin:auto}.connector.adopt{background:none;border-left:2px dashed var(--leaf)}.children-caption{display:flex;justify-content:center;align-items:center;gap:9px;font-size:.82rem;margin:0 auto 19px;color:var(--muted)}.children-caption:before,.children-caption:after{content:'';width:55px;height:1px;background:var(--line)}.children-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:15px;position:relative}.children-grid .family-node{align-items:flex-start;min-height:143px}.children-grid .family-node:after{content:'›';align-self:center;color:var(--maroon);font-size:1.4rem;margin-left:auto}.children-grid .portrait{width:44px;height:44px}.children-grid .portrait svg{width:30px;height:30px}.adoption-band{margin-top:26px;padding-top:22px;border-top:1px dashed #8d9c81}.adoption-band .family-caption{color:var(--leaf)}.parent-row{margin-bottom:0}.parent-row .family-node{max-width:280px;font-size:.85rem;padding:10px}.parent-row .portrait{display:none}.parent-row .name{font-size:.86rem}.parent-row .node-foot{display:none}.parent-heading{font-size:.75rem;text-align:center;color:var(--muted);margin:0 0 10px}.empty{padding:26px;text-align:center;font-size:.9rem;color:var(--muted);border:1px dashed var(--line);border-radius:7px}.detail{padding:26px 0 0}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:17px}.detail h3{margin:0;font-family:var(--heading);font-size:1.3rem;font-weight:500}.detail-sub{font-size:.77rem;color:var(--muted);margin:3px 0}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;font-size:.9rem;margin:0 0 20px}.details-grid dt{color:var(--muted);font-size:.76rem}.details-grid dd{margin:0}.story-text{font-size:.95rem;line-height:1.95;white-space:pre-wrap;max-width:850px;margin:0 0 16px}.note{font-size:.8rem;border-left:3px solid var(--gold);padding:10px 16px;background:#f1eadb;line-height:1.9;margin:16px 0}.source-credit{font-size:.7rem;color:var(--muted);margin-top:20px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:21px}.section-title{font-family:var(--heading);font-size:1.5rem;font-weight:500;margin:0 0 8px}.intro-note{font-size:.85rem;color:var(--muted);max-width:860px;margin:0 0 22px}.directory{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.directory .family-node{height:100%}.directory-wrap h3{font-size:1rem;margin:25px 0 15px;color:var(--maroon)}.stories{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:24px}.story-card{border-top:2px solid var(--gold);padding:22px 0}.story-card h3{font-family:var(--heading);font-size:1.2rem;margin:0 0 12px;font-weight:500}.story-card p{font-size:.9rem;line-height:1.9}.story-card button{margin-top:8px}.blank-portrait{float:right;width:105px;height:105px;color:var(--gold);margin-left:20px}.review-list{display:grid;gap:14px}.review-item{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.review-item h3{margin:0 0 8px;font-size:1rem}.review-item p{font-size:.85rem;margin:0 0 10px}.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;max-width:1520px;margin:0 auto;padding:22px 0 28px;border-top:1px solid var(--line);color:var(--muted);font-size:.75rem}.footer button{font-size:.8rem}.status{display:flex;gap:8px;align-items:center}.status svg{width:18px;fill:none;stroke:var(--leaf);stroke-width:2}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:15px 24px;border-radius:8px;background:#352d27;color:white;z-index:40;font-size:.9rem;max-width:90vw;box-shadow:0 4px 20px #0002}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
dialog{border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:0;max-width:780px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#29211880}dialog .dialog-top{position:sticky;top:0;background:var(--surface);padding:18px 25px;display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);z-index:1}dialog h2{font-family:var(--heading);font-size:1.3rem;font-weight:500;margin:0}dialog .dialog-body{padding:23px 25px}dialog .dialog-footer{display:flex;gap:12px;justify-content:flex-end;position:sticky;bottom:0;background:var(--surface);padding:18px 25px;border-top:1px solid var(--line);flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.form-grid .full{grid-column:1/-1}label{display:block;font-size:.85rem}input:not([type=checkbox]):not([type=radio]),textarea,select{width:100%;border:1px solid #ad9c87;border-radius:6px;padding:12px;background:#fffefa;min-height:52px;margin-top:6px}textarea{resize:vertical;min-height:110px}input[type=file]{font-size:.75rem}label .hint,.hint{display:block;font-size:.74rem;color:var(--muted);margin:5px 0 0}fieldset{border:1px solid var(--line);border-radius:7px;margin:0;padding:17px}legend{font-size:.85rem;padding:0 7px}.relation-pick{max-height:230px;overflow:auto;border:1px solid var(--line);padding:7px;border-radius:6px}.check-row{display:flex;gap:11px;align-items:center;font-size:.85rem;padding:9px 5px;min-height:50px}input[type=checkbox],input[type=radio]{width:24px;height:24px;accent-color:var(--maroon);flex-shrink:0}.error{font-size:.84rem;background:#f9e3df;color:#8b2424;border:1px solid #b77168;padding:12px;border-radius:6px;margin-bottom:12px}.settings-section{margin-bottom:28px}.settings-section h3{font-size:1.05rem;margin:0 0 12px}.settings-section p{font-size:.86rem}.font-options{display:flex;gap:10px;flex-wrap:wrap}.font-options button[aria-pressed=true]{border:2px solid var(--maroon);background:#f2e6d7}.source-text{font:16px/1.9 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere}.photo-preview{width:100px;height:100px;border-radius:50%;object-fit:cover;margin:12px 0}.pale-divider{border:0;border-top:1px solid var(--line);margin:25px 0}.overview-tree{overflow:auto;padding:15px 0}.overview-tree ul{list-style:none;padding-left:30px;border-left:1px solid var(--line);margin:8px 0 15px 15px}.overview-tree li{margin:12px 0}.overview-tree button{max-width:390px;text-align:left}.overview-tree .name{display:block}.overview-tree .hint{margin:0;font-size:.7rem}.overview-tree .dashed{border-left-style:dashed;border-left-color:var(--leaf)}
@media(min-width:1500px){.children-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.layout{grid-template-columns:175px minmax(0,1fr);gap:20px}.sidebar{padding-right:15px}.header-inner{padding:20px 25px}.brand h1{font-size:1.4rem}main{padding:25px}.topnav{padding:0 25px}.footer{margin:0 25px}.header-actions button{font-size:.8rem;padding:8px 11px}.header-actions button svg{display:none}.brand-mark{width:50px}.children-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
@media(max-width:760px){:root{--base:20px}.header-inner{padding:18px;align-items:flex-start;flex-wrap:wrap;gap:15px}.brand{gap:12px}.brand h1{font-size:1.35rem}.brand p{font-size:.7rem}.brand-mark{width:45px;height:50px}.header-actions{width:100%;gap:7px}.header-actions button{flex:1;min-height:48px;font-size:.78rem;padding:8px}.topnav{padding:0 12px}.tabs{gap:5px;justify-content:space-between}.tabs button{font-size:.8rem;padding:14px 8px}.tabs button svg{display:none}main{padding:23px 16px 30px}.welcome h2{font-size:1.5rem}.welcome{gap:10px}.welcome p{font-size:.82rem}.count{padding:0 12px;font-size:1.6rem}.count span{font-size:.65rem}.search-note{display:none}.layout{display:block}.sidebar{display:flex;gap:7px;overflow:auto;border:0;padding:0 0 14px;margin-bottom:8px;align-items:stretch;scrollbar-width:thin}.sidebar button{width:auto;white-space:nowrap;min-width:160px;font-size:.79rem;background:#f0e8db;border:1px solid var(--line);margin:0}.sidebar button em{font-size:.66rem}.side-caption,.side-heading,.side-note{display:none}.sidebar button.active{box-shadow:inset 0 -3px var(--maroon)}.tree-stage{padding:23px 16px}.focus-person{max-width:100%}.spouse-block{max-width:100%;width:100%}.children-grid{grid-template-columns:1fr}.children-grid .family-node{min-height:100px}.tree-toolbar{flex-wrap:wrap}.tree-toolbar p{font-size:.8rem}.detail-header{flex-wrap:wrap}.details-grid{grid-template-columns:1fr 1fr}.detail-actions button{width:100%}.footer{margin:0 16px;font-size:.7rem}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.stories{grid-template-columns:1fr}.directory{grid-template-columns:1fr}.dialog-top{padding:15px!important}.dialog-body{padding:20px 16px!important}.dialog-footer{padding:14px 16px!important}.dialog-footer button{flex:1}.breadcrumbs{font-size:.7rem}.breadcrumbs button{padding:5px}.welcome .count{display:none}.parent-row .family-node{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{header,.welcome,.search-wrap,.sidebar,.tree-toolbar,.breadcrumbs,.footer,.detail-actions,.detail-header button,.toast{display:none!important}main{padding:0}.layout{display:block}.tree-stage{break-inside:avoid;border:0}.family-node{break-inside:avoid}body{background:white;color:black}button{color:black;background:white}.detail{border-top:1px solid #aaa;margin-top:20px}dialog{display:none}#view{display:block!important}}


.force-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.force-heading h2{font-family:var(--heading);color:var(--maroon);font-size:1.65rem;font-weight:500;margin:0}.force-heading p{font-size:.88rem;color:var(--muted);margin:3px 0 0}.force-total{font-size:.8rem;white-space:nowrap;color:var(--muted)}.force-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-bottom:18px}.force-view-options,.force-camera{display:flex;gap:6px;flex-wrap:wrap}.force-toolbar button{font-size:.8rem;min-height:48px}.force-view-options button[aria-pressed=true]{background:var(--maroon);color:#fffdf7;border-color:var(--maroon)}.force-camera button:nth-child(-n+2){font:28px Georgia,serif;min-width:50px;padding:0 12px}.force-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}.force-map-wrap{position:relative;min-width:0;background:#fcfaf4;background-image:radial-gradient(#ded4c5 .8px,transparent .8px);background-size:22px 22px}.force-mount{width:100%;height:min(76vh,820px);min-height:550px;overflow:hidden;cursor:grab}.force-mount canvas{display:block}.force-map-hint{position:absolute;top:16px;left:18px;color:#756554;background:#fcfaf4df;border-radius:5px;padding:6px 10px;font-size:.72rem;pointer-events:none}.force-legend{position:absolute;bottom:14px;left:18px;right:18px;display:flex;gap:16px;flex-wrap:wrap;font-size:.7rem;pointer-events:none;background:#fcfaf4ed;padding:8px 10px;border-radius:5px}.force-legend span{display:flex;align-items:center;gap:7px}.force-legend i{width:24px;border-top:2px solid #9a7437;display:inline-block}.force-legend .adoption{border-top:2px dashed #52734d}.force-legend .spouse{border-top:2px dotted #9a5762}.force-details{border-left:1px solid var(--line);padding:24px 20px;max-height:min(76vh,820px);overflow:auto}.force-profile{display:flex;gap:12px;align-items:center;margin-bottom:18px}.force-profile .portrait{width:52px;height:52px}.force-profile h3{font-family:var(--heading);font-size:1.12rem;font-weight:500;color:var(--maroon);line-height:1.7;margin:0}.force-kicker{font-size:.64rem;color:var(--muted);margin:0 0 3px}.force-fact{font-size:.76rem;color:var(--muted);margin:8px 0}.force-bio{font-size:.8rem;line-height:1.95;margin:16px 0}.force-panel-actions{display:grid;gap:8px;margin:20px 0}.force-panel-actions button{font-size:.8rem}.force-relations{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.force-relations h4{font-size:.74rem;color:var(--muted);font-weight:400;margin:0 0 7px}.force-relations button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;font-size:.84rem;padding:10px 0;border-radius:0;border-bottom:1px solid #eee5d7}.force-relations button span:last-child{margin-left:auto;color:var(--maroon)}.relation-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.force-accessible{margin-top:18px;font-size:.8rem;color:var(--muted)}.force-accessible summary{cursor:pointer;min-height:48px;padding:8px}.force-accessible #force-name-list{display:flex;flex-wrap:wrap;gap:8px;padding:14px}.force-accessible [aria-current=true]{border-color:var(--maroon)}
@media(max-width:1050px){.force-layout{grid-template-columns:minmax(0,1fr) 270px}.force-details{padding:18px 14px}.force-profile{flex-direction:column;align-items:flex-start}}
@media(max-width:760px){.tabs{flex-wrap:wrap;gap:0}.tabs button{min-width:45%;flex:1}.force-layout{grid-template-columns:1fr}.force-mount{height:65vh;min-height:470px}.force-details{border-left:0;border-top:1px solid var(--line);max-height:none;padding:22px}.force-profile{flex-direction:row;align-items:center}.force-heading h2{font-size:1.35rem}.force-total{display:none}.force-toolbar button{font-size:.74rem}.force-map-hint{font-size:.65rem;left:8px;top:8px}.force-legend{font-size:.65rem;gap:10px;left:8px;right:8px}.force-camera,.force-view-options{width:100%}.force-view-options button{flex:1}}
@media print{.force-toolbar,.force-map-hint,.force-accessible{display:none}.force-layout{display:block}.force-details{max-height:none}}

.force-layout:fullscreen{width:100vw;height:100vh;border-radius:0}.force-layout:fullscreen .force-mount{height:100vh}.force-layout:fullscreen .force-details{max-height:100vh}.force-heading p{display:none}.force-heading{margin-bottom:12px}.force-heading h2{font-size:1.3rem}
.force-floating{position:absolute;right:14px;bottom:62px;display:flex;gap:5px;flex-wrap:wrap;max-width:90%}.force-floating button{font-size:.8rem;background:#fffdf7;min-width:46px;box-shadow:0 2px 7px #342c2814}.force-floating .force-exit{display:none}.force-layout:fullscreen .force-exit{display:block}
#admin-dialog{max-width:1160px}.admin-section{padding:22px 0;border-bottom:1px solid var(--line)}.admin-section h3{font-size:1.1rem;margin:0 0 15px}.admin-section h4{font-size:.95rem;margin:0 0 8px}.admin-options{display:flex;gap:10px 24px;flex-wrap:wrap}.admin-options .check-row{min-width:200px}.admin-member-basics{margin:22px 0}.admin-table-wrap{max-height:500px;overflow:auto;margin:18px 0;border:1px solid var(--line);border-radius:7px}.admin-table{border-collapse:collapse;width:100%;font-size:.75rem;background:var(--surface)}.admin-table thead{position:sticky;top:0;background:#f0e5d5;z-index:1}.admin-table th,.admin-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:center;min-width:95px}.admin-table th:first-child{text-align:left;min-width:220px}.admin-table input{vertical-align:middle}.admin-bulk{display:flex;gap:12px;align-items:center;margin-top:16px}.admin-bulk select{width:auto;max-width:400px;margin:0}.admin-field-box,.admin-preview{background:#f4ecdf;padding:18px;border:1px solid var(--line);border-radius:7px}.admin-preview{margin-top:16px}.admin-preview dl{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;font-size:.85rem}.admin-preview dd{margin:0}.admin-notice{margin-top:0}@media(max-width:760px){.admin-bulk{flex-wrap:wrap}.admin-bulk select{width:100%}.admin-preview dl{grid-template-columns:1fr}.admin-preview dd{padding-bottom:10px}}

.header-inner{flex-wrap:wrap}.header-actions{justify-content:flex-end}.language-switch{display:flex;align-items:center;gap:7px;font-size:.72rem}.language-switch>div{display:flex;gap:0}.language-switch button{min-height:42px;min-width:40px;border-radius:0;padding:5px 8px;font-size:.74rem}.language-switch button:first-child{border-radius:6px 0 0 6px}.language-switch button:last-child{border-radius:0 6px 6px 0;border-left:0}.language-switch button[aria-pressed=true]{background:var(--maroon);color:#fffdf7;border-color:var(--maroon)}.english-edit{border:1px solid var(--line);border-radius:7px;padding:15px}.english-edit summary{cursor:pointer}.english-edit label{margin-top:14px}@media(max-width:760px){.language-switch{flex:1;min-width:45%;justify-content:center}.language-switch button{min-height:44px}.header-actions>button{min-width:29%;flex:1}.header-actions{justify-content:space-between}}

.pravara-section{margin:0 0 26px;padding:24px 28px;border-top:2px solid #b18b4a;border-bottom:1px solid var(--line);background:#f5eddf}.pravara-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:12px}.pravara-heading h2{font:500 1.25rem var(--heading);margin:0;color:var(--maroon)}.gotram{font-family:var(--heading);font-size:1.08rem;color:var(--maroon)}.pravara-text{font-family:var(--heading);font-size:1.06rem;line-height:2.15;margin:0;max-width:1200px}.pravara-text mark{background:#ead7b1;color:#622c32;font-weight:600;border-radius:3px;padding:2px 4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}@media(max-width:760px){.pravara-section{padding:19px 17px;margin-bottom:22px}.pravara-text{font-size:1.03rem;line-height:2.1}.pravara-heading{gap:10px}}

.auth-card{max-width:580px;margin:35px auto 70px;padding:35px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.auth-card h2{font-family:var(--heading);font-weight:500;color:var(--maroon)}.auth-card form{display:grid;gap:18px;margin-top:24px}.auth-card p{font-size:.9rem}.auth-emblem{color:var(--gold);font-size:48px}.diff-table{width:100%;border-collapse:collapse;font-size:.8rem;margin:15px 0;table-layout:fixed}.diff-table th,.diff-table td{padding:12px;border:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}.diff-table thead{background:#f0e5d5}#online-account{font-size:.75rem;display:flex;gap:10px;align-items:center}#online-audit-output{white-space:pre-wrap;font-size:.7rem;overflow-wrap:anywhere}.admin-table th{font-size:.75rem}
body:has(#auth-screen:not([hidden])) .welcome,body:has(#auth-screen:not([hidden])) .pravara-section,body:has(#auth-screen:not([hidden])) .search-wrap,body:has(#auth-screen:not([hidden])) .tabs,body:has(#auth-screen:not([hidden])) .footer{display:none}