.ark-sheet-modal{width:min(1120px,96vw);max-height:94vh;display:flex;flex-direction:column;padding:30px 34px;background:linear-gradient(135deg,#27352f,#172521 55%,#22302b);border:1px solid #a77b50}
.ark-sheet-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ark-sheet-heading h2{margin:8px 0 14px;color:#f1d9aa;font:28px Cinzel,serif}
.ark-sheet-heading h2{flex:1;min-width:0}
.ark-sheet-heading h2 input{width:100%;min-width:0;padding:2px 0;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;font:inherit}
.ark-sheet-heading h2 input:disabled{opacity:1}
#arkSaveStatus{color:#b7c7ac;font-size:12px}
.ark-sheet-scroll{overflow:auto;padding-right:8px;min-height:0}
.ark-sheet-section{padding:16px 0 20px;border-top:1px solid #746a51}
.ark-sheet-section h3{margin:0 0 12px;color:#e7bb7a;font:18px Cinzel,serif}
.ark-sheet-section label{display:block;color:#d6d8c8;font-size:12px;font-weight:700}
.ark-sheet-section input:not([type=checkbox]),.ark-sheet-section textarea,.ark-sheet-section select{box-sizing:border-box;width:100%;min-width:0;margin-top:6px;padding:9px 10px;border:1px solid #65756c;border-radius:4px;background:#142723;color:#f5ebd5;font:13px 'DM Sans',sans-serif}
.ark-sheet-section textarea{resize:vertical}
.ark-sheet-section input:disabled,.ark-sheet-section textarea:disabled{opacity:.7}
.ark-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.ark-hint{margin:0 0 12px;color:#abb9ac;font-size:12px;line-height:1.5}
.ark-development{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ark-development label{display:grid;grid-template-columns:minmax(0,1fr) 58px 52px;align-items:end;gap:8px;padding:10px;background:#23342e;border:1px solid #6d7157;border-radius:5px}
.ark-development label span{align-self:center}
.ark-development input{margin:0!important;text-align:center}
.ark-development strong{display:grid;place-items:center;min-height:37px;color:#f8e3ad;font:19px Cinzel,serif;background:#374738;border-radius:4px}
.ark-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ark-project-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.ark-project-actions select{width:min(310px,60vw);margin:0}
.ark-table-scroll{overflow-x:auto}
.ark-project-table{width:100%;border-collapse:collapse;min-width:900px;font-size:12px}
.ark-project-table th{padding:9px 7px;text-align:left;color:#efc987;background:#344238;border-bottom:1px solid #8d7958}
.ark-project-table td{vertical-align:top;padding:7px;border-bottom:1px solid #546354}
.ark-project-table th:nth-child(1){width:16%}.ark-project-table th:nth-child(2){width:23%}.ark-project-table th:nth-child(3){width:15%}.ark-project-table th:nth-child(4){width:13%}.ark-project-table th:nth-child(5){width:23%}
.ark-project-table td input:not([type=checkbox]),.ark-project-table td textarea{margin:0;padding:6px 7px}
.ark-project-table small{display:block;margin-top:4px;color:#d0b989;line-height:1.35}
.ark-project-table .is-complete{background:#31463877}
.ark-completed{text-align:center}.ark-completed input{width:18px;height:18px}
.ark-condition{display:flex!important;align-items:center;gap:5px;margin-top:5px;font-weight:400!important}
.ark-row-remove,.ark-caid button{border:0;background:transparent;color:#e99587;font-size:21px;cursor:pointer}
.ark-table-empty{text-align:center;color:#adbaac;padding:22px!important}
.ark-caids{display:grid;gap:8px;margin-bottom:10px}.ark-caid{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,40%) 25px;gap:8px;align-items:center}
.ark-caid input{margin:0!important}
.ark-caid a{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#e7bb7a;text-decoration:underline;text-underline-offset:3px;font:700 14px Georgia,serif}
.ark-caid select{margin:0!important}
.ark-conditions{display:grid;gap:8px}.ark-conditions label{display:flex!important;align-items:center;gap:8px}.ark-conditions input{accent-color:#b66742}
.ark-permissions{display:flex;gap:20px;flex-wrap:wrap}.ark-permissions h3{width:100%;margin-bottom:0}.ark-permissions label{display:flex;align-items:center;gap:7px}
.ark-image-field{display:grid;gap:7px;margin-top:14px;color:#d6d8c8;font-size:12px;font-weight:700}
.ark-image-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ark-image-link{padding:5px 0;border:0;background:transparent;color:#e7bb7a;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ark-image-preview{width:min(100%,220px);height:125px;display:grid;place-items:center;overflow:hidden;color:#e7bb7a;font:35px Georgia,serif}
.ark-image-preview img{width:100%;height:100%;object-fit:contain}
.ark-sheet-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:16px;border-top:1px solid #746a51}.ark-sheet-footer #arkDelete{margin-right:auto}
.ark-card .ark-avatar{font-size:24px;color:#fff0c2}.ark-card-dev{align-self:center;margin-right:8px;color:#e5c08a;font-size:11px;white-space:nowrap}
.ark-token:not(.has-image){border-color:#f0bd7b;background:#583829;color:#ffe3a9}.ark-token.is-locked{cursor:default}.ark-token.is-locked:not(.has-image){box-shadow:0 0 0 2px #ba9a68,0 3px 12px #000a}
.token-radial-menu .token-menu-lock{top:calc(0px - var(--menu-radius));left:0}
.token-radial-menu.edge-top .token-menu-lock{top:calc(2 * var(--menu-radius))}
.ark-token-settings label:has(#tokenHealthVisibility){display:none}
@media(max-width:760px){.ark-sheet-modal{padding:24px 15px}.ark-field-grid{grid-template-columns:1fr}.ark-development{grid-template-columns:repeat(2,minmax(0,1fr))}.ark-project-actions{width:100%}.ark-project-actions select{width:100%}.ark-sheet-footer{flex-wrap:wrap}}
@media(max-width:500px){.ark-development{grid-template-columns:1fr}.ark-sheet-footer #arkDelete{width:100%;text-align:left}}

/* Each Ark spread has two independent, scrollable notebook pages. */
.ark-sheet-modal{position:relative}
.ark-sheet-scroll{flex:1;min-height:0}
.ark-spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12%;height:100%;min-height:0}
.ark-spread.hidden{display:none}
.ark-page{min-width:0;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#8f6247 transparent}
.ark-page-nav{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:7px;color:#f2ddb7;font:700 13px Georgia,serif}
.ark-page-nav button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #bf9764;border-radius:50%;background:#3d2619;color:#f5dfba;font-size:24px;line-height:1}
.ark-page-nav button:disabled{opacity:.4;cursor:default}
.ark-page-nav button:not(:disabled):hover,.ark-page-nav button:focus-visible{background:#84532f;outline:2px solid #eed1a1;outline-offset:2px}
.ark-project-table small{color:#cbb993}
.ark-project-list{display:grid;align-content:start;gap:5px;min-width:0}
.ark-project-row{min-width:0;border-bottom:1px solid #73503288}
.ark-project-line{display:flex;align-items:center;gap:3px;min-width:0;min-height:30px}
.ark-project-line .ark-project-name{flex:1 1 75px;min-width:60px}
.ark-project-line .ark-project-number{flex:0 0 31px;width:31px;min-width:0;text-align:center;appearance:textfield}
.ark-project-number::-webkit-inner-spin-button,.ark-project-number::-webkit-outer-spin-button{appearance:none;margin:0}
.ark-project-line input[type=checkbox]{flex:0 0 auto;width:14px;height:14px;margin:0 1px}
.ark-project-line button{flex:0 0 19px;width:19px;height:22px;padding:0;border:0;background:transparent;color:inherit;font:700 14px Georgia,serif;cursor:pointer}
.ark-project-line .ark-project-info{border:1px solid currentColor;border-radius:50%;height:18px;flex-basis:18px;font-size:12px}
.ark-project-line .ark-project-slash{font-weight:700}
.ark-project-details{display:grid;gap:5px;padding:8px 4px 10px;background:#ead3abbd}
.ark-project-details.hidden{display:none}
.ark-project-details label{display:grid;gap:2px}
.ark-project-details textarea{min-height:45px!important}
.ark-project-details button{justify-self:start}
@media(max-width:850px){.ark-spread{grid-template-columns:1fr;gap:16px;height:auto}.ark-page{overflow:visible}.ark-sheet-scroll{overflow:auto}.ark-sheet-modal{height:94vh}}
