@font-face{font-family:Bodoni;src:url('fonts/bodoni-72-smallcaps.woff2')}@font-face{font-family:Garamond;src:url('fonts/eb-garamond.ttf') format('truetype');font-weight:400 800;font-style:normal;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#eee8da;color:#17160f;font:16px/1.5 Garamond,Georgia,serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}header{padding:24px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c8beab;gap:20px}.brand{font:30px Bodoni,Georgia,serif;text-decoration:none}header nav{display:flex;align-items:center;gap:24px}.lang{font-size:14px}.demo{background:#142523;color:#eee8da;padding:12px 5%;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.demo select{padding:6px 10px;background:#eee8da;color:#17160f;border:0}.layout{display:grid;grid-template-columns:235px 1fr;max-width:1600px;margin:auto;min-height:80vh}aside{border-right:1px solid #c8beab;padding:36px 24px}aside p,.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:2px;color:#665d4b}aside button{display:block;width:100%;text-align:left;background:none;border:0;padding:13px 12px;margin:5px 0}aside button.active{background:#ded6c6;border-left:3px solid #681f1b}aside small{display:block;margin-top:36px;color:#665d4b}main{padding:40px 5%;min-width:0}h1{font:52px/1.06 Garamond,Georgia,serif;margin:10px 0 18px}h2{font:30px/1.2 Garamond,Georgia,serif;margin:0 0 12px}h3{font:23px Garamond,Georgia,serif}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.muted{color:#665d4b}.search{display:flex;gap:12px;margin:30px 0 16px}.search input{flex:1;min-width:0}.search input,.search select,form input,textarea{border:1px solid #b9af9c;background:#f7f3e9;padding:13px 15px;border-radius:0}.search select{max-width:38%}.results{font-size:14px;color:#665d4b;padding-bottom:14px;border-bottom:1px solid #b9af9c}.record{display:grid;grid-template-columns:70px 1fr auto;gap:20px;border-bottom:1px solid #c8beab;padding:26px 0;align-items:start}.number{font:26px Garamond,Georgia,serif;color:#82735b}.title{border:0;background:none;padding:0;text-align:left;font:28px/1.2 Garamond,Georgia,serif;color:#17160f}.title:hover{text-decoration:underline}.record p{margin:8px 0}.badge{display:inline-block;font-size:12px;letter-spacing:.3px;border:1px solid #b5b4a3;color:#34564b;padding:4px 9px}.badge.pending{color:#895125;border-color:#b79c75}.primary{background:#681f1b;color:#fff8eb;border:1px solid #681f1b;padding:11px 18px}.secondary{background:transparent;border:1px solid #a39783;padding:10px 15px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.detail{max-width:900px}.detail dl{display:grid;grid-template-columns:170px 1fr;gap:16px;border-block:1px solid #b9af9c;padding:24px 0}.detail dt{color:#665d4b}.detail dd{margin:0;white-space:pre-line}.notice{border-left:3px solid #a4844b;padding:12px 18px;background:#e5ddcd;margin:20px 0}.history{border-left:1px solid #998d76;padding-left:24px;margin:26px 0}.history p{margin:18px 0}.history small{display:block;color:#665d4b}form{max-width:720px}form label{display:block;margin:20px 0}form input,textarea{display:block;width:100%;margin-top:7px}textarea{min-height:130px}.empty{padding:50px 0;color:#665d4b}.admin-row{display:flex;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid #c8beab}.admin-row select{padding:8px;background:#f7f3e9;border:1px solid #b9af9c}footer{padding-top:36px;font-size:12px;color:#665d4b}#feedback{position:fixed;bottom:24px;right:24px;max-width:90vw;background:#142523;color:white;padding:16px 24px;box-shadow:0 5px 25px #0002}@media(max-width:800px){header{padding:18px 5%}header nav>a:first-child{display:none}.demo{align-items:start;flex-direction:column}.layout{display:block}aside{display:flex;overflow:auto;border-right:0;border-bottom:1px solid #c8beab;padding:8px 4%;gap:6px}aside p,aside small{display:none}aside button{width:auto;white-space:nowrap}main{padding:28px 5%}h1{font-size:40px}.heading{align-items:start;flex-direction:column}.record{grid-template-columns:35px 1fr;gap:10px}.record>.badge{grid-column:2;justify-self:start}.search{flex-wrap:wrap}.search select{max-width:100%}.detail dl{grid-template-columns:1fr;gap:8px}.detail dd{margin-bottom:12px}.admin-row{flex-direction:column}.brand{font-size:26px}}
/* Spreadsheet view */
.layout{max-width:none;grid-template-columns:210px minmax(0,1fr)}main{padding:32px 3%}.sheet-scroll{overflow:auto;max-height:65vh;border:1px solid #ad9f89;background:#f7f3e9}.sheet{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1770px;font-size:14px}.sheet th,.sheet td{border-right:1px solid #c8beab;border-bottom:1px solid #c8beab;vertical-align:top;text-align:left}.sheet thead th{position:sticky;top:0;z-index:2;background:#ded6c6;padding:12px;font-weight:500;height:85px}.sheet thead small{display:block;font-size:12px;color:#756a57;margin-bottom:6px}.sheet th:first-child{width:55px;position:sticky;left:0;background:#ded6c6;z-index:1;padding:12px}.sheet thead th:first-child{z-index:3}.sheet th:nth-child(2){width:135px}.sheet th:nth-child(3){width:90px}.sheet th:nth-child(4){width:230px}.sheet th:nth-child(5){width:130px}.sheet th:nth-child(6){width:300px}.sheet th:nth-child(7){width:430px}.sheet th:nth-child(8){width:140px}.sheet th:last-child{width:180px}.cell-value{padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;min-height:140px}.cell-editor{display:block;margin:0;width:100%;height:200px;min-height:140px;border:0;border-radius:0;resize:vertical;background:#fffcf5;padding:12px;font:14px/1.5 Garamond,Georgia,serif;color:#17160f}.cell-editor:focus{outline:2px solid #681f1b;outline-offset:-2px;background:white}.row-actions{padding:12px}.row-actions button{margin-top:14px;font-size:13px}.grid-help{font-size:14px;color:#665d4b;max-width:900px}.sheet tbody tr:hover .cell-value{background:#efe9dd}@media(max-width:800px){.layout{display:block}.sheet-scroll{max-height:70vh}main{padding:24px 4%}}

.layout{max-width:none}.layout.menu-closed{grid-template-columns:minmax(0,1fr)}.layout.menu-closed aside{display:none}.layout.menu-closed main{padding-inline:24px}.sheet{width:2130px}.sheet th:nth-child(9),.sheet th:nth-child(10){width:180px}.cell-value{min-height:100px}.sheet th:last-child{width:180px}#toggle-menu{white-space:nowrap;font-size:14px}@media(max-width:800px){header{flex-wrap:wrap}#toggle-menu{order:3}.layout.menu-closed main{padding-inline:16px}}

.sheet{width:2320px}.sheet th:nth-child(11){width:190px}.sheet th:last-child{width:190px}.status-cell{padding:12px}.row-actions{padding:12px}.action-dropdown{min-width:160px}.action-dropdown summary{cursor:pointer;list-style:none;border:1px solid #a39783;padding:10px 12px;background:#f7f3e9;font-size:14px}.action-dropdown summary::-webkit-details-marker{display:none}.action-dropdown summary:focus-visible{outline:2px solid #681f1b;outline-offset:2px}.action-options{border:1px solid #a39783;border-top:0;background:#fffcf5;padding:4px}.action-options button{display:block;width:100%;text-align:left;border:0;background:none;padding:10px 8px;color:#17160f;font-size:14px;margin:0}.action-options button:hover,.action-options button:focus-visible{background:#ded6c6}.action-options button[data-action="reject"]{color:#681f1b}.detail .action-dropdown{width:230px}

/* Sidebar edge toggle stays visible when the panel is collapsed. */
.layout{position:relative;grid-template-columns:235px minmax(0,1fr)}.sidebar-toggle{position:absolute;top:18px;left:219px;z-index:5;width:32px;height:40px;display:grid;place-items:center;padding:0;border:1px solid #ad9f89;border-radius:5px;background:#f7f3e9;color:#17160f;box-shadow:0 2px 5px #17160f12;cursor:pointer}.sidebar-toggle span{font:28px/1 Georgia,serif}.sidebar-toggle:hover{background:#ded6c6}.sidebar-toggle:focus-visible{outline:2px solid #681f1b;outline-offset:3px}.layout.menu-closed .sidebar-toggle{left:8px}.layout.menu-closed main{padding-left:52px}.layout aside[hidden]{display:none}header .brand{margin-right:auto}@media(max-width:800px){.layout{display:grid;grid-template-columns:210px minmax(0,1fr)}.layout aside{display:block;padding:38px 18px;border-right:1px solid #c8beab;overflow:visible}.layout aside p,.layout aside small{display:block}.layout aside button{width:100%;white-space:normal}.sidebar-toggle{left:194px}.layout.menu-closed{grid-template-columns:minmax(0,1fr)}.layout.menu-closed main{padding-left:48px}}

.edit-entry{margin:16px 0}.edit-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0;padding:14px;background:#ded6c6;border:1px solid #ad9f89}.edit-toolbar strong{font-size:14px;color:#681f1b}.edit-toolbar span{font-size:13px;color:#665d4b}.edit-toolbar button{font-size:14px}

.table-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:16px 0}.table-controls .edit-entry,.table-controls .edit-toolbar{margin:0}.table-controls #new{margin-left:auto}.sheet.role-public{width:1940px}.sheet.role-contributor{width:2130px}.work-link{font:inherit;line-height:inherit;white-space:pre-wrap;text-align:left;color:inherit;border:0;background:none;padding:0;text-decoration:underline;text-decoration-color:#b5a68c;text-underline-offset:3px}.work-link:hover{color:#681f1b}

.action-dropdown summary{background:#681f1b;color:#fff8eb;border-color:#681f1b}.action-options{border-color:#681f1b}.action-options .review-action{color:#681f1b;font-weight:600}.action-options .review-action:disabled{color:#946966;cursor:not-allowed;background:none}.action-hint{display:block;padding:8px;font-size:12px;line-height:1.4;color:#665d4b}

.action-options button[data-action="delete"],.action-options button[data-action="unpublish"]{color:#681f1b}.action-options button[data-action="delete"]{border-top:1px solid #d6c6bd;margin-top:4px}

/* Compact table typography and content-sized rows. */
.sheet{font-size:12px;line-height:1.35}.sheet thead th{height:auto;padding:7px 8px;font-size:12px}.sheet thead small{font-size:12px;margin-bottom:3px}.sheet th:first-child{padding:7px 8px}.sheet .cell-value{min-height:0;padding:7px 8px}.sheet .cell-editor{font-size:12px;line-height:1.35;padding:7px 8px;height:48px;min-height:32px}.sheet .status-cell,.sheet .row-actions{padding:6px 8px}.sheet .badge{font-size:12px;padding:2px 5px}.sheet .action-dropdown summary{font-size:12px;padding:6px 8px}.sheet .action-options button{font-size:12px;padding:6px}.sheet .action-hint{font-size:12px;padding:6px}.sheet .work-link{font-size:inherit}
