/* FadiTec Projects v0.8 — follow-ups and personal daily workflow. */
.followups-panel{padding:0;overflow:hidden;}
.followup-list{display:flex;flex-direction:column;}
.followup-row{display:flex;align-items:center;gap:15px;padding:18px 23px;color:var(--ink,#253943);text-decoration:none;border-bottom:1px solid var(--line,#e9eef0);transition:background .16s ease;}
.followup-row:last-child{border-bottom:0;}
.followup-row:hover,.myday-item:hover{background:rgba(111,135,150,.055);color:inherit;}
.followup-row:focus-visible,.myday-item:focus-visible{outline:2px solid #d31c28;outline-offset:-2px;border-radius:7px;}
.followup-row-icon,.myday-item-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:13px;background:#eaf0f3;color:#536d79;font-size:16px;}
.followup-row-icon.fu-overdue{background:#fff0f0;color:#ca303d;}
.followup-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;}
.followup-row-main strong{font-weight:750;font-size:13px;overflow-wrap:anywhere;}
.followup-row-main small{font-size:11px;color:var(--mute,#788e99);}
.followup-row-main small i{margin-inline-start:4px;}
.fu-next-action{font-size:11.5px;color:var(--mute,#617985);overflow-wrap:anywhere;}
.followup-row-meta{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:0 0 190px;}
.followup-row-meta small{font-size:10.5px;color:var(--mute,#778b94);}
.followup-row-meta small.text-danger{color:#c92c35!important;}
.followup-row-arrow{color:#a5b5bc;font-size:12px;}
.fu-state{display:inline-flex;align-items:center;border-radius:50px;padding:5px 10px;font-size:10.5px;font-weight:750;background:#edf3f5;color:#496c79;white-space:nowrap;}
.fu-state-waiting_team,.fu-state-waiting_client{background:#fff4e6;color:#946014;}
.fu-state-needs_decision{background:#ffeded;color:#ba2f3d;}
.fu-state-postponed{background:#f0edfb;color:#6857a2;}
.fu-state-done{background:#e5f6ef;color:#1f8056;}
.fu-state-canceled{background:#f1f2f4;color:#7a858d;}
.fu-self-owner{display:flex;align-items:center;gap:9px;background:#f5f8f9!important;height:auto;min-height:44px;}
.fu-detail-caption{font-size:11px;color:var(--mute,#8698a0);margin-bottom:9px;font-weight:700;}
.fu-next-box{border:1px solid #f2d9dc;background:#fff8f8;border-radius:14px;padding:17px 18px;display:flex;flex-direction:column;gap:8px;}
.fu-next-box span{color:#be2935;font-size:11px;font-weight:750;}
.fu-next-box strong{font-size:13px;color:#303d44;line-height:1.8;overflow-wrap:anywhere;}
.fu-related-link{margin-top:15px;display:flex;gap:9px;align-items:center;font-size:12px;text-decoration:none;overflow-wrap:anywhere;}
.fu-result{margin-top:17px;padding:17px;border:1px solid #cbe6d8;border-radius:13px;background:#f2faf6;}
.fu-result strong{display:block;font-size:12px;color:#187b4f;}
.fu-result p{margin:8px 0 0;font-size:12px;line-height:1.9;}
.fu-action-panel{background:#fafcfd;border:1px solid #e7ecef;border-radius:15px;padding:20px;height:100%;}
.fu-action-panel h3{font-size:14px;margin:0 0 7px;font-weight:800;color:var(--ink,#243943);}
.fu-action-panel h3 i{color:#c62531;}
.fu-action-panel p{font-size:11.5px;color:var(--mute,#83949e);line-height:1.8;}
.fu-action-panel .form-label{font-size:11.5px;}
.fu-action-panel .btn{width:100%;}
.fu-state-change{margin-top:20px;padding-top:18px;border-top:1px solid var(--line,#e6ecef);}
.fu-history{position:relative;display:flex;gap:12px;padding:10px 0 20px;}
.fu-history:not(:last-child)::before{content:"";position:absolute;top:30px;bottom:0;right:5px;width:1px;background:var(--line,#dfe7ec);}
.fu-history-dot{width:11px;height:11px;flex:0 0 11px;margin-top:6px;border-radius:50%;background:#d31c28;box-shadow:0 0 0 4px #d31c2812;}
.fu-history>div{min-width:0;flex:1;}
.fu-history strong{font-size:12px;margin-inline-end:8px;}
.fu-history small{font-size:10px;color:var(--mute,#849aa4);}
.fu-history-details{font-size:11.5px;color:var(--mute,#617782);line-height:1.8;margin-top:5px;overflow-wrap:anywhere;}
.fu-history-details p{margin:3px 0 0;}
.myday-heading .myday-sun{font-size:21px;color:#d31c28;}
.myday-stat{height:100%;}
.myday-items{display:flex;flex-direction:column;gap:0;}
.myday-item{display:flex;align-items:center;gap:12px;color:var(--ink,#263e49);text-decoration:none;border-bottom:1px solid var(--line,#e7edf0);padding:14px 6px;border-radius:7px;transition:background .15s;}
.myday-item:last-child{border-bottom:0;}
.myday-item>span:nth-child(2),.myday-item>span:first-child:not(.myday-item-icon){flex:1;min-width:0;}
.myday-item>span:nth-child(2) strong,.myday-item>span:first-child:not(.myday-item-icon) strong{display:block;font-size:12.5px;line-height:1.7;overflow-wrap:anywhere;}
.myday-item small{display:block;margin-top:3px;color:var(--mute,#80949f);font-size:10.5px;line-height:1.65;overflow-wrap:anywhere;}
.myday-item-icon{width:36px;height:36px;flex-basis:36px;font-size:14px;border-radius:10px;}
.myday-date{font-size:10px;line-height:1.65;color:var(--mute,#748991);max-width:130px;flex-shrink:0;text-align:left;direction:ltr;}
.dashboard-followups{padding-top:19px;padding-bottom:12px;}
html[data-theme="dark"] .followup-row-icon,html[data-theme="dark"] .myday-item-icon{background:#344650;color:#c2d0d7;}
html[data-theme="dark"] .followup-row-icon.fu-overdue{background:#4a3037;color:#ffb8ba;}
html[data-theme="dark"] .fu-action-panel,html[data-theme="dark"] .fu-self-owner{background:#243640!important;border-color:#3b505c;color:#eaf1f4;}
html[data-theme="dark"] .fu-next-box{background:#3a2b34;border-color:#653f4a;}
html[data-theme="dark"] .fu-next-box strong{color:#f6e9ed;}
html[data-theme="dark"] .fu-next-box span{color:#ff9fa9;}
html[data-theme="dark"] .fu-result{background:#203e35;border-color:#376451;color:#d8ece2;}
html[data-theme="dark"] .fu-result strong{color:#8fdfb6;}
html[data-theme="dark"] .fu-state{background:#344650;color:#c9dee8;}
html[data-theme="dark"] .fu-state-waiting_team,html[data-theme="dark"] .fu-state-waiting_client{background:#4b3d2d;color:#ffe0a6;}
html[data-theme="dark"] .fu-state-needs_decision{background:#54343c;color:#ffb6bd;}
html[data-theme="dark"] .fu-state-postponed{background:#3e3555;color:#ded0fb;}
html[data-theme="dark"] .fu-state-done{background:#24483c;color:#97e7c5;}
html[data-theme="dark"] .followup-row:hover,html[data-theme="dark"] .myday-item:hover{background:#ffffff0b;}
@media(max-width:767px){
 .followup-row{padding:15px;gap:10px;flex-wrap:wrap;}
 .followup-row-meta{flex:1 1 100%;margin-right:52px;align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:9px;}
 .followup-row-arrow{margin-right:auto;}
 .fu-action-panel{padding:16px;}
 .myday-item{flex-wrap:wrap;gap:9px;}
 .myday-date{flex:1 1 100%;max-width:none;text-align:right;margin-right:45px;}
 .myday-stats .stat-card{min-height:135px;}
}
@media(prefers-reduced-motion:reduce){.followup-row,.myday-item{transition:none;}}
