.new-card-dialog{width:680px;max-width:calc(100vw - 32px);padding:0;border-radius:16px;border:1px solid var(--ramecek-plovouci);background:white;box-shadow:var(--stin-plovouci);overflow:visible;max-height:calc(100dvh - 40px);margin:150px auto auto;color:var(--inkoust)}.new-card-dialog .feedback-head{height:56px;display:flex;align-items:center;gap:8px;padding:0 20px;margin:0;border-bottom:1px solid var(--linka)}.new-card-dialog .feedback-head h2{font-size:14px;font-weight:600;flex:none}.new-card-dialog .feedback-head>button{width:28px;height:28px;min-height:28px;display:flex;align-items:center;justify-content:center;padding:5px;box-shadow:none;border:0;background:transparent;color:var(--text-2)}.new-card-dialog .feedback-head>button[data-new-expand]{margin-left:auto}.new-card-project{display:flex;align-items:center;gap:5px;background:var(--projekt-svetla);border-radius:7px;height:28px;padding:0 4px;margin:0;min-width:0}.new-card-project select{border:0;box-shadow:none;background:transparent;height:26px;min-height:26px;padding:0 3px;margin:0;color:var(--projekt-tmava);width:auto;max-width:200px;font-size:13px;font-weight:500}.new-card-project .project-logo,.new-card-project img{width:18px;height:18px;min-width:18px;border-radius:4px}.new-card-project>span{display:flex}.new-card-project .ui-icon{width:16px;height:16px}.new-card-body{padding:18px 20px 16px;max-height:calc(100dvh - 340px);overflow:auto}.new-card-title{font-size:21px!important;line-height:27px;font-weight:600!important;letter-spacing:-.015em;border:0!important;box-shadow:none!important;background:transparent!important;width:100%;margin:0 0 7px!important;padding:0!important;border-radius:0!important;height:30px!important;min-height:30px!important}.new-card-description{border:0;box-shadow:none;background:transparent;padding:0;margin:0 0 14px;font-size:14px;line-height:20px;min-height:20px;resize:vertical;max-height:180px;border-radius:0;width:100%;font-family:inherit}.new-card-properties{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.new-card-properties>label,.new-card-properties>button{height:30px;min-height:30px;border:1px solid var(--ramecek-pole);border-radius:8px;background:white;box-shadow:none;padding:0 9px;display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:400;white-space:nowrap}.new-card-properties .ui-icon{width:14px;height:14px;color:var(--text-2);flex:none}.new-card-properties select{height:28px;min-height:28px;width:auto;max-width:136px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;font-size:13px;font-weight:400}.new-card-properties .has-value{border-color:var(--projekt-barva);color:var(--inkoust)}.new-card-properties .has-value .ui-icon{color:var(--projekt-tmava)}.new-card-estimate input{margin:0;padding:0;width:32px;min-width:0;height:28px;min-height:28px;background:transparent;border:0;box-shadow:none;font-size:13px;-moz-appearance:textfield}.new-card-estimate input::-webkit-inner-spin-button{appearance:none}.new-card-subtasks h3{font-size:13px;font-weight:500;color:var(--text-2);margin:0 0 7px}.new-card-task{display:flex;align-items:center;gap:8px;min-height:34px}.new-card-task input[type=checkbox]{appearance:auto;width:15px;height:15px;min-height:0;padding:0;margin:0;flex:none;accent-color:var(--projekt-barva)}.new-card-task input[type=text]{min-width:0;flex:1;border:0;background:transparent;box-shadow:none;padding:0;height:28px;min-height:28px;margin:0;font-size:13px}.new-card-task select{max-width:124px;width:auto;margin:0;padding:0 5px;font-size:11px;height:26px;min-height:26px;border:1px solid var(--linka);border-radius:7px}.new-card-task button,.new-card-add-task button,.new-card-file button{width:24px;height:24px;min-height:24px;padding:3px;border:0;background:transparent;box-shadow:none;color:var(--text-3)}.new-card-task button .ui-icon,.new-card-file .ui-icon{width:14px;height:14px}.new-card-add-task{display:flex;align-items:center;gap:10px;margin:5px 0 16px;min-height:28px;color:var(--text-3)}.new-card-add-task>.ui-icon{width:14px;height:14px}.new-card-add-task input{flex:1;min-width:0;height:28px;min-height:28px;border:0;padding:0;background:transparent;box-shadow:none;font-size:13px;margin:0}.new-card-drop{min-height:64px;border:1px dashed var(--prilohy-ramecek,var(--linka));border-radius:10px;background:var(--plocha-seda);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--text-3)}.new-card-drop button{padding:0;min-height:30px;border:0;background:transparent;box-shadow:none;font-size:13px;font-weight:400;color:var(--text-3)}.new-card-drop .ui-icon{width:16px;height:16px}.new-card-drop.dragging{border-color:var(--projekt-barva);background:var(--projekt-svetla)}.new-card-file{display:flex;align-items:center;gap:8px;min-height:30px;font-size:12px}.new-card-file>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.new-card-file small{white-space:nowrap;color:var(--text-3)}.new-card-more{padding:8px 0 12px}.new-card-more[hidden]{display:none}.new-card-more label{max-width:180px;font-size:12px}.new-card-more input{height:30px;min-height:30px;font-size:12px}.new-card-more p{font-size:12px;margin:0}.new-card-footer{height:60px;background:var(--plocha-seda);border-top:1px solid var(--linka);padding:0 20px;display:flex;align-items:center;gap:10px;border-radius:0 0 16px 16px}.new-card-footer label{display:flex;align-items:center;gap:10px;flex:1;margin:0;font-size:12.5px;font-weight:400;color:var(--text-2)}.new-card-footer>button{height:34px;min-height:34px;padding:0 12px;border-radius:8px;font-size:13px}.new-card-footer>button.primary{background:var(--projekt-barva);color:var(--projekt-na-barve);border-color:transparent;display:flex;gap:10px;align-items:center;font-weight:600}.new-card-footer kbd{font-size:10px;line-height:18px;border:0;border-radius:4px;background:#ffffff50;padding:0 4px}.new-card-body>.form-error:empty{display:none}.new-card-calendar{position:fixed;z-index:10;width:280px;padding:14px;background:white;border:1px solid var(--ramecek-plovouci);border-radius:14px;box-shadow:var(--stin-plovouci);font-size:13px}.new-calendar-shortcuts{display:flex;gap:5px;margin-bottom:10px}.new-calendar-shortcuts button{border:0;background:var(--plocha-mekka);height:26px;min-height:26px;padding:0 7px;border-radius:7px;font-size:11px;font-weight:400;white-space:nowrap;box-shadow:none}.new-card-calendar header{display:flex;align-items:center;gap:5px;margin-bottom:6px}.new-card-calendar header strong{flex:1;font-size:13px;font-weight:600}.new-card-calendar header button{height:24px;min-height:24px;width:20px;padding:3px;box-shadow:none;border:0;background:transparent}.new-card-calendar header .ui-icon{height:13px;width:13px;color:var(--text-2)}.new-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px 0}.new-calendar-grid small{height:24px;text-align:center;color:var(--text-3);font-size:11px;line-height:24px}.new-calendar-grid button{position:relative;height:32px;min-height:32px;padding:0;background:transparent;border:0;box-shadow:none;border-radius:8px;font-size:13px;font-weight:400}.new-calendar-grid button[aria-pressed=true]{background:var(--projekt-barva);color:var(--projekt-na-barve);font-weight:700}.new-calendar-grid button.today{box-shadow:inset 0 0 0 1px var(--projekt-barva)}.new-calendar-grid .milestone:after{content:'';position:absolute;bottom:0;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:var(--projekt-barva)}.new-calendar-milestone{font-size:11px;color:var(--text-2);margin:10px 0 0}.new-card-full{width:calc(100vw - 48px);height:calc(100dvh - 48px);margin:24px auto}.new-card-full>form{height:calc(100% - 56px);display:flex;flex-direction:column}.new-card-full .new-card-body{flex:1;max-height:none}.new-card-full .new-card-footer{flex:none}
@media(max-height:760px){.new-card-dialog:not(.new-card-full){margin-top:60px}.new-card-body{max-height:calc(100dvh - 210px)}}
.new-card-properties select[name=state]{max-width:82px}.new-card-properties select[name=person]{max-width:84px}.new-card-properties select[name=timelineId]{max-width:75px}.new-card-properties>label{gap:5px;padding:0 7px}.new-card-properties .new-card-estimate{gap:3px;padding:0 7px}.new-card-properties .new-card-estimate input{width:25px}.new-card-properties>[data-new-more]{padding:0 7px;gap:4px}.new-card-description{resize:none}.new-card-properties select{text-overflow:ellipsis}

.new-card-properties select{appearance:none;background-image:none;padding-right:0!important}

/* The same live form becomes a normal page; no modal overlay or focus trap. */
.new-card-dialog.new-card-page{position:static;display:block;width:840px;max-width:100%;margin:0 auto;height:auto;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible}.new-card-page .feedback-head{padding:0 24px;height:64px}.new-card-page .new-card-body{padding:24px;max-height:none;overflow:visible;min-height:calc(100dvh - 260px)}.new-card-page .new-card-footer{position:sticky;bottom:0;border-radius:0;z-index:2}.new-card-page .new-card-calendar{z-index:90}.new-card-page .new-card-title{font-size:24px!important}.new-card-page .new-card-description{min-height:64px}body:has(.new-card-page){min-width:0}
@media(max-width:760px){.new-card-page .feedback-head,.new-card-page .new-card-body{padding-left:14px;padding-right:14px}.new-card-page .new-card-project select{max-width:130px}.new-card-page .new-card-footer{height:auto;min-height:60px;flex-wrap:wrap;padding:12px 14px}.new-card-page .new-card-footer label{flex:1 0 100%}.new-card-page .new-card-footer>button:last-child{margin-left:auto}}
