:root{--ink:#243c3b;--muted:#75827f;--green:#146d61;--green-dark:#0e534a;--mint:#e6f2ed;--bg:#f6f8f7;--line:#e4eae6;--amber:#a76e25;--amber-bg:#fbf2e3;--danger:#b34343;--shadow:0 12px 40px #183f3610;--radius:18px}*{box-sizing:border-box}html{font-size:15px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6fa89a;outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:2.4rem;font-weight:700;line-height:1.2}h2{font-size:1.38rem}h3{font-size:1.04rem}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #d9e2dc;border-radius:10px;max-width:100%;padding:11px 13px;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:#5a9d8f;box-shadow:0 0 0 3px #146d6110}input::placeholder,textarea::placeholder{color:#94a29b}textarea{resize:vertical;min-height:85px}input[type=range]{padding:0;border:none;box-shadow:none}input[type=file]{font-size:.84rem}label{display:block;font-size:.88rem;font-weight:600;margin-bottom:16px}label input,label select,label textarea{display:block;margin-top:7px;font-weight:400}label small{font-weight:400;color:var(--muted);font-size:.78rem;display:inline-block;margin-top:5px}small{line-height:1.5}.btn{border:1px solid transparent;border-radius:11px;padding:11px 17px;min-height:44px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:background .15s,transform .15s}.primary{background:var(--green);color:#fff;box-shadow:0 3px 6px #146d6115}.primary:hover{background:var(--green-dark)}.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.secondary:hover{background:var(--bg)}.danger{background:var(--danger);color:#fff}.wide{width:100%}.text-btn{background:none;border:none;color:var(--green);padding:8px 0;font-size:.87rem;font-weight:600}.text-btn:hover{text-decoration:underline}.icon-btn{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:var(--muted);border-radius:9px;font-size:1.45rem;flex-shrink:0}.icon-btn:hover{color:var(--ink);background:var(--bg)}.danger-text{color:var(--danger)}.small-btn{font-size:.82rem;padding:8px 13px;min-height:39px}.small{font-size:.78rem}.muted{color:var(--muted)}.eyebrow{font-size:.68rem;letter-spacing:.11em;font-weight:700;color:var(--muted);text-transform:uppercase;display:flex;gap:9px;align-items:center}.brand-mark{width:40px;height:40px;border-radius:12px;background:var(--green);color:white;display:inline-flex;align-items:center;justify-content:center;font-size:1.6rem;flex-shrink:0}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:white;border-right:1px solid var(--line);padding:32px 20px 19px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:1.05rem;font-weight:700;text-decoration:none;letter-spacing:-.03em;padding:0 4px 30px}.brand small{display:block;font-size:.7rem;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:2px}.sidebar-inner{overflow-y:auto;flex:1}.nav-label{font-size:.62rem;font-weight:700;letter-spacing:.12em;color:#9ba69f;padding:8px 12px 12px}.main-nav{display:grid;gap:5px}.nav-item{width:100%;border:0;background:none;padding:11px 12px;border-radius:9px;text-align:left;color:#74817d;display:flex;align-items:center;justify-content:space-between;font-size:.84rem}.nav-item b{font-size:.68rem;padding:1px 6px;border-radius:6px;background:#f1f4f2;color:#7c8e86}.nav-item:hover{background:#f5f8f6}.nav-item.selected{background:var(--mint);color:var(--green);font-weight:600}.nav-item.selected b{background:#d1e8dd;color:var(--green)}.categories-label{margin-top:27px}.category-nav{display:grid;gap:3px}.category-item{background:none;border:0;display:flex;align-items:center;gap:10px;color:var(--muted);padding:8px 12px;text-align:left;font-size:.82rem;border-radius:8px;overflow-wrap:anywhere}.category-item:hover,.category-item.selected{background:var(--bg);color:var(--green)}.category-dot{width:7px;height:7px;border-radius:50%;background:#8fa99c;flex-shrink:0}.category-item:nth-child(3n+2) .category-dot{background:#c8b087}.category-item:nth-child(3n) .category-dot{background:#9ca8c5}.sidebar-tip{margin:35px 8px 20px;padding:18px 14px;background:#f7f9f6;border:1px solid var(--line);border-radius:13px}.sidebar-tip>span{font-size:.9rem;line-height:1.7}.sidebar-tip p{font-size:.73rem;color:var(--muted);margin-top:9px}.sidebar-bottom{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}.sidebar-bottom>.text-btn{font-size:.77rem;color:var(--muted);padding:8px}.user-row{display:flex;align-items:center;gap:9px;margin-top:17px;padding-left:4px}.avatar{width:31px;height:31px;background:#eaf0e7;border-radius:50%;display:grid;place-items:center;font-size:.75rem;color:var(--green);font-weight:700}.user-row>span:nth-child(2){flex:1;font-size:.77rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace{padding:41px 43px 20px;max-width:1600px;width:100%;margin:auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-header h1{margin-top:15px}.page-header h1>span{color:var(--green)}.page-header>.btn{font-size:.83rem;margin-top:12px;white-space:nowrap}.plus{font-size:1.3rem;font-weight:400}.small-dot{width:3px;height:3px;background:#adb9b0;border-radius:50%}.page-subtitle{font-size:.87rem;color:var(--muted);margin-top:10px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:29px 0 33px}.stat{display:flex;align-items:center;gap:17px;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px}.stat-symbol{background:#edf3f0;color:var(--green);height:43px;width:43px;border-radius:12px;display:grid;place-items:center;font-size:1.4rem}.waiting-symbol{background:var(--amber-bg);color:var(--amber)}.done-symbol{background:#edf2ed;color:#679174}.stat strong{display:block;font-size:1.8rem;line-height:1.2;font-weight:650}.stat div>span{font-size:.77rem;color:var(--muted)}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.list-heading h2{font-size:1.05rem;letter-spacing:-.02em}.list-heading h2>span,.count-pill{background:#e9efeb;color:#668474;border-radius:7px;font-size:.68rem;padding:2px 7px;margin-left:6px;font-weight:600}.sync-control{display:flex;align-items:center;gap:5px;font-size:.68rem;color:var(--muted)}.sync-control .icon-btn{width:28px;height:28px;font-size:1.2rem}.toolbar{display:flex;gap:10px;margin-bottom:21px}.toolbar select{width:auto;max-width:195px;font-size:.75rem;padding:10px 29px 10px 12px;height:43px}.search-field{display:flex;align-items:center;flex:1;background:white;border:1px solid var(--line);border-radius:10px;margin:0;padding-left:12px;min-width:160px}.search-field>span{font-size:1.4rem;color:#8b9a92}.search-field input{border:0;box-shadow:none;margin:0;background:none;font-size:.8rem;padding:10px}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.task-card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 4px #183f3603;transition:border-color .18s,transform .18s}.task-card:hover{border-color:#95b9a9;transform:translateY(-2px)}.task-open{background:none;border:none;text-align:left;width:100%;padding:22px 23px 18px;color:var(--ink);display:block}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.category-badge{display:inline-flex;align-items:center;gap:6px;background:#f0f4ef;color:#6e8675;border-radius:6px;padding:3px 8px;font-size:.65rem;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.priority-badge{font-size:.64rem;color:var(--muted);white-space:nowrap}.priority-badge.high{color:#ac7548}.priority-badge.high::before{content:'●';font-size:.42rem;vertical-align:2px;margin-right:5px}.task-card h3{font-size:1.13rem;font-weight:650;margin-top:17px;line-height:1.4;overflow-wrap:anywhere;letter-spacing:-.025em}.card-status{margin-top:5px;font-size:.72rem;color:#839187}.card-status.waiting{color:var(--amber)}.card-status.done{color:var(--green)}.progress-label{display:flex;justify-content:space-between;align-items:center;margin-top:23px;font-size:.7rem;color:#87928c}.progress-label strong{color:var(--green);font-size:.88rem}.track{height:7px;background:#edf2ee;overflow:hidden;border-radius:8px;margin-top:8px}.track i{display:block;height:100%;background:#68a994;border-radius:inherit}.task-card[data-status=waiting] .track i{background:#d1b06f}.task-card[data-status=done] .track i{background:#408875}.card-note{font-size:.76rem;color:#8a948f;margin:17px 0 15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:18px}.card-note::before{content:'“';font-size:1.1rem;color:#a4b1a8;margin-right:4px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:9px;border-top:1px solid #eff2ee;padding-top:13px;color:#89958f;font-size:.64rem}.card-footer .overdue{color:var(--danger)}.card-meta{display:flex;gap:10px;align-items:center}.card-arrow{font-size:1.15rem;line-height:1;color:#8ca89a}.active-filter{display:flex;gap:14px;align-items:center;font-size:.8rem;margin:-8px 0 12px}.empty-state{text-align:center;padding:50px 15px 65px;border:1px dashed #cddbd1;border-radius:var(--radius);background:#ffffff6e}.empty-symbol{display:grid;place-items:center;background:var(--mint);width:65px;height:65px;border-radius:20px;margin:0 auto 18px;font-size:1.7rem;color:var(--green)}.empty-state h3{font-size:1.25rem}.empty-state p{color:var(--muted);font-size:.87rem;margin:8px auto 19px;max-width:400px}.workspace-footer{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:12px;color:#a0aba4;font-size:.68rem}.workspace-footer .text-btn{font-size:.7rem;color:#748a7a}.modal,.drawer{border:0;color:var(--ink);background:white;box-shadow:0 12px 80px #173c3830;padding:28px;border-radius:20px;width:570px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain}.modal::backdrop,.drawer::backdrop{background:#142e2b66;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:24px}.modal-heading .eyebrow{margin-bottom:6px}.modal-heading h2{font-size:1.5rem}.modal-heading .icon-btn{margin:-4px -5px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.form-error{color:#a03939;background:#fff1ef;border:1px solid #f3d8d2;border-radius:9px;padding:10px 12px;font-size:.83rem;margin:12px 0;overflow-wrap:anywhere}.drawer{margin:0 0 0 auto;top:0;bottom:0;border-radius:20px 0 0 20px;width:600px;max-width:100%;height:100dvh;max-height:100dvh;padding:0}.drawer-header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:25px 28px 20px;background:#fffffff7;border-bottom:1px solid var(--line)}.drawer-header h2{font-size:1.55rem;line-height:1.4;margin-top:6px;overflow-wrap:anywhere}.drawer-body{padding:24px 28px 30px}.detail-progress-label{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;font-weight:600}.detail-progress-label strong{font-size:1.75rem;color:var(--green)}.progress-range{width:100%;accent-color:var(--green);height:26px;margin-top:10px}.progress-help{display:flex;justify-content:space-between;align-items:center;margin-top:6px;color:var(--muted);font-size:.74rem}.progress-help label{margin:0;font-size:.7rem;display:flex;align-items:center;gap:7px;font-weight:400}.progress-help input{width:68px;padding:5px 7px;margin:0;font-size:.85rem}details summary{cursor:pointer;font-weight:600;list-style:none;font-size:.9rem;padding:14px 0}details summary::before{content:'›';display:inline-block;font-size:1.2rem;margin-right:8px}details[open] summary::before{transform:rotate(90deg)}details summary::-webkit-details-marker{display:none}details summary span{float:right;font-weight:400;font-size:.75rem;color:var(--muted);margin-top:4px}.metadata-content{padding-top:4px}#metadataDetails{margin:14px 0 8px}#saveTaskBtn{min-height:41px;font-size:.84rem}.notes-section{margin-top:29px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.section-heading h3{font-size:1.05rem}.compose-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}#noteBody{background:#f8faf8;border-color:#e0e7e0;font-size:.87rem;padding:13px}.timeline{padding-top:24px}.note-item{padding:0 0 23px 19px;border-left:1px solid #dfe8e0;margin-left:5px;position:relative}.note-item::before{content:'';position:absolute;width:7px;height:7px;background:#abc2b5;border:3px solid white;box-sizing:content-box;border-radius:50%;top:4px;left:-7px}.note-item:first-child::before{background:var(--green)}.note-item:last-child{border-color:transparent;padding-bottom:0}.note-header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}.note-date{font-size:.72rem;color:#869389}.note-item:first-child .note-date{color:var(--green);font-weight:600}.note-content{font-size:.89rem;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.note-actions{display:flex;gap:10px}.note-actions button{border:0;background:none;color:#8d9b91;padding:5px 0;font-size:.65rem}.note-actions button:hover{color:var(--green);text-decoration:underline}.note-edited{font-size:.65rem;color:var(--muted);margin-top:5px}.files-section{border-top:1px solid var(--line);margin-top:28px;padding-top:23px}.files-section>.muted{margin-top:-7px;margin-bottom:13px}.file-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f3ef}.file-row a{font-size:.82rem;overflow-wrap:anywhere;flex:1;text-decoration:none}.file-row a:hover{text-decoration:underline}.file-row small{font-size:.68rem;color:var(--muted)}.file-row button{font-size:1.1rem}.upload-label{margin:0;cursor:pointer;font-size:.78rem}.upload-label:focus-within{outline:2px solid #78a99b;outline-offset:3px}.detail-footer{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}.notice{background:var(--amber-bg);color:#946d32;border:1px solid #efdfbd;border-radius:10px;padding:12px;font-size:.82rem;margin-bottom:15px}.settings-section{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.settings-section p{font-size:.85rem;color:var(--muted);margin:9px 0 14px}.settings-section .small{font-size:.75rem}.settings-section details summary{padding:0}.settings-section details[open] summary{padding-bottom:15px}.settings-meta{font-size:.66rem;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;background:#254d43;color:white;border-radius:12px;padding:13px 20px;box-shadow:0 6px 25px #0002;font-size:.86rem;max-width:90vw}.connection-banner{position:sticky;top:0;z-index:30;text-align:center;padding:10px;background:#fff0ce;color:#8d641e;font-size:.84rem}.loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted)}.auth-view{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:white}.auth-story{background:#edf3ee;display:flex;flex-direction:column;justify-content:space-between;padding:55px 60px;gap:55px;position:relative;overflow:hidden}.auth-story h1{font-size:2.65rem;line-height:1.28;margin:17px 0 21px;letter-spacing:-.045em}.auth-story>div>p:last-of-type{color:#778a7d;font-size:.98rem;max-width:370px}.auth-story>small{color:#92a195;font-size:.75rem}.auth-example{background:#ffffffa6;border:1px solid #d8e5d9;border-radius:14px;padding:23px;margin-top:37px;max-width:355px;position:relative}.auth-example>span{font-size:.82rem;color:#789080}.auth-example .track{margin-top:15px;margin-right:45px;background:#e1eae1}.auth-example strong{position:absolute;right:20px;bottom:19px;color:var(--green);font-size:.8rem}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{width:100%;max-width:355px}.auth-form h2{font-size:2rem;margin-top:12px}.auth-form>.muted{margin:9px 0 28px;font-size:.9rem}.auth-note{font-size:.74rem;color:#95a198;margin-top:23px;text-align:center;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1550px){.task-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1170px){.workspace{padding:30px 27px 20px}.app-shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:27px 14px 17px}h1{font-size:2rem}.toolbar{flex-wrap:wrap}.search-field{min-width:100%}.toolbar select{flex:1;max-width:none}.stat{padding:17px;gap:12px}.task-open{padding:18px}.page-header>.btn{padding:10px 13px;font-size:.77rem}.sync-control>span{max-width:125px;text-align:right}.auth-story{padding:40px}.auth-story h1{font-size:2.1rem}}@media(max-width:780px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:17px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 0 17px;font-size:1rem}.brand-mark{height:36px;width:36px;font-size:1.4rem}.brand small{font-size:.65rem}.sidebar-inner{overflow:visible}.nav-label,.category-nav,.sidebar-tip,.categories-label{display:none}.main-nav{display:flex;gap:3px;padding-bottom:10px;overflow-x:auto}.nav-item{white-space:nowrap;width:auto;flex:1;padding:9px;font-size:.72rem;justify-content:center;gap:7px}.nav-item b{font-size:.6rem}.sidebar-bottom{border:0;margin:0;padding:0;position:absolute;right:17px;top:19px}.sidebar-bottom>.text-btn{font-size:0}.sidebar-bottom>.text-btn::before{content:'⚙';font-size:1.5rem;line-height:1}.user-row{display:none}.workspace{padding:25px 20px 16px}.page-header{align-items:flex-start;gap:12px}.page-header h1{font-size:1.68rem;margin-top:11px}.page-header .eyebrow{font-size:.58rem;gap:6px}.page-subtitle{font-size:.76rem;margin-top:8px}.page-header>.btn{font-size:0;width:43px;height:43px;min-height:43px;flex-shrink:0;padding:0;margin-top:23px}.page-header>.btn .plus{font-size:1.65rem}.stats{gap:8px;margin:24px 0 25px}.stat{padding:14px 10px;gap:9px;border-radius:12px}.stat-symbol{display:none}.stat strong{font-size:1.65rem}.stat div>span{font-size:.66rem}.list-heading{gap:8px;align-items:center}.list-heading h2{font-size:.92rem}.list-heading h2>span{margin-left:2px}.sync-control{gap:0;font-size:.58rem}.sync-control>span{max-width:85px}.sync-control .icon-btn{width:22px}.toolbar{gap:8px;margin-bottom:17px}.toolbar select{font-size:.65rem;min-width:0;padding:9px 5px 9px 9px;height:39px}.search-field{min-width:100%}.search-field input{font-size:.78rem;padding:10px}.task-grid{gap:13px}.task-open{padding:19px}.task-card h3{font-size:1.06rem;margin-top:14px}.progress-label{margin-top:18px}.card-note{margin:14px 0 12px}.workspace-footer>span{display:none}.workspace-footer{justify-content:center}.drawer{border-radius:0;width:100%}.drawer-header{padding:20px}.drawer-header h2{font-size:1.45rem}.drawer-body{padding:20px}.modal{padding:23px;max-width:calc(100vw - 22px)}.settings-meta{flex-direction:column;gap:4px}.auth-view{display:block}.auth-story{padding:23px 26px;gap:18px}.auth-story .brand-mark{display:none}.auth-story h1{font-size:1.65rem;margin:12px 0}.auth-story>div>p:last-of-type{font-size:.83rem}.auth-story>small,.auth-example{display:none}.auth-form-wrap{padding:28px 26px 40px}.auth-form{max-width:420px}.auth-form h2{font-size:1.65rem}.auth-form>.eyebrow{display:none}input,select,textarea{font-size:16px}.progress-help input{font-size:16px}#noteBody{font-size:16px}.toast{bottom:15px;width:max-content;text-align:center}.connection-banner{font-size:.74rem}.form-grid{gap:0 10px}.compose-footer .small{font-size:.65rem}}@media(max-width:570px){.task-grid{grid-template-columns:1fr}.modal-actions .btn{font-size:.8rem}.sidebar{padding-left:16px;padding-right:16px}.nav-item{padding:8px 5px;font-size:.64rem}.nav-item b{padding:1px 4px}.workspace{padding-left:17px;padding-right:17px}.detail-footer{gap:8px}.detail-footer>span{width:100%}.form-grid{grid-template-columns:1fr 1fr}label{font-size:.79rem}.modal-heading h2{font-size:1.35rem}.category-badge{font-size:.64rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
/* v1.1 — Συμπαγές timeline, πρόγραμμα και Android bottom sheet */
.stats{display:none}
.list-section,.agenda-section{margin-top:26px}
.task-timeline{display:flex;flex-direction:column;max-width:1020px;gap:0;padding-left:21px}
.task-row{position:relative;margin:0 0 12px;border-left:2px solid #dce8df;padding:0 0 3px 21px;min-width:0}
.task-row::before{content:"";position:absolute;left:-2px;top:50px;bottom:-15px;width:2px;background:#dce8df}
.task-row:last-child::before{display:none}
.row-rail-dot{position:absolute;left:-8px;top:23px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--green);z-index:1}
.task-row[data-status="waiting"] .row-rail-dot{border-color:#c9954b}
.task-row[data-status="done"] .row-rail-dot{border-color:#8fa69b;background:#8fa69b}
.task-row-button{border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;width:100%;padding:15px 18px 13px;text-align:left;color:var(--ink);min-width:0;box-shadow:0 2px 8px #113e3207;transition:border-color .15s,background .15s}
.task-row-button:hover{background:#fcfdfc;border-color:#a6c9b8}
.row-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;font-size:1rem;line-height:1.35}
.row-title{font-size:1.02rem;font-weight:750;overflow-wrap:anywhere}
.row-pct{color:var(--green);white-space:nowrap;font-size:.94rem;font-variant-numeric:tabular-nums}
.row-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:.74rem;color:#819089;margin:4px 0 10px}
.row-category{color:#607d70}
.row-separator{color:#c4d1c9}
.row-priority{color:#ad7a35;margin-left:auto;font-size:.69rem}
.row-track{height:7px;background:#e8efea;border-radius:10px;width:100%;overflow:hidden;margin:0}
.row-track i{display:block;background:var(--green);height:100%;border-radius:10px;min-width:0}
.row-foot{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}
.row-preview{font-size:.75rem;color:#738780;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
.row-preview.overdue,.agenda-day-heading.overdue{color:#ae4c3f}
.row-open-icon{font-size:1.55rem;color:#7b9487;line-height:1}
.page-header h1{font-weight:740}
.agenda-section{max-width:1020px}
.agenda-hint{font-size:.85rem;line-height:1.55;color:var(--muted);margin:10px 0 17px}
.agenda-toolbar{display:flex;gap:9px;align-items:center;margin:0 0 24px}
.agenda-toolbar select{width:auto;max-width:280px}
.agenda-title{justify-content:flex-start;gap:10px}
.agenda-day{position:relative;margin-left:18px;padding-left:24px;padding-bottom:15px;border-left:2px solid #dfe9e2}
.agenda-day::before{content:"";position:absolute;left:-7px;top:8px;width:12px;height:12px;border:3px solid var(--green);background:white;border-radius:50%;box-sizing:border-box}
.agenda-day-heading{font-size:.9rem;font-weight:750;margin-bottom:11px;color:var(--green)}
.agenda-entry{display:flex;align-items:center;text-align:left;gap:13px;padding:13px 14px;border:1px solid var(--line);background:white;border-radius:13px;margin:0 0 8px;width:100%;color:var(--ink)}
.agenda-entry:hover{border-color:#a6c9b8;background:#fbfdfb}
.agenda-marker{display:grid;place-items:center;background:#edf4ef;color:var(--green);height:36px;width:36px;flex:none;border-radius:10px;font-size:1.3rem}
.agenda-content{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.agenda-entry-title{font-size:.88rem;overflow-wrap:anywhere;line-height:1.35}
.agenda-entry-meta{color:var(--muted);font-size:.73rem}
.agenda-entry.is-overdue .agenda-marker{background:#fbefea;color:#a3493d}
.mobile-tabs{display:none}
.schedule-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.schedule-section .section-heading{margin-bottom:10px}
.next-event-summary{display:flex;gap:11px;align-items:center;background:#f3f8f4;border:1px solid #e4eee7;padding:12px 14px;border-radius:12px;min-height:56px}
.next-event-summary.overdue{background:#fff4ef;border-color:#f4dfd8}
.next-event-summary>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.next-event-summary strong{font-size:.88rem;overflow-wrap:anywhere}
.next-event-icon{display:grid;place-items:center;min-width:33px;min-height:33px;border-radius:9px;background:#e2eee7;color:var(--green);font-size:1.2rem}
#scheduleDetails{margin:7px 0 10px}
#scheduleDetails summary{font-size:.78rem;color:#5e7770;padding:12px 2px}
.event-list{margin-bottom:13px}
.event-item{border-bottom:1px solid var(--line);padding:12px 2px;display:flex;gap:12px;align-items:center;justify-content:space-between}
.event-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.event-main strong{font-size:.88rem;overflow-wrap:anywhere;font-weight:650}
.event-main small{font-size:.72rem;color:var(--muted)}
.event-done .event-main strong{text-decoration:line-through;color:var(--muted)}
.event-tools{display:flex;align-items:center;gap:5px;flex-shrink:0}
.event-tools button{font-size:.7rem;border:0;background:#f1f6f2;border-radius:8px;color:#52766a;padding:8px;min-height:35px;min-width:35px}
.event-tools .event-tick{font-weight:800;font-size:1.05rem}
.event-tools .event-delete{color:#b34a4a;font-size:1.2rem}
.event-form{padding:15px;border:1px solid #d8e7dd;border-radius:13px;background:#fbfdfb;margin-bottom:15px}
.event-form h4{font-size:.92rem;margin:0 0 12px}
.event-form label{font-size:.81rem}
.form-mini-actions{display:flex;justify-content:flex-end;gap:8px}
.new-schedule-options{border:1px solid var(--line);border-radius:10px;padding:0 11px;margin:2px 0 14px}
.new-schedule-options summary{font-size:.84rem;color:var(--green)}
.sheet-grip{display:none}
@media(max-width:780px){
  body{background:#f8faf8}
  .sidebar{padding:15px 17px 9px;min-height:64px;background:white}
  .brand{padding:0 0 6px;align-items:center;font-size:.94rem}
  .brand small{display:none}
  .brand-mark{width:34px;height:34px;border-radius:11px}
  .sidebar-inner{display:none}
  .sidebar-bottom{top:16px;right:17px}
  .workspace{padding:16px 16px calc(104px + env(safe-area-inset-bottom));max-width:680px}
  .page-header{gap:13px;align-items:center}
  .page-header .eyebrow,.page-subtitle{display:none}
  .page-header h1{margin:0;font-size:1.38rem;line-height:1.25}
  .page-header>.btn{margin:0;width:43px;height:43px;min-height:43px}
  .list-section,.agenda-section{margin-top:18px}
  .list-heading{margin-bottom:11px}
  .list-heading h2{font-size:.92rem}
  .sync-control{font-size:.58rem}
  .toolbar{gap:8px;margin-bottom:11px}
  .toolbar .search-field input{min-height:42px}
  .toolbar select{height:39px;font-size:.72rem;min-width:0;padding:8px 8px}
  .task-timeline{padding-left:14px}
  .task-row{padding-left:13px;margin-bottom:8px}
  .row-rail-dot{width:12px;height:12px;left:-7px;top:22px}
  .task-row::before{top:33px;bottom:-10px}
  .task-row-button{padding:12px 13px;border-radius:13px}
  .row-title{font-size:.95rem}
  .row-pct{font-size:.86rem}
  .row-meta{margin:3px 0 9px;font-size:.71rem;gap:5px}
  .row-priority{font-size:.63rem}
  .row-track{height:6px}
  .row-foot{margin-top:7px}
  .row-preview{font-size:.7rem}
  .mobile-tabs{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;z-index:10;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #dce7df;padding:8px 10px calc(7px + env(safe-area-inset-bottom));gap:5px;box-shadow:0 -3px 18px #1d382510}
  .mobile-tabs button{border:0;background:transparent;color:#73867b;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 0 6px;border-radius:9px;font-size:.66rem;min-width:0}
  .mobile-tabs button span{font-size:1.33rem;line-height:1.2}
  .mobile-tabs button.selected{background:#e6f2e9;color:var(--green);font-weight:750}
  .workspace-footer{margin-top:20px}
  .drawer{position:fixed;top:auto;bottom:0;left:0;right:0;margin:auto 0 0;width:100%;max-width:100%;height:90dvh;max-height:90dvh;border-radius:21px 21px 0 0;animation:sheet-up .22s ease-out;overscroll-behavior:contain}
  .drawer::backdrop{background:#0c2a2566}
  .sheet-grip{display:flex;align-items:center;justify-content:center;position:sticky;top:0;height:22px;background:white;z-index:3;touch-action:pan-y}
  .sheet-grip i{width:44px;height:5px;border-radius:8px;background:#cfdad3}
  .drawer-header{padding:12px 20px 14px;top:22px;background:white}
  .drawer-header h2{font-size:1.24rem;margin-top:3px}
  .drawer-body{padding:16px 20px calc(24px + env(safe-area-inset-bottom))}
  .detail-progress-label strong{font-size:1.25rem}
  .notes-section{margin-top:21px}
  .agenda-section .agenda-hint{font-size:.76rem}
  .agenda-day{margin-left:9px;padding-left:17px}
  .agenda-entry{padding:11px}
  .agenda-entry-title{font-size:.82rem}
  .agenda-entry-meta{font-size:.68rem}
  .agenda-toolbar select{max-width:70%;font-size:.76rem}
  .event-item{align-items:flex-start;flex-direction:column;gap:7px}
  .event-tools{align-self:flex-end}
  .event-form .form-grid{grid-template-columns:1fr 1fr}
}
@keyframes sheet-up{from{transform:translateY(40px);opacity:.65}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.drawer{animation:none}}

.settings-links{display:flex;flex-wrap:wrap;gap:9px}.settings-links .btn{font-size:.8rem}
.toolbar #categoryFilter{max-width:230px}
@media(max-width:780px){.toolbar #categoryFilter{max-width:none;flex-basis:100%;width:100%}}


/* v1.2 — «Με μια ματιά»: όλες οι εκκρεμότητες, πρόοδος ανά εργασία */
.overview-section{max-width:1020px;margin-top:26px}
.overview-summary{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:25px}
.overview-main-stat,.overview-small-stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px;min-width:0}
.overview-main-stat{background:linear-gradient(115deg,#f2f9f5,#fff);border-color:#d9eae0}
.overview-label{font-size:.76rem;color:#637c71;line-height:1.4;display:block}
.overview-main-num{font-size:1.9rem;line-height:1.2;font-weight:780;letter-spacing:-.05em;color:var(--green);margin:8px 0 10px;font-variant-numeric:tabular-nums}
.overview-summary-track,.overview-progress{display:block;overflow:hidden;background:#e7eee9;border-radius:100px;width:100%;height:8px}
.overview-summary-track span,.overview-progress-fill{display:block;background:var(--green);height:100%;border-radius:100px;transition:width .18s ease}
.overview-small-stat{display:flex;flex-direction:column;justify-content:center;gap:7px}
.overview-small-stat strong{font-size:1.7rem;line-height:1;font-weight:770;font-variant-numeric:tabular-nums}
.overview-small-stat span{font-size:.76rem;color:var(--muted);line-height:1.4}
.overview-attention-stat strong{color:#a5672b}
.overview-topline{margin:3px 0 12px}
.overview-topline h2{font-size:1.04rem;display:flex;align-items:center;gap:4px}
.overview-topline p{font-size:.79rem;color:var(--muted);margin-top:5px}
.overview-search-label{font-size:.69rem;color:var(--muted);font-weight:650;margin:0 0 5px}
.overview-search{width:100%;margin-bottom:11px;background:#fff;min-height:43px;font-size:.83rem}
.overview-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 25px}
.overview-filters button{border:1px solid #dce7df;background:#fff;border-radius:20px;color:#63786e;padding:8px 12px;font-size:.75rem;min-height:38px}
.overview-filters button.selected{background:#e6f2ed;color:var(--green);border-color:#bcd9c9;font-weight:750}
.overview-group{margin-bottom:24px}
.overview-group-heading{display:flex;align-items:center;gap:9px}
.overview-group-heading h3{font-size:.99rem;font-weight:750}
.overview-count{background:#e9f0ea;color:#6d8677;padding:1px 8px;font-size:.69rem;font-weight:750;border-radius:8px}
.overview-group[data-group="late"] .overview-group-heading h3{color:#a64b40}
.overview-group[data-group="immediate"] .overview-group-heading h3{color:#a06a2d}
.overview-group-hint{font-size:.73rem;color:var(--muted);margin:2px 0 11px}
.overview-rows{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}
.overview-row{display:flex;flex-direction:column;gap:7px;text-align:left;background:white;border:0;border-bottom:1px solid #eef2ef;color:var(--ink);width:100%;padding:13px 16px;min-height:87px}
.overview-row:last-child{border-bottom:none}
.overview-row:hover,.overview-row:focus-visible{background:#f8fbf8}
.overview-item-head{display:flex;align-items:center;gap:15px;justify-content:space-between;min-width:0}
.overview-item-main{display:flex;flex-direction:column;min-width:0;flex:1;gap:2px}
.overview-item-title{font-size:.94rem;font-weight:720;overflow-wrap:anywhere;line-height:1.35}
.overview-item-context{font-size:.7rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-item-percent{font-size:.86rem;font-weight:780;color:var(--green);font-variant-numeric:tabular-nums;white-space:nowrap}
.overview-progress{height:7px}
.overview-item-foot{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:10px}
.overview-date{color:#718b7e;font-size:.73rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.overview-item-foot.is-overdue .overview-date{color:#ac4d41}
.overview-chevron{font-size:1.35rem;line-height:1;color:#91a99a}
.overview-group[data-group="complete"] .overview-progress-fill{background:#8aab9a}
.overview-empty{background:#fff;border:1px dashed #d0dfd3;border-radius:15px;padding:26px;text-align:center;color:var(--muted);font-size:.85rem}
@media(max-width:780px){
  .overview-section{margin-top:14px}
  .overview-summary{grid-template-columns:minmax(0,1.6fr) 1fr 1fr;gap:7px;margin-bottom:21px}
  .overview-main-stat,.overview-small-stat{padding:11px;border-radius:12px}
  .overview-label{font-size:.64rem}
  .overview-main-num{font-size:1.48rem;margin:8px 0}
  .overview-small-stat strong{font-size:1.35rem}
  .overview-small-stat span{font-size:.61rem}
  .overview-topline h2{font-size:.97rem}
  .overview-topline p{font-size:.7rem}
  .overview-filters{gap:6px;margin-bottom:18px}
  .overview-filters button{padding:7px 10px;font-size:.7rem;min-height:35px}
  .overview-row{padding:11px 12px;min-height:82px}
  .overview-item-title{font-size:.9rem}
  .overview-item-context{font-size:.65rem}
  .overview-date{font-size:.67rem}
  .mobile-tabs{grid-template-columns:repeat(4,minmax(0,1fr));padding-left:5px;padding-right:5px;gap:1px}
  .mobile-tabs button{font-size:.61rem;line-height:1.2;padding:5px 0 7px}
  .mobile-tabs button span{font-size:1.2rem}
}
@media(max-width:360px){
  .overview-summary{grid-template-columns:minmax(0,1.35fr) 1fr 1fr}
  .overview-main-stat,.overview-small-stat{padding:9px}
  .mobile-tabs button{font-size:.57rem}
}
@media(prefers-reduced-motion:reduce){.overview-summary-track span,.overview-progress-fill{transition:none}}

/* v1.3 — Μπάρα ανά εκκρεμότητα, με τίτλο μέσα στη μπάρα. */
.bars-overview{max-width:930px;margin-top:20px}
.bars-intro{margin:0 0 20px}
.bars-intro h2{font-size:1.8rem;font-weight:790;letter-spacing:-.04em;display:flex;align-items:center;gap:9px}
.bars-intro p{font-size:.84rem;color:var(--muted);margin-top:5px;line-height:1.4}
.bars-overview .overview-search{min-height:43px;margin:0 0 12px;background:#fff}
.bars-overview .overview-filters{margin:0 0 18px;gap:6px}
.bars-overview .overview-filters button{min-height:34px;padding:6px 12px}
.bars-overview .bar-list{display:flex;flex-direction:column;gap:13px;padding:5px 0 15px}
.bars-overview .overview-bar-row{width:100%;background:none;border:0;padding:0;display:grid;grid-template-columns:10px minmax(0,1fr) 51px;align-items:center;gap:8px;min-height:46px;text-align:left;color:var(--ink)}
.bars-overview .overview-bar-row:hover{background:none}
.bars-overview .overview-bar-row:focus-visible .bar-track{outline:3px solid #6fa89a;outline-offset:3px}
.bars-overview .bar-alert{width:9px;height:9px;border-radius:50%;background:transparent;display:block}
.bars-overview .bar-alert.is-red{background:#d9443d;box-shadow:0 0 0 3px #fbe2df}
.bars-overview .bar-alert.is-orange{background:#f59e0b;box-shadow:0 0 0 3px #fff2dc}
.bars-overview .bar-alert.is-green{background:#008943;box-shadow:0 0 0 3px #e2f3e9}
.bars-overview .bar-alert.is-blue{background:#25b6d7;box-shadow:0 0 0 3px #e3f6fa}
.bars-overview .bar-track{height:43px;position:relative;background:#e3f0eb;border-radius:24px;overflow:hidden;display:block;min-width:0}
.bars-overview .bar-fill{position:absolute;left:0;top:0;bottom:0;border-radius:24px;background:#117b6d;transition:width .2s ease}
.bars-overview .bar-name{position:absolute;inset:0;display:flex;align-items:center;padding:0 15px;font-size:.93rem;line-height:1.3;font-weight:740;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;letter-spacing:-.01em}
.bars-overview .bar-name-dark{color:#1d4b44}
.bars-overview .bar-name-white{color:#fff}
.bars-overview .bar-percentage{font-size:1.05rem;font-weight:780;color:#174e46;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.bars-overview .bar-completed .bar-fill{background:#178371}
.bars-overview .bars-hint{font-size:.71rem;color:#71877e;line-height:1.55;padding:2px 0 8px}
.bars-overview .bars-hint .urgent-red{color:#b83c36;font-weight:700}
.bars-overview .bars-hint .urgent-orange{color:#9c5c04;font-weight:700}
.bars-overview .bars-hint .urgent-green{color:#007a3c;font-weight:700}
.bars-overview .bars-hint .urgent-blue{color:#086d84;font-weight:700}
#androidNotificationsSettings .settings-links{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
#androidNotificationsStatus{margin:8px 0}
@media(max-width:780px){
 .bars-overview{margin-top:12px}
 .bars-intro h2{font-size:1.45rem}
 .bars-intro p{font-size:.73rem}
 .bars-overview .bar-list{gap:10px}
 .bars-overview .overview-bar-row{grid-template-columns:8px minmax(0,1fr) 45px;gap:7px;min-height:41px}
 .bars-overview .bar-track{height:39px}
 .bars-overview .bar-name{font-size:.84rem;padding:0 11px}
 .bars-overview .bar-percentage{font-size:.96rem}
 .bars-overview .overview-filters button{padding:6px 9px;font-size:.68rem}
}
@media(prefers-reduced-motion:reduce){.bars-overview .bar-fill{transition:none}}

/* Με τη νέα καρτέλα προβάλλεται μόνο ένας τίτλος, όχι διπλή κεφαλίδα. */
body[data-active-view="overview"] .page-header{display:none}
.bars-intro-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bars-add{width:42px;height:42px;padding:0;font-size:1.5rem;border-radius:13px;flex-shrink:0}
@media(max-width:780px){
  .mobile-tabs{position:sticky;top:0;bottom:auto;z-index:10;box-shadow:0 5px 16px #1d382510;border-top:0;border-bottom:1px solid #dce7df;backdrop-filter:blur(12px);background:#ffffffed;padding:7px 6px;gap:2px}
  .mobile-tabs button{min-height:50px;gap:2px}
  .workspace{padding-bottom:38px}
  .bars-intro-heading h2{font-size:1.45rem}
  .bars-add{width:40px;height:40px;font-size:1.5rem}
}
@media(max-width:780px){
 .bars-overview .overview-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
 .bars-overview .overview-filters::-webkit-scrollbar{display:none}
 .bars-overview .overview-filters button{flex:0 0 auto;white-space:nowrap}
}
body[data-active-view="overview"] .workspace-footer{display:none}

/* 1.3.2 — ελληνική ημερομηνία ανεξάρτητα από τη γλώσσα της συσκευής. */
.greek-date-control {position:relative;display:block;width:100%;min-width:0}
.greek-date-control > input[type="text"] {width:100%;padding-right:3.15rem;box-sizing:border-box;font-variant-numeric:tabular-nums}
.greek-date-button {position:absolute;right:.35rem;top:50%;transform:translateY(-50%);height:2.35rem;min-width:2.45rem;border:0;background:transparent;color:#266b60;border-radius:.6rem;font-size:1.25rem;cursor:pointer}
.greek-date-button:hover,.greek-date-button:focus-visible {background:rgba(24,117,98,.10);outline-offset:2px}
.greek-date-native {position:absolute!important;right:2.1rem;bottom:0;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
.notes-actions {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}
.export-notes-button {white-space:nowrap;font-weight:700}
a.notes-export-all {display:inline-flex;align-items:center;justify-content:center;max-width:100%;text-decoration:none;box-sizing:border-box}
@media(max-width:420px){.notes-actions{gap:.35rem}.notes-actions .small{font-size:.68rem}}

/* 1.3.3 — Χρώμα προτεραιότητας σε όλη τη μπάρα, ακόμη και στο 0%. */
.bars-overview .overview-bar-row.priority-normal{--bar-accent:#008943;--bar-track-bg:#e2f3e9;--bar-dark:#125436}
.bars-overview .overview-bar-row.priority-low{--bar-accent:#25b6d7;--bar-track-bg:#e3f6fa;--bar-dark:#073d48}
.bars-overview .overview-bar-row.priority-high{--bar-accent:#f59e0b;--bar-track-bg:#fff2dc;--bar-dark:#653800}
.bars-overview .overview-bar-row.priority-done{--bar-accent:#0d705f;--bar-track-bg:#e1f2ec;--bar-dark:#165d4b}
.bars-overview .overview-bar-row .bar-track{background:var(--bar-track-bg,#e3f0eb)}
.bars-overview .overview-bar-row .bar-fill,.bars-overview .overview-bar-row.bar-completed .bar-fill{background:var(--bar-accent,#117b6d)}
.bars-overview .overview-bar-row .bar-name-dark,.bars-overview .overview-bar-row .bar-percentage{color:var(--bar-dark,#1d4b44)}
/* Στο κλειστό πεδίο προτεραιότητας η επιλογή είναι εμφανής και στο Android. */
#detailPriority[data-priority="normal"],#newPriority[data-priority="normal"]{border-color:#008943;background:#e2f3e9;color:#125436;font-weight:650}
#detailPriority[data-priority="low"],#newPriority[data-priority="low"]{border-color:#25b6d7;background:#e3f6fa;color:#073d48;font-weight:650}
#detailPriority[data-priority="high"],#newPriority[data-priority="high"]{border-color:#f59e0b;background:#fff2dc;color:#653800;font-weight:650}
/* Δύο ανεξάρτητες ενέργειες αποθήκευσης μέσα στις λεπτομέρειες. */
.detail-save-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:14px}
.detail-save-actions .btn{width:100%;min-width:0;min-height:49px;line-height:1.28;white-space:normal;text-align:center;padding:9px 9px}
@media(max-width:380px){.detail-save-actions{gap:7px}.detail-save-actions .btn{font-size:.75rem;padding:10px 6px}}

/* 1.3.4 — το δεύτερο κουμπί αποθηκεύει και κλείνει, με σαφές πορτοκαλί χρώμα. */
.detail-save-actions .btn.save-close{background:#ae5d16;border-color:#ae5d16;color:#fff;box-shadow:0 3px 6px #ae5d1619}
.detail-save-actions .btn.save-close:hover{background:#8f4d11;border-color:#8f4d11}
.detail-save-actions .btn.save-close:focus-visible{outline:3px solid #6fa89a;outline-offset:3px}

/* v1.3.6 — θαλασσί θάλασσας: σκούρα γράμματα για ευκρίνεια. */
.bars-overview .overview-bar-row.priority-low .bar-name-white{color:#073d48}

/* v1.3.6 — ζωηρό πορτοκαλί φαναριού: σκούρα γράμματα για επαρκή αντίθεση. */
.bars-overview .overview-bar-row.priority-high .bar-name-white{color:#442600}


/* 1.4.0: αληθινά, ευδιάκριτα χρώματα σε όλο το μήκος, ακόμη και στο 0%. */
.bars-overview .overview-bar-row.priority-high{--bar-track-bg:#ffbe4d;--bar-accent:#ea8b00;--bar-dark:#4a2b00}
.bars-overview .overview-bar-row.priority-normal{--bar-track-bg:#44c97b;--bar-accent:#008c45;--bar-dark:#083e25}
.bars-overview .overview-bar-row.priority-low{--bar-track-bg:#81dcee;--bar-accent:#13a9c9;--bar-dark:#064351}
.bars-overview .overview-bar-row.priority-overdue{--bar-track-bg:#f27879;--bar-accent:#bb2633;--bar-dark:#520e18}
.bars-overview .overview-bar-row.priority-done{--bar-track-bg:#e5e7eb;--bar-accent:#adb5bd;--bar-dark:#475569}
.bars-overview .overview-bar-row.priority-high .bar-name-white,
.bars-overview .overview-bar-row.priority-normal .bar-name-white,
.bars-overview .overview-bar-row.priority-low .bar-name-white{color:#082d29}
.bars-overview .overview-bar-row.priority-overdue .bar-name-white{color:#fff}
.bars-overview .overview-bar-row.priority-done .bar-name-white{color:#334155}
.bars-overview .overview-bar-row.priority-overdue .bar-alert.is-red{background:#cf1e2e;box-shadow:0 0 0 3px #ffd8dc}
.bars-overview .overview-bar-row.priority-done .bar-percentage{color:#475569}
.detail-save-actions .btn.save-close{background:#ff9c00;border-color:#ff9c00;color:#392400;box-shadow:0 3px 8px #db880022;font-weight:760}
.detail-save-actions .btn.save-close:hover{background:#ed9000;border-color:#ed9000;color:#392400}
.detail-save-actions .btn.save-close:focus-visible{outline:3px solid #93540b;outline-offset:3px}
.reminder-choices{border:1px solid #dbe9e1;border-radius:14px;padding:12px 14px;margin:12px 0;background:#f8fcfa;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.reminder-choices[hidden]{display:none}
.reminder-choices legend{font-size:.82rem;font-weight:750;padding:0 6px;color:#28473c}
.reminder-choices label{display:flex;align-items:center;gap:8px;font-size:.84rem;cursor:pointer;min-height:32px}
.reminder-choices input{accent-color:#117c67;width:18px;height:18px;flex-shrink:0}
.reminder-choices p{grid-column:1/-1;margin:2px 0 0}
@media(max-width:410px){.reminder-choices{grid-template-columns:1fr}}

/* 1.4.1 — Επεξήγηση χρωμάτων με χωριστό κανόνα για χρονικές τελείες. */
.bars-overview .bar-colors-legend{padding:10px 0 16px;color:#435e55}
.bars-overview .bar-legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px;row-gap:10px}
.bars-overview .bar-legend-item{display:flex;align-items:center;gap:8px;font-size:.79rem;line-height:1.35;font-weight:630;min-width:0}
.bars-overview .bar-legend-swatch{display:inline-block;width:28px;height:10px;flex:0 0 28px;border-radius:20px}
.bars-overview .bar-legend-swatch.is-overdue{background:#cf3340}
.bars-overview .bar-legend-swatch.is-high{background:#ea8b00}
.bars-overview .bar-legend-swatch.is-normal{background:#008c45}
.bars-overview .bar-legend-swatch.is-low{background:#13a9c9}
.bars-overview .bar-legend-swatch.is-done{background:#adb5bd}
.bars-overview .bar-legend-explanation{margin:14px 0 0;font-size:.77rem;line-height:1.55;color:#63766f}
.bars-overview .bar-legend-explanation strong{color:#26463b}
@media(min-width:900px){.bars-overview .bar-legend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.bars-overview .bar-legend-grid{grid-template-columns:1fr;gap:8px}}

/* v1.4.2 — Υπόμνημα: χωριστές μπαρες προτεραιότητας και κυκλικές τελείες χρόνου. */
.bars-overview .bar-legend-group{margin:0;padding:0}
.bars-overview .bar-legend-heading{margin:0 0 12px;color:#24483f;font-size:.93rem;font-weight:800;line-height:1.35;letter-spacing:0}
.bars-overview .time-legend-group{margin-top:16px;border-top:1px solid #dbe7e1;padding-top:16px}
.bars-overview .time-legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.bars-overview .time-legend-item{display:flex;align-items:center;gap:9px;font-weight:630;font-size:.8rem;line-height:1.45;min-width:0}
.bars-overview .time-legend-dot{display:inline-block;flex:0 0 13px;width:13px;height:13px;border-radius:50%;background:transparent}
.bars-overview .time-legend-dot.is-red{background:#cf3340;box-shadow:0 0 0 3px #ffdee2}
.bars-overview .time-legend-dot.is-orange{background:#f59e0b;box-shadow:0 0 0 3px #fff0c9}
.bars-overview .bar-legend-explanation{margin-top:13px}
@media(max-width:480px){.bars-overview .time-legend-grid{grid-template-columns:1fr}}

/* v1.4.4 — Κάθετο, πυκνό υπόμνημα σε κινητό και υπολογιστή. */
.bars-overview .bar-legend-grid,
.bars-overview .time-legend-grid{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.bars-overview .bar-legend-item,
.bars-overview .time-legend-item{min-height:19px;line-height:1.25;gap:9px}
.bars-overview .bar-legend-heading{margin-bottom:8px}
.bars-overview .time-legend-group{margin-top:12px;padding-top:12px}

/* 1.5.0: Πρόγραμμα — switch between existing timeline and FullCalendar month. */
.agenda-switch{display:flex;gap:5px;max-width:365px;margin:19px 0 19px;padding:5px;border:1px solid #dbe8e0;background:#edf4ef;border-radius:13px}
.agenda-switch-btn{flex:1;border:none;background:transparent;color:#5e7770;border-radius:9px;padding:11px 10px;font-size:.85rem;font-weight:650;min-height:43px}
.agenda-switch-btn.active{background:#fff;color:#126c5f;box-shadow:0 2px 9px #113b2a12}
#agendaCalendarPane{min-width:0;max-width:100%;overflow:hidden}
.ek-calendar{background:white;border:1px solid #dce7e0;padding:15px 15px 12px;border-radius:16px;max-width:100%;overflow:hidden}
.ek-calendar .fc{--fc-border-color:#e5ede7;--fc-today-bg-color:#edf7f0;--fc-button-bg-color:#146d61;--fc-button-border-color:#146d61;--fc-button-hover-bg-color:#0d564b;--fc-button-hover-border-color:#0d564b;--fc-button-active-bg-color:#0d564b;--fc-button-active-border-color:#0d564b;font-family:inherit}
.ek-calendar .fc .fc-toolbar-title{font-size:1.12rem;font-weight:750;color:#284843}
.ek-calendar .fc .fc-toolbar.fc-header-toolbar{margin-bottom:14px;gap:8px;flex-wrap:wrap}
.ek-calendar .fc .fc-button{font-size:.8rem;padding:.35em .55em;border-radius:7px;text-transform:none}
.ek-calendar .fc .fc-daygrid-event{border-radius:5px;cursor:pointer}
.ek-calendar .fc .fc-daygrid-day-number{color:#36544b;font-size:.82rem}
.ek-calendar .fc .fc-col-header-cell-cushion{color:#506b60;font-size:.74rem}
.ek-calendar .fc .fc-daygrid-day-frame{min-height:54px}
.calendar-day-section{margin-top:15px;padding:14px;background:white;border:1px solid #dce7e0;border-radius:14px}
.calendar-day-heading{display:flex;align-items:center;justify-content:flex-start;gap:9px;margin-bottom:10px}
.calendar-day-heading h3{font-size:.95rem}
.calendar-day-entry{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:0;border-top:1px solid #edf1ed;padding:11px 4px;color:var(--ink);background:#fff}
.calendar-day-entry:hover{background:#f5faf6}
.calendar-entry-dot{flex:none;width:10px;height:10px;border-radius:50%}
.calendar-entry-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.calendar-entry-text strong{font-size:.82rem;overflow-wrap:anywhere}
.calendar-entry-text small{font-size:.73rem;color:var(--muted)}
.calendar-fallback{background:white;border:1px solid #dce7e0;padding:12px;border-radius:14px}
.calendar-fallback-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.calendar-fallback-controls button{border:1px solid #dbe8df;background:#f2f8f4;color:#166f61;border-radius:8px;width:37px;height:37px;font-size:1.4rem}
.calendar-fallback-controls h3{text-transform:capitalize;font-size:.95rem}
.calendar-fallback-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.calendar-weekday{text-align:center;color:#7e8f83;font-size:.72rem;font-weight:700;padding:8px 0}
.calendar-day-fallback{min-width:0;height:51px;border:1px solid transparent;background:#f5f8f5;border-radius:7px;display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:center;font-size:.8rem;color:#315348}
.calendar-day-fallback.is-today{border-color:#146d61}
.calendar-day-fallback.selected{background:#dcefe4;color:#0c5e53}
.calendar-event-dots{display:flex;align-items:center;justify-content:center;gap:3px;height:6px}
.calendar-event-dots i{width:6px;height:6px;border-radius:50%}
@media(max-width:600px){.agenda-switch{max-width:none}.ek-calendar{padding:8px 5px}.ek-calendar .fc .fc-toolbar-title{font-size:.92rem}.ek-calendar .fc .fc-button{font-size:.68rem;padding:.33em .44em}.ek-calendar .fc .fc-daygrid-day-number{font-size:.74rem}.ek-calendar .fc .fc-daygrid-event{font-size:.65rem}.ek-calendar .fc .fc-daygrid-day-frame{min-height:43px}.ek-calendar .fc .fc-toolbar.fc-header-toolbar{gap:6px}.calendar-day-section{padding:12px}}

/* v1.5.1: Inclusive task duration across FullCalendar and offline calendar. */
.date-range-help{margin:9px 1px 12px;line-height:1.45}
.calendar-day-fallback{position:relative;overflow:hidden}
.calendar-day-fallback.has-range{padding-bottom:9px}
.calendar-day-fallback.has-range::after{content:"";position:absolute;left:0;right:0;bottom:3px;height:6px;background:var(--range-color,#008c45);border-radius:0;pointer-events:none}
.calendar-day-fallback.has-range.range-start::after{left:4px;border-radius:4px 0 0 4px}
.calendar-day-fallback.has-range.range-end::after{right:4px;border-radius:0 4px 4px 0}
.calendar-day-fallback.has-range.range-start.range-end::after{border-radius:4px}
.ek-calendar .fc .fc-daygrid-block-event{border-radius:6px;font-weight:650;white-space:normal}


/* v1.5.3 — Compact tasks view; no changes to the other tabs. */
body[data-active-view="open"] .page-header{display:none}
body[data-active-view="open"] .list-section{margin-top:0}
body[data-active-view="open"] .list-heading{margin-bottom:10px;min-height:46px;display:flex;align-items:center;justify-content:space-between}
body[data-active-view="open"] .list-heading #newTaskBtn{margin:0;white-space:nowrap}
body[data-active-view="open"] .toolbar{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:9px;
  width:100%;
  margin-bottom:16px;
  max-width:1020px;
}
body[data-active-view="open"] .toolbar .search-field{
  min-width:0;width:100%;max-width:none;display:flex;overflow:hidden;
}
body[data-active-view="open"] .toolbar .search-field input{min-width:0;width:100%;font-size:.82rem}
body[data-active-view="open"] .toolbar select,
body[data-active-view="open"] .toolbar #categoryFilter{
  width:100%;min-width:0;max-width:none;flex-basis:auto;min-height:43px;
  font-size:.78rem;padding-left:11px;padding-right:25px;
}
body[data-active-view="open"] .task-timeline{
  display:flex;flex-direction:column;gap:8px;padding-left:0;
}
.compact-task-row{display:block;min-width:0;margin:0}
.compact-task-button{
  display:block;width:100%;min-width:0;text-align:left;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:13px;
  padding:12px 14px 13px;min-height:66px;
  box-shadow:0 2px 8px #113e3207;
  transition:background .15s,border-color .15s;
}
.compact-task-button:hover{background:#f9fcfa;border-color:#9fbdaf}
.compact-task-button:focus-visible{outline:3px solid #6fa89a;outline-offset:2px}
.compact-task-main{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;min-width:0}
.compact-task-title{font-size:.94rem;font-weight:750;line-height:1.25;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-task-percent{font-size:.86rem;line-height:1.2;font-weight:800;color:var(--green);font-variant-numeric:tabular-nums;white-space:nowrap}
.compact-task-track{display:block;width:100%;height:7px;overflow:hidden;border-radius:30px;background:#e5efea}
.compact-task-fill{display:block;height:100%;border-radius:30px;background:var(--green);transition:width .15s ease}
@media(max-width:780px){
  body[data-active-view="open"] .list-section{margin-top:0}
  body[data-active-view="open"] .list-heading{min-height:47px;margin-bottom:11px}
  body[data-active-view="open"] .list-heading #newTaskBtn{
    width:46px;height:46px;min-height:46px;padding:0;font-size:0;flex-shrink:0;
  }
  body[data-active-view="open"] .list-heading #newTaskBtn .plus{font-size:1.65rem}
  body[data-active-view="open"] .toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:13px}
  body[data-active-view="open"] .toolbar .search-field{min-width:0}
  body[data-active-view="open"] .toolbar .search-field input{font-size:.77rem;padding:8px 5px}
  body[data-active-view="open"] .toolbar .search-field>span{font-size:1.2rem}
  body[data-active-view="open"] .toolbar select,body[data-active-view="open"] .toolbar #categoryFilter{
    width:100%;max-width:none;min-width:0;flex-basis:auto;font-size:.71rem;padding:8px 23px 8px 9px;
  }
  body[data-active-view="open"] .task-timeline{padding-left:0;gap:7px}
  .compact-task-button{min-height:63px;padding:11px 13px;border-radius:12px}
  .compact-task-main{margin-bottom:8px}
  .compact-task-title{font-size:.92rem}
  .compact-task-track{height:7px}
}
@media(prefers-reduced-motion:reduce){.compact-task-fill{transition:none}}

/* v1.5.4 — Single dynamic header across every view, compact agenda & two-row filters */
.brand{min-width:0}
.brand-copy{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap;line-height:1.24}
.brand-copy strong{font-size:1.04rem;letter-spacing:-.025em;line-height:1.25;overflow-wrap:anywhere}
.brand-view-count{display:inline-flex;align-items:center;justify-content:center;font-size:.73rem;min-width:24px;height:24px;padding:1px 6px;border-radius:8px;background:#e7f0e9;color:#21675b;font-weight:750;font-variant-numeric:tabular-nums}
.workspace{padding-top:24px}
.page-header,.stats,.bars-intro,.agenda-title,.agenda-hint{display:none!important}
.list-section,.agenda-section,.overview-section{margin-top:0!important}
/* Keep refresh and + in the tasks header line, without another headline. */
.list-heading{min-height:41px;justify-content:flex-end}
.list-heading #listHeading{display:none!important}
.sync-control{margin-right:auto}
.sync-control .icon-btn{font-size:1.65rem;width:37px;height:37px;font-weight:700}
/* Same two-by-two filter layout on completed / all / trash as on active tasks. */
body[data-active-view="done"] .toolbar,
body[data-active-view="all"] .toolbar,
body[data-active-view="trash"] .toolbar,
body[data-active-view="open"] .toolbar{
 display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:9px;max-width:1020px;width:100%;
}
body[data-active-view="done"] .toolbar .search-field,
body[data-active-view="all"] .toolbar .search-field,
body[data-active-view="trash"] .toolbar .search-field{min-width:0;width:100%;overflow:hidden}
body[data-active-view="done"] .toolbar .search-field input,
body[data-active-view="all"] .toolbar .search-field input,
body[data-active-view="trash"] .toolbar .search-field input{min-width:0;width:100%}
body[data-active-view="done"] .toolbar select,
body[data-active-view="all"] .toolbar select,
body[data-active-view="trash"] .toolbar select{min-width:0;max-width:none;width:100%;font-size:.78rem;height:43px}
/* Uncluttered agenda cards: date, title and context in the SAME compact box. */
.agenda-entry-wrap{background:white;border:1px solid var(--line);border-radius:13px;display:flex;align-items:stretch;gap:0;margin:0 0 8px;overflow:hidden;box-shadow:0 2px 7px #113e3206}
.agenda-entry{background:none;display:flex;align-items:center;flex:1;min-width:0;border:0;border-radius:0;padding:11px 13px;margin:0;text-align:left}
.agenda-entry:hover{background:#f8fcf9}
.agenda-inline-date{font-size:.74rem;font-weight:750;color:#52766b;font-variant-numeric:tabular-nums}
.agenda-entry.is-overdue .agenda-inline-date{color:#c43544}
.agenda-entry-title{font-size:.88rem}
.agenda-entry-meta{font-size:.69rem}
.agenda-tomorrow-btn{border:0;border-left:1px solid var(--line);background:#fff4e5;color:#80511b;font-size:.72rem;min-width:88px;padding:6px 9px;font-weight:750}
.agenda-tomorrow-btn:hover{background:#ffe5bf}
.agenda-tomorrow-btn:focus-visible{outline:3px solid #e5a754;outline-offset:-3px}
.agenda-toolbar{margin:0 0 12px;gap:8px}
.agenda-switch{margin:0 0 12px}
/* Keep the detail editor unfolded whenever a task is opened. */
#metadataDetails[open]>.metadata-content{margin-top:12px}
@media(max-width:780px){
 .brand-copy strong{font-size:.99rem}
 .brand-view-count{min-width:23px;height:23px;font-size:.7rem}
 .sidebar{padding:14px 15px 8px}
 .workspace{padding-top:15px}
 .list-heading{margin-bottom:7px}
 .sync-control .icon-btn{font-size:1.8rem;width:36px;height:36px}
 body[data-active-view="done"] .toolbar,
 body[data-active-view="all"] .toolbar,
 body[data-active-view="trash"] .toolbar,
 body[data-active-view="open"] .toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
 body[data-active-view="done"] .toolbar select,
 body[data-active-view="all"] .toolbar select,
 body[data-active-view="trash"] .toolbar select{max-width:none;min-width:0;padding:8px 24px 8px 9px;font-size:.72rem}
 .agenda-entry{padding:9px 10px}
 .agenda-entry-title{font-size:.82rem}
 .agenda-inline-date{font-size:.72rem}
 .agenda-entry-meta{font-size:.66rem}
 .agenda-tomorrow-btn{min-width:73px;padding:6px 5px;font-size:.67rem}
}
@media(max-width:355px){.brand-copy strong{font-size:.87rem}.agenda-tomorrow-btn{min-width:64px;font-size:.61rem}}

/* Completed tasks stay compact and visually inactive. */
body[data-active-view="done"] .task-timeline{display:flex;flex-direction:column;gap:8px;padding-left:0}
.compact-task-row[data-status="done"] .compact-task-fill{background:#aeb8c0}
.compact-task-row[data-status="done"] .compact-task-track{background:#f0f2f3}
.compact-task-row[data-status="done"] .compact-task-percent{color:#6b7982}
@media(max-width:780px){body[data-active-view="done"] .task-timeline{gap:7px;padding-left:0}}
/* Align date/category/priority pairs even when long Greek labels wrap. */
#metadataDetails .form-grid{align-items:stretch}
#metadataDetails .form-grid > label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
#metadataDetails .form-grid > label > input,
#metadataDetails .form-grid > label > select,
#metadataDetails .form-grid > label > .greek-date-control{margin-top:auto}
#metadataDetails .form-grid > label > .greek-date-control{width:100%}
/* Compact sync indicator: 24-hour time stays on the same line. */
.sync-control{font-size:.72rem;gap:4px}
.sync-control>span{max-width:none;white-space:nowrap;text-align:left}
@media(max-width:780px){.sync-control{font-size:.7rem;gap:2px}.sync-control>span{max-width:none;text-align:left}}
@media(max-width:355px){.sync-control{font-size:.63rem}}

/* v1.5.6 — Controlled categories, new priority, user-facing form copy */
.bars-overview .overview-bar-row.priority-increased{
  --bar-track-bg:#f8e79b;--bar-accent:#dfb91c;--bar-dark:#4e3b04;
}
.bars-overview .overview-bar-row.priority-increased .bar-name-white{color:#3e3107}
.bars-overview .bar-legend-swatch.is-increased{background:#dfb91c}
#detailPriority[data-priority="increased"],#newPriority[data-priority="increased"]{
  border-color:#d9b22a;background:#fff2c4;color:#725706;font-weight:650;
}
.priority-auto-hint{margin:9px 0 15px;padding:9px 12px;border:1px solid #f6d78e;
  border-radius:10px;background:#fff5dc;color:#79510b;font-size:.78rem;line-height:1.5}
.category-field{margin-bottom:16px;min-width:0;position:relative}
.category-field>label{display:block;margin:0 0 7px;font-size:.88rem;font-weight:600}
.category-combo{position:relative;min-width:0}
.category-combo>input{padding-right:43px;margin:0;width:100%;font-weight:400}
.category-toggle{position:absolute;right:3px;top:3px;bottom:3px;width:38px;border:0;
  border-radius:8px;background:transparent;color:#50766d;font-size:1.5rem;z-index:1}
.category-toggle:hover{background:#e9f3ee}
.category-options{position:absolute;z-index:120;top:calc(100% + 5px);left:0;right:0;
  max-height:225px;overflow-y:auto;background:#fff;border:1px solid #cadbd3;
  box-shadow:0 12px 32px #183f3629;border-radius:12px;padding:5px}
.category-option{display:block;width:100%;text-align:left;border:none;background:transparent;
  border-radius:7px;padding:10px 11px;color:var(--ink);font-weight:500;font-size:.89rem}
.category-option:hover,.category-option:focus-visible{background:#e5f2ec}
.category-no-match{padding:12px;color:#7a8680;font-size:.8rem;line-height:1.5}
.category-add-form{margin:12px 0 16px}
.category-add-form>label{margin-bottom:5px}
.category-add-row{display:flex;gap:8px;align-items:stretch}
.category-add-row input{flex:1;min-width:0}
.category-add-row button{white-space:nowrap}
.category-manage-list{display:grid;gap:8px}
.category-manage-item{padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff;
  overflow-wrap:anywhere}
.category-manage-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:8px}
.category-manage-actions{display:flex;flex-wrap:wrap;gap:6px}
.category-manage-actions button{font-size:.73rem;min-height:34px;padding:6px 9px}
.category-merge-inline{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.category-merge-inline select{min-width:140px;flex:1}
.category-merge-inline button{font-size:.73rem}
@media(max-width:570px){
  .category-add-row{flex-wrap:wrap}
  .category-add-row>input{min-width:100%}
  .category-add-row>button{width:100%}
  .category-manage-head{flex-wrap:wrap}
  .category-manage-actions button{flex:1}
}


/* v1.5.7 — Creation form pairs and compact detail editor. */
#newForm .new-task-grid{align-items:stretch;column-gap:12px}
#newForm .new-task-grid > label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
#newForm .new-task-grid > label > input,
#newForm .new-task-grid > label > select,
#newForm .new-task-grid > label > .greek-date-control{margin-top:auto;width:100%}
#newForm .new-task-grid > .category-field{min-width:0}
#newForm .new-task-grid > .category-field > label{margin-bottom:7px}
#newForm .new-schedule-options .form-grid > .new-action-kind-field,
#detailDialog .event-form .form-grid > .event-action-kind-field{grid-column:1 / -1;min-width:0;width:100%}
#newActionKind,#eventKind{display:block;width:100%;max-width:100%;min-width:0;font-size:.9rem}
#detailDialog .progress-range{height:20px;margin-top:4px}
#detailDialog .progress-help{margin-top:0}
#detailDialog #metadataDetails{margin:5px 0 2px}
#detailDialog #metadataDetails > summary{padding:7px 0}
#detailDialog #metadataDetails[open] > .metadata-content{margin-top:2px;padding-top:0}
#detailDialog #metadataDetails .metadata-content > label,
#detailDialog #metadataDetails .metadata-content .form-grid > label,
#detailDialog #metadataDetails .metadata-content .form-grid > .category-field{margin-bottom:9px}
#detailDialog #metadataDetails .date-range-help{margin:1px 0 5px;line-height:1.34}
#detailDialog .detail-save-actions{margin-top:8px}
@media(max-width:780px){
  #detailDialog .drawer-body{padding-top:10px}
  #newForm .new-task-grid{gap:0 10px}
  #newActionKind,#eventKind{font-size:16px}
}

/* v1.5.8 — required fields: legible, compact indicators. */
.required-mark { color: #b91c1c; font-weight: 750; }
#newForm .required-hint { margin: 4px 0 8px; font-size: .78rem; line-height: 1.45; color: #687a74; }

/* v1.5.9 — Κοινή σημασιολογία μπαρών στην κύρια λίστα */
.compact-task-row.priority-high{--task-bar-bg:#ffbe4d;--task-bar-fill:#ea8b00;--task-bar-ink:#5a3500}
.compact-task-row.priority-increased{--task-bar-bg:#f8e798;--task-bar-fill:#dfb91c;--task-bar-ink:#4a3b06}
.compact-task-row.priority-normal{--task-bar-bg:#44c97b;--task-bar-fill:#008c45;--task-bar-ink:#08452a}
.compact-task-row.priority-low{--task-bar-bg:#81dcee;--task-bar-fill:#13a9c9;--task-bar-ink:#084857}
.compact-task-row.priority-overdue{--task-bar-bg:#f27879;--task-bar-fill:#bb2633;--task-bar-ink:#801725}
.compact-task-row.priority-done{--task-bar-bg:#e5e7eb;--task-bar-fill:#adb5bd;--task-bar-ink:#485261}
.compact-task-row[class*="priority-"] .compact-task-track{background:var(--task-bar-bg)}
.compact-task-row[class*="priority-"] .compact-task-fill{background:var(--task-bar-fill)}
.compact-task-row[class*="priority-"] .compact-task-percent{color:var(--task-bar-ink)}
.all-tasks-row .compact-task-title{display:block;white-space:normal;line-height:1.3}
.all-tasks-row .all-task-meta{font-size:.79rem;color:#6b8077;margin:5px 0 10px;line-height:1.45;overflow-wrap:anywhere}
.task-reminder-details{margin:11px 0 12px;border:1px solid #dae8e0;border-radius:11px;padding:9px 12px;background:#fafffc}
.task-reminder-details>summary{font-weight:650;font-size:.86rem;color:#245a4c;cursor:pointer}
.task-reminder-body{padding:12px 2px 1px}
.task-reminder-custom{display:flex;align-items:center;gap:9px;font-size:.83rem}
#taskReminderChoices{border:0;margin:13px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
#taskReminderChoices[hidden]{display:none!important}
#taskReminderChoices legend{grid-column:1/-1;font-weight:700;font-size:.81rem;margin-bottom:8px}
#taskReminderChoices label{display:flex;gap:7px;align-items:center;font-size:.82rem}
#taskReminderChoices p{grid-column:1/-1;margin-top:8px;font-size:.75rem}
.export-all-actions a{font-size:.79rem}
@media(max-width:400px){#taskReminderChoices{grid-template-columns:1fr 1fr;gap:11px 7px}.export-all-actions a{width:100%;text-align:center}}

/* Mobile form labels in this panel must remain horizontal, not global stacked labels. */
.task-reminder-custom{flex-direction:row!important;justify-content:flex-start!important;gap:8px;line-height:1.4}
.task-reminder-custom input{width:auto!important;min-width:16px;margin:0!important;flex:0 0 16px}
#taskReminderChoices label{flex-direction:row!important;justify-content:flex-start!important;align-items:center;gap:7px;white-space:nowrap;line-height:1.4}
#taskReminderChoices label input{margin:0!important;width:auto!important;flex:0 0 16px}


/* v1.5.10 — μικρότερη φόρμα, μπάρα με προτεραιότητα, απλές εξαγωγές. */
#newDialog .modal-heading{margin-bottom:12px}
#newDialog #newForm > label:first-of-type{margin-bottom:12px}
#newDialog #newNote{box-sizing:border-box;min-height:48px;height:48px;max-height:220px;resize:none;overflow-y:hidden;line-height:1.45;transition:height .08s ease}
#newDialog .new-form-hints{margin:6px 0 12px}
#newDialog .required-hint{margin:0 0 5px;line-height:1.3}
#newDialog .calendar-auto-hint{margin:0;color:#6b7c75;font-size:.74rem;line-height:1.42}
#newDialog .calendar-auto-hint strong{font-weight:750;color:#417768}
.settings-backup .export-stack{display:flex;flex-direction:column;gap:9px;margin-top:14px}
.settings-backup .export-stack > .btn{width:100%;justify-content:center;min-height:43px;text-align:center;white-space:normal}
.all-tasks-row .compact-task-button{display:flex;flex-direction:column;align-items:stretch}
.all-tasks-row .compact-task-title{margin:0 0 3px}
.all-tasks-row .all-task-meta{display:block;order:1;font-size:.77rem;line-height:1.35;margin:0 0 9px;color:#60776f}
.all-tasks-row .compact-task-track{order:2;flex:none}
/* Προτεραιότητα σε όλες τις συμπαγείς κάρτες της πρώτης καρτέλας. */
body[data-active-view="open"] .compact-task-row.priority-high .compact-task-track,
body[data-active-view="all"] .compact-task-row.priority-high .compact-task-track{background:#ffbe4d}
body[data-active-view="open"] .compact-task-row.priority-high .compact-task-fill,
body[data-active-view="all"] .compact-task-row.priority-high .compact-task-fill{background:#ea8b00}
body[data-active-view="open"] .compact-task-row.priority-increased .compact-task-track,
body[data-active-view="all"] .compact-task-row.priority-increased .compact-task-track{background:#f8e798}
body[data-active-view="open"] .compact-task-row.priority-increased .compact-task-fill,
body[data-active-view="all"] .compact-task-row.priority-increased .compact-task-fill{background:#dfb91c}
body[data-active-view="open"] .compact-task-row.priority-normal .compact-task-track,
body[data-active-view="all"] .compact-task-row.priority-normal .compact-task-track{background:#44c97b}
body[data-active-view="open"] .compact-task-row.priority-normal .compact-task-fill,
body[data-active-view="all"] .compact-task-row.priority-normal .compact-task-fill{background:#008c45}
body[data-active-view="open"] .compact-task-row.priority-low .compact-task-track,
body[data-active-view="all"] .compact-task-row.priority-low .compact-task-track{background:#81dcee}
body[data-active-view="open"] .compact-task-row.priority-low .compact-task-fill,
body[data-active-view="all"] .compact-task-row.priority-low .compact-task-fill{background:#13a9c9}
body[data-active-view="open"] .compact-task-row.priority-overdue .compact-task-track,
body[data-active-view="all"] .compact-task-row.priority-overdue .compact-task-track{background:#f27879}
body[data-active-view="open"] .compact-task-row.priority-overdue .compact-task-fill,
body[data-active-view="all"] .compact-task-row.priority-overdue .compact-task-fill{background:#bb2633}
body[data-active-view="done"] .compact-task-row.priority-done .compact-task-track,
body[data-active-view="all"] .compact-task-row.priority-done .compact-task-track{background:#e5e7eb}
body[data-active-view="done"] .compact-task-row.priority-done .compact-task-fill,
body[data-active-view="all"] .compact-task-row.priority-done .compact-task-fill{background:#adb5bd}
.task-reminder-status{margin:8px 0 4px!important;line-height:1.4;color:#3b7767!important}
@media(max-width:570px){#newDialog .modal-heading{margin-bottom:10px}.all-tasks-row .all-task-meta{font-size:.71rem}}

/* 1.5.11 — ημερομηνία πραγματικής ολοκλήρωσης πάνω από τον τίτλο */
.completed-task-date{display:block;margin:0 0 5px;color:#627970;font-size:.77rem;line-height:1.3;font-weight:650;font-variant-numeric:tabular-nums}
body[data-active-view="done"] .compact-task-row .compact-task-button{padding-top:11px;padding-bottom:12px}
body[data-active-view="done"] .compact-task-main{margin-bottom:8px}
