.task-detail{padding:12px;border:1px solid #b9b79b;border-radius:12px;background:#fbf7e9;color:#40543d;line-height:1.5}
.task-detail h4{font:600 23px Georgia,serif;margin:12px 0 8px}.task-detail p{margin:10px 0}.task-detail small,.task-note{font-size:12px;line-height:1.5;color:#68725d}
.task-reward{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:space-between}.task-reward strong{font-size:19px}.task-reward span{font-size:12px}
.task-actions{display:flex;flex-direction:column;gap:8px}.task-actions button,[data-task-action],[data-task-focus]{min-height:44px;white-space:normal;cursor:pointer}
.task-actions button:disabled{cursor:default;opacity:.55}.task-detail dl{display:grid;grid-template-columns:80px minmax(0,1fr);font-size:12px;gap:6px}.task-detail dd{margin:0;overflow-wrap:anywhere}.task-detail summary{cursor:pointer;min-height:34px}.task-map-piece{cursor:pointer}.task-map-piece:focus{outline:none}.task-map-piece:focus path{stroke:#184d70;stroke-width:3}
.task-rail-link{margin-top:10px;width:100%;min-height:44px;border:1px solid #adb493;border-radius:8px;background:#f4eedc;color:#3c5940;font:600 14px Georgia,serif}

body:not(.world-sandbox-active) #l07Tabs [data-tab="tasks"]{display:none}

#l07Rail:has([data-task-back]){max-height:calc(100dvh - 150px);overflow:auto} [data-task-back]{min-height:44px;width:100%;margin-bottom:10px} #l07Rail .world-page-head{flex-wrap:wrap} #l07Rail .task-detail{padding:10px}

.task-actions button,[data-task-action],[data-task-focus]{border:1px solid #aab593;border-radius:8px;background:#eef1e2;color:#36573f;padding:10px 12px;font:600 13px Georgia,serif}
.task-actions button:first-of-type,[data-task-action="prepare"]{background:#355f49;color:#fffaf0;border-color:#355f49}.task-actions button:disabled{background:#e6e6d7;color:#6f7563;border-color:#c1c4af}
