:root{--text-small: 1rem;--paper: #f4efe6;--paper-2: #ebe3d3;--card: #fffdf8;--ink: #2b2420;--ink-soft: #6b5f55;--line: #d9d0c1;--accent: #9c5a3c;--focus: #1f5fbf}body{margin:0;background:var(--paper);color:var(--ink)}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}:root{--font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;--font-sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;--accent-deep: #7d4530}body{font-family:var(--font-sans);font-size:1.0625rem;line-height:1.6}h1,h2,h3{font-family:var(--font-serif);font-weight:600;color:var(--ink);line-height:1.2}h1{font-size:1.875rem}h2{font-size:1.5rem}h3{font-size:1.1875rem}a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:color-mix(in srgb,currentColor 45%,transparent)}a:hover{text-decoration:underline;text-decoration-color:currentColor;text-decoration-thickness:2px}a.title-link{color:inherit;text-decoration:none}a.title-link:hover,a.title-link:focus-visible{text-decoration-line:underline;text-decoration-thickness:2px}a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:not([tabindex="-1"]):focus-visible{outline:3px solid var(--focus);outline-offset:2px}button{font-family:var(--font-sans);font-size:1rem;font-weight:600;color:#fff;background:var(--accent);border:0;border-radius:8px;padding:10px 20px;min-height:44px;cursor:pointer}button:hover{background:var(--accent-deep)}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:transparent;color:#7a4a30;border:1px solid #9c5a3c}button.secondary:hover{background:#9c5a3c;color:#fff}a.action{display:inline-flex;align-items:center;min-height:44px}a.button{display:inline-flex;align-items:center;box-sizing:border-box;min-height:44px;padding:10px 20px;font-weight:600;color:#fff;background:var(--accent);border-radius:8px;text-decoration:none}a.button:hover{background:var(--accent-deep);text-decoration:none}.topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding:10px 40px;border-bottom:1px solid var(--line)}.topbar .brand{display:inline-flex;align-items:center;min-height:44px;min-width:44px;gap:12px;color:var(--ink);text-decoration:none}.topbar .brand h1{margin:0;font-size:1.5rem}.topbar .app-bar{padding:0;border-bottom:0}.menu-button,.topbar .page-label{display:none}@media(max-width:600px){.topbar{padding:8px 16px;gap:2px 12px}.topbar .brand{gap:10px}.topbar .brand img{width:32px;height:32px}.topbar .brand h1{font-size:1.25rem}.topbar .app-bar{width:auto;flex-wrap:nowrap;justify-content:space-between;gap:8px 16px}.topbar .app-bar span{display:none}.topbar .app-bar a{min-height:40px}.tree-toolbar .search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.topbar .app-bar button{margin-left:auto;min-height:36px;padding:6px 14px;font-size:var(--text-small)}}.app-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding:14px 40px;border-bottom:1px solid var(--line)}.app-bar a{color:var(--ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.app-bar a.active{color:var(--accent-deep);font-weight:600}.app-bar a:hover{color:var(--accent);text-decoration-line:underline;text-decoration-thickness:2px}.app-bar span{color:var(--ink-soft)}.app-bar button{background:transparent;color:var(--accent);border:1px solid var(--accent);padding:8px 16px}.app-bar button:hover{background:var(--accent);color:#fff}main{max-width:960px;margin:0 auto;padding:24px 40px}@media(max-width:600px){.app-bar{padding:12px 16px}main{padding:16px}}.layout.with-nav{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:start}.side{display:flex;flex-direction:column;gap:4px;padding:24px 0 24px 40px;position:sticky;top:0}.side a{color:var(--ink);text-decoration:none;padding:10px 14px;border-radius:6px;min-height:44px;box-sizing:border-box;display:flex;align-items:center}.side a:hover{color:var(--accent)}.side a.active{background:var(--paper-2, #ebe3d3);color:var(--accent-deep);font-weight:600}.layout.with-nav main{max-width:none;margin:0}@media(max-width:800px){.layout.with-nav{grid-template-columns:minmax(0,1fr)}.side{display:none}.topbar{flex-wrap:nowrap;min-height:52px;box-sizing:border-box;gap:12px;padding:4px 16px}.topbar .page-label{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.topbar:has(.page-label) .brand h1{display:none}.topbar .app-bar .account{display:none}app-root:has(.tree-container)>app-footer{display:none}.topbar .app-bar:not(:has(button:not(.account))){display:none}.menu-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:6px 16px;margin-left:auto}}.menu-sheet{position:fixed;inset:0 0 auto;width:100%;max-width:none;max-height:90vh;overflow-y:auto;box-sizing:border-box;margin:0;padding:8px 16px 16px;border:0;border-bottom:1px solid var(--line);background:var(--paper);color:var(--ink)}.menu-sheet::backdrop{background:#2b24207f}.menu-sheet nav{display:flex;flex-direction:column;gap:4px}.menu-sheet .menu-account{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.menu-sheet a{display:flex;align-items:center;min-height:44px;padding:10px 14px;box-sizing:border-box;border-radius:6px;color:var(--ink);text-decoration:none}.menu-sheet a.active{background:var(--paper-2, #ebe3d3);color:var(--accent-deep);font-weight:600}.menu-sheet button{min-height:44px}.menu-sheet .menu-close{display:block;margin-left:auto}@media(min-width:801px){.menu-sheet{display:none}}:where(textarea,select,input:not([type=checkbox],[type=radio],[type=file],[type=range])){font:inherit;color:var(--ink);background:#fffdf8;box-sizing:border-box;max-width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:6px}:where(textarea){min-height:6rem;resize:vertical}:where(textarea,select,input):focus-visible{outline:3px solid var(--focus);outline-offset:2px}.site-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 24px;padding:16px 40px;border-top:1px solid var(--line);color:var(--ink-soft);font-size:.875rem}.site-foot a{display:inline-flex;align-items:center;min-height:32px}@media(max-width:600px){.site-foot{padding:12px 16px}.site-foot a{min-height:44px}}app-root{display:flex;flex-direction:column;min-height:100vh}app-root>app-footer{margin-top:auto}app-root>main,app-root>.layout{width:100%;box-sizing:border-box}@media(min-height:560px){app-root:has(.tree-container){height:100vh;height:100dvh;min-height:0;overflow:hidden}app-root:has(.tree-container)>.layout{flex:1;min-height:0;align-items:stretch}app-root:has(.tree-container)>.layout main{display:flex;flex-direction:column;min-height:0;overflow:hidden}}@media(max-height:559px){app-root:has(.tree-container) .tree-body,app-root:has(.tree-container) .tree-svg{min-height:240px}}html.tree-focus .topbar,html.tree-focus nav.side,html.tree-focus app-footer,html.tree-focus .menu-button{display:none}html.tree-focus .tree-container{position:fixed;inset:0;z-index:50;background:var(--paper, #f4efe6)}.pager{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:12px 0}.pager .range{margin-right:auto;color:var(--ink-soft)}.pager label{margin-right:0;font-weight:400}.pager select{min-height:44px}.pager button{min-height:44px;padding:6px 14px}input[type=file]{font:inherit;color:var(--ink-soft);max-width:100%}input[type=file]::file-selector-button{font:inherit;font-weight:600;color:#fff;background:var(--accent);border:0;border-radius:8px;padding:10px 20px;min-height:44px;margin-right:12px;cursor:pointer}input[type=file]::file-selector-button:hover{background:var(--accent-deep)}:where(input[type=radio],input[type=checkbox]){width:1.5rem;height:1.5rem;accent-color:var(--accent)}.form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem}@media(min-width:700px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid>.span-2{grid-column:1 / -1}}.form-actions{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:.5rem;padding:12px 0;background:var(--paper);border-top:1px solid var(--line)}@media(max-width:600px){.form-actions{margin-left:-16px;margin-right:-16px;padding:12px 16px}}html:has(.form-actions){scroll-padding-bottom:5rem}.req:after{content:" (required)";color:var(--ink-soft);font-weight:400}details.fold>summary{display:flex;align-items:center;gap:.5rem;min-height:44px;cursor:pointer;font-weight:600;color:var(--accent);list-style:none}details.fold>summary::-webkit-details-marker{display:none}details.fold>summary:before{content:"\25b8";content:"\25b8" / ""}details.fold[open]>summary:before{content:"\25be";content:"\25be" / ""}
