.creation-dialog{width:min(620px,calc(100vw - 40px));max-width:none;max-height:min(780px,calc(100dvh - 64px));margin:auto;padding:0;overflow:hidden;overscroll-behavior:contain;border:0;border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:var(--float-shadow);scrollbar-color:var(--rule) var(--surface);scrollbar-width:thin}.creation-dialog[open]{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column}.creation-dialog::backdrop{background:rgb(17 25 22/48%)}.creation-dialog-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--rule);background:var(--surface)}.creation-dialog-heading{display:flex;align-items:center;gap:10px;min-width:0}.creation-dialog-heading h2{margin:0;font-size:18px;font-weight:650;line-height:1.3;letter-spacing:-.02em}.creation-dialog-icon{display:inline-flex;color:var(--ink-soft)}.creation-close{display:inline-grid;flex:0 0 36px;width:36px;height:36px;place-items:center;border:0;border-radius:var(--radius-control);background:transparent;color:var(--ink-soft);cursor:pointer}.creation-close:hover{background:var(--surface-sunk);color:var(--ink)}.creation-dialog-content{flex:1 1;min-height:0;padding:24px;overflow-y:auto;overscroll-behavior:contain}.creation-dialog-description{flex:none;margin:16px 24px 0;color:var(--ink-soft);font-size:13px;line-height:1.5}.creation-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid var(--rule);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.creation-trigger:hover{border-color:var(--ink-soft);background:var(--surface-sunk)}:is(.creation-trigger,.creation-close):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.creation-dialog-content>:is(form,section){margin:0;padding:0;border:0;background:transparent;box-shadow:none}.creation-dialog .project-form-grid{gap:16px}.creation-dialog .project-form-grid label{color:var(--ink);font-size:13px;font-weight:600}.creation-dialog :is(input,textarea,select){caret-color:var(--ink)}.creation-dialog .project-form-actions{margin-top:22px;padding-top:18px;border-top:1px solid var(--rule)}.creation-dialog :is(.project-form-grid,.capture-fields)>*{min-width:0}@media (max-width:1024px) and (max-height:500px),(max-width:779px){.app-shell dialog.creation-dialog,.app-shell dialog.creation-dialog.capture-sheet,dialog.creation-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;overflow:hidden;border:0;border-radius:0;box-shadow:none}.creation-dialog-header{padding:calc(12px + var(--safe-top)) max(16px,var(--safe-right)) 12px max(16px,var(--safe-left))}.creation-dialog-content{padding:20px max(16px,var(--safe-right)) max(20px,var(--safe-bottom)) max(16px,var(--safe-left))}.creation-dialog-description{margin-inline:max(16px,var(--safe-left)) max(16px,var(--safe-right))}.creation-close{width:44px;height:44px;flex-basis:44px}.creation-trigger{min-height:44px}.module-creation-trigger{padding:0 10px}.creation-dialog .project-form-grid{grid-template-columns:minmax(0,1fr)}.creation-dialog :is(input,textarea,select){min-height:44px;font-size:16px}.creation-dialog .project-form-actions{position:sticky;bottom:calc(-1 * max(20px, var(--safe-bottom)));z-index:2;margin:18px 0 calc(-1 * max(20px, var(--safe-bottom)));padding:12px 0 max(12px,var(--safe-bottom));background:var(--surface)}.app-shell dialog.creation-dialog.capture-sheet .capture-sheet-form{min-height:100%;gap:18px;padding:calc(12px + var(--safe-top)) max(16px,var(--safe-right)) max(16px,var(--safe-bottom)) max(16px,var(--safe-left))}.app-shell dialog.creation-dialog.capture-sheet .capture-sheet-header{position:sticky;top:calc(-1 * (12px + var(--safe-top)));z-index:3;margin-top:calc(-1 * (12px + var(--safe-top)));padding-top:calc(12px + var(--safe-top));background:var(--surface)}.app-shell dialog.creation-dialog.capture-sheet .capture-sheet-footer{position:sticky;bottom:calc(-1 * max(16px, var(--safe-bottom)));z-index:2;padding:12px 0 max(12px,var(--safe-bottom));background:var(--surface)}}@media (min-width:680px) and (max-width:1024px) and (max-height:500px){.creation-dialog .project-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.module-creation-trigger{width:44px;padding:0}.module-creation-trigger>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}@media (pointer:coarse){.creation-close,.creation-trigger{min-width:44px;min-height:44px}}:where(:root[data-display=eink]) .creation-dialog{border:1px solid var(--ink);border-radius:0;box-shadow:none}:where(:root[data-display=eink]) .creation-close,:where(:root[data-display=eink]) .creation-trigger{min-width:44px;min-height:44px}@media print{.creation-dialog{display:none!important}}