/* Timelines V5, dimensions and palette from the supplied 29 September handoff. */
:root{--bg:var(--bila);--text:var(--inkoust);--muted:var(--text-2);--line:var(--linka);--primary:var(--projekt-barva);--on:var(--projekt-na-barve);--side:var(--projekt-panel);--soft:var(--plocha-seda);--danger:var(--chyba);--nadpis:var(--inkoust);--inkoust-2:var(--inkoust);--panel:var(--plocha-seda);--lista:var(--plocha-mekka);--lista-ramecek:var(--linka);--linka-2:var(--ramecek-pole);--zelena:#3F4D32;--zelena-najeti:#3F4D32;--zelena-svetla:#ECEFE5;--r:9px;--r-velky:12px}
body{font-family:var(--pismo);font-size:13px;line-height:1.45;color:var(--inkoust);background:white}body:has(.v5-shell){min-width:1024px}button,input,select,textarea{font-family:inherit}button{font-size:13px;font-weight:500;min-height:28px;box-shadow:none;border-color:var(--ramecek-pole);color:var(--text-tlacitko)}button:focus-visible,a:focus-visible{outline:2px solid var(--projekt-linka);outline-offset:2px}h1{font-size:24px;font-weight:600;letter-spacing:-.02em}h2{font-size:15px;font-weight:600;letter-spacing:0}h3{font-size:13px;font-weight:600}.eyebrow{display:none}.ui-icon{width:17px;height:17px;opacity:1;color:var(--ikona);vertical-align:middle;flex:none}.primary .ui-icon{color:var(--projekt-na-barve);filter:none}.primary{background:var(--projekt-barva);border-color:var(--projekt-barva);color:var(--projekt-na-barve);font-weight:600}.primary:hover{background:var(--projekt-barva);filter:brightness(.97)}.primary svg path,.primary svg line,.primary svg circle{stroke-width:2}.quiet{background:transparent}small,.muted{color:var(--text-3)}input,select,textarea{border-radius:9px;border-color:var(--ramecek-pole);font-size:13px}input,select{min-height:36px}input[type=checkbox]{min-height:0;width:15px;height:15px;accent-color:var(--projekt-barva)}label{font-size:12.5px;color:var(--text-2)}.panel,.listcard,.assignee-project,.project-row{box-shadow:none;border-color:var(--ramecek-karta)}.panel{border-radius:14px;padding:20px}.panel h2{margin-bottom:16px}.heading p{color:var(--text-2);font-size:13px;margin-top:4px}.v5-shell .heading{margin:0 0 18px}.heading h1{margin:0}.v5-shell{grid-template-columns:256px minmax(0,1fr)}.v5-shell .sidebar{position:sticky;inset:auto;top:0;width:256px;height:100dvh;padding:12px 10px 10px;gap:1px;background:var(--projekt-panel);border:0;border-right:1px solid var(--projekt-panel-linka);border-left:4px solid var(--projekt-barva);border-radius:0;color:var(--projekt-panel-text)}.v5-shell .side-brand{height:48px;min-height:48px;padding:0 2px 0 2px;gap:3px;display:flex;flex-direction:row}.v5-brand{display:flex;border:0;padding:0;background:transparent;min-width:0;flex:1;gap:10px;text-align:left;justify-content:flex-start}.v5-brand>img,.v5-brand>.project-logo{width:30px;height:30px;border-radius:7px;margin:0;flex:0 0 30px}.v5-brand>span:not(.project-logo){min-width:0;flex:1}.v5-brand strong{display:block;font-size:14px;font-weight:600;letter-spacing:-.01em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--projekt-panel-text)}.v5-brand small{display:block;font-size:11.5px;white-space:nowrap;color:var(--projekt-panel-text-2)}.v5-brand>.ui-icon{width:13px;height:15px}.collapse-sidebar{width:28px;height:28px;padding:5px;flex-shrink:0}.v5-shell .sidebar-search{height:34px;min-height:34px;margin:1px 0 8px;background:white;border:1px solid var(--projekt-panel-linka);color:var(--projekt-panel-text-2);gap:8px;border-radius:9px}.sidebar-search .ui-icon{width:16px;height:16px}.v5-shell .sidebar-search kbd{height:20px;display:flex;align-items:center;background:white;border:1px solid var(--projekt-panel-linka);font-size:11px;font-weight:500;padding:0 5px}.v5-shell .nav{position:relative;height:33px;min-height:33px;padding:0 10px;gap:10px;font-size:13.5px;font-weight:500;color:var(--projekt-panel-text);border-radius:9px;margin-bottom:1px}.v5-shell .nav.active,.chat-room.active{background:var(--projekt-panel-aktivni);font-weight:600}.v5-shell .nav.active:before,.chat-room.active:before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:16px;border-radius:2px;background:var(--projekt-barva)}.v5-shell .nav.active .ui-icon{color:var(--projekt-panel-text)}.v5-shell .nav small{font-size:12px;font-weight:400;color:var(--projekt-panel-text-2)}.v5-shell .nav small.unread,.v5-top-chat small{display:inline-flex;align-items:center;justify-content:center;height:18px;min-width:18px;border-radius:9px;background:var(--projekt-barva);color:var(--projekt-na-barve);font-size:11px;font-weight:600;padding:0 6px}.v5-shell #chat-sidebar{padding:8px 0 0;flex:1;min-height:100px}.v5-shell .side-caption{font-size:12px;letter-spacing:0;font-weight:500;color:var(--projekt-panel-text-2);padding:10px 10px 5px;list-style:revert;display:list-item;margin-left:10px;cursor:pointer}.chat-room{position:relative;height:34px;padding:0 10px;gap:10px;font-size:13.5px;font-weight:500;border-radius:9px;color:var(--projekt-panel-text);justify-content:flex-start}.chat-room>span.chat-name{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis}.chat-room small{background:var(--projekt-barva);color:var(--projekt-na-barve);font-size:11px;line-height:18px;padding:0 6px}.chat-room>.project-logo{width:20px;height:20px;flex:0 0 20px}.v5-chat-person{position:relative;flex:0 0 24px!important;overflow:visible!important}.v5-chat-person .avatar{width:24px;height:24px;font-size:9px}.v5-chat-person .presence-dot{position:absolute;right:-1px;bottom:-1px;border:2px solid var(--projekt-panel);width:10px;height:10px}.presence-dot.online{background:var(--pripojen)}.presence-dot.away{background:var(--pryc)}.presence-dot.dnd{background:var(--nerusit)}.avatar{background:var(--avatar-zelena);color:white;font-weight:600;width:30px;height:30px;font-size:11px}.avatar-stack .avatar{width:22px;height:22px;font-size:8px;border:2px solid white}.avatar-stack{padding-left:6px}.v5-shell .identity{position:sticky;bottom:0;display:flex;align-items:center;gap:4px;padding:0 4px;height:46px;min-height:46px;border:0;background:var(--projekt-panel);margin-top:16px}.identity-person{padding:0;flex:1;text-align:left;justify-content:flex-start;min-width:0}.identity-person>span:not(.avatar){min-width:0}.identity-person strong{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.identity-person small{font-size:11.5px!important;margin:0!important}.identity>button:not(.identity-person){padding:4px;flex:none}.v5-shell .main{min-width:0}.v5-shell .topbar{height:52px;min-height:52px;padding:0 20px;border-top:0;border-bottom:1px solid var(--linka);gap:9px;background:white;position:sticky;top:0;z-index:25}.v5-shell .breadcrumb{display:flex;font-size:13px;gap:9px;flex:1;min-width:120px}.v5-shell .breadcrumb .project-logo{width:16px;height:16px;border-radius:4px;margin:0;flex:0 0 16px}.breadcrumb>.ui-icon{width:13px;height:13px;color:var(--text-3)}.v5-shell .breadcrumb button{font-size:13px;padding:0;font-weight:400;color:var(--text-2)}.v5-shell .breadcrumb button:last-child{color:var(--inkoust);font-weight:500}.v5-shell .topbar>.actions{gap:10px;margin-left:auto;flex-wrap:nowrap}.v5-shell .topbar .primary{height:32px;min-height:32px;padding:0 12px;font-size:13px;gap:6px}.v5-top-chat{height:32px;padding:0 10px!important;gap:6px;font-size:13px!important;border-color:var(--linka)}.v5-project-switches{display:flex;align-items:center;gap:2px;padding:3px;border-radius:11px;background:var(--plocha-mekka)}.v5-shell .v5-project-switches button{padding:0;width:30px;height:30px;min-height:30px;border:0;border-radius:8px}.v5-project-switches button.selected{background:white;box-shadow:inset 0 0 0 2px var(--projekt-barva)}.v5-project-switches .project-logo{width:18px;height:18px;min-width:18px;flex:0 0 18px;border-radius:4px;margin:0}.v5-project-switches button.selected .project-logo{width:20px;height:20px;flex-basis:20px}.project-logo{border:0;background:var(--projekt-svetla);color:var(--projekt-tmava);width:30px;height:30px;border-radius:7px;margin:0;flex:none}.project-logo img{width:100%;height:100%;padding:0}.v5-shell .content{max-width:none;padding:24px 28px 40px}.v5-shell .project-content,.v5-shell .v5-overview-content{padding:0}.v5-shell.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)}.v5-shell.sidebar-collapsed .sidebar{width:64px;padding:12px 7px;border-left-width:3px}.v5-shell.sidebar-collapsed .side-brand{flex-direction:column;height:85px;min-height:85px;gap:6px;padding:0}.sidebar-collapsed .v5-brand>span:not(.project-logo),.sidebar-collapsed .v5-brand>.ui-icon{display:none}.sidebar-collapsed .v5-brand{flex:0 0 34px}.sidebar-collapsed .v5-brand>img,.sidebar-collapsed .v5-brand>.project-logo{width:34px;height:34px}.v5-shell.sidebar-collapsed .nav{width:44px;height:38px;margin-bottom:4px;justify-content:center;padding:0}.v5-shell.sidebar-collapsed .nav>.ui-icon{width:19px;height:19px}.v5-shell.sidebar-collapsed .nav>small{display:flex;position:absolute;right:0;top:0;font-size:9px;min-width:15px;height:15px;padding:0 4px}.sidebar-collapsed .nav small:not(.unread){display:none!important}.sidebar-collapsed #chat-sidebar .chat-room{width:44px;height:38px;justify-content:center;padding:0}.sidebar-collapsed #chat-sidebar .chat-room>span.chat-name{display:none}.sidebar-collapsed #chat-sidebar .v5-chat-person{display:block!important}.sidebar-collapsed #chat-sidebar .chat-room small{position:absolute;top:0;right:0;font-size:9px;line-height:14px;padding:0 4px}.sidebar-collapsed #chat-sidebar .chat-room .avatar{width:30px;height:30px}.sidebar-collapsed .identity{justify-content:center;padding:0}.sidebar-collapsed .identity>button:not(.identity-person){display:none}.sidebar-collapsed .identity-person{justify-content:center}.sidebar-collapsed .identity-person>span:not(.avatar){display:none}.sidebar-collapsed #chat-sidebar details{margin-top:10px}.v5-overview{display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 52px)}.v5-overview.with-side{grid-template-columns:minmax(0,1fr) 344px}.v5-overview-main{padding:24px 6px 32px 28px;min-width:0}.v5-overview:not(.with-side) .v5-overview-main{padding-right:28px}.v5-overview .heading{padding-right:4px;gap:10px;align-items:center;flex-wrap:wrap}.v5-overview .heading .views{margin-left:auto}.views{display:flex;gap:2px;background:var(--plocha-mekka);padding:3px;border:0;border-radius:9px}.views button{min-height:24px;padding:0 9px;font-size:12.5px;border:1px solid transparent;border-radius:7px;color:var(--text-2);gap:6px;background:transparent}.views button[aria-pressed=true]{background:white;color:var(--inkoust);border-color:var(--linka);font-weight:600;box-shadow:none}.views .ui-icon{width:14px;height:14px}.v5-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v5-project-card{border:1px solid var(--ramecek-karta);border-radius:14px;overflow:hidden;background:white;position:relative;min-width:0}.v5-card-head{display:flex;width:100%;height:66px;border:0;border-radius:0;background:var(--projekt-pas);padding:0 14px;gap:10px;justify-content:flex-start;color:var(--projekt-pas-text);text-align:left}.v5-card-head:hover{background:var(--projekt-pas)}.v5-card-head>.project-logo{width:36px;height:36px;border-radius:9px;flex:0 0 36px}.v5-card-head>span:not(.project-logo){min-width:0}.v5-card-head strong{font-size:15px;letter-spacing:-.01em;font-weight:600;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.v5-card-head small{font-size:11.5px;color:var(--projekt-pas-text-2);display:block;overflow:hidden;text-overflow:ellipsis}.v5-card-body{padding:12px 14px 10px}.v5-card-progress{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:600;color:var(--text-2)}.v5-card-progress>i{display:block;height:5px;background:var(--plocha-mekka);flex:1;overflow:hidden;border-radius:3px}.v5-card-progress b{display:block;height:100%;background:var(--projekt-barva)}.v5-card-progress>span{white-space:nowrap}.v5-card-milestone{display:flex;gap:7px;align-items:center;font-size:12.5px;margin:10px 0 6px;white-space:nowrap;overflow:hidden}.v5-card-milestone .ui-icon{width:14px;height:14px;color:var(--projekt-tmava)}.v5-card-milestone strong{font-weight:600}.v5-card-milestone>span{color:var(--text-2);overflow:hidden;text-overflow:ellipsis}.v5-card-items{height:78px}.v5-card-items button{display:flex;width:100%;padding:0;gap:7px;min-height:26px;text-align:left;justify-content:flex-start;font-size:12.5px;color:var(--inkoust)}.v5-card-items button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v5-state-icon{display:inline-flex;align-items:center;flex:none}.v5-state-icon .ui-icon{width:15px;height:15px;color:var(--stav-nezacato)}.v5-state-icon.progress .ui-icon{color:var(--stav-rozpracovano)}.v5-state-icon.review .ui-icon{color:var(--stav-kontrola)}.v5-state-icon.done .ui-icon{color:var(--stav-hotovo)}.v5-card-body footer{display:flex;align-items:center;gap:7px;margin-top:6px;height:24px}.v5-card-body footer small{font-size:12px}.v5-card-body footer button{margin-left:auto;padding:0;min-height:24px}.v5-card-body .avatar-stack .avatar{width:20px;height:20px;font-size:7px}.v5-card-management{display:flex;align-items:center;justify-content:space-between;margin-top:5px;border-top:1px solid var(--linka-radek);padding-top:4px}.v5-card-management button{font-size:10px;min-height:22px;padding:2px;gap:4px}.v5-card-management .ui-icon{width:12px;height:12px}.v5-card-management .project-order{gap:2px}.v5-card-management .project-order button{width:20px;height:22px}.v5-overview-actions{display:flex;gap:12px;margin-top:18px;font-size:12px}.v5-overview-actions button{font-size:12px;gap:6px}.v5-overview-side{border-left:1px solid var(--linka);padding:24px 20px;min-width:0}.v5-overview-side .summary{margin:0 0 12px;gap:8px}.v5-overview-side h2{margin:0;font-size:15px}.v5-overview-side h2 small{font-size:12px;font-weight:400;margin-left:5px}.v5-overview-side .summary button{width:26px;height:26px;min-height:26px;padding:4px;border:1px solid var(--linka)}.v5-today-row{height:43px;width:100%;display:flex;gap:8px;justify-content:flex-start;border:0;border-bottom:1px solid var(--linka-radek);border-radius:0;padding:0;text-align:left;font-size:12.5px}.v5-today-row .project-logo{width:16px;height:16px;border-radius:4px;flex:0 0 16px}.v5-today-row>span:not(.project-logo):not(.v5-state-icon){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.v5-today-row time{font-size:12px;color:var(--po-terminu);white-space:nowrap}.v5-overview-side .v5-side-subheading{margin:32px 0 12px}.v5-overview-list article{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--linka);padding:12px 0}.v5-overview-list article>button{width:200px;justify-content:flex-start;gap:10px;border:0}.v5-overview-list .v5-card-progress{width:150px}.v5-overview-axis .gantt-label{gap:10px}.v5-overview-axis .gantt-track{overflow:hidden}
.v5-project-header{background:var(--projekt-pas);color:var(--projekt-pas-text);padding:20px 24px 12px}.v5-project-title{display:flex;align-items:center;gap:16px;min-width:0;margin-bottom:16px}.v5-project-title .project-logo.large{width:52px;height:52px;flex:0 0 52px;border-radius:12px}.v5-project-title h1{font-size:26px;font-weight:600;color:var(--projekt-pas-text);margin:0;line-height:1.2}.v5-project-title>div:not(.v5-progress-summary){min-width:0}.v5-project-title p{margin:5px 0 0;font-size:13px;color:var(--projekt-pas-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:600px}.v5-project-title p .ui-icon{width:14px;height:14px;color:inherit}.v5-progress-summary{display:flex;align-items:center;gap:14px;margin-left:auto;flex:none}.v5-progress-summary small{display:block;color:var(--projekt-pas-text-2);font-size:11.5px}.v5-progress-summary strong{font-size:13px;font-weight:600}.v5-progress-ring{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:conic-gradient(var(--projekt-barva) var(--progress),color-mix(in srgb,var(--projekt-pas-text) 10%,transparent) 0)}.v5-progress-ring b{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--projekt-pas);border-radius:50%;font-size:11px;font-weight:600;white-space:nowrap}.v5-header-collapse{height:30px;padding:0 8px;border-radius:8px;background:rgba(255,255,255,.6);font-size:12.5px;flex:none}.v5-header-collapse .ui-icon{width:15px;height:15px}.v5-project-header .project-tabs{padding:0;gap:4px;border:0;border-radius:0;background:transparent;overflow:auto}.v5-project-header .project-tabs button{height:34px;min-height:34px;padding:0 12px;gap:7px;border-radius:10px;font-size:13px;color:var(--projekt-pas-text-2)}.v5-project-header .project-tabs .ui-icon{width:15px;height:15px;color:var(--projekt-pas-text-2);filter:none}.v5-project-header .project-tabs button[aria-pressed=true]{background:white;color:var(--inkoust);font-weight:600}.v5-project-header .project-tabs button[aria-pressed=true] .ui-icon{color:var(--inkoust)}.v5-project-header.collapsed{height:56px;padding:0 20px;display:flex;gap:12px;align-items:center}.v5-project-header.collapsed .v5-project-title{margin:0;gap:10px;display:contents}.v5-project-header.collapsed .v5-project-title>div:not(.v5-progress-summary){flex:none;max-width:140px}.v5-project-header.collapsed h1{font-size:17px}.v5-project-header.collapsed .v5-project-title>.project-logo{width:28px;height:28px}.v5-project-header.collapsed p,.v5-project-header.collapsed .v5-progress-summary{display:none}.v5-project-header.collapsed .project-tabs{flex:1;order:1;min-width:0}.v5-project-header.collapsed .project-tabs button{height:30px;min-height:30px;padding:0 9px;font-size:12px}.v5-project-header.collapsed .v5-header-collapse{order:2}.v5-shell .project-work{padding:0 20px 32px;animation:none}.v5-shell .v5-work-axis,.v5-shell .v5-work-board,.v5-shell .v5-work-settings{padding:0}.v5-axis-toolbar{height:44px;display:flex;align-items:center;gap:8px;padding:0 20px;border-bottom:1px solid var(--linka)}.v5-axis-toolbar label{margin:0}.v5-axis-toolbar select{min-height:28px;height:28px;padding:0 8px;background:white;border-color:var(--linka);font-size:12.5px}.v5-axis-toolbar button{height:28px;min-height:28px;padding:0 9px;font-size:12.5px;gap:6px;border-color:var(--linka)}.v5-axis-toolbar button .ui-icon{width:14px;height:14px}.v5-axis-toolbar button[aria-pressed=true]:not(.views button){background:var(--projekt-svetla);color:var(--projekt-tmava)}.v5-toolbar-spacer{flex:1}.v5-gantt{min-width:850px;border:0;border-radius:0}.v5-gantt .gantt-head,.v5-gantt .gantt-row,.v5-axis-group{grid-template-columns:288px minmax(0,1fr)}.v5-gantt .gantt-head{height:44px;background:white;border-bottom:1px solid var(--linka)}.v5-gantt .gantt-head>span{padding:12px 16px;font-size:12px;display:flex;justify-content:space-between}.v5-calendar-head{display:grid;grid-template-columns:repeat(var(--days),minmax(0,1fr));border-left:1px solid var(--linka)}.v5-calendar-day{position:relative;display:flex;align-items:center;justify-content:center;padding-top:19px;font-size:11px;color:var(--text-2)}.v5-calendar-day.weekend{background:var(--plocha-seda);color:var(--text-3)}.v5-calendar-day small{position:absolute;left:6px;top:4px;white-space:nowrap;z-index:1;color:var(--text-2);font-size:10px}.v5-calendar-day:nth-child(7n+1){border-left:1px solid var(--linka)}.v5-calendar-day .today{display:flex;align-items:center;justify-content:center;width:24px;height:19px;border-radius:6px;background:var(--projekt-barva);color:var(--projekt-na-barve);font-weight:700}.v5-gantt .gantt-row{height:34px;border-bottom:1px solid var(--linka-radek)}.v5-gantt .gantt-label{padding:0 12px 0 20px;gap:8px;min-width:0;min-height:0;color:var(--inkoust);height:34px}.v5-gantt .gantt-label strong{font-size:13px;font-weight:400;max-width:none;flex:1;min-width:0}.v5-gantt .gantt-label .avatar{width:22px;height:22px;font-size:8px}.v5-gantt .gantt-track{background:white;overflow:visible}.v5-day-bg{position:absolute;top:0;bottom:0;pointer-events:none}.v5-day-bg.weekend{background:var(--plocha-seda)}.v5-day-bg:nth-child(7n+1){border-left:1px solid var(--linka)}.v5-gantt .today-line{opacity:1;width:1.5px;z-index:1}.v5-gantt .gantt-bar{top:5px;height:24px;min-height:24px;min-width:16px;padding:3px;border:0;border-radius:8px;background:color-mix(in srgb,var(--projekt-barva) 25%,white);overflow:hidden;z-index:2;justify-content:flex-start}.v5-gantt .gantt-fill{opacity:1}.v5-gantt .gantt-bar .avatar{width:18px;height:18px;font-size:7px;z-index:1;background:var(--avatar-zelena)}.v5-gantt .gantt-bar.todo{background:white;border:1.5px dashed var(--projekt-barva)}.v5-gantt .gantt-bar.todo .gantt-fill{display:none}.v5-gantt .gantt-bar.done{background:color-mix(in srgb,var(--projekt-barva) 40%,white);justify-content:center}.v5-gantt .gantt-bar.done .gantt-fill{display:none}.v5-gantt .gantt-bar.done .ui-icon{width:13px;height:13px;color:var(--inkoust);position:relative}.v5-bar-percent{position:absolute;top:8px;white-space:nowrap;font-size:11.5px;font-weight:600;color:var(--text-2);pointer-events:none;z-index:2}.v5-axis-group{display:grid;height:30px;border-bottom:1px solid var(--linka-radek)}.v5-axis-group>div:first-child{display:flex;align-items:center;padding:0 12px}.v5-axis-group>div>button:first-child{padding:0 3px;font-size:12.5px;gap:6px;min-height:28px;text-align:left;justify-content:flex-start;flex:1}.v5-axis-group .ui-icon{width:13px;height:13px}.v5-axis-group strong{font-weight:600}.v5-axis-group small{font-size:12px}.v5-lane-edit{opacity:0;padding:3px}.v5-axis-group:hover .v5-lane-edit,.v5-lane-edit:focus-visible{opacity:1}.v5-group-span{position:absolute;top:14px;height:5px;border-radius:3px;background:color-mix(in srgb,var(--projekt-barva) 30%,white);z-index:1}.v5-group-span.closed{height:14px;top:8px;background:color-mix(in srgb,var(--projekt-barva) 45%,white)}.v5-no-date{position:absolute;top:9px;left:10px;color:var(--text-3);font-size:11px}.v5-add-row{height:34px;padding:0 20px;gap:8px;font-size:13px;font-weight:500;color:var(--projekt-tmava)}.v5-add-row .ui-icon{width:15px;height:15px;color:var(--projekt-tmava)}.v5-add-row small{font-weight:400;font-size:12px}.project-timelines{padding-top:18px}.timeline-row{box-shadow:none}.overview-cards{padding:14px 0 0 28px}.design-project-row .rowhead{gap:12px}.design-project-row .row-metrics{gap:12px}.design-project-row .row-metrics .avatar-stack{display:flex}.tile{box-shadow:none}.tile .ui-icon{width:13px;height:13px}.list-filters{margin:10px 0;gap:8px}.list-filters label{font-size:11px}.list-filters input,.list-filters select{height:30px;min-height:30px;padding:4px 8px}.list-group{border:0;margin:10px 0;border-radius:0}.list-group>summary{height:36px;padding:8px 4px;background:white;font-size:13px}.list-group>.compact-card{height:40px;min-height:40px;padding:0 8px;border-top:0;border-bottom:1px solid var(--linka-radek)}.compact-card-title strong{font-size:13px}.compact-card-title small{font-size:11px}.compact-person{width:110px;font-size:12.5px}.compact-person .avatar{width:20px;height:20px;font-size:8px}.compact-due{width:84px;font-size:12px}.compact-percent{font-size:12px}.bulk-bar{background:var(--inkoust)}.v5-board{display:flex;align-items:flex-start;gap:14px;padding:14px 24px 24px;background:var(--plocha-seda);min-height:calc(100dvh - 210px);overflow:auto}.v5-board-column{width:274px;min-width:240px;flex:1;background:var(--plocha-mekka);border-radius:12px;padding:6px}.v5-board-column>header{height:30px;display:flex;align-items:center}.v5-board-column header button{display:flex;gap:7px;width:100%;justify-content:flex-start;padding:0 6px;font-size:13px}.v5-board-column header strong{font-weight:600}.v5-board-column header small{font-size:12px}.v5-board-column.closed{width:44px;min-width:44px;flex:0 0 44px;min-height:230px}.v5-board-column.closed header{height:auto}.v5-board-column.closed header button{writing-mode:vertical-rl;flex-direction:row;height:auto;padding:10px 4px;gap:12px}.v5-board-card{background:white;border:1px solid var(--ramecek-karta);border-radius:10px;padding:12px;margin:8px 0}.v5-board-card>small{display:flex;align-items:center;gap:5px;font-size:11.5px}.v5-board-card>small .ui-icon{width:12px;height:12px}.v5-board-card>button{display:block;padding:0;margin:8px 0 10px;text-align:left;font-size:13.5px;line-height:18px;color:var(--inkoust)}.v5-board-card footer{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--text-3)}.v5-board-card footer time{font-size:12px;flex:1}.v5-board-card footer .avatar{width:20px;height:20px;font-size:8px}.v5-board-card.dragging{transform:rotate(2.5deg);box-shadow:var(--stin-plovouci);border-color:var(--projekt-barva)}.v5-board-column.v5-drop-target{outline:1.5px dashed var(--projekt-barva);background:var(--projekt-svetla)}.v5-board-card:focus-within .sr-only{position:static;clip-path:none;width:auto;height:auto;display:block}.v5-people{padding:20px 0}.v5-people section{margin-bottom:20px}.v5-people header{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--linka);padding-bottom:10px}.v5-people header h2{margin:0}.v5-project-badge{display:inline-flex;align-items:center;gap:5px;border-radius:7px;background:var(--projekt-svetla);color:var(--projekt-tmava);font-size:12px;padding:2px 7px 2px 3px;white-space:nowrap}.v5-project-badge .project-logo{width:16px;height:16px;flex:0 0 16px;border-radius:4px}.v5-my-group{margin:8px 0 16px}.v5-my-group>summary{padding:10px 0;font-weight:600;font-size:13.5px;cursor:pointer}.v5-my-group summary small{margin-left:7px;background:var(--plocha-mekka);padding:1px 6px;border-radius:9px;font-weight:400}.v5-my-row{height:42px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--linka-radek);padding:0 8px}.v5-my-row>button{flex:1;justify-content:flex-start;text-align:left;min-width:0;font-size:13.5px}.v5-my-row>time{width:90px;text-align:right;color:var(--text-2);font-size:12.5px}.v5-my-row>strong{width:42px;text-align:right;font-size:12px}.v5-metrics{padding:18px 28px;background:var(--plocha-seda);min-height:450px}.v5-empty{text-align:center;display:flex;flex-direction:column;align-items:center;padding:65px 20px;color:var(--text-2)}.v5-empty>span{background:var(--plocha-mekka);width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;margin-bottom:14px}.v5-empty>span .ui-icon{width:22px;height:22px}.v5-empty h2{font-size:15px;margin:0;color:var(--inkoust)}.v5-empty p{font-size:13px;max-width:340px;margin:6px 0 12px;line-height:19px}.v5-metrics-note{max-width:700px;margin:auto;color:var(--text-2);font-size:12.5px}.v5-files{padding:22px 0}.v5-files .file{display:flex;align-items:center;gap:12px;height:54px;border-bottom:1px solid var(--linka)}.v5-files .file a{flex:1}.v5-settings{display:grid;grid-template-columns:220px minmax(0,1fr)}.v5-settings>nav{padding:20px 14px;border-right:1px solid var(--linka)}.v5-settings>nav button{display:flex;gap:9px;height:34px;width:100%;padding:0 10px;justify-content:flex-start;font-size:13.5px}.v5-settings>nav button.active{background:var(--plocha-mekka);font-weight:600}.v5-settings>div{padding:24px 32px;max-width:880px;width:100%}.v5-settings .panel{margin-bottom:18px}.access-member{padding:12px 0;border-color:var(--linka)}.access-member form{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.access-member form label{margin:0}.access-member form .form-error:empty{display:none}.access-member form button{height:36px}.v5-inbox-row{display:flex;align-items:center;width:100%;gap:12px;text-align:left;justify-content:flex-start;border:0;border-bottom:1px solid var(--linka);height:62px;border-radius:0}.v5-inbox-row small{margin-left:auto}.integration-note{border-color:var(--linka);background:var(--plocha-seda);font-size:12.5px}.integration-grid{grid-template-columns:1fr;max-width:900px}.integration-card{border:1px solid var(--ramecek-karta);border-radius:12px;padding:14px 16px;box-shadow:none}.integration-card .integration-title h2{font-size:14px}.integration-card p{font-size:12.5px}.integration-card .actions button{font-size:12px}.card-dialog{border:1px solid var(--ramecek-plovouci);border-radius:16px;box-shadow:var(--stin-plovouci);padding:20px}.card-dialog::backdrop{background:var(--ztmaveni)}.card-dialog .feedback-head{margin-bottom:20px}.v5-new-card-dialog{width:680px}.v5-new-card-dialog input[name=title]{font-size:21px;font-weight:600;letter-spacing:-.015em;border:0;border-radius:0;padding-left:0}.detail-drawer{position:fixed;top:52px;bottom:0;width:430px;border-left:1px solid var(--linka);box-shadow:none;padding:0 22px 24px;z-index:24}.project-backdrop{display:block;margin-right:430px}.drawer-top{height:48px;padding:0;border:0;letter-spacing:0;font-size:12px;margin-bottom:10px}.detail-drawer .heading h1{font-size:19px;letter-spacing:-.015em;line-height:24px}.detail-drawer .heading{margin:0 0 14px;gap:8px}.detail-drawer .heading button{font-size:11px}.detail-drawer .segment-page{animation:none}.detail-drawer form[data-form=segment] label{font-size:12px;margin-bottom:8px}.detail-drawer form[data-form=segment] input,.detail-drawer form[data-form=segment] select{height:30px;min-height:30px;padding:4px 6px}.detail-drawer form[data-form=segment] textarea{font-size:13px;line-height:19px}.detail-drawer .panel{padding:14px;margin-top:16px}.detail-drawer .section{margin-top:18px}.detail-drawer .task{padding:4px 0;border:0;border-bottom:1px solid var(--linka-radek);border-radius:0}.detail-drawer .taskline button{font-size:13px;padding:0}.detail-drawer .taskline small{font-size:10px}.detail-drawer .task-assignee{display:flex;align-items:center;gap:8px;font-size:10px;margin:3px 0 0 24px}.detail-drawer .task-assignee select{min-height:26px;padding:2px 5px;font-size:11px}.detail-drawer .newtask{margin-top:12px}.detail-drawer .project-backdrop{margin-right:0}.project-backdrop .v5-project-header{overflow:hidden}.project-backdrop .v5-project-header .v5-progress-summary{display:none}.project-backdrop .v5-project-header .project-tabs{max-width:100%}.project-backdrop .v5-project-title{gap:10px}.project-backdrop .v5-project-title>div{max-width:calc(100% - 110px)}.project-backdrop .v5-project-title p{max-width:100%}.project-backdrop .v5-gantt{min-width:760px}.autosave-status{font-size:11px;color:var(--text-2)}#toast{background:var(--inkoust);border-radius:10px;font-size:13px;box-shadow:var(--stin-plovouci)}
#chat-dock.open{width:372px;height:560px;max-height:calc(100vh - 76px);right:24px;bottom:20px;border:1px solid var(--ramecek-plovouci);border-top:3px solid var(--projekt-barva);border-radius:16px;box-shadow:var(--stin-plovouci);z-index:60}.chat-head{height:56px;min-height:56px;padding:0 8px 0 14px;border-bottom:1px solid var(--linka);background:white}.chat-head .actions{gap:1px;flex-wrap:nowrap}.chat-head button{width:28px;height:28px;min-height:28px;padding:4px}.chat-head button .ui-icon{width:16px;height:16px}.chat-head strong{font-size:14px;font-weight:600}.chat-tabs{padding:4px 8px;border-color:var(--linka);gap:4px}.chat-tabs button{padding:1px 5px;font-size:10px;min-height:22px}.chat-tabs .active{background:var(--plocha-mekka)}.chat-messages{padding:12px 14px 8px}.chat-message{background:transparent;border-radius:0;padding:0;margin:0 40px 14px 0;max-width:none}.chat-message.mine{background:transparent;margin:0 0 14px 40px}.chat-message>div{justify-content:flex-start;gap:6px;color:var(--text-2);padding-left:4px;margin-bottom:4px}.chat-message strong{font-size:12.5px;font-weight:600}.chat-message time{color:var(--text-3);font-size:11.5px}.chat-message p{display:table;background:var(--bublina);border-radius:18px;padding:9px 13px;font-size:14px;line-height:20px;margin:0;max-width:100%}.chat-message.mine>div{justify-content:flex-end}.chat-message.mine p{background:var(--inkoust);color:white;margin-left:auto}.chat-message>button{opacity:0;font-size:10px;margin-top:3px;padding:0 4px}.chat-message:hover>button,.chat-message:focus-within>button{opacity:1}.chat-message.mine>button{margin-left:auto;display:block}.chat-message .chat-linked-card{opacity:1;border:1px solid var(--linka)!important;border-radius:12px;background:white!important;font-size:12.5px}.chat-typing{font-size:12px;min-height:20px;color:var(--text-3)}[data-chat-send]{padding:4px 10px 10px;border:0;position:relative;display:flex;align-items:center;gap:5px}[data-chat-send] textarea{min-height:44px;max-height:120px;border-radius:22px;resize:none;padding:12px 45px 10px 14px;font-size:13.5px;margin:0;height:44px}[data-chat-send] .actions{position:absolute;right:16px;bottom:16px;margin:0}[data-chat-send] .actions small{display:none}[data-chat-send] .actions button{width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;font-size:0}[data-chat-send] .actions button .ui-icon{width:16px;height:16px}[data-chat-send] .form-error:not(:empty){position:absolute;bottom:100%;padding:5px;background:white}.chat-full{height:calc(100vh - 145px);min-height:400px;border:1px solid var(--linka);border-radius:12px;grid-template-columns:270px minmax(0,1fr)}.chat-conversations{background:white;border-color:var(--linka);padding:10px}.chat-conversations .side-caption{font-size:12px;letter-spacing:0}.chat-full .chat-message{max-width:70%}.chat-full .chat-message.mine{margin-left:auto}.chat-full .chat-message:not(.mine){margin-right:auto}.chat-full .chat-messages{padding:24px 28px}.chat-full [data-chat-send]{padding:12px 20px}.chat-full [data-chat-send] .actions{right:26px;bottom:18px}.v5-chat-minimized{height:52px!important;width:280px!important;border-radius:26px!important;flex-direction:row!important;align-items:center;padding:0 12px;gap:10px}.v5-chat-minimized>button:first-child{flex:1;text-align:left;justify-content:flex-start}.v5-chat-minimized .ui-icon{width:16px;height:16px}
@media(max-width:1350px){.v5-overview.with-side{grid-template-columns:minmax(0,1fr) 290px}.v5-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-project-header .project-tabs button{padding:0 9px}.v5-progress-summary{gap:8px}.v5-project-title p{max-width:400px}.v5-shell .topbar .breadcrumb{display:flex}.project-backdrop{display:block}.detail-drawer{top:52px}}@media(min-width:1800px){.v5-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v5-overview-main{padding-right:24px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.project-work,.detail-drawer .segment-page{animation:none!important}.v5-shell *{transition-duration:150ms!important}}
.v5-operations-alert{font-size:11px!important;color:var(--ceka);gap:4px;padding:4px!important}.v5-operations-alert .ui-icon{width:14px;height:14px;color:var(--ceka)}.v5-activity-row{display:flex;align-items:flex-start;gap:8px;width:100%;padding:8px 0;justify-content:flex-start;text-align:left;font-size:12.5px}.v5-activity-row>.avatar{width:22px;height:22px;font-size:8px}.v5-activity-row>span:last-child{min-width:0;flex:1}.v5-activity-row strong{font-weight:500}.v5-activity-row small{display:block;font-size:11.5px;margin-top:2px}.v5-shell .project-content:has(.detail-drawer) .project-backdrop .v5-project-header.collapsed{display:block;height:auto;padding:10px 20px}.v5-shell .project-content:has(.detail-drawer) .project-backdrop .v5-project-header.collapsed .project-tabs{margin-top:8px}.v5-project-card.project-dragging{transform:rotate(2.5deg);box-shadow:var(--stin-plovouci)}
.v5-detail-title{display:block;margin:0 0 14px!important}.v5-detail-title input{font-size:19px!important;font-weight:600;letter-spacing:-.015em;border:0;border-radius:0;padding:0!important;min-height:30px!important;background:white;color:var(--inkoust);width:100%}.v5-detail-properties label{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;margin:0 0 4px!important;gap:8px;font-size:12.5px!important;color:var(--text-3)}.v5-detail-properties input,.v5-detail-properties select{margin:0!important;border-color:transparent;background:white}.v5-detail-properties input:hover,.v5-detail-properties select:hover{border-color:var(--ramecek-pole)}.v5-detail form[data-form=segment] textarea{border-color:transparent;padding:6px 0;color:var(--text-2);resize:vertical}.v5-detail form[data-form=segment] textarea:focus{border-color:var(--ramecek-pole);padding-left:6px}.v5-detail form[data-form=segment] button[type=submit]{font-size:11px;min-height:24px;padding:2px 8px;background:var(--plocha-mekka);color:var(--text-2);border-color:var(--linka)}.v5-detail-status{display:flex;align-items:center;gap:8px;font-size:12px;margin:14px 0}.v5-detail-status strong{font-weight:500}.v5-detail-status>span:not(.v5-state-icon){margin-left:auto}.v5-detail-status select{font-size:12px;min-height:28px;height:28px;padding:0 5px}.v5-detail-status label{margin:0}.v5-detail .section h2{font-size:13px;margin-bottom:10px}.v5-detail .section h2 small{font-size:12px;font-weight:400;margin-left:5px}.v5-detail-tools{margin-top:20px}.v5-detail-tools>summary{font-weight:600;font-size:13px;cursor:pointer}.v5-detail .newtask{display:flex;gap:8px;align-items:end}.v5-detail .newtask label{flex:1;margin:0}.v5-detail .newtask .form-error:empty{display:none}.v5-detail .newtask button{min-height:30px;font-size:12px;padding:4px 8px}.drawer-top .actions{gap:0}.drawer-top .actions button{width:26px;height:28px;min-height:28px;padding:4px}.drawer-top .ui-icon{width:15px;height:15px}.detail-drawer.v5-detail-full{position:static;width:auto;max-width:840px;margin:0 auto;border:0;padding-top:10px}.v5-detail-comments .comment{padding:10px 0}.v5-detail-comments .comment>p{font-size:13px;line-height:19px}
.v5-shell .chat-room>span.project-logo{flex:0 0 20px!important;width:20px;min-width:20px;height:20px;overflow:hidden}.v5-shell.sidebar-collapsed #chat-sidebar .chat-room>span.project-logo{display:inline-flex!important;flex:0 0 24px!important;width:24px;min-width:24px;height:24px}.v5-shell .chat-room>.chat-name{flex:1;min-width:0}
/* Independent dock windows, V5 03–04c. The host never clips parked bubbles. */
#chat-dock.open{display:flex;flex-direction:row;align-items:flex-end;gap:12px;width:auto;height:auto;max-width:calc(100vw - 88px);max-height:none;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;pointer-events:none}
#chat-dock .chat-window,#chat-dock .chat-bubbles{pointer-events:auto}
.chat-window{display:flex;flex-direction:column;min-width:0;width:372px;height:560px;max-height:calc(100dvh - 76px);background:var(--bila);border:1px solid var(--ramecek-plovouci);border-top:3px solid var(--projekt-barva);border-radius:16px;box-shadow:var(--stin-plovouci);overflow:hidden;flex:none}
#chat-dock.two-windows .chat-window:not(.is-minimized){width:300px;height:420px}
.chat-window .chat-head{flex-shrink:0;justify-content:flex-start;gap:8px;padding:0 8px 0 12px;background:var(--bila)}
.chat-window .chat-head>.project-logo,.chat-window .chat-head>.v5-chat-person{width:32px;height:32px;flex:0 0 32px}
.chat-window .chat-head .avatar{width:32px;height:32px;font-size:11px}
.chat-window .chat-heading{flex:1;min-width:0}
.chat-window .chat-heading strong,.chat-restore strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.chat-window [data-chat-subtitle]{display:block;font-size:11.5px;line-height:16px;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-window .chat-head>.actions{flex:none}
.chat-window .chat-head>button[data-chat-close]{flex:0 0 28px;margin-left:-6px}
.chat-window .chat-message{margin-left:0;margin-right:28px;overflow-wrap:anywhere;min-width:0}
.chat-window .chat-message.mine{margin-left:28px;margin-right:0}
.chat-window .chat-message p{display:block;width:fit-content;max-width:100%;overflow-wrap:anywhere}
.chat-window .chat-message>div{min-width:0}.chat-window .chat-message strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-window .chat-message time{flex:none}
.chat-window .chat-message.grouped{margin-top:-9px}.chat-day{text-align:center;color:var(--text-3);font-size:11px;margin:8px 0 18px}
.chat-window [data-chat-send]{display:block;padding:4px 10px 10px;margin:0}
.chat-window [data-chat-send] textarea{width:100%;box-sizing:border-box;resize:none;overflow-y:auto}
.chat-window [data-chat-send] .actions{right:16px;bottom:16px}
.chat-window .form-error:not(:empty){left:10px;right:10px;bottom:100%;margin:0;white-space:normal;overflow-wrap:anywhere;border:1px solid var(--linka);border-radius:8px;z-index:1}
.chat-window.is-minimized{width:280px;height:52px;border:1px solid var(--ramecek-plovouci);border-radius:26px}
.chat-window.is-minimized .chat-head{height:50px;min-height:50px;padding:0 10px;border:0;gap:6px}
.chat-window .chat-restore{display:flex;align-items:center;gap:9px;flex:1;min-width:0;width:auto;height:50px;padding:0;text-align:left}
.chat-restore>span:not(.v5-chat-person):not(.project-logo){flex:1;min-width:0}.chat-restore>.v5-chat-person,.chat-restore>.project-logo{flex:0 0 34px;width:34px;height:34px}.chat-restore>b{font-size:10px}
.chat-bubbles{display:flex;flex-direction:column;gap:10px;max-height:calc(100dvh - 100px);overflow:auto;padding:4px 6px;flex:none}
.chat-bubble{display:flex;position:relative;width:48px;height:48px;min-height:48px;align-items:center;justify-content:center;padding:0;border:2px solid white;border-radius:50%;background:var(--bila);box-shadow:0 2px 8px #0002}
.chat-bubble .avatar,.chat-bubble .v5-chat-person,.chat-bubble .project-logo{width:44px;height:44px;flex:0 0 44px;border-radius:50%;font-size:13px}
.chat-bubble>b{position:absolute;top:-3px;right:-3px;min-width:17px;padding:1px 4px;background:var(--projekt-barva);color:var(--inkoust);border:1px solid white;border-radius:10px;font-size:10px}
.chat-new{width:36px;height:36px;min-height:36px;align-self:center}.chat-new .ui-icon{width:18px;height:18px}
#chat-main .chat-window.is-full{width:100%;height:100%;max-height:none;flex:1;border:0;border-radius:0;box-shadow:none}
.chat-filters{display:flex;gap:4px;margin:8px 0}.chat-filters button{flex:1;padding:5px;font-size:12px}.chat-filters [aria-pressed=true]{background:var(--plocha-mekka)}
[data-new-chat-list]{max-height:50vh;overflow:auto}[data-new-chat-list] [hidden]{display:none!important}
.chat-conversations [type=search]{width:100%;min-width:0}
/* Content must shrink/wrap in the component that owns it. */
.v5-shell .main,.v5-shell .content,.v5-shell .heading>div,.v5-card-head>span,.v5-overview-list article>button,.timeline-name,.timeline-name>div,.v5-project-title>div,.breadcrumb,.v5-overview-main{min-width:0}
.v5-shell h1,.v5-shell h2,.v5-shell h3,.v5-board-card>button,.v5-board-card>small,.taskline,.file a,.comment p,.v5-summary-people>span,.integration-note,.v5-project-overview p{overflow-wrap:anywhere}
.v5-card-head strong,.v5-card-head small,.v5-card-items button>span,.v5-brand strong,.identity-person strong,.v5-overview-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.v5-shell .breadcrumb>button{min-width:0;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb>.project-logo,.breadcrumb>.ui-icon{flex-shrink:0}
.v5-shell .topbar>.actions{flex:none}.v5-shell .heading{flex-wrap:wrap}
.timeline-head{flex-wrap:wrap;row-gap:12px}.timeline-name{flex:1}.timeline-actions{flex-wrap:wrap;max-width:100%}.timeline-toggle{width:28px;min-width:28px;padding:4px}.timeline-name h3{overflow-wrap:anywhere}
.v5-my-row>button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v5-project-badge{max-width:200px;overflow:hidden;text-overflow:ellipsis}.v5-files .file{height:auto;min-height:54px;padding:8px 0}.v5-files .file a{min-width:0}.v5-files .file>button{flex-shrink:0}
.v5-project-overview{padding:24px 28px}.v5-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 28px}.v5-summary-grid article{padding:18px;border:1px solid var(--linka);border-radius:12px}.v5-summary-grid small{display:block;color:var(--text-2);font-size:12px}.v5-summary-grid strong{display:block;font-size:22px;margin-top:6px;overflow-wrap:anywhere}.v5-summary-people{display:flex;flex-wrap:wrap;gap:16px}.v5-summary-people>span{display:flex;align-items:center;gap:8px}
.v5-shell [hidden]{display:none!important}.card-dialog{max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}.v5-shell button:focus-visible,.card-dialog button:focus-visible{outline:2px solid var(--inkoust);outline-offset:2px}
@media(max-width:1199px){.v5-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-project-switches{gap:2px}.v5-shell .topbar{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.v5-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#chat-dock.two-windows{bottom:0}#chat-dock.two-windows .chat-window:not(.is-minimized){border-bottom-left-radius:0;border-bottom-right-radius:0}#chat-dock.two-windows .is-minimized,#chat-dock.two-windows .chat-bubbles{margin-bottom:20px}
.chat-window .chat-messages{display:flex;flex-direction:column}.chat-window .chat-messages::before{content:"";margin-top:auto}.chat-window .chat-messages>*{flex-shrink:0}.chat-window .chat-empty{margin:auto 0}.chat-window .chat-message p{max-width:272px}#chat-dock.two-windows .chat-message p{max-width:240px}
/* Original timeline cards keep their width instead of overlapping their text. */
.v5-shell .lane{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:12px;scrollbar-width:thin}
.v5-shell .lane>.slot{flex:0 0 176px;width:176px}.v5-shell .lane>.slot.compact{flex:0 0 32px;width:32px}.v5-shell .tile:not(.strip){width:176px}.v5-shell .tile .title{overflow-wrap:anywhere}.v5-shell .tile:not(.strip)>span{min-width:0;overflow-wrap:anywhere}.v5-shell .tile .extras{gap:10px}
.v5-shell.sidebar-collapsed .sidebar-search{width:44px;padding:0;justify-content:center;gap:0}.v5-shell.sidebar-collapsed .sidebar-search kbd{display:none}.v5-shell.sidebar-collapsed .sidebar{overflow-x:hidden}
.v5-logo-panel .project-logo img{object-fit:contain}.project-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}.v5-logo-panel .project-logo-settings{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.v5-logo-panel .project-logo-settings>div{flex:1;min-width:140px}.v5-logo-panel p{margin:4px 0 0}.v5-logo-choices{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}.v5-logo-choices button{width:48px;height:48px;padding:5px;border:1px solid var(--linka);border-radius:11px}.v5-logo-choices button img{border-radius:8px}.v5-logo-choices [aria-pressed=true]{outline:2px solid var(--inkoust);outline-offset:1px}.v5-logo-panel .actions{flex-wrap:wrap}.v5-logo-panel .actions button{font-size:12px}
.v5-color-picker{border:0;padding:0;margin:0 0 18px;min-width:0}.v5-color-picker legend{font-size:13px;color:var(--text-2);margin-bottom:12px}.v5-color-swatches{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.v5-color-swatches label{position:relative;margin:0;cursor:pointer}.v5-color-swatches input{position:absolute;opacity:0;width:1px;height:1px}.v5-color-swatches label>span:not(.sr-only){width:34px;height:34px;border-radius:50%;display:flex;justify-content:center;align-items:center}.v5-color-swatches label>span .ui-icon{opacity:0;color:var(--bila);filter:drop-shadow(0 1px 1px #0008)}.v5-color-swatches input:checked+span{outline:2px solid var(--inkoust);outline-offset:2px}.v5-color-swatches input:checked+span .ui-icon{opacity:1}.v5-color-swatches input:focus-visible+span{outline:2px solid var(--inkoust);outline-offset:4px}.v5-color-swatches label.v5-custom-color>span:not(.sr-only){width:auto;padding:0 10px;gap:5px;border:1px solid var(--linka);border-radius:18px;background:white}.v5-custom-color .ui-icon{opacity:1!important;filter:none!important;color:var(--ikona)!important}.v5-hex-field{display:flex;align-items:center;gap:10px;margin:16px 0 0!important}.v5-hex-field[hidden]{display:none!important}.v5-hex-field [type=color]{width:44px;height:36px;padding:3px}.v5-hex-field [type=text]{width:100px;min-width:0}.v5-color-preview{display:flex;align-items:center;gap:12px;padding:16px;background:var(--projekt-pas);color:var(--projekt-pas-text);border-left:4px solid var(--projekt-barva);border-radius:10px;margin-bottom:16px}.v5-color-preview span:last-child{font-size:12px;margin-left:auto}.v5-logo-panel .project-logo{flex:0 0 52px;width:52px;height:52px}
.v5-project-switcher-dialog{position:fixed;inset:58px auto auto 10px;margin:0;width:320px;padding:6px;max-height:calc(100dvh - 74px);border-radius:14px}.v5-project-switcher-dialog::backdrop{background:transparent}.v5-project-switcher-dialog>.feedback-head{display:none}.v5-project-switcher-dialog>input{height:36px;background:var(--plocha-mekka);border:0;width:100%;padding:0 10px}.v5-switch-caption{display:block;font-size:11.5px;color:var(--text-3);padding:8px 10px 3px}.v5-switch-results{max-height:50vh;overflow:auto}.v5-switch-results>button{display:flex;align-items:center;gap:10px;height:42px;width:100%;padding:0 10px;border-radius:9px}.v5-switch-results .project-logo{width:26px;height:26px;flex:0 0 26px}.v5-switch-results strong{font-size:13.5px;flex:1;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v5-switch-results .selected{background:var(--projekt-svetla)}.v5-switch-progress{height:4px;width:44px;background:var(--plocha-mekka);border-radius:3px;flex:0 0 44px;overflow:hidden}.v5-switch-progress i{display:block;height:100%;background:var(--projekt-barva)}.v5-switch-results small{color:var(--text-3);font-size:11px;width:28px;flex:none;text-align:right}.v5-project-switcher-dialog kbd{font-size:11px;border:1px solid var(--linka);border-radius:5px;padding:1px 3px;color:var(--text-3);min-width:24px}.v5-project-switcher-dialog footer{border-top:1px solid var(--linka);padding-top:4px}.v5-project-switcher-dialog footer button{display:flex;justify-content:flex-start;align-items:center;text-align:left;gap:10px;width:100%;height:38px;padding:0 10px}.v5-project-switcher-dialog footer kbd{margin-left:auto}
.v5-new-project-dialog{width:640px;padding:20px 22px 0}.v5-new-project-dialog .feedback-head{margin-bottom:20px}.v5-new-project-dialog form>fieldset,.v5-project-templates{border:0;margin:0;padding:0;min-width:0}.v5-new-brand{display:flex;align-items:flex-start;gap:24px;margin:2px 0 22px}.v5-new-brand .v5-color-picker{flex:1;margin:0}.v5-new-brand .v5-color-swatches{gap:8px}.v5-new-brand .v5-color-swatches label>span:not(.sr-only){width:30px;height:30px}.v5-new-brand .v5-color-swatches label.v5-custom-color>span:not(.sr-only){width:auto}.v5-project-upload{position:relative;display:flex;align-items:center;gap:10px;width:150px;min-width:0;padding:12px 0;margin:13px 0 0!important;cursor:pointer}.v5-project-upload>.ui-icon{width:40px;height:40px;padding:10px;border:1px dashed var(--ramecek-pole);border-radius:9px;flex:none}.v5-project-upload>span{min-width:0}.v5-project-upload small{display:block;font-size:11px;color:var(--text-3);overflow-wrap:anywhere;max-width:120px}.v5-project-upload input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.v5-project-upload:focus-within{outline:2px solid var(--inkoust);outline-offset:2px;border-radius:9px}.v5-project-templates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px!important}.v5-project-templates legend{font-size:13px;color:var(--text-2);margin-bottom:10px}.v5-project-templates label{position:relative;cursor:pointer;margin:0}.v5-project-templates input{position:absolute;width:1px;height:1px;opacity:0}.v5-project-templates label>span{display:block;min-height:70px;border:1px solid var(--ramecek-pole);border-radius:10px;padding:12px}.v5-project-templates input:checked+span{border-color:var(--inkoust);outline:1px solid var(--inkoust)}.v5-project-templates input:focus-visible+span{outline:2px solid var(--inkoust);outline-offset:2px}.v5-project-templates strong{display:block;font-size:13.5px;margin-bottom:3px}.v5-project-templates small{display:block;color:var(--text-2);font-size:12px}.v5-new-people{margin-bottom:20px;max-height:220px;overflow:auto}.v5-new-people h3{font-size:13px;color:var(--text-2);font-weight:500;margin-bottom:8px}.v5-new-people label{display:flex;align-items:center;gap:10px;min-height:40px;margin:0}.v5-new-people label>span:not(.avatar){flex:1;min-width:0;overflow-wrap:anywhere}.v5-new-people label select{width:130px;min-height:28px;height:28px;border-radius:14px;border:0;background:var(--plocha-mekka);font-size:12px;padding:3px 8px}.v5-role-chip{max-width:130px;text-align:center;background:var(--plocha-mekka);border-radius:14px;padding:5px 10px;font-size:12px}.v5-dialog-footer{display:flex;align-items:center;gap:10px;margin:20px -22px 0;padding:12px 22px;border-top:1px solid var(--linka);background:var(--plocha-seda);border-radius:0 0 16px 16px}.v5-dialog-footer small{margin-right:auto;color:var(--text-3);font-size:12px}.v5-dialog-footer button{flex:none}.v5-new-project-dialog .form-error{overflow-wrap:anywhere}
/* V5 conversation details: real reactions, read receipts and shared context. */
.chat-window .chat-message{position:relative;padding-right:0}.chat-message .chat-message-meta{display:flex;align-items:center;gap:3px;margin:4px 0;color:var(--text-3);font-size:11px}.chat-message.mine .chat-message-meta{justify-content:flex-end}.chat-message-meta .ui-icon{width:12px;height:12px}.chat-window .chat-message .chat-deleted{background:var(--plocha-mekka);color:var(--text-3);font-style:italic}.chat-message>button.chat-message-menu{position:absolute;top:20px;right:-24px;margin:0;width:24px;height:24px;min-height:24px;padding:3px;display:flex;align-items:center;justify-content:center;border:1px solid var(--linka);background:white}.chat-message.mine>button.chat-message-menu{right:auto;left:-24px}.chat-message-menu .ui-icon{width:16px;height:16px}.chat-message>button.chat-restore-message{opacity:1;min-height:28px;font-size:12px}.chat-message>div.chat-reactions{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:4px;padding:0;margin:0 0 8px;transform:translateY(-3px)}.chat-message.mine>div.chat-reactions{justify-content:flex-end}.chat-reactions:empty{display:none!important}.chat-reactions button{border:1px solid var(--linka);border-radius:11px;height:22px;min-height:22px;padding:0 7px;background:white;font-size:12px;line-height:20px}.chat-reactions [aria-pressed=true]{border-color:var(--projekt-tmava);background:var(--projekt-svetla)}.chat-action-dialog{width:360px}.chat-action-preview{max-height:150px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:var(--plocha-mekka);border-radius:12px;font-size:14px}.chat-reaction-picker{display:flex;gap:5px;justify-content:space-between;margin:16px 0}.chat-reaction-picker button{width:38px;height:38px;padding:3px;font-size:22px}.chat-reaction-picker [aria-pressed=true]{background:var(--projekt-svetla);outline:1px solid var(--projekt-tmava)}.chat-action-list{display:flex;flex-direction:column;gap:4px}.chat-action-list button{justify-content:flex-start;gap:8px}.chat-action-list .ui-icon{width:16px;height:16px}.chat-full{grid-template-columns:250px minmax(280px,1fr)280px}.chat-full.profile-hidden{grid-template-columns:250px minmax(280px,1fr)}.chat-full .chat-message{max-width:85%;margin-right:24px}.chat-full .chat-message.mine{margin-left:auto;margin-right:0}.chat-full .chat-message p{max-width:100%}.chat-full .chat-head [data-chat-minimize]{width:auto;min-width:28px}.chat-full #chat-profile{border-left:1px solid var(--linka);padding:16px 18px;overflow-y:auto;min-width:0;background:white}.chat-hide-profile{display:flex;gap:5px;align-items:center;margin-left:auto;font-size:12px;min-height:28px}.chat-hide-profile .ui-icon{width:14px;height:14px}.chat-profile-identity{text-align:center;margin:16px 0}.chat-profile-identity>.v5-chat-person,.chat-profile-identity>.project-logo,.chat-profile-identity .avatar{width:64px;height:64px;font-size:22px;margin:0 auto}.chat-profile-identity .presence-dot{width:15px;height:15px;border:3px solid white}.chat-profile-identity h2{font-size:16px;margin:12px 0 5px;overflow-wrap:anywhere}.chat-profile-identity p,.chat-profile-identity small{font-size:12px;color:var(--text-3);margin:5px 0}.chat-profile-projects{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-bottom:20px}.chat-profile-projects button{display:flex;gap:5px;align-items:center;font-size:11px;min-height:26px;padding:3px 5px;max-width:100%;overflow-wrap:anywhere}.chat-profile-projects .project-logo{width:16px;height:16px;flex:0 0 16px}#chat-profile details{border-top:1px solid var(--linka);padding:14px 0}#chat-profile summary{font-size:12.5px;font-weight:600;cursor:pointer;margin-bottom:8px}#chat-profile summary small{font-weight:400;color:var(--text-3);margin-left:5px}#chat-profile details>p{font-size:12px;line-height:1.5}#chat-profile .chat-profile-card{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:8px;width:100%;min-height:30px;padding:5px 0;font-size:12.5px}#chat-profile .chat-profile-card>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chat-profile-card .v5-state-icon{flex:none}.chat-profile-file{display:flex;gap:9px;color:var(--inkoust);text-decoration:none;margin:10px 0;font-size:12px}.chat-profile-file>.ui-icon{width:28px;height:32px;flex:none;padding:6px;background:var(--plocha-mekka);border-radius:7px}.chat-profile-file>span{min-width:0;overflow-wrap:anywhere}.chat-profile-file small{display:block;font-size:11px;color:var(--text-3);margin-top:3px}.chat-profile-pin{display:block!important;width:100%;text-align:left;white-space:normal;padding:8px!important}.chat-profile-pin strong{display:block;font-size:11px;color:var(--text-3);margin-bottom:4px}.chat-profile-pin span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:18px}.chat-conversations .chat-room{position:relative;align-items:flex-start;padding:9px 6px;gap:8px}.chat-conversations .chat-room .chat-name{text-align:left;line-height:18px;padding-right:28px;font-size:12.5px;font-weight:500}.chat-conversations .chat-preview{display:block;color:var(--text-3);background:transparent;padding:0;border-radius:0;font-size:11.5px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-conversations .chat-room>time{position:absolute;right:6px;top:9px;color:var(--text-3);font-size:10px}.chat-conversations .chat-room>small{position:absolute;right:6px;bottom:8px;font-size:10px}.chat-conversations .chat-filters{gap:0}.chat-conversations .chat-filters button{padding:5px 3px;font-size:11px}.chat-person-popover{position:fixed;z-index:85;width:290px;padding:14px;border:1px solid var(--ramecek-plovouci);border-radius:14px;background:white;box-shadow:var(--stin-plovouci);color:var(--inkoust)}.chat-person-popover header{display:flex;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--linka)}.chat-person-popover header>.v5-chat-person,.chat-person-popover header .avatar{width:44px;height:44px;font-size:16px}.chat-person-popover header>div{min-width:0}.chat-person-popover header strong{display:block;font-size:15px;overflow-wrap:anywhere}.chat-person-popover header small{display:block;font-size:12px;color:var(--text-2);margin-top:3px}.chat-person-work{margin:12px 0}.chat-person-work>small{font-size:11.5px;color:var(--text-3)}.chat-person-work>button{display:flex;justify-content:flex-start;align-items:center;text-align:left;gap:7px;padding:5px 0;font-size:13.5px;max-width:100%}.chat-person-work>button>span:last-child{min-width:0;overflow-wrap:anywhere}.chat-person-project{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--text-3);padding-left:22px}.chat-person-project .project-logo{width:13px;height:13px;flex:none}.chat-person-work p{font-size:12px;color:var(--text-3);margin:6px 0}.chat-person-popover footer{display:flex;gap:8px}.chat-person-popover footer button{height:32px;min-height:32px;padding:0 10px;font-size:12.5px;display:flex;gap:6px;align-items:center}.chat-person-popover footer .primary{background:var(--inkoust);color:white}.chat-person-popover footer .ui-icon{width:14px;height:14px}
@media(max-width:1199px){.chat-full{grid-template-columns:220px minmax(260px,1fr)240px}.chat-full.profile-hidden{grid-template-columns:220px minmax(260px,1fr)}.chat-full .chat-messages{padding:18px}}
@media(max-width:900px){.chat-full{position:relative;grid-template-columns:200px minmax(0,1fr)}.chat-full.profile-hidden{grid-template-columns:200px minmax(0,1fr)}.chat-full #chat-profile{position:absolute;inset:0 0 0 auto;width:260px;z-index:3;box-shadow:var(--stin-plovouci)}.chat-full .chat-head{padding-left:8px;gap:5px}.chat-full .chat-head .chat-heading{min-width:0}}
@media(max-width:650px){.chat-full,.chat-full.profile-hidden{grid-template-columns:minmax(0,1fr)}.chat-conversations{max-height:200px}.chat-full #chat-profile{top:200px}.chat-reaction-picker{flex-wrap:wrap}.chat-person-popover{max-width:calc(100vw - 16px)}}
.v5-chat-shell .topbar{display:none}.v5-chat-shell .content{padding:0;height:100dvh;overflow:hidden}.v5-chat-shell .chat-full{height:100dvh;min-height:0;border:0;border-radius:0;grid-template-columns:320px minmax(280px,1fr)280px}.v5-chat-shell .chat-full.profile-hidden{grid-template-columns:320px minmax(280px,1fr)}.chat-list-heading{display:flex;gap:6px;align-items:center;margin:4px 0 14px}.chat-list-heading h1{font-size:22px;flex:1}.chat-list-heading button{width:28px;height:28px;padding:5px;min-height:28px}.chat-list-heading .ui-icon{width:16px;height:16px}.v5-chat-shell .chat-conversations{padding:20px 14px}.chat-conversations .chat-room{height:auto;min-height:56px;align-items:center}.chat-conversations .chat-room .chat-name{font-weight:500}.chat-conversations .chat-room .chat-preview{font-weight:400;line-height:18px}.v5-shell .chat-conversations .chat-room>span.project-logo{width:32px;height:32px;min-width:32px;flex:0 0 32px!important}.chat-conversations .chat-room .v5-chat-person,.chat-conversations .chat-room .avatar{width:32px;height:32px;flex:none}.chat-conversations .chat-room>small{bottom:7px}.chat-full .chat-head{height:64px;min-height:64px;padding:0 14px 0 22px}.chat-full .chat-head [data-chat-minimize]{display:flex;gap:6px;width:auto;font-size:12px;padding:0 8px;border:1px solid var(--linka)}.chat-conversations .chat-filters{border-bottom:1px solid var(--linka);margin:10px 0}.chat-conversations .chat-filters button{background:transparent;border:0;border-radius:0;font-size:12px;min-height:34px}.chat-conversations .chat-filters [aria-pressed=true]{border-bottom:2px solid var(--inkoust);font-weight:600}.chat-conversations [type=search]{height:34px;min-height:34px;background:var(--plocha-mekka);border:0}
@media(max-width:1199px){.v5-chat-shell .chat-full{grid-template-columns:240px minmax(260px,1fr)240px}.v5-chat-shell .chat-full.profile-hidden{grid-template-columns:240px minmax(260px,1fr)}}
@media(max-width:900px){.v5-chat-shell .chat-full,.v5-chat-shell .chat-full.profile-hidden{grid-template-columns:220px minmax(0,1fr)}}
.chat-message>div:first-child>.avatar{width:26px;height:26px;flex:0 0 26px;font-size:10px}.chat-message>div:first-child{align-items:center}
/* V5 chat composer, file cards and mentions share the floating/full chat surface. */
.chat-window [data-chat-send]{display:block;position:relative;padding:6px 10px 8px;max-height:55%;overflow:visible}
.chat-full .chat-window [data-chat-send]{padding:10px 20px}
.chat-compose-row{display:flex;align-items:flex-end;gap:6px;position:relative}
.chat-window .chat-compose-row textarea{min-width:0;flex:1;padding-right:42px}
.chat-window .chat-compose-row .actions{right:6px;bottom:6px;margin:0}
.chat-compose-add{flex:none;width:28px;height:44px;min-height:44px;padding:5px}
.chat-compose-add .ui-icon{width:18px;height:18px}
.chat-compose-tools{display:flex;align-items:center;gap:3px;padding:3px 2px 0 34px}
.chat-compose-tools button{min-height:24px;height:24px;width:25px;padding:3px;font-size:19px}
.chat-compose-tools .ui-icon{height:16px;width:16px}
.chat-compose-tools small{margin-left:auto;color:var(--text-3);font-size:9px;line-height:12px;text-align:right;max-width:160px}
.chat-draft-files{display:flex;flex-direction:column;gap:4px;max-height:100px;overflow:auto;margin:0 0 5px 34px}
.chat-draft-files:empty{display:none}
.chat-draft-files>div{display:flex;align-items:center;gap:8px;background:var(--plocha-mekka);border:1px solid var(--linka);border-radius:9px;padding:6px 8px}
.chat-draft-files span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:12px}
.chat-draft-files small{display:block;font-size:10px;color:var(--text-3)}
.chat-draft-files button{flex:none;min-height:24px;width:24px;padding:3px}
.chat-mention-options,.chat-emoji-options{position:absolute;z-index:4;bottom:100%;left:44px;right:10px;padding:6px;border:1px solid var(--ramecek-plovouci);border-radius:12px;background:white;box-shadow:var(--stin-plovouci);max-height:200px;overflow:auto}
.chat-mention-options button{display:block;width:100%;text-align:left;padding:8px;font-size:12px;white-space:normal;overflow-wrap:anywhere;border:0;background:white}
.chat-mention-options button[aria-selected=true]{background:var(--plocha-mekka);border-radius:6px}
.chat-mention-options>span{display:block;padding:8px;font-size:12px;color:var(--text-3)}
.chat-emoji-options:not([hidden]){display:flex;flex-wrap:wrap;gap:3px}
.chat-emoji-options button{font-size:22px;min-height:32px;padding:3px}
.chat-window [data-chat-send] .form-error:not(:empty){position:static;margin:6px 0 0;font-size:11px;padding:3px 6px;overflow-wrap:anywhere}
.chat-message .chat-mention{background:var(--projekt-svetla,#e5ebde);color:var(--inkoust);border-radius:4px;padding:0 2px;font-weight:500}
.chat-message.mine .chat-mention{background:#ffffff30;color:white}
.chat-message .chat-file{display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:260px;min-width:0;width:100%;margin-top:6px;padding:10px;border:1px solid var(--linka);border-radius:12px;background:white;color:var(--inkoust);text-decoration:none}
.chat-message.mine .chat-file{margin-left:auto}
.chat-file img{width:100%;max-width:240px;max-height:240px;object-fit:contain;border-radius:7px;flex:1 0 100%;background:var(--plocha-mekka)}
.chat-file>span{flex:1;min-width:0;overflow-wrap:anywhere}
.chat-file strong{font-size:12px;line-height:16px;font-weight:500;display:block}
.chat-file small{font-size:10px;color:var(--text-3);display:block;margin-top:3px}
.chat-file>.ui-icon{width:20px;height:20px;flex:none}
.chat-message p:empty{display:none}
body:has(.v5-chat-shell){min-width:0}
@media(max-width:900px){.v5-chat-shell .chat-full{grid-template-columns:200px minmax(0,1fr)}.v5-chat-shell .chat-full #chat-profile{position:absolute;right:0;top:56px;bottom:0;width:260px;z-index:5;box-shadow:var(--stin-plovouci)}.v5-chat-shell .chat-full.profile-hidden{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:600px){.v5-chat-shell .chat-full,.v5-chat-shell .chat-full.profile-hidden{grid-template-columns:140px minmax(0,1fr)}.v5-chat-shell .chat-conversations{max-height:none}.v5-chat-shell .chat-full .chat-messages{padding:12px}.chat-compose-tools small{display:none}}
/* Status text stays readable in light yellow/lime project themes. */
#toast{color:#FFFFFF}
.v5-shell .timeline-add,.v5-shell .timeline-mark{color:var(--projekt-tmava)}
