/* Presentation borrowed from the original capture; diary state and writes stay shared. */
.project-action-dialog {--dialog-insets:48px 56px 32px;max-width:calc(100vw - 64px);max-height:calc(100svh - 64px);padding:0;border:0;border-radius:0;background:white;color:var(--ink);font-family:var(--ui-font);}
.project-action-dialog::backdrop {background:rgb(25 26 30 / .24);}
.project-capture-dialog {width:1160px;height:min(820px,calc(100svh - 64px));overflow:hidden;}
.project-capture-shell {display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;padding:var(--dialog-insets);}
.capture-heading {display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:44px;}
.capture-heading :is(h1,h2) {margin:0;font:550 var(--work-dialog-title-size)/1.3 var(--ui-font);letter-spacing:-.018em;}
.capture-heading p {font-size:14px;margin:12px 0 0;color:var(--muted);max-width:850px;}
.capture-close {display:grid;place-items:center;width:30px;height:30px;padding:5px;border:0;border-radius:50%;background:var(--blue);flex-shrink:0;}
.capture-body {min-height:0;}
.capture-body .diary-workspace {height:100%;display:grid;grid-template-columns:minmax(0,var(--context-calendar-width,var(--calendar-width))) minmax(0,1fr);grid-template-areas:'calendar notebook';gap:64px;}
.capture-body .diary-notebook {grid-area:notebook;height:100%;min-height:0;}
.capture-body .diary-calendar-column {grid-area:calendar;height:auto;min-height:0;overflow:visible;}
.capture-body .diary-day-heading {min-height:26px;margin:0 0 20px;}
.capture-body .diary-day-heading h2 {font-size:14px;font-weight:400;letter-spacing:0;}
.capture-body .diary-day-arrows {display:none;}
.capture-body .diary-composer-footer {display:none;}
.capture-body .diary-hours {min-height:200px;}
.capture-body .diary-composer {padding:12px;}
.capture-body .diary-composer textarea {min-height:64px;}
.capture-body .duration .duration-option {width:32px;height:32px;flex-basis:32px;font-size:14px;}
.capture-body .diary-untimed {margin-bottom:10px;}
.capture-footer {display:flex;justify-content:flex-end;gap:32px;align-items:center;padding-top:28px;}
.capture-footer button {display:inline-flex;gap:12px;align-items:center;min-height:40px;padding:0;border:0;background:transparent;font-size:16px;font-weight:500;}
.capture-footer svg {width:18px;height:18px;}
.project-team-dialog {width:720px;overflow:auto;}
.project-team-form {padding:var(--dialog-insets);}
.project-team-form .sheet-editor-fields {display:grid;gap:24px;}
.project-team-form .project-dialog__email {max-width:46ch;margin:0;}
.project-team-form .project-dialog__members {min-width:0;margin:0;padding:0;border:0;}
.project-team-form .project-dialog__members legend {padding:0;margin-bottom:8px;}
.project-team-form .project-dialog__members label {font-size:var(--text-body);}
.project-team-form :is(.project-dialog__chips,.project-dialog__error,.project-team-help) {margin:0;}
.project-team-form .project-dialog__chips li {font-size:var(--text-body);}
.project-team-form .project-dialog__error {color:var(--ink);border:0;padding:0;}
.project-team-form .project-dialog__field input {font-size:var(--text-body);}
@media (max-width:700px) {
  .project-action-dialog {--dialog-insets:24px;max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);}
  .project-capture-dialog {overflow:auto;}
  .project-capture-shell {height:auto;grid-template-rows:auto auto auto;}
  .capture-body .diary-workspace {grid-template-columns:minmax(0,1fr);grid-template-areas:'calendar' 'notebook';gap:24px;}
  .capture-body .diary-calendar-column {width:min(100%,var(--context-calendar-width,var(--calendar-width)));}
  .capture-body .diary-notebook {height:clamp(280px,45svh,440px);}
  .capture-heading {margin-bottom:28px;}
  .capture-footer {flex-wrap:wrap;gap:8px 24px;}
}
