.fy-wrap{
    background:#f8fafc;
    border-radius:10px;
    padding:24px 28px 28px;
    box-sizing:border-box;
    width:100%;
    font-family:Arial, Helvetica, sans-serif;
    color:#24324a;
}

.fy-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:34px;
    gap:20px;
}

.fy-year-nav{
    display:flex;
    align-items:center;
    gap:16px;
}

.fy-year-btn{
    border:0;
    background:transparent;
    color:#8e98ab;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    padding:0;
    width:26px;
    height:26px;
}

.fy-year-btn:hover{
    color:#4d5b74;
}

.fy-year-label{
    font-size:34px;
    font-weight:700;
    letter-spacing:0.2px;
    color:#2a3852;
}

.fy-action-btn{
    border:2px solid #00a7e3;
    background: rgba(195, 237, 250, 0.72);
    color:#00a7e3;
    border-radius:999px;
    padding:12px 20px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:10px;
}

.fy-action-btn:hover{
    background: rgb(180, 222, 235);;
}

.fy-action-plus{
    font-size:20px;
    line-height:1;
}

.fy-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:34px 34px;
}

.fy-month{
    min-width:0;
}

.fy-month-title{
    font-size:18px;
    font-weight:500;
    color:#33425d;
    margin:0 0 14px;
}

.fy-weekdays,
.fy-days{
    display:grid;
    grid-template-columns:repeat(7, minmax(0, 1fr));
    gap:6px 6px;
}

.fy-weekdays{
    margin-bottom:8px;
}

.fy-weekday{
    text-align:center;
    font-size:12px;
    color:#9aa4b7;
    font-weight:600;
    height:18px;
    line-height:18px;
}

.fy-day{
    position:relative;
    height:30px;
    border:0;
    background:transparent;
    cursor:pointer;
    padding:0;
    border-radius:999px;
    color:#2a3852;
    font-size:14px;
    font-weight:500;
}

.fy-day:hover .fy-day-num{
    background:rgba(31, 130, 255, 0.08);
}

.fy-day.is-outside{
    cursor:default;
}

.fy-day.is-outside .fy-day-num{
    visibility:hidden;
}

.fy-day.is-weekend .fy-day-num{
    color:#b5bcc9;
}

.fy-day.is-today .fy-day-num{
    box-shadow: inset 0 0 0 2px #16a6bd;
}

.fy-day-num{
    position:relative;
    z-index:3;
    width:30px;
    height:30px;
    margin:0 auto;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
}

.fy-bar{
    position:absolute;
    top:3px;
    bottom:3px;
    z-index:1;
    border-radius:999px;
}

.fy-bar.teal{
    background:#11a8bb;
    color:#fff;
}

.fy-bar.pink{
    background:#ff416b;
    color:#fff;
}

.fy-bar.green{
    background:#059a3f;
    color:#fff;
}

.fy-bar.light{
    background:#74ccd7;
    color:#fff;
}

.fy-day.has-event .fy-day-num{
    color:#fff;
    font-weight:700;
}

.fy-day.single .fy-bar{
    left:4px;
    right:4px;
}

.fy-day.start .fy-bar{
    left:4px;
    right:-3px;
    border-top-right-radius:10px;
    border-bottom-right-radius:10px;
}

.fy-day.middle .fy-bar{
    left:-3px;
    right:-3px;
    border-radius:0;
}

.fy-day.end .fy-bar{
    left:-3px;
    right:4px;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
}

.fy-day.start .fy-day-num,
.fy-day.middle .fy-day-num,
.fy-day.end .fy-day-num,
.fy-day.single .fy-day-num{
    background:transparent;
}

.fy-day.has-outline .fy-day-num{
    //background:#f3f2f5;
    //box-shadow: inset 0 0 0 2px #11a8bb;
    color:#11a8bb;
}

@media (max-width: 1200px){
    .fy-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px){
    .fy-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .fy-toolbar{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width: 640px){
    .fy-wrap{
        padding:18px;
    }

    .fy-grid{
        grid-template-columns:1fr;
        gap:26px;
    }

    .fy-year-label{
        font-size:28px;
    }
}

.fy-day.is-outside-range{
    opacity:.28;
    cursor:default;
}

.fy-day.is-outside-range .fy-day-num{
    color:#b7bfcc;
}

.fy-day.is-outside-range:hover .fy-day-num{
    background:transparent;
}

.fy-employee-head{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.fy-employee-avatar-wrap{
    width:52px;
    height:52px;
    flex:0 0 52px;
}

.fy-employee-avatar{
    width:52px;
    height:52px;
    border-radius:999px;
    object-fit:cover;
    display:block;
    background:#d9dde5;
}

.fy-employee-meta{
    min-width:0;
}

.fy-employee-name{
    font-size:32px;
    line-height:1.05;
    font-weight:700;
    color:#2a3852;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.fy-employee-subline{
    margin-top:4px;
    font-size:13px;
    color:#97a2b5;
    font-weight:500;
}


.fy-back-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:500;
    color:#8e98ab;
    cursor:pointer;
    margin-bottom:18px;
    transition: all 0.15s ease;
}

.fy-back-link:hover{
    color:#2a3852;
    transform: translateX(-2px);
}

.fy-back-arrow{
    font-size:18px;
    line-height:1;
}

.fy-year-section{
    width:100%;
    margin-bottom:34px;
}

.fy-year-section:last-child{
    margin-bottom:0;
}

.fy-year-section-title{
    font-size:20px;
    font-weight:700;
    color:#2a3852;
    margin:0 0 18px;
}

.fy-wrap{
    display: flex;
    flex-direction: column;
    height: 100%;        /* wichtig */
}

.fy-toolbar{
    flex: 0 0 auto;      /* bleibt fix */
    z-index: 10;
}

.fy-grid-scroll{
    flex: 1 1 auto;      /* nimmt restlichen Platz */
    overflow-y: auto;
    padding-right: 8px;  /* optional für scrollbar spacing */
}

/* TEAM CALENDAR */

/* TEAM CALENDAR */

.tc-page {
    height: 100%;
    background: #f5f7fb;
}

.tc-topbar {
    margin-bottom: 12px;
}

.tc-period-block {
    position: relative;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.tc-period-label {
    font-size: 12px;
    font-weight: 600;
    color: #7a8699;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tc-period-value {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #00a7e3;
    cursor: pointer;
    line-height: 1.2;
}

.tc-period-value:hover {
    color: #00a7e3;
}

.tc-period-overlay-wrap {
    position: relative;
}

.tc-period-overlay {
    margin-top: 8px;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
    background: #ffffff;
    overflow: hidden;
    z-index: 1001;
}

.tc-period-overlay-inner {
    padding: 16px;
}

.tc-period-overlay-title {
    font-size: 15px;
    font-weight: 700;
    color: #344054;
    margin-bottom: 12px;
}

.tc-period-datepicker {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0 10px 0;
    flex-wrap: wrap;
}

.tc-date-input {
    width: 120px !important;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    height: 36px;
    padding: 0 10px;
    background: #fff;
}

.tc-date-separator {
    color: #667085;
    font-weight: 600;
}

.tc-period-error {
    display: block;
    min-height: 16px;
    font-size: 12px;
    color: #b42318;
    margin-bottom: 10px;
}

.tc-quickrange-list {
    border-bottom: 1px solid #eef2f7;
    margin: 10px -16px 12px -16px;
    padding: 8px 0;
}

.tc-quickrange-item {
    display: block;
    padding: 9px 16px;
    color: #344054;
    text-decoration: none !important;
}

.tc-quickrange-item:hover {
    background: #f8fafc;
}

.tc-period-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.tc-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 0 !important;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
    overflow: visible;
}

.tc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f7;
    background: #fbfcfe;
}

.tc-toolbar-left,
.tc-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-toolbar-group {
    position: relative;
}

.tc-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    background: #ffffff;
    color: #667085 !important;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.tc-toolbar-btn:hover,
.tc-toolbar-btn:focus {
    background: #f8fafc;
    border-color: #c8d4e3;
    color: #344054 !important;
}

.tc-toolbar-btn .fa {
    font-size: 16px;
}

.tc-toolbar-info {
    font-size: 13px;
    font-weight: 600;
    color: #667085;
}

.tc-dropdown-menu {
    border-radius: 0;
    border: 1px solid #dfe6ef;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    padding: 6px 6px;
    margin-top: 8px;
    background-color: #f7f7f7;
    z-index: 99999 !important;
}

.tc-dropdown-menu .dropdown-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #98a2b3;
    padding: 8px 16px 6px;
}

.tc-dropdown-menu > li > a {
    padding: 9px 16px;
    color: #344054;
}

.tc-dropdown-menu > li > a:hover {
    background: #f8fafc;
}

.tc-filter-dropdown {
    padding: 10px 10px 12px 10px;
    min-width: 360px !important;
}

.tc-filter-box {
    padding: 12px 14px;
}

.tc-filter-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #667085;
}

.tc-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

#teamcalendar-filter-reset {
    min-width: 120px;
}

.tc-gantt-shell {
    background: #ffffff;
    overflow: visible;
}

#ganttChart {
    position: relative;
    min-height: 300px;
}

#ganttChart .ganttview {
    font-family: inherit;
    color: #344054;
}

#ganttChart .ganttview-vtheader,
#ganttChart .ganttview-slide-container {
    background: #ffffff;
}

#ganttChart .ganttview-vtheader-item-name {
    background: #ffffff;
    border-bottom: 1px solid #edf2f7 !important;
}

#ganttChart .ganttview-hzheader {
    background: #ffffff;
    border-bottom: 1px solid #eaf0f6;
}

#ganttChart .ganttview-hzheader-month {
    background: #f8fafc;
    color: #24425c;
    font-weight: 700;
    border-right: 1px solid #eef2f7;
    border-bottom: 1px solid #eaf0f6;
    padding-left: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#ganttChart .ganttview-hzheader-days {
    background: #ffffff;
}

#ganttChart .ganttview-hzheader-day {
    color: #667085;
    font-size: 12px;
    border-right: 1px solid #f2f4f7;
    border-bottom: 1px solid #eef2f7;
    background: #ffffff;
}

#ganttChart .ganttview-grid-row {
    border-bottom: 1px solid #f2f4f7;
}

#ganttChart .ganttview-grid-row-cell {
    border-right: 1px solid #f4f6f8;
    background: #ffffff;
}

#ganttChart .ganttview-grid-row-cell.ganttview-weekend {
    background: #f8fafc;
}

#ganttChart .ganttview-block,
#ganttChart .ganttview-block-left,
#ganttChart .ganttview-block-middle,
#ganttChart .ganttview-block-right {
    border: 0;
}

#ganttChart .ganttview-block {
    border-radius: 8px !important;
    box-shadow: none;
}

#ganttChart .ganttview-block-left {
    border-radius: 8px 0 0 8px !important;
    box-shadow: none;
}

#ganttChart .ganttview-block-middle {
    border-radius: 0 !important;
    box-shadow: none;
}

#ganttChart .ganttview-block-right {
    border-radius: 0 8px 8px 0 !important;
    box-shadow: none;
}

#ganttChart .ganttview-block-text {
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 4px;
}

#ganttChart .ganttview-block-text-container {
    height: 100%;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    box-sizing: border-box;
}

#ganttChart .ganttview-block-text-container > div {
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.15 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#ganttChart .ganttview-block .ganttview-block-text-container {
    text-align: center;
}

#ganttChart .ganttview-block-container {
    overflow: visible;
}

#ganttChart .ganttview-vtheader-item .portrait img {
    border-radius: 50%;
    object-fit: cover;
}

#ganttChart .ganttview-vtheader-item .labels .text-grey {
    color: #667085 !important;
}

#ganttChart .ganttview-vtheader-item > div {
    background: #f8fafc;
    transition: background 0.15s ease;
}

#ganttChart .ganttview-vtheader-item > div:hover {
    background: #f8fafc;
}

#ganttChart ::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

#ganttChart ::-webkit-scrollbar-thumb {
    background: #cfd8e3;
    border-radius: 999px;
}

#ganttChart ::-webkit-scrollbar-track {
    background: #f3f5f8;
}

#teamcalendar-dropdown,
#teamcalendar-filter {
    position: absolute;
    top: 25px;
    z-index: 998;
}

#teamcalendar-dropdown {
    left: 22px;
}

#teamcalendar-filter {
    left: 72px;
}

#teamcalendar-filter .dropdown-menu {
    z-index: 2100;
}

.tc-corner-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #d0d7e2;
    color: #6f7b8a !important;
    text-decoration: none !important;
    box-shadow: none;
    border-radius: 10px;
}

.tc-corner-btn:hover,
.tc-corner-btn:focus {
    border-color: #00a7e3;
    color: #00a7e3 !important;
    background: #f7fcfe;
}

.tc-corner-btn .fa {
    font-size: 17px;
}

.tc-corner-btn.is-active {
    border-color: #00a7e3;
    color: #00a7e3 !important;
    background: #eaf8fd;
}

.tc-filter-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #00a7e3;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #ffffff;
}

.select2-container--default .select2-selection--multiple {
    min-height: 42px;
    border: 1px solid #d0d7e2;
    border-radius: 0;
    padding: 4px 6px;
    background: #fff;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #00a7e3;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #eaf8fd;
    border: 1px solid #b7e7f7;
    color: #24425c;
    border-radius: 0;
    padding: 2px 6px;
    margin-top: 5px;
    margin-right: 5px;
}

.select2-dropdown {
    border-radius: 0 !important;
    border: 1px solid #dfe6ef !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #00a7e3 !important;
}

.select2-search__field {
    width: 100% !important;
}

.tc-filter-mode-switch {
    display: inline-flex;
    border: 1px solid #d0d7e2;
    background: #ffffff;
    overflow: hidden;
}

.tc-filter-mode-btn {
    min-width: 72px;
    height: 34px;
    border: 0;
    background: #ffffff;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    padding: 0 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tc-filter-mode-btn + .tc-filter-mode-btn {
    border-left: 1px solid #d0d7e2;
}

.tc-filter-mode-btn:hover {
    background: #f7fcfe;
    color: #00a7e3;
}

.tc-filter-mode-btn.is-active {
    background: #00a7e3;
    color: #ffffff;
}

.tc-card.tc-nameview-narrow #teamcalendar-dropdown,
.tc-card.tc-nameview-narrow #teamcalendar-filter {
    left: 8px;
}

.tc-card.tc-nameview-narrow #teamcalendar-dropdown {
    top: 4px;
}

.tc-card.tc-nameview-narrow #teamcalendar-filter {
    top: 50px;
}

@media (max-width: 767px) {
    .tc-toolbar {
        padding: 10px 12px;
    }

    .tc-toolbar-info {
        display: none;
    }

    .tc-period-value {
        font-size: 17px;
    }

    .tc-date-input {
        width: 100% !important;
    }

    .tc-period-datepicker {
        align-items: stretch;
    }
}















.tt-mobile{
    padding:12px;
    background:#f5f6f8;
}

.tt-mobile-summary{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
    margin-bottom:12px;
}

.tt-kpi{
    background:#fff;
    border:1px solid #e3e6eb;
    border-radius:12px;
    padding:12px 14px;
}

.tt-kpi-label{
    font-size:12px;
    color:#7d889a;
    margin-bottom:4px;
}

.tt-kpi-value{
    font-size:22px;
    line-height:1.1;
    font-weight:700;
    color:#2a3852;
}

.tt-kpi-negative .tt-kpi-value{
    color:#c03b2b;
}

.tt-mobile-filters{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:6px;
    margin-bottom:12px;
}

.tt-chip{
    border:1px solid #d8dde6;
    background:#fff;
    color:#5e6b80;
    border-radius:999px;
    padding:8px 12px;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.tt-chip.is-active{
    background:#0ea5e9;
    border-color:#0ea5e9;
    color:#fff;
}

.tt-mobile-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.tt-day-card{
    background:#fff;
    border:1px solid #e3e6eb;
    border-radius:14px;
    overflow:hidden;
}

.tt-day-card.is-error{
    border-left:4px solid #e17868;
}

.tt-day-card.is-passive{
    opacity:.65;
}

.tt-day-head{
    width:100%;
    border:0;
    background:none;
    padding:14px;
    display:grid;
    grid-template-columns:64px 1fr 18px;
    gap:12px;
    text-align:left;
    align-items:start;
    cursor:pointer;
}

.tt-day-left{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding-top:2px;
}

.tt-day-weekday{
    font-size:28px;
    line-height:1;
    font-weight:800;
    color:#65748b;
}

.tt-day-date{
    margin-top:6px;
    font-size:13px;
    color:#7d889a;
    font-weight:600;
}

.tt-day-main{
    min-width:0;
}

.tt-day-status-row{
    margin-bottom:10px;
}

.tt-badge{
    display:inline-flex;
    align-items:center;
    height:26px;
    padding:0 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.tt-badge-error{
    background:#fde7e3;
    color:#bf4d3d;
}

.tt-badge-neutral{
    background:#eef2f7;
    color:#5f6d84;
}

.tt-badge-light{
    background:#f3f5f8;
    color:#8d98aa;
}

.tt-day-metrics{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
}

.tt-metric{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.tt-metric-label{
    font-size:11px;
    color:#8a95a7;
    text-transform:uppercase;
    letter-spacing:.02em;
}

.tt-metric-value{
    font-size:18px;
    line-height:1.1;
    font-weight:700;
    color:#2a3852;
}

.tt-negative{
    color:#c03b2b;
}

.tt-day-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    color:#98a2b3;
    transition:transform .18s ease;
    padding-top:4px;
}

.tt-day-card.is-open .tt-day-toggle{
    transform:rotate(180deg);
}

.tt-day-details{
    display:none;
    border-top:1px solid #eef1f5;
    padding:12px 14px 14px;
    background:#fafbfc;
}

.tt-day-card.is-open .tt-day-details{
    display:block;
}

.tt-detail-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px 16px;
}

.tt-detail-item{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
}

.tt-detail-label{
    font-size:11px;
    color:#8a95a7;
    text-transform:uppercase;
    letter-spacing:.02em;
}

.tt-detail-value{
    font-size:14px;
    line-height:1.3;
    font-weight:600;
    color:#2a3852;
}

@media (max-width: 380px){
    .tt-day-head{
        grid-template-columns:56px 1fr 16px;
        gap:10px;
        padding:12px;
    }

    .tt-day-weekday{
        font-size:24px;
    }

    .tt-day-metrics{
        grid-template-columns:1fr;
        gap:8px;
    }

    .tt-detail-grid{
        grid-template-columns:1fr;
    }

    .tt-kpi-value{
        font-size:20px;
    }
}

.tt-actions{
    display: flex;
    padding-top: 12px;
    justify-content: flex-end;
}


.stamp-row-ignored {
    opacity: 0.45;
}


.tt-detail-sheet{
    display:flex;
    flex-direction:column;
    height:100%;
    background:#eef2f5;
}

.tt-detail-header{
    position:sticky;
    top:0;
    z-index:5;
    background:#fff;
    padding:14px 14px 12px;
    border-bottom:1px solid #e6ebf0;
    display:grid;
    grid-template-columns:40px 1fr 40px;
    align-items:center;
}

.tt-detail-head-center{
    text-align:center;
    position:relative;
}

.tt-detail-avatar{
    width:54px;
    height:54px;
    border-radius:999px;
    object-fit:cover;
    margin:0 auto 8px;
    display:block;
}

.tt-detail-subline{
    font-size:14px;
    color:#7d889a;
}

.tt-detail-title{
    font-size:16px;
    font-weight:800;
    color:#2a3852;
}

.tt-detail-body{
    flex:1 1 auto;
    overflow-y:auto;
    padding:14px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.tt-detail-hero,
.tt-detail-card{
    background:#fff;
    border:1px solid #e3e8ef;
    border-radius:16px;
    padding:14px;
}

.tt-hero-metrics{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:10px;
    margin-top:12px;
}

.tt-hero-item{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.tt-label,
.tt-detail-grid span{
    font-size:11px;
    color:#8a95a7;
    text-transform:uppercase;
}

.tt-hero-item strong,
.tt-detail-grid strong{
    font-size:16px;
    color:#2a3852;
}

.tt-hero-summary{
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #eef1f5;
    display:flex;
    flex-direction:column;
    gap:6px;
    color:#687588;
}

.tt-detail-card-title{
    font-size:13px;
    font-weight:800;
    color:#66758b;
    margin-bottom:10px;
    text-transform:uppercase;
}

.tt-detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.tt-detail-grid > div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.tt-detail-footer{
    position:sticky;
    bottom:0;
    background:#fff;
    border-top:1px solid #e6ebf0;
    padding:12px 14px;
    display:flex;
    justify-content:flex-end;
    gap:10px;
}

.tt-badge-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.tt-badge-actions{
    display:flex;
    align-items:center;
    gap:8px;
}