@font-face{font-family:JTMYekan;src:local('Yekan Bakh'),local('YekanBakh');font-display:swap}*{box-sizing:border-box}.jtm-wrap{margin:0 0 0 -20px}.jtm-front{min-height:720px}.jtm-shell{direction:rtl;font-family:JTMYekan,Tahoma,sans-serif;display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 32px);background:#f5f7fb;color:#111827}.jtm-sidebar{background:#00092e;color:#fff;padding:22px 16px;display:flex;flex-direction:column;gap:18px}.jtm-brand{display:flex;gap:12px;align-items:center}.jtm-brand strong,.jtm-brand small{display:block}.jtm-brand small{opacity:.65;font-size:11px;margin-top:4px}.jtm-logo{width:42px;height:42px;border-radius:14px;background:#1c3bb2;display:grid;place-items:center;font-size:24px;font-weight:800}.jtm-new-board,.jtm-add-list,.jtm-add-card{border:0;cursor:pointer;font:inherit}.jtm-new-board{background:#ff7b00;color:white;border-radius:12px;padding:12px}.jtm-board-list{display:flex;flex-direction:column;gap:7px}.jtm-board-list button{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#dbe4ff;border-radius:10px;padding:10px;cursor:pointer;text-align:right;font:inherit}.jtm-board-list button:hover,.jtm-board-list button.active{background:rgba(255,255,255,.1);color:#fff}.jtm-board-list i{width:12px;height:12px;border-radius:4px;background:var(--board)}.jtm-main{min-width:0}.jtm-topbar{height:82px;background:#fff;border-bottom:1px solid #e5e7eb;padding:16px 28px;display:flex;align-items:center;justify-content:space-between}.jtm-topbar h1{font-size:18px;margin:0 0 4px}.jtm-topbar p{margin:0;color:#6b7280;font-size:12px}.jtm-content{padding:24px;overflow:auto}.jtm-board-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.jtm-board-head h2{margin:0 0 5px;font-size:22px}.jtm-board-head p{margin:0;color:#6b7280}.jtm-add-list{background:#1c3bb2;color:#fff;border-radius:10px;padding:10px 15px}.jtm-kanban{display:flex;align-items:flex-start;gap:16px;min-width:max-content}.jtm-list{width:310px;background:#edf1f7;border:1px solid #dbe2ec;border-radius:16px;padding:12px}.jtm-list-head{display:flex;align-items:center;justify-content:space-between;padding:3px 5px 12px}.jtm-list-head h3{margin:0;font-size:15px}.jtm-list-head span{background:#dce4f0;border-radius:99px;padding:2px 8px;font-size:12px}.jtm-cards{min-height:40px}.jtm-card{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:12px;margin-bottom:10px;box-shadow:0 4px 15px rgba(15,23,42,.05);cursor:grab}.jtm-card:hover{border-color:#b8c5da;box-shadow:0 7px 18px rgba(15,23,42,.09)}.jtm-card h4{font-size:14px;line-height:1.8;margin:8px 0}.jtm-priority{display:inline-flex;border-radius:6px;padding:3px 7px;font-size:10px;background:#e5e7eb}.jtm-priority.high{background:#ffedd5;color:#c2410c}.jtm-priority.urgent{background:#fee2e2;color:#b91c1c}.jtm-priority.low{background:#dcfce7;color:#15803d}.jtm-meta,.jtm-assignee{font-size:11px;color:#64748b;margin-top:6px}.jtm-add-card{width:100%;background:transparent;color:#475569;border-radius:9px;padding:9px}.jtm-add-card:hover{background:#e1e7ef}.jtm-placeholder{height:82px;border:2px dashed #9aa9bf;border-radius:13px;background:#e4eaf3;margin-bottom:10px}.jtm-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:50px;text-align:center;color:#64748b}.jtm-error{position:fixed;left:20px;bottom:20px;background:#b91c1c;color:#fff;padding:12px 18px;border-radius:10px;z-index:99999}.jtm-login-required{direction:rtl;text-align:center;padding:30px;border:1px solid #ddd;border-radius:12px}@media(max-width:900px){.jtm-shell{grid-template-columns:1fr}.jtm-sidebar{position:relative;min-height:auto}.jtm-board-list{flex-direction:row;overflow:auto}.jtm-topbar{display:none}.jtm-content{padding:14px}.jtm-list{width:285px}.jtm-wrap{margin:0}}
.jtm-modal{display:none;position:fixed;inset:0;z-index:100000;direction:rtl;font-family:JTMYekan,Tahoma,sans-serif}.jtm-modal.open{display:block}.jtm-modal-backdrop{position:absolute;inset:0;background:rgba(0,9,46,.72);backdrop-filter:blur(5px)}.jtm-modal-panel{position:relative;width:min(1040px,calc(100% - 32px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#f8fafc;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.28)}.jtm-modal-close{position:sticky;float:left;top:12px;left:12px;z-index:3;width:38px;height:38px;border:0;border-radius:12px;background:#e2e8f0;font-size:25px;cursor:pointer}.jtm-modal-body{padding:24px}.jtm-card-editor{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.jtm-title-input{width:100%;border:0;background:transparent;font:800 24px/1.5 JTMYekan,Tahoma;padding:6px 0 14px;outline:none}.jtm-description,.jtm-comment-text{width:100%;min-height:130px;border:1px solid #d8e0ec;border-radius:14px;background:#fff;padding:14px;font:inherit;resize:vertical}.jtm-editor-actions{display:flex;align-items:center;gap:12px;margin:12px 0 24px}.jtm-save-card,.jtm-send-comment,.jtm-inline-add button,.jtm-add-checklist{border:0;border-radius:10px;background:#1c3bb2;color:#fff;padding:10px 16px;font:inherit;cursor:pointer}.jtm-save-state{color:#15803d;font-size:12px}.jtm-editor-side{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;height:max-content;position:sticky;top:20px}.jtm-editor-side label{display:block;font-size:12px;font-weight:700;margin-bottom:16px}.jtm-editor-side select,.jtm-editor-side input{display:block;width:100%;margin-top:7px;border:1px solid #d8e0ec;border-radius:10px;padding:9px;font:inherit;background:#fff}.jtm-card-meta{border-top:1px solid #e5e7eb;padding-top:14px;color:#64748b;font-size:11px;line-height:2}.jtm-checklist{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:16px;margin:14px 0}.jtm-section-title{display:flex;justify-content:space-between;align-items:center}.jtm-progress{height:7px;border-radius:99px;background:#e2e8f0;overflow:hidden;margin:10px 0 14px}.jtm-progress i{display:block;height:100%;background:#1c3bb2;border-radius:inherit}.jtm-check-items label{display:flex;align-items:center;gap:10px;padding:7px 0;font-weight:400;font-size:13px}.jtm-check-items input{width:18px;height:18px}.jtm-check-items .done{text-decoration:line-through;color:#94a3b8}.jtm-inline-add{display:flex;gap:8px;margin-top:12px}.jtm-inline-add input{flex:1;border:1px solid #d8e0ec;border-radius:10px;padding:9px;font:inherit}.jtm-add-checklist{background:#475569}.jtm-comments{margin-top:28px}.jtm-comments h3{font-size:16px}.jtm-send-comment{margin:10px 0 18px}.jtm-comment{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:13px;margin-bottom:10px}.jtm-comment>div{display:flex;justify-content:space-between;gap:12px}.jtm-comment time{font-size:10px;color:#94a3b8}.jtm-comment p{margin:8px 0 0;line-height:1.9}.jtm-muted{color:#94a3b8;font-size:12px;padding:12px 0}@media(max-width:760px){.jtm-card-editor{grid-template-columns:1fr}.jtm-editor-side{position:static;grid-row:1}.jtm-modal-panel{width:calc(100% - 14px);margin:7px auto;max-height:calc(100vh - 14px)}.jtm-modal-body{padding:15px}.jtm-inline-add{flex-direction:column}}
.jtm-top-actions,.jtm-board-actions,.jtm-toolbar,.jtm-member-add{display:flex;align-items:center;gap:8px}.jtm-notifications,.jtm-board-members,.jtm-board-activity,.jtm-add-member-submit,.jtm-remove-member,.jtm-new-label{border:0;border-radius:10px;padding:9px 12px;font:inherit;cursor:pointer}.jtm-notifications,.jtm-board-members,.jtm-board-activity{background:#eef2ff;color:#1c3bb2}.jtm-notifications b{background:#ff7b00;color:#fff;border-radius:99px;padding:1px 7px}.jtm-toolbar{margin-bottom:16px;flex-wrap:wrap}.jtm-toolbar input,.jtm-toolbar select,.jtm-member-add select{border:1px solid #d8e0ec;border-radius:10px;padding:10px 12px;background:#fff;font:inherit}.jtm-search{min-width:260px}.jtm-card-labels{display:flex;gap:4px;margin-bottom:7px}.jtm-card-labels span,.jtm-label-choice i{display:inline-block;width:34px;height:7px;border-radius:99px;background:var(--label)}.jtm-label-manager{border-top:1px solid #e5e7eb;padding-top:14px;margin-top:8px}.jtm-label-choice{display:flex!important;align-items:center;gap:8px;margin:9px 0!important;font-weight:400!important}.jtm-label-choice input{width:auto!important;margin:0!important}.jtm-new-label{width:100%;background:#eef2ff;color:#1c3bb2}.jtm-add-member-submit{background:#1c3bb2;color:#fff}.jtm-remove-member{background:#fee2e2;color:#b91c1c}.jtm-table{width:100%;border-collapse:collapse;margin-top:18px;background:#fff}.jtm-table th,.jtm-table td{padding:12px;border-bottom:1px solid #e5e7eb;text-align:right}.jtm-activity-list{display:grid;gap:10px}.jtm-activity-list article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.jtm-activity-list article.unread{border-right:4px solid #1c3bb2}.jtm-activity-list p{margin:7px 0}.jtm-activity-list time{font-size:11px;color:#94a3b8}@media(max-width:760px){.jtm-board-head{align-items:flex-start;gap:12px}.jtm-board-actions{flex-wrap:wrap}.jtm-member-add{align-items:stretch;flex-direction:column}.jtm-search{min-width:0;width:100%}.jtm-table{font-size:11px}}
.jtm-delete-board{background:#fff1f1!important;color:#b42318!important;border:1px solid #f4c7c3!important}.jtm-delete-board:hover{background:#b42318!important;color:#fff!important}
.jtm-content.is-loading{opacity:.65;pointer-events:none;transition:opacity .15s ease}
.jtm-add-card:disabled,.jtm-save-card:disabled,.jtm-add-member-submit:disabled{opacity:.6;cursor:wait}
.jtm-list-head>div{display:flex;align-items:center;gap:6px}.jtm-edit-list,.jtm-delete-list{width:26px;height:26px;padding:0;border-radius:7px;font-size:14px}.jtm-delete-list,.jtm-delete-card,.jtm-delete-archived{color:#b42318;background:#fff1f0;border:1px solid #fecaca}.jtm-archive-card,.jtm-archive{background:#f5f7ff;border:1px solid #d9e0ff}.jtm-member-status{min-height:24px;margin:8px 0;color:#157347;font-size:13px}.jtm-archive-list{display:grid;gap:10px}.jtm-archive-list article{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #e6e8ef;border-radius:12px}.jtm-archive-list article>div{display:grid;gap:3px;margin-left:auto}.jtm-archive-list small{color:#71717a}.jtm-save-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.jtm-attachments{margin-top:24px;padding-top:18px;border-top:1px solid #e5e7eb}.jtm-attachment-upload{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.jtm-attachment-upload input{max-width:260px}.jtm-attachment-list{display:grid;gap:8px}.jtm-attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.jtm-attachment a{font-weight:700;text-decoration:none}.jtm-attachment small{display:block;color:#6b7280;margin-top:3px}.jtm-card-timeline{margin-top:18px;padding-top:14px;border-top:1px solid #e5e7eb}.jtm-card-timeline>.jtm-activity-list{max-height:260px;overflow:auto;margin-top:10px}.jtm-hint{font-size:12px;color:#6b7280;margin:-4px 0 8px}.jtm-calendar{display:grid;gap:12px;margin-top:18px}.jtm-calendar-day{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#f9fafb}.jtm-calendar-day h3{margin:0 0 10px}.jtm-calendar-card{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:right;padding:10px 12px;margin-top:7px;border:1px solid #e5e7eb;border-radius:9px;background:#fff;cursor:pointer}.jtm-calendar-card small{color:#6b7280}.jtm-calendar-card:hover{border-color:#1C3BB2}.jtm-editor-side .jtm-activity-list article{padding:8px 0}.jtm-editor-side .jtm-activity-list p{margin:4px 0;font-size:12px}
/* v0.7 analytics, workload and time tracking */
.jtm-stats{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px;margin:18px 0}.jtm-stats article{padding:18px;border:1px solid #e7e9f2;border-radius:14px;background:#fff;text-align:center}.jtm-stats strong{display:block;font-size:25px;color:#1c3bb2}.jtm-stats span{font-size:12px;color:#697089}.jtm-bars{display:grid;gap:10px}.jtm-bars article{display:grid;grid-template-columns:140px 1fr 42px;align-items:center;gap:10px}.jtm-bars article>div{height:10px;background:#eef0f7;border-radius:20px;overflow:hidden}.jtm-bars i{display:block;height:100%;background:#1c3bb2;border-radius:20px}.jtm-time-tracking{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f5}.jtm-time-add{display:grid;grid-template-columns:100px 145px 1fr auto;gap:8px;margin:12px 0}.jtm-time-add input{min-width:0}.jtm-time-summary{padding:9px 12px;background:#f5f7ff;border-radius:9px;font-size:13px}.jtm-time-list{display:grid;gap:7px}.jtm-time-list article{display:flex;align-items:center;justify-content:space-between;border:1px solid #edf0f5;border-radius:9px;padding:9px 11px}.jtm-time-list article div{display:grid;gap:2px}.jtm-time-list span,.jtm-time-list small{font-size:12px;color:#73798b}@media(max-width:900px){.jtm-stats{grid-template-columns:repeat(2,1fr)}.jtm-time-add{grid-template-columns:1fr 1fr}.jtm-time-add .jtm-time-note{grid-column:1/-1}.jtm-bars article{grid-template-columns:90px 1fr 32px}}
/* v0.8 inline dashboard, reliable insights and bulk operations */
.jtm-inline-dashboard{margin:0 0 18px;padding:16px;border:1px solid #e3e8f2;border-radius:18px;background:linear-gradient(180deg,#fff,#f8faff)}
.jtm-dashboard-head,.jtm-insight-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.jtm-dashboard-head h3,.jtm-insight-head h3{margin:0}.jtm-dashboard-head small{color:#788195}.jtm-refresh-dashboard,.jtm-close-insight,.jtm-bulk-toggle,.jtm-bulk-apply{border:0;border-radius:10px;padding:9px 13px;background:#eef2ff;color:#1c3bb2;font:inherit;cursor:pointer}.jtm-dashboard-loading,.jtm-panel-error{padding:18px;text-align:center;color:#697089}.jtm-panel-error{color:#b42318;background:#fff1f0;border-radius:10px}.jtm-insight-panel{margin:0 0 18px;padding:16px;border:1px solid #e3e8f2;border-radius:16px;background:#fff}.jtm-insight-panel[hidden]{display:none!important}.jtm-close-insight{font-size:20px;padding:4px 12px}.jtm-bulk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.jtm-bulk-actions[hidden]{display:none!important}.jtm-bulk-actions select{min-width:130px}.jtm-card-select{display:none;position:absolute;top:9px;left:9px;z-index:3}.jtm-card-select input{width:18px;height:18px}.jtm-card{position:relative}.bulk-mode .jtm-card-select{display:block}.bulk-mode .jtm-card{padding-left:38px}.jtm-bulk-count{font-size:12px;color:#697089}.jtm-bulk-apply{background:#1c3bb2;color:#fff}.jtm-insight-panel .jtm-table{margin-top:12px}
@media(max-width:760px){.jtm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.jtm-inline-dashboard,.jtm-insight-panel{padding:12px}.jtm-bulk-actions{width:100%}.jtm-bulk-actions select{flex:1;min-width:120px}}
.jtm-server-loader,.jtm-boot-fallback{direction:rtl;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:420px;margin:20px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;color:#334155;text-align:center;font-family:Tahoma,sans-serif}.jtm-server-loader .spinner{float:none;margin:0}.jtm-server-loader small{color:#94a3b8}.jtm-boot-fallback{border-color:#fecaca;background:#fff7f7;color:#991b1b;padding:28px}.jtm-boot-fallback p{max-width:680px;line-height:1.9;margin:0}.jtm-boot-fallback code{direction:ltr;background:#fff;border:1px solid #fecaca;border-radius:8px;padding:6px 10px}
.jtm-status-add,.jtm-dependency-add{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.jtm-status-add input[type=text],.jtm-status-name,.jtm-dependency-select{min-width:220px}.jtm-status-list,.jtm-dependency-list{display:grid;gap:9px}.jtm-status-list article,.jtm-dependency-list article{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.jtm-status-list article i{width:14px;height:14px;border-radius:50%}.jtm-status-list article div,.jtm-dependency-list article div{display:flex;flex-direction:column;flex:1}.jtm-status-list small,.jtm-dependency-list small{color:#64748b}.jtm-dependencies{margin:20px 0;padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}.jtm-dependency.blocked{border-color:#fca5a5;background:#fff7f7}.jtm-dependency.done{border-color:#86efac;background:#f0fdf4}.jtm-dependency button,.jtm-delete-status{margin-inline-start:auto}
.jtm-custom-field-add,.jtm-board-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.jtm-custom-field-add input,.jtm-custom-field-add select,.jtm-board-create-form input,.jtm-board-create-form select,.jtm-board-create-form textarea{width:100%;min-height:42px}.jtm-board-create-form textarea{grid-column:1/-1;min-height:90px}.jtm-custom-fields-card{margin-top:22px;padding-top:18px;border-top:1px solid #e5e7eb}.jtm-custom-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jtm-custom-field{display:flex;flex-direction:column;gap:7px}.jtm-custom-field input,.jtm-custom-field select{width:100%;min-height:40px}.jtm-custom-field input[type=checkbox]{width:auto;min-height:auto;align-self:flex-start}@media(max-width:760px){.jtm-custom-field-add,.jtm-board-create-form,.jtm-custom-fields-grid{grid-template-columns:1fr}}

/* Jalali professional calendar */
.jtm-cal-wrap{direction:rtl}.jtm-cal-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:4px 0 16px}.jtm-cal-nav,.jtm-cal-controls,.jtm-cal-views{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.jtm-cal-nav button,.jtm-cal-views button,.jtm-cal-controls select{min-height:38px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;padding:7px 11px}.jtm-cal-nav button{font-size:18px;cursor:pointer}.jtm-cal-title{min-width:170px;text-align:center;font-size:17px}.jtm-cal-views{padding:3px;background:#eef1f7;border-radius:11px}.jtm-cal-views button{border:0;background:transparent;min-height:32px;padding:5px 13px}.jtm-cal-views button.active{background:#fff;color:#1C3BB2;box-shadow:0 2px 8px rgba(20,30,60,.08)}.jtm-cal-weekheads,.jtm-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(115px,1fr))}.jtm-cal-weekheads span{text-align:center;padding:10px 4px;font-weight:700;color:#596174;background:#f5f7fb;border-top:1px solid #e5e8ef;border-bottom:1px solid #e5e8ef}.jtm-cal-grid{border-right:1px solid #e5e8ef}.jtm-cal-cell{min-height:132px;padding:8px;border-left:1px solid #e5e8ef;border-bottom:1px solid #e5e8ef;background:#fff;transition:.15s}.jtm-cal-cell:hover,.jtm-cal-agenda-day:hover{background:#f9fbff}.jtm-cal-cell.is-empty{background:#f7f8fa}.jtm-cal-daynum{font-weight:800;margin-bottom:7px;color:#30384a}.jtm-cal-events{display:grid;gap:6px}.jtm-cal-event{position:relative;width:100%;border:0;border-right:4px solid var(--event);border-radius:8px;background:color-mix(in srgb,var(--event) 9%,white);padding:7px 8px;text-align:right;cursor:grab;overflow:hidden}.jtm-cal-event:active{cursor:grabbing}.jtm-cal-event strong,.jtm-cal-event small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jtm-cal-event strong{font-size:12px}.jtm-cal-event small{font-size:10px;color:#687083;margin-top:3px}.jtm-cal-week,.jtm-cal-day{display:grid;gap:10px}.jtm-cal-agenda-day{display:grid;grid-template-columns:150px 1fr;gap:14px;min-height:92px;padding:12px;border:1px solid #e5e8ef;border-radius:12px;background:#fff}.jtm-cal-agenda-day header{display:flex;flex-direction:column;justify-content:center;border-left:1px solid #e5e8ef}.jtm-cal-agenda-day header span{color:#687083;margin-top:5px}.jtm-cal-none{align-self:center;color:#9299a8}.jtm-cal-help{font-size:12px;color:#747c8d;margin:12px 0 0}.jtm-calendar-body{overflow-x:auto}.jtm-card .jtm-meta{direction:rtl}
@media(max-width:900px){.jtm-cal-weekheads,.jtm-cal-grid{min-width:820px}.jtm-cal-toolbar{align-items:stretch}.jtm-cal-controls{width:100%}.jtm-cal-controls select{flex:1}.jtm-cal-agenda-day{grid-template-columns:100px 1fr}}
@media(max-width:600px){.jtm-cal-nav{width:100%;justify-content:space-between}.jtm-cal-title{order:-1;width:100%}.jtm-cal-views{width:100%}.jtm-cal-views button{flex:1}.jtm-cal-agenda-day{grid-template-columns:1fr}.jtm-cal-agenda-day header{border-left:0;border-bottom:1px solid #e5e8ef;padding-bottom:8px}}

/* Personal dashboard 0.12.0 */
.jtm-my-dashboard{width:100%;margin:0 0 8px;padding:11px 14px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.08);color:inherit;cursor:pointer;font-weight:700}.jtm-personal-dashboard{display:grid;gap:18px}.jtm-pd-head{display:flex;align-items:center;justify-content:space-between}.jtm-pd-head h2{margin:0 0 4px}.jtm-pd-head p{margin:0;color:#64748b}.jtm-pd-refresh{border:1px solid #dbe3ef;background:#fff;border-radius:10px;padding:9px 12px;cursor:pointer}.jtm-pd-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.jtm-pd-stats article{background:#fff;border:1px solid #e7edf5;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.jtm-pd-stats strong{display:block;font-size:22px;margin-bottom:7px}.jtm-pd-stats span{font-size:12px;color:#64748b}.jtm-pd-stats .danger strong{color:#dc2626}.jtm-pd-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:16px}.jtm-pd-grid>section{background:#fff;border:1px solid #e7edf5;border-radius:18px;padding:18px}.jtm-pd-grid h3{margin:0 0 14px}.jtm-my-tasks,.jtm-pd-activity{display:grid;gap:9px}.jtm-my-task{display:flex;justify-content:space-between;gap:16px;padding:13px;border:1px solid #edf1f7;border-radius:12px;cursor:pointer}.jtm-my-task:hover{border-color:#1c3bb2}.jtm-my-task.overdue{border-right:3px solid #dc2626}.jtm-my-task div{display:grid;gap:4px}.jtm-my-task span,.jtm-my-task time,.jtm-pd-activity time{font-size:12px;color:#64748b}.jtm-my-task>div:last-child{text-align:left}.jtm-pd-activity article{padding:11px 0;border-bottom:1px solid #eef2f7}.jtm-pd-activity p{margin:5px 0}.jtm-pd-activity article:last-child{border-bottom:0}@media(max-width:1100px){.jtm-pd-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.jtm-pd-stats{grid-template-columns:repeat(2,1fr)}.jtm-pd-grid{grid-template-columns:1fr}.jtm-my-task{flex-direction:column}.jtm-my-task>div:last-child{text-align:right}}
/* Notification Center 0.13.0 */
.jtm-notification-center{direction:rtl}.jtm-nc-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.jtm-nc-head h2{margin:0 0 5px}.jtm-nc-head p{margin:0;color:#64748b}.jtm-nc-head>div:last-child{display:flex;gap:8px}.jtm-nc-head button,.jtm-nc-filters button,.jtm-notification-actions button,.jtm-save-notification-settings{border:1px solid #dbe3ef;background:#fff;border-radius:10px;padding:8px 12px;cursor:pointer}.jtm-nc-filters{display:flex;gap:8px;overflow:auto;padding-bottom:10px;margin-bottom:12px}.jtm-nc-filters button{white-space:nowrap}.jtm-nc-filters button.active{background:#1c3bb2;color:#fff;border-color:#1c3bb2}.jtm-notification-list{display:grid;gap:10px;max-height:58vh;overflow:auto;padding-left:4px}.jtm-notification-item{display:grid;grid-template-columns:42px 1fr;gap:12px;border:1px solid #e5eaf2;border-radius:14px;padding:14px;background:#fff}.jtm-notification-item.unread{border-color:#9fb2ff;background:#f7f9ff;box-shadow:inset -3px 0 #1c3bb2}.jtm-notification-icon{width:42px;height:42px;border-radius:12px;background:#eef2ff;display:grid;place-items:center;font-size:20px}.jtm-notification-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px}.jtm-notification-meta b{font-size:12px;color:#1c3bb2}.jtm-notification-meta time{font-size:11px;color:#94a3b8}.jtm-notification-item strong{display:block;margin-bottom:4px}.jtm-notification-item p{margin:0;color:#475569;line-height:1.8}.jtm-notification-actions{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}.jtm-notification-actions button{padding:6px 9px;font-size:12px}.jtm-delete-notification{color:#b91c1c}.jtm-notification-settings{border:1px solid #dbe3ef;background:#f8fafc;border-radius:14px;padding:15px;margin-bottom:14px}.jtm-notification-settings h3{margin:0 0 12px}.jtm-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.jtm-settings-grid label{background:#fff;border:1px solid #e5eaf2;border-radius:10px;padding:10px}.jtm-save-notification-settings{background:#1c3bb2;color:#fff;border-color:#1c3bb2}@media(max-width:650px){.jtm-nc-head{align-items:flex-start;flex-direction:column}.jtm-settings-grid{grid-template-columns:1fr}.jtm-notification-item{grid-template-columns:36px 1fr;padding:11px}.jtm-notification-icon{width:36px;height:36px}}
/* Global Search - v1.0.0 */
.jtm-global-search-panel{direction:rtl}.jtm-gs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.jtm-gs-head h2{margin:0 0 6px}.jtm-gs-head p{margin:0;color:#64748b}.jtm-gs-count{background:#eef2ff;color:#1c3bb2;border-radius:999px;padding:7px 12px;font-weight:700;white-space:nowrap}.jtm-gs-form{display:grid;grid-template-columns:minmax(220px,2fr) repeat(5,minmax(125px,1fr)) auto;gap:9px;padding:14px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:16px}.jtm-gs-form input,.jtm-gs-form select,.jtm-gs-save input{width:100%;min-height:42px;border:1px solid #dbe1ea;border-radius:10px;background:#fff;padding:8px 10px;font:inherit}.jtm-gs-form button,.jtm-gs-save button{border:0;border-radius:10px;background:#1c3bb2;color:#fff;padding:9px 15px;font:inherit;font-weight:700;cursor:pointer}.jtm-gs-save{display:flex;gap:8px;margin:12px 0}.jtm-gs-save input{max-width:340px}.jtm-gs-saved{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:13px;border-bottom:1px solid #e5e7eb}.jtm-saved-filter{display:inline-flex;align-items:center;border:1px solid #dbe1ea;border-radius:999px;overflow:hidden;background:#fff}.jtm-saved-filter button{border:0;background:transparent;padding:7px 11px;cursor:pointer;font:inherit}.jtm-saved-filter .jtm-delete-saved-filter{color:#dc2626;padding-inline-start:5px}.jtm-gs-results{display:grid;gap:9px;margin-top:15px;max-height:52vh;overflow:auto;padding-left:4px}.jtm-search-result{display:flex;justify-content:space-between;gap:18px;border:1px solid #e5e7eb;border-radius:14px;padding:13px 15px;background:#fff;cursor:pointer;transition:.18s ease}.jtm-search-result:hover{border-color:#a5b4fc;transform:translateY(-1px);box-shadow:0 8px 24px rgba(15,23,42,.07)}.jtm-search-result strong{display:block;font-size:14px;color:#0f172a}.jtm-search-result p{margin:5px 0;color:#64748b;font-size:12px}.jtm-search-result small{display:flex;gap:5px;flex-wrap:wrap}.jtm-search-result small span{background:#f1f5f9;color:#475569;border-radius:999px;padding:3px 7px}.jtm-search-result>div:last-child{text-align:left;white-space:nowrap}.jtm-search-result>div:last-child b,.jtm-search-result time{display:block;font-size:12px;color:#475569}.jtm-top-actions .jtm-global-search{border:1px solid #dbe1ea;background:#fff;color:#1e293b;border-radius:10px;padding:9px 13px;font:inherit;cursor:pointer}
@media(max-width:1200px){.jtm-gs-form{grid-template-columns:repeat(3,1fr)}.jtm-gs-form .jtm-gs-q{grid-column:span 2}}
@media(max-width:720px){.jtm-gs-head,.jtm-search-result{flex-direction:column}.jtm-gs-form{grid-template-columns:1fr}.jtm-gs-form .jtm-gs-q{grid-column:auto}.jtm-gs-save{flex-direction:column}.jtm-gs-save input{max-width:none}.jtm-search-result>div:last-child{text-align:right;display:flex;gap:12px}.jtm-top-actions{display:flex;gap:6px;flex-wrap:wrap}}

.jtm-automation-panel{direction:rtl}.jtm-automation-builder{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1fr auto;gap:10px;margin:18px 0;padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#f8fafc}.jtm-automation-builder input,.jtm-automation-builder select{min-height:42px;border:1px solid #dbe1ea;border-radius:10px;padding:0 10px;background:#fff}.jtm-automation-rules{display:grid;gap:10px;margin-bottom:22px}.jtm-automation-rule{display:flex;align-items:center;justify-content:space-between;border:1px solid #e5e7eb;border-radius:14px;padding:14px;background:#fff}.jtm-automation-rule p{margin:5px 0;color:#64748b}.jtm-automation-rule small{color:#94a3b8}.jtm-automation-rule>div:last-child{display:flex;align-items:center;gap:10px}.jtm-delete-automation{color:#b91c1c}@media(max-width:900px){.jtm-automation-builder{grid-template-columns:1fr 1fr}.jtm-automation-builder button{grid-column:1/-1}}
.jtm-auto-template-bar{display:flex;gap:10px;margin:14px 0}.jtm-auto-template-bar select{min-width:260px}.jtm-automation-builder.advanced{display:block}.jtm-automation-builder.advanced>input,.jtm-automation-builder.advanced>select,.jtm-automation-builder.advanced>label{display:block;width:100%;margin:0 0 10px}.jtm-automation-builder.advanced>label input{display:block;width:100%;margin-top:6px}.jtm-auto-builder-section{border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin:12px 0;background:#fff}.jtm-auto-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.jtm-auto-condition,.jtm-auto-action-row{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:8px;margin:8px 0}.jtm-auto-action-row{grid-template-columns:1fr 2fr auto}.jtm-remove-auto-row{width:38px;color:#b91c1c}.jtm-log-success{color:#15803d}.jtm-log-failed{color:#b91c1c}.jtm-table td small{display:block;color:#64748b;margin-top:4px}@media(max-width:700px){.jtm-auto-condition,.jtm-auto-action-row{grid-template-columns:1fr}.jtm-auto-template-bar{display:grid}.jtm-auto-template-bar select{min-width:0;width:100%}}
.jtm-auto-template-bar{display:flex;gap:10px;margin:14px 0}.jtm-auto-template-bar select{min-width:260px}.jtm-automation-builder.advanced{display:block}.jtm-automation-builder.advanced>input,.jtm-automation-builder.advanced>select,.jtm-automation-builder.advanced>label{display:block;width:100%;margin:0 0 10px}.jtm-automation-builder.advanced>label input{display:block;width:100%;margin-top:6px}.jtm-auto-builder-section{border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin:12px 0;background:#fff}.jtm-auto-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.jtm-auto-condition,.jtm-auto-action-row{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:8px;margin:8px 0}.jtm-auto-action-row{grid-template-columns:1fr 2fr auto}.jtm-remove-auto-row{width:38px;color:#b91c1c}.jtm-log-success{color:#15803d}.jtm-log-failed{color:#b91c1c}.jtm-table td small{display:block;color:#64748b;margin-top:4px}@media(max-width:700px){.jtm-auto-condition,.jtm-auto-action-row{grid-template-columns:1fr}.jtm-auto-template-bar{display:grid}.jtm-auto-template-bar select{min-width:0;width:100%}}


/* Gantt 2.0 */
.jtm-gantt-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.jtm-gantt-toolbar p{margin:4px 0 0;color:#6b7280}.jtm-gantt-body{overflow:auto;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.jtm-gantt-grid{display:grid;grid-template-columns:260px max-content;min-width:max-content;direction:rtl}.jtm-gantt-corner,.jtm-gantt-label{position:sticky;right:0;z-index:4;background:#fff;border-left:1px solid #e5e7eb;border-bottom:1px solid #eef0f4;padding:12px}.jtm-gantt-corner{top:0;z-index:7;font-weight:800;background:#f7f8fb}.jtm-gantt-label{min-height:74px}.jtm-gantt-label strong,.jtm-gantt-label small{display:block}.jtm-gantt-label small{color:#687083;margin-top:5px}.jtm-gantt-days,.jtm-gantt-track{display:grid;position:relative;direction:ltr}.jtm-gantt-days{position:sticky;top:0;z-index:6;background:#f7f8fb;border-bottom:1px solid #e5e7eb}.jtm-gantt-days span{text-align:center;padding:12px 0;border-right:1px solid #e8ebf0;font-size:11px}.jtm-gantt-track{min-height:74px;border-bottom:1px solid #eef0f4;align-items:center}.jtm-gantt-drop{grid-row:1;height:100%;border-right:1px solid #f0f2f6}.jtm-gantt-drop:hover{background:#eef5ff}.jtm-gantt-bar{grid-row:1;z-index:2;height:30px;border:0;border-radius:8px;background:color-mix(in srgb,var(--gcolor) 28%,white);border-right:4px solid var(--gcolor);position:relative;overflow:hidden;cursor:grab;box-shadow:0 2px 7px rgba(20,30,60,.12)}.jtm-gantt-bar i{position:absolute;inset:0 auto 0 0;background:color-mix(in srgb,var(--gcolor) 70%,transparent)}.jtm-gantt-bar b{position:relative;z-index:2;font-size:10px}.jtm-gantt-bar.critical{outline:2px solid #dc2626;outline-offset:1px}.jtm-gantt-milestone{grid-row:1;z-index:3;width:22px;height:22px;border:0;background:#7c3aed;transform:rotate(45deg);cursor:grab;margin:auto}.jtm-gantt-deps{margin-top:7px;font-size:10px;color:#6b7280}.jtm-gantt-deps span{display:inline-block;background:#f1f3f7;border-radius:6px;padding:2px 5px;margin:2px}.jtm-gantt-note{padding:12px;margin:0;color:#6b7280;border-top:1px solid #eef0f4}.jtm-milestone-label{display:flex!important;align-items:center;gap:8px}.jtm-milestone-label input{width:auto!important}
@media(max-width:700px){.jtm-gantt-grid{grid-template-columns:190px max-content}.jtm-gantt-toolbar{align-items:flex-start;flex-direction:column}}

.jtm-board-list button span{display:flex;flex-direction:column;align-items:flex-start}.jtm-board-list button small{font-size:10px;opacity:.65;margin-top:2px}.jtm-workspace-panel{direction:rtl}.jtm-workspace-create,.jtm-ws-add,.jtm-team-add{display:grid;gap:10px;margin:16px 0}.jtm-workspace-list{display:grid;gap:10px}.jtm-workspace-card,.jtm-workspace-columns article{display:flex;align-items:center;justify-content:space-between;padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.jtm-workspace-card div,.jtm-workspace-columns article{gap:6px}.jtm-workspace-card span,.jtm-workspace-columns span{font-size:12px;color:#64748b}.jtm-workspace-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.jtm-workspace-columns>div{padding:16px;border:1px solid #e5e7eb;border-radius:16px}.jtm-board-create-form select{width:100%}@media(max-width:760px){.jtm-workspace-columns{grid-template-columns:1fr}}

/* JTM 2.1.1 — live inline Gantt */
.jtm-inline-gantt{margin:18px 0 22px;padding:16px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.05);overflow:hidden}
.jtm-gantt-inline-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.jtm-gantt-inline-head strong{display:block;font-size:16px;color:#0f172a}
.jtm-gantt-inline-head p{margin:4px 0 0;color:#64748b;font-size:12px}
.jtm-inline-gantt-refresh{border:1px solid #dbe3ef;background:#f8fafc;border-radius:10px;padding:8px 12px;cursor:pointer}
.jtm-inline-gantt-body{overflow:auto;max-height:520px;min-height:120px}
.jtm-inline-gantt-body .jtm-gantt-grid{min-width:max-content}
@media(max-width:782px){.jtm-gantt-inline-head{align-items:flex-start;flex-direction:column}.jtm-inline-gantt{padding:12px;border-radius:14px}}

.jtm-docs{padding:4px}.jtm-docs-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.jtm-doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.jtm-doc-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px}.jtm-doc-card p{color:#64748b;line-height:1.9;min-height:72px}.jtm-doc-card button,.jtm-new-document,.jtm-save-document{border:0;border-radius:10px;padding:10px 14px;background:#1c3bb2;color:#fff;cursor:pointer}.jtm-document-editor{display:grid;gap:12px}.jtm-doc-title{font:inherit;padding:12px;border:1px solid #dbe1ea;border-radius:10px}.jtm-doc-toolbar{display:flex;gap:6px}.jtm-doc-toolbar button{border:1px solid #dbe1ea;background:#f8fafc;border-radius:8px;padding:7px 10px}.jtm-doc-content{min-height:360px;border:1px solid #dbe1ea;border-radius:12px;padding:18px;line-height:2;background:#fff;overflow:auto}.jtm-doc-actions{display:flex;gap:8px;flex-wrap:wrap}.jtm-version-list{border-top:1px solid #e5e7eb;padding-top:12px}.jtm-version-list>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed #e5e7eb}@media(max-width:700px){.jtm-docs-head{align-items:flex-start;gap:12px}.jtm-doc-content{min-height:260px}}


/* Reports 2.3.0 */
.jtm-reports{direction:rtl}.jtm-report-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.jtm-report-actions small{margin-right:auto;color:#64748b}.jtm-report-kpis{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;margin-bottom:16px}.jtm-report-kpis article{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:4px}.jtm-report-kpis article strong{font-size:21px;color:#0f172a}.jtm-report-kpis article span{font-size:12px;color:#64748b}.jtm-report-kpis article.danger strong{color:#dc2626}.jtm-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.jtm-report-grid>section,.jtm-report-section{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;margin-bottom:14px}.jtm-report-grid h3,.jtm-report-section h3{margin:0 0 14px}.jtm-report-bar-row{display:grid;grid-template-columns:110px 1fr 36px;gap:8px;align-items:center;margin:9px 0}.jtm-report-bar-row>span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jtm-report-bar-row>div{height:9px;border-radius:99px;background:#eef2f7;overflow:hidden}.jtm-report-bar-row i{display:block;height:100%;border-radius:99px;background:var(--bar,#64748b)}.jtm-report-bar-row b{text-align:left}.jtm-report-timeline{height:100px;display:flex;align-items:flex-end;gap:4px;overflow-x:auto;padding:8px 0}.jtm-report-day{min-width:18px;text-align:center}.jtm-report-day>div{height:76px;display:flex;gap:2px;align-items:flex-end;justify-content:center}.jtm-report-day i{width:6px;border-radius:3px 3px 0 0}.jtm-report-day i.created,.jtm-report-legend .created:before{background:#3b82f6}.jtm-report-day i.done,.jtm-report-legend .done:before{background:#22c55e}.jtm-report-day small{font-size:9px;color:#94a3b8}.jtm-report-legend{display:flex;gap:14px;font-size:12px;color:#64748b}.jtm-report-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:5px}.jtm-table-scroll{overflow:auto}.jtm-reports table{width:100%;border-collapse:collapse;min-width:620px}.jtm-reports th,.jtm-reports td{padding:10px;border-bottom:1px solid #eef2f7;text-align:right}.jtm-reports th{font-size:12px;color:#64748b}.jtm-report-card-link{cursor:pointer}.jtm-report-card-link:hover{background:#f8fafc}@media(max-width:1100px){.jtm-report-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.jtm-report-kpis{grid-template-columns:repeat(2,1fr)}.jtm-report-grid{grid-template-columns:1fr}.jtm-report-actions small{width:100%;margin:0}}@media print{body *{visibility:hidden}.jtm-insight-panel,.jtm-insight-panel *{visibility:visible}.jtm-insight-panel{position:absolute!important;inset:0!important;width:100%!important;background:#fff!important}.jtm-insight-close,.jtm-report-actions{display:none!important}}
.jtm-logo{overflow:hidden;padding:4px;background:#fff}.jtm-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}.jtm-logo b{display:grid;place-items:center;width:100%;height:100%;border-radius:10px;background:#1c3bb2;color:#fff}


/* Adaptive site-logo contrast */
.jtm-logo.has-light-logo{background:#00092e!important;border:1px solid rgba(255,255,255,.16)}
.jtm-logo.has-dark-logo{background:#fff!important;border:1px solid #e5e7eb}
/* JTM 2.7.0: isolated visual system, Elementor font, centered controls */
#jtm-app,.jtm-wrap,.jtm-modal,.jtm-insight-panel{--jtm-font:var(--jtm-site-font,var(--e-global-typography-text-font-family,var(--e-global-typography-primary-font-family,inherit)));font-family:var(--jtm-font)!important;line-height:1.65;text-align:right;direction:rtl}
#jtm-app *,#jtm-app *::before,#jtm-app *::after,.jtm-modal *,.jtm-modal *::before,.jtm-modal *::after{box-sizing:border-box;font-family:var(--jtm-font)!important}
#jtm-app button,#jtm-app input,#jtm-app select,#jtm-app textarea,.jtm-modal button,.jtm-modal input,.jtm-modal select,.jtm-modal textarea{font:inherit!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none}
#jtm-app button,.jtm-modal button{appearance:none;-webkit-appearance:none}
.jtm-modal-close,.jtm-close-insight,[class*="jtm-close"],[class*="jtm-delete-list"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;padding:0!important;text-align:center!important}
.jtm-modal-close{float:none!important;position:sticky!important;margin:12px 12px 0 auto!important}
.jtm-jalali-input{direction:rtl!important;text-align:center!important;font-variant-numeric:normal!important;background:#fff!important;border:1px solid #d8e0ec!important;border-radius:10px!important;min-height:42px!important}
.jtm-cal-wrap,.jtm-calendar-body,.jtm-cal-grid,.jtm-cal-weekheads{font-family:var(--jtm-font)!important;direction:rtl!important}
.jtm-cal-cell,.jtm-cal-agenda-day{background:#fff;border:1px solid #e2e8f0;border-radius:12px}

/* Task state semantic colors */
.jtm-card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}
.jtm-task-state-badge{display:inline-flex;align-items:center;min-height:23px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}
.jtm-card.jtm-task-state-completed{border-inline-start:4px solid #16a34a;background:#f0fdf4}.jtm-task-state-completed .jtm-task-state-badge{background:#dcfce7;color:#166534}
.jtm-card.jtm-task-state-in-progress{border-inline-start:4px solid #2563eb;background:#eff6ff}.jtm-task-state-in-progress .jtm-task-state-badge{background:#dbeafe;color:#1d4ed8}
.jtm-card.jtm-task-state-not-started{border-inline-start:4px solid #94a3b8;background:#f8fafc}.jtm-task-state-not-started .jtm-task-state-badge{background:#e2e8f0;color:#475569}
.jtm-card.jtm-task-state-overdue{border-inline-start:4px solid #dc2626;background:#fef2f2}.jtm-task-state-overdue .jtm-task-state-badge{background:#fee2e2;color:#b91c1c}
.jtm-card.jtm-task-state-review{border-inline-start:4px solid #f59e0b;background:#fffbeb}.jtm-task-state-review .jtm-task-state-badge{background:#fef3c7;color:#b45309}

.jtm-my-task.jtm-task-state-completed{border-inline-start:4px solid #16a34a;background:#f0fdf4}.jtm-my-task.jtm-task-state-in-progress{border-inline-start:4px solid #2563eb;background:#eff6ff}.jtm-my-task.jtm-task-state-not-started{border-inline-start:4px solid #94a3b8;background:#f8fafc}.jtm-my-task.jtm-task-state-review{border-inline-start:4px solid #f59e0b;background:#fffbeb}.jtm-my-task.jtm-task-state-overdue{border-inline-start:4px solid #dc2626;background:#fef2f2}

/* 2.8.1 Jalali date/time popup */
.jtm-datetime-field{position:relative!important;display:flex!important;align-items:stretch!important;width:100%!important;gap:8px!important;direction:rtl!important}
.jtm-datetime-field>.jtm-jalali-input{flex:1 1 auto!important;min-width:0!important;margin:0!important}
.jtm-datetime-trigger{flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background:#f8fafc!important;color:#1d4ed8!important;font-size:22px!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important}
.jtm-datetime-trigger:hover{background:#eff6ff!important;border-color:#93c5fd!important}
.jtm-datetime-backdrop{position:fixed!important;inset:0!important;z-index:999998!important;background:rgba(15,23,42,.42)!important;backdrop-filter:blur(2px)!important}
.jtm-datetime-popover{position:fixed!important;z-index:999999!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:min(92vw,520px)!important;background:#fff!important;border:1px solid #dbe3ef!important;border-radius:18px!important;box-shadow:0 24px 80px rgba(15,23,42,.24)!important;padding:18px!important;color:#0f172a!important;font-family:var(--jtm-site-font,inherit)!important}
.jtm-dtp-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding-bottom:14px!important;border-bottom:1px solid #e5e7eb!important}
.jtm-dtp-head strong{font-size:16px!important}
.jtm-dtp-close{width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:#f1f5f9!important;color:#475569!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:24px!important;line-height:1!important;cursor:pointer!important}
.jtm-dtp-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:18px 0!important}
.jtm-dtp-grid label{display:flex!important;flex-direction:column!important;gap:7px!important;font-size:12px!important;font-weight:700!important;color:#475569!important}
.jtm-dtp-grid select{width:100%!important;height:44px!important;margin:0!important;padding:0 10px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;text-align:center!important;font-family:inherit!important}
.jtm-dtp-actions{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-end!important;padding-top:14px!important;border-top:1px solid #e5e7eb!important}
.jtm-dtp-actions button{min-height:42px!important;padding:0 16px!important;border-radius:10px!important;border:1px solid #cbd5e1!important;background:#f8fafc!important;color:#334155!important;font-family:inherit!important;cursor:pointer!important}
.jtm-dtp-actions .jtm-dtp-apply{background:#1d4ed8!important;border-color:#1d4ed8!important;color:#fff!important}
.jtm-dtp-actions .jtm-dtp-clear{margin-left:auto!important;color:#dc2626!important;background:#fff1f2!important;border-color:#fecdd3!important}
@media(max-width:560px){.jtm-datetime-popover{padding:14px!important}.jtm-dtp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.jtm-dtp-actions{flex-wrap:wrap!important}.jtm-dtp-actions button{flex:1 1 auto!important}.jtm-dtp-actions .jtm-dtp-clear{margin-left:0!important}}


/* Task approval workflow */
.jtm-task-approval{margin:22px 0;padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.jtm-task-approval h3{margin:0 0 14px;color:#0f172a}
.jtm-approval-request,.jtm-approval-decision{display:grid;gap:10px;padding:14px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}
.jtm-approval-request textarea,.jtm-approval-decision textarea{width:100%;min-height:76px;resize:vertical;border:1px solid #cbd5e1;border-radius:8px;padding:10px;background:#fff}
.jtm-approval-decision>div{display:flex;gap:10px;flex-wrap:wrap}
.jtm-approval-waiting{padding:13px;border:1px solid #f59e0b;background:#fffbeb;color:#92400e;border-radius:10px}
.jtm-approval-history{display:grid;gap:9px;margin-top:14px}
.jtm-approval-row{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:12px;border-radius:10px;border-inline-start:4px solid #f59e0b;background:#fff}
.jtm-approval-row.approved{border-inline-start-color:#16a34a;background:#f0fdf4}.jtm-approval-row.rejected{border-inline-start-color:#64748b;background:#f8fafc}
.jtm-approval-row>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.jtm-approval-row span,.jtm-approval-row time{font-size:12px;color:#64748b}.jtm-approval-row p{grid-column:1/-1;margin:3px 0 0;font-size:13px;color:#334155}
.jtm-approve-task,.jtm-reject-task,.jtm-request-approval{border-radius:8px!important;background:#a8bae3!important;color:#1c3bb2!important;border:0!important}.jtm-approve-task:hover,.jtm-reject-task:hover,.jtm-request-approval:hover{background:#1c3bb2!important;color:#fff!important}
@media(max-width:680px){.jtm-approval-row{grid-template-columns:1fr}.jtm-approval-decision>div>*{width:100%}}

/* v2.10 notification enhancements */
.jtm-notification-item[data-type="approval"] .jtm-notification-icon{background:#fffbeb;color:#b45309}.jtm-notifications b{min-width:22px;text-align:center;display:inline-flex;align-items:center;justify-content:center}

/* Task dependencies 2.11.0 */
.jtm-dependencies{margin-top:24px;padding:20px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.jtm-dependency-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.jtm-dependency-head h3{margin:0 0 4px}.jtm-dependency-head p{margin:0;color:#64748b;font-size:12px}.jtm-dependency-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.jtm-dependency-badge.is-blocked{background:#fee2e2;color:#b91c1c}.jtm-dependency-badge.is-ready{background:#dcfce7;color:#15803d}.jtm-dependency-add{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,.7fr) minmax(145px,.45fr) auto;gap:10px;align-items:end}.jtm-dependency-add select,.jtm-dependency-add input{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.jtm-dependency-lag{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:center}.jtm-dependency-lag span{grid-column:1/-1;font-size:11px;color:#64748b}.jtm-dependency-lag small{font-size:11px;color:#64748b}.jtm-dependency-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.jtm-dependency-columns h4{margin:0 0 9px;font-size:13px}.jtm-dependency-list{display:grid;gap:8px}.jtm-dependency{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#fff;border:1px solid #e2e8f0;border-right:4px solid #f59e0b;border-radius:10px}.jtm-dependency.done{border-right-color:#16a34a}.jtm-dependency.outgoing{border-right-color:#1c3bb2}.jtm-dependency strong{display:block;font-size:13px}.jtm-dependency small{display:block;margin-top:3px;color:#64748b;font-size:11px}.jtm-dependency small b{color:#1c3bb2}.jtm-remove-dependency{min-height:32px!important;padding:5px 10px!important;font-size:11px!important}@media(max-width:900px){.jtm-dependency-add{grid-template-columns:1fr 1fr}.jtm-dependency-columns{grid-template-columns:1fr}}@media(max-width:560px){.jtm-dependency-add{grid-template-columns:1fr}.jtm-dependency-head{align-items:stretch;flex-direction:column}.jtm-dependency-badge{align-self:flex-start}}

/* 2.12.0 Professional time tracking */
.jtm-time-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.jtm-time-head h3{margin:0}.jtm-time-head p{margin:4px 0 0;color:#64748b;font-size:12px}.jtm-live-timer{display:flex;flex-direction:column;align-items:flex-end;background:#f3f6fd;border:1px solid #dbe4f5;border-radius:12px;padding:10px 14px;min-width:150px}.jtm-timer-clock{font-size:24px;letter-spacing:1px;color:#1C3BB2}.jtm-timer-status{font-size:11px;color:#64748b}.jtm-timer-actions{display:grid;grid-template-columns:minmax(180px,1fr) repeat(4,auto);gap:8px;margin-bottom:12px}.jtm-timer-actions input{min-width:0}.jtm-timer-pause,.jtm-timer-stop{background:#1C3BB2!important;color:#fff!important}.jtm-timer-resume,.jtm-timer-start{background:#A8BAE3!important;color:#1C3BB2!important}.jtm-timesheet-report .jtm-report-card-link{cursor:pointer}@media(max-width:720px){.jtm-time-head{align-items:stretch;flex-direction:column}.jtm-live-timer{align-items:center}.jtm-timer-actions{grid-template-columns:1fr 1fr}.jtm-timer-actions input{grid-column:1/-1}}


/* 2.17.3 - Task file manager UI */
.jtm-card-tabs{display:flex;gap:8px;align-items:center;margin:0 0 18px;padding:6px;background:#eef2f7;border:1px solid #dbe3ee;border-radius:14px;position:sticky;top:0;z-index:4}
.jtm-card-tabs button{border:0;border-radius:10px;padding:10px 16px;background:transparent;color:#475569;cursor:pointer;font-weight:700}
.jtm-card-tabs button.active{background:#fff;color:#1c3bb2;box-shadow:0 4px 14px rgba(15,23,42,.08)}
.jtm-card-tabs b{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;border-radius:99px;background:#e7edff;margin-right:6px;font-size:11px}
.jtm-card-editor.jtm-files-mode{display:block}.jtm-card-editor.jtm-files-mode .jtm-editor-side{display:none!important}
.jtm-card-editor.jtm-files-mode .jtm-editor-main>*{display:none!important}.jtm-card-editor.jtm-files-mode .jtm-editor-main>.jtm-attachments{display:block!important}
.jtm-files-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.jtm-files-heading h3{margin:0 0 4px}.jtm-files-heading p{margin:0;color:#64748b;font-size:12px}
.jtm-file-count{background:#eef2ff;color:#1c3bb2;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:800}
.jtm-file-dropzone{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:190px;padding:24px;border:2px dashed #a8bae3;border-radius:16px;background:#f8faff;cursor:pointer;text-align:center;transition:.2s}
.jtm-file-dropzone:hover,.jtm-file-dropzone.is-dragover{border-color:#1c3bb2;background:#eef3ff;transform:translateY(-1px)}
.jtm-file-dropzone input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.jtm-file-dropzone strong{font-size:16px;color:#0f172a}.jtm-file-dropzone small{color:#64748b}
.jtm-attachment-list{display:grid;gap:10px;margin-top:16px}.jtm-attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:13px}
.jtm-attachment a{font-weight:800;text-decoration:none}.jtm-attachment small{display:block;color:#64748b;margin-top:4px}
@media(max-width:760px){.jtm-card-tabs{overflow:auto}.jtm-card-tabs button{white-space:nowrap}.jtm-files-heading{align-items:flex-start;flex-direction:column}}

/* JTM 2.18.0 board file manager */
.jtm-card-file-badge{margin-top:10px;border:0;background:#eef2ff;color:#1c3bb2;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;cursor:pointer}.jtm-card-file-badge:hover{background:#dfe7ff}.jtm-file-popover{position:absolute;z-index:100000;width:330px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 20px 60px rgba(15,23,42,.18);padding:12px;direction:rtl}.jtm-file-popover-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 10px}.jtm-file-popover-head button{border:0;background:#f1f5f9;border-radius:8px;width:30px;height:30px;cursor:pointer}.jtm-file-popover a{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:9px;border-radius:10px;text-decoration:none;color:#0f172a}.jtm-file-popover a:hover{background:#f8fafc}.jtm-file-popover a b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jtm-file-popover a small{color:#64748b}.jtm-file-popover-all{width:100%;margin-top:8px}.jtm-board-files-panel{display:grid;gap:16px}.jtm-files-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jtm-files-summary article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px}.jtm-files-summary strong{display:block;font-size:22px}.jtm-files-summary span{color:#64748b}.jtm-files-filters{display:flex;gap:10px;flex-wrap:wrap}.jtm-files-filters input{min-width:250px;flex:1}.jtm-files-table{display:grid;gap:9px}.jtm-file-row{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px}.jtm-file-main{display:flex;align-items:center;gap:11px;min-width:0}.jtm-file-icon{font-size:24px}.jtm-file-main>div{min-width:0}.jtm-file-main a{display:block;font-weight:800;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jtm-file-main small{display:block;color:#64748b;margin-top:4px}.jtm-file-meta{display:flex;align-items:center;gap:12px;color:#64748b;white-space:nowrap}.jtm-file-meta button{padding:7px 10px}.jtm-board-actions .jtm-board-files{background:#eef2ff;color:#1c3bb2}.jtm-card-editor.jtm-files-mode .jtm-editor-side{display:none}.jtm-card-editor.jtm-files-mode{grid-template-columns:1fr}@media(max-width:720px){.jtm-file-row{align-items:flex-start;flex-direction:column}.jtm-file-meta{width:100%;flex-wrap:wrap}.jtm-files-summary{grid-template-columns:1fr}.jtm-file-popover{left:12px!important;right:12px;width:auto}}

/* v3.0.0-alpha1 — File Management Sprint 1 */
.jtm-attachment{align-items:flex-start}.jtm-attachment-info{min-width:0;flex:1}.jtm-attachment-info p{margin:7px 0 0;color:#475569;font-size:12px;line-height:1.8}.jtm-attachment-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.jtm-attachment-actions button,.jtm-replace-attachment{border:1px solid #dbe3ef;background:#fff;color:#334155;border-radius:9px;padding:7px 10px;font:inherit;font-size:11px;cursor:pointer}.jtm-delete-attachment{color:#b91c1c!important;border-color:#fecaca!important}.jtm-upload-description{width:100%;min-height:68px;border:1px solid #d8e0ec;border-radius:10px;padding:10px;font:inherit;resize:vertical}.jtm-file-preview{display:grid;gap:14px;height:min(78vh,780px)}.jtm-file-preview img{max-width:100%;max-height:calc(78vh - 60px);margin:auto;border-radius:12px;box-shadow:0 12px 35px rgba(15,23,42,.16)}.jtm-file-preview iframe{width:100%;height:calc(78vh - 60px);border:1px solid #dbe3ef;border-radius:12px;background:#fff}.jtm-preview-back{justify-self:start;border:0;border-radius:9px;background:#1c3bb2;color:#fff;padding:9px 14px;cursor:pointer}@media(max-width:700px){.jtm-attachment{flex-direction:column}.jtm-attachment-actions{width:100%;justify-content:flex-start}}

/* Phase 2 management: financial planning */
.jtm-financial-panel{display:grid;gap:18px}.jtm-financial-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px}.jtm-financial-form label{display:grid;gap:7px;font-weight:700}.jtm-financial-form input{width:100%;min-height:44px;border:1px solid #dbe3f0;border-radius:10px;padding:8px 12px}.jtm-financial-form button{align-self:end;min-height:44px}.jtm-financial-note{grid-column:1/-1;margin:0;color:#64748b}@media(max-width:760px){.jtm-financial-form{grid-template-columns:1fr}}


/* Phase 2 / Sprint 2: advanced management reports */
.jtm-financial-report{margin:18px 0;padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}
.jtm-financial-report h3{margin:0 0 14px}
.jtm-budget-progress{height:10px;border-radius:999px;background:#e9eef8;overflow:hidden;margin-top:14px}
.jtm-budget-progress i{display:block;height:100%;background:linear-gradient(90deg,#1d4ed8,#3b82f6);border-radius:inherit}
.jtm-report-kpis article.warn{border-color:#f59e0b;background:#fffbeb}
.jtm-score{display:inline-flex;min-width:42px;justify-content:center;padding:4px 9px;border-radius:999px;font-weight:700}
.jtm-score.good{background:#dcfce7;color:#166534}.jtm-score.warn{background:#fef3c7;color:#92400e}.jtm-score.bad{background:#fee2e2;color:#991b1b}
@media print{.jtm-report-actions,.jtm-insight-close{display:none!important}.jtm-insight-panel{position:static!important;width:auto!important;max-height:none!important;box-shadow:none!important}.jtm-financial-report,.jtm-report-section,.jtm-report-grid section{break-inside:avoid}}

/* JTM 3.1.0-beta2.2 — compact two-row board command area */
.jtm-board-head{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  align-items:start!important;
  margin-bottom:18px!important;
}
.jtm-board-head>div:first-child{
  width:100%;
  min-width:0;
  padding:0 2px;
}
.jtm-board-head>div:first-child h2{
  margin:0 0 5px!important;
  line-height:1.55;
}
.jtm-board-head>div:first-child p{
  margin:0!important;
  max-width:100%;
  line-height:1.8;
  overflow-wrap:anywhere;
}
.jtm-board-actions{
  width:100%;
  display:grid!important;
  grid-template-columns:repeat(9,minmax(0,1fr));
  gap:8px!important;
  align-items:stretch!important;
}
.jtm-board-actions button{
  width:100%;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1.25!important;
  text-align:center!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:1280px){
  .jtm-board-actions{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:900px){
  .jtm-board-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:620px){
  .jtm-board-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jtm-board-actions button{white-space:normal;height:46px!important;min-height:46px!important;max-height:46px!important;padding:5px 8px!important}
}

.jtm-permission-panel{max-width:900px;margin:auto}.jtm-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.jtm-permission-grid label{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #dbe3f2;border-radius:12px;background:#fff}.jtm-permission-grid input{width:18px;height:18px}.jtm-save-member-permissions,.jtm-members-back{min-height:42px}@media(max-width:640px){.jtm-permission-grid{grid-template-columns:1fr}}

.jtm-client-manager{display:grid;gap:18px}.jtm-client-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--jtm-border,#e5e7eb);border-radius:16px}.jtm-client-intro h3{margin:0 0 5px}.jtm-client-intro p{margin:0;color:#64748b}.jtm-client-intro a{white-space:nowrap}.jtm-client-form{display:grid;grid-template-columns:1fr 1.2fr auto auto;gap:10px;align-items:center}.jtm-client-form input[type=text],.jtm-client-form input[type=email]{min-height:42px}.jtm-client-form label{white-space:nowrap}.jtm-client-list{display:grid;gap:10px}.jtm-client-list article{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:13px 14px;border:1px solid var(--jtm-border,#e5e7eb);border-radius:14px}.jtm-client-list strong,.jtm-client-list small{display:block}.jtm-client-list small{color:#64748b;margin-top:3px}@media(max-width:850px){.jtm-client-form{grid-template-columns:1fr 1fr}.jtm-client-list article{grid-template-columns:1fr auto}}@media(max-width:560px){.jtm-client-intro{align-items:flex-start;flex-direction:column}.jtm-client-form{grid-template-columns:1fr}.jtm-client-list article{grid-template-columns:1fr}.jtm-client-list article button{width:100%}}

/* JTM 4.0.0-beta1 — Professional Collaboration */
.jtm-collaboration{margin-top:32px;padding:20px;border:1px solid #dbe3f0;border-radius:20px;background:#f8fafc}
.jtm-comments-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.jtm-comments-head h3{margin:0 0 4px;font-size:18px}.jtm-comments-head p{margin:0;color:#64748b;font-size:12px;line-height:1.8}
.jtm-comments-head>span{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background:#eef2ff;color:#1c3bb2;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:800}
.jtm-comment-composer{position:relative;margin-bottom:18px;padding:14px;border:1px solid #dbe3f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.jtm-reply-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px -4px 10px;padding:9px 11px;border-radius:10px;background:#eef2ff;color:#3730a3;font-size:12px}
.jtm-reply-context[hidden]{display:none!important}.jtm-reply-context button{border:0;background:transparent;color:#b91c1c;font:inherit;cursor:pointer}
.jtm-comment-input-wrap{position:relative}.jtm-comment-text{min-height:105px;margin:0;border-color:#cfd9e8!important;box-shadow:none!important;line-height:1.9}
.jtm-comment-text:focus{border-color:#1c3bb2!important;box-shadow:0 0 0 3px rgba(28,59,178,.09)!important;outline:0}
.jtm-mention-suggestions{position:absolute;z-index:20;right:10px;left:10px;bottom:10px;max-height:220px;overflow:auto;padding:6px;border:1px solid #dbe3f0;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.18)}
.jtm-mention-suggestions[hidden]{display:none!important}.jtm-mention-suggestions button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:9px;background:transparent;padding:9px 10px;text-align:right;font:inherit;cursor:pointer}
.jtm-mention-suggestions button:hover{background:#f1f5ff}.jtm-mention-suggestions strong{font-size:12px}.jtm-mention-suggestions code{direction:ltr;color:#1c3bb2;font-size:11px}
.jtm-comment-composer-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.jtm-comment-file-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 12px;border:1px solid #dbe3f0;border-radius:10px;background:#fff;color:#334155;font-size:12px;font-weight:700;cursor:pointer}
.jtm-comment-username-hint{margin-left:auto;color:#64748b;font-size:11px}.jtm-send-comment{min-height:40px;margin:0!important;padding:0 18px!important}
.jtm-comment-selected-files{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.jtm-comment-selected-files:empty{display:none}.jtm-comment-selected-files span{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:6px 9px;border-radius:9px;background:#f1f5f9;color:#334155;font-size:11px}.jtm-comment-selected-files small{color:#94a3b8}
.jtm-comment-list{display:grid;gap:12px}.jtm-collaboration .jtm-comment{display:grid!important;grid-template-columns:40px minmax(0,1fr);gap:11px;margin:0!important;padding:14px!important;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(15,23,42,.035)}
.jtm-collaboration .jtm-comment>div{display:block;justify-content:initial;gap:initial}.jtm-comment-avatar{width:40px;height:40px;display:grid!important;place-items:center;border-radius:13px;background:linear-gradient(145deg,#1c3bb2,#3457d5);color:#fff;font-size:15px;font-weight:900}
.jtm-comment-body{min-width:0}.jtm-comment-body>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.jtm-comment-body>header>div{display:flex;align-items:center;gap:8px;min-width:0}.jtm-comment-body>header strong{font-size:13px}.jtm-comment-body>header code{direction:ltr;color:#64748b;background:#f1f5f9;border-radius:6px;padding:2px 5px;font-size:10px}.jtm-comment-body>header time{white-space:nowrap;font-size:10px;color:#94a3b8}
.jtm-comment-content{margin-top:8px;color:#1e293b;font-size:13px;line-height:2;overflow-wrap:anywhere}.jtm-comment-content p{margin:0}.jtm-comment.is-deleted .jtm-comment-content{color:#94a3b8;font-style:italic}
.jtm-mention{display:inline-flex;direction:ltr;unicode-bidi:isolate;padding:0 5px;border-radius:6px;background:#e9edff;color:#1c3bb2;font-weight:800;text-decoration:none}
.jtm-comment-body>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px solid #f1f5f9}.jtm-comment-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.jtm-comment-tools button{border:0;background:transparent;color:#64748b;border-radius:7px;padding:4px 7px;font:inherit;font-size:10px;cursor:pointer}.jtm-comment-tools button:hover{background:#f1f5f9;color:#1c3bb2}.jtm-comment-tools .jtm-delete-comment:hover{background:#fef2f2;color:#b91c1c}
.jtm-comment-read{color:#15803d;font-size:10px;white-space:nowrap}.jtm-comment-read.is-pending{color:#94a3b8}
.jtm-comment-reactions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:9px}.jtm-comment-reaction{display:inline-flex;align-items:center;gap:4px;min-height:28px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;padding:2px 8px;font-size:12px;cursor:pointer}.jtm-comment-reaction:hover,.jtm-comment-reaction.active{border-color:#9fb2ff;background:#eef2ff}.jtm-comment-reaction b{color:#475569;font-size:10px}
.jtm-comment-replies{display:grid;gap:9px;margin-top:12px;padding-right:15px;border-right:2px solid #dbe3f0}.jtm-collaboration .jtm-comment.is-reply{grid-template-columns:34px minmax(0,1fr);padding:11px!important;background:#fbfdff;box-shadow:none}.jtm-comment.is-reply .jtm-comment-avatar{width:34px;height:34px;border-radius:11px;font-size:12px}
.jtm-comment-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.jtm-comment-attachment{display:flex;align-items:center;gap:9px;min-width:0;padding:8px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc}.jtm-comment-attachment-thumb{width:44px;height:44px;flex:0 0 44px;border-radius:8px;overflow:hidden}.jtm-comment-attachment-thumb img{width:100%;height:100%;object-fit:cover}.jtm-comment-attachment>div{min-width:0}.jtm-comment-attachment a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1c3bb2;font-size:11px;font-weight:800;text-decoration:none}.jtm-comment-attachment small{display:block;margin-top:3px;color:#94a3b8;font-size:9px}
.jtm-comment-history-panel{max-width:820px;margin:auto}.jtm-comment-history-panel>button{border:0;border-radius:10px;background:#eef2ff;color:#1c3bb2;padding:9px 13px;font:inherit;cursor:pointer}.jtm-comment-history-list{display:grid;gap:10px;margin-top:18px}.jtm-comment-history-list article{padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.jtm-comment-history-list header{display:flex;justify-content:space-between;gap:12px}.jtm-comment-history-list p{white-space:pre-wrap;line-height:1.9}.jtm-comment-history-list small,.jtm-comment-history-list time{color:#94a3b8;font-size:10px}

/* JTM 4.0.0-beta2 — Mobile-only shell; desktop rules remain untouched */
.jtm-mobile-nav-toggle,.jtm-mobile-nav-close,.jtm-mobile-sidebar-backdrop,.jtm-mobile-actions-toggle{display:none!important}
@media(max-width:782px){
 html,body{max-width:100%;overflow-x:hidden}
 .jtm-wrap,.jtm-front{width:100%;max-width:100%;margin:0!important}
 .jtm-shell{display:block!important;min-height:100dvh;overflow:hidden}
 .jtm-main{width:100%;min-width:0}
 .jtm-topbar{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;position:sticky;top:0;z-index:500;min-height:64px;height:auto!important;padding:8px 10px!important;gap:9px;background:#fff;box-shadow:0 4px 18px rgba(15,23,42,.07)}
 body.admin-bar .jtm-topbar{top:46px}
 .jtm-mobile-nav-toggle{position:static!important;z-index:auto!important;width:42px;height:42px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #dbe3f0;border-radius:12px;background:#fff;box-shadow:none;cursor:pointer;margin:0!important;padding:0!important}
 .jtm-mobile-nav-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:#00092e}
 .jtm-topbar-title{min-width:0;overflow:hidden}
 .jtm-topbar h1{font-size:14px!important;line-height:1.5;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .jtm-topbar p{display:block!important;margin:1px 0 0!important;font-size:9px!important;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#7b8497}
 .jtm-top-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:5px!important;min-width:0}
 .jtm-top-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;height:38px;padding:0 8px!important;border-radius:10px!important;font-size:9px!important;white-space:nowrap}
 .jtm-mobile-nav-lock{overflow:hidden!important}
 .jtm-mobile-sidebar-backdrop{display:block!important;position:fixed;inset:0;z-index:100001;background:rgba(0,9,46,.58);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:.22s ease}
 .jtm-sidebar{position:fixed!important;z-index:100003;inset:0 0 0 auto;width:min(86vw,330px);height:100dvh;min-height:0!important;overflow-y:auto;overscroll-behavior:contain;padding:22px 16px!important;display:flex!important;flex-direction:column!important;gap:15px!important;transform:translateX(105%);transition:transform .24s ease;box-shadow:-20px 0 55px rgba(0,0,0,.24)}
 .jtm-mobile-nav-close{display:grid!important;place-items:center;position:absolute;top:10px;left:10px;width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-size:25px;cursor:pointer}
 .jtm-shell.mobile-nav-open .jtm-sidebar{transform:translateX(0)}
 .jtm-shell.mobile-nav-open .jtm-mobile-sidebar-backdrop{opacity:1;visibility:visible}
 .jtm-sidebar .jtm-board-list{display:flex!important;flex-direction:column!important;overflow:visible!important;gap:7px!important}
 .jtm-sidebar .jtm-board-list button{min-height:44px;flex:0 0 auto}
 .jtm-content{width:100%;padding:12px!important;overflow-x:hidden!important}
 .jtm-empty{padding:30px 16px}
 .jtm-board-head{gap:10px!important;align-items:flex-start!important;flex-wrap:wrap}
 .jtm-board-head>div:first-child{width:100%;min-width:0}
 .jtm-board-head h2{font-size:19px!important}
 .jtm-board-head p{font-size:11px;line-height:1.8}
 .jtm-mobile-actions-toggle{display:flex!important;width:100%;min-height:44px;align-items:center;justify-content:center;border:1px solid #dbe3f0;border-radius:11px;background:#fff;color:#1c3bb2;font:inherit;font-weight:800;cursor:pointer}
 .jtm-board-actions{display:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%}
 .jtm-board-actions.mobile-open{display:grid!important}
 .jtm-board-actions button{height:44px!important;min-height:44px!important;max-height:none!important;padding:6px 7px!important;white-space:normal!important;font-size:10px!important}
 .jtm-toolbar{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin-bottom:12px!important}
 .jtm-toolbar>*{width:100%!important;min-width:0!important}
 .jtm-search{grid-column:1/-1}
 .jtm-bulk-actions{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr;gap:7px}
 .jtm-bulk-actions[hidden]{display:none!important}
 .jtm-kanban{width:calc(100vw - 24px)!important;max-width:100%;min-width:0!important;display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden;padding:2px 1px 14px;scroll-snap-type:x mandatory;scroll-padding:0 2px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
 .jtm-kanban::-webkit-scrollbar{height:6px}
 .jtm-kanban::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:99px}
 .jtm-list{width:auto!important;flex:0 0 calc(100vw - 42px);max-width:420px;scroll-snap-align:start;padding:10px!important}
 .jtm-card{touch-action:pan-y;min-height:88px}
 .jtm-add-card{min-height:42px}
 .jtm-inline-dashboard{overflow:hidden}
 .jtm-dashboard-grid,.jtm-report-kpis,.jtm-pd-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .jtm-pd-grid,.jtm-report-grid{grid-template-columns:1fr!important}

 /* Compact, readable mobile Gantt */
 .jtm-inline-gantt{overflow:visible!important;margin:14px 0 18px!important;padding:10px!important;border-radius:14px!important}
 .jtm-gantt-inline-head,.jtm-gantt-toolbar{align-items:flex-start!important;gap:8px!important;margin-bottom:10px!important}
 .jtm-gantt-inline-head>div,.jtm-gantt-toolbar>div{min-width:0}
 .jtm-gantt-inline-head strong,.jtm-gantt-toolbar strong{font-size:14px!important}
 .jtm-gantt-inline-head p,.jtm-gantt-toolbar p{font-size:10px!important;line-height:1.7;margin-top:2px!important}
 .jtm-inline-gantt-refresh,.jtm-gantt-refresh{min-height:36px!important;padding:6px 10px!important;font-size:10px!important}
 .jtm-inline-gantt-body,.jtm-gantt-body{width:100%;max-width:100%;overflow:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border-radius:12px;scrollbar-width:thin;direction:rtl}
 .jtm-inline-gantt-body{max-height:62dvh!important;min-height:150px}
 .jtm-gantt-grid.is-compact{grid-template-columns:112px max-content!important;min-width:max-content!important;direction:rtl}
 .jtm-gantt-grid.is-compact .jtm-gantt-corner,.jtm-gantt-grid.is-compact .jtm-gantt-label{right:0!important;width:112px;min-width:112px;max-width:112px;padding:8px!important;box-shadow:-8px 0 14px -14px rgba(15,23,42,.7)}
 .jtm-gantt-grid.is-compact .jtm-gantt-corner{min-height:47px;display:flex;align-items:center;font-size:11px}
 .jtm-gantt-grid.is-compact .jtm-gantt-label{min-height:62px}
 .jtm-gantt-grid.is-compact .jtm-gantt-label strong{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px!important;line-height:1.55}
 .jtm-gantt-grid.is-compact .jtm-gantt-label small{font-size:8px!important;line-height:1.45;margin-top:3px!important;white-space:normal}
 .jtm-gantt-grid.is-compact .jtm-gantt-deps{display:none}
 .jtm-gantt-grid.is-compact .jtm-gantt-days{height:47px;min-height:47px}
 .jtm-gantt-grid.is-compact .jtm-gantt-days span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:4px 0!important;min-width:38px;font-size:10px!important}
 .jtm-gantt-day-compact b{font-size:11px;line-height:1}
 .jtm-gantt-day-compact small{display:block;min-height:10px;font-size:7px;color:#64748b;line-height:1}
 .jtm-gantt-grid.is-compact .jtm-gantt-track{min-height:62px}
 .jtm-gantt-grid.is-compact .jtm-gantt-bar{height:28px!important;min-width:20px;border-radius:7px;cursor:pointer;touch-action:pan-x pan-y}
 .jtm-gantt-grid.is-compact .jtm-gantt-bar b{font-size:8px!important}
 .jtm-gantt-grid.is-compact .jtm-gantt-milestone{width:18px;height:18px;cursor:pointer}
 .jtm-gantt-note{position:sticky;right:0;margin:0!important;padding:9px 10px!important;font-size:9px!important;line-height:1.7;background:#fff;border-top:1px solid #eef0f4}

 .jtm-insight-panel{inset:8px!important;width:auto!important;max-height:calc(100dvh - 16px)!important;border-radius:16px!important}
 .jtm-insight-head{position:sticky;top:0;z-index:3;background:#fff}
 .jtm-modal-panel{width:100%!important;height:100dvh!important;max-height:none!important;margin:0!important;border-radius:0!important;overflow:auto!important;overscroll-behavior:contain}
 .jtm-modal-backdrop{display:none}
 .jtm-modal-close{position:fixed!important;top:max(10px,env(safe-area-inset-top))!important;left:10px!important;right:auto!important;margin:0!important;width:42px!important;height:42px!important;z-index:100010!important;background:#e2e8f0!important;box-shadow:0 5px 18px rgba(15,23,42,.14)!important}
 body.admin-bar .jtm-modal-close{top:56px!important}
 .jtm-modal-body{padding:58px 12px 22px!important}
 .jtm-card-tabs{position:sticky;top:0;z-index:20;display:flex;overflow-x:auto;padding:5px;background:#f8fafc}
 .jtm-card-tabs button{flex:1;min-width:max-content;min-height:42px}
 .jtm-card-editor{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
 .jtm-editor-side{position:static!important;grid-row:1!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px!important}
 .jtm-editor-main{grid-row:2!important;min-width:0}
 .jtm-editor-side label{min-width:0;margin:0!important}
 .jtm-editor-side select,.jtm-editor-side input{min-height:42px}
 .jtm-label-manager,.jtm-card-timeline,.jtm-card-meta{grid-column:1/-1}
 .jtm-title-input{font-size:20px!important}
 .jtm-description{min-height:115px}
 .jtm-dependency-add,.jtm-time-add,.jtm-timer-actions,.jtm-attachment-upload,.jtm-member-add,.jtm-custom-field-add{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 .jtm-dependency-columns{grid-template-columns:1fr!important}
 .jtm-time-head,.jtm-files-heading{align-items:flex-start!important;flex-direction:column!important}
 .jtm-live-timer{width:100%}
 .jtm-time-tracking,.jtm-attachments,.jtm-dependencies,.jtm-task-approval,.jtm-custom-fields-card{padding:13px!important;border-radius:15px!important}
 .jtm-table-wrap,.jtm-table-scroll,.jtm-users-list,.jtm-status-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .jtm-table,.jtm-table-scroll table{min-width:680px}
 .jtm-member-add select{width:100%}
 .jtm-notification-list{max-height:none!important}
 .jtm-notification-item{grid-template-columns:34px minmax(0,1fr)!important}
 .jtm-notification-meta{align-items:flex-start;flex-direction:column;gap:3px!important}
 .jtm-notification-actions button{min-height:36px}
 .jtm-collaboration{margin-top:20px;padding:12px;border-radius:16px}
 .jtm-comments-head{align-items:flex-start}
 .jtm-comments-head>span{padding:5px 8px}
 .jtm-comment-composer{padding:10px}
 .jtm-comment-composer-actions{display:grid;grid-template-columns:1fr auto;gap:8px}
 .jtm-comment-file-button{width:100%}
 .jtm-comment-username-hint{display:none}
 .jtm-send-comment{min-width:90px}
 .jtm-collaboration .jtm-comment{grid-template-columns:34px minmax(0,1fr);gap:8px;padding:10px!important}
 .jtm-comment-avatar{width:34px;height:34px;border-radius:11px;font-size:12px}
 .jtm-comment-body>header{display:block}
 .jtm-comment-body>header>div{flex-wrap:wrap}
 .jtm-comment-body>header time{display:block;margin-top:4px}
 .jtm-comment-body>footer{align-items:flex-start;flex-direction:column}
 .jtm-comment-read{white-space:normal}
 .jtm-comment-replies{padding-right:8px}
 .jtm-comment-attachments{grid-template-columns:1fr}
 .jtm-comment-reaction{min-height:32px}
 .jtm-error{right:10px;left:10px;bottom:10px;text-align:center}
}
@media(max-width:480px){
 .jtm-topbar{grid-template-columns:42px minmax(0,1fr) auto;padding:7px 8px!important;gap:7px}
 .jtm-topbar p{display:none!important}
 .jtm-top-actions .jtm-global-search{font-size:0!important;width:38px;padding:0!important}
 .jtm-top-actions .jtm-global-search:before{content:'⌕';font-size:19px}
 .jtm-top-actions .jtm-notifications{font-size:0!important;min-width:44px;padding:0 5px!important}
 .jtm-top-actions .jtm-notifications:before{content:'🔔';font-size:14px}
 .jtm-top-actions .jtm-notifications b{font-size:9px;min-width:18px;padding:1px 5px}
 .jtm-board-actions{grid-template-columns:1fr 1fr!important}
 .jtm-toolbar{grid-template-columns:1fr!important}
 .jtm-toolbar>*{grid-column:1!important}
 .jtm-list{flex-basis:calc(100vw - 32px)}
 .jtm-editor-side{grid-template-columns:1fr}
 .jtm-label-manager,.jtm-card-timeline,.jtm-card-meta{grid-column:1}
 .jtm-dashboard-grid,.jtm-report-kpis,.jtm-pd-stats{grid-template-columns:1fr 1fr!important}
 .jtm-comment-composer-actions{grid-template-columns:1fr}
 .jtm-send-comment{width:100%}
 .jtm-gantt-grid.is-compact{grid-template-columns:96px max-content!important}
 .jtm-gantt-grid.is-compact .jtm-gantt-corner,.jtm-gantt-grid.is-compact .jtm-gantt-label{width:96px;min-width:96px;max-width:96px;padding:7px!important}
}

.jtm-member-username{display:block;width:max-content;margin-top:4px;direction:ltr;color:#1c3bb2;background:#eef2ff;border-radius:6px;padding:2px 6px;font-size:10px}

/* JTM 4.0.0-beta3 — exact mobile header alignment; desktop unaffected */
.jtm-search-label,.jtm-search-icon,.jtm-notification-icon{display:none}
@media(max-width:782px){
  .jtm-topbar{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:44px minmax(150px,1fr) minmax(92px,auto) 44px!important;
    grid-template-areas:"notify search title menu"!important;
    gap:10px!important;
    min-height:76px!important;
    padding:10px 12px!important;
    align-items:center!important;
  }
  .jtm-mobile-nav-toggle{grid-area:menu!important;direction:rtl}
  .jtm-topbar-title{grid-area:title!important;direction:rtl!important;min-width:0!important;text-align:right!important;overflow:visible!important}
  .jtm-topbar-title h1{font-size:13px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
  .jtm-topbar-title p{display:none!important}
  .jtm-top-actions{grid-area:notify / notify / search / search!important;display:contents!important}
  .jtm-top-actions .jtm-global-search{
    grid-area:search!important;
    direction:rtl!important;
    width:100%!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 13px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:9px!important;
    border:1px solid #dbe3f0!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#7b8497!important;
    box-shadow:none!important;
    font-size:11px!important;
    overflow:hidden!important;
  }
  .jtm-search-label{display:block!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
  .jtm-search-icon{display:block!important;position:relative;flex:0 0 18px;width:18px;height:18px;border:2px solid #0f172a;border-radius:50%}
  .jtm-search-icon:after{content:"";position:absolute;width:7px;height:2px;background:#0f172a;border-radius:2px;left:-5px;bottom:-2px;transform:rotate(45deg);transform-origin:center}
  .jtm-top-actions .jtm-notifications{
    grid-area:notify!important;
    position:relative!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid #dbe3f0!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#0f172a!important;
    box-shadow:none!important;
    font-size:0!important;
    overflow:visible!important;
  }
  .jtm-notification-icon{display:block!important;position:relative;width:17px;height:19px;border:2px solid #0f172a;border-top-left-radius:10px;border-top-right-radius:10px;border-bottom:0}
  .jtm-notification-icon:before{content:"";position:absolute;left:-4px;right:-4px;bottom:-3px;height:2px;background:#0f172a;border-radius:2px}
  .jtm-notification-icon:after{content:"";position:absolute;left:50%;bottom:-7px;width:5px;height:3px;border-radius:0 0 5px 5px;background:#0f172a;transform:translateX(-50%)}
  .jtm-top-actions .jtm-notifications b{
    position:absolute!important;
    top:-6px!important;
    right:-6px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:20px!important;
    height:20px!important;
    padding:0 5px!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#ef4444!important;
    color:#fff!important;
    font-size:9px!important;
    line-height:1!important;
  }
  /* Hide the separate floating mobile navigation only on the Task Manager page. */
  body.jtm-task-manager-page .jost-floating-menu,
  body.jtm-task-manager-page .jost-mobile-floating-menu,
  body.jtm-task-manager-page .jost-mobile-menu,
  body.jtm-task-manager-page .jfm-wrap,
  body.jtm-task-manager-page .jfm-menu,
  body.jtm-task-manager-page .jmfm-wrap,
  body.jtm-task-manager-page #jost-floating-menu,
  body.jtm-task-manager-page #jost-mobile-floating-menu,
  body.jtm-task-manager-page [class*="jost"][class*="floating-menu"],
  body.jtm-task-manager-page [id*="jost"][id*="floating-menu"]{display:none!important}
}
@media(max-width:430px){
  .jtm-topbar{grid-template-columns:42px minmax(118px,1fr) minmax(82px,auto) 42px!important;gap:7px!important;padding:9px 8px!important}
  .jtm-topbar-title h1{font-size:12px!important}
  .jtm-top-actions .jtm-global-search{height:42px!important;min-height:42px!important;padding:0 10px!important;font-size:10px!important}
  .jtm-top-actions .jtm-notifications,.jtm-mobile-nav-toggle{width:42px!important;min-width:42px!important;height:42px!important}
}


/* JTM 4.0.0-beta4 — definitive mobile header and external floating-menu isolation */
@media (max-width:782px){
  body.jtm-task-manager-page{padding-bottom:0!important}
  .jtm-topbar{
    direction:rtl!important;
    display:grid!important;
    grid-template-columns:44px minmax(78px,max-content) minmax(0,1fr) 44px!important;
    grid-template-areas:"menu title search notify"!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-height:74px!important;
    height:74px!important;
    padding:10px 14px!important;
    overflow:visible!important;
    background:#fff!important;
    border-bottom:1px solid #e8edf5!important;
    box-shadow:0 4px 15px rgba(15,23,42,.055)!important;
  }
  .jtm-mobile-nav-toggle{
    grid-area:menu!important;
    width:44px!important;min-width:44px!important;height:44px!important;
    margin:0!important;padding:0!important;
    border:1px solid #dbe3f0!important;border-radius:12px!important;
    background:#fff!important;box-shadow:none!important;
  }
  .jtm-mobile-nav-toggle span{width:21px!important;height:2px!important;background:#0f172a!important}
  .jtm-topbar-title{
    grid-area:title!important;
    min-width:0!important;
    width:auto!important;
    overflow:hidden!important;
    direction:rtl!important;
    text-align:right!important;
  }
  .jtm-topbar-title h1{
    margin:0!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:44px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .jtm-topbar-title p{display:none!important}
  .jtm-top-actions{display:contents!important}
  .jtm-top-actions .jtm-global-search{
    grid-area:search!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    height:44px!important;min-height:44px!important;
    margin:0!important;padding:0 13px!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    direction:rtl!important;gap:10px!important;
    border:1px solid #dbe3f0!important;border-radius:12px!important;
    background:#fff!important;color:#7b8497!important;
    box-shadow:none!important;font-size:11px!important;line-height:1!important;
    overflow:hidden!important;
  }
  .jtm-top-actions .jtm-global-search:before{content:none!important;display:none!important}
  .jtm-search-label{
    display:block!important;flex:1 1 auto!important;min-width:0!important;
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    text-align:right!important;font-size:11px!important;color:#7b8497!important;
  }
  .jtm-search-icon{
    display:block!important;position:relative!important;flex:0 0 17px!important;
    width:17px!important;height:17px!important;border:2px solid #0f172a!important;border-radius:50%!important;
  }
  .jtm-search-icon:after{content:""!important;position:absolute!important;width:7px!important;height:2px!important;background:#0f172a!important;left:-5px!important;bottom:-2px!important;transform:rotate(45deg)!important;border-radius:2px!important}
  .jtm-top-actions .jtm-notifications{
    grid-area:notify!important;
    position:relative!important;
    width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
    margin:0!important;padding:0!important;
    display:grid!important;place-items:center!important;
    border:1px solid #dbe3f0!important;border-radius:12px!important;
    background:#fff!important;color:#0f172a!important;box-shadow:none!important;
    font-size:0!important;overflow:visible!important;
  }
  .jtm-top-actions .jtm-notifications:before{content:none!important;display:none!important}
  .jtm-notification-icon{display:block!important;position:relative!important;width:17px!important;height:18px!important;border:2px solid #0f172a!important;border-top-left-radius:10px!important;border-top-right-radius:10px!important;border-bottom:0!important}
  .jtm-notification-icon:before{content:""!important;position:absolute!important;left:-4px!important;right:-4px!important;bottom:-3px!important;height:2px!important;background:#0f172a!important;border-radius:2px!important}
  .jtm-notification-icon:after{content:""!important;position:absolute!important;left:50%!important;bottom:-7px!important;width:5px!important;height:3px!important;background:#0f172a!important;border-radius:0 0 5px 5px!important;transform:translateX(-50%)!important}
  .jtm-top-actions .jtm-notifications b{
    position:absolute!important;top:-7px!important;right:-7px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-width:21px!important;height:21px!important;padding:0 5px!important;
    border:2px solid #fff!important;border-radius:999px!important;
    background:#ef4444!important;color:#fff!important;font-size:9px!important;line-height:1!important;
  }
  body.jtm-task-manager-page [data-jtm-hidden-floating-menu="1"]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
  body.jtm-task-manager-page .jost-floating-menu,
  body.jtm-task-manager-page .jost-mobile-floating-menu,
  body.jtm-task-manager-page .jost-mobile-menu,
  body.jtm-task-manager-page .josthub-floating-menu,
  body.jtm-task-manager-page .josthub-mobile-menu,
  body.jtm-task-manager-page .mobile-floating-menu,
  body.jtm-task-manager-page .floating-mobile-menu,
  body.jtm-task-manager-page .floating-bottom-menu,
  body.jtm-task-manager-page .mobile-bottom-menu,
  body.jtm-task-manager-page .bottom-mobile-menu,
  body.jtm-task-manager-page .jfm-wrap,
  body.jtm-task-manager-page .jfm-menu,
  body.jtm-task-manager-page .jmfm-wrap,
  body.jtm-task-manager-page .jmfm-menu,
  body.jtm-task-manager-page #jost-floating-menu,
  body.jtm-task-manager-page #jost-mobile-floating-menu,
  body.jtm-task-manager-page #josthub-floating-menu,
  body.jtm-task-manager-page #mobile-floating-menu,
  body.jtm-task-manager-page #floating-mobile-menu{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
}
@media (max-width:430px){
  .jtm-topbar{grid-template-columns:42px minmax(72px,max-content) minmax(0,1fr) 42px!important;gap:7px!important;padding:9px 9px!important;height:68px!important;min-height:68px!important}
  .jtm-mobile-nav-toggle,.jtm-top-actions .jtm-notifications{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}
  .jtm-top-actions .jtm-global-search{height:42px!important;min-height:42px!important;padding:0 10px!important}
  .jtm-topbar-title h1{font-size:12px!important;line-height:42px!important}
  .jtm-search-label{font-size:10px!important}
}


/* JTM 4.0.0-beta5 — Font Awesome icons only in the mobile header */
@media (max-width:782px){
  .jtm-mobile-nav-toggle span{display:none!important}
  .jtm-mobile-nav-toggle > .fa-bars{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    color:#0f172a!important;
    font-size:22px!important;
    line-height:1!important;
  }
  .jtm-top-actions .jtm-global-search:before,
  .jtm-top-actions .jtm-notifications:before{content:none!important;display:none!important}
  .jtm-search-icon,
  .jtm-notification-icon{
    border:0!important;
    border-radius:0!important;
    background:none!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    flex:0 0 auto!important;
    position:static!important;
    transform:none!important;
    color:#0f172a!important;
    line-height:1!important;
  }
  .jtm-search-icon{display:inline-flex!important;font-size:18px!important}
  .jtm-notification-icon{display:inline-flex!important;font-size:19px!important}
  /* Font Awesome renders through ::before; do not suppress it. */
  .jtm-search-icon::before,
  .jtm-notification-icon::before,
  .jtm-mobile-nav-toggle > .fa-bars::before,
  .jtm-mobile-nav-close > .fa-times::before{
    display:inline-block!important;
    content:var(--fa)!important;
  }
  .jtm-search-icon::after,
  .jtm-notification-icon::after{content:none!important;display:none!important}
  .jtm-mobile-nav-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:0!important;
  }
  .jtm-mobile-nav-close > .fa-times{font-size:20px!important;line-height:1!important}
}

/* Notification Center Pro — 4.1 */
.jtm-notifications{position:relative}.jtm-notifications:not(.has-unread) b{display:none!important}.jtm-notifications.has-unread{box-shadow:0 0 0 3px rgba(28,59,178,.10)}
.jtm-nc-tools{display:flex;align-items:center;gap:10px;margin-bottom:12px}.jtm-notification-search{flex:1;min-width:0;border:1px solid #dbe3ef;border-radius:11px;padding:10px 12px;font:inherit;background:#fff}.jtm-nc-tools label{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#475569;font-size:12px}.jtm-delete-read-notifications{color:#b45309!important}
.jtm-notification-icon .jtm-fa4{font-family:JTMFontAwesome4!important;font-style:normal!important;font-size:18px!important;line-height:1!important}.jtm-notification-icon[data-type="mention"]{background:#eef2ff;color:#1c3bb2}.jtm-notification-icon[data-type="comment"]{background:#ecfeff;color:#0f766e}.jtm-notification-icon[data-type="assignment"]{background:#f0fdf4;color:#15803d}.jtm-notification-icon[data-type="due_soon"]{background:#fff7ed;color:#c2410c}.jtm-notification-icon[data-type="overdue"]{background:#fef2f2;color:#b91c1c}.jtm-notification-icon[data-type="status_change"]{background:#f5f3ff;color:#6d28d9}.jtm-notification-icon[data-type="approval"]{background:#fffbeb;color:#a16207}.jtm-notification-item[style*="display: none"]{margin:0}
@media(max-width:650px){.jtm-nc-tools{align-items:stretch;flex-direction:column}.jtm-nc-tools label{padding-inline:3px}.jtm-nc-head>div:last-child{width:100%;flex-wrap:wrap}.jtm-nc-head>div:last-child button{flex:1}.jtm-notification-actions button{flex:1}}


/* 4.1.0-beta2 — notification button hotfix */
#jtm-app .jtm-top-actions .jtm-notifications{background:transparent!important;border:0!important;box-shadow:none!important;}
#jtm-app .jtm-top-actions .jtm-notifications.has-unread{background:transparent!important;border:0!important;box-shadow:none!important;}
#jtm-app .jtm-top-actions .jtm-notifications:hover,#jtm-app .jtm-top-actions .jtm-notifications:focus{background:transparent!important;box-shadow:none!important;}


/* 4.1.0-beta3 — notification trigger and popup layout correction */
#jtm-app .jtm-top-actions .jtm-notifications,
#jtm-app .jtm-top-actions .jtm-notifications.has-unread {
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  border:1px solid #dbe3ef!important;
  border-radius:12px!important;
  background:#eef2ff!important;
  box-shadow:none!important;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease!important;
}
#jtm-app .jtm-top-actions .jtm-notifications:hover,
#jtm-app .jtm-top-actions .jtm-notifications:focus-visible {
  background:#eef2ff!important;
  border-color:#c9d5ee!important;
  transform:translateY(-1px)!important;
  outline:none!important;
}
#jtm-app .jtm-top-actions .jtm-notifications .jtm-notification-icon {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#ff7b00!important;
  font-size:19px!important;
  line-height:1!important;
  transition:color .18s ease!important;
}
#jtm-app .jtm-top-actions .jtm-notifications:hover .jtm-notification-icon,
#jtm-app .jtm-top-actions .jtm-notifications:focus-visible .jtm-notification-icon {
  color:#1c3bb2!important;
}
#jtm-app .jtm-top-actions .jtm-notifications b {
  position:absolute!important;
  top:-6px!important;
  left:-6px!important;
  right:auto!important;
  z-index:2!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:2px solid #fff!important;
  border-radius:999px!important;
  background:#ff7b00!important;
  color:#fff!important;
  font-size:9px!important;
  line-height:1!important;
}

.jtm-notification-center{width:100%;max-width:100%;direction:rtl;text-align:right}
.jtm-notification-center .jtm-nc-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 18px!important;
  padding-left:52px!important;
}
.jtm-notification-center .jtm-nc-head>div:first-child{min-width:0;flex:1}
.jtm-notification-center .jtm-nc-head>div:last-child{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  flex:0 0 auto!important;
}
.jtm-notification-center .jtm-nc-head h2{font-size:24px!important;line-height:1.5!important;margin:0 0 4px!important}
.jtm-notification-center .jtm-nc-head p{font-size:12px!important;line-height:1.8!important}
.jtm-notification-center .jtm-nc-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
.jtm-notification-center .jtm-notification-search{width:100%!important;min-height:42px!important}
.jtm-notification-center .jtm-nc-filters{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;overflow:visible!important;gap:8px!important}
.jtm-notification-center .jtm-notification-list{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
  max-height:58vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:2px 0 2px 6px!important;
}
.jtm-notification-center .jtm-notification-item{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  padding:14px!important;
  margin:0!important;
  direction:rtl!important;
  text-align:right!important;
  overflow:hidden!important;
}
.jtm-notification-center .jtm-notification-item>.jtm-notification-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:12px!important;
  position:static!important;
  transform:none!important;
}
.jtm-notification-center .jtm-notification-content{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  display:block!important;
}
.jtm-notification-center .jtm-notification-meta{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  margin:0 0 5px!important;
}
.jtm-notification-center .jtm-notification-content>strong,
.jtm-notification-center .jtm-notification-content>p{
  width:100%!important;
  max-width:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.jtm-notification-center .jtm-notification-content>strong{font-size:14px!important;line-height:1.8!important;margin:0 0 4px!important}
.jtm-notification-center .jtm-notification-content>p{font-size:12px!important;line-height:2!important;margin:0!important;color:#475569!important}
.jtm-notification-center .jtm-notification-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:10px!important;
}

@media(max-width:650px){
  .jtm-notification-center .jtm-nc-head{padding-left:46px!important;gap:12px!important}
  .jtm-notification-center .jtm-nc-head>div:last-child{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .jtm-notification-center .jtm-nc-head>div:last-child button:last-child{grid-column:1/-1}
  .jtm-notification-center .jtm-nc-tools{grid-template-columns:1fr!important;align-items:stretch!important}
  .jtm-notification-center .jtm-nc-filters{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:8px!important}
  .jtm-notification-center .jtm-notification-list{max-height:none!important;padding-left:0!important}
  .jtm-notification-center .jtm-notification-item{padding:11px!important;gap:10px!important}
  .jtm-notification-center .jtm-notification-item>.jtm-notification-icon{flex-basis:36px!important;width:36px!important;height:36px!important;min-width:36px!important}
  .jtm-notification-center .jtm-notification-meta{align-items:flex-start!important;flex-direction:column!important;gap:2px!important}
  .jtm-notification-center .jtm-notification-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .jtm-notification-center .jtm-notification-actions button{width:100%!important}
}

/* 4.1.0-beta4 — notification hover contrast and full card height */
#jtm-app .jtm-top-actions button.jtm-notifications:hover,
#jtm-app .jtm-top-actions button.jtm-notifications:focus,
#jtm-app .jtm-top-actions button.jtm-notifications:focus-visible{
  background:#eef2ff!important;
  border-color:#b8c7e6!important;
  color:#1c3bb2!important;
}
#jtm-app .jtm-top-actions button.jtm-notifications:hover > span.jtm-notification-icon.jtm-fa4,
#jtm-app .jtm-top-actions button.jtm-notifications:focus > span.jtm-notification-icon.jtm-fa4,
#jtm-app .jtm-top-actions button.jtm-notifications:focus-visible > span.jtm-notification-icon.jtm-fa4{
  color:#1c3bb2!important;
  opacity:1!important;
  visibility:visible!important;
  -webkit-text-fill-color:#1c3bb2!important;
}
#jtm-app .jtm-top-actions button.jtm-notifications > span.jtm-notification-icon.jtm-fa4{
  color:#ff7b00!important;
  -webkit-text-fill-color:#ff7b00!important;
}

.jtm-notification-center .jtm-notification-list{
  align-items:stretch!important;
  padding-bottom:12px!important;
  scroll-padding-bottom:18px!important;
}
.jtm-notification-center article.jtm-notification-item{
  flex:0 0 auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:flex-start!important;
  padding:14px 14px 16px!important;
}
.jtm-notification-center .jtm-notification-content{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0!important;
}
.jtm-notification-center .jtm-notification-actions{
  position:static!important;
  inset:auto!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  height:auto!important;
  min-height:38px!important;
  overflow:visible!important;
  padding:2px 0 0!important;
  margin:10px 0 0!important;
}
.jtm-notification-center .jtm-notification-actions button{
  position:static!important;
  transform:none!important;
  height:auto!important;
  min-height:36px!important;
  line-height:1.5!important;
  margin:0!important;
  flex:0 0 auto!important;
}
@media(max-width:650px){
  .jtm-notification-center article.jtm-notification-item{padding:12px 11px 14px!important;overflow:visible!important}
  .jtm-notification-center .jtm-notification-actions{min-height:0!important;padding-top:3px!important}
  .jtm-notification-center .jtm-notification-actions button{min-height:38px!important}
}


/* JTM 4.1.0-beta5 — desktop sidebar close visibility and external support widget isolation */
@media(min-width:783px){#jtm-app .jtm-mobile-nav-close{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}}
body.jtm-task-manager-page [data-jtm-hidden-support-widget="1"]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;transform:scale(0)!important}

/* Calendar Pro 4.2 */
.jtm-cal-controls{row-gap:10px}.jtm-cal-controls>select{min-width:145px}.jtm-cal-milestone-filter{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;white-space:nowrap}.jtm-cal-export{min-height:38px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;padding:7px 12px;cursor:pointer;color:#1C3BB2}.jtm-cal-export:hover{background:#eef3ff}.jtm-cal-event-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:12px}.jtm-cal-event.is-milestone{border-right-color:#ff7b00;background:#fff7ed}.jtm-cal-event.is-milestone .jtm-cal-fa{color:#ff7b00}.jtm-cal-event.is-overdue{box-shadow:inset 0 0 0 1px rgba(220,38,38,.28)}.jtm-cal-cell.is-drop-target,.jtm-cal-agenda-day.is-drop-target{background:#edf3ff!important;box-shadow:inset 0 0 0 2px #1C3BB2}.jtm-cal-help .jtm-cal-fa{color:#ff7b00;margin-left:5px}.jtm-cal-event .jtm-cal-fa{font-family:JTMFontAwesome4!important}
@media(max-width:700px){.jtm-cal-controls>select,.jtm-cal-export,.jtm-cal-milestone-filter{width:100%;min-width:0}.jtm-cal-toolbar{gap:10px}.jtm-cal-controls{display:grid;grid-template-columns:1fr 1fr}.jtm-cal-views{grid-column:1/-1}.jtm-cal-export,.jtm-cal-milestone-filter{justify-content:center}}
@media(max-width:480px){.jtm-cal-controls{grid-template-columns:1fr}.jtm-cal-views{grid-column:auto}}

/* JTM 4.2.0-beta2 — isolated Font Awesome 4 icons for Calendar Pro */
#jtm-app .jtm-cal-fa,.jtm-modal .jtm-cal-fa{font-family:JTMFontAwesome4!important;font-style:normal!important;font-weight:normal!important;font-variant:normal!important;text-transform:none!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background:none!important;border:0!important;box-shadow:none!important}
#jtm-app .jtm-cal-nav button .jtm-cal-fa,.jtm-modal .jtm-cal-nav button .jtm-cal-fa{font-size:14px!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
#jtm-app .jtm-cal-export .jtm-cal-fa,.jtm-modal .jtm-cal-export .jtm-cal-fa{font-size:15px!important;margin-left:6px!important;color:#1C3BB2!important;-webkit-text-fill-color:#1C3BB2!important}
#jtm-app .jtm-cal-export:hover .jtm-cal-fa,.jtm-modal .jtm-cal-export:hover .jtm-cal-fa{color:#ff7b00!important;-webkit-text-fill-color:#ff7b00!important}
#jtm-app .jtm-cal-help .jtm-cal-fa,.jtm-modal .jtm-cal-help .jtm-cal-fa{font-size:16px!important;color:#ff7b00!important;-webkit-text-fill-color:#ff7b00!important}
#jtm-app .jtm-cal-event.is-milestone .jtm-cal-fa,.jtm-modal .jtm-cal-event.is-milestone .jtm-cal-fa{font-size:12px!important;color:#ff7b00!important;-webkit-text-fill-color:#ff7b00!important;margin-left:4px!important}

/* Time Sheet Pro */
.jtm-ts-filters{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto auto auto;gap:10px;align-items:end;margin-bottom:16px}.jtm-ts-filters label{display:grid;gap:5px;font-size:12px;color:#475569}.jtm-ts-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}.jtm-ts-actions .jtm-ts-approve{background:#16a34a!important;color:#fff!important}.jtm-ts-actions .jtm-ts-reject{background:#dc2626!important;color:#fff!important}.jtm-ts-selected{margin-inline-start:auto;color:#64748b}.jtm-ts-badge{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:11px;white-space:nowrap}.jtm-ts-badge.is-draft{background:#eef2ff;color:#4338ca}.jtm-ts-badge.is-submitted{background:#fff7ed;color:#c2410c}.jtm-ts-badge.is-approved{background:#ecfdf5;color:#15803d}.jtm-ts-badge.is-rejected{background:#fef2f2;color:#b91c1c}.jtm-ts-rate-row{display:grid;grid-template-columns:minmax(180px,1fr) repeat(2,minmax(150px,220px));gap:12px;align-items:end;padding:12px;border-bottom:1px solid #e2e8f0}.jtm-ts-rate-row label{display:grid;gap:5px}.jtm-ts-rates-panel>button{margin:14px 6px 0}.jtm-timesheet-pro table td,.jtm-timesheet-pro table th{vertical-align:middle;white-space:nowrap}@media(max-width:900px){.jtm-ts-filters{grid-template-columns:1fr 1fr}.jtm-ts-rate-row{grid-template-columns:1fr}}@media(max-width:600px){.jtm-ts-filters{grid-template-columns:1fr}.jtm-ts-actions button{flex:1 1 45%}}@media print{body *{visibility:hidden!important}.jtm-timesheet-pro,.jtm-timesheet-pro *{visibility:visible!important}.jtm-timesheet-pro{position:absolute;inset:0;background:#fff;padding:20px}.jtm-ts-filters,.jtm-ts-actions{display:none!important}}

/* Dashboard Analytics 4.4 */
.jtm-analytics-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0}.jtm-analytics-kpis article{background:var(--jtm-surface,#fff);border:1px solid var(--jtm-border,#e5e7eb);border-radius:14px;padding:13px;display:grid;grid-template-columns:auto 1fr;gap:4px 9px;align-items:center}.jtm-analytics-kpis article>span{grid-row:1/3;font-size:20px;opacity:.75}.jtm-analytics-kpis strong{font-size:20px}.jtm-analytics-kpis small{opacity:.7}.jtm-analytics-kpis .danger{border-color:#fecaca;background:#fff7f7}.jtm-analytics-kpis .warn{border-color:#fde68a;background:#fffbeb}.jtm-analytics-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.jtm-analytics-grid>section{background:var(--jtm-surface,#fff);border:1px solid var(--jtm-border,#e5e7eb);border-radius:14px;padding:14px}.jtm-analytics-grid h4{margin:0 0 12px}.jtm-member-load{display:grid;gap:8px}.jtm-member-load article{display:flex;justify-content:space-between;align-items:center;padding:9px;border:1px solid var(--jtm-border,#e5e7eb);border-radius:10px}.jtm-member-load article div{display:grid;gap:3px}.jtm-member-load small{opacity:.7}.jtm-member-load span{font-weight:700}.jtm-member-load span.danger{color:#dc2626}.jtm-member-load span.warn{color:#d97706}.jtm-member-load span.good{color:#16a34a}.jtm-mini-chart{height:72px;display:flex;align-items:flex-end;gap:5px;border-bottom:1px solid var(--jtm-border,#e5e7eb);padding:4px}.jtm-mini-chart>i{flex:1;height:64px;display:flex;align-items:flex-end;justify-content:center;gap:2px}.jtm-mini-chart b,.jtm-mini-chart em{width:38%;min-height:3px;border-radius:4px 4px 0 0;background:#94a3b8}.jtm-mini-chart em{background:#22c55e}.jtm-mini-legend{display:flex;gap:14px;font-size:11px;opacity:.75;margin-top:7px}.jtm-priority-pills{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.jtm-priority-pills span{display:flex;justify-content:space-between;padding:10px;border-radius:10px;background:#f8fafc}.jtm-priority-pills .urgent{background:#fef2f2}.jtm-priority-pills .high{background:#fffbeb}.jtm-dashboard-head>div:last-child{display:flex;gap:7px}@media(max-width:1100px){.jtm-analytics-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){.jtm-analytics-kpis{grid-template-columns:repeat(2,1fr)}.jtm-analytics-grid{grid-template-columns:1fr}.jtm-dashboard-head{align-items:flex-start;gap:10px}.jtm-dashboard-head>div:last-child{width:100%;justify-content:flex-end}}


/* Automation Enterprise 4.5 */
.jtm-auto-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.jtm-auto-head h2{margin:0 0 5px}.jtm-auto-queue-kpis{display:grid;grid-template-columns:repeat(4,minmax(95px,1fr));gap:7px}.jtm-auto-queue-kpis span{display:flex;justify-content:space-between;gap:8px;border:1px solid var(--jtm-border,#e5e7eb);background:var(--jtm-surface,#fff);border-radius:10px;padding:8px 10px;font-size:11px;white-space:nowrap}.jtm-auto-queue-kpis span b{font-size:14px;color:#1c3bb2}.jtm-auto-queue-kpis span.danger{border-color:#fecaca;background:#fff7f7}.jtm-auto-queue-kpis span.danger b{color:#dc2626}.jtm-automation-rule>div:last-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.jtm-test-automation,.jtm-retry-auto-job{border:1px solid #b8c7e6!important;background:#eef3ff!important;color:#1c3bb2!important;border-radius:8px!important;padding:6px 10px!important;cursor:pointer}.jtm-test-automation:hover,.jtm-retry-auto-job:hover{background:#1c3bb2!important;color:#fff!important}.jtm-queue-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700}.jtm-queue-status.is-pending{background:#fff7ed;color:#c2410c}.jtm-queue-status.is-running{background:#eff6ff;color:#1d4ed8}.jtm-queue-status.is-done{background:#ecfdf5;color:#15803d}.jtm-queue-status.is-failed{background:#fef2f2;color:#b91c1c}.jtm-automation-panel .jtm-table small{display:block;margin-top:3px;opacity:.7}.jtm-automation-panel .jtm-log-retry{background:#fff7ed;color:#c2410c;padding:3px 7px;border-radius:999px}
@media(max-width:850px){.jtm-auto-head{display:grid}.jtm-auto-queue-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.jtm-auto-queue-kpis{grid-template-columns:1fr 1fr}.jtm-automation-rule>div:last-child{width:100%}.jtm-test-automation,.jtm-delete-automation{flex:1}}

/* Enterprise Global Search 4.6 */
.jtm-search-modal .jtm-modal-panel{width:min(860px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 30px));overflow:hidden;border-radius:18px}
.jtm-search-modal .jtm-modal-body{padding:0!important;overflow:auto;background:var(--jtm-bg,#f8fafc)}
.jtm-global-search-panel{display:flex;flex-direction:column;min-height:420px;background:var(--jtm-surface,#fff)}
.jtm-gs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 10px;border-bottom:1px solid var(--jtm-border,#e5e7eb)}
.jtm-gs-head h2{margin:0;font-size:18px}.jtm-gs-head p{margin:4px 0 0;color:#64748b;font-size:12px}
.jtm-gs-head>div:last-child{display:flex;align-items:center;gap:5px;direction:ltr}.jtm-gs-head kbd{min-width:26px;padding:4px 7px;border:1px solid #cbd5e1;border-bottom-width:2px;border-radius:7px;background:#f8fafc;color:#475569;font:600 11px/1.2 sans-serif;text-align:center;box-shadow:0 1px 1px rgba(15,23,42,.04)}
.jtm-gs-command{position:relative;display:flex;align-items:center;margin:14px 18px 10px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.06);transition:.2s}
.jtm-gs-command:focus-within{border-color:#1c3bb2;box-shadow:0 0 0 3px rgba(28,59,178,.12),0 8px 24px rgba(15,23,42,.07)}
.jtm-gs-command>span{width:46px;display:grid;place-items:center;color:#64748b;font-size:17px}.jtm-gs-command input{width:100%;height:48px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0 0 0 44px!important;font:inherit;color:var(--jtm-text,#0f172a)}
.jtm-gs-clear{position:absolute;left:8px;width:32px;height:32px;border:0!important;border-radius:8px!important;background:transparent!important;color:#64748b!important;padding:0!important;display:grid!important;place-items:center}.jtm-gs-clear:hover{background:#f1f5f9!important;color:#0f172a!important}
.jtm-gs-results{padding:2px 12px 16px;display:grid;gap:12px}.jtm-gs-group{border:1px solid var(--jtm-border,#e5e7eb);border-radius:13px;overflow:hidden;background:var(--jtm-surface,#fff)}
.jtm-gs-group-head{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f8fafc;border-bottom:1px solid var(--jtm-border,#e5e7eb);font-size:11px;color:#64748b}.jtm-gs-group-head strong{color:#334155;font-size:12px}.jtm-gs-group-head b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#e2e8f0;color:#475569}
.jtm-search-result{width:100%;display:grid!important;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important;background:transparent!important;color:inherit!important;text-align:right!important;cursor:pointer;transition:.15s}.jtm-search-result:last-child{border-bottom:0!important}.jtm-search-result:hover,.jtm-search-result.is-active{background:#f1f5ff!important}.jtm-search-result:focus{outline:2px solid rgba(28,59,178,.35);outline-offset:-2px}
.jtm-gs-result-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#eef3ff;color:#1c3bb2;font-size:15px}.jtm-gs-result-main{min-width:0;display:grid;gap:3px}.jtm-gs-result-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.jtm-gs-result-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:11px}.jtm-gs-excerpt{margin:0;color:#64748b;font-size:11px;line-height:1.7;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.jtm-gs-result-meta{display:flex;align-items:center;gap:7px;color:#94a3b8;font-size:10px;white-space:nowrap}.jtm-gs-result-meta .priority{padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#475569}.jtm-gs-result-meta .priority.urgent{background:#fef2f2;color:#dc2626}.jtm-gs-result-meta .priority.high{background:#fff7ed;color:#c2410c}.jtm-gs-result-meta .priority.low{background:#ecfdf5;color:#15803d}
.jtm-gs-empty,.jtm-gs-loading,.jtm-gs-error{display:grid;place-items:center;min-height:220px;padding:28px;text-align:center;color:#64748b}.jtm-gs-error{color:#b91c1c}.jtm-gs-highlight{animation:jtmSearchHighlight 1.8s ease}@keyframes jtmSearchHighlight{0%,35%{box-shadow:0 0 0 4px rgba(255,123,0,.28);background:#fff7ed}100%{box-shadow:none}}
@media(max-width:650px){.jtm-search-modal .jtm-modal-panel{width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0}.jtm-global-search-panel{min-height:100dvh}.jtm-gs-head{padding:13px 14px 9px}.jtm-gs-head>div:last-child{display:none}.jtm-gs-command{margin:10px 12px 8px}.jtm-gs-results{padding:2px 8px 18px}.jtm-search-result{grid-template-columns:34px minmax(0,1fr);padding:10px!important}.jtm-gs-result-icon{width:32px;height:32px}.jtm-gs-result-meta{grid-column:2;justify-content:flex-start;white-space:normal}.jtm-gs-result-main strong{white-space:normal;line-height:1.6}}
/* Global Search markup alignment */
.jtm-gs-group>header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f8fafc;border-bottom:1px solid var(--jtm-border,#e5e7eb);font-size:11px;color:#64748b}
.jtm-gs-group>header strong{color:#334155;font-size:12px}.jtm-gs-group>header span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#e2e8f0;color:#475569;font-weight:700}
.jtm-gs-result-main p{margin:0!important;color:#64748b!important;font-size:11px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jtm-gs-priority{padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#475569}.jtm-gs-priority.is-urgent{background:#fef2f2;color:#dc2626}.jtm-gs-priority.is-high{background:#fff7ed;color:#c2410c}.jtm-gs-priority.is-low{background:#ecfdf5;color:#15803d}
.jtm-gs-no-result{display:grid;place-items:center;align-content:center;gap:7px;min-height:220px;padding:28px;text-align:center;color:#64748b}.jtm-gs-no-result>span{font-size:26px;color:#94a3b8}.jtm-gs-no-result strong{color:#334155}.jtm-gs-no-result p{margin:0}
@media(max-width:650px){.jtm-gs-result-main p{white-space:normal}.jtm-gs-form{margin:0 12px;padding:10px}.jtm-gs-save,.jtm-gs-saved{margin-inline:12px}.jtm-gs-results{max-height:none;overflow:visible}}
