.modal-overlay{background:var(--scrim);z-index:100;animation:modal-fade-in var(--dur-base) var(--ease);justify-content:center;align-items:flex-start;padding:8vh 16px 16px;display:flex;position:fixed;inset:0}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}.modal-card{background:var(--bg-elevated);border-radius:var(--r-xl);width:100%;max-width:520px;max-height:84vh;box-shadow:var(--shadow-lg);animation:modal-slide-in var(--dur-spring) var(--spring);transform-origin:50% 0;flex-direction:column;display:flex;overflow:hidden}@media (prefers-reduced-motion:reduce){.modal-card{animation-name:modal-fade-in}}@keyframes modal-slide-in{0%{opacity:0;transform:translateY(8px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-card__head{border-bottom:none;flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 20px 14px 24px;display:flex}.modal-card__head h2{font-family:var(--font-display);letter-spacing:-.008em;color:var(--color-text);margin:0;font-size:1.25rem;font-weight:500}.modal-close{width:28px;height:28px;color:var(--ink-2);background:0 0;background:var(--fyll);cursor:pointer;transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);border:none;border-radius:50%;justify-content:center;align-items:center;font-size:1.125rem;line-height:1;display:inline-flex}.modal-close:hover{background:var(--fyll);color:var(--ink);opacity:.9}.new-project-form{flex-direction:column;gap:14px;padding:6px 24px 24px;display:flex;overflow-y:auto}.new-project-form label{font-size:var(--text-sm);color:var(--ink);flex-direction:column;gap:6px;font-weight:500;display:flex}label.form-checkbox,.new-project-form label.form-checkbox{font-size:var(--text-sm);text-transform:none;letter-spacing:0;color:var(--color-text);cursor:pointer;flex-direction:row;align-items:center;gap:10px;font-weight:400;display:flex}label.form-checkbox input[type=checkbox],.new-project-form label.form-checkbox input[type=checkbox]{flex:none;width:auto;margin:0;padding:0}label.form-checkbox>span{text-transform:none;letter-spacing:0;font-size:var(--text-sm);color:var(--color-text);font-weight:400}.attachments-section{border-top:.5px solid var(--color-border);flex-direction:column;gap:8px;padding-top:12px;display:flex}.attachments-section__head{justify-content:space-between;align-items:center;gap:8px;display:flex}.attachments-section__list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.attachments-section__item{background:var(--surface-mist);border-radius:var(--r-sm);font-size:var(--text-sm);grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:6px 10px;display:grid}.attachments-section__item a{color:var(--brand-teal);text-decoration:none}.attachments-section__item a:hover{text-decoration:underline}.new-project-form input,.new-project-form select,.new-project-form textarea{border:.5px solid var(--line-strong);border-radius:var(--r-sm);min-height:36px;font-size:var(--text-base);background:var(--bg-elevated);color:var(--color-text);text-transform:none;letter-spacing:normal;width:100%;padding:8px 12px;font-family:inherit;font-weight:400}.new-project-form input:focus,.new-project-form select:focus,.new-project-form textarea:focus{border-color:var(--handling);box-shadow:0 0 0 3.5px var(--color-focus-ring);outline:none}.new-project-form textarea{resize:vertical;min-height:80px;line-height:1.5}.new-project-form select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23A8A8A8' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}.new-project-dates{grid-template-columns:1fr 1fr;gap:12px;display:grid}.new-project-actions{border-top:.5px solid var(--color-border);align-items:center;gap:10px;margin-top:8px;padding-top:16px;display:flex}.new-project-actions .btn-primary{font-weight:500}.new-project-actions .btn-secondary{color:var(--color-text-muted)}.picker-body{flex-direction:column;gap:14px;padding:22px 24px;display:flex;overflow-y:auto}.picker-hint{font-size:var(--text-sm);color:var(--color-text-muted);margin:0}.picker-input{border:.5px solid var(--line-strong);border-radius:var(--r-sm);font-size:var(--text-base);background:var(--bg-elevated);color:var(--color-text);width:100%;padding:11px 14px;font-family:inherit}.picker-input:focus{border-color:var(--handling);box-shadow:0 0 0 3.5px var(--color-focus-ring);outline:none}.picker-results{flex-direction:column;gap:4px;max-height:320px;margin:0 -8px;padding:0 8px;display:flex;overflow-y:auto}.picker-status{font-size:var(--text-sm);color:var(--color-text-subtle);padding:14px 4px}.picker-row{border-radius:var(--r-sm);text-align:left;cursor:pointer;font-family:inherit;font-size:var(--text-sm);color:var(--color-text);transition:background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);background:0 0;border:1px solid #0000;flex-direction:column;gap:2px;width:100%;padding:10px 12px;display:flex}.picker-row:hover{background:var(--surface-mist);border-color:var(--surface-sky)}.picker-row__name{color:var(--color-text);font-weight:500}.picker-row__meta{font-size:var(--text-xs);color:var(--color-text-muted)}.picker-selected{background:var(--surface-breeze);border:1px solid var(--surface-sky);border-radius:var(--r-sm);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.picker-selected__label{color:var(--brand-teal);margin-bottom:2px;font-size:.6875rem;font-weight:500}.picker-selected__name{font-size:var(--text-base);color:var(--color-text);font-weight:500}.picker-selected__meta{font-size:var(--text-xs);color:var(--color-text-muted);margin-top:2px}.section-head-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.section-head-row>h2{margin:0!important}.page-header--with-action{justify-content:space-between;align-items:flex-start;gap:16px;display:flex!important}.contact-toggle{background:var(--surface-mist);border-radius:var(--r-sm);flex-direction:column;gap:10px;margin-top:6px;padding:12px;display:flex}.contact-toggle__head{font-size:var(--text-xs);color:var(--color-text-muted);justify-content:space-between;align-items:center;font-weight:500;display:flex}.rich-note{flex-direction:column;gap:4px;display:flex}.rich-note__area{border:.5px solid var(--line-strong,#3c3c434a);background:var(--paper);font:inherit;font-size:var(--text-base);color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;outline:none;max-height:60vh;padding:8px 10px;line-height:1.5;overflow-y:auto}.rich-note__area:focus{border-color:var(--handling);box-shadow:0 0 0 3.5px #1f4bd829}.rich-note__area:empty:before{content:attr(data-placeholder);color:var(--ink-3)}.rich-note__img,.note-text__img{border:.5px solid #3c3c432e;border-radius:6px;max-width:100%;max-height:480px;margin:6px 0;display:block}.rich-note__img--uploading{opacity:.5}.rich-note__hint{font-size:var(--text-xs);color:var(--ink-2)}.rich-note__error{color:var(--red,var(--error))}.note-text{flex-direction:column;gap:2px;display:flex}.note-text__p{white-space:pre-wrap;overflow-wrap:anywhere}.modal-presence{display:contents}.modal-presence.is-closing .modal-overlay{animation:modal-fade-out var(--dur-base) var(--ease) both;pointer-events:none}.modal-presence.is-closing .modal-card{animation:modal-slide-out var(--dur-base) var(--ease) both}@keyframes modal-fade-out{to{opacity:0}}@keyframes modal-slide-out{to{opacity:0;transform:translateY(8px)scale(.97)}}@media (prefers-reduced-motion:reduce){.modal-presence.is-closing .modal-card{animation-name:modal-fade-out}}
